]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2025-07-10 Jan Dubiec <jdx@o2.pl>
2
3 PR target/116363
4 * libgcc2.c (__fixunssfDI): Fix SFtype to UDWtype conversion for targets
5 without LIBGCC2_HAS_DF_MODE defined
6
7 2025-05-27 Jakub Jelinek <jakub@redhat.com>
8
9 * config/t-softfp (softfp_bid_list): Don't guard with
10 $(enable_decimal_float) == bid.
11 * soft-fp/bitint.h (__bid_pow10bitint): For
12 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_pow10bitint.
13 (__dpd_d2bbitint, __dpd_b2dbitint): Declare.
14 * soft-fp/bitintpow10.c (__dpd_d2bbitint, __dpd_b2dbitint): New
15 variables.
16 * soft-fp/fixsdbitint.c (__bid_fixsdbitint): For
17 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_fixsdbitint.
18 Add DPD support. Fix big-endian support.
19 * soft-fp/fixddbitint.c (__bid_fixddbitint): For
20 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_fixddbitint.
21 Add DPD support. Fix big-endian support.
22 * soft-fp/fixtdbitint.c (__bid_fixtdbitint): For
23 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_fixtdbitint.
24 Add DPD support. Fix big-endian support.
25 * soft-fp/fixsdti.c (__bid_fixsdbitint): For
26 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_fixsdbitint.
27 (__bid_fixsdti): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to
28 __dpd_fixsdti.
29 * soft-fp/fixddti.c (__bid_fixddbitint): For
30 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_fixddbitint.
31 (__bid_fixddti): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to
32 __dpd_fixddti.
33 * soft-fp/fixtdti.c (__bid_fixtdbitint): For
34 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_fixtdbitint.
35 (__bid_fixtdti): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to
36 __dpd_fixtdti.
37 * soft-fp/fixunssdti.c (__bid_fixsdbitint): For
38 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_fixsdbitint.
39 (__bid_fixunssdti): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine
40 to __dpd_fixunssdti.
41 * soft-fp/fixunsddti.c (__bid_fixddbitint): For
42 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_fixddbitint.
43 (__bid_fixunsddti): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine
44 to __dpd_fixunsddti.
45 * soft-fp/fixunstdti.c (__bid_fixtdbitint): For
46 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_fixtdbitint.
47 (__bid_fixunstdti): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine
48 to __dpd_fixunstdti.
49 * soft-fp/floatbitintsd.c (__bid_floatbitintsd): For
50 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_floatbitintsd.
51 Add DPD support. Avoid calling __builtin_clzll with 0 argument. Fix
52 big-endian support.
53 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): For
54 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_floatbitintdd.
55 Add DPD support. Avoid calling __builtin_clzll with 0 argument. Fix
56 big-endian support.
57 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): For
58 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_floatbitinttd.
59 Add DPD support. Avoid calling __builtin_clzll with 0 argument. Fix
60 big-endian support.
61 * soft-fp/floattisd.c (__bid_floatbitintsd): For
62 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_floatbitintsd.
63 (__bid_floattisd): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to
64 __dpd_floattisd.
65 * soft-fp/floattidd.c (__bid_floatbitintdd): For
66 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_floatbitintdd.
67 (__bid_floattidd): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to
68 __dpd_floattidd.
69 * soft-fp/floattitd.c (__bid_floatbitinttd): For
70 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_floatbitinttd.
71 (__bid_floattitd): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to
72 __dpd_floattitd.
73 * soft-fp/floatuntisd.c (__bid_floatbitintsd): For
74 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_floatbitintsd.
75 (__bid_floatuntisd): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine
76 to __dpd_floatuntisd.
77 * soft-fp/floatuntidd.c (__bid_floatbitintdd): For
78 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_floatbitintdd.
79 (__bid_floatuntidd): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine
80 to __dpd_floatuntidd.
81 * soft-fp/floatuntitd.c (__bid_floatbitinttd): For
82 !defined(ENABLE_DECIMAL_BID_FORMAT) redefine to __dpd_floatbitinttd.
83 (__bid_floatuntitd): For !defined(ENABLE_DECIMAL_BID_FORMAT) redefine
84 to __dpd_floatuntitd.
85
86 2025-05-25 LIU Hao <lh_mouse@126.com>
87
88 * config.host: Enable mcf thread model for aarch64-*-mingw*.
89 * config/i386/t-mingw-mcfgthread: Move to...
90 * config/mingw/t-mingw-mcfgthread: ...here.
91
92 2025-05-21 Alexandre Oliva <oliva@adacore.com>
93
94 * config/gthr-vxworks-thread.c: Include string.h for memset.
95
96 2025-05-20 Jakub Jelinek <jakub@redhat.com>
97
98 * libgcc-std.ver.in (GCC_14.0.0): Remove bitint related exports
99 from here.
100 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Add them here.
101 * config/i386/libgcc-darwin.ver (GCC_14.0.0): Likewise.
102 * config/i386/libgcc-sol2.ver (GCC_14.0.0): Likewise.
103 * config/aarch64/libgcc-softfp.ver (GCC_14.0.0): Likewise.
104
105 2025-05-20 Jakub Jelinek <jakub@redhat.com>
106
107 * libgcc2.c (bitint_reduce_prec): For big endian
108 __LIBGCC_BITINT_ORDER__ use ++*p and --*p instead of
109 ++p and --p.
110 * soft-fp/bitint.h (bitint_reduce_prec): Likewise.
111
112 2025-05-17 Oleg Endo <olegendo@gcc.gnu.org>
113
114 * config/sh/lib1funcs.S (ashiftrt_r4_32): Increase alignment.
115 (movemem): Force alignment of the mova intruction.
116
117 2025-04-25 Thomas Schwinge <tschwinge@baylibre.com>
118
119 PR target/119853
120 PR target/119854
121 * config/gcn/crt0.c (_fini_array): Call
122 '__GCC_offload___cxa_finalize'.
123 * config/nvptx/gbl-ctors.c (__static_do_global_dtors): Likewise.
124
125 2025-04-19 Jiaxun Yang <jiaxun.yang@flygoat.com>
126
127 PR target/118257
128 * config/sh/sfp-machine.h (_FPU_GETCW): Implement with builtin.
129 (_FPU_SETCW): Likewise.
130 (FP_EX_ENABLE_SHIFT): Derive from arch spec.
131 (FP_EX_CAUSE_SHIFT): Likewise.
132 (FP_RND_MASK): Likewise.
133 (FP_EX_INVALID): Likewise.
134 (FP_EX_DIVZERO): Likewise.
135 (FP_EX_ALL): Likewise.
136 (FP_EX_OVERFLOW): Likewise.
137 (FP_EX_UNDERFLOW): Likewise.
138 (FP_EX_INEXACT): Likewise.
139 (_FP_DECL_EX): Declear default FCSR value.
140 (FP_RND_NEAREST): Derive from arch spec.
141 (FP_RND_ZERO): Likewise.
142 (FP_INIT_ROUNDMODE): Likewise.
143 (FP_ROUNDMODE): Likewise.
144 (FP_TRAPPING_EXCEPTIONS): Likewise.
145 (FP_HANDLE_EXCEPTIONS): Implement with _FPU_SETCW.
146
147 2025-04-19 Jiaxun Yang <jiaxun.yang@flygoat.com>
148
149 PR target/111814
150 * config/sh/sfp-machine.h (_FP_NANFRAC_B): Reverse signaling bit.
151 (_FP_NANFRAC_H): Likewise.
152 (_FP_NANFRAC_S): Likewise.
153 (_FP_NANFRAC_D): Likewise.
154 (_FP_NANFRAC_Q): Likewise.
155 (_FP_KEEPNANFRACP): Enable for target.
156 (_FP_QNANNEGATEDP): Enable for target.
157 (_FP_CHOOSENAN): Port from MIPS.
158
159 2025-04-14 Thomas Schwinge <tschwinge@baylibre.com>
160
161 PR target/118794
162 * config/gcn/unwind-gcn.c (_Unwind_Resume): New.
163 * config/nvptx/unwind-nvptx.c (_Unwind_Resume): Likewise.
164
165 2025-04-14 Eric Botcazou <ebotcazou@adacore.com>
166
167 PR target/119673
168 * config/i386/gthr-win32.h (__GTHREAD_ALWAYS_INLINE): New macro.
169 (__GTHREAD_INLINE): Likewise.
170 (__GTHR_W32_InterlockedCompareExchange): Delete.
171 (__gthread_active_p): Mark as __GTHREAD_INLINE instead of
172 static inline.
173 (__gthread_create): Likewise.
174 (__gthread_join): Likewise.
175 (__gthread_self): Likewise.
176 (__gthread_detach): Likewise.
177 (__gthread_equal): Likewise.
178 (__gthread_yield): Likewise.
179 (__gthread_once): Likewise.
180 (__gthread_key_create): Likewise.
181 (__gthread_key_delete): Likewise.
182 (__gthread_getspecific): Likewise.
183 (__gthread_setspecific): Likewise.
184 (__gthread_mutex_init_function): Likewise.
185 (__gthread_mutex_destroy): Likewise.
186 (__gthread_mutex_lock): Likewise.
187 (__gthread_mutex_trylock): Likewise.
188 (__gthread_mutex_timedlock): Likewise.
189 (__gthread_mutex_unlock): Likewise.
190 (__gthread_recursive_mutex_trylock): Likewise.
191 (__gthread_cond_init_function): Likewise.
192 (__gthread_cond_broadcast): Likewise.
193 (__gthread_cond_signal): Likewise.
194 (__gthread_cond_wait): Likewise.
195 (__gthread_cond_timedwait): Likewise.
196 (__GTHREAD_WIN32_INLINE): Likewise.
197 (__GTHREAD_WIN32_COND_INLINE): Likewise.
198 (__gthread_recursive_mutex_init_function): Likewise.
199 (__gthread_recursive_mutex_destroy): Likewise.
200 (__gthread_recursive_mutex_lock): Likewise.
201 (__gthread_recursive_mutex_unlock): Likewise.
202 (__gthread_cond_destroy): Likewise.
203 (__gthread_cond_wait_recursive): Likewise.
204
205 2025-04-08 Thomas Schwinge <tschwinge@baylibre.com>
206
207 * config/gcn/unwind-gcn.c (_Unwind_RaiseException)
208 (_Unwind_Resume_or_Rethrow): New.
209 * config/nvptx/unwind-nvptx.c (_Unwind_RaiseException)
210 (_Unwind_Resume_or_Rethrow): Likewise.
211
212 2025-04-08 Thomas Schwinge <tschwinge@baylibre.com>
213
214 * config/gcn/unwind-gcn.c (_Unwind_DeleteException): New.
215 * config/nvptx/unwind-nvptx.c (_Unwind_DeleteException): Likewise.
216
217 2025-04-07 Thomas Schwinge <tschwinge@baylibre.com>
218
219 * config/nvptx/alloca.c: New.
220 * config/nvptx/t-nvptx (LIB2ADD): Add it.
221
222 2025-04-07 Georg-Johann Lay <avr@gjlay.de>
223
224 * config/avr/lib1funcs.S (__mulhisi3, __umulhisi3): Use
225 __mulhisi3_helper for better performance on AVRrc.
226
227 2025-04-06 Georg-Johann Lay <avr@gjlay.de>
228
229 * config/avr/t-avr (LIB1ASMFUNCS): Add (and remove from
230 FUNCS_notiny): _mulhisi3, _umulhisi3, _mulqq3, _mulhq3, _muluhq3,
231 _mulha3, _muluha3 _muluha3_round, _usmuluha3, _ssmulha3,
232 _divqq3, _udivuqq3, _divqq_helper, _divhq3, _udivuhq3.
233 _divha3 _udivuha3, _ssneg_2, _ssabs_1, _ssabs_2,
234 _mask1, _ret, _roundqq3 _rounduqq3,
235 _round_s2, _round_u2, _round_2_const, _addmask_2.
236 * config/avr/lib1funcs.S (__umulhisi3, __mulhisi3): Make
237 work on AVRrc.
238 * config/avr/lib1funcs-fixed.S: Build 8-bit and 16-bit functions
239 on AVRrc, too.
240
241 2025-04-05 Georg-Johann Lay <avr@gjlay.de>
242
243 * config/avr/lib1funcs.S (__umulhisi3) [Have MUL]: Reduce call
244 depth by 1.
245
246 2025-03-22 Georg-Johann Lay <avr@gjlay.de>
247
248 * config/avr/t-avr (LIB1ASMFUNCS, LIB2FUNCS_EXCLUDE):
249 Properly handle avrtiny.
250
251 2025-03-14 Thomas Schwinge <thomas@codesourcery.com>
252
253 Revert:
254 2023-12-23 Thomas Schwinge <thomas@codesourcery.com>
255
256 * c++-minimal/README: New.
257 * c++-minimal/guard.c: New.
258 * config/gcn/t-amdgcn (LIB2ADD): Add it.
259 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
260
261 2025-03-13 Wilco Dijkstra <wilco.dijkstra@arm.com>
262
263 * config/aarch64/cpuinfo.c (__init_cpu_features_constructor):
264 Remove FEAT_PREDRES and FEAT_LS64* support.
265
266 2025-03-10 Jakub Jelinek <jakub@redhat.com>
267 Michael Leuchtenburg <michael@slashhome.org>
268
269 PR libgcc/119151
270 * unwind-dw2-btree.h (btree_split_inner): Add size argument. If
271 left_fence is in the middle of [target,target + size - 1] range,
272 increase it to target + size - 1.
273 (btree_insert): Adjust btree_split_inner caller. If fence is smaller
274 than base + size - 1, increase it and separator of the slot to
275 base + size - 1.
276
277 2025-03-10 Jakub Jelinek <jakub@redhat.com>
278
279 * unwind-dw2-btree.h: Formatting fixes.
280
281 2025-03-01 Jan Dubiec <jdx@o2.pl>
282
283 PR target/114222
284 * config/h8300/t-h8300: Add __ffshi2().
285 * config/h8300/ffshi2.c: New file.
286
287 2025-02-18 Roman Kagan <rkagan@amazon.de>
288
289 * config/i386/linux-unwind.h: Remove preprocessor
290 condition to enable fallback path for all libc-s.
291
292 2025-02-17 Lulu Cheng <chenglulu@loongson.cn>
293
294 PR target/118844
295 * config/loongarch/t-crtstuff: Add '-mcmodel=extreme'
296 to CRTSTUFF_T_CFLAGS_S.
297
298 2025-02-12 Yangyu Chen <cyy@cyyself.name>
299
300 * config/riscv/feature_bits.c (RISCV_VENDOR_FEATURE_BITS_LENGTH): Drop.
301 (__init_riscv_features_bits_linux): Drop.
302
303 2025-02-08 Dimitry Andric <dimitry@andric.com>
304
305 PR target/118685
306 * config.host (*-*-freebsd*): Add crtbeginT.o to extra_parts.
307
308 2025-02-07 Peter Bergner <bergner@linux.ibm.com>
309
310 PR target/117674
311 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Add cast to
312 avoid comparison between pointer and integer warning.
313
314 2025-01-30 Georg-Johann Lay <avr@gjlay.de>
315
316 * config/avr/t-avr (LIB1ASMFUNCS): Add _strlen_memx.
317 * config/avr/lib1funcs.S <L_strlen_memx, __strlen_memx>: Implement.
318
319 2025-01-28 Richard Earnshaw <rearnsha@arm.com>
320
321 PR target/118642
322 * config/arm/sync-none.specs (link): Only add the defsym if
323 libgcc will be used.
324 * config/arm/sync-dmb.specs: Likewise.
325 * config/arm/sync-cp15dmb.specs: Likewise.
326
327 2025-01-17 Monk Chiang <monk.chiang@sifive.com>
328
329 * config/riscv/crti.S: Add lpad instructions.
330 * config/riscv/crtn.S: Likewise.
331 * config/riscv/save-restore.S: Likewise.
332 * config/riscv/riscv-asm.h: Add GNU_PROPERTY for ZICFILP,
333 ZICFISS.
334 Co-Developed-by: Jesse Huang <jesse.huang@sifive.com>
335
336 2025-01-17 Monk Chiang <monk.chiang@sifive.com>
337
338 * config/riscv/linux-unwind.h: Include shadow-stack-unwind.h.
339 * config/riscv/shadow-stack-unwind.h
340 (_Unwind_Frames_Extra): Define.
341 (_Unwind_Frames_Increment): Define.
342
343 2025-01-07 Keith Packard <keithp@keithp.com>
344
345 * config/m68k/fpgnulib.c (extenddfxf2): Simplify code by removing code
346 that should never execute. Fix denorm shift test and insert hidden bit
347 as needed.
348 (__truncxfdf2): Properly compue and shift the significant right.
349 * config/m68k/lb1sf68.S (__fixxfsi): Correct shift counts and simplify.
350 (QUIET_NAN): Make it a positive quiet NaN and fix return values to inject
351 sign properly.
352
353 2025-01-06 Stafford Horne <shorne@gmail.com>
354
355 * config/or1k/lib1funcs.S: Add .note.GNU-stack section on linux.
356
357 2024-12-12 Georg-Johann Lay <avr@gjlay.de>
358
359 PR target/118001
360 * config/avr/t-avr (LIB1ASMFUNCS): Add _fload_1, _fload_2,
361 _fload_3, _fload_4, _movmemf.
362 * config/avr/lib1funcs.S (.branch_plus): New .macro.
363 (__xload_1, __xload_2, __xload_3, __xload_4): When the address is
364 located in flash, then forward to...
365 (__fload_1, __fload_2, __fload_3, __fload_4): ...these new
366 functions, respectively.
367 (__movmemx_hi): When the address is located in flash, forward to...
368 (__movmemf_hi): ...this new function.
369
370 2024-11-30 Jakub Jelinek <jakub@redhat.com>
371
372 PR libgomp/117851
373 * configure.ac (extra_parts): Add crtoffloadtableS.o.
374 * Makefile.in (crtoffloadtableS$(objext)): New goal.
375 * configure: Regenerated.
376
377 2024-11-29 Yury Khrustalev <yury.khrustalev@arm.com>
378
379 * config/aarch64/aarch64-unwind.h (_CHKFEAT_GCS): Add.
380
381 2024-11-29 Yury Khrustalev <yury.khrustalev@arm.com>
382
383 * config/aarch64/aarch64-unwind.h (_Unwind_Frames_Extra): Update.
384 (_Unwind_Frames_Increment): Update
385
386 2024-11-25 Sandra Loosemore <sloosemore@baylibre.com>
387
388 * config/nios2/*: Delete entire directory.
389 * config.host: Remove refences to nios2.
390 * unwind-dw2-fde-dip.c: Likewise.
391
392 2024-11-19 Evgeny Karpov <evgeny.karpov@microsoft.com>
393
394 * config.host: Update.
395 * config/aarch64/t-mingw: New.
396
397 2024-11-18 Jeff Law <jlaw@ventanamicro.com>
398
399 PR target/117628
400 * config/arm/freebsd-atomic.c (bool): Remove unnecessary typedef.
401 * config/arm/linux-atomic-64bit.c: Likewise.
402 * config/arm/linux-atomic.c: Likewise.
403 * config/nds32/linux-atomic.c: Likewise.
404 * config/nios2/linux-atomic.c: Likewise.
405
406 2024-11-18 Jeff Law <jlaw@ventanamicro.com>
407
408 PR target/117628
409 * config/csky/linux-atomic.c (bool): Remove unnecessary typedef.
410 * unwind-arm-common.inc (bool): Similarly.
411
412 2024-11-17 John David Anglin <danglin@gcc.gnu.org>
413
414 PR target/117627
415 * config/pa/linux-atomic.c: Remove typedef for bool type.
416
417 2024-11-16 Jakub Jelinek <jakub@redhat.com>
418
419 PR libgcc/117624
420 * libgcc2.c (INFINITY): Add #undef before #define.
421
422 2024-11-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
423
424 * config/aarch64/aarch64-asm.h (FEATURE_1_GCS): Define.
425 (GCS_FLAG): Define if GCS is enabled.
426 (GNU_PROPERTY): Add GCS_FLAG.
427
428 2024-11-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
429
430 * config/aarch64/aarch64-unwind.h (_Unwind_Frames_Extra): Update.
431 (_Unwind_Frames_Increment): Define.
432
433 2024-10-25 Jakub Jelinek <jakub@redhat.com>
434
435 * crtstuff.c: Remove trailing whitespace.
436 * libgcov.h: Likewise.
437 * config/alpha/crtfastmath.c: Likewise.
438 * config/alpha/vms-gcc_shell_handler.c: Likewise.
439 * config/alpha/vms-unwind.h: Likewise.
440 * config/pa/linux-atomic.c: Likewise.
441 * config/pa/linux-unwind.h: Likewise.
442 * config/pa/quadlib.c: Likewise.
443 * config/pa/fptr.c: Likewise.
444 * config/s390/32/_fixsfdi.c: Likewise.
445 * config/s390/32/_fixunssfdi.c: Likewise.
446 * config/s390/32/_fixunsdfdi.c: Likewise.
447 * config/c6x/pr-support.c: Likewise.
448 * config/lm32/_udivsi3.c: Likewise.
449 * config/lm32/libgcc_lm32.h: Likewise.
450 * config/lm32/_udivmodsi4.c: Likewise.
451 * config/lm32/_mulsi3.c: Likewise.
452 * config/lm32/_modsi3.c: Likewise.
453 * config/lm32/_umodsi3.c: Likewise.
454 * config/lm32/_divsi3.c: Likewise.
455 * config/darwin-crt3.c: Likewise.
456 * config/msp430/mpy.c: Likewise.
457 * config/ia64/tf-signs.c: Likewise.
458 * config/ia64/fde-vms.c: Likewise.
459 * config/ia64/unwind-ia64.c: Likewise.
460 * config/ia64/vms-unwind.h: Likewise.
461 * config/ia64/sfp-exceptions.c: Likewise.
462 * config/ia64/quadlib.c: Likewise.
463 * config/ia64/unwind-ia64.h: Likewise.
464 * config/rl78/vregs.h: Likewise.
465 * config/arm/bpabi.c: Likewise.
466 * config/arm/unwind-arm.c: Likewise.
467 * config/arm/pr-support.c: Likewise.
468 * config/arm/linux-atomic.c: Likewise.
469 * config/arm/bpabi-lib.h: Likewise.
470 * config/frv/frvend.c: Likewise.
471 * config/frv/cmovw.c: Likewise.
472 * config/frv/frvbegin.c: Likewise.
473 * config/frv/cmovd.c: Likewise.
474 * config/frv/cmovh.c: Likewise.
475 * config/aarch64/cpuinfo.c: Likewise.
476 * config/i386/crtfastmath.c: Likewise.
477 * config/i386/cygming-crtend.c: Likewise.
478 * config/i386/32/tf-signs.c: Likewise.
479 * config/i386/crtprec.c: Likewise.
480 * config/i386/sfp-exceptions.c: Likewise.
481 * config/i386/w32-unwind.h: Likewise.
482 * config/m32r/initfini.c: Likewise.
483 * config/sparc/crtfastmath.c: Likewise.
484 * config/gcn/amdgcn_veclib.h: Likewise.
485 * config/nios2/linux-atomic.c: Likewise.
486 * config/nios2/linux-unwind.h: Likewise.
487 * config/nios2/lib2-mul.c: Likewise.
488 * config/nios2/lib2-nios2.h: Likewise.
489 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
490 * config/rs6000/darwin-fallback.c: Likewise.
491 * config/rs6000/ibm-ldouble.c: Likewise.
492 * config/rs6000/sfp-machine.h: Likewise.
493 * config/rs6000/darwin-asm.h: Likewise.
494 * config/rs6000/darwin-crt2.c: Likewise.
495 * config/rs6000/aix-unwind.h: Likewise.
496 * config/rs6000/sfp-exceptions.c: Likewise.
497 * config/gthr-vxworks.c: Likewise.
498 * config/riscv/atomic.c: Likewise.
499 * config/visium/memcpy.c: Likewise.
500 * config/darwin-crt-tm.c: Likewise.
501 * config/stormy16/lib2funcs.c: Likewise.
502 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
503 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
504 * config/arc/initfini.c: Likewise.
505 * config/sol2/gmon.c: Likewise.
506 * config/microblaze/divsi3_table.c: Likewise.
507 * config/m68k/fpgnulib.c: Likewise.
508 * libgcov-driver.c: Likewise.
509 * unwind-dw2.c: Likewise.
510 * fp-bit.c: Likewise.
511 * dfp-bit.h: Likewise.
512 * dfp-bit.c: Likewise.
513 * libgcov-driver-system.c: Likewise.
514
515 2024-10-24 David Malcolm <dmalcolm@redhat.com>
516 Gaius Mulley <gaiusmod2@gmail.com>
517
518 PR other/116613
519 * libgcov-util.c: Add #define INCLUDE_MEMORY.
520
521 2024-10-17 Christophe Lyon <christophe.lyon@linaro.org>
522
523 * config/aarch64/t-aarch64: Always use -Werror
524 -Wno-prio-ctor-dtor.
525
526 2024-10-17 Christophe Lyon <christophe.lyon@linaro.org>
527
528 * config/aarch64/cpuinfo.c (__init_cpu_features_resolver): Add
529 prototype.
530 (__init_cpu_features): Likewise.
531
532 2024-10-17 Christophe Lyon <christophe.lyon@linaro.org>
533
534 * config/aarch64/lse.S: Undefine L() macro.
535
536 2024-10-14 Yangyu Chen <chenyangyu@isrc.iscas.ac.cn>
537
538 * config/riscv/feature_bits.c (__init_riscv_features_bits_linux):
539 Add detailed comments on processing implied extensions.
540
541 2024-10-14 Kito Cheng <kito.cheng@sifive.com>
542
543 * config/riscv/feature_bits.c: New.
544 * config/riscv/t-elf (LIB2ADD): Add feature_bits.c.
545
546 2024-10-10 Sébastien Michelland <sebastien.michelland@lcis.grenoble-inp.fr>
547
548 PR target/29845
549 * config.host (sh-*-elf*): Replace fdpbit with softfp.
550 * config/sh/sfp-machine.h: New file.
551
552 2024-10-04 Tsung Chun Lin <tclin914@gmail.com>
553
554 * config/riscv/save-restore.S: Fix .cfi_offset for saving ra in
555 __riscv_save_[0-3] on ilp32e.
556
557 2024-10-01 Tsung Chun Lin <tclin914@gmail.com>
558
559 * config/riscv/save-restore.S: Fix .cfi_offset for
560 __riscv_save_[0-3] on RV32.
561
562 2024-09-27 Matthieu Longo <matthieu.longo@arm.com>
563
564 * config/aarch64/aarch64-unwind.h: Fix header path.
565
566 2024-09-27 Mark Mentovai <mark@mentovai.com>
567
568 PR target/116809
569 * config.host: Don't build legacy libgcc_s.1 on macOS 14.
570
571 2024-09-27 Jim Lin <jim@andestech.com>
572
573 * config/riscv/save-restore.S: Check with __riscv_abi_rve rather than
574 __riscv_32e.
575
576 2024-09-26 Nathaniel Shead <nathanieloshead@gmail.com>
577
578 PR libstdc++/115126
579 * gthr-posix.h (__GTHREAD_ALWAYS_INLINE): New macro.
580 (__GTHREAD_INLINE): New macro.
581 (__gthread_active): Convert from variable to (hidden) function.
582 (__gthread_active_p): Mark as __GTHREAD_INLINE instead of
583 static; make visibility("hidden") when it has a static local
584 variable.
585 (__gthread_trigger): Mark as __GTHREAD_INLINE instead of static.
586 (__gthread_create): Likewise.
587 (__gthread_join): Likewise.
588 (__gthread_detach): Likewise.
589 (__gthread_equal): Likewise.
590 (__gthread_self): Likewise.
591 (__gthread_yield): Likewise.
592 (__gthread_once): Likewise.
593 (__gthread_key_create): Likewise.
594 (__gthread_key_delete): Likewise.
595 (__gthread_getspecific): Likewise.
596 (__gthread_setspecific): Likewise.
597 (__gthread_mutex_init_function): Likewise.
598 (__gthread_mutex_destroy): Likewise.
599 (__gthread_mutex_lock): Likewise.
600 (__gthread_mutex_trylock): Likewise.
601 (__gthread_mutex_timedlock): Likewise.
602 (__gthread_mutex_unlock): Likewise.
603 (__gthread_recursive_mutex_init_function): Likewise.
604 (__gthread_recursive_mutex_lock): Likewise.
605 (__gthread_recursive_mutex_trylock): Likewise.
606 (__gthread_recursive_mutex_timedlock): Likewise.
607 (__gthread_recursive_mutex_unlock): Likewise.
608 (__gthread_recursive_mutex_destroy): Likewise.
609 (__gthread_cond_init_function): Likewise.
610 (__gthread_cond_broadcast): Likewise.
611 (__gthread_cond_signal): Likewise.
612 (__gthread_cond_wait): Likewise.
613 (__gthread_cond_timedwait): Likewise.
614 (__gthread_cond_wait_recursive): Likewise.
615 (__gthread_cond_destroy): Likewise.
616 (__gthread_rwlock_rdlock): Likewise.
617 (__gthread_rwlock_tryrdlock): Likewise.
618 (__gthread_rwlock_wrlock): Likewise.
619 (__gthread_rwlock_trywrlock): Likewise.
620 (__gthread_rwlock_unlock): Likewise.
621 * gthr-single.h: (__GTHREAD_ALWAYS_INLINE): New macro.
622 (__GTHREAD_INLINE): New macro.
623 (__gthread_active_p): Mark as __GTHREAD_INLINE instead of static.
624 (__gthread_once): Likewise.
625 (__gthread_key_create): Likewise.
626 (__gthread_key_delete): Likewise.
627 (__gthread_getspecific): Likewise.
628 (__gthread_setspecific): Likewise.
629 (__gthread_mutex_destroy): Likewise.
630 (__gthread_mutex_lock): Likewise.
631 (__gthread_mutex_trylock): Likewise.
632 (__gthread_mutex_unlock): Likewise.
633 (__gthread_recursive_mutex_lock): Likewise.
634 (__gthread_recursive_mutex_trylock): Likewise.
635 (__gthread_recursive_mutex_unlock): Likewise.
636 (__gthread_recursive_mutex_destroy): Likewise.
637
638 2024-09-24 Iain Sandoe <iain@sandoe.co.uk>
639
640 PR target/116809
641 * config.host: Build legacy libgcc_s.1 on hosts before macOS 15.
642 * config/i386/t-darwin: Remove reference to legacy libgcc_s.1
643 * config/rs6000/t-darwin: Likewise.
644 * config/t-darwin-libgccs1: New file.
645
646 2024-09-23 Matthieu Longo <matthieu.longo@arm.com>
647
648 * config/aarch64/aarch64-asm.h (PACIASP): Replace SPARC CFI
649 directive by AArch64 one.
650 (AUTIASP): Same.
651
652 2024-09-23 Matthieu Longo <matthieu.longo@arm.com>
653
654 * Makefile.in: New target for symbolic link to md-unwind-def.h
655 * config.host: New parameter md_unwind_def_header. Set it to
656 aarch64/aarch64-unwind-def.h for AArch64 targets, or no-unwind.h
657 by default.
658 * config/aarch64/aarch64-unwind.h
659 (aarch64_pointer_auth_key): Move to aarch64-unwind-def.h
660 (aarch64_cie_aug_handler): Update.
661 (aarch64_arch_extension_frame_init): Update.
662 (aarch64_demangle_return_addr): Update.
663 * configure.ac: New substitute variable md_unwind_def_header.
664 * unwind-dw2.h (defined): MD_ARCH_FRAME_STATE_T.
665 * config/aarch64/aarch64-unwind-def.h: New file.
666 * configure: Regenerate.
667 * config/no-unwind.h: Updated comment
668
669 2024-09-23 Matthieu Longo <matthieu.longo@arm.com>
670
671 * config/aarch64/aarch64-unwind.h
672 (MD_FRAME_LOCAL_REGISTER_P): new handler checking whether a register
673 from the current context needs to be skipped before installation into
674 the target context.
675 (aarch64_frame_local_register): Likewise.
676 * unwind-dw2.c (uw_install_context_1): use MD_FRAME_LOCAL_REGISTER_P.
677
678 2024-09-23 Matthieu Longo <matthieu.longo@arm.com>
679
680 * config/aarch64/aarch64-unwind.h
681 (AARCH64_DWARF_RA_STATE_MASK): The mask for RA state register.
682 (aarch64_ra_signing_method_t): The diversifiers used to sign a
683 function's return address.
684 (aarch64_pointer_auth_key): The key used to sign a function's
685 return address.
686 (aarch64_cie_signed_with_b_key): Deleted as the signing key is
687 available now in _Unwind_FrameState.
688 (MD_ARCH_EXTENSION_CIE_AUG_HANDLER): New CIE augmentation string
689 handler for architecture extensions.
690 (MD_ARCH_EXTENSION_FRAME_INIT): New architecture-extension
691 initialization routine for DWARF frame state and context before
692 execution of DWARF instructions.
693 (aarch64_context_ra_state_get): Read RA state register from CONTEXT.
694 (aarch64_ra_state_get): Read RA state register from FS.
695 (aarch64_ra_state_set): Write RA state register into FS.
696 (aarch64_ra_state_toggle): Toggle RA state register in FS.
697 (aarch64_cie_aug_handler): Handler AArch64 augmentation strings.
698 (aarch64_arch_extension_frame_init): Initialize defaults for the
699 signing key (PAUTH_KEY_A), and RA state register (RA_no_signing).
700 (aarch64_demangle_return_addr): Rely on the frame registers and
701 the signing_key attribute in _Unwind_FrameState.
702 * unwind-dw2-execute_cfa.h:
703 Use the right alias DW_CFA_AARCH64_negate_ra_state for __aarch64__
704 instead of DW_CFA_GNU_window_save.
705 (DW_CFA_AARCH64_negate_ra_state): Save the signing method in RA
706 state register. Toggle RA state register without resetting 'how'
707 to REG_UNSAVED.
708 * unwind-dw2.c:
709 (extract_cie_info): Save the signing key in the current
710 _Unwind_FrameState while parsing the augmentation data.
711 (uw_frame_state_for): Reset some attributes related to architecture
712 extensions in _Unwind_FrameState.
713 (uw_update_context): Move authentication code to AArch64 unwinding.
714 * unwind-dw2.h (enum register_rule): Give a name to the existing
715 enum for the register rules, and replace 'unsigned char' by 'enum
716 register_rule' to facilitate debugging in GDB.
717 (_Unwind_FrameState): Add a new architecture-extension attribute
718 to store the signing key.
719
720 2024-09-22 Iain Sandoe <iain@sandoe.co.uk>
721
722 * config.host: From macOS 11, limit earliest macOS support
723 to macOS 11.
724 * config/t-darwin-min-11: New file.
725
726 2024-08-27 YunQiang Su <syq@gcc.gnu.org>
727
728 * config/mips/lib1funcs.S: Includes mips16.S.
729
730 2024-06-10 Jan Beulich <jbeulich@suse.com>
731
732 * config/aarch64/cpuinfo.c: Provide AT_HWCAP2.
733
734 2024-06-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
735
736 PR target/115360
737 * config/arm/cmse_nonsecure_call.S: Add .type and .size directives.
738
739 2024-06-06 Thomas Schwinge <tschwinge@baylibre.com>
740 Andrew Stubbs <ams@gcc.gnu.org>
741
742 * config/nvptx/t-nvptx: Add unwind-nvptx.c.
743 * config/nvptx/unwind-nvptx.c: New file.
744
745 2024-06-06 Thomas Schwinge <tschwinge@baylibre.com>
746
747 * config/nvptx/gbl-ctors.c ["mgomp"]
748 (__do_global_ctors__entry__mgomp)
749 (__do_global_dtors__entry__mgomp): New.
750 [!"mgomp"] (__do_global_ctors__entry, __do_global_dtors__entry):
751 New.
752
753 2024-06-05 Wilco Dijkstra <wilco.dijkstra@arm.com>
754
755 PR target/115342
756 * config/aarch64/cpuinfo.c (__init_cpu_features_constructor):
757 Use HWCAP where possible. Use atomic write for initialization.
758 Fix FEAT_PREDRES comparison.
759 (__init_cpu_features_resolver): Use atomic load for correct
760 initialization.
761 (__init_cpu_features): Likewise.
762
763 2024-05-31 Thomas Schwinge <tschwinge@baylibre.com>
764
765 * config/nvptx/crt0.c (__gbl_ctors): New weak function.
766 (__main): Invoke it.
767 * config/nvptx/gbl-ctors.c: New.
768 * config/nvptx/t-nvptx: Configure global constructor, destructor
769 support.
770
771 2024-05-21 Kewen Lin <linkw@linux.ibm.com>
772
773 * config.host: Remove powerpc-*-eabispe* support.
774 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Remove
775 __SPE__ code.
776 * config/rs6000/t-savresfgpr (LIB2ADD_ST): Remove e500crtres32gpr.S,
777 e500crtres32gpr.S, e500crtsav64gpr.S, e500crtsav64gprctr.S,
778 e500crtres64gpr.S, e500crtsav32gpr.S, e500crtsavg32gpr.S,
779 e500crtres64gprctr.S, e500crtsavg64gprctr.S, e500crtresx32gpr.S,
780 e500crtrest32gpr.S, e500crtrest64gpr.S and e500crtresx64gpr.S.
781 * config/rs6000/e500crtres32gpr.S: Remove.
782 * config/rs6000/e500crtres64gpr.S: Remove.
783 * config/rs6000/e500crtres64gprctr.S: Remove.
784 * config/rs6000/e500crtrest32gpr.S: Remove.
785 * config/rs6000/e500crtrest64gpr.S: Remove.
786 * config/rs6000/e500crtresx32gpr.S: Remove.
787 * config/rs6000/e500crtresx64gpr.S: Remove.
788 * config/rs6000/e500crtsav32gpr.S: Remove.
789 * config/rs6000/e500crtsav64gpr.S: Remove.
790 * config/rs6000/e500crtsav64gprctr.S: Remove.
791 * config/rs6000/e500crtsavg32gpr.S: Remove.
792 * config/rs6000/e500crtsavg64gpr.S: Remove.
793 * config/rs6000/e500crtsavg64gprctr.S: Remove.
794
795 2024-05-18 Wolfgang Hospital <Wolfgang.Hospital@arcor.de>
796
797 PR target/115065
798 * config/avr/lib1funcs.S (__clzhi2): Tweak.
799
800 2024-05-10 Georg-Johann Lay <avr@gjlay.de>
801
802 PR target/114981
803 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _powisf2.
804 (LIB1ASMFUNCS) [!avrtiny]: Add _powif.
805 * config/avr/lib1funcs.S (mov4): New .macro.
806 (L_powif, __powisf2) [!avrtiny]: New module and function.
807
808 2024-05-07 Zac Walker <zacwalker@microsoft.com>
809
810 * config.host: Add aarch64-w64-mingw32 target. Adjust targets
811 after moving MinGW files.
812 * config/i386/t-gthr-win32: Move to...
813 * config/mingw/t-gthr-win32: ...here.
814 * config/i386/t-mingw-pthread: Move to...
815 * config/mingw/t-mingw-pthread: ...here.
816 * config/aarch64/t-no-eh: New file. EH is not yet implemented for
817 the target, and the default definition should be disabled.
818
819 2024-05-07 Wolfgang Hospital <Wolfgang.Hospital@arcor.de>
820
821 PR target/114835
822 * config/avr/lib1funcs.S (__popcountqi2): Use code that
823 is one instruction shorter / faster.
824
825 2024-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
826
827 * configure.ac <*-*-solaris2*> (libgcc_cv_solaris_crts): Remove.
828 * config.host <*-*-solaris2*>: Remove !libgcc_cv_solaris_crts
829 support.
830 * configure, config.in: Regenerate.
831 * config/sol2/gmon.c (internal_mcount) [!HAVE_SOLARIS_CRTS]: Remove.
832 * config/i386/sol2-c1.S, config/sparc/sol2-c1.S: Remove.
833 * config/sol2/t-sol2 (crt1.o, gcrt1.o): Remove.
834
835 2024-05-06 Xiao Zeng <zengxiao@eswincomputing.com>
836 Jin Ma <jinma@linux.alibaba.com>
837
838 * config/riscv/sfp-machine.h (_FP_NANFRAC_B): New.
839 (_FP_NANSIGN_B): Ditto.
840 * config/riscv/t-softfp32: Add support for BF16 libfuncs.
841 * config/riscv/t-softfp64: Ditto.
842 * soft-fp/floatsibf.c: For si -> bf16.
843 * soft-fp/floatunsibf.c: For unsi -> bf16.
844
845 2024-05-03 Peter Damianov <peter0x44@disroot.org>
846
847 * libgcov-util.c (tag_counters): Swap order of arguments to xcalloc.
848 (topen_to_memory_representation): Likewise.
849
850 2024-04-30 Jakub Jelinek <jakub@redhat.com>
851
852 * gthr.h (GTHREAD_USE_WEAK): Don't redefine to 0 for glibc 2.34+
853 on GNU Hurd.
854
855 2024-04-25 Jakub Jelinek <jakub@redhat.com>
856
857 * gthr.h (GTHREAD_USE_WEAK): Redefine to 0 for GLIBC 2.34 or later.
858
859 2024-04-21 Georg-Johann Lay <avr@gjlay.de>
860
861 PR target/114794
862 * config/avr/lib1funcs.S (__udivmodqi4): Tweak.
863
864 2024-04-19 Jakub Jelinek <jakub@redhat.com>
865
866 PR libgcc/114762
867 * libgcc2.c (__divmodbitint4): Perform the decrement on negative
868 v with most significant limb all ones and the second least
869 significant limb with most significant bit clear always, regardless of
870 un < vn.
871
872 2024-04-18 Jakub Jelinek <jakub@redhat.com>
873
874 PR libgcc/114755
875 * libgcc2.c (__divmodbitint4): Perform the decrement on negative
876 v with most significant limb all ones and the second least
877 significant limb with most significant bit clear always, regardless of
878 un < vn.
879
880 2024-04-15 Jakub Jelinek <jakub@redhat.com>
881
882 PR libgcc/114689
883 * config/m68k/fpgnulib.c (__truncdfsf2): Add parentheses around
884 !!sticky bitwise or operand to quiet up cppcheck. Add parentheses
885 around mant >> 1 bitwise or operand.
886
887 2024-04-10 Andre Vieira <andre.simoesdiasvieira@arm.com>
888
889 * config/aarch64/t-softfp (softfp_extras): Add floatbitinthf,
890 floatbitintbf, floatbitinttf and fixtfbitint.
891 * config/aarch64/libgcc-softfp.ver (GCC_14.0.0): Add __floatbitinthf,
892 __floatbitintbf, __floatbitinttf and __fixtfbitint.
893
894 2024-04-09 Sergey Bugaev <bugaevc@gmail.com>
895
896 * config.host: Recognize aarch64*-*-gnu* hosts.
897 * config/aarch64/gnu-unwind.h: New file.
898 * config/aarch64/heap-trampoline.c
899 (allocate_trampoline_page): Support GNU/Hurd.
900
901 2024-04-04 Jørgen Kvalsvik <j@lambda.is>
902
903 * libgcov-merge.c (__gcov_merge_ior): New.
904
905 2024-04-03 Wilco Dijkstra <wilco.dijkstra@arm.com>
906
907 * config/aarch64/cpuinfo.c: Add HWCAP_EVTSTRM, HWCAP_CRC32, HWCAP_CPUID,
908 HWCAP_PACA and HWCAP_PACG.
909
910 2024-04-02 Jakub Jelinek <jakub@redhat.com>
911
912 * unwind-dw2-fde.c (struct fde_accumulator): Fix duplicated
913 words in comment; is is -> is.
914
915 2024-03-25 Max Filippov <jcmvbkbc@gmail.com>
916
917 * unwind-arm-common.inc (__gnu_personality_sigframe_fdpic): Cast
918 last argument of _Unwind_VRS_Set to void *.
919
920 2024-03-22 Thomas Neumann <tneumann@users.sourceforge.net>
921
922 PR libgcc/111731
923 * unwind-dw2-fde.c: Split unwind ranges if they contain the
924 unwind table.
925
926 2024-03-21 Jakub Jelinek <jakub@redhat.com>
927
928 PR libgcc/114397
929 * libgcc2.c (__divmodbitint4): Don't assume un < vn always means
930 abs(v) > abs(u), check for a special case of un + 1 == vn where
931 u is non-negative and v negative and after v's negation vn could
932 be reduced by 1.
933
934 2024-03-20 Flavio Cruz <flaviocruz@gmail.com>
935
936 * config/i386/gnu-unwind.h: Support unwinding x86_64 signal frames.
937
938 2024-03-15 Jakub Jelinek <jakub@redhat.com>
939
940 PR libgcc/114327
941 * libgcc2.c (bitint_negate): Return UWtype bitwise or of all the limbs
942 before negation rather than void.
943 (__divmodbitint4): Determine whether to fill in the upper limbs after
944 negation based on whether bitint_negate returned 0 or non-zero, rather
945 then always filling with -1.
946
947 2024-02-22 Kewen Lin <linkw@linux.ibm.com>
948
949 PR target/109987
950 * config/rs6000/t-float128-hw: Replace options -mpower{8,9}-vector
951 with -mcpu=power9.
952 * configure.ac: Update use of option -mpower9-vector with
953 -mcpu=power9.
954 * configure: Regenerate.
955
956 2024-02-21 Iain Sandoe <iain@sandoe.co.uk>
957
958 * config/aarch64/heap-trampoline.c
959 (aarch64_trampoline_insns): Arrange to encode instructions as a
960 byte array so that the order is independent of memory byte order.
961 (struct aarch64_trampoline): Likewise.
962
963 2024-02-20 Iain Sandoe <iain@sandoe.co.uk>
964
965 PR target/113971
966 * config/aarch64/heap-trampoline.c: Allow all linux variants.
967
968 2024-02-16 Matteo Italia <matteo@mitalia.net>
969
970 PR libgcc/113850
971 * config/i386/gthr-win32-cond.c (__gthr_win32_abs_to_rel_time):
972 fix absolute timespec to relative milliseconds count
973 conversion (it incorrectly returned seconds instead of
974 milliseconds); this avoids spurious wakeups in
975 __gthr_win32_cond_timedwait
976
977 2024-02-14 Jakub Jelinek <jakub@redhat.com>
978 H.J. Lu <hjl.tools@gmail.com>
979
980 PR target/113855
981 * config/i386/heap-trampoline.c (trampoline_insns): Add IBT
982 support and pad to the multiple of 4 bytes. Use movabsq
983 instead of movabs in comments. Add -mx32 variant.
984
985 2024-02-13 Jakub Jelinek <jakub@redhat.com>
986
987 * soft-fp/bitint.h (FP_FROM_BITINT): If iprec < 0 and msb is all ones,
988 just set n to 1 instead of using __builtin_clzll (~msb).
989
990 2024-02-12 Iain Sandoe <iain@sandoe.co.uk>
991
992 PR target/113855
993 * config.host: Add trampoline support to x?86-linux.
994 * config/i386/heap-trampoline.c (trampoline_insns): Provide
995 a variant for IA32.
996 (union ix86_trampoline): Likewise.
997 (__gcc_nested_func_ptr_created): Implement a basic trampoline
998 for IA32.
999
1000 2024-02-10 Jakub Jelinek <jakub@redhat.com>
1001
1002 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Or in all remainder
1003 limbs into inexact rather than just first two.
1004 * soft-fp/floatbitintsd.c (__bid_floatbitintsd): Likewise.
1005 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
1006
1007 2024-02-10 Jakub Jelinek <jakub@redhat.com>
1008
1009 * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up
1010 BIL_TYPE_SIZE == 32 shifts.
1011 * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise.
1012 * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise.
1013 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise.
1014 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
1015
1016 2024-02-09 Iain Sandoe <iain@sandoe.co.uk>
1017
1018 * config/i386/libgcc-darwin.ver: Export bf and bitint-related
1019 synbols.
1020
1021 2024-02-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1022
1023 PR target/113700
1024 * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
1025 i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
1026 * config/i386/libgcc-glibc.ver: Request notifications on updates.
1027
1028 2024-02-06 Matteo Italia <matteo@mitalia.net>
1029
1030 PR libgcc/113337
1031 * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
1032 _Unwind_RaiseException return code back to caller instead of
1033 calling abort, allowing __cxa_rethrow to invoke std::terminate
1034 in case of uncaught rethrown exception
1035
1036 2024-02-02 Jakub Jelinek <jakub@redhat.com>
1037
1038 PR libgcc/113604
1039 * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
1040 vv1 from uv1:uv0 once or twice as needed, rather than
1041 subtracting vv1:vv1.
1042
1043 2024-02-02 Khem Raj <raj.khem@gmail.com>
1044
1045 * config/i386/enable-execute-stack-mingw32.c: Include
1046 stdlib.h for abort() definition.
1047
1048 2024-02-02 Jakub Jelinek <jakub@redhat.com>
1049
1050 PR target/113700
1051 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
1052 from symbol names.
1053
1054 2024-02-01 Jakub Jelinek <jakub@redhat.com>
1055
1056 PR libgcc/113402
1057 * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
1058 argument from void ** to void *.
1059 * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
1060 Change type of dst from void ** to void * and cast dst to void **
1061 before dereferencing it.
1062 * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
1063 Likewise.
1064
1065 2024-02-01 Jakub Jelinek <jakub@redhat.com>
1066
1067 PR libgcc/113403
1068 * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
1069 i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
1070
1071 2024-02-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1072
1073 * config/aarch64/crti.S: Remove stack marking.
1074 * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
1075 * config/aarch64/lse.S: Remove stack and GNU property markings.
1076
1077 2024-01-30 Iain Sandoe <iain@sandoe.co.uk>
1078
1079 PR libgcc/113403
1080 * config.host: Build libheap_t.a for i686/x86_64 Darwin.
1081 * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
1082 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
1083 (__gcc_nested_func_ptr_created): Likewise.
1084 * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
1085 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
1086 (__gcc_nested_func_ptr_created): Likewise.
1087 * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
1088 support).
1089
1090 2024-01-30 Iain Sandoe <iain@sandoe.co.uk>
1091
1092 PR libgcc/113403
1093 * config/aarch64/t-heap-trampoline: Move the heap trampoline
1094 support functions from libgcc.a to libgcc_eh.a.
1095 * config/i386/t-heap-trampoline: Likewise.
1096
1097 2024-01-28 Iain Sandoe <iain@sandoe.co.uk>
1098 Jakub Jelinek <jakub@redhat.com>
1099
1100 PR libgcc/113402
1101 * config/aarch64/heap-trampoline.c: Rename
1102 __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
1103 __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
1104 * config/i386/heap-trampoline.c: Likewise.
1105 * libgcc2.h: Likewise.
1106 * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
1107 __gcc_nested_func_ptr_created and
1108 __gcc_nested_func_ptr_deleted from this symbol version to ...
1109 (GCC_14.0.0): ... this one.
1110
1111 2024-01-26 Andrew Stubbs <ams@baylibre.com>
1112
1113 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
1114
1115 2024-01-23 Zac Walker <zacwalker@microsoft.com>
1116
1117 * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
1118 (ENTRY_ALIGN, GNU_PROPERTY): New macros.
1119 * config/aarch64/__arm_sme_state.S: Use them.
1120 * config/aarch64/__arm_tpidr2_save.S: Likewise.
1121 * config/aarch64/__arm_za_disable.S: Likewise.
1122 * config/aarch64/crti.S: Likewise.
1123 * config/aarch64/lse.S: Likewise.
1124
1125 2024-01-12 Jakub Jelinek <jakub@redhat.com>
1126
1127 * libgcc2.h (UBILtype): New typedef with may_alias attribute.
1128 (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
1129 UWtype * and const UBILtype * instead of const UWtype *.
1130 * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
1131 __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
1132 Likewise.
1133 * soft-fp/bitint.h (UBILtype): Change define into a typedef with
1134 may_alias attribute.
1135
1136 2024-01-12 Sandra Loosemore <sandra@codesourcery.com>
1137
1138 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
1139 _dl_find_object on nios2; it doesn't work.
1140
1141 2023-12-23 Thomas Schwinge <thomas@codesourcery.com>
1142
1143 * c++-minimal/README: New.
1144 * c++-minimal/guard.c: New.
1145 * config/gcn/t-amdgcn (LIB2ADD): Add it.
1146 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
1147
1148 2023-12-20 Alexandre Oliva <oliva@adacore.com>
1149
1150 PR middle-end/112917
1151 * config.host (sparc, sparc64): Enable...
1152 * config/sparc/t-sparc: ... this new fragment.
1153
1154 2023-12-20 Alexandre Oliva <oliva@adacore.com>
1155
1156 * strub.c (ATTRIBUTE_NOINLINE): New.
1157 (ATTRIBUTE_STRUB_CALLABLE): Add it.
1158 (__strub_dummy_force_no_leaf): Drop it.
1159
1160 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
1161
1162 * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
1163 copy in gcc/common
1164
1165 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
1166 Pavel Iliin <Pavel.Iliin@arm.com>
1167
1168 * config/aarch64/t-aarch64: Include cpuinfo.c
1169 * config/aarch64/cpuinfo.c: New file
1170 (__init_cpu_features_constructor) New.
1171 (__init_cpu_features_resolver) New.
1172 (__init_cpu_features) New.
1173
1174 2023-12-11 Lipeng Zhu <lipeng.zhu@intel.com>
1175
1176 * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
1177 (__gthrw): New function.
1178 (__gthread_rwlock_rdlock): New function.
1179 (__gthread_rwlock_tryrdlock): New function.
1180 (__gthread_rwlock_wrlock): New function.
1181 (__gthread_rwlock_trywrlock): New function.
1182 (__gthread_rwlock_unlock): New function.
1183
1184 2023-12-08 Florian Weimer <fweimer@redhat.com>
1185
1186 * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
1187 of fork.
1188
1189 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
1190
1191 * config.in: Regenerate.
1192
1193 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
1194
1195 * config/aarch64/__arm_za_disable.S: Add hidden alias.
1196 * config/aarch64/aarch64-unwind.h: Reset the SME state before
1197 EH return via the _Unwind_Frames_Extra hook.
1198
1199 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
1200
1201 * config/aarch64/t-aarch64: Add sources to the build.
1202 * config/aarch64/__aarch64_have_sme.c: New file.
1203 * config/aarch64/__arm_sme_state.S: New file.
1204 * config/aarch64/__arm_tpidr2_restore.S: New file.
1205 * config/aarch64/__arm_tpidr2_save.S: New file.
1206 * config/aarch64/__arm_za_disable.S: New file.
1207 * config/aarch64/aarch64-asm.h: New file.
1208 * config/aarch64/libgcc-sme.ver: New file.
1209
1210 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
1211
1212 * config.in: Undef HAVE___GETAUXVAL.
1213 * configure: Regenerate.
1214 * configure.ac: Check for __getauxval.
1215
1216 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
1217
1218 * config.in: Undef HAVE_AS_VARIANT_PCS.
1219 * configure: Regenerate.
1220 * configure.ac: Check for .variant_pcs.
1221
1222 2023-12-07 Alexandre Oliva <oliva@adacore.com>
1223
1224 * configure.ac: Check for strub support.
1225 * configure: Rebuilt.
1226 * Makefile.in: Compile strub.c conditionally.
1227
1228 2023-12-06 Thomas Schwinge <thomas@codesourcery.com>
1229 Jakub Jelinek <jakub@redhat.com>
1230
1231 PR libgcc/109289
1232 * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
1233 pragma.
1234
1235 2023-12-06 Alexandre Oliva <oliva@adacore.com>
1236
1237 * Makefile.in (LIB2ADD): Add strub.c.
1238 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
1239 Declare.
1240 * strub.c: New.
1241 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
1242 (__strub_update, __strub_leave): Likewise.
1243
1244 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
1245
1246 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
1247
1248 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
1249
1250 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
1251 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
1252 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
1253
1254 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
1255
1256 * config/frv/frvbegin.c (atexit): Add prototype.
1257
1258 2023-12-01 Alexandre Oliva <oliva@adacore.com>
1259
1260 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
1261
1262 2023-12-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1263
1264 PR target/112777
1265 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
1266 always defined as either 0 or 1.
1267
1268 2023-12-01 Florian Weimer <fweimer@redhat.com>
1269
1270 * config/aarch64/linux-unwind.h
1271 (aarch64_fallback_frame_state): Add cast to the expected type
1272 in sc assignment.
1273
1274 2023-11-30 Wilco Dijkstra <wilco.dijkstra@arm.com>
1275
1276 PR target/111404
1277 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
1278 either new value or loaded value.
1279
1280 2023-11-27 Richard Earnshaw <rearnsha@arm.com>
1281
1282 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
1283
1284 2023-11-24 Richard Earnshaw <rearnsha@arm.com>
1285
1286 * config.host (arm*-*-eabi* | arm*-*-rtems*):
1287 Add arm/t-sync to the makefile rules.
1288 * config/arm/lib1funcs.S (__sync_synchronize_none)
1289 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
1290 (__sync_synchronize): New functions.
1291 * config/arm/t-sync: New file.
1292 * config/arm/sync-none.specs: Likewise.
1293 * config/arm/sync-dmb.specs: Likewise.
1294 * config/arm/sync-cp15dmb.specs: Likewise.
1295
1296 2023-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
1297
1298 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
1299
1300 2023-11-21 Jakub Jelinek <jakub@redhat.com>
1301
1302 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
1303
1304 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
1305
1306 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
1307 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
1308
1309 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
1310
1311 Revert:
1312 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
1313
1314 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1315 (gcov_type_unsigned): Likewise.
1316
1317 2023-11-10 Keith Packard <keithp@keithp.com>
1318
1319 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
1320 (__divdf3): Restore sign bit properly.
1321 (__addsf3): Correct exponent check.
1322 * config/m68k/fpgnulib.c (EXPMASK): Define.
1323 (__extendsfdf2): Handle Inf and NaN properly.
1324 (__truncdfsf2): Handle underflow and overflow correctly.
1325 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
1326 (__truncxfdf2): Handle underflow and denorms correctly.
1327 (__fixxfsi): Reimplement.
1328
1329 2023-11-09 Jakub Jelinek <jakub@redhat.com>
1330
1331 PR libgcc/65833
1332 * config/t-softfp (softfp_bid_list): Add
1333 {U,}TItype <-> _Decimal{32,64,128} conversions.
1334 * soft-fp/floattisd.c: New file.
1335 * soft-fp/floattidd.c: New file.
1336 * soft-fp/floattitd.c: New file.
1337 * soft-fp/floatuntisd.c: New file.
1338 * soft-fp/floatuntidd.c: New file.
1339 * soft-fp/floatuntitd.c: New file.
1340 * soft-fp/fixsdti.c: New file.
1341 * soft-fp/fixddti.c: New file.
1342 * soft-fp/fixtdti.c: New file.
1343 * soft-fp/fixunssdti.c: New file.
1344 * soft-fp/fixunsddti.c: New file.
1345 * soft-fp/fixunstdti.c: New file.
1346
1347 2023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
1348
1349 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
1350 (__offload_ind_func_table): New.
1351 (__offload_ind_funcs_end): New.
1352 (__OFFLOAD_TABLE__): Add entries for indirect functions.
1353
1354 2023-11-03 Thomas Schwinge <thomas@codesourcery.com>
1355
1356 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
1357
1358 2023-10-31 Alexandre Oliva <oliva@adacore.com>
1359
1360 * hardcfr.c: Adjust copyright year.
1361
1362 2023-10-24 Sergei Trofimovich <siarheit@google.com>
1363
1364 * config/aarch64/heap-trampoline.c: Disable when libc is not
1365 present.
1366 * config/i386/heap-trampoline.c: Ditto.
1367
1368 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
1369
1370 * config/t-slibgcc-darwin: Generate libgcc_s
1371 with an @rpath name.
1372 * config.host: Handle Darwin rpaths.
1373 * config/t-darwin-rpath: New file.
1374
1375 2023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1376 Maxim Blinov <maxim.blinov@embecosm.com>
1377 Iain Sandoe <iain@sandoe.co.uk>
1378 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1379
1380 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
1381 (__builtin_nested_func_ptr_deleted): Declare.
1382 * libgcc-std.ver.in: Add the new symbols.
1383 * config/aarch64/heap-trampoline.c: Implement heap-based
1384 trampolines for aarch64.
1385 * config/aarch64/t-heap-trampoline: Add rule to build
1386 config/aarch64/heap-trampoline.c
1387 * config/i386/heap-trampoline.c: Implement heap-based
1388 trampolines for x86_64.
1389 * config/i386/t-heap-trampoline: Add rule to build
1390 config/i386/heap-trampoline.cc
1391 * config.host: Handle --enable-heap-trampolines on
1392 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
1393
1394 2023-10-20 Andrew Stubbs <ams@codesourcery.com>
1395
1396 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
1397
1398 2023-10-20 Alexandre Oliva <oliva@adacore.com>
1399
1400 * Makefile.in (LIB2ADD): Add hardcfr.c.
1401 * hardcfr.c: New.
1402
1403 2023-10-13 Florian Weimer <fweimer@redhat.com>
1404
1405 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
1406 missing cast.
1407
1408 2023-10-13 Florian Weimer <fweimer@redhat.com>
1409
1410 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
1411 missing cast.
1412
1413 2023-10-13 Florian Weimer <fweimer@redhat.com>
1414
1415 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
1416 missing cast.
1417
1418 2023-10-13 Florian Weimer <fweimer@redhat.com>
1419
1420 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
1421 missing cast.
1422
1423 2023-10-13 Florian Weimer <fweimer@redhat.com>
1424
1425 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
1426
1427 2023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
1428
1429 * config/aarch64/lse.S (BTI_C): Remove define.
1430
1431 2023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
1432
1433 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
1434 Use const unsigned type and a builtin.
1435
1436 2023-09-06 Jakub Jelinek <jakub@redhat.com>
1437
1438 PR c/102989
1439 * libgcc2.c (bitint_negate): Add function comment.
1440 * soft-fp/bitint.h (bitint_negate): Add function comment.
1441 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
1442
1443 2023-09-06 Jakub Jelinek <jakub@redhat.com>
1444
1445 PR c/102989
1446 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
1447 * config/i386/64/t-softfp (softfp_extras): Likewise.
1448 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
1449 routines.
1450 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
1451 bf, hf and xf mode floatbitint.
1452 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
1453 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
1454 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
1455 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
1456 * config/t-softfp (softfp_floatbitint_funcs): New.
1457 (softfp_bid_list): New.
1458 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
1459 (softfp_bid_file_list): New.
1460 (LIB2ADD_ST): Add $(softfp_bid_file_list).
1461 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
1462 floatbitinttf.
1463 * config/t-softfp-tf (softfp_extras): Likewise.
1464 * libgcc2.c (bitint_reduce_prec): New inline function.
1465 (BITINT_INC, BITINT_END): Define.
1466 (bitint_mul_1, bitint_addmul_1): New helper functions.
1467 (__mulbitint3): New function.
1468 (bitint_negate, bitint_submul_1): New helper functions.
1469 (__divmodbitint4): New function.
1470 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
1471 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
1472 (__mulbitint3, __divmodbitint4): Declare.
1473 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
1474 * Makefile.in (lib2funcs): Add _mulbitint3.
1475 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
1476 * soft-fp/bitint.h: New file.
1477 * soft-fp/fixdfbitint.c: New file.
1478 * soft-fp/fixsfbitint.c: New file.
1479 * soft-fp/fixtfbitint.c: New file.
1480 * soft-fp/fixxfbitint.c: New file.
1481 * soft-fp/floatbitintbf.c: New file.
1482 * soft-fp/floatbitintdf.c: New file.
1483 * soft-fp/floatbitinthf.c: New file.
1484 * soft-fp/floatbitintsf.c: New file.
1485 * soft-fp/floatbitinttf.c: New file.
1486 * soft-fp/floatbitintxf.c: New file.
1487 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
1488 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
1489 * soft-fp/bitintpow10.c: New file.
1490 * soft-fp/fixsdbitint.c: New file.
1491 * soft-fp/fixddbitint.c: New file.
1492 * soft-fp/fixtdbitint.c: New file.
1493 * soft-fp/floatbitintsd.c: New file.
1494 * soft-fp/floatbitintdd.c: New file.
1495 * soft-fp/floatbitinttd.c: New file.
1496
1497 2023-09-06 Jakub Jelinek <jakub@redhat.com>
1498
1499 PR c/102989
1500 * soft-fp/bitintpow10.h: New file.
1501
1502 2023-09-05 Yang Yujie <yangyujie@loongson.cn>
1503
1504 * config.host: add loongarch*-elf target.
1505
1506 2023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
1507
1508 PR libgcc/110956
1509 * unwind-dw2-fde.c: Associate object with address of unwinding
1510 table.
1511
1512 2023-08-07 John Ericson <git@JohnEricson.me>
1513
1514 * configure: Regenerate.
1515
1516 2023-08-07 Alan Modra <amodra@gmail.com>
1517
1518 * configure: Regenerate.
1519
1520 2023-07-23 Andrew Pinski <apinski@marvell.com>
1521
1522 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
1523 (riscv*-*-freebsd*): Likewise.
1524 * config/riscv/t-crtstuff: New file.
1525
1526 2023-07-19 liuhongt <hongtao.liu@intel.com>
1527
1528 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
1529 files.
1530
1531 2023-07-11 Florian Weimer <fweimer@redhat.com>
1532
1533 PR libgcc/110179
1534 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
1535 implicit conversion of pointer value to integer.
1536
1537 2023-07-06 Kito Cheng <kito.cheng@sifive.com>
1538
1539 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
1540 (FP_HANDLE_EXCEPTIONS): Ditto.
1541
1542 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
1543
1544 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
1545 * config/gcn/lib2-divmod.c: Likewise.
1546 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
1547 new vector libfuncs.
1548 * config/gcn/t-amdgcn: Add new files.
1549 * config/gcn/amdgcn_veclib.h: New file.
1550 * config/gcn/lib2-vec_divmod-di.c: New file.
1551 * config/gcn/lib2-vec_divmod-hi.c: New file.
1552 * config/gcn/lib2-vec_divmod-qi.c: New file.
1553 * config/gcn/lib2-vec_divmod.c: New file.
1554
1555 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
1556
1557 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
1558 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
1559 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
1560 * config/gcn/lib2-divmod-hi.c: Removed.
1561
1562 2023-06-07 Florian Weimer <fweimer@redhat.com>
1563
1564 PR libgcc/109712
1565 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
1566 parsing eh_frame.
1567
1568 2023-06-05 Kewen Lin <linkw@linux.ibm.com>
1569
1570 * config/i386/morestack.S: Use @init_array rather than
1571 @progbits for section type of section .init_array.
1572 * config/rs6000/morestack.S: Likewise.
1573 * config/s390/morestack.S: Likewise.
1574
1575 2023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
1576
1577 * config/mips/lib1funcs.S: New file.
1578 define __speculation_barrier and include mips16.S.
1579 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
1580 define LIB1ASMFUNCS as _speculation_barrier.
1581 set version info for __speculation_barrier.
1582 * config/mips/libgcc-mips.ver: New file.
1583 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
1584 included in lib1funcs.S now.
1585
1586 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
1587
1588 PR libgcc/109670
1589 * unwind-dw2-fde.c: Fix radix sort buffer management.
1590
1591 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
1592
1593 PR libgcc/109685
1594 * unwind-dw2-fde.c: Free sort array in atomic fast path.
1595
1596 2023-05-19 Iain Sandoe <iain@sandoe.co.uk>
1597
1598 * config.host: Arrange to set min Darwin OS versions from
1599 the configured host version.
1600 * config/darwin10-unwind-find-enc-func.c: Do not use current
1601 headers, but declare the nexessary structures locally to the
1602 versions in use for Mac OSX 10.6.
1603 * config/t-darwin: Amend to handle configured min OS
1604 versions.
1605 * config/t-darwin-min-1: New.
1606 * config/t-darwin-min-5: New.
1607 * config/t-darwin-min-8: New.
1608
1609 2023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
1610
1611 * unwind-dw2-fde.c: Fix assert in non-atomic path.
1612
1613 2023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
1614
1615 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
1616
1617 2023-05-02 Patrick O'Neill <patrick@rivosinc.com>
1618
1619 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
1620 sequentially consistent LR.aqrl/SC.rl pairs.
1621
1622 2023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
1623
1624 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
1625 -DTARGET_HAS_NO_HW_DIVIDE.
1626
1627 2023-04-27 Hans-Peter Nilsson <hp@axis.com>
1628
1629 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
1630 -DTARGET_HAS_NO_HW_DIVIDE.
1631
1632 2023-04-26 Patrick O'Neill <patrick@rivosinc.com>
1633
1634 PR target/104338
1635 * config/riscv/atomic.c: Add reference to duplicate logic.
1636
1637 2023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
1638
1639 PR target/109402
1640 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
1641 stack manipulations.
1642
1643 2023-04-05 John David Anglin <danglin@gcc.gnu.org>
1644
1645 PR target/109374
1646 * config/pa/milli64.S (RETURN_COLUMN): Define.
1647 ($$divI): Add CFI directives.
1648 ($$divU): Likewise.
1649 ($$remI): Likewise.
1650 ($$remU): Likewise.
1651
1652 2023-03-19 Stafford Horne <shorne@gmail.com>
1653
1654 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1655 statement clearing existing exceptions.
1656
1657 2023-03-13 Max Filippov <jcmvbkbc@gmail.com>
1658
1659 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
1660 * config/xtensa/crtn.S: Likewise.
1661 * config/xtensa/lib1funcs.S: Likewise.
1662 * config/xtensa/lib2funcs.S: Likewise.
1663
1664 2023-03-12 Jakub Jelinek <jakub@redhat.com>
1665
1666 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
1667 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
1668 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
1669 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
1670 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
1671 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
1672 * soft-fp/floatundibf.c: New file.
1673 * soft-fp/floatdibf.c: New file.
1674
1675 2023-03-10 Jakub Jelinek <jakub@redhat.com>
1676
1677 PR target/107703
1678 * soft-fp/floattibf.c: New file.
1679 * soft-fp/floatuntibf.c: New file.
1680 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
1681 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
1682 floatuntibf.
1683 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
1684
1685 2023-03-08 Kewen Lin <linkw@linux.ibm.com>
1686
1687 PR libgcc/108727
1688 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
1689 bump size.
1690
1691 2023-03-06 Michael Meissner <meissner@linux.ibm.com>
1692
1693 PR target/107299
1694 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
1695 whether long double is IBM or IEEE.
1696 (INFINITY): Likewise.
1697 (FABS): Likewise.
1698 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
1699 (INFINITY): Likewise.
1700 * config/rs6000/quad-float128.h (TF): Remove definition.
1701 (TFtype): Define to be long double or _Float128.
1702 (TCtype): Define to be _Complex long double or _Complex _Float128.
1703 * libgcc2.h (TFtype): Allow machine config files to override this.
1704 (TCtype): Likewise.
1705 * soft-fp/quad.h (TFtype): Likewise.
1706
1707 2023-02-13 Kito Cheng <kito.cheng@sifive.com>
1708
1709 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
1710 * config/riscv/value-unwind.h: New.
1711
1712 2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
1713
1714 * config/arm/pr-support.c (__gnu_unwind_execute): Use
1715 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
1716
1717 2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
1718
1719 * config.host: Recognize x86_64-*-gnu* targets.
1720 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
1721 TODO for now.
1722
1723 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1724
1725 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
1726 "0xb5".
1727
1728 2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
1729 Tejas Belagod <tbelagod@arm.com>
1730 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1731
1732 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
1733 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
1734 with AUTG if found.
1735 * config/arm/unwind-arm.c (struct pseudo_regs): New.
1736 (phase1_vrs): Introduce new field to store pseudo-reg state.
1737 (phase2_vrs): Likewise.
1738 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
1739 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
1740 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
1741
1742 2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
1743
1744 PR target/107678
1745 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
1746 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
1747 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
1748 encode the return address signing state.
1749 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
1750 Check current return address signing state.
1751 (aarch64_frob_update_contex): Remove.
1752
1753 2023-01-13 John David Anglin <danglin@gcc.gnu.org>
1754
1755 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
1756 pa/t-pa64-linux.
1757 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
1758 instead of pa/t-hpux and pa/t-pa64.
1759 * config/pa/linux-atomic.c: Define u32 type.
1760 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
1761 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
1762 defines to use atomic_load calls for type.
1763 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
1764 * config/pa/sync-libfuncs.c: New file.
1765 * config/pa/t-netbsd (LIB2ADD_ST): Define.
1766 * config/pa/t-openbsd (LIB2ADD_ST): Define.
1767 * config/pa/t-pa64-hpux: New file.
1768 * config/pa/t-pa64-linux: New file.
1769
1770 2023-01-13 Jonathan Wakely <jwakely@redhat.com>
1771
1772 PR libstdc++/108331
1773 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
1774 struct matching the previous __gthread_mutex_t struct.
1775 (__GTHREAD_LEGACY_MUTEX_T): Define.
1776
1777 2023-01-13 Seija Kijin <doremylover456@gmail.com>
1778
1779 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
1780 unified syntax.
1781
1782 2023-01-07 LIU Hao <lh_mouse@126.com>
1783
1784 PR middle-end/108300
1785 * config/i386/enable-execute-stack-mingw32.c: Define
1786 `WIN32_LEAN_AND_MEAN` before <windows.h>.
1787 * libgcc2.c: Likewise.
1788 * unwind-generic.h: Likewise.
1789
1790 2023-01-03 Florian Weimer <fweimer@redhat.com>
1791
1792 * unwind-dw2-execute_cfa.h: New file. Extracted from
1793 the execute_cfa_program function in unwind-dw2.c.
1794 * unwind-dw2.c (execute_cfa_program_generic): New function.
1795 (execute_cfa_program_specialized): Likewise.
1796 (execute_cfa_program): Call execute_cfa_program_specialized
1797 or execute_cfa_program_generic, as appropriate.
1798
1799 2023-01-03 Florian Weimer <fweimer@redhat.com>
1800
1801 Revert:
1802 2023-01-03 Florian Weimer <fweimer@redhat.com>
1803
1804 * unwind-dw2.c (dwarf_reg_size): New function.
1805 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1806 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1807 (uw_init_context_1): Do not initialize dwarf_reg_size_table
1808 if not in use.
1809
1810 2023-01-03 Florian Weimer <fweimer@redhat.com>
1811
1812 Revert:
1813 2023-01-03 Florian Weimer <fweimer@redhat.com>
1814
1815 * unwind-dw2-execute_cfa.h: New file. Extracted from
1816 the execute_cfa_program function in unwind-dw2.c.
1817 * unwind-dw2.c (execute_cfa_program_generic): New function.
1818 (execute_cfa_program_specialized): Likewise.
1819 (execute_cfa_program): Call execute_cfa_program_specialized
1820 or execute_cfa_program_generic, as appropriate.
1821
1822 2023-01-02 Florian Weimer <fweimer@redhat.com>
1823
1824 * unwind-dw2-execute_cfa.h: New file. Extracted from
1825 the execute_cfa_program function in unwind-dw2.c.
1826 * unwind-dw2.c (execute_cfa_program_generic): New function.
1827 (execute_cfa_program_specialized): Likewise.
1828 (execute_cfa_program): Call execute_cfa_program_specialized
1829 or execute_cfa_program_generic, as appropriate.
1830
1831 2023-01-02 Florian Weimer <fweimer@redhat.com>
1832
1833 * unwind-dw2.c (dwarf_reg_size): New function.
1834 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1835 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1836 (uw_init_context_1): Do not initialize dwarf_reg_size_table
1837 if not in use.
1838
1839 2022-12-25 Jonathan Yong <10walls@gmail.com>
1840
1841 * config/i386/gthr-win32.h: undef CC_NONE
1842
1843 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
1844
1845 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
1846 install of libgcc_s.1.dylib when the installation is into the build
1847 gcc directory.
1848
1849 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
1850
1851 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
1852 as well as new i386/t-slibgcc-mingw fragment.
1853 (x86_64-*-mingw*): Likewise.
1854 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
1855 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
1856 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
1857 Include stdlib.h instead of errno.h and do not include _mingw.h.
1858 (CONST_CAST2): Add specific definition for C++.
1859 (ATTRIBUTE_UNUSED): New macro.
1860 (__UNUSED_PARAM): Delete.
1861 Define WIN32_LEAN_AND_MEAN before including windows.h.
1862 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
1863 (__gthread_objc_init_thread_system): Likewise.
1864 (__gthread_objc_thread_get_data): Minor tweak.
1865 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
1866 (__gthread_objc_condition_deallocate): Likewise.
1867 (__gthread_objc_condition_wait): Likewise.
1868 (__gthread_objc_condition_broadcast): Likewise.
1869 (__gthread_objc_condition_signal): Likewise.
1870 Include sys/time.h.
1871 (__gthr_win32_DWORD): New typedef.
1872 (__gthr_win32_HANDLE): Likewise.
1873 (__gthr_win32_CRITICAL_SECTION): Likewise.
1874 (__gthr_win32_CONDITION_VARIABLE): Likewise.
1875 (__gthread_t): Adjust.
1876 (__gthread_key_t): Likewise.
1877 (__gthread_mutex_t): Likewise.
1878 (__gthread_recursive_mutex_t): Likewise.
1879 (__gthread_cond_t): New typedef.
1880 (__gthread_time_t): Likewise.
1881 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
1882 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
1883 (__GTHREAD_COND_INIT_FUNCTION): Define.
1884 (__GTHREAD_TIME_INIT): Likewise.
1885 (__gthr_i486_lock_cmp_xchg): Delete.
1886 (__gthr_win32_create): Declare.
1887 (__gthr_win32_join): Likewise.
1888 (__gthr_win32_self): Likewise.
1889 (__gthr_win32_detach): Likewise.
1890 (__gthr_win32_equal): Likewise.
1891 (__gthr_win32_yield): Likewise.
1892 (__gthr_win32_mutex_destroy): Likewise.
1893 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1894 (__gthr_win32_cond_broadcast): Likewise.
1895 (__gthr_win32_cond_signal): Likewise.
1896 (__gthr_win32_cond_wait): Likewise.
1897 (__gthr_win32_cond_timedwait): Likewise.
1898 (__gthr_win32_recursive_mutex_init_function): Delete.
1899 (__gthr_win32_recursive_mutex_lock): Likewise.
1900 (__gthr_win32_recursive_mutex_unlock): Likewise.
1901 (__gthr_win32_recursive_mutex_destroy): Likewise.
1902 (__gthread_create): New inline function.
1903 (__gthread_join): Likewise.
1904 (__gthread_self): Likewise.
1905 (__gthread_detach): Likewise.
1906 (__gthread_equal): Likewise.
1907 (__gthread_yield): Likewise.
1908 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1909 (__gthread_cond_broadcast): Likewise.
1910 (__gthread_cond_signal): Likewise.
1911 (__gthread_cond_wait): Likewise.
1912 (__gthread_cond_timedwait): Likewise.
1913 (__GTHREAD_WIN32_INLINE): New macro.
1914 (__GTHREAD_WIN32_COND_INLINE): Likewise.
1915 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
1916 Define WIN32_LEAN_AND_MEAN before including windows.h.
1917 (__gthread_once): Minor tweaks.
1918 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
1919 (__gthread_key_delete): Minor tweak.
1920 (__gthread_getspecific): Likewise.
1921 (__gthread_setspecific): Likewise.
1922 (__gthread_mutex_init_function): Reimplement.
1923 (__gthread_mutex_destroy): Likewise.
1924 (__gthread_mutex_lock): Likewise.
1925 (__gthread_mutex_trylock): Likewise.
1926 (__gthread_mutex_unlock): Likewise.
1927 (__gthr_win32_abs_to_rel_time): Declare.
1928 (__gthread_recursive_mutex_init_function): Reimplement.
1929 (__gthread_recursive_mutex_destroy): Likewise.
1930 (__gthread_recursive_mutex_lock): Likewise.
1931 (__gthread_recursive_mutex_trylock): Likewise.
1932 (__gthread_recursive_mutex_unlock): Likewise.
1933 (__gthread_cond_destroy): New inline function.
1934 (__gthread_cond_wait_recursive): Likewise.
1935 * config/i386/gthr-win32.c: Delete everything.
1936 Include gthr-win32.h to get the out-of-line version of inline routines.
1937 Add compile-time checks for the local version of the Win32 types.
1938 * config/i386/gthr-win32-cond.c: New file.
1939 * config/i386/gthr-win32-thread.c: Likewise.
1940 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
1941 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
1942 the static version of libgcc.
1943 * config/i386/t-slibgcc-mingw: New file.
1944 * config/i386/libgcc-mingw.ver: Likewise.
1945
1946 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
1947
1948 * unwind-dw2-fde.c: Initialize fde object lazily when
1949 the first exception tries to pass through.
1950
1951 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
1952
1953 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
1954
1955 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
1956
1957 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
1958 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
1959 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
1960 (XSHAL_ABI): Remove stray symbols from macro definitions.
1961
1962 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
1963
1964 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
1965 xtensa-config-builtin.h.
1966 * config/xtensa/crtn.S: Likewise.
1967 * config/xtensa/lib1funcs.S: Likewise.
1968 * config/xtensa/lib2funcs.S: Likewise.
1969 * config/xtensa/xtensa-config-builtin.h: New File.
1970
1971 2022-11-04 Florian Weimer <fweimer@redhat.com>
1972
1973 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
1974 values actually used by BFD ld.
1975
1976 2022-10-23 LIU Hao <lh_mouse@126.com>
1977
1978 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
1979 libobjc, instead of 'gthr.h'
1980
1981 2022-10-19 LIU Hao <lh_mouse@126.com>
1982
1983 * config.host: Add new cases for `mcf` thread model
1984 * config/i386/gthr-mcf.h: New file
1985 * config/i386/t-mingw-mcfgthread: New file
1986 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
1987 * configure: Regenerate
1988
1989 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
1990
1991 * Makefile.in: Quote variable.
1992
1993 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
1994
1995 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
1996 argument.
1997 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
1998 _Unwind_Frames_Increment.
1999 (_Unwind_ForcedUnwind_Phase2): Likewise.
2000 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2001 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
2002 return address on normal stack doesn't match the return address
2003 on shadow stack.
2004
2005 2022-10-17 Florian Weimer <fweimer@redhat.com>
2006
2007 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
2008 and reduce its size.
2009
2010 2022-10-14 Jakub Jelinek <jakub@redhat.com>
2011
2012 * config/i386/t-softfp (softfp_extensions): Add bfsf.
2013 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
2014 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
2015 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
2016 -msse2.
2017 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
2018 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
2019 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
2020 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
2021 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
2022 * soft-fp/brain.h: New file.
2023 * soft-fp/truncsfbf2.c: New file.
2024 * soft-fp/truncdfbf2.c: New file.
2025 * soft-fp/truncxfbf2.c: New file.
2026 * soft-fp/trunctfbf2.c: New file.
2027 * soft-fp/trunchfbf2.c: New file.
2028 * soft-fp/truncbfhf2.c: New file.
2029 * soft-fp/extendbfsf2.c: New file.
2030
2031 2022-10-12 Martin Liska <mliska@suse.cz>
2032
2033 * libgcov-driver.c: Use new function.
2034 * libgcov.h (gcov_write_summary): Rename to ...
2035 (gcov_write_object_summary): ... this.
2036
2037 2022-10-11 Olivier Hainque <hainque@adacore.com>
2038
2039 * config.host (*vxworks*): When enable_shared, add
2040 libgcc and crtstuff "shared" fragments for rtp except
2041 large code model.
2042 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
2043 the list of fragments.
2044
2045 2022-10-06 Jakub Jelinek <jakub@redhat.com>
2046
2047 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
2048 fs->regs.how[X] instead of fs->regs.reg[X].how.
2049
2050 2022-10-06 Jakub Jelinek <jakub@redhat.com>
2051
2052 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
2053 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
2054 REG_UNDEFINED): New anonymous enum, moved from inside of
2055 struct frame_state_reg_info.
2056 (struct frame_state_reg_info): Remove reg[].how element and the
2057 anonymous enum there. Add how element.
2058 * unwind-dw2.c: Include stddef.h.
2059 (uw_frame_state_for): Don't clear first
2060 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
2061 (execute_cfa_program, __frame_state_for, uw_update_context_1,
2062 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
2063 or fs.regs.how[X] instead of fs.regs.reg[X].how.
2064 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
2065 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
2066 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
2067 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
2068 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
2069 Likewise.
2070 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
2071 Likewise.
2072 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
2073 * config/arc/linux-unwind.h (arc_fallback_frame_state,
2074 arc_frob_update_context): Likewise.
2075 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
2076 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
2077 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
2078 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
2079 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
2080 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
2081 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
2082 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
2083 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
2084 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
2085 x86_fallback_frame_state): Likewise.
2086 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
2087 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2088 x86_fallback_frame_state): Likewise.
2089 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
2090 Likewise.
2091 * config/i386/dragonfly-unwind.h
2092 (x86_64_dragonfly_fallback_frame_state): Likewise.
2093 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
2094 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
2095 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
2096 Likewise.
2097 * config/aarch64/freebsd-unwind.h
2098 (aarch64_freebsd_fallback_frame_state): Likewise.
2099 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2100 Likewise.
2101 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
2102 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
2103 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
2104 Likewise.
2105 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
2106 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2107 Likewise.
2108 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
2109 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
2110 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
2111 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
2112
2113 2022-10-02 Olivier Hainque <hainque@adacore.com>
2114
2115 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
2116 -I options for gcc/include and gcc/include-fixed at the end
2117 and make them -isystem.
2118
2119 2022-10-02 Olivier Hainque <hainque@adacore.com>
2120
2121 * config/gthr-vxworks.h: Prevent Wpragma warning for the
2122 pragma diagnostics on Wstrict-prototypes.
2123
2124 2022-09-29 Olivier Hainque <hainque@adacore.com>
2125
2126 * config/vxcrtstuff.c: Improve the comment attached to the use
2127 of auto-host.h and of __dso_handle. Remove redundant guard on
2128 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
2129
2130 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
2131
2132 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
2133 for the non-fast-path case. Drop destructor priority.
2134
2135 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
2136
2137 * unwind-dw2-fde.c: (release_register_frames) Remember
2138 when the btree has been destroyed.
2139 (__deregister_frame_info_bases) Disable the assert when
2140 shutting down.
2141
2142 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
2143
2144 * unwind-dw2-fde.c: Replace uintptr_t with typedef
2145 for __UINTPTR_TYPE__.
2146 * unwind-dw2-btree.h: Likewise.
2147
2148 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
2149
2150 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
2151 (__register_frame_info_table_bases): Use btree in atomic fast path.
2152 (__deregister_frame_info_bases): Likewise.
2153 (_Unwind_Find_FDE): Likewise.
2154 (base_from_object): Make parameter const.
2155 (classify_object_over_fdes): Add query-only mode.
2156 (get_pc_range): Compute PC range for lookup.
2157 * unwind-dw2-fde.h (last_fde): Make parameter const.
2158 * unwind-dw2-btree.h: New file.
2159
2160 2022-08-31 Martin Liska <mliska@suse.cz>
2161
2162 * config.host: Remove hppa.
2163
2164 2022-08-30 Martin Liska <mliska@suse.cz>
2165
2166 * config.host: Remove the port.
2167
2168 2022-08-26 Martin Liska <mliska@suse.cz>
2169
2170 * config.host: Remove cr16 related stuff.
2171 * config/cr16/crti.S: Removed.
2172 * config/cr16/crtlibid.S: Removed.
2173 * config/cr16/crtn.S: Removed.
2174 * config/cr16/divmodhi3.c: Removed.
2175 * config/cr16/lib1funcs.S: Removed.
2176 * config/cr16/t-cr16: Removed.
2177 * config/cr16/t-crtlibid: Removed.
2178 * config/cr16/unwind-cr16.c: Removed.
2179 * config/cr16/unwind-dw2.h: Removed.
2180
2181 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
2182
2183 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
2184 (_FP_NANFRAC_H): Ditto.
2185 (_FP_NANSIGN_H): Ditto.
2186 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
2187 routines.
2188 (softfp_truncations): Ditto.
2189 (softfp_extras): Ditto.
2190 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
2191
2192 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
2193
2194 * soft-fp/fixhfdi.c: New.
2195 * soft-fp/fixhfsi.c: Likewise.
2196 * soft-fp/fixunshfdi.c: Likewise.
2197 * soft-fp/fixunshfsi.c: Likewise.
2198 * soft-fp/floatdihf.c: Likewise.
2199 * soft-fp/floatsihf.c: Likewise.
2200 * soft-fp/floatundihf.c: Likewise.
2201 * soft-fp/floatunsihf.c: Likewise.
2202 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
2203 lines and update URL for license.
2204 * soft-fp/addsf3.c: Likewise.
2205 * soft-fp/addtf3.c: Likewise.
2206 * soft-fp/divdf3.c: Likewise.
2207 * soft-fp/divsf3.c: Likewise.
2208 * soft-fp/divtf3.c: Likewise.
2209 * soft-fp/double.h: Likewise.
2210 * soft-fp/eqdf2.c: Likewise.
2211 * soft-fp/eqhf2.c: Likewise.
2212 * soft-fp/eqsf2.c: Likewise.
2213 * soft-fp/eqtf2.c: Likewise.
2214 * soft-fp/extenddftf2.c: Likewise.
2215 * soft-fp/extended.h: Likewise.
2216 * soft-fp/extendhfdf2.c: Likewise.
2217 * soft-fp/extendhfsf2.c: Likewise.
2218 * soft-fp/extendhftf2.c: Likewise.
2219 * soft-fp/extendhfxf2.c: Likewise.
2220 * soft-fp/extendsfdf2.c: Likewise.
2221 * soft-fp/extendsftf2.c: Likewise.
2222 * soft-fp/extendxftf2.c: Likewise.
2223 * soft-fp/fixdfdi.c: Likewise.
2224 * soft-fp/fixdfsi.c: Likewise.
2225 * soft-fp/fixdfti.c: Likewise.
2226 * soft-fp/fixhfti.c: Likewise.
2227 * soft-fp/fixsfdi.c: Likewise.
2228 * soft-fp/fixsfsi.c: Likewise.
2229 * soft-fp/fixsfti.c: Likewise.
2230 * soft-fp/fixtfdi.c: Likewise.
2231 * soft-fp/fixtfsi.c: Likewise.
2232 * soft-fp/fixtfti.c: Likewise.
2233 * soft-fp/fixunsdfdi.c: Likewise.
2234 * soft-fp/fixunsdfsi.c: Likewise.
2235 * soft-fp/fixunsdfti.c: Likewise.
2236 * soft-fp/fixunshfti.c: Likewise.
2237 * soft-fp/fixunssfdi.c: Likewise.
2238 * soft-fp/fixunssfsi.c: Likewise.
2239 * soft-fp/fixunssfti.c: Likewise.
2240 * soft-fp/fixunstfdi.c: Likewise.
2241 * soft-fp/fixunstfsi.c: Likewise.
2242 * soft-fp/fixunstfti.c: Likewise.
2243 * soft-fp/floatdidf.c: Likewise.
2244 * soft-fp/floatdisf.c: Likewise.
2245 * soft-fp/floatditf.c: Likewise.
2246 * soft-fp/floatsidf.c: Likewise.
2247 * soft-fp/floatsisf.c: Likewise.
2248 * soft-fp/floatsitf.c: Likewise.
2249 * soft-fp/floattidf.c: Likewise.
2250 * soft-fp/floattihf.c: Likewise.
2251 * soft-fp/floattisf.c: Likewise.
2252 * soft-fp/floattitf.c: Likewise.
2253 * soft-fp/floatundidf.c: Likewise.
2254 * soft-fp/floatundisf.c: Likewise.
2255 * soft-fp/floatunditf.c: Likewise.
2256 * soft-fp/floatunsidf.c: Likewise.
2257 * soft-fp/floatunsisf.c: Likewise.
2258 * soft-fp/floatunsitf.c: Likewise.
2259 * soft-fp/floatuntidf.c: Likewise.
2260 * soft-fp/floatuntihf.c: Likewise.
2261 * soft-fp/floatuntisf.c: Likewise.
2262 * soft-fp/floatuntitf.c: Likewise.
2263 * soft-fp/gedf2.c: Likewise.
2264 * soft-fp/gesf2.c: Likewise.
2265 * soft-fp/getf2.c: Likewise.
2266 * soft-fp/half.h: Likewise.
2267 * soft-fp/ledf2.c: Likewise.
2268 * soft-fp/lesf2.c: Likewise.
2269 * soft-fp/letf2.c: Likewise.
2270 * soft-fp/muldf3.c: Likewise.
2271 * soft-fp/mulsf3.c: Likewise.
2272 * soft-fp/multf3.c: Likewise.
2273 * soft-fp/negdf2.c: Likewise.
2274 * soft-fp/negsf2.c: Likewise.
2275 * soft-fp/negtf2.c: Likewise.
2276 * soft-fp/op-1.h: Likewise.
2277 * soft-fp/op-2.h: Likewise.
2278 * soft-fp/op-4.h: Likewise.
2279 * soft-fp/op-8.h: Likewise.
2280 * soft-fp/op-common.h: Likewise.
2281 * soft-fp/quad.h: Likewise.
2282 * soft-fp/single.h: Likewise.
2283 * soft-fp/soft-fp.h: Likewise.
2284 * soft-fp/subdf3.c: Likewise.
2285 * soft-fp/subsf3.c: Likewise.
2286 * soft-fp/subtf3.c: Likewise.
2287 * soft-fp/truncdfhf2.c: Likewise.
2288 * soft-fp/truncdfsf2.c: Likewise.
2289 * soft-fp/truncsfhf2.c: Likewise.
2290 * soft-fp/trunctfdf2.c: Likewise.
2291 * soft-fp/trunctfhf2.c: Likewise.
2292 * soft-fp/trunctfsf2.c: Likewise.
2293 * soft-fp/trunctfxf2.c: Likewise.
2294 * soft-fp/truncxfhf2.c: Likewise.
2295 * soft-fp/unorddf2.c: Likewise.
2296 * soft-fp/unordsf2.c: Likewise.
2297 * soft-fp/unordtf2.c: Likewise.
2298
2299 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
2300
2301 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
2302 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
2303 configurations.
2304
2305 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
2306
2307 * config.host: Removed tilegx and tilepro entries.
2308 * config/tilegx/sfp-machine.h: Removed.
2309 * config/tilegx/sfp-machine32.h: Removed.
2310 * config/tilegx/sfp-machine64.h: Removed.
2311 * config/tilegx/t-crtstuff: Removed.
2312 * config/tilegx/t-softfp: Removed.
2313 * config/tilegx/t-tilegx: Removed.
2314 * config/tilepro/atomic.c: Removed.
2315 * config/tilepro/atomic.h: Removed.
2316 * config/tilepro/linux-unwind.h: Removed.
2317 * config/tilepro/sfp-machine.h: Removed.
2318 * config/tilepro/softdivide.c: Removed.
2319 * config/tilepro/softmpy.S: Removed.
2320 * config/tilepro/t-crtstuff: Removed.
2321 * config/tilepro/t-tilepro: Removed.
2322
2323 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
2324
2325 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
2326 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
2327
2328 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
2329
2330 PR libgcc/27576
2331 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
2332
2333 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
2334
2335 PR libgcc/105708
2336 * config/aarch64/lse-init.c: Increase constructor priority.
2337
2338 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2339
2340 PR target/104689
2341 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2342 Handle the !REG_UNSAVED case.
2343 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
2344
2345 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
2346
2347 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
2348 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
2349 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
2350
2351 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
2352
2353 * config.host: Add t-dfprules to AArch64 targets.
2354
2355 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
2356
2357 * configure: Regenerate.
2358
2359 2022-05-13 Sebastian Pop <spop@amazon.com>
2360
2361 PR target/105162
2362 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
2363 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
2364
2365 2022-05-10 Martin Liska <mliska@suse.cz>
2366 Hans-Peter Helfert <peter-helfert@t-online.de>
2367
2368 PR gcov-profile/105535
2369 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
2370 n_functions.
2371
2372 2022-05-02 Martin Liska <mliska@suse.cz>
2373
2374 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
2375
2376 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2377
2378 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
2379 (gcov_profile_merge_stream): Likewise.
2380
2381 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2382
2383 * libgcov-util.c (consume_stream): New.
2384 (get_target_profiles_for_merge): Likewise.
2385 (gcov_profile_merge_stream): Likewise.
2386
2387 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2388
2389 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
2390
2391 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2392
2393 * libgcov-util.c (read_gcda_file): Do not open file.
2394 (ftw_read_file): Open file here.
2395
2396 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2397
2398 * libgcov-util.c (read_gcda_file): Prepend new info object to global
2399 list.
2400 (ftw_read_file): Remove list append here.
2401
2402 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2403
2404 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
2405 (ftw_read_file): Duplicate filename for read_gcda_file().
2406
2407 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2408
2409 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
2410 (__gcov_filename_to_gcfn): Declare and document.
2411 * libgcov-driver.c (dump_string): New.
2412 (__gcov_filename_to_gcfn): Likewise.
2413 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
2414
2415 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2416
2417 * libgcov.h (gcov_seek): Remove define and declaration.
2418
2419 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2420
2421 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
2422 parameter. Pass mode to gcov_open() calls.
2423 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
2424 gcov_exit_open_gcda_file() call.
2425 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
2426 calls.
2427 (__gcov_dump_one): Open file for reading and writing.
2428
2429 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2430
2431 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
2432 reading and writing.
2433 * libgcov-util.c (read_gcda_file): Open file for reading.
2434 * libgcov.h (gcov_open): Delete declaration.
2435
2436 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2437
2438 * libgcov-util.c (gcov_profile_merge): Return the list of merged
2439 profiles. Accept empty target and source profile lists.
2440
2441 2022-04-08 Sergei Trofimovich <siarheit@google.com>
2442
2443 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
2444
2445 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
2446 Lulu Cheng <chenglulu@loongson.cn>
2447
2448 * configure: Regenerate file.
2449
2450 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
2451 Lulu Cheng <chenglulu@loongson.cn>
2452
2453 * config/loongarch/crtfastmath.c: New file.
2454 * config/loongarch/linux-unwind.h: Like wise.
2455 * config/loongarch/sfp-machine.h: Like wise.
2456 * config/loongarch/t-crtstuff: Like wise.
2457 * config/loongarch/t-loongarch: Like wise.
2458 * config/loongarch/t-loongarch64: Like wise.
2459 * config/loongarch/t-softfp-tf: Like wise.
2460 * config.host: Add LoongArch tuples.
2461 * configure.ac: Add LoongArch support.
2462
2463 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
2464
2465 PR libgcc/86224
2466 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
2467 for __mulsi3.
2468 (__udivsi3_internal, __divsi3_internal): Similarly.
2469 (__umodsi3, __modsi3): Use the internal function names.
2470
2471 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
2472
2473 PR target/102215
2474 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
2475 a line up to non-arg-dependent value first.
2476 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
2477 __atomic_compare_exchange_{1,2}.
2478
2479 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
2480
2481 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
2482 * config/t-darwin-ehs: Add dependency on unwind.h.
2483
2484 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
2485
2486 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
2487 with 0 instead of NULL.
2488
2489 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2490
2491 PR target/104656
2492 * configure.ac: --disable-gcov if targetting bpf-*.
2493 * configure: Regenerate.
2494
2495 2022-01-25 Florian Weimer <fweimer@redhat.com>
2496
2497 PR libgcc/104207
2498 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
2499
2500 2022-01-17 Martin Liska <mliska@suse.cz>
2501
2502 * libgcov-driver.c: Rename .c names to .cc.
2503
2504 2022-01-15 David <gccbugzilla@limegreensocks.com>
2505
2506 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
2507 Remove inlined version, Windows 95 is no longer relevant.
2508 * config/i386/gthr-win32.h
2509 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
2510
2511 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
2512
2513 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
2514 DWARF_ALT_FRAME_RETURN_COLUMN macro.
2515
2516 2022-01-04 Florian Weimer <fweimer@redhat.com>
2517
2518 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
2519 if available.
2520
2521 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
2522
2523 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
2524 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
2525 return is not equal _ASM_EFAULT.
2526 (__kernel_cmpxchg2): Likewise.
2527
2528 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
2529
2530 * config.host: Add shim declaration header to powerpc*-darwin builds.
2531 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
2532 file.
2533 * config/t-darwin-ehs: Add dependencies to the shared unwinder
2534 objects.
2535 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
2536 the shared EH lib. Add all-multi to the dependencies for the
2537 libgcc_s.1.dylib redirections.
2538
2539 2021-12-13 Olivier Hainque <hainque@adacore.com>
2540
2541 * config.host (powerpc*-*-vxworks7*): Remove
2542 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
2543
2544 2021-12-13 Olivier Hainque <hainque@adacore.com>
2545
2546 * config.host (*vxworks*): Remove special case for
2547 arm on the use of vxcrtstuff.
2548
2549 2021-12-13 Fred Konrad <konrad@adacore.com>
2550 Olivier Hainque <hainque@adacore.com>
2551
2552 * config/t-vxcrtstuffS: New Makefile fragment.
2553 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
2554 functions for INITFINI_ARRAY support in shared libs and guard
2555 the definition of eh table registration functions on conditions
2556 indicating they are needed.
2557
2558 2021-12-13 Olivier Hainque <hainque@adacore.com>
2559
2560 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
2561 ahead of the other files in tmake_files.
2562 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
2563 overriding it.
2564
2565 2021-12-13 Olivier Hainque <hainque@adacore.com>
2566
2567 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
2568 both VxWorks7 and earlier.
2569 * config/t-vxworks7: Remove.
2570 * config.host: Remove special case for vxworks7.
2571
2572 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2573
2574 * config/vxcrtstuff.c: Make constructor and destructor
2575 functions static when possible.
2576
2577 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2578
2579 * config/vxcrtstuff.c: Remove constructor/destructor
2580 declarations.
2581
2582 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
2583
2584 * config/t-darwin: Add libgcc_tm.h to the dependencies
2585 for darwin10-unwind-find-enc-func.
2586
2587 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2588
2589 * config/rs6000/t-vxworks: New file.
2590 * config.host (powerpc*-*-vxworks*): Use it instead of
2591 t-ppccomm.
2592
2593 2021-12-09 Fred Konrad <konrad@adacore.com>
2594
2595 * config.host (powerpc*-wrs-vxworks7*): Fix path to
2596 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
2597
2598 2021-12-09 Olivier Hainque <hainque@adacore.com>
2599 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2600
2601 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
2602 $(LIBGCC2_INCLUDES).
2603 * config/t-vxworks7: Likewise.
2604
2605 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
2606
2607 * config.host (*-*-darwin*): Add logic to build a shared
2608 unwinder library for Darwin8-10.
2609 * config/i386/t-darwin: Build legacy libgcc_s.1.
2610 * config/rs6000/t-darwin: Likewise.
2611 * config/t-darwin: Reorganise the EH fragments to place
2612 them for inclusion in a shared EH lib.
2613 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
2614 the supporting pieces (all FAT libs).
2615 * config/t-darwin-noeh: Removed.
2616 * config/darwin-unwind.ver: New file.
2617 * config/rs6000/t-darwin-ehs: New file.
2618 * config/t-darwin-ehs: New file.
2619
2620 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
2621
2622 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
2623 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
2624 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
2625 HIDDEN_DEF.
2626
2627 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2628
2629 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
2630 ssize_t and vfork after including auto-host.h.
2631
2632 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2633
2634 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
2635 crtend.o to extra_parts.
2636
2637 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
2638
2639 * config/pa/t-dimode (lib2difuncs): Fix typo.
2640
2641 2021-11-25 Florian Weimer <fweimer@redhat.com>
2642
2643 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
2644 Remove func, ret.
2645 (find_fde_tail): New function. Split from
2646 _Unwind_IteratePhdrCallback. Move the result initialization
2647 from _Unwind_Find_FDE.
2648 (_Unwind_Find_FDE): Updated to call find_fde_tail.
2649
2650 2021-11-22 Florian Weimer <fweimer@redhat.com>
2651
2652 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
2653 (struct unw_eh_callback_data): Make dbase member conditional.
2654 (unw_eh_callback_data_dbase): New function.
2655 (base_from_cb_data): Simplify for the non-dbase case.
2656 (_Unwind_IteratePhdrCallback): Adjust.
2657 (_Unwind_Find_FDE): Likewise.
2658
2659 2021-11-22 Florian Weimer <fweimer@redhat.com>
2660
2661 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
2662 tbase member.
2663 (base_from_cb_data): Adjust.
2664 (_Unwind_IteratePhdrCallback): Likewise.
2665 (_Unwind_Find_FDE): Likewise.
2666
2667 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
2668
2669 * config.host: Add weak emutls crt to the extra_parts.
2670 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
2671 workaround.
2672 * config/libgcc-libsystem.ver: Add exclude list for the system-
2673 provided unwinder.
2674 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
2675 * config/i386/libgcc-darwin.10.4.ver: Removed.
2676 * config/i386/libgcc-darwin.10.5.ver: Removed.
2677 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
2678 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
2679 * config/t-darwin-noeh: New file.
2680
2681 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
2682
2683 * config/t-darwin: Build weak-defined emutls objects.
2684 * emutls.c (__emutls_get_address): Add optional attributes.
2685 (__emutls_register_common): Likewise.
2686 (EMUTLS_ATTR): New.
2687
2688 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
2689
2690 PR libgcc/103044
2691 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
2692 called with a null argument or at the end of the backtrace and return.
2693 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
2694
2695 2021-11-10 Jakub Jelinek <jakub@redhat.com>
2696
2697 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
2698 formatting fix.
2699
2700 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
2701
2702 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
2703 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
2704
2705 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
2706
2707 PR libgomp/96661
2708 * config.host (hppa*64*-*-linux*): Revise tmake_file.
2709 (hppa*64*-*-hpux11*): Likewise.
2710 * config/pa/sfp-exceptions.c: New.
2711 * config/pa/sfp-machine.h: New.
2712 * config/pa/t-dimode: New.
2713 * config/pa/t-softfp-sfdftf: New.
2714
2715 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
2716
2717 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
2718 tmake_file.
2719 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
2720 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
2721 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
2722 * config/pa/t-linux64 (LIB1ASMSRC): New define.
2723 (LIB1ASMFUNCS): Revise.
2724 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
2725
2726 2021-10-22 Stafford Horne <shorne@gmail.com>
2727
2728 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2729 Change to 0.
2730
2731 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
2732
2733 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
2734 outside of get_regs() in order to use it in another function, this
2735 is done twice: for __powerpc64__ and for !__powerpc64__.
2736 (struct trace_arg): New struct.
2737 (struct layout): New struct.
2738 (ppc_backchain_fallback): New function.
2739 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
2740 state and call MD_BACKCHAIN_FALLBACK.
2741
2742 2021-10-13 Martin Liska <mliska@suse.cz>
2743
2744 PR gcov-profile/90364
2745 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
2746 checksums.
2747 (write_one_data): Write also checksum.
2748 * libgcov-util.c (read_gcda_file): Read also checksum field.
2749 * libgcov.h (struct gcov_info): Add new field.
2750
2751 2021-10-08 Ian Lance Taylor <iant@golang.org>
2752
2753 * config/i386/morestack.S: Use .init_array for constructor if
2754 available.
2755 * config/rs6000/morestack.S: Likewise.
2756 * config/s390/morestack.S: Likewise.
2757
2758 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
2759
2760 PR target/101104
2761 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
2762 Use more correct values for native IBM 128-bit.
2763
2764 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
2765
2766 * config/i386/libgcc-darwin.ver: Add Symbols for
2767 __cpu_model, __cpu_indicator_init.
2768
2769 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
2770
2771 * config/i386/sfp-machine.h: Guard Mach-O-specific code
2772 using __APPLE__.
2773
2774 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
2775
2776 * config/t-slibgcc-darwin: Delete unused code.
2777
2778 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
2779
2780 * config/i386/t-darwin: Add in a vers file for X86-specific
2781 symbols.
2782 * config/t-darwin: Add the generic symbol maps here...
2783 * config/t-slibgcc-darwin: ... removing from here.
2784 * config/i386/libgcc-darwin.ver: New file.
2785
2786 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
2787
2788 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
2789 and __mulhc3.
2790
2791 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
2792
2793 * config.host: Use convenience library for Darwin10
2794 unwinder shim.
2795 * config/t-darwin: Build Darwin10 unwinder shim as a
2796 convenience library.
2797
2798 2021-09-13 Andrew Pinski <apinski@marvell.com>
2799
2800 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
2801 * config/m32r/libgcc-glibc.ver: Removed.
2802 * config/m32r/t-linux: Removed.
2803
2804 2021-09-08 liuhongt <hongtao.liu@intel.com>
2805
2806 * config/i386/t-softfp: Compile __{mul,div}hc3 into
2807 libgcc_s.so.1.
2808
2809 2021-09-08 Jakub Jelinek <jakub@redhat.com>
2810 Iain Sandoe <iain@sandoe.co.uk>
2811
2812 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
2813 and export *hf* and *hc* functions at GCC_12.0.0.
2814
2815 2021-09-06 liuhongt <hongtao.liu@intel.com>
2816
2817 * Makefile.in: Adjust to support specific CFLAGS for each
2818 libgcc source file.
2819 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
2820 related libgcc source files.
2821 * config/i386/t-softfp: Ditto.
2822 * config/i386/_divhc3.c: New file.
2823 * config/i386/_mulhc3.c: New file.
2824
2825 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
2826
2827 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
2828 alias_DFtype, alias_TFtype): New.
2829 (ALIAS_SELECTOR): New.
2830 (strong_alias): Use __typeof and a _Generic selector to
2831 provide the type to the synthesized function.
2832
2833 2021-09-02 liuhongt <hongtao.liu@intel.com>
2834
2835 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
2836 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
2837 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
2838 * config/i386/t-softfp: Add hf soft-fp.
2839 * config.host: Add i386/64/t-softfp.
2840 * config/i386/64/t-softfp: New file.
2841
2842 2021-09-02 liuhongt <hongtao.liu@intel.com>
2843
2844 * soft-fp/eqhf2.c: New file.
2845 * soft-fp/extendhfdf2.c: New file.
2846 * soft-fp/extendhfsf2.c: New file.
2847 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
2848 * soft-fp/truncdfhf2.c: New file
2849 * soft-fp/truncsfhf2.c: New file
2850
2851 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
2852
2853 * unwind-arm-common.inc (abort): Remove.
2854
2855 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
2856
2857 * config/aarch64/value-unwind.h: Add missing runtime exception
2858 paragraph.
2859 * config/frv/frv-abi.h: Likewise.
2860 * config/i386/value-unwind.h: Likewise.
2861 * config/pa/pa64-hpux-lib.h: Likewise.
2862
2863 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
2864
2865 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
2866 __gcc_qadd.
2867 (__gcc_qadd): Call ldouble_qadd_internal.
2868 (__gcc_qsub): Call ldouble_qadd_internal with second long double
2869 argument negated.
2870
2871 2021-08-26 Jonathan Yong <10walls@gmail.com>
2872
2873 * config/i386/cygming-crtend.c: Fix register_frame_ctor
2874 and register_frame_dtor warnings.
2875
2876 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
2877
2878 PR target/102035
2879 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
2880 Add vlldm erratum work-around.
2881
2882 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
2883
2884 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
2885
2886 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
2887
2888 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
2889 (gcov_type_unsigned): Likewise.
2890
2891 2021-08-14 Stafford Horne <shorne@gmail.com>
2892
2893 PR target/99783
2894 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
2895 * config/or1k/t-crtstuff: New file.
2896
2897 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2898
2899 * libgcov-driver.c (#include <stdint.h>): Remove.
2900 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
2901
2902 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2903
2904 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
2905 * gcov.h (gcov_info): Declare.
2906 (__gcov_info_to_gdca): Likewise.
2907 * libgcov.h (gcov_write_counter): Remove.
2908 (gcov_write_tag_length): Likewise.
2909 * libgcov-driver.c (#include <stdint.h>): New.
2910 (#include <string.h>): Remove.
2911 (NEED_L_GCOV): Conditionally define.
2912 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
2913 (are_all_counters_zero): New.
2914 (gcov_dump_handler): Likewise.
2915 (gcov_allocate_handler): Likewise.
2916 (dump_unsigned): Likewise.
2917 (dump_counter): Likewise.
2918 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
2919 Use dump_unsigned() and dump_counter().
2920 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
2921 dump_unsigned(), dump_counter(), and are_all_counters_zero().
2922 (__gcov_info_to_gcda): New.
2923
2924 2021-08-05 Jakub Jelinek <jakub@redhat.com>
2925
2926 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
2927 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
2928 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
2929 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
2930
2931 2021-08-04 Jakub Jelinek <jakub@redhat.com>
2932
2933 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
2934
2935 2021-07-15 Alan Modra <amodra@gmail.com>
2936
2937 * config/rs6000/morestack.S (R2_SAVE): Define.
2938 (__morestack): Save and restore r2. Set up r2 for called
2939 functions.
2940
2941 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
2942
2943 * soft-fp/extendhfxf2.c: New file.
2944 * soft-fp/truncxfhf2.c: Likewise.
2945
2946 2021-06-29 Julian Brown <julian@codesourcery.com>
2947
2948 * config/gcn/lib2-bswapti2.c: New file.
2949 * config/gcn/lib2-divmod-di.c: New file.
2950 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
2951 typedefs.
2952 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
2953 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
2954 lib2-bswapti2.c.
2955
2956 2021-06-29 Julian Brown <julian@codesourcery.com>
2957
2958 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
2959 return types to USItype.
2960 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
2961
2962 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
2963
2964 * configure: Regenerate.
2965 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
2966 typos among the name, CFLAGS and the test.
2967 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
2968 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
2969 Remove.
2970 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
2971 macro FLOAT128_HW_INSNS_ISA3_1.
2972 (FP128_3_1_CFLAGS_HW): Fix option typo.
2973 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
2974 FLOAT128_HW_INSNS_ISA3_1.
2975 (__floattikf_resolve): Likewise.
2976 (__floatuntikf_resolve): Likewise.
2977 (__fixkfti_resolve): Likewise.
2978 (__fixunskfti_resolve): Likewise.
2979 (__floattikf): Likewise.
2980 (__floatuntikf): Likewise.
2981 (__fixkfti): Likewise.
2982 (__fixunskfti): Likewise.
2983
2984 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2985
2986 PR target/99939
2987 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
2988 macro.
2989 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
2990 on passing -mcmse option.
2991
2992 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
2993
2994 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
2995 _ARCH_PPC64 .
2996
2997 2021-06-09 Carl Love <cel@us.ibm.com>
2998
2999 * config.host: Add if test and set for
3000 libgcc_cv_powerpc_3_1_float128_hw.
3001 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
3002 Change calls of __fixkfti to __fixkfti_sw.
3003 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
3004 Change calls of __fixunskfti to __fixunskfti_sw.
3005 * config/rs6000/float128-p10.c (__floattikf_hw,
3006 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
3007 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
3008 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
3009 __fixunskfti_resolve): Add resolve functions.
3010 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
3011 * config/rs6000/float128-sed (floattitf, __floatuntitf,
3012 __fixtfti, __fixunstfti): Add editor commands to change names.
3013 * config/rs6000/float128-sed-hw (__floattitf,
3014 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
3015 change names.
3016 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
3017 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
3018 * config/rs6000/quad-float128.h (__floattikf_sw,
3019 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
3020 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
3021 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
3022 * config/rs6000/t-float128 (floattikf, floatuntikf,
3023 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
3024 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
3025 file names to fp128_ppc_funcs.
3026 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
3027 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
3028 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
3029 * config/rs6000/t-float128-p10-hw: New file.
3030 * configure: Update script for isa 3.1 128-bit float support.
3031 * configure.ac: Add check for 128-bit float hardware support.
3032 * config/rs6000/fixkfti-sw.c: New file.
3033 * config/rs6000/fixunskfti-sw.c: New file.
3034 * config/rs6000/floattikf-sw.c: New file.
3035 * config/rs6000/floatuntikf-sw.c: New file.
3036
3037 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
3038
3039 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
3040
3041 2021-05-13 Martin Liska <mliska@suse.cz>
3042
3043 * libgcov-driver.c: Fix GNU coding style.
3044
3045 2021-05-10 Martin Liska <mliska@suse.cz>
3046
3047 * libgcov-driver.c (gcov_version): Use different name that does
3048 not clash with newly introduced macro.
3049
3050 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
3051
3052 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
3053 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
3054 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
3055
3056 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3057
3058 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
3059 Define.
3060 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
3061 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
3062 Define.
3063 (__divkc3): Improve complex divide.
3064
3065 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
3066
3067 PR target/98952
3068 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
3069 trampoline size comparison in 32-bit by reversing test and
3070 combining load immediate with compare.
3071 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
3072 in 32-bit by reversing test and combining load immediate with
3073 compare.
3074
3075 2021-04-05 Florian Weimer <fweimer@redhat.com>
3076 Michael Meissner <meissner@linux.ibm.com>
3077
3078 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
3079 point functions for $(decimal_float) only.
3080
3081 2021-04-03 Jakub Jelinek <jakub@redhat.com>
3082
3083 PR target/97653
3084 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
3085 $(objext) instead of $(object). Use _floatunditf instead of
3086 _floatunsditf. Add tf <-> ti conversion objects.
3087 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
3088
3089 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
3090
3091 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
3092 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
3093 (fp128_decstr_objs): Delete.
3094 * dfp-bit.h: Call __sprintfieee128 to do conversions from
3095 _Float128 to a Decimal type. Call __strtoieee128 to do
3096 conversions from a Decimal type to _Float128.
3097 * config/rs6000/_sprintfkf.c: Delete file.
3098 * config/rs6000/_sprintfkf.h: Delete file.
3099 * config/rs6000/_strtokf.c: Delete file.
3100 * config/rs6000/_strtokf.h: Delete file.
3101
3102 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
3103
3104 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
3105 to __BYTE_ORDER__.
3106
3107 2021-03-06 Jakub Jelinek <jakub@redhat.com>
3108
3109 PR gcov-profile/99406
3110 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
3111 defined, define these macros if not defined already.
3112
3113 2021-03-04 Martin Liska <mliska@suse.cz>
3114
3115 PR gcov-profile/99105
3116 * libgcov-driver.c (write_top_counters): Rename to ...
3117 (write_topn_counters): ... this.
3118 (write_one_data): Pre-allocate buffer for number of items
3119 in the corresponding linked lists.
3120 * libgcov.h (malloc_mmap): New function.
3121 (allocate_gcov_kvp): Use it.
3122
3123 2021-03-04 Martin Liska <mliska@suse.cz>
3124
3125 PR gcov-profile/99385
3126 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
3127
3128 2021-03-03 Martin Liska <mliska@suse.cz>
3129
3130 PR gcov-profile/97461
3131 * config.in: Regenerate.
3132 * configure: Likewise.
3133 * configure.ac: Check sys/mman.h header file
3134 * libgcov-driver.c (struct gcov_kvp): Remove static
3135 pre-allocated pool and use a dynamic one.
3136 * libgcov.h (MMAP_CHUNK_SIZE): New.
3137 (gcov_counter_add): Use mmap to allocate pool for struct
3138 gcov_kvp.
3139
3140 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
3141
3142 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
3143 the function.
3144 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
3145
3146 2021-02-24 Jakub Jelinek <jakub@redhat.com>
3147
3148 PR libgcc/99236
3149 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
3150 negation of m in unsigned type.
3151
3152 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
3153 Hau Hsu <hsuhau617@gmail.com>
3154
3155 PR target/99157
3156 * config/arm/t-arm: Fix cmse support detection.
3157
3158 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
3159
3160 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
3161
3162 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
3163
3164 * config/rs6000/_dd_to_kf.c: New file.
3165 * config/rs6000/_kf_to_dd.c: New file.
3166 * config/rs6000/_kf_to_sd.c: New file.
3167 * config/rs6000/_kf_to_td.c: New file.
3168 * config/rs6000/_sd_to_kf.c: New file.
3169 * config/rs6000/_sprintfkf.c: New file.
3170 * config/rs6000/_sprintfkf.h: New file.
3171 * config/rs6000/_strtokf.h: New file.
3172 * config/rs6000/_strtokf.c: New file.
3173 * config/rs6000/_td_to_kf.c: New file.
3174 * config/rs6000/quad-float128.h: Add new declarations.
3175 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
3176 (fp128_decstr_funcs): New macro.
3177 (ibm128_dec_funcs): New macro.
3178 (fp128_ppc_funcs): Add the new conversions.
3179 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
3180 compiled with -mabi=ieeelongdouble.
3181 (fp128_decstr_objs): Force __float128 <-> string conversions to be
3182 compiled with -mabi=ibmlongdouble.
3183 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
3184 compiled with -mabi=ieeelongdouble.
3185 (FP128_CFLAGS_DECIMAL): New macro.
3186 (IBM128_CFLAGS_DECIMAL): New macro.
3187 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
3188 (BFP_TO_DFP): Add PowerPC _Float128 support.
3189 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
3190 IEEE 128-bit floating point.
3191 (DFP_TO_BFP): Add PowerPC _Float128 support.
3192 (BFP_TO_DFP): Add PowerPC _Float128 support.
3193 (BFP_SPRINTF): New macro.
3194
3195 2021-01-27 Jakub Jelinek <jakub@redhat.com>
3196
3197 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
3198 * config/i386/savms64f.h: Likewise.
3199 * config/i386/resms64.h: Likewise.
3200 * config/i386/resms64f.h: Likewise.
3201 * config/i386/resms64x.h: Likewise.
3202 * config/i386/resms64fx.h: Likewise.
3203
3204 2021-01-26 Martin Liska <mliska@suse.cz>
3205
3206 PR gcov-profile/98739
3207 * libgcov.h (gcov_topn_add_value): Do not train when
3208 we have a merged profile with a negative number of total
3209 value.
3210
3211 2021-01-25 Martin Liska <mliska@suse.cz>
3212
3213 PR gcov-profile/98739
3214 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
3215 ends with a dropped counter.
3216 * libgcov.h (gcov_topn_add_value): Add return value.
3217
3218 2021-01-13 Stafford Horne <shorne@gmail.com>
3219
3220 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
3221 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
3222 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
3223 FP_EX_ALL): New constant macros.
3224 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
3225 FP_HANDLE_EXCEPTIONS): New macros.
3226 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
3227
3228 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
3229
3230 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
3231 posix siginfo case to struct handler_args. Detect between legacy
3232 and siginfo from the second parameter, which is a small sigcode in
3233 the legacy case, and a pointer in the siginfo case.
3234
3235 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
3236
3237 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
3238 functions.
3239 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
3240 _bswapdi2.
3241
3242 2020-12-08 Ian Lance Taylor <iant@golang.org>
3243
3244 * generic-morestack-thread.c (free_segments): Block signals during
3245 thread exit.
3246
3247 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
3248
3249 PR libgcc/97543
3250 PR libgcc/97643
3251 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
3252 (IBM128_SHARED_OBJS): New make variable.
3253 (IBM128_OBJS): New make variable. Set all objects to use the
3254 explicit IBM format, and disable gnu attributes.
3255 (IBM128_CFLAGS): New make variable.
3256 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
3257 modules.
3258
3259 2020-12-03 Alexandre Oliva <oliva@adacore.com>
3260
3261 * config/t-vxworks (LIB2ADD): Drop.
3262 * config/t-vxworks7 (LIB2ADD): Likewise.
3263 * config/vxcache.c: Remove.
3264
3265 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
3266
3267 * libgcc2.c (bswapsi2): Make constants unsigned.
3268
3269 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
3270
3271 * libgcc2.c (absvSI2): Simplify/improve implementation by using
3272 builtin_add_overflow.
3273 (absvsi2, absvDI2): Likewise.
3274
3275 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
3276
3277 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
3278 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
3279
3280 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3281
3282 * config/msp430/lib2hw_mul.S (mult64_hw): New.
3283 (if MUL_32): Use mult64_hw for __muldi3.
3284 (if MUL_F5): Use mult64_hw for __muldi3.
3285 * config/msp430/lib2mul.c (__muldi3): New.
3286 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
3287
3288 2020-11-17 Alan Modra <amodra@gmail.com>
3289
3290 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
3291 (LIB2_SIDITI_CONV_FUNCS): Define.
3292 * config/rs6000/ppc64-fp.c: Delete file.
3293
3294 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3295
3296 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
3297 hwmult library functions.
3298
3299 2020-11-10 Jeff Law <law@redhat.com>
3300
3301 * libgcc2.c: Fix whitespace issues in most recent change.
3302
3303 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
3304
3305 * libgcc2.c (__addvSI3): Use overflow builtins.
3306 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
3307 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
3308 (__negvsi2, __negvDI2): Likewise.
3309 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
3310 generated code.
3311 * libgcc2.h (__ucmpdi2): Adjust prototype.
3312
3313 2020-11-03 Pat Bernardi <bernardi@adacore.com>
3314 Olivier Hainque <hainque@adacore.com>
3315
3316 * config.host (aarch64-vxworks7*, tmake_file): Add
3317 ${cpu_type}/t-lse and t-slibgcc-libgcc.
3318
3319 2020-11-03 Martin Storsjö <martin@martin.st>
3320
3321 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
3322 before calling the callback.
3323
3324 2020-10-30 Olivier Hainque <hainque@adacore.com>
3325 Douglas Rupp <rupp@adacore.com>
3326 Pat Bernardi <bernardi@adacore.com>
3327
3328 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
3329 to apply to VxWorks 7 as well.
3330
3331 2020-10-29 Olivier Hainque <hainque@adacore.com>
3332
3333 * config/gthr-vxworks-tls.c: Fix preprocessor logic
3334 controlling the definition of VX_ENTER_TLS_DTOR and
3335 VX_LEAVE_TLS_DTOR based on a version major check.
3336
3337 2020-10-29 Olivier Hainque <hainque@adacore.com>
3338
3339 * config/gthr-vxworks-thread.c: Fix name of macro used
3340 to condition the inclusion of an actual implementation.
3341
3342 2020-10-27 Martin Liska <mliska@suse.cz>
3343
3344 PR gcov-profile/97461
3345 * libgcov.h (gcov_counter_add): Use first static counters
3346 as it should help to have malloc wrappers set up.
3347
3348 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3349
3350 * config/gthr-vxworks-thread.c: #include gthr.h before
3351 testing the guard defined there.
3352 * config/gthr-vxworks-cond.c: Likewise.
3353
3354 2020-10-21 Douglas Rupp <rupp@adacore.com>
3355 Olivier Hainque <hainque@adacore.com>
3356
3357 * config.host (powerpc*-wrs-vxworks7*): New case.
3358 * configure.ac: Handle powerpc*-*-vxworks7* as
3359 powerpc*-*-linux* for ppc-fp_type.
3360 * configure: Regenerate.
3361
3362 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3363
3364 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
3365 section on VxWorks >= 6.
3366 * config/gthr-vxworks-thread.c: Condition the entire
3367 implementation on __GTHREAD_CXX0X.
3368
3369 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3370
3371 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
3372 section on VxWorks >= 6.
3373 * config/gthr-vxworks-cond.c: Condition the entire
3374 implementation on __GTHREAD_HAS_COND.
3375
3376 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3377
3378 * config/gthr-vxworks.c: #include <taskLib.h>.
3379
3380 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3381
3382 * config/gthr-vxworks.h: Rewrite remaining occurrence
3383 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
3384
3385 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3386 Olivier Hainque <hainque@adacore.com>
3387
3388 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
3389 except on VxWorks 6.
3390
3391 2020-10-16 Olivier Hainque <hainque@adacore.com>
3392
3393 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
3394
3395 2020-10-14 Alexandre Oliva <oliva@adacore.com>
3396
3397 * config/gthr-vxworks-thread.c: Include stdlib.h.
3398 (tls_delete_hook): Prototype it.
3399 (__gthread_cond_signal): Return early if no waiters. Consume
3400 signal in case the semaphore got full. Use semInfoGet instead
3401 of kernel-mode-only semInfo.
3402 (__gthread_cond_timedwait): Use semExchange. Always take the
3403 mutex again before returning.
3404 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
3405
3406 2020-10-14 Olivier Hainque <hainque@adacore.com>
3407
3408 * config/t-vxworks (LIBGCC2_INCLUDES): Append
3409 $(MULTISUBDIR) to the -I path for fixed headers, as we
3410 arrange to have different sets of such headers for different
3411 multilibs when they are activated.
3412 * config/t-vxworks7: Likewise.
3413
3414 2020-10-14 Olivier Hainque <hainque@adacore.com>
3415
3416 * config/t-vxworks: Add include-fixed to include search
3417 paths for libgcc on VxWorks.
3418 * config/t-vxworks7: Likewise.
3419
3420 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
3421
3422 PR target/97148
3423 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
3424 instead of <cetintrin.h>.
3425
3426 2020-10-01 Alan Modra <amodra@gmail.com>
3427
3428 * config/rs6000/morestack.S,
3429 * config/rs6000/tramp.S: Support __PCREL__ code.
3430
3431 2020-10-01 Alan Modra <amodra@gmail.com>
3432
3433 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
3434
3435 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
3436
3437 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
3438 variable.
3439
3440 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
3441
3442 * config/aarch64/libgcc-softfp.ver: New file.
3443 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
3444
3445 2020-09-27 Clement Chigot <clement.chigot@atos.net>
3446
3447 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
3448
3449 2020-09-22 Sergei Trofimovich <siarheit@google.com>
3450
3451 PR gcov-profile/96913
3452 * libgcov-driver.c (write_one_data): Avoid function pointer
3453 comparison in TOP streaming decision.
3454
3455 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
3456 Christophe Lyon <christophe.lyon@linaro.org>
3457
3458 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
3459 qualifier.
3460 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
3461 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
3462 missing prototypes.
3463
3464 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
3465
3466 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
3467 unused variable warning.
3468
3469 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
3470
3471 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
3472
3473 2020-09-09 Tom de Vries <tdevries@suse.de>
3474
3475 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
3476 Wbuiltin-declaration-mismatch.
3477
3478 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3479
3480 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
3481 * config/msp430/srai.S (__gnu_mspabi_srap): New.
3482 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
3483
3484 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
3485
3486 * config/nvptx/atomic.c: New.
3487 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
3488
3489 2020-08-03 Ian Lance Taylor <iant@golang.org>
3490
3491 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
3492
3493 2020-08-03 Jakub Jelinek <jakub@redhat.com>
3494
3495 PR target/96402
3496 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
3497 of x(tmp0), x(tmp1) in STXP arguments.
3498
3499 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
3500
3501 * config/riscv/save-restore.S [__riscv_xlen == 64]
3502 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
3503 (__riscv_save_2): Replace negative immediates used for the final
3504 stack pointer adjustment with positive ones, right-shifted by 4.
3505
3506 2020-07-31 Martin Liska <mliska@suse.cz>
3507
3508 * libgcov-driver.c: Add __gcov_kvp_pool
3509 and __gcov_kvp_pool_index variables.
3510 * libgcov.h (allocate_gcov_kvp): New.
3511 (gcov_topn_add_value): Use it.
3512
3513 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3514
3515 * config/aarch64/lse.S: Add PAC property note.
3516
3517 2020-07-23 Martin Liska <mliska@suse.cz>
3518
3519 PR gcov-profile/96035
3520 * libgcov-driver-system.c: Create gcov folders with 0777
3521 so that it respects a system umask.
3522
3523 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
3524
3525 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
3526
3527 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3528
3529 PR target/94891
3530 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
3531 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
3532 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
3533 (MD_DEMANGLE_RETURN_ADDR): This.
3534 (aarch64_post_extract_frame_addr): Rename to ...
3535 (aarch64_demangle_return_addr): This.
3536 (aarch64_post_frob_eh_handler_addr): Remove.
3537 * unwind-dw2.c (uw_update_context): Demangle return address.
3538 (uw_frob_return_addr): Remove.
3539
3540 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3541
3542 PR target/96001
3543 * config/aarch64/lse.S: Add BTI marking and related definitions,
3544 and add BTI c to function entries.
3545
3546 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3547
3548 * config/aarch64/lse.S: Add stack note.
3549
3550 2020-07-02 Martin Liska <mliska@suse.cz>
3551
3552 PR gcov-profile/95348
3553 * libgcov-driver.c (merge_one_data): Merge only profiles
3554 that are not of non-zero type.
3555 (write_one_data): Write counters only if there's one non-zero
3556 value.
3557 * libgcov-util.c (tag_function): Change signature from unsigned
3558 to int.
3559 (tag_blocks): Likewise.
3560 (tag_arcs): Likewise.
3561 (tag_counters): Likewise.
3562 (tag_summary): Likewise.
3563 (tag_lines): Read only if COUNTERS is non-zero.
3564 (read_gcda_file): Handle negative length for COUNTERS type.
3565
3566 2020-06-25 Martin Liska <mliska@suse.cz>
3567
3568 * libgcov-driver.c (merge_summary): Remove function as its name
3569 is misleading and doing something different.
3570 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
3571 in gcov-tool.
3572 * libgcov-util.c (curr_object_summary): Remove.
3573 (read_gcda_file): Remove unused curr_object_summary.
3574 (gcov_merge): Merge summaries.
3575 * libgcov.h: Add summary argument for gcov_info struct.
3576
3577 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
3578
3579 PR target/95259
3580 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
3581 "common/config/i386/i386-cpuinfo.h" and
3582 "common/config/i386/cpuinfo.h".
3583 (__cpu_features2): Changed to array.
3584 (get_amd_cpu): Removed.
3585 (get_intel_cpu): Likewise.
3586 (get_available_features): Likewise.
3587 (__cpu_indicator_init): Call cpu_indicator_init.
3588 * config/i386/cpuinfo.h: Removed.
3589
3590 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
3591
3592 * Makefile.in: Remove uses of empty.mk. Use -include.
3593 * config/avr/t-avr: Use -include.
3594 * empty.mk: Delete.
3595
3596 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
3597
3598 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
3599 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
3600 and 64 bit with -maix64.
3601 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
3602 Build and install AIX-style FAT libraries.
3603
3604 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
3605
3606 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
3607 'i386/gnu-unwind.h'
3608 * config/i386/gnu-unwind.h: New file.
3609
3610 2020-06-17 Martin Liska <mliska@suse.cz>
3611
3612 * libgcov-util.c (read_gcda_finalize): Remove const operator.
3613 (merge_wrapper): Add both counts and use them properly.
3614 (topn_to_memory_representation): New function.
3615 (gcov_merge): Covert on disk representation to in memory
3616 representation.
3617 * libgcov.h: Remove const operator.
3618
3619 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
3620
3621 * configure: Regenerate.
3622 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
3623 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
3624
3625 2020-06-09 Martin Liska <mliska@suse.cz>
3626
3627 PR gcov-profile/95494
3628 * libgcov-driver.c (write_top_counters): Cast first to
3629 intptr_t as sizeof(*) != sizeof(gcov_type).
3630 * libgcov.h (gcov_counter_set_if_null): Remove.
3631 (gcov_topn_add_value): Cast first to intptr_t and update
3632 linked list directly.
3633
3634 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
3635
3636 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
3637 with uw_install_context_1.
3638
3639 2020-06-04 Andreas Schwab <schwab@suse.de>
3640
3641 PR target/59230
3642 PR libfortran/59227
3643 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
3644 soft-fp/divtf3.c.
3645 (LIB2ADD): Add config/ia64/divtf3.c.
3646 * config/ia64/divtf3.c: New file.
3647
3648 2020-06-03 Martin Liska <mliska@suse.cz>
3649
3650 PR gcov-profile/95480
3651 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
3652 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
3653 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
3654 (gcov_counter_set_if_null): Likewise.
3655
3656 2020-06-02 Jim Wilson <jimw@sifive.com>
3657
3658 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
3659 to bgtz.
3660
3661 2020-06-02 Martin Liska <mliska@suse.cz>
3662
3663 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
3664 of xmalloc.
3665
3666 2020-06-02 Martin Liska <mliska@suse.cz>
3667
3668 * libgcov-driver.c (prune_topn_counter): Remove.
3669 (prune_counters): Likewise.
3670 (merge_one_data): Special case TOP N counters
3671 as they have variable length.
3672 (write_top_counters): New.
3673 (write_one_data): Special case TOP N.
3674 (dump_one_gcov): Do not prune TOP N counters.
3675 * libgcov-merge.c (merge_topn_values_set): Remove.
3676 (__gcov_merge_topn): Use gcov_topn_add_value.
3677 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3678 Likewise here.
3679 * libgcov.h (gcov_counter_add): New.
3680 (gcov_counter_set_if_null): Likewise.
3681 (gcov_topn_add_value): New.
3682
3683 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
3684
3685 * config/i386/sfp-exceptions.c (struct fenv):
3686 Add __attribute__ ((gcc_struct)).
3687
3688 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
3689
3690 PR bootstrap/95413
3691 * configure: Regenerated.
3692
3693 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
3694
3695 PR gcov-profile/95332
3696 * libgcov-util.c (read_gcda_file): Call gcov_magic.
3697 * libgcov.h (gcov_magic): Disable GCC poison.
3698
3699 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
3700
3701 PR target/95212
3702 * config/i386/cpuinfo.h (processor_features): Move
3703 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
3704
3705 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
3706
3707 PR target/91695
3708 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
3709 check.
3710
3711 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
3712
3713 PR target/95212
3714 PR target/95220
3715 * config/i386/cpuinfo.c (get_available_features): Fix
3716 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
3717 * config/i386/cpuinfo.h (processor_features): Add
3718 FEATURE_AVX512VP2INTERSECT.
3719
3720 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
3721
3722 PR bootstrap/95147
3723 * configure: Regenerated.
3724
3725 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
3726
3727 * configure: Regenerated.
3728
3729 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
3730
3731 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
3732 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
3733
3734 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
3735
3736 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
3737 (__math_force_eval_div): New define.
3738 (__sfp_handle_exceptions): Use __math_force_eval_div to use
3739 generic division to generate INVALID, DIVZERO and INEXACT
3740 exceptions.
3741
3742 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3743
3744 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
3745 instead of getauxval.
3746 (AT_HWCAP): Define.
3747 (HWCAP_ATOMICS): Define.
3748 Guard detection on __gnu_linux__.
3749
3750 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
3751
3752 * config.host: Delete changes meant for a private branch.
3753 * config/rs6000/t-float128: Likewise.
3754 * configure.ac: Likewise.
3755 * configure: Likewise.
3756
3757 2020-05-05 Martin Liska <mliska@suse.cz>
3758
3759 PR gcov-profile/93623
3760 * Makefile.in: Remove __gcov_flush.
3761 * gcov.h (__gcov_flush): Remove.
3762 * libgcov-interface.c (__gcov_flush): Remove.
3763 (init_mx): Use renamed mutex.
3764 (__gcov_lock): Likewise.
3765 (__gcov_unlock): Likewise.
3766 (__gcov_fork): Likewise.
3767 (__gcov_flush): Remove.
3768
3769 2020-05-05 Martin Liska <mliska@suse.cz>
3770
3771 PR gcov-profile/93623
3772 * libgcov-interface.c (__gcov_fork): Do not flush
3773 and reset only in child process.
3774 (__gcov_execl): Dump counters only and reset them
3775 only if exec* fails.
3776 (__gcov_execlp): Likewise.
3777 (__gcov_execle): Likewise.
3778 (__gcov_execv): Likewise.
3779 (__gcov_execvp): Likewise.
3780 (__gcov_execve): Likewise.
3781
3782 2020-05-05 Martin Liska <mliska@suse.cz>
3783
3784 PR gcov-profile/93623
3785 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
3786 * libgcov-interface.c (ALIAS_void_fn): Remove.
3787 (__gcov_lock): New.
3788 (__gcov_unlock): New.
3789 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
3790 (__gcov_reset): Likewise.
3791 (__gcov_dump): Likewise.
3792 * libgcov.h (__gcov_lock): New declaration.
3793 (__gcov_unlock): Likewise.
3794
3795 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
3796
3797 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
3798 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
3799 generic division to generate INVALID and DIVZERO exceptions.
3800
3801 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
3802
3803 * config/rs6000/crtresfpr.S: Use .machine ppc.
3804 * config/rs6000/crtresxfpr.S: Likewise.
3805 * config/rs6000/crtsavfpr.S: Likewise.
3806
3807 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3808
3809 PR target/94514
3810 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
3811 Update context->flags accroding to the frame state.
3812
3813 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
3814
3815 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
3816 Remove unneeded assignments to volatile memory.
3817
3818 2020-04-15 Jakub Jelinek <jakub@redhat.com>
3819
3820 PR target/93053
3821 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
3822 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
3823 is not defined, use just .arch armv8-a.
3824 (B, M, N, OPN): Define.
3825 (COMMENT): New .macro.
3826 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
3827 defined. Otherwise, move the operands right after the glue? and
3828 comment out operands where the macros are used.
3829 * configure: Regenerated.
3830 * config.in: Regenerated.
3831
3832 2020-04-07 Ian Lance Taylor <iant@golang.org>
3833
3834 PR libgcc/94513
3835 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
3836 syscall instead.
3837
3838 2020-04-04 Ian Lance Taylor <iant@golang.org>
3839
3840 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
3841
3842 2020-04-03 Ian Lance Taylor <iant@golang.org>
3843
3844 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
3845 than mmap/munmap, to avoid hooks.
3846
3847 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
3848
3849 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
3850 (TPFRA_OFFSET): Macros removed.
3851 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
3852 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
3853 (PG3_SKIPPING_OFFSET): New macros.
3854 (__isPATrange): Use cinfc_fast for the check.
3855 (__isSkipResetAddr): New function.
3856 (s390_fallback_frame_state): Check for skip trace addresses. Use
3857 either ICST_CRET or ICST_SRET to calculate return address
3858 location.
3859 (__tpf_eh_return): Handle skip trace addresses.
3860
3861 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
3862
3863 PR target/94220
3864 * config/arm/lib1funcs.asm (COND): Use a single definition for
3865 unified syntax.
3866 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
3867 (aeabi_idivmod): Likewise.
3868 (divsi3_skip_div0_test): Likewise.
3869
3870 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
3871
3872 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
3873
3874 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
3875
3876 * config.host: Include the new makefile fragment.
3877 * config/s390/t-tpf: New file.
3878
3879 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
3880
3881 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
3882 syntax.
3883 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
3884 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
3885 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
3886 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
3887 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
3888 syntax.
3889 (divsi3, modsi3): Likewise.
3890 (clzdi2, ctzsi2): Likewise.
3891 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
3892 unified syntax.
3893 (UNWIND_WRAPPER): Likewise.
3894
3895 2020-03-02 Martin Liska <mliska@suse.cz>
3896
3897 * libgcov-interface.c: Remove duplicate
3898 declaration of __gcov_flush_mx.
3899
3900 2020-02-18 Martin Liska <mliska@suse.cz>
3901
3902 PR ipa/92924
3903 * libgcov-merge.c (merge_topn_values_set): Record
3904 when a TOP N counter becomes invalid. When merging
3905 remove a smallest value if the space is needed.
3906
3907 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
3908
3909 PR libstdc++/79193
3910 PR libstdc++/88999
3911
3912 * configure: Regenerated.
3913
3914 2020-02-10 Jeff Law <law@redhat.com>
3915
3916 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
3917 sections.
3918 * config/frv/frvend.c: Similarly.
3919
3920 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
3921
3922 PR libgcc/85334
3923 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3924 New.
3925
3926 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
3927
3928 PR target/93615
3929 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
3930 _Unwind_gnu_Find_got.
3931 * unwind-pe.h: Likewise.
3932
3933 2020-02-07 Jakub Jelinek <jakub@redhat.com>
3934
3935 PR target/93615
3936 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
3937 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
3938 trailing :s in asm. Formatting fixes.
3939 (_Unwind_decode_typeinfo_ptr): Adjust caller.
3940
3941 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
3942
3943 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
3944
3945 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
3946 * config/nios2-elf-lib.h: New.
3947 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
3948 code for finding GOT base for nios2.
3949
3950 2020-01-27 Martin Liska <mliska@suse.cz>
3951
3952 PR gcov-profile/93403
3953 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
3954 Call __gcov_indirect_call_profiler_body.
3955 (__gcov_indirect_call_profiler_body): New.
3956 (__gcov_indirect_call_profiler_v4_atomic): New.
3957 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
3958 New declaration.
3959
3960 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
3961
3962 * config/arc/crti.S: Add RF16 object attribute.
3963 * config/arc/crtn.S: Likewise.
3964 * config/arc/crttls.S: Likewise.
3965 * config/arc/lib1funcs.S: Likewise.
3966 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
3967 * config/arc/lib2funcs.c: New file.
3968 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
3969
3970 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
3971
3972 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
3973 * configure.ac: Handle `--with-toolexeclibdir='.
3974 * configure: Regenerate.
3975
3976 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
3977
3978 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
3979
3980 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
3981
3982 * config/mips/gnustack.h: New file.
3983 * config/mips/crti.S: Include gnustack.h.
3984 * config/mips/crtn.S: Likewise.
3985 * config/mips/mips16.S: Likewise.
3986 * config/mips/vr4120-div.S: Likewise.
3987
3988 2020-01-23 Martin Liska <mliska@suse.cz>
3989
3990 * libgcov-driver.c (prune_topn_counter): Remove
3991 check for -1 as we only prune run-time counters
3992 that do not generate an invalid state.
3993
3994 2020-01-22 Martin Liska <mliska@suse.cz>
3995
3996 PR tree-optimization/92924
3997 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
3998 try to find an existing value, then find an empty slot
3999 if not found.
4000
4001 2020-01-22 Martin Liska <mliska@suse.cz>
4002
4003 PR tree-optimization/92924
4004 * libgcov-driver.c (prune_topn_counter): New.
4005 (prune_counters): Likewise.
4006 (dump_one_gcov): Prune a run-time counter.
4007 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
4008 For a known value, add GCOV_TOPN_VALUES to value.
4009 Otherwise, decrement all counters by one.
4010
4011 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
4012
4013 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
4014
4015 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
4016
4017 PR libgcc/92988
4018 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
4019 DEFAULT_USE_CXA_ATEXIT is true.
4020
4021 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
4022 Thomas Preud'homme <thomas.preudhomme@arm.com>
4023
4024 * config/arm/t-arm: Check return value of gcc rather than lack of
4025 output.
4026
4027 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
4028
4029 * config/avr/lib1funcs.S (skip): Simplify.
4030
4031 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
4032
4033 * config/gcn/atomic.c: Remove include of stdint.h.
4034 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
4035 __UINTPTR_TYPE__.
4036
4037 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
4038
4039 * config/gcn/atomic.c: New.
4040 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
4041
4042 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
4043
4044 Implement 64-bit double functions.
4045
4046 PR target/92055
4047 * config.host (tmake_file) [target=avr]: Add t-libf7,
4048 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
4049 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
4050 depending on sizeof (double) or sizeof (long double).
4051 * config/avr/libf7: New folder.
4052
4053 2020-01-05 Olivier Hainque <hainque@adacore.com>
4054
4055 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
4056 by IN_LIBGCC2.
4057
4058 2020-01-01 Jakub Jelinek <jakub@redhat.com>
4059
4060 Update copyright years.
4061
4062 2019-12-30 Olivier Hainque <hainque@adacore.com>
4063
4064 * config/gthr-vxworks.h: Use _vxworks-versions.h.
4065 * config/gthr-vxworks-tls.c: Likewise.
4066
4067 2019-12-30 Olivier Hainque <hainque@adacore.com>
4068
4069 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
4070 standard zero-initializer syntax.
4071
4072 2019-12-30 Olivier Hainque <hainque@adacore.com>
4073
4074 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
4075 reference to the internal VX_GET_TLS_DATA interface.
4076
4077 2019-12-30 Olivier Hainque <hainque@adacore.com>
4078
4079 * config/vxcrtstuff.c: Fix incorrect spelling of
4080 USE_INITFINI_ARRAY in guard.
4081
4082 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4083
4084 * config.host: s/msp430*-*-elf/msp430-*-elf*.
4085 Override default "extra_parts" variable.
4086 * configure: Regenerate.
4087 * configure.ac: Disable TM clone registry by default for
4088 msp430-elfbare.
4089
4090 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4091
4092 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
4093 "extra_parts".
4094 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
4095
4096 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4097
4098 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
4099 true.
4100
4101 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4102
4103 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
4104 defined instead of its value.
4105
4106 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4107
4108 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
4109 if it will have contents.
4110
4111 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
4112
4113 PR target/92055
4114 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
4115
4116 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
4117
4118 PR libgcc/91737
4119 * config.host: Add t-gthr-noweak on *-*-musl*.
4120 * config/t-gthr-noweak: New file.
4121
4122 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
4123
4124 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
4125 volatile void *. Remove trap check.
4126 (__kernel_cmpxchg2): Likewise.
4127 (FETCH_AND_OP_2): Adjust operand types.
4128 (OP_AND_FETCH_2): Likewise.
4129 (FETCH_AND_OP_WORD): Likewise.
4130 (OP_AND_FETCH_WORD): Likewise.
4131 (COMPARE_AND_SWAP_2): Likewise.
4132 (__sync_val_compare_and_swap_4): Likewise.
4133 (__sync_bool_compare_and_swap_4): Likewise.
4134 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4135 (__sync_lock_test_and_set_4): Likewise.
4136 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
4137 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
4138 for release.
4139 (__sync_lock_release_8): Remove.
4140
4141 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
4142
4143 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
4144 of __sigset_t.
4145
4146 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
4147 Doug Rupp <rupp@adacore.com>
4148 Olivier Hainque <hainque@adacore.com>
4149
4150 * config.host: Collapse the arm-vxworks entries into
4151 a single arm-wrs-vxworks7* one.
4152 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
4153 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
4154 kernel modules, to be overriden by libstdc++ when we link with
4155 it. Rely on externally provided __exidx_start/end.
4156
4157 2019-11-14 Doug Rupp <rupp@adacore.com>
4158 Olivier Hainque <hainque@adacore.com>
4159
4160 * config.host: Handle aarch64*-wrs-vxworks7*.
4161
4162 2019-11-12 Olivier Hainque <hainque@adacore.com>
4163
4164 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
4165 sources except the cxx0x support to LIB2ADDEH. We don't support
4166 cxx0x on AE/653.
4167 * config/t-vxworksae: New file.
4168 * config.host: Handle *-*-vxworksae: Add the two aforementioned
4169 Makefile fragment files at their expected position in the tmake_file
4170 list, in accordance with what is done for other VxWorks variants.
4171
4172 2019-11-12 Corentin Gay <gay@adacore.com>
4173 Jerome Lambourg <lambourg@adacore.com>
4174 Olivier Hainque <hainque@adacore.com>
4175
4176 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
4177 sources to LIB2ADDEH.
4178 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
4179 * config/t-vxworks7: Likewise.
4180
4181 * config.host: Append a block at the end of the file to add the
4182 t-gthr files to the tmake_file list for VxWorks after everything
4183 else.
4184
4185 * config/vxlib.c: Rename as gthr-vxworks.c.
4186 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
4187
4188 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
4189 API and a basic error checking API, both internal. Simplify the
4190 __gthread_once_t type definition and initializers. Add sections
4191 for condition variables support and for the C++0x thread support,
4192 conditioned against Vx653 for the latter.
4193
4194 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
4195 implementation, leveraging the TAS internal API.
4196 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
4197 API, leveraging the general availability of TLS services in VxWorks7
4198 post SR6xxx.
4199 (__gthread_setspecific, __gthread_setspecific): Use it.
4200 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
4201 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
4202 support based on VxWorks primitives.
4203 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
4204 based on VxWorks primitives.
4205
4206 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
4207 Olivier Hainque <hainque@adacore.com>
4208
4209 * config/vxcrtstuff.c: New file.
4210 * config/t-vxcrtstuff: New Makefile fragment.
4211 * config.host: Append t-vxcrtstuff to the tmake_file list
4212 on all VxWorks ports using dwarf for table based EH.
4213
4214 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
4215
4216 Support 64-bit double and 64-bit long double configurations.
4217
4218 PR target/92055
4219 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
4220 long double is a 32-bit type.
4221 * config/avr/t-avrlibc: Copy double64 and long-double64
4222 multilib(s) from the vanilla one.
4223 * config/avr/t-copy-libgcc: New Makefile snip.
4224
4225 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4226
4227 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
4228 the target output object format is not ELF.
4229 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
4230
4231 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
4232
4233 PR libgcc/78804
4234 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
4235 * fp-bit.c (pack_d, unpack_d): Remove special cases for
4236 FLOAT_BIT_ORDER_MISMATCH.
4237 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
4238
4239 2019-11-01 Jim Wilson <jimw@sifive.com>
4240
4241 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
4242
4243 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4244
4245 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
4246 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
4247 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
4248 Define symbols for 32-bit and f5series hardware multiply
4249 register addresses.
4250 Replace hard-coded register addresses with symbols.
4251 Fix "_mspabi*" typo.
4252 Fix whitespace.
4253 * config/msp430/lib2mul.c: Add comment.
4254
4255 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
4256
4257 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
4258 unsigned int. Adjust callers.
4259 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
4260 unsigned int *. Load relocation offset before function pointer.
4261 Add barrier to ensure ordering.
4262
4263 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
4264
4265 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
4266 Load PIC register after branch target. Fix white space.
4267 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
4268 implementations. Load PIC register after branch target. Don't
4269 clobber function pointer when it points to function descriptor.
4270 Use nullification instead of branch in LINUX implementation.
4271
4272 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
4273
4274 * config/pa/fptr.c: Disable -Warray-bounds warning.
4275
4276 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
4277
4278 * config.in, configure: Re-rebuild with stock autoconf 2.69,
4279 not the ubuntu modified 2.69.
4280
4281 PR target/91833
4282 * config/aarch64/lse-init.c: Include auto-target.h. Disable
4283 initialization if !HAVE_SYS_AUXV_H.
4284 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
4285 * config.in, configure: Rebuild.
4286
4287 PR target/91834
4288 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
4289 overlap the inputs.
4290
4291 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
4292
4293 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
4294 CTR_EL0.IDC and CTR_EL0.DIC.
4295
4296 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
4297
4298 Revert:
4299 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
4300 Mickaël Guêné <mickael.guene@st.com>
4301
4302 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
4303 architecture.
4304
4305 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
4306
4307 * config/aarch64/lse-init.c: New file.
4308 * config/aarch64/lse.S: New file.
4309 * config/aarch64/t-lse: New file.
4310 * config.host: Add t-lse to all aarch64 tuples.
4311
4312 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
4313 Mickaël Guêné <mickael.guene@st.com>
4314
4315 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
4316 architecture.
4317
4318 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
4319 Mickaël Guêné <mickael.guene@st.com>
4320
4321 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
4322 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
4323 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
4324 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
4325 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
4326 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
4327 (__gnu_personality_sigframe_fdpic): New.
4328 (get_eit_entry): Add FDPIC signal frame support.
4329
4330 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
4331 Mickaël Guêné <mickael.guene@st.com>
4332
4333 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
4334 (__kernel_dmb): Likewise.
4335 (__fdpic_cmpxchg): New function.
4336 (__fdpic_dmb): New function.
4337 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
4338 (gnu_Unwind_Find_got): New function.
4339 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
4340 * unwind-arm-common.inc (UCB_PR_GOT): New.
4341 (funcdesc_t): New struct.
4342 (get_eit_entry): Add FDPIC support.
4343 (unwind_phase2): Likewise.
4344 (unwind_phase2_forced): Likewise.
4345 (__gnu_Unwind_RaiseException): Likewise.
4346 (__gnu_Unwind_Resume): Likewise.
4347 (__gnu_Unwind_Backtrace): Likewise.
4348 * unwind-pe.h (read_encoded_value_with_base): Likewise.
4349
4350 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
4351 Mickaël Guêné <mickael.guene@st.com>
4352
4353 * libgcc/crtstuff.c: Add support for FDPIC.
4354
4355 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
4356
4357 * config.host: Handle *-*-uclinuxfdpiceabi.
4358
4359 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
4360
4361 * config.host: Set cpu_type for bpf-*-* targets.
4362 * config/bpf/t-bpf: Likewise.
4363 * config/bpf/crtn.S: Likewise.
4364 * config/bpf/crti.S: New file.
4365
4366 2019-09-06 Jim Wilson <jimw@sifive.com>
4367
4368 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4369 (riscv*-*-freebsd*): Likewise.
4370
4371 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
4372
4373 * config.host: Remove references to spu.
4374 * config/spu/: Remove directory.
4375
4376 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4377
4378 PR target/91306
4379 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
4380 element type, instead of "sizeof" the element type.
4381 (__DTOR_LIST__): Likewise.
4382 (__TMC_LIST__): Likewise.
4383 (__do_global_dtors_aux_fini_array_entry): Likewise.
4384 (__frame_dummy_init_array_entry): Likewise.
4385 (__CTOR_END__): Likewise.
4386 (__DTOR_END__): Likweise.
4387 (__FRAME_END__): Likewise.
4388 (__TMC_END__): Likewise.
4389
4390 2019-08-20 Lili Cui <lilicui@intel.com>
4391
4392 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
4393 INTEL_COREI7_COOPERLAKE.
4394
4395 2019-07-31 Matt Thomas <matt@3am-software.com>
4396 Nick Hudson <nick@nthcliff.demon.co.uk>
4397 Matthew Green <mrg@eterna.com.au>
4398 Maya Rashish <coypu@sdf.org>
4399
4400 * config.host (hppa*-*-netbsd*): New case.
4401 * config/pa/t-netbsd: New file.
4402
4403 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
4404
4405 * config/arm/cmse.c (cmse_check_address_range): Add
4406 warn_unused_result attribute.
4407
4408 2019-07-22 Martin Liska <mliska@suse.cz>
4409
4410 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
4411 * config/pa/t-stublib: Likewise.
4412
4413 2019-07-22 Stafford Horne <shorne@gmail.com>
4414
4415 PR target/90362
4416 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
4417 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
4418 instructions are not available on every processor. Change a
4419 l.bnf to l.bf to fix logic issue.
4420
4421 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
4422
4423 * config.host: Remove reference to t-darwin8.
4424
4425 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
4426
4427 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
4428 list.
4429 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
4430 mmacosx-version-min for crts to run across all system versions.
4431 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
4432 * config/t-darwin: Revise mmacosx-version-min for crts to run across
4433 system versions >= 10.4.
4434
4435 2019-07-03 Martin Liska <mliska@suse.cz>
4436
4437 * Makefile.in: Use topn_values instead of one_value names.
4438 * libgcov-merge.c (__gcov_merge_single): Move to ...
4439 (__gcov_merge_topn): ... this.
4440 (merge_single_value_set): Move to ...
4441 (merge_topn_values_set): ... this.
4442 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
4443 ...
4444 (__gcov_topn_values_profiler_body): ... this.
4445 (__gcov_one_value_profiler_v2): Move to ...
4446 (__gcov_topn_values_profiler): ... this.
4447 (__gcov_one_value_profiler_v2_atomic): Move to ...
4448 (__gcov_topn_values_profiler_atomic): ... this.
4449 (__gcov_indirect_call_profiler_v4): Remove.
4450 * libgcov-util.c (__gcov_single_counter_op): Move to ...
4451 (__gcov_topn_counter_op): ... this.
4452 * libgcov.h (L_gcov_merge_single): Remove.
4453 (L_gcov_merge_topn): New.
4454 (__gcov_merge_single): Remove.
4455 (__gcov_merge_topn): New.
4456 (__gcov_one_value_profiler_v2): Move to ..
4457 (__gcov_topn_values_profiler): ... this.
4458 (__gcov_one_value_profiler_v2_atomic): Move to ...
4459 (__gcov_topn_values_profiler_atomic): ... this.
4460
4461 2019-07-03 Martin Liska <mliska@suse.cz>
4462
4463 * libgcov-merge.c (merge_single_value_set): Support N values.
4464 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
4465
4466 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
4467
4468 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
4469 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
4470 * configure.ac: Add --disable-tm-clone-registry option.
4471 * configure: Regenerate.
4472
4473 2019-06-27 Martin Liska <mliska@suse.cz>
4474
4475 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
4476 dead assignments.
4477 * libgcov-util.c: Likewise.
4478
4479 2019-06-27 Martin Liska <mliska@suse.cz>
4480
4481 * libgcov-util.c (gcov_profile_merge): Release allocated
4482 memory.
4483 (calculate_overlap): Likewise.
4484
4485 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
4486
4487 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
4488 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
4489 Build objects for the out of line save/restore register functions
4490 so that they can be used for any supported Darwin version.
4491 * config/t-darwin: Default the build Darwin version to Darwin8
4492 (MacOS 10.4).
4493
4494 2019-06-25 Martin Liska <mliska@suse.cz>
4495
4496 * libgcov-driver-system.c (replace_filename_variables): Do not
4497 call strlen with NULL argument.
4498
4499 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
4500
4501 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
4502 * config/gcn/unwind-gcn.c: New file.
4503
4504 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
4505 Andrew Stubbs <ams@codesourcery.com>
4506
4507 * configure: Regenerate.
4508 * config/gcn/gthr-gcn.h: New.
4509
4510 2019-06-18 Tom de Vries <tdevries@suse.de>
4511
4512 * config/nvptx/crt0.c (__main): Declare.
4513
4514 2019-06-17 Matthew Green <mrg@eterna.com.au>
4515 Maya Rashish <coypu@sdf.org>
4516
4517 * config.host (aarch64*-*-netbsd*): New case.
4518
4519 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4520
4521 * config/msp430/slli.S (__mspabi_sllll): New library function for
4522 performing a logical left shift of a 64-bit value.
4523 * config/msp430/srai.S (__mspabi_srall): New library function for
4524 performing a arithmetic right shift of a 64-bit value.
4525 * config/msp430/srll.S (__mspabi_srlll): New library function for
4526 performing a logical right shift of a 64-bit value.
4527
4528 2019-06-14 Matt Thomas <matt@3am-software.com>
4529 Matthew Green <mrg@eterna.com.au>
4530 Nick Hudson <skrll@netbsd.org>
4531 Maya Rashish <coypu@sdf.org>
4532
4533 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
4534 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
4535 functions to build.
4536 * config/arm/t-netbsd-eabi: New file.
4537
4538 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
4539
4540 * config.host: Add PRU target.
4541 * config/pru/asri.c: New file.
4542 * config/pru/eqd.c: New file.
4543 * config/pru/eqf.c: New file.
4544 * config/pru/ged.c: New file.
4545 * config/pru/gef.c: New file.
4546 * config/pru/gtd.c: New file.
4547 * config/pru/gtf.c: New file.
4548 * config/pru/led.c: New file.
4549 * config/pru/lef.c: New file.
4550 * config/pru/lib2bitcountHI.c: New file.
4551 * config/pru/lib2divHI.c: New file.
4552 * config/pru/lib2divQI.c: New file.
4553 * config/pru/lib2divSI.c: New file.
4554 * config/pru/libgcc-eabi.ver: New file.
4555 * config/pru/ltd.c: New file.
4556 * config/pru/ltf.c: New file.
4557 * config/pru/mpyll.S: New file.
4558 * config/pru/pru-abi.h: New file.
4559 * config/pru/pru-asm.h: New file.
4560 * config/pru/pru-divmod.h: New file.
4561 * config/pru/sfp-machine.h: New file.
4562 * config/pru/t-pru: New file.
4563
4564 2019-06-11 Jakub Jelinek <jakub@redhat.com>
4565
4566 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
4567
4568 2019-06-10 Martin Liska <mliska@suse.cz>
4569
4570 PR bootstrap/90808
4571 * libgcov.h: Add ATTRIBUTE_UNUSED.
4572
4573 2019-06-10 Martin Liska <mliska@suse.cz>
4574
4575 * Makefile.in: Add __gcov_one_value_profiler_v2,
4576 __gcov_one_value_profiler_v2_atomic and
4577 __gcov_indirect_call_profiler_v4.
4578 * libgcov-merge.c (__gcov_merge_single): Change
4579 function signature.
4580 (merge_single_value_set): New.
4581 * libgcov-profiler.c (__gcov_one_value_profiler_body):
4582 Update functionality.
4583 (__gcov_one_value_profiler): Remove.
4584 (__gcov_one_value_profiler_v2): ... this.
4585 (__gcov_one_value_profiler_atomic): Rename to ...
4586 (__gcov_one_value_profiler_v2_atomic): this.
4587 (__gcov_indirect_call_profiler_v3): Rename to ...
4588 (__gcov_indirect_call_profiler_v4): ... this.
4589 * libgcov.h (__gcov_one_value_profiler): Remove.
4590 (__gcov_one_value_profiler_atomic): Remove.
4591 (__gcov_one_value_profiler_v2_atomic): New.
4592 (__gcov_indirect_call_profiler_v3): Remove.
4593 (__gcov_one_value_profiler_v2): New.
4594 (__gcov_indirect_call_profiler_v4): New.
4595 (gcov_get_counter_ignore_scaling): New function.
4596
4597 2019-06-07 Martin Liska <mliska@suse.cz>
4598
4599 * Makefile.in: Remove usage of
4600 _gcov_merge_icall_topn.
4601 * libgcov-driver.c (gcov_sort_n_vals): Remove.
4602 (gcov_sort_icall_topn_counter): Likewise.
4603 (gcov_sort_topn_counter_arrays): Likewise.
4604 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
4605 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
4606 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
4607 Likewise.
4608 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
4609 (struct indirect_call_tuple): Remove.
4610 (__gcov_indirect_call_topn_profiler): Remove.
4611 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
4612 * libgcov.h (gcov_sort_n_vals): Remove.
4613 (L_gcov_merge_icall_topn): Likewise.
4614 (__gcov_merge_icall_topn): Likewise.
4615 (__gcov_indirect_call_topn_profiler): Likewise.
4616
4617 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
4618
4619 * config/rs6000/t-darwin: Ensure that the unwinder is built with
4620 altivec enabled.
4621
4622 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4623
4624 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
4625 section.
4626 (__mspabi_slli): Likewise.
4627 (__mspabi_slll_n): Likewise.
4628 (__mspabi_slll): Likewise.
4629 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
4630 (__mspabi_srai): Likewise.
4631 (__mspabi_sral_n): Likewise.
4632 (__mspabi_sral): Likewise.
4633 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
4634 (__mspabi_srli): Likewise.
4635 (__mspabi_srll_n): Likewise.
4636 (__mspabi_srll): Likewise.
4637
4638 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
4639
4640 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
4641 Add appropriate tm_file clause as well.
4642 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
4643
4644 2019-06-05 James Clarke <jrtc27@jrtc27.com>
4645
4646 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
4647 rather than .data/.bss so it can be accessed via gp-relative
4648 addressing.
4649
4650 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
4651
4652 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
4653 (CR2_REGNO): Rename to R_CR2.
4654 (XER_REGNO): Rename to R_XER.
4655 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
4656 (VRSAVE_REGNO): Rename to R_VRSAVE.
4657 (VSCR_REGNO): R_VSCR.
4658
4659 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
4660
4661 * config.host (rx-*-linux*): Add new case.
4662 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
4663
4664 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
4665
4666 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
4667 function.
4668 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
4669 aarch64_post_frob_eh_handler_addr): Add check for b-key.
4670 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
4671 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
4672 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
4673 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
4674 string.
4675 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
4676 string.
4677 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
4678
4679 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4680
4681 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
4682 Remove Solaris 9 and 10 support.
4683 (sparc_is_sighandler): Likewise.
4684
4685 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
4686
4687 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
4688
4689 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
4690
4691 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4692 4_FP_W_TYPEs are used for IEEE quad precision.
4693 * soft-fp/extendhftf2.c: Likewise.
4694 * soft-fp/extendsftf2.c: Likewise.
4695 * soft-fp/extendxftf2.c: Likewise.
4696 * soft-fp/trunctfdf2.c: Likewise.
4697 * soft-fp/trunctfhf2.c: Likewise.
4698 * soft-fp/trunctfsf2.c: Likewise.
4699 * soft-fp/trunctfxf2.c: Likewise.
4700 * config/rs6000/ibm-ldouble.c: Likewise.
4701
4702 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4703
4704 * config.host: Simplify various *-*-solaris2.1[0-9]* to
4705 *-*-solaris2*.
4706 * configure.ac: Likewise.
4707 * configure: Regenerate.
4708
4709 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4710 Solaris 10 and Solaris 11 < snv_125 handling.
4711
4712 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
4713
4714 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
4715
4716 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
4717
4718 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
4719 * config/i386/cpuinfo.h (enum processor_features): Add
4720 FEATURE_AVX512BF16.
4721
4722 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4723 Bernd Edlinger <bernd.edlinger@hotmail.de>
4724 Jakub Jelinek <jakub@redhat.com>
4725
4726 PR target/89093
4727 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
4728 * config/arm/unwind-arm.c: Likewise.
4729 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
4730 attribute for ARM.
4731
4732 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
4733
4734 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
4735 (RT_SIGRETURN): Update.
4736 (nds32_fallback_frame_state): Update.
4737
4738 2019-02-21 Martin Sebor <msebor@redhat.com>
4739
4740 * libgcc2.h (__clear_cache): Correct signature.
4741 * libgcc2.c (__clear_cache): Same.
4742
4743 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
4744
4745 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
4746 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
4747
4748 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
4749
4750 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
4751 regno instead of index to DWARF_ZERO_REG.
4752
4753 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
4754
4755 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
4756 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
4757
4758 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
4759
4760 * config/alpha/t-linux: Add -mfp-rounding-mode=d
4761 to HOST_LIBGCC2_CFLAGS.
4762
4763 2019-01-23 Joseph Myers <joseph@codesourcery.com>
4764
4765 PR libgcc/88931
4766 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
4767
4768 2019-01-18 Martin Liska <mliska@suse.cz>
4769
4770 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
4771 to ...
4772 (__gcov_indirect_call_profiler_v3): ... this.
4773 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
4774 (__gcov_indirect_call_profiler_v3): Likewise.
4775 * Makefile.in: Bump function name.
4776
4777 2019-01-18 Martin Liska <mliska@suse.cz>
4778
4779 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
4780 (gcov_version): Use in gcov_error.
4781 (merge_one_data): Likewise.
4782 (dump_one_gcov): Likewise.
4783
4784 2019-01-18 Martin Liska <mliska@suse.cz>
4785
4786 * libgcov-driver.c (gcov_version_string): New function.
4787 (gcov_version): Convert version integer into string.
4788
4789 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
4790 Kwok Cheung Yeung <kcy@codesourcery.com>
4791 Julian Brown <julian@codesourcery.com>
4792 Tom de Vries <tom@codesourcery.com>
4793
4794 * config.host: Recognize amdgcn*-*-amdhsa.
4795 * config/gcn/crt0.c: New file.
4796 * config/gcn/lib2-divmod-hi.c: New file.
4797 * config/gcn/lib2-divmod.c: New file.
4798 * config/gcn/lib2-gcn.h: New file.
4799 * config/gcn/sfp-machine.h: New file.
4800 * config/gcn/t-amdgcn: New file.
4801
4802 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
4803
4804 PR other/16615
4805
4806 * config/c6x/libunwind.S: Mechanically replace "can not" with
4807 "cannot".
4808 * config/tilepro/atomic.h: Likewise.
4809 * config/vxlib-tls.c: Likewise.
4810 * generic-morestack-thread.c: Likewise.
4811 * generic-morestack.c: Likewise.
4812 * mkmap-symver.awk: Likewise.
4813
4814 2019-01-01 Jakub Jelinek <jakub@redhat.com>
4815
4816 Update copyright years.
4817
4818 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4819
4820 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
4821 to ignore -Waddress-of-packed-member.
4822
4823 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
4824
4825 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
4826 parameter and corresponding code.
4827 (ARM_FUNC_START): Likewise in both definitions.
4828 Also update footer comment about condition that need to match with
4829 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
4830 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
4831 defined. Weakly define it in this case.
4832 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
4833 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
4834 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
4835 comment to keep condition in sync with the one in
4836 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
4837
4838 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
4839
4840 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
4841 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
4842
4843 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4844
4845 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
4846 and .cfi_endproc directives for VxWorks targets.
4847
4848 2018-12-05 Paul Koning <ni1d@arrl.net>
4849
4850 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
4851
4852 2018-11-27 Alan Modra <amodra@gmail.com>
4853
4854 * config/rs6000/morestack.S (__stack_split_initialize),
4855 (__morestack_get_guard, __morestack_set_guard),
4856 (__morestack_make_guard): Provide CFI covering these functions.
4857 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
4858
4859 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
4860
4861 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
4862 (sc_pt_regs_lr): Update for kernel.
4863 (sc_pt_regs_tls): Update for kernel.
4864
4865 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
4866
4867 * config/csky/linux-unwind.h: Fix coding style.
4868
4869 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
4870
4871 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
4872 (csky_fallback_frame_state): Modify the check of the
4873 instructions to adapt to changes in the kernel
4874
4875 2018-11-09 Stafford Horne <shorne@gmail.com>
4876 Richard Henderson <rth@twiddle.net>
4877
4878 * config.host: Add OpenRISC support.
4879 * config/or1k/*: New.
4880
4881 2018-11-08 Kito Cheng <kito@andestech.com>
4882
4883 * soft-fp/adddf3.c: Update from glibc.
4884 * soft-fp/addsf3.c: Likewise.
4885 * soft-fp/addtf3.c: Likewise.
4886 * soft-fp/divdf3.c: Likewise.
4887 * soft-fp/divsf3.c: Likewise.
4888 * soft-fp/divtf3.c: Likewise.
4889 * soft-fp/double.h: Likewise.
4890 * soft-fp/eqdf2.c: Likewise.
4891 * soft-fp/eqsf2.c: Likewise.
4892 * soft-fp/eqtf2.c: Likewise.
4893 * soft-fp/extenddftf2.c: Likewise.
4894 * soft-fp/extended.h: Likewise.
4895 * soft-fp/extendhftf2.c: Likewise.
4896 * soft-fp/extendsfdf2.c: Likewise.
4897 * soft-fp/extendsftf2.c: Likewise.
4898 * soft-fp/extendxftf2.c: Likewise.
4899 * soft-fp/fixdfdi.c: Likewise.
4900 * soft-fp/fixdfsi.c: Likewise.
4901 * soft-fp/fixdfti.c: Likewise.
4902 * soft-fp/fixhfti.c: Likewise.
4903 * soft-fp/fixsfdi.c: Likewise.
4904 * soft-fp/fixsfsi.c: Likewise.
4905 * soft-fp/fixsfti.c: Likewise.
4906 * soft-fp/fixtfdi.c: Likewise.
4907 * soft-fp/fixtfsi.c: Likewise.
4908 * soft-fp/fixtfti.c: Likewise.
4909 * soft-fp/fixunsdfdi.c: Likewise.
4910 * soft-fp/fixunsdfsi.c: Likewise.
4911 * soft-fp/fixunsdfti.c: Likewise.
4912 * soft-fp/fixunshfti.c: Likewise.
4913 * soft-fp/fixunssfdi.c: Likewise.
4914 * soft-fp/fixunssfsi.c: Likewise.
4915 * soft-fp/fixunssfti.c: Likewise.
4916 * soft-fp/fixunstfdi.c: Likewise.
4917 * soft-fp/fixunstfsi.c: Likewise.
4918 * soft-fp/fixunstfti.c: Likewise.
4919 * soft-fp/floatdidf.c: Likewise.
4920 * soft-fp/floatdisf.c: Likewise.
4921 * soft-fp/floatditf.c: Likewise.
4922 * soft-fp/floatsidf.c: Likewise.
4923 * soft-fp/floatsisf.c: Likewise.
4924 * soft-fp/floatsitf.c: Likewise.
4925 * soft-fp/floattidf.c: Likewise.
4926 * soft-fp/floattihf.c: Likewise.
4927 * soft-fp/floattisf.c: Likewise.
4928 * soft-fp/floattitf.c: Likewise.
4929 * soft-fp/floatundidf.c: Likewise.
4930 * soft-fp/floatundisf.c: Likewise.
4931 * soft-fp/floatunditf.c: Likewise.
4932 * soft-fp/floatunsidf.c: Likewise.
4933 * soft-fp/floatunsisf.c: Likewise.
4934 * soft-fp/floatunsitf.c: Likewise.
4935 * soft-fp/floatuntidf.c: Likewise.
4936 * soft-fp/floatuntihf.c: Likewise.
4937 * soft-fp/floatuntisf.c: Likewise.
4938 * soft-fp/floatuntitf.c: Likewise.
4939 * soft-fp/gedf2.c: Likewise.
4940 * soft-fp/gesf2.c: Likewise.
4941 * soft-fp/getf2.c: Likewise.
4942 * soft-fp/half.h: Likewise.
4943 * soft-fp/ledf2.c: Likewise.
4944 * soft-fp/lesf2.c: Likewise.
4945 * soft-fp/letf2.c: Likewise.
4946 * soft-fp/muldf3.c: Likewise.
4947 * soft-fp/mulsf3.c: Likewise.
4948 * soft-fp/multf3.c: Likewise.
4949 * soft-fp/negdf2.c: Likewise.
4950 * soft-fp/negsf2.c: Likewise.
4951 * soft-fp/negtf2.c: Likewise.
4952 * soft-fp/op-1.h: Likewise.
4953 * soft-fp/op-2.h: Likewise.
4954 * soft-fp/op-4.h: Likewise.
4955 * soft-fp/op-8.h: Likewise.
4956 * soft-fp/op-common.h: Likewise.
4957 * soft-fp/quad.h: Likewise.
4958 * soft-fp/single.h: Likewise.
4959 * soft-fp/soft-fp.h: Likewise.
4960 * soft-fp/subdf3.c: Likewise.
4961 * soft-fp/subsf3.c: Likewise.
4962 * soft-fp/subtf3.c: Likewise.
4963 * soft-fp/truncdfsf2.c: Likewise.
4964 * soft-fp/trunctfdf2.c: Likewise.
4965 * soft-fp/trunctfhf2.c: Likewise.
4966 * soft-fp/trunctfsf2.c: Likewise.
4967 * soft-fp/trunctfxf2.c: Likewise.
4968 * soft-fp/unorddf2.c: Likewise.
4969 * soft-fp/unordsf2.c: Likewise.
4970 * soft-fp/unordtf2.c: Likewise.
4971
4972 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
4973
4974 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
4975 * config/i386/cpuinfo.h (processor_types): Add znver2.
4976
4977 2018-11-01 Paul Koning <ni1d@arrl.net>
4978
4979 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
4980 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
4981
4982 2018-10-31 Joseph Myers <joseph@codesourcery.com>
4983
4984 PR bootstrap/82856
4985 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
4986 * configure: Regenerate.
4987
4988 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
4989
4990 * config/arc/lib1funcs.S (_muldi3): New function.
4991 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
4992
4993 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4994
4995 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
4996
4997 2018-10-25 Martin Liska <mliska@suse.cz>
4998
4999 PR other/87735
5000 * libgcov-profiler.c: Revert.
5001
5002 2018-10-24 Martin Liska <mliska@suse.cz>
5003
5004 * libgcov-profiler.c: Start from 1 in order to distinguish
5005 functions which were seen and these that were not.
5006
5007 2018-10-18 Paul Koning <ni1d@arrl.net>
5008
5009 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
5010 standard.
5011 * divmod.c: Update references to __udivmodsi4.
5012 * udivmod.c: Ditto.
5013 * udivhi3.c: New file.
5014 * udivmodhi4.c: New file.
5015 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
5016
5017 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5018
5019 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
5020
5021 2018-10-12 Olivier Hainque <hainque@adacore.com>
5022
5023 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
5024 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
5025
5026 2018-10-08 Paul Koning <ni1d@arrl.net>
5027
5028 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
5029
5030 2018-10-04 Martin Liska <mliska@suse.cz>
5031
5032 PR gcov-profile/84107
5033 * libgcov-profiler.c (__gcov_indirect_call):
5034 Change type to indirect_call_tuple.
5035 (struct indirect_call_tuple): New struct.
5036 (__gcov_indirect_call_topn_profiler): Change type.
5037 (__gcov_indirect_call_profiler_v2): Use the new
5038 variables.
5039 * libgcov.h (struct indirect_call_tuple): New struct
5040 definition.
5041
5042 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
5043
5044 * libgcc2.c (isnan): Use __builtin_isnan.
5045 (isfinite): Use __builtin_isfinite.
5046 (isinf): Use __builtin_isinf.
5047
5048 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
5049
5050 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
5051
5052 2018-09-21 Alexandre Oliva <oliva@adacore.com>
5053
5054 * config/vxcache.c: New file. Provide __clear_cache, based on
5055 the cacheTextUpdate VxWorks service.
5056 * config/t-vxworks (LIB2ADD): Add vxcache.c.
5057 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
5058 * config/t-vxwoks7: Likewise.
5059
5060 2018-09-21 Martin Liska <mliska@suse.cz>
5061
5062 * libgcov-driver.c (crc32_unsigned): Remove.
5063 (gcov_histogram_insert): Likewise.
5064 (gcov_compute_histogram): Likewise.
5065 (compute_summary): Simplify rapidly.
5066 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
5067 (merge_summary): Rapidly simplify.
5068 (dump_one_gcov): Ignore gcov_summary.
5069 (gcov_do_dump): Do not handle program summary, it's not
5070 used.
5071 * libgcov-util.c (tag_summary): Remove.
5072 (read_gcda_finalize): Fix coding style.
5073 (read_gcda_file): Initialize curr_object_summary.
5074 (compute_summary): Remove.
5075 (calculate_overlap): Remove settings of run_max.
5076
5077 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
5078
5079 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
5080 ucontext_t type instead.
5081 (nds32_fallback_frame_state): Remove struct _sigframe statement.
5082
5083 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
5084
5085 * config/nds32/t-nds32-glibc: New file.
5086
5087 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5088
5089 * configure.ac (solaris_ld_v2_maps): New test.
5090 * configure: Regenerate.
5091 * Makefile.in (solaris_ld_v2_maps): New variable.
5092 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
5093 if supported.
5094
5095 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
5096
5097 PR target/86951
5098 * config/arm/lib1funcs.asm (speculation_barrier): New function.
5099 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
5100 to build.
5101
5102 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
5103
5104 * config/unwind-dw2-fde-darwin.c
5105 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
5106 * config/darwin10-unwind-find-enc-func.c: … to here.
5107 * config/t-darwin: Build Darwin10 unwinder shim crt.
5108 * libgcc/config.host: Add the Darwin10 unwinder shim.
5109
5110 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5111
5112 * config.host: Add crtbegin.o and crtend.o for
5113 powerpc-wrs-vxworks target.
5114
5115 2018-08-17 Jojo <jijie_rong@c-sky.com>
5116 Huibin Wang <huibin_wang@c-sky.com>
5117 Sandra Loosemore <sandra@codesourcery.com>
5118 Chung-Lin Tang <cltang@codesourcery.com>
5119
5120 C-SKY port: libgcc
5121
5122 * config.host: Add C-SKY support.
5123 * config/csky/*: New.
5124
5125 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
5126
5127 * config/nds32/t-nds32-isr: Rearrange object dependency.
5128 * config/nds32/initfini.c: Add dwarf2 unwinding support.
5129 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
5130 and registers usage.
5131 * config/nds32/isr-library/excp_isr.S: Ditto.
5132 * config/nds32/isr-library/intr_isr.S: Ditto.
5133 * config/nds32/isr-library/reset.S: Ditto.
5134 * config/nds32/isr-library/restore_all.inc: Ditto.
5135 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
5136 * config/nds32/isr-library/restore_partial.inc: Ditto.
5137 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
5138 * config/nds32/isr-library/save_all.inc: Ditto.
5139 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
5140 * config/nds32/isr-library/save_partial.inc: Ditto.
5141 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
5142 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
5143
5144 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
5145
5146 * config/pa/linux-atomic.c: Update comment.
5147 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
5148 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
5149 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
5150 __ATOMIC_RELAXED for atomic loads.
5151 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
5152 unordered store to release lock.
5153 (__sync_lock_release_8): Likewise.
5154 (SYNC_LOCK_RELEASE_2): Remove define.
5155
5156 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
5157
5158 PR libgcc/86512
5159 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
5160 exponent goes negative. Update my email address.
5161 * config/arm/ieee754-sf.S: Likewise.
5162
5163 2018-08-01 Martin Liska <mliska@suse.cz>
5164
5165 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
5166 check that __gcov_indirect_call_callee is non-null.
5167
5168 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
5169
5170 * config/arm/ieee754-df.S: Fix comment for code working on
5171 architectures >= 4.
5172 * config/arm/ieee754-sf.S: Likewise.
5173
5174 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
5175
5176 PR libgcc/85334
5177 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
5178 Removed.
5179
5180 2018-07-05 James Clarke <jrtc27@jrtc27.com>
5181
5182 * configure: Regenerated.
5183
5184 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5185
5186 * Makefile.in (install_leaf): Use enable_gcov instead of
5187 enable_libgcov.
5188
5189 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5190
5191 * configure.ac: Add --disable-gcov option.
5192 * configure: Regenerate.
5193 * Makefile.in: Honour @enable_gcov@.
5194
5195 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
5196
5197 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
5198 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
5199 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
5200 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
5201 __ARM_ARCH__.
5202 * config/arm/ieee754-sf.S: Likewise.
5203 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
5204
5205 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
5206
5207 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
5208 longer supported.
5209 * config/arm/ieee754-sf.S: Likewise.
5210
5211 2018-06-20 Than McIntosh <thanm@google.com>
5212
5213 PR libgcc/86213
5214 * generic-morestack.c (allocate_segment): Move calls to getenv and
5215 getpagesize to __morestack_load_mmap.
5216 (__morestack_load_mmap) Initialize static_pagesize and
5217 use_guard_page here so as to avoid clobbering SSE regs during a
5218 __morestack call.
5219
5220 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
5221
5222 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
5223 support modules with -mno-gnu-attribute.
5224 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
5225
5226 2018-06-07 Olivier Hainque <hainque@adacore.com>
5227
5228 * config/t-vxworks (LIBGCC_INCLUDES): Add
5229 -I$(MULTIBUILDTOP)../../gcc/include.
5230 * config/t-vxworks7: Likewise. Reformat a bit to match
5231 the t-vxworks layout.
5232
5233 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
5234
5235 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
5236
5237 2018-06-07 Martin Liska <mliska@suse.cz>
5238
5239 * libgcov-driver.c: Rename cs_all to all and assign it from
5240 all_prg.
5241
5242 2018-06-07 Martin Liska <mliska@suse.cz>
5243
5244 PR bootstrap/86057
5245 * libgcov-driver-system.c (replace_filename_variables): Use
5246 memcpy instead of mempcpy.
5247 (allocate_filename_struct): Do not allocate filename, allocate
5248 prefix and set it.
5249 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
5250 here and properly copy content into it.
5251 * libgcov-driver.c (struct gcov_filename): Remove max_length
5252 field, change prefix from size_t into char *.
5253 (compute_summary): Do not calculate longest filename.
5254 (gcov_do_dump): Release memory of gf.filename after each file.
5255 * libgcov-util.c (compute_summary): Use new signature of
5256 compute_summary.
5257 (calculate_overlap): Likewise.
5258
5259 2018-06-05 Martin Liska <mliska@suse.cz>
5260
5261 PR gcov-profile/47618
5262 * libgcov-driver-system.c (replace_filename_variables): New
5263 function.
5264 (gcov_exit_open_gcda_file): Use it.
5265
5266 2018-06-05 Martin Liska <mliska@suse.cz>
5267
5268 * libgcov-driver.c (gcov_compute_histogram): Remove usage
5269 of gcov_ctr_summary.
5270 (compute_summary): Do it just for a single summary.
5271 (merge_one_data): Likewise.
5272 (merge_summary): Simplify as we read just single summary.
5273 (dump_one_gcov): Pass proper argument.
5274 * libgcov-util.c (compute_one_gcov): Simplify as we have just
5275 single summary.
5276 (gcov_info_count_all_cold): Likewise.
5277 (calculate_overlap): Likewise.
5278
5279 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
5280 Monk Chiang <sh.chiang04@gmail.com>
5281
5282 * config.host (nds32*-linux*): New.
5283 * config/nds32/linux-atomic.c: New file.
5284 * config/nds32/linux-unwind.h: New file.
5285
5286 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
5287
5288 PR target/85591
5289 * config/i386/cpuinfo.c (get_amd_cpu): Return
5290 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
5291
5292 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
5293
5294 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
5295
5296 2018-05-29 Martin Liska <mliska@suse.cz>
5297
5298 PR gcov-profile/85759
5299 * libgcov-driver-system.c (gcov_error): Introduce usage of
5300 GCOV_EXIT_AT_ERROR env. variable.
5301 * libgcov-driver.c (merge_one_data): Print error that we
5302 overwrite a gcov file with a different timestamp.
5303
5304 2018-05-23 Kalamatee <kalamatee@gmail.com>
5305
5306 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
5307 path to Lf$finfty.
5308
5309 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
5310 Monk Chiang <sh.chiang04@gmail.com>
5311 Jim Wilson <jimw@sifive.com>
5312
5313 * config/riscv/save-restore.S: Add support for rv32e.
5314
5315 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5316
5317 * config/arm/libunwind.S: Update comment relating to armv5.
5318
5319 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
5320
5321 * config/arm/cmse.c (cmse_check_address_range): Replace
5322 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
5323
5324 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
5325
5326 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
5327 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
5328
5329 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
5330
5331 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
5332 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
5333
5334 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
5335
5336 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
5337
5338 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
5339 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
5340
5341 PR libgcc/84292
5342 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
5343 op_and_fetch to return the right result.
5344
5345 2018-04-27 Alan Modra <amodra@gmail.com>
5346
5347 PR libgcc/85532
5348 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
5349 -fno-asynchronous-unwind-tables.
5350
5351 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
5352
5353 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
5354 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
5355
5356 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
5357
5358 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
5359 when including "config/i386/shadow-stack-unwind.h".
5360
5361 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
5362
5363 * configure: Regenerated.
5364
5365 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
5366
5367 PR target/85456
5368 * config/rs6000/_powikf2.c: New file. Add support for the
5369 __builtin_powil function when long double is IEEE 128-bit floating
5370 point.
5371 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
5372 __powikf2 support.
5373 (__powikf2): Likewise.
5374 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
5375 (__powikf2_hw): Likewise.
5376 (__powikf2): Likewise.
5377 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
5378 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
5379 (_powikf2-hw.c): Likewise.
5380
5381 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
5382
5383 PR libgcc/85334
5384 * unwind-generic.h (_Unwind_Frames_Increment): New.
5385 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
5386 Likewise.
5387 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
5388 count with _Unwind_Frames_Increment.
5389 (_Unwind_ForcedUnwind_Phase2): Likewise.
5390
5391 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
5392
5393 PR libgcc/85379
5394 * config/i386/morestack.S (__stack_split_initialize): Add
5395 _CET_ENDBR.
5396
5397 2018-04-19 Jakub Jelinek <jakub@redhat.com>
5398
5399 * configure: Regenerated.
5400
5401 2018-04-18 David Malcolm <dmalcolm@redhat.com>
5402
5403 PR jit/85384
5404 * configure: Regenerate.
5405
5406 2018-04-16 Jakub Jelinek <jakub@redhat.com>
5407
5408 PR target/84945
5409 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
5410 -Wdangling-else warnings. Mask shift counts to avoid
5411 -Wshift-count-negative and -Wshift-count-overflow false positives.
5412
5413 2018-04-06 Ruslan Bukin <br@bsdpad.com>
5414
5415 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
5416
5417 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
5418
5419 PR target/85100
5420 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
5421 (XSTATE_FP): Likewise.
5422 (XSTATE_SSE): Likewise.
5423 (XSTATE_YMM): Likewise.
5424 (XSTATE_OPMASK): Likewise.
5425 (XSTATE_ZMM): Likewise.
5426 (XSTATE_HI_ZMM): Likewise.
5427 (XCR_AVX_ENABLED_MASK): Likewise.
5428 (XCR_AVX512F_ENABLED_MASK): Likewise.
5429 (get_available_features): Enable AVX and AVX512 features only
5430 if their states are supported by OSXSAVE.
5431
5432 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5433
5434 PR target/85025
5435 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
5436 Fix a typo, tmp => 255.
5437
5438 2018-03-20 Jakub Jelinek <jakub@redhat.com>
5439
5440 PR target/84945
5441 * config/i386/cpuinfo.h (__cpu_features2): Declare.
5442 * config/i386/cpuinfo.c (__cpu_features2): New variable for
5443 ifndef SHARED only.
5444 (set_feature): Define.
5445 (get_available_features): Use set_feature macro. Set __cpu_features2
5446 to the second word of features ifndef SHARED.
5447
5448 2018-03-15 Julia Koval <julia.koval@intel.com>
5449
5450 * config/i386/cpuinfo.c (get_available_features): Add
5451 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
5452 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
5453 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
5454 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
5455 FEATURE_AVX512BITALG.
5456
5457 2018-03-14 Julia Koval <julia.koval@intel.com>
5458
5459 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
5460 icelake client and icelake server.
5461
5462 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
5463
5464 * config/pa/fptr.c (_dl_read_access_allowed): New.
5465 (__canonicalize_funcptr_for_compare): Use it.
5466
5467 2018-02-28 Jakub Jelinek <jakub@redhat.com>
5468
5469 PR debug/83917
5470 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
5471 $asm_hidden_op if visibility ("hidden") attribute works.
5472 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
5473 * config/i386/i386-asm.h: Don't include auto-host.h.
5474 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
5475 PACKAGE_URL): Don't undefine.
5476 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
5477 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
5478 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
5479 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
5480 definition instead of hardcoded .hidden.
5481 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
5482 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
5483 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
5484 (USE_GAS_CFI_DIRECTIVES): Don't define.
5485 * configure: Regenerated.
5486 * config.in: Likewise.
5487
5488 2018-02-26 Jakub Jelinek <jakub@redhat.com>
5489
5490 PR debug/83917
5491 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
5492 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
5493 inclusion of auto-target.h and auto-host.h.
5494 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
5495 __GCC_HAVE_DWARF2_CFI_ASM.
5496 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
5497 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
5498 cfi_pop): Define.
5499 * config/i386/cygwin.S: Don't include auto-host.h here, just
5500 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
5501 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
5502 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
5503 * config/i386/resms64fx.h: Add cfi_* directives.
5504 * config/i386/resms64x.h: Likewise.
5505
5506 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
5507
5508 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
5509 .literal_position directive.
5510 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
5511
5512 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5513
5514 PR target/84148
5515 * configure: Regenerate.
5516
5517 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5518
5519 PR target/84239
5520 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
5521 Include cetintrin.h not x86intrin.h.
5522
5523 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5524
5525 PR target/84239
5526 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
5527 Use new _get_ssp and _inc_ssp intrinsics.
5528
5529 2018-02-02 Julia Koval <julia.koval@intel.com>
5530
5531 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
5532
5533 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
5534
5535 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
5536 option.
5537 (__divsi3): Use RF16 safe registers.
5538 (__modsi3): Likewise.
5539
5540 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
5541
5542 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
5543 (__divsf3): Make NaN return value quiet.
5544 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
5545 (__divdf3): Make NaN return value quiet.
5546
5547 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
5548
5549 * config/rl78/anddi3.S: New assembly file.
5550 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
5551
5552 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
5553
5554 * config/rl78/umindi3.S: New assembly file.
5555 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
5556
5557 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
5558
5559 * config/rl78/smindi3.S: New assembly file.
5560 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
5561
5562 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
5563
5564 * config/rl78/smaxdi3.S: New assembly file.
5565 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
5566
5567 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
5568
5569 * config/rl78/umaxdi3.S: New assembly file.
5570 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
5571
5572 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
5573
5574 PR lto/83452
5575 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
5576 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
5577
5578 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
5579
5580 * config/aarch64/value-unwind.h (aarch64_vg): New function.
5581 (DWARF_LAZY_REGISTER_VALUE): Define.
5582 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
5583 to provide a fallback register value.
5584
5585 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
5586
5587 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
5588 __ibm128, instead of trying to use long double.
5589 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
5590 accomidate -mabi=ieeelongdouble multilibs.
5591 (CVT_IBM128_TO_FLOAT128): Likewise.
5592 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
5593 the appropriate IBM extended double type.
5594 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
5595 (__gcc_qsub): Likewise.
5596 (__gcc_qmul): Likewise.
5597 (__gcc_qdiv): Likewise.
5598 (pack_ldouble): Likewise.
5599 (__gcc_qneg): Likewise.
5600 (__gcc_qeq): Likewise.
5601 (__gcc_qne): Likewise.
5602 (__gcc_qge): Likewise.
5603 (__gcc_qle): Likewise.
5604 (__gcc_stoq): Likewise.
5605 (__gcc_dtoq): Likewise.
5606 (__gcc_itoq): Likewise.
5607 (__gcc_utoq): Likewise.
5608 (__gcc_qunord): Likewise.
5609 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
5610 quad-float128.h for the definitions.
5611 (COPYSIGN): Use the f128 version instead of the q version.
5612 (INFINITY): Likewise.
5613 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
5614 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
5615 quad-float128.h for the definitions.
5616 (COPYSIGN): Use the f128 version instead of the q version.
5617 (INFINITY): Likewise.
5618 (FABS): Likewise.
5619 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
5620 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
5621 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
5622
5623 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
5624
5625 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
5626 configuration.
5627
5628 2018-01-03 Jakub Jelinek <jakub@redhat.com>
5629
5630 Update copyright years.
5631
5632 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
5633
5634 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
5635 * config/riscv/multi3.c: New file.
5636 * config/riscv/multi3.S: Remove.
5637
5638 2017-12-08 Jim Wilson <jimw@sifive.com>
5639
5640 * config/riscv/div.S: Use FUNC_* macros.
5641 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
5642 * config/riscv/save-restore.S: Likewise.
5643 * config/riscv/riscv-asm.h: New.
5644
5645 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
5646
5647 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
5648 * config/rs6000/_divkc3.c (__divkc3): Likewise.
5649
5650 PR libgcc/83112
5651 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
5652 correct type for all ifunc resolvers to silence -Wattribute-alias
5653 warnings. Eliminate the forward declaration of the resolver
5654 functions which is no longer needed.
5655 (__subkf3_resolve): Likewise.
5656 (__mulkf3_resolve): Likewise.
5657 (__divkf3_resolve): Likewise.
5658 (__negkf2_resolve): Likewise.
5659 (__eqkf2_resolve): Likewise.
5660 (__nekf2_resolve): Likewise.
5661 (__gekf2_resolve): Likewise.
5662 (__gtkf2_resolve): Likewise.
5663 (__lekf2_resolve): Likewise.
5664 (__ltkf2_resolve): Likewise.
5665 (__unordkf2_resolve): Likewise.
5666 (__extendsfkf2_resolve): Likewise.
5667 (__extenddfkf2_resolve): Likewise.
5668 (__trunckfsf2_resolve): Likewise.
5669 (__trunckfdf2_resolve): Likewise.
5670 (__fixkfsi_resolve): Likewise.
5671 (__fixkfdi_resolve): Likewise.
5672 (__fixunskfsi_resolve): Likewise.
5673 (__fixunskfdi_resolve): Likewise.
5674 (__floatsikf_resolve): Likewise.
5675 (__floatdikf_resolve): Likewise.
5676 (__floatunsikf_resolve): Likewise.
5677 (__floatundikf_resolve): Likewise.
5678 (__extendkftf2_resolve): Likewise.
5679 (__trunctfkf2_resolve): Likewise.
5680
5681 PR libgcc/83103
5682 * config/rs6000/quad-float128.h (TF): Don't define if long double
5683 is IEEE 128-bit floating point.
5684 (TCtype): Define as either TCmode or KCmode, depending on whether
5685 long double is IEEE 128-bit floating point.
5686 (__mulkc3_sw): Add declarations for software/hardware versions of
5687 complex multiply/divide.
5688 (__divkc3_sw): Likewise.
5689 (__mulkc3_hw): Likewise.
5690 (__divkc3_hw): Likewise.
5691 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
5692 handlers to switch between using software emulation and hardware
5693 float128 instructions, build the complex multiply/divide functions
5694 for both software and hardware support.
5695 * config/rs6000/_divkc3.c (_divkc3): Likewise.
5696 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
5697 (__divkc3_resolve): Likewise.
5698 (__mulkc3): Likewise.
5699 (__divkc3): Likewise.
5700 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
5701 (fp128_hw_src): Likewise.
5702 (fp128_hw_static_obj): Likewise.
5703 (fp128_hw_shared_obj): Likewise.
5704 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
5705 _mulkc3.c and _divkc3.c, changing the function name.
5706 (_divkc3-hw.c): Likewise.
5707 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
5708 and _divkc3-hw.c.
5709
5710 2017-11-26 Julia Koval <julia.koval@intel.com>
5711
5712 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
5713 * config/i386/cpuinfo.h (processor_subtypes): Add
5714 INTEL_COREI7_CANNONLAKE.
5715
5716 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5717
5718 PR bootstrap/83015
5719 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
5720 parameter.
5721 * config/xtensa/unwind-dw2-xtensa.c: Likewise
5722 * config/ia64/unwind-ia64.c: Add frames parameter.
5723 * unwind-sjlj.c: Likewise.
5724
5725 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5726
5727 * config/i386/linux-unwind.h: Include
5728 config/i386/shadow-stack-unwind.h.
5729 * config/i386/shadow-stack-unwind.h: New file.
5730 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
5731 pass it to _Unwind_Frames_Extra.
5732 * unwind-generic.h (_Unwind_Frames_Extra): New.
5733 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
5734 parameter. Add local variable frames to count number of frames.
5735 (_Unwind_ForcedUnwind_Phase2): Likewise.
5736 (_Unwind_RaiseException): Add local variable frames to count
5737 number of frames, pass it to _Unwind_RaiseException_Phase2 and
5738 uw_install_context.
5739 (_Unwind_ForcedUnwind): Likewise.
5740 (_Unwind_Resume): Likewise.
5741 (_Unwind_Resume_or_Rethrow): Likewise.
5742
5743 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5744
5745 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
5746 (CET_FLAGS): New.
5747 * config/i386/morestack.S: Include <cet.h>.
5748 (__morestack_large_model): Add _CET_ENDBR at function entrance.
5749 * config/i386/resms64.h: Include <cet.h>.
5750 * config/i386/resms64f.h: Likewise.
5751 * config/i386/resms64fx.h: Likewise.
5752 * config/i386/resms64x.h: Likewise.
5753 * config/i386/savms64.h: Likewise.
5754 * config/i386/savms64f.h: Likewise.
5755 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
5756 (CRTSTUFF_T_CFLAGS): Likewise.
5757 * configure.ac: Include ../config/cet.m4.
5758 Set and substitute CET_FLAGS.
5759 * configure: Regenerated.
5760
5761 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5762
5763 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
5764 renaming.
5765 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
5766 * configure.ac (libgcc_cv_solaris_crts): Likewise.
5767 * configure: Regenerate.
5768
5769 2017-11-07 Tom de Vries <tom@codesourcery.com>
5770
5771 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
5772 after "do {} while (0)".
5773
5774 2017-11-07 Tom de Vries <tom@codesourcery.com>
5775
5776 PR other/82784
5777 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
5778 semicolon after "do {} while (0)".
5779 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5780 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5781 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5782 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5783
5784 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
5785
5786 PR libgcc/82635
5787 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
5788 sysctl to determine whether we're in a trampoline.
5789 Keep the pattern matching method for systems without
5790 KERN_PROC_SIGTRAMP sysctl.
5791
5792 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
5793 Vineet Gupta <vgupta@synopsys.com>
5794
5795 * config.host (arc*-*-linux*): Set md_unwind_header variable.
5796 * config/arc/linux-unwind-reg.def: New file.
5797 * config/arc/linux-unwind-reg.h: Likewise.
5798
5799 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
5800
5801 * config/rl78/subdi3.S: New assembly file.
5802 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
5803
5804 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
5805
5806 * config/rl78/adddi3.S: New assembly file.
5807 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
5808
5809 2017-10-13 Jakub Jelinek <jakub@redhat.com>
5810
5811 PR target/82274
5812 * libgcc2.c (__mulvDI3): If both operands have
5813 the same highpart of -1 and the topmost bit of lowpart is 0,
5814 multiplication overflows even if both lowparts are 0.
5815
5816 2017-09-28 James Bowman <james.bowman@ftdichip.com>
5817
5818 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
5819
5820 2017-09-26 Joseph Myers <joseph@codesourcery.com>
5821
5822 * config/microblaze/crti.S, config/microblaze/crtn.S,
5823 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
5824 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
5825 config/microblaze/mulsi3.S,
5826 config/microblaze/stack_overflow_exit.S,
5827 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
5828 config/pa/milli64.S: Add .note.GNU-stack section.
5829
5830 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
5831
5832 * configure.ac: Add Check for HAVE_AS_AVX.
5833 * config.in: Regenerate.
5834 * configure: Likewise.
5835 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
5836 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
5837 Correct out-of-date comments.
5838
5839 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
5840
5841 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
5842 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
5843
5844 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
5845
5846 * config/i386/i386-asm.h (PASTE2): New macro.
5847 (ASMNAME): Modify to use PASTE2.
5848 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
5849 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
5850 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
5851 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
5852 * config/i386/resms64f.S: Likewise.
5853 * config/i386/resms64fx.S: Likewise.
5854 * config/i386/resms64x.S: Likewise.
5855 * config/i386/savms64.S: Likewise.
5856 * config/i386/savms64f.S: Likewise.
5857 * config/i386/avx_resms64.S: New file that only defines a macro and
5858 includes it's corresponding header file.
5859 * config/i386/avx_resms64f.S: Likewise.
5860 * config/i386/avx_resms64fx.S: Likewise.
5861 * config/i386/avx_resms64x.S: Likewise.
5862 * config/i386/avx_savms64.S: Likewise.
5863 * config/i386/avx_savms64f.S: Likewise.
5864 * config/i386/sse_resms64.S: Likewise.
5865 * config/i386/sse_resms64f.S: Likewise.
5866 * config/i386/sse_resms64fx.S: Likewise.
5867 * config/i386/sse_resms64x.S: Likewise.
5868 * config/i386/sse_savms64.S: Likewise.
5869 * config/i386/sse_savms64f.S: Likewise.
5870 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
5871
5872 2017-09-01 Olivier Hainque <hainque@adacore.com>
5873 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
5874
5875 2017-08-31 Olivier Hainque <hainque@adacore.com>
5876
5877 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
5878 match as powerpc-wrs-vxworks*.
5879
5880 2017-08-07 Jonathan Yong <10walls@gmail.com>
5881
5882 * config.host (*-cygwin): Include file from mingw
5883 config/i386/enable-execute-stack-mingw32.c
5884
5885 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
5886 Doug Rupp <rupp@adacore.com>
5887 Olivier Hainque <hainque@adacore.com>
5888
5889 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
5890 as well as arm-wrs-vxworks.
5891 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
5892 LIB2ADDEH.
5893 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
5894 __exidx_start and __exidx_end for downloadable modules.
5895
5896 2017-08-01 Olivier Hainque <hainque@adacore.com>
5897
5898 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
5899 * config/t-vxworks7: Likewise.
5900
5901 2017-08-01 Olivier Hainque <hainque@adacore.com>
5902
5903 * config/t-vxworks: Instead of redefining LIB2ADD,
5904 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
5905
5906 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
5907
5908 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
5909
5910 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
5911
5912 PR testsuite/80759
5913 * config.host: include i386/t-msabi for darwin and solaris.
5914 * config/i386/i386-asm.h
5915 (ELFFN): Rename to FN_TYPE.
5916 (FN_SIZE): New macro.
5917 (FN_HIDDEN): Likewise.
5918 (ASMNAME): Likewise.
5919 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
5920 .globl.
5921 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
5922 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
5923 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
5924 .macro.
5925 * config/i386/resms64f.S: Likewise.
5926 * config/i386/resms64fx.S: Likewise.
5927 * config/i386/resms64x.S: Likewise.
5928 * config/i386/savms64.S: Likewise.
5929 * config/i386/savms64f.S: Likewise.
5930
5931 2017-07-19 John Marino <gnugcc@marino.st>
5932
5933 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
5934
5935 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
5936
5937 PR target/81193
5938 * configure.ac (PowerPC float128 hardware support): Test whether
5939 we can use __builtin_cpu_supports before enabling the ifunc
5940 handler.
5941 * configure: Regenerate.
5942
5943 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
5944
5945 * config.host: Remove uclibc from arc target spec.
5946
5947 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
5948
5949 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
5950
5951 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
5952
5953 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
5954 (have_ieee_hw_p): Delete function.
5955 (SW_OR_HW) Use __builtin_cpu_supports().
5956
5957 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5958
5959 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
5960
5961 2017-07-03 Olivier Hainque <hainque@adacore.com>
5962
5963 * config/t-vxworks7: New file, really.
5964
5965 2017-06-28 Joseph Myers <joseph@codesourcery.com>
5966
5967 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
5968 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
5969 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
5970 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
5971 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
5972 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
5973 config/pa/linux-unwind.h (pa32_fallback_frame_state),
5974 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
5975 config/sh/linux-unwind.h (sh_fallback_frame_state),
5976 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
5977 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
5978 ucontext_t instead of struct ucontext.
5979
5980 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
5981
5982 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
5983 (x86_64-wrs-vxworks7): Likewise.
5984
5985 2017-06-27 Olivier Hainque <hainque@adacore.com>
5986
5987 * config/t-vxworks7: New file.
5988 * config.host (*-*-vxworks7): Use it.
5989
5990 2017-06-22 Matt Turner <mattst88@gmail.com>
5991
5992 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
5993 skylake case.
5994
5995 2017-06-21 Richard Biener <rguenther@suse.de>
5996
5997 PR gcov-profile/81080
5998 * configure.ac: Add AC_SYS_LARGEFILE.
5999 * libgcov.h: Include auto-target.h before tsystem.h to pick
6000 up _FILE_OFFSET_BITS which might differ for multilibs.
6001 * config.in: Regenerate.
6002 * configure: Likewise.
6003
6004 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
6005
6006 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
6007
6008 2017-06-09 Martin Liska <mliska@suse.cz>
6009
6010 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
6011 Reset __gcov_indirect_call_callee to NULL.
6012
6013 2017-06-08 Olivier Hainque <hainque@adacore.com>
6014
6015 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
6016 the set of -I options, support for direct inclusions of net/uio.h
6017 by VxWorks header files via ioLib.h.
6018
6019 2017-06-07 Tony Reix <tony.reix@atos.net>
6020 Matthieu Sarter <matthieu.sarter.external@atos.net>
6021 David Edelsohn <dje.gcc@gmail.com>
6022
6023 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
6024 unconditionally.
6025 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
6026 AIX 7.2 support.
6027
6028 2017-06-02 Olivier Hainque <hainque@adacore.com>
6029
6030 * config/vxlib.c (__gthread_once): Add missing value to
6031 return statement.
6032
6033 2017-05-30 Olivier Hainque <hainque@adacore.com>
6034
6035 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
6036 dollar sign before $(MULTIDIR).
6037
6038 2017-05-26 Richard Henderson <rth@redhat.com>
6039
6040 PR libgcc/80037
6041 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
6042
6043 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
6044
6045 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
6046 _Unwind_SetIP available as functions for arm*-*-freebsd*.
6047 * config/arm/unwind-arm.c: Implement the above.
6048
6049 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6050
6051 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
6052 section for a non-executable stack.
6053
6054 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
6055
6056 PR target/80600
6057 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
6058
6059 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
6060
6061 * config.host: Add i386/t-msabi to i386/t-linux file list.
6062 * config/i386/i386-asm.h: New file.
6063 * config/i386/resms64.S: New file.
6064 * config/i386/resms64f.S: New file.
6065 * config/i386/resms64fx.S: New file.
6066 * config/i386/resms64x.S: New file.
6067 * config/i386/savms64.S: New file.
6068 * config/i386/savms64f.S: New file.
6069 * config/i386/t-msabi: New file.
6070
6071 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
6072
6073 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
6074 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
6075
6076 2017-05-05 Joshua Conner <joshconner@google.com>
6077
6078 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
6079 pc-relative indirect handling for fuchsia.
6080 * config/t-slibgcc-fuchsia: New file.
6081 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
6082 x86_64-*-fuchsia*): Add definitions.
6083
6084 2017-04-19 Martin Liska <mliska@suse.cz>
6085
6086 PR gcov-profile/80435
6087 * Makefile.in: Install gcov.h.
6088 * gcov.h: New file.
6089 * libgcov.h: Use the header and make __gcov_flush publicly
6090 visible.
6091
6092 2017-04-18 Martin Liska <mliska@suse.cz>
6093
6094 PR gcov-profile/78783
6095 * libgcov-driver.c (gcov_get_filename): New function.
6096
6097 2017-04-07 Jeff Law <law@redhat.com>
6098
6099 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
6100 target makefile fragment.
6101 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
6102
6103 2017-04-07 Alan Modra <amodra@gmail.com>
6104
6105 PR target/45053
6106 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
6107
6108 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
6109
6110 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
6111
6112 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
6113
6114 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
6115
6116 2017-03-10 John Marino <gnugcc@marino.st>
6117
6118 * config/aarch64/freebsd-unwind.h: New file.
6119 * config.host: Add aarch64-*-freebsd unwinder.
6120
6121 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
6122
6123 * config/rs6000/crtrestvr.s: Use .machine altivec.
6124 * config/rs6000/crtsavevr.s: Ditto.
6125
6126 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
6127
6128 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
6129 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
6130 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
6131 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
6132 * configure: Regenerate.
6133 * config.in: Regenerate.
6134
6135 2017-03-02 Jonathan Yong <10walls@gmail.com>
6136
6137 * config/i386/gthr-win32.h: Define NOGDI before
6138 windows.h include to prevent w32api CC_NONE macro
6139 clash with libgfortran.
6140
6141 2017-03-02 Jonathan Yong <10walls@gmail.com>
6142
6143 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
6144
6145 2017-02-16 Andrew Pinski <apinski@cavium.com>
6146
6147 * config/aarch64/value-unwind.h: New file.
6148 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
6149 to tm_file.
6150
6151 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
6152
6153 * config.host: Add RISC-V tuples.
6154 * config/riscv/atomic.c: New file.
6155 * config/riscv/crti.S: Likewise.
6156 * config/riscv/crtn.S: Likewise.
6157 * config/riscv/div.S: Likewise.
6158 * config/riscv/linux-unwind.h: Likewise.
6159 * config/riscv/muldi3.S: Likewise.
6160 * config/riscv/multi3.S: Likewise.
6161 * config/riscv/save-restore.S: Likewise.
6162 * config/riscv/sfp-machine.h: Likewise.
6163 * config/riscv/t-elf: Likewise.
6164 * config/riscv/t-elf32: Likewise.
6165 * config/riscv/t-elf64: Likewise.
6166 * config/riscv/t-softfp32: Likewise.
6167 * config/riscv/t-softfp64: Likewise.
6168
6169 2017-01-24 Jakub Jelinek <jakub@redhat.com>
6170
6171 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
6172 /* FALLTHRU */ comments.
6173
6174 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
6175
6176 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
6177
6178 2017-01-20 Jiong Wang <jiong.wang@arm.com>
6179
6180 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
6181 * unwind-dw2.c (execute_cfa_program): Only multiplexing
6182 DW_CFA_GNU_window_save for AArch64 and LP64.
6183
6184 2017-01-20 Jiong Wang <jiong.wang@arm.com>
6185
6186 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
6187
6188 2017-01-19 Jiong Wang <jiong.wang@arm.com>
6189
6190 * config/aarch64/aarch64-unwind.h: New file.
6191 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
6192 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
6193 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
6194 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
6195 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
6196 (aarch64_post_extract_frame_addr): New function.
6197 (aarch64_post_frob_eh_handler_addr): New function.
6198 (aarch64_frob_update_context): New function.
6199 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
6200 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
6201 aarch64*-*-freebsd*):
6202 Initialize md_unwind_header to include aarch64-unwind.h.
6203 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
6204 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
6205 __aarch64__.
6206 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
6207 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
6208 (uw_frob_return_addr): New function.
6209 (uw_install_context): Use uw_frob_return_addr.
6210
6211 2017-01-17 Jakub Jelinek <jakub@redhat.com>
6212
6213 PR other/79046
6214 * configure.ac: Add GCC_BASE_VER.
6215 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
6216 version from BASE-VER file.
6217 * configure: Regenerated.
6218
6219 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
6220
6221 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
6222 libmul_f5.a): Filter archived prerequisites.
6223
6224 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
6225
6226 * config/i386/cpuinfo.h (processor_features): Add
6227 FEATURE_AVX512VPOPCNTDQ.
6228 * config/i386/cpuinfo.c (get_available_features): Habdle new
6229 feature.
6230
6231 2017-01-04 Joseph Myers <joseph@codesourcery.com>
6232
6233 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
6234 payload if [__mips_nan2008].
6235
6236 2017-01-04 Alan Modra <amodra@gmail.com>
6237
6238 * Makefile.in (configure_deps): Update.
6239 * configure: Regenerate.
6240
6241 2017-01-01 Jakub Jelinek <jakub@redhat.com>
6242
6243 Update copyright years.
6244
6245 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
6246
6247 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
6248 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
6249 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
6250
6251 2016-12-17 Matthias Klose <doko@ubuntu.com>
6252
6253 * config/arc/gmon: Remove empty directory.
6254
6255 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
6256
6257 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
6258 crtgend.
6259 (arc*-*-elf*): Likewise.
6260 * config/arc/t-arc: Remove old gmon lib targets.
6261 * config/arc/crtg.S: Remove.
6262 * config/arc/crtgend.S: Likewise.
6263 * config/arc/gmon/atomic.h: Likewise.
6264 * config/arc/gmon/auxreg.h: Likewise.
6265 * config/arc/gmon/dcache_linesz.S: Likewise.
6266 * config/arc/gmon/gmon.c: Likewise.
6267 * config/arc/gmon/machine-gmon.h: Likewise.
6268 * config/arc/gmon/mcount.c: Likewise.
6269 * config/arc/gmon/prof-freq-stub.S: Likewise.
6270 * config/arc/gmon/prof-freq.c: Likewise.
6271 * config/arc/gmon/profil.S: Likewise.
6272 * config/arc/gmon/sys/gmon.h: Likewise.
6273 * config/arc/gmon/sys/gmon_out.h: Likewise.
6274 * config/arc/t-arc-newlib: Likewise.
6275 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
6276
6277 2016-12-12 George Spelvin <linux@sciencehorizons.net>
6278
6279 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
6280
6281 2016-12-12 George Spelvin <linux@sciencehorizons.net>
6282
6283 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
6284 R16 instead of push + pop.
6285 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
6286
6287 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
6288
6289 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
6290 tmake_file.
6291
6292 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
6293
6294 * config.host (arc*-*-linux-uclibc*): Use default extra
6295 objects. Include linux-android header.
6296 * config/arc/crti.S (_init): Declare symbol as function.
6297 (_fini): Likewise.
6298
6299 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
6300
6301 PR fortran/78379
6302 * config/i386/cpuinfo.c: Move denums for processor vendors,
6303 processor type, processor subtypes and declaration of
6304 struct __processor_model into
6305 * config/i386/cpuinfo.h: New header file.
6306
6307 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
6308 Thomas Preud'homme <thomas.preudhomme@arm.com>
6309
6310 * config/arm/cmse_nonsecure_call.S: New.
6311 * config/arm/t-arm: Compile cmse_nonsecure_call.S
6312
6313 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
6314 Thomas Preud'homme <thomas.preudhomme@arm.com>
6315
6316 * config/arm/t-arm (HAVE_CMSE): New.
6317 * config/arm/cmse.c: New.
6318
6319 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6320
6321 PR gcc/74748
6322 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
6323 use generic linker version information on Blackfin.
6324
6325 PR gcc/74748
6326 * libgcc/mkmap-symver.awk: add support for skip_underscore
6327
6328 2016-11-27 Iain Sandoe <iain@codesourcery.com>
6329 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6330
6331 PR target/67710
6332 * config/t-darwin: Default builds to 10.5 codegen.
6333
6334 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
6335
6336 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
6337 (_FP_NANSIGN_H): Likewise.
6338 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
6339 (softfp_truncations): Add tfhf.
6340 (softfp_extras): Add required conversion functions.
6341
6342 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
6343 Matthew Wahab <matthew.wahab@arm.com>
6344
6345 * config/arm/fp16.c (binary64): New.
6346 (__gnu_d2h_internal): New.
6347 (__gnu_d2h_ieee): New.
6348 (__gnu_d2h_alternative): New.
6349
6350 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
6351 Matthew Wahab <matthew.wahab@arm.com>
6352
6353 * config/arm/fp16.c (struct format): New.
6354 (binary32): New.
6355 (__gnu_float2h_internal): New. Body moved from
6356 __gnu_f2h_internal and generalize.
6357 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
6358 Call it with binary32.
6359
6360 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
6361
6362 * soft-fp/extendhftf2.c: Update from glibc.
6363 * soft-fp/fixhfti.c: Likewise.
6364 * soft-fp/fixunshfti.c: Likewise.
6365 * soft-fp/floattihf.c: Likewise.
6366 * soft-fp/floatuntihf.c: Likewise.
6367 * soft-fp/half.h: Likewise.
6368 * soft-fp/trunctfhf2.c: Likewise.
6369
6370 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
6371
6372 PR libgcc/77813
6373 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
6374 __TMC_END__ behind a passthrough asm.
6375
6376 2016-11-18 Walter Lee <walt@tilera.com>
6377
6378 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
6379
6380 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
6381
6382 * config/i386/cpuinfo.c (processor_features): Add
6383 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
6384
6385 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
6386
6387 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
6388 (__ARC_NORM__): Use instead ARC_OPTFPE.
6389 * config/arc/fp-hack.h: Likewise.
6390 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
6391 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
6392
6393 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
6394
6395 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
6396 * config/nvptx/mgomp.c: New file.
6397 * config/nvptx/t-nvptx: Add mgomp.c
6398
6399 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
6400
6401 PR libgcc/68468
6402 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
6403
6404 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
6405
6406 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
6407 of checking for cpus.
6408 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
6409 (__modsi3, __clzsi2): Likewise.
6410
6411 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6412
6413 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
6414 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
6415 * config/i386/t-cpuinfo-static: New.
6416
6417 2016-11-03 Martin Liska <mliska@suse.cz>
6418
6419 * libgcov-profiler.c (__gcov_time_profiler): Remove.
6420 (__gcov_time_profiler_atomic): Likewise.
6421
6422 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
6423
6424 PR libgcc/78067
6425 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
6426 count_leading_zeros.
6427
6428 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
6429
6430 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
6431 * libgcc2.c (__divmoddi4): New function.
6432 * libgcc2.h (__divmoddi4): Declare.
6433 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
6434 and __PFX_divmodti4.
6435
6436 2016-10-24 Florian Weimer <fweimer@redhat.com>
6437
6438 PR libgcc/78064
6439 * unwind-c.c: Include auto-target.h.
6440
6441 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
6442
6443 * config/pa/pa64-hpux-lib.h: New file.
6444 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
6445 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
6446 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
6447 hppa*64*-*-hpux11*.
6448
6449 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
6450
6451 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
6452 definition.
6453 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
6454 definition.
6455 * config/xtensa/t-windowed (LIB2ADDEH): Use
6456 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
6457 or xtensa/t-linux.
6458
6459 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
6460
6461 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
6462 __ieee754_sqrt): New functions.
6463 (__divdf3): Add implementation with new FPU instructions under
6464 #if XCHAL_HAVE_DFP_DIV.
6465 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
6466 __ieee754_sqrtf): New functions.
6467 (__divsf3): Add implementation with new FPU instructions under
6468 #if XCHAL_HAVE_FP_DIV.
6469 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
6470 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
6471
6472 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
6473
6474 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
6475 equivalent.
6476 * config/tilepro/atomic.c: Likewise and stop casting model to
6477 enum memmodel.
6478
6479 2016-10-10 Joseph Myers <joseph@codesourcery.com>
6480
6481 PR target/77586
6482 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
6483 soft-fp.
6484
6485 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
6486
6487 * config.host: Add support for aarch64-*-freebsd*.
6488
6489 2016-10-05 Andreas Schwab <schwab@suse.de>
6490
6491 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
6492 (.section .init_array): Don't call __do_jv_register_classes.
6493 (.section .init): Likewise.
6494
6495 2016-10-04 Jakub Jelinek <jakub@redhat.com>
6496
6497 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
6498 (__JCR_LIST__): Remove.
6499 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
6500 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
6501 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
6502 * config/ia64/crtend.S (__JCR_END__): Remove.
6503 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
6504 conditionals.
6505 (__JCR_LIST__, __JCR_END__): Remove.
6506 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
6507 (__do_global_ctors_1): Likewise.
6508
6509 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
6510
6511 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
6512 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
6513
6514 2016-09-27 Martin Liska <mliska@suse.cz>
6515
6516 PR gcov-profile/7970
6517 PR gcov-profile/16855
6518 PR gcov-profile/44779
6519 * libgcov-driver.c (__gcov_init): Do not register a atexit
6520 handler.
6521 (__gcov_exit): Rename from gcov_exit.
6522 * libgcov.h (__gcov_exit): Declare.
6523
6524 2016-09-27 Martin Liska <mliska@suse.cz>
6525
6526 PR bootstrap/77749
6527 * Makefile.in: Remove _gcov_merge_delta.
6528 * libgcov-merge.c (void __gcov_merge_delta): Remove.
6529 * libgcov-util.c (__gcov_delta_counter_op): Remove.
6530 * libgcov.h: Remove declaration of __gcov_merge_delta.
6531
6532 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
6533
6534 * configure.ac: Do not create links, only substitute the filenames.
6535 * configure: Regenerate.
6536 * Makefile.in: Assign the substitution results to variables.
6537 (LIBGCC_LINKS): Define.
6538 (enable-execute-stack.c): New rule.
6539 (unwind.h): Likewise.
6540 (md-unwind-support.h): Likewise.
6541 (sfp-machine.h): Likewise.
6542 (gthr-default.h): Likewise.
6543 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
6544 unwind.h as prerequisite of install-unwind_h-forbuild.
6545
6546 2016-09-16 Jakub Jelinek <jakub@redhat.com>
6547
6548 PR libgcc/71744
6549 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
6550 is not the primary registry and atomics are available.
6551 (any_objects_registered): New variable.
6552 (__register_frame_info_bases, __register_frame_info_table_bases):
6553 Atomically store 1 to any_objects_registered after registering first
6554 unwind info.
6555 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
6556
6557 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
6558
6559 PR target/63250
6560 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
6561 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
6562 (HFtype): Likewise.
6563 (HCtype): Likewise.
6564 (__divhc3): Likewise.
6565 (__mulhc3): Likewise.
6566 * libgcc2.c: Support _mulhc3 and _divhc3.
6567
6568 2016-09-07 Joseph Myers <joseph@codesourcery.com>
6569
6570 PR libgcc/77519
6571 * libgcc2.c (NOTRUNC): Invert settings.
6572
6573 2016-09-06 Martin Liska <mliska@suse.cz>
6574
6575 PR gcov-profile/77378
6576 PR gcov-profile/77466
6577 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
6578 conditionaly enable/disable *_atomic functions.
6579
6580 2016-08-26 Joseph Myers <joseph@codesourcery.com>
6581
6582 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
6583 where not already enabled.
6584
6585 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
6586
6587 * config/mips/linux-unwind.h: Use sys/syscall.h.
6588
6589 2016-08-16 Joseph Myers <joseph@codesourcery.com>
6590
6591 PR libgcc/77265
6592 * soft-fp/adddf3.c: Update from glibc.
6593 * soft-fp/addsf3.c: Likewise.
6594 * soft-fp/addtf3.c: Likewise.
6595 * soft-fp/divdf3.c: Likewise.
6596 * soft-fp/divsf3.c: Likewise.
6597 * soft-fp/divtf3.c: Likewise.
6598 * soft-fp/double.h: Likewise.
6599 * soft-fp/eqdf2.c: Likewise.
6600 * soft-fp/eqsf2.c: Likewise.
6601 * soft-fp/eqtf2.c: Likewise.
6602 * soft-fp/extenddftf2.c: Likewise.
6603 * soft-fp/extended.h: Likewise.
6604 * soft-fp/extendsfdf2.c: Likewise.
6605 * soft-fp/extendsftf2.c: Likewise.
6606 * soft-fp/extendxftf2.c: Likewise.
6607 * soft-fp/fixdfdi.c: Likewise.
6608 * soft-fp/fixdfsi.c: Likewise.
6609 * soft-fp/fixdfti.c: Likewise.
6610 * soft-fp/fixsfdi.c: Likewise.
6611 * soft-fp/fixsfsi.c: Likewise.
6612 * soft-fp/fixsfti.c: Likewise.
6613 * soft-fp/fixtfdi.c: Likewise.
6614 * soft-fp/fixtfsi.c: Likewise.
6615 * soft-fp/fixtfti.c: Likewise.
6616 * soft-fp/fixunsdfdi.c: Likewise.
6617 * soft-fp/fixunsdfsi.c: Likewise.
6618 * soft-fp/fixunsdfti.c: Likewise.
6619 * soft-fp/fixunssfdi.c: Likewise.
6620 * soft-fp/fixunssfsi.c: Likewise.
6621 * soft-fp/fixunssfti.c: Likewise.
6622 * soft-fp/fixunstfdi.c: Likewise.
6623 * soft-fp/fixunstfsi.c: Likewise.
6624 * soft-fp/fixunstfti.c: Likewise.
6625 * soft-fp/floatdidf.c: Likewise.
6626 * soft-fp/floatdisf.c: Likewise.
6627 * soft-fp/floatditf.c: Likewise.
6628 * soft-fp/floatsidf.c: Likewise.
6629 * soft-fp/floatsisf.c: Likewise.
6630 * soft-fp/floatsitf.c: Likewise.
6631 * soft-fp/floattidf.c: Likewise.
6632 * soft-fp/floattisf.c: Likewise.
6633 * soft-fp/floattitf.c: Likewise.
6634 * soft-fp/floatundidf.c: Likewise.
6635 * soft-fp/floatundisf.c: Likewise.
6636 * soft-fp/floatunditf.c: Likewise.
6637 * soft-fp/floatunsidf.c: Likewise.
6638 * soft-fp/floatunsisf.c: Likewise.
6639 * soft-fp/floatunsitf.c: Likewise.
6640 * soft-fp/floatuntidf.c: Likewise.
6641 * soft-fp/floatuntisf.c: Likewise.
6642 * soft-fp/floatuntitf.c: Likewise.
6643 * soft-fp/gedf2.c: Likewise.
6644 * soft-fp/gesf2.c: Likewise.
6645 * soft-fp/getf2.c: Likewise.
6646 * soft-fp/ledf2.c: Likewise.
6647 * soft-fp/lesf2.c: Likewise.
6648 * soft-fp/letf2.c: Likewise.
6649 * soft-fp/muldf3.c: Likewise.
6650 * soft-fp/mulsf3.c: Likewise.
6651 * soft-fp/multf3.c: Likewise.
6652 * soft-fp/negdf2.c: Likewise.
6653 * soft-fp/negsf2.c: Likewise.
6654 * soft-fp/negtf2.c: Likewise.
6655 * soft-fp/op-1.h: Likewise.
6656 * soft-fp/op-2.h: Likewise.
6657 * soft-fp/op-4.h: Likewise.
6658 * soft-fp/op-8.h: Likewise.
6659 * soft-fp/op-common.h: Likewise.
6660 * soft-fp/quad.h: Likewise.
6661 * soft-fp/single.h: Likewise.
6662 * soft-fp/soft-fp.h: Likewise.
6663 * soft-fp/subdf3.c: Likewise.
6664 * soft-fp/subsf3.c: Likewise.
6665 * soft-fp/subtf3.c: Likewise.
6666 * soft-fp/truncdfsf2.c: Likewise.
6667 * soft-fp/trunctfdf2.c: Likewise.
6668 * soft-fp/trunctfsf2.c: Likewise.
6669 * soft-fp/trunctfxf2.c: Likewise.
6670 * soft-fp/unorddf2.c: Likewise.
6671 * soft-fp/unordsf2.c: Likewise.
6672 * soft-fp/unordtf2.c: Likewise.
6673
6674 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
6675
6676 PR gcov-profile/67097
6677 * libgcov-util.c (gcov_profile_merge): Skip missing files.
6678
6679 2016-08-10 Martin Liska <mliska@suse.cz>
6680
6681 PR gcov-profile/58306
6682 * Makefile.in: New functions (modules) are added.
6683 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
6684 function.
6685 (__gcov_pow2_profiler_atomic): New function.
6686 (__gcov_one_value_profiler_body): New argument is instroduced.
6687 (__gcov_one_value_profiler): Call with the new argument.
6688 (__gcov_one_value_profiler_atomic): Likewise.
6689 (__gcov_indirect_call_profiler_v2): Likewise.
6690 (__gcov_time_profiler_atomic): New function.
6691 (__gcov_average_profiler_atomic): Likewise.
6692 (__gcov_ior_profiler_atomic): Likewise.
6693 * libgcov.h: Declare the aforementioned functions.
6694
6695 2016-08-09 Martin Liska <mliska@suse.cz>
6696
6697 * libgcov-util.c: Fix typo and GNU coding style.
6698
6699 2016-08-09 Martin Liska <mliska@suse.cz>
6700
6701 * Makefile.in: Remove __gcov_indirect_call_profiler.
6702 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
6703 function.
6704 * libgcov.h: And the declaration of the function.
6705
6706 2016-08-09 Martin Liska <mliska@suse.cz>
6707
6708 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
6709 power of two.
6710
6711 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
6712
6713 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
6714 * config/rs6000/_mulkc3.c: Likewise.
6715
6716 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
6717
6718 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
6719 zero_reg as previous call to __umulhisi3 already cleared it.
6720
6721 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
6722
6723 PR target/59833
6724 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
6725
6726 2016-07-19 Nick Clifton <nickc@redhat.com>
6727
6728 * config.host (m32r): Add m32r/t-m32r to tmake_file.
6729 Add crtinit.o and crtfini.o to extra_parts.
6730
6731 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
6732
6733 * config/rs6000/_divkc3.c: New.
6734 * config/rs6000/_mulkc3.c: New.
6735 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
6736 and _divkc3.
6737 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
6738 fp128_ppc_funcs.
6739
6740 2016-07-11 Hale Wang <hale.wang@arm.com>
6741 Andre Vieira <andre.simoesdiasvieira@arm.com>
6742
6743 * config/arm/lib1funcs.S: Add new wrapper.
6744
6745 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
6746
6747 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
6748
6749 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
6750
6751 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
6752 and ARMv5t* rather than for a fixed list of architectures.
6753
6754 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
6755
6756 * config/arm/bpabi-v6m.S: Clarify what architectures is the
6757 implementation suitable for.
6758 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
6759 for all Thumb-1 only targets.
6760 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
6761 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
6762 __ARM_ARCH_6M__.
6763 (EQUIV): Likewise.
6764 (ARM_FUNC_ALIAS): Likewise.
6765 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
6766 version.
6767 (modsi3): Likewise.
6768 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
6769 (clzdi2): Likewise.
6770 (ctzsi2): Likewise.
6771 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
6772 __ARM_ARCH_6M__ in guard for checking whether it is defined.
6773 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
6774 __ARM_ARCH_6M__ and add comment to indicate the connection between
6775 this condition and the one in gcc/config/arm/elf.h.
6776 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
6777 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
6778 * config/arm/t-softfp: Likewise.
6779
6780 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6781
6782 * libgcc2.c (SYMBOL__MAIN): Remove checks for
6783 CTOR_LISTS_DEFINED_EXTERNALLY.
6784
6785 2016-06-28 Walter Lee <walt@tilera.com>
6786
6787 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
6788 asm/unistd.h.
6789 (SPR_CMPEXCH_VALUE): Define for tilegx.
6790 (__NR_FAST_cmpxchg): Define for tilepro.
6791 (__NR_FAST_atomic_update): Define for tilepro.
6792 (__NR_FAST_cmpxchg64): Define for tilepro.
6793
6794 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
6795
6796 * config.host: Add suport for arm*-*-phoenix* targets.
6797
6798 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6799
6800 * config.host: Remove support for mep-*.
6801 * config/mep/lib1funcs.S: Remove.
6802 * config/mep/lib2funcs.c: Remove.
6803 * config/mep/t-mep: Remove.
6804 * config/mep/tramp.c: Remove.
6805
6806 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6807
6808 * config.host: Remove support for avr-rtems.
6809 * config/avr/t-rtems: Remove.
6810
6811 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6812
6813 * config.host: Remove m32r-rtems support.
6814
6815 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6816
6817 * config.host: Remove h8300-rtems support.
6818
6819 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6820
6821 * config.host: Remove support for knetbsd.
6822
6823 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6824
6825 * config.host: Remove support for openbsd 2 and 3.
6826
6827 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6828
6829 * config.host: Remove interix support.
6830 * config/i386/t-interix: Remove.
6831
6832 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
6833
6834 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
6835 least-significant bit in function pointer for fixup.
6836
6837 2016-06-05 Aaron Conole <aconole@redhat.com>
6838 Nathan Sidwell <nathan@acm.org>
6839
6840 PR libgcc/71400
6841 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
6842 (get_gcov_error_file): Check __gcov_error_file before trying to
6843 initialize it.
6844 (gcov_error): Always use get_gcov_error_file.
6845
6846 2016-06-02 Aaron Conole <aconole@redhat.com>
6847
6848 * libgcov-driver-system.c (__gcov_error_file): New.
6849 (get_gcov_error_file): New.
6850 (gcov_error): Use and set __gcov_error_file.
6851 (gcov_error_exit): New.
6852 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
6853
6854 2016-05-26 Nathan Sidwell <nathan@acm.org>
6855
6856 * config/nvptx/free.asm: Delete.
6857 * config/nvptx/malloc.asm: Delete.
6858 * config/nvptx/realloc.c: Delete.
6859 * t-nvptx: Update.
6860
6861 2016-05-25 Nathan Sidwell <nathan@acm.org>
6862
6863 * config/nvptx/crt0.s: Delete.
6864 * config/nvptx/crt0.c: New.
6865 * t-nvptx: Update.
6866
6867 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
6868
6869 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6870 dw2/seh configuration.
6871 [x86_64-*-mingw*]: Likewise.
6872
6873 2016-05-10 Joel Sherrill <joel@rtems.org>
6874
6875 PR libgcc/70720
6876 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
6877 targets so the same extra_parts are built. Also have tmake_file add
6878 on to its value rather than override.
6879
6880 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
6881
6882 * config.host: Remove SH5 support.
6883 * configure: Likewise.
6884
6885 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
6886
6887 * config/sh/crt1.S: Remove SH5 support.
6888 * config/sh/crti.S: Likewise.
6889 * config/sh/crtn.S: Likewise.
6890 * config/sh/lib1funcs-4-300.S: Likewise.
6891 * config/sh/lib1funcs-Os-4-200.S: Likewise.
6892 * config/sh/lib1funcs.S: Likewise.
6893 * config/sh/linux-unwind.h: Likewise.
6894 * config/sh/t-sh64: Delete.
6895
6896 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
6897
6898 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
6899
6900 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
6901 Joern Rennecke <joern.rennecke@embecosm.com>
6902
6903 * config/arc/crttls.S: New file.
6904 * config/arc/t-arc: New rule.
6905 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
6906
6907 2016-04-25 Nick Clifton <nickc@redhat.com>
6908
6909 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
6910 (__mspabi_cmpd): Likewise.
6911 * config/msp430/floathidf.c (__floathidf): Likewise.
6912 * config/msp430/floathisf.c (__floathisf): Likewise
6913 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
6914 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
6915 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
6916 second parameter.
6917 (__ashrsi3): Likewise.
6918
6919 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
6920
6921 * config/m68k/linux-atomic.c: Do not include unistd.h
6922
6923 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
6924
6925 * config/arm/ieee754-df.S: Fix typos in comments.
6926
6927 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
6928
6929 PR target/70381
6930 * configure.ac (powerpc*-*-linux*): Rework tests to build
6931 __float128 emulation routines to not depend on using #pragma GCC
6932 target to enable -mfloat128.
6933 * configure: Regnerate.
6934
6935 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
6936
6937 PR target/67172
6938 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
6939 __MINGW32__ is defined.
6940
6941 2016-03-28 James Bowman <james.bowman@ftdichip.com>
6942
6943 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
6944
6945 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
6946
6947 PR libgcc/70363
6948 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
6949 built with an assembler that does not support ISA 3.0
6950 instructions, rename __extendkftf2_sw to __extendkftf2.
6951
6952 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6953
6954 PR target/38239
6955 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
6956 call-clobbered registers.
6957 (internal_mcount): Remove __i386__ handling.
6958
6959 2016-02-26 Joel Sherrill <joel@rtems.org>
6960
6961 * config.host: Add x86_64-*-rtems*.
6962
6963 2016-02-26 Joel Sherrill <joel@rtems.org>
6964
6965 * libgcc/config.host: Add aarch64-*-rtems*.
6966
6967 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6968 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
6969
6970 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
6971 union of u64 and double.
6972 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
6973 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
6974 value.
6975 (FP_ROUNDMODE): Update the usage of _fpscr.
6976
6977 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
6978
6979 PR driver/68463
6980 * Makefile.in (crtoffloadtable$(objext)): New rule.
6981 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
6982 enable_offload_targets is not empty.
6983 * configure: Regenerate.
6984 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
6985 crtoffloadtable.
6986
6987 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
6988
6989 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
6990 .literal_position before the function.
6991 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
6992 Likewise.
6993
6994 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
6995
6996 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
6997 * config/s390/morestack.S: New file.
6998 * config/s390/t-stack-s390: New file.
6999 * generic-morestack.c (__splitstack_find): Add s390-specific code.
7000
7001 2016-02-12 Walter Lee <walt@tilera.com>
7002
7003 * config.host (tilegx*-*-linux*): remove ti from
7004 softfp_int_modes for 32-bit configs.
7005
7006 2016-02-10 Ian Lance Taylor <iant@google.com>
7007
7008 PR go/68562
7009 * config/i386/morestack.S (__stack_split_initialize): Align
7010 stack.
7011
7012 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
7013
7014 PR bootstrap/69611
7015 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
7016 __FLOAT128__ to compile only for __float128 capable targets.
7017
7018 2016-01-25 Jakub Jelinek <jakub@redhat.com>
7019
7020 PR target/69444
7021 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
7022 instead of ___NO_FPRS__.
7023
7024 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7025 Steven Munroe <munroesj@linux.vnet.ibm.com>
7026 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
7027
7028 * config/rs6000/float128-sed: New files to convert TF names to KF
7029 names for PowerPC IEEE 128-bit floating point support.
7030 * config/rs6000/float128-sed-hw: Likewise.
7031
7032 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
7033 floating point hardware support.
7034
7035 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
7036 128-bit floating point software emulation or use ISA 3.0 hardware
7037 support if it is available.
7038
7039 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
7040 floating point.
7041
7042 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
7043 floating point to IBM extended double.
7044
7045 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
7046 double to IEEE 128-bit floating point.
7047
7048 * config/rs6000/t-float128: New Makefile fragments to enable
7049 building __float128 emulation support.
7050 * config/rs6000/t-float128-hw: Likewise.
7051
7052 * config/rs6000/sfp-exceptions.c: New file to provide exception
7053 support for IEEE 128-bit floating point.
7054
7055 * config/rs6000/floattikf.c: New files for converting between IEEE
7056 128-bit floating point and signed/unsigned 128-bit integers.
7057 * config/rs6000/fixunskfti.c: Likewise.
7058 * config/rs6000/fixkfti.c: Likewise.
7059 * config/rs6000/floatuntikf.c: Likewise.
7060
7061 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
7062 when building on 64-bit systems, or when VSX is enabled.
7063 (_FP_W_TYPE): Likewise.
7064 (_FP_WS_TYPE): Likewise.
7065 (_FP_I_TYPE): Likewise.
7066 (TItype): Define on 64-bit systems.
7067 (UTItype): Likewise.
7068 (TI_BITS): Likewise.
7069 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
7070 (_FP_MUL_MEAT_Q): Likewise.
7071 (_FP_DIV_MEAT_D): Likewise.
7072 (_FP_DIV_MEAT_Q): Likewise.
7073 (_FP_NANFRAC_D): Likewise.
7074 (_FP_NANFRAC_Q): Likewise.
7075 (ISA_BIT): Add exception support if we are being compiled on a
7076 machine with hardware floating point support to build the IEEE
7077 128-bit emulation functions.
7078 (FP_EX_INVALID): Likewise.
7079 (FP_EX_OVERFLOW): Likewise.
7080 (FP_EX_UNDERFLOW): Likewise.
7081 (FP_EX_DIVZERO): Likewise.
7082 (FP_EX_INEXACT): Likewise.
7083 (FP_EX_ALL): Likewise.
7084 (__sfp_handle_exceptions): Likewise.
7085 (FP_HANDLE_EXCEPTIONS): Likewise.
7086 (FP_RND_NEAREST): Likewise.
7087 (FP_RND_ZERO): Likewise.
7088 (FP_RND_PINF): Likewise.
7089 (FP_RND_MINF): Likewise.
7090 (FP_RND_MASK): Likewise.
7091 (_FP_DECL_EX): Likewise.
7092 (FP_INIT_ROUNDMODE): Likewise.
7093 (FP_ROUNDMODE): Likewise.
7094
7095 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
7096 VSX code, enable IEEE 128-bit floating point. If the compiler can
7097 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
7098 floating point hardware instructions and it supports declaring
7099 functions with the ifunc attribute, enable ifunc functions to
7100 switch between software and hardware support.
7101 * configure.ac (powerpc*-*-linux*): Likewise.
7102 * configure: Regenerate.
7103
7104 2016-01-15 Nick Clifton <nickc@redhat.com>
7105
7106 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
7107 dependency as the source file to be compiled.
7108 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
7109 (lib2hw_mul_f5.o): Likewise.
7110
7111 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7112
7113 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
7114 * libgcc/config/rs6000/fixkfti.c: Likewise.
7115 * libgcc/config/rs6000/fixunskfti.c: Likewise.
7116 * libgcc/config/rs6000/float128-hw.c: Likewise.
7117 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
7118 * libgcc/config/rs6000/float128-sed: Likewise.
7119 * libgcc/config/rs6000/floattikf.c: Likewise.
7120 * libgcc/config/rs6000/floatuntikf.c: Likewise.
7121 * libgcc/config/rs6000/quad-float128.h: Likewise.
7122 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
7123 * libgcc/config/rs6000/sfp-machine.h: Likewise.
7124 * libgcc/config/rs6000/t-float128: Likewise.
7125 * libgcc/config/rs6000/t-float128-hw: Likewise.
7126 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
7127 * libgcc/config.host: Likewise.
7128 * libgcc/configure: Likewise.
7129 * libgcc/configure.ac: Likewise.
7130
7131 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7132 Steven Munroe <munroesj@linux.vnet.ibm.com>
7133 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
7134
7135 * config/rs6000/sfp-exceptions.c: New file to provide exception
7136 support for IEEE 128-bit floating point.
7137
7138 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
7139 floating point hardware support.
7140
7141 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
7142 point conversions.
7143 * config/rs6000/fixunskfti.c: Likewise.
7144 * config/rs6000/fixkfti.c: Likewise.
7145 * config/rs6000/floatuntikf.c: Likewise.
7146 * config/rs6000/extendkftf2-sw.c: Likewise.
7147 * config/rs6000/trunctfkf2-sw.c: Likewise.
7148
7149 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
7150 128-bit floating point software emulation or use ISA 3.0 hardware
7151 support if it is available.
7152
7153 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
7154 floating point.
7155
7156 * config/rs6000/t-float128: New Makefile fragments to enable
7157 building __float128 emulation support.
7158 * config/rs6000/t-float128-hw: Likewise.
7159
7160 * config/rs6000/float128-sed: New file to convert TF names to KF
7161 names for PowerPC IEEE 128-bit floating point support.
7162
7163 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
7164 when building on 64-bit systems, or when VSX is enabled.
7165 (_FP_W_TYPE): Likewise.
7166 (_FP_WS_TYPE): Likewise.
7167 (_FP_I_TYPE): Likewise.
7168 (TItype): Define on 64-bit systems.
7169 (UTItype): Likewise.
7170 (TI_BITS): Likewise.
7171 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
7172 (_FP_MUL_MEAT_Q): Likewise.
7173 (_FP_DIV_MEAT_D): Likewise.
7174 (_FP_DIV_MEAT_Q): Likewise.
7175 (_FP_NANFRAC_D): Likewise.
7176 (_FP_NANFRAC_Q): Likewise.
7177 (ISA_BIT): Add exception support if we are being compiled on a
7178 machine with hardware floating point support to build the IEEE
7179 128-bit emulation functions.
7180 (FP_EX_INVALID): Likewise.
7181 (FP_EX_OVERFLOW): Likewise.
7182 (FP_EX_UNDERFLOW): Likewise.
7183 (FP_EX_DIVZERO): Likewise.
7184 (FP_EX_INEXACT): Likewise.
7185 (FP_EX_ALL): Likewise.
7186 (__sfp_handle_exceptions): Likewise.
7187 (FP_HANDLE_EXCEPTIONS): Likewise.
7188 (FP_RND_NEAREST): Likewise.
7189 (FP_RND_ZERO): Likewise.
7190 (FP_RND_PINF): Likewise.
7191 (FP_RND_MINF): Likewise.
7192 (FP_RND_MASK): Likewise.
7193 (_FP_DECL_EX): Likewise.
7194 (FP_INIT_ROUNDMODE): Likewise.
7195 (FP_ROUNDMODE): Likewise.
7196
7197 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
7198 compiler can do __float128.
7199 * configure: Regenerate.
7200
7201 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
7202 VSX code, enable IEEE 128-bit floating point.
7203
7204 2016-01-05 Olivier Hainque <hainque@adacore.com>
7205
7206 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
7207 specificities.
7208
7209 2016-01-04 Jakub Jelinek <jakub@redhat.com>
7210
7211 Update copyright years.
7212
7213 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
7214
7215 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
7216 soft-fp targets.
7217
7218 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
7219
7220 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
7221 instead of abort to avoid dependency on stdlib.h.
7222
7223 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
7224
7225 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
7226 to initialize call to __dl_fixup once.
7227
7228 2015-12-04 Nick Clifton <nickc@redhat.com>
7229
7230 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
7231 Allow for the second argument being negative.
7232 * config.host (extra_parts): Define for MSP430. Create separate
7233 libraries for each of the hardware multiply formats.
7234 * config/msp430/lib2hw_mul.S: Build only the multiply routines
7235 that are needed.
7236 * config/msp430/lib2mul.c: Likewise.
7237 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
7238 Add rules to build hardware multiply libraries.
7239 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
7240 __mspabi_divul function.
7241 (__mspabi_divllu): New stub function.
7242
7243 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
7244
7245 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
7246 fixup values if saved GOT address doesn't match runtime address.
7247 (fixup_branch_offset): Reorder list.
7248
7249 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7250
7251 * Makefile.in (VTV_CFLAGS): New variable.
7252 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
7253 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
7254 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
7255 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
7256 to extra_parts if $enable_vtable_verify = yes.
7257
7258 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
7259
7260 PR target/68059
7261 * config/arm/linux-atomic-64bit.c (__write): Rename to...
7262 (write): ...this and fix the return type.
7263
7264 2015-11-19 DJ Delorie <dj@redhat.com>
7265
7266 * config/msp430/lib2hw_mul.S: Fix alignment.
7267
7268 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
7269
7270 * config/nvptx/reduction.c: New.
7271 * config/nvptx/t-nvptx (LIB2ADD): Add it.
7272
7273 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
7274
7275 * config/rs6000/on_exit.c: New file.
7276 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
7277 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
7278
7279 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
7280
7281 * config/arc/dp-hack.h: Add support for ARCHS.
7282 * config/arc/ieee-754/divdf3.S: Likewise.
7283 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7284 * config/arc/ieee-754/muldf3.S: Likewise.
7285 * config/arc/ieee-754/mulsf3.S: Likewise
7286 * config/arc/lib1funcs.S: Likewise
7287 * config/arc/gmon/dcache_linesz.S: Don't read the build register
7288 for ARCv2 cores.
7289 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
7290 for ARCv2 cores.
7291 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
7292 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
7293 cores.
7294
7295 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7296
7297 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
7298 value.
7299 * config/ia64/crtend.S: Likewise.
7300
7301 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
7302
7303 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
7304 __CHAR_BIT__ instead of BITS_PER_UNIT.
7305 * fixed-bit.h: Likewise.
7306 * fp-bit.h: Likewise.
7307 * libgcc2.c (__popcountSI2): Likewise.
7308 (__popcountDI2): Likewise.
7309 * libgcc2.h: Likewise.
7310 * libgcov.h: Likewise.
7311
7312 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
7313
7314 * config/rs6000/atexit.c: New file.
7315 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
7316 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
7317 * config/rs6000/cxa_finalize.c
7318 (catomic_compare_and_exchange_bool_acq): Negate return value.
7319
7320 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
7321
7322 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
7323 (processor_subtypes): Add znver1.
7324 (get_amd_cpu): Detect znver1.
7325
7326 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
7327
7328 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
7329 Include crtfastmath.o.
7330
7331 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
7332
7333 PR libgcc/66883
7334 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
7335
7336 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
7337
7338 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
7339 * config/rl78/divmodsi.S: Update return register to r8.
7340 * config/rl78/divmodhi.S: Update return register to r8,r9.
7341 Branch to main_loop_done_himode to pop registers before return.
7342
7343 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
7344
7345 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
7346 (__cpu_indicator_init): Fix model selection for AMD CPUs.
7347
7348 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
7349
7350 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
7351
7352 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
7353
7354 * config.host (xtensa*-*-uclinux*): New configuration.
7355
7356 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
7357
7358 * config/i386/cpuinfo.c (processor_features): Add
7359 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
7360
7361 2015-09-28 Joseph Myers <joseph@codesourcery.com>
7362
7363 * soft-fp/adddf3.c: Update from glibc.
7364 * soft-fp/addsf3.c: Likewise.
7365 * soft-fp/addtf3.c: Likewise.
7366 * soft-fp/divdf3.c: Likewise.
7367 * soft-fp/divsf3.c: Likewise.
7368 * soft-fp/divtf3.c: Likewise.
7369 * soft-fp/double.h: Likewise.
7370 * soft-fp/eqdf2.c: Likewise.
7371 * soft-fp/eqsf2.c: Likewise.
7372 * soft-fp/eqtf2.c: Likewise.
7373 * soft-fp/extenddftf2.c: Likewise.
7374 * soft-fp/extended.h: Likewise.
7375 * soft-fp/extendsfdf2.c: Likewise.
7376 * soft-fp/extendsftf2.c: Likewise.
7377 * soft-fp/extendxftf2.c: Likewise.
7378 * soft-fp/fixdfdi.c: Likewise.
7379 * soft-fp/fixdfsi.c: Likewise.
7380 * soft-fp/fixdfti.c: Likewise.
7381 * soft-fp/fixsfdi.c: Likewise.
7382 * soft-fp/fixsfsi.c: Likewise.
7383 * soft-fp/fixsfti.c: Likewise.
7384 * soft-fp/fixtfdi.c: Likewise.
7385 * soft-fp/fixtfsi.c: Likewise.
7386 * soft-fp/fixtfti.c: Likewise.
7387 * soft-fp/fixunsdfdi.c: Likewise.
7388 * soft-fp/fixunsdfsi.c: Likewise.
7389 * soft-fp/fixunsdfti.c: Likewise.
7390 * soft-fp/fixunssfdi.c: Likewise.
7391 * soft-fp/fixunssfsi.c: Likewise.
7392 * soft-fp/fixunssfti.c: Likewise.
7393 * soft-fp/fixunstfdi.c: Likewise.
7394 * soft-fp/fixunstfsi.c: Likewise.
7395 * soft-fp/fixunstfti.c: Likewise.
7396 * soft-fp/floatdidf.c: Likewise.
7397 * soft-fp/floatdisf.c: Likewise.
7398 * soft-fp/floatditf.c: Likewise.
7399 * soft-fp/floatsidf.c: Likewise.
7400 * soft-fp/floatsisf.c: Likewise.
7401 * soft-fp/floatsitf.c: Likewise.
7402 * soft-fp/floattidf.c: Likewise.
7403 * soft-fp/floattisf.c: Likewise.
7404 * soft-fp/floattitf.c: Likewise.
7405 * soft-fp/floatundidf.c: Likewise.
7406 * soft-fp/floatundisf.c: Likewise.
7407 * soft-fp/floatunditf.c: Likewise.
7408 * soft-fp/floatunsidf.c: Likewise.
7409 * soft-fp/floatunsisf.c: Likewise.
7410 * soft-fp/floatunsitf.c: Likewise.
7411 * soft-fp/floatuntidf.c: Likewise.
7412 * soft-fp/floatuntisf.c: Likewise.
7413 * soft-fp/floatuntitf.c: Likewise.
7414 * soft-fp/gedf2.c: Likewise.
7415 * soft-fp/gesf2.c: Likewise.
7416 * soft-fp/getf2.c: Likewise.
7417 * soft-fp/ledf2.c: Likewise.
7418 * soft-fp/lesf2.c: Likewise.
7419 * soft-fp/letf2.c: Likewise.
7420 * soft-fp/muldf3.c: Likewise.
7421 * soft-fp/mulsf3.c: Likewise.
7422 * soft-fp/multf3.c: Likewise.
7423 * soft-fp/negdf2.c: Likewise.
7424 * soft-fp/negsf2.c: Likewise.
7425 * soft-fp/negtf2.c: Likewise.
7426 * soft-fp/op-1.h: Likewise.
7427 * soft-fp/op-2.h: Likewise.
7428 * soft-fp/op-4.h: Likewise.
7429 * soft-fp/op-8.h: Likewise.
7430 * soft-fp/op-common.h: Likewise.
7431 * soft-fp/quad.h: Likewise.
7432 * soft-fp/single.h: Likewise.
7433 * soft-fp/soft-fp.h: Likewise.
7434 * soft-fp/subdf3.c: Likewise.
7435 * soft-fp/subsf3.c: Likewise.
7436 * soft-fp/subtf3.c: Likewise.
7437 * soft-fp/truncdfsf2.c: Likewise.
7438 * soft-fp/trunctfdf2.c: Likewise.
7439 * soft-fp/trunctfsf2.c: Likewise.
7440 * soft-fp/trunctfxf2.c: Likewise.
7441 * soft-fp/unorddf2.c: Likewise.
7442 * soft-fp/unordsf2.c: Likewise.
7443 * soft-fp/unordtf2.c: Likewise.
7444
7445 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
7446
7447 PR libgcc/67624
7448 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
7449
7450 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7451
7452 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
7453 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
7454 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
7455 messages.
7456 (internal_mcount): Likewise.
7457 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
7458 crt_compile, add CRTSTUFF_T_CFLAGS_S.
7459
7460 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7461
7462 * configure.ac (libgcc_cv_solaris_crts): New test.
7463 * configure: Regenerate.
7464 * config.in: Regenerate.
7465 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
7466 * config/gmon-sol2.c: Rename to ...
7467 * config/sol2/gmon.c: ... this.
7468 Include auto-target.h.
7469 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
7470 * config/t-sol2: Rename to ...
7471 * config/sol2/t-sol2: ... this.
7472 (gmon.o): Reflect renaming.
7473 (crtp.o, crtpg.o): New rules.
7474 * config.host (*-*-solaris2*): Reflect renaming.
7475 Use system CRTs if present.
7476 Remove default CRT case.
7477
7478 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
7479
7480 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
7481 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
7482 __kernel_cmpxchg2.
7483 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
7484 (__sync_val_compare_and_swap_##WIDTH): Likewise.
7485 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
7486 (__sync_lock_test_and_set_##WIDTH): Likewise.
7487 (__sync_lock_release_##WIDTH): Likewise.
7488 (__sync_fetch_and_##OP##_4): Change result to match type of
7489 __kernel_cmpxchg.
7490 (__sync_##OP##_and_fetch_4): Likewise.
7491 (__sync_val_compare_and_swap_4): Likewise.
7492 (__sync_bool_compare_and_swap_4): likewise.
7493 (__sync_lock_test_and_set_4): Likewise.
7494 (__sync_lock_release_4): Likewise.
7495 (FETCH_AND_OP_2): Add long long variants.
7496 (OP_AND_FETCH_2): Likewise.
7497 (COMPARE_AND_SWAP_2 ): Likewise.
7498 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7499 (SYNC_LOCK_RELEASE_2): Likewise.
7500 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
7501
7502 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
7503
7504 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
7505 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
7506 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
7507 (get_available_features): Habdle new features.
7508
7509 2015-09-21 James Bowman <james.bowman@ftdichip.com>
7510
7511 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
7512 memory layout. Deal correctly with BSS region larger than 32K.
7513 Handle a watchdog reset like a power-on reset. Clean up unused
7514 code.
7515
7516 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
7517 David Edelsohn <dje.gcc@gmail.com>
7518
7519 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
7520 * config/rs6000/crtdbase.S: New file.
7521 * config/rs6000/t-aix-cxa: Build crtdbase.o.
7522
7523 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
7524
7525 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
7526 Add support for call0 ABI.
7527
7528 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
7529
7530 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
7531
7532 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
7533
7534 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
7535 (__GTHREAD_HAS_COND): Likewise.
7536 (__gthread_t): Likewise.
7537 (__gthread_cond_t): Likewise.
7538 (__gthread_time_t): Likewise.
7539 (__GTHREAD_MUTEX_INIT): Likewise.
7540 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
7541 (__GTHREAD_COND_INIT): Likewise.
7542 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
7543 (__GTHREAD_TIME_INIT): Likewise.
7544 (__gthread_create): Likewise.
7545 (__gthread_join): Likewise.
7546 (__gthread_detach): Likewise.
7547 (__gthread_equal): Likewise.
7548 (__gthread_self): Likewise.
7549 (__gthread_yield): Likewise.
7550 (__gthread_cond_broadcast): Likewise.
7551 (__gthread_cond_signal): Likewise.
7552 (__gthread_cond_wait): Likewise.
7553 (__gthread_cond_timedwait): Likewise.
7554 (__gthread_cond_wait_recursive): Likewise.
7555 (__gthread_cond_destroy): Likewise.
7556 (rtems_gxx_once): Delete.
7557 (rtems_gxx_key_create): Likewise.
7558 (rtems_gxx_key_delete): Likewise.
7559 (rtems_gxx_getspecific): Likewise.
7560 (rtems_gxx_setspecific): Likewise.
7561 (rtems_gxx_mutex_init): Likewise.
7562 (rtems_gxx_mutex_destroy): Likewise.
7563 (rtems_gxx_mutex_lock): Likewise.
7564 (rtems_gxx_mutex_trylock): Likewise.
7565 (rtems_gxx_mutex_unlock): Likewise.
7566 (rtems_gxx_recursive_mutex_init): Likewise.
7567 (rtems_gxx_recursive_mutex_lock): Likewise.
7568 (rtems_gxx_recursive_mutex_trylock): Likewise.
7569 (rtems_gxx_recursive_mutex_unlock): Likewise.
7570 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
7571 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
7572 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
7573 (__gthread_once): Likewise.
7574 (__gthread_key_create): Likewise.
7575 (__gthread_key_delete): Likewise.
7576 (__gthread_getspecific): Likewise.
7577 (__gthread_setspecific): Likewise.
7578 (__gthread_key_t): Use <pthread.h> type.
7579 (__gthread_once_t): Likewise
7580 (__gthread_mutex_t): Use <sys/lock.h> type.
7581 (__gthread_recursive_mutex_t): Likewise
7582 (__gthread_mutex_lock): Use <sys/lock.h> function.
7583 (__gthread_mutex_trylock): Likewise.
7584 (__gthread_mutex_timedlock): Likewise.
7585 (__gthread_mutex_unlock): Likewise.
7586 (__gthread_mutex_destroy): Likewise.
7587 (__gthread_recursive_mutex_lock): Likewise.
7588 (__gthread_recursive_mutex_trylock): Likewise.
7589 (__gthread_recursive_mutex_timedlock): Likewise.
7590 (__gthread_recursive_mutex_unlock): Likewise.
7591 (__gthread_recursive_mutex_destroy): Likewise.
7592
7593 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
7594
7595 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
7596 context->sp instead of context->cfa.
7597
7598 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
7599
7600 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
7601 with unwind-dw2-fde-dip.
7602
7603 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
7604
7605 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
7606 CALL12 followed by series of ENTRY to spill windowed registers.
7607 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
7608 instead of making linux spill syscall.
7609
7610 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
7611
7612 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
7613 (get_intel_cpu): Likewise.
7614
7615 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
7616
7617 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
7618 (get_intel_cpu): Add Knights Landing support.
7619
7620 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
7621
7622 PR target/66954
7623 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
7624 (get_available_features): Handle FEATURE_PCLMUL.
7625
7626 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
7627
7628 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
7629 Broadwell.
7630
7631 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
7632
7633 PR target/66954
7634 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
7635 (get_available_features): Handle FEATURE_AES.
7636
7637 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
7638
7639 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
7640 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
7641
7642 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
7643
7644 * offloadstuff.c: Constify host data.
7645
7646 2015-07-17 Jan Beulich <jbeulich@suse.com>
7647
7648 * config/t-softfp: Split up "else ifneq".
7649
7650 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
7651 Cesar Philippidis <cesar@codesourcery.com>
7652 Chung-Lin Tang <cltang@codesourcery.com>
7653
7654 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
7655 for __nios2_arch__ level.
7656
7657 2015-07-13 John Marino <gnugcc@marino.st>
7658
7659 * config/i386/t-dragonfly: New.
7660
7661 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
7662
7663 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
7664 better match light-weight syscall argument order.
7665 (__kernel_cmpxchg2): Likewise.
7666 Adjust callers.
7667
7668 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
7669
7670 * config.host: Support i[34567]86-*-elfiamcu target.
7671 * config/t-softfp-sfdftf: New file.
7672 * config/i386/32/t-iamcu: Likewise.
7673 * configure: Regenerated.
7674
7675 2015-06-23 James Lemke <jwlemke@codesourcery.com>
7676
7677 libgcc/config/arm/
7678 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
7679
7680 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
7681
7682 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
7683
7684 2015-05-27 John Marino <gnugcc@marino.st>
7685
7686 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
7687 md_unwind_header
7688 * config/i386/freebsd-unwind.h: New.
7689
7690 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
7691
7692 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
7693 i386/t-crtfm to tmake_file.
7694 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
7695 (set_fast_math): Use set_fast_math_sse for SSE targets.
7696 * config/i386/t-crtfm: Remove.
7697
7698 2015-05-21 Alan Modra <amodra@gmail.com>
7699
7700 PR libgcc/66225
7701 * config/rs6000/morestack.S: Remove ".abiversion 1".
7702
7703 2015-05-20 Alan Modra <amodra@gmail.com>
7704
7705 * config/rs6000/morestack.S: New.
7706 * config/rs6000/t-stack-rs6000: New.
7707 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
7708 to tmake_file.
7709 * generic-morestack.c: Don't build for powerpc 32-bit.
7710
7711 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
7712
7713 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
7714 Remove useless endif/ifneq ($(enable_shared),yes) pair.
7715
7716 2015-05-16 James Bowman <james.bowman@ftdichip.com>
7717
7718 * config.host: FT32 target added.
7719 * config/ft32/*: New files for FT32 target.
7720
7721 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
7722
7723 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
7724 New macros.
7725 * config/arm/ieee754-df.S: Add CFI directives.
7726 * config/arm/ieee754-sf.S: Add CFI directives.
7727
7728 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
7729
7730 * configure.ac: Include config/sjlj.m4.
7731 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
7732 * config.in: Regenerate.
7733 * configure: Likewise.
7734 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
7735
7736 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
7737
7738 * libgcov-util.c: Add space between string literal and macro name.
7739
7740 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
7741 Chris Jones <chrisj@nvidia.com>
7742 Joshua Conner <jconner@nvidia.com>
7743
7744 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
7745 (arm*-*-uclinux*): Likewise.
7746 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
7747 * config/arm/crtfastmath.c: New file.
7748
7749 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
7750
7751 * Makefile.in (real_host_noncanonical): New variable.
7752 (libsubdir): Use it.
7753 * configure.ac (real_host_noncanonical): Compute. Remove special
7754 case for intelmicemul.
7755 * configure: Regenerate.
7756
7757 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
7758
7759 * config/frv/elf-lib.h: New file.
7760 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
7761 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
7762 to tm_file.
7763
7764 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
7765
7766 * config/frv/frvbengin.c: Do not include defaults.h
7767 * config/frv/frvend.c: Ditto.
7768
7769 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
7770
7771 * config.host: Add h8300-*-linux
7772 * config/h8300/t-linux: New file.
7773 * config/h8300/lib1funs.s: Change symbol prefix.
7774 * config/h8300/sfp-machine.h: 64bit double support.
7775
7776 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
7777 Szabolcs Nagy <szabolcs.nagy@arm.com>
7778
7779 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
7780 Linux if target provides dl_iterate_phdr.
7781
7782 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
7783
7784 PR target/65612
7785 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
7786 * config/i386/cpuinfo.c (__cpu_model): Initialize.
7787 (__cpu_indicator_init@GCC_4.8.0): New.
7788 (__cpu_model@GCC_4.8.0): Likewise.
7789 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
7790 -DUSE_ELF_SYMVER.
7791
7792 2015-04-16 Nick Clifton <nickc@redhat.com>
7793
7794 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
7795 and __modhi3 functions.
7796 * config/rl78/divmodso.S: Add G14 and G13 versions of the
7797 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
7798
7799 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
7800
7801 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
7802 do-while loop as macro body to avoid warnings.
7803
7804 2015-04-10 Jakub Jelinek <jakub@redhat.com>
7805 Iain Sandoe <iain@codesourcery.com>
7806
7807 PR target/65351
7808 * configure: Regenerate.
7809
7810 2015-04-07 Jakub Jelinek <jakub@redhat.com>
7811 Iain Sandoe <iain@codesourcery.com>
7812
7813 PR target/65351
7814 * configure: Regenerate.
7815
7816 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
7817
7818 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
7819
7820 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7821
7822 Implement call0 ABI for xtensa
7823 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
7824 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
7825 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
7826 use ret in call0 ABI.
7827 * config/xtensa/t-windowed: New file.
7828 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
7829 * libgcc/configure: Regenerated.
7830 * libgcc/configure.ac: Check if xtensa target is configured for
7831 windowed ABI and thus needs to use custom unwind code.
7832
7833 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
7834
7835 PR libgcc/64885
7836 * gthr-single.h: Use __unused__ attribute instead of unused.
7837 * config/gthr-vxworks.h: Likewise.
7838 * config/i386/gthr-win32.h: Likewise.
7839
7840 2015-02-27 Kai Tietz <ktietz@redhat.com>
7841
7842 PR target/65038
7843 * config.in: Regenerated.
7844 * configure: Likewise.
7845 * configure.ac (AC_HEADER_STDC): Added explicit.
7846 (AC_CHECK_HEADERS): Check for default headers plus
7847 for ftw.h header.
7848 * libgcov-util.c (gcov_read_profile_dir): Disable use
7849 of ftw-function, if header is not found.
7850 (ftw_read_file): Likewise.
7851
7852 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
7853
7854 PR target/65181
7855 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
7856 -Dinhibit_libc.
7857
7858 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
7859
7860 * config/arm/bpabi.S (test_div_by_zero): Make label names
7861 consistent between thumb2 and arm mode cases. Separate the
7862 signed comparison on the high word of the numerator from the
7863 unsigned comparison on the low word.
7864 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
7865 signed comparison.
7866
7867 2015-02-17 Joseph Myers <joseph@codesourcery.com>
7868
7869 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
7870 and <string.h>.
7871 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
7872
7873 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
7874
7875 PR gcov-profile/61889
7876 * libgcov-driver-system.c: undefine clashing macro for mkdir.
7877
7878 2015-02-02 Nick Clifton <nickc@redhat.com>
7879
7880 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
7881 rounding up the fraction.
7882
7883 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
7884
7885 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
7886 oldval and newval to const void *. Fix typo.
7887 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
7888 (FETCH_AND_OP_WORD): Likewise.
7889 (OP_AND_FETCH_WORD): Likewise.
7890 (COMPARE_AND_SWAP_2): Likewise.
7891 (__sync_val_compare_and_swap_4): Likewise.
7892 (__sync_lock_test_and_set_4): Likewise.
7893 (SYNC_LOCK_RELEASE_2): Likewise.
7894 Remove support for long long atomic operations.
7895
7896 2015-01-27 Caroline Tice <cmtice@google.com>
7897
7898 Committing VTV Cywin/Ming patch for Patrick Wollgast
7899 * Makefile.in: Move rules to build vtv_*.o out of the check
7900 for CUSTOM_CRTSTUFF.
7901 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
7902 i[34567]86-*-mingw*)
7903 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
7904 enable_vtable_verify.
7905
7906 2015-01-27 Nick Clifton <nickc@redhat.com>
7907
7908 * config/rl78/cmpsi2.S: Use function start and end macros.
7909 (__gcc_bcmp): New function.
7910 * config/rl78/lshrsi3.S: Use function start and end macros.
7911 * config/rl78/mulsi3.S: Add support for G10.
7912 (__mulqi3): New function for G10.
7913 * config/rl78/signbit.S: Use function start and end macros.
7914 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
7915 fpmath-sf.S.
7916 (LIB2FUNCS_EXCLUDE): Define.
7917 (LIB2FUNCS_ST): Define.
7918 * config/rl78/trampoline.S: Use function start and end macros.
7919 * config/rl78/vregs.h (START_FUNC): New macro.
7920 (START_ANOTHER_FUNC): New macro.
7921 (END_FUNC): New macro.
7922 (END_ANOTHER_FUNC): New macro.
7923 * config/rl78/bit-count.S: New file. Contains assembler
7924 implementations of the bit counting functions: ___clzhi2,
7925 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
7926 __paritysi2, __popcounthi2 and __popcountsi2.
7927 * config/rl78/fpbit-sf.S: New file. Contains assembler
7928 implementationas of the math functions: __negsf2, __cmpsf2,
7929 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
7930 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
7931 * config/rl78/fpmath-sf.S: New file. Contains assembler
7932 implementations of the math functions: __subsf3, __addsf3,
7933 __mulsf3 and __divsf3
7934
7935 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7936
7937 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
7938 Add i386/elf-lib.h to tm_file.
7939 * config/i386/elf-lib.h: Fix comment.
7940 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
7941 && __sun__ && __svr4__]: Remove workaround.
7942
7943 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7944
7945 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
7946 FEATURE_BMI2.
7947 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
7948
7949 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
7950
7951 * config/i386/cpuinfo.c (processor_subtypes): Add
7952 INTEL_COREI7_BROADWELL.
7953 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
7954 model numbers.
7955
7956 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
7957
7958 * config/i386/elf-lib.h: New file.
7959 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
7960 Wrap definition in #ifdef __i386__.
7961 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7962 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
7963 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
7964 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
7965 to tm_file.
7966
7967 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
7968
7969 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
7970 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
7971
7972 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
7973
7974 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
7975 Update rt_sigframe format and address for current Nios II
7976 Linux conventions.
7977
7978 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
7979
7980 * config.host (arm*-*-freebsd*): Add new configuration for
7981 arm*-*-freebsd*.
7982 * config/arm/freebsd-atomic.c: New file.
7983 * config/arm/t-freebsd: Likewise.
7984 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
7985 'PC-relative indirect' OS's.
7986
7987 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
7988
7989 * config.host: Add Visium support.
7990 * config/visium: New directory.
7991
7992 2015-01-05 Jakub Jelinek <jakub@redhat.com>
7993
7994 Update copyright years.
7995
7996 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
7997
7998 * config.host: Support mipsisa32r6 and mipsisa64r6.
7999 * config/mips/mips16.S: Do not build for R6.
8000
8001 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
8002
8003 * config/sh/crt.h: New.
8004 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
8005 symbols.
8006 * config/sh/crt1.S: Likewise.
8007
8008 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
8009
8010 PR libgcc/63832
8011 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
8012 func_ptr *dtor_list temporary variable to avoid "array subscript
8013 is above array bounds" warnings.
8014
8015 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
8016
8017 * Makefile.in (with_aix_soname): Define.
8018 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
8019 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
8020 * configure: Recreate.
8021
8022 2014-12-05 Olivier Hainque <hainque@adacore.com>
8023
8024 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
8025 now provided by defaults.h.
8026
8027 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
8028
8029 PR target/55351
8030 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
8031 whether it's defined.
8032
8033 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
8034
8035 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
8036 * config/i386/cpuinfo.c (get_available_features): Detect it.
8037
8038 2014-11-27 Tony Wang <tony.wang@arm.com>
8039
8040 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
8041 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
8042 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
8043
8044 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
8045
8046 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
8047
8048 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
8049
8050 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
8051 instead.
8052
8053 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
8054 John David Anglin <danglin@gcc.gnu.org>
8055
8056 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
8057 (FETCH_AND_OP_2): New. Use for subword and double word operations.
8058 (OP_AND_FETCH_2): Likewise.
8059 (COMPARE_AND_SWAP_2): Likewise.
8060 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
8061 (SYNC_LOCK_RELEASE_2): Likewise.
8062 (SUBWORD_SYNC_OP): Remove.
8063 (SUBWORD_VAL_CAS): Likewise.
8064 (SUBWORD_BOOL_CAS): Likewise.
8065 (FETCH_AND_OP_WORD): Update.
8066 Consistently use signed types.
8067
8068 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
8069 Thomas Schwinge <thomas@codesourcery.com>
8070 Ilya Verbin <ilya.verbin@intel.com>
8071 Andrey Turetskiy <andrey.turetskiy@intel.com>
8072
8073 * Makefile.in (crtoffloadbegin$(objext)): New rule.
8074 (crtoffloadend$(objext)): Likewise.
8075 * configure: Regenerate.
8076 * configure.ac (accel_dir_suffix): Compute new variable.
8077 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
8078 if enable_offload_targets is not empty.
8079 * offloadstuff.c: New file.
8080
8081 2014-11-13 Nick Clifton <nickc@redhat.com>
8082
8083 * config/rl78/divmodhi.S: Add support for the G10 architecture.
8084 Use START_FUNC and END_FUNC macros to enable linker garbage
8085 collection.
8086 * config/rl78/divmodqi.S: Likewise.
8087 * config/rl78/divmodsi.S: Likewise.
8088 * config/rl78/mulsi3.S: Likewise.
8089 * config/rl78/lib2div.c: Remove G10 functions.
8090 * config/rl78/lib2muls.c: Likewise.
8091 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
8092 * config/rl78/vregs.h (START_FUNC): New macro.
8093 (END_FUNC): New macro.
8094
8095 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
8096
8097 * config/mips/mips16.S: Set .module when supported. Update O32
8098 FP64 calling convention and use for FPXX when possible. Add FPXX
8099 calling convention fallback case.
8100
8101 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
8102
8103 * config.host: Handle nvptx-*-*.
8104 * shared-object.mk (as-flags-$o): Define.
8105 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
8106 -xassembler-with-cpp.
8107 * static-object.mk: Identical changes.
8108 * config/nvptx/t-nvptx: New file.
8109 * config/nvptx/crt0.s: New file.
8110 * config/nvptx/free.asm: New file.
8111 * config/nvptx/malloc.asm: New file.
8112 * config/nvptx/realloc.c: New file.
8113
8114 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8115
8116 * Makefile.in (libgcc.map.in): New target.
8117 (libgcc.map): Use libgcc.map.in.
8118 * config/t-softfp (softfp_compat): New variable to be set by
8119 users.
8120 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
8121 variables.
8122 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
8123 directory.
8124 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
8125 that use compat symbols and disable all code unless [SHARED].
8126 * config/t-softfp-compat: New file.
8127 * find-symver.awk: New file.
8128 * configure.ac (--with-glibc-version): New configure option.
8129 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
8130 * configure: Regenerate.
8131 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
8132 soft-float and e500.
8133
8134 2014-10-29 Joseph Myers <joseph@codesourcery.com>
8135
8136 * config/t-hardfp (hardfp_exclusions): Document new variable for
8137 user to define.
8138 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
8139 * config/t-softfp (softfp_extras): Document new variable for user
8140 to define.
8141 (softfp_func_list): Add functions from $(softfp_extras).
8142 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
8143 * config.host (powerpc*-*-linux*): For e500v1, use
8144 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
8145 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
8146 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
8147
8148 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
8149
8150 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
8151 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
8152 memory read accesses are ok.
8153
8154 2014-10-25 Joseph Myers <joseph@codesourcery.com>
8155
8156 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
8157 * configure: Regenerate.
8158 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
8159 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
8160 of soft-fp for 32-bit classic hard float. Do not use
8161 t-softfp-excl for soft float.
8162
8163 2014-10-22 Joseph Myers <joseph@codesourcery.com>
8164
8165 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
8166 configurations.
8167 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
8168 Remove variables.
8169
8170 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
8171
8172 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
8173 introduced with 2014-10-21 trunk r216525.
8174
8175 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
8176 Vidya Praveen <vidya.praveen@atmel.com>
8177 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
8178 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
8179 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
8180
8181 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
8182 order.
8183
8184 Updated library functions for AVRTINY arch.
8185 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
8186 Replaced occurrences of r0/r1 with tmp/zero reg macros.
8187 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
8188 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
8189 wsubi/wadi macors.
8190 (__mulsi3_helper): Update stack, preserve callee saved regs and
8191 argument from stack. Restore callee save registers.
8192 (__mulpsi3): Likewise.
8193 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
8194 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
8195 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
8196 AVRTINY.
8197 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
8198 (__do_copy_data): Added new definition for AVRTINY.
8199 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
8200 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
8201 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
8202 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
8203 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
8204 macors.
8205 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
8206 AVRTINY.
8207
8208 Fix broken long multiplication on tiny arch.
8209
8210 2014-10-09 Joseph Myers <joseph@codesourcery.com>
8211
8212 * soft-fp/double.h: Update from glibc.
8213 * soft-fp/eqdf2.c: Likewise.
8214 * soft-fp/eqsf2.c: Likewise.
8215 * soft-fp/eqtf2.c: Likewise.
8216 * soft-fp/extenddftf2.c: Likewise.
8217 * soft-fp/extended.h: Likewise.
8218 * soft-fp/extendsfdf2.c: Likewise.
8219 * soft-fp/extendsftf2.c: Likewise.
8220 * soft-fp/extendxftf2.c: Likewise.
8221 * soft-fp/gedf2.c: Likewise.
8222 * soft-fp/gesf2.c: Likewise.
8223 * soft-fp/getf2.c: Likewise.
8224 * soft-fp/ledf2.c: Likewise.
8225 * soft-fp/lesf2.c: Likewise.
8226 * soft-fp/letf2.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/unorddf2.c: Likewise.
8236 * soft-fp/unordsf2.c: Likewise.
8237 * soft-fp/unordtf2.c: Likewise.
8238 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
8239 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
8240 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
8241 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
8242 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
8243 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
8244 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
8245 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
8246 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
8247 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
8248
8249 2014-10-08 Rong Xu <xur@google.com>
8250
8251 * libgcov-util.c (read_gcda_file): Fix format.
8252 (find_match_gcov_info): Ditto.
8253 (calculate_2_entries): New.
8254 (compute_one_gcov): Ditto.
8255 (gcov_info_count_all_cold): Ditto.
8256 (gcov_info_count_all_zero): Ditto.
8257 (extract_file_basename): Ditto.
8258 (get_file_basename): Ditto.
8259 (set_flag): Ditto.
8260 (matched_gcov_info): Ditto.
8261 (calculate_overlap): Ditto.
8262 (gcov_profile_overlap): Ditto.
8263 * libgcov-driver.c (compute_summary): Make
8264 it avavilable for external calls.
8265
8266 2014-10-06 Rong Xu <xur@google.com>
8267
8268 * Makefile.in: Ditto.
8269 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
8270 (gcov_sort_icall_topn_counter): Ditto.
8271 (gcov_sort_topn_counter_arrays): Ditto.
8272 (dump_one_gcov): Sort indirect_call topn counters.
8273 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
8274 function.
8275 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
8276 utility function.
8277 (__gcov_indirect_call_topn_profiler): New profiler function.
8278 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
8279 * libgcov.h: New decls.
8280
8281 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
8282
8283 * config.host: Remove support for score-*.
8284
8285 2014-09-22 Joseph Myers <joseph@codesourcery.com>
8286
8287 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8288 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
8289 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
8290 __LIBGCC_XF_MANT_DIG__.
8291 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
8292 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
8293 __LIBGCC_TF_MANT_DIG__.
8294 * libgcc2.c (NOTRUNC): Define in terms of
8295 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
8296 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8297
8298 2014-09-22 Joseph Myers <joseph@codesourcery.com>
8299
8300 PR target/63312
8301 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
8302 New macros.
8303
8304 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
8305
8306 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
8307 override USE_PT_GNU_EH_FRAME.
8308 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
8309 check USE_EH_FRAME_REGISTRY_ALWAYS against
8310 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
8311 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
8312 variable for substituted force_explicit_eh_registry.
8313 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
8314 * configure.ac (explicit-exception-frame-registration):
8315 New AC_ARG_ENABLE.
8316 * configure: Regenerate.
8317
8318 2014-09-19 Olivier Hainque <hainque@adacore.com>
8319
8320 * config.host (powerpc-wrs-vxworksmils): New configuration,
8321 same as vxworksae.
8322
8323 2014-09-18 Joseph Myers <joseph@codesourcery.com>
8324
8325 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
8326
8327 2014-09-18 Joseph Myers <joseph@codesourcery.com>
8328
8329 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
8330 bits not set bits as indicating trapping exceptions.
8331
8332 2014-09-17 Nathan sidwell <nathan@acm.org>
8333
8334 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
8335 (LIBGCOV_DRIVER): ... here.
8336 * libgcov-driver.c (gcov_master): New.
8337 (gcov_exit): Remove from master chain.
8338 (__gcov_init): Add to master chain if version compatible. Don't
8339 clear the version.
8340 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
8341 (gcov_reset_int): Clear master chain, if compatible.
8342 (gcov_dump_int): New internal interface. Dump master chain, if
8343 compatible.
8344 (gcov_dump): Alias for gcov_dump_int.
8345 * libgcov.h (struct gcov_root): Add next and prev fields.
8346 (struct gcov_master): New struct.
8347 (__gcov_master): New.
8348 (gcov_dump_int): Declare.
8349
8350 2014-09-17 Olivier Hainque <hainque@adacore.com>
8351
8352 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
8353 and crtbegin.o + crtend.o to extra_parts.
8354
8355 2014-09-12 Joseph Myers <joseph@codesourcery.com>
8356
8357 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
8358 __LIBGCC_HAS_SF_MODE__.
8359 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
8360 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
8361 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
8362 * config/libbid/bid_gcc_intrinsics.h
8363 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
8364 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
8365 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
8366 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
8367 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
8368 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
8369
8370 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
8371
8372 PR target/63223
8373 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
8374 and R24 as needed. Make work for all devices and .text locations.
8375 (__do_global_ctors, __do_global_dtors): Use word addresses.
8376 (__tablejump__, __tablejump_elpm__): Remove functions.
8377 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
8378 Add _tablejump2.
8379 (XICALL, XIJMP): New macros.
8380
8381 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
8382 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8383
8384 * config.host (aarch64*): Include crtfastmath.o and
8385 t-crtfm.
8386 * config/aarch64/crtfastmath.c: New file.
8387
8388 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
8389
8390 * config.host: Remove picochip support.
8391 * config/picochip/adddi3.S: Remove.
8392 * config/picochip/ashlsi3.S: Remove.
8393 * config/picochip/ashlsi3.c: Remove.
8394 * config/picochip/ashrsi3.S: Remove.
8395 * config/picochip/ashrsi3.c: Remove.
8396 * config/picochip/clzsi2.S: Remove.
8397 * config/picochip/cmpsi2.S: Remove.
8398 * config/picochip/divmod15.S: Remove.
8399 * config/picochip/divmodhi4.S: Remove.
8400 * config/picochip/divmodsi4.S: Remove.
8401 * config/picochip/lib1funcs.S: Remove.
8402 * config/picochip/longjmp.S: Remove.
8403 * config/picochip/lshrsi3.S: Remove.
8404 * config/picochip/lshrsi3.c: Remove.
8405 * config/picochip/parityhi2.S: Remove.
8406 * config/picochip/popcounthi2.S: Remove.
8407 * config/picochip/setjmp.S: Remove.
8408 * config/picochip/subdi3.S: Remove.
8409 * config/picochip/t-picochip: Remove.
8410 * config/picochip/ucmpsi2.S: Remove.
8411 * config/picochip/udivmodhi4.S: Remove.
8412 * config/picochip/udivmodsi4.S: Remove.
8413
8414 2014-09-08 Joseph Myers <joseph@codesourcery.com>
8415
8416 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
8417 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
8418 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
8419 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
8420 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
8421 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
8422 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
8423 defined and LIBGCC2_HAS_DF_MODE is defined.
8424 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
8425 defined and LIBGCC2_HAS_XF_MODE is defined.
8426 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
8427 defined and LIBGCC2_HAS_TF_MODE is defined.
8428
8429 2014-09-08 Joseph Myers <joseph@codesourcery.com>
8430
8431 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
8432 and ROUND_TOWARDS_ZERO conditionals.
8433
8434 2014-09-07 Nathan sidwell <nathan@acm.org>
8435
8436 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
8437 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
8438
8439 2014-09-05 Joseph Myers <joseph@codesourcery.com>
8440
8441 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
8442 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
8443 uses to __LIBGCC_STACK_POINTER_REGNUM__.
8444 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
8445 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8446 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
8447 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8448 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
8449 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
8450 (DWARF_FRAME_REGISTERS): Change all uses to
8451 __LIBGCC_DWARF_FRAME_REGISTERS__.
8452 (EH_RETURN_STACKADJ_RTX): Change all uses to
8453 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
8454 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
8455 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
8456 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
8457 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
8458 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
8459 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
8460 to __LIBGCC_EH_FRAME_SECTION_NAME__.
8461 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
8462 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
8463 __LIBGCC_STACK_POINTER_REGNUM__.
8464 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
8465 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8466 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
8467 to __LIBGCC_STACK_POINTER_REGNUM__.
8468 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
8469 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8470 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
8471 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8472 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
8473 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8474 (STACK_POINTER_REGNUM): Change all uses to
8475 __LIBGCC_STACK_POINTER_REGNUM__.
8476 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
8477 use to __LIBGCC_STACK_POINTER_REGNUM__.
8478 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
8479 uses to __LIBGCC_STACK_POINTER_REGNUM__.
8480 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
8481 to __LIBGCC_DWARF_FRAME_REGISTERS__.
8482 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
8483 to __LIBGCC_DWARF_FRAME_REGISTERS__.
8484 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
8485 to __LIBGCC_STACK_POINTER_REGNUM__.
8486 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
8487 Remove conditional definition.
8488 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
8489 __LIBGCC_TEXT_SECTION_ASM_OP__.
8490 (EH_FRAME_SECTION_NAME): Change all uses to
8491 __LIBGCC_EH_FRAME_SECTION_NAME__.
8492 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
8493 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
8494 (CTORS_SECTION_ASM_OP): Change all uses to
8495 __LIBGCC_CTORS_SECTION_ASM_OP__.
8496 (DTORS_SECTION_ASM_OP): Change all uses to
8497 __LIBGCC_DTORS_SECTION_ASM_OP__.
8498 (JCR_SECTION_NAME): Change all uses to
8499 __LIBGCC_JCR_SECTION_NAME__.
8500 (INIT_SECTION_ASM_OP): Change all uses to
8501 __LIBGCC_INIT_SECTION_ASM_OP__.
8502 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
8503 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
8504 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
8505 __LIBGCC_STACK_GROWS_DOWNWARD__.
8506 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
8507 __LIBGCC_INIT_SECTION_ASM_OP__.
8508 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
8509 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
8510 (EH_FRAME_SECTION_NAME): Change all uses to
8511 __LIBGCC_EH_FRAME_SECTION_NAME__.
8512 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
8513 definitions. Change all uses to
8514 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
8515 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
8516 __LIBGCC_STACK_GROWS_DOWNWARD__.
8517 (DWARF_FRAME_REGISTERS): Change all uses to
8518 __LIBGCC_DWARF_FRAME_REGISTERS__.
8519 (EH_RETURN_STACKADJ_RTX): Change all uses to
8520 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
8521 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
8522 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
8523 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
8524 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
8525 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
8526
8527 2014-09-02 Nathan sidwell <nathan@acm.org>
8528
8529 * libgcov-interface.c (STRONG_ALIAS): New.
8530 (__gcov_flush): Call __gcov_reset_int.
8531 (__gcov_reset): Strong alias for ...
8532 (__gcov_reset_ing): ... this renamed hidden version.
8533 * libgcov.h (__gcov_reset_int): New declaration.
8534
8535 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
8536
8537 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
8538 call from here...
8539 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
8540 (__dso_handle): Define on Cygwin.
8541 * config/i386/t-cygming (crtbeginS.o): New rule.
8542 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
8543
8544 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
8545 declaration syntax.
8546
8547 2014-08-13 Steve Ellcey <sellcey@mips.com>
8548
8549 * crtstuff.c: Undef caddr_t.
8550
8551 2014-08-12 Steve Ellcey <sellcey@mips.com>
8552
8553 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
8554
8555 2014-08-07 Nathan Sidwell <nathan@acm.org>
8556
8557 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
8558 (LIBGCOV_DRIVER): ... to here.
8559 * libgcov.h (gcov_do_dump): New #define.
8560 (struct gcov_root): New.
8561 (__gcov_root): New declaration.
8562 (__gcov_dump_one): Declare.
8563 * libgcov-driver.c (gcov_list, gcov_dump_complete,
8564 run_accounted): Delete.
8565 (gcov_compute_histogram): Add LIST argument, adjust.
8566 (compute_summary): Adjust gcov_compute_histogram call.
8567 (gcov_do_dump): Not hidden, static in libgcov.
8568 (gcov_clear): Move to interface.c.
8569 (__gcov_dump_one): New, broken out of ...
8570 (gcov_exit): ... here. Make static.
8571 (__gcov_root): New.
8572 (__gcov_init): Adjust.
8573 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
8574 declarations.
8575 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
8576 (gcov_clear): Moved from driver.c. Add LIST argument.
8577 (__gcov_reset): Adjust for changed interfaces.
8578 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
8579
8580 2014-08-04 Rohit <rohitarulraj@freescale.com>
8581
8582 PR target/60102
8583 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
8584 based on change in SPE high register numbers and 3 HTM registers.
8585
8586 2014-08-01 Nathan Sidwell <nathan@acm.org>
8587
8588 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
8589 LIBGCOV_INTERFACE): Reformat.
8590 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
8591 IN_GCOV_TOOL.
8592 * libgcov-interface.c: Reformat some comments.
8593 (__gcov_flush_mx): Add declaration. Tidy up definition.
8594
8595 2014-07-31 Alan Modra <amodra@gmail.com>
8596 Peter Bergner <bergner@vnet.ibm.com>
8597
8598 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
8599 (pack_ldouble): New function.
8600 (__gcc_qadd): Use it.
8601 (__gcc_qmul): Likewise.
8602 (__gcc_qdiv): Likewise.
8603 (__gcc_qneg): Likewise.
8604 (__gcc_stoq): Likewise.
8605 (__gcc_dtoq): Likewise.
8606
8607 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
8608
8609 * config/s390/tpf-unwind.h: Include <stdbool.h>.
8610 (__tpf_eh_return): Add original return address as second parameter.
8611 Handle cases where unwinder routines were called directly, instead
8612 of from within the C++ library.
8613
8614 2014-07-29 Nathan Sidwell <nathan@acm.org>
8615
8616 * libgcov.h: Move renaming of entry points to lib gcov specific
8617 portion.
8618 (gcov_do_dump): New rename.
8619 (gcov_rewrite): Remove inline, make HIDDEN.
8620 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
8621 (gcov_exit_compute_summary): Rename to ...
8622 (compute_summary): ... here. Add LIST argument.
8623 (gcov_exit_merge_gcda): Rename to ...
8624 (merge_one_data): ... here.
8625 (gcov_exit_write_gcda): Rename to ...
8626 (write_one_data): ... here.
8627 (gcov_exit_merge_summary): Rename to ...
8628 (merge_summary): Add RUN_COUNTED argument.
8629 (gcov_exit_dump_gcov): Rename to ...
8630 (dump_one_gcov): Add RUN_COUNTED argument.
8631 (gcov_do_dump): New function, broken out of ...
8632 (gcov_exit): ... here. Call it.
8633
8634 2014-07-27 Anthony Green <green@moxielogic.com>
8635
8636 * config.host: Add moxiebox configuration suppport.
8637
8638 2014-07-27 Nathan Sidwell <nathan@acm.org>
8639
8640 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
8641 (struct gcov_filename): ... here. Include buffer and max length
8642 fields.
8643 (gcov_max_filename): Remove.
8644 (gi_filename): Remove.
8645 (gcov_exit_compute_summary): Compute max filename here.
8646 (gcov_exit_merge_gcda): Add filename parm, adjust.
8647 (gcov_exit_merge_summary): Likewise.
8648 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
8649 (gcov_exit): Likewise.
8650 (__gcov_init): Don't calculate max length here.
8651 * libgcov_util.c (max_filename_len): Remove.
8652 (read_gcda_file): Don't calculate max length here.
8653 (gcov_read_profile_dir): Don't propagate here.
8654 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
8655 struct gcov_filename changes.
8656 (gcov_exit_open_gcda_file): Likewise.
8657
8658 2014-07-25 Nathan Sidwell <nathan@acm.org>
8659
8660 * libgcov-driver.c (set_gcov_dump_complete,
8661 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
8662 functions polluting user's namespace.
8663 (gcov_exit): Set variable directly.
8664 (gcov_clear): Reset variable directly.
8665 * libgcov-interface.c (get_gcov_dymp_complete,
8666 reset_gov_dump_complete): Remove declarations.
8667 (__gcov_reset, __gcov_dump): Don't call them.
8668
8669 2014-07-24 DJ Delorie <dj@redhat.com>
8670
8671 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
8672 (__gcc_deregister_frame): Move logic to detect deregister function
8673 to ...
8674 (__gcc_register_frame): here, so it's consistent with the register
8675 logic.
8676
8677 2014-07-23 Nathan Sidwell <nathan@acm.org>
8678
8679 * libgcov-driver.c (set_gcov_list): Remove.
8680 (gcov_list): Make non-static in GCOV_TOOL.
8681 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
8682
8683 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
8684
8685 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
8686 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
8687 Don't use SYNC_LOCK_RELEASE for int type.
8688
8689 2014-07-14 Richard Biener <rguenther@suse.de>
8690
8691 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
8692
8693 2014-07-11 Rong Xu <xur@google.com>
8694
8695 * libgcov-util.c (gcov_max_filename): Fix declartion.
8696
8697 2014-07-10 Rong Xu <xur@google.com>
8698
8699 Add gcov-tool: an offline gcda profile processing tool
8700 Support.
8701 * libgcov-driver.c (gcov_max_filename): Make available
8702 to gcov-tool.
8703 * libgcov-merge.c (__gcov_merge_add): Replace
8704 gcov_read_counter() with a Macro.
8705 (__gcov_merge_ior): Ditto.
8706 (__gcov_merge_time_profile): Ditto.
8707 (__gcov_merge_single): Ditto.
8708 (__gcov_merge_delta): Ditto.
8709 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
8710 in the utility functions.
8711 (set_fn_ctrs): Utility function for reading gcda files to in-memory
8712 gcov_list object link lists.
8713 (tag_function): Ditto.
8714 (tag_blocks): Ditto.
8715 (tag_arcs): Ditto.
8716 (tag_lines): Ditto.
8717 (tag_counters): Ditto.
8718 (tag_summary): Ditto.
8719 (read_gcda_finalize): Ditto.
8720 (read_gcda_file): Ditto.
8721 (ftw_read_file): Ditto.
8722 (read_profile_dir_init): Ditto.
8723 (gcov_read_profile_dir): Ditto.
8724 (gcov_read_counter_mem): Ditto.
8725 (gcov_get_merge_weight): Ditto.
8726 (merge_wrapper): A wrapper function that calls merging handler.
8727 (gcov_merge): Merge two gcov_info objects with weights.
8728 (find_match_gcov_info): Find the matched gcov_info in the list.
8729 (gcov_profile_merge): Merge two gcov_info object lists.
8730 (__gcov_add_counter_op): Process edge profile counter values.
8731 (__gcov_ior_counter_op): Process IOR profile counter values.
8732 (__gcov_delta_counter_op): Process delta profile counter values.
8733 (__gcov_single_counter_op): Process single profile counter values.
8734 (fp_scale): Callback function for float-point scaling.
8735 (int_scale): Callback function for integer fraction scaling.
8736 (gcov_profile_scale): Scaling profile counters.
8737 (gcov_profile_normalize): Normalize profile counters.
8738 * libgcov.h: Add headers and functions for gcov-tool use.
8739 (gcov_get_counter): New.
8740 (gcov_get_counter_target): Ditto.
8741 (struct gcov_info): Make the functions field mutable in gcov-tool
8742 compilation.
8743
8744 2014-06-23 Kai Tietz <ktietz@redhat.com>
8745
8746 PR libgcc/61585
8747 * unwind-seh.c (_Unwind_GetGR): Check for proper
8748 index range.
8749 (_Unwind_SetGR): Likewise.
8750
8751 2014-05-22 Nick Clifton <nickc@redhat.com>
8752
8753 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
8754 -mhwmult=none.
8755
8756 2014-05-22 Teresa Johnson <tejohnson@google.com>
8757
8758 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
8759 include.
8760
8761 2014-05-20 John Marino <gnugcc@marino.st>
8762
8763 * config.host (*-*-dragonfly*): New target.
8764 * crtstuff.c: Make dl_iterate_support generic on *bsd.
8765 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
8766 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
8767 * config/i386/dragonfly-unwind.h: New.
8768
8769 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
8770
8771 PR libgcc/60166
8772 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
8773 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
8774
8775 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
8776
8777 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
8778 implementation.
8779
8780 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
8781
8782 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
8783
8784 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8785
8786 PR libgcc/61097
8787 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
8788 if --enable-shared.
8789
8790 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
8791
8792 Work around for current cygwin32 build problems.
8793 * config/i386/cygming-crtbegin.c (__register_frame_info,
8794 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
8795 functions only for 64-bit systems.
8796
8797 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8798
8799 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
8800 (sigill_caught, sigill_hdlr): Remove.
8801
8802 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8803
8804 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
8805 check.
8806 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8807 Solaris 9 single-threaded support.
8808 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8809 Solaris 9 single-threaded support. Add call_user_handler code
8810 sequences.
8811 (sparc_is_sighandler): Likewise.
8812
8813 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8814
8815 * config.host: Append t-floattodi to tmake_file depending on
8816 host_address.
8817
8818 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
8819
8820 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
8821
8822 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
8823
8824 PR libgcc/60472
8825 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
8826 variable to avoid "array subscript is above array bounds" warnings.
8827 Use __builtin_expect when checking *jcr_list for NULL.
8828
8829 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8830
8831 PR libgcc/59339
8832 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
8833 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
8834 vtv_*.o to extra_parts if enable_vtable_verify.
8835
8836 2014-03-06 Nick Clifton <nickc@redhat.com>
8837
8838 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
8839 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
8840
8841 2014-02-28 Joey Ye <joey.ye@arm.com>
8842
8843 PR libgcc/60166
8844 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
8845 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
8846 Set to zero.
8847
8848 2014-02-24 Walter Lee <walt@tilera.com>
8849
8850 * config.host: Support "tilegx*" and "tilepro*" triplets.
8851 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
8852 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
8853
8854 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
8855 Chung-Lin Tang <cltang@codesourcery.com>
8856
8857 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
8858 * config/nios2/crti.S: Remove .file directive.
8859 * config/nios2/crtn.S: Likewise.
8860
8861 2014-02-18 Kai Tietz <ktietz@redhat.com>
8862 Jonathan Schleifer <js@webkeks.org>
8863
8864 PR objc/56870
8865 * unwind-seh.c (_GCC_specific_handler): Pass proper
8866 value to unwind-handler.
8867
8868 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8869
8870 * soft-fp/adddf3.c: Update from glibc.
8871 * soft-fp/addsf3.c: Likewise.
8872 * soft-fp/addtf3.c: Likewise.
8873 * soft-fp/divdf3.c: Likewise.
8874 * soft-fp/divsf3.c: Likewise.
8875 * soft-fp/divtf3.c: Likewise.
8876 * soft-fp/double.h: Likewise.
8877 * soft-fp/eqdf2.c: Likewise.
8878 * soft-fp/eqsf2.c: Likewise.
8879 * soft-fp/eqtf2.c: Likewise.
8880 * soft-fp/extenddftf2.c: Likewise.
8881 * soft-fp/extended.h: Likewise.
8882 * soft-fp/extendsfdf2.c: Likewise.
8883 * soft-fp/extendsftf2.c: Likewise.
8884 * soft-fp/extendxftf2.c: Likewise.
8885 * soft-fp/fixdfdi.c: Likewise.
8886 * soft-fp/fixdfsi.c: Likewise.
8887 * soft-fp/fixdfti.c: Likewise.
8888 * soft-fp/fixsfdi.c: Likewise.
8889 * soft-fp/fixsfsi.c: Likewise.
8890 * soft-fp/fixsfti.c: Likewise.
8891 * soft-fp/fixtfdi.c: Likewise.
8892 * soft-fp/fixtfsi.c: Likewise.
8893 * soft-fp/fixtfti.c: Likewise.
8894 * soft-fp/fixunsdfdi.c: Likewise.
8895 * soft-fp/fixunsdfsi.c: Likewise.
8896 * soft-fp/fixunsdfti.c: Likewise.
8897 * soft-fp/fixunssfdi.c: Likewise.
8898 * soft-fp/fixunssfsi.c: Likewise.
8899 * soft-fp/fixunssfti.c: Likewise.
8900 * soft-fp/fixunstfdi.c: Likewise.
8901 * soft-fp/fixunstfsi.c: Likewise.
8902 * soft-fp/fixunstfti.c: Likewise.
8903 * soft-fp/floatdidf.c: Likewise.
8904 * soft-fp/floatdisf.c: Likewise.
8905 * soft-fp/floatditf.c: Likewise.
8906 * soft-fp/floatsidf.c: Likewise.
8907 * soft-fp/floatsisf.c: Likewise.
8908 * soft-fp/floatsitf.c: Likewise.
8909 * soft-fp/floattidf.c: Likewise.
8910 * soft-fp/floattisf.c: Likewise.
8911 * soft-fp/floattitf.c: Likewise.
8912 * soft-fp/floatundidf.c: Likewise.
8913 * soft-fp/floatundisf.c: Likewise.
8914 * soft-fp/floatunditf.c: Likewise.
8915 * soft-fp/floatunsidf.c: Likewise.
8916 * soft-fp/floatunsisf.c: Likewise.
8917 * soft-fp/floatunsitf.c: Likewise.
8918 * soft-fp/floatuntidf.c: Likewise.
8919 * soft-fp/floatuntisf.c: Likewise.
8920 * soft-fp/floatuntitf.c: Likewise.
8921 * soft-fp/gedf2.c: Likewise.
8922 * soft-fp/gesf2.c: Likewise.
8923 * soft-fp/getf2.c: Likewise.
8924 * soft-fp/ledf2.c: Likewise.
8925 * soft-fp/lesf2.c: Likewise.
8926 * soft-fp/letf2.c: Likewise.
8927 * soft-fp/muldf3.c: Likewise.
8928 * soft-fp/mulsf3.c: Likewise.
8929 * soft-fp/multf3.c: Likewise.
8930 * soft-fp/negdf2.c: Likewise.
8931 * soft-fp/negsf2.c: Likewise.
8932 * soft-fp/negtf2.c: Likewise.
8933 * soft-fp/op-1.h: Likewise.
8934 * soft-fp/op-2.h: Likewise.
8935 * soft-fp/op-4.h: Likewise.
8936 * soft-fp/op-8.h: Likewise.
8937 * soft-fp/op-common.h: Likewise.
8938 * soft-fp/quad.h: Likewise.
8939 * soft-fp/single.h: Likewise.
8940 * soft-fp/soft-fp.h: Likewise.
8941 * soft-fp/subdf3.c: Likewise.
8942 * soft-fp/subsf3.c: Likewise.
8943 * soft-fp/subtf3.c: Likewise.
8944 * soft-fp/truncdfsf2.c: Likewise.
8945 * soft-fp/trunctfdf2.c: Likewise.
8946 * soft-fp/trunctfsf2.c: Likewise.
8947 * soft-fp/trunctfxf2.c: Likewise.
8948 * soft-fp/unorddf2.c: Likewise.
8949 * soft-fp/unordsf2.c: Likewise.
8950 * soft-fp/unordtf2.c: Likewise.
8951 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
8952 macro.
8953 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8954 Likewise.
8955 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8956 Likewise.
8957 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8958 Likewise.
8959 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8960 Likewise.
8961 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8962 Likewise.
8963 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8964 Likewise.
8965 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8966 Likewise.
8967 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8968 Likewise.
8969 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8970 Likewise.
8971 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8972 Likewise.
8973 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8974 Likewise.
8975 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8976 Likewise.
8977 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
8978 Likewise.
8979 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
8980 Likewise.
8981 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8982 Likewise.
8983
8984 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8985
8986 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
8987 cannot be represented.
8988 * config/s390/32/_fixsfdi.c: Likewise.
8989 * config/s390/32/_fixtfdi.c: Likewise.
8990 * config/s390/32/_fixunsdfdi.c: Likewise.
8991 * config/s390/32/_fixunssfdi.c: Likewise.
8992 * config/s390/32/_fixunstfdi.c: Likewise.
8993
8994 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
8995
8996 * configure.ac (libgcc_cv_mips_hard_float): New.
8997 * configure: Regenerate.
8998 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
8999 t-softfp-sfdf for hard-float targets.
9000 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
9001 (softfp_float_modes, softfp_int_modes, softfp_extensions)
9002 (softfp_truncations, softfp_exclude_libgcc2): New.
9003 * config/t-hardfp: New file.
9004 * config/t-hardfp-sfdf: Likewise.
9005 * config/hardfp.c: Likewise.
9006
9007 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9008
9009 * config.host: Include t-floattodi also for s390x.
9010 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
9011 * config/s390/32/_fixsfdi.c: Likewise.
9012 * config/s390/32/_fixtfdi.c: Likewise.
9013 * config/s390/32/_fixunsdfdi.c: Likewise.
9014 * config/s390/32/_fixunssfdi.c: Likewise.
9015 * config/s390/32/_fixunstfdi.c: Likewise.
9016
9017 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9018
9019 PR target/59788
9020 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
9021 (install-libgcc-unwind-map-forbuild): New target.
9022 (all): Depend on install-libgcc-unwind-map-forbuild.
9023 (install-libgcc-unwind-map): New target.
9024 (install): Depend on install-libgcc-unwind-map.
9025
9026 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
9027
9028 * config/nios2/crti.S (_init): Initialize GOT pointer from
9029 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
9030
9031 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
9032
9033 * configure.ac: Check __mips64 when setting host_address.
9034 * configure: Regenerate.
9035 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
9036 mips/t-mips64 and t-softfp.
9037 (mips*-*-linux*): Don't add mips/t-tpbit.
9038 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
9039 (DPBIT, DPBIT_CFLAGS): Delete.
9040 * config/mips/sfp-machine.h: New file.
9041 * config/mips/t-mips64: Likewise.
9042 * config/mips/t-softfp-tf: Likewise.
9043 * config/mips/t-tpbit: Delete.
9044
9045 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
9046
9047 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
9048 as long long.
9049
9050 2014-01-25 Walter Lee <walt@tilera.com>
9051
9052 * config/tilepro/atomic.c: Include tconfig.h. Don't include
9053 config.h or system.h.
9054 (bool) Define.
9055
9056 2014-01-25 Walter Lee <walt@tilera.com>
9057
9058 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
9059 (post_atomic_barrier): Ditto.
9060 (__fetch_and_do): New macro.
9061 (__atomic_fetch_and_do): Use __fetch_and_do.
9062 (__sync_fetch_and_do): New macro.
9063 (__sync_fetch_and_add_4): New function.
9064 (__sync_fetch_and_sub_4): New function.
9065 (__sync_fetch_and_or_4): New function.
9066 (__sync_fetch_and_and_4): New function.
9067 (__sync_fetch_and_xor_4): New function.
9068 (__sync_fetch_and_nand_4): New function.
9069 (__sync_fetch_and_add_8): New function.
9070 (__sync_fetch_and_sub_8): New function.
9071 (__sync_fetch_and_or_8): New function.
9072 (__sync_fetch_and_and_8): New function.
9073 (__sync_fetch_and_xor_8): New function.
9074 (__sync_fetch_and_nand_8): New function.
9075 (__do_and_fetch): New macro.
9076 (__atomic_do_and_fetch): Use __do_and_fetch.
9077 (__sync_do_and_fetch): New macro.
9078 (__sync_add_and_fetch_4): New function.
9079 (__sync_sub_and_fetch_4): New function.
9080 (__sync_or_and_fetch_4): New function.
9081 (__sync_and_and_fetch_4): New function.
9082 (__sync_xor_and_fetch_4): New function.
9083 (__sync_nand_and_fetch_4): New function.
9084 (__sync_add_and_fetch_8): New function.
9085 (__sync_sub_and_fetch_8): New function.
9086 (__sync_or_and_fetch_8): New function.
9087 (__sync_and_and_fetch_8): New function.
9088 (__sync_xor_and_fetch_8): New function.
9089 (__sync_nand_and_fetch_8): New function.
9090 (__sync_exchange_methods): New macro.
9091 (__sync_val_compare_and_swap_4): New function.
9092 (__sync_bool_compare_and_swap_4): New function.
9093 (__sync_lock_test_and_test_4): New function.
9094 (__sync_val_compare_and_swap_8): New function.
9095 (__sync_bool_compare_and_swap_8): New function.
9096 (__sync_lock_test_and_test_8): New function.
9097 (__subword_cmpxchg_body): New macro.
9098 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
9099 (__atomic_compare_exchange_2): Ditto.
9100 (__sync_subword_cmpxchg): New macro.
9101 (__sync_val_compare_and_swap_1): New function.
9102 (__sync_bool_compare_and_swap_1): New function.
9103 (__sync_val_compare_and_swap_2): New function.
9104 (__sync_bool_compare_and_swap_2): New function.
9105 (__atomic_subword): Rename to ...
9106 (__subword): ... New name.
9107 (__atomic_subword_fetch): Use __subword.
9108 (__sync_subword_fetch): New macro.
9109 (__sync_fetch_and_add_1): New function.
9110 (__sync_fetch_and_sub_1): New function.
9111 (__sync_fetch_and_or_1): New function.
9112 (__sync_fetch_and_and_1): New function.
9113 (__sync_fetch_and_xor_1): New function.
9114 (__sync_fetch_and_nand_1): New function.
9115 (__sync_fetch_and_add_2): New function.
9116 (__sync_fetch_and_sub_2): New function.
9117 (__sync_fetch_and_or_2): New function.
9118 (__sync_fetch_and_and_2): New function.
9119 (__sync_fetch_and_xor_2): New function.
9120 (__sync_fetch_and_nand_2): New function.
9121 (__sync_add_and_fetch_1): New function.
9122 (__sync_sub_and_fetch_1): New function.
9123 (__sync_or_and_fetch_1): New function.
9124 (__sync_and_and_fetch_1): New function.
9125 (__sync_xor_and_fetch_1): New function.
9126 (__sync_nand_and_fetch_1): New function.
9127 (__sync_add_and_fetch_2): New function.
9128 (__sync_sub_and_fetch_2): New function.
9129 (__sync_or_and_fetch_2): New function.
9130 (__sync_and_and_fetch_2): New function.
9131 (__sync_xor_and_fetch_2): New function.
9132 (__sync_nand_and_fetch_2): New function.
9133 (__atomic_subword_lock): Use __subword.
9134 (__sync_subword_lock): New macro.
9135 (__sync_lock_test_and_set_1): New function.
9136 (__sync_lock_test_and_set_2): New function.
9137
9138 2014-01-25 Walter Lee <walt@tilera.com>
9139
9140 * config/tilepro/atomic.c (BIT_OFFSET): Define.
9141 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
9142 (__atomic_subword): Ditto.
9143
9144 2014-01-25 Walter Lee <walt@tilera.com>
9145
9146 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
9147 a prefix op argument.
9148 (__atomic_nand_fetch_4): Add prefix op.
9149 (__atomic_nand_fetch_8): Ditto.
9150
9151 2014-01-21 Baruch Siach <barch@tkos.co.il>
9152
9153 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
9154
9155 2014-01-09 Rong Xu <xur@google.com>
9156
9157 * libgcov-driver.c (this_prg): make it local to save
9158 bss space.
9159 (gcov_exit_compute_summary): Ditto.
9160 (gcov_exit_merge_gcda): Ditto.
9161 (gcov_exit_merge_summary): Ditto.
9162 (gcov_exit_dump_gcov): Ditto.
9163
9164 2014-01-08 Rong Xu <xur@google.com>
9165
9166 * libgcov-driver.c: Use libgcov.h.
9167 (buffer_fn_data): Use xmalloc instead of malloc.
9168 (gcov_exit_merge_gcda): Ditto.
9169 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
9170 * libgcov.h: New common header files for libgcov-*.h.
9171 * libgcov-interface.c: Use libgcov.h
9172 * libgcov-merge.c: Ditto.
9173 * libgcov-profiler.c: Ditto.
9174 * Makefile.in: Add dependence to libgcov.h
9175
9176 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9177
9178 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
9179 case of small numerator and finite nonzero result.
9180
9181 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
9182
9183 Update copyright years
9184
9185 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
9186
9187 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
9188 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
9189 config/arc/dp-hack.h, config/arc/fp-hack.h,
9190 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
9191 config/arc/ieee-754/arc600-dsp/divdf3.S,
9192 config/arc/ieee-754/arc600-dsp/divsf3.S,
9193 config/arc/ieee-754/arc600-dsp/muldf3.S,
9194 config/arc/ieee-754/arc600-dsp/mulsf3.S,
9195 config/arc/ieee-754/arc600-mul64/divdf3.S,
9196 config/arc/ieee-754/arc600-mul64/divsf3.S,
9197 config/arc/ieee-754/arc600-mul64/muldf3.S,
9198 config/arc/ieee-754/arc600-mul64/mulsf3.S,
9199 config/arc/ieee-754/arc600/divsf3.S,
9200 config/arc/ieee-754/arc600/mulsf3.S,
9201 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
9202 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
9203 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
9204 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
9205 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
9206 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
9207 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
9208 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
9209 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
9210 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
9211 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
9212 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
9213 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
9214 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
9215 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
9216 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
9217 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
9218 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
9219 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
9220 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
9221 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
9222 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
9223 vtv_start_preinit.c: Use the standard form for the copyright notice.
9224
9225 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
9226 Chung-Lin Tang <cltang@codesourcery.com>
9227 Based on patches from Altera Corporation
9228
9229 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
9230 * config/nios2/lib2-nios2.h: New file.
9231 * config/nios2/lib2-divmod-hi.c: New file.
9232 * config/nios2/linux-unwind.h: New file.
9233 * config/nios2/lib2-divmod.c: New file.
9234 * config/nios2/linux-atomic.c: New file.
9235 * config/nios2/t-nios2: New file.
9236 * config/nios2/crti.asm: New file.
9237 * config/nios2/t-linux: New file.
9238 * config/nios2/lib2-divtable.c: New file.
9239 * config/nios2/lib2-mul.c: New file.
9240 * config/nios2/tramp.c: New file.
9241 * config/nios2/crtn.asm: New file.
9242
9243 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
9244
9245 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
9246 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
9247 from cpuid.h to check vendor signatures.
9248
9249 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
9250
9251 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
9252 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
9253 (get_amd_cpu): Likewise.
9254
9255 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
9256
9257 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
9258 Haswell.
9259
9260 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
9261 H.J. Lu <hongjiu.lu@intel.com>
9262
9263 PR target/59422
9264 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
9265 and AMD_JAGUAR.
9266 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
9267 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
9268 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
9269 FEATURE_XOP and FEATURE_FMA.
9270 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
9271 AMDFAM15H_BDVER3.
9272 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
9273 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
9274 FEATURE_FMA4 and FEATURE_XOP.
9275
9276 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
9277
9278 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
9279 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
9280 (get_intel_cpu): Updated.
9281
9282 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
9283
9284 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
9285
9286 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
9287
9288 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9289 instructions when __SSE_MATH__ is defined.
9290
9291 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
9292
9293 * config.host (microblaze-*-rtems*): New.
9294
9295 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
9296
9297 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
9298 architectures that do not have hardware divide instruction.
9299 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
9300
9301 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
9302
9303 * longlong.h: Delete (moved to include/).
9304
9305 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9306
9307 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
9308 of normal number and qNaN to not raise an inexact exception.
9309
9310 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
9311
9312 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
9313
9314 2013-11-28 Matthew Leach <matthew.leach@arm.com>
9315
9316 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
9317 for correct opcodes on BE.
9318
9319 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
9320
9321 * soft-fp/op-4.h: Update from glibc.
9322
9323 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
9324
9325 * libgcc2.c (__udivmoddi4): Define new implementation when
9326 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
9327 divide instructions.
9328
9329 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
9330
9331 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
9332
9333 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9334
9335 * config/t-softfp (soft-fp-objects-base): New variable.
9336 (soft-fp-objects): Use it.
9337
9338 2013-11-23 David Edelson <dje.gcc@gmail.com>
9339 Andrew Dixie <andrewd@gentrack.com>
9340
9341 PR target/33704
9342 * config/rs6000/aixinitfini.c: New file.
9343 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
9344 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
9345 symbols.
9346
9347 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
9348
9349 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
9350
9351 2013-11-18 Jan Hubicka <jh@suse.cz>
9352
9353 * libgcov-driver.c (run_accounted): Make global level static.
9354 (gcov_exit_merge_summary): Silence warning; do not clear
9355 run_accounted here.
9356 (gcov_exit): Clear it here.
9357
9358 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
9359 run_accounted.
9360
9361 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
9362 (all_prg, crc32): Remove static vars.
9363 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
9364 all_prg.
9365 (gcov_exit_merge_gcda): Add crc32 parameter.
9366 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
9367 do not account run if it was already accounted.
9368 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
9369 (gcov_exit): Initialize all_prg; update.
9370
9371 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
9372
9373 * configure: Regenerate.
9374
9375 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9376 Alan Modra <amodra@gmail.com>
9377
9378 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
9379 (frob_update_context): Use it.
9380
9381 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9382 Alan Modra <amodra@gmail.com>
9383
9384 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
9385 (trampoline_initial): Provide ELFv2 variant.
9386 (__trampoline_setup): Likewise.
9387
9388 * config/rs6000/linux-unwind.h (frob_update_context): Do not
9389 check for AIX indirect function call sequence if _CALL_ELF == 2.
9390
9391 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9392 Alan Modra <amodra@gmail.com>
9393
9394 * config/rs6000/linux-unwind.h (get_regs): Do not support
9395 old kernel versions if _CALL_ELF == 2.
9396 (frob_update_context): Do not support PLT stub variants only
9397 generated by old linkers if _CALL_ELF == 2.
9398
9399 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9400 Alan Modra <amodra@gmail.com>
9401
9402 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
9403 location of CR save area for 64-bit little-endian systems.
9404
9405 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
9406
9407 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
9408 in tmake_file.
9409 * config/arm/t-vxworks: Delete.
9410
9411 2013-11-10 Kai Tietz <ktietz@redhat.com>
9412
9413 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
9414 Increment load-count on use of LIBGCC_SONAME DLL.
9415 (hmod_libgcc): New static variable to hold handle of
9416 LIBGCC_SONAME DLL.
9417 (__gcc_deregister_frame): Decrement load-count of
9418 LIBGCC_SONAME DLL.
9419
9420 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
9421
9422 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
9423 availability.
9424 * configure: Regenerate
9425
9426 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
9427
9428 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
9429 FP_EX_DENORM. Store result to volatile location after SSE division
9430 to close interrupt window. Remove unneeded fwait after x87
9431 division since interrupt window will be closed by emitted fstp.
9432 Rewrite FP_EX_INEXACT handling.
9433
9434 2013-11-06 Joseph Myers <joseph@codesourcery.com>
9435
9436 * soft-fp/README: Update.
9437 * soft-fp/adddf3.c: Update from glibc.
9438 * soft-fp/addsf3.c: Likewise.
9439 * soft-fp/addtf3.c: Likewise.
9440 * soft-fp/divdf3.c: Likewise.
9441 * soft-fp/divsf3.c: Likewise.
9442 * soft-fp/divtf3.c: Likewise.
9443 * soft-fp/double.h: Likewise.
9444 * soft-fp/eqdf2.c: Likewise.
9445 * soft-fp/eqsf2.c: Likewise.
9446 * soft-fp/eqtf2.c: Likewise.
9447 * soft-fp/extenddftf2.c: Likewise.
9448 * soft-fp/extended.h: Likewise.
9449 * soft-fp/extendsfdf2.c: Likewise.
9450 * soft-fp/extendsftf2.c: Likewise.
9451 * soft-fp/extendxftf2.c: Likewise.
9452 * soft-fp/fixdfdi.c: Likewise.
9453 * soft-fp/fixdfsi.c: Likewise.
9454 * soft-fp/fixdfti.c: Likewise.
9455 * soft-fp/fixsfdi.c: Likewise.
9456 * soft-fp/fixsfsi.c: Likewise.
9457 * soft-fp/fixsfti.c: Likewise.
9458 * soft-fp/fixtfdi.c: Likewise.
9459 * soft-fp/fixtfsi.c: Likewise.
9460 * soft-fp/fixtfti.c: Likewise.
9461 * soft-fp/fixunsdfdi.c: Likewise.
9462 * soft-fp/fixunsdfsi.c: Likewise.
9463 * soft-fp/fixunsdfti.c: Likewise.
9464 * soft-fp/fixunssfdi.c: Likewise.
9465 * soft-fp/fixunssfsi.c: Likewise.
9466 * soft-fp/fixunssfti.c: Likewise.
9467 * soft-fp/fixunstfdi.c: Likewise.
9468 * soft-fp/fixunstfsi.c: Likewise.
9469 * soft-fp/fixunstfti.c: Likewise.
9470 * soft-fp/floatdidf.c: Likewise.
9471 * soft-fp/floatdisf.c: Likewise.
9472 * soft-fp/floatditf.c: Likewise.
9473 * soft-fp/floatsidf.c: Likewise.
9474 * soft-fp/floatsisf.c: Likewise.
9475 * soft-fp/floatsitf.c: Likewise.
9476 * soft-fp/floattidf.c: Likewise.
9477 * soft-fp/floattisf.c: Likewise.
9478 * soft-fp/floattitf.c: Likewise.
9479 * soft-fp/floatundidf.c: Likewise.
9480 * soft-fp/floatundisf.c: Likewise.
9481 * soft-fp/floatunditf.c: Likewise.
9482 * soft-fp/floatunsidf.c: Likewise.
9483 * soft-fp/floatunsisf.c: Likewise.
9484 * soft-fp/floatunsitf.c: Likewise.
9485 * soft-fp/floatuntidf.c: Likewise.
9486 * soft-fp/floatuntisf.c: Likewise.
9487 * soft-fp/floatuntitf.c: Likewise.
9488 * soft-fp/gedf2.c: Likewise.
9489 * soft-fp/gesf2.c: Likewise.
9490 * soft-fp/getf2.c: Likewise.
9491 * soft-fp/ledf2.c: Likewise.
9492 * soft-fp/lesf2.c: Likewise.
9493 * soft-fp/letf2.c: Likewise.
9494 * soft-fp/muldf3.c: Likewise.
9495 * soft-fp/mulsf3.c: Likewise.
9496 * soft-fp/multf3.c: Likewise.
9497 * soft-fp/negdf2.c: Likewise.
9498 * soft-fp/negsf2.c: Likewise.
9499 * soft-fp/negtf2.c: Likewise.
9500 * soft-fp/op-1.h: Likewise.
9501 * soft-fp/op-2.h: Likewise.
9502 * soft-fp/op-4.h: Likewise.
9503 * soft-fp/op-8.h: Likewise.
9504 * soft-fp/op-common.h: Likewise.
9505 * soft-fp/quad.h: Likewise.
9506 * soft-fp/single.h: Likewise.
9507 * soft-fp/soft-fp.h: Likewise.
9508 * soft-fp/subdf3.c: Likewise.
9509 * soft-fp/subsf3.c: Likewise.
9510 * soft-fp/subtf3.c: Likewise.
9511 * soft-fp/truncdfsf2.c: Likewise.
9512 * soft-fp/trunctfdf2.c: Likewise.
9513 * soft-fp/trunctfsf2.c: Likewise.
9514 * soft-fp/trunctfxf2.c: Likewise.
9515 * soft-fp/unorddf2.c: Likewise.
9516 * soft-fp/unordsf2.c: Likewise.
9517 * soft-fp/unordtf2.c: Likewise.
9518
9519 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
9520
9521 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
9522 (_FP_MUL_MEAT_D): Ditto.
9523 (_FP_DIV_MEAT_S): Ditto.
9524 (_FP_DIV_MEAT_D): Ditto.
9525 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
9526 t-softfp-sfdf and t-softfp to tmake_file.
9527
9528 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
9529
9530 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
9531 * config/i386/crtprec.c: Ditto.
9532
9533 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
9534 Shiva Chen <shiva0217@gmail.com>
9535
9536 * config.host (nds32*-elf*): Add nds32 target.
9537 * config/nds32 : New directory and files.
9538
9539 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
9540
9541 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
9542 * config.host (cpu_type) <Setting default>: Add entry for
9543 crisv32-*-*.
9544 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
9545 <crisv32-*-linux*>: Adjust.
9546 * longlong.h: Wrap the whole CRIS section in a single
9547 defined(__CRIS__) conditional. Add comment about add_ssaaaa
9548 and sub_ddmmss.
9549 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
9550 defined.
9551 [__CRIS__] (__umulsidi3): Define.
9552 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
9553 * config/cris/sfp-machine.h: New file.
9554 * config/cris/umulsidi3.S: New file.
9555 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
9556 * config/cris/arit.c (SIGNMULT): New macro.
9557 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
9558 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
9559 saving 3 out of originally 33 cycles from the fastest
9560 path, 3 out of 54 from the medium path and one from the longest
9561 path. Improve comments.
9562
9563 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
9564
9565 * sync.c: Remove static aliases and define each function directly
9566 under its real name.
9567
9568 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
9569
9570 * config.host (hppa*64*-*-linux*): Define extra_parts.
9571 (hppa*-*-linux*): Likewise.
9572
9573 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
9574
9575 * config/arc/crtgend.S: Add 2013 to Copyright years.
9576 * config/arc/gmon/atomic.h: Likewise.
9577 * config/arc/gmon/auxreg.h: Likewise.
9578 * config/arc/gmon/sys/gmon_out.h: Likewise.
9579 * config/arc/gmon/sys/gmon.h: Likewise.
9580 * config/arc/gmon/prof-freq.c: Likewise.
9581 * config/arc/gmon/mcount.c: Likewise.
9582 * config/arc/gmon/prof-freq-stub.S: Likewise.
9583 * config/arc/gmon/gmon.c: Likewise.
9584 * config/arc/gmon/machine-gmon.h: Likewise.
9585 * config/arc/gmon/profil.S: Likewise.
9586 * config/arc/gmon/dcache_linesz.S: Likewise.
9587 * config/arc/crtg.S: Likewise.
9588 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
9589 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
9590 * config/arc/ieee-754/adddf3.S: Likewise.
9591 * config/arc/ieee-754/truncdfsf2.S: Likewise.
9592 * config/arc/ieee-754/fixsfsi.S: Likewise.
9593 * config/arc/ieee-754/gtsf2.S: Likewise.
9594 * config/arc/ieee-754/floatsisf.S: Likewise.
9595 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
9596 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
9597 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
9598 * config/arc/ieee-754/fixdfsi.S: Likewise.
9599 * config/arc/ieee-754/addsf3.S: Likewise.
9600 * config/arc/ieee-754/gesf2.S: Likewise.
9601 * config/arc/ieee-754/floatsidf.S: Likewise.
9602 * config/arc/ieee-754/extendsfdf2.S: Likewise.
9603 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
9604 * config/arc/ieee-754/gtdf2.S: Likewise.
9605 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
9606 * config/arc/ieee-754/uneqdf2.S: Likewise.
9607 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
9608 * config/arc/ieee-754/uneqsf2.S: Likewise.
9609 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
9610 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
9611 * config/arc/ieee-754/eqdf2.S: Likewise.
9612 * config/arc/ieee-754/ordsf2.S: Likewise.
9613 * config/arc/ieee-754/divsf3.S: Likewise.
9614 * config/arc/ieee-754/divdf3.S: Likewise.
9615 * config/arc/ieee-754/floatunsidf.S: Likewise.
9616 * config/arc/ieee-754/orddf2.S: Likewise.
9617 * config/arc/ieee-754/eqsf2.S: Likewise.
9618 * config/arc/ieee-754/gedf2.S: Likewise.
9619 * config/arc/crtn.S: Likewise.
9620 * config/arc/crti.S: Likewise.
9621 * config/arc/t-arc700-uClibc: Likewise.
9622 * config/arc/asm.h: Likewise.
9623 * config/arc/libgcc-excl.ver: Likewise.
9624 * config/arc/t-arc-newlib: Likewise.
9625 * config/arc/divtab-arc700.c: Likewise.
9626 * config/arc/initfini.c: Likewise.
9627 * config/arc/fp-hack.h: Likewise.
9628
9629 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
9630 Diego Novillo <dnovillo@google.com>
9631
9632 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
9633 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
9634 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
9635 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
9636
9637 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
9638 Brendan Kehoe <brendan@zen.org>
9639 Simon Cook <simon.cook@embecosm.com>
9640
9641 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
9642 * config/arc: New directory.
9643 * longlong.h [__arc__] (umul_ppmm): Remove.
9644 [__arc__] (__umulsidi3): Define.
9645 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
9646 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
9647
9648 2013-09-17 Jacek Caban <jacek@codeweavers.com>
9649
9650 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
9651 CreateSemaphoreA.
9652 * config/i386/gthr-win32.h: Likewise.
9653
9654 2013-09-16 DJ Delorie <dj@redhat.com>
9655
9656 * config/rl78/vregs.h: Add G10 register definitions.
9657 * config/rl78/lib2mul.c: Enable for RL78/G10.
9658 * config/rl78/lib2div.c: Likewise.
9659 * config/rl78/lshrsi3.S: Use vregs.h.
9660 * config/rl78/cmpsi2.S: Likewise.
9661 * config/rl78/trampoline.S: Likewise.
9662 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
9663
9664 2013-09-14 DJ Delorie <dj@redhat.com>
9665 Nick Clifton <nickc@redhat.com>
9666
9667 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
9668 * config/rl78/vregs.h: New.
9669 * config/rl78/signbit.S: New file. Implements signbit function.
9670 * config/rl78/divmodsi.S: New.
9671 * config/rl78/divmodhi.S: New.
9672 * config/rl78/divmodqi.S: New.
9673 * config/rl78/t-rl78: Build them here...
9674 * config/rl78/lib2div.c: ...but not here.
9675
9676 2013-09-12 DJ Delorie <dj@redhat.com>
9677
9678 * config.host (msp*-*-elf): New.
9679 * config/msp430/: New port.
9680
9681 2013-08-18 Iain Sandoe <iain@codesourcery.com>
9682
9683 PR gcov-profile/58127
9684 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
9685 __thread var for emulated TLS.
9686 (__gcov_indirect_call_counters): Likewise.
9687
9688 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
9689 Catherine Moore <clm@codesourcery.com>
9690 Richard Sandiford <rdsandiford@googlemail.com>
9691
9692 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
9693 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
9694 (CALL_STUB_NO_RET): Likewise.
9695 (CALL_STUB_RET): Likewise.
9696 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
9697 __mips16_ret call/return stub symbols.
9698 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
9699 to tmake_file.
9700
9701 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
9702
9703 * config.host <mips*-*-linux*>: Remove a stray comment.
9704
9705 2013-08-10 Jan Hubicka <jh@suse.cz>
9706
9707 Work around binutils PR14342
9708 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
9709 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
9710 (L_gcov_indirect_call_profiler_v2): New.
9711
9712 2013-08-06 Jan Hubicka <jh@suse.cz>
9713
9714 * libgcov.c (__gcov_indirect_call_callee,
9715 __gcov_indirect_call_counters): New global vars.
9716 (__gcov_indirect_call_profiler): replace by ...
9717 (__gcov_indirect_call_profiler_v2) ... this one.
9718
9719 2013-08-06 Caroline Tice <cmtice@google.com>
9720
9721 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
9722 vtv_start_preinit.o and vtv_end_preinit.o.
9723 * configure.ac: Add code to check/set enable_vtable_verify.
9724 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
9725 true.
9726 * vtv_start_preinit.c: New file.
9727 * vtv_end_preinit.c: New file.
9728 * vtv_start.c: New file.
9729 * vtv_end.c: New file.
9730 * configure: Regenerated.
9731
9732 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
9733
9734 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
9735 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
9736 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
9737 GPL-3.0-with-GCC-exception.
9738
9739 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
9740
9741 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
9742 ISA and up.
9743
9744 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9745
9746 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
9747 mapping for FPRs when creating the fallback framestate.
9748
9749 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
9750
9751 PR target/57516
9752 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
9753 (__round_s2_const, __round_u2_const)
9754 (__round_s4_const, __round_u4_const, __round_x8):
9755 Saturate result if addition result cannot be represented.
9756
9757 2013-07-15 Matthias Klose <doko@ubuntu.com>
9758
9759 * libgcc2.c: Don't include <limits.h>.
9760
9761 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
9762
9763 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
9764
9765 2013-07-06 Jakub Jelinek <jakub@redhat.com>
9766
9767 PR target/29776
9768 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
9769
9770 2013-06-28 Jakub Jelinek <jakub@redhat.com>
9771
9772 PR middle-end/36041
9773 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
9774 Define.
9775 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
9776 instead of table lookups.
9777 (__popcountDI2): Likewise.
9778
9779 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
9780
9781 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
9782 correctly.
9783
9784 2013-06-21 Joseph Myers <joseph@codesourcery.com>
9785
9786 PR other/53317
9787 * soft-fp/adddf3.c: Update from glibc.
9788 * soft-fp/addsf3.c: Likewise.
9789 * soft-fp/addtf3.c: Likewise.
9790 * soft-fp/divdf3.c: Likewise.
9791 * soft-fp/divsf3.c: Likewise.
9792 * soft-fp/divtf3.c: Likewise.
9793 * soft-fp/double.h: Likewise.
9794 * soft-fp/eqdf2.c: Likewise.
9795 * soft-fp/eqsf2.c: Likewise.
9796 * soft-fp/eqtf2.c: Likewise.
9797 * soft-fp/extenddftf2.c: Likewise.
9798 * soft-fp/extended.h: Likewise.
9799 * soft-fp/extendsfdf2.c: Likewise.
9800 * soft-fp/extendsftf2.c: Likewise.
9801 * soft-fp/fixdfdi.c: Likewise.
9802 * soft-fp/fixdfsi.c: Likewise.
9803 * soft-fp/fixsfdi.c: Likewise.
9804 * soft-fp/fixsfsi.c: Likewise.
9805 * soft-fp/fixtfdi.c: Likewise.
9806 * soft-fp/fixtfsi.c: Likewise.
9807 * soft-fp/fixunsdfdi.c: Likewise.
9808 * soft-fp/fixunsdfsi.c: Likewise.
9809 * soft-fp/fixunssfdi.c: Likewise.
9810 * soft-fp/fixunssfsi.c: Likewise.
9811 * soft-fp/fixunstfdi.c: Likewise.
9812 * soft-fp/fixunstfsi.c: Likewise.
9813 * soft-fp/floatdidf.c: Likewise.
9814 * soft-fp/floatdisf.c: Likewise.
9815 * soft-fp/floatditf.c: Likewise.
9816 * soft-fp/floatsidf.c: Likewise.
9817 * soft-fp/floatsisf.c: Likewise.
9818 * soft-fp/floatsitf.c: Likewise.
9819 * soft-fp/floatundidf.c: Likewise.
9820 * soft-fp/floatundisf.c: Likewise.
9821 * soft-fp/floatunditf.c: Likewise.
9822 * soft-fp/floatunsidf.c: Likewise.
9823 * soft-fp/floatunsisf.c: Likewise.
9824 * soft-fp/floatunsitf.c: Likewise.
9825 * soft-fp/gedf2.c: Likewise.
9826 * soft-fp/gesf2.c: Likewise.
9827 * soft-fp/getf2.c: Likewise.
9828 * soft-fp/ledf2.c: Likewise.
9829 * soft-fp/lesf2.c: Likewise.
9830 * soft-fp/letf2.c: Likewise.
9831 * soft-fp/muldf3.c: Likewise.
9832 * soft-fp/mulsf3.c: Likewise.
9833 * soft-fp/multf3.c: Likewise.
9834 * soft-fp/negdf2.c: Likewise.
9835 * soft-fp/negsf2.c: Likewise.
9836 * soft-fp/negtf2.c: Likewise.
9837 * soft-fp/op-1.h: Likewise.
9838 * soft-fp/op-2.h: Likewise.
9839 * soft-fp/op-4.h: Likewise.
9840 * soft-fp/op-8.h: Likewise.
9841 * soft-fp/op-common.h: Likewise.
9842 * soft-fp/quad.h: Likewise.
9843 * soft-fp/single.h: Likewise.
9844 * soft-fp/soft-fp.h: Likewise.
9845 * soft-fp/subdf3.c: Likewise.
9846 * soft-fp/subsf3.c: Likewise.
9847 * soft-fp/subtf3.c: Likewise.
9848 * soft-fp/truncdfsf2.c: Likewise.
9849 * soft-fp/trunctfdf2.c: Likewise.
9850 * soft-fp/trunctfsf2.c: Likewise.
9851 * soft-fp/unorddf2.c: Likewise.
9852 * soft-fp/unordsf2.c: Likewise.
9853 * soft-fp/unordtf2.c: Likewise.
9854 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
9855 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9856 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9857 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9858 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9859 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9860 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9861 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9862 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9863 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
9864 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
9865 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9866
9867 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
9868
9869 * config/mips/lib2funcs.c: New file.
9870 * config/mips/t-mips (LIB2ADD_ST): Add it.
9871
9872 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
9873
9874 PR target/6526
9875 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
9876 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
9877
9878 2013-06-08 Walter Lee <walt@tilera.com>
9879
9880 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
9881 Replace int64_t with long long. Add __extension__ where
9882 appropriate.
9883 * config/tilepro/atomic.c: Include config.h.
9884
9885 2013-06-06 Douglas B Rupp <rupp@adacore.com>
9886
9887 * config.host (arm-wrs-vxworks): Configure with other soft float.
9888
9889 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
9890
9891 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
9892 (mips64r5900el-*-elf*): New configurations.
9893
9894 2013-06-04 Alan Modra <amodra@gmail.com>
9895
9896 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
9897
9898 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
9899
9900 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
9901
9902 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
9903
9904 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
9905 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
9906 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
9907
9908 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
9909
9910 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
9911 (powerpc-wrs-vxworks): Likewise.
9912
9913 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
9914
9915 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
9916 signal frames as well.
9917 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
9918 STACK_BIAS to the CFA offset.
9919
9920 2013-05-17 Richard Henderson <rth@redhat.com>
9921
9922 PR target/49146
9923 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
9924 (execute_cfa_program): Use it when storing to fs->regs.
9925
9926 2013-05-08 Kai Tietz <ktietz@redhat.com>
9927
9928 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
9929 (__deregister_frame_info): Likewise.
9930
9931 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
9932
9933 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
9934 NaN's payload.
9935
9936 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
9937
9938 2013-04-25 Alan Modra <amodra@gmail.com>
9939
9940 * config.host: Match little-endian powerpc-linux.
9941
9942 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
9943
9944 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
9945 as 'unsigned long long' instead of 'unsigned long'.
9946 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
9947 'signed long'.
9948
9949 2013-04-10 Julian Brown <julian@codesourcery.com>
9950
9951 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
9952 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
9953 unsigned char/unsigned short.
9954 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
9955
9956 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9957
9958 PR other/55274
9959 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
9960
9961 2013-04-04 Meador Inge <meadori@codesourcery.com>
9962
9963 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
9964 computing the location of the link register.
9965 (aeabi_uldivmod): Ditto.
9966
9967 2013-03-27 Kai Tietz <ktietz@redhat.com>
9968
9969 * config.host: Add support for cygwin x64 target.
9970 * configure: Regenerated.
9971
9972 2013-03-26 Walter Lee <walt@tilera.com>
9973
9974 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
9975 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
9976
9977 2013-03-25 Kai Tietz <ktietz@redhat.com>
9978
9979 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
9980
9981 2013-03-20 Robert Mason <rbmj@verizon.net>
9982
9983 * config/vxlib-tls.c (__gthread_get_tsd_data,)
9984 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
9985 (__gthread_leave_tsd_dtor_context): Add prototypes.
9986 (tls_delete_hook): Update.
9987
9988 2013-03-20 Catherine Moore <clm@codesourcery.com>
9989 Joseph Myers <joseph@codesourcery.com>
9990 Chao-ying Fu <fu@mips.com>
9991
9992 * config/mips/mips16.S: Don't build for microMIPS.
9993 * config/mips/linux-unwind.h: Handle microMIPS frame.
9994 * config/mips/crtn.S (fini, init): New labels.
9995
9996 2013-03-14 Jakub Jelinek <jakub@redhat.com>
9997
9998 PR tree-optimization/53265
9999 * unwind-dw2.c (execute_cfa_program): Avoid
10000 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
10001 on targets with DWARF_FRAME_REGISTERS < 32.
10002
10003 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
10004
10005 PR target/49880
10006 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
10007 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
10008
10009 2013-03-07 Sriraman Tallam <tmsriram@google.com>
10010
10011 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
10012 sandybridge processors.
10013
10014 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
10015
10016 PR target/56529
10017 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
10018 inclusion list.
10019
10020 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
10021
10022 * config/microblaze/crti.S: Setup stack protection at entry
10023
10024 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
10025
10026 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
10027 (__rotldi3): Shift bytewise if applicable.
10028
10029 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
10030
10031 * config/aarch64/sync-cache.c
10032 (__aarch64_sync_cache_range): Silence warnings.
10033
10034 2013-02-25 Catherine Moore <clm@codesourcery.com>
10035
10036 Revert:
10037 2013-02-24 Catherine Moore <clm@codesourcery.com>
10038 Joseph Myers <joseph@codesourcery.com>
10039 Chao-ying Fu <fu@mips.com>
10040
10041 * config/mips/mips16.S: Don't build for microMIPS.
10042 * config/mips/linux-unwind.h: Handle microMIPS frame.
10043 * config/mips/crtn.S (fini, init): New labels.
10044
10045 2013-02-24 Catherine Moore <clm@codesourcery.com>
10046 Joseph Myers <joseph@codesourcery.com>
10047 Chao-ying Fu <fu@mips.com>
10048
10049 * config/mips/mips16.S: Don't build for microMIPS.
10050 * config/mips/linux-unwind.h: Handle microMIPS frame.
10051 * config/mips/crtn.S (fini, init): New labels.
10052
10053 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
10054 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
10055 as dividend.
10056
10057 2013-02-16 Alan Modra <amodra@gmail.com>
10058
10059 PR target/55431
10060 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
10061 (ppc_fallback_frame_state): Always set up save locations for fp
10062 and altivec. Don't bother with non-callee-saved regs, r0-r13
10063 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
10064
10065 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
10066
10067 PR target/54222
10068 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
10069 _ssmulHA, _ssmulSA.
10070 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
10071 _ssmulha3, _usmulusa3, _ssmulsa3.
10072 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
10073 (__muldi3): XCALL __muldi3_6 instead of rcall.
10074 (__umulsidi3, __mulsidi3): New functions.
10075 (do_prologue_saves, do_epilogue_restores): New .macros.
10076 (__divdi3_moddi3): Use them.
10077 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
10078 (__usmulusa3, __ssmulsa3): New functions.
10079
10080 2013-02-11 Iain Sandoe <iain@codesourcery.com>
10081 Jack Howarth <howarth@bromo.med.uc.edu>
10082 Patrick Marlier <patrick.marlier@gmail.com>
10083
10084 PR libitm/55693
10085 * config/darwin-crt-tm.c: Remove dummy functions hack.
10086
10087 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
10088
10089 PR target/54222
10090 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
10091 * config/avr/lib2-object.mk: New iterator to build objects from it.
10092 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
10093 lib2funcs.c.
10094 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
10095 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
10096 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
10097 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
10098 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
10099 * config/avr/lib1funcs-fixed.S: Implement them.
10100
10101 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
10102
10103 Update copyright years.
10104
10105 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
10106
10107 PR target/54601
10108 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
10109 Add crtcxa to extra_parts.
10110 * config/rs6000/exit.h: New file.
10111 * config/rs6000/cxa_atexit.c: New file.
10112 * config/rs6000/cxa_finalize.c: New file.
10113 * config/rs6000/crtcxa.c: New file.
10114 * config/rs6000/t-aix-cxa: New file.
10115 * config/rs6000/libgcc-aix-cxa.ver: New file.
10116
10117 2013-01-31 Nick Clifton <nickc@redhat.com>
10118
10119 * config/v850/lib1funcs.S: Add support for e3v5 architecture
10120 variant.
10121
10122 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
10123
10124 PR target/54222
10125 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
10126 _mulQQ, _mulHQ, _mulHA, _mulSA,
10127 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
10128 _divQQ, _divHQ, _divHA, _divSA,
10129 _divUQQ, _divUHQ, _divUHA, _divUSA.
10130
10131 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
10132
10133 * config.host(microblaze*-linux*): tmake_file: Remove
10134 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
10135 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
10136 to exclude functions from being built with libgcc.c and use
10137 the microblaze assembly.
10138
10139 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
10140
10141 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
10142 extra_parts.
10143
10144 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
10145
10146 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
10147 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
10148 __UINTPTR_TYPE__; also cast 'base' to the same type before the
10149 alignment operation.
10150
10151 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
10152
10153 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
10154 loop start address for cache clearing.
10155
10156 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
10157
10158 * config/avr/lib1funcs.S: Remove trailing blanks.
10159 * config/avr/lib1funcs-fixed.S: Ditto.
10160
10161 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
10162
10163 * config/avr/avr-lib.h: Add GPL copyright notice.
10164
10165 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
10166
10167 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
10168 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
10169 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
10170 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
10171
10172 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
10173
10174 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
10175 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
10176
10177 2013-01-04 Nick Clifton <nickc@redhat.com>
10178
10179 * config/v850/lib1funcs.S: Only provide CALLT support functions if
10180 the CALLT instruction is supported.
10181
10182 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
10183
10184 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
10185 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
10186
10187 2012-12-13 John Tytgat <John@bass-software.com>
10188
10189 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
10190 is 25.
10191
10192 2012-12-12 Jakub Jelinek <jakub@redhat.com>
10193
10194 PR libgcc/55451
10195 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
10196 undefined signed overflows.
10197
10198 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
10199
10200 PR target/55344
10201 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
10202
10203 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
10204
10205 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
10206 (FP_TRAPPING_EXCEPTIONS): Define.
10207 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
10208 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
10209
10210 2012-12-04 Richard Henderson <rth@redhat.com>
10211
10212 PR bootstrap/55571
10213 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
10214
10215 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
10216
10217 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
10218 (FP_EX_SHIFT): Define.
10219 (FP_TRAPPING_EXCEPTIONS): Define.
10220
10221 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
10222
10223 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
10224 (FP_ROUNDMODE): Use FP_RND_MASK.
10225 * config/aarch64/sfp-exceptions.c: New.
10226 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10227 Use __sfp_handle_exceptions.
10228
10229 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
10230
10231 * config.host: (arm*-*-freebsd*): Remove.
10232 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
10233 (arm*-*-elf*): Remove.
10234 (arm*-*-wince-pe*): Remove.
10235 * arm/unwind-arm.c (struct fpa_reg): Delete.
10236 (struct fpa_regs): Delete.
10237 (phase1_vrs): Remove fpa element.
10238 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
10239 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
10240 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
10241 * ieee754-sf.S (floatundisf): Remove FPA support.
10242 (floatdisf): Likewise.
10243 * ieee75f-df.S (floatundidf): Likewise.
10244 (floatdidf): Likewise.
10245
10246 2012-11-29 Kai Tietz <ktietz@redhat.com>
10247
10248 PR target/55445
10249 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
10250 * unwind-generic.h: Likewise.
10251 * unwind-seh.c: Likewise.
10252
10253 2012-11-28 Richard Henderson <rth@redhat.com>
10254
10255 PR libgcc/48076
10256 * emutls.c (__emutls_get_address): Avoid race condition between
10257 obj->loc.offset read and emutls_key initialization.
10258
10259 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
10260
10261 Adjust decimal point of signed accum mode to GCC default.
10262
10263 PR target/54222
10264 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
10265 _divqq_helper.
10266 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
10267 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
10268 (__mulha3, __mulsa3)
10269 (__divqq3, __divha3, __divsa3): Adjust to new position of
10270 decimal point of signed accum types.
10271
10272 (__mulusa3_round): New function.
10273 (__mulusa3): Use it.
10274 (__divqq_helper): New function.
10275 (__udivuqq3): Use it.
10276
10277 2012-11-20 Jakub Jelinek <jakub@redhat.com>
10278
10279 PR bootstrap/55370
10280 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
10281
10282 2012-11-18 Teresa Johnson <tejohnson@google.com>
10283
10284 PR bootstrap/55051
10285 * libgcov.c (gcov_exit): Remove merged program summary
10286 comparison unless !GCOV_LOCKED.
10287
10288 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
10289
10290 * soft-fp: Updated from glibc upstream.
10291
10292 2012-11-06 Ian Lance Taylor <iant@google.com>
10293
10294 * generic-morestack.c (__generic_morestack): Align the returned
10295 stack pointer to a 32 byte boundary.
10296 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
10297 increment the return address until we have decided that we don't
10298 have a varargs function.
10299 (__morestack) [32-bit]: Align stack correctly when calling C
10300 functions.
10301 (__morestack) [64-bit]: Likewise.
10302
10303 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10304
10305 * configure: Regenerate.
10306
10307 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
10308
10309 PR target/55175
10310 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
10311 * config/i386/sfp-machine.h: Guard exception handling
10312 code with _SOFT_FLOAT.
10313 * config/i386/32/sfp-machine.h: Guard rounding handling
10314 code with _SOFT_FLOAT.
10315 * config/i386/64/sfp-machine.h: Ditto.
10316
10317 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
10318
10319 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
10320 as extra_parts.
10321
10322 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
10323
10324 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
10325 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
10326 when appropriate. Correct structure element types.
10327 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
10328 -minline-all-stringops from compile flags.
10329
10330 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
10331
10332 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
10333
10334 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
10335
10336 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
10337
10338 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
10339
10340 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
10341 tmake_file.
10342
10343 2012-10-23 Ian Bolton <ian.bolton@arm.com>
10344 Jim MacArthur <jim.macarthur@arm.com>
10345 Marcus Shawcroft <marcus.shawcroft@arm.com>
10346 Nigel Stephens <nigel.stephens@arm.com>
10347 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
10348 Richard Earnshaw <rearnsha@arm.com>
10349 Sofiane Naci <sofiane.naci@arm.com>
10350 Stephen Thomas <stephen.thomas@arm.com>
10351 Tejas Belagod <tejas.belagod@arm.com>
10352 Yufeng Zhang <yufeng.zhang@arm.com>
10353
10354 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
10355 * config/aarch64/crti.S: New file.
10356 * config/aarch64/crtn.S: New file.
10357 * config/aarch64/linux-unwind.h: New file.
10358 * config/aarch64/sfp-machine.h: New file.
10359 * config/aarch64/sync-cache.c: New file.
10360 * config/aarch64/t-aarch64: New file.
10361 * config/aarch64/t-softfp: New file.
10362
10363 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
10364
10365 * config/mmix/crti.S: Mark program and data addresses using PRELD.
10366 Remove typo'd and unnecessary alignment-LOC for .data. Remove
10367 no-longer-needed LDBU insns.
10368
10369 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
10370
10371 * config.host
10372 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
10373 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
10374
10375 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10376
10377 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
10378
10379 2012-10-15 Matthias Klose <doko@ubuntu.com>
10380
10381 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
10382
10383 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
10384
10385 * configure: Regenerate.
10386 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
10387
10388 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
10389
10390 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
10391 instructions for 64bit targets only.
10392
10393 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
10394
10395 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
10396 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
10397 * config/i386/32/sfp-machine.h: ... here.
10398 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
10399 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
10400 New defines.
10401
10402 2012-10-07 Matthias Klose <doko@ubuntu.com>
10403
10404 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
10405 as unused.
10406 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
10407
10408 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
10409
10410 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
10411 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
10412 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
10413 (ElfW): Likewise.
10414
10415 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
10416
10417 PR other/53889
10418 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
10419 Fix parameter names.
10420
10421 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
10422
10423 PR target/33135
10424 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
10425 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
10426 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
10427
10428 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
10429
10430 PR target/50457
10431 * config/sh/linux-atomic.S: Delete.
10432 * config/sh/linux-atomic.c: New.
10433 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
10434 linux-atomic.c. Add cflags to disable warnings.
10435
10436 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
10437
10438 PR other/53889
10439 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
10440 function.
10441 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
10442 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
10443 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
10444 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
10445 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
10446 Likewise.
10447 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
10448 Likewise.
10449 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
10450 Likewise.
10451 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
10452 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
10453
10454 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
10455
10456 * config.host (hppa-*-openbsd*): New target.
10457 * config/pa/t-openbsd: New file.
10458
10459 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
10460
10461 PR target/54222
10462 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
10463 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
10464 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
10465 (__divsa3): Use __negsi2 to negate r_quoL.
10466 * config/avr/lib1funcs.S (FALIAS): New macro.
10467 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
10468 (__negsi2): ...this new function.
10469 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
10470 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
10471 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
10472 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
10473 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
10474 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
10475
10476 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
10477
10478 PR target/54089
10479 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
10480 (lshrsi3): Reimplement as lshrsi3_r0.
10481
10482 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
10483
10484 PR target/46191
10485 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
10486 of libgcc.a.
10487
10488 2012-09-07 Teresa Johnson <tejohnson@google.com>
10489
10490 PR gcov-profile/54487
10491 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
10492 differences.
10493
10494 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
10495
10496 PR target/54461
10497 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
10498 not configured --with-avrlibc=no.
10499 * config/avr/t-avrlibc: New file.
10500 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
10501 (DPBIT_FUNCS): Ditto.
10502 (TPBIT_FUNCS): Ditto.
10503
10504 2012-09-04 Teresa Johnson <tejohnson@google.com>
10505
10506 * libgcov.c (struct gcov_summary_buffer): New structure.
10507 (gcov_histogram_insert): New function.
10508 (gcov_compute_histogram): Ditto.
10509 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
10510 histograms during summary merging.
10511
10512 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
10513
10514 * config.host (x86_64-*-openbsd*): New target.
10515
10516 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
10517
10518 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
10519 attribute.
10520
10521 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
10522
10523 PR target/54222
10524 * config/avr/t-avr (conv_X): Rename to func_X.
10525
10526 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
10527
10528 PR target/54222
10529 * config/avr/lib1funcs-fixed.S: New file.
10530 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
10531 after they are used.
10532 (neg2, neg4): New macros.
10533 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
10534 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
10535 (__umulhisi3): Speed up MUL variant if there is enough flash.
10536 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
10537 avr-modes.def.
10538 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
10539 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
10540 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
10541 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
10542 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
10543 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
10544 (LIB2FUNCS_EXCLUDE): Add supported functions.
10545
10546 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
10547
10548 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
10549 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
10550 libgcc-s-objects.
10551 * fixed-obj.mk: Only expand dependency if $o is not in
10552 LIB2FUNCS_EXCLUDE.
10553
10554 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
10555
10556 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
10557
10558 2012-08-22 Joseph Myers <joseph@codesourcery.com>
10559
10560 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
10561 depend on --enable-shared.
10562 ($(lib1asmfuncs-o)): Use %.vis files independent of
10563 --enable-shared.
10564 * static-object.mk ($(base)$(objext), $(base).vis)
10565 ($(base)_s$(objext)): Use same rules for visibility handling as in
10566 shared-object.mk.
10567
10568 2012-08-21 Ian Lance Taylor <iant@google.com>
10569
10570 * config/i386/morestack.S (__morestack_non_split): Increase amount
10571 of space allocated for non-split code stack.
10572
10573 2012-08-19 Joseph Myers <joseph@codesourcery.com>
10574
10575 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
10576 even if inhibit_libc.
10577
10578 2012-08-17 Julian Brown <julian@codesourcery.com>
10579
10580 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
10581 -fexceptions -fnon-call-exceptions if not defined.
10582 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
10583 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
10584
10585 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
10586
10587 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
10588 type.
10589
10590 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
10591
10592 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
10593 rs6000/t-slibgcc-aix.
10594
10595 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
10596
10597 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
10598
10599 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
10600
10601 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
10602
10603 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
10604
10605 PR driver/54171
10606 * Makefile.in (version): Replace top_srcdir with srcdir.
10607
10608 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
10609
10610 * Makefile.in (version): set to BASE-VER file from gcc directory.
10611
10612 2012-08-01 Nick Clifton <nickc@redhat.com>
10613
10614 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
10615 Implements __clrsb for an HImode argument.
10616
10617 2012-07-31 Nick Clifton <nickc@redhat.com>
10618
10619 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
10620 Implements __clrsb for an HImode argument.
10621 * config/stormy16/clrsbhi2.c: New file:
10622 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
10623
10624 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
10625
10626 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
10627
10628 2012-07-19 Tristan Gingold <gingold@adacore.com>
10629 Richard Henderson <rth@redhat.com>
10630
10631 * unwind-seh.c: New file.
10632 * unwind-generic.h: Include windows.h for SEH.
10633 (_Unwind_Exception): Use 6 private fields for SEH.
10634 (_GCC_specific_handler): Declare.
10635 * unwind-c.c (__gcc_personality_seh0): New function.
10636 Adjust for SEH.
10637 * config/i386/libgcc-cygming.ver: New file.
10638 * config/i386/t-seh-eh: New file.
10639 * config.host (x86_64-*-mingw*): Default to seh.
10640
10641 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
10642
10643 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
10644
10645 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
10646
10647 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
10648 __builtin_expect when checking for exceptions.
10649 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
10650
10651 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
10652
10653 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
10654 function declaration.
10655 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
10656 (FP_RND_MASK): New.
10657 * config/ia64/sfp-exceptions.c: New.
10658 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
10659
10660 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
10661
10662 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
10663 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
10664 * config/i386/64/sfp-machine: ... (delete here) ...
10665 * config/i386/sfp-machine.h: ... to here.
10666 (FP_EX_MASK): Remove.
10667 (FP_RND_MASK): New.
10668 (FP_INIT_ROUNDMODE): Declare asm as volatile.
10669
10670 2012-06-11 Sriraman Tallam <tmsriram@google.com>
10671
10672 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
10673 * config/i386/libgcc-sol2.ver: Ditto.
10674 * config/i386/libgcc-glibc.ver: Ditto.
10675
10676 2012-06-11 Roland McGrath <mcgrathr@google.com>
10677
10678 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
10679 If __GLIBC__ is defined, refer to __pthread_key_create instead of
10680 pthread_cancel.
10681
10682 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
10683
10684 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
10685 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
10686 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
10687 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
10688 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
10689 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
10690 * config/i386/64/sfp-machine: ... (delete here) ...
10691 * config/i386/sfp-machine.h: ... to here.
10692 (FP_EX_MASK): New.
10693 (__sfp_handle_exceptions): New function declaration.
10694 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
10695 * config/i386/sfp-exceptions.c: New.
10696 * config/i386/t-softfp: New.
10697 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
10698 i386/t-softfp to tmake_file.
10699
10700 2012-06-03 David S. Miller <davem@davemloft.net>
10701
10702 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
10703 change.
10704
10705 2012-05-31 David S. Miller <davem@davemloft.net>
10706
10707 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
10708 multiply and divide instructions on 32-bit when V9.
10709 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
10710
10711 2012-05-29 Joseph Myers <joseph@codesourcery.com>
10712
10713 * config/arm/ieee754-df.S: Fix typos.
10714 * config/arm/ieee754-sf.S: Fix typos.
10715 * config/c6x/libunwind.S: Fix typos.
10716 * config/epiphany/udivsi3-float.c: Fix typos.
10717 * config/microblaze/muldi3_hard.S: Fix typos.
10718 * config/picochip/adddi3.S: Fix typos.
10719 * config/picochip/ashlsi3.S: Fix typos.
10720 * config/picochip/ashrsi3.S: Fix typos.
10721 * config/picochip/clzsi2.S: Fix typos.
10722 * config/picochip/cmpsi2.S: Fix typos.
10723 * config/picochip/divmod15.S: Fix typos.
10724 * config/picochip/divmodhi4.S: Fix typos.
10725 * config/picochip/divmodsi4.S: Fix typos.
10726 * config/picochip/longjmp.S: Fix typos.
10727 * config/picochip/lshrsi3.S: Fix typos.
10728 * config/picochip/parityhi2.S: Fix typos.
10729 * config/picochip/popcounthi2.S: Fix typos.
10730 * config/picochip/setjmp.S: Fix typos.
10731 * config/picochip/subdi3.S: Fix typos.
10732 * config/picochip/ucmpsi2.S: Fix typos.
10733 * config/picochip/udivmodhi4.S: Fix typos.
10734 * config/picochip/udivmodsi4.S: Fix typos.
10735 * config/spu/divv2df3.c: Fix typos.
10736 * config/spu/mfc_multi_tag_release.c: Fix typos.
10737 * config/spu/mfc_tag_release.c: Fix typos.
10738 * configure.ac: Fix typos.
10739 * configure: Regenerate.
10740
10741 2012-05-25 Ian Lance Taylor <iant@google.com>
10742
10743 * config/i386/morestack.S (__morestack_non_split): Check whether
10744 caller is varargs and needs %bp to hold the stack frame on return.
10745
10746 2012-05-25 Olivier Hainque <hainque@adacore.com>
10747
10748 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
10749 sequence in the non pic case on VxWorks.
10750
10751 2012-05-24 Olivier Hainque <hainque@adacore.com>
10752
10753 * Makefile.in: Move dependency on install-unwind_h from
10754 "install-leaf" to "install".
10755
10756 2012-05-24 Olivier Hainque <hainque@adacore.com>
10757
10758 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
10759 Use a separate command for stamp removals.
10760
10761 2012-05-21 Andrew Pinski <apinski@cavium.com>
10762
10763 PR bootstrap/53183
10764 * configure.ac: Define the default includes to being none.
10765 * configure: Regenerate.
10766
10767 2012-05-16 Olivier Hainque <hainque@adacore.com>
10768
10769 * Makefile.in (install-unwind_h): Rename into ...
10770 (install-unwind_h-forbuild): New target.
10771 (all): Use it instead of the former install-unwind_h.
10772 (install-unwind_h): Reinstate, copy to user install destination
10773 for include files, not to the internal gcc object directory one.
10774 (install-leaf): Depend on it.
10775
10776 2012-05-15 Olivier Hainque <hainque@adacore.com>
10777
10778 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
10779 register numbers. LR_REGNO replaces R_LR.
10780 (ucontext_for): New, helper for ...
10781 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
10782 and 5.3 of ...
10783 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
10784
10785 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10786
10787 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
10788 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
10789 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
10790 i386/t-cpuinfo ...
10791 (i[34567]86-*-*, x86_64-*-*): ... here.
10792
10793 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
10794 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
10795
10796 * config/i386/i386-cpuinfo.c: Rename to ...
10797 * config/i386/cpuinfo.c: ... this.
10798 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
10799
10800 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
10801 (libgcc_cv_init_priority): New test.
10802 * configure: Regenerate.
10803 * config.in: New file.
10804 * Makefile.in (clean): Rename config.h to auto-target.h.
10805 (config.h): Likewise.
10806 (stamp-h): Likewise.
10807
10808 * config/i386/cpuinfo.c (auto-target.h): Include.
10809 (CONSTRUCTOR_PRIORITY): Define.
10810 (__cpu_indicator_init): Use it.
10811
10812 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10813
10814 * longlong.h: Use a URL instead of an FSF postal address.
10815 Replace spaces with tab.
10816
10817 2012-05-08 Teresa Johnson <tejohnson@google.com>
10818
10819 * libgcov.c (gcov_clear, __gcov_reset): New functions.
10820 (__gcov_dump): Ditto.
10821 (gcov_dump_complete): New global variable.
10822 (gcov_exit): Export hidden to enable use in L_gcov_dump.
10823 (__gcov_flush): Outline functionality now in gcov_clear.
10824 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
10825
10826 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
10827
10828 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
10829 (mips*-*-linux*): Include mips/t-tpbit when long double is
10830 16 bytes long.
10831
10832 2012-04-25 Sriraman Tallam <tmsriram@google.com>
10833
10834 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
10835 (get_available_features): New argument. Check for AVX2.
10836 (__cpu_indicator_init): Modify call to get_available_features.
10837
10838 2012-04-25 Alan Modra <amodra@gmail.com>
10839
10840 * config/rs6000/crtsavevr.S: New file.
10841 * config/rs6000/crtrestvr.S: New file.
10842 * config/rs6000/t-savresfgpr: Build the above.
10843 * config/rs6000/t-netbsd: Likewise.
10844
10845 2012-04-24 Sriraman Tallam <tmsriram@google.com>
10846
10847 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
10848
10849 2012-04-24 Sriraman Tallam <tmsriram@google.com>
10850
10851 * libgcc/config/i386/i386-cpuinfo.c: New file.
10852 * libgcc/config/i386/t-cpuinfo: New file.
10853 * libgcc/config.host: Include t-cpuinfo.
10854 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
10855
10856 2012-04-24 Chao-ying Fu <fu@mips.com>
10857
10858 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
10859
10860 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
10861
10862 struct siginfo vs. siginfo_t
10863
10864 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
10865 siginfo_t instead of struct siginfo.
10866 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
10867 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
10868 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
10869 (ia64_handle_unwabi): Likewise.
10870 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
10871 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
10872 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
10873 (sh_fallback_frame_state): Likewise.
10874 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
10875 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
10876
10877 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
10878
10879 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
10880 system call number.
10881
10882 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
10883
10884 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
10885 if it hasn't been previously saved.
10886
10887 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
10888
10889 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
10890 only for glibc.
10891
10892 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
10893
10894 PR target/52737
10895 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
10896 instead of __AVR_HAVE_8BIT_SP__.
10897
10898 2012-03-26 Tristan Gingold <gingold@adacore.com>
10899
10900 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
10901 (unw_table_entry): Use unw_word instead of unsigned long.
10902 (_Unwind_FindTableEntry): Likewise.
10903 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
10904 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
10905 (_Unwind_FindTableEntry): Likewise.
10906 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
10907 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
10908 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
10909 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
10910 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
10911 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
10912 (uw_init_context_1, uw_install_context): Likewise.
10913 (unw_word): Move to unwind-ia64.h
10914
10915 2012-03-26 Tristan Gingold <gingold@adacore.com>
10916
10917 * config/vms/vms-ucrt0.c: Update copyright years.
10918 Add a sanity check.
10919 (___gcc_main_flags): Declare.
10920 (__main): Check flags to remap argv and exit code.
10921 * config.host (*-*-*vms*): Adjust extra_parts.
10922 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
10923 (crt0.o): Add.
10924
10925 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
10926
10927 * arm/lib1funcs.asm (ctzsi2): New function.
10928 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
10929 * arm/t-linux (LIB1ASMFUNCS): Likewise.
10930 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
10931 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
10932 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
10933 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
10934
10935 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
10936
10937 * config.host: Add bits to support powerpc64-*-freebsd*.
10938 * config/rs6000/freebsd-unwind.h: New file.
10939 * config/rs6000/t-freebsd64: New file.
10940
10941 2012-03-20 Richard Guenther <rguenther@suse.de>
10942
10943 PR gcov-profile/52627
10944 * libgcov.c (init_mx): Fix mutex name.
10945
10946 2012-03-16 Tristan Gingold <gingold@adacore.com>
10947
10948 * config/ia64/vms-unwind.h: Remove ulong (and replace
10949 it by unw_reg where used). Define unw_reg with __int64.
10950
10951 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10952
10953 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
10954 Solaris 8 handling.
10955 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
10956 Solaris 8 handling.
10957 (sparc_is_sighandler): Likewise.
10958
10959 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
10960
10961 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
10962 <= saved reg size.
10963
10964 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10965
10966 * config/arm/crtn.S: Fix typo.
10967
10968 2012-03-13 Richard Guenther <rguenther@suse.de>
10969
10970 * libgcov.c: Remove stdio.h include and NULL un-define.
10971
10972 2012-03-13 Richard Guenther <rguenther@suse.de>
10973
10974 PR target/52569
10975 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
10976
10977 2012-03-13 Richard Guenther <rguenther@suse.de>
10978
10979 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
10980
10981 2012-03-13 Richard Guenther <rguenther@suse.de>
10982
10983 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
10984 and __gthread_mutex_init_function definitions.
10985
10986 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10987
10988 * config.host (mips*-*-openbsd*): Remove.
10989
10990 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10991
10992 * config.host: Remove alpha*-dec-osf5.1* handling.
10993 * config/alpha/gthr-posix.c: Remove.
10994 * config/alpha/libgcc-osf5.ver: Remove.
10995 * config/alpha/osf5-unwind.h: Remove.
10996 * config/alpha/t-osf-pthread: Remove.
10997 * config/alpha/t-slibgcc-osf: Remove.
10998 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
10999 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
11000 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
11001 * mkmap-flat.awk: Remove osf_export handling.
11002
11003 2012-03-12 Richard Guenther <rguenther@suse.de>
11004
11005 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
11006 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
11007 (__gthread_mutex_init_function): New function.
11008 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
11009
11010 PR gcov/49484
11011 * libgcov.c: Include gthr.h.
11012 (__gcov_flush_mx): New global variable.
11013 (init_mx, init_mx_once): New functions.
11014 (__gcov_flush): Protect self with a mutex.
11015 (__gcov_fork): Re-initialize mutex after forking.
11016 * unwind-dw2-fde.c: Change condition under which to use
11017 __GTHREAD_MUTEX_INIT_FUNCTION.
11018
11019 2012-03-12 Tristan Gingold <gingold@adacore.com>
11020
11021 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
11022 * config/ia64/t-vms: Likewise.
11023
11024 2012-03-11 Michael Hope <michael.hope@linaro.org>
11025
11026 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
11027 for Thumb-2.
11028
11029 2012-03-07 Walter Lee <walt@tilera.com>
11030
11031 * config/tilepro/atomic.c: Rename "atomic_" prefix to
11032 "arch_atomic_".
11033 (atomic_xor): Rename and move definition to
11034 config/tilepro/atomic.h.
11035 (atomic_nand): Ditto.
11036 * config/tilepro/atomic.h: Rename "atomic_" prefix to
11037 "arch_atomic_".
11038 (arch_atomic_xor): Move from config/tilepro/atomic.c.
11039 (arch_atomic_nand): Ditto.
11040
11041 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
11042
11043 PR target/52507
11044 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
11045
11046 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
11047
11048 PR target/52505
11049 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
11050 from RAM.
11051
11052 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
11053
11054 PR target/52461
11055 PR target/52508
11056 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
11057 if RAMPZ affects reading from RAM.
11058 (__tablejump_elpm__): Ditto.
11059 (.xload): Ditto.
11060 (__movmemx_hi): Ditto.
11061 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
11062 (__do_global_dtors): Ditto.
11063 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
11064 (__movmemx_hi): Ditto.
11065
11066 2012-03-05 Richard Henderson <rth@redhat.com>
11067
11068 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
11069 [ARM] (count_trailing_zeros): Use the builtin.
11070
11071 2012-03-01 Kai Tietz <ktietz@redhat.com>
11072
11073 * soft-fp: Imported from glibc upstream.
11074
11075 2012-02-28 Kai Tietz <ktietz@redhat.com>
11076
11077 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
11078 for mingw-targets as attribute gcc_struct.
11079
11080 2012-02-28 Ian Lance Taylor <iant@google.com>
11081
11082 * generic-morestack.c (__splitstack_releasecontext): Correct call
11083 to __morestack_release_segments.
11084
11085 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11086
11087 PR target/52390
11088 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
11089 for __linux__ when removing signals from __morestack_fullmask.
11090
11091 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
11092
11093 PR target/52261
11094 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
11095
11096 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11097
11098 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
11099 instead of HAVE_INITFINI_ARRAY.
11100 * config/ia64/crtend.S: Likewise.
11101
11102 2012-02-20 Kai Tietz <ktietz@redhat.com>
11103
11104 PR libstdc++/52300
11105 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
11106
11107 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
11108 to w32-unwind.h header.
11109
11110 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
11111
11112 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
11113 (mips*-*-linux*): Remove t-slibgcc-libgcc.
11114 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
11115 * config/mips/mips16.S (__mips16_rdhwr): Delete.
11116
11117 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
11118
11119 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
11120
11121 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
11122
11123 PR libitm/52220
11124 * config/darwin-crt-tm.c: Correct typo.
11125
11126 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
11127 Patrick Marlier <patrick.marlier@gmail.com>
11128
11129 PR libitm/52220
11130 * config/darwin-crt-tm.c: Generate dummy functions.
11131
11132 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
11133 Patrick Marlier <patrick.marlier@gmail.com>
11134
11135 PR libitm/52042
11136 * config/darwin-crt-tm.c (getTMCloneTable): New function.
11137 (__doTMRegistrations): Call it.
11138 (__doTMdeRegistrations): Likewise.
11139
11140 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
11141 Anatoly Sokolov <aesok@post.ru>
11142 Eric Weddington <eric.weddington@atmel.com>
11143
11144 PR target/52261
11145 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
11146 (__epilogue_restores__): Ditto.
11147
11148 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
11149
11150 PR target/51921
11151 PR target/52205
11152 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
11153 Solaris 11 and slightly reformat.
11154 (sparc_is_sighandler): Likewise.
11155
11156 2012-02-14 Walter Lee <walt@tilera.com>
11157
11158 * config.host: Handle tilegx and tilepro.
11159 * config/tilegx/sfp-machine.h: New file.
11160 * config/tilegx/sfp-machine32.h: New file.
11161 * config/tilegx/sfp-machine64.h: New file.
11162 * config/tilegx/t-crtstuff: New file.
11163 * config/tilegx/t-softfp: New file.
11164 * config/tilegx/t-tilegx: New file.
11165 * config/tilepro/atomic.c: New file.
11166 * config/tilepro/atomic.h: New file.
11167 * config/tilepro/linux-unwind.h: New file.
11168 * config/tilepro/sfp-machine.h: New file.
11169 * config/tilepro/softdivide.c: New file.
11170 * config/tilepro/softmpy.S: New file.
11171 * config/tilepro/t-crtstuff: New file.
11172 * config/tilepro/t-tilepro: New file.
11173
11174 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
11175
11176 PR libstdc++/51296
11177 PR libstdc++/51906
11178 * gthr-posix.h: Allow static initializer macros to be disabled.
11179 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
11180
11181 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
11182
11183 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
11184 Add t-slibgcc-libgcc to tmake_file.
11185 * config/mips/libgcc-mips16.ver: Revert previous patch.
11186 * config/mips/mips16.S (__mips16_rdhwr): Hide.
11187
11188 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
11189 Jayant R Sonar <jayant.sonar@kpitcummins.com>
11190
11191 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
11192 * config/cr16/crti.S: New file.
11193 * config/cr16/crtlibid.S: New file.
11194 * config/cr16/crtn.S: New file.
11195 * config/cr16/lib1funcs.S: New file.
11196 * config/cr16/t-cr16: New file.
11197 * config/cr16/t-crtlibid: New file.
11198 * config/cr16/unwind-dw2.h: New file.
11199 * config/cr16/unwind-cr16.c: New file.
11200 * config/cr16/divmodhi3.c: New file.
11201
11202 2012-01-25 Alan Modra <amodra@gmail.com>
11203
11204 * config/rs6000/t-linux64: Delete. Move..
11205 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
11206 * config/rs6000/t-linux: ..and libgcc flags to here.
11207
11208 2012-01-22 Douglas B Rupp <rupp@gnat.com>
11209
11210 * config.host (i[34567]86-*-interix3*):
11211 Change triplet to i[34567]86-*-interix[3-9]*.
11212 * configure: Regenerate.
11213
11214 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
11215 Richard Sandiford <rdsandiford@googlemail.com>
11216
11217 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
11218 * config/mips/mips16.S (__mips16_rdhwr): New function.
11219 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
11220
11221 2012-01-11 Nathan Sidwell <nathan@acm.org>
11222
11223 * libgcov.c (__gcov_init): Ignore objects with no functions.
11224
11225 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
11226
11227 PR target/49868
11228 Extend __pgmx semantics to linearize memory.
11229 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
11230 * config/avr/lib1funcs.S (__xload_1): New function.
11231 (__movmemx_qi, __movmemx_hi): New functions.
11232 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
11233 semantics.
11234
11235 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
11236
11237 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
11238 purported sigacthandler address isn't null before dereferencing it.
11239 (sparc_is_sighandler): Likewise.
11240
11241 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
11242
11243 PR ada/41929
11244 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
11245 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
11246 (sparc_is_sighandler): Likewise.
11247 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
11248
11249 2012-01-06 Tristan Gingold <gingold@adacore.com>
11250
11251 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
11252 compatibility thunks...
11253 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
11254 (crtbeginS.o, crtendS.o): ... and these to ...
11255 * config/ia64/t-ia64-elf: ... this new file.
11256 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
11257 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
11258
11259 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11260
11261 * configure: Regenerate.
11262 * config/s390/t-crtstuff: Remove -fPIC.
11263
11264 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
11265
11266 PR bootstrap/51006
11267 * enable-execute-stack-mprotect.c (getpagesize): Do not define
11268 for NetBSD.
11269
11270 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
11271
11272 PR target/51345
11273 * config/avr/lib1funcs.S: Remove FIXME comments.
11274 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
11275
11276 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
11277
11278 Implement light-weight DImode support.
11279 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
11280 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
11281 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
11282 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
11283
11284 2011-12-30 Nathan Sidwell <nathan@acm.org>
11285
11286 * libgcov.c (gcov_crc32): Remove global var.
11287 (free_fn_data): New function.
11288 (buffer_fn_data): Pass in filename, more robust error recovery.
11289 (crc32_unsigned): New function.
11290 (gcov_exit): More robust detection of new program. More robust
11291 error recovery.
11292 (__gcov_init): Do not update program's crc here.
11293
11294 2011-12-21 Tristan Gingold <gingold@adacore.com>
11295
11296 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
11297
11298 2011-12-21 Ian Lance Taylor <iant@google.com>
11299
11300 * config/i386/morestack.S: Simplify CFI opcodes throughout.
11301
11302 2011-12-20 Ian Lance Taylor <iant@google.com>
11303
11304 * config/i386/morestack.S (__morestack_non_split): If there is
11305 enough stack space already, don't split. Ask for more stack space
11306 than we required.
11307
11308 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
11309
11310 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
11311 `sys/sdt.h'.
11312 (_Unwind_DebugHook): New function.
11313 (uw_restore_core_regs): New define.
11314 (unwind_phase2): Use uw_restore_core_regs instead of
11315 restore_core_regs.
11316 (unwind_phase2_forced): Likewise.
11317 (__gnu_Unwind_Resume): Likewise.
11318
11319 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
11320
11321 * config/alpha/linux-unwind.h: Update copyright years.
11322 (MD_FROB_UPDATE_CONTEXT): New define.
11323 (alpha_frob_update_context): New function.
11324
11325 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
11326
11327 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
11328 tmake_file rather replacing it.
11329
11330 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
11331
11332 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
11333 function is not used for PPC64.
11334 (save_world): Amend comments. Update the VRsave mask to reflect the
11335 saved regs.
11336 (rest_world): Update comments, do not clobber r10, do not use r8.
11337 (eh_rest_world_r10): Amend comments, do not use r8.
11338 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
11339 no longer used, move restore of CR and target address to the end of
11340 the routine.
11341
11342 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
11343
11344 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
11345 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
11346
11347 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
11348
11349 PR target/49313
11350 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
11351 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
11352
11353 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
11354
11355 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
11356
11357 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
11358
11359 PR target/49313
11360 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
11361 * config/avr/lib1funcs.S (__muldi3): New function.
11362
11363 2011-12-06 Andrew Pinski <apinski@cavium.com>
11364
11365 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
11366 size of func_ptr.
11367 (__frame_dummy_init_array_entry): Likewise.
11368
11369 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
11370
11371 Forward-port from gcc-4_6-branch r181936 2011-12-02.
11372
11373 PR target/51345
11374 PR target/51002
11375 * config/avr/lib1funcs.S (__prologue_saves__,
11376 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
11377 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
11378
11379 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
11380
11381 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
11382
11383 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11384
11385 PR other/51272
11386 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
11387 (_ITM_deregisterTMCloneTable): Likewise.
11388 (__register_frame_info): Fix unused warning.
11389 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
11390 pthread_default_stacksize_np): Likewise.
11391 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
11392
11393 2011-11-29 DJ Delorie <dj@redhat.com>
11394
11395 * config.host (rl78-*-elf): New case.
11396 * config/rl78: New directory for the Renesas RL78.
11397
11398 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
11399
11400 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
11401 formatting.
11402
11403 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11404
11405 PR other/51022
11406 * config/rs6000/t-savresfgpr: New file.
11407 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
11408 $(srcdir)/config/rs6000/eabi.S.
11409 * config/rs6000/t-ppccomm-ldbl: Remove.
11410 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
11411 tmake_file.
11412 (powerpc-*-eabispe*): Likewise.
11413 (powerpc-*-eabi*): Likewise.
11414 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11415 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
11416 to tmake_file, remove rs6000/t-ppccomm-ldbl.
11417 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
11418 tmake_file.
11419 (powerpc-*-eabisim*): Likewise.
11420 (powerpc-*-elf*): Likewise.
11421 (powerpc-*-eabialtivec*): Likewise.
11422 (powerpc-xilinx-eabi*): Likewise.
11423 (powerpc-*-rtems*): Likewise.
11424 (powerpcle-*-elf*): Likewise.
11425 (powerpcle-*-eabisim*): Likewise.
11426 (powerpcle-*-eabi*): Likewise.
11427
11428 2011-11-27 Ian Lance Taylor <iant@google.com>
11429
11430 * generic-morestack.c (__splitstack_find): Check for NULL old
11431 stack value.
11432 (__splitstack_resetcontext): New function.
11433 (__splitstack_releasecontext): New function.
11434 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
11435
11436 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
11437
11438 * config/darwin-crt-tm.c: Correct comments, use correct licence.
11439
11440 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
11441
11442 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
11443
11444 2011-11-26 Richard Henderson <rth@redhat.com>
11445
11446 * config/m68k/linux-atomic.c: New file.
11447 * config/m68k/t-linux: New file.
11448 * config.host (m68k-uclinux, m68k-linux): Use it.
11449
11450 2011-11-26 Richard Henderson <rth@redhat.com>
11451
11452 * crtstuff.c (__TMC_LIST__): Mark used not unused.
11453 (__TMC_END__): Only declare if hidden is available; in the definition,
11454 if hidden is unavailable add a null record.
11455 (deregister_tm_clones, register_tm_clones): New.
11456 (__do_global_dtors_aux, frame_dummy): Use them.
11457 (__do_global_dtors, __do_global_ctors_1): Likewise.
11458
11459 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
11460
11461 * config/darwin-crt-tm.c: New file.
11462 * config.host (darwin): Build crttms.o crttme.o to provide
11463 startup and shutdown for tm clones.
11464 * config/t-darwin (crttms.o): New build rule.
11465 (crttme.o): Likewise.
11466
11467 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
11468
11469 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
11470 et al.
11471
11472 2011-11-21 Richard Henderson <rth@redhat.com>
11473
11474 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
11475 (__TMC_LIST__, __TMC_END__): New.
11476 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
11477 (__do_global_dtors): Likewise.
11478 (frame_dummy): Call _ITM_registerTMCloneTable.
11479 (__do_global_ctors_1): Likewise.
11480
11481 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11482
11483 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
11484 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11485 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
11486 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
11487 * config/i386/t-darwin64: Remove.
11488 * config/sh/t-netbsd (LIB2ADD): Remove.
11489
11490 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
11491
11492 PR target/49313
11493 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
11494 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
11495 * config/avr/lib1funcs.S (wmov): New assembler macro.
11496 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
11497 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
11498 (__udivmod64): New function.
11499 (__negdi2): New function.
11500
11501 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
11502
11503 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
11504 *-*-freebsd*aout*): Remove.
11505
11506 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
11507
11508 * static-object.mk (c_flags-$o): Save c_flags.
11509 ($(base)$(objext)): Use it.
11510
11511 2011-11-18 Steve Ellcey <sje@cup.hp.com>
11512
11513 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
11514
11515 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
11516
11517 PR target/49868
11518 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
11519 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
11520 New functions.
11521
11522 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
11523
11524 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
11525 functions.
11526 (aeabi_uidivmod): Likewise.
11527 (umodsi3): Likewise.
11528 (divsi3): Likewise.
11529 (aeabi_idivmod): Likewise.
11530 (modsi3): Likewise.
11531
11532 2011-11-16 Tristan Gingold <gingold@adacore.com>
11533
11534 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
11535
11536 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
11537
11538 PR target/49868
11539 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
11540 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
11541
11542 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11543
11544 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
11545 tmake_file list.
11546 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
11547 * config/pa/t-stublib64: Delete.
11548
11549 2011-11-12 Richard Henderson <rth@redhat.com>
11550
11551 * config/rs6000/linux-unwind.h (frob_update_context): Properly
11552 cast the pointer argument to _Unwind_SetGRPtr.
11553
11554 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11555
11556 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
11557
11558 2011-11-09 Ian Lance Taylor <iant@google.com>
11559
11560 * generic-morestack.c: Include <string.h>.
11561 (uintptr_type): Define.
11562 (struct initial_sp): Add dont_block_signals field. Reduce size of
11563 extra array by 1.
11564 (allocate_segment): Set prev field to NULL. Don't set
11565 __morestack_current_segment or __morestack_segments.
11566 (__generic_morestack): Update current->prev and *pp after calling
11567 allocate_segment.
11568 (__morestack_block_signals): Don't do anything if
11569 dont_block_signals is set.
11570 (__morestack_unblock_signals): Likewise.
11571 (__generic_findstack): Check for initial_sp == NULL. Add casts to
11572 uintptr_type.
11573 (__splitstack_block_signals): New function.
11574 (enum __splitstack_content_offsets): Define.
11575 (__splitstack_getcontext, __splitstack_setcontext): New functions.
11576 (__splitstack_makecontext): New function.
11577 (__splitstack_block_signals_context): New function.
11578 (__splitstack_find_context): New function.
11579 * config/i386/morestack.S (__morestack_get_guard): New function.
11580 (__morestack_set_guard, __morestack_make_guard): New functions.
11581 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
11582
11583 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11584
11585 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
11586 (i[34567]86-*-mingw*): ... here.
11587 (x86_64-*-mingw*): ... here.
11588
11589 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11590
11591 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
11592
11593 2011-11-07 Nathan Sidwell <nathan@acm.org>
11594
11595 * libgcov.c (struct gcov_fn_buffer): New struct.
11596 (buffer_fn_data): New helper.
11597 (gcov_exit): Rework for new gcov data structures.
11598
11599 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
11600
11601 PR target/49313
11602 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
11603
11604 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11605
11606 * config.host (tmake_file): Correct comment.
11607 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
11608 t-libgcc-pic.
11609 (bfin*-uclinux*): Likewise.
11610 (bfin*-linux-uclibc*): Likewise.
11611 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
11612
11613 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
11614 assigning.
11615 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11616 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
11617 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11618 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
11619 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11620 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
11621 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
11622 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11623 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
11624 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
11625 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
11626 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
11627 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
11628
11629 * config/bfin/t-elf: Remove.
11630 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
11631
11632 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11633
11634 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
11635 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
11636 (lm32-*-elf*, lm32-*-rtems*): Split into ...
11637 (lm32-*-elf*): ... this.
11638 (lm32-*-rtems*): ... and this.
11639 Add to tmake_file.
11640 (m32r-*-rtems*): Add to tmake_file.
11641 (moxie-*-rtems*): Likewise.
11642 (sparc-*-rtems*): Likewise.
11643 Remove t-rtems from tmake_file.
11644 (sparc64-*-rtems*): Likewise.
11645 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
11646 instead.
11647
11648 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11649
11650 PR bootstrap/50982
11651 * config/gthr-posix.h: Move ...
11652 * gthr-posix.h: ... here.
11653 * config/gthr-lynx.h: Reflect this.
11654 * config/gthr-vxworks.h: Likewise.
11655 * config/rs6000/gthr-aix.h: Likewise.
11656 * configure.ac (target_thread_file): Likewise.
11657 * configure: Regenerate.
11658
11659 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
11660
11661 * config.host (arm*-*-rtemseabi*): New target.
11662
11663 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11664
11665 PR other/50991
11666 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
11667 extra-parts.
11668
11669 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
11670
11671 * config.host (epiphany-*-elf*): New configuration.
11672 * config/epiphany: New Directory.
11673
11674 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
11675
11676 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
11677 * config/avr/t-rtems: New.
11678 Filter out _exit from LIB1ASMFUNCS.
11679
11680 2011-11-04 David S. Miller <davem@davemloft.net>
11681
11682 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
11683 * configure: Rebuild.
11684
11685 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11686
11687 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
11688 variable.
11689
11690 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
11691
11692 PR target/50931
11693 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
11694 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
11695
11696 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
11697
11698 PR target/50989
11699 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
11700
11701 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11702
11703 * config/c6x/t-elf (LIB2ADDEH): Set.
11704 * config/c6x/t-c6x-elf: Remove.
11705
11706 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11707
11708 * config/i386/sol2-ci.S: Rename to ...
11709 * config/i386/crti.S: ... this.
11710 * config/i386/sol2-cn.S: Rename to ...
11711 * config/i386/crtn.S: ... this.
11712 * config/sparc/sol2-ci.S: Rename to ...
11713 * config/sparc/crti.S: ... this.
11714 * config/sparc/sol2-cn.S: Rename to ...
11715 * config/sparc/crtn.S: ... this.
11716 * config/t-sol2 (CUSTOM_CRTIN): Remove.
11717 (crti.o, crtn.o): Remove.
11718
11719 2011-11-04 Tristan Gingold <gingold@adacore.com>
11720
11721 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
11722
11723 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
11724
11725 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
11726
11727 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
11728
11729 * config.host (crisv32-*-none, cris-*-none): Remove.
11730 (crisv32-*-elf): Append to tmake_file, don't just set it.
11731 (cris-*-elf): Add missing t-fdpbit to tmake_file.
11732
11733 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11734
11735 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
11736 (ecrtn$(objext)): Likewise.
11737 (ncrti$(objext)): Likewise.
11738 (ncrtn$(objext)): Likewise.
11739
11740 2011-11-03 Andreas Schwab <schwab@redhat.com>
11741
11742 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
11743
11744 2011-11-02 David S. Miller <davem@davemloft.net>
11745
11746 * configure.ac: Set host_address on sparc too.
11747 * configure: Regenerate.
11748 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
11749 based upon host_address.
11750 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
11751
11752 2011-11-02 Jason Merrill <jason@redhat.com>
11753
11754 * config/rs6000/t-ppccomm: Add missing \.
11755
11756 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11757
11758 * gthr-single.h, gthr.h: New files.
11759 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
11760 config/gthr-vxworks.h, config/i386/gthr-win32.h,
11761 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
11762 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
11763 * config/i386/gthr-win32.c: Include "gthr-win32.h".
11764 * configure.ac (thread_header): New variable.
11765 Set it depending on target_thread_file.
11766 (gthr-default.h): Link from $thread_header.
11767 * configure: Regenerate.
11768 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
11769
11770 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11771
11772 * configure.ac (tm_file_): New variable.
11773 Determine from tm_file.
11774 (tm_file, tm_defines): Substitute.
11775 * configure: Regenerate.
11776 * mkheader.sh: New file.
11777 * Makefile.in (clean): Remove libgcc_tm.h.
11778 ($(objects)): Depend on libgcc_tm.h.
11779 (libgcc_tm_defines, libgcc_tm_file): New variables.
11780 (libgcc_tm.h, libgcc_tm.stamp): New targets.
11781 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
11782 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
11783 ($(extra-parts)): Depend on libgcc_tm.h.
11784 * config.host (tm_defines, tm_file): New variable.
11785 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
11786 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
11787 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
11788 (avr-*-rtems*): Likewise.
11789 (avr-*-*): Likewise.
11790 (frv-*-elf): Likewise.
11791 (frv-*-*linux*): Likewise.
11792 (h8300-*-rtems*): Likewise.
11793 (h8300-*-elf*): Likewise.
11794 (i[34567]86-*-darwin*): Likewise.
11795 (x86_64-*-darwin*): Likewise.
11796 (rx-*-elf): Likewise.
11797 (tic6x-*-uclinux): Likewise.
11798 (tic6x-*-elf): Likewise.
11799 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
11800 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
11801 * config/i386/cygming-crtbegin.c: Likewise.
11802 * config/i386/cygming-crtend.c: Likewise.
11803 * config/ia64/fde-vms.c: Likewise.
11804 * config/ia64/unwind-ia64.c: Likewise.
11805 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11806 * config/rs6000/darwin-fallback.c: Likewise.
11807 * config/stormy16/lib2funcs.c: Likewise.
11808 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
11809 * crtstuff.c: Likewise.
11810 * dfp-bit.h: Likewise.
11811 * emutls.c: Likewise.
11812 * fixed-bit.c: Likewise.
11813 * fp-bit.c: Likewise.
11814 * generic-morestack-thread.c: Likewise.
11815 * generic-morestack.c: Likewise.
11816 * libgcc2.c: Likewise.
11817 * libgcov.c: Likewise.
11818 * unwind-dw2-fde-dip.c: Likewise.
11819 * unwind-dw2-fde.c: Likewise.
11820 * unwind-dw2.c: Likewise.
11821 * unwind-sjlj.c: Likewise.
11822
11823 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11824
11825 * configure.ac: Include ../config/picflag.m4.
11826 (GCC_PICFLAG): Call it.
11827 Substitute.
11828 * configure: Regenerate.
11829 * Makefile.in (gcc_srcdir): Remove.
11830 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
11831 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
11832 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
11833 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
11834 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
11835 Use $<.
11836 Remove comment.
11837 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
11838 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
11839 to refer to libgcc2.c.
11840 Use $<.
11841 * config/darwin-64.c: New file.
11842 * config/darwin-crt3.c: Remove comment.
11843 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
11844 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
11845 config/udivmodsi4.c: New files.
11846 * config/memcmp.c, config/memcpy.c, config/memmove.c,
11847 config/memset.c: New files.
11848 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
11849 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
11850 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
11851 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
11852 * config/t-openbsd-thread: New file.
11853 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
11854 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
11855 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
11856 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
11857 qrnnd.S.
11858 Adapt filename.
11859 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
11860 to refer to gthr-posix.c.
11861 * config/alpha/t-vms (LIB2ADD): Set.
11862 * config/alpha/vms-gcc_shell_handler.c: New file.
11863 * config/arm/bpabi.c, config/arm/fp16.c,
11864 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
11865 config/arm/unaligned-funcs.c: New files.
11866 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
11867 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11868 * config/arm/t-linux: Likewise.
11869 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
11870 * config/arm/t-netbsd: New file.
11871 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
11872 * config/arm/t-symbian (LIB2ADD_ST): Set.
11873 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
11874 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11875 * config/bfin/t-elf: New file.
11876 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
11877 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
11878 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
11879 config/c6x/ltf.c: New files.
11880 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
11881 (HOST_LIBGCC2_CFLAGS): Set.
11882 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
11883 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11884 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
11885 New files.
11886 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
11887 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
11888 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
11889 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
11890 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
11891 files.
11892 * config/frv/t-frv (LIB2ADD): Set.
11893 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11894 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
11895 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
11896 config/h8300/popcounthi2.c: New files.
11897 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11898 * config/i386/gthr-win32.c: New file.
11899 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
11900 * config/i386/t-cygwin: Likewise.
11901 * config/i386/t-darwin, config/i386/t-darwin64,
11902 config/i386/t-gthr-win32, config/i386/t-interix: New files.
11903 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
11904 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11905 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11906 * config/ia64/quadlib.c: New file.
11907 * config/ia64/t-hpux (LIB2ADD): Set.
11908 * config/ia64/t-ia64: Add comment.
11909 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
11910 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11911 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
11912 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
11913 * config/m32c/t-m32c (LIB2ADD): Set.
11914 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11915 * config/m32r/t-m32r: Likewise.
11916 * config/m68k/fpgnulib.c: New file.
11917 * config/m68k/t-floatlib (LIB2ADD): Set.
11918 (xfgnulib.c): New target.
11919 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
11920 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
11921 * config/mep/t-mep (LIB2ADD): Set.
11922 * config/microblaze/divsi3.asm: Rename to divsi3.S.
11923 * config/microblaze/moddi3.asm: Rename to moddi3.S.
11924 * config/microblaze/modsi3.asm: Rename to modsi3.S.
11925 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
11926 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
11927 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
11928 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
11929 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
11930 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
11931 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
11932 New files.
11933 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
11934 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
11935 * config/pa/fptr.c, config/pa/lib2funcs.S,
11936 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
11937 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11938 (LIB2ADD, LIB2ADD_ST): Set.
11939 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
11940 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
11941 Set.
11942 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
11943 * config/pdp11/t-pdp11: New file.
11944 * config/picochip/libgccExtras/adddi3.S,
11945 config/picochip/libgccExtras/ashlsi3.S,
11946 config/picochip/libgccExtras/ashrsi3.S,
11947 config/picochip/libgccExtras/clzsi2.S,
11948 config/picochip/libgccExtras/cmpsi2.S,
11949 config/picochip/libgccExtras/divmod15.S,
11950 config/picochip/libgccExtras/divmodhi4.S,
11951 config/picochip/libgccExtras/divmodsi4.S,
11952 config/picochip/libgccExtras/lshrsi3.S,
11953 config/picochip/libgccExtras/parityhi2.S,
11954 config/picochip/libgccExtras/popcounthi2.S,
11955 config/picochip/libgccExtras/subdi3.S,
11956 config/picochip/libgccExtras/ucmpsi2.S,
11957 config/picochip/libgccExtras/udivmodhi4.S,
11958 config/picochip/libgccExtras/udivmodsi4.S: New files.
11959 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
11960 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
11961 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
11962 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
11963 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
11964 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
11965 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
11966 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
11967 files.
11968 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
11969 (HOST_LIBGCC2_CFLAGS): Set.
11970 * config/rs6000/t-darwin64: New file.
11971 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
11972 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
11973 * config/rs6000/t-ppccomm (LIB2ADD): Add
11974 $(srcdir)/config/rs6000/tramp.S.
11975 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
11976 Add $(srcdir)/config/rs6000/eabi.S.
11977 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
11978 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
11979 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
11980 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
11981 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
11982 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
11983 * config/rs6000/tramp.S: New file.
11984 * config/s390/t-tpf: Remove.
11985 * config/sh/linux-atomic.S: New file.
11986 * config/sh/t-linux (LIB2ADD): Set.
11987 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
11988 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11989 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
11990 to unwind-dw2.c.
11991 (HOST_LIBGCC2_CFLAGS): Set.
11992 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11993 * config/spu/divmodti4.c, config/spu/divv2df3.c,
11994 config/spu/float_disf.c, config/spu/float_unsdidf.c,
11995 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
11996 config/spu/mfc_multi_tag_release.c,
11997 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
11998 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
11999 config/spu/multi3.c: New files.
12000 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
12001 (HOST_LIBGCC2_CFLAGS): Set.
12002 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
12003 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
12004 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
12005 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
12006 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
12007 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
12008 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
12009 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
12010 config/stormy16/umodsi3.c: New files.
12011 * config/xtensa/lib2funcs.S: New file.
12012 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
12013 * config/xtensa/t-xtensa (LIB2ADD): Set.
12014 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
12015 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
12016 Add t-freebsd-thread to tmake_file for posix threads.
12017 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
12018 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
12019 (*-*-lynxos*): Likewise.
12020 (*-*-netbsd*): Likewise.
12021 (*-*-openbsd*): Likewise.
12022 Add t-openbsd-thread to tmake_file for posix threads.
12023 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
12024 (*-*-vxworks*): Set tmake_file.
12025 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
12026 (alpha*-*-freebsd*): Likewise.
12027 (alpha*-*-netbsd*): Likewise.
12028 (alpha*-*-openbsd*): Likewise.
12029 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
12030 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
12031 (alpha*-dec-*vms*): Likewise.
12032 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
12033 (bfin*-elf*): Add bfin/t-elf to tmake_file.
12034 (bfin*-uclinux*): Likewise.
12035 (bfin*-linux-uclibc*): Likewise.
12036 (crisv32-*-elf): Add cris/t-cris to tmake_file.
12037 (crisv32-*-none): Likewise.
12038 (cris-*-elf): Likewise.
12039 (cris-*-none): Likewise.
12040 (cris-*-linux*, crisv32-*-linux*): Likewise.
12041 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
12042 tmake_file.
12043 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
12044 tmake_file.
12045 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
12046 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
12047 (x86_64-*-elf*): Likewise.
12048 (i[34567]86-*-nto-qnx*): Likewise.
12049 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
12050 win32 threads.
12051 (x86_64-*-mingw*): Likewise.
12052 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
12053 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
12054 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
12055 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
12056 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
12057 tmake_file.
12058 (mipsisa64sr71k-*-elf*): Likewise.
12059 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
12060 (mips-*-elf*, mipsel-*-elf*): Likewise.
12061 (mips64-*-elf*, mips64el-*-elf*): Likewise.
12062 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
12063 (mips*-*-rtems*): Likewise.
12064 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
12065 to tmake_file.
12066 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
12067 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
12068 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
12069 (spu-*-elf*): Likewise.
12070 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
12071
12072 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12073
12074 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
12075 $(srcdir) to refer to $(LIB1ASMSRC).
12076 Use $<.
12077 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
12078 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
12079 config/arm/lib1funcs.S: New files.
12080 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
12081 * config/arm/t-arm: New file.
12082 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
12083 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
12084 config/arm/t-strongarm-elf: New files.
12085 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
12086 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
12087 * config/avr/lib1funcs.S: New file.
12088 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12089 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
12090 * config/c6x/lib1funcs.S: New file.
12091 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12092 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
12093 * config/frv/lib1funcs.S: New file.
12094 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12095 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
12096 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
12097 * config/ia64/__divxf3.asm: Rename to ...
12098 * config/ia64/__divxf3.S: ... this.
12099 Adapt lib1funcs.asm filename.
12100 * config/ia64/_fixtfdi.asm: Rename to ...
12101 * config/ia64/_fixtfdi.S: ... this.
12102 Adapt lib1funcs.asm filename.
12103 * config/ia64/_fixunstfdi.asm: Rename to ...
12104 * config/ia64/_fixunstfdi.S: ... this.
12105 Adapt lib1funcs.asm filename.
12106 * config/ia64/_floatditf.asm: Rename to ...
12107 * config/ia64/_floatditf.S: ... this.
12108 Adapt lib1funcs.asm filename.
12109 * config/ia64/lib1funcs.S: New file.
12110 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
12111 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12112 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
12113 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
12114 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
12115 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
12116 * config/mep/lib1funcs.S: New file.
12117 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12118 * config/mips/mips16.S: New file.
12119 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12120 * config/pa/milli64.S: New file.
12121 * config/pa/t-linux, config/pa/t-linux64: New files.
12122 * config/picochip/lib1funcs.S: New file.
12123 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12124 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
12125 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
12126 * config/sh/t-netbsd: New file.
12127 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
12128 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
12129 * config/sh/t-sh64: New file.
12130 * config/sparc/lb1spc.S: New file.
12131 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
12132 filename.
12133 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
12134 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
12135 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
12136 config/xtensa/lib1funcs.S: New files.
12137 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12138 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
12139 tmake_file.
12140 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
12141 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
12142 (arm*-*-linux*): Likewise.
12143 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
12144 arm*-*-linux-*eabi, add arm/t-linux otherwise.
12145 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
12146 (arm*-*-ecos-elf): Likewise.
12147 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
12148 (arm*-*-rtems*): Likewise.
12149 (arm*-*-elf): Likewise.
12150 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
12151 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
12152 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
12153 (bfin*-uclinux*): Likewise.
12154 (bfin*-linux-uclibc*): Likewise.
12155 (bfin*-rtems*): Likewise.
12156 (bfin*-*): Likewise.
12157 (fido-*-elf): Merge into m68k-*-elf*.
12158 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
12159 (frv-*-*linux*): Add frv/t-frv to tmake_file.
12160 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
12161 (h8300-*-elf*): Likewise.
12162 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
12163 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
12164 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
12165 (i[34567]86-*-mingw*): Likewise.
12166 (x86_64-*-mingw*): Likewise.
12167 (i[34567]86-*-interix3*): Likewise.
12168 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
12169 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
12170 (m68k-*-elf*): Also handle fido-*-elf.
12171 Add m68k/t-floatlib to tmake_file.
12172 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
12173 (m68k-*-linux*): Likewise.
12174 (m68k-*-rtems*): Likewise.
12175 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
12176 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
12177 sh64*-*-*.
12178 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
12179 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
12180 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
12181 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
12182 sh/t-netbsd to tmake_file.
12183 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
12184 (sh-*-rtems*): Add sh/t-sh to tmake_file.
12185 (sh-wrs-vxworks): Likewise.
12186 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
12187 *-leon[3-9]*.
12188 (v850*-*-*): Add v850/t-v850 to tmake_file.
12189 (vax-*-linux*): Add vax/t-linux to tmake_file.
12190 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
12191
12192 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12193
12194 * crtstuff.c: New file.
12195 * Makefile.in (CRTSTUFF_CFLAGS): Define.
12196 (CRTSTUFF_T_CFLAGS): Define.
12197 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
12198 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
12199 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
12200 crtstuff.c.
12201 Use $<.
12202 (crtbeginT.o): Use $(objext).
12203 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
12204 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
12205 (gcc-extra-parts): Remove.
12206 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
12207 Set extra_parts.
12208 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12209 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
12210 Add t-crtstuff-pic to tmake_file.
12211 (*-*-lynxos*): New case.
12212 Set tmake_file, extra_parts.
12213 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
12214 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
12215 *-*-netbsdelf[2-9]*.
12216 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
12217 (*-*-rtems*): Set extra_parts.
12218 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
12219 (*-*-uclinux*): New case.
12220 Set extra_parts.
12221 (*-*-vms*): New case.
12222 Set tmake_file, extra_parts.
12223 (*-*-elf): Set extra_parts.
12224 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
12225 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
12226 vms/t-vms64.
12227 Set extra_parts.
12228 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
12229 Set extra_parts.
12230 (arm*-*-freebsd*): Add t-crtin to tmake_file.
12231 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
12232 (arm-wrs-vxworks): Append to tmake_file.
12233 Set extra_parts.
12234 (arm*-*-uclinux*): Set extra_parts.
12235 (arm*-*-ecos-elf): Likewise.
12236 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
12237 arm*-*-eabi*.
12238 (arm*-*-rtems*): Set extra_parts.
12239 (arm*-*-elf): Likewise.
12240 (avr-*-rtems*): Clear extra_parts.
12241 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
12242 Set extra_parts.
12243 (bfin*-uclinux*): Likewise.
12244 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
12245 (bfin*-rtems*): Append to tmake_file.
12246 Set extra_parts.
12247 (bfin*-*): Likewise.
12248 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
12249 (crisv32-*-elf): ... this.
12250 (crisv32-*-none): ... this.
12251 (cris-*-elf, cris-*-none): New cases.
12252 Add cris/t-elfmulti to tmake_file.
12253 (fr30-*-elf): Append to tmake_file.
12254 Set extra_parts.
12255 (frv-*-elf): Append to tmake_file, add frv/t-frv.
12256 Set extra_parts.
12257 (h8300-*-rtems*): Append to tmake_file.
12258 Set extra_parts.
12259 (h8300-*-elf*): Likewise.
12260 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
12261 Set extra_parts.
12262 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
12263 Set extra_parts.
12264 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
12265 (x86_64-*-elf*): Likewise.
12266 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
12267 (x86_64-*-freebsd*): Likewise.
12268 (x86_64-*-netbsd*): Likewise.
12269 (i[34567]86-*-linux*): Likewise.
12270 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12271 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12272 (x86_64-*-linux*): Likewise.
12273 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12274 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
12275 tmake_file.
12276 Set extra_parts.
12277 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
12278 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
12279 Append to extra_parts, remove crtbegin.o, crtend.o.
12280 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
12281 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
12282 crtend.o, crtbeginS.o, crtendS.o.
12283 (ia64*-*-linux*): Comment extra_parts.
12284 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
12285 Set extra_parts.
12286 (iq2000*-*-elf*): Clear extra_parts.
12287 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
12288 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
12289 (m32r-*-elf*, m32r-*-rtems*): Split off ...
12290 (m32r-*-rtems*): ... this.
12291 Add m32r/t-m32r to tmake_file.
12292 (m68k-*-elf*): Add t-crtin to tmake_file.
12293 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
12294 (mcore-*-elf): Likewise.
12295 (microblaze*-*-*): Set extra_parts.
12296 (mips*-sde-elf*): New case.
12297 Set tmake_file, extra_parts.
12298 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
12299 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
12300 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
12301 tmake_file.
12302 Set extra_parts.
12303 (mipsisa64sr71k-*-elf*): Likewise.
12304 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
12305 (mips-*-elf*, mipsel-*-elf*): Likewise.
12306 (mips64-*-elf*, mips64el-*-elf*): Likewise.
12307 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
12308 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
12309 (mips*-*-rtems*): Likewise.
12310 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
12311 (moxie-*-*): Split into ...
12312 (moxie-*-elf, moxie-*-uclinux*): ... this.
12313 Add to extra_parts, remove crtbegin.o, crtend.o.
12314 (moxie-*-rtems*): New case.
12315 Set tmake_file.
12316 Clear extra_parts.
12317 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
12318 Set extra_parts.
12319 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
12320 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
12321 tmake_file.
12322 Set extra_parts.
12323 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
12324 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
12325 Set extra_parts.
12326 (powerpc-*-eabisim*): Likewise.
12327 (powerpc-*-elf*): Likewise.
12328 (powerpc-*-eabialtivec*): Likewise.
12329 (powerpc-xilinx-eabi*): Likewise.
12330 (powerpc-*-eabi*): Likewise.
12331 (powerpc-*-rtems*): Likewise.
12332 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
12333 tmake_file.
12334 Set extra_parts.
12335 (powerpc-*-lynxos*): Add to tmake_file.
12336 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
12337 rs6000/t-crtstuff, t-crtstuff-pic.
12338 Set extra_parts.
12339 (powerpcle-*-eabisim*): Likewise.
12340 (powerpcle-*-eabi*): Likewise.
12341 (rx-*-elf): Remove extra_parts.
12342 (s390x-ibm-tpf*): Set extra_parts.
12343 (score-*-elf): Set extra_parts.
12344 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12345 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12346 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12347 (sh64l*-*-netbsd*): Split into ...
12348 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
12349 Add t-crtstuff-pic to tmake_file.
12350 Set extra_parts.
12351 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
12352 Set extra_parts.
12353 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
12354 (sparc-*-elf*): Remove t-crtin from tmake_file.
12355 Add to extra_parts, remove crtbegin.o, crtend.o.
12356 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
12357 (sparc64-*-linux*): Likewise.
12358 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
12359 Add to extra_parts, remove crtbegin.o, crtend.o.
12360 (sparc64-*-elf*): Remove t-crtin from tmake_file.
12361 Add to extra_parts, remove crtbegin.o, crtend.o.
12362 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
12363 Add to extra_parts, remove crtbegin.o, crtend.o.
12364 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
12365 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
12366 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
12367 Set extra_parts.
12368 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
12369 Set extra_parts.
12370 (tic6x-*-*): Change to ...
12371 (tic6x-*-elf): ... this.
12372 Set extra_parts.
12373 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
12374 Set extra_parts.
12375 (am33_2.0-*-linux*): Add comment.
12376 (mep*-*-*): Add mep/t-mep to tmake_file.
12377 Set extra_parts.
12378 * config/alpha/t-vms: New file.
12379 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
12380 * config/arm/crti.S, config/arm/crtn.S: New files.
12381 * config/bfin/crti.S, config/bfin/crtn.S: New files.
12382 * config/bfin/crtlibid.S: New file.
12383 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
12384 * config/c6x/crti.S, config/c6x/crtn.S: New files.
12385 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
12386 (crti.o, crtin.o): New rules.
12387 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
12388 * config/c6x/t-uclinux: New file.
12389 * config/cris/t-elfmulti: New file.
12390 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
12391 * config/fr30/crti.S, config/fr30/crtn.S: New files.
12392 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
12393 * config/frv/t-frv: New file.
12394 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
12395 * config/h8300/crti.S, config/h8300/crtn.S: New files.
12396 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
12397 New files.
12398 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
12399 refer to cygming-crtbegin.c, cygming-crtend.c.
12400 Use $<.
12401 * config/i386/t-nto: New file.
12402 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
12403 * config/ia64/crti.S, config/ia64/crtn.S: New files.
12404 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
12405 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
12406 Use .S extension.
12407 Use $<.
12408 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
12409 (crtinitS.o): New rule.
12410 * config/ia64/vms-crtinit.S: New file.
12411 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
12412 * config/m32r/initfini.c: New file.
12413 * config/m32r/t-linux, config/m32r/t-m32r: New files.
12414 * config/m68k/crti.S, config/m68k/crtn.S: New files.
12415 * config/mcore/crti.S, config/mcore/crtn.S: New files.
12416 * config/mep/t-mep: New file.
12417 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
12418 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
12419 * config/mips/crti.S, config/mips/crtn.S: New files.
12420 * config/mips/t-crtstuff: New file.
12421 * config/mmix/crti.S, config/mmix/crtn.S: New files.
12422 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
12423 (CUSTOM_CRTIN): Set.
12424 ($(T)crti.o, $(T)crtn.o): Remove $(T),
12425 dependencies.
12426 Use $(srcdir) to refer to crti.S, crtn.S.
12427 Use .S extension, $<.
12428 * config/moxie/crti.asm: Rename to ...
12429 * config/moxie/crti.S: ... this.
12430 * config/moxie/crtn.asm: Rename to ...
12431 * config/moxie/crtn.S: ... this.
12432 * config/moxie/t-moxie: Remove.
12433 * config/pa/stublib.c: New file.
12434 * config/pa/t-stublib, config/pa/t-stublib64: New files.
12435 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
12436 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
12437 * config/rs6000/t-crtstuff: New file.
12438 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
12439 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
12440 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
12441 Make output file explicit.
12442 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
12443 Make output file explicit.
12444 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
12445 Make output file explicit.
12446 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
12447 Make output file explicit.
12448 * config/score/crti.S, config/score/crtn.S: New files.
12449 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
12450 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
12451 files.
12452 * config/sh/t-sh, config/sh/t-superh: New files.
12453 * config/sparc/t-linux64: New file.
12454 * config/spu/cache.S, config/spu/cachemgr.c: New files.
12455 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
12456 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
12457 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
12458 * config/t-crtin: Remove.
12459 * config/t-crtstuff-pic: New file.
12460 * config/t-sol2 (CUSTOM_CRTIN): Set.
12461 (crti.o, crtn.o): New rules.
12462 * config/vms/t-vms: New file.
12463 * config/vms/vms-ucrt0.c: New file.
12464 * config/xtensa/t-elf: New file.
12465
12466 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12467
12468 * Makefile.in (SHLIB_NM_FLAGS): Set.
12469 * mkmap-flat.awk, mkmap-symver.awk: New files.
12470 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
12471 exceptions.
12472 * configure: Regenerate.
12473 * config/libgcc-glibc.ver: New file.
12474 * config/libgcc-libsystem.ver: New file.
12475 * config/t-libunwind (SHLIB_LC): Set.
12476 * config/t-linux: New file.
12477 * config/t-slibgcc (INSTALL_SHLIB): New.
12478 (SHLIB_INSTALL): Use it.
12479 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
12480 to mkmap-symver.awk.
12481 (SHLIB_MAPFILES): Don't append, adapt pathname.
12482 (SHLIB_VERPFX): Set.
12483 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
12484 to mkmap-symver.awk.
12485 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
12486 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
12487 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
12488 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
12489 to mkmap-flat.awk.
12490 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
12491 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
12492 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
12493 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
12494 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
12495 * config/i386/libgcc-darwin.10.4.ver,
12496 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
12497 New files.
12498 * config/i386/t-darwin: Remove.
12499 * config/i386/t-darwin64: Likewise.
12500 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
12501 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
12502 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
12503 * config/i386/t-linux: New file.
12504 * config/i386/t-mingw32: New file.
12505 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
12506 * config/ia64/t-glibc: Rename to ...
12507 * config/ia64/t-linux: ... this.
12508 (SHLIB_MAPFILES): Set.
12509 * config/ia64/t-glibc-libunwind: Rename to ...
12510 * config/ia64/t-linux-libunwind: ... this.
12511 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
12512 * config/ia64/t-slibgcc-hpux: New file.
12513 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
12514 * config/m68k/t-slibgcc-elf-ver: New file.
12515 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
12516 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
12517 to mkmap-flat.awk.
12518 * config/pa/t-slibgcc-hpux: New file.
12519 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
12520 files.
12521 * config/rs6000/libgcc-darwin.10.4.ver,
12522 config/rs6000/libgcc-darwin.10.5.ver: New files.
12523 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
12524 config/rs6000/libgcc-glibc.ver.
12525 * config/rs6000/libgcc-ppc64.ver: Rename to
12526 config/rs6000/libgcc-ibm-ldouble.ver.
12527 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
12528 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
12529 * config/rs6000/t-ldbl128: Rename to ...
12530 * config/rs6000/t-linux: ... this.
12531 (SHLIB_MAPFILES): Adapt filename.
12532 * config/rs6000/t-slibgcc-aix: New file.
12533 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
12534 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
12535 libgcc-excl.ver, libgcc-glibc.ver.
12536 (SHLIB_LINK, SHLIB_INSTALL): Remove.
12537 * config/sparc/libgcc-glibc.ver: New file.
12538 * config/sparc/t-linux: New file.
12539 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
12540 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
12541 t-slibgcc-elf-ver to tmake_file.
12542 Add t-slibgcc-nolc-override to tmake_file for posix threads on
12543 *-*-freebsd[34].
12544 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12545 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
12546 t-slibgcc-elf-ver, t-linux to tmake_file.
12547 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
12548 tmake_file.
12549 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
12550 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
12551 (alpha*-dec-*vms*): Likewise.
12552 (arm*-*-freebsd*): Append to tmake_file.
12553 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
12554 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
12555 arm*-*-linux-*eabi.
12556 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
12557 tmake_file for arm*-*-symbianelf*.
12558 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
12559 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
12560 cris/t-linux.
12561 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
12562 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
12563 pa/t-slibgcc-dwarf-ver to tmake_file.
12564 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
12565 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
12566 (hppa*64*-*-hpux11*): Likewise.
12567 (hppa[12]*-*-hpux11*): Likewise.
12568 (x86_64-*-darwin*): Don't override tmake_file, but only keep
12569 i386/t-crtpc, i386/t-crtfm.
12570 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
12571 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
12572 to tmake_file.
12573 Add i386/t-cygwin to tmake_file.
12574 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
12575 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
12576 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
12577 to tmake_file.
12578 Add i386/t-mingw32 to tmake_file.
12579 (x86_64-*-mingw*): Likewise.
12580 (ia64*-*-freebsd*): Append to tmake_file.
12581 (ia64*-*-linux*): Append to tmake_file.
12582 Replace ia64/t-glibc by ia64/t-linux.
12583 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
12584 system libunwind.
12585 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
12586 t-slibgcc-hpux to tmake_file.
12587 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
12588 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
12589 (m32rle-*-linux*): Likewise.
12590 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
12591 sjlj exceptions.
12592 (microblaze*-linux*): New case.
12593 Append to tmake_file, add t-slibgcc-nolc-override.
12594 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
12595 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12596 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
12597 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12598 rs6000/t-slibgcc-aix to tmake_file.
12599 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12600 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12601 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12602 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12603 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12604 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
12605 sh*-*-linux*.
12606 (sparc-*-linux*): Append to tmake_file for *-leon*.
12607 Add sparc/t-linux to tmake_file for non-Leon targets.
12608 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
12609 (tic6x-*-uclinux): New case.
12610 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
12611 (tic6x-*-*): Add c6x/t-elf to tmake_file.
12612 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
12613 (am33_2.0-*-linux*): Append to tmake_file.
12614 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
12615 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
12616 x86_64-*-kfreebsd*-gnu.
12617 Add i386/t-linux to tmake_file.
12618
12619 2011-10-28 Ian Lance Taylor <iant@google.com>
12620
12621 * config/i386/morestack.S: Correct CFI information to do proper
12622 returns throughout function. In 32-bit mode, save %ebx so that it
12623 is restored on unwind.
12624
12625 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
12626
12627 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
12628 case where B3 isn't the return register.
12629
12630 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
12631 logic for doubleword pops.
12632
12633 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
12634
12635 * config/rs6000/t-freebsd: Add wildcard.
12636
12637 2011-10-21 Paul Brook <paul@codesourcery.com>
12638
12639 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
12640
12641 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
12642 Eric Botcazou <ebotcazou@adacore.com>
12643
12644 PR target/50737
12645 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
12646 fs->signal_frame to 1.
12647
12648 2011-10-07 Ian Lance Taylor <iant@google.com>
12649
12650 * generic-morestack-thread.c: #include <errno.h>.
12651
12652 2011-10-07 Ian Lance Taylor <iant@google.com>
12653
12654 PR target/46093
12655 * generic-morestack.c (__generic_morestack): Make sure the segment
12656 is large enough for both the stack frame and the copied
12657 parameters.
12658
12659 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12660
12661 PR bootstrap/49804
12662 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
12663 extra_parts.
12664
12665 2011-09-28 Nick Clifton <nickc@redhat.com>
12666
12667 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
12668 64-bit doubles are not enabled.
12669 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
12670 and floatunsisf functions.
12671
12672 2011-09-13 Paul Brook <paul@codesourcery.com>
12673
12674 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
12675 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
12676 * unwind-arm-common.inc: New file.
12677 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
12678 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
12679 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
12680 * config/c6x/libunwind.S: New file.
12681 * config/c6x/pr-support.c: New file.
12682 * config/c6x/unwind-c6x.c: New file.
12683 * config/c6x/unwind-c6x.h: New file.
12684 * config/c6x/t-c6x-elf: New file.
12685
12686 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
12687
12688 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
12689 (ASM_DIVZERO): Ditto.
12690 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
12691
12692 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
12693
12694 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
12695
12696 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
12697
12698 PR target/50090
12699 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
12700 instead of an assembly one.
12701
12702 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
12703
12704 PR bootstrap/50047
12705 * Makefile.in (install-unwind_h): Create
12706 $(gcc_objdir)/include/unwind.h atomically.
12707
12708 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12709
12710 * Makefile.in (install-unwind_h): Remove destination file first.
12711
12712 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12713
12714 * sync.c: New file.
12715 * config/mips/t-mips16: New file.
12716 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
12717 (mips*-*-linux*): Likewise.
12718 (mips*-sde-elf*): Likewise.
12719 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
12720 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
12721 Add mips/t-mips16 to tmake_file.
12722 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
12723 (mips-*-elf*): Likewise.
12724 (mips64-*-elf*): Likewise.
12725 (mips64orion-*-elf*): Likewise.
12726 (mips*-*-rtems*): Likewise.
12727 (mipstx39-*-elf*): Likewise.
12728 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
12729 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
12730 LIBGCC_SYNC_CFLAGS.
12731 Use $(srcdir) to refer to sync.c.
12732 Use $<.
12733 ($(libgcc-sync-funcs-o)): Likewise.
12734 ($(libgcc-sync-size-funcs-s-o)): Likewise.
12735 ($(libgcc-sync-funcs-s-o)): Likewise.
12736
12737 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
12738
12739 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
12740 t-libunwind.
12741
12742 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
12743
12744 PR other/48007
12745 * config/i386/value-unwind.h: New.
12746
12747 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
12748
12749 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
12750 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
12751 Add to tmake_file rather than overriding it.
12752
12753 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12754
12755 * config/t-softfp: Remove.
12756 * soft-fp: Moved from ../gcc/config.
12757 * soft-fp/README: Remove t-softfp reference.
12758 * soft-fp/t-softfp: Move to config/t-softfp.
12759 (softfp_machine_header): Remove.
12760 (softfp_file_list): Remove config subdir.
12761 (soft-fp-objects): New variable.
12762 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
12763 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
12764 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
12765 * config/t-softfp-excl: New file.
12766 * config/t-softfp-sfdf: New file.
12767 * config/t-softfp-tf: New file.
12768 * config/no-sfp-machine.h: New file.
12769 * config/arm/sfp-machine.h: New file.
12770 * config/arm/t-softfp: New file.
12771 * config/c6x/sfp-machine.h: New file.
12772 * config/i386/32/t-fprules-softfp: Rename to ...
12773 * config/i386/32/t-softfp: ... this.
12774 (tifunctions, LIB2ADD): Remove.
12775 (softfp_int_modes): Override.
12776 * config/i386/64/t-softfp-compat (tf-functions): Remove config
12777 subdir.
12778 * config/i386/64/eqtf2.c: Likewise.
12779 * config/i386/64/getf2.c: Likewise.
12780 * config/i386/64/letf2.c: Likewise.
12781 * config/ia64/sft-machine.h: New file.
12782 * config/ia64/t-fprules-softfp: Rename to ...
12783 * config/ia64/t-softfp: ... this.
12784 * config/lm32/sfp-machine.h: New file.
12785 * config/moxie/t-moxie-softfp: Remove.
12786 * config/rs6000/ibm-ldouble-format: New file.
12787 * config/rs6000/ibm-ldouble.c: New file.
12788 * config/rs6000/libgcc-ppc-glibc.ver: New file
12789 * config/rs6000/libgcc-ppc64.ver: New file
12790 * config/rs6000/sfp-machine.h: New file.
12791 * config/rs6000/t-freebsd: New file.
12792 * config/rs6000/t-ibm-ldouble: New file.
12793 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
12794 libgcc-ppc-glibc.ver.
12795 * config/rs6000/t-linux64: New file.
12796 * config/rs6000/t-ppccomm (LIB2ADD): Add
12797 $(srcdir)/config/rs6000/ibm-ldouble.c.
12798 * config/rs6000/t-ppccomm-ldbl: New file.
12799 * config/score/sfp-machine.h: New file.
12800 * config.host (sfp_machine_header): Explain.
12801 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
12802 t-softfp to tmake_file.
12803 (arm*-*-uclinux*): Likewise.
12804 (arm*-*-ecos-elf): Likewise.
12805 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
12806 (arm*-*-rtems*): Likewise.
12807 (arm*-*-elf): Likewise.
12808 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
12809 in tmake_file.
12810 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
12811 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
12812 (lm32-*-uclinux*): Likewise.
12813 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
12814 t-softfp-excl, t-softfp.
12815 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
12816 (powerpc64-*-darwin*): Likewise.
12817 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
12818 to tmake_file.
12819 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
12820 tmake_file.
12821 (powerpc-*-eabisim*): Likewise.
12822 (powerpc-*-elf*): Likewise.
12823 (powerpc-*-eabialtivec*): Likewise.
12824 (powerpc-xilinx-eabi*): Likewise.
12825 (powerpc-*-rtems*): Likewise.
12826 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
12827 t-softfp-excl, t-softfp to tmake_file.
12828 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
12829 rs6000/t-ppccomm-ldbl to tmake_file.
12830 (powerpcle-*-elf*): Likewise.
12831 (powerpcle-*-eabisim*): Likewise.
12832 (powerpcle-*-eabi*): Likewise.
12833 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12834 rs6000/t-ibm-ldouble to tmake_file.
12835 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12836 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12837 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
12838 (tic6x-*-*): Likewise.
12839 (i[34567]86-*-darwin*, x86_64-*-darwin*,
12840 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
12841 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
12842 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
12843 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
12844 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
12845 t-softfp to tmake_file.
12846 * configure.ac (sfp_machine_header): Provide default if unset.
12847 Substitute.
12848 Link sfp-machine.h to config/$sfp_machine_header.
12849 * configure: Regenerate.
12850
12851 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12852
12853 * Makefile.in (double_type_size, long_double_type_size): Set.
12854 Remove $(fpbit-in-libgcc) support.
12855 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
12856 (fpbit-src): New variable.
12857 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
12858 Compile with -DFLOAT $(FPBIT_CFLAGS).
12859 Use $<.
12860 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
12861 Compile with $(FPBIT_CFLAGS).
12862 Use $<.
12863 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
12864 Compile with -DFLOAT $(TPBIT_CFLAGS).
12865 Use $<.
12866 * configure.ac (double_type_size, long_double_type_size):
12867 Determine and substitute.
12868 * configure: Regenerate.
12869 * fp-bit.c, fp-bit.h: New files.
12870 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
12871 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
12872 * config/mips/t-mips: New file.
12873 * config/mips/t-sdemtk: New file.
12874 * config/rs6000/ppc64-fp.c: New file.
12875 * config/rs6000/t-darwin (LIB2ADD): Add
12876 $(srcdir)/config/rs6000/ppc64-fp.c.
12877 * config/rs6000/t-ppc64-fp: New file.
12878 * config/rx/rx-lib.h: New file.
12879 * config/rx/t-rx (FPBIT): Set to true.
12880 ($(gcc_objdir)/fp-bit.c): Remove.
12881 (DPBIT): Set to true only with -m64bit-doubles.
12882 ($(gcc_objdir)/dp-bit.c): Remove.
12883 * config/sparc/t-softfp: Remove.
12884 * config/spu/t-elf: New file.
12885 * config/t-fdpbit, config/t-fpbit: New files.
12886 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
12887 (mips*-*-*): Likewise.
12888 (arm-wrs-vxworks): Likewise.
12889 (arm*-*-freebsd*): Likewise.
12890 (avr-*-rtems*): Add t-fpbit to tmake_file.
12891 (avr-*-*): Likewise.
12892 (bfin*-elf*): Add t-fdpbit to tmake_file.
12893 (bfin*-uclinux*): Likewise.
12894 (bfin*-linux-uclibc*): Likewise.
12895 (bfin*-rtems*): New case.
12896 Add t-fdpbit to tmake_file.
12897 (bfin*-*): Add t-fdpbit to tmake_file.
12898 (crisv32-*-elf): Likewise.
12899 (cris-*-linux*): Likewise.
12900 (fr30-*-elf): Likewise.
12901 (frv-*-elf, frv-*-*linux*): Likewise.
12902 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
12903 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
12904 (m32r-*-elf*): Likewise.
12905 (m32rle-*-elf*): Likewise.
12906 (m32r-*-linux*): Likewise.
12907 (m32rle-*-linux*): Likewise.
12908 (mcore-*-elf): Add t-fdpbit to tmake_file.
12909 (microblaze*-*-*): Likewise.
12910 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
12911 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
12912 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
12913 Fix typo.
12914 Add mips/t-tpbit to tmake-file.
12915 (mips*-*-linux*): Fix typo.
12916 (mips*-sde-elf*): New case
12917 Add mips/t-sdemtk unless using newlib.
12918 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
12919 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
12920 (mn10300-*-*): Likewise.
12921 (pdp11-*-*): Likewise.
12922 (picochip-*-*): Add t-fpbit to tmake_file.
12923 (powerpc-*-eabisimaltivec*): Likewise.
12924 (powerpc-*-eabisim*): Likewise.
12925 (powerpc-*-elf*): Likewise.
12926 (powerpc-*-eabialtivec*): Likewise.
12927 (powerpc-xilinx-eabi*): New case.
12928 Add t-fdpbit to tmake_file.
12929 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
12930 (powerpc-*-rtems*): Likewise.
12931 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
12932 tmake_file.
12933 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
12934 tmake_file.
12935 (powerpc-*-lynxos*): Likewise.
12936 (powerpcle-*-elf*): Likewise.
12937 (powerpcle-*-eabisim*): Likewise.
12938 (powerpcle-*-eabi*): Likewise.
12939 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12940 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
12941 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12942 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12943 (rx-*-elf): Add t-fdpbit to tmake_file.
12944 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12945 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12946 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12947 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
12948 sh*-*-netbsd*.
12949 (sh-*-rtems*): Add t-fdpbit to tmake_file.
12950 (sh-wrs-vxworks): Likewise.
12951 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
12952 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
12953 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
12954 (sparc64-*-rtems*): ... new case.
12955 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
12956 (spu-*-elf*): Likewise.
12957 Add spu/t-elf to tmake_file.
12958 (v850*-*-*): Add t-fdpbit to tmake_file.
12959 (xstormy16-*-elf): Likewise.
12960 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
12961 (mep*-*-*): Likewise.
12962
12963 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12964
12965 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
12966 variables.
12967 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
12968 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
12969 (install-unwind_h): New target.
12970 (all): Depend on it.
12971 * config.host (unwind_header): New variable.
12972 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
12973 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12974 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
12975 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
12976 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
12977 Set unwind_header.
12978 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
12979 Set unwind_header.
12980 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
12981 arm*-*-eabi*.
12982 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
12983 Set unwind_header.
12984 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
12985 (ia64*-*-freebsd*): Likewise.
12986 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
12987 tmake_file.
12988 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
12989 $with_system_libunwind.
12990 (ia64*-*-hpux*): Set tmake_file.
12991 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
12992 (picochip-*-*): Set tmake_file.
12993 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
12994 md_unwind_header.
12995 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12996 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12997 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
12998 (xtensa*-*-elf*): Set tmake_file.
12999 (xtensa*-*-linux*): Likewise.
13000 * configure.ac: Include ../config/unwind_ipinfo.m4.
13001 Call GCC_CHECK_UNWIND_GETIPINFO.
13002 Link unwind.h to $unwind_header.
13003 * configure: Regenerate.
13004 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
13005 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
13006 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
13007 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
13008 * config/unwind-dw2-fde-darwin.c: New file.
13009 * config/arm/libunwind.S, config/arm/pr-support.c,
13010 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
13011 config/arm/unwind-arm.h,: New files.
13012 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
13013 config/ia64/t-eh-ia64, config/ia64/t-glibc,
13014 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
13015 config/ia64/t-vms, config/ia64/unwind-ia64.c,
13016 config/ia64/unwind-ia64.h: New files.
13017 * config/picochip/t-picochip: New file.
13018 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
13019 files.
13020 * config/rs6000/t-darwin (LIB2ADDEH): Set.
13021 * config/s390/t-tpf (LIB2ADDEH): Remove.
13022 * config/t-darwin (LIB2ADDEH): Set.
13023 * config/t-eh-dw2-dip: New file.
13024 * config/t-libunwind, config/t-libunwind-elf: New files.
13025 * config/t-sol2 (LIB2ADDEH): Remove.
13026 * config/xtensa/t-xtensa: New file.
13027
13028 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
13029
13030 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
13031 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
13032 long long to check rt_sigreturn syscall.
13033
13034 2011-08-02 Alan Modra <amodra@gmail.com>
13035
13036 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
13037 Restore for indirect call bcrtl from correct stack slot, and only
13038 if cfa+40 isn't valid.
13039
13040 2011-08-01 Julian Brown <julian@codesourcery.com>
13041
13042 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
13043 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
13044 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
13045
13046 2011-08-01 Julian Brown <julian@codesourcery.com>
13047
13048 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
13049 (libgcc-std.ver.in): Use above.
13050 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
13051 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
13052 throughout file.
13053 * config/t-fixedpoint-gnu-prefix: New file.
13054 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
13055 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
13056 instead of __PFX__.
13057
13058 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
13059
13060 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
13061 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
13062 for x86-64. Properly check __x86_64__ and __LP64__.
13063
13064 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
13065
13066 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
13067 version.
13068 (_FP_WS_TYPE): Likewise.
13069 (_FP_I_TYPE): Likewise.
13070
13071 2011-07-28 Alan Modra <amodra@gmail.com>
13072
13073 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
13074 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
13075 in a plt call stub. Do restore r2 if stopped on bctrl.
13076
13077 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13078
13079 * config.host (i[3456x]86-*-netware*): Remove.
13080 * config/i386/netware-crt0.c, config/i386/t-nwld,
13081 config/i386/t-slibgcc-nwld: Remove.
13082
13083 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
13084
13085 * config.host: Handle tic6x-*-*.
13086 * config/c6x/c6x-abi.h: New file.
13087
13088 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13089
13090 * config/i386/crtprec.c: New file.
13091 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
13092 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
13093 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
13094 (x86_64-*-darwin*): Likewise.
13095 (i[34567]86-*-solaris2*: Likewise.
13096
13097 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13098
13099 * config/alpha/crtfastmath.c: New file.
13100 * config/i386/crtfastmath.c: New file.
13101 * config/ia64/crtfastmath.c: New file.
13102 * config/mips/crtfastmath.c: New file.
13103 * config/sparc/crtfastmath.c: New file.
13104
13105 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
13106 crtfastmath.c.
13107 Add -frandom-seed=gcc-crtfastmath.
13108 * config/alpha/t-crtfm: Remove.
13109 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
13110 * config/ia64/t-ia64 (crtfastmath.o): Remove.
13111
13112 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
13113 (alpha*-dec-osf5.1*): Likewise.
13114 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
13115 Add crtfastmath.o to extra_parts.
13116 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
13117 Add crtfastmath.o to extra_parts.
13118 (x86_64-*-darwin*): Likewise.
13119 (x86_64-*-mingw*): Likewise.
13120 (ia64*-*-elf*): Add t-crtfm to tmake_file.
13121 (ia64*-*-freebsd*): Likewise.
13122 (ia64*-*-linux*): Likewise.
13123 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
13124 Add crtfastmath.o to extra_parts.
13125
13126 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13127
13128 * config/darwin-crt3.o: New file.
13129 * config/rs6000/darwin-crt2.c: New file.
13130 * config/t-darwin: New file.
13131 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
13132 (crt2.o): New rule.
13133 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
13134 (powerpc-*-darwin*): Add crt2.o to extra_parts.
13135 (powerpc64-*-darwin*): Likewise.
13136
13137 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13138
13139 * config/i386/netware-crt0.c: New file.
13140 * config/i386/t-nwld: Rename to ...
13141 * config/i386/t-slibgcc-nwld: ... this.
13142 * config/i386/t-nwld: New file.
13143 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
13144 tmake_file.
13145 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
13146 extra_parts.
13147
13148 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13149
13150 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
13151 i386/t-crtstuff.
13152 * configure: Regenerate.
13153
13154 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13155
13156 * dfp-bit.c, dfp-bit.h: New files.
13157 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
13158 variables.
13159 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
13160 ($(d64pbit-o)): Likewise.
13161 ($(d128pbit-o)): Likewise.
13162 * config/t-dfprules: New file.
13163 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
13164 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
13165 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
13166 (x86_64-*-linux*): Likewise.
13167 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
13168 (i[34567]86-*-cygwin*): Likewise.
13169 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
13170 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
13171
13172 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13173
13174 * Makfile.in (LIBGCOV): New variable.
13175 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
13176 * libgcov.c: New file.
13177
13178 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13179
13180 * fixed-bit.c, fixed-bit.h: New files.
13181 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
13182 refer to fixed-bit.c.
13183
13184 2011-07-07 Joseph Myers <joseph@codesourcery.com>
13185
13186 * config.host (*local*): Remove.
13187
13188 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13189
13190 PR target/39150
13191 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
13192 like i?86-*-solaris2.1[0-9]*.
13193 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
13194 * configure.ac (i?86-*-solaris2*): Likewise.
13195 * configure: Regenerate.
13196
13197 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
13198
13199 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
13200 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
13201 md_unwind_header by splitting out of...
13202 (i[34567]86-*-linux*): ... this.
13203 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
13204 Remove md_unwind_header by splitting out of...
13205 (x86_64-*-linux*): ... this.
13206
13207 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
13208
13209 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
13210
13211 2011-06-28 Nick Clifton <nickc@redhat.com>
13212
13213 * config.host: Recognize all V850 variants.
13214
13215 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
13216
13217 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
13218
13219 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13220
13221 * shared-object.mk (c_flags-$o): Save c_flags.
13222 ($(base)$(objext)): Use it.
13223 ($(base)_s$(objext)): Likewise.
13224
13225 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
13226
13227 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
13228 * libgcc-std.ver.in (GCC_4.7.0): New section.
13229
13230 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
13231
13232 PR target/49313
13233 PR target/29524
13234 * config/avr/t-avr: Fix line endings.
13235 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
13236 _parityXX2.
13237
13238 2011-06-14 Olivier Hainque <hainque@adacore.com>
13239 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13240
13241 * config/mips/irix6-unwind.h: New file.
13242 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
13243
13244 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
13245
13246 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
13247 (sparc64_fallback_frame_state): Use it.
13248 (sparc64_frob_update_context): Further adjust context.
13249 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
13250 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
13251 * config/sparc/sol2-cn.S: Likewise.
13252
13253 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13254
13255 * enable-execute-stack-empty.c: New file.
13256 * enable-execute-stack-mprotect.c: New file.
13257 * config/i386/enable-execute-stack-mingw32.c: New file.
13258 * config.host (enable_execute_stack): New variable.
13259 Select appropriate variants.
13260 * configure.ac: Link enable-execute-stack.c to
13261 $enable_execute_stack.
13262 * configure: Regenerate.
13263 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
13264 (lib2funcs): Remove _enable_execute_stack.
13265
13266 2011-06-09 David S. Miller <davem@davemloft.net>
13267 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13268
13269 * config.host (sparc-*-linux*): Correct md_unwind_header
13270 filename.
13271 (s390x-ibm-tpf*): Fix typo.
13272
13273 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13274
13275 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
13276 Add crtfastmath.o to extra_parts.
13277 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
13278 mips/t-crtfm.
13279 * config/mips/t-crtfm: Remove.
13280
13281 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
13282
13283 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
13284
13285 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
13286
13287 * config.host (sh*-*-linux*): Fix typo.
13288
13289 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13290
13291 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
13292 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
13293 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
13294 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
13295 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
13296 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
13297 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
13298 Wrap in !__MINGW64__.
13299 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
13300 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
13301 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
13302 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
13303 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
13304 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
13305 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
13306 Wrap in !__LP64__.
13307 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
13308 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
13309 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
13310 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
13311 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
13312 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
13313 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
13314 * config/no-unwind.h: New file.
13315 * config.host (md_unwind_header): Document.
13316 Define.
13317 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
13318 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
13319 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
13320 hppa[12]*-*-hpux11*): Set md_unwind_header.
13321 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
13322 Set md_unwind_header.
13323 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
13324 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
13325 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
13326 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
13327 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
13328 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
13329 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
13330 md_unwind_header.
13331 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
13332 * configure: Regenerate.
13333
13334 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13335
13336 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
13337 Set tmake_file, extra_parts.
13338 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
13339 Remove O32 support.
13340 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
13341 Remove O32 support.
13342 * config/mips/t-irix6: New file.
13343 * config/mips/t-slibgcc-irix: New file.
13344
13345 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13346
13347 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
13348 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
13349
13350 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13351
13352 * configure.ac (target_thread_file): Determine thread model.
13353 * configure: Regenerate.
13354 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
13355 * config/alpha/t-alpha: New file.
13356 * config/alpha/t-crtfm: Use $<.
13357 * config/alpha/t-ieee: New file.
13358 * config/alpha/t-osf-pthread: New file.
13359 * config/alpha/t-slibgcc-osf: New file.
13360 * config/alpha/libgcc-osf5.ver: New file.
13361
13362 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13363
13364 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
13365 tmake_file.
13366 Add crtfastmath.o to extra_parts.
13367
13368 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13369
13370 * config/gmon-sol2.c: Reindent.
13371 Cleanup comments.
13372 Remove, correct casts.
13373 Use STDERR_FILENO, NULL.
13374 (BASEADDRESS): Remove.
13375 (minbrk): Remove.
13376 (errno, sbrk): Remove declarations.
13377 (monstartup) [hp300]: Remove.
13378 (mcount): Remove.
13379
13380 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13381
13382 * Makefile.in (cpu_type): Define.
13383 * config.host (i[34567]86-*-rtems*): Handle it.
13384 (i[34567]86-*-solaris2*): Move body ...
13385 (*-*-solaris2*): ... here.
13386 New case, generalize.
13387 (sparc-*-elf*): Handle it.
13388 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
13389 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
13390 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
13391 Fold into ...
13392 (sparc*-*-solaris2*): ... this.
13393 New case.
13394 (sparc64-*-elf*): Handle it.
13395 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
13396 Merge ../gcc/config/i386/gmon-sol2.c.
13397 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
13398 Use C comments.
13399 Merge ../gcc/config/i386/sol2-gc1.asm.
13400 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
13401 Use C comments.
13402 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
13403 Use C comments.
13404 * config/i386/t-crtfm (crtfastmath.o): Use $<.
13405 * config/i386/t-crtstuff: New file.
13406 * config/i386/t-softfp: New file.
13407 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
13408 $(T)crti.o, $(T)crtn.o): Remove.
13409 (gcrt1.o): New rule.
13410 (TARGET_LIBGCC2_CFLAGS): Remove.
13411 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
13412 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
13413 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
13414 * config/sparc/t-sol2: New file.
13415 * config/sparc/t-crtfm: Move to ...
13416 * config/t-crtfm: ... this.
13417 Use $(cpu_type), $<.
13418 * config/t-crtin: New file.
13419 * config/sparc/t-softfp: New file.
13420 * config/sparc/t-softmul: New file.
13421 * config/t-rtems: New file.
13422 * config/t-slibgcc: New file.
13423 * config/t-slibgcc-elf-ver: New file.
13424 * config/t-slibgcc-gld: New file.
13425 * config/t-slibgcc-sld: New file.
13426 * config/t-sol2: New file.
13427 * configure.ac: Include ../config/lib-ld.m4.
13428 Call AC_LIB_PROG_LD_GNU.
13429 Substitute cpu_type.
13430 * configure: Regenerate.
13431
13432 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
13433
13434 PR bootstrap/49173
13435 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
13436 libgcc-std.ver in the build directory.
13437 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
13438 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
13439
13440 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
13441
13442 * libgcc-std.ver.in: New file.
13443 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
13444 variables.
13445 (libgcc-std.ver): New rule.
13446 * config/t-gnu-prefix: New file.
13447
13448 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13449
13450 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
13451
13452 2011-05-10 Joseph Myers <joseph@codesourcery.com>
13453
13454 * config/i386/darwin-lib.h: New file.
13455
13456 2011-05-10 Joseph Myers <joseph@codesourcery.com>
13457
13458 * config/arm/symbian-lib.h: New.
13459
13460 2011-05-04 Chris Demetriou <cgd@google.com>
13461
13462 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
13463 (__x86.get_pc_thunk.bx): ...this.
13464 (__morestack): Adjust for rename, remove undef of __i686.
13465
13466 2011-05-03 Chris Demetriou <cgd@google.com>
13467
13468 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
13469
13470 2011-03-22 Joseph Myers <joseph@codesourcery.com>
13471
13472 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
13473 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
13474 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
13475 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
13476 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
13477 Remove cases.
13478
13479 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
13480
13481 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
13482 Adjust copyright year.
13483
13484 2011-03-07 Ian Lance Taylor <iant@google.com>
13485
13486 * generic-morestack.c (__splitstack_find): Adjust returned stack
13487 pointer to include all registers pushed by __morestack.
13488
13489 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
13490
13491 PR target/40125
13492 * configure.ac: Call ACX_NONCANONICAL_TARGET.
13493 (toolexecdir): Calculate and AC_SUBST.
13494 (toolexeclibdir): Likewise.
13495 * Makefile.in (target_noncanonical): Import.
13496 (toolexecdir): Likewise.
13497 (toolexeclibdir): Likewise.
13498 * configure: Regenerate.
13499
13500 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
13501
13502 PR target/46040
13503 * config/arm/bpabi.h: Rename to...
13504 * config/arm/bpabi-lib.h: ...this.
13505
13506 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13507
13508 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
13509 appropriate.
13510 * configure: Regenerate.
13511
13512 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
13513
13514 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
13515 __FLOAT_WORD_ORDER__.
13516 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
13517 Delete.
13518
13519 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13520
13521 PR other/46202
13522 * Makefile.in (install-strip): New phony target.
13523
13524 2010-11-07 Ian Lance Taylor <iant@google.com>
13525
13526 PR target/46089
13527 * config/i386/morestack.S (__morestack_large_model): New
13528 function.
13529
13530 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
13531
13532 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
13533 Delete.
13534 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
13535
13536 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
13537
13538 * config/arm/bpabi.h: New file.
13539 * config/frv/frv-abi.h: New file.
13540
13541 2010-10-01 Ian Lance Taylor <iant@google.com>
13542
13543 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
13544 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
13545
13546 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
13547
13548 PR target/45858
13549 * config.host: Add the missing `$'.
13550
13551 2010-09-30 Michael Eager <eager@eagercon.com>
13552
13553 * config.host: Add microblaze*-*-*.
13554 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
13555 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
13556 udivsi3.asm,umodsi3.asm}: New.
13557
13558 2010-09-28 Ian Lance Taylor <iant@google.com>
13559
13560 * configure.ac: Adjust CFI test to test assembler directly rather
13561 than checking gcc preprocessor macro.
13562 * configure: Rebuild.
13563
13564 2010-09-27 Ian Lance Taylor <iant@google.com>
13565
13566 * configure.ac: Test whether assembler supports CFI directives.
13567 * config.host: Only add t-stack and i386/t-stack-i386 to
13568 tmake_file if libgcc_cv_cfi is "yes".
13569 * configure: Rebuild.
13570
13571 2010-09-27 Ian Lance Taylor <iant@google.com>
13572
13573 * generic-morestack.h: New file.
13574 * generic-morestack.c: New file.
13575 * generic-morestack-thread.c: New file.
13576 * config/i386/morestack.S: New file.
13577 * config/t-stack: New file.
13578 * config/i386/t-stack-i386: New file.
13579 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
13580 i386/t-stack-i386 to tmake_file.
13581
13582 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
13583
13584 * Makefile.in (libgcc-extra-parts): Check for static archives and
13585 invoke ranlib after installing them.
13586 (gcc-extra-parts): Likewise.
13587 (install-leaf): Likewise.
13588
13589 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
13590
13591 * configure: Regenerated.
13592
13593 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
13594
13595 * configure: Regenerated.
13596
13597 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
13598 Andrew Pinski <pinskia@gmail.com>
13599
13600 PR target/40959
13601 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
13602
13603 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
13604
13605 PR target/45524
13606 * configure: Regenerated.
13607
13608 2010-09-06 Andreas Schwab <schwab@redhat.com>
13609
13610 * configure: Regenerate.
13611
13612 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
13613
13614 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
13615 64bit targets.
13616 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
13617 for 64bit targets.
13618
13619 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
13620 Iain Sandoe <iains@gcc.gnu.org>
13621
13622 PR target/45476
13623 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
13624 LIB2FUNCS_EXCLUDE functions.
13625
13626 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13627
13628 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
13629 Include dfp.m4.
13630 * configure: Regenerate.
13631
13632 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
13633
13634 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
13635 i386/t-freebsd to tmake_file.
13636 * config/i386/t-freebsd: New file.
13637 * config/i386/libgcc-bsd.ver: New file.
13638
13639 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
13640
13641 * config.host (powerpc*-eabispe*): Set tmake_file.
13642 (powerpc*-eabi*): Likewise.
13643 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
13644 crtbeginS, crtendS, crtbeginT.
13645
13646 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
13647
13648 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
13649 to tmake_file. Add crtfastmath.o to extra_parts.
13650 * config/mips/t-crtfm: New.
13651
13652 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
13653
13654 * config.host (sparc64-*-rtems*): New target.
13655
13656 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13657
13658 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
13659 assembler syntax.
13660
13661 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
13662
13663 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
13664
13665 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13666
13667 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
13668 alpha-dec-osf5.0* support.
13669
13670 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
13671
13672 * config.host: Add lm32-*-rtems*.
13673
13674 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13675 Uros Bizjak <ubizjak@gmail.com>
13676
13677 PR target/39048
13678 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
13679 like other remaining 32-bit x86 OSes.
13680 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
13681 assembler syntax.
13682 * config/i386/libgcc-sol2.ver: New file.
13683 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
13684
13685 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
13686
13687 PR c/43553
13688 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
13689 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
13690 is used and substitute set_use_emutls.
13691 * configure: Regenerated.
13692
13693 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
13694
13695 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
13696
13697 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13698
13699 PR target/38085
13700 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
13701 MULTILIB_CFLAGS.
13702 ($(T)gcrt1.o): Likewise.
13703 ($(T)crt1.o): Likewise.
13704 ($(T)crti.o): Likewise.
13705 ($(T)crtn.o): Likewise.
13706
13707 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13708
13709 PR other/42980
13710 * Makefile.in (install): Use $(MAKE) string in rule, for
13711 parallel make.
13712
13713 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
13714
13715 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
13716 * config/mmix/t-mmix: New file.
13717 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
13718
13719 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
13720
13721 PR java/41991
13722 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
13723 SHLIB_MAPFILES.
13724
13725 2010-01-04 Anthony Green <green@moxielogic.com>
13726
13727 * config/moxie/crti.asm, config/moxie/crtn.asm,
13728 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
13729 config/moxie/t-moxie: New files.
13730 * config.host: Add t-moxie-softfp reference.
13731
13732 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
13733
13734 PR other/39888
13735 * config/t-slibgcc-darwin: Fix embedded rpaths for
13736 --enable-version-specific-runtime-libs, build extension stub
13737 libs exposing features available from current libgcc_s.
13738
13739 2009-11-11 Jon Beniston <jon@beniston.com>
13740
13741 * config.host: Add lm32 targets.
13742 * config/lm32: New directory.
13743 * config/lm32/libgcc_lm32.h: New file.
13744 * config/lm32/_mulsi3.c: New file.
13745 * config/lm32/_udivmodsi4.c: New file.
13746 * config/lm32/_divsi3.c: New file.
13747 * config/lm32/_modsi3.c: New file.
13748 * config/lm32/_udivsi3.c: New file.
13749 * config/lm32/_umodsi3.c: New file.
13750 * config/lm32/_lshrsi3.S: New file.
13751 * config/lm32/_ashrsi3.S: New file.
13752 * config/lm32/_ashlsi3.S: New file.
13753 * config/lm32/crti.S: New file.
13754 * config/lm32/crtn.S: New file.
13755 * config/lm32/t-lm32: New file.
13756 * config/lm32/t-elf: New file.
13757 * config/lm32/t-uclinux: New file.
13758
13759 2009-10-26 Nick Clifton <nickc@redhat.com>
13760
13761 * config.host: Add support for RX target.
13762 * config/rx: New directory.
13763 * config/rx/rx-abi-functions.c: New file. Supplementary
13764 functions for libgcc to support the RX ABI.
13765 * config/rx/rx-abi.h: New file. Supplementary header file for
13766 libgcc RX ABI functions.
13767 * config/rx/t-rx: New file: Makefile fragment for building
13768 libgcc for the RX.
13769
13770 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
13771
13772 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
13773 constraint of y0 to "g".
13774
13775 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13776
13777 * config.host: Include the s390 makefile fragments.
13778 * config/s390/32/_fixdfdi.c: New file.
13779 * config/s390/32/_fixsfdi.c: New file.
13780 * config/s390/32/_fixtfdi.c: New file.
13781 * config/s390/32/_fixunsdfdi.c: New file.
13782 * config/s390/32/_fixunssfdi.c: New file.
13783 * config/s390/32/_fixunstfdi.c: New file.
13784 * config/s390/32/t-floattodi: New file.
13785 * config/s390/libgcc-glibc.ver: New file.
13786 * config/s390/t-crtstuff: New file.
13787 * config/s390/t-linux: New file.
13788 * config/s390/t-tpf: New file.
13789
13790 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13791
13792 * configure.ac (AC_PREREQ): Bump to 2.64.
13793
13794 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
13795
13796 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
13797
13798 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13799
13800 * configure: Regenerate.
13801
13802 2009-08-09 Douglas B Rupp <rupp@gnat.com>
13803
13804 * config.host (ia64-hp-*vms*): New target.
13805 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
13806 with ia64-hp-*vms*.
13807
13808 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13809
13810 * configure.ac: Add snippet for maintainer-mode.
13811 * configure: Regenerate.
13812 * Makefile.in (AUTOCONF, configure_deps): New variables.
13813 ($(srcdir)/configure)): New rule, active only with maintainer
13814 mode turned on.
13815
13816 2009-06-23 DJ Delorie <dj@redhat.com>
13817
13818 Add MeP port.
13819 * config.host: Add mep support.
13820
13821 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
13822
13823 * config.host: Add i386/${host_address}/t-fprules-softfp and
13824 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
13825
13826 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
13827 for mingw targets.
13828 * config/i386/64/_multc3.c: Likewise.
13829 * config/i386/64/_powitf2.c: Likewise.
13830 * config/i386/64/eqtf2.c: Likewise.
13831 * config/i386/64/getf2.c: Likewise.
13832 * config/i386/64/letf2.c: Likewise.
13833 * config/i386/64/letf2.c: Likewise.
13834 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
13835 unsigned long long for x64 mingw targets.
13836 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
13837 (_FP_I_TYPE): Define as long long for x64 mingw target.
13838
13839 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
13840
13841 * config.host (vax-*-linux*): New.
13842
13843 2009-05-31 Anthony Green <green@moxielogic.com>
13844
13845 * config.host: Add moxie support.
13846 * config/moxie/t-moxie: New file.
13847
13848 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
13849
13850 * config.host: Add i386/${host_address}/t-fprules-softfp and
13851 t-softfp to tmake_file for i[34567]86-*-cygwin*.
13852
13853 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
13854
13855 * config.host: Add i386/${host_address}/t-fprules-softfp to
13856 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
13857
13858 2009-04-09 Nick Clifton <nickc@redhat.com>
13859
13860 * config/ia64/tf-signs.c: Change copyright header to refer to
13861 version 3 of the GNU General Public License with version 3.1
13862 of the GCC Runtime Library Exception and to point readers at
13863 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
13864 web page.
13865 * config/i386/32/tf-signs.c: Likewise.
13866 * config/libbid/_addsub_dd.c: Likewise.
13867 * config/libbid/_addsub_sd.c: Likewise.
13868 * config/libbid/_addsub_td.c: Likewise.
13869 * config/libbid/_dd_to_df.c: Likewise.
13870 * config/libbid/_dd_to_di.c: Likewise.
13871 * config/libbid/_dd_to_sd.c: Likewise.
13872 * config/libbid/_dd_to_sf.c: Likewise.
13873 * config/libbid/_dd_to_si.c: Likewise.
13874 * config/libbid/_dd_to_td.c: Likewise.
13875 * config/libbid/_dd_to_tf.c: Likewise.
13876 * config/libbid/_dd_to_udi.c: Likewise.
13877 * config/libbid/_dd_to_usi.c: Likewise.
13878 * config/libbid/_dd_to_xf.c: Likewise.
13879 * config/libbid/_df_to_dd.c: Likewise.
13880 * config/libbid/_df_to_sd.c: Likewise.
13881 * config/libbid/_df_to_td.c: Likewise.
13882 * config/libbid/_di_to_dd.c: Likewise.
13883 * config/libbid/_di_to_sd.c: Likewise.
13884 * config/libbid/_di_to_td.c: Likewise.
13885 * config/libbid/_div_dd.c: Likewise.
13886 * config/libbid/_div_sd.c: Likewise.
13887 * config/libbid/_div_td.c: Likewise.
13888 * config/libbid/_eq_dd.c: Likewise.
13889 * config/libbid/_eq_sd.c: Likewise.
13890 * config/libbid/_eq_td.c: Likewise.
13891 * config/libbid/_ge_dd.c: Likewise.
13892 * config/libbid/_ge_sd.c: Likewise.
13893 * config/libbid/_ge_td.c: Likewise.
13894 * config/libbid/_gt_dd.c: Likewise.
13895 * config/libbid/_gt_sd.c: Likewise.
13896 * config/libbid/_gt_td.c: Likewise.
13897 * config/libbid/_isinfd128.c: Likewise.
13898 * config/libbid/_isinfd32.c: Likewise.
13899 * config/libbid/_isinfd64.c: Likewise.
13900 * config/libbid/_le_dd.c: Likewise.
13901 * config/libbid/_le_sd.c: Likewise.
13902 * config/libbid/_le_td.c: Likewise.
13903 * config/libbid/_lt_dd.c: Likewise.
13904 * config/libbid/_lt_sd.c: Likewise.
13905 * config/libbid/_lt_td.c: Likewise.
13906 * config/libbid/_mul_dd.c: Likewise.
13907 * config/libbid/_mul_sd.c: Likewise.
13908 * config/libbid/_mul_td.c: Likewise.
13909 * config/libbid/_ne_dd.c: Likewise.
13910 * config/libbid/_ne_sd.c: Likewise.
13911 * config/libbid/_ne_td.c: Likewise.
13912 * config/libbid/_sd_to_dd.c: Likewise.
13913 * config/libbid/_sd_to_df.c: Likewise.
13914 * config/libbid/_sd_to_di.c: Likewise.
13915 * config/libbid/_sd_to_sf.c: Likewise.
13916 * config/libbid/_sd_to_si.c: Likewise.
13917 * config/libbid/_sd_to_td.c: Likewise.
13918 * config/libbid/_sd_to_tf.c: Likewise.
13919 * config/libbid/_sd_to_udi.c: Likewise.
13920 * config/libbid/_sd_to_usi.c: Likewise.
13921 * config/libbid/_sd_to_xf.c: Likewise.
13922 * config/libbid/_sf_to_dd.c: Likewise.
13923 * config/libbid/_sf_to_sd.c: Likewise.
13924 * config/libbid/_sf_to_td.c: Likewise.
13925 * config/libbid/_si_to_dd.c: Likewise.
13926 * config/libbid/_si_to_sd.c: Likewise.
13927 * config/libbid/_si_to_td.c: Likewise.
13928 * config/libbid/_td_to_dd.c: Likewise.
13929 * config/libbid/_td_to_df.c: Likewise.
13930 * config/libbid/_td_to_di.c: Likewise.
13931 * config/libbid/_td_to_sd.c: Likewise.
13932 * config/libbid/_td_to_sf.c: Likewise.
13933 * config/libbid/_td_to_si.c: Likewise.
13934 * config/libbid/_td_to_tf.c: Likewise.
13935 * config/libbid/_td_to_udi.c: Likewise.
13936 * config/libbid/_td_to_usi.c: Likewise.
13937 * config/libbid/_td_to_xf.c: Likewise.
13938 * config/libbid/_tf_to_dd.c: Likewise.
13939 * config/libbid/_tf_to_sd.c: Likewise.
13940 * config/libbid/_tf_to_td.c: Likewise.
13941 * config/libbid/_udi_to_dd.c: Likewise.
13942 * config/libbid/_udi_to_sd.c: Likewise.
13943 * config/libbid/_udi_to_td.c: Likewise.
13944 * config/libbid/_unord_dd.c: Likewise.
13945 * config/libbid/_unord_sd.c: Likewise.
13946 * config/libbid/_unord_td.c: Likewise.
13947 * config/libbid/_usi_to_dd.c: Likewise.
13948 * config/libbid/_usi_to_sd.c: Likewise.
13949 * config/libbid/_usi_to_td.c: Likewise.
13950 * config/libbid/_xf_to_dd.c: Likewise.
13951 * config/libbid/_xf_to_sd.c: Likewise.
13952 * config/libbid/_xf_to_td.c: Likewise.
13953 * config/libbid/bid128.c: Likewise.
13954 * config/libbid/bid128_2_str.h: Likewise.
13955 * config/libbid/bid128_2_str_macros.h: Likewise.
13956 * config/libbid/bid128_2_str_tables.c: Likewise.
13957 * config/libbid/bid128_add.c: Likewise.
13958 * config/libbid/bid128_compare.c: Likewise.
13959 * config/libbid/bid128_div.c: Likewise.
13960 * config/libbid/bid128_fma.c: Likewise.
13961 * config/libbid/bid128_logb.c: Likewise.
13962 * config/libbid/bid128_minmax.c: Likewise.
13963 * config/libbid/bid128_mul.c: Likewise.
13964 * config/libbid/bid128_next.c: Likewise.
13965 * config/libbid/bid128_noncomp.c: Likewise.
13966 * config/libbid/bid128_quantize.c: Likewise.
13967 * config/libbid/bid128_rem.c: Likewise.
13968 * config/libbid/bid128_round_integral.c: Likewise.
13969 * config/libbid/bid128_scalb.c: Likewise.
13970 * config/libbid/bid128_sqrt.c: Likewise.
13971 * config/libbid/bid128_string.c: Likewise.
13972 * config/libbid/bid128_to_int16.c: Likewise.
13973 * config/libbid/bid128_to_int32.c: Likewise.
13974 * config/libbid/bid128_to_int64.c: Likewise.
13975 * config/libbid/bid128_to_int8.c: Likewise.
13976 * config/libbid/bid128_to_uint16.c: Likewise.
13977 * config/libbid/bid128_to_uint32.c: Likewise.
13978 * config/libbid/bid128_to_uint64.c: Likewise.
13979 * config/libbid/bid128_to_uint8.c: Likewise.
13980 * config/libbid/bid32_to_bid128.c: Likewise.
13981 * config/libbid/bid32_to_bid64.c: Likewise.
13982 * config/libbid/bid64_add.c: Likewise.
13983 * config/libbid/bid64_compare.c: Likewise.
13984 * config/libbid/bid64_div.c: Likewise.
13985 * config/libbid/bid64_fma.c: Likewise.
13986 * config/libbid/bid64_logb.c: Likewise.
13987 * config/libbid/bid64_minmax.c: Likewise.
13988 * config/libbid/bid64_mul.c: Likewise.
13989 * config/libbid/bid64_next.c: Likewise.
13990 * config/libbid/bid64_noncomp.c: Likewise.
13991 * config/libbid/bid64_quantize.c: Likewise.
13992 * config/libbid/bid64_rem.c: Likewise.
13993 * config/libbid/bid64_round_integral.c: Likewise.
13994 * config/libbid/bid64_scalb.c: Likewise.
13995 * config/libbid/bid64_sqrt.c: Likewise.
13996 * config/libbid/bid64_string.c: Likewise.
13997 * config/libbid/bid64_to_bid128.c: Likewise.
13998 * config/libbid/bid64_to_int16.c: Likewise.
13999 * config/libbid/bid64_to_int32.c: Likewise.
14000 * config/libbid/bid64_to_int64.c: Likewise.
14001 * config/libbid/bid64_to_int8.c: Likewise.
14002 * config/libbid/bid64_to_uint16.c: Likewise.
14003 * config/libbid/bid64_to_uint32.c: Likewise.
14004 * config/libbid/bid64_to_uint64.c: Likewise.
14005 * config/libbid/bid64_to_uint8.c: Likewise.
14006 * config/libbid/bid_b2d.h: Likewise.
14007 * config/libbid/bid_binarydecimal.c: Likewise.
14008 * config/libbid/bid_conf.h: Likewise.
14009 * config/libbid/bid_convert_data.c: Likewise.
14010 * config/libbid/bid_decimal_data.c: Likewise.
14011 * config/libbid/bid_decimal_globals.c: Likewise.
14012 * config/libbid/bid_div_macros.h: Likewise.
14013 * config/libbid/bid_dpd.c: Likewise.
14014 * config/libbid/bid_flag_operations.c: Likewise.
14015 * config/libbid/bid_from_int.c: Likewise.
14016 * config/libbid/bid_functions.h: Likewise.
14017 * config/libbid/bid_gcc_intrinsics.h: Likewise.
14018 * config/libbid/bid_inline_add.h: Likewise.
14019 * config/libbid/bid_internal.h: Likewise.
14020 * config/libbid/bid_round.c: Likewise.
14021 * config/libbid/bid_sqrt_macros.h: Likewise.
14022
14023 2009-04-09 Jakub Jelinek <jakub@redhat.com>
14024
14025 * Makefile.in: Change copyright header to refer to version
14026 3 of the GNU General Public License and to point readers at the
14027 COPYING3 file and the FSF's license web page.
14028 * config.host: Likewise.
14029
14030 2009-04-07 Alan Modra <amodra@bigpond.net.au>
14031
14032 * config.host: Reorder and merge to match config.gcc change.
14033
14034 2009-04-03 Alan Modra <amodra@bigpond.net.au>
14035
14036 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
14037
14038 2009-03-28 Joseph Myers <joseph@codesourcery.com>
14039
14040 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
14041 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
14042 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
14043 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
14044
14045 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
14046
14047 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
14048 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
14049
14050 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
14051
14052 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
14053 ia64/t-softfp-compat to tmake_file.
14054
14055 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
14056
14057 * config/ia64/__divxf3.asm: New.
14058 * config/ia64/_fixtfdi.asm: Likewise.
14059 * config/ia64/_fixunstfdi.asm: Likewise.
14060 * config/ia64/_floatditf.asm: Likewise.
14061 * config/ia64/t-fprules-softfp: Likewise.
14062 * config/ia64/t-softfp-compat: Likewise.
14063 * config/ia64/tf-signs.c: Likewise.
14064
14065 2009-01-18 Ben Elliston <bje@au.ibm.com>
14066
14067 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
14068
14069 2009-01-16 Ben Elliston <bje@au.ibm.com>
14070
14071 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
14072 to tmake_file.
14073
14074 2009-01-13 Ben Elliston <bje@au.ibm.com>
14075
14076 * config/t-softfp: New file.
14077 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
14078 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
14079
14080 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
14081
14082 * config.host: Add m32r*-*-rtems*.
14083
14084 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
14085
14086 * config.host: Add m32c*-*-rtems*.
14087
14088 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14089
14090 PR bootstrap/33100
14091 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
14092 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
14093 * configure: Regenerate.
14094 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
14095 tmake_file here from gcc/config.gcc.
14096 Move extra_parts here from gcc/config.gcc.
14097 * config/i386/t-sol2: Move here from gcc/config/i386.
14098 Use gcc_srcdir instead of srcdir.
14099
14100 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
14101
14102 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
14103 case.
14104
14105 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
14106
14107 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
14108
14109 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
14110
14111 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
14112
14113 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
14114
14115 Add picoChip port.
14116 * config.host: Add picochip-*-*.
14117
14118 2008-08-06 Bob Wilson <bob.wilson@acm.org>
14119
14120 * config.host: Match more processor names for Xtensa.
14121
14122 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
14123
14124 * config/i386/64/t-softfp-compat: Update comments.
14125
14126 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
14127
14128 * config/i386/64/_divtc3-compat.c: Moved to ...
14129 * config/i386/64/_divtc3.c: Here.
14130
14131 * config/i386/64/_multc3-compat.c: Moved to ...
14132 * config/i386/64/_multc3.c: Here.
14133
14134 * config/i386/64/_powitf2-compat.c: Moved to ...
14135 * config/i386/64/_powitf2.c: Here.
14136
14137 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
14138 .c suffix instead of -compat.c.
14139
14140 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
14141
14142 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
14143 (_FP_MUL_MEAT_D): Ditto.
14144 (_FP_DIV_MEAT_S): Ditto.
14145 (_FP_DIV_MEAT_D): Ditto.
14146
14147 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
14148
14149 * Makefile.in: Add support for __sync_* libgcc functions.
14150
14151 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
14152
14153 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
14154
14155 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
14156
14157 PR boostrap/36702
14158 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
14159 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
14160
14161 * config/i386/64/t-fprules-softfp: Moved to ...
14162 * config/i386/64/t-softfp-compat: This. New.
14163
14164 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
14165
14166 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
14167 Initialize f with 0.0.
14168
14169 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
14170
14171 PR target/36669
14172 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
14173
14174 * config/i386/64/_divtc3-compat.c: New.
14175 * config/i386/64/_multc3-compat.c: Likewise.
14176 * config/i386/64/_powitf2-compat.c: Likewise.
14177 * config/i386/64/eqtf2.c: Likewise.
14178 * config/i386/64/getf2.c: Likewise.
14179 * config/i386/64/letf2.c: Likewise.
14180 * config/i386/64/t-fprules-softfp: Likewise.
14181
14182 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
14183
14184 * config.host: Add i386/${host_address}/t-fprules-softfp to
14185 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
14186 i[34567]86-*-linux*, x86_64-*-linux*.
14187
14188 * configure.ac: Set host_address to 64 or 32 for x86.
14189 * configure: Regenerated.
14190
14191 * Makefile.in (config.status): Also depend on
14192 $(srcdir)/config.host.
14193
14194 * config/i386/32/t-fprules-softfp: New.
14195 * config/i386/32/tf-signs.c: Likewise.
14196
14197 * config/i386/64/sfp-machine.h: New. Moved from gcc.
14198
14199 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
14200 Uros Bizjak <ubizjak@gmail.com>
14201
14202 * config/i386/32/sfp-machine.h: New.
14203
14204 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
14205
14206 * config/rs6000/t-ppccomm: Remove rules that conflict with
14207 auto-generated rules.
14208
14209 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14210
14211 * configure.ac: sinclude override.m4.
14212 * configure: Regenerate.
14213
14214 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
14215
14216 * configure: Regenerate.
14217
14218 2008-06-10 Joseph Myers <joseph@codesourcery.com>
14219
14220 * Makefile.in (DECNUMINC): Remove
14221 -I$(MULTIBUILDTOP)../../libdecnumber.
14222 * gstdint.h: New.
14223
14224 2008-06-07 Joseph Myers <joseph@codesourcery.com>
14225
14226 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
14227 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
14228 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
14229 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
14230 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
14231 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
14232 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
14233 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
14234 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
14235 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
14236 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
14237 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
14238 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
14239 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
14240
14241 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
14242
14243 * config.host (sh2[lbe]*-*-linux*): Allow target.
14244
14245 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
14246
14247 * config/rs6000/t-ppccomm: Add build rules for new files.
14248 (LIB2ADD_ST): New variable.
14249
14250 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
14251
14252 PR target/34210
14253 PR target/35508
14254 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
14255 * config/t-avr: New file. Build 16bit libgcc functions.
14256
14257 2008-03-02 Jakub Jelinek <jakub@redhat.com>
14258
14259 PR target/35401
14260 * config/t-slibgcc-darwin: Make install-leaf dependent on
14261 install-darwin-libgcc-stubs instead of install.
14262
14263 2008-01-25 Joseph Myers <joseph@codesourcery.com>
14264
14265 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
14266 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
14267 sh-*-rtemscoff*): Remove cases.
14268
14269 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
14270
14271 * Makefile.in (all): Use install-leaf rather than install.
14272 (install): Split most of the rule into...
14273 (install-leaf): ...this new one.
14274
14275 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
14276 Paolo Bonzini <bonzini@gnu.org>
14277
14278 PR target/30572
14279 * Makefile.in: Use @shlib_slibdir@ substitution to get
14280 correct install name on darwin.
14281 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
14282
14283 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
14284
14285 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
14286 cris-*-elf and cris-*-none.
14287 (crisv32-*-linux*): Similar, as cris-*-linux*.
14288
14289 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
14290
14291 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
14292
14293 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
14294
14295 PR regression/33926
14296 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
14297 * configure: Regenerated.
14298
14299 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
14300
14301 * Makefile.in (dfp-filenames): Replace decimal_globals,
14302 decimal_data, binarydecimal and convert_data with
14303 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
14304 and bid_convert_data, respectively.
14305
14306 2007-09-17 Chao-ying Fu <fu@mips.com>
14307 Nigel Stephens <nigel@mips.com>
14308
14309 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
14310 * Makefile.in (fixed_point): Define.
14311 Check if fixed_point is yes to build support functions.
14312 * configure.ac: Check for fixed_point support.
14313 * configure: Regenerated.
14314 * gen-fixed.sh: New file to generate lists of fixed-point labels,
14315 funcs, modes, from, to.
14316
14317 2007-09-11 Janis Johnson <janis187@us.ibm.com
14318
14319 * Makefile.in (dfp-filenames): Add bid128_noncomp.
14320
14321 2007-09-10 Janis Johnson <janis187@us.ibm.com>
14322
14323 * Makefile.in (dfp-filenames): Remove decUtility, add
14324 decDouble, decPacked, decQuad, decSingle.
14325
14326 2007-08-27 Hans Kester <hans.kester@ellips.nl>
14327
14328 * config.host : Add x86_64-elf target.
14329
14330 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
14331
14332 * configure.ac (set_have_cc_tls): Add a missing =.
14333 * configure: Regenerated.
14334
14335 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
14336
14337 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
14338 and x86_64-*-linux*.
14339
14340 * config/t-tls: New file.
14341
14342 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
14343
14344 * configure.ac: Include ../config/enable.m4 and
14345 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
14346 supports TLS and substitute set_have_cc_tls.
14347 * configure: Regenerated.
14348
14349 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
14350
14351 * Makefile.in: Use libbid for DFP when BID is enabled.
14352
14353 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
14354
14355 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
14356 extra_parts. Add config/i386/t-cygming to tmake_file.
14357 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
14358
14359 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
14360 Danny Smith <dannysmith@users.sourceforge.net>
14361
14362 PR target/29498
14363 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
14364 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
14365 * config/i386/t-crtfm: Compile crtfastmath.o with
14366 -minline-all-stringops.
14367
14368 2007-05-10 Richard Sandiford <richard@codesourcery.com>
14369
14370 * config.host (sparc-wrs-vxworks): New target.
14371
14372 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
14373
14374 * config.host: Recognize fido.
14375
14376 2007-04-04 Janis Johnson <janis187@us.ibm.com>
14377
14378 * configure: Check host, not target, for decimal float support.
14379
14380 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
14381
14382 * config/i386/t-crtpc: New file.
14383 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
14384 (x86_64-*-linux*): Ditto.
14385
14386 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
14387
14388 * config.host (x86_64-*-mingw*): New target.
14389
14390 2007-03-23 Michael Meissner <michael.meissner@amd.com>
14391 H.J. Lu <hongjiu.lu@intel.com>
14392
14393 * Makefile.in (enable_decimal_float): New.
14394 (DECNUMINC): Add
14395 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
14396 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
14397 (decbits-filenames): This.
14398 (decbits-objects): New.
14399 (libgcc-objects): Add $(decbits-objects).
14400
14401 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
14402 Substitute enable_decimal_float.
14403 * configure: Regenerated.
14404
14405 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
14406
14407 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
14408
14409 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
14410
14411 * Makefile.in (install-info): New dummy target.
14412
14413 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
14414
14415 * config.host (bfin*-linux-uclibc*): Set extra_parts.
14416
14417 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
14418
14419 * Makefile.in: Add install-html and install-pdf dummy
14420 targets.
14421
14422 2007-02-05 Roger Sayle <roger@eyesopen.com>
14423 Daniel Jacobowitz <dan@codesourcery.com>
14424
14425 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
14426 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
14427 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
14428
14429 2007-01-29 Janis Johnson <janis187@us.ibm.com>
14430
14431 * Makefile.in (dec-filenames): Add decExcept.
14432
14433 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
14434
14435 PR bootstrap/30469
14436 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
14437 -fprofile-use.
14438
14439 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
14440
14441 * configure.ac: Add --enable-version-specific-runtime-libs.
14442 Correct $slibdir default.
14443 * configure: Regenerated.
14444
14445 2007-01-23 Joseph Myers <joseph@codesourcery.com>
14446
14447 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
14448
14449 2007-01-21 Andrew Pinski <pinskia@gmail.com>
14450
14451 PR target/30519
14452 * config.host (alpha*-*-linux*): Set extra_parts.
14453
14454 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
14455
14456 * config/sh/t-linux: New.
14457 * config.host (sh*-*-linux*): Set tmake_file.
14458
14459 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
14460
14461 * Makefile.in (install): Handle multilibs.
14462
14463 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
14464
14465 * Makefile.in: Added .PHONY entry for documentation targets.
14466
14467 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
14468
14469 * Makefile.in: Add empty info, html, dvi, pdf targets.
14470
14471 2007-01-04 Mike Stump <mrs@apple.com>
14472
14473 * Makefile.in (MAKEINFO): Remove.
14474 (PERL): Likewise.
14475
14476 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
14477
14478 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
14479 * configure: Regenerate.
14480 * Makefile.in (host_subdir): Substitute it.
14481 (gcc_objdir): Use it.
14482
14483 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14484
14485 * config.host (ia64*-*-linux*): Set tmake_file.
14486
14487 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14488
14489 * Makefile.in (version): Define.
14490
14491 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14492 Paolo Bonzini <bonzini@gnu.org>
14493
14494 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
14495 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
14496 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
14497 config/sparc/t-crtfm, config/t-slibgcc-darwin,
14498 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
14499 shared-object.mk, siditi-object.mk, static-object.mk: New files.
14500 * configure: Generated.
14501 \f
14502 Copyright (C) 2007-2025 Free Software Foundation, Inc.
14503
14504 Copying and distribution of this file, with or without modification,
14505 are permitted in any medium without royalty provided the copyright
14506 notice and this notice are preserved.