Debian Codegraph @

libgcc/ChangeLog

raw
1 2026-06-12 Ramin Moussavi <[email protected]>
2
3 * config.host (microblaze*-linux*): Set md_unwind_header.
4 * config/microblaze/linux-unwind.h: New file.
5
6 2026-06-12 Release Manager
7
8 * GCC 15.3.0 released.
9
10 2025-08-18 Christophe Lyon <[email protected]>
11
12 Backported from master:
13 2025-08-08 Christophe Lyon <[email protected]>
14
15 PR libgcc/117600
16 * Makefile.in (WERROR): New.
17 * config/aarch64/t-aarch64: Handle WERROR.
18 * configure: Regenerate.
19 * configure.ac: Add support for --enable-werror.
20
21 2025-08-13 Richard Sandiford <[email protected]>
22
23 Backported from master:
24 2025-07-17 Richard Sandiford <[email protected]>
25 Yury Khrustalev <[email protected]>
26
27 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
28 If a signal was raised while there was an uncommitted lazy save,
29 commit the save as part of the unwind process.
30
31 2025-08-08 Release Manager
32
33 * GCC 15.2.0 released.
34
35 2025-07-22 Thomas Schwinge <[email protected]>
36
37 Backported from master:
38 2025-04-25 Thomas Schwinge <[email protected]>
39
40 PR target/119853
41 PR target/119854
42 * config/gcn/crt0.c (_fini_array): Call
43 '__GCC_offload___cxa_finalize'.
44 * config/nvptx/gbl-ctors.c (__static_do_global_dtors): Likewise.
45
46 2025-04-25 Release Manager
47
48 * GCC 15.1.0 released.
49
50 2025-04-14 Thomas Schwinge <[email protected]>
51
52 PR target/118794
53 * config/gcn/unwind-gcn.c (_Unwind_Resume): New.
54 * config/nvptx/unwind-nvptx.c (_Unwind_Resume): Likewise.
55
56 2025-04-14 Eric Botcazou <[email protected]>
57
58 PR target/119673
59 * config/i386/gthr-win32.h (__GTHREAD_ALWAYS_INLINE): New macro.
60 (__GTHREAD_INLINE): Likewise.
61 (__GTHR_W32_InterlockedCompareExchange): Delete.
62 (__gthread_active_p): Mark as __GTHREAD_INLINE instead of
63 static inline.
64 (__gthread_create): Likewise.
65 (__gthread_join): Likewise.
66 (__gthread_self): Likewise.
67 (__gthread_detach): Likewise.
68 (__gthread_equal): Likewise.
69 (__gthread_yield): Likewise.
70 (__gthread_once): Likewise.
71 (__gthread_key_create): Likewise.
72 (__gthread_key_delete): Likewise.
73 (__gthread_getspecific): Likewise.
74 (__gthread_setspecific): Likewise.
75 (__gthread_mutex_init_function): Likewise.
76 (__gthread_mutex_destroy): Likewise.
77 (__gthread_mutex_lock): Likewise.
78 (__gthread_mutex_trylock): Likewise.
79 (__gthread_mutex_timedlock): Likewise.
80 (__gthread_mutex_unlock): Likewise.
81 (__gthread_recursive_mutex_trylock): Likewise.
82 (__gthread_cond_init_function): Likewise.
83 (__gthread_cond_broadcast): Likewise.
84 (__gthread_cond_signal): Likewise.
85 (__gthread_cond_wait): Likewise.
86 (__gthread_cond_timedwait): Likewise.
87 (__GTHREAD_WIN32_INLINE): Likewise.
88 (__GTHREAD_WIN32_COND_INLINE): Likewise.
89 (__gthread_recursive_mutex_init_function): Likewise.
90 (__gthread_recursive_mutex_destroy): Likewise.
91 (__gthread_recursive_mutex_lock): Likewise.
92 (__gthread_recursive_mutex_unlock): Likewise.
93 (__gthread_cond_destroy): Likewise.
94 (__gthread_cond_wait_recursive): Likewise.
95
96 2025-04-08 Thomas Schwinge <[email protected]>
97
98 * config/gcn/unwind-gcn.c (_Unwind_RaiseException)
99 (_Unwind_Resume_or_Rethrow): New.
100 * config/nvptx/unwind-nvptx.c (_Unwind_RaiseException)
101 (_Unwind_Resume_or_Rethrow): Likewise.
102
103 2025-04-08 Thomas Schwinge <[email protected]>
104
105 * config/gcn/unwind-gcn.c (_Unwind_DeleteException): New.
106 * config/nvptx/unwind-nvptx.c (_Unwind_DeleteException): Likewise.
107
108 2025-04-07 Thomas Schwinge <[email protected]>
109
110 * config/nvptx/alloca.c: New.
111 * config/nvptx/t-nvptx (LIB2ADD): Add it.
112
113 2025-04-07 Georg-Johann Lay <[email protected]>
114
115 * config/avr/lib1funcs.S (__mulhisi3, __umulhisi3): Use
116 __mulhisi3_helper for better performance on AVRrc.
117
118 2025-04-06 Georg-Johann Lay <[email protected]>
119
120 * config/avr/t-avr (LIB1ASMFUNCS): Add (and remove from
121 FUNCS_notiny): _mulhisi3, _umulhisi3, _mulqq3, _mulhq3, _muluhq3,
122 _mulha3, _muluha3 _muluha3_round, _usmuluha3, _ssmulha3,
123 _divqq3, _udivuqq3, _divqq_helper, _divhq3, _udivuhq3.
124 _divha3 _udivuha3, _ssneg_2, _ssabs_1, _ssabs_2,
125 _mask1, _ret, _roundqq3 _rounduqq3,
126 _round_s2, _round_u2, _round_2_const, _addmask_2.
127 * config/avr/lib1funcs.S (__umulhisi3, __mulhisi3): Make
128 work on AVRrc.
129 * config/avr/lib1funcs-fixed.S: Build 8-bit and 16-bit functions
130 on AVRrc, too.
131
132 2025-04-05 Georg-Johann Lay <[email protected]>
133
134 * config/avr/lib1funcs.S (__umulhisi3) [Have MUL]: Reduce call
135 depth by 1.
136
137 2025-03-22 Georg-Johann Lay <[email protected]>
138
139 * config/avr/t-avr (LIB1ASMFUNCS, LIB2FUNCS_EXCLUDE):
140 Properly handle avrtiny.
141
142 2025-03-14 Thomas Schwinge <[email protected]>
143
144 Revert:
145 2023-12-23 Thomas Schwinge <[email protected]>
146
147 * c++-minimal/README: New.
148 * c++-minimal/guard.c: New.
149 * config/gcn/t-amdgcn (LIB2ADD): Add it.
150 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
151
152 2025-03-13 Wilco Dijkstra <[email protected]>
153
154 * config/aarch64/cpuinfo.c (__init_cpu_features_constructor):
155 Remove FEAT_PREDRES and FEAT_LS64* support.
156
157 2025-03-10 Jakub Jelinek <[email protected]>
158 Michael Leuchtenburg <[email protected]>
159
160 PR libgcc/119151
161 * unwind-dw2-btree.h (btree_split_inner): Add size argument. If
162 left_fence is in the middle of [target,target + size - 1] range,
163 increase it to target + size - 1.
164 (btree_insert): Adjust btree_split_inner caller. If fence is smaller
165 than base + size - 1, increase it and separator of the slot to
166 base + size - 1.
167
168 2025-03-10 Jakub Jelinek <[email protected]>
169
170 * unwind-dw2-btree.h: Formatting fixes.
171
172 2025-03-01 Jan Dubiec <[email protected]>
173
174 PR target/114222
175 * config/h8300/t-h8300: Add __ffshi2().
176 * config/h8300/ffshi2.c: New file.
177
178 2025-02-18 Roman Kagan <[email protected]>
179
180 * config/i386/linux-unwind.h: Remove preprocessor
181 condition to enable fallback path for all libc-s.
182
183 2025-02-17 Lulu Cheng <[email protected]>
184
185 PR target/118844
186 * config/loongarch/t-crtstuff: Add '-mcmodel=extreme'
187 to CRTSTUFF_T_CFLAGS_S.
188
189 2025-02-12 Yangyu Chen <[email protected]>
190
191 * config/riscv/feature_bits.c (RISCV_VENDOR_FEATURE_BITS_LENGTH): Drop.
192 (__init_riscv_features_bits_linux): Drop.
193
194 2025-02-08 Dimitry Andric <[email protected]>
195
196 PR target/118685
197 * config.host (*-*-freebsd*): Add crtbeginT.o to extra_parts.
198
199 2025-02-07 Peter Bergner <[email protected]>
200
201 PR target/117674
202 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Add cast to
203 avoid comparison between pointer and integer warning.
204
205 2025-01-30 Georg-Johann Lay <[email protected]>
206
207 * config/avr/t-avr (LIB1ASMFUNCS): Add _strlen_memx.
208 * config/avr/lib1funcs.S <L_strlen_memx, __strlen_memx>: Implement.
209
210 2025-01-28 Richard Earnshaw <[email protected]>
211
212 PR target/118642
213 * config/arm/sync-none.specs (link): Only add the defsym if
214 libgcc will be used.
215 * config/arm/sync-dmb.specs: Likewise.
216 * config/arm/sync-cp15dmb.specs: Likewise.
217
218 2025-01-17 Monk Chiang <[email protected]>
219
220 * config/riscv/crti.S: Add lpad instructions.
221 * config/riscv/crtn.S: Likewise.
222 * config/riscv/save-restore.S: Likewise.
223 * config/riscv/riscv-asm.h: Add GNU_PROPERTY for ZICFILP,
224 ZICFISS.
225 Co-Developed-by: Jesse Huang <[email protected]>
226
227 2025-01-17 Monk Chiang <[email protected]>
228
229 * config/riscv/linux-unwind.h: Include shadow-stack-unwind.h.
230 * config/riscv/shadow-stack-unwind.h
231 (_Unwind_Frames_Extra): Define.
232 (_Unwind_Frames_Increment): Define.
233
234 2025-01-07 Keith Packard <[email protected]>
235
236 * config/m68k/fpgnulib.c (extenddfxf2): Simplify code by removing code
237 that should never execute. Fix denorm shift test and insert hidden bit
238 as needed.
239 (__truncxfdf2): Properly compue and shift the significant right.
240 * config/m68k/lb1sf68.S (__fixxfsi): Correct shift counts and simplify.
241 (QUIET_NAN): Make it a positive quiet NaN and fix return values to inject
242 sign properly.
243
244 2025-01-06 Stafford Horne <[email protected]>
245
246 * config/or1k/lib1funcs.S: Add .note.GNU-stack section on linux.
247
248 2024-12-12 Georg-Johann Lay <[email protected]>
249
250 PR target/118001
251 * config/avr/t-avr (LIB1ASMFUNCS): Add _fload_1, _fload_2,
252 _fload_3, _fload_4, _movmemf.
253 * config/avr/lib1funcs.S (.branch_plus): New .macro.
254 (__xload_1, __xload_2, __xload_3, __xload_4): When the address is
255 located in flash, then forward to...
256 (__fload_1, __fload_2, __fload_3, __fload_4): ...these new
257 functions, respectively.
258 (__movmemx_hi): When the address is located in flash, forward to...
259 (__movmemf_hi): ...this new function.
260
261 2024-11-30 Jakub Jelinek <[email protected]>
262
263 PR libgomp/117851
264 * configure.ac (extra_parts): Add crtoffloadtableS.o.
265 * Makefile.in (crtoffloadtableS$(objext)): New goal.
266 * configure: Regenerated.
267
268 2024-11-29 Yury Khrustalev <[email protected]>
269
270 * config/aarch64/aarch64-unwind.h (_CHKFEAT_GCS): Add.
271
272 2024-11-29 Yury Khrustalev <[email protected]>
273
274 * config/aarch64/aarch64-unwind.h (_Unwind_Frames_Extra): Update.
275 (_Unwind_Frames_Increment): Update
276
277 2024-11-25 Sandra Loosemore <[email protected]>
278
279 * config/nios2/*: Delete entire directory.
280 * config.host: Remove refences to nios2.
281 * unwind-dw2-fde-dip.c: Likewise.
282
283 2024-11-19 Evgeny Karpov <[email protected]>
284
285 * config.host: Update.
286 * config/aarch64/t-mingw: New.
287
288 2024-11-18 Jeff Law <[email protected]>
289
290 PR target/117628
291 * config/arm/freebsd-atomic.c (bool): Remove unnecessary typedef.
292 * config/arm/linux-atomic-64bit.c: Likewise.
293 * config/arm/linux-atomic.c: Likewise.
294 * config/nds32/linux-atomic.c: Likewise.
295 * config/nios2/linux-atomic.c: Likewise.
296
297 2024-11-18 Jeff Law <[email protected]>
298
299 PR target/117628
300 * config/csky/linux-atomic.c (bool): Remove unnecessary typedef.
301 * unwind-arm-common.inc (bool): Similarly.
302
303 2024-11-17 John David Anglin <[email protected]>
304
305 PR target/117627
306 * config/pa/linux-atomic.c: Remove typedef for bool type.
307
308 2024-11-16 Jakub Jelinek <[email protected]>
309
310 PR libgcc/117624
311 * libgcc2.c (INFINITY): Add #undef before #define.
312
313 2024-11-14 Szabolcs Nagy <[email protected]>
314
315 * config/aarch64/aarch64-asm.h (FEATURE_1_GCS): Define.
316 (GCS_FLAG): Define if GCS is enabled.
317 (GNU_PROPERTY): Add GCS_FLAG.
318
319 2024-11-14 Szabolcs Nagy <[email protected]>
320
321 * config/aarch64/aarch64-unwind.h (_Unwind_Frames_Extra): Update.
322 (_Unwind_Frames_Increment): Define.
323
324 2024-10-25 Jakub Jelinek <[email protected]>
325
326 * crtstuff.c: Remove trailing whitespace.
327 * libgcov.h: Likewise.
328 * config/alpha/crtfastmath.c: Likewise.
329 * config/alpha/vms-gcc_shell_handler.c: Likewise.
330 * config/alpha/vms-unwind.h: Likewise.
331 * config/pa/linux-atomic.c: Likewise.
332 * config/pa/linux-unwind.h: Likewise.
333 * config/pa/quadlib.c: Likewise.
334 * config/pa/fptr.c: Likewise.
335 * config/s390/32/_fixsfdi.c: Likewise.
336 * config/s390/32/_fixunssfdi.c: Likewise.
337 * config/s390/32/_fixunsdfdi.c: Likewise.
338 * config/c6x/pr-support.c: Likewise.
339 * config/lm32/_udivsi3.c: Likewise.
340 * config/lm32/libgcc_lm32.h: Likewise.
341 * config/lm32/_udivmodsi4.c: Likewise.
342 * config/lm32/_mulsi3.c: Likewise.
343 * config/lm32/_modsi3.c: Likewise.
344 * config/lm32/_umodsi3.c: Likewise.
345 * config/lm32/_divsi3.c: Likewise.
346 * config/darwin-crt3.c: Likewise.
347 * config/msp430/mpy.c: Likewise.
348 * config/ia64/tf-signs.c: Likewise.
349 * config/ia64/fde-vms.c: Likewise.
350 * config/ia64/unwind-ia64.c: Likewise.
351 * config/ia64/vms-unwind.h: Likewise.
352 * config/ia64/sfp-exceptions.c: Likewise.
353 * config/ia64/quadlib.c: Likewise.
354 * config/ia64/unwind-ia64.h: Likewise.
355 * config/rl78/vregs.h: Likewise.
356 * config/arm/bpabi.c: Likewise.
357 * config/arm/unwind-arm.c: Likewise.
358 * config/arm/pr-support.c: Likewise.
359 * config/arm/linux-atomic.c: Likewise.
360 * config/arm/bpabi-lib.h: Likewise.
361 * config/frv/frvend.c: Likewise.
362 * config/frv/cmovw.c: Likewise.
363 * config/frv/frvbegin.c: Likewise.
364 * config/frv/cmovd.c: Likewise.
365 * config/frv/cmovh.c: Likewise.
366 * config/aarch64/cpuinfo.c: Likewise.
367 * config/i386/crtfastmath.c: Likewise.
368 * config/i386/cygming-crtend.c: Likewise.
369 * config/i386/32/tf-signs.c: Likewise.
370 * config/i386/crtprec.c: Likewise.
371 * config/i386/sfp-exceptions.c: Likewise.
372 * config/i386/w32-unwind.h: Likewise.
373 * config/m32r/initfini.c: Likewise.
374 * config/sparc/crtfastmath.c: Likewise.
375 * config/gcn/amdgcn_veclib.h: Likewise.
376 * config/nios2/linux-atomic.c: Likewise.
377 * config/nios2/linux-unwind.h: Likewise.
378 * config/nios2/lib2-mul.c: Likewise.
379 * config/nios2/lib2-nios2.h: Likewise.
380 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
381 * config/rs6000/darwin-fallback.c: Likewise.
382 * config/rs6000/ibm-ldouble.c: Likewise.
383 * config/rs6000/sfp-machine.h: Likewise.
384 * config/rs6000/darwin-asm.h: Likewise.
385 * config/rs6000/darwin-crt2.c: Likewise.
386 * config/rs6000/aix-unwind.h: Likewise.
387 * config/rs6000/sfp-exceptions.c: Likewise.
388 * config/gthr-vxworks.c: Likewise.
389 * config/riscv/atomic.c: Likewise.
390 * config/visium/memcpy.c: Likewise.
391 * config/darwin-crt-tm.c: Likewise.
392 * config/stormy16/lib2funcs.c: Likewise.
393 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
394 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
395 * config/arc/initfini.c: Likewise.
396 * config/sol2/gmon.c: Likewise.
397 * config/microblaze/divsi3_table.c: Likewise.
398 * config/m68k/fpgnulib.c: Likewise.
399 * libgcov-driver.c: Likewise.
400 * unwind-dw2.c: Likewise.
401 * fp-bit.c: Likewise.
402 * dfp-bit.h: Likewise.
403 * dfp-bit.c: Likewise.
404 * libgcov-driver-system.c: Likewise.
405
406 2024-10-24 David Malcolm <[email protected]>
407 Gaius Mulley <[email protected]>
408
409 PR other/116613
410 * libgcov-util.c: Add #define INCLUDE_MEMORY.
411
412 2024-10-17 Christophe Lyon <[email protected]>
413
414 * config/aarch64/t-aarch64: Always use -Werror
415 -Wno-prio-ctor-dtor.
416
417 2024-10-17 Christophe Lyon <[email protected]>
418
419 * config/aarch64/cpuinfo.c (__init_cpu_features_resolver): Add
420 prototype.
421 (__init_cpu_features): Likewise.
422
423 2024-10-17 Christophe Lyon <[email protected]>
424
425 * config/aarch64/lse.S: Undefine L() macro.
426
427 2024-10-14 Yangyu Chen <[email protected]>
428
429 * config/riscv/feature_bits.c (__init_riscv_features_bits_linux):
430 Add detailed comments on processing implied extensions.
431
432 2024-10-14 Kito Cheng <[email protected]>
433
434 * config/riscv/feature_bits.c: New.
435 * config/riscv/t-elf (LIB2ADD): Add feature_bits.c.
436
437 2024-10-10 Sébastien Michelland <[email protected]>
438
439 PR target/29845
440 * config.host (sh-*-elf*): Replace fdpbit with softfp.
441 * config/sh/sfp-machine.h: New file.
442
443 2024-10-04 Tsung Chun Lin <[email protected]>
444
445 * config/riscv/save-restore.S: Fix .cfi_offset for saving ra in
446 __riscv_save_[0-3] on ilp32e.
447
448 2024-10-01 Tsung Chun Lin <[email protected]>
449
450 * config/riscv/save-restore.S: Fix .cfi_offset for
451 __riscv_save_[0-3] on RV32.
452
453 2024-09-27 Matthieu Longo <[email protected]>
454
455 * config/aarch64/aarch64-unwind.h: Fix header path.
456
457 2024-09-27 Mark Mentovai <[email protected]>
458
459 PR target/116809
460 * config.host: Don't build legacy libgcc_s.1 on macOS 14.
461
462 2024-09-27 Jim Lin <[email protected]>
463
464 * config/riscv/save-restore.S: Check with __riscv_abi_rve rather than
465 __riscv_32e.
466
467 2024-09-26 Nathaniel Shead <[email protected]>
468
469 PR libstdc++/115126
470 * gthr-posix.h (__GTHREAD_ALWAYS_INLINE): New macro.
471 (__GTHREAD_INLINE): New macro.
472 (__gthread_active): Convert from variable to (hidden) function.
473 (__gthread_active_p): Mark as __GTHREAD_INLINE instead of
474 static; make visibility("hidden") when it has a static local
475 variable.
476 (__gthread_trigger): Mark as __GTHREAD_INLINE instead of static.
477 (__gthread_create): Likewise.
478 (__gthread_join): Likewise.
479 (__gthread_detach): Likewise.
480 (__gthread_equal): Likewise.
481 (__gthread_self): Likewise.
482 (__gthread_yield): Likewise.
483 (__gthread_once): Likewise.
484 (__gthread_key_create): Likewise.
485 (__gthread_key_delete): Likewise.
486 (__gthread_getspecific): Likewise.
487 (__gthread_setspecific): Likewise.
488 (__gthread_mutex_init_function): Likewise.
489 (__gthread_mutex_destroy): Likewise.
490 (__gthread_mutex_lock): Likewise.
491 (__gthread_mutex_trylock): Likewise.
492 (__gthread_mutex_timedlock): Likewise.
493 (__gthread_mutex_unlock): Likewise.
494 (__gthread_recursive_mutex_init_function): Likewise.
495 (__gthread_recursive_mutex_lock): Likewise.
496 (__gthread_recursive_mutex_trylock): Likewise.
497 (__gthread_recursive_mutex_timedlock): Likewise.
498 (__gthread_recursive_mutex_unlock): Likewise.
499 (__gthread_recursive_mutex_destroy): Likewise.
500 (__gthread_cond_init_function): Likewise.
501 (__gthread_cond_broadcast): Likewise.
502 (__gthread_cond_signal): Likewise.
503 (__gthread_cond_wait): Likewise.
504 (__gthread_cond_timedwait): Likewise.
505 (__gthread_cond_wait_recursive): Likewise.
506 (__gthread_cond_destroy): Likewise.
507 (__gthread_rwlock_rdlock): Likewise.
508 (__gthread_rwlock_tryrdlock): Likewise.
509 (__gthread_rwlock_wrlock): Likewise.
510 (__gthread_rwlock_trywrlock): Likewise.
511 (__gthread_rwlock_unlock): Likewise.
512 * gthr-single.h: (__GTHREAD_ALWAYS_INLINE): New macro.
513 (__GTHREAD_INLINE): New macro.
514 (__gthread_active_p): Mark as __GTHREAD_INLINE instead of static.
515 (__gthread_once): Likewise.
516 (__gthread_key_create): Likewise.
517 (__gthread_key_delete): Likewise.
518 (__gthread_getspecific): Likewise.
519 (__gthread_setspecific): Likewise.
520 (__gthread_mutex_destroy): Likewise.
521 (__gthread_mutex_lock): Likewise.
522 (__gthread_mutex_trylock): Likewise.
523 (__gthread_mutex_unlock): Likewise.
524 (__gthread_recursive_mutex_lock): Likewise.
525 (__gthread_recursive_mutex_trylock): Likewise.
526 (__gthread_recursive_mutex_unlock): Likewise.
527 (__gthread_recursive_mutex_destroy): Likewise.
528
529 2024-09-24 Iain Sandoe <[email protected]>
530
531 PR target/116809
532 * config.host: Build legacy libgcc_s.1 on hosts before macOS 15.
533 * config/i386/t-darwin: Remove reference to legacy libgcc_s.1
534 * config/rs6000/t-darwin: Likewise.
535 * config/t-darwin-libgccs1: New file.
536
537 2024-09-23 Matthieu Longo <[email protected]>
538
539 * config/aarch64/aarch64-asm.h (PACIASP): Replace SPARC CFI
540 directive by AArch64 one.
541 (AUTIASP): Same.
542
543 2024-09-23 Matthieu Longo <[email protected]>
544
545 * Makefile.in: New target for symbolic link to md-unwind-def.h
546 * config.host: New parameter md_unwind_def_header. Set it to
547 aarch64/aarch64-unwind-def.h for AArch64 targets, or no-unwind.h
548 by default.
549 * config/aarch64/aarch64-unwind.h
550 (aarch64_pointer_auth_key): Move to aarch64-unwind-def.h
551 (aarch64_cie_aug_handler): Update.
552 (aarch64_arch_extension_frame_init): Update.
553 (aarch64_demangle_return_addr): Update.
554 * configure.ac: New substitute variable md_unwind_def_header.
555 * unwind-dw2.h (defined): MD_ARCH_FRAME_STATE_T.
556 * config/aarch64/aarch64-unwind-def.h: New file.
557 * configure: Regenerate.
558 * config/no-unwind.h: Updated comment
559
560 2024-09-23 Matthieu Longo <[email protected]>
561
562 * config/aarch64/aarch64-unwind.h
563 (MD_FRAME_LOCAL_REGISTER_P): new handler checking whether a register
564 from the current context needs to be skipped before installation into
565 the target context.
566 (aarch64_frame_local_register): Likewise.
567 * unwind-dw2.c (uw_install_context_1): use MD_FRAME_LOCAL_REGISTER_P.
568
569 2024-09-23 Matthieu Longo <[email protected]>
570
571 * config/aarch64/aarch64-unwind.h
572 (AARCH64_DWARF_RA_STATE_MASK): The mask for RA state register.
573 (aarch64_ra_signing_method_t): The diversifiers used to sign a
574 function's return address.
575 (aarch64_pointer_auth_key): The key used to sign a function's
576 return address.
577 (aarch64_cie_signed_with_b_key): Deleted as the signing key is
578 available now in _Unwind_FrameState.
579 (MD_ARCH_EXTENSION_CIE_AUG_HANDLER): New CIE augmentation string
580 handler for architecture extensions.
581 (MD_ARCH_EXTENSION_FRAME_INIT): New architecture-extension
582 initialization routine for DWARF frame state and context before
583 execution of DWARF instructions.
584 (aarch64_context_ra_state_get): Read RA state register from CONTEXT.
585 (aarch64_ra_state_get): Read RA state register from FS.
586 (aarch64_ra_state_set): Write RA state register into FS.
587 (aarch64_ra_state_toggle): Toggle RA state register in FS.
588 (aarch64_cie_aug_handler): Handler AArch64 augmentation strings.
589 (aarch64_arch_extension_frame_init): Initialize defaults for the
590 signing key (PAUTH_KEY_A), and RA state register (RA_no_signing).
591 (aarch64_demangle_return_addr): Rely on the frame registers and
592 the signing_key attribute in _Unwind_FrameState.
593 * unwind-dw2-execute_cfa.h:
594 Use the right alias DW_CFA_AARCH64_negate_ra_state for __aarch64__
595 instead of DW_CFA_GNU_window_save.
596 (DW_CFA_AARCH64_negate_ra_state): Save the signing method in RA
597 state register. Toggle RA state register without resetting 'how'
598 to REG_UNSAVED.
599 * unwind-dw2.c:
600 (extract_cie_info): Save the signing key in the current
601 _Unwind_FrameState while parsing the augmentation data.
602 (uw_frame_state_for): Reset some attributes related to architecture
603 extensions in _Unwind_FrameState.
604 (uw_update_context): Move authentication code to AArch64 unwinding.
605 * unwind-dw2.h (enum register_rule): Give a name to the existing
606 enum for the register rules, and replace 'unsigned char' by 'enum
607 register_rule' to facilitate debugging in GDB.
608 (_Unwind_FrameState): Add a new architecture-extension attribute
609 to store the signing key.
610
611 2024-09-22 Iain Sandoe <[email protected]>
612
613 * config.host: From macOS 11, limit earliest macOS support
614 to macOS 11.
615 * config/t-darwin-min-11: New file.
616
617 2024-08-27 YunQiang Su <[email protected]>
618
619 * config/mips/lib1funcs.S: Includes mips16.S.
620
621 2024-06-10 Jan Beulich <[email protected]>
622
623 * config/aarch64/cpuinfo.c: Provide AT_HWCAP2.
624
625 2024-06-06 Andre Vieira <[email protected]>
626
627 PR target/115360
628 * config/arm/cmse_nonsecure_call.S: Add .type and .size directives.
629
630 2024-06-06 Thomas Schwinge <[email protected]>
631 Andrew Stubbs <[email protected]>
632
633 * config/nvptx/t-nvptx: Add unwind-nvptx.c.
634 * config/nvptx/unwind-nvptx.c: New file.
635
636 2024-06-06 Thomas Schwinge <[email protected]>
637
638 * config/nvptx/gbl-ctors.c ["mgomp"]
639 (__do_global_ctors__entry__mgomp)
640 (__do_global_dtors__entry__mgomp): New.
641 [!"mgomp"] (__do_global_ctors__entry, __do_global_dtors__entry):
642 New.
643
644 2024-06-05 Wilco Dijkstra <[email protected]>
645
646 PR target/115342
647 * config/aarch64/cpuinfo.c (__init_cpu_features_constructor):
648 Use HWCAP where possible. Use atomic write for initialization.
649 Fix FEAT_PREDRES comparison.
650 (__init_cpu_features_resolver): Use atomic load for correct
651 initialization.
652 (__init_cpu_features): Likewise.
653
654 2024-05-31 Thomas Schwinge <[email protected]>
655
656 * config/nvptx/crt0.c (__gbl_ctors): New weak function.
657 (__main): Invoke it.
658 * config/nvptx/gbl-ctors.c: New.
659 * config/nvptx/t-nvptx: Configure global constructor, destructor
660 support.
661
662 2024-05-21 Kewen Lin <[email protected]>
663
664 * config.host: Remove powerpc-*-eabispe* support.
665 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Remove
666 __SPE__ code.
667 * config/rs6000/t-savresfgpr (LIB2ADD_ST): Remove e500crtres32gpr.S,
668 e500crtres32gpr.S, e500crtsav64gpr.S, e500crtsav64gprctr.S,
669 e500crtres64gpr.S, e500crtsav32gpr.S, e500crtsavg32gpr.S,
670 e500crtres64gprctr.S, e500crtsavg64gprctr.S, e500crtresx32gpr.S,
671 e500crtrest32gpr.S, e500crtrest64gpr.S and e500crtresx64gpr.S.
672 * config/rs6000/e500crtres32gpr.S: Remove.
673 * config/rs6000/e500crtres64gpr.S: Remove.
674 * config/rs6000/e500crtres64gprctr.S: Remove.
675 * config/rs6000/e500crtrest32gpr.S: Remove.
676 * config/rs6000/e500crtrest64gpr.S: Remove.
677 * config/rs6000/e500crtresx32gpr.S: Remove.
678 * config/rs6000/e500crtresx64gpr.S: Remove.
679 * config/rs6000/e500crtsav32gpr.S: Remove.
680 * config/rs6000/e500crtsav64gpr.S: Remove.
681 * config/rs6000/e500crtsav64gprctr.S: Remove.
682 * config/rs6000/e500crtsavg32gpr.S: Remove.
683 * config/rs6000/e500crtsavg64gpr.S: Remove.
684 * config/rs6000/e500crtsavg64gprctr.S: Remove.
685
686 2024-05-18 Wolfgang Hospital <[email protected]>
687
688 PR target/115065
689 * config/avr/lib1funcs.S (__clzhi2): Tweak.
690
691 2024-05-10 Georg-Johann Lay <[email protected]>
692
693 PR target/114981
694 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _powisf2.
695 (LIB1ASMFUNCS) [!avrtiny]: Add _powif.
696 * config/avr/lib1funcs.S (mov4): New .macro.
697 (L_powif, __powisf2) [!avrtiny]: New module and function.
698
699 2024-05-07 Zac Walker <[email protected]>
700
701 * config.host: Add aarch64-w64-mingw32 target. Adjust targets
702 after moving MinGW files.
703 * config/i386/t-gthr-win32: Move to...
704 * config/mingw/t-gthr-win32: ...here.
705 * config/i386/t-mingw-pthread: Move to...
706 * config/mingw/t-mingw-pthread: ...here.
707 * config/aarch64/t-no-eh: New file. EH is not yet implemented for
708 the target, and the default definition should be disabled.
709
710 2024-05-07 Wolfgang Hospital <[email protected]>
711
712 PR target/114835
713 * config/avr/lib1funcs.S (__popcountqi2): Use code that
714 is one instruction shorter / faster.
715
716 2024-05-07 Rainer Orth <[email protected]>
717
718 * configure.ac <*-*-solaris2*> (libgcc_cv_solaris_crts): Remove.
719 * config.host <*-*-solaris2*>: Remove !libgcc_cv_solaris_crts
720 support.
721 * configure, config.in: Regenerate.
722 * config/sol2/gmon.c (internal_mcount) [!HAVE_SOLARIS_CRTS]: Remove.
723 * config/i386/sol2-c1.S, config/sparc/sol2-c1.S: Remove.
724 * config/sol2/t-sol2 (crt1.o, gcrt1.o): Remove.
725
726 2024-05-06 Xiao Zeng <[email protected]>
727 Jin Ma <[email protected]>
728
729 * config/riscv/sfp-machine.h (_FP_NANFRAC_B): New.
730 (_FP_NANSIGN_B): Ditto.
731 * config/riscv/t-softfp32: Add support for BF16 libfuncs.
732 * config/riscv/t-softfp64: Ditto.
733 * soft-fp/floatsibf.c: For si -> bf16.
734 * soft-fp/floatunsibf.c: For unsi -> bf16.
735
736 2024-05-03 Peter Damianov <[email protected]>
737
738 * libgcov-util.c (tag_counters): Swap order of arguments to xcalloc.
739 (topen_to_memory_representation): Likewise.
740
741 2024-04-30 Jakub Jelinek <[email protected]>
742
743 * gthr.h (GTHREAD_USE_WEAK): Don't redefine to 0 for glibc 2.34+
744 on GNU Hurd.
745
746 2024-04-25 Jakub Jelinek <[email protected]>
747
748 * gthr.h (GTHREAD_USE_WEAK): Redefine to 0 for GLIBC 2.34 or later.
749
750 2024-04-21 Georg-Johann Lay <[email protected]>
751
752 PR target/114794
753 * config/avr/lib1funcs.S (__udivmodqi4): Tweak.
754
755 2024-04-19 Jakub Jelinek <[email protected]>
756
757 PR libgcc/114762
758 * libgcc2.c (__divmodbitint4): Perform the decrement on negative
759 v with most significant limb all ones and the second least
760 significant limb with most significant bit clear always, regardless of
761 un < vn.
762
763 2024-04-18 Jakub Jelinek <[email protected]>
764
765 PR libgcc/114755
766 * libgcc2.c (__divmodbitint4): Perform the decrement on negative
767 v with most significant limb all ones and the second least
768 significant limb with most significant bit clear always, regardless of
769 un < vn.
770
771 2024-04-15 Jakub Jelinek <[email protected]>
772
773 PR libgcc/114689
774 * config/m68k/fpgnulib.c (__truncdfsf2): Add parentheses around
775 !!sticky bitwise or operand to quiet up cppcheck. Add parentheses
776 around mant >> 1 bitwise or operand.
777
778 2024-04-10 Andre Vieira <[email protected]>
779
780 * config/aarch64/t-softfp (softfp_extras): Add floatbitinthf,
781 floatbitintbf, floatbitinttf and fixtfbitint.
782 * config/aarch64/libgcc-softfp.ver (GCC_14.0.0): Add __floatbitinthf,
783 __floatbitintbf, __floatbitinttf and __fixtfbitint.
784
785 2024-04-09 Sergey Bugaev <[email protected]>
786
787 * config.host: Recognize aarch64*-*-gnu* hosts.
788 * config/aarch64/gnu-unwind.h: New file.
789 * config/aarch64/heap-trampoline.c
790 (allocate_trampoline_page): Support GNU/Hurd.
791
792 2024-04-04 Jørgen Kvalsvik <[email protected]>
793
794 * libgcov-merge.c (__gcov_merge_ior): New.
795
796 2024-04-03 Wilco Dijkstra <[email protected]>
797
798 * config/aarch64/cpuinfo.c: Add HWCAP_EVTSTRM, HWCAP_CRC32, HWCAP_CPUID,
799 HWCAP_PACA and HWCAP_PACG.
800
801 2024-04-02 Jakub Jelinek <[email protected]>
802
803 * unwind-dw2-fde.c (struct fde_accumulator): Fix duplicated
804 words in comment; is is -> is.
805
806 2024-03-25 Max Filippov <[email protected]>
807
808 * unwind-arm-common.inc (__gnu_personality_sigframe_fdpic): Cast
809 last argument of _Unwind_VRS_Set to void *.
810
811 2024-03-22 Thomas Neumann <[email protected]>
812
813 PR libgcc/111731
814 * unwind-dw2-fde.c: Split unwind ranges if they contain the
815 unwind table.
816
817 2024-03-21 Jakub Jelinek <[email protected]>
818
819 PR libgcc/114397
820 * libgcc2.c (__divmodbitint4): Don't assume un < vn always means
821 abs(v) > abs(u), check for a special case of un + 1 == vn where
822 u is non-negative and v negative and after v's negation vn could
823 be reduced by 1.
824
825 2024-03-20 Flavio Cruz <[email protected]>
826
827 * config/i386/gnu-unwind.h: Support unwinding x86_64 signal frames.
828
829 2024-03-15 Jakub Jelinek <[email protected]>
830
831 PR libgcc/114327
832 * libgcc2.c (bitint_negate): Return UWtype bitwise or of all the limbs
833 before negation rather than void.
834 (__divmodbitint4): Determine whether to fill in the upper limbs after
835 negation based on whether bitint_negate returned 0 or non-zero, rather
836 then always filling with -1.
837
838 2024-02-22 Kewen Lin <[email protected]>
839
840 PR target/109987
841 * config/rs6000/t-float128-hw: Replace options -mpower{8,9}-vector
842 with -mcpu=power9.
843 * configure.ac: Update use of option -mpower9-vector with
844 -mcpu=power9.
845 * configure: Regenerate.
846
847 2024-02-21 Iain Sandoe <[email protected]>
848
849 * config/aarch64/heap-trampoline.c
850 (aarch64_trampoline_insns): Arrange to encode instructions as a
851 byte array so that the order is independent of memory byte order.
852 (struct aarch64_trampoline): Likewise.
853
854 2024-02-20 Iain Sandoe <[email protected]>
855
856 PR target/113971
857 * config/aarch64/heap-trampoline.c: Allow all linux variants.
858
859 2024-02-16 Matteo Italia <[email protected]>
860
861 PR libgcc/113850
862 * config/i386/gthr-win32-cond.c (__gthr_win32_abs_to_rel_time):
863 fix absolute timespec to relative milliseconds count
864 conversion (it incorrectly returned seconds instead of
865 milliseconds); this avoids spurious wakeups in
866 __gthr_win32_cond_timedwait
867
868 2024-02-14 Jakub Jelinek <[email protected]>
869 H.J. Lu <[email protected]>
870
871 PR target/113855
872 * config/i386/heap-trampoline.c (trampoline_insns): Add IBT
873 support and pad to the multiple of 4 bytes. Use movabsq
874 instead of movabs in comments. Add -mx32 variant.
875
876 2024-02-13 Jakub Jelinek <[email protected]>
877
878 * soft-fp/bitint.h (FP_FROM_BITINT): If iprec < 0 and msb is all ones,
879 just set n to 1 instead of using __builtin_clzll (~msb).
880
881 2024-02-12 Iain Sandoe <[email protected]>
882
883 PR target/113855
884 * config.host: Add trampoline support to x?86-linux.
885 * config/i386/heap-trampoline.c (trampoline_insns): Provide
886 a variant for IA32.
887 (union ix86_trampoline): Likewise.
888 (__gcc_nested_func_ptr_created): Implement a basic trampoline
889 for IA32.
890
891 2024-02-10 Jakub Jelinek <[email protected]>
892
893 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Or in all remainder
894 limbs into inexact rather than just first two.
895 * soft-fp/floatbitintsd.c (__bid_floatbitintsd): Likewise.
896 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
897
898 2024-02-10 Jakub Jelinek <[email protected]>
899
900 * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up
901 BIL_TYPE_SIZE == 32 shifts.
902 * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise.
903 * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise.
904 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise.
905 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
906
907 2024-02-09 Iain Sandoe <[email protected]>
908
909 * config/i386/libgcc-darwin.ver: Export bf and bitint-related
910 synbols.
911
912 2024-02-06 Rainer Orth <[email protected]>
913
914 PR target/113700
915 * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
916 i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
917 * config/i386/libgcc-glibc.ver: Request notifications on updates.
918
919 2024-02-06 Matteo Italia <[email protected]>
920
921 PR libgcc/113337
922 * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
923 _Unwind_RaiseException return code back to caller instead of
924 calling abort, allowing __cxa_rethrow to invoke std::terminate
925 in case of uncaught rethrown exception
926
927 2024-02-02 Jakub Jelinek <[email protected]>
928
929 PR libgcc/113604
930 * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
931 vv1 from uv1:uv0 once or twice as needed, rather than
932 subtracting vv1:vv1.
933
934 2024-02-02 Khem Raj <[email protected]>
935
936 * config/i386/enable-execute-stack-mingw32.c: Include
937 stdlib.h for abort() definition.
938
939 2024-02-02 Jakub Jelinek <[email protected]>
940
941 PR target/113700
942 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
943 from symbol names.
944
945 2024-02-01 Jakub Jelinek <[email protected]>
946
947 PR libgcc/113402
948 * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
949 argument from void ** to void *.
950 * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
951 Change type of dst from void ** to void * and cast dst to void **
952 before dereferencing it.
953 * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
954 Likewise.
955
956 2024-02-01 Jakub Jelinek <[email protected]>
957
958 PR libgcc/113403
959 * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
960 i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
961
962 2024-02-01 Szabolcs Nagy <[email protected]>
963
964 * config/aarch64/crti.S: Remove stack marking.
965 * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
966 * config/aarch64/lse.S: Remove stack and GNU property markings.
967
968 2024-01-30 Iain Sandoe <[email protected]>
969
970 PR libgcc/113403
971 * config.host: Build libheap_t.a for i686/x86_64 Darwin.
972 * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
973 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
974 (__gcc_nested_func_ptr_created): Likewise.
975 * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
976 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
977 (__gcc_nested_func_ptr_created): Likewise.
978 * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
979 support).
980
981 2024-01-30 Iain Sandoe <[email protected]>
982
983 PR libgcc/113403
984 * config/aarch64/t-heap-trampoline: Move the heap trampoline
985 support functions from libgcc.a to libgcc_eh.a.
986 * config/i386/t-heap-trampoline: Likewise.
987
988 2024-01-28 Iain Sandoe <[email protected]>
989 Jakub Jelinek <[email protected]>
990
991 PR libgcc/113402
992 * config/aarch64/heap-trampoline.c: Rename
993 __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
994 __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
995 * config/i386/heap-trampoline.c: Likewise.
996 * libgcc2.h: Likewise.
997 * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
998 __gcc_nested_func_ptr_created and
999 __gcc_nested_func_ptr_deleted from this symbol version to ...
1000 (GCC_14.0.0): ... this one.
1001
1002 2024-01-26 Andrew Stubbs <[email protected]>
1003
1004 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
1005
1006 2024-01-23 Zac Walker <[email protected]>
1007
1008 * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
1009 (ENTRY_ALIGN, GNU_PROPERTY): New macros.
1010 * config/aarch64/__arm_sme_state.S: Use them.
1011 * config/aarch64/__arm_tpidr2_save.S: Likewise.
1012 * config/aarch64/__arm_za_disable.S: Likewise.
1013 * config/aarch64/crti.S: Likewise.
1014 * config/aarch64/lse.S: Likewise.
1015
1016 2024-01-12 Jakub Jelinek <[email protected]>
1017
1018 * libgcc2.h (UBILtype): New typedef with may_alias attribute.
1019 (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
1020 UWtype * and const UBILtype * instead of const UWtype *.
1021 * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
1022 __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
1023 Likewise.
1024 * soft-fp/bitint.h (UBILtype): Change define into a typedef with
1025 may_alias attribute.
1026
1027 2024-01-12 Sandra Loosemore <[email protected]>
1028
1029 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
1030 _dl_find_object on nios2; it doesn't work.
1031
1032 2023-12-23 Thomas Schwinge <[email protected]>
1033
1034 * c++-minimal/README: New.
1035 * c++-minimal/guard.c: New.
1036 * config/gcn/t-amdgcn (LIB2ADD): Add it.
1037 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
1038
1039 2023-12-20 Alexandre Oliva <[email protected]>
1040
1041 PR middle-end/112917
1042 * config.host (sparc, sparc64): Enable...
1043 * config/sparc/t-sparc: ... this new fragment.
1044
1045 2023-12-20 Alexandre Oliva <[email protected]>
1046
1047 * strub.c (ATTRIBUTE_NOINLINE): New.
1048 (ATTRIBUTE_STRUB_CALLABLE): Add it.
1049 (__strub_dummy_force_no_leaf): Drop it.
1050
1051 2023-12-16 Andrew Carlotti <[email protected]>
1052
1053 * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
1054 copy in gcc/common
1055
1056 2023-12-16 Andrew Carlotti <[email protected]>
1057 Pavel Iliin <[email protected]>
1058
1059 * config/aarch64/t-aarch64: Include cpuinfo.c
1060 * config/aarch64/cpuinfo.c: New file
1061 (__init_cpu_features_constructor) New.
1062 (__init_cpu_features_resolver) New.
1063 (__init_cpu_features) New.
1064
1065 2023-12-11 Lipeng Zhu <[email protected]>
1066
1067 * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
1068 (__gthrw): New function.
1069 (__gthread_rwlock_rdlock): New function.
1070 (__gthread_rwlock_tryrdlock): New function.
1071 (__gthread_rwlock_wrlock): New function.
1072 (__gthread_rwlock_trywrlock): New function.
1073 (__gthread_rwlock_unlock): New function.
1074
1075 2023-12-08 Florian Weimer <[email protected]>
1076
1077 * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
1078 of fork.
1079
1080 2023-12-08 Szabolcs Nagy <[email protected]>
1081
1082 * config.in: Regenerate.
1083
1084 2023-12-08 Szabolcs Nagy <[email protected]>
1085
1086 * config/aarch64/__arm_za_disable.S: Add hidden alias.
1087 * config/aarch64/aarch64-unwind.h: Reset the SME state before
1088 EH return via the _Unwind_Frames_Extra hook.
1089
1090 2023-12-08 Szabolcs Nagy <[email protected]>
1091
1092 * config/aarch64/t-aarch64: Add sources to the build.
1093 * config/aarch64/__aarch64_have_sme.c: New file.
1094 * config/aarch64/__arm_sme_state.S: New file.
1095 * config/aarch64/__arm_tpidr2_restore.S: New file.
1096 * config/aarch64/__arm_tpidr2_save.S: New file.
1097 * config/aarch64/__arm_za_disable.S: New file.
1098 * config/aarch64/aarch64-asm.h: New file.
1099 * config/aarch64/libgcc-sme.ver: New file.
1100
1101 2023-12-08 Szabolcs Nagy <[email protected]>
1102
1103 * config.in: Undef HAVE___GETAUXVAL.
1104 * configure: Regenerate.
1105 * configure.ac: Check for __getauxval.
1106
1107 2023-12-08 Szabolcs Nagy <[email protected]>
1108
1109 * config.in: Undef HAVE_AS_VARIANT_PCS.
1110 * configure: Regenerate.
1111 * configure.ac: Check for .variant_pcs.
1112
1113 2023-12-07 Alexandre Oliva <[email protected]>
1114
1115 * configure.ac: Check for strub support.
1116 * configure: Rebuilt.
1117 * Makefile.in: Compile strub.c conditionally.
1118
1119 2023-12-06 Thomas Schwinge <[email protected]>
1120 Jakub Jelinek <[email protected]>
1121
1122 PR libgcc/109289
1123 * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
1124 pragma.
1125
1126 2023-12-06 Alexandre Oliva <[email protected]>
1127
1128 * Makefile.in (LIB2ADD): Add strub.c.
1129 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
1130 Declare.
1131 * strub.c: New.
1132 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
1133 (__strub_update, __strub_leave): Likewise.
1134
1135 2023-12-03 Jeff Law <[email protected]>
1136
1137 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
1138
1139 2023-12-03 Jeff Law <[email protected]>
1140
1141 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
1142 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
1143 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
1144
1145 2023-12-03 Jeff Law <[email protected]>
1146
1147 * config/frv/frvbegin.c (atexit): Add prototype.
1148
1149 2023-12-01 Alexandre Oliva <[email protected]>
1150
1151 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
1152
1153 2023-12-01 Sebastian Huber <[email protected]>
1154
1155 PR target/112777
1156 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
1157 always defined as either 0 or 1.
1158
1159 2023-12-01 Florian Weimer <[email protected]>
1160
1161 * config/aarch64/linux-unwind.h
1162 (aarch64_fallback_frame_state): Add cast to the expected type
1163 in sc assignment.
1164
1165 2023-11-30 Wilco Dijkstra <[email protected]>
1166
1167 PR target/111404
1168 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
1169 either new value or loaded value.
1170
1171 2023-11-27 Richard Earnshaw <[email protected]>
1172
1173 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
1174
1175 2023-11-24 Richard Earnshaw <[email protected]>
1176
1177 * config.host (arm*-*-eabi* | arm*-*-rtems*):
1178 Add arm/t-sync to the makefile rules.
1179 * config/arm/lib1funcs.S (__sync_synchronize_none)
1180 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
1181 (__sync_synchronize): New functions.
1182 * config/arm/t-sync: New file.
1183 * config/arm/sync-none.specs: Likewise.
1184 * config/arm/sync-dmb.specs: Likewise.
1185 * config/arm/sync-cp15dmb.specs: Likewise.
1186
1187 2023-11-23 Jose E. Marchesi <[email protected]>
1188
1189 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
1190
1191 2023-11-21 Jakub Jelinek <[email protected]>
1192
1193 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
1194
1195 2023-11-18 Sebastian Huber <[email protected]>
1196
1197 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
1198 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
1199
1200 2023-11-18 Sebastian Huber <[email protected]>
1201
1202 Revert:
1203 2023-11-18 Sebastian Huber <[email protected]>
1204
1205 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1206 (gcov_type_unsigned): Likewise.
1207
1208 2023-11-10 Keith Packard <[email protected]>
1209
1210 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
1211 (__divdf3): Restore sign bit properly.
1212 (__addsf3): Correct exponent check.
1213 * config/m68k/fpgnulib.c (EXPMASK): Define.
1214 (__extendsfdf2): Handle Inf and NaN properly.
1215 (__truncdfsf2): Handle underflow and overflow correctly.
1216 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
1217 (__truncxfdf2): Handle underflow and denorms correctly.
1218 (__fixxfsi): Reimplement.
1219
1220 2023-11-09 Jakub Jelinek <[email protected]>
1221
1222 PR libgcc/65833
1223 * config/t-softfp (softfp_bid_list): Add
1224 {U,}TItype <-> _Decimal{32,64,128} conversions.
1225 * soft-fp/floattisd.c: New file.
1226 * soft-fp/floattidd.c: New file.
1227 * soft-fp/floattitd.c: New file.
1228 * soft-fp/floatuntisd.c: New file.
1229 * soft-fp/floatuntidd.c: New file.
1230 * soft-fp/floatuntitd.c: New file.
1231 * soft-fp/fixsdti.c: New file.
1232 * soft-fp/fixddti.c: New file.
1233 * soft-fp/fixtdti.c: New file.
1234 * soft-fp/fixunssdti.c: New file.
1235 * soft-fp/fixunsddti.c: New file.
1236 * soft-fp/fixunstdti.c: New file.
1237
1238 2023-11-07 Kwok Cheung Yeung <[email protected]>
1239
1240 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
1241 (__offload_ind_func_table): New.
1242 (__offload_ind_funcs_end): New.
1243 (__OFFLOAD_TABLE__): Add entries for indirect functions.
1244
1245 2023-11-03 Thomas Schwinge <[email protected]>
1246
1247 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
1248
1249 2023-10-31 Alexandre Oliva <[email protected]>
1250
1251 * hardcfr.c: Adjust copyright year.
1252
1253 2023-10-24 Sergei Trofimovich <[email protected]>
1254
1255 * config/aarch64/heap-trampoline.c: Disable when libc is not
1256 present.
1257 * config/i386/heap-trampoline.c: Ditto.
1258
1259 2023-10-22 Iain Sandoe <[email protected]>
1260
1261 * config/t-slibgcc-darwin: Generate libgcc_s
1262 with an @rpath name.
1263 * config.host: Handle Darwin rpaths.
1264 * config/t-darwin-rpath: New file.
1265
1266 2023-10-22 Andrew Burgess <[email protected]>
1267 Maxim Blinov <[email protected]>
1268 Iain Sandoe <[email protected]>
1269 Francois-Xavier Coudert <[email protected]>
1270
1271 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
1272 (__builtin_nested_func_ptr_deleted): Declare.
1273 * libgcc-std.ver.in: Add the new symbols.
1274 * config/aarch64/heap-trampoline.c: Implement heap-based
1275 trampolines for aarch64.
1276 * config/aarch64/t-heap-trampoline: Add rule to build
1277 config/aarch64/heap-trampoline.c
1278 * config/i386/heap-trampoline.c: Implement heap-based
1279 trampolines for x86_64.
1280 * config/i386/t-heap-trampoline: Add rule to build
1281 config/i386/heap-trampoline.cc
1282 * config.host: Handle --enable-heap-trampolines on
1283 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
1284
1285 2023-10-20 Andrew Stubbs <[email protected]>
1286
1287 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
1288
1289 2023-10-20 Alexandre Oliva <[email protected]>
1290
1291 * Makefile.in (LIB2ADD): Add hardcfr.c.
1292 * hardcfr.c: New.
1293
1294 2023-10-13 Florian Weimer <[email protected]>
1295
1296 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
1297 missing cast.
1298
1299 2023-10-13 Florian Weimer <[email protected]>
1300
1301 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
1302 missing cast.
1303
1304 2023-10-13 Florian Weimer <[email protected]>
1305
1306 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
1307 missing cast.
1308
1309 2023-10-13 Florian Weimer <[email protected]>
1310
1311 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
1312 missing cast.
1313
1314 2023-10-13 Florian Weimer <[email protected]>
1315
1316 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
1317
1318 2023-09-26 Wilco Dijkstra <[email protected]>
1319
1320 * config/aarch64/lse.S (BTI_C): Remove define.
1321
1322 2023-09-20 Pekka Seppänen <[email protected]>
1323
1324 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
1325 Use const unsigned type and a builtin.
1326
1327 2023-09-06 Jakub Jelinek <[email protected]>
1328
1329 PR c/102989
1330 * libgcc2.c (bitint_negate): Add function comment.
1331 * soft-fp/bitint.h (bitint_negate): Add function comment.
1332 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
1333
1334 2023-09-06 Jakub Jelinek <[email protected]>
1335
1336 PR c/102989
1337 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
1338 * config/i386/64/t-softfp (softfp_extras): Likewise.
1339 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
1340 routines.
1341 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
1342 bf, hf and xf mode floatbitint.
1343 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
1344 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
1345 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
1346 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
1347 * config/t-softfp (softfp_floatbitint_funcs): New.
1348 (softfp_bid_list): New.
1349 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
1350 (softfp_bid_file_list): New.
1351 (LIB2ADD_ST): Add $(softfp_bid_file_list).
1352 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
1353 floatbitinttf.
1354 * config/t-softfp-tf (softfp_extras): Likewise.
1355 * libgcc2.c (bitint_reduce_prec): New inline function.
1356 (BITINT_INC, BITINT_END): Define.
1357 (bitint_mul_1, bitint_addmul_1): New helper functions.
1358 (__mulbitint3): New function.
1359 (bitint_negate, bitint_submul_1): New helper functions.
1360 (__divmodbitint4): New function.
1361 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
1362 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
1363 (__mulbitint3, __divmodbitint4): Declare.
1364 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
1365 * Makefile.in (lib2funcs): Add _mulbitint3.
1366 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
1367 * soft-fp/bitint.h: New file.
1368 * soft-fp/fixdfbitint.c: New file.
1369 * soft-fp/fixsfbitint.c: New file.
1370 * soft-fp/fixtfbitint.c: New file.
1371 * soft-fp/fixxfbitint.c: New file.
1372 * soft-fp/floatbitintbf.c: New file.
1373 * soft-fp/floatbitintdf.c: New file.
1374 * soft-fp/floatbitinthf.c: New file.
1375 * soft-fp/floatbitintsf.c: New file.
1376 * soft-fp/floatbitinttf.c: New file.
1377 * soft-fp/floatbitintxf.c: New file.
1378 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
1379 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
1380 * soft-fp/bitintpow10.c: New file.
1381 * soft-fp/fixsdbitint.c: New file.
1382 * soft-fp/fixddbitint.c: New file.
1383 * soft-fp/fixtdbitint.c: New file.
1384 * soft-fp/floatbitintsd.c: New file.
1385 * soft-fp/floatbitintdd.c: New file.
1386 * soft-fp/floatbitinttd.c: New file.
1387
1388 2023-09-06 Jakub Jelinek <[email protected]>
1389
1390 PR c/102989
1391 * soft-fp/bitintpow10.h: New file.
1392
1393 2023-09-05 Yang Yujie <[email protected]>
1394
1395 * config.host: add loongarch*-elf target.
1396
1397 2023-08-11 Thomas Neumann <[email protected]>
1398
1399 PR libgcc/110956
1400 * unwind-dw2-fde.c: Associate object with address of unwinding
1401 table.
1402
1403 2023-08-07 John Ericson <[email protected]>
1404
1405 * configure: Regenerate.
1406
1407 2023-08-07 Alan Modra <[email protected]>
1408
1409 * configure: Regenerate.
1410
1411 2023-07-23 Andrew Pinski <[email protected]>
1412
1413 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
1414 (riscv*-*-freebsd*): Likewise.
1415 * config/riscv/t-crtstuff: New file.
1416
1417 2023-07-19 liuhongt <[email protected]>
1418
1419 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
1420 files.
1421
1422 2023-07-11 Florian Weimer <[email protected]>
1423
1424 PR libgcc/110179
1425 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
1426 implicit conversion of pointer value to integer.
1427
1428 2023-07-06 Kito Cheng <[email protected]>
1429
1430 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
1431 (FP_HANDLE_EXCEPTIONS): Ditto.
1432
1433 2023-06-19 Andrew Stubbs <[email protected]>
1434
1435 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
1436 * config/gcn/lib2-divmod.c: Likewise.
1437 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
1438 new vector libfuncs.
1439 * config/gcn/t-amdgcn: Add new files.
1440 * config/gcn/amdgcn_veclib.h: New file.
1441 * config/gcn/lib2-vec_divmod-di.c: New file.
1442 * config/gcn/lib2-vec_divmod-hi.c: New file.
1443 * config/gcn/lib2-vec_divmod-qi.c: New file.
1444 * config/gcn/lib2-vec_divmod.c: New file.
1445
1446 2023-06-19 Andrew Stubbs <[email protected]>
1447
1448 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
1449 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
1450 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
1451 * config/gcn/lib2-divmod-hi.c: Removed.
1452
1453 2023-06-07 Florian Weimer <[email protected]>
1454
1455 PR libgcc/109712
1456 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
1457 parsing eh_frame.
1458
1459 2023-06-05 Kewen Lin <[email protected]>
1460
1461 * config/i386/morestack.S: Use @init_array rather than
1462 @progbits for section type of section .init_array.
1463 * config/rs6000/morestack.S: Likewise.
1464 * config/s390/morestack.S: Likewise.
1465
1466 2023-06-05 YunQiang Su <[email protected]>
1467
1468 * config/mips/lib1funcs.S: New file.
1469 define __speculation_barrier and include mips16.S.
1470 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
1471 define LIB1ASMFUNCS as _speculation_barrier.
1472 set version info for __speculation_barrier.
1473 * config/mips/libgcc-mips.ver: New file.
1474 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
1475 included in lib1funcs.S now.
1476
1477 2023-06-03 Thomas Neumann <[email protected]>
1478
1479 PR libgcc/109670
1480 * unwind-dw2-fde.c: Fix radix sort buffer management.
1481
1482 2023-06-03 Thomas Neumann <[email protected]>
1483
1484 PR libgcc/109685
1485 * unwind-dw2-fde.c: Free sort array in atomic fast path.
1486
1487 2023-05-19 Iain Sandoe <[email protected]>
1488
1489 * config.host: Arrange to set min Darwin OS versions from
1490 the configured host version.
1491 * config/darwin10-unwind-find-enc-func.c: Do not use current
1492 headers, but declare the nexessary structures locally to the
1493 versions in use for Mac OSX 10.6.
1494 * config/t-darwin: Amend to handle configured min OS
1495 versions.
1496 * config/t-darwin-min-1: New.
1497 * config/t-darwin-min-5: New.
1498 * config/t-darwin-min-8: New.
1499
1500 2023-05-15 Thomas Neumann <[email protected]>
1501
1502 * unwind-dw2-fde.c: Fix assert in non-atomic path.
1503
1504 2023-05-15 Sören Tempel <[email protected]>
1505
1506 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
1507
1508 2023-05-02 Patrick O'Neill <[email protected]>
1509
1510 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
1511 sequentially consistent LR.aqrl/SC.rl pairs.
1512
1513 2023-05-01 Dimitar Dimitrov <[email protected]>
1514
1515 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
1516 -DTARGET_HAS_NO_HW_DIVIDE.
1517
1518 2023-04-27 Hans-Peter Nilsson <[email protected]>
1519
1520 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
1521 -DTARGET_HAS_NO_HW_DIVIDE.
1522
1523 2023-04-26 Patrick O'Neill <[email protected]>
1524
1525 PR target/104338
1526 * config/riscv/atomic.c: Add reference to duplicate logic.
1527
1528 2023-04-08 Tetsuma Hoshino <[email protected]>
1529
1530 PR target/109402
1531 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
1532 stack manipulations.
1533
1534 2023-04-05 John David Anglin <[email protected]>
1535
1536 PR target/109374
1537 * config/pa/milli64.S (RETURN_COLUMN): Define.
1538 ($$divI): Add CFI directives.
1539 ($$divU): Likewise.
1540 ($$remI): Likewise.
1541 ($$remU): Likewise.
1542
1543 2023-03-19 Stafford Horne <[email protected]>
1544
1545 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1546 statement clearing existing exceptions.
1547
1548 2023-03-13 Max Filippov <[email protected]>
1549
1550 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
1551 * config/xtensa/crtn.S: Likewise.
1552 * config/xtensa/lib1funcs.S: Likewise.
1553 * config/xtensa/lib2funcs.S: Likewise.
1554
1555 2023-03-12 Jakub Jelinek <[email protected]>
1556
1557 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
1558 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
1559 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
1560 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
1561 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
1562 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
1563 * soft-fp/floatundibf.c: New file.
1564 * soft-fp/floatdibf.c: New file.
1565
1566 2023-03-10 Jakub Jelinek <[email protected]>
1567
1568 PR target/107703
1569 * soft-fp/floattibf.c: New file.
1570 * soft-fp/floatuntibf.c: New file.
1571 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
1572 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
1573 floatuntibf.
1574 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
1575
1576 2023-03-08 Kewen Lin <[email protected]>
1577
1578 PR libgcc/108727
1579 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
1580 bump size.
1581
1582 2023-03-06 Michael Meissner <[email protected]>
1583
1584 PR target/107299
1585 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
1586 whether long double is IBM or IEEE.
1587 (INFINITY): Likewise.
1588 (FABS): Likewise.
1589 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
1590 (INFINITY): Likewise.
1591 * config/rs6000/quad-float128.h (TF): Remove definition.
1592 (TFtype): Define to be long double or _Float128.
1593 (TCtype): Define to be _Complex long double or _Complex _Float128.
1594 * libgcc2.h (TFtype): Allow machine config files to override this.
1595 (TCtype): Likewise.
1596 * soft-fp/quad.h (TFtype): Likewise.
1597
1598 2023-02-13 Kito Cheng <[email protected]>
1599
1600 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
1601 * config/riscv/value-unwind.h: New.
1602
1603 2023-02-03 Christophe Lyon <[email protected]>
1604
1605 * config/arm/pr-support.c (__gnu_unwind_execute): Use
1606 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
1607
1608 2023-01-30 Flavio Cruz <[email protected]>
1609
1610 * config.host: Recognize x86_64-*-gnu* targets.
1611 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
1612 TODO for now.
1613
1614 2023-01-23 Srinath Parvathaneni <[email protected]>
1615
1616 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
1617 "0xb5".
1618
1619 2023-01-23 Andrea Corallo <[email protected]>
1620 Tejas Belagod <[email protected]>
1621 Srinath Parvathaneni <[email protected]>
1622
1623 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
1624 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
1625 with AUTG if found.
1626 * config/arm/unwind-arm.c (struct pseudo_regs): New.
1627 (phase1_vrs): Introduce new field to store pseudo-reg state.
1628 (phase2_vrs): Likewise.
1629 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
1630 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
1631 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
1632
1633 2023-01-18 Wilco Dijkstra <[email protected]>
1634
1635 PR target/107678
1636 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
1637 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
1638 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
1639 encode the return address signing state.
1640 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
1641 Check current return address signing state.
1642 (aarch64_frob_update_contex): Remove.
1643
1644 2023-01-13 John David Anglin <[email protected]>
1645
1646 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
1647 pa/t-pa64-linux.
1648 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
1649 instead of pa/t-hpux and pa/t-pa64.
1650 * config/pa/linux-atomic.c: Define u32 type.
1651 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
1652 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
1653 defines to use atomic_load calls for type.
1654 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
1655 * config/pa/sync-libfuncs.c: New file.
1656 * config/pa/t-netbsd (LIB2ADD_ST): Define.
1657 * config/pa/t-openbsd (LIB2ADD_ST): Define.
1658 * config/pa/t-pa64-hpux: New file.
1659 * config/pa/t-pa64-linux: New file.
1660
1661 2023-01-13 Jonathan Wakely <[email protected]>
1662
1663 PR libstdc++/108331
1664 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
1665 struct matching the previous __gthread_mutex_t struct.
1666 (__GTHREAD_LEGACY_MUTEX_T): Define.
1667
1668 2023-01-13 Seija Kijin <[email protected]>
1669
1670 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
1671 unified syntax.
1672
1673 2023-01-07 LIU Hao <[email protected]>
1674
1675 PR middle-end/108300
1676 * config/i386/enable-execute-stack-mingw32.c: Define
1677 `WIN32_LEAN_AND_MEAN` before <windows.h>.
1678 * libgcc2.c: Likewise.
1679 * unwind-generic.h: Likewise.
1680
1681 2023-01-03 Florian Weimer <[email protected]>
1682
1683 * unwind-dw2-execute_cfa.h: New file. Extracted from
1684 the execute_cfa_program function in unwind-dw2.c.
1685 * unwind-dw2.c (execute_cfa_program_generic): New function.
1686 (execute_cfa_program_specialized): Likewise.
1687 (execute_cfa_program): Call execute_cfa_program_specialized
1688 or execute_cfa_program_generic, as appropriate.
1689
1690 2023-01-03 Florian Weimer <[email protected]>
1691
1692 Revert:
1693 2023-01-03 Florian Weimer <[email protected]>
1694
1695 * unwind-dw2.c (dwarf_reg_size): New function.
1696 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1697 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1698 (uw_init_context_1): Do not initialize dwarf_reg_size_table
1699 if not in use.
1700
1701 2023-01-03 Florian Weimer <[email protected]>
1702
1703 Revert:
1704 2023-01-03 Florian Weimer <[email protected]>
1705
1706 * unwind-dw2-execute_cfa.h: New file. Extracted from
1707 the execute_cfa_program function in unwind-dw2.c.
1708 * unwind-dw2.c (execute_cfa_program_generic): New function.
1709 (execute_cfa_program_specialized): Likewise.
1710 (execute_cfa_program): Call execute_cfa_program_specialized
1711 or execute_cfa_program_generic, as appropriate.
1712
1713 2023-01-02 Florian Weimer <[email protected]>
1714
1715 * unwind-dw2-execute_cfa.h: New file. Extracted from
1716 the execute_cfa_program function in unwind-dw2.c.
1717 * unwind-dw2.c (execute_cfa_program_generic): New function.
1718 (execute_cfa_program_specialized): Likewise.
1719 (execute_cfa_program): Call execute_cfa_program_specialized
1720 or execute_cfa_program_generic, as appropriate.
1721
1722 2023-01-02 Florian Weimer <[email protected]>
1723
1724 * unwind-dw2.c (dwarf_reg_size): New function.
1725 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1726 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1727 (uw_init_context_1): Do not initialize dwarf_reg_size_table
1728 if not in use.
1729
1730 2022-12-25 Jonathan Yong <[email protected]>
1731
1732 * config/i386/gthr-win32.h: undef CC_NONE
1733
1734 2022-12-24 Iain Sandoe <[email protected]>
1735
1736 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
1737 install of libgcc_s.1.dylib when the installation is into the build
1738 gcc directory.
1739
1740 2022-12-23 Eric Botcazou <[email protected]>
1741
1742 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
1743 as well as new i386/t-slibgcc-mingw fragment.
1744 (x86_64-*-mingw*): Likewise.
1745 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
1746 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
1747 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
1748 Include stdlib.h instead of errno.h and do not include _mingw.h.
1749 (CONST_CAST2): Add specific definition for C++.
1750 (ATTRIBUTE_UNUSED): New macro.
1751 (__UNUSED_PARAM): Delete.
1752 Define WIN32_LEAN_AND_MEAN before including windows.h.
1753 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
1754 (__gthread_objc_init_thread_system): Likewise.
1755 (__gthread_objc_thread_get_data): Minor tweak.
1756 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
1757 (__gthread_objc_condition_deallocate): Likewise.
1758 (__gthread_objc_condition_wait): Likewise.
1759 (__gthread_objc_condition_broadcast): Likewise.
1760 (__gthread_objc_condition_signal): Likewise.
1761 Include sys/time.h.
1762 (__gthr_win32_DWORD): New typedef.
1763 (__gthr_win32_HANDLE): Likewise.
1764 (__gthr_win32_CRITICAL_SECTION): Likewise.
1765 (__gthr_win32_CONDITION_VARIABLE): Likewise.
1766 (__gthread_t): Adjust.
1767 (__gthread_key_t): Likewise.
1768 (__gthread_mutex_t): Likewise.
1769 (__gthread_recursive_mutex_t): Likewise.
1770 (__gthread_cond_t): New typedef.
1771 (__gthread_time_t): Likewise.
1772 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
1773 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
1774 (__GTHREAD_COND_INIT_FUNCTION): Define.
1775 (__GTHREAD_TIME_INIT): Likewise.
1776 (__gthr_i486_lock_cmp_xchg): Delete.
1777 (__gthr_win32_create): Declare.
1778 (__gthr_win32_join): Likewise.
1779 (__gthr_win32_self): Likewise.
1780 (__gthr_win32_detach): Likewise.
1781 (__gthr_win32_equal): Likewise.
1782 (__gthr_win32_yield): Likewise.
1783 (__gthr_win32_mutex_destroy): Likewise.
1784 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1785 (__gthr_win32_cond_broadcast): Likewise.
1786 (__gthr_win32_cond_signal): Likewise.
1787 (__gthr_win32_cond_wait): Likewise.
1788 (__gthr_win32_cond_timedwait): Likewise.
1789 (__gthr_win32_recursive_mutex_init_function): Delete.
1790 (__gthr_win32_recursive_mutex_lock): Likewise.
1791 (__gthr_win32_recursive_mutex_unlock): Likewise.
1792 (__gthr_win32_recursive_mutex_destroy): Likewise.
1793 (__gthread_create): New inline function.
1794 (__gthread_join): Likewise.
1795 (__gthread_self): Likewise.
1796 (__gthread_detach): Likewise.
1797 (__gthread_equal): Likewise.
1798 (__gthread_yield): Likewise.
1799 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1800 (__gthread_cond_broadcast): Likewise.
1801 (__gthread_cond_signal): Likewise.
1802 (__gthread_cond_wait): Likewise.
1803 (__gthread_cond_timedwait): Likewise.
1804 (__GTHREAD_WIN32_INLINE): New macro.
1805 (__GTHREAD_WIN32_COND_INLINE): Likewise.
1806 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
1807 Define WIN32_LEAN_AND_MEAN before including windows.h.
1808 (__gthread_once): Minor tweaks.
1809 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
1810 (__gthread_key_delete): Minor tweak.
1811 (__gthread_getspecific): Likewise.
1812 (__gthread_setspecific): Likewise.
1813 (__gthread_mutex_init_function): Reimplement.
1814 (__gthread_mutex_destroy): Likewise.
1815 (__gthread_mutex_lock): Likewise.
1816 (__gthread_mutex_trylock): Likewise.
1817 (__gthread_mutex_unlock): Likewise.
1818 (__gthr_win32_abs_to_rel_time): Declare.
1819 (__gthread_recursive_mutex_init_function): Reimplement.
1820 (__gthread_recursive_mutex_destroy): Likewise.
1821 (__gthread_recursive_mutex_lock): Likewise.
1822 (__gthread_recursive_mutex_trylock): Likewise.
1823 (__gthread_recursive_mutex_unlock): Likewise.
1824 (__gthread_cond_destroy): New inline function.
1825 (__gthread_cond_wait_recursive): Likewise.
1826 * config/i386/gthr-win32.c: Delete everything.
1827 Include gthr-win32.h to get the out-of-line version of inline routines.
1828 Add compile-time checks for the local version of the Win32 types.
1829 * config/i386/gthr-win32-cond.c: New file.
1830 * config/i386/gthr-win32-thread.c: Likewise.
1831 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
1832 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
1833 the static version of libgcc.
1834 * config/i386/t-slibgcc-mingw: New file.
1835 * config/i386/libgcc-mingw.ver: Likewise.
1836
1837 2022-12-16 Thomas Neumann <[email protected]>
1838
1839 * unwind-dw2-fde.c: Initialize fde object lazily when
1840 the first exception tries to pass through.
1841
1842 2022-12-16 Thomas Neumann <[email protected]>
1843
1844 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
1845
1846 2022-12-08 Max Filippov <[email protected]>
1847
1848 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
1849 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
1850 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
1851 (XSHAL_ABI): Remove stray symbols from macro definitions.
1852
1853 2022-12-07 Max Filippov <[email protected]>
1854
1855 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
1856 xtensa-config-builtin.h.
1857 * config/xtensa/crtn.S: Likewise.
1858 * config/xtensa/lib1funcs.S: Likewise.
1859 * config/xtensa/lib2funcs.S: Likewise.
1860 * config/xtensa/xtensa-config-builtin.h: New File.
1861
1862 2022-11-04 Florian Weimer <[email protected]>
1863
1864 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
1865 values actually used by BFD ld.
1866
1867 2022-10-23 LIU Hao <[email protected]>
1868
1869 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
1870 libobjc, instead of 'gthr.h'
1871
1872 2022-10-19 LIU Hao <[email protected]>
1873
1874 * config.host: Add new cases for `mcf` thread model
1875 * config/i386/gthr-mcf.h: New file
1876 * config/i386/t-mingw-mcfgthread: New file
1877 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
1878 * configure: Regenerate
1879
1880 2022-10-18 Jonathan Wakely <[email protected]>
1881
1882 * Makefile.in: Quote variable.
1883
1884 2022-10-17 H.J. Lu <[email protected]>
1885
1886 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
1887 argument.
1888 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
1889 _Unwind_Frames_Increment.
1890 (_Unwind_ForcedUnwind_Phase2): Likewise.
1891 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1892 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
1893 return address on normal stack doesn't match the return address
1894 on shadow stack.
1895
1896 2022-10-17 Florian Weimer <[email protected]>
1897
1898 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
1899 and reduce its size.
1900
1901 2022-10-14 Jakub Jelinek <[email protected]>
1902
1903 * config/i386/t-softfp (softfp_extensions): Add bfsf.
1904 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
1905 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
1906 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
1907 -msse2.
1908 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
1909 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
1910 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
1911 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
1912 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
1913 * soft-fp/brain.h: New file.
1914 * soft-fp/truncsfbf2.c: New file.
1915 * soft-fp/truncdfbf2.c: New file.
1916 * soft-fp/truncxfbf2.c: New file.
1917 * soft-fp/trunctfbf2.c: New file.
1918 * soft-fp/trunchfbf2.c: New file.
1919 * soft-fp/truncbfhf2.c: New file.
1920 * soft-fp/extendbfsf2.c: New file.
1921
1922 2022-10-12 Martin Liska <[email protected]>
1923
1924 * libgcov-driver.c: Use new function.
1925 * libgcov.h (gcov_write_summary): Rename to ...
1926 (gcov_write_object_summary): ... this.
1927
1928 2022-10-11 Olivier Hainque <[email protected]>
1929
1930 * config.host (*vxworks*): When enable_shared, add
1931 libgcc and crtstuff "shared" fragments for rtp except
1932 large code model.
1933 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
1934 the list of fragments.
1935
1936 2022-10-06 Jakub Jelinek <[email protected]>
1937
1938 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1939 fs->regs.how[X] instead of fs->regs.reg[X].how.
1940
1941 2022-10-06 Jakub Jelinek <[email protected]>
1942
1943 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
1944 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
1945 REG_UNDEFINED): New anonymous enum, moved from inside of
1946 struct frame_state_reg_info.
1947 (struct frame_state_reg_info): Remove reg[].how element and the
1948 anonymous enum there. Add how element.
1949 * unwind-dw2.c: Include stddef.h.
1950 (uw_frame_state_for): Don't clear first
1951 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
1952 (execute_cfa_program, __frame_state_for, uw_update_context_1,
1953 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
1954 or fs.regs.how[X] instead of fs.regs.reg[X].how.
1955 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
1956 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1957 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1958 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
1959 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
1960 Likewise.
1961 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
1962 Likewise.
1963 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
1964 * config/arc/linux-unwind.h (arc_fallback_frame_state,
1965 arc_frob_update_context): Likewise.
1966 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
1967 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
1968 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
1969 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
1970 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
1971 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
1972 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1973 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
1974 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
1975 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
1976 x86_fallback_frame_state): Likewise.
1977 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
1978 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1979 x86_fallback_frame_state): Likewise.
1980 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
1981 Likewise.
1982 * config/i386/dragonfly-unwind.h
1983 (x86_64_dragonfly_fallback_frame_state): Likewise.
1984 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
1985 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
1986 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
1987 Likewise.
1988 * config/aarch64/freebsd-unwind.h
1989 (aarch64_freebsd_fallback_frame_state): Likewise.
1990 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1991 Likewise.
1992 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
1993 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1994 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
1995 Likewise.
1996 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
1997 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1998 Likewise.
1999 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
2000 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
2001 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
2002 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
2003
2004 2022-10-02 Olivier Hainque <[email protected]>
2005
2006 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
2007 -I options for gcc/include and gcc/include-fixed at the end
2008 and make them -isystem.
2009
2010 2022-10-02 Olivier Hainque <[email protected]>
2011
2012 * config/gthr-vxworks.h: Prevent Wpragma warning for the
2013 pragma diagnostics on Wstrict-prototypes.
2014
2015 2022-09-29 Olivier Hainque <[email protected]>
2016
2017 * config/vxcrtstuff.c: Improve the comment attached to the use
2018 of auto-host.h and of __dso_handle. Remove redundant guard on
2019 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
2020
2021 2022-09-26 Thomas Neumann <[email protected]>
2022
2023 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
2024 for the non-fast-path case. Drop destructor priority.
2025
2026 2022-09-22 Thomas Neumann <[email protected]>
2027
2028 * unwind-dw2-fde.c: (release_register_frames) Remember
2029 when the btree has been destroyed.
2030 (__deregister_frame_info_bases) Disable the assert when
2031 shutting down.
2032
2033 2022-09-18 Thomas Neumann <[email protected]>
2034
2035 * unwind-dw2-fde.c: Replace uintptr_t with typedef
2036 for __UINTPTR_TYPE__.
2037 * unwind-dw2-btree.h: Likewise.
2038
2039 2022-09-16 Thomas Neumann <[email protected]>
2040
2041 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
2042 (__register_frame_info_table_bases): Use btree in atomic fast path.
2043 (__deregister_frame_info_bases): Likewise.
2044 (_Unwind_Find_FDE): Likewise.
2045 (base_from_object): Make parameter const.
2046 (classify_object_over_fdes): Add query-only mode.
2047 (get_pc_range): Compute PC range for lookup.
2048 * unwind-dw2-fde.h (last_fde): Make parameter const.
2049 * unwind-dw2-btree.h: New file.
2050
2051 2022-08-31 Martin Liska <[email protected]>
2052
2053 * config.host: Remove hppa.
2054
2055 2022-08-30 Martin Liska <[email protected]>
2056
2057 * config.host: Remove the port.
2058
2059 2022-08-26 Martin Liska <[email protected]>
2060
2061 * config.host: Remove cr16 related stuff.
2062 * config/cr16/crti.S: Removed.
2063 * config/cr16/crtlibid.S: Removed.
2064 * config/cr16/crtn.S: Removed.
2065 * config/cr16/divmodhi3.c: Removed.
2066 * config/cr16/lib1funcs.S: Removed.
2067 * config/cr16/t-cr16: Removed.
2068 * config/cr16/t-crtlibid: Removed.
2069 * config/cr16/unwind-cr16.c: Removed.
2070 * config/cr16/unwind-dw2.h: Removed.
2071
2072 2022-08-16 Kito Cheng <[email protected]>
2073
2074 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
2075 (_FP_NANFRAC_H): Ditto.
2076 (_FP_NANSIGN_H): Ditto.
2077 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
2078 routines.
2079 (softfp_truncations): Ditto.
2080 (softfp_extras): Ditto.
2081 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
2082
2083 2022-08-16 Kito Cheng <[email protected]>
2084
2085 * soft-fp/fixhfdi.c: New.
2086 * soft-fp/fixhfsi.c: Likewise.
2087 * soft-fp/fixunshfdi.c: Likewise.
2088 * soft-fp/fixunshfsi.c: Likewise.
2089 * soft-fp/floatdihf.c: Likewise.
2090 * soft-fp/floatsihf.c: Likewise.
2091 * soft-fp/floatundihf.c: Likewise.
2092 * soft-fp/floatunsihf.c: Likewise.
2093 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
2094 lines and update URL for license.
2095 * soft-fp/addsf3.c: Likewise.
2096 * soft-fp/addtf3.c: Likewise.
2097 * soft-fp/divdf3.c: Likewise.
2098 * soft-fp/divsf3.c: Likewise.
2099 * soft-fp/divtf3.c: Likewise.
2100 * soft-fp/double.h: Likewise.
2101 * soft-fp/eqdf2.c: Likewise.
2102 * soft-fp/eqhf2.c: Likewise.
2103 * soft-fp/eqsf2.c: Likewise.
2104 * soft-fp/eqtf2.c: Likewise.
2105 * soft-fp/extenddftf2.c: Likewise.
2106 * soft-fp/extended.h: Likewise.
2107 * soft-fp/extendhfdf2.c: Likewise.
2108 * soft-fp/extendhfsf2.c: Likewise.
2109 * soft-fp/extendhftf2.c: Likewise.
2110 * soft-fp/extendhfxf2.c: Likewise.
2111 * soft-fp/extendsfdf2.c: Likewise.
2112 * soft-fp/extendsftf2.c: Likewise.
2113 * soft-fp/extendxftf2.c: Likewise.
2114 * soft-fp/fixdfdi.c: Likewise.
2115 * soft-fp/fixdfsi.c: Likewise.
2116 * soft-fp/fixdfti.c: Likewise.
2117 * soft-fp/fixhfti.c: Likewise.
2118 * soft-fp/fixsfdi.c: Likewise.
2119 * soft-fp/fixsfsi.c: Likewise.
2120 * soft-fp/fixsfti.c: Likewise.
2121 * soft-fp/fixtfdi.c: Likewise.
2122 * soft-fp/fixtfsi.c: Likewise.
2123 * soft-fp/fixtfti.c: Likewise.
2124 * soft-fp/fixunsdfdi.c: Likewise.
2125 * soft-fp/fixunsdfsi.c: Likewise.
2126 * soft-fp/fixunsdfti.c: Likewise.
2127 * soft-fp/fixunshfti.c: Likewise.
2128 * soft-fp/fixunssfdi.c: Likewise.
2129 * soft-fp/fixunssfsi.c: Likewise.
2130 * soft-fp/fixunssfti.c: Likewise.
2131 * soft-fp/fixunstfdi.c: Likewise.
2132 * soft-fp/fixunstfsi.c: Likewise.
2133 * soft-fp/fixunstfti.c: Likewise.
2134 * soft-fp/floatdidf.c: Likewise.
2135 * soft-fp/floatdisf.c: Likewise.
2136 * soft-fp/floatditf.c: Likewise.
2137 * soft-fp/floatsidf.c: Likewise.
2138 * soft-fp/floatsisf.c: Likewise.
2139 * soft-fp/floatsitf.c: Likewise.
2140 * soft-fp/floattidf.c: Likewise.
2141 * soft-fp/floattihf.c: Likewise.
2142 * soft-fp/floattisf.c: Likewise.
2143 * soft-fp/floattitf.c: Likewise.
2144 * soft-fp/floatundidf.c: Likewise.
2145 * soft-fp/floatundisf.c: Likewise.
2146 * soft-fp/floatunditf.c: Likewise.
2147 * soft-fp/floatunsidf.c: Likewise.
2148 * soft-fp/floatunsisf.c: Likewise.
2149 * soft-fp/floatunsitf.c: Likewise.
2150 * soft-fp/floatuntidf.c: Likewise.
2151 * soft-fp/floatuntihf.c: Likewise.
2152 * soft-fp/floatuntisf.c: Likewise.
2153 * soft-fp/floatuntitf.c: Likewise.
2154 * soft-fp/gedf2.c: Likewise.
2155 * soft-fp/gesf2.c: Likewise.
2156 * soft-fp/getf2.c: Likewise.
2157 * soft-fp/half.h: Likewise.
2158 * soft-fp/ledf2.c: Likewise.
2159 * soft-fp/lesf2.c: Likewise.
2160 * soft-fp/letf2.c: Likewise.
2161 * soft-fp/muldf3.c: Likewise.
2162 * soft-fp/mulsf3.c: Likewise.
2163 * soft-fp/multf3.c: Likewise.
2164 * soft-fp/negdf2.c: Likewise.
2165 * soft-fp/negsf2.c: Likewise.
2166 * soft-fp/negtf2.c: Likewise.
2167 * soft-fp/op-1.h: Likewise.
2168 * soft-fp/op-2.h: Likewise.
2169 * soft-fp/op-4.h: Likewise.
2170 * soft-fp/op-8.h: Likewise.
2171 * soft-fp/op-common.h: Likewise.
2172 * soft-fp/quad.h: Likewise.
2173 * soft-fp/single.h: Likewise.
2174 * soft-fp/soft-fp.h: Likewise.
2175 * soft-fp/subdf3.c: Likewise.
2176 * soft-fp/subsf3.c: Likewise.
2177 * soft-fp/subtf3.c: Likewise.
2178 * soft-fp/truncdfhf2.c: Likewise.
2179 * soft-fp/truncdfsf2.c: Likewise.
2180 * soft-fp/truncsfhf2.c: Likewise.
2181 * soft-fp/trunctfdf2.c: Likewise.
2182 * soft-fp/trunctfhf2.c: Likewise.
2183 * soft-fp/trunctfsf2.c: Likewise.
2184 * soft-fp/trunctfxf2.c: Likewise.
2185 * soft-fp/truncxfhf2.c: Likewise.
2186 * soft-fp/unorddf2.c: Likewise.
2187 * soft-fp/unordsf2.c: Likewise.
2188 * soft-fp/unordtf2.c: Likewise.
2189
2190 2022-07-18 Claudiu Zissulescu <[email protected]>
2191
2192 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
2193 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
2194 configurations.
2195
2196 2022-06-25 Jeff Law <[email protected]>
2197
2198 * config.host: Removed tilegx and tilepro entries.
2199 * config/tilegx/sfp-machine.h: Removed.
2200 * config/tilegx/sfp-machine32.h: Removed.
2201 * config/tilegx/sfp-machine64.h: Removed.
2202 * config/tilegx/t-crtstuff: Removed.
2203 * config/tilegx/t-softfp: Removed.
2204 * config/tilegx/t-tilegx: Removed.
2205 * config/tilepro/atomic.c: Removed.
2206 * config/tilepro/atomic.h: Removed.
2207 * config/tilepro/linux-unwind.h: Removed.
2208 * config/tilepro/sfp-machine.h: Removed.
2209 * config/tilepro/softdivide.c: Removed.
2210 * config/tilepro/softmpy.S: Removed.
2211 * config/tilepro/t-crtstuff: Removed.
2212 * config/tilepro/t-tilepro: Removed.
2213
2214 2022-06-09 Takayuki 'January June' Suwa <[email protected]>
2215
2216 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
2217 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
2218
2219 2022-06-01 H.J. Lu <[email protected]>
2220
2221 PR libgcc/27576
2222 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
2223
2224 2022-05-25 Wilco Dijkstra <[email protected]>
2225
2226 PR libgcc/105708
2227 * config/aarch64/lse-init.c: Increase constructor priority.
2228
2229 2022-05-25 Szabolcs Nagy <[email protected]>
2230
2231 PR target/104689
2232 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2233 Handle the !REG_UNSAVED case.
2234 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
2235
2236 2022-05-20 Christophe Lyon <[email protected]>
2237
2238 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
2239 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
2240 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
2241
2242 2022-05-20 Christophe Lyon <[email protected]>
2243
2244 * config.host: Add t-dfprules to AArch64 targets.
2245
2246 2022-05-20 Christophe Lyon <[email protected]>
2247
2248 * configure: Regenerate.
2249
2250 2022-05-13 Sebastian Pop <[email protected]>
2251
2252 PR target/105162
2253 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
2254 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
2255
2256 2022-05-10 Martin Liska <[email protected]>
2257 Hans-Peter Helfert <[email protected]>
2258
2259 PR gcov-profile/105535
2260 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
2261 n_functions.
2262
2263 2022-05-02 Martin Liska <[email protected]>
2264
2265 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
2266
2267 2022-04-28 Sebastian Huber <[email protected]>
2268
2269 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
2270 (gcov_profile_merge_stream): Likewise.
2271
2272 2022-04-28 Sebastian Huber <[email protected]>
2273
2274 * libgcov-util.c (consume_stream): New.
2275 (get_target_profiles_for_merge): Likewise.
2276 (gcov_profile_merge_stream): Likewise.
2277
2278 2022-04-28 Sebastian Huber <[email protected]>
2279
2280 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
2281
2282 2022-04-28 Sebastian Huber <[email protected]>
2283
2284 * libgcov-util.c (read_gcda_file): Do not open file.
2285 (ftw_read_file): Open file here.
2286
2287 2022-04-28 Sebastian Huber <[email protected]>
2288
2289 * libgcov-util.c (read_gcda_file): Prepend new info object to global
2290 list.
2291 (ftw_read_file): Remove list append here.
2292
2293 2022-04-28 Sebastian Huber <[email protected]>
2294
2295 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
2296 (ftw_read_file): Duplicate filename for read_gcda_file().
2297
2298 2022-04-28 Sebastian Huber <[email protected]>
2299
2300 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
2301 (__gcov_filename_to_gcfn): Declare and document.
2302 * libgcov-driver.c (dump_string): New.
2303 (__gcov_filename_to_gcfn): Likewise.
2304 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
2305
2306 2022-04-28 Sebastian Huber <[email protected]>
2307
2308 * libgcov.h (gcov_seek): Remove define and declaration.
2309
2310 2022-04-28 Sebastian Huber <[email protected]>
2311
2312 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
2313 parameter. Pass mode to gcov_open() calls.
2314 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
2315 gcov_exit_open_gcda_file() call.
2316 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
2317 calls.
2318 (__gcov_dump_one): Open file for reading and writing.
2319
2320 2022-04-28 Sebastian Huber <[email protected]>
2321
2322 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
2323 reading and writing.
2324 * libgcov-util.c (read_gcda_file): Open file for reading.
2325 * libgcov.h (gcov_open): Delete declaration.
2326
2327 2022-04-28 Sebastian Huber <[email protected]>
2328
2329 * libgcov-util.c (gcov_profile_merge): Return the list of merged
2330 profiles. Accept empty target and source profile lists.
2331
2332 2022-04-08 Sergei Trofimovich <[email protected]>
2333
2334 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
2335
2336 2022-03-29 Chenghua Xu <[email protected]>
2337 Lulu Cheng <[email protected]>
2338
2339 * configure: Regenerate file.
2340
2341 2022-03-29 Chenghua Xu <[email protected]>
2342 Lulu Cheng <[email protected]>
2343
2344 * config/loongarch/crtfastmath.c: New file.
2345 * config/loongarch/linux-unwind.h: Like wise.
2346 * config/loongarch/sfp-machine.h: Like wise.
2347 * config/loongarch/t-crtstuff: Like wise.
2348 * config/loongarch/t-loongarch: Like wise.
2349 * config/loongarch/t-loongarch64: Like wise.
2350 * config/loongarch/t-softfp-tf: Like wise.
2351 * config.host: Add LoongArch tuples.
2352 * configure.ac: Add LoongArch support.
2353
2354 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
2355
2356 PR libgcc/86224
2357 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
2358 for __mulsi3.
2359 (__udivsi3_internal, __divsi3_internal): Similarly.
2360 (__umodsi3, __modsi3): Use the internal function names.
2361
2362 2022-03-09 Tobias Burnus <[email protected]>
2363
2364 PR target/102215
2365 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
2366 a line up to non-arg-dependent value first.
2367 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
2368 __atomic_compare_exchange_{1,2}.
2369
2370 2022-03-04 Iain Sandoe <[email protected]>
2371
2372 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
2373 * config/t-darwin-ehs: Add dependency on unwind.h.
2374
2375 2022-02-24 Xi Ruoyao <[email protected]>
2376
2377 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
2378 with 0 instead of NULL.
2379
2380 2022-02-24 Jose E. Marchesi <[email protected]>
2381
2382 PR target/104656
2383 * configure.ac: --disable-gcov if targetting bpf-*.
2384 * configure: Regenerate.
2385
2386 2022-01-25 Florian Weimer <[email protected]>
2387
2388 PR libgcc/104207
2389 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
2390
2391 2022-01-17 Martin Liska <[email protected]>
2392
2393 * libgcov-driver.c: Rename .c names to .cc.
2394
2395 2022-01-15 David <[email protected]>
2396
2397 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
2398 Remove inlined version, Windows 95 is no longer relevant.
2399 * config/i386/gthr-win32.h
2400 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
2401
2402 2022-01-14 Claudiu Zissulescu <[email protected]>
2403
2404 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
2405 DWARF_ALT_FRAME_RETURN_COLUMN macro.
2406
2407 2022-01-04 Florian Weimer <[email protected]>
2408
2409 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
2410 if available.
2411
2412 2022-01-02 John David Anglin <[email protected]>
2413
2414 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
2415 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
2416 return is not equal _ASM_EFAULT.
2417 (__kernel_cmpxchg2): Likewise.
2418
2419 2021-12-17 Iain Sandoe <[email protected]>
2420
2421 * config.host: Add shim declaration header to powerpc*-darwin builds.
2422 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
2423 file.
2424 * config/t-darwin-ehs: Add dependencies to the shared unwinder
2425 objects.
2426 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
2427 the shared EH lib. Add all-multi to the dependencies for the
2428 libgcc_s.1.dylib redirections.
2429
2430 2021-12-13 Olivier Hainque <[email protected]>
2431
2432 * config.host (powerpc*-*-vxworks7*): Remove
2433 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
2434
2435 2021-12-13 Olivier Hainque <[email protected]>
2436
2437 * config.host (*vxworks*): Remove special case for
2438 arm on the use of vxcrtstuff.
2439
2440 2021-12-13 Fred Konrad <[email protected]>
2441 Olivier Hainque <[email protected]>
2442
2443 * config/t-vxcrtstuffS: New Makefile fragment.
2444 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
2445 functions for INITFINI_ARRAY support in shared libs and guard
2446 the definition of eh table registration functions on conditions
2447 indicating they are needed.
2448
2449 2021-12-13 Olivier Hainque <[email protected]>
2450
2451 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
2452 ahead of the other files in tmake_files.
2453 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
2454 overriding it.
2455
2456 2021-12-13 Olivier Hainque <[email protected]>
2457
2458 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
2459 both VxWorks7 and earlier.
2460 * config/t-vxworks7: Remove.
2461 * config.host: Remove special case for vxworks7.
2462
2463 2021-12-11 Rasmus Villemoes <[email protected]>
2464
2465 * config/vxcrtstuff.c: Make constructor and destructor
2466 functions static when possible.
2467
2468 2021-12-11 Rasmus Villemoes <[email protected]>
2469
2470 * config/vxcrtstuff.c: Remove constructor/destructor
2471 declarations.
2472
2473 2021-12-10 Iain Sandoe <[email protected]>
2474
2475 * config/t-darwin: Add libgcc_tm.h to the dependencies
2476 for darwin10-unwind-find-enc-func.
2477
2478 2021-12-10 Rasmus Villemoes <[email protected]>
2479
2480 * config/rs6000/t-vxworks: New file.
2481 * config.host (powerpc*-*-vxworks*): Use it instead of
2482 t-ppccomm.
2483
2484 2021-12-09 Fred Konrad <[email protected]>
2485
2486 * config.host (powerpc*-wrs-vxworks7*): Fix path to
2487 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
2488
2489 2021-12-09 Olivier Hainque <[email protected]>
2490 Rasmus Villemoes <[email protected]>
2491
2492 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
2493 $(LIBGCC2_INCLUDES).
2494 * config/t-vxworks7: Likewise.
2495
2496 2021-12-08 Iain Sandoe <[email protected]>
2497
2498 * config.host (*-*-darwin*): Add logic to build a shared
2499 unwinder library for Darwin8-10.
2500 * config/i386/t-darwin: Build legacy libgcc_s.1.
2501 * config/rs6000/t-darwin: Likewise.
2502 * config/t-darwin: Reorganise the EH fragments to place
2503 them for inclusion in a shared EH lib.
2504 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
2505 the supporting pieces (all FAT libs).
2506 * config/t-darwin-noeh: Removed.
2507 * config/darwin-unwind.ver: New file.
2508 * config/rs6000/t-darwin-ehs: New file.
2509 * config/t-darwin-ehs: New file.
2510
2511 2021-12-06 Nelson Chu <[email protected]>
2512
2513 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
2514 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
2515 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
2516 HIDDEN_DEF.
2517
2518 2021-11-30 Rasmus Villemoes <[email protected]>
2519
2520 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
2521 ssize_t and vfork after including auto-host.h.
2522
2523 2021-11-29 Rasmus Villemoes <[email protected]>
2524
2525 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
2526 crtend.o to extra_parts.
2527
2528 2021-11-27 John David Anglin <[email protected]>
2529
2530 * config/pa/t-dimode (lib2difuncs): Fix typo.
2531
2532 2021-11-25 Florian Weimer <[email protected]>
2533
2534 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
2535 Remove func, ret.
2536 (find_fde_tail): New function. Split from
2537 _Unwind_IteratePhdrCallback. Move the result initialization
2538 from _Unwind_Find_FDE.
2539 (_Unwind_Find_FDE): Updated to call find_fde_tail.
2540
2541 2021-11-22 Florian Weimer <[email protected]>
2542
2543 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
2544 (struct unw_eh_callback_data): Make dbase member conditional.
2545 (unw_eh_callback_data_dbase): New function.
2546 (base_from_cb_data): Simplify for the non-dbase case.
2547 (_Unwind_IteratePhdrCallback): Adjust.
2548 (_Unwind_Find_FDE): Likewise.
2549
2550 2021-11-22 Florian Weimer <[email protected]>
2551
2552 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
2553 tbase member.
2554 (base_from_cb_data): Adjust.
2555 (_Unwind_IteratePhdrCallback): Likewise.
2556 (_Unwind_Find_FDE): Likewise.
2557
2558 2021-11-19 Iain Sandoe <[email protected]>
2559
2560 * config.host: Add weak emutls crt to the extra_parts.
2561 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
2562 workaround.
2563 * config/libgcc-libsystem.ver: Add exclude list for the system-
2564 provided unwinder.
2565 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
2566 * config/i386/libgcc-darwin.10.4.ver: Removed.
2567 * config/i386/libgcc-darwin.10.5.ver: Removed.
2568 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
2569 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
2570 * config/t-darwin-noeh: New file.
2571
2572 2021-11-19 Iain Sandoe <[email protected]>
2573
2574 * config/t-darwin: Build weak-defined emutls objects.
2575 * emutls.c (__emutls_get_address): Add optional attributes.
2576 (__emutls_register_common): Likewise.
2577 (EMUTLS_ATTR): New.
2578
2579 2021-11-11 Raphael Moreira Zinsly <[email protected]>
2580
2581 PR libgcc/103044
2582 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
2583 called with a null argument or at the end of the backtrace and return.
2584 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
2585
2586 2021-11-10 Jakub Jelinek <[email protected]>
2587
2588 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
2589 formatting fix.
2590
2591 2021-11-05 Iain Sandoe <[email protected]>
2592
2593 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
2594 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
2595
2596 2021-11-05 John David Anglin <[email protected]>
2597
2598 PR libgomp/96661
2599 * config.host (hppa*64*-*-linux*): Revise tmake_file.
2600 (hppa*64*-*-hpux11*): Likewise.
2601 * config/pa/sfp-exceptions.c: New.
2602 * config/pa/sfp-machine.h: New.
2603 * config/pa/t-dimode: New.
2604 * config/pa/t-softfp-sfdftf: New.
2605
2606 2021-10-27 John David Anglin <[email protected]>
2607
2608 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
2609 tmake_file.
2610 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
2611 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
2612 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
2613 * config/pa/t-linux64 (LIB1ASMSRC): New define.
2614 (LIB1ASMFUNCS): Revise.
2615 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
2616
2617 2021-10-22 Stafford Horne <[email protected]>
2618
2619 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2620 Change to 0.
2621
2622 2021-10-14 Raphael Moreira Zinsly <[email protected]>
2623
2624 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
2625 outside of get_regs() in order to use it in another function, this
2626 is done twice: for __powerpc64__ and for !__powerpc64__.
2627 (struct trace_arg): New struct.
2628 (struct layout): New struct.
2629 (ppc_backchain_fallback): New function.
2630 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
2631 state and call MD_BACKCHAIN_FALLBACK.
2632
2633 2021-10-13 Martin Liska <[email protected]>
2634
2635 PR gcov-profile/90364
2636 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
2637 checksums.
2638 (write_one_data): Write also checksum.
2639 * libgcov-util.c (read_gcda_file): Read also checksum field.
2640 * libgcov.h (struct gcov_info): Add new field.
2641
2642 2021-10-08 Ian Lance Taylor <[email protected]>
2643
2644 * config/i386/morestack.S: Use .init_array for constructor if
2645 available.
2646 * config/rs6000/morestack.S: Likewise.
2647 * config/s390/morestack.S: Likewise.
2648
2649 2021-10-03 Patrick McGehearty <[email protected]>
2650
2651 PR target/101104
2652 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
2653 Use more correct values for native IBM 128-bit.
2654
2655 2021-09-28 Iain Sandoe <[email protected]>
2656
2657 * config/i386/libgcc-darwin.ver: Add Symbols for
2658 __cpu_model, __cpu_indicator_init.
2659
2660 2021-09-22 Iain Sandoe <[email protected]>
2661
2662 * config/i386/sfp-machine.h: Guard Mach-O-specific code
2663 using __APPLE__.
2664
2665 2021-09-19 Iain Sandoe <[email protected]>
2666
2667 * config/t-slibgcc-darwin: Delete unused code.
2668
2669 2021-09-19 Iain Sandoe <[email protected]>
2670
2671 * config/i386/t-darwin: Add in a vers file for X86-specific
2672 symbols.
2673 * config/t-darwin: Add the generic symbol maps here...
2674 * config/t-slibgcc-darwin: ... removing from here.
2675 * config/i386/libgcc-darwin.ver: New file.
2676
2677 2021-09-19 Iain Sandoe <[email protected]>
2678
2679 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
2680 and __mulhc3.
2681
2682 2021-09-19 Iain Sandoe <[email protected]>
2683
2684 * config.host: Use convenience library for Darwin10
2685 unwinder shim.
2686 * config/t-darwin: Build Darwin10 unwinder shim as a
2687 convenience library.
2688
2689 2021-09-13 Andrew Pinski <[email protected]>
2690
2691 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
2692 * config/m32r/libgcc-glibc.ver: Removed.
2693 * config/m32r/t-linux: Removed.
2694
2695 2021-09-08 liuhongt <[email protected]>
2696
2697 * config/i386/t-softfp: Compile __{mul,div}hc3 into
2698 libgcc_s.so.1.
2699
2700 2021-09-08 Jakub Jelinek <[email protected]>
2701 Iain Sandoe <[email protected]>
2702
2703 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
2704 and export *hf* and *hc* functions at GCC_12.0.0.
2705
2706 2021-09-06 liuhongt <[email protected]>
2707
2708 * Makefile.in: Adjust to support specific CFLAGS for each
2709 libgcc source file.
2710 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
2711 related libgcc source files.
2712 * config/i386/t-softfp: Ditto.
2713 * config/i386/_divhc3.c: New file.
2714 * config/i386/_mulhc3.c: New file.
2715
2716 2021-09-03 Iain Sandoe <[email protected]>
2717
2718 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
2719 alias_DFtype, alias_TFtype): New.
2720 (ALIAS_SELECTOR): New.
2721 (strong_alias): Use __typeof and a _Generic selector to
2722 provide the type to the synthesized function.
2723
2724 2021-09-02 liuhongt <[email protected]>
2725
2726 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
2727 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
2728 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
2729 * config/i386/t-softfp: Add hf soft-fp.
2730 * config.host: Add i386/64/t-softfp.
2731 * config/i386/64/t-softfp: New file.
2732
2733 2021-09-02 liuhongt <[email protected]>
2734
2735 * soft-fp/eqhf2.c: New file.
2736 * soft-fp/extendhfdf2.c: New file.
2737 * soft-fp/extendhfsf2.c: New file.
2738 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
2739 * soft-fp/truncdfhf2.c: New file
2740 * soft-fp/truncsfhf2.c: New file
2741
2742 2021-09-01 Sebastian Huber <[email protected]>
2743
2744 * unwind-arm-common.inc (abort): Remove.
2745
2746 2021-08-31 Richard Sandiford <[email protected]>
2747
2748 * config/aarch64/value-unwind.h: Add missing runtime exception
2749 paragraph.
2750 * config/frv/frv-abi.h: Likewise.
2751 * config/i386/value-unwind.h: Likewise.
2752 * config/pa/pa64-hpux-lib.h: Likewise.
2753
2754 2021-08-26 David Edelsohn <[email protected]>
2755
2756 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
2757 __gcc_qadd.
2758 (__gcc_qadd): Call ldouble_qadd_internal.
2759 (__gcc_qsub): Call ldouble_qadd_internal with second long double
2760 argument negated.
2761
2762 2021-08-26 Jonathan Yong <[email protected]>
2763
2764 * config/i386/cygming-crtend.c: Fix register_frame_ctor
2765 and register_frame_dtor warnings.
2766
2767 2021-08-24 Richard Earnshaw <[email protected]>
2768
2769 PR target/102035
2770 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
2771 Add vlldm erratum work-around.
2772
2773 2021-08-21 John David Anglin <[email protected]>
2774
2775 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
2776
2777 2021-08-16 Sebastian Huber <[email protected]>
2778
2779 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
2780 (gcov_type_unsigned): Likewise.
2781
2782 2021-08-14 Stafford Horne <[email protected]>
2783
2784 PR target/99783
2785 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
2786 * config/or1k/t-crtstuff: New file.
2787
2788 2021-08-06 Sebastian Huber <[email protected]>
2789
2790 * libgcov-driver.c (#include <stdint.h>): Remove.
2791 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
2792
2793 2021-08-06 Sebastian Huber <[email protected]>
2794
2795 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
2796 * gcov.h (gcov_info): Declare.
2797 (__gcov_info_to_gdca): Likewise.
2798 * libgcov.h (gcov_write_counter): Remove.
2799 (gcov_write_tag_length): Likewise.
2800 * libgcov-driver.c (#include <stdint.h>): New.
2801 (#include <string.h>): Remove.
2802 (NEED_L_GCOV): Conditionally define.
2803 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
2804 (are_all_counters_zero): New.
2805 (gcov_dump_handler): Likewise.
2806 (gcov_allocate_handler): Likewise.
2807 (dump_unsigned): Likewise.
2808 (dump_counter): Likewise.
2809 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
2810 Use dump_unsigned() and dump_counter().
2811 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
2812 dump_unsigned(), dump_counter(), and are_all_counters_zero().
2813 (__gcov_info_to_gcda): New.
2814
2815 2021-08-05 Jakub Jelinek <[email protected]>
2816
2817 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
2818 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
2819 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
2820 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
2821
2822 2021-08-04 Jakub Jelinek <[email protected]>
2823
2824 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
2825
2826 2021-07-15 Alan Modra <[email protected]>
2827
2828 * config/rs6000/morestack.S (R2_SAVE): Define.
2829 (__morestack): Save and restore r2. Set up r2 for called
2830 functions.
2831
2832 2021-07-01 H.J. Lu <[email protected]>
2833
2834 * soft-fp/extendhfxf2.c: New file.
2835 * soft-fp/truncxfhf2.c: Likewise.
2836
2837 2021-06-29 Julian Brown <[email protected]>
2838
2839 * config/gcn/lib2-bswapti2.c: New file.
2840 * config/gcn/lib2-divmod-di.c: New file.
2841 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
2842 typedefs.
2843 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
2844 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
2845 lib2-bswapti2.c.
2846
2847 2021-06-29 Julian Brown <[email protected]>
2848
2849 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
2850 return types to USItype.
2851 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
2852
2853 2021-06-23 Kewen Lin <[email protected]>
2854
2855 * configure: Regenerate.
2856 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
2857 typos among the name, CFLAGS and the test.
2858 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
2859 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
2860 Remove.
2861 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
2862 macro FLOAT128_HW_INSNS_ISA3_1.
2863 (FP128_3_1_CFLAGS_HW): Fix option typo.
2864 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
2865 FLOAT128_HW_INSNS_ISA3_1.
2866 (__floattikf_resolve): Likewise.
2867 (__floatuntikf_resolve): Likewise.
2868 (__fixkfti_resolve): Likewise.
2869 (__fixunskfti_resolve): Likewise.
2870 (__floattikf): Likewise.
2871 (__floatuntikf): Likewise.
2872 (__fixkfti): Likewise.
2873 (__fixunskfti): Likewise.
2874
2875 2021-06-11 Srinath Parvathaneni <[email protected]>
2876
2877 PR target/99939
2878 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
2879 macro.
2880 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
2881 on passing -mcmse option.
2882
2883 2021-06-10 Segher Boessenkool <[email protected]>
2884
2885 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
2886 _ARCH_PPC64 .
2887
2888 2021-06-09 Carl Love <[email protected]>
2889
2890 * config.host: Add if test and set for
2891 libgcc_cv_powerpc_3_1_float128_hw.
2892 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
2893 Change calls of __fixkfti to __fixkfti_sw.
2894 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
2895 Change calls of __fixunskfti to __fixunskfti_sw.
2896 * config/rs6000/float128-p10.c (__floattikf_hw,
2897 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
2898 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
2899 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
2900 __fixunskfti_resolve): Add resolve functions.
2901 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
2902 * config/rs6000/float128-sed (floattitf, __floatuntitf,
2903 __fixtfti, __fixunstfti): Add editor commands to change names.
2904 * config/rs6000/float128-sed-hw (__floattitf,
2905 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
2906 change names.
2907 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
2908 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
2909 * config/rs6000/quad-float128.h (__floattikf_sw,
2910 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
2911 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
2912 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
2913 * config/rs6000/t-float128 (floattikf, floatuntikf,
2914 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
2915 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
2916 file names to fp128_ppc_funcs.
2917 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
2918 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
2919 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
2920 * config/rs6000/t-float128-p10-hw: New file.
2921 * configure: Update script for isa 3.1 128-bit float support.
2922 * configure.ac: Add check for 128-bit float hardware support.
2923 * config/rs6000/fixkfti-sw.c: New file.
2924 * config/rs6000/fixunskfti-sw.c: New file.
2925 * config/rs6000/floattikf-sw.c: New file.
2926 * config/rs6000/floatuntikf-sw.c: New file.
2927
2928 2021-05-13 Dimitar Dimitrov <[email protected]>
2929
2930 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
2931
2932 2021-05-13 Martin Liska <[email protected]>
2933
2934 * libgcov-driver.c: Fix GNU coding style.
2935
2936 2021-05-10 Martin Liska <[email protected]>
2937
2938 * libgcov-driver.c (gcov_version): Use different name that does
2939 not clash with newly introduced macro.
2940
2941 2021-04-29 Eric Botcazou <[email protected]>
2942
2943 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
2944 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
2945 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
2946
2947 2021-04-28 Patrick McGehearty <[email protected]>
2948
2949 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2950 Define.
2951 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
2952 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2953 Define.
2954 (__divkc3): Improve complex divide.
2955
2956 2021-04-23 Michael Meissner <[email protected]>
2957
2958 PR target/98952
2959 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
2960 trampoline size comparison in 32-bit by reversing test and
2961 combining load immediate with compare.
2962 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
2963 in 32-bit by reversing test and combining load immediate with
2964 compare.
2965
2966 2021-04-05 Florian Weimer <[email protected]>
2967 Michael Meissner <[email protected]>
2968
2969 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
2970 point functions for $(decimal_float) only.
2971
2972 2021-04-03 Jakub Jelinek <[email protected]>
2973
2974 PR target/97653
2975 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
2976 $(objext) instead of $(object). Use _floatunditf instead of
2977 _floatunsditf. Add tf <-> ti conversion objects.
2978 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
2979
2980 2021-03-29 Michael Meissner <[email protected]>
2981
2982 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
2983 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
2984 (fp128_decstr_objs): Delete.
2985 * dfp-bit.h: Call __sprintfieee128 to do conversions from
2986 _Float128 to a Decimal type. Call __strtoieee128 to do
2987 conversions from a Decimal type to _Float128.
2988 * config/rs6000/_sprintfkf.c: Delete file.
2989 * config/rs6000/_sprintfkf.h: Delete file.
2990 * config/rs6000/_strtokf.c: Delete file.
2991 * config/rs6000/_strtokf.h: Delete file.
2992
2993 2021-03-23 Marcus Comstedt <[email protected]>
2994
2995 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
2996 to __BYTE_ORDER__.
2997
2998 2021-03-06 Jakub Jelinek <[email protected]>
2999
3000 PR gcov-profile/99406
3001 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
3002 defined, define these macros if not defined already.
3003
3004 2021-03-04 Martin Liska <[email protected]>
3005
3006 PR gcov-profile/99105
3007 * libgcov-driver.c (write_top_counters): Rename to ...
3008 (write_topn_counters): ... this.
3009 (write_one_data): Pre-allocate buffer for number of items
3010 in the corresponding linked lists.
3011 * libgcov.h (malloc_mmap): New function.
3012 (allocate_gcov_kvp): Use it.
3013
3014 2021-03-04 Martin Liska <[email protected]>
3015
3016 PR gcov-profile/99385
3017 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
3018
3019 2021-03-03 Martin Liska <[email protected]>
3020
3021 PR gcov-profile/97461
3022 * config.in: Regenerate.
3023 * configure: Likewise.
3024 * configure.ac: Check sys/mman.h header file
3025 * libgcov-driver.c (struct gcov_kvp): Remove static
3026 pre-allocated pool and use a dynamic one.
3027 * libgcov.h (MMAP_CHUNK_SIZE): New.
3028 (gcov_counter_add): Use mmap to allocate pool for struct
3029 gcov_kvp.
3030
3031 2021-03-02 Michael Meissner <[email protected]>
3032
3033 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
3034 the function.
3035 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
3036
3037 2021-02-24 Jakub Jelinek <[email protected]>
3038
3039 PR libgcc/99236
3040 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
3041 negation of m in unsigned type.
3042
3043 2021-02-24 Christophe Lyon <[email protected]>
3044 Hau Hsu <[email protected]>
3045
3046 PR target/99157
3047 * config/arm/t-arm: Fix cmse support detection.
3048
3049 2021-02-22 Michael Meissner <[email protected]>
3050
3051 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
3052
3053 2021-02-22 Michael Meissner <[email protected]>
3054
3055 * config/rs6000/_dd_to_kf.c: New file.
3056 * config/rs6000/_kf_to_dd.c: New file.
3057 * config/rs6000/_kf_to_sd.c: New file.
3058 * config/rs6000/_kf_to_td.c: New file.
3059 * config/rs6000/_sd_to_kf.c: New file.
3060 * config/rs6000/_sprintfkf.c: New file.
3061 * config/rs6000/_sprintfkf.h: New file.
3062 * config/rs6000/_strtokf.h: New file.
3063 * config/rs6000/_strtokf.c: New file.
3064 * config/rs6000/_td_to_kf.c: New file.
3065 * config/rs6000/quad-float128.h: Add new declarations.
3066 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
3067 (fp128_decstr_funcs): New macro.
3068 (ibm128_dec_funcs): New macro.
3069 (fp128_ppc_funcs): Add the new conversions.
3070 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
3071 compiled with -mabi=ieeelongdouble.
3072 (fp128_decstr_objs): Force __float128 <-> string conversions to be
3073 compiled with -mabi=ibmlongdouble.
3074 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
3075 compiled with -mabi=ieeelongdouble.
3076 (FP128_CFLAGS_DECIMAL): New macro.
3077 (IBM128_CFLAGS_DECIMAL): New macro.
3078 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
3079 (BFP_TO_DFP): Add PowerPC _Float128 support.
3080 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
3081 IEEE 128-bit floating point.
3082 (DFP_TO_BFP): Add PowerPC _Float128 support.
3083 (BFP_TO_DFP): Add PowerPC _Float128 support.
3084 (BFP_SPRINTF): New macro.
3085
3086 2021-01-27 Jakub Jelinek <[email protected]>
3087
3088 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
3089 * config/i386/savms64f.h: Likewise.
3090 * config/i386/resms64.h: Likewise.
3091 * config/i386/resms64f.h: Likewise.
3092 * config/i386/resms64x.h: Likewise.
3093 * config/i386/resms64fx.h: Likewise.
3094
3095 2021-01-26 Martin Liska <[email protected]>
3096
3097 PR gcov-profile/98739
3098 * libgcov.h (gcov_topn_add_value): Do not train when
3099 we have a merged profile with a negative number of total
3100 value.
3101
3102 2021-01-25 Martin Liska <[email protected]>
3103
3104 PR gcov-profile/98739
3105 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
3106 ends with a dropped counter.
3107 * libgcov.h (gcov_topn_add_value): Add return value.
3108
3109 2021-01-13 Stafford Horne <[email protected]>
3110
3111 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
3112 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
3113 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
3114 FP_EX_ALL): New constant macros.
3115 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
3116 FP_HANDLE_EXCEPTIONS): New macros.
3117 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
3118
3119 2021-01-13 Samuel Thibault <[email protected]>
3120
3121 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
3122 posix siginfo case to struct handler_args. Detect between legacy
3123 and siginfo from the second parameter, which is a small sigcode in
3124 the legacy case, and a pointer in the siginfo case.
3125
3126 2020-12-20 Max Filippov <[email protected]>
3127
3128 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
3129 functions.
3130 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
3131 _bswapdi2.
3132
3133 2020-12-08 Ian Lance Taylor <[email protected]>
3134
3135 * generic-morestack-thread.c (free_segments): Block signals during
3136 thread exit.
3137
3138 2020-12-03 Michael Meissner <[email protected]>
3139
3140 PR libgcc/97543
3141 PR libgcc/97643
3142 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
3143 (IBM128_SHARED_OBJS): New make variable.
3144 (IBM128_OBJS): New make variable. Set all objects to use the
3145 explicit IBM format, and disable gnu attributes.
3146 (IBM128_CFLAGS): New make variable.
3147 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
3148 modules.
3149
3150 2020-12-03 Alexandre Oliva <[email protected]>
3151
3152 * config/t-vxworks (LIB2ADD): Drop.
3153 * config/t-vxworks7 (LIB2ADD): Likewise.
3154 * config/vxcache.c: Remove.
3155
3156 2020-11-30 Stefan Kanthak <[email protected]>
3157
3158 * libgcc2.c (bswapsi2): Make constants unsigned.
3159
3160 2020-11-25 Stefan Kanthak <[email protected]>
3161
3162 * libgcc2.c (absvSI2): Simplify/improve implementation by using
3163 builtin_add_overflow.
3164 (absvsi2, absvDI2): Likewise.
3165
3166 2020-11-20 Maciej W. Rozycki <[email protected]>
3167
3168 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
3169 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
3170
3171 2020-11-18 Jozef Lawrynowicz <[email protected]>
3172
3173 * config/msp430/lib2hw_mul.S (mult64_hw): New.
3174 (if MUL_32): Use mult64_hw for __muldi3.
3175 (if MUL_F5): Use mult64_hw for __muldi3.
3176 * config/msp430/lib2mul.c (__muldi3): New.
3177 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
3178
3179 2020-11-17 Alan Modra <[email protected]>
3180
3181 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
3182 (LIB2_SIDITI_CONV_FUNCS): Define.
3183 * config/rs6000/ppc64-fp.c: Delete file.
3184
3185 2020-11-15 Jozef Lawrynowicz <[email protected]>
3186
3187 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
3188 hwmult library functions.
3189
3190 2020-11-10 Jeff Law <[email protected]>
3191
3192 * libgcc2.c: Fix whitespace issues in most recent change.
3193
3194 2020-11-10 Stefan Kanthak <[email protected]>
3195
3196 * libgcc2.c (__addvSI3): Use overflow builtins.
3197 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
3198 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
3199 (__negvsi2, __negvDI2): Likewise.
3200 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
3201 generated code.
3202 * libgcc2.h (__ucmpdi2): Adjust prototype.
3203
3204 2020-11-03 Pat Bernardi <[email protected]>
3205 Olivier Hainque <[email protected]>
3206
3207 * config.host (aarch64-vxworks7*, tmake_file): Add
3208 ${cpu_type}/t-lse and t-slibgcc-libgcc.
3209
3210 2020-11-03 Martin Storsjö <[email protected]>
3211
3212 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
3213 before calling the callback.
3214
3215 2020-10-30 Olivier Hainque <[email protected]>
3216 Douglas Rupp <[email protected]>
3217 Pat Bernardi <[email protected]>
3218
3219 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
3220 to apply to VxWorks 7 as well.
3221
3222 2020-10-29 Olivier Hainque <[email protected]>
3223
3224 * config/gthr-vxworks-tls.c: Fix preprocessor logic
3225 controlling the definition of VX_ENTER_TLS_DTOR and
3226 VX_LEAVE_TLS_DTOR based on a version major check.
3227
3228 2020-10-29 Olivier Hainque <[email protected]>
3229
3230 * config/gthr-vxworks-thread.c: Fix name of macro used
3231 to condition the inclusion of an actual implementation.
3232
3233 2020-10-27 Martin Liska <[email protected]>
3234
3235 PR gcov-profile/97461
3236 * libgcov.h (gcov_counter_add): Use first static counters
3237 as it should help to have malloc wrappers set up.
3238
3239 2020-10-23 Rasmus Villemoes <[email protected]>
3240
3241 * config/gthr-vxworks-thread.c: #include gthr.h before
3242 testing the guard defined there.
3243 * config/gthr-vxworks-cond.c: Likewise.
3244
3245 2020-10-21 Douglas Rupp <[email protected]>
3246 Olivier Hainque <[email protected]>
3247
3248 * config.host (powerpc*-wrs-vxworks7*): New case.
3249 * configure.ac: Handle powerpc*-*-vxworks7* as
3250 powerpc*-*-linux* for ppc-fp_type.
3251 * configure: Regenerate.
3252
3253 2020-10-16 Rasmus Villemoes <[email protected]>
3254
3255 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
3256 section on VxWorks >= 6.
3257 * config/gthr-vxworks-thread.c: Condition the entire
3258 implementation on __GTHREAD_CXX0X.
3259
3260 2020-10-16 Rasmus Villemoes <[email protected]>
3261
3262 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
3263 section on VxWorks >= 6.
3264 * config/gthr-vxworks-cond.c: Condition the entire
3265 implementation on __GTHREAD_HAS_COND.
3266
3267 2020-10-16 Rasmus Villemoes <[email protected]>
3268
3269 * config/gthr-vxworks.c: #include <taskLib.h>.
3270
3271 2020-10-16 Rasmus Villemoes <[email protected]>
3272
3273 * config/gthr-vxworks.h: Rewrite remaining occurrence
3274 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
3275
3276 2020-10-16 Rasmus Villemoes <[email protected]>
3277 Olivier Hainque <[email protected]>
3278
3279 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
3280 except on VxWorks 6.
3281
3282 2020-10-16 Olivier Hainque <[email protected]>
3283
3284 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
3285
3286 2020-10-14 Alexandre Oliva <[email protected]>
3287
3288 * config/gthr-vxworks-thread.c: Include stdlib.h.
3289 (tls_delete_hook): Prototype it.
3290 (__gthread_cond_signal): Return early if no waiters. Consume
3291 signal in case the semaphore got full. Use semInfoGet instead
3292 of kernel-mode-only semInfo.
3293 (__gthread_cond_timedwait): Use semExchange. Always take the
3294 mutex again before returning.
3295 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
3296
3297 2020-10-14 Olivier Hainque <[email protected]>
3298
3299 * config/t-vxworks (LIBGCC2_INCLUDES): Append
3300 $(MULTISUBDIR) to the -I path for fixed headers, as we
3301 arrange to have different sets of such headers for different
3302 multilibs when they are activated.
3303 * config/t-vxworks7: Likewise.
3304
3305 2020-10-14 Olivier Hainque <[email protected]>
3306
3307 * config/t-vxworks: Add include-fixed to include search
3308 paths for libgcc on VxWorks.
3309 * config/t-vxworks7: Likewise.
3310
3311 2020-10-09 H.J. Lu <[email protected]>
3312
3313 PR target/97148
3314 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
3315 instead of <cetintrin.h>.
3316
3317 2020-10-01 Alan Modra <[email protected]>
3318
3319 * config/rs6000/morestack.S,
3320 * config/rs6000/tramp.S: Support __PCREL__ code.
3321
3322 2020-10-01 Alan Modra <[email protected]>
3323
3324 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
3325
3326 2020-09-29 Maciej W. Rozycki <[email protected]>
3327
3328 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
3329 variable.
3330
3331 2020-09-28 Richard Sandiford <[email protected]>
3332
3333 * config/aarch64/libgcc-softfp.ver: New file.
3334 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
3335
3336 2020-09-27 Clement Chigot <[email protected]>
3337
3338 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
3339
3340 2020-09-22 Sergei Trofimovich <[email protected]>
3341
3342 PR gcov-profile/96913
3343 * libgcov-driver.c (write_one_data): Avoid function pointer
3344 comparison in TOP streaming decision.
3345
3346 2020-09-17 Torbjörn SVENSSON <[email protected]>
3347 Christophe Lyon <[email protected]>
3348
3349 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
3350 qualifier.
3351 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
3352 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
3353 missing prototypes.
3354
3355 2020-09-17 Wei Wentao <[email protected]>
3356
3357 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
3358 unused variable warning.
3359
3360 2020-09-16 Jojo R <[email protected]>
3361
3362 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
3363
3364 2020-09-09 Tom de Vries <[email protected]>
3365
3366 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
3367 Wbuiltin-declaration-mismatch.
3368
3369 2020-08-26 Jozef Lawrynowicz <[email protected]>
3370
3371 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
3372 * config/msp430/srai.S (__gnu_mspabi_srap): New.
3373 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
3374
3375 2020-08-13 Kwok Cheung Yeung <[email protected]>
3376
3377 * config/nvptx/atomic.c: New.
3378 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
3379
3380 2020-08-03 Ian Lance Taylor <[email protected]>
3381
3382 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
3383
3384 2020-08-03 Jakub Jelinek <[email protected]>
3385
3386 PR target/96402
3387 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
3388 of x(tmp0), x(tmp1) in STXP arguments.
3389
3390 2020-07-31 Maciej W. Rozycki <[email protected]>
3391
3392 * config/riscv/save-restore.S [__riscv_xlen == 64]
3393 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
3394 (__riscv_save_2): Replace negative immediates used for the final
3395 stack pointer adjustment with positive ones, right-shifted by 4.
3396
3397 2020-07-31 Martin Liska <[email protected]>
3398
3399 * libgcov-driver.c: Add __gcov_kvp_pool
3400 and __gcov_kvp_pool_index variables.
3401 * libgcov.h (allocate_gcov_kvp): New.
3402 (gcov_topn_add_value): Use it.
3403
3404 2020-07-24 Szabolcs Nagy <[email protected]>
3405
3406 * config/aarch64/lse.S: Add PAC property note.
3407
3408 2020-07-23 Martin Liska <[email protected]>
3409
3410 PR gcov-profile/96035
3411 * libgcov-driver-system.c: Create gcov folders with 0777
3412 so that it respects a system umask.
3413
3414 2020-07-14 David Edelsohn <[email protected]>
3415
3416 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
3417
3418 2020-07-13 Szabolcs Nagy <[email protected]>
3419
3420 PR target/94891
3421 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
3422 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
3423 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
3424 (MD_DEMANGLE_RETURN_ADDR): This.
3425 (aarch64_post_extract_frame_addr): Rename to ...
3426 (aarch64_demangle_return_addr): This.
3427 (aarch64_post_frob_eh_handler_addr): Remove.
3428 * unwind-dw2.c (uw_update_context): Demangle return address.
3429 (uw_frob_return_addr): Remove.
3430
3431 2020-07-09 Szabolcs Nagy <[email protected]>
3432
3433 PR target/96001
3434 * config/aarch64/lse.S: Add BTI marking and related definitions,
3435 and add BTI c to function entries.
3436
3437 2020-07-09 Szabolcs Nagy <[email protected]>
3438
3439 * config/aarch64/lse.S: Add stack note.
3440
3441 2020-07-02 Martin Liska <[email protected]>
3442
3443 PR gcov-profile/95348
3444 * libgcov-driver.c (merge_one_data): Merge only profiles
3445 that are not of non-zero type.
3446 (write_one_data): Write counters only if there's one non-zero
3447 value.
3448 * libgcov-util.c (tag_function): Change signature from unsigned
3449 to int.
3450 (tag_blocks): Likewise.
3451 (tag_arcs): Likewise.
3452 (tag_counters): Likewise.
3453 (tag_summary): Likewise.
3454 (tag_lines): Read only if COUNTERS is non-zero.
3455 (read_gcda_file): Handle negative length for COUNTERS type.
3456
3457 2020-06-25 Martin Liska <[email protected]>
3458
3459 * libgcov-driver.c (merge_summary): Remove function as its name
3460 is misleading and doing something different.
3461 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
3462 in gcov-tool.
3463 * libgcov-util.c (curr_object_summary): Remove.
3464 (read_gcda_file): Remove unused curr_object_summary.
3465 (gcov_merge): Merge summaries.
3466 * libgcov.h: Add summary argument for gcov_info struct.
3467
3468 2020-06-24 H.J. Lu <[email protected]>
3469
3470 PR target/95259
3471 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
3472 "common/config/i386/i386-cpuinfo.h" and
3473 "common/config/i386/cpuinfo.h".
3474 (__cpu_features2): Changed to array.
3475 (get_amd_cpu): Removed.
3476 (get_intel_cpu): Likewise.
3477 (get_available_features): Likewise.
3478 (__cpu_indicator_init): Call cpu_indicator_init.
3479 * config/i386/cpuinfo.h: Removed.
3480
3481 2020-06-23 David Edelsohn <[email protected]>
3482
3483 * Makefile.in: Remove uses of empty.mk. Use -include.
3484 * config/avr/t-avr: Use -include.
3485 * empty.mk: Delete.
3486
3487 2020-06-21 David Edelsohn <[email protected]>
3488
3489 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
3490 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
3491 and 64 bit with -maix64.
3492 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
3493 Build and install AIX-style FAT libraries.
3494
3495 2020-06-17 Samuel Thibault <[email protected]>
3496
3497 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
3498 'i386/gnu-unwind.h'
3499 * config/i386/gnu-unwind.h: New file.
3500
3501 2020-06-17 Martin Liska <[email protected]>
3502
3503 * libgcov-util.c (read_gcda_finalize): Remove const operator.
3504 (merge_wrapper): Add both counts and use them properly.
3505 (topn_to_memory_representation): New function.
3506 (gcov_merge): Covert on disk representation to in memory
3507 representation.
3508 * libgcov.h: Remove const operator.
3509
3510 2020-06-15 Max Filippov <[email protected]>
3511
3512 * configure: Regenerate.
3513 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
3514 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
3515
3516 2020-06-09 Martin Liska <[email protected]>
3517
3518 PR gcov-profile/95494
3519 * libgcov-driver.c (write_top_counters): Cast first to
3520 intptr_t as sizeof(*) != sizeof(gcov_type).
3521 * libgcov.h (gcov_counter_set_if_null): Remove.
3522 (gcov_topn_add_value): Cast first to intptr_t and update
3523 linked list directly.
3524
3525 2020-06-09 Max Filippov <[email protected]>
3526
3527 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
3528 with uw_install_context_1.
3529
3530 2020-06-04 Andreas Schwab <[email protected]>
3531
3532 PR target/59230
3533 PR libfortran/59227
3534 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
3535 soft-fp/divtf3.c.
3536 (LIB2ADD): Add config/ia64/divtf3.c.
3537 * config/ia64/divtf3.c: New file.
3538
3539 2020-06-03 Martin Liska <[email protected]>
3540
3541 PR gcov-profile/95480
3542 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
3543 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
3544 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
3545 (gcov_counter_set_if_null): Likewise.
3546
3547 2020-06-02 Jim Wilson <[email protected]>
3548
3549 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
3550 to bgtz.
3551
3552 2020-06-02 Martin Liska <[email protected]>
3553
3554 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
3555 of xmalloc.
3556
3557 2020-06-02 Martin Liska <[email protected]>
3558
3559 * libgcov-driver.c (prune_topn_counter): Remove.
3560 (prune_counters): Likewise.
3561 (merge_one_data): Special case TOP N counters
3562 as they have variable length.
3563 (write_top_counters): New.
3564 (write_one_data): Special case TOP N.
3565 (dump_one_gcov): Do not prune TOP N counters.
3566 * libgcov-merge.c (merge_topn_values_set): Remove.
3567 (__gcov_merge_topn): Use gcov_topn_add_value.
3568 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3569 Likewise here.
3570 * libgcov.h (gcov_counter_add): New.
3571 (gcov_counter_set_if_null): Likewise.
3572 (gcov_topn_add_value): New.
3573
3574 2020-06-01 UroÅ¡ Bizjak <[email protected]>
3575
3576 * config/i386/sfp-exceptions.c (struct fenv):
3577 Add __attribute__ ((gcc_struct)).
3578
3579 2020-05-29 H.J. Lu <[email protected]>
3580
3581 PR bootstrap/95413
3582 * configure: Regenerated.
3583
3584 2020-05-28 Dong JianQiang <[email protected]>
3585
3586 PR gcov-profile/95332
3587 * libgcov-util.c (read_gcda_file): Call gcov_magic.
3588 * libgcov.h (gcov_magic): Disable GCC poison.
3589
3590 2020-05-21 H.J. Lu <[email protected]>
3591
3592 PR target/95212
3593 * config/i386/cpuinfo.h (processor_features): Move
3594 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
3595
3596 2020-05-20 H.J. Lu <[email protected]>
3597
3598 PR target/91695
3599 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
3600 check.
3601
3602 2020-05-19 H.J. Lu <[email protected]>
3603
3604 PR target/95212
3605 PR target/95220
3606 * config/i386/cpuinfo.c (get_available_features): Fix
3607 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
3608 * config/i386/cpuinfo.h (processor_features): Add
3609 FEATURE_AVX512VP2INTERSECT.
3610
3611 2020-05-15 H.J. Lu <[email protected]>
3612
3613 PR bootstrap/95147
3614 * configure: Regenerated.
3615
3616 2020-05-14 H.J. Lu <[email protected]>
3617
3618 * configure: Regenerated.
3619
3620 2020-05-09 Hans-Peter Nilsson <[email protected]>
3621
3622 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
3623 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
3624
3625 2020-05-06 UroÅ¡ Bizjak <[email protected]>
3626
3627 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
3628 (__math_force_eval_div): New define.
3629 (__sfp_handle_exceptions): Use __math_force_eval_div to use
3630 generic division to generate INVALID, DIVZERO and INEXACT
3631 exceptions.
3632
3633 2020-05-06 Kyrylo Tkachov <[email protected]>
3634
3635 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
3636 instead of getauxval.
3637 (AT_HWCAP): Define.
3638 (HWCAP_ATOMICS): Define.
3639 Guard detection on __gnu_linux__.
3640
3641 2020-05-05 Michael Meissner <[email protected]>
3642
3643 * config.host: Delete changes meant for a private branch.
3644 * config/rs6000/t-float128: Likewise.
3645 * configure.ac: Likewise.
3646 * configure: Likewise.
3647
3648 2020-05-05 Martin Liska <[email protected]>
3649
3650 PR gcov-profile/93623
3651 * Makefile.in: Remove __gcov_flush.
3652 * gcov.h (__gcov_flush): Remove.
3653 * libgcov-interface.c (__gcov_flush): Remove.
3654 (init_mx): Use renamed mutex.
3655 (__gcov_lock): Likewise.
3656 (__gcov_unlock): Likewise.
3657 (__gcov_fork): Likewise.
3658 (__gcov_flush): Remove.
3659
3660 2020-05-05 Martin Liska <[email protected]>
3661
3662 PR gcov-profile/93623
3663 * libgcov-interface.c (__gcov_fork): Do not flush
3664 and reset only in child process.
3665 (__gcov_execl): Dump counters only and reset them
3666 only if exec* fails.
3667 (__gcov_execlp): Likewise.
3668 (__gcov_execle): Likewise.
3669 (__gcov_execv): Likewise.
3670 (__gcov_execvp): Likewise.
3671 (__gcov_execve): Likewise.
3672
3673 2020-05-05 Martin Liska <[email protected]>
3674
3675 PR gcov-profile/93623
3676 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
3677 * libgcov-interface.c (ALIAS_void_fn): Remove.
3678 (__gcov_lock): New.
3679 (__gcov_unlock): New.
3680 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
3681 (__gcov_reset): Likewise.
3682 (__gcov_dump): Likewise.
3683 * libgcov.h (__gcov_lock): New declaration.
3684 (__gcov_unlock): Likewise.
3685
3686 2020-05-01 UroÅ¡ Bizjak <[email protected]>
3687
3688 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
3689 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
3690 generic division to generate INVALID and DIVZERO exceptions.
3691
3692 2020-04-27 Sebastian Huber <[email protected]>
3693
3694 * config/rs6000/crtresfpr.S: Use .machine ppc.
3695 * config/rs6000/crtresxfpr.S: Likewise.
3696 * config/rs6000/crtsavfpr.S: Likewise.
3697
3698 2020-04-21 Szabolcs Nagy <[email protected]>
3699
3700 PR target/94514
3701 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
3702 Update context->flags accroding to the frame state.
3703
3704 2020-04-19 UroÅ¡ Bizjak <[email protected]>
3705
3706 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
3707 Remove unneeded assignments to volatile memory.
3708
3709 2020-04-15 Jakub Jelinek <[email protected]>
3710
3711 PR target/93053
3712 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
3713 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
3714 is not defined, use just .arch armv8-a.
3715 (B, M, N, OPN): Define.
3716 (COMMENT): New .macro.
3717 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
3718 defined. Otherwise, move the operands right after the glue? and
3719 comment out operands where the macros are used.
3720 * configure: Regenerated.
3721 * config.in: Regenerated.
3722
3723 2020-04-07 Ian Lance Taylor <[email protected]>
3724
3725 PR libgcc/94513
3726 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
3727 syscall instead.
3728
3729 2020-04-04 Ian Lance Taylor <[email protected]>
3730
3731 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
3732
3733 2020-04-03 Ian Lance Taylor <[email protected]>
3734
3735 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
3736 than mmap/munmap, to avoid hooks.
3737
3738 2020-04-03 Jim Johnston <[email protected]>
3739
3740 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
3741 (TPFRA_OFFSET): Macros removed.
3742 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
3743 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
3744 (PG3_SKIPPING_OFFSET): New macros.
3745 (__isPATrange): Use cinfc_fast for the check.
3746 (__isSkipResetAddr): New function.
3747 (s390_fallback_frame_state): Check for skip trace addresses. Use
3748 either ICST_CRET or ICST_SRET to calculate return address
3749 location.
3750 (__tpf_eh_return): Handle skip trace addresses.
3751
3752 2020-03-26 Richard Earnshaw <[email protected]>
3753
3754 PR target/94220
3755 * config/arm/lib1funcs.asm (COND): Use a single definition for
3756 unified syntax.
3757 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
3758 (aeabi_idivmod): Likewise.
3759 (divsi3_skip_div0_test): Likewise.
3760
3761 2020-03-17 Mihail Ionescu <[email protected]>
3762
3763 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
3764
3765 2020-03-04 Andreas Krebbel <[email protected]>
3766
3767 * config.host: Include the new makefile fragment.
3768 * config/s390/t-tpf: New file.
3769
3770 2020-03-03 Richard Earnshaw <[email protected]>
3771
3772 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
3773 syntax.
3774 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
3775 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
3776 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
3777 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
3778 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
3779 syntax.
3780 (divsi3, modsi3): Likewise.
3781 (clzdi2, ctzsi2): Likewise.
3782 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
3783 unified syntax.
3784 (UNWIND_WRAPPER): Likewise.
3785
3786 2020-03-02 Martin Liska <[email protected]>
3787
3788 * libgcov-interface.c: Remove duplicate
3789 declaration of __gcov_flush_mx.
3790
3791 2020-02-18 Martin Liska <[email protected]>
3792
3793 PR ipa/92924
3794 * libgcov-merge.c (merge_topn_values_set): Record
3795 when a TOP N counter becomes invalid. When merging
3796 remove a smallest value if the space is needed.
3797
3798 2020-02-12 Sandra Loosemore <[email protected]>
3799
3800 PR libstdc++/79193
3801 PR libstdc++/88999
3802
3803 * configure: Regenerated.
3804
3805 2020-02-10 Jeff Law <[email protected]>
3806
3807 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
3808 sections.
3809 * config/frv/frvend.c: Similarly.
3810
3811 2020-02-10 H.J. Lu <[email protected]>
3812
3813 PR libgcc/85334
3814 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3815 New.
3816
3817 2020-02-10 Christophe Lyon <[email protected]>
3818
3819 PR target/93615
3820 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
3821 _Unwind_gnu_Find_got.
3822 * unwind-pe.h: Likewise.
3823
3824 2020-02-07 Jakub Jelinek <[email protected]>
3825
3826 PR target/93615
3827 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
3828 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
3829 trailing :s in asm. Formatting fixes.
3830 (_Unwind_decode_typeinfo_ptr): Adjust caller.
3831
3832 2020-01-31 Sandra Loosemore <[email protected]>
3833
3834 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
3835
3836 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
3837 * config/nios2-elf-lib.h: New.
3838 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
3839 code for finding GOT base for nios2.
3840
3841 2020-01-27 Martin Liska <[email protected]>
3842
3843 PR gcov-profile/93403
3844 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
3845 Call __gcov_indirect_call_profiler_body.
3846 (__gcov_indirect_call_profiler_body): New.
3847 (__gcov_indirect_call_profiler_v4_atomic): New.
3848 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
3849 New declaration.
3850
3851 2020-01-27 Claudiu Zissulescu <[email protected]>
3852
3853 * config/arc/crti.S: Add RF16 object attribute.
3854 * config/arc/crtn.S: Likewise.
3855 * config/arc/crttls.S: Likewise.
3856 * config/arc/lib1funcs.S: Likewise.
3857 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
3858 * config/arc/lib2funcs.c: New file.
3859 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
3860
3861 2020-01-24 Maciej W. Rozycki <[email protected]>
3862
3863 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
3864 * configure.ac: Handle `--with-toolexeclibdir='.
3865 * configure: Regenerate.
3866
3867 2020-01-23 Dragan Mladjenovic <[email protected]>
3868
3869 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
3870
3871 2020-01-23 Dragan Mladjenovic <[email protected]>
3872
3873 * config/mips/gnustack.h: New file.
3874 * config/mips/crti.S: Include gnustack.h.
3875 * config/mips/crtn.S: Likewise.
3876 * config/mips/mips16.S: Likewise.
3877 * config/mips/vr4120-div.S: Likewise.
3878
3879 2020-01-23 Martin Liska <[email protected]>
3880
3881 * libgcov-driver.c (prune_topn_counter): Remove
3882 check for -1 as we only prune run-time counters
3883 that do not generate an invalid state.
3884
3885 2020-01-22 Martin Liska <[email protected]>
3886
3887 PR tree-optimization/92924
3888 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
3889 try to find an existing value, then find an empty slot
3890 if not found.
3891
3892 2020-01-22 Martin Liska <[email protected]>
3893
3894 PR tree-optimization/92924
3895 * libgcov-driver.c (prune_topn_counter): New.
3896 (prune_counters): Likewise.
3897 (dump_one_gcov): Prune a run-time counter.
3898 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3899 For a known value, add GCOV_TOPN_VALUES to value.
3900 Otherwise, decrement all counters by one.
3901
3902 2020-01-18 Hans-Peter Nilsson <[email protected]>
3903
3904 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
3905
3906 2020-01-18 John David Anglin <[email protected]>
3907
3908 PR libgcc/92988
3909 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
3910 DEFAULT_USE_CXA_ATEXIT is true.
3911
3912 2020-01-16 Mihail-Calin Ionescu <[email protected]>
3913 Thomas Preud'homme <[email protected]>
3914
3915 * config/arm/t-arm: Check return value of gcc rather than lack of
3916 output.
3917
3918 2020-01-14 Georg-Johann Lay <[email protected]>
3919
3920 * config/avr/lib1funcs.S (skip): Simplify.
3921
3922 2020-01-10 Kwok Cheung Yeung <[email protected]>
3923
3924 * config/gcn/atomic.c: Remove include of stdint.h.
3925 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
3926 __UINTPTR_TYPE__.
3927
3928 2020-01-09 Kwok Cheung Yeung <[email protected]>
3929
3930 * config/gcn/atomic.c: New.
3931 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
3932
3933 2020-01-08 Georg-Johann Lay <[email protected]>
3934
3935 Implement 64-bit double functions.
3936
3937 PR target/92055
3938 * config.host (tmake_file) [target=avr]: Add t-libf7,
3939 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
3940 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
3941 depending on sizeof (double) or sizeof (long double).
3942 * config/avr/libf7: New folder.
3943
3944 2020-01-05 Olivier Hainque <[email protected]>
3945
3946 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
3947 by IN_LIBGCC2.
3948
3949 2020-01-01 Jakub Jelinek <[email protected]>
3950
3951 Update copyright years.
3952
3953 2019-12-30 Olivier Hainque <[email protected]>
3954
3955 * config/gthr-vxworks.h: Use _vxworks-versions.h.
3956 * config/gthr-vxworks-tls.c: Likewise.
3957
3958 2019-12-30 Olivier Hainque <[email protected]>
3959
3960 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
3961 standard zero-initializer syntax.
3962
3963 2019-12-30 Olivier Hainque <[email protected]>
3964
3965 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
3966 reference to the internal VX_GET_TLS_DATA interface.
3967
3968 2019-12-30 Olivier Hainque <[email protected]>
3969
3970 * config/vxcrtstuff.c: Fix incorrect spelling of
3971 USE_INITFINI_ARRAY in guard.
3972
3973 2019-12-16 Jozef Lawrynowicz <[email protected]>
3974
3975 * config.host: s/msp430*-*-elf/msp430-*-elf*.
3976 Override default "extra_parts" variable.
3977 * configure: Regenerate.
3978 * configure.ac: Disable TM clone registry by default for
3979 msp430-elfbare.
3980
3981 2019-12-11 Jozef Lawrynowicz <[email protected]>
3982
3983 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
3984 "extra_parts".
3985 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
3986
3987 2019-12-11 Jozef Lawrynowicz <[email protected]>
3988
3989 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
3990 true.
3991
3992 2019-12-09 Jozef Lawrynowicz <[email protected]>
3993
3994 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
3995 defined instead of its value.
3996
3997 2019-12-09 Jozef Lawrynowicz <[email protected]>
3998
3999 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
4000 if it will have contents.
4001
4002 2019-12-05 Georg-Johann Lay <[email protected]>
4003
4004 PR target/92055
4005 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
4006
4007 2019-11-18 Szabolcs Nagy <[email protected]>
4008
4009 PR libgcc/91737
4010 * config.host: Add t-gthr-noweak on *-*-musl*.
4011 * config/t-gthr-noweak: New file.
4012
4013 2019-11-17 John David Anglin <[email protected]>
4014
4015 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
4016 volatile void *. Remove trap check.
4017 (__kernel_cmpxchg2): Likewise.
4018 (FETCH_AND_OP_2): Adjust operand types.
4019 (OP_AND_FETCH_2): Likewise.
4020 (FETCH_AND_OP_WORD): Likewise.
4021 (OP_AND_FETCH_WORD): Likewise.
4022 (COMPARE_AND_SWAP_2): Likewise.
4023 (__sync_val_compare_and_swap_4): Likewise.
4024 (__sync_bool_compare_and_swap_4): Likewise.
4025 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4026 (__sync_lock_test_and_set_4): Likewise.
4027 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
4028 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
4029 for release.
4030 (__sync_lock_release_8): Remove.
4031
4032 2019-11-15 Szabolcs Nagy <[email protected]>
4033
4034 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
4035 of __sigset_t.
4036
4037 2019-11-14 Jerome Lambourg <[email protected]>
4038 Doug Rupp <[email protected]>
4039 Olivier Hainque <[email protected]>
4040
4041 * config.host: Collapse the arm-vxworks entries into
4042 a single arm-wrs-vxworks7* one.
4043 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
4044 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
4045 kernel modules, to be overriden by libstdc++ when we link with
4046 it. Rely on externally provided __exidx_start/end.
4047
4048 2019-11-14 Doug Rupp <[email protected]>
4049 Olivier Hainque <[email protected]>
4050
4051 * config.host: Handle aarch64*-wrs-vxworks7*.
4052
4053 2019-11-12 Olivier Hainque <[email protected]>
4054
4055 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
4056 sources except the cxx0x support to LIB2ADDEH. We don't support
4057 cxx0x on AE/653.
4058 * config/t-vxworksae: New file.
4059 * config.host: Handle *-*-vxworksae: Add the two aforementioned
4060 Makefile fragment files at their expected position in the tmake_file
4061 list, in accordance with what is done for other VxWorks variants.
4062
4063 2019-11-12 Corentin Gay <[email protected]>
4064 Jerome Lambourg <[email protected]>
4065 Olivier Hainque <[email protected]>
4066
4067 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
4068 sources to LIB2ADDEH.
4069 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
4070 * config/t-vxworks7: Likewise.
4071
4072 * config.host: Append a block at the end of the file to add the
4073 t-gthr files to the tmake_file list for VxWorks after everything
4074 else.
4075
4076 * config/vxlib.c: Rename as gthr-vxworks.c.
4077 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
4078
4079 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
4080 API and a basic error checking API, both internal. Simplify the
4081 __gthread_once_t type definition and initializers. Add sections
4082 for condition variables support and for the C++0x thread support,
4083 conditioned against Vx653 for the latter.
4084
4085 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
4086 implementation, leveraging the TAS internal API.
4087 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
4088 API, leveraging the general availability of TLS services in VxWorks7
4089 post SR6xxx.
4090 (__gthread_setspecific, __gthread_setspecific): Use it.
4091 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
4092 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
4093 support based on VxWorks primitives.
4094 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
4095 based on VxWorks primitives.
4096
4097 2019-11-06 Jerome Lambourg <[email protected]>
4098 Olivier Hainque <[email protected]>
4099
4100 * config/vxcrtstuff.c: New file.
4101 * config/t-vxcrtstuff: New Makefile fragment.
4102 * config.host: Append t-vxcrtstuff to the tmake_file list
4103 on all VxWorks ports using dwarf for table based EH.
4104
4105 2019-11-07 Georg-Johann Lay <[email protected]>
4106
4107 Support 64-bit double and 64-bit long double configurations.
4108
4109 PR target/92055
4110 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
4111 long double is a 32-bit type.
4112 * config/avr/t-avrlibc: Copy double64 and long-double64
4113 multilib(s) from the vanilla one.
4114 * config/avr/t-copy-libgcc: New Makefile snip.
4115
4116 2019-11-04 Jozef Lawrynowicz <[email protected]>
4117
4118 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
4119 the target output object format is not ELF.
4120 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
4121
4122 2019-11-03 Oleg Endo <[email protected]>
4123
4124 PR libgcc/78804
4125 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
4126 * fp-bit.c (pack_d, unpack_d): Remove special cases for
4127 FLOAT_BIT_ORDER_MISMATCH.
4128 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
4129
4130 2019-11-01 Jim Wilson <[email protected]>
4131
4132 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
4133
4134 2019-10-23 Jozef Lawrynowicz <[email protected]>
4135
4136 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
4137 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
4138 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
4139 Define symbols for 32-bit and f5series hardware multiply
4140 register addresses.
4141 Replace hard-coded register addresses with symbols.
4142 Fix "_mspabi*" typo.
4143 Fix whitespace.
4144 * config/msp430/lib2mul.c: Add comment.
4145
4146 2019-10-15 John David Anglin <[email protected]>
4147
4148 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
4149 unsigned int. Adjust callers.
4150 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
4151 unsigned int *. Load relocation offset before function pointer.
4152 Add barrier to ensure ordering.
4153
4154 2019-10-12 John David Anglin <[email protected]>
4155
4156 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
4157 Load PIC register after branch target. Fix white space.
4158 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
4159 implementations. Load PIC register after branch target. Don't
4160 clobber function pointer when it points to function descriptor.
4161 Use nullification instead of branch in LINUX implementation.
4162
4163 2019-10-03 John David Anglin <[email protected]>
4164
4165 * config/pa/fptr.c: Disable -Warray-bounds warning.
4166
4167 2019-09-25 Richard Henderson <[email protected]>
4168
4169 * config.in, configure: Re-rebuild with stock autoconf 2.69,
4170 not the ubuntu modified 2.69.
4171
4172 PR target/91833
4173 * config/aarch64/lse-init.c: Include auto-target.h. Disable
4174 initialization if !HAVE_SYS_AUXV_H.
4175 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
4176 * config.in, configure: Rebuild.
4177
4178 PR target/91834
4179 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
4180 overlap the inputs.
4181
4182 2019-09-25 Shaokun Zhang <[email protected]>
4183
4184 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
4185 CTR_EL0.IDC and CTR_EL0.DIC.
4186
4187 2019-09-20 Christophe Lyon <[email protected]>
4188
4189 Revert:
4190 2019-09-10 Christophe Lyon <[email protected]>
4191 Mickaël Guêné <[email protected]>
4192
4193 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
4194 architecture.
4195
4196 2019-09-19 Richard Henderson <[email protected]>
4197
4198 * config/aarch64/lse-init.c: New file.
4199 * config/aarch64/lse.S: New file.
4200 * config/aarch64/t-lse: New file.
4201 * config.host: Add t-lse to all aarch64 tuples.
4202
4203 2019-09-10 Christophe Lyon <[email protected]>
4204 Mickaël Guêné <[email protected]>
4205
4206 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
4207 architecture.
4208
4209 2019-09-10 Christophe Lyon <[email protected]>
4210 Mickaël Guêné <[email protected]>
4211
4212 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
4213 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
4214 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
4215 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
4216 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
4217 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
4218 (__gnu_personality_sigframe_fdpic): New.
4219 (get_eit_entry): Add FDPIC signal frame support.
4220
4221 2019-09-10 Christophe Lyon <[email protected]>
4222 Mickaël Guêné <[email protected]>
4223
4224 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
4225 (__kernel_dmb): Likewise.
4226 (__fdpic_cmpxchg): New function.
4227 (__fdpic_dmb): New function.
4228 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
4229 (gnu_Unwind_Find_got): New function.
4230 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
4231 * unwind-arm-common.inc (UCB_PR_GOT): New.
4232 (funcdesc_t): New struct.
4233 (get_eit_entry): Add FDPIC support.
4234 (unwind_phase2): Likewise.
4235 (unwind_phase2_forced): Likewise.
4236 (__gnu_Unwind_RaiseException): Likewise.
4237 (__gnu_Unwind_Resume): Likewise.
4238 (__gnu_Unwind_Backtrace): Likewise.
4239 * unwind-pe.h (read_encoded_value_with_base): Likewise.
4240
4241 2019-09-10 Christophe Lyon <[email protected]>
4242 Mickaël Guêné <[email protected]>
4243
4244 * libgcc/crtstuff.c: Add support for FDPIC.
4245
4246 2019-09-10 Christophe Lyon <[email protected]>
4247
4248 * config.host: Handle *-*-uclinuxfdpiceabi.
4249
4250 2019-09-09 Jose E. Marchesi <[email protected]>
4251
4252 * config.host: Set cpu_type for bpf-*-* targets.
4253 * config/bpf/t-bpf: Likewise.
4254 * config/bpf/crtn.S: Likewise.
4255 * config/bpf/crti.S: New file.
4256
4257 2019-09-06 Jim Wilson <[email protected]>
4258
4259 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4260 (riscv*-*-freebsd*): Likewise.
4261
4262 2019-09-03 Ulrich Weigand <[email protected]>
4263
4264 * config.host: Remove references to spu.
4265 * config/spu/: Remove directory.
4266
4267 2019-08-23 Jozef Lawrynowicz <[email protected]>
4268
4269 PR target/91306
4270 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
4271 element type, instead of "sizeof" the element type.
4272 (__DTOR_LIST__): Likewise.
4273 (__TMC_LIST__): Likewise.
4274 (__do_global_dtors_aux_fini_array_entry): Likewise.
4275 (__frame_dummy_init_array_entry): Likewise.
4276 (__CTOR_END__): Likewise.
4277 (__DTOR_END__): Likweise.
4278 (__FRAME_END__): Likewise.
4279 (__TMC_END__): Likewise.
4280
4281 2019-08-20 Lili Cui <[email protected]>
4282
4283 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
4284 INTEL_COREI7_COOPERLAKE.
4285
4286 2019-07-31 Matt Thomas <[email protected]>
4287 Nick Hudson <[email protected]>
4288 Matthew Green <[email protected]>
4289 Maya Rashish <[email protected]>
4290
4291 * config.host (hppa*-*-netbsd*): New case.
4292 * config/pa/t-netbsd: New file.
4293
4294 2019-07-31 Joel Hutton <[email protected]>
4295
4296 * config/arm/cmse.c (cmse_check_address_range): Add
4297 warn_unused_result attribute.
4298
4299 2019-07-22 Martin Liska <[email protected]>
4300
4301 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
4302 * config/pa/t-stublib: Likewise.
4303
4304 2019-07-22 Stafford Horne <[email protected]>
4305
4306 PR target/90362
4307 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
4308 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
4309 instructions are not available on every processor. Change a
4310 l.bnf to l.bf to fix logic issue.
4311
4312 2019-07-04 Iain Sandoe <[email protected]>
4313
4314 * config.host: Remove reference to t-darwin8.
4315
4316 2019-07-03 Iain Sandoe <[email protected]>
4317
4318 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
4319 list.
4320 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
4321 mmacosx-version-min for crts to run across all system versions.
4322 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
4323 * config/t-darwin: Revise mmacosx-version-min for crts to run across
4324 system versions >= 10.4.
4325
4326 2019-07-03 Martin Liska <[email protected]>
4327
4328 * Makefile.in: Use topn_values instead of one_value names.
4329 * libgcov-merge.c (__gcov_merge_single): Move to ...
4330 (__gcov_merge_topn): ... this.
4331 (merge_single_value_set): Move to ...
4332 (merge_topn_values_set): ... this.
4333 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
4334 ...
4335 (__gcov_topn_values_profiler_body): ... this.
4336 (__gcov_one_value_profiler_v2): Move to ...
4337 (__gcov_topn_values_profiler): ... this.
4338 (__gcov_one_value_profiler_v2_atomic): Move to ...
4339 (__gcov_topn_values_profiler_atomic): ... this.
4340 (__gcov_indirect_call_profiler_v4): Remove.
4341 * libgcov-util.c (__gcov_single_counter_op): Move to ...
4342 (__gcov_topn_counter_op): ... this.
4343 * libgcov.h (L_gcov_merge_single): Remove.
4344 (L_gcov_merge_topn): New.
4345 (__gcov_merge_single): Remove.
4346 (__gcov_merge_topn): New.
4347 (__gcov_one_value_profiler_v2): Move to ..
4348 (__gcov_topn_values_profiler): ... this.
4349 (__gcov_one_value_profiler_v2_atomic): Move to ...
4350 (__gcov_topn_values_profiler_atomic): ... this.
4351
4352 2019-07-03 Martin Liska <[email protected]>
4353
4354 * libgcov-merge.c (merge_single_value_set): Support N values.
4355 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
4356
4357 2019-06-27 Ilia Diachkov <[email protected]>
4358
4359 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
4360 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
4361 * configure.ac: Add --disable-tm-clone-registry option.
4362 * configure: Regenerate.
4363
4364 2019-06-27 Martin Liska <[email protected]>
4365
4366 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
4367 dead assignments.
4368 * libgcov-util.c: Likewise.
4369
4370 2019-06-27 Martin Liska <[email protected]>
4371
4372 * libgcov-util.c (gcov_profile_merge): Release allocated
4373 memory.
4374 (calculate_overlap): Likewise.
4375
4376 2019-06-25 Iain Sandoe <[email protected]>
4377
4378 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
4379 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
4380 Build objects for the out of line save/restore register functions
4381 so that they can be used for any supported Darwin version.
4382 * config/t-darwin: Default the build Darwin version to Darwin8
4383 (MacOS 10.4).
4384
4385 2019-06-25 Martin Liska <[email protected]>
4386
4387 * libgcov-driver-system.c (replace_filename_variables): Do not
4388 call strlen with NULL argument.
4389
4390 2019-06-25 Andrew Stubbs <[email protected]>
4391
4392 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
4393 * config/gcn/unwind-gcn.c: New file.
4394
4395 2019-06-25 Kwok Cheung Yeung <[email protected]>
4396 Andrew Stubbs <[email protected]>
4397
4398 * configure: Regenerate.
4399 * config/gcn/gthr-gcn.h: New.
4400
4401 2019-06-18 Tom de Vries <[email protected]>
4402
4403 * config/nvptx/crt0.c (__main): Declare.
4404
4405 2019-06-17 Matthew Green <[email protected]>
4406 Maya Rashish <[email protected]>
4407
4408 * config.host (aarch64*-*-netbsd*): New case.
4409
4410 2019-06-16 Jozef Lawrynowicz <[email protected]>
4411
4412 * config/msp430/slli.S (__mspabi_sllll): New library function for
4413 performing a logical left shift of a 64-bit value.
4414 * config/msp430/srai.S (__mspabi_srall): New library function for
4415 performing a arithmetic right shift of a 64-bit value.
4416 * config/msp430/srll.S (__mspabi_srlll): New library function for
4417 performing a logical right shift of a 64-bit value.
4418
4419 2019-06-14 Matt Thomas <[email protected]>
4420 Matthew Green <[email protected]>
4421 Nick Hudson <[email protected]>
4422 Maya Rashish <[email protected]>
4423
4424 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
4425 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
4426 functions to build.
4427 * config/arm/t-netbsd-eabi: New file.
4428
4429 2019-06-12 Dimitar Dimitrov <[email protected]>
4430
4431 * config.host: Add PRU target.
4432 * config/pru/asri.c: New file.
4433 * config/pru/eqd.c: New file.
4434 * config/pru/eqf.c: New file.
4435 * config/pru/ged.c: New file.
4436 * config/pru/gef.c: New file.
4437 * config/pru/gtd.c: New file.
4438 * config/pru/gtf.c: New file.
4439 * config/pru/led.c: New file.
4440 * config/pru/lef.c: New file.
4441 * config/pru/lib2bitcountHI.c: New file.
4442 * config/pru/lib2divHI.c: New file.
4443 * config/pru/lib2divQI.c: New file.
4444 * config/pru/lib2divSI.c: New file.
4445 * config/pru/libgcc-eabi.ver: New file.
4446 * config/pru/ltd.c: New file.
4447 * config/pru/ltf.c: New file.
4448 * config/pru/mpyll.S: New file.
4449 * config/pru/pru-abi.h: New file.
4450 * config/pru/pru-asm.h: New file.
4451 * config/pru/pru-divmod.h: New file.
4452 * config/pru/sfp-machine.h: New file.
4453 * config/pru/t-pru: New file.
4454
4455 2019-06-11 Jakub Jelinek <[email protected]>
4456
4457 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
4458
4459 2019-06-10 Martin Liska <[email protected]>
4460
4461 PR bootstrap/90808
4462 * libgcov.h: Add ATTRIBUTE_UNUSED.
4463
4464 2019-06-10 Martin Liska <[email protected]>
4465
4466 * Makefile.in: Add __gcov_one_value_profiler_v2,
4467 __gcov_one_value_profiler_v2_atomic and
4468 __gcov_indirect_call_profiler_v4.
4469 * libgcov-merge.c (__gcov_merge_single): Change
4470 function signature.
4471 (merge_single_value_set): New.
4472 * libgcov-profiler.c (__gcov_one_value_profiler_body):
4473 Update functionality.
4474 (__gcov_one_value_profiler): Remove.
4475 (__gcov_one_value_profiler_v2): ... this.
4476 (__gcov_one_value_profiler_atomic): Rename to ...
4477 (__gcov_one_value_profiler_v2_atomic): this.
4478 (__gcov_indirect_call_profiler_v3): Rename to ...
4479 (__gcov_indirect_call_profiler_v4): ... this.
4480 * libgcov.h (__gcov_one_value_profiler): Remove.
4481 (__gcov_one_value_profiler_atomic): Remove.
4482 (__gcov_one_value_profiler_v2_atomic): New.
4483 (__gcov_indirect_call_profiler_v3): Remove.
4484 (__gcov_one_value_profiler_v2): New.
4485 (__gcov_indirect_call_profiler_v4): New.
4486 (gcov_get_counter_ignore_scaling): New function.
4487
4488 2019-06-07 Martin Liska <[email protected]>
4489
4490 * Makefile.in: Remove usage of
4491 _gcov_merge_icall_topn.
4492 * libgcov-driver.c (gcov_sort_n_vals): Remove.
4493 (gcov_sort_icall_topn_counter): Likewise.
4494 (gcov_sort_topn_counter_arrays): Likewise.
4495 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
4496 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
4497 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
4498 Likewise.
4499 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
4500 (struct indirect_call_tuple): Remove.
4501 (__gcov_indirect_call_topn_profiler): Remove.
4502 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
4503 * libgcov.h (gcov_sort_n_vals): Remove.
4504 (L_gcov_merge_icall_topn): Likewise.
4505 (__gcov_merge_icall_topn): Likewise.
4506 (__gcov_indirect_call_topn_profiler): Likewise.
4507
4508 2019-06-06 Iain Sandoe <[email protected]>
4509
4510 * config/rs6000/t-darwin: Ensure that the unwinder is built with
4511 altivec enabled.
4512
4513 2019-06-06 Jozef Lawrynowicz <[email protected]>
4514
4515 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
4516 section.
4517 (__mspabi_slli): Likewise.
4518 (__mspabi_slll_n): Likewise.
4519 (__mspabi_slll): Likewise.
4520 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
4521 (__mspabi_srai): Likewise.
4522 (__mspabi_sral_n): Likewise.
4523 (__mspabi_sral): Likewise.
4524 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
4525 (__mspabi_srli): Likewise.
4526 (__mspabi_srll_n): Likewise.
4527 (__mspabi_srll): Likewise.
4528
4529 2019-06-05 Yoshinori Sato <[email protected]>
4530
4531 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
4532 Add appropriate tm_file clause as well.
4533 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
4534
4535 2019-06-05 James Clarke <[email protected]>
4536
4537 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
4538 rather than .data/.bss so it can be accessed via gp-relative
4539 addressing.
4540
4541 2019-06-05 David Edelsohn <[email protected]>
4542
4543 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
4544 (CR2_REGNO): Rename to R_CR2.
4545 (XER_REGNO): Rename to R_XER.
4546 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
4547 (VRSAVE_REGNO): Rename to R_VRSAVE.
4548 (VSCR_REGNO): R_VSCR.
4549
4550 2019-05-29 Yoshinori Sato <[email protected]>
4551
4552 * config.host (rx-*-linux*): Add new case.
4553 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
4554
4555 2019-05-29 Sam Tebbs <[email protected]>
4556
4557 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
4558 function.
4559 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
4560 aarch64_post_frob_eh_handler_addr): Add check for b-key.
4561 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
4562 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
4563 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
4564 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
4565 string.
4566 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
4567 string.
4568 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
4569
4570 2019-05-28 Rainer Orth <[email protected]>
4571
4572 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
4573 Remove Solaris 9 and 10 support.
4574 (sparc_is_sighandler): Likewise.
4575
4576 2019-05-26 John David Anglin <[email protected]>
4577
4578 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
4579
4580 2019-05-17 H.J. Lu <[email protected]>
4581
4582 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4583 4_FP_W_TYPEs are used for IEEE quad precision.
4584 * soft-fp/extendhftf2.c: Likewise.
4585 * soft-fp/extendsftf2.c: Likewise.
4586 * soft-fp/extendxftf2.c: Likewise.
4587 * soft-fp/trunctfdf2.c: Likewise.
4588 * soft-fp/trunctfhf2.c: Likewise.
4589 * soft-fp/trunctfsf2.c: Likewise.
4590 * soft-fp/trunctfxf2.c: Likewise.
4591 * config/rs6000/ibm-ldouble.c: Likewise.
4592
4593 2019-05-14 Rainer Orth <[email protected]>
4594
4595 * config.host: Simplify various *-*-solaris2.1[0-9]* to
4596 *-*-solaris2*.
4597 * configure.ac: Likewise.
4598 * configure: Regenerate.
4599
4600 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4601 Solaris 10 and Solaris 11 < snv_125 handling.
4602
4603 2019-05-12 Iain Sandoe <[email protected]>
4604
4605 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
4606
4607 2019-05-07 Hongtao Liu <[email protected]>
4608
4609 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
4610 * config/i386/cpuinfo.h (enum processor_features): Add
4611 FEATURE_AVX512BF16.
4612
4613 2019-04-23 Ramana Radhakrishnan <[email protected]>
4614 Bernd Edlinger <[email protected]>
4615 Jakub Jelinek <[email protected]>
4616
4617 PR target/89093
4618 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
4619 * config/arm/unwind-arm.c: Likewise.
4620 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
4621 attribute for ARM.
4622
4623 2019-04-15 Monk Chiang <[email protected]>
4624
4625 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
4626 (RT_SIGRETURN): Update.
4627 (nds32_fallback_frame_state): Update.
4628
4629 2019-02-21 Martin Sebor <[email protected]>
4630
4631 * libgcc2.h (__clear_cache): Correct signature.
4632 * libgcc2.c (__clear_cache): Same.
4633
4634 2019-02-20 UroÅ¡ Bizjak <[email protected]>
4635
4636 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
4637 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
4638
4639 2019-02-19 UroÅ¡ Bizjak <[email protected]>
4640
4641 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
4642 regno instead of index to DWARF_ZERO_REG.
4643
4644 2019-02-15 Eric Botcazou <[email protected]>
4645
4646 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
4647 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
4648
4649 2019-01-31 UroÅ¡ Bizjak <[email protected]>
4650
4651 * config/alpha/t-linux: Add -mfp-rounding-mode=d
4652 to HOST_LIBGCC2_CFLAGS.
4653
4654 2019-01-23 Joseph Myers <[email protected]>
4655
4656 PR libgcc/88931
4657 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
4658
4659 2019-01-18 Martin Liska <[email protected]>
4660
4661 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
4662 to ...
4663 (__gcov_indirect_call_profiler_v3): ... this.
4664 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
4665 (__gcov_indirect_call_profiler_v3): Likewise.
4666 * Makefile.in: Bump function name.
4667
4668 2019-01-18 Martin Liska <[email protected]>
4669
4670 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
4671 (gcov_version): Use in gcov_error.
4672 (merge_one_data): Likewise.
4673 (dump_one_gcov): Likewise.
4674
4675 2019-01-18 Martin Liska <[email protected]>
4676
4677 * libgcov-driver.c (gcov_version_string): New function.
4678 (gcov_version): Convert version integer into string.
4679
4680 2019-01-17 Andrew Stubbs <[email protected]>
4681 Kwok Cheung Yeung <[email protected]>
4682 Julian Brown <[email protected]>
4683 Tom de Vries <[email protected]>
4684
4685 * config.host: Recognize amdgcn*-*-amdhsa.
4686 * config/gcn/crt0.c: New file.
4687 * config/gcn/lib2-divmod-hi.c: New file.
4688 * config/gcn/lib2-divmod.c: New file.
4689 * config/gcn/lib2-gcn.h: New file.
4690 * config/gcn/sfp-machine.h: New file.
4691 * config/gcn/t-amdgcn: New file.
4692
4693 2019-01-09 Sandra Loosemore <[email protected]>
4694
4695 PR other/16615
4696
4697 * config/c6x/libunwind.S: Mechanically replace "can not" with
4698 "cannot".
4699 * config/tilepro/atomic.h: Likewise.
4700 * config/vxlib-tls.c: Likewise.
4701 * generic-morestack-thread.c: Likewise.
4702 * generic-morestack.c: Likewise.
4703 * mkmap-symver.awk: Likewise.
4704
4705 2019-01-01 Jakub Jelinek <[email protected]>
4706
4707 Update copyright years.
4708
4709 2018-12-20 H.J. Lu <[email protected]>
4710
4711 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
4712 to ignore -Waddress-of-packed-member.
4713
4714 2018-12-19 Thomas Preud'homme <[email protected]>
4715
4716 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
4717 parameter and corresponding code.
4718 (ARM_FUNC_START): Likewise in both definitions.
4719 Also update footer comment about condition that need to match with
4720 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
4721 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
4722 defined. Weakly define it in this case.
4723 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
4724 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
4725 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
4726 comment to keep condition in sync with the one in
4727 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
4728
4729 2018-12-18 Wei Xiao <[email protected]>
4730
4731 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
4732 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
4733
4734 2018-12-12 Rasmus Villemoes <[email protected]>
4735
4736 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
4737 and .cfi_endproc directives for VxWorks targets.
4738
4739 2018-12-05 Paul Koning <[email protected]>
4740
4741 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
4742
4743 2018-11-27 Alan Modra <[email protected]>
4744
4745 * config/rs6000/morestack.S (__stack_split_initialize),
4746 (__morestack_get_guard, __morestack_set_guard),
4747 (__morestack_make_guard): Provide CFI covering these functions.
4748 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
4749
4750 2018-11-15 Xianmiao Qu <[email protected]>
4751
4752 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
4753 (sc_pt_regs_lr): Update for kernel.
4754 (sc_pt_regs_tls): Update for kernel.
4755
4756 2018-11-15 Xianmiao Qu <[email protected]>
4757
4758 * config/csky/linux-unwind.h: Fix coding style.
4759
4760 2018-11-13 Xianmiao Qu <[email protected]>
4761
4762 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
4763 (csky_fallback_frame_state): Modify the check of the
4764 instructions to adapt to changes in the kernel
4765
4766 2018-11-09 Stafford Horne <[email protected]>
4767 Richard Henderson <[email protected]>
4768
4769 * config.host: Add OpenRISC support.
4770 * config/or1k/*: New.
4771
4772 2018-11-08 Kito Cheng <[email protected]>
4773
4774 * soft-fp/adddf3.c: Update from glibc.
4775 * soft-fp/addsf3.c: Likewise.
4776 * soft-fp/addtf3.c: Likewise.
4777 * soft-fp/divdf3.c: Likewise.
4778 * soft-fp/divsf3.c: Likewise.
4779 * soft-fp/divtf3.c: Likewise.
4780 * soft-fp/double.h: Likewise.
4781 * soft-fp/eqdf2.c: Likewise.
4782 * soft-fp/eqsf2.c: Likewise.
4783 * soft-fp/eqtf2.c: Likewise.
4784 * soft-fp/extenddftf2.c: Likewise.
4785 * soft-fp/extended.h: Likewise.
4786 * soft-fp/extendhftf2.c: Likewise.
4787 * soft-fp/extendsfdf2.c: Likewise.
4788 * soft-fp/extendsftf2.c: Likewise.
4789 * soft-fp/extendxftf2.c: Likewise.
4790 * soft-fp/fixdfdi.c: Likewise.
4791 * soft-fp/fixdfsi.c: Likewise.
4792 * soft-fp/fixdfti.c: Likewise.
4793 * soft-fp/fixhfti.c: Likewise.
4794 * soft-fp/fixsfdi.c: Likewise.
4795 * soft-fp/fixsfsi.c: Likewise.
4796 * soft-fp/fixsfti.c: Likewise.
4797 * soft-fp/fixtfdi.c: Likewise.
4798 * soft-fp/fixtfsi.c: Likewise.
4799 * soft-fp/fixtfti.c: Likewise.
4800 * soft-fp/fixunsdfdi.c: Likewise.
4801 * soft-fp/fixunsdfsi.c: Likewise.
4802 * soft-fp/fixunsdfti.c: Likewise.
4803 * soft-fp/fixunshfti.c: Likewise.
4804 * soft-fp/fixunssfdi.c: Likewise.
4805 * soft-fp/fixunssfsi.c: Likewise.
4806 * soft-fp/fixunssfti.c: Likewise.
4807 * soft-fp/fixunstfdi.c: Likewise.
4808 * soft-fp/fixunstfsi.c: Likewise.
4809 * soft-fp/fixunstfti.c: Likewise.
4810 * soft-fp/floatdidf.c: Likewise.
4811 * soft-fp/floatdisf.c: Likewise.
4812 * soft-fp/floatditf.c: Likewise.
4813 * soft-fp/floatsidf.c: Likewise.
4814 * soft-fp/floatsisf.c: Likewise.
4815 * soft-fp/floatsitf.c: Likewise.
4816 * soft-fp/floattidf.c: Likewise.
4817 * soft-fp/floattihf.c: Likewise.
4818 * soft-fp/floattisf.c: Likewise.
4819 * soft-fp/floattitf.c: Likewise.
4820 * soft-fp/floatundidf.c: Likewise.
4821 * soft-fp/floatundisf.c: Likewise.
4822 * soft-fp/floatunditf.c: Likewise.
4823 * soft-fp/floatunsidf.c: Likewise.
4824 * soft-fp/floatunsisf.c: Likewise.
4825 * soft-fp/floatunsitf.c: Likewise.
4826 * soft-fp/floatuntidf.c: Likewise.
4827 * soft-fp/floatuntihf.c: Likewise.
4828 * soft-fp/floatuntisf.c: Likewise.
4829 * soft-fp/floatuntitf.c: Likewise.
4830 * soft-fp/gedf2.c: Likewise.
4831 * soft-fp/gesf2.c: Likewise.
4832 * soft-fp/getf2.c: Likewise.
4833 * soft-fp/half.h: Likewise.
4834 * soft-fp/ledf2.c: Likewise.
4835 * soft-fp/lesf2.c: Likewise.
4836 * soft-fp/letf2.c: Likewise.
4837 * soft-fp/muldf3.c: Likewise.
4838 * soft-fp/mulsf3.c: Likewise.
4839 * soft-fp/multf3.c: Likewise.
4840 * soft-fp/negdf2.c: Likewise.
4841 * soft-fp/negsf2.c: Likewise.
4842 * soft-fp/negtf2.c: Likewise.
4843 * soft-fp/op-1.h: Likewise.
4844 * soft-fp/op-2.h: Likewise.
4845 * soft-fp/op-4.h: Likewise.
4846 * soft-fp/op-8.h: Likewise.
4847 * soft-fp/op-common.h: Likewise.
4848 * soft-fp/quad.h: Likewise.
4849 * soft-fp/single.h: Likewise.
4850 * soft-fp/soft-fp.h: Likewise.
4851 * soft-fp/subdf3.c: Likewise.
4852 * soft-fp/subsf3.c: Likewise.
4853 * soft-fp/subtf3.c: Likewise.
4854 * soft-fp/truncdfsf2.c: Likewise.
4855 * soft-fp/trunctfdf2.c: Likewise.
4856 * soft-fp/trunctfhf2.c: Likewise.
4857 * soft-fp/trunctfsf2.c: Likewise.
4858 * soft-fp/trunctfxf2.c: Likewise.
4859 * soft-fp/unorddf2.c: Likewise.
4860 * soft-fp/unordsf2.c: Likewise.
4861 * soft-fp/unordtf2.c: Likewise.
4862
4863 2018-11-04 Venkataramanan Kumar <[email protected]>
4864
4865 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
4866 * config/i386/cpuinfo.h (processor_types): Add znver2.
4867
4868 2018-11-01 Paul Koning <[email protected]>
4869
4870 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
4871 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
4872
4873 2018-10-31 Joseph Myers <[email protected]>
4874
4875 PR bootstrap/82856
4876 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
4877 * configure: Regenerate.
4878
4879 2018-10-31 Claudiu Zissulescu <[email protected]>
4880
4881 * config/arc/lib1funcs.S (_muldi3): New function.
4882 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
4883
4884 2018-10-30 Rasmus Villemoes <[email protected]>
4885
4886 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
4887
4888 2018-10-25 Martin Liska <[email protected]>
4889
4890 PR other/87735
4891 * libgcov-profiler.c: Revert.
4892
4893 2018-10-24 Martin Liska <[email protected]>
4894
4895 * libgcov-profiler.c: Start from 1 in order to distinguish
4896 functions which were seen and these that were not.
4897
4898 2018-10-18 Paul Koning <[email protected]>
4899
4900 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4901 standard.
4902 * divmod.c: Update references to __udivmodsi4.
4903 * udivmod.c: Ditto.
4904 * udivhi3.c: New file.
4905 * udivmodhi4.c: New file.
4906 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
4907
4908 2018-10-17 Rasmus Villemoes <[email protected]>
4909
4910 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4911
4912 2018-10-12 Olivier Hainque <[email protected]>
4913
4914 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
4915 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
4916
4917 2018-10-08 Paul Koning <[email protected]>
4918
4919 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4920
4921 2018-10-04 Martin Liska <[email protected]>
4922
4923 PR gcov-profile/84107
4924 * libgcov-profiler.c (__gcov_indirect_call):
4925 Change type to indirect_call_tuple.
4926 (struct indirect_call_tuple): New struct.
4927 (__gcov_indirect_call_topn_profiler): Change type.
4928 (__gcov_indirect_call_profiler_v2): Use the new
4929 variables.
4930 * libgcov.h (struct indirect_call_tuple): New struct
4931 definition.
4932
4933 2018-10-03 Uros Bizjak <[email protected]>
4934
4935 * libgcc2.c (isnan): Use __builtin_isnan.
4936 (isfinite): Use __builtin_isfinite.
4937 (isinf): Use __builtin_isinf.
4938
4939 2018-09-26 Uros Bizjak <[email protected]>
4940
4941 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
4942
4943 2018-09-21 Alexandre Oliva <[email protected]>
4944
4945 * config/vxcache.c: New file. Provide __clear_cache, based on
4946 the cacheTextUpdate VxWorks service.
4947 * config/t-vxworks (LIB2ADD): Add vxcache.c.
4948 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
4949 * config/t-vxwoks7: Likewise.
4950
4951 2018-09-21 Martin Liska <[email protected]>
4952
4953 * libgcov-driver.c (crc32_unsigned): Remove.
4954 (gcov_histogram_insert): Likewise.
4955 (gcov_compute_histogram): Likewise.
4956 (compute_summary): Simplify rapidly.
4957 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
4958 (merge_summary): Rapidly simplify.
4959 (dump_one_gcov): Ignore gcov_summary.
4960 (gcov_do_dump): Do not handle program summary, it's not
4961 used.
4962 * libgcov-util.c (tag_summary): Remove.
4963 (read_gcda_finalize): Fix coding style.
4964 (read_gcda_file): Initialize curr_object_summary.
4965 (compute_summary): Remove.
4966 (calculate_overlap): Remove settings of run_max.
4967
4968 2018-09-21 Monk Chiang <[email protected]>
4969
4970 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
4971 ucontext_t type instead.
4972 (nds32_fallback_frame_state): Remove struct _sigframe statement.
4973
4974 2018-09-21 Kito Cheng <[email protected]>
4975
4976 * config/nds32/t-nds32-glibc: New file.
4977
4978 2018-09-18 Rainer Orth <[email protected]>
4979
4980 * configure.ac (solaris_ld_v2_maps): New test.
4981 * configure: Regenerate.
4982 * Makefile.in (solaris_ld_v2_maps): New variable.
4983 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
4984 if supported.
4985
4986 2018-08-23 Richard Earnshaw <[email protected]>
4987
4988 PR target/86951
4989 * config/arm/lib1funcs.asm (speculation_barrier): New function.
4990 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
4991 to build.
4992
4993 2018-08-22 Iain Sandoe <[email protected]>
4994
4995 * config/unwind-dw2-fde-darwin.c
4996 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
4997 * config/darwin10-unwind-find-enc-func.c: … to here.
4998 * config/t-darwin: Build Darwin10 unwinder shim crt.
4999 * libgcc/config.host: Add the Darwin10 unwinder shim.
5000
5001 2018-08-21 Rasmus Villemoes <[email protected]>
5002
5003 * config.host: Add crtbegin.o and crtend.o for
5004 powerpc-wrs-vxworks target.
5005
5006 2018-08-17 Jojo <[email protected]>
5007 Huibin Wang <[email protected]>
5008 Sandra Loosemore <[email protected]>
5009 Chung-Lin Tang <[email protected]>
5010
5011 C-SKY port: libgcc
5012
5013 * config.host: Add C-SKY support.
5014 * config/csky/*: New.
5015
5016 2018-08-12 Chung-Ju Wu <[email protected]>
5017
5018 * config/nds32/t-nds32-isr: Rearrange object dependency.
5019 * config/nds32/initfini.c: Add dwarf2 unwinding support.
5020 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
5021 and registers usage.
5022 * config/nds32/isr-library/excp_isr.S: Ditto.
5023 * config/nds32/isr-library/intr_isr.S: Ditto.
5024 * config/nds32/isr-library/reset.S: Ditto.
5025 * config/nds32/isr-library/restore_all.inc: Ditto.
5026 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
5027 * config/nds32/isr-library/restore_partial.inc: Ditto.
5028 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
5029 * config/nds32/isr-library/save_all.inc: Ditto.
5030 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
5031 * config/nds32/isr-library/save_partial.inc: Ditto.
5032 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
5033 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
5034
5035 2018-08-11 John David Anglin <[email protected]>
5036
5037 * config/pa/linux-atomic.c: Update comment.
5038 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
5039 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
5040 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
5041 __ATOMIC_RELAXED for atomic loads.
5042 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
5043 unordered store to release lock.
5044 (__sync_lock_release_8): Likewise.
5045 (SYNC_LOCK_RELEASE_2): Remove define.
5046
5047 2018-08-02 Nicolas Pitre <[email protected]>
5048
5049 PR libgcc/86512
5050 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
5051 exponent goes negative. Update my email address.
5052 * config/arm/ieee754-sf.S: Likewise.
5053
5054 2018-08-01 Martin Liska <[email protected]>
5055
5056 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
5057 check that __gcov_indirect_call_callee is non-null.
5058
5059 2018-07-30 Christophe Lyon <[email protected]>
5060
5061 * config/arm/ieee754-df.S: Fix comment for code working on
5062 architectures >= 4.
5063 * config/arm/ieee754-sf.S: Likewise.
5064
5065 2018-07-27 H.J. Lu <[email protected]>
5066
5067 PR libgcc/85334
5068 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
5069 Removed.
5070
5071 2018-07-05 James Clarke <[email protected]>
5072
5073 * configure: Regenerated.
5074
5075 2018-06-27 Rainer Orth <[email protected]>
5076
5077 * Makefile.in (install_leaf): Use enable_gcov instead of
5078 enable_libgcov.
5079
5080 2018-06-27 Rasmus Villemoes <[email protected]>
5081
5082 * configure.ac: Add --disable-gcov option.
5083 * configure: Regenerate.
5084 * Makefile.in: Honour @enable_gcov@.
5085
5086 2018-06-21 Christophe Lyon <[email protected]>
5087
5088 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
5089 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
5090 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
5091 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
5092 __ARM_ARCH__.
5093 * config/arm/ieee754-sf.S: Likewise.
5094 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
5095
5096 2018-06-21 Christophe Lyon <[email protected]>
5097
5098 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
5099 longer supported.
5100 * config/arm/ieee754-sf.S: Likewise.
5101
5102 2018-06-20 Than McIntosh <[email protected]>
5103
5104 PR libgcc/86213
5105 * generic-morestack.c (allocate_segment): Move calls to getenv and
5106 getpagesize to __morestack_load_mmap.
5107 (__morestack_load_mmap) Initialize static_pagesize and
5108 use_guard_page here so as to avoid clobbering SSE regs during a
5109 __morestack call.
5110
5111 2018-06-18 Michael Meissner <[email protected]>
5112
5113 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
5114 support modules with -mno-gnu-attribute.
5115 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
5116
5117 2018-06-07 Olivier Hainque <[email protected]>
5118
5119 * config/t-vxworks (LIBGCC_INCLUDES): Add
5120 -I$(MULTIBUILDTOP)../../gcc/include.
5121 * config/t-vxworks7: Likewise. Reformat a bit to match
5122 the t-vxworks layout.
5123
5124 2018-06-07 Olga Makhotina <[email protected]>
5125
5126 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
5127
5128 2018-06-07 Martin Liska <[email protected]>
5129
5130 * libgcov-driver.c: Rename cs_all to all and assign it from
5131 all_prg.
5132
5133 2018-06-07 Martin Liska <[email protected]>
5134
5135 PR bootstrap/86057
5136 * libgcov-driver-system.c (replace_filename_variables): Use
5137 memcpy instead of mempcpy.
5138 (allocate_filename_struct): Do not allocate filename, allocate
5139 prefix and set it.
5140 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
5141 here and properly copy content into it.
5142 * libgcov-driver.c (struct gcov_filename): Remove max_length
5143 field, change prefix from size_t into char *.
5144 (compute_summary): Do not calculate longest filename.
5145 (gcov_do_dump): Release memory of gf.filename after each file.
5146 * libgcov-util.c (compute_summary): Use new signature of
5147 compute_summary.
5148 (calculate_overlap): Likewise.
5149
5150 2018-06-05 Martin Liska <[email protected]>
5151
5152 PR gcov-profile/47618
5153 * libgcov-driver-system.c (replace_filename_variables): New
5154 function.
5155 (gcov_exit_open_gcda_file): Use it.
5156
5157 2018-06-05 Martin Liska <[email protected]>
5158
5159 * libgcov-driver.c (gcov_compute_histogram): Remove usage
5160 of gcov_ctr_summary.
5161 (compute_summary): Do it just for a single summary.
5162 (merge_one_data): Likewise.
5163 (merge_summary): Simplify as we read just single summary.
5164 (dump_one_gcov): Pass proper argument.
5165 * libgcov-util.c (compute_one_gcov): Simplify as we have just
5166 single summary.
5167 (gcov_info_count_all_cold): Likewise.
5168 (calculate_overlap): Likewise.
5169
5170 2018-06-02 Chung-Ju Wu <[email protected]>
5171 Monk Chiang <[email protected]>
5172
5173 * config.host (nds32*-linux*): New.
5174 * config/nds32/linux-atomic.c: New file.
5175 * config/nds32/linux-unwind.h: New file.
5176
5177 2018-05-31 Uros Bizjak <[email protected]>
5178
5179 PR target/85591
5180 * config/i386/cpuinfo.c (get_amd_cpu): Return
5181 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
5182
5183 2018-05-30 Rasmus Villemoes <[email protected]>
5184
5185 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
5186
5187 2018-05-29 Martin Liska <[email protected]>
5188
5189 PR gcov-profile/85759
5190 * libgcov-driver-system.c (gcov_error): Introduce usage of
5191 GCOV_EXIT_AT_ERROR env. variable.
5192 * libgcov-driver.c (merge_one_data): Print error that we
5193 overwrite a gcov file with a different timestamp.
5194
5195 2018-05-23 Kalamatee <[email protected]>
5196
5197 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
5198 path to Lf$finfty.
5199
5200 2018-05-18 Kito Cheng <[email protected]>
5201 Monk Chiang <[email protected]>
5202 Jim Wilson <[email protected]>
5203
5204 * config/riscv/save-restore.S: Add support for rv32e.
5205
5206 2018-05-18 Kyrylo Tkachov <[email protected]>
5207
5208 * config/arm/libunwind.S: Update comment relating to armv5.
5209
5210 2018-05-17 Jerome Lambourg <[email protected]>
5211
5212 * config/arm/cmse.c (cmse_check_address_range): Replace
5213 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
5214
5215 2018-05-17 Olga Makhotina <[email protected]>
5216
5217 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
5218 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
5219
5220 2018-05-08 Olga Makhotina <[email protected]>
5221
5222 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
5223 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
5224
5225 2018-05-07 Amaan Cheval <[email protected]>
5226
5227 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
5228
5229 2018-04-27 Andreas Tobler <[email protected]>
5230 Maryse Levavasseur <[email protected]>
5231
5232 PR libgcc/84292
5233 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
5234 op_and_fetch to return the right result.
5235
5236 2018-04-27 Alan Modra <[email protected]>
5237
5238 PR libgcc/85532
5239 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
5240 -fno-asynchronous-unwind-tables.
5241
5242 2018-04-25 Chung-Ju Wu <[email protected]>
5243
5244 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
5245 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
5246
5247 2018-04-24 H.J. Lu <[email protected]>
5248
5249 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
5250 when including "config/i386/shadow-stack-unwind.h".
5251
5252 2018-04-24 H.J. Lu <[email protected]>
5253
5254 * configure: Regenerated.
5255
5256 2018-04-20 Michael Meissner <[email protected]>
5257
5258 PR target/85456
5259 * config/rs6000/_powikf2.c: New file. Add support for the
5260 __builtin_powil function when long double is IEEE 128-bit floating
5261 point.
5262 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
5263 __powikf2 support.
5264 (__powikf2): Likewise.
5265 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
5266 (__powikf2_hw): Likewise.
5267 (__powikf2): Likewise.
5268 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
5269 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
5270 (_powikf2-hw.c): Likewise.
5271
5272 2018-04-19 H.J. Lu <[email protected]>
5273
5274 PR libgcc/85334
5275 * unwind-generic.h (_Unwind_Frames_Increment): New.
5276 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
5277 Likewise.
5278 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
5279 count with _Unwind_Frames_Increment.
5280 (_Unwind_ForcedUnwind_Phase2): Likewise.
5281
5282 2018-04-19 H.J. Lu <[email protected]>
5283
5284 PR libgcc/85379
5285 * config/i386/morestack.S (__stack_split_initialize): Add
5286 _CET_ENDBR.
5287
5288 2018-04-19 Jakub Jelinek <[email protected]>
5289
5290 * configure: Regenerated.
5291
5292 2018-04-18 David Malcolm <[email protected]>
5293
5294 PR jit/85384
5295 * configure: Regenerate.
5296
5297 2018-04-16 Jakub Jelinek <[email protected]>
5298
5299 PR target/84945
5300 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
5301 -Wdangling-else warnings. Mask shift counts to avoid
5302 -Wshift-count-negative and -Wshift-count-overflow false positives.
5303
5304 2018-04-06 Ruslan Bukin <[email protected]>
5305
5306 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
5307
5308 2018-03-29 H.J. Lu <[email protected]>
5309
5310 PR target/85100
5311 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
5312 (XSTATE_FP): Likewise.
5313 (XSTATE_SSE): Likewise.
5314 (XSTATE_YMM): Likewise.
5315 (XSTATE_OPMASK): Likewise.
5316 (XSTATE_ZMM): Likewise.
5317 (XSTATE_HI_ZMM): Likewise.
5318 (XCR_AVX_ENABLED_MASK): Likewise.
5319 (XCR_AVX512F_ENABLED_MASK): Likewise.
5320 (get_available_features): Enable AVX and AVX512 features only
5321 if their states are supported by OSXSAVE.
5322
5323 2018-03-22 Igor Tsimbalist <[email protected]>
5324
5325 PR target/85025
5326 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
5327 Fix a typo, tmp => 255.
5328
5329 2018-03-20 Jakub Jelinek <[email protected]>
5330
5331 PR target/84945
5332 * config/i386/cpuinfo.h (__cpu_features2): Declare.
5333 * config/i386/cpuinfo.c (__cpu_features2): New variable for
5334 ifndef SHARED only.
5335 (set_feature): Define.
5336 (get_available_features): Use set_feature macro. Set __cpu_features2
5337 to the second word of features ifndef SHARED.
5338
5339 2018-03-15 Julia Koval <[email protected]>
5340
5341 * config/i386/cpuinfo.c (get_available_features): Add
5342 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
5343 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
5344 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
5345 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
5346 FEATURE_AVX512BITALG.
5347
5348 2018-03-14 Julia Koval <[email protected]>
5349
5350 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
5351 icelake client and icelake server.
5352
5353 2018-03-06 John David Anglin <[email protected]>
5354
5355 * config/pa/fptr.c (_dl_read_access_allowed): New.
5356 (__canonicalize_funcptr_for_compare): Use it.
5357
5358 2018-02-28 Jakub Jelinek <[email protected]>
5359
5360 PR debug/83917
5361 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
5362 $asm_hidden_op if visibility ("hidden") attribute works.
5363 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
5364 * config/i386/i386-asm.h: Don't include auto-host.h.
5365 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
5366 PACKAGE_URL): Don't undefine.
5367 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
5368 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
5369 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
5370 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
5371 definition instead of hardcoded .hidden.
5372 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
5373 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
5374 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
5375 (USE_GAS_CFI_DIRECTIVES): Don't define.
5376 * configure: Regenerated.
5377 * config.in: Likewise.
5378
5379 2018-02-26 Jakub Jelinek <[email protected]>
5380
5381 PR debug/83917
5382 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
5383 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
5384 inclusion of auto-target.h and auto-host.h.
5385 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
5386 __GCC_HAVE_DWARF2_CFI_ASM.
5387 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
5388 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
5389 cfi_pop): Define.
5390 * config/i386/cygwin.S: Don't include auto-host.h here, just
5391 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
5392 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
5393 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
5394 * config/i386/resms64fx.h: Add cfi_* directives.
5395 * config/i386/resms64x.h: Likewise.
5396
5397 2018-02-20 Max Filippov <[email protected]>
5398
5399 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
5400 .literal_position directive.
5401 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
5402
5403 2018-02-14 Igor Tsimbalist <[email protected]>
5404
5405 PR target/84148
5406 * configure: Regenerate.
5407
5408 2018-02-16 Igor Tsimbalist <[email protected]>
5409
5410 PR target/84239
5411 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
5412 Include cetintrin.h not x86intrin.h.
5413
5414 2018-02-08 Igor Tsimbalist <[email protected]>
5415
5416 PR target/84239
5417 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
5418 Use new _get_ssp and _inc_ssp intrinsics.
5419
5420 2018-02-02 Julia Koval <[email protected]>
5421
5422 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
5423
5424 2018-01-26 Claudiu Zissulescu <[email protected]>
5425
5426 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
5427 option.
5428 (__divsi3): Use RF16 safe registers.
5429 (__modsi3): Likewise.
5430
5431 2018-01-23 Max Filippov <[email protected]>
5432
5433 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
5434 (__divsf3): Make NaN return value quiet.
5435 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
5436 (__divdf3): Make NaN return value quiet.
5437
5438 2018-01-22 Sebastian Perta <[email protected]>
5439
5440 * config/rl78/anddi3.S: New assembly file.
5441 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
5442
5443 2018-01-22 Sebastian Perta <[email protected]>
5444
5445 * config/rl78/umindi3.S: New assembly file.
5446 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
5447
5448 2018-01-22 Sebastian Perta <[email protected]>
5449
5450 * config/rl78/smindi3.S: New assembly file.
5451 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
5452
5453 2018-01-22 Sebastian Perta <[email protected]>
5454
5455 * config/rl78/smaxdi3.S: New assembly file.
5456 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
5457
5458 2018-01-22 Sebastian Perta <[email protected]>
5459
5460 * config/rl78/umaxdi3.S: New assembly file.
5461 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
5462
5463 2018-01-21 John David Anglin <[email protected]>
5464
5465 PR lto/83452
5466 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
5467 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
5468
5469 2018-01-13 Richard Sandiford <[email protected]>
5470
5471 * config/aarch64/value-unwind.h (aarch64_vg): New function.
5472 (DWARF_LAZY_REGISTER_VALUE): Define.
5473 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
5474 to provide a fallback register value.
5475
5476 2018-01-08 Michael Meissner <[email protected]>
5477
5478 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
5479 __ibm128, instead of trying to use long double.
5480 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
5481 accomidate -mabi=ieeelongdouble multilibs.
5482 (CVT_IBM128_TO_FLOAT128): Likewise.
5483 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
5484 the appropriate IBM extended double type.
5485 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
5486 (__gcc_qsub): Likewise.
5487 (__gcc_qmul): Likewise.
5488 (__gcc_qdiv): Likewise.
5489 (pack_ldouble): Likewise.
5490 (__gcc_qneg): Likewise.
5491 (__gcc_qeq): Likewise.
5492 (__gcc_qne): Likewise.
5493 (__gcc_qge): Likewise.
5494 (__gcc_qle): Likewise.
5495 (__gcc_stoq): Likewise.
5496 (__gcc_dtoq): Likewise.
5497 (__gcc_itoq): Likewise.
5498 (__gcc_utoq): Likewise.
5499 (__gcc_qunord): Likewise.
5500 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
5501 quad-float128.h for the definitions.
5502 (COPYSIGN): Use the f128 version instead of the q version.
5503 (INFINITY): Likewise.
5504 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
5505 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
5506 quad-float128.h for the definitions.
5507 (COPYSIGN): Use the f128 version instead of the q version.
5508 (INFINITY): Likewise.
5509 (FABS): Likewise.
5510 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
5511 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
5512 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
5513
5514 2018-01-05 Sebastian Huber <[email protected]>
5515
5516 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
5517 configuration.
5518
5519 2018-01-03 Jakub Jelinek <[email protected]>
5520
5521 Update copyright years.
5522
5523 2017-12-12 Kito Cheng <[email protected]>
5524
5525 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
5526 * config/riscv/multi3.c: New file.
5527 * config/riscv/multi3.S: Remove.
5528
5529 2017-12-08 Jim Wilson <[email protected]>
5530
5531 * config/riscv/div.S: Use FUNC_* macros.
5532 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
5533 * config/riscv/save-restore.S: Likewise.
5534 * config/riscv/riscv-asm.h: New.
5535
5536 2017-11-30 Michael Meissner <[email protected]>
5537
5538 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
5539 * config/rs6000/_divkc3.c (__divkc3): Likewise.
5540
5541 PR libgcc/83112
5542 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
5543 correct type for all ifunc resolvers to silence -Wattribute-alias
5544 warnings. Eliminate the forward declaration of the resolver
5545 functions which is no longer needed.
5546 (__subkf3_resolve): Likewise.
5547 (__mulkf3_resolve): Likewise.
5548 (__divkf3_resolve): Likewise.
5549 (__negkf2_resolve): Likewise.
5550 (__eqkf2_resolve): Likewise.
5551 (__nekf2_resolve): Likewise.
5552 (__gekf2_resolve): Likewise.
5553 (__gtkf2_resolve): Likewise.
5554 (__lekf2_resolve): Likewise.
5555 (__ltkf2_resolve): Likewise.
5556 (__unordkf2_resolve): Likewise.
5557 (__extendsfkf2_resolve): Likewise.
5558 (__extenddfkf2_resolve): Likewise.
5559 (__trunckfsf2_resolve): Likewise.
5560 (__trunckfdf2_resolve): Likewise.
5561 (__fixkfsi_resolve): Likewise.
5562 (__fixkfdi_resolve): Likewise.
5563 (__fixunskfsi_resolve): Likewise.
5564 (__fixunskfdi_resolve): Likewise.
5565 (__floatsikf_resolve): Likewise.
5566 (__floatdikf_resolve): Likewise.
5567 (__floatunsikf_resolve): Likewise.
5568 (__floatundikf_resolve): Likewise.
5569 (__extendkftf2_resolve): Likewise.
5570 (__trunctfkf2_resolve): Likewise.
5571
5572 PR libgcc/83103
5573 * config/rs6000/quad-float128.h (TF): Don't define if long double
5574 is IEEE 128-bit floating point.
5575 (TCtype): Define as either TCmode or KCmode, depending on whether
5576 long double is IEEE 128-bit floating point.
5577 (__mulkc3_sw): Add declarations for software/hardware versions of
5578 complex multiply/divide.
5579 (__divkc3_sw): Likewise.
5580 (__mulkc3_hw): Likewise.
5581 (__divkc3_hw): Likewise.
5582 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
5583 handlers to switch between using software emulation and hardware
5584 float128 instructions, build the complex multiply/divide functions
5585 for both software and hardware support.
5586 * config/rs6000/_divkc3.c (_divkc3): Likewise.
5587 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
5588 (__divkc3_resolve): Likewise.
5589 (__mulkc3): Likewise.
5590 (__divkc3): Likewise.
5591 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
5592 (fp128_hw_src): Likewise.
5593 (fp128_hw_static_obj): Likewise.
5594 (fp128_hw_shared_obj): Likewise.
5595 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
5596 _mulkc3.c and _divkc3.c, changing the function name.
5597 (_divkc3-hw.c): Likewise.
5598 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
5599 and _divkc3-hw.c.
5600
5601 2017-11-26 Julia Koval <[email protected]>
5602
5603 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
5604 * config/i386/cpuinfo.h (processor_subtypes): Add
5605 INTEL_COREI7_CANNONLAKE.
5606
5607 2017-11-20 Igor Tsimbalist <[email protected]>
5608
5609 PR bootstrap/83015
5610 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
5611 parameter.
5612 * config/xtensa/unwind-dw2-xtensa.c: Likewise
5613 * config/ia64/unwind-ia64.c: Add frames parameter.
5614 * unwind-sjlj.c: Likewise.
5615
5616 2017-11-17 Igor Tsimbalist <[email protected]>
5617
5618 * config/i386/linux-unwind.h: Include
5619 config/i386/shadow-stack-unwind.h.
5620 * config/i386/shadow-stack-unwind.h: New file.
5621 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
5622 pass it to _Unwind_Frames_Extra.
5623 * unwind-generic.h (_Unwind_Frames_Extra): New.
5624 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
5625 parameter. Add local variable frames to count number of frames.
5626 (_Unwind_ForcedUnwind_Phase2): Likewise.
5627 (_Unwind_RaiseException): Add local variable frames to count
5628 number of frames, pass it to _Unwind_RaiseException_Phase2 and
5629 uw_install_context.
5630 (_Unwind_ForcedUnwind): Likewise.
5631 (_Unwind_Resume): Likewise.
5632 (_Unwind_Resume_or_Rethrow): Likewise.
5633
5634 2017-11-17 Igor Tsimbalist <[email protected]>
5635
5636 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
5637 (CET_FLAGS): New.
5638 * config/i386/morestack.S: Include <cet.h>.
5639 (__morestack_large_model): Add _CET_ENDBR at function entrance.
5640 * config/i386/resms64.h: Include <cet.h>.
5641 * config/i386/resms64f.h: Likewise.
5642 * config/i386/resms64fx.h: Likewise.
5643 * config/i386/resms64x.h: Likewise.
5644 * config/i386/savms64.h: Likewise.
5645 * config/i386/savms64f.h: Likewise.
5646 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
5647 (CRTSTUFF_T_CFLAGS): Likewise.
5648 * configure.ac: Include ../config/cet.m4.
5649 Set and substitute CET_FLAGS.
5650 * configure: Regenerated.
5651
5652 2017-11-14 Rainer Orth <[email protected]>
5653
5654 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
5655 renaming.
5656 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
5657 * configure.ac (libgcc_cv_solaris_crts): Likewise.
5658 * configure: Regenerate.
5659
5660 2017-11-07 Tom de Vries <[email protected]>
5661
5662 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
5663 after "do {} while (0)".
5664
5665 2017-11-07 Tom de Vries <[email protected]>
5666
5667 PR other/82784
5668 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
5669 semicolon after "do {} while (0)".
5670 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5671 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5672 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5673 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5674
5675 2017-11-04 Andreas Tobler <[email protected]>
5676
5677 PR libgcc/82635
5678 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
5679 sysctl to determine whether we're in a trampoline.
5680 Keep the pattern matching method for systems without
5681 KERN_PROC_SIGTRAMP sysctl.
5682
5683 2017-11-03 Cupertino Miranda <[email protected]>
5684 Vineet Gupta <[email protected]>
5685
5686 * config.host (arc*-*-linux*): Set md_unwind_header variable.
5687 * config/arc/linux-unwind-reg.def: New file.
5688 * config/arc/linux-unwind-reg.h: Likewise.
5689
5690 2017-10-23 Sebastian Perta <[email protected]>
5691
5692 * config/rl78/subdi3.S: New assembly file.
5693 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
5694
5695 2017-10-13 Sebastian Perta <[email protected]>
5696
5697 * config/rl78/adddi3.S: New assembly file.
5698 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
5699
5700 2017-10-13 Jakub Jelinek <[email protected]>
5701
5702 PR target/82274
5703 * libgcc2.c (__mulvDI3): If both operands have
5704 the same highpart of -1 and the topmost bit of lowpart is 0,
5705 multiplication overflows even if both lowparts are 0.
5706
5707 2017-09-28 James Bowman <[email protected]>
5708
5709 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
5710
5711 2017-09-26 Joseph Myers <[email protected]>
5712
5713 * config/microblaze/crti.S, config/microblaze/crtn.S,
5714 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
5715 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
5716 config/microblaze/mulsi3.S,
5717 config/microblaze/stack_overflow_exit.S,
5718 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
5719 config/pa/milli64.S: Add .note.GNU-stack section.
5720
5721 2017-09-23 Daniel Santos <[email protected]>
5722
5723 * configure.ac: Add Check for HAVE_AS_AVX.
5724 * config.in: Regenerate.
5725 * configure: Likewise.
5726 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
5727 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
5728 Correct out-of-date comments.
5729
5730 2017-09-20 Sebastian Peryt <[email protected]>
5731
5732 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
5733 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
5734
5735 2017-09-17 Daniel Santos <[email protected]>
5736
5737 * config/i386/i386-asm.h (PASTE2): New macro.
5738 (ASMNAME): Modify to use PASTE2.
5739 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
5740 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
5741 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
5742 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
5743 * config/i386/resms64f.S: Likewise.
5744 * config/i386/resms64fx.S: Likewise.
5745 * config/i386/resms64x.S: Likewise.
5746 * config/i386/savms64.S: Likewise.
5747 * config/i386/savms64f.S: Likewise.
5748 * config/i386/avx_resms64.S: New file that only defines a macro and
5749 includes it's corresponding header file.
5750 * config/i386/avx_resms64f.S: Likewise.
5751 * config/i386/avx_resms64fx.S: Likewise.
5752 * config/i386/avx_resms64x.S: Likewise.
5753 * config/i386/avx_savms64.S: Likewise.
5754 * config/i386/avx_savms64f.S: Likewise.
5755 * config/i386/sse_resms64.S: Likewise.
5756 * config/i386/sse_resms64f.S: Likewise.
5757 * config/i386/sse_resms64fx.S: Likewise.
5758 * config/i386/sse_resms64x.S: Likewise.
5759 * config/i386/sse_savms64.S: Likewise.
5760 * config/i386/sse_savms64f.S: Likewise.
5761 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
5762
5763 2017-09-01 Olivier Hainque <[email protected]>
5764 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
5765
5766 2017-08-31 Olivier Hainque <[email protected]>
5767
5768 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
5769 match as powerpc-wrs-vxworks*.
5770
5771 2017-08-07 Jonathan Yong <[email protected]>
5772
5773 * config.host (*-cygwin): Include file from mingw
5774 config/i386/enable-execute-stack-mingw32.c
5775
5776 2017-08-01 Jerome Lambourg <[email protected]>
5777 Doug Rupp <[email protected]>
5778 Olivier Hainque <[email protected]>
5779
5780 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
5781 as well as arm-wrs-vxworks.
5782 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
5783 LIB2ADDEH.
5784 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
5785 __exidx_start and __exidx_end for downloadable modules.
5786
5787 2017-08-01 Olivier Hainque <[email protected]>
5788
5789 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
5790 * config/t-vxworks7: Likewise.
5791
5792 2017-08-01 Olivier Hainque <[email protected]>
5793
5794 * config/t-vxworks: Instead of redefining LIB2ADD,
5795 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
5796
5797 2017-07-28 Sebastian Huber <[email protected]>
5798
5799 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
5800
5801 2017-07-24 Daniel Santos <[email protected]>
5802
5803 PR testsuite/80759
5804 * config.host: include i386/t-msabi for darwin and solaris.
5805 * config/i386/i386-asm.h
5806 (ELFFN): Rename to FN_TYPE.
5807 (FN_SIZE): New macro.
5808 (FN_HIDDEN): Likewise.
5809 (ASMNAME): Likewise.
5810 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
5811 .globl.
5812 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
5813 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
5814 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
5815 .macro.
5816 * config/i386/resms64f.S: Likewise.
5817 * config/i386/resms64fx.S: Likewise.
5818 * config/i386/resms64x.S: Likewise.
5819 * config/i386/savms64.S: Likewise.
5820 * config/i386/savms64f.S: Likewise.
5821
5822 2017-07-19 John Marino <[email protected]>
5823
5824 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
5825
5826 2017-07-12 Michael Meissner <[email protected]>
5827
5828 PR target/81193
5829 * configure.ac (PowerPC float128 hardware support): Test whether
5830 we can use __builtin_cpu_supports before enabling the ifunc
5831 handler.
5832 * configure: Regenerate.
5833
5834 2017-07-10 Vineet Gupta <[email protected]>
5835
5836 * config.host: Remove uclibc from arc target spec.
5837
5838 2017-07-09 Krister Walfridsson <[email protected]>
5839
5840 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
5841
5842 2017-07-07 Peter Bergner <[email protected]>
5843
5844 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
5845 (have_ieee_hw_p): Delete function.
5846 (SW_OR_HW) Use __builtin_cpu_supports().
5847
5848 2017-07-06 Thomas Preud'homme <[email protected]>
5849
5850 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
5851
5852 2017-07-03 Olivier Hainque <[email protected]>
5853
5854 * config/t-vxworks7: New file, really.
5855
5856 2017-06-28 Joseph Myers <[email protected]>
5857
5858 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
5859 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
5860 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
5861 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
5862 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
5863 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
5864 config/pa/linux-unwind.h (pa32_fallback_frame_state),
5865 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
5866 config/sh/linux-unwind.h (sh_fallback_frame_state),
5867 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
5868 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
5869 ucontext_t instead of struct ucontext.
5870
5871 2017-06-27 Jerome Lambourg <[email protected]>
5872
5873 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
5874 (x86_64-wrs-vxworks7): Likewise.
5875
5876 2017-06-27 Olivier Hainque <[email protected]>
5877
5878 * config/t-vxworks7: New file.
5879 * config.host (*-*-vxworks7): Use it.
5880
5881 2017-06-22 Matt Turner <[email protected]>
5882
5883 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
5884 skylake case.
5885
5886 2017-06-21 Richard Biener <[email protected]>
5887
5888 PR gcov-profile/81080
5889 * configure.ac: Add AC_SYS_LARGEFILE.
5890 * libgcov.h: Include auto-target.h before tsystem.h to pick
5891 up _FILE_OFFSET_BITS which might differ for multilibs.
5892 * config.in: Regenerate.
5893 * configure: Likewise.
5894
5895 2017-06-16 Richard Earnshaw <[email protected]>
5896
5897 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
5898
5899 2017-06-09 Martin Liska <[email protected]>
5900
5901 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
5902 Reset __gcov_indirect_call_callee to NULL.
5903
5904 2017-06-08 Olivier Hainque <[email protected]>
5905
5906 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
5907 the set of -I options, support for direct inclusions of net/uio.h
5908 by VxWorks header files via ioLib.h.
5909
5910 2017-06-07 Tony Reix <[email protected]>
5911 Matthieu Sarter <[email protected]>
5912 David Edelsohn <[email protected]>
5913
5914 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
5915 unconditionally.
5916 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
5917 AIX 7.2 support.
5918
5919 2017-06-02 Olivier Hainque <[email protected]>
5920
5921 * config/vxlib.c (__gthread_once): Add missing value to
5922 return statement.
5923
5924 2017-05-30 Olivier Hainque <[email protected]>
5925
5926 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
5927 dollar sign before $(MULTIDIR).
5928
5929 2017-05-26 Richard Henderson <[email protected]>
5930
5931 PR libgcc/80037
5932 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
5933
5934 2017-05-17 Andreas Tobler <[email protected]>
5935
5936 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
5937 _Unwind_SetIP available as functions for arm*-*-freebsd*.
5938 * config/arm/unwind-arm.c: Implement the above.
5939
5940 2017-05-15 Adhemerval Zanella <[email protected]>
5941
5942 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
5943 section for a non-executable stack.
5944
5945 2017-05-14 Krister Walfridsson <[email protected]>
5946
5947 PR target/80600
5948 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
5949
5950 2017-05-14 Daniel Santos <[email protected]>
5951
5952 * config.host: Add i386/t-msabi to i386/t-linux file list.
5953 * config/i386/i386-asm.h: New file.
5954 * config/i386/resms64.S: New file.
5955 * config/i386/resms64f.S: New file.
5956 * config/i386/resms64fx.S: New file.
5957 * config/i386/resms64x.S: New file.
5958 * config/i386/savms64.S: New file.
5959 * config/i386/savms64f.S: New file.
5960 * config/i386/t-msabi: New file.
5961
5962 2017-05-09 Andreas Tobler <[email protected]>
5963
5964 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
5965 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
5966
5967 2017-05-05 Joshua Conner <[email protected]>
5968
5969 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
5970 pc-relative indirect handling for fuchsia.
5971 * config/t-slibgcc-fuchsia: New file.
5972 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
5973 x86_64-*-fuchsia*): Add definitions.
5974
5975 2017-04-19 Martin Liska <[email protected]>
5976
5977 PR gcov-profile/80435
5978 * Makefile.in: Install gcov.h.
5979 * gcov.h: New file.
5980 * libgcov.h: Use the header and make __gcov_flush publicly
5981 visible.
5982
5983 2017-04-18 Martin Liska <[email protected]>
5984
5985 PR gcov-profile/78783
5986 * libgcov-driver.c (gcov_get_filename): New function.
5987
5988 2017-04-07 Jeff Law <[email protected]>
5989
5990 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
5991 target makefile fragment.
5992 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
5993
5994 2017-04-07 Alan Modra <[email protected]>
5995
5996 PR target/45053
5997 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
5998
5999 2017-04-03 Jonathan Wakely <[email protected]>
6000
6001 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
6002
6003 2017-03-27 Claudiu Zissulescu <[email protected]>
6004
6005 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
6006
6007 2017-03-10 John Marino <[email protected]>
6008
6009 * config/aarch64/freebsd-unwind.h: New file.
6010 * config.host: Add aarch64-*-freebsd unwinder.
6011
6012 2017-03-10 Segher Boessenkool <[email protected]>
6013
6014 * config/rs6000/crtrestvr.s: Use .machine altivec.
6015 * config/rs6000/crtsavevr.s: Ditto.
6016
6017 2017-03-10 Segher Boessenkool <[email protected]>
6018
6019 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
6020 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
6021 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
6022 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
6023 * configure: Regenerate.
6024 * config.in: Regenerate.
6025
6026 2017-03-02 Jonathan Yong <[email protected]>
6027
6028 * config/i386/gthr-win32.h: Define NOGDI before
6029 windows.h include to prevent w32api CC_NONE macro
6030 clash with libgfortran.
6031
6032 2017-03-02 Jonathan Yong <[email protected]>
6033
6034 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
6035
6036 2017-02-16 Andrew Pinski <[email protected]>
6037
6038 * config/aarch64/value-unwind.h: New file.
6039 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
6040 to tm_file.
6041
6042 2017-02-06 Palmer Dabbelt <[email protected]>
6043
6044 * config.host: Add RISC-V tuples.
6045 * config/riscv/atomic.c: New file.
6046 * config/riscv/crti.S: Likewise.
6047 * config/riscv/crtn.S: Likewise.
6048 * config/riscv/div.S: Likewise.
6049 * config/riscv/linux-unwind.h: Likewise.
6050 * config/riscv/muldi3.S: Likewise.
6051 * config/riscv/multi3.S: Likewise.
6052 * config/riscv/save-restore.S: Likewise.
6053 * config/riscv/sfp-machine.h: Likewise.
6054 * config/riscv/t-elf: Likewise.
6055 * config/riscv/t-elf32: Likewise.
6056 * config/riscv/t-elf64: Likewise.
6057 * config/riscv/t-softfp32: Likewise.
6058 * config/riscv/t-softfp64: Likewise.
6059
6060 2017-01-24 Jakub Jelinek <[email protected]>
6061
6062 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
6063 /* FALLTHRU */ comments.
6064
6065 2017-01-21 Gerald Pfeifer <[email protected]>
6066
6067 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
6068
6069 2017-01-20 Jiong Wang <[email protected]>
6070
6071 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
6072 * unwind-dw2.c (execute_cfa_program): Only multiplexing
6073 DW_CFA_GNU_window_save for AArch64 and LP64.
6074
6075 2017-01-20 Jiong Wang <[email protected]>
6076
6077 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
6078
6079 2017-01-19 Jiong Wang <[email protected]>
6080
6081 * config/aarch64/aarch64-unwind.h: New file.
6082 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
6083 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
6084 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
6085 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
6086 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
6087 (aarch64_post_extract_frame_addr): New function.
6088 (aarch64_post_frob_eh_handler_addr): New function.
6089 (aarch64_frob_update_context): New function.
6090 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
6091 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
6092 aarch64*-*-freebsd*):
6093 Initialize md_unwind_header to include aarch64-unwind.h.
6094 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
6095 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
6096 __aarch64__.
6097 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
6098 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
6099 (uw_frob_return_addr): New function.
6100 (uw_install_context): Use uw_frob_return_addr.
6101
6102 2017-01-17 Jakub Jelinek <[email protected]>
6103
6104 PR other/79046
6105 * configure.ac: Add GCC_BASE_VER.
6106 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
6107 version from BASE-VER file.
6108 * configure: Regenerated.
6109
6110 2017-01-13 Joe Seymour <[email protected]>
6111
6112 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
6113 libmul_f5.a): Filter archived prerequisites.
6114
6115 2017-01-10 Andrew Senkevich <[email protected]>
6116
6117 * config/i386/cpuinfo.h (processor_features): Add
6118 FEATURE_AVX512VPOPCNTDQ.
6119 * config/i386/cpuinfo.c (get_available_features): Habdle new
6120 feature.
6121
6122 2017-01-04 Joseph Myers <[email protected]>
6123
6124 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
6125 payload if [__mips_nan2008].
6126
6127 2017-01-04 Alan Modra <[email protected]>
6128
6129 * Makefile.in (configure_deps): Update.
6130 * configure: Regenerate.
6131
6132 2017-01-01 Jakub Jelinek <[email protected]>
6133
6134 Update copyright years.
6135
6136 2016-12-19 Krister Walfridsson <[email protected]>
6137
6138 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
6139 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
6140 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
6141
6142 2016-12-17 Matthias Klose <[email protected]>
6143
6144 * config/arc/gmon: Remove empty directory.
6145
6146 2016-12-16 Claudiu Zissulescu <[email protected]>
6147
6148 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
6149 crtgend.
6150 (arc*-*-elf*): Likewise.
6151 * config/arc/t-arc: Remove old gmon lib targets.
6152 * config/arc/crtg.S: Remove.
6153 * config/arc/crtgend.S: Likewise.
6154 * config/arc/gmon/atomic.h: Likewise.
6155 * config/arc/gmon/auxreg.h: Likewise.
6156 * config/arc/gmon/dcache_linesz.S: Likewise.
6157 * config/arc/gmon/gmon.c: Likewise.
6158 * config/arc/gmon/machine-gmon.h: Likewise.
6159 * config/arc/gmon/mcount.c: Likewise.
6160 * config/arc/gmon/prof-freq-stub.S: Likewise.
6161 * config/arc/gmon/prof-freq.c: Likewise.
6162 * config/arc/gmon/profil.S: Likewise.
6163 * config/arc/gmon/sys/gmon.h: Likewise.
6164 * config/arc/gmon/sys/gmon_out.h: Likewise.
6165 * config/arc/t-arc-newlib: Likewise.
6166 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
6167
6168 2016-12-12 George Spelvin <[email protected]>
6169
6170 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
6171
6172 2016-12-12 George Spelvin <[email protected]>
6173
6174 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
6175 R16 instead of push + pop.
6176 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
6177
6178 2016-12-10 Krister Walfridsson <[email protected]>
6179
6180 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
6181 tmake_file.
6182
6183 2016-12-05 Cupertino Miranda <[email protected]>
6184
6185 * config.host (arc*-*-linux-uclibc*): Use default extra
6186 objects. Include linux-android header.
6187 * config/arc/crti.S (_init): Declare symbol as function.
6188 (_fini): Likewise.
6189
6190 2016-12-03 Thomas Koenig <[email protected]>
6191
6192 PR fortran/78379
6193 * config/i386/cpuinfo.c: Move denums for processor vendors,
6194 processor type, processor subtypes and declaration of
6195 struct __processor_model into
6196 * config/i386/cpuinfo.h: New header file.
6197
6198 2016-12-02 Andre Vieira <[email protected]>
6199 Thomas Preud'homme <[email protected]>
6200
6201 * config/arm/cmse_nonsecure_call.S: New.
6202 * config/arm/t-arm: Compile cmse_nonsecure_call.S
6203
6204 2016-12-02 Andre Vieira <[email protected]>
6205 Thomas Preud'homme <[email protected]>
6206
6207 * config/arm/t-arm (HAVE_CMSE): New.
6208 * config/arm/cmse.c: New.
6209
6210 2016-11-28 Thomas Petazzoni <[email protected]>
6211
6212 PR gcc/74748
6213 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
6214 use generic linker version information on Blackfin.
6215
6216 PR gcc/74748
6217 * libgcc/mkmap-symver.awk: add support for skip_underscore
6218
6219 2016-11-27 Iain Sandoe <[email protected]>
6220 Rainer Orth <[email protected]>
6221
6222 PR target/67710
6223 * config/t-darwin: Default builds to 10.5 codegen.
6224
6225 2016-11-24 James Greenhalgh <[email protected]>
6226
6227 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
6228 (_FP_NANSIGN_H): Likewise.
6229 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
6230 (softfp_truncations): Add tfhf.
6231 (softfp_extras): Add required conversion functions.
6232
6233 2016-11-23 James Greenhalgh <[email protected]>
6234 Matthew Wahab <[email protected]>
6235
6236 * config/arm/fp16.c (binary64): New.
6237 (__gnu_d2h_internal): New.
6238 (__gnu_d2h_ieee): New.
6239 (__gnu_d2h_alternative): New.
6240
6241 2016-11-23 James Greenhalgh <[email protected]>
6242 Matthew Wahab <[email protected]>
6243
6244 * config/arm/fp16.c (struct format): New.
6245 (binary32): New.
6246 (__gnu_float2h_internal): New. Body moved from
6247 __gnu_f2h_internal and generalize.
6248 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
6249 Call it with binary32.
6250
6251 2016-11-23 James Greenhalgh <[email protected]>
6252
6253 * soft-fp/extendhftf2.c: Update from glibc.
6254 * soft-fp/fixhfti.c: Likewise.
6255 * soft-fp/fixunshfti.c: Likewise.
6256 * soft-fp/floattihf.c: Likewise.
6257 * soft-fp/floatuntihf.c: Likewise.
6258 * soft-fp/half.h: Likewise.
6259 * soft-fp/trunctfhf2.c: Likewise.
6260
6261 2016-11-20 Marc Glisse <[email protected]>
6262
6263 PR libgcc/77813
6264 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
6265 __TMC_END__ behind a passthrough asm.
6266
6267 2016-11-18 Walter Lee <[email protected]>
6268
6269 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
6270
6271 2016-11-17 Andrew Senkevich <[email protected]>
6272
6273 * config/i386/cpuinfo.c (processor_features): Add
6274 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
6275
6276 2016-11-17 Claudiu Zissulescu <[email protected]>
6277
6278 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
6279 (__ARC_NORM__): Use instead ARC_OPTFPE.
6280 * config/arc/fp-hack.h: Likewise.
6281 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
6282 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
6283
6284 2016-11-16 Alexander Monakov <[email protected]>
6285
6286 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
6287 * config/nvptx/mgomp.c: New file.
6288 * config/nvptx/t-nvptx: Add mgomp.c
6289
6290 2016-11-16 Waldemar Brodkorb <[email protected]>
6291
6292 PR libgcc/68468
6293 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
6294
6295 2016-11-15 Claudiu Zissulescu <[email protected]>
6296
6297 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
6298 of checking for cpus.
6299 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
6300 (__modsi3, __clzsi2): Likewise.
6301
6302 2016-11-11 Szabolcs Nagy <[email protected]>
6303
6304 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
6305 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
6306 * config/i386/t-cpuinfo-static: New.
6307
6308 2016-11-03 Martin Liska <[email protected]>
6309
6310 * libgcov-profiler.c (__gcov_time_profiler): Remove.
6311 (__gcov_time_profiler_atomic): Likewise.
6312
6313 2016-11-03 Bernd Edlinger <[email protected]>
6314
6315 PR libgcc/78067
6316 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
6317 count_leading_zeros.
6318
6319 2016-11-02 Uros Bizjak <[email protected]>
6320
6321 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
6322 * libgcc2.c (__divmoddi4): New function.
6323 * libgcc2.h (__divmoddi4): Declare.
6324 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
6325 and __PFX_divmodti4.
6326
6327 2016-10-24 Florian Weimer <[email protected]>
6328
6329 PR libgcc/78064
6330 * unwind-c.c: Include auto-target.h.
6331
6332 2016-10-19 John David Anglin <[email protected]>
6333
6334 * config/pa/pa64-hpux-lib.h: New file.
6335 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
6336 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
6337 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
6338 hppa*64*-*-hpux11*.
6339
6340 2016-10-18 Max Filippov <[email protected]>
6341
6342 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
6343 definition.
6344 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
6345 definition.
6346 * config/xtensa/t-windowed (LIB2ADDEH): Use
6347 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
6348 or xtensa/t-linux.
6349
6350 2016-10-18 Ding-Kai Chen <[email protected]>
6351
6352 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
6353 __ieee754_sqrt): New functions.
6354 (__divdf3): Add implementation with new FPU instructions under
6355 #if XCHAL_HAVE_DFP_DIV.
6356 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
6357 __ieee754_sqrtf): New functions.
6358 (__divsf3): Add implementation with new FPU instructions under
6359 #if XCHAL_HAVE_FP_DIV.
6360 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
6361 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
6362
6363 2016-10-13 Thomas Preud'homme <[email protected]>
6364
6365 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
6366 equivalent.
6367 * config/tilepro/atomic.c: Likewise and stop casting model to
6368 enum memmodel.
6369
6370 2016-10-10 Joseph Myers <[email protected]>
6371
6372 PR target/77586
6373 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
6374 soft-fp.
6375
6376 2016-10-10 Andreas Tobler <[email protected]>
6377
6378 * config.host: Add support for aarch64-*-freebsd*.
6379
6380 2016-10-05 Andreas Schwab <[email protected]>
6381
6382 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
6383 (.section .init_array): Don't call __do_jv_register_classes.
6384 (.section .init): Likewise.
6385
6386 2016-10-04 Jakub Jelinek <[email protected]>
6387
6388 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
6389 (__JCR_LIST__): Remove.
6390 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
6391 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
6392 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
6393 * config/ia64/crtend.S (__JCR_END__): Remove.
6394 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
6395 conditionals.
6396 (__JCR_LIST__, __JCR_END__): Remove.
6397 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
6398 (__do_global_ctors_1): Likewise.
6399
6400 2015-09-28 Uros Bizjak <[email protected]>
6401
6402 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
6403 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
6404
6405 2016-09-27 Martin Liska <[email protected]>
6406
6407 PR gcov-profile/7970
6408 PR gcov-profile/16855
6409 PR gcov-profile/44779
6410 * libgcov-driver.c (__gcov_init): Do not register a atexit
6411 handler.
6412 (__gcov_exit): Rename from gcov_exit.
6413 * libgcov.h (__gcov_exit): Declare.
6414
6415 2016-09-27 Martin Liska <[email protected]>
6416
6417 PR bootstrap/77749
6418 * Makefile.in: Remove _gcov_merge_delta.
6419 * libgcov-merge.c (void __gcov_merge_delta): Remove.
6420 * libgcov-util.c (__gcov_delta_counter_op): Remove.
6421 * libgcov.h: Remove declaration of __gcov_merge_delta.
6422
6423 2016-09-21 Eric Botcazou <[email protected]>
6424
6425 * configure.ac: Do not create links, only substitute the filenames.
6426 * configure: Regenerate.
6427 * Makefile.in: Assign the substitution results to variables.
6428 (LIBGCC_LINKS): Define.
6429 (enable-execute-stack.c): New rule.
6430 (unwind.h): Likewise.
6431 (md-unwind-support.h): Likewise.
6432 (sfp-machine.h): Likewise.
6433 (gthr-default.h): Likewise.
6434 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
6435 unwind.h as prerequisite of install-unwind_h-forbuild.
6436
6437 2016-09-16 Jakub Jelinek <[email protected]>
6438
6439 PR libgcc/71744
6440 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
6441 is not the primary registry and atomics are available.
6442 (any_objects_registered): New variable.
6443 (__register_frame_info_bases, __register_frame_info_table_bases):
6444 Atomically store 1 to any_objects_registered after registering first
6445 unwind info.
6446 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
6447
6448 2016-09-09 James Greenhalgh <[email protected]>
6449
6450 PR target/63250
6451 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
6452 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
6453 (HFtype): Likewise.
6454 (HCtype): Likewise.
6455 (__divhc3): Likewise.
6456 (__mulhc3): Likewise.
6457 * libgcc2.c: Support _mulhc3 and _divhc3.
6458
6459 2016-09-07 Joseph Myers <[email protected]>
6460
6461 PR libgcc/77519
6462 * libgcc2.c (NOTRUNC): Invert settings.
6463
6464 2016-09-06 Martin Liska <[email protected]>
6465
6466 PR gcov-profile/77378
6467 PR gcov-profile/77466
6468 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
6469 conditionaly enable/disable *_atomic functions.
6470
6471 2016-08-26 Joseph Myers <[email protected]>
6472
6473 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
6474 where not already enabled.
6475
6476 2016-08-25 Szabolcs Nagy <[email protected]>
6477
6478 * config/mips/linux-unwind.h: Use sys/syscall.h.
6479
6480 2016-08-16 Joseph Myers <[email protected]>
6481
6482 PR libgcc/77265
6483 * soft-fp/adddf3.c: Update from glibc.
6484 * soft-fp/addsf3.c: Likewise.
6485 * soft-fp/addtf3.c: Likewise.
6486 * soft-fp/divdf3.c: Likewise.
6487 * soft-fp/divsf3.c: Likewise.
6488 * soft-fp/divtf3.c: Likewise.
6489 * soft-fp/double.h: Likewise.
6490 * soft-fp/eqdf2.c: Likewise.
6491 * soft-fp/eqsf2.c: Likewise.
6492 * soft-fp/eqtf2.c: Likewise.
6493 * soft-fp/extenddftf2.c: Likewise.
6494 * soft-fp/extended.h: Likewise.
6495 * soft-fp/extendsfdf2.c: Likewise.
6496 * soft-fp/extendsftf2.c: Likewise.
6497 * soft-fp/extendxftf2.c: Likewise.
6498 * soft-fp/fixdfdi.c: Likewise.
6499 * soft-fp/fixdfsi.c: Likewise.
6500 * soft-fp/fixdfti.c: Likewise.
6501 * soft-fp/fixsfdi.c: Likewise.
6502 * soft-fp/fixsfsi.c: Likewise.
6503 * soft-fp/fixsfti.c: Likewise.
6504 * soft-fp/fixtfdi.c: Likewise.
6505 * soft-fp/fixtfsi.c: Likewise.
6506 * soft-fp/fixtfti.c: Likewise.
6507 * soft-fp/fixunsdfdi.c: Likewise.
6508 * soft-fp/fixunsdfsi.c: Likewise.
6509 * soft-fp/fixunsdfti.c: Likewise.
6510 * soft-fp/fixunssfdi.c: Likewise.
6511 * soft-fp/fixunssfsi.c: Likewise.
6512 * soft-fp/fixunssfti.c: Likewise.
6513 * soft-fp/fixunstfdi.c: Likewise.
6514 * soft-fp/fixunstfsi.c: Likewise.
6515 * soft-fp/fixunstfti.c: Likewise.
6516 * soft-fp/floatdidf.c: Likewise.
6517 * soft-fp/floatdisf.c: Likewise.
6518 * soft-fp/floatditf.c: Likewise.
6519 * soft-fp/floatsidf.c: Likewise.
6520 * soft-fp/floatsisf.c: Likewise.
6521 * soft-fp/floatsitf.c: Likewise.
6522 * soft-fp/floattidf.c: Likewise.
6523 * soft-fp/floattisf.c: Likewise.
6524 * soft-fp/floattitf.c: Likewise.
6525 * soft-fp/floatundidf.c: Likewise.
6526 * soft-fp/floatundisf.c: Likewise.
6527 * soft-fp/floatunditf.c: Likewise.
6528 * soft-fp/floatunsidf.c: Likewise.
6529 * soft-fp/floatunsisf.c: Likewise.
6530 * soft-fp/floatunsitf.c: Likewise.
6531 * soft-fp/floatuntidf.c: Likewise.
6532 * soft-fp/floatuntisf.c: Likewise.
6533 * soft-fp/floatuntitf.c: Likewise.
6534 * soft-fp/gedf2.c: Likewise.
6535 * soft-fp/gesf2.c: Likewise.
6536 * soft-fp/getf2.c: Likewise.
6537 * soft-fp/ledf2.c: Likewise.
6538 * soft-fp/lesf2.c: Likewise.
6539 * soft-fp/letf2.c: Likewise.
6540 * soft-fp/muldf3.c: Likewise.
6541 * soft-fp/mulsf3.c: Likewise.
6542 * soft-fp/multf3.c: Likewise.
6543 * soft-fp/negdf2.c: Likewise.
6544 * soft-fp/negsf2.c: Likewise.
6545 * soft-fp/negtf2.c: Likewise.
6546 * soft-fp/op-1.h: Likewise.
6547 * soft-fp/op-2.h: Likewise.
6548 * soft-fp/op-4.h: Likewise.
6549 * soft-fp/op-8.h: Likewise.
6550 * soft-fp/op-common.h: Likewise.
6551 * soft-fp/quad.h: Likewise.
6552 * soft-fp/single.h: Likewise.
6553 * soft-fp/soft-fp.h: Likewise.
6554 * soft-fp/subdf3.c: Likewise.
6555 * soft-fp/subsf3.c: Likewise.
6556 * soft-fp/subtf3.c: Likewise.
6557 * soft-fp/truncdfsf2.c: Likewise.
6558 * soft-fp/trunctfdf2.c: Likewise.
6559 * soft-fp/trunctfsf2.c: Likewise.
6560 * soft-fp/trunctfxf2.c: Likewise.
6561 * soft-fp/unorddf2.c: Likewise.
6562 * soft-fp/unordsf2.c: Likewise.
6563 * soft-fp/unordtf2.c: Likewise.
6564
6565 2016-08-15 Gilles Gouaillardet <[email protected]>
6566
6567 PR gcov-profile/67097
6568 * libgcov-util.c (gcov_profile_merge): Skip missing files.
6569
6570 2016-08-10 Martin Liska <[email protected]>
6571
6572 PR gcov-profile/58306
6573 * Makefile.in: New functions (modules) are added.
6574 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
6575 function.
6576 (__gcov_pow2_profiler_atomic): New function.
6577 (__gcov_one_value_profiler_body): New argument is instroduced.
6578 (__gcov_one_value_profiler): Call with the new argument.
6579 (__gcov_one_value_profiler_atomic): Likewise.
6580 (__gcov_indirect_call_profiler_v2): Likewise.
6581 (__gcov_time_profiler_atomic): New function.
6582 (__gcov_average_profiler_atomic): Likewise.
6583 (__gcov_ior_profiler_atomic): Likewise.
6584 * libgcov.h: Declare the aforementioned functions.
6585
6586 2016-08-09 Martin Liska <[email protected]>
6587
6588 * libgcov-util.c: Fix typo and GNU coding style.
6589
6590 2016-08-09 Martin Liska <[email protected]>
6591
6592 * Makefile.in: Remove __gcov_indirect_call_profiler.
6593 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
6594 function.
6595 * libgcov.h: And the declaration of the function.
6596
6597 2016-08-09 Martin Liska <[email protected]>
6598
6599 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
6600 power of two.
6601
6602 2016-07-29 Bill Schmidt <[email protected]>
6603
6604 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
6605 * config/rs6000/_mulkc3.c: Likewise.
6606
6607 2016-07-29 Georg-Johann Lay <[email protected]>
6608
6609 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
6610 zero_reg as previous call to __umulhisi3 already cleared it.
6611
6612 2016-07-21 Aurelien Jarno <[email protected]>
6613
6614 PR target/59833
6615 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
6616
6617 2016-07-19 Nick Clifton <[email protected]>
6618
6619 * config.host (m32r): Add m32r/t-m32r to tmake_file.
6620 Add crtinit.o and crtfini.o to extra_parts.
6621
6622 2016-07-12 Bill Schmidt <[email protected]>
6623
6624 * config/rs6000/_divkc3.c: New.
6625 * config/rs6000/_mulkc3.c: New.
6626 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
6627 and _divkc3.
6628 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
6629 fp128_ppc_funcs.
6630
6631 2016-07-11 Hale Wang <[email protected]>
6632 Andre Vieira <[email protected]>
6633
6634 * config/arm/lib1funcs.S: Add new wrapper.
6635
6636 2016-07-07 Thomas Preud'homme <[email protected]>
6637
6638 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
6639
6640 2016-07-07 Thomas Preud'homme <[email protected]>
6641
6642 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
6643 and ARMv5t* rather than for a fixed list of architectures.
6644
6645 2016-07-07 Thomas Preud'homme <[email protected]>
6646
6647 * config/arm/bpabi-v6m.S: Clarify what architectures is the
6648 implementation suitable for.
6649 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
6650 for all Thumb-1 only targets.
6651 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
6652 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
6653 __ARM_ARCH_6M__.
6654 (EQUIV): Likewise.
6655 (ARM_FUNC_ALIAS): Likewise.
6656 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
6657 version.
6658 (modsi3): Likewise.
6659 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
6660 (clzdi2): Likewise.
6661 (ctzsi2): Likewise.
6662 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
6663 __ARM_ARCH_6M__ in guard for checking whether it is defined.
6664 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
6665 __ARM_ARCH_6M__ and add comment to indicate the connection between
6666 this condition and the one in gcc/config/arm/elf.h.
6667 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
6668 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
6669 * config/arm/t-softfp: Likewise.
6670
6671 2016-07-06 Trevor Saunders <[email protected]>
6672
6673 * libgcc2.c (SYMBOL__MAIN): Remove checks for
6674 CTOR_LISTS_DEFINED_EXTERNALLY.
6675
6676 2016-06-28 Walter Lee <[email protected]>
6677
6678 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
6679 asm/unistd.h.
6680 (SPR_CMPEXCH_VALUE): Define for tilegx.
6681 (__NR_FAST_cmpxchg): Define for tilepro.
6682 (__NR_FAST_atomic_update): Define for tilepro.
6683 (__NR_FAST_cmpxchg64): Define for tilepro.
6684
6685 2016-06-23 Jakub Sejdak <[email protected]>
6686
6687 * config.host: Add suport for arm*-*-phoenix* targets.
6688
6689 2016-06-21 Trevor Saunders <[email protected]>
6690
6691 * config.host: Remove support for mep-*.
6692 * config/mep/lib1funcs.S: Remove.
6693 * config/mep/lib2funcs.c: Remove.
6694 * config/mep/t-mep: Remove.
6695 * config/mep/tramp.c: Remove.
6696
6697 2016-06-21 Trevor Saunders <[email protected]>
6698
6699 * config.host: Remove support for avr-rtems.
6700 * config/avr/t-rtems: Remove.
6701
6702 2016-06-21 Trevor Saunders <[email protected]>
6703
6704 * config.host: Remove m32r-rtems support.
6705
6706 2016-06-21 Trevor Saunders <[email protected]>
6707
6708 * config.host: Remove h8300-rtems support.
6709
6710 2016-06-21 Trevor Saunders <[email protected]>
6711
6712 * config.host: Remove support for knetbsd.
6713
6714 2016-06-21 Trevor Saunders <[email protected]>
6715
6716 * config.host: Remove support for openbsd 2 and 3.
6717
6718 2016-06-21 Trevor Saunders <[email protected]>
6719
6720 * config.host: Remove interix support.
6721 * config/i386/t-interix: Remove.
6722
6723 2016-06-18 John David Anglin <[email protected]>
6724
6725 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
6726 least-significant bit in function pointer for fixup.
6727
6728 2016-06-05 Aaron Conole <[email protected]>
6729 Nathan Sidwell <[email protected]>
6730
6731 PR libgcc/71400
6732 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
6733 (get_gcov_error_file): Check __gcov_error_file before trying to
6734 initialize it.
6735 (gcov_error): Always use get_gcov_error_file.
6736
6737 2016-06-02 Aaron Conole <[email protected]>
6738
6739 * libgcov-driver-system.c (__gcov_error_file): New.
6740 (get_gcov_error_file): New.
6741 (gcov_error): Use and set __gcov_error_file.
6742 (gcov_error_exit): New.
6743 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
6744
6745 2016-05-26 Nathan Sidwell <[email protected]>
6746
6747 * config/nvptx/free.asm: Delete.
6748 * config/nvptx/malloc.asm: Delete.
6749 * config/nvptx/realloc.c: Delete.
6750 * t-nvptx: Update.
6751
6752 2016-05-25 Nathan Sidwell <[email protected]>
6753
6754 * config/nvptx/crt0.s: Delete.
6755 * config/nvptx/crt0.c: New.
6756 * t-nvptx: Update.
6757
6758 2016-05-19 Sandra Loosemore <[email protected]>
6759
6760 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6761 dw2/seh configuration.
6762 [x86_64-*-mingw*]: Likewise.
6763
6764 2016-05-10 Joel Sherrill <[email protected]>
6765
6766 PR libgcc/70720
6767 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
6768 targets so the same extra_parts are built. Also have tmake_file add
6769 on to its value rather than override.
6770
6771 2016-04-30 Oleg Endo <[email protected]>
6772
6773 * config.host: Remove SH5 support.
6774 * configure: Likewise.
6775
6776 2016-04-29 Oleg Endo <[email protected]>
6777
6778 * config/sh/crt1.S: Remove SH5 support.
6779 * config/sh/crti.S: Likewise.
6780 * config/sh/crtn.S: Likewise.
6781 * config/sh/lib1funcs-4-300.S: Likewise.
6782 * config/sh/lib1funcs-Os-4-200.S: Likewise.
6783 * config/sh/lib1funcs.S: Likewise.
6784 * config/sh/linux-unwind.h: Likewise.
6785 * config/sh/t-sh64: Delete.
6786
6787 2016-04-29 Claudiu Zissulescu <[email protected]>
6788
6789 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
6790
6791 2016-04-28 Claudiu Zissulescu <[email protected]>
6792 Joern Rennecke <[email protected]>
6793
6794 * config/arc/crttls.S: New file.
6795 * config/arc/t-arc: New rule.
6796 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
6797
6798 2016-04-25 Nick Clifton <[email protected]>
6799
6800 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
6801 (__mspabi_cmpd): Likewise.
6802 * config/msp430/floathidf.c (__floathidf): Likewise.
6803 * config/msp430/floathisf.c (__floathisf): Likewise
6804 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
6805 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
6806 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
6807 second parameter.
6808 (__ashrsi3): Likewise.
6809
6810 2016-04-21 Waldemar Brodkorb <[email protected]>
6811
6812 * config/m68k/linux-atomic.c: Do not include unistd.h
6813
6814 2016-04-20 Martin Galvan <[email protected]>
6815
6816 * config/arm/ieee754-df.S: Fix typos in comments.
6817
6818 2016-04-11 Michael Meissner <[email protected]>
6819
6820 PR target/70381
6821 * configure.ac (powerpc*-*-linux*): Rework tests to build
6822 __float128 emulation routines to not depend on using #pragma GCC
6823 target to enable -mfloat128.
6824 * configure: Regnerate.
6825
6826 2016-04-04 Eric Botcazou <[email protected]>
6827
6828 PR target/67172
6829 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
6830 __MINGW32__ is defined.
6831
6832 2016-03-28 James Bowman <[email protected]>
6833
6834 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
6835
6836 2016-03-22 Michael Meissner <[email protected]>
6837
6838 PR libgcc/70363
6839 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
6840 built with an assembler that does not support ISA 3.0
6841 instructions, rename __extendkftf2_sw to __extendkftf2.
6842
6843 2016-03-16 Rainer Orth <[email protected]>
6844
6845 PR target/38239
6846 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
6847 call-clobbered registers.
6848 (internal_mcount): Remove __i386__ handling.
6849
6850 2016-02-26 Joel Sherrill <[email protected]>
6851
6852 * config.host: Add x86_64-*-rtems*.
6853
6854 2016-02-26 Joel Sherrill <[email protected]>
6855
6856 * libgcc/config.host: Add aarch64-*-rtems*.
6857
6858 2016-02-26 Paul E. Murphy <[email protected]>
6859 Bill Schmidt <[email protected]>
6860
6861 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
6862 union of u64 and double.
6863 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
6864 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
6865 value.
6866 (FP_ROUNDMODE): Update the usage of _fpscr.
6867
6868 2016-02-25 Ilya Verbin <[email protected]>
6869
6870 PR driver/68463
6871 * Makefile.in (crtoffloadtable$(objext)): New rule.
6872 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
6873 enable_offload_targets is not empty.
6874 * configure: Regenerate.
6875 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
6876 crtoffloadtable.
6877
6878 2016-02-17 Max Filippov <[email protected]>
6879
6880 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
6881 .literal_position before the function.
6882 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
6883 Likewise.
6884
6885 2016-02-15 Marcin KoÅ›cielnicki <[email protected]>
6886
6887 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
6888 * config/s390/morestack.S: New file.
6889 * config/s390/t-stack-s390: New file.
6890 * generic-morestack.c (__splitstack_find): Add s390-specific code.
6891
6892 2016-02-12 Walter Lee <[email protected]>
6893
6894 * config.host (tilegx*-*-linux*): remove ti from
6895 softfp_int_modes for 32-bit configs.
6896
6897 2016-02-10 Ian Lance Taylor <[email protected]>
6898
6899 PR go/68562
6900 * config/i386/morestack.S (__stack_split_initialize): Align
6901 stack.
6902
6903 2016-02-03 Andreas Tobler <[email protected]>
6904
6905 PR bootstrap/69611
6906 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
6907 __FLOAT128__ to compile only for __float128 capable targets.
6908
6909 2016-01-25 Jakub Jelinek <[email protected]>
6910
6911 PR target/69444
6912 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
6913 instead of ___NO_FPRS__.
6914
6915 2016-01-21 Michael Meissner <[email protected]>
6916 Steven Munroe <[email protected]>
6917 Tulio Magno Quites Machado Filho <[email protected]>
6918
6919 * config/rs6000/float128-sed: New files to convert TF names to KF
6920 names for PowerPC IEEE 128-bit floating point support.
6921 * config/rs6000/float128-sed-hw: Likewise.
6922
6923 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6924 floating point hardware support.
6925
6926 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6927 128-bit floating point software emulation or use ISA 3.0 hardware
6928 support if it is available.
6929
6930 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6931 floating point.
6932
6933 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
6934 floating point to IBM extended double.
6935
6936 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
6937 double to IEEE 128-bit floating point.
6938
6939 * config/rs6000/t-float128: New Makefile fragments to enable
6940 building __float128 emulation support.
6941 * config/rs6000/t-float128-hw: Likewise.
6942
6943 * config/rs6000/sfp-exceptions.c: New file to provide exception
6944 support for IEEE 128-bit floating point.
6945
6946 * config/rs6000/floattikf.c: New files for converting between IEEE
6947 128-bit floating point and signed/unsigned 128-bit integers.
6948 * config/rs6000/fixunskfti.c: Likewise.
6949 * config/rs6000/fixkfti.c: Likewise.
6950 * config/rs6000/floatuntikf.c: Likewise.
6951
6952 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6953 when building on 64-bit systems, or when VSX is enabled.
6954 (_FP_W_TYPE): Likewise.
6955 (_FP_WS_TYPE): Likewise.
6956 (_FP_I_TYPE): Likewise.
6957 (TItype): Define on 64-bit systems.
6958 (UTItype): Likewise.
6959 (TI_BITS): Likewise.
6960 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6961 (_FP_MUL_MEAT_Q): Likewise.
6962 (_FP_DIV_MEAT_D): Likewise.
6963 (_FP_DIV_MEAT_Q): Likewise.
6964 (_FP_NANFRAC_D): Likewise.
6965 (_FP_NANFRAC_Q): Likewise.
6966 (ISA_BIT): Add exception support if we are being compiled on a
6967 machine with hardware floating point support to build the IEEE
6968 128-bit emulation functions.
6969 (FP_EX_INVALID): Likewise.
6970 (FP_EX_OVERFLOW): Likewise.
6971 (FP_EX_UNDERFLOW): Likewise.
6972 (FP_EX_DIVZERO): Likewise.
6973 (FP_EX_INEXACT): Likewise.
6974 (FP_EX_ALL): Likewise.
6975 (__sfp_handle_exceptions): Likewise.
6976 (FP_HANDLE_EXCEPTIONS): Likewise.
6977 (FP_RND_NEAREST): Likewise.
6978 (FP_RND_ZERO): Likewise.
6979 (FP_RND_PINF): Likewise.
6980 (FP_RND_MINF): Likewise.
6981 (FP_RND_MASK): Likewise.
6982 (_FP_DECL_EX): Likewise.
6983 (FP_INIT_ROUNDMODE): Likewise.
6984 (FP_ROUNDMODE): Likewise.
6985
6986 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6987 VSX code, enable IEEE 128-bit floating point. If the compiler can
6988 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
6989 floating point hardware instructions and it supports declaring
6990 functions with the ifunc attribute, enable ifunc functions to
6991 switch between software and hardware support.
6992 * configure.ac (powerpc*-*-linux*): Likewise.
6993 * configure: Regenerate.
6994
6995 2016-01-15 Nick Clifton <[email protected]>
6996
6997 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
6998 dependency as the source file to be compiled.
6999 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
7000 (lib2hw_mul_f5.o): Likewise.
7001
7002 2016-01-13 Michael Meissner <[email protected]>
7003
7004 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
7005 * libgcc/config/rs6000/fixkfti.c: Likewise.
7006 * libgcc/config/rs6000/fixunskfti.c: Likewise.
7007 * libgcc/config/rs6000/float128-hw.c: Likewise.
7008 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
7009 * libgcc/config/rs6000/float128-sed: Likewise.
7010 * libgcc/config/rs6000/floattikf.c: Likewise.
7011 * libgcc/config/rs6000/floatuntikf.c: Likewise.
7012 * libgcc/config/rs6000/quad-float128.h: Likewise.
7013 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
7014 * libgcc/config/rs6000/sfp-machine.h: Likewise.
7015 * libgcc/config/rs6000/t-float128: Likewise.
7016 * libgcc/config/rs6000/t-float128-hw: Likewise.
7017 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
7018 * libgcc/config.host: Likewise.
7019 * libgcc/configure: Likewise.
7020 * libgcc/configure.ac: Likewise.
7021
7022 2016-01-13 Michael Meissner <[email protected]>
7023 Steven Munroe <[email protected]>
7024 Tulio Magno Quites Machado Filho <[email protected]>
7025
7026 * config/rs6000/sfp-exceptions.c: New file to provide exception
7027 support for IEEE 128-bit floating point.
7028
7029 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
7030 floating point hardware support.
7031
7032 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
7033 point conversions.
7034 * config/rs6000/fixunskfti.c: Likewise.
7035 * config/rs6000/fixkfti.c: Likewise.
7036 * config/rs6000/floatuntikf.c: Likewise.
7037 * config/rs6000/extendkftf2-sw.c: Likewise.
7038 * config/rs6000/trunctfkf2-sw.c: Likewise.
7039
7040 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
7041 128-bit floating point software emulation or use ISA 3.0 hardware
7042 support if it is available.
7043
7044 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
7045 floating point.
7046
7047 * config/rs6000/t-float128: New Makefile fragments to enable
7048 building __float128 emulation support.
7049 * config/rs6000/t-float128-hw: Likewise.
7050
7051 * config/rs6000/float128-sed: New file to convert TF names to KF
7052 names for PowerPC IEEE 128-bit floating point support.
7053
7054 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
7055 when building on 64-bit systems, or when VSX is enabled.
7056 (_FP_W_TYPE): Likewise.
7057 (_FP_WS_TYPE): Likewise.
7058 (_FP_I_TYPE): Likewise.
7059 (TItype): Define on 64-bit systems.
7060 (UTItype): Likewise.
7061 (TI_BITS): Likewise.
7062 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
7063 (_FP_MUL_MEAT_Q): Likewise.
7064 (_FP_DIV_MEAT_D): Likewise.
7065 (_FP_DIV_MEAT_Q): Likewise.
7066 (_FP_NANFRAC_D): Likewise.
7067 (_FP_NANFRAC_Q): Likewise.
7068 (ISA_BIT): Add exception support if we are being compiled on a
7069 machine with hardware floating point support to build the IEEE
7070 128-bit emulation functions.
7071 (FP_EX_INVALID): Likewise.
7072 (FP_EX_OVERFLOW): Likewise.
7073 (FP_EX_UNDERFLOW): Likewise.
7074 (FP_EX_DIVZERO): Likewise.
7075 (FP_EX_INEXACT): Likewise.
7076 (FP_EX_ALL): Likewise.
7077 (__sfp_handle_exceptions): Likewise.
7078 (FP_HANDLE_EXCEPTIONS): Likewise.
7079 (FP_RND_NEAREST): Likewise.
7080 (FP_RND_ZERO): Likewise.
7081 (FP_RND_PINF): Likewise.
7082 (FP_RND_MINF): Likewise.
7083 (FP_RND_MASK): Likewise.
7084 (_FP_DECL_EX): Likewise.
7085 (FP_INIT_ROUNDMODE): Likewise.
7086 (FP_ROUNDMODE): Likewise.
7087
7088 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
7089 compiler can do __float128.
7090 * configure: Regenerate.
7091
7092 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
7093 VSX code, enable IEEE 128-bit floating point.
7094
7095 2016-01-05 Olivier Hainque <[email protected]>
7096
7097 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
7098 specificities.
7099
7100 2016-01-04 Jakub Jelinek <[email protected]>
7101
7102 Update copyright years.
7103
7104 2015-12-18 Andris Pavenis <[email protected]>
7105
7106 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
7107 soft-fp targets.
7108
7109 2015-12-16 Bernd Edlinger <[email protected]>
7110
7111 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
7112 instead of abort to avoid dependency on stdlib.h.
7113
7114 2015-12-09 John David Anglin <[email protected]>
7115
7116 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
7117 to initialize call to __dl_fixup once.
7118
7119 2015-12-04 Nick Clifton <[email protected]>
7120
7121 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
7122 Allow for the second argument being negative.
7123 * config.host (extra_parts): Define for MSP430. Create separate
7124 libraries for each of the hardware multiply formats.
7125 * config/msp430/lib2hw_mul.S: Build only the multiply routines
7126 that are needed.
7127 * config/msp430/lib2mul.c: Likewise.
7128 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
7129 Add rules to build hardware multiply libraries.
7130 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
7131 __mspabi_divul function.
7132 (__mspabi_divllu): New stub function.
7133
7134 2015-12-01 John David Anglin <[email protected]>
7135
7136 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
7137 fixup values if saved GOT address doesn't match runtime address.
7138 (fixup_branch_offset): Reorder list.
7139
7140 2015-11-25 Rainer Orth <[email protected]>
7141
7142 * Makefile.in (VTV_CFLAGS): New variable.
7143 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
7144 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
7145 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
7146 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
7147 to extra_parts if $enable_vtable_verify = yes.
7148
7149 2015-11-23 Szabolcs Nagy <[email protected]>
7150
7151 PR target/68059
7152 * config/arm/linux-atomic-64bit.c (__write): Rename to...
7153 (write): ...this and fix the return type.
7154
7155 2015-11-19 DJ Delorie <[email protected]>
7156
7157 * config/msp430/lib2hw_mul.S: Fix alignment.
7158
7159 2015-11-18 Nathan Sidwell <[email protected]>
7160
7161 * config/nvptx/reduction.c: New.
7162 * config/nvptx/t-nvptx (LIB2ADD): Add it.
7163
7164 2015-11-15 David Edelsohn <[email protected]>
7165
7166 * config/rs6000/on_exit.c: New file.
7167 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
7168 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
7169
7170 2015-11-11 Claudiu Zissulescu <[email protected]>
7171
7172 * config/arc/dp-hack.h: Add support for ARCHS.
7173 * config/arc/ieee-754/divdf3.S: Likewise.
7174 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7175 * config/arc/ieee-754/muldf3.S: Likewise.
7176 * config/arc/ieee-754/mulsf3.S: Likewise
7177 * config/arc/lib1funcs.S: Likewise
7178 * config/arc/gmon/dcache_linesz.S: Don't read the build register
7179 for ARCv2 cores.
7180 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
7181 for ARCv2 cores.
7182 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
7183 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
7184 cores.
7185
7186 2015-11-09 Rainer Orth <[email protected]>
7187
7188 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
7189 value.
7190 * config/ia64/crtend.S: Likewise.
7191
7192 2015-11-07 Trevor Saunders <[email protected]>
7193
7194 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
7195 __CHAR_BIT__ instead of BITS_PER_UNIT.
7196 * fixed-bit.h: Likewise.
7197 * fp-bit.h: Likewise.
7198 * libgcc2.c (__popcountSI2): Likewise.
7199 (__popcountDI2): Likewise.
7200 * libgcc2.h: Likewise.
7201 * libgcov.h: Likewise.
7202
7203 2015-11-07 David Edelsohn <[email protected]>
7204
7205 * config/rs6000/atexit.c: New file.
7206 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
7207 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
7208 * config/rs6000/cxa_finalize.c
7209 (catomic_compare_and_exchange_bool_acq): Negate return value.
7210
7211 2015-10-30 Venkataramanan Kumar <[email protected]>
7212
7213 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
7214 (processor_subtypes): Add znver1.
7215 (get_amd_cpu): Detect znver1.
7216
7217 2015-10-29 Christophe Lyon <[email protected]>
7218
7219 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
7220 Include crtfastmath.o.
7221
7222 2015-10-23 Joern Rennecke <[email protected]>
7223
7224 PR libgcc/66883
7225 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
7226
7227 2015-10-16 Kaushik Phatak <[email protected]>
7228
7229 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
7230 * config/rl78/divmodsi.S: Update return register to r8.
7231 * config/rl78/divmodhi.S: Update return register to r8,r9.
7232 Branch to main_loop_done_himode to pop registers before return.
7233
7234 2015-10-09 Venkataramanan Kumar <[email protected]>
7235
7236 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
7237 (__cpu_indicator_init): Fix model selection for AMD CPUs.
7238
7239 2015-10-05 Kirill Yukhin <[email protected]>
7240
7241 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
7242
7243 2015-10-03 Max Filippov <[email protected]>
7244
7245 * config.host (xtensa*-*-uclinux*): New configuration.
7246
7247 2015-10-02 Kirill Yukhin <[email protected]>
7248
7249 * config/i386/cpuinfo.c (processor_features): Add
7250 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
7251
7252 2015-09-28 Joseph Myers <[email protected]>
7253
7254 * soft-fp/adddf3.c: Update from glibc.
7255 * soft-fp/addsf3.c: Likewise.
7256 * soft-fp/addtf3.c: Likewise.
7257 * soft-fp/divdf3.c: Likewise.
7258 * soft-fp/divsf3.c: Likewise.
7259 * soft-fp/divtf3.c: Likewise.
7260 * soft-fp/double.h: Likewise.
7261 * soft-fp/eqdf2.c: Likewise.
7262 * soft-fp/eqsf2.c: Likewise.
7263 * soft-fp/eqtf2.c: Likewise.
7264 * soft-fp/extenddftf2.c: Likewise.
7265 * soft-fp/extended.h: Likewise.
7266 * soft-fp/extendsfdf2.c: Likewise.
7267 * soft-fp/extendsftf2.c: Likewise.
7268 * soft-fp/extendxftf2.c: Likewise.
7269 * soft-fp/fixdfdi.c: Likewise.
7270 * soft-fp/fixdfsi.c: Likewise.
7271 * soft-fp/fixdfti.c: Likewise.
7272 * soft-fp/fixsfdi.c: Likewise.
7273 * soft-fp/fixsfsi.c: Likewise.
7274 * soft-fp/fixsfti.c: Likewise.
7275 * soft-fp/fixtfdi.c: Likewise.
7276 * soft-fp/fixtfsi.c: Likewise.
7277 * soft-fp/fixtfti.c: Likewise.
7278 * soft-fp/fixunsdfdi.c: Likewise.
7279 * soft-fp/fixunsdfsi.c: Likewise.
7280 * soft-fp/fixunsdfti.c: Likewise.
7281 * soft-fp/fixunssfdi.c: Likewise.
7282 * soft-fp/fixunssfsi.c: Likewise.
7283 * soft-fp/fixunssfti.c: Likewise.
7284 * soft-fp/fixunstfdi.c: Likewise.
7285 * soft-fp/fixunstfsi.c: Likewise.
7286 * soft-fp/fixunstfti.c: Likewise.
7287 * soft-fp/floatdidf.c: Likewise.
7288 * soft-fp/floatdisf.c: Likewise.
7289 * soft-fp/floatditf.c: Likewise.
7290 * soft-fp/floatsidf.c: Likewise.
7291 * soft-fp/floatsisf.c: Likewise.
7292 * soft-fp/floatsitf.c: Likewise.
7293 * soft-fp/floattidf.c: Likewise.
7294 * soft-fp/floattisf.c: Likewise.
7295 * soft-fp/floattitf.c: Likewise.
7296 * soft-fp/floatundidf.c: Likewise.
7297 * soft-fp/floatundisf.c: Likewise.
7298 * soft-fp/floatunditf.c: Likewise.
7299 * soft-fp/floatunsidf.c: Likewise.
7300 * soft-fp/floatunsisf.c: Likewise.
7301 * soft-fp/floatunsitf.c: Likewise.
7302 * soft-fp/floatuntidf.c: Likewise.
7303 * soft-fp/floatuntisf.c: Likewise.
7304 * soft-fp/floatuntitf.c: Likewise.
7305 * soft-fp/gedf2.c: Likewise.
7306 * soft-fp/gesf2.c: Likewise.
7307 * soft-fp/getf2.c: Likewise.
7308 * soft-fp/ledf2.c: Likewise.
7309 * soft-fp/lesf2.c: Likewise.
7310 * soft-fp/letf2.c: Likewise.
7311 * soft-fp/muldf3.c: Likewise.
7312 * soft-fp/mulsf3.c: Likewise.
7313 * soft-fp/multf3.c: Likewise.
7314 * soft-fp/negdf2.c: Likewise.
7315 * soft-fp/negsf2.c: Likewise.
7316 * soft-fp/negtf2.c: Likewise.
7317 * soft-fp/op-1.h: Likewise.
7318 * soft-fp/op-2.h: Likewise.
7319 * soft-fp/op-4.h: Likewise.
7320 * soft-fp/op-8.h: Likewise.
7321 * soft-fp/op-common.h: Likewise.
7322 * soft-fp/quad.h: Likewise.
7323 * soft-fp/single.h: Likewise.
7324 * soft-fp/soft-fp.h: Likewise.
7325 * soft-fp/subdf3.c: Likewise.
7326 * soft-fp/subsf3.c: Likewise.
7327 * soft-fp/subtf3.c: Likewise.
7328 * soft-fp/truncdfsf2.c: Likewise.
7329 * soft-fp/trunctfdf2.c: Likewise.
7330 * soft-fp/trunctfsf2.c: Likewise.
7331 * soft-fp/trunctfxf2.c: Likewise.
7332 * soft-fp/unorddf2.c: Likewise.
7333 * soft-fp/unordsf2.c: Likewise.
7334 * soft-fp/unordtf2.c: Likewise.
7335
7336 2015-09-24 Richard Earnshaw <[email protected]>
7337
7338 PR libgcc/67624
7339 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
7340
7341 2015-09-24 Rainer Orth <[email protected]>
7342
7343 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
7344 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
7345 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
7346 messages.
7347 (internal_mcount): Likewise.
7348 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
7349 crt_compile, add CRTSTUFF_T_CFLAGS_S.
7350
7351 2015-09-24 Rainer Orth <[email protected]>
7352
7353 * configure.ac (libgcc_cv_solaris_crts): New test.
7354 * configure: Regenerate.
7355 * config.in: Regenerate.
7356 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
7357 * config/gmon-sol2.c: Rename to ...
7358 * config/sol2/gmon.c: ... this.
7359 Include auto-target.h.
7360 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
7361 * config/t-sol2: Rename to ...
7362 * config/sol2/t-sol2: ... this.
7363 (gmon.o): Reflect renaming.
7364 (crtp.o, crtpg.o): New rules.
7365 * config.host (*-*-solaris2*): Reflect renaming.
7366 Use system CRTs if present.
7367 Remove default CRT case.
7368
7369 2015-09-23 John David Anglin <[email protected]>
7370
7371 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
7372 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
7373 __kernel_cmpxchg2.
7374 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
7375 (__sync_val_compare_and_swap_##WIDTH): Likewise.
7376 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
7377 (__sync_lock_test_and_set_##WIDTH): Likewise.
7378 (__sync_lock_release_##WIDTH): Likewise.
7379 (__sync_fetch_and_##OP##_4): Change result to match type of
7380 __kernel_cmpxchg.
7381 (__sync_##OP##_and_fetch_4): Likewise.
7382 (__sync_val_compare_and_swap_4): Likewise.
7383 (__sync_bool_compare_and_swap_4): likewise.
7384 (__sync_lock_test_and_set_4): Likewise.
7385 (__sync_lock_release_4): Likewise.
7386 (FETCH_AND_OP_2): Add long long variants.
7387 (OP_AND_FETCH_2): Likewise.
7388 (COMPARE_AND_SWAP_2 ): Likewise.
7389 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7390 (SYNC_LOCK_RELEASE_2): Likewise.
7391 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
7392
7393 2015-09-22 Kirill Yukhin <[email protected]>
7394
7395 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
7396 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
7397 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
7398 (get_available_features): Habdle new features.
7399
7400 2015-09-21 James Bowman <[email protected]>
7401
7402 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
7403 memory layout. Deal correctly with BSS region larger than 32K.
7404 Handle a watchdog reset like a power-on reset. Clean up unused
7405 code.
7406
7407 2015-09-18 Andrew Dixie <[email protected]>
7408 David Edelsohn <[email protected]>
7409
7410 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
7411 * config/rs6000/crtdbase.S: New file.
7412 * config/rs6000/t-aix-cxa: Build crtdbase.o.
7413
7414 2015-09-15 Max Filippov <[email protected]>
7415
7416 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
7417 Add support for call0 ABI.
7418
7419 2015-09-13 John David Anglin <[email protected]>
7420
7421 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
7422
7423 2015-09-03 Sebastian Huber <[email protected]>
7424
7425 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
7426 (__GTHREAD_HAS_COND): Likewise.
7427 (__gthread_t): Likewise.
7428 (__gthread_cond_t): Likewise.
7429 (__gthread_time_t): Likewise.
7430 (__GTHREAD_MUTEX_INIT): Likewise.
7431 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
7432 (__GTHREAD_COND_INIT): Likewise.
7433 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
7434 (__GTHREAD_TIME_INIT): Likewise.
7435 (__gthread_create): Likewise.
7436 (__gthread_join): Likewise.
7437 (__gthread_detach): Likewise.
7438 (__gthread_equal): Likewise.
7439 (__gthread_self): Likewise.
7440 (__gthread_yield): Likewise.
7441 (__gthread_cond_broadcast): Likewise.
7442 (__gthread_cond_signal): Likewise.
7443 (__gthread_cond_wait): Likewise.
7444 (__gthread_cond_timedwait): Likewise.
7445 (__gthread_cond_wait_recursive): Likewise.
7446 (__gthread_cond_destroy): Likewise.
7447 (rtems_gxx_once): Delete.
7448 (rtems_gxx_key_create): Likewise.
7449 (rtems_gxx_key_delete): Likewise.
7450 (rtems_gxx_getspecific): Likewise.
7451 (rtems_gxx_setspecific): Likewise.
7452 (rtems_gxx_mutex_init): Likewise.
7453 (rtems_gxx_mutex_destroy): Likewise.
7454 (rtems_gxx_mutex_lock): Likewise.
7455 (rtems_gxx_mutex_trylock): Likewise.
7456 (rtems_gxx_mutex_unlock): Likewise.
7457 (rtems_gxx_recursive_mutex_init): Likewise.
7458 (rtems_gxx_recursive_mutex_lock): Likewise.
7459 (rtems_gxx_recursive_mutex_trylock): Likewise.
7460 (rtems_gxx_recursive_mutex_unlock): Likewise.
7461 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
7462 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
7463 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
7464 (__gthread_once): Likewise.
7465 (__gthread_key_create): Likewise.
7466 (__gthread_key_delete): Likewise.
7467 (__gthread_getspecific): Likewise.
7468 (__gthread_setspecific): Likewise.
7469 (__gthread_key_t): Use <pthread.h> type.
7470 (__gthread_once_t): Likewise
7471 (__gthread_mutex_t): Use <sys/lock.h> type.
7472 (__gthread_recursive_mutex_t): Likewise
7473 (__gthread_mutex_lock): Use <sys/lock.h> function.
7474 (__gthread_mutex_trylock): Likewise.
7475 (__gthread_mutex_timedlock): Likewise.
7476 (__gthread_mutex_unlock): Likewise.
7477 (__gthread_mutex_destroy): Likewise.
7478 (__gthread_recursive_mutex_lock): Likewise.
7479 (__gthread_recursive_mutex_trylock): Likewise.
7480 (__gthread_recursive_mutex_timedlock): Likewise.
7481 (__gthread_recursive_mutex_unlock): Likewise.
7482 (__gthread_recursive_mutex_destroy): Likewise.
7483
7484 2015-08-18 Max Filippov <[email protected]>
7485
7486 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
7487 context->sp instead of context->cfa.
7488
7489 2015-08-18 Max Filippov <[email protected]>
7490
7491 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
7492 with unwind-dw2-fde-dip.
7493
7494 2015-08-18 Max Filippov <[email protected]>
7495
7496 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
7497 CALL12 followed by series of ENTRY to spill windowed registers.
7498 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
7499 instead of making linux spill syscall.
7500
7501 2015-08-14 Yuri Rumyantsev <[email protected]>
7502
7503 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
7504 (get_intel_cpu): Likewise.
7505
7506 2015-08-12 H.J. Lu <[email protected]>
7507
7508 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
7509 (get_intel_cpu): Add Knights Landing support.
7510
7511 2015-08-11 Uros Bizjak <[email protected]>
7512
7513 PR target/66954
7514 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
7515 (get_available_features): Handle FEATURE_PCLMUL.
7516
7517 2015-08-10 H.J. Lu <[email protected]>
7518
7519 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
7520 Broadwell.
7521
7522 2015-07-22 Uros Bizjak <[email protected]>
7523
7524 PR target/66954
7525 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
7526 (get_available_features): Handle FEATURE_AES.
7527
7528 2015-07-22 Chung-Lin Tang <[email protected]>
7529
7530 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
7531 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
7532
7533 2015-07-17 Nathan Sidwell <[email protected]>
7534
7535 * offloadstuff.c: Constify host data.
7536
7537 2015-07-17 Jan Beulich <[email protected]>
7538
7539 * config/t-softfp: Split up "else ifneq".
7540
7541 2015-07-14 Sandra Loosemore <[email protected]>
7542 Cesar Philippidis <[email protected]>
7543 Chung-Lin Tang <[email protected]>
7544
7545 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
7546 for __nios2_arch__ level.
7547
7548 2015-07-13 John Marino <[email protected]>
7549
7550 * config/i386/t-dragonfly: New.
7551
7552 2015-07-01 John David Anglin <[email protected]>
7553
7554 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
7555 better match light-weight syscall argument order.
7556 (__kernel_cmpxchg2): Likewise.
7557 Adjust callers.
7558
7559 2015-06-30 H.J. Lu <[email protected]>
7560
7561 * config.host: Support i[34567]86-*-elfiamcu target.
7562 * config/t-softfp-sfdftf: New file.
7563 * config/i386/32/t-iamcu: Likewise.
7564 * configure: Regenerated.
7565
7566 2015-06-23 James Lemke <[email protected]>
7567
7568 libgcc/config/arm/
7569 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
7570
7571 2015-05-27 H.J. Lu <[email protected]>
7572
7573 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
7574
7575 2015-05-27 John Marino <[email protected]>
7576
7577 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
7578 md_unwind_header
7579 * config/i386/freebsd-unwind.h: New.
7580
7581 2015-05-22 Uros Bizjak <[email protected]>
7582
7583 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
7584 i386/t-crtfm to tmake_file.
7585 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
7586 (set_fast_math): Use set_fast_math_sse for SSE targets.
7587 * config/i386/t-crtfm: Remove.
7588
7589 2015-05-21 Alan Modra <[email protected]>
7590
7591 PR libgcc/66225
7592 * config/rs6000/morestack.S: Remove ".abiversion 1".
7593
7594 2015-05-20 Alan Modra <[email protected]>
7595
7596 * config/rs6000/morestack.S: New.
7597 * config/rs6000/t-stack-rs6000: New.
7598 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
7599 to tmake_file.
7600 * generic-morestack.c: Don't build for powerpc 32-bit.
7601
7602 2015-05-19 Eric Botcazou <[email protected]>
7603
7604 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
7605 Remove useless endif/ifneq ($(enable_shared),yes) pair.
7606
7607 2015-05-16 James Bowman <[email protected]>
7608
7609 * config.host: FT32 target added.
7610 * config/ft32/*: New files for FT32 target.
7611
7612 2015-05-15 Martin Galvan <[email protected]>
7613
7614 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
7615 New macros.
7616 * config/arm/ieee754-df.S: Add CFI directives.
7617 * config/arm/ieee754-sf.S: Add CFI directives.
7618
7619 2015-05-13 Eric Botcazou <[email protected]>
7620
7621 * configure.ac: Include config/sjlj.m4.
7622 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
7623 * config.in: Regenerate.
7624 * configure: Likewise.
7625 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
7626
7627 2015-05-12 Uros Bizjak <[email protected]>
7628
7629 * libgcov-util.c: Add space between string literal and macro name.
7630
7631 2015-05-06 Sandra Loosemore <[email protected]>
7632 Chris Jones <[email protected]>
7633 Joshua Conner <[email protected]>
7634
7635 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
7636 (arm*-*-uclinux*): Likewise.
7637 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
7638 * config/arm/crtfastmath.c: New file.
7639
7640 2014-04-29 Bernd Schmidt <[email protected]>
7641
7642 * Makefile.in (real_host_noncanonical): New variable.
7643 (libsubdir): Use it.
7644 * configure.ac (real_host_noncanonical): Compute. Remove special
7645 case for intelmicemul.
7646 * configure: Regenerate.
7647
7648 2015-04-28 Uros Bizjak <[email protected]>
7649
7650 * config/frv/elf-lib.h: New file.
7651 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
7652 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
7653 to tm_file.
7654
7655 2015-04-28 Uros Bizjak <[email protected]>
7656
7657 * config/frv/frvbengin.c: Do not include defaults.h
7658 * config/frv/frvend.c: Ditto.
7659
7660 2015-04-27 Yoshinori Sato <[email protected]>
7661
7662 * config.host: Add h8300-*-linux
7663 * config/h8300/t-linux: New file.
7664 * config/h8300/lib1funs.s: Change symbol prefix.
7665 * config/h8300/sfp-machine.h: 64bit double support.
7666
7667 2015-04-22 Gregor Richards <[email protected]>
7668 Szabolcs Nagy <[email protected]>
7669
7670 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
7671 Linux if target provides dl_iterate_phdr.
7672
7673 2015-04-17 H.J. Lu <[email protected]>
7674
7675 PR target/65612
7676 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
7677 * config/i386/cpuinfo.c (__cpu_model): Initialize.
7678 (__cpu_indicator_init@GCC_4.8.0): New.
7679 (__cpu_model@GCC_4.8.0): Likewise.
7680 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
7681 -DUSE_ELF_SYMVER.
7682
7683 2015-04-16 Nick Clifton <[email protected]>
7684
7685 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
7686 and __modhi3 functions.
7687 * config/rl78/divmodso.S: Add G14 and G13 versions of the
7688 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
7689
7690 2015-04-15 Chen Gang <[email protected]>
7691
7692 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
7693 do-while loop as macro body to avoid warnings.
7694
7695 2015-04-10 Jakub Jelinek <[email protected]>
7696 Iain Sandoe <[email protected]>
7697
7698 PR target/65351
7699 * configure: Regenerate.
7700
7701 2015-04-07 Jakub Jelinek <[email protected]>
7702 Iain Sandoe <[email protected]>
7703
7704 PR target/65351
7705 * configure: Regenerate.
7706
7707 2015-03-25 Chung-Lin Tang <[email protected]>
7708
7709 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
7710
7711 2015-03-03 Max Filippov <[email protected]>
7712
7713 Implement call0 ABI for xtensa
7714 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
7715 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
7716 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
7717 use ret in call0 ABI.
7718 * config/xtensa/t-windowed: New file.
7719 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
7720 * libgcc/configure: Regenerated.
7721 * libgcc/configure.ac: Check if xtensa target is configured for
7722 windowed ABI and thus needs to use custom unwind code.
7723
7724 2015-02-12 Jonathan Wakely <[email protected]>
7725
7726 PR libgcc/64885
7727 * gthr-single.h: Use __unused__ attribute instead of unused.
7728 * config/gthr-vxworks.h: Likewise.
7729 * config/i386/gthr-win32.h: Likewise.
7730
7731 2015-02-27 Kai Tietz <[email protected]>
7732
7733 PR target/65038
7734 * config.in: Regenerated.
7735 * configure: Likewise.
7736 * configure.ac (AC_HEADER_STDC): Added explicit.
7737 (AC_CHECK_HEADERS): Check for default headers plus
7738 for ftw.h header.
7739 * libgcov-util.c (gcov_read_profile_dir): Disable use
7740 of ftw-function, if header is not found.
7741 (ftw_read_file): Likewise.
7742
7743 2015-02-23 Thomas Schwinge <[email protected]>
7744
7745 PR target/65181
7746 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
7747 -Dinhibit_libc.
7748
7749 2015-02-17 Sandra Loosemore <[email protected]>
7750
7751 * config/arm/bpabi.S (test_div_by_zero): Make label names
7752 consistent between thumb2 and arm mode cases. Separate the
7753 signed comparison on the high word of the numerator from the
7754 unsigned comparison on the low word.
7755 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
7756 signed comparison.
7757
7758 2015-02-17 Joseph Myers <[email protected]>
7759
7760 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
7761 and <string.h>.
7762 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
7763
7764 2015-02-10 Rainer Emrich <[email protected]>
7765
7766 PR gcov-profile/61889
7767 * libgcov-driver-system.c: undefine clashing macro for mkdir.
7768
7769 2015-02-02 Nick Clifton <[email protected]>
7770
7771 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
7772 rounding up the fraction.
7773
7774 2015-01-31 John David Anglin <[email protected]>
7775
7776 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
7777 oldval and newval to const void *. Fix typo.
7778 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
7779 (FETCH_AND_OP_WORD): Likewise.
7780 (OP_AND_FETCH_WORD): Likewise.
7781 (COMPARE_AND_SWAP_2): Likewise.
7782 (__sync_val_compare_and_swap_4): Likewise.
7783 (__sync_lock_test_and_set_4): Likewise.
7784 (SYNC_LOCK_RELEASE_2): Likewise.
7785 Remove support for long long atomic operations.
7786
7787 2015-01-27 Caroline Tice <[email protected]>
7788
7789 Committing VTV Cywin/Ming patch for Patrick Wollgast
7790 * Makefile.in: Move rules to build vtv_*.o out of the check
7791 for CUSTOM_CRTSTUFF.
7792 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
7793 i[34567]86-*-mingw*)
7794 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
7795 enable_vtable_verify.
7796
7797 2015-01-27 Nick Clifton <[email protected]>
7798
7799 * config/rl78/cmpsi2.S: Use function start and end macros.
7800 (__gcc_bcmp): New function.
7801 * config/rl78/lshrsi3.S: Use function start and end macros.
7802 * config/rl78/mulsi3.S: Add support for G10.
7803 (__mulqi3): New function for G10.
7804 * config/rl78/signbit.S: Use function start and end macros.
7805 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
7806 fpmath-sf.S.
7807 (LIB2FUNCS_EXCLUDE): Define.
7808 (LIB2FUNCS_ST): Define.
7809 * config/rl78/trampoline.S: Use function start and end macros.
7810 * config/rl78/vregs.h (START_FUNC): New macro.
7811 (START_ANOTHER_FUNC): New macro.
7812 (END_FUNC): New macro.
7813 (END_ANOTHER_FUNC): New macro.
7814 * config/rl78/bit-count.S: New file. Contains assembler
7815 implementations of the bit counting functions: ___clzhi2,
7816 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
7817 __paritysi2, __popcounthi2 and __popcountsi2.
7818 * config/rl78/fpbit-sf.S: New file. Contains assembler
7819 implementationas of the math functions: __negsf2, __cmpsf2,
7820 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
7821 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
7822 * config/rl78/fpmath-sf.S: New file. Contains assembler
7823 implementations of the math functions: __subsf3, __addsf3,
7824 __mulsf3 and __divsf3
7825
7826 2015-01-27 Rainer Orth <[email protected]>
7827
7828 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
7829 Add i386/elf-lib.h to tm_file.
7830 * config/i386/elf-lib.h: Fix comment.
7831 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
7832 && __sun__ && __svr4__]: Remove workaround.
7833
7834 2015-01-25 Allan Sandfeld Jensen <[email protected]>
7835
7836 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
7837 FEATURE_BMI2.
7838 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
7839
7840 2015-01-24 H.J. Lu <[email protected]>
7841
7842 * config/i386/cpuinfo.c (processor_subtypes): Add
7843 INTEL_COREI7_BROADWELL.
7844 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
7845 model numbers.
7846
7847 2015-01-23 Uros Bizjak <[email protected]>
7848
7849 * config/i386/elf-lib.h: New file.
7850 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
7851 Wrap definition in #ifdef __i386__.
7852 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7853 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
7854 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
7855 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
7856 to tm_file.
7857
7858 2015-01-22 Chen Gang <[email protected]>
7859
7860 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
7861 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
7862
7863 2015-01-20 Chung-Lin Tang <[email protected]>
7864
7865 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
7866 Update rt_sigframe format and address for current Nios II
7867 Linux conventions.
7868
7869 2015-01-09 Andreas Tobler <[email protected]>
7870
7871 * config.host (arm*-*-freebsd*): Add new configuration for
7872 arm*-*-freebsd*.
7873 * config/arm/freebsd-atomic.c: New file.
7874 * config/arm/t-freebsd: Likewise.
7875 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
7876 'PC-relative indirect' OS's.
7877
7878 2015-01-06 Eric Botcazou <[email protected]>
7879
7880 * config.host: Add Visium support.
7881 * config/visium: New directory.
7882
7883 2015-01-05 Jakub Jelinek <[email protected]>
7884
7885 Update copyright years.
7886
7887 2014-12-19 Matthew Fortune <[email protected]>
7888
7889 * config.host: Support mipsisa32r6 and mipsisa64r6.
7890 * config/mips/mips16.S: Do not build for R6.
7891
7892 2014-12-17 Oleg Endo <[email protected]>
7893
7894 * config/sh/crt.h: New.
7895 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
7896 symbols.
7897 * config/sh/crt1.S: Likewise.
7898
7899 2014-12-15 Uros Bizjak <[email protected]>
7900
7901 PR libgcc/63832
7902 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
7903 func_ptr *dtor_list temporary variable to avoid "array subscript
7904 is above array bounds" warnings.
7905
7906 2014-12-09 Michael Haubenwallner <[email protected]>
7907
7908 * Makefile.in (with_aix_soname): Define.
7909 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
7910 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
7911 * configure: Recreate.
7912
7913 2014-12-05 Olivier Hainque <[email protected]>
7914
7915 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
7916 now provided by defaults.h.
7917
7918 2014-11-30 Oleg Endo <[email protected]>
7919
7920 PR target/55351
7921 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
7922 whether it's defined.
7923
7924 2014-11-27 Ilya Tocar <[email protected]>
7925
7926 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
7927 * config/i386/cpuinfo.c (get_available_features): Detect it.
7928
7929 2014-11-27 Tony Wang <[email protected]>
7930
7931 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
7932 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
7933 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
7934
7935 2014-11-25 Segher Boessenkool <[email protected]>
7936
7937 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
7938
7939 2014-11-24 John David Anglin <[email protected]>
7940
7941 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
7942 instead.
7943
7944 2014-11-21 Guy Martin <[email protected]>
7945 John David Anglin <[email protected]>
7946
7947 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
7948 (FETCH_AND_OP_2): New. Use for subword and double word operations.
7949 (OP_AND_FETCH_2): Likewise.
7950 (COMPARE_AND_SWAP_2): Likewise.
7951 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7952 (SYNC_LOCK_RELEASE_2): Likewise.
7953 (SUBWORD_SYNC_OP): Remove.
7954 (SUBWORD_VAL_CAS): Likewise.
7955 (SUBWORD_BOOL_CAS): Likewise.
7956 (FETCH_AND_OP_WORD): Update.
7957 Consistently use signed types.
7958
7959 2014-11-13 Bernd Schmidt <[email protected]>
7960 Thomas Schwinge <[email protected]>
7961 Ilya Verbin <[email protected]>
7962 Andrey Turetskiy <[email protected]>
7963
7964 * Makefile.in (crtoffloadbegin$(objext)): New rule.
7965 (crtoffloadend$(objext)): Likewise.
7966 * configure: Regenerate.
7967 * configure.ac (accel_dir_suffix): Compute new variable.
7968 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
7969 if enable_offload_targets is not empty.
7970 * offloadstuff.c: New file.
7971
7972 2014-11-13 Nick Clifton <[email protected]>
7973
7974 * config/rl78/divmodhi.S: Add support for the G10 architecture.
7975 Use START_FUNC and END_FUNC macros to enable linker garbage
7976 collection.
7977 * config/rl78/divmodqi.S: Likewise.
7978 * config/rl78/divmodsi.S: Likewise.
7979 * config/rl78/mulsi3.S: Likewise.
7980 * config/rl78/lib2div.c: Remove G10 functions.
7981 * config/rl78/lib2muls.c: Likewise.
7982 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
7983 * config/rl78/vregs.h (START_FUNC): New macro.
7984 (END_FUNC): New macro.
7985
7986 2014-11-12 Matthew Fortune <[email protected]>
7987
7988 * config/mips/mips16.S: Set .module when supported. Update O32
7989 FP64 calling convention and use for FPXX when possible. Add FPXX
7990 calling convention fallback case.
7991
7992 2014-11-06 Bernd Schmidt <[email protected]>
7993
7994 * config.host: Handle nvptx-*-*.
7995 * shared-object.mk (as-flags-$o): Define.
7996 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
7997 -xassembler-with-cpp.
7998 * static-object.mk: Identical changes.
7999 * config/nvptx/t-nvptx: New file.
8000 * config/nvptx/crt0.s: New file.
8001 * config/nvptx/free.asm: New file.
8002 * config/nvptx/malloc.asm: New file.
8003 * config/nvptx/realloc.c: New file.
8004
8005 2014-10-30 Joseph Myers <[email protected]>
8006
8007 * Makefile.in (libgcc.map.in): New target.
8008 (libgcc.map): Use libgcc.map.in.
8009 * config/t-softfp (softfp_compat): New variable to be set by
8010 users.
8011 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
8012 variables.
8013 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
8014 directory.
8015 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
8016 that use compat symbols and disable all code unless [SHARED].
8017 * config/t-softfp-compat: New file.
8018 * find-symver.awk: New file.
8019 * configure.ac (--with-glibc-version): New configure option.
8020 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
8021 * configure: Regenerate.
8022 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
8023 soft-float and e500.
8024
8025 2014-10-29 Joseph Myers <[email protected]>
8026
8027 * config/t-hardfp (hardfp_exclusions): Document new variable for
8028 user to define.
8029 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
8030 * config/t-softfp (softfp_extras): Document new variable for user
8031 to define.
8032 (softfp_func_list): Add functions from $(softfp_extras).
8033 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
8034 * config.host (powerpc*-*-linux*): For e500v1, use
8035 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
8036 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
8037 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
8038
8039 2014-10-26 John David Anglin <[email protected]>
8040
8041 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
8042 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
8043 memory read accesses are ok.
8044
8045 2014-10-25 Joseph Myers <[email protected]>
8046
8047 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
8048 * configure: Regenerate.
8049 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
8050 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
8051 of soft-fp for 32-bit classic hard float. Do not use
8052 t-softfp-excl for soft float.
8053
8054 2014-10-22 Joseph Myers <[email protected]>
8055
8056 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
8057 configurations.
8058 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
8059 Remove variables.
8060
8061 2014-10-22 Georg-Johann Lay <[email protected]>
8062
8063 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
8064 introduced with 2014-10-21 trunk r216525.
8065
8066 2014-10-21 Joern Rennecke <[email protected]>
8067 Vidya Praveen <[email protected]>
8068 Praveen Kumar Kaushik <[email protected]>
8069 Senthil Kumar Selvaraj <[email protected]>
8070 Pitchumani Sivanupandi <[email protected]>
8071
8072 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
8073 order.
8074
8075 Updated library functions for AVRTINY arch.
8076 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
8077 Replaced occurrences of r0/r1 with tmp/zero reg macros.
8078 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
8079 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
8080 wsubi/wadi macors.
8081 (__mulsi3_helper): Update stack, preserve callee saved regs and
8082 argument from stack. Restore callee save registers.
8083 (__mulpsi3): Likewise.
8084 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
8085 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
8086 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
8087 AVRTINY.
8088 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
8089 (__do_copy_data): Added new definition for AVRTINY.
8090 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
8091 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
8092 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
8093 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
8094 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
8095 macors.
8096 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
8097 AVRTINY.
8098
8099 Fix broken long multiplication on tiny arch.
8100
8101 2014-10-09 Joseph Myers <[email protected]>
8102
8103 * soft-fp/double.h: Update from glibc.
8104 * soft-fp/eqdf2.c: Likewise.
8105 * soft-fp/eqsf2.c: Likewise.
8106 * soft-fp/eqtf2.c: Likewise.
8107 * soft-fp/extenddftf2.c: Likewise.
8108 * soft-fp/extended.h: Likewise.
8109 * soft-fp/extendsfdf2.c: Likewise.
8110 * soft-fp/extendsftf2.c: Likewise.
8111 * soft-fp/extendxftf2.c: Likewise.
8112 * soft-fp/gedf2.c: Likewise.
8113 * soft-fp/gesf2.c: Likewise.
8114 * soft-fp/getf2.c: Likewise.
8115 * soft-fp/ledf2.c: Likewise.
8116 * soft-fp/lesf2.c: Likewise.
8117 * soft-fp/letf2.c: Likewise.
8118 * soft-fp/op-1.h: Likewise.
8119 * soft-fp/op-2.h: Likewise.
8120 * soft-fp/op-4.h: Likewise.
8121 * soft-fp/op-8.h: Likewise.
8122 * soft-fp/op-common.h: Likewise.
8123 * soft-fp/quad.h: Likewise.
8124 * soft-fp/single.h: Likewise.
8125 * soft-fp/soft-fp.h: Likewise.
8126 * soft-fp/unorddf2.c: Likewise.
8127 * soft-fp/unordsf2.c: Likewise.
8128 * soft-fp/unordtf2.c: Likewise.
8129 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
8130 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
8131 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
8132 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
8133 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
8134 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
8135 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
8136 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
8137 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
8138 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
8139
8140 2014-10-08 Rong Xu <[email protected]>
8141
8142 * libgcov-util.c (read_gcda_file): Fix format.
8143 (find_match_gcov_info): Ditto.
8144 (calculate_2_entries): New.
8145 (compute_one_gcov): Ditto.
8146 (gcov_info_count_all_cold): Ditto.
8147 (gcov_info_count_all_zero): Ditto.
8148 (extract_file_basename): Ditto.
8149 (get_file_basename): Ditto.
8150 (set_flag): Ditto.
8151 (matched_gcov_info): Ditto.
8152 (calculate_overlap): Ditto.
8153 (gcov_profile_overlap): Ditto.
8154 * libgcov-driver.c (compute_summary): Make
8155 it avavilable for external calls.
8156
8157 2014-10-06 Rong Xu <[email protected]>
8158
8159 * Makefile.in: Ditto.
8160 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
8161 (gcov_sort_icall_topn_counter): Ditto.
8162 (gcov_sort_topn_counter_arrays): Ditto.
8163 (dump_one_gcov): Sort indirect_call topn counters.
8164 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
8165 function.
8166 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
8167 utility function.
8168 (__gcov_indirect_call_topn_profiler): New profiler function.
8169 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
8170 * libgcov.h: New decls.
8171
8172 2014-10-04 Trevor Saunders <[email protected]>
8173
8174 * config.host: Remove support for score-*.
8175
8176 2014-09-22 Joseph Myers <[email protected]>
8177
8178 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8179 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
8180 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
8181 __LIBGCC_XF_MANT_DIG__.
8182 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
8183 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
8184 __LIBGCC_TF_MANT_DIG__.
8185 * libgcc2.c (NOTRUNC): Define in terms of
8186 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
8187 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8188
8189 2014-09-22 Joseph Myers <[email protected]>
8190
8191 PR target/63312
8192 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
8193 New macros.
8194
8195 2014-09-22 Hans-Peter Nilsson <[email protected]>
8196
8197 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
8198 override USE_PT_GNU_EH_FRAME.
8199 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
8200 check USE_EH_FRAME_REGISTRY_ALWAYS against
8201 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
8202 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
8203 variable for substituted force_explicit_eh_registry.
8204 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
8205 * configure.ac (explicit-exception-frame-registration):
8206 New AC_ARG_ENABLE.
8207 * configure: Regenerate.
8208
8209 2014-09-19 Olivier Hainque <[email protected]>
8210
8211 * config.host (powerpc-wrs-vxworksmils): New configuration,
8212 same as vxworksae.
8213
8214 2014-09-18 Joseph Myers <[email protected]>
8215
8216 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
8217
8218 2014-09-18 Joseph Myers <[email protected]>
8219
8220 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
8221 bits not set bits as indicating trapping exceptions.
8222
8223 2014-09-17 Nathan sidwell <[email protected]>
8224
8225 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
8226 (LIBGCOV_DRIVER): ... here.
8227 * libgcov-driver.c (gcov_master): New.
8228 (gcov_exit): Remove from master chain.
8229 (__gcov_init): Add to master chain if version compatible. Don't
8230 clear the version.
8231 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
8232 (gcov_reset_int): Clear master chain, if compatible.
8233 (gcov_dump_int): New internal interface. Dump master chain, if
8234 compatible.
8235 (gcov_dump): Alias for gcov_dump_int.
8236 * libgcov.h (struct gcov_root): Add next and prev fields.
8237 (struct gcov_master): New struct.
8238 (__gcov_master): New.
8239 (gcov_dump_int): Declare.
8240
8241 2014-09-17 Olivier Hainque <[email protected]>
8242
8243 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
8244 and crtbegin.o + crtend.o to extra_parts.
8245
8246 2014-09-12 Joseph Myers <[email protected]>
8247
8248 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
8249 __LIBGCC_HAS_SF_MODE__.
8250 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
8251 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
8252 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
8253 * config/libbid/bid_gcc_intrinsics.h
8254 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
8255 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
8256 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
8257 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
8258 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
8259 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
8260
8261 2014-09-11 Georg-Johann Lay <[email protected]>
8262
8263 PR target/63223
8264 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
8265 and R24 as needed. Make work for all devices and .text locations.
8266 (__do_global_ctors, __do_global_dtors): Use word addresses.
8267 (__tablejump__, __tablejump_elpm__): Remove functions.
8268 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
8269 Add _tablejump2.
8270 (XICALL, XIJMP): New macros.
8271
8272 2014-09-09 Marcus Shawcroft <[email protected]>
8273 Ramana Radhakrishnan <[email protected]>
8274
8275 * config.host (aarch64*): Include crtfastmath.o and
8276 t-crtfm.
8277 * config/aarch64/crtfastmath.c: New file.
8278
8279 2014-09-08 Trevor Saunders <[email protected]>
8280
8281 * config.host: Remove picochip support.
8282 * config/picochip/adddi3.S: Remove.
8283 * config/picochip/ashlsi3.S: Remove.
8284 * config/picochip/ashlsi3.c: Remove.
8285 * config/picochip/ashrsi3.S: Remove.
8286 * config/picochip/ashrsi3.c: Remove.
8287 * config/picochip/clzsi2.S: Remove.
8288 * config/picochip/cmpsi2.S: Remove.
8289 * config/picochip/divmod15.S: Remove.
8290 * config/picochip/divmodhi4.S: Remove.
8291 * config/picochip/divmodsi4.S: Remove.
8292 * config/picochip/lib1funcs.S: Remove.
8293 * config/picochip/longjmp.S: Remove.
8294 * config/picochip/lshrsi3.S: Remove.
8295 * config/picochip/lshrsi3.c: Remove.
8296 * config/picochip/parityhi2.S: Remove.
8297 * config/picochip/popcounthi2.S: Remove.
8298 * config/picochip/setjmp.S: Remove.
8299 * config/picochip/subdi3.S: Remove.
8300 * config/picochip/t-picochip: Remove.
8301 * config/picochip/ucmpsi2.S: Remove.
8302 * config/picochip/udivmodhi4.S: Remove.
8303 * config/picochip/udivmodsi4.S: Remove.
8304
8305 2014-09-08 Joseph Myers <[email protected]>
8306
8307 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
8308 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
8309 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
8310 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
8311 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
8312 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
8313 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
8314 defined and LIBGCC2_HAS_DF_MODE is defined.
8315 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
8316 defined and LIBGCC2_HAS_XF_MODE is defined.
8317 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
8318 defined and LIBGCC2_HAS_TF_MODE is defined.
8319
8320 2014-09-08 Joseph Myers <[email protected]>
8321
8322 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
8323 and ROUND_TOWARDS_ZERO conditionals.
8324
8325 2014-09-07 Nathan sidwell <[email protected]>
8326
8327 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
8328 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
8329
8330 2014-09-05 Joseph Myers <[email protected]>
8331
8332 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
8333 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
8334 uses to __LIBGCC_STACK_POINTER_REGNUM__.
8335 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
8336 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8337 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
8338 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8339 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
8340 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
8341 (DWARF_FRAME_REGISTERS): Change all uses to
8342 __LIBGCC_DWARF_FRAME_REGISTERS__.
8343 (EH_RETURN_STACKADJ_RTX): Change all uses to
8344 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
8345 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
8346 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
8347 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
8348 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
8349 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
8350 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
8351 to __LIBGCC_EH_FRAME_SECTION_NAME__.
8352 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
8353 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
8354 __LIBGCC_STACK_POINTER_REGNUM__.
8355 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
8356 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8357 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
8358 to __LIBGCC_STACK_POINTER_REGNUM__.
8359 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
8360 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8361 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
8362 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8363 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
8364 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8365 (STACK_POINTER_REGNUM): Change all uses to
8366 __LIBGCC_STACK_POINTER_REGNUM__.
8367 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
8368 use to __LIBGCC_STACK_POINTER_REGNUM__.
8369 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
8370 uses to __LIBGCC_STACK_POINTER_REGNUM__.
8371 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
8372 to __LIBGCC_DWARF_FRAME_REGISTERS__.
8373 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
8374 to __LIBGCC_DWARF_FRAME_REGISTERS__.
8375 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
8376 to __LIBGCC_STACK_POINTER_REGNUM__.
8377 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
8378 Remove conditional definition.
8379 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
8380 __LIBGCC_TEXT_SECTION_ASM_OP__.
8381 (EH_FRAME_SECTION_NAME): Change all uses to
8382 __LIBGCC_EH_FRAME_SECTION_NAME__.
8383 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
8384 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
8385 (CTORS_SECTION_ASM_OP): Change all uses to
8386 __LIBGCC_CTORS_SECTION_ASM_OP__.
8387 (DTORS_SECTION_ASM_OP): Change all uses to
8388 __LIBGCC_DTORS_SECTION_ASM_OP__.
8389 (JCR_SECTION_NAME): Change all uses to
8390 __LIBGCC_JCR_SECTION_NAME__.
8391 (INIT_SECTION_ASM_OP): Change all uses to
8392 __LIBGCC_INIT_SECTION_ASM_OP__.
8393 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
8394 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
8395 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
8396 __LIBGCC_STACK_GROWS_DOWNWARD__.
8397 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
8398 __LIBGCC_INIT_SECTION_ASM_OP__.
8399 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
8400 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
8401 (EH_FRAME_SECTION_NAME): Change all uses to
8402 __LIBGCC_EH_FRAME_SECTION_NAME__.
8403 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
8404 definitions. Change all uses to
8405 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
8406 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
8407 __LIBGCC_STACK_GROWS_DOWNWARD__.
8408 (DWARF_FRAME_REGISTERS): Change all uses to
8409 __LIBGCC_DWARF_FRAME_REGISTERS__.
8410 (EH_RETURN_STACKADJ_RTX): Change all uses to
8411 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
8412 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
8413 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
8414 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
8415 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
8416 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
8417
8418 2014-09-02 Nathan sidwell <[email protected]>
8419
8420 * libgcov-interface.c (STRONG_ALIAS): New.
8421 (__gcov_flush): Call __gcov_reset_int.
8422 (__gcov_reset): Strong alias for ...
8423 (__gcov_reset_ing): ... this renamed hidden version.
8424 * libgcov.h (__gcov_reset_int): New declaration.
8425
8426 2014-08-19 Yaakov Selkowitz <[email protected]>
8427
8428 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
8429 call from here...
8430 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
8431 (__dso_handle): Define on Cygwin.
8432 * config/i386/t-cygming (crtbeginS.o): New rule.
8433 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
8434
8435 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
8436 declaration syntax.
8437
8438 2014-08-13 Steve Ellcey <[email protected]>
8439
8440 * crtstuff.c: Undef caddr_t.
8441
8442 2014-08-12 Steve Ellcey <[email protected]>
8443
8444 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
8445
8446 2014-08-07 Nathan Sidwell <[email protected]>
8447
8448 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
8449 (LIBGCOV_DRIVER): ... to here.
8450 * libgcov.h (gcov_do_dump): New #define.
8451 (struct gcov_root): New.
8452 (__gcov_root): New declaration.
8453 (__gcov_dump_one): Declare.
8454 * libgcov-driver.c (gcov_list, gcov_dump_complete,
8455 run_accounted): Delete.
8456 (gcov_compute_histogram): Add LIST argument, adjust.
8457 (compute_summary): Adjust gcov_compute_histogram call.
8458 (gcov_do_dump): Not hidden, static in libgcov.
8459 (gcov_clear): Move to interface.c.
8460 (__gcov_dump_one): New, broken out of ...
8461 (gcov_exit): ... here. Make static.
8462 (__gcov_root): New.
8463 (__gcov_init): Adjust.
8464 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
8465 declarations.
8466 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
8467 (gcov_clear): Moved from driver.c. Add LIST argument.
8468 (__gcov_reset): Adjust for changed interfaces.
8469 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
8470
8471 2014-08-04 Rohit <[email protected]>
8472
8473 PR target/60102
8474 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
8475 based on change in SPE high register numbers and 3 HTM registers.
8476
8477 2014-08-01 Nathan Sidwell <[email protected]>
8478
8479 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
8480 LIBGCOV_INTERFACE): Reformat.
8481 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
8482 IN_GCOV_TOOL.
8483 * libgcov-interface.c: Reformat some comments.
8484 (__gcov_flush_mx): Add declaration. Tidy up definition.
8485
8486 2014-07-31 Alan Modra <[email protected]>
8487 Peter Bergner <[email protected]>
8488
8489 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
8490 (pack_ldouble): New function.
8491 (__gcc_qadd): Use it.
8492 (__gcc_qmul): Likewise.
8493 (__gcc_qdiv): Likewise.
8494 (__gcc_qneg): Likewise.
8495 (__gcc_stoq): Likewise.
8496 (__gcc_dtoq): Likewise.
8497
8498 2014-07-30 J. D. Johnston <[email protected]>
8499
8500 * config/s390/tpf-unwind.h: Include <stdbool.h>.
8501 (__tpf_eh_return): Add original return address as second parameter.
8502 Handle cases where unwinder routines were called directly, instead
8503 of from within the C++ library.
8504
8505 2014-07-29 Nathan Sidwell <[email protected]>
8506
8507 * libgcov.h: Move renaming of entry points to lib gcov specific
8508 portion.
8509 (gcov_do_dump): New rename.
8510 (gcov_rewrite): Remove inline, make HIDDEN.
8511 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
8512 (gcov_exit_compute_summary): Rename to ...
8513 (compute_summary): ... here. Add LIST argument.
8514 (gcov_exit_merge_gcda): Rename to ...
8515 (merge_one_data): ... here.
8516 (gcov_exit_write_gcda): Rename to ...
8517 (write_one_data): ... here.
8518 (gcov_exit_merge_summary): Rename to ...
8519 (merge_summary): Add RUN_COUNTED argument.
8520 (gcov_exit_dump_gcov): Rename to ...
8521 (dump_one_gcov): Add RUN_COUNTED argument.
8522 (gcov_do_dump): New function, broken out of ...
8523 (gcov_exit): ... here. Call it.
8524
8525 2014-07-27 Anthony Green <[email protected]>
8526
8527 * config.host: Add moxiebox configuration suppport.
8528
8529 2014-07-27 Nathan Sidwell <[email protected]>
8530
8531 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
8532 (struct gcov_filename): ... here. Include buffer and max length
8533 fields.
8534 (gcov_max_filename): Remove.
8535 (gi_filename): Remove.
8536 (gcov_exit_compute_summary): Compute max filename here.
8537 (gcov_exit_merge_gcda): Add filename parm, adjust.
8538 (gcov_exit_merge_summary): Likewise.
8539 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
8540 (gcov_exit): Likewise.
8541 (__gcov_init): Don't calculate max length here.
8542 * libgcov_util.c (max_filename_len): Remove.
8543 (read_gcda_file): Don't calculate max length here.
8544 (gcov_read_profile_dir): Don't propagate here.
8545 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
8546 struct gcov_filename changes.
8547 (gcov_exit_open_gcda_file): Likewise.
8548
8549 2014-07-25 Nathan Sidwell <[email protected]>
8550
8551 * libgcov-driver.c (set_gcov_dump_complete,
8552 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
8553 functions polluting user's namespace.
8554 (gcov_exit): Set variable directly.
8555 (gcov_clear): Reset variable directly.
8556 * libgcov-interface.c (get_gcov_dymp_complete,
8557 reset_gov_dump_complete): Remove declarations.
8558 (__gcov_reset, __gcov_dump): Don't call them.
8559
8560 2014-07-24 DJ Delorie <[email protected]>
8561
8562 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
8563 (__gcc_deregister_frame): Move logic to detect deregister function
8564 to ...
8565 (__gcc_register_frame): here, so it's consistent with the register
8566 logic.
8567
8568 2014-07-23 Nathan Sidwell <[email protected]>
8569
8570 * libgcov-driver.c (set_gcov_list): Remove.
8571 (gcov_list): Make non-static in GCOV_TOOL.
8572 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
8573
8574 2014-07-17 John David Anglin <[email protected]>
8575
8576 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
8577 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
8578 Don't use SYNC_LOCK_RELEASE for int type.
8579
8580 2014-07-14 Richard Biener <[email protected]>
8581
8582 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
8583
8584 2014-07-11 Rong Xu <[email protected]>
8585
8586 * libgcov-util.c (gcov_max_filename): Fix declartion.
8587
8588 2014-07-10 Rong Xu <[email protected]>
8589
8590 Add gcov-tool: an offline gcda profile processing tool
8591 Support.
8592 * libgcov-driver.c (gcov_max_filename): Make available
8593 to gcov-tool.
8594 * libgcov-merge.c (__gcov_merge_add): Replace
8595 gcov_read_counter() with a Macro.
8596 (__gcov_merge_ior): Ditto.
8597 (__gcov_merge_time_profile): Ditto.
8598 (__gcov_merge_single): Ditto.
8599 (__gcov_merge_delta): Ditto.
8600 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
8601 in the utility functions.
8602 (set_fn_ctrs): Utility function for reading gcda files to in-memory
8603 gcov_list object link lists.
8604 (tag_function): Ditto.
8605 (tag_blocks): Ditto.
8606 (tag_arcs): Ditto.
8607 (tag_lines): Ditto.
8608 (tag_counters): Ditto.
8609 (tag_summary): Ditto.
8610 (read_gcda_finalize): Ditto.
8611 (read_gcda_file): Ditto.
8612 (ftw_read_file): Ditto.
8613 (read_profile_dir_init): Ditto.
8614 (gcov_read_profile_dir): Ditto.
8615 (gcov_read_counter_mem): Ditto.
8616 (gcov_get_merge_weight): Ditto.
8617 (merge_wrapper): A wrapper function that calls merging handler.
8618 (gcov_merge): Merge two gcov_info objects with weights.
8619 (find_match_gcov_info): Find the matched gcov_info in the list.
8620 (gcov_profile_merge): Merge two gcov_info object lists.
8621 (__gcov_add_counter_op): Process edge profile counter values.
8622 (__gcov_ior_counter_op): Process IOR profile counter values.
8623 (__gcov_delta_counter_op): Process delta profile counter values.
8624 (__gcov_single_counter_op): Process single profile counter values.
8625 (fp_scale): Callback function for float-point scaling.
8626 (int_scale): Callback function for integer fraction scaling.
8627 (gcov_profile_scale): Scaling profile counters.
8628 (gcov_profile_normalize): Normalize profile counters.
8629 * libgcov.h: Add headers and functions for gcov-tool use.
8630 (gcov_get_counter): New.
8631 (gcov_get_counter_target): Ditto.
8632 (struct gcov_info): Make the functions field mutable in gcov-tool
8633 compilation.
8634
8635 2014-06-23 Kai Tietz <[email protected]>
8636
8637 PR libgcc/61585
8638 * unwind-seh.c (_Unwind_GetGR): Check for proper
8639 index range.
8640 (_Unwind_SetGR): Likewise.
8641
8642 2014-05-22 Nick Clifton <[email protected]>
8643
8644 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
8645 -mhwmult=none.
8646
8647 2014-05-22 Teresa Johnson <[email protected]>
8648
8649 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
8650 include.
8651
8652 2014-05-20 John Marino <[email protected]>
8653
8654 * config.host (*-*-dragonfly*): New target.
8655 * crtstuff.c: Make dl_iterate_support generic on *bsd.
8656 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
8657 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
8658 * config/i386/dragonfly-unwind.h: New.
8659
8660 2014-05-21 Maciej W. Rozycki <[email protected]>
8661
8662 PR libgcc/60166
8663 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
8664 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
8665
8666 2014-05-13 Bernd Edlinger <[email protected]>
8667
8668 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
8669 implementation.
8670
8671 2014-05-12 Georg-Johann Lay <[email protected]>
8672
8673 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
8674
8675 2014-05-08 Rainer Orth <[email protected]>
8676
8677 PR libgcc/61097
8678 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
8679 if --enable-shared.
8680
8681 2014-04-30 Bernd Edlinger <[email protected]>
8682
8683 Work around for current cygwin32 build problems.
8684 * config/i386/cygming-crtbegin.c (__register_frame_info,
8685 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
8686 functions only for 64-bit systems.
8687
8688 2014-04-25 Rainer Orth <[email protected]>
8689
8690 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
8691 (sigill_caught, sigill_hdlr): Remove.
8692
8693 2014-04-22 Rainer Orth <[email protected]>
8694
8695 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
8696 check.
8697 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8698 Solaris 9 single-threaded support.
8699 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8700 Solaris 9 single-threaded support. Add call_user_handler code
8701 sequences.
8702 (sparc_is_sighandler): Likewise.
8703
8704 2014-03-27 Andreas Krebbel <[email protected]>
8705
8706 * config.host: Append t-floattodi to tmake_file depending on
8707 host_address.
8708
8709 2014-03-20 Joel Sherrill <[email protected]>
8710
8711 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
8712
8713 2014-03-10 Uros Bizjak <[email protected]>
8714
8715 PR libgcc/60472
8716 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
8717 variable to avoid "array subscript is above array bounds" warnings.
8718 Use __builtin_expect when checking *jcr_list for NULL.
8719
8720 2014-03-06 Rainer Orth <[email protected]>
8721
8722 PR libgcc/59339
8723 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
8724 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
8725 vtv_*.o to extra_parts if enable_vtable_verify.
8726
8727 2014-03-06 Nick Clifton <[email protected]>
8728
8729 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
8730 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
8731
8732 2014-02-28 Joey Ye <[email protected]>
8733
8734 PR libgcc/60166
8735 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
8736 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
8737 Set to zero.
8738
8739 2014-02-24 Walter Lee <[email protected]>
8740
8741 * config.host: Support "tilegx*" and "tilepro*" triplets.
8742 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
8743 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
8744
8745 2014-02-20 Sandra Loosemore <[email protected]>
8746 Chung-Lin Tang <[email protected]>
8747
8748 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
8749 * config/nios2/crti.S: Remove .file directive.
8750 * config/nios2/crtn.S: Likewise.
8751
8752 2014-02-18 Kai Tietz <[email protected]>
8753 Jonathan Schleifer <[email protected]>
8754
8755 PR objc/56870
8756 * unwind-seh.c (_GCC_specific_handler): Pass proper
8757 value to unwind-handler.
8758
8759 2014-02-12 Joseph Myers <[email protected]>
8760
8761 * soft-fp/adddf3.c: Update from glibc.
8762 * soft-fp/addsf3.c: Likewise.
8763 * soft-fp/addtf3.c: Likewise.
8764 * soft-fp/divdf3.c: Likewise.
8765 * soft-fp/divsf3.c: Likewise.
8766 * soft-fp/divtf3.c: Likewise.
8767 * soft-fp/double.h: Likewise.
8768 * soft-fp/eqdf2.c: Likewise.
8769 * soft-fp/eqsf2.c: Likewise.
8770 * soft-fp/eqtf2.c: Likewise.
8771 * soft-fp/extenddftf2.c: Likewise.
8772 * soft-fp/extended.h: Likewise.
8773 * soft-fp/extendsfdf2.c: Likewise.
8774 * soft-fp/extendsftf2.c: Likewise.
8775 * soft-fp/extendxftf2.c: Likewise.
8776 * soft-fp/fixdfdi.c: Likewise.
8777 * soft-fp/fixdfsi.c: Likewise.
8778 * soft-fp/fixdfti.c: Likewise.
8779 * soft-fp/fixsfdi.c: Likewise.
8780 * soft-fp/fixsfsi.c: Likewise.
8781 * soft-fp/fixsfti.c: Likewise.
8782 * soft-fp/fixtfdi.c: Likewise.
8783 * soft-fp/fixtfsi.c: Likewise.
8784 * soft-fp/fixtfti.c: Likewise.
8785 * soft-fp/fixunsdfdi.c: Likewise.
8786 * soft-fp/fixunsdfsi.c: Likewise.
8787 * soft-fp/fixunsdfti.c: Likewise.
8788 * soft-fp/fixunssfdi.c: Likewise.
8789 * soft-fp/fixunssfsi.c: Likewise.
8790 * soft-fp/fixunssfti.c: Likewise.
8791 * soft-fp/fixunstfdi.c: Likewise.
8792 * soft-fp/fixunstfsi.c: Likewise.
8793 * soft-fp/fixunstfti.c: Likewise.
8794 * soft-fp/floatdidf.c: Likewise.
8795 * soft-fp/floatdisf.c: Likewise.
8796 * soft-fp/floatditf.c: Likewise.
8797 * soft-fp/floatsidf.c: Likewise.
8798 * soft-fp/floatsisf.c: Likewise.
8799 * soft-fp/floatsitf.c: Likewise.
8800 * soft-fp/floattidf.c: Likewise.
8801 * soft-fp/floattisf.c: Likewise.
8802 * soft-fp/floattitf.c: Likewise.
8803 * soft-fp/floatundidf.c: Likewise.
8804 * soft-fp/floatundisf.c: Likewise.
8805 * soft-fp/floatunditf.c: Likewise.
8806 * soft-fp/floatunsidf.c: Likewise.
8807 * soft-fp/floatunsisf.c: Likewise.
8808 * soft-fp/floatunsitf.c: Likewise.
8809 * soft-fp/floatuntidf.c: Likewise.
8810 * soft-fp/floatuntisf.c: Likewise.
8811 * soft-fp/floatuntitf.c: Likewise.
8812 * soft-fp/gedf2.c: Likewise.
8813 * soft-fp/gesf2.c: Likewise.
8814 * soft-fp/getf2.c: Likewise.
8815 * soft-fp/ledf2.c: Likewise.
8816 * soft-fp/lesf2.c: Likewise.
8817 * soft-fp/letf2.c: Likewise.
8818 * soft-fp/muldf3.c: Likewise.
8819 * soft-fp/mulsf3.c: Likewise.
8820 * soft-fp/multf3.c: Likewise.
8821 * soft-fp/negdf2.c: Likewise.
8822 * soft-fp/negsf2.c: Likewise.
8823 * soft-fp/negtf2.c: Likewise.
8824 * soft-fp/op-1.h: Likewise.
8825 * soft-fp/op-2.h: Likewise.
8826 * soft-fp/op-4.h: Likewise.
8827 * soft-fp/op-8.h: Likewise.
8828 * soft-fp/op-common.h: Likewise.
8829 * soft-fp/quad.h: Likewise.
8830 * soft-fp/single.h: Likewise.
8831 * soft-fp/soft-fp.h: Likewise.
8832 * soft-fp/subdf3.c: Likewise.
8833 * soft-fp/subsf3.c: Likewise.
8834 * soft-fp/subtf3.c: Likewise.
8835 * soft-fp/truncdfsf2.c: Likewise.
8836 * soft-fp/trunctfdf2.c: Likewise.
8837 * soft-fp/trunctfsf2.c: Likewise.
8838 * soft-fp/trunctfxf2.c: Likewise.
8839 * soft-fp/unorddf2.c: Likewise.
8840 * soft-fp/unordsf2.c: Likewise.
8841 * soft-fp/unordtf2.c: Likewise.
8842 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
8843 macro.
8844 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8845 Likewise.
8846 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8847 Likewise.
8848 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8849 Likewise.
8850 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8851 Likewise.
8852 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8853 Likewise.
8854 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8855 Likewise.
8856 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8857 Likewise.
8858 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8859 Likewise.
8860 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8861 Likewise.
8862 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8863 Likewise.
8864 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8865 Likewise.
8866 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8867 Likewise.
8868 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
8869 Likewise.
8870 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
8871 Likewise.
8872 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8873 Likewise.
8874
8875 2014-02-07 Andreas Krebbel <[email protected]>
8876
8877 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
8878 cannot be represented.
8879 * config/s390/32/_fixsfdi.c: Likewise.
8880 * config/s390/32/_fixtfdi.c: Likewise.
8881 * config/s390/32/_fixunsdfdi.c: Likewise.
8882 * config/s390/32/_fixunssfdi.c: Likewise.
8883 * config/s390/32/_fixunstfdi.c: Likewise.
8884
8885 2014-02-07 Richard Sandiford <[email protected]>
8886
8887 * configure.ac (libgcc_cv_mips_hard_float): New.
8888 * configure: Regenerate.
8889 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
8890 t-softfp-sfdf for hard-float targets.
8891 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
8892 (softfp_float_modes, softfp_int_modes, softfp_extensions)
8893 (softfp_truncations, softfp_exclude_libgcc2): New.
8894 * config/t-hardfp: New file.
8895 * config/t-hardfp-sfdf: Likewise.
8896 * config/hardfp.c: Likewise.
8897
8898 2014-02-05 Andreas Krebbel <[email protected]>
8899
8900 * config.host: Include t-floattodi also for s390x.
8901 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
8902 * config/s390/32/_fixsfdi.c: Likewise.
8903 * config/s390/32/_fixtfdi.c: Likewise.
8904 * config/s390/32/_fixunsdfdi.c: Likewise.
8905 * config/s390/32/_fixunssfdi.c: Likewise.
8906 * config/s390/32/_fixunstfdi.c: Likewise.
8907
8908 2014-02-04 Rainer Orth <[email protected]>
8909
8910 PR target/59788
8911 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
8912 (install-libgcc-unwind-map-forbuild): New target.
8913 (all): Depend on install-libgcc-unwind-map-forbuild.
8914 (install-libgcc-unwind-map): New target.
8915 (install): Depend on install-libgcc-unwind-map.
8916
8917 2014-02-02 Sandra Loosemore <[email protected]>
8918
8919 * config/nios2/crti.S (_init): Initialize GOT pointer from
8920 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
8921
8922 2014-02-02 Richard Sandiford <[email protected]>
8923
8924 * configure.ac: Check __mips64 when setting host_address.
8925 * configure: Regenerate.
8926 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
8927 mips/t-mips64 and t-softfp.
8928 (mips*-*-linux*): Don't add mips/t-tpbit.
8929 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
8930 (DPBIT, DPBIT_CFLAGS): Delete.
8931 * config/mips/sfp-machine.h: New file.
8932 * config/mips/t-mips64: Likewise.
8933 * config/mips/t-softfp-tf: Likewise.
8934 * config/mips/t-tpbit: Delete.
8935
8936 2014-01-29 Marcus Shawcroft <[email protected]>
8937
8938 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
8939 as long long.
8940
8941 2014-01-25 Walter Lee <[email protected]>
8942
8943 * config/tilepro/atomic.c: Include tconfig.h. Don't include
8944 config.h or system.h.
8945 (bool) Define.
8946
8947 2014-01-25 Walter Lee <[email protected]>
8948
8949 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
8950 (post_atomic_barrier): Ditto.
8951 (__fetch_and_do): New macro.
8952 (__atomic_fetch_and_do): Use __fetch_and_do.
8953 (__sync_fetch_and_do): New macro.
8954 (__sync_fetch_and_add_4): New function.
8955 (__sync_fetch_and_sub_4): New function.
8956 (__sync_fetch_and_or_4): New function.
8957 (__sync_fetch_and_and_4): New function.
8958 (__sync_fetch_and_xor_4): New function.
8959 (__sync_fetch_and_nand_4): New function.
8960 (__sync_fetch_and_add_8): New function.
8961 (__sync_fetch_and_sub_8): New function.
8962 (__sync_fetch_and_or_8): New function.
8963 (__sync_fetch_and_and_8): New function.
8964 (__sync_fetch_and_xor_8): New function.
8965 (__sync_fetch_and_nand_8): New function.
8966 (__do_and_fetch): New macro.
8967 (__atomic_do_and_fetch): Use __do_and_fetch.
8968 (__sync_do_and_fetch): New macro.
8969 (__sync_add_and_fetch_4): New function.
8970 (__sync_sub_and_fetch_4): New function.
8971 (__sync_or_and_fetch_4): New function.
8972 (__sync_and_and_fetch_4): New function.
8973 (__sync_xor_and_fetch_4): New function.
8974 (__sync_nand_and_fetch_4): New function.
8975 (__sync_add_and_fetch_8): New function.
8976 (__sync_sub_and_fetch_8): New function.
8977 (__sync_or_and_fetch_8): New function.
8978 (__sync_and_and_fetch_8): New function.
8979 (__sync_xor_and_fetch_8): New function.
8980 (__sync_nand_and_fetch_8): New function.
8981 (__sync_exchange_methods): New macro.
8982 (__sync_val_compare_and_swap_4): New function.
8983 (__sync_bool_compare_and_swap_4): New function.
8984 (__sync_lock_test_and_test_4): New function.
8985 (__sync_val_compare_and_swap_8): New function.
8986 (__sync_bool_compare_and_swap_8): New function.
8987 (__sync_lock_test_and_test_8): New function.
8988 (__subword_cmpxchg_body): New macro.
8989 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
8990 (__atomic_compare_exchange_2): Ditto.
8991 (__sync_subword_cmpxchg): New macro.
8992 (__sync_val_compare_and_swap_1): New function.
8993 (__sync_bool_compare_and_swap_1): New function.
8994 (__sync_val_compare_and_swap_2): New function.
8995 (__sync_bool_compare_and_swap_2): New function.
8996 (__atomic_subword): Rename to ...
8997 (__subword): ... New name.
8998 (__atomic_subword_fetch): Use __subword.
8999 (__sync_subword_fetch): New macro.
9000 (__sync_fetch_and_add_1): New function.
9001 (__sync_fetch_and_sub_1): New function.
9002 (__sync_fetch_and_or_1): New function.
9003 (__sync_fetch_and_and_1): New function.
9004 (__sync_fetch_and_xor_1): New function.
9005 (__sync_fetch_and_nand_1): New function.
9006 (__sync_fetch_and_add_2): New function.
9007 (__sync_fetch_and_sub_2): New function.
9008 (__sync_fetch_and_or_2): New function.
9009 (__sync_fetch_and_and_2): New function.
9010 (__sync_fetch_and_xor_2): New function.
9011 (__sync_fetch_and_nand_2): New function.
9012 (__sync_add_and_fetch_1): New function.
9013 (__sync_sub_and_fetch_1): New function.
9014 (__sync_or_and_fetch_1): New function.
9015 (__sync_and_and_fetch_1): New function.
9016 (__sync_xor_and_fetch_1): New function.
9017 (__sync_nand_and_fetch_1): New function.
9018 (__sync_add_and_fetch_2): New function.
9019 (__sync_sub_and_fetch_2): New function.
9020 (__sync_or_and_fetch_2): New function.
9021 (__sync_and_and_fetch_2): New function.
9022 (__sync_xor_and_fetch_2): New function.
9023 (__sync_nand_and_fetch_2): New function.
9024 (__atomic_subword_lock): Use __subword.
9025 (__sync_subword_lock): New macro.
9026 (__sync_lock_test_and_set_1): New function.
9027 (__sync_lock_test_and_set_2): New function.
9028
9029 2014-01-25 Walter Lee <[email protected]>
9030
9031 * config/tilepro/atomic.c (BIT_OFFSET): Define.
9032 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
9033 (__atomic_subword): Ditto.
9034
9035 2014-01-25 Walter Lee <[email protected]>
9036
9037 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
9038 a prefix op argument.
9039 (__atomic_nand_fetch_4): Add prefix op.
9040 (__atomic_nand_fetch_8): Ditto.
9041
9042 2014-01-21 Baruch Siach <[email protected]>
9043
9044 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
9045
9046 2014-01-09 Rong Xu <[email protected]>
9047
9048 * libgcov-driver.c (this_prg): make it local to save
9049 bss space.
9050 (gcov_exit_compute_summary): Ditto.
9051 (gcov_exit_merge_gcda): Ditto.
9052 (gcov_exit_merge_summary): Ditto.
9053 (gcov_exit_dump_gcov): Ditto.
9054
9055 2014-01-08 Rong Xu <[email protected]>
9056
9057 * libgcov-driver.c: Use libgcov.h.
9058 (buffer_fn_data): Use xmalloc instead of malloc.
9059 (gcov_exit_merge_gcda): Ditto.
9060 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
9061 * libgcov.h: New common header files for libgcov-*.h.
9062 * libgcov-interface.c: Use libgcov.h
9063 * libgcov-merge.c: Ditto.
9064 * libgcov-profiler.c: Ditto.
9065 * Makefile.in: Add dependence to libgcov.h
9066
9067 2014-01-02 Joseph Myers <[email protected]>
9068
9069 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
9070 case of small numerator and finite nonzero result.
9071
9072 2014-01-02 Richard Sandiford <[email protected]>
9073
9074 Update copyright years
9075
9076 2014-01-02 Richard Sandiford <[email protected]>
9077
9078 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
9079 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
9080 config/arc/dp-hack.h, config/arc/fp-hack.h,
9081 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
9082 config/arc/ieee-754/arc600-dsp/divdf3.S,
9083 config/arc/ieee-754/arc600-dsp/divsf3.S,
9084 config/arc/ieee-754/arc600-dsp/muldf3.S,
9085 config/arc/ieee-754/arc600-dsp/mulsf3.S,
9086 config/arc/ieee-754/arc600-mul64/divdf3.S,
9087 config/arc/ieee-754/arc600-mul64/divsf3.S,
9088 config/arc/ieee-754/arc600-mul64/muldf3.S,
9089 config/arc/ieee-754/arc600-mul64/mulsf3.S,
9090 config/arc/ieee-754/arc600/divsf3.S,
9091 config/arc/ieee-754/arc600/mulsf3.S,
9092 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
9093 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
9094 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
9095 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
9096 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
9097 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
9098 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
9099 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
9100 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
9101 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
9102 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
9103 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
9104 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
9105 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
9106 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
9107 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
9108 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
9109 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
9110 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
9111 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
9112 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
9113 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
9114 vtv_start_preinit.c: Use the standard form for the copyright notice.
9115
9116 2013-12-31 Sandra Loosemore <[email protected]>
9117 Chung-Lin Tang <[email protected]>
9118 Based on patches from Altera Corporation
9119
9120 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
9121 * config/nios2/lib2-nios2.h: New file.
9122 * config/nios2/lib2-divmod-hi.c: New file.
9123 * config/nios2/linux-unwind.h: New file.
9124 * config/nios2/lib2-divmod.c: New file.
9125 * config/nios2/linux-atomic.c: New file.
9126 * config/nios2/t-nios2: New file.
9127 * config/nios2/crti.asm: New file.
9128 * config/nios2/t-linux: New file.
9129 * config/nios2/lib2-divtable.c: New file.
9130 * config/nios2/lib2-mul.c: New file.
9131 * config/nios2/tramp.c: New file.
9132 * config/nios2/crtn.asm: New file.
9133
9134 2013-12-26 Uros Bizjak <[email protected]>
9135
9136 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
9137 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
9138 from cpuid.h to check vendor signatures.
9139
9140 2013-12-26 Ganesh Gopalasubramanian <[email protected]>
9141
9142 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
9143 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
9144 (get_amd_cpu): Likewise.
9145
9146 2013-12-25 H.J. Lu <[email protected]>
9147
9148 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
9149 Haswell.
9150
9151 2013-12-25 Allan Sandfeld Jensen <[email protected]>
9152 H.J. Lu <[email protected]>
9153
9154 PR target/59422
9155 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
9156 and AMD_JAGUAR.
9157 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
9158 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
9159 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
9160 FEATURE_XOP and FEATURE_FMA.
9161 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
9162 AMDFAM15H_BDVER3.
9163 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
9164 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
9165 FEATURE_FMA4 and FEATURE_XOP.
9166
9167 2013-12-23 H.J. Lu <[email protected]>
9168
9169 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
9170 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
9171 (get_intel_cpu): Updated.
9172
9173 2013-12-12 Zhenqiang Chen <[email protected]>
9174
9175 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
9176
9177 2013-12-09 Uros Bizjak <[email protected]>
9178
9179 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9180 instructions when __SSE_MATH__ is defined.
9181
9182 2013-12-06 Ralf Corsépius <[email protected]>
9183
9184 * config.host (microblaze-*-rtems*): New.
9185
9186 2013-12-04 Kugan Vivekanandarajah <[email protected]>
9187
9188 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
9189 architectures that do not have hardware divide instruction.
9190 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
9191
9192 2013-12-04 Richard Sandiford <[email protected]>
9193
9194 * longlong.h: Delete (moved to include/).
9195
9196 2013-12-03 Adhemerval Zanella <[email protected]>
9197
9198 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
9199 of normal number and qNaN to not raise an inexact exception.
9200
9201 2013-11-28 Uros Bizjak <[email protected]>
9202
9203 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
9204
9205 2013-11-28 Matthew Leach <[email protected]>
9206
9207 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
9208 for correct opcodes on BE.
9209
9210 2013-11-27 Uros Bizjak <[email protected]>
9211
9212 * soft-fp/op-4.h: Update from glibc.
9213
9214 2013-11-27 Kugan Vivekanandarajah <[email protected]>
9215
9216 * libgcc2.c (__udivmoddi4): Define new implementation when
9217 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
9218 divide instructions.
9219
9220 2013-11-25 Oleg Endo <[email protected]>
9221
9222 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
9223
9224 2013-11-25 Rainer Orth <[email protected]>
9225
9226 * config/t-softfp (soft-fp-objects-base): New variable.
9227 (soft-fp-objects): Use it.
9228
9229 2013-11-23 David Edelson <[email protected]>
9230 Andrew Dixie <[email protected]>
9231
9232 PR target/33704
9233 * config/rs6000/aixinitfini.c: New file.
9234 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
9235 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
9236 symbols.
9237
9238 2013-11-22 Yuri Rumyantsev <[email protected]>
9239
9240 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
9241
9242 2013-11-18 Jan Hubicka <[email protected]>
9243
9244 * libgcov-driver.c (run_accounted): Make global level static.
9245 (gcov_exit_merge_summary): Silence warning; do not clear
9246 run_accounted here.
9247 (gcov_exit): Clear it here.
9248
9249 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
9250 run_accounted.
9251
9252 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
9253 (all_prg, crc32): Remove static vars.
9254 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
9255 all_prg.
9256 (gcov_exit_merge_gcda): Add crc32 parameter.
9257 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
9258 do not account run if it was already accounted.
9259 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
9260 (gcov_exit): Initialize all_prg; update.
9261
9262 2013-11-15 Andreas Schwab <[email protected]>
9263
9264 * configure: Regenerate.
9265
9266 2013-11-14 Ulrich Weigand <[email protected]>
9267 Alan Modra <[email protected]>
9268
9269 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
9270 (frob_update_context): Use it.
9271
9272 2013-11-14 Ulrich Weigand <[email protected]>
9273 Alan Modra <[email protected]>
9274
9275 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
9276 (trampoline_initial): Provide ELFv2 variant.
9277 (__trampoline_setup): Likewise.
9278
9279 * config/rs6000/linux-unwind.h (frob_update_context): Do not
9280 check for AIX indirect function call sequence if _CALL_ELF == 2.
9281
9282 2013-11-14 Ulrich Weigand <[email protected]>
9283 Alan Modra <[email protected]>
9284
9285 * config/rs6000/linux-unwind.h (get_regs): Do not support
9286 old kernel versions if _CALL_ELF == 2.
9287 (frob_update_context): Do not support PLT stub variants only
9288 generated by old linkers if _CALL_ELF == 2.
9289
9290 2013-11-14 Ulrich Weigand <[email protected]>
9291 Alan Modra <[email protected]>
9292
9293 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
9294 location of CR save area for 64-bit little-endian systems.
9295
9296 2013-11-11 Eric Botcazou <[email protected]>
9297
9298 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
9299 in tmake_file.
9300 * config/arm/t-vxworks: Delete.
9301
9302 2013-11-10 Kai Tietz <[email protected]>
9303
9304 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
9305 Increment load-count on use of LIBGCC_SONAME DLL.
9306 (hmod_libgcc): New static variable to hold handle of
9307 LIBGCC_SONAME DLL.
9308 (__gcc_deregister_frame): Decrement load-count of
9309 LIBGCC_SONAME DLL.
9310
9311 2013-11-08 Bernhard Reutner-Fischer <[email protected]>
9312
9313 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
9314 availability.
9315 * configure: Regenerate
9316
9317 2013-11-07 Uros Bizjak <[email protected]>
9318
9319 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
9320 FP_EX_DENORM. Store result to volatile location after SSE division
9321 to close interrupt window. Remove unneeded fwait after x87
9322 division since interrupt window will be closed by emitted fstp.
9323 Rewrite FP_EX_INEXACT handling.
9324
9325 2013-11-06 Joseph Myers <[email protected]>
9326
9327 * soft-fp/README: Update.
9328 * soft-fp/adddf3.c: Update from glibc.
9329 * soft-fp/addsf3.c: Likewise.
9330 * soft-fp/addtf3.c: Likewise.
9331 * soft-fp/divdf3.c: Likewise.
9332 * soft-fp/divsf3.c: Likewise.
9333 * soft-fp/divtf3.c: Likewise.
9334 * soft-fp/double.h: Likewise.
9335 * soft-fp/eqdf2.c: Likewise.
9336 * soft-fp/eqsf2.c: Likewise.
9337 * soft-fp/eqtf2.c: Likewise.
9338 * soft-fp/extenddftf2.c: Likewise.
9339 * soft-fp/extended.h: Likewise.
9340 * soft-fp/extendsfdf2.c: Likewise.
9341 * soft-fp/extendsftf2.c: Likewise.
9342 * soft-fp/extendxftf2.c: Likewise.
9343 * soft-fp/fixdfdi.c: Likewise.
9344 * soft-fp/fixdfsi.c: Likewise.
9345 * soft-fp/fixdfti.c: Likewise.
9346 * soft-fp/fixsfdi.c: Likewise.
9347 * soft-fp/fixsfsi.c: Likewise.
9348 * soft-fp/fixsfti.c: Likewise.
9349 * soft-fp/fixtfdi.c: Likewise.
9350 * soft-fp/fixtfsi.c: Likewise.
9351 * soft-fp/fixtfti.c: Likewise.
9352 * soft-fp/fixunsdfdi.c: Likewise.
9353 * soft-fp/fixunsdfsi.c: Likewise.
9354 * soft-fp/fixunsdfti.c: Likewise.
9355 * soft-fp/fixunssfdi.c: Likewise.
9356 * soft-fp/fixunssfsi.c: Likewise.
9357 * soft-fp/fixunssfti.c: Likewise.
9358 * soft-fp/fixunstfdi.c: Likewise.
9359 * soft-fp/fixunstfsi.c: Likewise.
9360 * soft-fp/fixunstfti.c: Likewise.
9361 * soft-fp/floatdidf.c: Likewise.
9362 * soft-fp/floatdisf.c: Likewise.
9363 * soft-fp/floatditf.c: Likewise.
9364 * soft-fp/floatsidf.c: Likewise.
9365 * soft-fp/floatsisf.c: Likewise.
9366 * soft-fp/floatsitf.c: Likewise.
9367 * soft-fp/floattidf.c: Likewise.
9368 * soft-fp/floattisf.c: Likewise.
9369 * soft-fp/floattitf.c: Likewise.
9370 * soft-fp/floatundidf.c: Likewise.
9371 * soft-fp/floatundisf.c: Likewise.
9372 * soft-fp/floatunditf.c: Likewise.
9373 * soft-fp/floatunsidf.c: Likewise.
9374 * soft-fp/floatunsisf.c: Likewise.
9375 * soft-fp/floatunsitf.c: Likewise.
9376 * soft-fp/floatuntidf.c: Likewise.
9377 * soft-fp/floatuntisf.c: Likewise.
9378 * soft-fp/floatuntitf.c: Likewise.
9379 * soft-fp/gedf2.c: Likewise.
9380 * soft-fp/gesf2.c: Likewise.
9381 * soft-fp/getf2.c: Likewise.
9382 * soft-fp/ledf2.c: Likewise.
9383 * soft-fp/lesf2.c: Likewise.
9384 * soft-fp/letf2.c: Likewise.
9385 * soft-fp/muldf3.c: Likewise.
9386 * soft-fp/mulsf3.c: Likewise.
9387 * soft-fp/multf3.c: Likewise.
9388 * soft-fp/negdf2.c: Likewise.
9389 * soft-fp/negsf2.c: Likewise.
9390 * soft-fp/negtf2.c: Likewise.
9391 * soft-fp/op-1.h: Likewise.
9392 * soft-fp/op-2.h: Likewise.
9393 * soft-fp/op-4.h: Likewise.
9394 * soft-fp/op-8.h: Likewise.
9395 * soft-fp/op-common.h: Likewise.
9396 * soft-fp/quad.h: Likewise.
9397 * soft-fp/single.h: Likewise.
9398 * soft-fp/soft-fp.h: Likewise.
9399 * soft-fp/subdf3.c: Likewise.
9400 * soft-fp/subsf3.c: Likewise.
9401 * soft-fp/subtf3.c: Likewise.
9402 * soft-fp/truncdfsf2.c: Likewise.
9403 * soft-fp/trunctfdf2.c: Likewise.
9404 * soft-fp/trunctfsf2.c: Likewise.
9405 * soft-fp/trunctfxf2.c: Likewise.
9406 * soft-fp/unorddf2.c: Likewise.
9407 * soft-fp/unordsf2.c: Likewise.
9408 * soft-fp/unordtf2.c: Likewise.
9409
9410 2013-11-05 Uros Bizjak <[email protected]>
9411
9412 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
9413 (_FP_MUL_MEAT_D): Ditto.
9414 (_FP_DIV_MEAT_S): Ditto.
9415 (_FP_DIV_MEAT_D): Ditto.
9416 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
9417 t-softfp-sfdf and t-softfp to tmake_file.
9418
9419 2013-11-03 Uros Bizjak <[email protected]>
9420
9421 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
9422 * config/i386/crtprec.c: Ditto.
9423
9424 2013-10-31 Chung-Ju Wu <[email protected]>
9425 Shiva Chen <[email protected]>
9426
9427 * config.host (nds32*-elf*): Add nds32 target.
9428 * config/nds32 : New directory and files.
9429
9430 2013-10-16 Hans-Peter Nilsson <[email protected]>
9431
9432 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
9433 * config.host (cpu_type) <Setting default>: Add entry for
9434 crisv32-*-*.
9435 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
9436 <crisv32-*-linux*>: Adjust.
9437 * longlong.h: Wrap the whole CRIS section in a single
9438 defined(__CRIS__) conditional. Add comment about add_ssaaaa
9439 and sub_ddmmss.
9440 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
9441 defined.
9442 [__CRIS__] (__umulsidi3): Define.
9443 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
9444 * config/cris/sfp-machine.h: New file.
9445 * config/cris/umulsidi3.S: New file.
9446 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
9447 * config/cris/arit.c (SIGNMULT): New macro.
9448 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
9449 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
9450 saving 3 out of originally 33 cycles from the fastest
9451 path, 3 out of 54 from the medium path and one from the longest
9452 path. Improve comments.
9453
9454 2013-10-15 Richard Sandiford <[email protected]>
9455
9456 * sync.c: Remove static aliases and define each function directly
9457 under its real name.
9458
9459 2013-10-02 John David Anglin <[email protected]>
9460
9461 * config.host (hppa*64*-*-linux*): Define extra_parts.
9462 (hppa*-*-linux*): Likewise.
9463
9464 2013-10-02 Joern Rennecke <[email protected]>
9465
9466 * config/arc/crtgend.S: Add 2013 to Copyright years.
9467 * config/arc/gmon/atomic.h: Likewise.
9468 * config/arc/gmon/auxreg.h: Likewise.
9469 * config/arc/gmon/sys/gmon_out.h: Likewise.
9470 * config/arc/gmon/sys/gmon.h: Likewise.
9471 * config/arc/gmon/prof-freq.c: Likewise.
9472 * config/arc/gmon/mcount.c: Likewise.
9473 * config/arc/gmon/prof-freq-stub.S: Likewise.
9474 * config/arc/gmon/gmon.c: Likewise.
9475 * config/arc/gmon/machine-gmon.h: Likewise.
9476 * config/arc/gmon/profil.S: Likewise.
9477 * config/arc/gmon/dcache_linesz.S: Likewise.
9478 * config/arc/crtg.S: Likewise.
9479 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
9480 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
9481 * config/arc/ieee-754/adddf3.S: Likewise.
9482 * config/arc/ieee-754/truncdfsf2.S: Likewise.
9483 * config/arc/ieee-754/fixsfsi.S: Likewise.
9484 * config/arc/ieee-754/gtsf2.S: Likewise.
9485 * config/arc/ieee-754/floatsisf.S: Likewise.
9486 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
9487 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
9488 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
9489 * config/arc/ieee-754/fixdfsi.S: Likewise.
9490 * config/arc/ieee-754/addsf3.S: Likewise.
9491 * config/arc/ieee-754/gesf2.S: Likewise.
9492 * config/arc/ieee-754/floatsidf.S: Likewise.
9493 * config/arc/ieee-754/extendsfdf2.S: Likewise.
9494 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
9495 * config/arc/ieee-754/gtdf2.S: Likewise.
9496 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
9497 * config/arc/ieee-754/uneqdf2.S: Likewise.
9498 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
9499 * config/arc/ieee-754/uneqsf2.S: Likewise.
9500 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
9501 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
9502 * config/arc/ieee-754/eqdf2.S: Likewise.
9503 * config/arc/ieee-754/ordsf2.S: Likewise.
9504 * config/arc/ieee-754/divsf3.S: Likewise.
9505 * config/arc/ieee-754/divdf3.S: Likewise.
9506 * config/arc/ieee-754/floatunsidf.S: Likewise.
9507 * config/arc/ieee-754/orddf2.S: Likewise.
9508 * config/arc/ieee-754/eqsf2.S: Likewise.
9509 * config/arc/ieee-754/gedf2.S: Likewise.
9510 * config/arc/crtn.S: Likewise.
9511 * config/arc/crti.S: Likewise.
9512 * config/arc/t-arc700-uClibc: Likewise.
9513 * config/arc/asm.h: Likewise.
9514 * config/arc/libgcc-excl.ver: Likewise.
9515 * config/arc/t-arc-newlib: Likewise.
9516 * config/arc/divtab-arc700.c: Likewise.
9517 * config/arc/initfini.c: Likewise.
9518 * config/arc/fp-hack.h: Likewise.
9519
9520 2013-10-01 Joern Rennecke <[email protected]>
9521 Diego Novillo <[email protected]>
9522
9523 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
9524 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
9525 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
9526 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
9527
9528 2013-10-01 Joern Rennecke <[email protected]>
9529 Brendan Kehoe <[email protected]>
9530 Simon Cook <[email protected]>
9531
9532 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
9533 * config/arc: New directory.
9534 * longlong.h [__arc__] (umul_ppmm): Remove.
9535 [__arc__] (__umulsidi3): Define.
9536 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
9537 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
9538
9539 2013-09-17 Jacek Caban <[email protected]>
9540
9541 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
9542 CreateSemaphoreA.
9543 * config/i386/gthr-win32.h: Likewise.
9544
9545 2013-09-16 DJ Delorie <[email protected]>
9546
9547 * config/rl78/vregs.h: Add G10 register definitions.
9548 * config/rl78/lib2mul.c: Enable for RL78/G10.
9549 * config/rl78/lib2div.c: Likewise.
9550 * config/rl78/lshrsi3.S: Use vregs.h.
9551 * config/rl78/cmpsi2.S: Likewise.
9552 * config/rl78/trampoline.S: Likewise.
9553 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
9554
9555 2013-09-14 DJ Delorie <[email protected]>
9556 Nick Clifton <[email protected]>
9557
9558 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
9559 * config/rl78/vregs.h: New.
9560 * config/rl78/signbit.S: New file. Implements signbit function.
9561 * config/rl78/divmodsi.S: New.
9562 * config/rl78/divmodhi.S: New.
9563 * config/rl78/divmodqi.S: New.
9564 * config/rl78/t-rl78: Build them here...
9565 * config/rl78/lib2div.c: ...but not here.
9566
9567 2013-09-12 DJ Delorie <[email protected]>
9568
9569 * config.host (msp*-*-elf): New.
9570 * config/msp430/: New port.
9571
9572 2013-08-18 Iain Sandoe <[email protected]>
9573
9574 PR gcov-profile/58127
9575 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
9576 __thread var for emulated TLS.
9577 (__gcov_indirect_call_counters): Likewise.
9578
9579 2013-08-16 Maciej W. Rozycki <[email protected]>
9580 Catherine Moore <[email protected]>
9581 Richard Sandiford <[email protected]>
9582
9583 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
9584 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
9585 (CALL_STUB_NO_RET): Likewise.
9586 (CALL_STUB_RET): Likewise.
9587 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
9588 __mips16_ret call/return stub symbols.
9589 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
9590 to tmake_file.
9591
9592 2013-08-13 Maciej W. Rozycki <[email protected]>
9593
9594 * config.host <mips*-*-linux*>: Remove a stray comment.
9595
9596 2013-08-10 Jan Hubicka <[email protected]>
9597
9598 Work around binutils PR14342
9599 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
9600 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
9601 (L_gcov_indirect_call_profiler_v2): New.
9602
9603 2013-08-06 Jan Hubicka <[email protected]>
9604
9605 * libgcov.c (__gcov_indirect_call_callee,
9606 __gcov_indirect_call_counters): New global vars.
9607 (__gcov_indirect_call_profiler): replace by ...
9608 (__gcov_indirect_call_profiler_v2) ... this one.
9609
9610 2013-08-06 Caroline Tice <[email protected]>
9611
9612 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
9613 vtv_start_preinit.o and vtv_end_preinit.o.
9614 * configure.ac: Add code to check/set enable_vtable_verify.
9615 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
9616 true.
9617 * vtv_start_preinit.c: New file.
9618 * vtv_end_preinit.c: New file.
9619 * vtv_start.c: New file.
9620 * vtv_end.c: New file.
9621 * configure: Regenerated.
9622
9623 2013-08-01 Maxim Kuvyrkov <[email protected]>
9624
9625 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
9626 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
9627 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
9628 GPL-3.0-with-GCC-exception.
9629
9630 2013-07-30 Maciej W. Rozycki <[email protected]>
9631
9632 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
9633 ISA and up.
9634
9635 2013-07-23 Andreas Krebbel <[email protected]>
9636
9637 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
9638 mapping for FPRs when creating the fallback framestate.
9639
9640 2013-07-19 Georg-Johann Lay <[email protected]>
9641
9642 PR target/57516
9643 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
9644 (__round_s2_const, __round_u2_const)
9645 (__round_s4_const, __round_u4_const, __round_x8):
9646 Saturate result if addition result cannot be represented.
9647
9648 2013-07-15 Matthias Klose <[email protected]>
9649
9650 * libgcc2.c: Don't include <limits.h>.
9651
9652 2013-07-09 Janis Johnson <[email protected]>
9653
9654 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
9655
9656 2013-07-06 Jakub Jelinek <[email protected]>
9657
9658 PR target/29776
9659 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
9660
9661 2013-06-28 Jakub Jelinek <[email protected]>
9662
9663 PR middle-end/36041
9664 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
9665 Define.
9666 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
9667 instead of table lookups.
9668 (__popcountDI2): Likewise.
9669
9670 2013-06-25 Chung-Ju Wu <[email protected]>
9671
9672 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
9673 correctly.
9674
9675 2013-06-21 Joseph Myers <[email protected]>
9676
9677 PR other/53317
9678 * soft-fp/adddf3.c: Update from glibc.
9679 * soft-fp/addsf3.c: Likewise.
9680 * soft-fp/addtf3.c: Likewise.
9681 * soft-fp/divdf3.c: Likewise.
9682 * soft-fp/divsf3.c: Likewise.
9683 * soft-fp/divtf3.c: Likewise.
9684 * soft-fp/double.h: Likewise.
9685 * soft-fp/eqdf2.c: Likewise.
9686 * soft-fp/eqsf2.c: Likewise.
9687 * soft-fp/eqtf2.c: Likewise.
9688 * soft-fp/extenddftf2.c: Likewise.
9689 * soft-fp/extended.h: Likewise.
9690 * soft-fp/extendsfdf2.c: Likewise.
9691 * soft-fp/extendsftf2.c: Likewise.
9692 * soft-fp/fixdfdi.c: Likewise.
9693 * soft-fp/fixdfsi.c: Likewise.
9694 * soft-fp/fixsfdi.c: Likewise.
9695 * soft-fp/fixsfsi.c: Likewise.
9696 * soft-fp/fixtfdi.c: Likewise.
9697 * soft-fp/fixtfsi.c: Likewise.
9698 * soft-fp/fixunsdfdi.c: Likewise.
9699 * soft-fp/fixunsdfsi.c: Likewise.
9700 * soft-fp/fixunssfdi.c: Likewise.
9701 * soft-fp/fixunssfsi.c: Likewise.
9702 * soft-fp/fixunstfdi.c: Likewise.
9703 * soft-fp/fixunstfsi.c: Likewise.
9704 * soft-fp/floatdidf.c: Likewise.
9705 * soft-fp/floatdisf.c: Likewise.
9706 * soft-fp/floatditf.c: Likewise.
9707 * soft-fp/floatsidf.c: Likewise.
9708 * soft-fp/floatsisf.c: Likewise.
9709 * soft-fp/floatsitf.c: Likewise.
9710 * soft-fp/floatundidf.c: Likewise.
9711 * soft-fp/floatundisf.c: Likewise.
9712 * soft-fp/floatunditf.c: Likewise.
9713 * soft-fp/floatunsidf.c: Likewise.
9714 * soft-fp/floatunsisf.c: Likewise.
9715 * soft-fp/floatunsitf.c: Likewise.
9716 * soft-fp/gedf2.c: Likewise.
9717 * soft-fp/gesf2.c: Likewise.
9718 * soft-fp/getf2.c: Likewise.
9719 * soft-fp/ledf2.c: Likewise.
9720 * soft-fp/lesf2.c: Likewise.
9721 * soft-fp/letf2.c: Likewise.
9722 * soft-fp/muldf3.c: Likewise.
9723 * soft-fp/mulsf3.c: Likewise.
9724 * soft-fp/multf3.c: Likewise.
9725 * soft-fp/negdf2.c: Likewise.
9726 * soft-fp/negsf2.c: Likewise.
9727 * soft-fp/negtf2.c: Likewise.
9728 * soft-fp/op-1.h: Likewise.
9729 * soft-fp/op-2.h: Likewise.
9730 * soft-fp/op-4.h: Likewise.
9731 * soft-fp/op-8.h: Likewise.
9732 * soft-fp/op-common.h: Likewise.
9733 * soft-fp/quad.h: Likewise.
9734 * soft-fp/single.h: Likewise.
9735 * soft-fp/soft-fp.h: Likewise.
9736 * soft-fp/subdf3.c: Likewise.
9737 * soft-fp/subsf3.c: Likewise.
9738 * soft-fp/subtf3.c: Likewise.
9739 * soft-fp/truncdfsf2.c: Likewise.
9740 * soft-fp/trunctfdf2.c: Likewise.
9741 * soft-fp/trunctfsf2.c: Likewise.
9742 * soft-fp/unorddf2.c: Likewise.
9743 * soft-fp/unordsf2.c: Likewise.
9744 * soft-fp/unordtf2.c: Likewise.
9745 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
9746 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9747 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9748 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9749 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9750 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9751 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9752 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9753 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9754 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
9755 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
9756 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9757
9758 2013-06-16 Jürgen Urban <[email protected]>
9759
9760 * config/mips/lib2funcs.c: New file.
9761 * config/mips/t-mips (LIB2ADD_ST): Add it.
9762
9763 2013-06-09 Oleg Endo <[email protected]>
9764
9765 PR target/6526
9766 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
9767 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
9768
9769 2013-06-08 Walter Lee <[email protected]>
9770
9771 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
9772 Replace int64_t with long long. Add __extension__ where
9773 appropriate.
9774 * config/tilepro/atomic.c: Include config.h.
9775
9776 2013-06-06 Douglas B Rupp <[email protected]>
9777
9778 * config.host (arm-wrs-vxworks): Configure with other soft float.
9779
9780 2013-06-04 Jürgen Urban <[email protected]>
9781
9782 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
9783 (mips64r5900el-*-elf*): New configurations.
9784
9785 2013-06-04 Alan Modra <[email protected]>
9786
9787 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
9788
9789 2013-06-03 Yuri Rumyantsev <[email protected]>
9790
9791 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
9792
9793 2013-05-28 Eric Botcazou <[email protected]>
9794
9795 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
9796 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
9797 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
9798
9799 2013-05-22 Eric Botcazou <[email protected]>
9800
9801 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
9802 (powerpc-wrs-vxworks): Likewise.
9803
9804 2013-05-22 Eric Botcazou <[email protected]>
9805
9806 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
9807 signal frames as well.
9808 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
9809 STACK_BIAS to the CFA offset.
9810
9811 2013-05-17 Richard Henderson <[email protected]>
9812
9813 PR target/49146
9814 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
9815 (execute_cfa_program): Use it when storing to fs->regs.
9816
9817 2013-05-08 Kai Tietz <[email protected]>
9818
9819 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
9820 (__deregister_frame_info): Likewise.
9821
9822 2013-05-06 Thomas Schwinge <[email protected]>
9823
9824 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
9825 NaN's payload.
9826
9827 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
9828
9829 2013-04-25 Alan Modra <[email protected]>
9830
9831 * config.host: Match little-endian powerpc-linux.
9832
9833 2013-04-19 Yufeng Zhang <[email protected]>
9834
9835 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
9836 as 'unsigned long long' instead of 'unsigned long'.
9837 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
9838 'signed long'.
9839
9840 2013-04-10 Julian Brown <[email protected]>
9841
9842 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
9843 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
9844 unsigned char/unsigned short.
9845 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
9846
9847 2013-04-06 John David Anglin <[email protected]>
9848
9849 PR other/55274
9850 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
9851
9852 2013-04-04 Meador Inge <[email protected]>
9853
9854 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
9855 computing the location of the link register.
9856 (aeabi_uldivmod): Ditto.
9857
9858 2013-03-27 Kai Tietz <[email protected]>
9859
9860 * config.host: Add support for cygwin x64 target.
9861 * configure: Regenerated.
9862
9863 2013-03-26 Walter Lee <[email protected]>
9864
9865 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
9866 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
9867
9868 2013-03-25 Kai Tietz <[email protected]>
9869
9870 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
9871
9872 2013-03-20 Robert Mason <[email protected]>
9873
9874 * config/vxlib-tls.c (__gthread_get_tsd_data,)
9875 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
9876 (__gthread_leave_tsd_dtor_context): Add prototypes.
9877 (tls_delete_hook): Update.
9878
9879 2013-03-20 Catherine Moore <[email protected]>
9880 Joseph Myers <[email protected]>
9881 Chao-ying Fu <[email protected]>
9882
9883 * config/mips/mips16.S: Don't build for microMIPS.
9884 * config/mips/linux-unwind.h: Handle microMIPS frame.
9885 * config/mips/crtn.S (fini, init): New labels.
9886
9887 2013-03-14 Jakub Jelinek <[email protected]>
9888
9889 PR tree-optimization/53265
9890 * unwind-dw2.c (execute_cfa_program): Avoid
9891 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
9892 on targets with DWARF_FRAME_REGISTERS < 32.
9893
9894 2013-03-13 Oleg Endo <[email protected]>
9895
9896 PR target/49880
9897 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
9898 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
9899
9900 2013-03-07 Sriraman Tallam <[email protected]>
9901
9902 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
9903 sandybridge processors.
9904
9905 2013-03-06 Oleg Endo <[email protected]>
9906
9907 PR target/56529
9908 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
9909 inclusion list.
9910
9911 2013-03-04 Edgar E. Iglesias <[email protected]>
9912
9913 * config/microblaze/crti.S: Setup stack protection at entry
9914
9915 2013-03-04 Georg-Johann Lay <[email protected]>
9916
9917 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
9918 (__rotldi3): Shift bytewise if applicable.
9919
9920 2013-03-01 James Greenhalgh <[email protected]>
9921
9922 * config/aarch64/sync-cache.c
9923 (__aarch64_sync_cache_range): Silence warnings.
9924
9925 2013-02-25 Catherine Moore <[email protected]>
9926
9927 Revert:
9928 2013-02-24 Catherine Moore <[email protected]>
9929 Joseph Myers <[email protected]>
9930 Chao-ying Fu <[email protected]>
9931
9932 * config/mips/mips16.S: Don't build for microMIPS.
9933 * config/mips/linux-unwind.h: Handle microMIPS frame.
9934 * config/mips/crtn.S (fini, init): New labels.
9935
9936 2013-02-24 Catherine Moore <[email protected]>
9937 Joseph Myers <[email protected]>
9938 Chao-ying Fu <[email protected]>
9939
9940 * config/mips/mips16.S: Don't build for microMIPS.
9941 * config/mips/linux-unwind.h: Handle microMIPS frame.
9942 * config/mips/crtn.S (fini, init): New labels.
9943
9944 2012-02-19 Edgar E. Iglesias <[email protected]>
9945 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
9946 as dividend.
9947
9948 2013-02-16 Alan Modra <[email protected]>
9949
9950 PR target/55431
9951 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9952 (ppc_fallback_frame_state): Always set up save locations for fp
9953 and altivec. Don't bother with non-callee-saved regs, r0-r13
9954 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
9955
9956 2013-02-12 Georg-Johann Lay <[email protected]>
9957
9958 PR target/54222
9959 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
9960 _ssmulHA, _ssmulSA.
9961 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
9962 _ssmulha3, _usmulusa3, _ssmulsa3.
9963 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
9964 (__muldi3): XCALL __muldi3_6 instead of rcall.
9965 (__umulsidi3, __mulsidi3): New functions.
9966 (do_prologue_saves, do_epilogue_restores): New .macros.
9967 (__divdi3_moddi3): Use them.
9968 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
9969 (__usmulusa3, __ssmulsa3): New functions.
9970
9971 2013-02-11 Iain Sandoe <[email protected]>
9972 Jack Howarth <[email protected]>
9973 Patrick Marlier <[email protected]>
9974
9975 PR libitm/55693
9976 * config/darwin-crt-tm.c: Remove dummy functions hack.
9977
9978 2013-02-08 Georg-Johann Lay <[email protected]>
9979
9980 PR target/54222
9981 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
9982 * config/avr/lib2-object.mk: New iterator to build objects from it.
9983 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
9984 lib2funcs.c.
9985 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
9986 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
9987 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
9988 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
9989 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
9990 * config/avr/lib1funcs-fixed.S: Implement them.
9991
9992 2013-02-04 Richard Sandiford <[email protected]>
9993
9994 Update copyright years.
9995
9996 2013-02-01 David Edelsohn <[email protected]>
9997
9998 PR target/54601
9999 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
10000 Add crtcxa to extra_parts.
10001 * config/rs6000/exit.h: New file.
10002 * config/rs6000/cxa_atexit.c: New file.
10003 * config/rs6000/cxa_finalize.c: New file.
10004 * config/rs6000/crtcxa.c: New file.
10005 * config/rs6000/t-aix-cxa: New file.
10006 * config/rs6000/libgcc-aix-cxa.ver: New file.
10007
10008 2013-01-31 Nick Clifton <[email protected]>
10009
10010 * config/v850/lib1funcs.S: Add support for e3v5 architecture
10011 variant.
10012
10013 2013-01-29 Georg-Johann Lay <[email protected]>
10014
10015 PR target/54222
10016 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
10017 _mulQQ, _mulHQ, _mulHA, _mulSA,
10018 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
10019 _divQQ, _divHQ, _divHA, _divSA,
10020 _divUQQ, _divUHQ, _divUHA, _divUSA.
10021
10022 2013-01-26 David Holsgrove <[email protected]>
10023
10024 * config.host(microblaze*-linux*): tmake_file: Remove
10025 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
10026 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
10027 to exclude functions from being built with libgcc.c and use
10028 the microblaze assembly.
10029
10030 2013-01-26 Edgar E. Iglesias <[email protected]>
10031
10032 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
10033 extra_parts.
10034
10035 2013-01-17 Yufeng Zhang <[email protected]>
10036
10037 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
10038 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
10039 __UINTPTR_TYPE__; also cast 'base' to the same type before the
10040 alignment operation.
10041
10042 2013-01-15 Sofiane Naci <[email protected]>
10043
10044 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
10045 loop start address for cache clearing.
10046
10047 2013-01-14 Georg-Johann Lay <[email protected]>
10048
10049 * config/avr/lib1funcs.S: Remove trailing blanks.
10050 * config/avr/lib1funcs-fixed.S: Ditto.
10051
10052 2013-01-14 Georg-Johann Lay <[email protected]>
10053
10054 * config/avr/avr-lib.h: Add GPL copyright notice.
10055
10056 2013-01-14 Georg-Johann Lay <[email protected]>
10057
10058 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
10059 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
10060 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
10061 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
10062
10063 2013-01-07 Mark Kettenis <[email protected]>
10064
10065 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
10066 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
10067
10068 2013-01-04 Nick Clifton <[email protected]>
10069
10070 * config/v850/lib1funcs.S: Only provide CALLT support functions if
10071 the CALLT instruction is supported.
10072
10073 2012-12-20 Jonathan Wakely <[email protected]>
10074
10075 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
10076 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
10077
10078 2012-12-13 John Tytgat <[email protected]>
10079
10080 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
10081 is 25.
10082
10083 2012-12-12 Jakub Jelinek <[email protected]>
10084
10085 PR libgcc/55451
10086 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
10087 undefined signed overflows.
10088
10089 2012-12-09 Uros Bizjak <[email protected]>
10090
10091 PR target/55344
10092 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
10093
10094 2012-12-06 Uros Bizjak <[email protected]>
10095
10096 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
10097 (FP_TRAPPING_EXCEPTIONS): Define.
10098 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
10099 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
10100
10101 2012-12-04 Richard Henderson <[email protected]>
10102
10103 PR bootstrap/55571
10104 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
10105
10106 2012-12-04 Marcus Shawcroft <[email protected]>
10107
10108 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
10109 (FP_EX_SHIFT): Define.
10110 (FP_TRAPPING_EXCEPTIONS): Define.
10111
10112 2012-12-04 Marcus Shawcroft <[email protected]>
10113
10114 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
10115 (FP_ROUNDMODE): Use FP_RND_MASK.
10116 * config/aarch64/sfp-exceptions.c: New.
10117 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10118 Use __sfp_handle_exceptions.
10119
10120 2012-12-04 Richard Earnshaw <[email protected]>
10121
10122 * config.host: (arm*-*-freebsd*): Remove.
10123 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
10124 (arm*-*-elf*): Remove.
10125 (arm*-*-wince-pe*): Remove.
10126 * arm/unwind-arm.c (struct fpa_reg): Delete.
10127 (struct fpa_regs): Delete.
10128 (phase1_vrs): Remove fpa element.
10129 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
10130 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
10131 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
10132 * ieee754-sf.S (floatundisf): Remove FPA support.
10133 (floatdisf): Likewise.
10134 * ieee75f-df.S (floatundidf): Likewise.
10135 (floatdidf): Likewise.
10136
10137 2012-11-29 Kai Tietz <[email protected]>
10138
10139 PR target/55445
10140 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
10141 * unwind-generic.h: Likewise.
10142 * unwind-seh.c: Likewise.
10143
10144 2012-11-28 Richard Henderson <[email protected]>
10145
10146 PR libgcc/48076
10147 * emutls.c (__emutls_get_address): Avoid race condition between
10148 obj->loc.offset read and emutls_key initialization.
10149
10150 2012-11-22 Georg-Johann Lay <[email protected]>
10151
10152 Adjust decimal point of signed accum mode to GCC default.
10153
10154 PR target/54222
10155 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
10156 _divqq_helper.
10157 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
10158 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
10159 (__mulha3, __mulsa3)
10160 (__divqq3, __divha3, __divsa3): Adjust to new position of
10161 decimal point of signed accum types.
10162
10163 (__mulusa3_round): New function.
10164 (__mulusa3): Use it.
10165 (__divqq_helper): New function.
10166 (__udivuqq3): Use it.
10167
10168 2012-11-20 Jakub Jelinek <[email protected]>
10169
10170 PR bootstrap/55370
10171 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
10172
10173 2012-11-18 Teresa Johnson <[email protected]>
10174
10175 PR bootstrap/55051
10176 * libgcov.c (gcov_exit): Remove merged program summary
10177 comparison unless !GCOV_LOCKED.
10178
10179 2012-11-15 Marcus Shawcroft <[email protected]>
10180
10181 * soft-fp: Updated from glibc upstream.
10182
10183 2012-11-06 Ian Lance Taylor <[email protected]>
10184
10185 * generic-morestack.c (__generic_morestack): Align the returned
10186 stack pointer to a 32 byte boundary.
10187 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
10188 increment the return address until we have decided that we don't
10189 have a varargs function.
10190 (__morestack) [32-bit]: Align stack correctly when calling C
10191 functions.
10192 (__morestack) [64-bit]: Likewise.
10193
10194 2012-11-04 Thomas Schwinge <[email protected]>
10195
10196 * configure: Regenerate.
10197
10198 2012-11-02 Uros Bizjak <[email protected]>
10199
10200 PR target/55175
10201 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
10202 * config/i386/sfp-machine.h: Guard exception handling
10203 code with _SOFT_FLOAT.
10204 * config/i386/32/sfp-machine.h: Guard rounding handling
10205 code with _SOFT_FLOAT.
10206 * config/i386/64/sfp-machine.h: Ditto.
10207
10208 2012-10-31 Joel Sherrill <[email protected]>
10209
10210 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
10211 as extra_parts.
10212
10213 2012-10-26 Uros Bizjak <[email protected]>
10214
10215 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
10216 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
10217 when appropriate. Correct structure element types.
10218 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
10219 -minline-all-stringops from compile flags.
10220
10221 2012-10-25 Ralf Corsépius <[email protected]>
10222
10223 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
10224
10225 2012-10-25 Ralf Corsépius <[email protected]>
10226
10227 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
10228
10229 2012-10-25 Sebastian Huber <[email protected]>
10230
10231 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
10232 tmake_file.
10233
10234 2012-10-23 Ian Bolton <[email protected]>
10235 Jim MacArthur <[email protected]>
10236 Marcus Shawcroft <[email protected]>
10237 Nigel Stephens <[email protected]>
10238 Ramana Radhakrishnan <[email protected]>
10239 Richard Earnshaw <[email protected]>
10240 Sofiane Naci <[email protected]>
10241 Stephen Thomas <[email protected]>
10242 Tejas Belagod <[email protected]>
10243 Yufeng Zhang <[email protected]>
10244
10245 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
10246 * config/aarch64/crti.S: New file.
10247 * config/aarch64/crtn.S: New file.
10248 * config/aarch64/linux-unwind.h: New file.
10249 * config/aarch64/sfp-machine.h: New file.
10250 * config/aarch64/sync-cache.c: New file.
10251 * config/aarch64/t-aarch64: New file.
10252 * config/aarch64/t-softfp: New file.
10253
10254 2012-10-21 Hans-Peter Nilsson <[email protected]>
10255
10256 * config/mmix/crti.S: Mark program and data addresses using PRELD.
10257 Remove typo'd and unnecessary alignment-LOC for .data. Remove
10258 no-longer-needed LDBU insns.
10259
10260 2012-10-18 Sebastian Huber <[email protected]>
10261
10262 * config.host
10263 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
10264 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
10265
10266 2012-10-17 Matthew Gretton-Dann <[email protected]>
10267
10268 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
10269
10270 2012-10-15 Matthias Klose <[email protected]>
10271
10272 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
10273
10274 2012-10-15 Pavel Chupin <[email protected]>
10275
10276 * configure: Regenerate.
10277 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
10278
10279 2012-10-10 Uros Bizjak <[email protected]>
10280
10281 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
10282 instructions for 64bit targets only.
10283
10284 2012-10-10 Uros Bizjak <[email protected]>
10285
10286 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
10287 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
10288 * config/i386/32/sfp-machine.h: ... here.
10289 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
10290 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
10291 New defines.
10292
10293 2012-10-07 Matthias Klose <[email protected]>
10294
10295 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
10296 as unused.
10297 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
10298
10299 2012-10-06 Mark Kettenis <[email protected]>
10300
10301 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
10302 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
10303 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
10304 (ElfW): Likewise.
10305
10306 2012-10-05 Jonathan Wakely <[email protected]>
10307
10308 PR other/53889
10309 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
10310 Fix parameter names.
10311
10312 2012-10-04 Oleg Endo <[email protected]>
10313
10314 PR target/33135
10315 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
10316 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
10317 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
10318
10319 2012-10-03 Oleg Endo <[email protected]>
10320
10321 PR target/50457
10322 * config/sh/linux-atomic.S: Delete.
10323 * config/sh/linux-atomic.c: New.
10324 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
10325 linux-atomic.c. Add cflags to disable warnings.
10326
10327 2012-10-02 Jonathan Wakely <[email protected]>
10328
10329 PR other/53889
10330 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
10331 function.
10332 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
10333 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
10334 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
10335 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
10336 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
10337 Likewise.
10338 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
10339 Likewise.
10340 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
10341 Likewise.
10342 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
10343 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
10344
10345 2012-09-19 Mark Kettenis <[email protected]>
10346
10347 * config.host (hppa-*-openbsd*): New target.
10348 * config/pa/t-openbsd: New file.
10349
10350 2012-09-15 Georg-Johann Lay <[email protected]>
10351
10352 PR target/54222
10353 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
10354 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
10355 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
10356 (__divsa3): Use __negsi2 to negate r_quoL.
10357 * config/avr/lib1funcs.S (FALIAS): New macro.
10358 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
10359 (__negsi2): ...this new function.
10360 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
10361 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
10362 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
10363 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
10364 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
10365 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
10366
10367 2012-09-10 Oleg Endo <[email protected]>
10368
10369 PR target/54089
10370 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
10371 (lshrsi3): Reimplement as lshrsi3_r0.
10372
10373 2012-09-10 Andreas Schwab <[email protected]>
10374
10375 PR target/46191
10376 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
10377 of libgcc.a.
10378
10379 2012-09-07 Teresa Johnson <[email protected]>
10380
10381 PR gcov-profile/54487
10382 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
10383 differences.
10384
10385 2012-09-05 Georg-Johann Lay <[email protected]>
10386
10387 PR target/54461
10388 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
10389 not configured --with-avrlibc=no.
10390 * config/avr/t-avrlibc: New file.
10391 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
10392 (DPBIT_FUNCS): Ditto.
10393 (TPBIT_FUNCS): Ditto.
10394
10395 2012-09-04 Teresa Johnson <[email protected]>
10396
10397 * libgcov.c (struct gcov_summary_buffer): New structure.
10398 (gcov_histogram_insert): New function.
10399 (gcov_compute_histogram): Ditto.
10400 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
10401 histograms during summary merging.
10402
10403 2012-09-01 Mark Kettenis <[email protected]>
10404
10405 * config.host (x86_64-*-openbsd*): New target.
10406
10407 2012-08-29 Chung-Lin Tang <[email protected]>
10408
10409 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
10410 attribute.
10411
10412 2012-08-24 Georg-Johann Lay <[email protected]>
10413
10414 PR target/54222
10415 * config/avr/t-avr (conv_X): Rename to func_X.
10416
10417 2012-08-24 Georg-Johann Lay <[email protected]>
10418
10419 PR target/54222
10420 * config/avr/lib1funcs-fixed.S: New file.
10421 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
10422 after they are used.
10423 (neg2, neg4): New macros.
10424 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
10425 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
10426 (__umulhisi3): Speed up MUL variant if there is enough flash.
10427 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
10428 avr-modes.def.
10429 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
10430 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
10431 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
10432 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
10433 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
10434 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
10435 (LIB2FUNCS_EXCLUDE): Add supported functions.
10436
10437 2012-08-22 Georg-Johann Lay <[email protected]>
10438
10439 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
10440 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
10441 libgcc-s-objects.
10442 * fixed-obj.mk: Only expand dependency if $o is not in
10443 LIB2FUNCS_EXCLUDE.
10444
10445 2012-08-22 H.J. Lu <[email protected]>
10446
10447 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
10448
10449 2012-08-22 Joseph Myers <[email protected]>
10450
10451 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
10452 depend on --enable-shared.
10453 ($(lib1asmfuncs-o)): Use %.vis files independent of
10454 --enable-shared.
10455 * static-object.mk ($(base)$(objext), $(base).vis)
10456 ($(base)_s$(objext)): Use same rules for visibility handling as in
10457 shared-object.mk.
10458
10459 2012-08-21 Ian Lance Taylor <[email protected]>
10460
10461 * config/i386/morestack.S (__morestack_non_split): Increase amount
10462 of space allocated for non-split code stack.
10463
10464 2012-08-19 Joseph Myers <[email protected]>
10465
10466 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
10467 even if inhibit_libc.
10468
10469 2012-08-17 Julian Brown <[email protected]>
10470
10471 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
10472 -fexceptions -fnon-call-exceptions if not defined.
10473 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
10474 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
10475
10476 2012-08-17 Andreas Schwab <[email protected]>
10477
10478 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
10479 type.
10480
10481 2012-08-16 David Edelsohn <[email protected]>
10482
10483 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
10484 rs6000/t-slibgcc-aix.
10485
10486 2012-08-15 Segher Boessenkool <[email protected]>
10487
10488 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
10489
10490 2012-08-15 Segher Boessenkool <[email protected]>
10491
10492 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
10493
10494 2012-08-03 H.J. Lu <[email protected]>
10495
10496 PR driver/54171
10497 * Makefile.in (version): Replace top_srcdir with srcdir.
10498
10499 2012-08-03 Jonathan Yong <[email protected]>
10500
10501 * Makefile.in (version): set to BASE-VER file from gcc directory.
10502
10503 2012-08-01 Nick Clifton <[email protected]>
10504
10505 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
10506 Implements __clrsb for an HImode argument.
10507
10508 2012-07-31 Nick Clifton <[email protected]>
10509
10510 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
10511 Implements __clrsb for an HImode argument.
10512 * config/stormy16/clrsbhi2.c: New file:
10513 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
10514
10515 2012-07-22 Steven Bosscher <[email protected]>
10516
10517 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
10518
10519 2012-07-19 Tristan Gingold <[email protected]>
10520 Richard Henderson <[email protected]>
10521
10522 * unwind-seh.c: New file.
10523 * unwind-generic.h: Include windows.h for SEH.
10524 (_Unwind_Exception): Use 6 private fields for SEH.
10525 (_GCC_specific_handler): Declare.
10526 * unwind-c.c (__gcc_personality_seh0): New function.
10527 Adjust for SEH.
10528 * config/i386/libgcc-cygming.ver: New file.
10529 * config/i386/t-seh-eh: New file.
10530 * config.host (x86_64-*-mingw*): Default to seh.
10531
10532 2012-07-14 Steven Bosscher <[email protected]>
10533
10534 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
10535
10536 2012-06-17 Uros Bizjak <[email protected]>
10537
10538 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
10539 __builtin_expect when checking for exceptions.
10540 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
10541
10542 2012-06-13 Uros Bizjak <[email protected]>
10543
10544 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
10545 function declaration.
10546 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
10547 (FP_RND_MASK): New.
10548 * config/ia64/sfp-exceptions.c: New.
10549 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
10550
10551 2012-06-13 Uros Bizjak <[email protected]>
10552
10553 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
10554 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
10555 * config/i386/64/sfp-machine: ... (delete here) ...
10556 * config/i386/sfp-machine.h: ... to here.
10557 (FP_EX_MASK): Remove.
10558 (FP_RND_MASK): New.
10559 (FP_INIT_ROUNDMODE): Declare asm as volatile.
10560
10561 2012-06-11 Sriraman Tallam <[email protected]>
10562
10563 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
10564 * config/i386/libgcc-sol2.ver: Ditto.
10565 * config/i386/libgcc-glibc.ver: Ditto.
10566
10567 2012-06-11 Roland McGrath <[email protected]>
10568
10569 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
10570 If __GLIBC__ is defined, refer to __pthread_key_create instead of
10571 pthread_cancel.
10572
10573 2012-06-09 Uros Bizjak <[email protected]>
10574
10575 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
10576 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
10577 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
10578 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
10579 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
10580 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
10581 * config/i386/64/sfp-machine: ... (delete here) ...
10582 * config/i386/sfp-machine.h: ... to here.
10583 (FP_EX_MASK): New.
10584 (__sfp_handle_exceptions): New function declaration.
10585 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
10586 * config/i386/sfp-exceptions.c: New.
10587 * config/i386/t-softfp: New.
10588 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
10589 i386/t-softfp to tmake_file.
10590
10591 2012-06-03 David S. Miller <[email protected]>
10592
10593 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
10594 change.
10595
10596 2012-05-31 David S. Miller <[email protected]>
10597
10598 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
10599 multiply and divide instructions on 32-bit when V9.
10600 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
10601
10602 2012-05-29 Joseph Myers <[email protected]>
10603
10604 * config/arm/ieee754-df.S: Fix typos.
10605 * config/arm/ieee754-sf.S: Fix typos.
10606 * config/c6x/libunwind.S: Fix typos.
10607 * config/epiphany/udivsi3-float.c: Fix typos.
10608 * config/microblaze/muldi3_hard.S: Fix typos.
10609 * config/picochip/adddi3.S: Fix typos.
10610 * config/picochip/ashlsi3.S: Fix typos.
10611 * config/picochip/ashrsi3.S: Fix typos.
10612 * config/picochip/clzsi2.S: Fix typos.
10613 * config/picochip/cmpsi2.S: Fix typos.
10614 * config/picochip/divmod15.S: Fix typos.
10615 * config/picochip/divmodhi4.S: Fix typos.
10616 * config/picochip/divmodsi4.S: Fix typos.
10617 * config/picochip/longjmp.S: Fix typos.
10618 * config/picochip/lshrsi3.S: Fix typos.
10619 * config/picochip/parityhi2.S: Fix typos.
10620 * config/picochip/popcounthi2.S: Fix typos.
10621 * config/picochip/setjmp.S: Fix typos.
10622 * config/picochip/subdi3.S: Fix typos.
10623 * config/picochip/ucmpsi2.S: Fix typos.
10624 * config/picochip/udivmodhi4.S: Fix typos.
10625 * config/picochip/udivmodsi4.S: Fix typos.
10626 * config/spu/divv2df3.c: Fix typos.
10627 * config/spu/mfc_multi_tag_release.c: Fix typos.
10628 * config/spu/mfc_tag_release.c: Fix typos.
10629 * configure.ac: Fix typos.
10630 * configure: Regenerate.
10631
10632 2012-05-25 Ian Lance Taylor <[email protected]>
10633
10634 * config/i386/morestack.S (__morestack_non_split): Check whether
10635 caller is varargs and needs %bp to hold the stack frame on return.
10636
10637 2012-05-25 Olivier Hainque <[email protected]>
10638
10639 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
10640 sequence in the non pic case on VxWorks.
10641
10642 2012-05-24 Olivier Hainque <[email protected]>
10643
10644 * Makefile.in: Move dependency on install-unwind_h from
10645 "install-leaf" to "install".
10646
10647 2012-05-24 Olivier Hainque <[email protected]>
10648
10649 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
10650 Use a separate command for stamp removals.
10651
10652 2012-05-21 Andrew Pinski <[email protected]>
10653
10654 PR bootstrap/53183
10655 * configure.ac: Define the default includes to being none.
10656 * configure: Regenerate.
10657
10658 2012-05-16 Olivier Hainque <[email protected]>
10659
10660 * Makefile.in (install-unwind_h): Rename into ...
10661 (install-unwind_h-forbuild): New target.
10662 (all): Use it instead of the former install-unwind_h.
10663 (install-unwind_h): Reinstate, copy to user install destination
10664 for include files, not to the internal gcc object directory one.
10665 (install-leaf): Depend on it.
10666
10667 2012-05-15 Olivier Hainque <[email protected]>
10668
10669 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
10670 register numbers. LR_REGNO replaces R_LR.
10671 (ucontext_for): New, helper for ...
10672 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
10673 and 5.3 of ...
10674 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
10675
10676 2012-05-10 Rainer Orth <[email protected]>
10677
10678 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
10679 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
10680 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
10681 i386/t-cpuinfo ...
10682 (i[34567]86-*-*, x86_64-*-*): ... here.
10683
10684 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
10685 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
10686
10687 * config/i386/i386-cpuinfo.c: Rename to ...
10688 * config/i386/cpuinfo.c: ... this.
10689 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
10690
10691 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
10692 (libgcc_cv_init_priority): New test.
10693 * configure: Regenerate.
10694 * config.in: New file.
10695 * Makefile.in (clean): Rename config.h to auto-target.h.
10696 (config.h): Likewise.
10697 (stamp-h): Likewise.
10698
10699 * config/i386/cpuinfo.c (auto-target.h): Include.
10700 (CONSTRUCTOR_PRIORITY): Define.
10701 (__cpu_indicator_init): Use it.
10702
10703 2012-05-09 H.J. Lu <[email protected]>
10704
10705 * longlong.h: Use a URL instead of an FSF postal address.
10706 Replace spaces with tab.
10707
10708 2012-05-08 Teresa Johnson <[email protected]>
10709
10710 * libgcov.c (gcov_clear, __gcov_reset): New functions.
10711 (__gcov_dump): Ditto.
10712 (gcov_dump_complete): New global variable.
10713 (gcov_exit): Export hidden to enable use in L_gcov_dump.
10714 (__gcov_flush): Outline functionality now in gcov_clear.
10715 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
10716
10717 2012-04-28 Aurelien Jarno <[email protected]>
10718
10719 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
10720 (mips*-*-linux*): Include mips/t-tpbit when long double is
10721 16 bytes long.
10722
10723 2012-04-25 Sriraman Tallam <[email protected]>
10724
10725 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
10726 (get_available_features): New argument. Check for AVX2.
10727 (__cpu_indicator_init): Modify call to get_available_features.
10728
10729 2012-04-25 Alan Modra <[email protected]>
10730
10731 * config/rs6000/crtsavevr.S: New file.
10732 * config/rs6000/crtrestvr.S: New file.
10733 * config/rs6000/t-savresfgpr: Build the above.
10734 * config/rs6000/t-netbsd: Likewise.
10735
10736 2012-04-24 Sriraman Tallam <[email protected]>
10737
10738 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
10739
10740 2012-04-24 Sriraman Tallam <[email protected]>
10741
10742 * libgcc/config/i386/i386-cpuinfo.c: New file.
10743 * libgcc/config/i386/t-cpuinfo: New file.
10744 * libgcc/config.host: Include t-cpuinfo.
10745 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
10746
10747 2012-04-24 Chao-ying Fu <[email protected]>
10748
10749 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
10750
10751 2012-04-20 Thomas Schwinge <[email protected]>
10752
10753 struct siginfo vs. siginfo_t
10754
10755 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
10756 siginfo_t instead of struct siginfo.
10757 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
10758 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
10759 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
10760 (ia64_handle_unwabi): Likewise.
10761 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
10762 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
10763 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
10764 (sh_fallback_frame_state): Likewise.
10765 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
10766 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
10767
10768 2012-04-02 H.J. Lu <[email protected]>
10769
10770 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
10771 system call number.
10772
10773 2012-03-31 Eric Botcazou <[email protected]>
10774
10775 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
10776 if it hasn't been previously saved.
10777
10778 2012-03-29 H.J. Lu <[email protected]>
10779
10780 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
10781 only for glibc.
10782
10783 2012-03-28 Georg-Johann Lay <[email protected]>
10784
10785 PR target/52737
10786 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
10787 instead of __AVR_HAVE_8BIT_SP__.
10788
10789 2012-03-26 Tristan Gingold <[email protected]>
10790
10791 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
10792 (unw_table_entry): Use unw_word instead of unsigned long.
10793 (_Unwind_FindTableEntry): Likewise.
10794 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
10795 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
10796 (_Unwind_FindTableEntry): Likewise.
10797 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
10798 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
10799 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
10800 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
10801 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
10802 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
10803 (uw_init_context_1, uw_install_context): Likewise.
10804 (unw_word): Move to unwind-ia64.h
10805
10806 2012-03-26 Tristan Gingold <[email protected]>
10807
10808 * config/vms/vms-ucrt0.c: Update copyright years.
10809 Add a sanity check.
10810 (___gcc_main_flags): Declare.
10811 (__main): Check flags to remap argv and exit code.
10812 * config.host (*-*-*vms*): Adjust extra_parts.
10813 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
10814 (crt0.o): Add.
10815
10816 2012-03-22 Richard Earnshaw <[email protected]>
10817
10818 * arm/lib1funcs.asm (ctzsi2): New function.
10819 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
10820 * arm/t-linux (LIB1ASMFUNCS): Likewise.
10821 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
10822 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
10823 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
10824 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
10825
10826 2012-03-21 Andreas Tobler <[email protected]>
10827
10828 * config.host: Add bits to support powerpc64-*-freebsd*.
10829 * config/rs6000/freebsd-unwind.h: New file.
10830 * config/rs6000/t-freebsd64: New file.
10831
10832 2012-03-20 Richard Guenther <[email protected]>
10833
10834 PR gcov-profile/52627
10835 * libgcov.c (init_mx): Fix mutex name.
10836
10837 2012-03-16 Tristan Gingold <[email protected]>
10838
10839 * config/ia64/vms-unwind.h: Remove ulong (and replace
10840 it by unw_reg where used). Define unw_reg with __int64.
10841
10842 2012-03-14 Rainer Orth <[email protected]>
10843
10844 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
10845 Solaris 8 handling.
10846 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
10847 Solaris 8 handling.
10848 (sparc_is_sighandler): Likewise.
10849
10850 2012-03-13 H.J. Lu <[email protected]>
10851
10852 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
10853 <= saved reg size.
10854
10855 2012-03-13 Rainer Orth <[email protected]>
10856
10857 * config/arm/crtn.S: Fix typo.
10858
10859 2012-03-13 Richard Guenther <[email protected]>
10860
10861 * libgcov.c: Remove stdio.h include and NULL un-define.
10862
10863 2012-03-13 Richard Guenther <[email protected]>
10864
10865 PR target/52569
10866 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
10867
10868 2012-03-13 Richard Guenther <[email protected]>
10869
10870 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
10871
10872 2012-03-13 Richard Guenther <[email protected]>
10873
10874 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
10875 and __gthread_mutex_init_function definitions.
10876
10877 2012-03-12 Rainer Orth <[email protected]>
10878
10879 * config.host (mips*-*-openbsd*): Remove.
10880
10881 2012-03-12 Rainer Orth <[email protected]>
10882
10883 * config.host: Remove alpha*-dec-osf5.1* handling.
10884 * config/alpha/gthr-posix.c: Remove.
10885 * config/alpha/libgcc-osf5.ver: Remove.
10886 * config/alpha/osf5-unwind.h: Remove.
10887 * config/alpha/t-osf-pthread: Remove.
10888 * config/alpha/t-slibgcc-osf: Remove.
10889 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
10890 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
10891 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
10892 * mkmap-flat.awk: Remove osf_export handling.
10893
10894 2012-03-12 Richard Guenther <[email protected]>
10895
10896 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
10897 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10898 (__gthread_mutex_init_function): New function.
10899 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10900
10901 PR gcov/49484
10902 * libgcov.c: Include gthr.h.
10903 (__gcov_flush_mx): New global variable.
10904 (init_mx, init_mx_once): New functions.
10905 (__gcov_flush): Protect self with a mutex.
10906 (__gcov_fork): Re-initialize mutex after forking.
10907 * unwind-dw2-fde.c: Change condition under which to use
10908 __GTHREAD_MUTEX_INIT_FUNCTION.
10909
10910 2012-03-12 Tristan Gingold <[email protected]>
10911
10912 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
10913 * config/ia64/t-vms: Likewise.
10914
10915 2012-03-11 Michael Hope <[email protected]>
10916
10917 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
10918 for Thumb-2.
10919
10920 2012-03-07 Walter Lee <[email protected]>
10921
10922 * config/tilepro/atomic.c: Rename "atomic_" prefix to
10923 "arch_atomic_".
10924 (atomic_xor): Rename and move definition to
10925 config/tilepro/atomic.h.
10926 (atomic_nand): Ditto.
10927 * config/tilepro/atomic.h: Rename "atomic_" prefix to
10928 "arch_atomic_".
10929 (arch_atomic_xor): Move from config/tilepro/atomic.c.
10930 (arch_atomic_nand): Ditto.
10931
10932 2012-03-07 Georg-Johann Lay <[email protected]>
10933
10934 PR target/52507
10935 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
10936
10937 2012-03-07 Georg-Johann Lay <[email protected]>
10938
10939 PR target/52505
10940 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
10941 from RAM.
10942
10943 2012-03-07 Georg-Johann Lay <[email protected]>
10944
10945 PR target/52461
10946 PR target/52508
10947 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
10948 if RAMPZ affects reading from RAM.
10949 (__tablejump_elpm__): Ditto.
10950 (.xload): Ditto.
10951 (__movmemx_hi): Ditto.
10952 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
10953 (__do_global_dtors): Ditto.
10954 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
10955 (__movmemx_hi): Ditto.
10956
10957 2012-03-05 Richard Henderson <[email protected]>
10958
10959 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
10960 [ARM] (count_trailing_zeros): Use the builtin.
10961
10962 2012-03-01 Kai Tietz <[email protected]>
10963
10964 * soft-fp: Imported from glibc upstream.
10965
10966 2012-02-28 Kai Tietz <[email protected]>
10967
10968 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
10969 for mingw-targets as attribute gcc_struct.
10970
10971 2012-02-28 Ian Lance Taylor <[email protected]>
10972
10973 * generic-morestack.c (__splitstack_releasecontext): Correct call
10974 to __morestack_release_segments.
10975
10976 2012-02-27 Samuel Thibault <[email protected]>
10977
10978 PR target/52390
10979 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
10980 for __linux__ when removing signals from __morestack_fullmask.
10981
10982 2012-02-23 Georg-Johann Lay <[email protected]>
10983
10984 PR target/52261
10985 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
10986
10987 2012-02-23 Ulrich Weigand <[email protected]>
10988
10989 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
10990 instead of HAVE_INITFINI_ARRAY.
10991 * config/ia64/crtend.S: Likewise.
10992
10993 2012-02-20 Kai Tietz <[email protected]>
10994
10995 PR libstdc++/52300
10996 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
10997
10998 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
10999 to w32-unwind.h header.
11000
11001 2012-02-19 Richard Sandiford <[email protected]>
11002
11003 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
11004 (mips*-*-linux*): Remove t-slibgcc-libgcc.
11005 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
11006 * config/mips/mips16.S (__mips16_rdhwr): Delete.
11007
11008 2012-02-19 Richard Sandiford <[email protected]>
11009
11010 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
11011
11012 2012-02-15 Iain Sandoe <[email protected]>
11013
11014 PR libitm/52220
11015 * config/darwin-crt-tm.c: Correct typo.
11016
11017 2012-02-15 Iain Sandoe <[email protected]>
11018 Patrick Marlier <[email protected]>
11019
11020 PR libitm/52220
11021 * config/darwin-crt-tm.c: Generate dummy functions.
11022
11023 2012-02-15 Iain Sandoe <[email protected]>
11024 Patrick Marlier <[email protected]>
11025
11026 PR libitm/52042
11027 * config/darwin-crt-tm.c (getTMCloneTable): New function.
11028 (__doTMRegistrations): Call it.
11029 (__doTMdeRegistrations): Likewise.
11030
11031 2012-01-15 Georg-Johann Lay <[email protected]>
11032 Anatoly Sokolov <[email protected]>
11033 Eric Weddington <[email protected]>
11034
11035 PR target/52261
11036 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
11037 (__epilogue_restores__): Ditto.
11038
11039 2012-02-15 Eric Botcazou <[email protected]>
11040
11041 PR target/51921
11042 PR target/52205
11043 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
11044 Solaris 11 and slightly reformat.
11045 (sparc_is_sighandler): Likewise.
11046
11047 2012-02-14 Walter Lee <[email protected]>
11048
11049 * config.host: Handle tilegx and tilepro.
11050 * config/tilegx/sfp-machine.h: New file.
11051 * config/tilegx/sfp-machine32.h: New file.
11052 * config/tilegx/sfp-machine64.h: New file.
11053 * config/tilegx/t-crtstuff: New file.
11054 * config/tilegx/t-softfp: New file.
11055 * config/tilegx/t-tilegx: New file.
11056 * config/tilepro/atomic.c: New file.
11057 * config/tilepro/atomic.h: New file.
11058 * config/tilepro/linux-unwind.h: New file.
11059 * config/tilepro/sfp-machine.h: New file.
11060 * config/tilepro/softdivide.c: New file.
11061 * config/tilepro/softmpy.S: New file.
11062 * config/tilepro/t-crtstuff: New file.
11063 * config/tilepro/t-tilepro: New file.
11064
11065 2012-02-07 Jonathan Wakely <[email protected]>
11066
11067 PR libstdc++/51296
11068 PR libstdc++/51906
11069 * gthr-posix.h: Allow static initializer macros to be disabled.
11070 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
11071
11072 2012-02-05 Chung-Lin Tang <[email protected]>
11073
11074 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
11075 Add t-slibgcc-libgcc to tmake_file.
11076 * config/mips/libgcc-mips16.ver: Revert previous patch.
11077 * config/mips/mips16.S (__mips16_rdhwr): Hide.
11078
11079 2012-02-02 Sumanth G <[email protected]>
11080 Jayant R Sonar <[email protected]>
11081
11082 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
11083 * config/cr16/crti.S: New file.
11084 * config/cr16/crtlibid.S: New file.
11085 * config/cr16/crtn.S: New file.
11086 * config/cr16/lib1funcs.S: New file.
11087 * config/cr16/t-cr16: New file.
11088 * config/cr16/t-crtlibid: New file.
11089 * config/cr16/unwind-dw2.h: New file.
11090 * config/cr16/unwind-cr16.c: New file.
11091 * config/cr16/divmodhi3.c: New file.
11092
11093 2012-01-25 Alan Modra <[email protected]>
11094
11095 * config/rs6000/t-linux64: Delete. Move..
11096 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
11097 * config/rs6000/t-linux: ..and libgcc flags to here.
11098
11099 2012-01-22 Douglas B Rupp <[email protected]>
11100
11101 * config.host (i[34567]86-*-interix3*):
11102 Change triplet to i[34567]86-*-interix[3-9]*.
11103 * configure: Regenerate.
11104
11105 2012-01-15 Chung-Lin Tang <[email protected]>
11106 Richard Sandiford <[email protected]>
11107
11108 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
11109 * config/mips/mips16.S (__mips16_rdhwr): New function.
11110 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
11111
11112 2012-01-11 Nathan Sidwell <[email protected]>
11113
11114 * libgcov.c (__gcov_init): Ignore objects with no functions.
11115
11116 2012-01-10 Georg-Johann Lay <[email protected]>
11117
11118 PR target/49868
11119 Extend __pgmx semantics to linearize memory.
11120 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
11121 * config/avr/lib1funcs.S (__xload_1): New function.
11122 (__movmemx_qi, __movmemx_hi): New functions.
11123 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
11124 semantics.
11125
11126 2012-01-09 Eric Botcazou <[email protected]>
11127
11128 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
11129 purported sigacthandler address isn't null before dereferencing it.
11130 (sparc_is_sighandler): Likewise.
11131
11132 2012-01-09 Eric Botcazou <[email protected]>
11133
11134 PR ada/41929
11135 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
11136 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
11137 (sparc_is_sighandler): Likewise.
11138 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
11139
11140 2012-01-06 Tristan Gingold <[email protected]>
11141
11142 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
11143 compatibility thunks...
11144 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
11145 (crtbeginS.o, crtendS.o): ... and these to ...
11146 * config/ia64/t-ia64-elf: ... this new file.
11147 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
11148 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
11149
11150 2012-01-04 Andreas Krebbel <[email protected]>
11151
11152 * configure: Regenerate.
11153 * config/s390/t-crtstuff: Remove -fPIC.
11154
11155 2012-01-02 Jonathan Wakely <[email protected]>
11156
11157 PR bootstrap/51006
11158 * enable-execute-stack-mprotect.c (getpagesize): Do not define
11159 for NetBSD.
11160
11161 2012-01-02 Georg-Johann Lay <[email protected]>
11162
11163 PR target/51345
11164 * config/avr/lib1funcs.S: Remove FIXME comments.
11165 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
11166
11167 2012-01-02 Georg-Johann Lay <[email protected]>
11168
11169 Implement light-weight DImode support.
11170 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
11171 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
11172 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
11173 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
11174
11175 2011-12-30 Nathan Sidwell <[email protected]>
11176
11177 * libgcov.c (gcov_crc32): Remove global var.
11178 (free_fn_data): New function.
11179 (buffer_fn_data): Pass in filename, more robust error recovery.
11180 (crc32_unsigned): New function.
11181 (gcov_exit): More robust detection of new program. More robust
11182 error recovery.
11183 (__gcov_init): Do not update program's crc here.
11184
11185 2011-12-21 Tristan Gingold <[email protected]>
11186
11187 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
11188
11189 2011-12-21 Ian Lance Taylor <[email protected]>
11190
11191 * config/i386/morestack.S: Simplify CFI opcodes throughout.
11192
11193 2011-12-20 Ian Lance Taylor <[email protected]>
11194
11195 * config/i386/morestack.S (__morestack_non_split): If there is
11196 enough stack space already, don't split. Ask for more stack space
11197 than we required.
11198
11199 2011-12-20 Sergio Durigan Junior <[email protected]>
11200
11201 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
11202 `sys/sdt.h'.
11203 (_Unwind_DebugHook): New function.
11204 (uw_restore_core_regs): New define.
11205 (unwind_phase2): Use uw_restore_core_regs instead of
11206 restore_core_regs.
11207 (unwind_phase2_forced): Likewise.
11208 (__gnu_Unwind_Resume): Likewise.
11209
11210 2011-12-20 Uros Bizjak <[email protected]>
11211
11212 * config/alpha/linux-unwind.h: Update copyright years.
11213 (MD_FROB_UPDATE_CONTEXT): New define.
11214 (alpha_frob_update_context): New function.
11215
11216 2011-12-17 Richard Sandiford <[email protected]>
11217
11218 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
11219 tmake_file rather replacing it.
11220
11221 2011-12-15 Iain Sandoe <[email protected]>
11222
11223 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
11224 function is not used for PPC64.
11225 (save_world): Amend comments. Update the VRsave mask to reflect the
11226 saved regs.
11227 (rest_world): Update comments, do not clobber r10, do not use r8.
11228 (eh_rest_world_r10): Amend comments, do not use r8.
11229 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
11230 no longer used, move restore of CR and target address to the end of
11231 the routine.
11232
11233 2011-12-14 H.J. Lu <[email protected]>
11234
11235 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
11236 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
11237
11238 2011-12-14 Georg-Johann Lay <[email protected]>
11239
11240 PR target/49313
11241 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
11242 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
11243
11244 2011-12-11 Eric Botcazou <[email protected]>
11245
11246 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
11247
11248 2011-12-09 Georg-Johann Lay <[email protected]>
11249
11250 PR target/49313
11251 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
11252 * config/avr/lib1funcs.S (__muldi3): New function.
11253
11254 2011-12-06 Andrew Pinski <[email protected]>
11255
11256 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
11257 size of func_ptr.
11258 (__frame_dummy_init_array_entry): Likewise.
11259
11260 2011-12-06 Georg-Johann Lay <[email protected]>
11261
11262 Forward-port from gcc-4_6-branch r181936 2011-12-02.
11263
11264 PR target/51345
11265 PR target/51002
11266 * config/avr/lib1funcs.S (__prologue_saves__,
11267 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
11268 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
11269
11270 2011-12-04 Iain Sandoe <[email protected]>
11271
11272 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
11273
11274 2011-11-30 John David Anglin <[email protected]>
11275
11276 PR other/51272
11277 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
11278 (_ITM_deregisterTMCloneTable): Likewise.
11279 (__register_frame_info): Fix unused warning.
11280 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
11281 pthread_default_stacksize_np): Likewise.
11282 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
11283
11284 2011-11-29 DJ Delorie <[email protected]>
11285
11286 * config.host (rl78-*-elf): New case.
11287 * config/rl78: New directory for the Renesas RL78.
11288
11289 2011-11-29 Bernd Schmidt <[email protected]>
11290
11291 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
11292 formatting.
11293
11294 2011-11-28 Rainer Orth <[email protected]>
11295
11296 PR other/51022
11297 * config/rs6000/t-savresfgpr: New file.
11298 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
11299 $(srcdir)/config/rs6000/eabi.S.
11300 * config/rs6000/t-ppccomm-ldbl: Remove.
11301 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
11302 tmake_file.
11303 (powerpc-*-eabispe*): Likewise.
11304 (powerpc-*-eabi*): Likewise.
11305 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11306 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
11307 to tmake_file, remove rs6000/t-ppccomm-ldbl.
11308 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
11309 tmake_file.
11310 (powerpc-*-eabisim*): Likewise.
11311 (powerpc-*-elf*): Likewise.
11312 (powerpc-*-eabialtivec*): Likewise.
11313 (powerpc-xilinx-eabi*): Likewise.
11314 (powerpc-*-rtems*): Likewise.
11315 (powerpcle-*-elf*): Likewise.
11316 (powerpcle-*-eabisim*): Likewise.
11317 (powerpcle-*-eabi*): Likewise.
11318
11319 2011-11-27 Ian Lance Taylor <[email protected]>
11320
11321 * generic-morestack.c (__splitstack_find): Check for NULL old
11322 stack value.
11323 (__splitstack_resetcontext): New function.
11324 (__splitstack_releasecontext): New function.
11325 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
11326
11327 2011-11-27 Iain Sandoe <[email protected]>
11328
11329 * config/darwin-crt-tm.c: Correct comments, use correct licence.
11330
11331 2011-11-27 Iain Sandoe <[email protected]>
11332
11333 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
11334
11335 2011-11-26 Richard Henderson <[email protected]>
11336
11337 * config/m68k/linux-atomic.c: New file.
11338 * config/m68k/t-linux: New file.
11339 * config.host (m68k-uclinux, m68k-linux): Use it.
11340
11341 2011-11-26 Richard Henderson <[email protected]>
11342
11343 * crtstuff.c (__TMC_LIST__): Mark used not unused.
11344 (__TMC_END__): Only declare if hidden is available; in the definition,
11345 if hidden is unavailable add a null record.
11346 (deregister_tm_clones, register_tm_clones): New.
11347 (__do_global_dtors_aux, frame_dummy): Use them.
11348 (__do_global_dtors, __do_global_ctors_1): Likewise.
11349
11350 2011-11-22 Iain Sandoe <[email protected]>
11351
11352 * config/darwin-crt-tm.c: New file.
11353 * config.host (darwin): Build crttms.o crttme.o to provide
11354 startup and shutdown for tm clones.
11355 * config/t-darwin (crttms.o): New build rule.
11356 (crttme.o): Likewise.
11357
11358 2011-11-21 Hans-Peter Nilsson <[email protected]>
11359
11360 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
11361 et al.
11362
11363 2011-11-21 Richard Henderson <[email protected]>
11364
11365 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
11366 (__TMC_LIST__, __TMC_END__): New.
11367 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
11368 (__do_global_dtors): Likewise.
11369 (frame_dummy): Call _ITM_registerTMCloneTable.
11370 (__do_global_ctors_1): Likewise.
11371
11372 2011-11-21 Rainer Orth <[email protected]>
11373
11374 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
11375 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11376 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
11377 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
11378 * config/i386/t-darwin64: Remove.
11379 * config/sh/t-netbsd (LIB2ADD): Remove.
11380
11381 2011-11-21 Georg-Johann Lay <[email protected]>
11382
11383 PR target/49313
11384 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
11385 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
11386 * config/avr/lib1funcs.S (wmov): New assembler macro.
11387 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
11388 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
11389 (__udivmod64): New function.
11390 (__negdi2): New function.
11391
11392 2011-11-21 Gerald Pfeifer <[email protected]>
11393
11394 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
11395 *-*-freebsd*aout*): Remove.
11396
11397 2011-11-20 Hans-Peter Nilsson <[email protected]>
11398
11399 * static-object.mk (c_flags-$o): Save c_flags.
11400 ($(base)$(objext)): Use it.
11401
11402 2011-11-18 Steve Ellcey <[email protected]>
11403
11404 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
11405
11406 2011-11-18 Georg-Johann Lay <[email protected]>
11407
11408 PR target/49868
11409 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
11410 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
11411 New functions.
11412
11413 2011-11-16 Matthew Gretton-Dann <[email protected]>
11414
11415 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
11416 functions.
11417 (aeabi_uidivmod): Likewise.
11418 (umodsi3): Likewise.
11419 (divsi3): Likewise.
11420 (aeabi_idivmod): Likewise.
11421 (modsi3): Likewise.
11422
11423 2011-11-16 Tristan Gingold <[email protected]>
11424
11425 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
11426
11427 2011-11-15 Georg-Johann Lay <[email protected]>
11428
11429 PR target/49868
11430 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
11431 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
11432
11433 2011-11-13 John David Anglin <[email protected]>
11434
11435 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
11436 tmake_file list.
11437 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
11438 * config/pa/t-stublib64: Delete.
11439
11440 2011-11-12 Richard Henderson <[email protected]>
11441
11442 * config/rs6000/linux-unwind.h (frob_update_context): Properly
11443 cast the pointer argument to _Unwind_SetGRPtr.
11444
11445 2011-11-11 Rainer Orth <[email protected]>
11446
11447 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
11448
11449 2011-11-09 Ian Lance Taylor <[email protected]>
11450
11451 * generic-morestack.c: Include <string.h>.
11452 (uintptr_type): Define.
11453 (struct initial_sp): Add dont_block_signals field. Reduce size of
11454 extra array by 1.
11455 (allocate_segment): Set prev field to NULL. Don't set
11456 __morestack_current_segment or __morestack_segments.
11457 (__generic_morestack): Update current->prev and *pp after calling
11458 allocate_segment.
11459 (__morestack_block_signals): Don't do anything if
11460 dont_block_signals is set.
11461 (__morestack_unblock_signals): Likewise.
11462 (__generic_findstack): Check for initial_sp == NULL. Add casts to
11463 uintptr_type.
11464 (__splitstack_block_signals): New function.
11465 (enum __splitstack_content_offsets): Define.
11466 (__splitstack_getcontext, __splitstack_setcontext): New functions.
11467 (__splitstack_makecontext): New function.
11468 (__splitstack_block_signals_context): New function.
11469 (__splitstack_find_context): New function.
11470 * config/i386/morestack.S (__morestack_get_guard): New function.
11471 (__morestack_set_guard, __morestack_make_guard): New functions.
11472 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
11473
11474 2011-11-09 Rainer Orth <[email protected]>
11475
11476 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
11477 (i[34567]86-*-mingw*): ... here.
11478 (x86_64-*-mingw*): ... here.
11479
11480 2011-11-08 Rainer Orth <[email protected]>
11481
11482 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
11483
11484 2011-11-07 Nathan Sidwell <[email protected]>
11485
11486 * libgcov.c (struct gcov_fn_buffer): New struct.
11487 (buffer_fn_data): New helper.
11488 (gcov_exit): Rework for new gcov data structures.
11489
11490 2011-11-07 Georg-Johann Lay <[email protected]>
11491
11492 PR target/49313
11493 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
11494
11495 2011-11-07 Rainer Orth <[email protected]>
11496
11497 * config.host (tmake_file): Correct comment.
11498 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
11499 t-libgcc-pic.
11500 (bfin*-uclinux*): Likewise.
11501 (bfin*-linux-uclibc*): Likewise.
11502 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
11503
11504 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
11505 assigning.
11506 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11507 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
11508 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11509 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
11510 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11511 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
11512 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
11513 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11514 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
11515 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
11516 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
11517 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
11518 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
11519
11520 * config/bfin/t-elf: Remove.
11521 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
11522
11523 2011-11-07 Rainer Orth <[email protected]>
11524
11525 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
11526 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
11527 (lm32-*-elf*, lm32-*-rtems*): Split into ...
11528 (lm32-*-elf*): ... this.
11529 (lm32-*-rtems*): ... and this.
11530 Add to tmake_file.
11531 (m32r-*-rtems*): Add to tmake_file.
11532 (moxie-*-rtems*): Likewise.
11533 (sparc-*-rtems*): Likewise.
11534 Remove t-rtems from tmake_file.
11535 (sparc64-*-rtems*): Likewise.
11536 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
11537 instead.
11538
11539 2011-11-07 Rainer Orth <[email protected]>
11540
11541 PR bootstrap/50982
11542 * config/gthr-posix.h: Move ...
11543 * gthr-posix.h: ... here.
11544 * config/gthr-lynx.h: Reflect this.
11545 * config/gthr-vxworks.h: Likewise.
11546 * config/rs6000/gthr-aix.h: Likewise.
11547 * configure.ac (target_thread_file): Likewise.
11548 * configure: Regenerate.
11549
11550 2011-11-06 Sebastian Huber <[email protected]>
11551
11552 * config.host (arm*-*-rtemseabi*): New target.
11553
11554 2011-11-06 John David Anglin <[email protected]>
11555
11556 PR other/50991
11557 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
11558 extra-parts.
11559
11560 2011-11-05 Joern Rennecke <[email protected]>
11561
11562 * config.host (epiphany-*-elf*): New configuration.
11563 * config/epiphany: New Directory.
11564
11565 2011-11-05 Ralf Corsépius <[email protected]>
11566
11567 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
11568 * config/avr/t-rtems: New.
11569 Filter out _exit from LIB1ASMFUNCS.
11570
11571 2011-11-04 David S. Miller <[email protected]>
11572
11573 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
11574 * configure: Rebuild.
11575
11576 2011-11-04 Andreas Krebbel <[email protected]>
11577
11578 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
11579 variable.
11580
11581 2011-11-04 Georg-Johann Lay <[email protected]>
11582
11583 PR target/50931
11584 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
11585 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
11586
11587 2011-11-04 Joel Sherrill <[email protected]>
11588
11589 PR target/50989
11590 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
11591
11592 2011-11-04 Rainer Orth <[email protected]>
11593
11594 * config/c6x/t-elf (LIB2ADDEH): Set.
11595 * config/c6x/t-c6x-elf: Remove.
11596
11597 2011-11-04 Rainer Orth <[email protected]>
11598
11599 * config/i386/sol2-ci.S: Rename to ...
11600 * config/i386/crti.S: ... this.
11601 * config/i386/sol2-cn.S: Rename to ...
11602 * config/i386/crtn.S: ... this.
11603 * config/sparc/sol2-ci.S: Rename to ...
11604 * config/sparc/crti.S: ... this.
11605 * config/sparc/sol2-cn.S: Rename to ...
11606 * config/sparc/crtn.S: ... this.
11607 * config/t-sol2 (CUSTOM_CRTIN): Remove.
11608 (crti.o, crtn.o): Remove.
11609
11610 2011-11-04 Tristan Gingold <[email protected]>
11611
11612 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
11613
11614 2011-11-04 Kaz Kojima <[email protected]>
11615
11616 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
11617
11618 2011-11-03 Hans-Peter Nilsson <[email protected]>
11619
11620 * config.host (crisv32-*-none, cris-*-none): Remove.
11621 (crisv32-*-elf): Append to tmake_file, don't just set it.
11622 (cris-*-elf): Add missing t-fdpbit to tmake_file.
11623
11624 2011-11-03 Rainer Orth <[email protected]>
11625
11626 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
11627 (ecrtn$(objext)): Likewise.
11628 (ncrti$(objext)): Likewise.
11629 (ncrtn$(objext)): Likewise.
11630
11631 2011-11-03 Andreas Schwab <[email protected]>
11632
11633 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
11634
11635 2011-11-02 David S. Miller <[email protected]>
11636
11637 * configure.ac: Set host_address on sparc too.
11638 * configure: Regenerate.
11639 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
11640 based upon host_address.
11641 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
11642
11643 2011-11-02 Jason Merrill <[email protected]>
11644
11645 * config/rs6000/t-ppccomm: Add missing \.
11646
11647 2011-11-02 Rainer Orth <[email protected]>
11648
11649 * gthr-single.h, gthr.h: New files.
11650 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
11651 config/gthr-vxworks.h, config/i386/gthr-win32.h,
11652 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
11653 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
11654 * config/i386/gthr-win32.c: Include "gthr-win32.h".
11655 * configure.ac (thread_header): New variable.
11656 Set it depending on target_thread_file.
11657 (gthr-default.h): Link from $thread_header.
11658 * configure: Regenerate.
11659 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
11660
11661 2011-11-02 Rainer Orth <[email protected]>
11662
11663 * configure.ac (tm_file_): New variable.
11664 Determine from tm_file.
11665 (tm_file, tm_defines): Substitute.
11666 * configure: Regenerate.
11667 * mkheader.sh: New file.
11668 * Makefile.in (clean): Remove libgcc_tm.h.
11669 ($(objects)): Depend on libgcc_tm.h.
11670 (libgcc_tm_defines, libgcc_tm_file): New variables.
11671 (libgcc_tm.h, libgcc_tm.stamp): New targets.
11672 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
11673 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
11674 ($(extra-parts)): Depend on libgcc_tm.h.
11675 * config.host (tm_defines, tm_file): New variable.
11676 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
11677 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
11678 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
11679 (avr-*-rtems*): Likewise.
11680 (avr-*-*): Likewise.
11681 (frv-*-elf): Likewise.
11682 (frv-*-*linux*): Likewise.
11683 (h8300-*-rtems*): Likewise.
11684 (h8300-*-elf*): Likewise.
11685 (i[34567]86-*-darwin*): Likewise.
11686 (x86_64-*-darwin*): Likewise.
11687 (rx-*-elf): Likewise.
11688 (tic6x-*-uclinux): Likewise.
11689 (tic6x-*-elf): Likewise.
11690 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
11691 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
11692 * config/i386/cygming-crtbegin.c: Likewise.
11693 * config/i386/cygming-crtend.c: Likewise.
11694 * config/ia64/fde-vms.c: Likewise.
11695 * config/ia64/unwind-ia64.c: Likewise.
11696 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11697 * config/rs6000/darwin-fallback.c: Likewise.
11698 * config/stormy16/lib2funcs.c: Likewise.
11699 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
11700 * crtstuff.c: Likewise.
11701 * dfp-bit.h: Likewise.
11702 * emutls.c: Likewise.
11703 * fixed-bit.c: Likewise.
11704 * fp-bit.c: Likewise.
11705 * generic-morestack-thread.c: Likewise.
11706 * generic-morestack.c: Likewise.
11707 * libgcc2.c: Likewise.
11708 * libgcov.c: Likewise.
11709 * unwind-dw2-fde-dip.c: Likewise.
11710 * unwind-dw2-fde.c: Likewise.
11711 * unwind-dw2.c: Likewise.
11712 * unwind-sjlj.c: Likewise.
11713
11714 2011-11-02 Rainer Orth <[email protected]>
11715
11716 * configure.ac: Include ../config/picflag.m4.
11717 (GCC_PICFLAG): Call it.
11718 Substitute.
11719 * configure: Regenerate.
11720 * Makefile.in (gcc_srcdir): Remove.
11721 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
11722 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
11723 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
11724 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
11725 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
11726 Use $<.
11727 Remove comment.
11728 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
11729 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
11730 to refer to libgcc2.c.
11731 Use $<.
11732 * config/darwin-64.c: New file.
11733 * config/darwin-crt3.c: Remove comment.
11734 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
11735 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
11736 config/udivmodsi4.c: New files.
11737 * config/memcmp.c, config/memcpy.c, config/memmove.c,
11738 config/memset.c: New files.
11739 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
11740 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
11741 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
11742 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
11743 * config/t-openbsd-thread: New file.
11744 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
11745 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
11746 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
11747 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
11748 qrnnd.S.
11749 Adapt filename.
11750 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
11751 to refer to gthr-posix.c.
11752 * config/alpha/t-vms (LIB2ADD): Set.
11753 * config/alpha/vms-gcc_shell_handler.c: New file.
11754 * config/arm/bpabi.c, config/arm/fp16.c,
11755 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
11756 config/arm/unaligned-funcs.c: New files.
11757 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
11758 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11759 * config/arm/t-linux: Likewise.
11760 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
11761 * config/arm/t-netbsd: New file.
11762 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
11763 * config/arm/t-symbian (LIB2ADD_ST): Set.
11764 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
11765 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11766 * config/bfin/t-elf: New file.
11767 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
11768 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
11769 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
11770 config/c6x/ltf.c: New files.
11771 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
11772 (HOST_LIBGCC2_CFLAGS): Set.
11773 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
11774 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11775 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
11776 New files.
11777 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
11778 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
11779 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
11780 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
11781 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
11782 files.
11783 * config/frv/t-frv (LIB2ADD): Set.
11784 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11785 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
11786 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
11787 config/h8300/popcounthi2.c: New files.
11788 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11789 * config/i386/gthr-win32.c: New file.
11790 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
11791 * config/i386/t-cygwin: Likewise.
11792 * config/i386/t-darwin, config/i386/t-darwin64,
11793 config/i386/t-gthr-win32, config/i386/t-interix: New files.
11794 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
11795 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11796 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11797 * config/ia64/quadlib.c: New file.
11798 * config/ia64/t-hpux (LIB2ADD): Set.
11799 * config/ia64/t-ia64: Add comment.
11800 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
11801 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11802 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
11803 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
11804 * config/m32c/t-m32c (LIB2ADD): Set.
11805 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11806 * config/m32r/t-m32r: Likewise.
11807 * config/m68k/fpgnulib.c: New file.
11808 * config/m68k/t-floatlib (LIB2ADD): Set.
11809 (xfgnulib.c): New target.
11810 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
11811 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
11812 * config/mep/t-mep (LIB2ADD): Set.
11813 * config/microblaze/divsi3.asm: Rename to divsi3.S.
11814 * config/microblaze/moddi3.asm: Rename to moddi3.S.
11815 * config/microblaze/modsi3.asm: Rename to modsi3.S.
11816 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
11817 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
11818 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
11819 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
11820 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
11821 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
11822 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
11823 New files.
11824 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
11825 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
11826 * config/pa/fptr.c, config/pa/lib2funcs.S,
11827 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
11828 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11829 (LIB2ADD, LIB2ADD_ST): Set.
11830 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
11831 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
11832 Set.
11833 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
11834 * config/pdp11/t-pdp11: New file.
11835 * config/picochip/libgccExtras/adddi3.S,
11836 config/picochip/libgccExtras/ashlsi3.S,
11837 config/picochip/libgccExtras/ashrsi3.S,
11838 config/picochip/libgccExtras/clzsi2.S,
11839 config/picochip/libgccExtras/cmpsi2.S,
11840 config/picochip/libgccExtras/divmod15.S,
11841 config/picochip/libgccExtras/divmodhi4.S,
11842 config/picochip/libgccExtras/divmodsi4.S,
11843 config/picochip/libgccExtras/lshrsi3.S,
11844 config/picochip/libgccExtras/parityhi2.S,
11845 config/picochip/libgccExtras/popcounthi2.S,
11846 config/picochip/libgccExtras/subdi3.S,
11847 config/picochip/libgccExtras/ucmpsi2.S,
11848 config/picochip/libgccExtras/udivmodhi4.S,
11849 config/picochip/libgccExtras/udivmodsi4.S: New files.
11850 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
11851 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
11852 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
11853 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
11854 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
11855 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
11856 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
11857 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
11858 files.
11859 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
11860 (HOST_LIBGCC2_CFLAGS): Set.
11861 * config/rs6000/t-darwin64: New file.
11862 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
11863 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
11864 * config/rs6000/t-ppccomm (LIB2ADD): Add
11865 $(srcdir)/config/rs6000/tramp.S.
11866 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
11867 Add $(srcdir)/config/rs6000/eabi.S.
11868 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
11869 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
11870 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
11871 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
11872 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
11873 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
11874 * config/rs6000/tramp.S: New file.
11875 * config/s390/t-tpf: Remove.
11876 * config/sh/linux-atomic.S: New file.
11877 * config/sh/t-linux (LIB2ADD): Set.
11878 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
11879 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11880 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
11881 to unwind-dw2.c.
11882 (HOST_LIBGCC2_CFLAGS): Set.
11883 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11884 * config/spu/divmodti4.c, config/spu/divv2df3.c,
11885 config/spu/float_disf.c, config/spu/float_unsdidf.c,
11886 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
11887 config/spu/mfc_multi_tag_release.c,
11888 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
11889 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
11890 config/spu/multi3.c: New files.
11891 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
11892 (HOST_LIBGCC2_CFLAGS): Set.
11893 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
11894 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
11895 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
11896 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
11897 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
11898 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
11899 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
11900 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
11901 config/stormy16/umodsi3.c: New files.
11902 * config/xtensa/lib2funcs.S: New file.
11903 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11904 * config/xtensa/t-xtensa (LIB2ADD): Set.
11905 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
11906 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
11907 Add t-freebsd-thread to tmake_file for posix threads.
11908 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
11909 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
11910 (*-*-lynxos*): Likewise.
11911 (*-*-netbsd*): Likewise.
11912 (*-*-openbsd*): Likewise.
11913 Add t-openbsd-thread to tmake_file for posix threads.
11914 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
11915 (*-*-vxworks*): Set tmake_file.
11916 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11917 (alpha*-*-freebsd*): Likewise.
11918 (alpha*-*-netbsd*): Likewise.
11919 (alpha*-*-openbsd*): Likewise.
11920 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
11921 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11922 (alpha*-dec-*vms*): Likewise.
11923 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
11924 (bfin*-elf*): Add bfin/t-elf to tmake_file.
11925 (bfin*-uclinux*): Likewise.
11926 (bfin*-linux-uclibc*): Likewise.
11927 (crisv32-*-elf): Add cris/t-cris to tmake_file.
11928 (crisv32-*-none): Likewise.
11929 (cris-*-elf): Likewise.
11930 (cris-*-none): Likewise.
11931 (cris-*-linux*, crisv32-*-linux*): Likewise.
11932 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
11933 tmake_file.
11934 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
11935 tmake_file.
11936 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
11937 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
11938 (x86_64-*-elf*): Likewise.
11939 (i[34567]86-*-nto-qnx*): Likewise.
11940 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
11941 win32 threads.
11942 (x86_64-*-mingw*): Likewise.
11943 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
11944 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
11945 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11946 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11947 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
11948 tmake_file.
11949 (mipsisa64sr71k-*-elf*): Likewise.
11950 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11951 (mips-*-elf*, mipsel-*-elf*): Likewise.
11952 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11953 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11954 (mips*-*-rtems*): Likewise.
11955 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
11956 to tmake_file.
11957 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
11958 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
11959 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
11960 (spu-*-elf*): Likewise.
11961 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
11962
11963 2011-11-02 Rainer Orth <[email protected]>
11964
11965 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
11966 $(srcdir) to refer to $(LIB1ASMSRC).
11967 Use $<.
11968 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
11969 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
11970 config/arm/lib1funcs.S: New files.
11971 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
11972 * config/arm/t-arm: New file.
11973 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
11974 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
11975 config/arm/t-strongarm-elf: New files.
11976 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
11977 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
11978 * config/avr/lib1funcs.S: New file.
11979 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11980 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
11981 * config/c6x/lib1funcs.S: New file.
11982 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11983 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
11984 * config/frv/lib1funcs.S: New file.
11985 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11986 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
11987 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
11988 * config/ia64/__divxf3.asm: Rename to ...
11989 * config/ia64/__divxf3.S: ... this.
11990 Adapt lib1funcs.asm filename.
11991 * config/ia64/_fixtfdi.asm: Rename to ...
11992 * config/ia64/_fixtfdi.S: ... this.
11993 Adapt lib1funcs.asm filename.
11994 * config/ia64/_fixunstfdi.asm: Rename to ...
11995 * config/ia64/_fixunstfdi.S: ... this.
11996 Adapt lib1funcs.asm filename.
11997 * config/ia64/_floatditf.asm: Rename to ...
11998 * config/ia64/_floatditf.S: ... this.
11999 Adapt lib1funcs.asm filename.
12000 * config/ia64/lib1funcs.S: New file.
12001 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
12002 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12003 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
12004 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
12005 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
12006 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
12007 * config/mep/lib1funcs.S: New file.
12008 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12009 * config/mips/mips16.S: New file.
12010 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12011 * config/pa/milli64.S: New file.
12012 * config/pa/t-linux, config/pa/t-linux64: New files.
12013 * config/picochip/lib1funcs.S: New file.
12014 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12015 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
12016 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
12017 * config/sh/t-netbsd: New file.
12018 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
12019 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
12020 * config/sh/t-sh64: New file.
12021 * config/sparc/lb1spc.S: New file.
12022 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
12023 filename.
12024 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
12025 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
12026 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
12027 config/xtensa/lib1funcs.S: New files.
12028 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
12029 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
12030 tmake_file.
12031 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
12032 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
12033 (arm*-*-linux*): Likewise.
12034 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
12035 arm*-*-linux-*eabi, add arm/t-linux otherwise.
12036 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
12037 (arm*-*-ecos-elf): Likewise.
12038 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
12039 (arm*-*-rtems*): Likewise.
12040 (arm*-*-elf): Likewise.
12041 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
12042 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
12043 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
12044 (bfin*-uclinux*): Likewise.
12045 (bfin*-linux-uclibc*): Likewise.
12046 (bfin*-rtems*): Likewise.
12047 (bfin*-*): Likewise.
12048 (fido-*-elf): Merge into m68k-*-elf*.
12049 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
12050 (frv-*-*linux*): Add frv/t-frv to tmake_file.
12051 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
12052 (h8300-*-elf*): Likewise.
12053 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
12054 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
12055 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
12056 (i[34567]86-*-mingw*): Likewise.
12057 (x86_64-*-mingw*): Likewise.
12058 (i[34567]86-*-interix3*): Likewise.
12059 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
12060 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
12061 (m68k-*-elf*): Also handle fido-*-elf.
12062 Add m68k/t-floatlib to tmake_file.
12063 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
12064 (m68k-*-linux*): Likewise.
12065 (m68k-*-rtems*): Likewise.
12066 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
12067 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
12068 sh64*-*-*.
12069 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
12070 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
12071 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
12072 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
12073 sh/t-netbsd to tmake_file.
12074 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
12075 (sh-*-rtems*): Add sh/t-sh to tmake_file.
12076 (sh-wrs-vxworks): Likewise.
12077 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
12078 *-leon[3-9]*.
12079 (v850*-*-*): Add v850/t-v850 to tmake_file.
12080 (vax-*-linux*): Add vax/t-linux to tmake_file.
12081 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
12082
12083 2011-11-02 Rainer Orth <[email protected]>
12084
12085 * crtstuff.c: New file.
12086 * Makefile.in (CRTSTUFF_CFLAGS): Define.
12087 (CRTSTUFF_T_CFLAGS): Define.
12088 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
12089 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
12090 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
12091 crtstuff.c.
12092 Use $<.
12093 (crtbeginT.o): Use $(objext).
12094 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
12095 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
12096 (gcc-extra-parts): Remove.
12097 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
12098 Set extra_parts.
12099 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12100 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
12101 Add t-crtstuff-pic to tmake_file.
12102 (*-*-lynxos*): New case.
12103 Set tmake_file, extra_parts.
12104 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
12105 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
12106 *-*-netbsdelf[2-9]*.
12107 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
12108 (*-*-rtems*): Set extra_parts.
12109 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
12110 (*-*-uclinux*): New case.
12111 Set extra_parts.
12112 (*-*-vms*): New case.
12113 Set tmake_file, extra_parts.
12114 (*-*-elf): Set extra_parts.
12115 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
12116 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
12117 vms/t-vms64.
12118 Set extra_parts.
12119 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
12120 Set extra_parts.
12121 (arm*-*-freebsd*): Add t-crtin to tmake_file.
12122 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
12123 (arm-wrs-vxworks): Append to tmake_file.
12124 Set extra_parts.
12125 (arm*-*-uclinux*): Set extra_parts.
12126 (arm*-*-ecos-elf): Likewise.
12127 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
12128 arm*-*-eabi*.
12129 (arm*-*-rtems*): Set extra_parts.
12130 (arm*-*-elf): Likewise.
12131 (avr-*-rtems*): Clear extra_parts.
12132 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
12133 Set extra_parts.
12134 (bfin*-uclinux*): Likewise.
12135 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
12136 (bfin*-rtems*): Append to tmake_file.
12137 Set extra_parts.
12138 (bfin*-*): Likewise.
12139 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
12140 (crisv32-*-elf): ... this.
12141 (crisv32-*-none): ... this.
12142 (cris-*-elf, cris-*-none): New cases.
12143 Add cris/t-elfmulti to tmake_file.
12144 (fr30-*-elf): Append to tmake_file.
12145 Set extra_parts.
12146 (frv-*-elf): Append to tmake_file, add frv/t-frv.
12147 Set extra_parts.
12148 (h8300-*-rtems*): Append to tmake_file.
12149 Set extra_parts.
12150 (h8300-*-elf*): Likewise.
12151 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
12152 Set extra_parts.
12153 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
12154 Set extra_parts.
12155 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
12156 (x86_64-*-elf*): Likewise.
12157 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
12158 (x86_64-*-freebsd*): Likewise.
12159 (x86_64-*-netbsd*): Likewise.
12160 (i[34567]86-*-linux*): Likewise.
12161 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12162 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12163 (x86_64-*-linux*): Likewise.
12164 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12165 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
12166 tmake_file.
12167 Set extra_parts.
12168 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
12169 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
12170 Append to extra_parts, remove crtbegin.o, crtend.o.
12171 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
12172 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
12173 crtend.o, crtbeginS.o, crtendS.o.
12174 (ia64*-*-linux*): Comment extra_parts.
12175 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
12176 Set extra_parts.
12177 (iq2000*-*-elf*): Clear extra_parts.
12178 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
12179 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
12180 (m32r-*-elf*, m32r-*-rtems*): Split off ...
12181 (m32r-*-rtems*): ... this.
12182 Add m32r/t-m32r to tmake_file.
12183 (m68k-*-elf*): Add t-crtin to tmake_file.
12184 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
12185 (mcore-*-elf): Likewise.
12186 (microblaze*-*-*): Set extra_parts.
12187 (mips*-sde-elf*): New case.
12188 Set tmake_file, extra_parts.
12189 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
12190 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
12191 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
12192 tmake_file.
12193 Set extra_parts.
12194 (mipsisa64sr71k-*-elf*): Likewise.
12195 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
12196 (mips-*-elf*, mipsel-*-elf*): Likewise.
12197 (mips64-*-elf*, mips64el-*-elf*): Likewise.
12198 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
12199 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
12200 (mips*-*-rtems*): Likewise.
12201 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
12202 (moxie-*-*): Split into ...
12203 (moxie-*-elf, moxie-*-uclinux*): ... this.
12204 Add to extra_parts, remove crtbegin.o, crtend.o.
12205 (moxie-*-rtems*): New case.
12206 Set tmake_file.
12207 Clear extra_parts.
12208 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
12209 Set extra_parts.
12210 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
12211 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
12212 tmake_file.
12213 Set extra_parts.
12214 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
12215 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
12216 Set extra_parts.
12217 (powerpc-*-eabisim*): Likewise.
12218 (powerpc-*-elf*): Likewise.
12219 (powerpc-*-eabialtivec*): Likewise.
12220 (powerpc-xilinx-eabi*): Likewise.
12221 (powerpc-*-eabi*): Likewise.
12222 (powerpc-*-rtems*): Likewise.
12223 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
12224 tmake_file.
12225 Set extra_parts.
12226 (powerpc-*-lynxos*): Add to tmake_file.
12227 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
12228 rs6000/t-crtstuff, t-crtstuff-pic.
12229 Set extra_parts.
12230 (powerpcle-*-eabisim*): Likewise.
12231 (powerpcle-*-eabi*): Likewise.
12232 (rx-*-elf): Remove extra_parts.
12233 (s390x-ibm-tpf*): Set extra_parts.
12234 (score-*-elf): Set extra_parts.
12235 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12236 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12237 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12238 (sh64l*-*-netbsd*): Split into ...
12239 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
12240 Add t-crtstuff-pic to tmake_file.
12241 Set extra_parts.
12242 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
12243 Set extra_parts.
12244 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
12245 (sparc-*-elf*): Remove t-crtin from tmake_file.
12246 Add to extra_parts, remove crtbegin.o, crtend.o.
12247 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
12248 (sparc64-*-linux*): Likewise.
12249 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
12250 Add to extra_parts, remove crtbegin.o, crtend.o.
12251 (sparc64-*-elf*): Remove t-crtin from tmake_file.
12252 Add to extra_parts, remove crtbegin.o, crtend.o.
12253 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
12254 Add to extra_parts, remove crtbegin.o, crtend.o.
12255 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
12256 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
12257 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
12258 Set extra_parts.
12259 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
12260 Set extra_parts.
12261 (tic6x-*-*): Change to ...
12262 (tic6x-*-elf): ... this.
12263 Set extra_parts.
12264 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
12265 Set extra_parts.
12266 (am33_2.0-*-linux*): Add comment.
12267 (mep*-*-*): Add mep/t-mep to tmake_file.
12268 Set extra_parts.
12269 * config/alpha/t-vms: New file.
12270 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
12271 * config/arm/crti.S, config/arm/crtn.S: New files.
12272 * config/bfin/crti.S, config/bfin/crtn.S: New files.
12273 * config/bfin/crtlibid.S: New file.
12274 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
12275 * config/c6x/crti.S, config/c6x/crtn.S: New files.
12276 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
12277 (crti.o, crtin.o): New rules.
12278 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
12279 * config/c6x/t-uclinux: New file.
12280 * config/cris/t-elfmulti: New file.
12281 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
12282 * config/fr30/crti.S, config/fr30/crtn.S: New files.
12283 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
12284 * config/frv/t-frv: New file.
12285 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
12286 * config/h8300/crti.S, config/h8300/crtn.S: New files.
12287 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
12288 New files.
12289 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
12290 refer to cygming-crtbegin.c, cygming-crtend.c.
12291 Use $<.
12292 * config/i386/t-nto: New file.
12293 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
12294 * config/ia64/crti.S, config/ia64/crtn.S: New files.
12295 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
12296 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
12297 Use .S extension.
12298 Use $<.
12299 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
12300 (crtinitS.o): New rule.
12301 * config/ia64/vms-crtinit.S: New file.
12302 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
12303 * config/m32r/initfini.c: New file.
12304 * config/m32r/t-linux, config/m32r/t-m32r: New files.
12305 * config/m68k/crti.S, config/m68k/crtn.S: New files.
12306 * config/mcore/crti.S, config/mcore/crtn.S: New files.
12307 * config/mep/t-mep: New file.
12308 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
12309 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
12310 * config/mips/crti.S, config/mips/crtn.S: New files.
12311 * config/mips/t-crtstuff: New file.
12312 * config/mmix/crti.S, config/mmix/crtn.S: New files.
12313 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
12314 (CUSTOM_CRTIN): Set.
12315 ($(T)crti.o, $(T)crtn.o): Remove $(T),
12316 dependencies.
12317 Use $(srcdir) to refer to crti.S, crtn.S.
12318 Use .S extension, $<.
12319 * config/moxie/crti.asm: Rename to ...
12320 * config/moxie/crti.S: ... this.
12321 * config/moxie/crtn.asm: Rename to ...
12322 * config/moxie/crtn.S: ... this.
12323 * config/moxie/t-moxie: Remove.
12324 * config/pa/stublib.c: New file.
12325 * config/pa/t-stublib, config/pa/t-stublib64: New files.
12326 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
12327 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
12328 * config/rs6000/t-crtstuff: New file.
12329 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
12330 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
12331 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
12332 Make output file explicit.
12333 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
12334 Make output file explicit.
12335 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
12336 Make output file explicit.
12337 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
12338 Make output file explicit.
12339 * config/score/crti.S, config/score/crtn.S: New files.
12340 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
12341 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
12342 files.
12343 * config/sh/t-sh, config/sh/t-superh: New files.
12344 * config/sparc/t-linux64: New file.
12345 * config/spu/cache.S, config/spu/cachemgr.c: New files.
12346 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
12347 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
12348 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
12349 * config/t-crtin: Remove.
12350 * config/t-crtstuff-pic: New file.
12351 * config/t-sol2 (CUSTOM_CRTIN): Set.
12352 (crti.o, crtn.o): New rules.
12353 * config/vms/t-vms: New file.
12354 * config/vms/vms-ucrt0.c: New file.
12355 * config/xtensa/t-elf: New file.
12356
12357 2011-11-02 Rainer Orth <[email protected]>
12358
12359 * Makefile.in (SHLIB_NM_FLAGS): Set.
12360 * mkmap-flat.awk, mkmap-symver.awk: New files.
12361 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
12362 exceptions.
12363 * configure: Regenerate.
12364 * config/libgcc-glibc.ver: New file.
12365 * config/libgcc-libsystem.ver: New file.
12366 * config/t-libunwind (SHLIB_LC): Set.
12367 * config/t-linux: New file.
12368 * config/t-slibgcc (INSTALL_SHLIB): New.
12369 (SHLIB_INSTALL): Use it.
12370 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
12371 to mkmap-symver.awk.
12372 (SHLIB_MAPFILES): Don't append, adapt pathname.
12373 (SHLIB_VERPFX): Set.
12374 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
12375 to mkmap-symver.awk.
12376 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
12377 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
12378 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
12379 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
12380 to mkmap-flat.awk.
12381 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
12382 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
12383 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
12384 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
12385 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
12386 * config/i386/libgcc-darwin.10.4.ver,
12387 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
12388 New files.
12389 * config/i386/t-darwin: Remove.
12390 * config/i386/t-darwin64: Likewise.
12391 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
12392 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
12393 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
12394 * config/i386/t-linux: New file.
12395 * config/i386/t-mingw32: New file.
12396 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
12397 * config/ia64/t-glibc: Rename to ...
12398 * config/ia64/t-linux: ... this.
12399 (SHLIB_MAPFILES): Set.
12400 * config/ia64/t-glibc-libunwind: Rename to ...
12401 * config/ia64/t-linux-libunwind: ... this.
12402 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
12403 * config/ia64/t-slibgcc-hpux: New file.
12404 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
12405 * config/m68k/t-slibgcc-elf-ver: New file.
12406 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
12407 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
12408 to mkmap-flat.awk.
12409 * config/pa/t-slibgcc-hpux: New file.
12410 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
12411 files.
12412 * config/rs6000/libgcc-darwin.10.4.ver,
12413 config/rs6000/libgcc-darwin.10.5.ver: New files.
12414 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
12415 config/rs6000/libgcc-glibc.ver.
12416 * config/rs6000/libgcc-ppc64.ver: Rename to
12417 config/rs6000/libgcc-ibm-ldouble.ver.
12418 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
12419 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
12420 * config/rs6000/t-ldbl128: Rename to ...
12421 * config/rs6000/t-linux: ... this.
12422 (SHLIB_MAPFILES): Adapt filename.
12423 * config/rs6000/t-slibgcc-aix: New file.
12424 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
12425 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
12426 libgcc-excl.ver, libgcc-glibc.ver.
12427 (SHLIB_LINK, SHLIB_INSTALL): Remove.
12428 * config/sparc/libgcc-glibc.ver: New file.
12429 * config/sparc/t-linux: New file.
12430 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
12431 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
12432 t-slibgcc-elf-ver to tmake_file.
12433 Add t-slibgcc-nolc-override to tmake_file for posix threads on
12434 *-*-freebsd[34].
12435 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12436 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
12437 t-slibgcc-elf-ver, t-linux to tmake_file.
12438 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
12439 tmake_file.
12440 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
12441 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
12442 (alpha*-dec-*vms*): Likewise.
12443 (arm*-*-freebsd*): Append to tmake_file.
12444 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
12445 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
12446 arm*-*-linux-*eabi.
12447 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
12448 tmake_file for arm*-*-symbianelf*.
12449 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
12450 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
12451 cris/t-linux.
12452 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
12453 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
12454 pa/t-slibgcc-dwarf-ver to tmake_file.
12455 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
12456 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
12457 (hppa*64*-*-hpux11*): Likewise.
12458 (hppa[12]*-*-hpux11*): Likewise.
12459 (x86_64-*-darwin*): Don't override tmake_file, but only keep
12460 i386/t-crtpc, i386/t-crtfm.
12461 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
12462 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
12463 to tmake_file.
12464 Add i386/t-cygwin to tmake_file.
12465 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
12466 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
12467 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
12468 to tmake_file.
12469 Add i386/t-mingw32 to tmake_file.
12470 (x86_64-*-mingw*): Likewise.
12471 (ia64*-*-freebsd*): Append to tmake_file.
12472 (ia64*-*-linux*): Append to tmake_file.
12473 Replace ia64/t-glibc by ia64/t-linux.
12474 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
12475 system libunwind.
12476 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
12477 t-slibgcc-hpux to tmake_file.
12478 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
12479 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
12480 (m32rle-*-linux*): Likewise.
12481 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
12482 sjlj exceptions.
12483 (microblaze*-linux*): New case.
12484 Append to tmake_file, add t-slibgcc-nolc-override.
12485 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
12486 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12487 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
12488 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12489 rs6000/t-slibgcc-aix to tmake_file.
12490 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12491 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12492 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12493 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12494 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12495 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
12496 sh*-*-linux*.
12497 (sparc-*-linux*): Append to tmake_file for *-leon*.
12498 Add sparc/t-linux to tmake_file for non-Leon targets.
12499 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
12500 (tic6x-*-uclinux): New case.
12501 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
12502 (tic6x-*-*): Add c6x/t-elf to tmake_file.
12503 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
12504 (am33_2.0-*-linux*): Append to tmake_file.
12505 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
12506 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
12507 x86_64-*-kfreebsd*-gnu.
12508 Add i386/t-linux to tmake_file.
12509
12510 2011-10-28 Ian Lance Taylor <[email protected]>
12511
12512 * config/i386/morestack.S: Correct CFI information to do proper
12513 returns throughout function. In 32-bit mode, save %ebx so that it
12514 is restored on unwind.
12515
12516 2011-10-25 Bernd Schmidt <[email protected]>
12517
12518 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
12519 case where B3 isn't the return register.
12520
12521 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
12522 logic for doubleword pops.
12523
12524 2011-10-25 Andreas Tobler <[email protected]>
12525
12526 * config/rs6000/t-freebsd: Add wildcard.
12527
12528 2011-10-21 Paul Brook <[email protected]>
12529
12530 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
12531
12532 2011-10-16 Uros Bizjak <[email protected]>
12533 Eric Botcazou <[email protected]>
12534
12535 PR target/50737
12536 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
12537 fs->signal_frame to 1.
12538
12539 2011-10-07 Ian Lance Taylor <[email protected]>
12540
12541 * generic-morestack-thread.c: #include <errno.h>.
12542
12543 2011-10-07 Ian Lance Taylor <[email protected]>
12544
12545 PR target/46093
12546 * generic-morestack.c (__generic_morestack): Make sure the segment
12547 is large enough for both the stack frame and the copied
12548 parameters.
12549
12550 2011-10-06 Rainer Orth <[email protected]>
12551
12552 PR bootstrap/49804
12553 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
12554 extra_parts.
12555
12556 2011-09-28 Nick Clifton <[email protected]>
12557
12558 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
12559 64-bit doubles are not enabled.
12560 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
12561 and floatunsisf functions.
12562
12563 2011-09-13 Paul Brook <[email protected]>
12564
12565 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
12566 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
12567 * unwind-arm-common.inc: New file.
12568 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
12569 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
12570 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
12571 * config/c6x/libunwind.S: New file.
12572 * config/c6x/pr-support.c: New file.
12573 * config/c6x/unwind-c6x.c: New file.
12574 * config/c6x/unwind-c6x.h: New file.
12575 * config/c6x/t-c6x-elf: New file.
12576
12577 2011-08-23 Uros Bizjak <[email protected]>
12578
12579 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
12580 (ASM_DIVZERO): Ditto.
12581 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
12582
12583 2011-08-18 Richard Sandiford <[email protected]>
12584
12585 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
12586
12587 2011-08-17 Richard Sandiford <[email protected]>
12588
12589 PR target/50090
12590 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
12591 instead of an assembly one.
12592
12593 2011-08-12 Paolo Bonzini <[email protected]>
12594
12595 PR bootstrap/50047
12596 * Makefile.in (install-unwind_h): Create
12597 $(gcc_objdir)/include/unwind.h atomically.
12598
12599 2011-08-11 Rainer Orth <[email protected]>
12600
12601 * Makefile.in (install-unwind_h): Remove destination file first.
12602
12603 2011-08-09 Rainer Orth <[email protected]>
12604
12605 * sync.c: New file.
12606 * config/mips/t-mips16: New file.
12607 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
12608 (mips*-*-linux*): Likewise.
12609 (mips*-sde-elf*): Likewise.
12610 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
12611 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
12612 Add mips/t-mips16 to tmake_file.
12613 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
12614 (mips-*-elf*): Likewise.
12615 (mips64-*-elf*): Likewise.
12616 (mips64orion-*-elf*): Likewise.
12617 (mips*-*-rtems*): Likewise.
12618 (mipstx39-*-elf*): Likewise.
12619 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
12620 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
12621 LIBGCC_SYNC_CFLAGS.
12622 Use $(srcdir) to refer to sync.c.
12623 Use $<.
12624 ($(libgcc-sync-funcs-o)): Likewise.
12625 ($(libgcc-sync-size-funcs-s-o)): Likewise.
12626 ($(libgcc-sync-funcs-s-o)): Likewise.
12627
12628 2011-08-09 Andreas Schwab <[email protected]>
12629
12630 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
12631 t-libunwind.
12632
12633 2011-08-08 H.J. Lu <[email protected]>
12634
12635 PR other/48007
12636 * config/i386/value-unwind.h: New.
12637
12638 2011-08-06 Richard Sandiford <[email protected]>
12639
12640 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
12641 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
12642 Add to tmake_file rather than overriding it.
12643
12644 2011-08-05 Rainer Orth <[email protected]>
12645
12646 * config/t-softfp: Remove.
12647 * soft-fp: Moved from ../gcc/config.
12648 * soft-fp/README: Remove t-softfp reference.
12649 * soft-fp/t-softfp: Move to config/t-softfp.
12650 (softfp_machine_header): Remove.
12651 (softfp_file_list): Remove config subdir.
12652 (soft-fp-objects): New variable.
12653 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
12654 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
12655 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
12656 * config/t-softfp-excl: New file.
12657 * config/t-softfp-sfdf: New file.
12658 * config/t-softfp-tf: New file.
12659 * config/no-sfp-machine.h: New file.
12660 * config/arm/sfp-machine.h: New file.
12661 * config/arm/t-softfp: New file.
12662 * config/c6x/sfp-machine.h: New file.
12663 * config/i386/32/t-fprules-softfp: Rename to ...
12664 * config/i386/32/t-softfp: ... this.
12665 (tifunctions, LIB2ADD): Remove.
12666 (softfp_int_modes): Override.
12667 * config/i386/64/t-softfp-compat (tf-functions): Remove config
12668 subdir.
12669 * config/i386/64/eqtf2.c: Likewise.
12670 * config/i386/64/getf2.c: Likewise.
12671 * config/i386/64/letf2.c: Likewise.
12672 * config/ia64/sft-machine.h: New file.
12673 * config/ia64/t-fprules-softfp: Rename to ...
12674 * config/ia64/t-softfp: ... this.
12675 * config/lm32/sfp-machine.h: New file.
12676 * config/moxie/t-moxie-softfp: Remove.
12677 * config/rs6000/ibm-ldouble-format: New file.
12678 * config/rs6000/ibm-ldouble.c: New file.
12679 * config/rs6000/libgcc-ppc-glibc.ver: New file
12680 * config/rs6000/libgcc-ppc64.ver: New file
12681 * config/rs6000/sfp-machine.h: New file.
12682 * config/rs6000/t-freebsd: New file.
12683 * config/rs6000/t-ibm-ldouble: New file.
12684 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
12685 libgcc-ppc-glibc.ver.
12686 * config/rs6000/t-linux64: New file.
12687 * config/rs6000/t-ppccomm (LIB2ADD): Add
12688 $(srcdir)/config/rs6000/ibm-ldouble.c.
12689 * config/rs6000/t-ppccomm-ldbl: New file.
12690 * config/score/sfp-machine.h: New file.
12691 * config.host (sfp_machine_header): Explain.
12692 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
12693 t-softfp to tmake_file.
12694 (arm*-*-uclinux*): Likewise.
12695 (arm*-*-ecos-elf): Likewise.
12696 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
12697 (arm*-*-rtems*): Likewise.
12698 (arm*-*-elf): Likewise.
12699 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
12700 in tmake_file.
12701 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
12702 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
12703 (lm32-*-uclinux*): Likewise.
12704 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
12705 t-softfp-excl, t-softfp.
12706 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
12707 (powerpc64-*-darwin*): Likewise.
12708 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
12709 to tmake_file.
12710 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
12711 tmake_file.
12712 (powerpc-*-eabisim*): Likewise.
12713 (powerpc-*-elf*): Likewise.
12714 (powerpc-*-eabialtivec*): Likewise.
12715 (powerpc-xilinx-eabi*): Likewise.
12716 (powerpc-*-rtems*): Likewise.
12717 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
12718 t-softfp-excl, t-softfp to tmake_file.
12719 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
12720 rs6000/t-ppccomm-ldbl to tmake_file.
12721 (powerpcle-*-elf*): Likewise.
12722 (powerpcle-*-eabisim*): Likewise.
12723 (powerpcle-*-eabi*): Likewise.
12724 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12725 rs6000/t-ibm-ldouble to tmake_file.
12726 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12727 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12728 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
12729 (tic6x-*-*): Likewise.
12730 (i[34567]86-*-darwin*, x86_64-*-darwin*,
12731 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
12732 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
12733 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
12734 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
12735 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
12736 t-softfp to tmake_file.
12737 * configure.ac (sfp_machine_header): Provide default if unset.
12738 Substitute.
12739 Link sfp-machine.h to config/$sfp_machine_header.
12740 * configure: Regenerate.
12741
12742 2011-08-05 Rainer Orth <[email protected]>
12743
12744 * Makefile.in (double_type_size, long_double_type_size): Set.
12745 Remove $(fpbit-in-libgcc) support.
12746 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
12747 (fpbit-src): New variable.
12748 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
12749 Compile with -DFLOAT $(FPBIT_CFLAGS).
12750 Use $<.
12751 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
12752 Compile with $(FPBIT_CFLAGS).
12753 Use $<.
12754 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
12755 Compile with -DFLOAT $(TPBIT_CFLAGS).
12756 Use $<.
12757 * configure.ac (double_type_size, long_double_type_size):
12758 Determine and substitute.
12759 * configure: Regenerate.
12760 * fp-bit.c, fp-bit.h: New files.
12761 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
12762 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
12763 * config/mips/t-mips: New file.
12764 * config/mips/t-sdemtk: New file.
12765 * config/rs6000/ppc64-fp.c: New file.
12766 * config/rs6000/t-darwin (LIB2ADD): Add
12767 $(srcdir)/config/rs6000/ppc64-fp.c.
12768 * config/rs6000/t-ppc64-fp: New file.
12769 * config/rx/rx-lib.h: New file.
12770 * config/rx/t-rx (FPBIT): Set to true.
12771 ($(gcc_objdir)/fp-bit.c): Remove.
12772 (DPBIT): Set to true only with -m64bit-doubles.
12773 ($(gcc_objdir)/dp-bit.c): Remove.
12774 * config/sparc/t-softfp: Remove.
12775 * config/spu/t-elf: New file.
12776 * config/t-fdpbit, config/t-fpbit: New files.
12777 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
12778 (mips*-*-*): Likewise.
12779 (arm-wrs-vxworks): Likewise.
12780 (arm*-*-freebsd*): Likewise.
12781 (avr-*-rtems*): Add t-fpbit to tmake_file.
12782 (avr-*-*): Likewise.
12783 (bfin*-elf*): Add t-fdpbit to tmake_file.
12784 (bfin*-uclinux*): Likewise.
12785 (bfin*-linux-uclibc*): Likewise.
12786 (bfin*-rtems*): New case.
12787 Add t-fdpbit to tmake_file.
12788 (bfin*-*): Add t-fdpbit to tmake_file.
12789 (crisv32-*-elf): Likewise.
12790 (cris-*-linux*): Likewise.
12791 (fr30-*-elf): Likewise.
12792 (frv-*-elf, frv-*-*linux*): Likewise.
12793 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
12794 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
12795 (m32r-*-elf*): Likewise.
12796 (m32rle-*-elf*): Likewise.
12797 (m32r-*-linux*): Likewise.
12798 (m32rle-*-linux*): Likewise.
12799 (mcore-*-elf): Add t-fdpbit to tmake_file.
12800 (microblaze*-*-*): Likewise.
12801 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
12802 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
12803 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
12804 Fix typo.
12805 Add mips/t-tpbit to tmake-file.
12806 (mips*-*-linux*): Fix typo.
12807 (mips*-sde-elf*): New case
12808 Add mips/t-sdemtk unless using newlib.
12809 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
12810 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
12811 (mn10300-*-*): Likewise.
12812 (pdp11-*-*): Likewise.
12813 (picochip-*-*): Add t-fpbit to tmake_file.
12814 (powerpc-*-eabisimaltivec*): Likewise.
12815 (powerpc-*-eabisim*): Likewise.
12816 (powerpc-*-elf*): Likewise.
12817 (powerpc-*-eabialtivec*): Likewise.
12818 (powerpc-xilinx-eabi*): New case.
12819 Add t-fdpbit to tmake_file.
12820 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
12821 (powerpc-*-rtems*): Likewise.
12822 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
12823 tmake_file.
12824 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
12825 tmake_file.
12826 (powerpc-*-lynxos*): Likewise.
12827 (powerpcle-*-elf*): Likewise.
12828 (powerpcle-*-eabisim*): Likewise.
12829 (powerpcle-*-eabi*): Likewise.
12830 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12831 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
12832 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12833 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12834 (rx-*-elf): Add t-fdpbit to tmake_file.
12835 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12836 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12837 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12838 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
12839 sh*-*-netbsd*.
12840 (sh-*-rtems*): Add t-fdpbit to tmake_file.
12841 (sh-wrs-vxworks): Likewise.
12842 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
12843 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
12844 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
12845 (sparc64-*-rtems*): ... new case.
12846 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
12847 (spu-*-elf*): Likewise.
12848 Add spu/t-elf to tmake_file.
12849 (v850*-*-*): Add t-fdpbit to tmake_file.
12850 (xstormy16-*-elf): Likewise.
12851 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
12852 (mep*-*-*): Likewise.
12853
12854 2011-08-05 Rainer Orth <[email protected]>
12855
12856 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
12857 variables.
12858 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
12859 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
12860 (install-unwind_h): New target.
12861 (all): Depend on it.
12862 * config.host (unwind_header): New variable.
12863 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
12864 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12865 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
12866 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
12867 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
12868 Set unwind_header.
12869 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
12870 Set unwind_header.
12871 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
12872 arm*-*-eabi*.
12873 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
12874 Set unwind_header.
12875 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
12876 (ia64*-*-freebsd*): Likewise.
12877 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
12878 tmake_file.
12879 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
12880 $with_system_libunwind.
12881 (ia64*-*-hpux*): Set tmake_file.
12882 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
12883 (picochip-*-*): Set tmake_file.
12884 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
12885 md_unwind_header.
12886 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12887 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12888 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
12889 (xtensa*-*-elf*): Set tmake_file.
12890 (xtensa*-*-linux*): Likewise.
12891 * configure.ac: Include ../config/unwind_ipinfo.m4.
12892 Call GCC_CHECK_UNWIND_GETIPINFO.
12893 Link unwind.h to $unwind_header.
12894 * configure: Regenerate.
12895 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
12896 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
12897 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
12898 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
12899 * config/unwind-dw2-fde-darwin.c: New file.
12900 * config/arm/libunwind.S, config/arm/pr-support.c,
12901 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
12902 config/arm/unwind-arm.h,: New files.
12903 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
12904 config/ia64/t-eh-ia64, config/ia64/t-glibc,
12905 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
12906 config/ia64/t-vms, config/ia64/unwind-ia64.c,
12907 config/ia64/unwind-ia64.h: New files.
12908 * config/picochip/t-picochip: New file.
12909 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
12910 files.
12911 * config/rs6000/t-darwin (LIB2ADDEH): Set.
12912 * config/s390/t-tpf (LIB2ADDEH): Remove.
12913 * config/t-darwin (LIB2ADDEH): Set.
12914 * config/t-eh-dw2-dip: New file.
12915 * config/t-libunwind, config/t-libunwind-elf: New files.
12916 * config/t-sol2 (LIB2ADDEH): Remove.
12917 * config/xtensa/t-xtensa: New file.
12918
12919 2011-08-02 H.J. Lu <[email protected]>
12920
12921 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
12922 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
12923 long long to check rt_sigreturn syscall.
12924
12925 2011-08-02 Alan Modra <[email protected]>
12926
12927 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12928 Restore for indirect call bcrtl from correct stack slot, and only
12929 if cfa+40 isn't valid.
12930
12931 2011-08-01 Julian Brown <[email protected]>
12932
12933 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
12934 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
12935 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
12936
12937 2011-08-01 Julian Brown <[email protected]>
12938
12939 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
12940 (libgcc-std.ver.in): Use above.
12941 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
12942 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
12943 throughout file.
12944 * config/t-fixedpoint-gnu-prefix: New file.
12945 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
12946 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
12947 instead of __PFX__.
12948
12949 2011-07-28 H.J. Lu <[email protected]>
12950
12951 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
12952 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
12953 for x86-64. Properly check __x86_64__ and __LP64__.
12954
12955 2010-07-28 H.J. Lu <[email protected]>
12956
12957 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
12958 version.
12959 (_FP_WS_TYPE): Likewise.
12960 (_FP_I_TYPE): Likewise.
12961
12962 2011-07-28 Alan Modra <[email protected]>
12963
12964 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12965 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
12966 in a plt call stub. Do restore r2 if stopped on bctrl.
12967
12968 2011-07-18 Rainer Orth <[email protected]>
12969
12970 * config.host (i[3456x]86-*-netware*): Remove.
12971 * config/i386/netware-crt0.c, config/i386/t-nwld,
12972 config/i386/t-slibgcc-nwld: Remove.
12973
12974 2011-07-15 Bernd Schmidt <[email protected]>
12975
12976 * config.host: Handle tic6x-*-*.
12977 * config/c6x/c6x-abi.h: New file.
12978
12979 2011-07-13 Rainer Orth <[email protected]>
12980
12981 * config/i386/crtprec.c: New file.
12982 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
12983 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
12984 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
12985 (x86_64-*-darwin*): Likewise.
12986 (i[34567]86-*-solaris2*: Likewise.
12987
12988 2011-07-13 Rainer Orth <[email protected]>
12989
12990 * config/alpha/crtfastmath.c: New file.
12991 * config/i386/crtfastmath.c: New file.
12992 * config/ia64/crtfastmath.c: New file.
12993 * config/mips/crtfastmath.c: New file.
12994 * config/sparc/crtfastmath.c: New file.
12995
12996 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
12997 crtfastmath.c.
12998 Add -frandom-seed=gcc-crtfastmath.
12999 * config/alpha/t-crtfm: Remove.
13000 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
13001 * config/ia64/t-ia64 (crtfastmath.o): Remove.
13002
13003 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
13004 (alpha*-dec-osf5.1*): Likewise.
13005 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
13006 Add crtfastmath.o to extra_parts.
13007 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
13008 Add crtfastmath.o to extra_parts.
13009 (x86_64-*-darwin*): Likewise.
13010 (x86_64-*-mingw*): Likewise.
13011 (ia64*-*-elf*): Add t-crtfm to tmake_file.
13012 (ia64*-*-freebsd*): Likewise.
13013 (ia64*-*-linux*): Likewise.
13014 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
13015 Add crtfastmath.o to extra_parts.
13016
13017 2011-07-13 Rainer Orth <[email protected]>
13018
13019 * config/darwin-crt3.o: New file.
13020 * config/rs6000/darwin-crt2.c: New file.
13021 * config/t-darwin: New file.
13022 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
13023 (crt2.o): New rule.
13024 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
13025 (powerpc-*-darwin*): Add crt2.o to extra_parts.
13026 (powerpc64-*-darwin*): Likewise.
13027
13028 2011-07-13 Rainer Orth <[email protected]>
13029
13030 * config/i386/netware-crt0.c: New file.
13031 * config/i386/t-nwld: Rename to ...
13032 * config/i386/t-slibgcc-nwld: ... this.
13033 * config/i386/t-nwld: New file.
13034 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
13035 tmake_file.
13036 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
13037 extra_parts.
13038
13039 2011-07-11 Rainer Orth <[email protected]>
13040
13041 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
13042 i386/t-crtstuff.
13043 * configure: Regenerate.
13044
13045 2011-07-11 Rainer Orth <[email protected]>
13046
13047 * dfp-bit.c, dfp-bit.h: New files.
13048 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
13049 variables.
13050 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
13051 ($(d64pbit-o)): Likewise.
13052 ($(d128pbit-o)): Likewise.
13053 * config/t-dfprules: New file.
13054 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
13055 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
13056 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
13057 (x86_64-*-linux*): Likewise.
13058 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
13059 (i[34567]86-*-cygwin*): Likewise.
13060 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
13061 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
13062
13063 2011-07-08 Rainer Orth <[email protected]>
13064
13065 * Makfile.in (LIBGCOV): New variable.
13066 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
13067 * libgcov.c: New file.
13068
13069 2011-07-08 Rainer Orth <[email protected]>
13070
13071 * fixed-bit.c, fixed-bit.h: New files.
13072 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
13073 refer to fixed-bit.c.
13074
13075 2011-07-07 Joseph Myers <[email protected]>
13076
13077 * config.host (*local*): Remove.
13078
13079 2011-07-07 Rainer Orth <[email protected]>
13080
13081 PR target/39150
13082 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
13083 like i?86-*-solaris2.1[0-9]*.
13084 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
13085 * configure.ac (i?86-*-solaris2*): Likewise.
13086 * configure: Regenerate.
13087
13088 2011-07-06 Thomas Schwinge <[email protected]>
13089
13090 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
13091 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
13092 md_unwind_header by splitting out of...
13093 (i[34567]86-*-linux*): ... this.
13094 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
13095 Remove md_unwind_header by splitting out of...
13096 (x86_64-*-linux*): ... this.
13097
13098 2011-07-04 Georg-Johann Lay <[email protected]>
13099
13100 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
13101
13102 2011-06-28 Nick Clifton <[email protected]>
13103
13104 * config.host: Recognize all V850 variants.
13105
13106 2011-06-22 Uros Bizjak <[email protected]>
13107
13108 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
13109
13110 2011-06-21 Rainer Orth <[email protected]>
13111
13112 * shared-object.mk (c_flags-$o): Save c_flags.
13113 ($(base)$(objext)): Use it.
13114 ($(base)_s$(objext)): Likewise.
13115
13116 2011-06-21 Bernd Schmidt <[email protected]>
13117
13118 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
13119 * libgcc-std.ver.in (GCC_4.7.0): New section.
13120
13121 2011-06-16 Georg-Johann Lay <[email protected]>
13122
13123 PR target/49313
13124 PR target/29524
13125 * config/avr/t-avr: Fix line endings.
13126 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
13127 _parityXX2.
13128
13129 2011-06-14 Olivier Hainque <[email protected]>
13130 Rainer Orth <[email protected]>
13131
13132 * config/mips/irix6-unwind.h: New file.
13133 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
13134
13135 2011-06-10 Eric Botcazou <[email protected]>
13136
13137 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
13138 (sparc64_fallback_frame_state): Use it.
13139 (sparc64_frob_update_context): Further adjust context.
13140 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
13141 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
13142 * config/sparc/sol2-cn.S: Likewise.
13143
13144 2011-06-09 Rainer Orth <[email protected]>
13145
13146 * enable-execute-stack-empty.c: New file.
13147 * enable-execute-stack-mprotect.c: New file.
13148 * config/i386/enable-execute-stack-mingw32.c: New file.
13149 * config.host (enable_execute_stack): New variable.
13150 Select appropriate variants.
13151 * configure.ac: Link enable-execute-stack.c to
13152 $enable_execute_stack.
13153 * configure: Regenerate.
13154 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
13155 (lib2funcs): Remove _enable_execute_stack.
13156
13157 2011-06-09 David S. Miller <[email protected]>
13158 Rainer Orth <[email protected]>
13159
13160 * config.host (sparc-*-linux*): Correct md_unwind_header
13161 filename.
13162 (s390x-ibm-tpf*): Fix typo.
13163
13164 2011-06-06 Rainer Orth <[email protected]>
13165
13166 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
13167 Add crtfastmath.o to extra_parts.
13168 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
13169 mips/t-crtfm.
13170 * config/mips/t-crtfm: Remove.
13171
13172 2011-06-04 John David Anglin <[email protected]>
13173
13174 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
13175
13176 2011-06-04 Kaz Kojima <[email protected]>
13177
13178 * config.host (sh*-*-linux*): Fix typo.
13179
13180 2011-06-03 Rainer Orth <[email protected]>
13181
13182 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
13183 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
13184 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
13185 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
13186 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
13187 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
13188 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
13189 Wrap in !__MINGW64__.
13190 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
13191 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
13192 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
13193 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
13194 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
13195 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
13196 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
13197 Wrap in !__LP64__.
13198 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
13199 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
13200 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
13201 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
13202 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
13203 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
13204 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
13205 * config/no-unwind.h: New file.
13206 * config.host (md_unwind_header): Document.
13207 Define.
13208 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
13209 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
13210 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
13211 hppa[12]*-*-hpux11*): Set md_unwind_header.
13212 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
13213 Set md_unwind_header.
13214 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
13215 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
13216 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
13217 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
13218 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
13219 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
13220 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
13221 md_unwind_header.
13222 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
13223 * configure: Regenerate.
13224
13225 2011-06-03 Rainer Orth <[email protected]>
13226
13227 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
13228 Set tmake_file, extra_parts.
13229 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
13230 Remove O32 support.
13231 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
13232 Remove O32 support.
13233 * config/mips/t-irix6: New file.
13234 * config/mips/t-slibgcc-irix: New file.
13235
13236 2011-06-03 Rainer Orth <[email protected]>
13237
13238 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
13239 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
13240
13241 2011-06-03 Rainer Orth <[email protected]>
13242
13243 * configure.ac (target_thread_file): Determine thread model.
13244 * configure: Regenerate.
13245 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
13246 * config/alpha/t-alpha: New file.
13247 * config/alpha/t-crtfm: Use $<.
13248 * config/alpha/t-ieee: New file.
13249 * config/alpha/t-osf-pthread: New file.
13250 * config/alpha/t-slibgcc-osf: New file.
13251 * config/alpha/libgcc-osf5.ver: New file.
13252
13253 2011-06-01 Rainer Orth <[email protected]>
13254
13255 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
13256 tmake_file.
13257 Add crtfastmath.o to extra_parts.
13258
13259 2011-06-01 Rainer Orth <[email protected]>
13260
13261 * config/gmon-sol2.c: Reindent.
13262 Cleanup comments.
13263 Remove, correct casts.
13264 Use STDERR_FILENO, NULL.
13265 (BASEADDRESS): Remove.
13266 (minbrk): Remove.
13267 (errno, sbrk): Remove declarations.
13268 (monstartup) [hp300]: Remove.
13269 (mcount): Remove.
13270
13271 2011-06-01 Rainer Orth <[email protected]>
13272
13273 * Makefile.in (cpu_type): Define.
13274 * config.host (i[34567]86-*-rtems*): Handle it.
13275 (i[34567]86-*-solaris2*): Move body ...
13276 (*-*-solaris2*): ... here.
13277 New case, generalize.
13278 (sparc-*-elf*): Handle it.
13279 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
13280 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
13281 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
13282 Fold into ...
13283 (sparc*-*-solaris2*): ... this.
13284 New case.
13285 (sparc64-*-elf*): Handle it.
13286 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
13287 Merge ../gcc/config/i386/gmon-sol2.c.
13288 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
13289 Use C comments.
13290 Merge ../gcc/config/i386/sol2-gc1.asm.
13291 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
13292 Use C comments.
13293 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
13294 Use C comments.
13295 * config/i386/t-crtfm (crtfastmath.o): Use $<.
13296 * config/i386/t-crtstuff: New file.
13297 * config/i386/t-softfp: New file.
13298 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
13299 $(T)crti.o, $(T)crtn.o): Remove.
13300 (gcrt1.o): New rule.
13301 (TARGET_LIBGCC2_CFLAGS): Remove.
13302 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
13303 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
13304 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
13305 * config/sparc/t-sol2: New file.
13306 * config/sparc/t-crtfm: Move to ...
13307 * config/t-crtfm: ... this.
13308 Use $(cpu_type), $<.
13309 * config/t-crtin: New file.
13310 * config/sparc/t-softfp: New file.
13311 * config/sparc/t-softmul: New file.
13312 * config/t-rtems: New file.
13313 * config/t-slibgcc: New file.
13314 * config/t-slibgcc-elf-ver: New file.
13315 * config/t-slibgcc-gld: New file.
13316 * config/t-slibgcc-sld: New file.
13317 * config/t-sol2: New file.
13318 * configure.ac: Include ../config/lib-ld.m4.
13319 Call AC_LIB_PROG_LD_GNU.
13320 Substitute cpu_type.
13321 * configure: Regenerate.
13322
13323 2011-05-27 Bernd Schmidt <[email protected]>
13324
13325 PR bootstrap/49173
13326 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
13327 libgcc-std.ver in the build directory.
13328 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
13329 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
13330
13331 2011-05-25 Bernd Schmidt <[email protected]>
13332
13333 * libgcc-std.ver.in: New file.
13334 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
13335 variables.
13336 (libgcc-std.ver): New rule.
13337 * config/t-gnu-prefix: New file.
13338
13339 2011-05-23 Rainer Orth <[email protected]>
13340
13341 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
13342
13343 2011-05-10 Joseph Myers <[email protected]>
13344
13345 * config/i386/darwin-lib.h: New file.
13346
13347 2011-05-10 Joseph Myers <[email protected]>
13348
13349 * config/arm/symbian-lib.h: New.
13350
13351 2011-05-04 Chris Demetriou <[email protected]>
13352
13353 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
13354 (__x86.get_pc_thunk.bx): ...this.
13355 (__morestack): Adjust for rename, remove undef of __i686.
13356
13357 2011-05-03 Chris Demetriou <[email protected]>
13358
13359 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
13360
13361 2011-03-22 Joseph Myers <[email protected]>
13362
13363 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
13364 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
13365 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
13366 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
13367 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
13368 Remove cases.
13369
13370 2011-03-14 Andreas Tobler <[email protected]>
13371
13372 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
13373 Adjust copyright year.
13374
13375 2011-03-07 Ian Lance Taylor <[email protected]>
13376
13377 * generic-morestack.c (__splitstack_find): Adjust returned stack
13378 pointer to include all registers pushed by __morestack.
13379
13380 2011-01-26 Dave Korn <[email protected]>
13381
13382 PR target/40125
13383 * configure.ac: Call ACX_NONCANONICAL_TARGET.
13384 (toolexecdir): Calculate and AC_SUBST.
13385 (toolexeclibdir): Likewise.
13386 * Makefile.in (target_noncanonical): Import.
13387 (toolexecdir): Likewise.
13388 (toolexeclibdir): Likewise.
13389 * configure: Regenerate.
13390
13391 2010-12-13 Nathan Froyd <[email protected]>
13392
13393 PR target/46040
13394 * config/arm/bpabi.h: Rename to...
13395 * config/arm/bpabi-lib.h: ...this.
13396
13397 2010-12-10 Rainer Orth <[email protected]>
13398
13399 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
13400 appropriate.
13401 * configure: Regenerate.
13402
13403 2010-11-24 Nathan Froyd <[email protected]>
13404
13405 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
13406 __FLOAT_WORD_ORDER__.
13407 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
13408 Delete.
13409
13410 2010-11-20 Ralf Wildenhues <[email protected]>
13411
13412 PR other/46202
13413 * Makefile.in (install-strip): New phony target.
13414
13415 2010-11-07 Ian Lance Taylor <[email protected]>
13416
13417 PR target/46089
13418 * config/i386/morestack.S (__morestack_large_model): New
13419 function.
13420
13421 2010-10-23 Nathan Froyd <[email protected]>
13422
13423 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
13424 Delete.
13425 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
13426
13427 2010-10-14 Nathan Froyd <[email protected]>
13428
13429 * config/arm/bpabi.h: New file.
13430 * config/frv/frv-abi.h: New file.
13431
13432 2010-10-01 Ian Lance Taylor <[email protected]>
13433
13434 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
13435 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
13436
13437 2010-10-01 H.J. Lu <[email protected]>
13438
13439 PR target/45858
13440 * config.host: Add the missing `$'.
13441
13442 2010-09-30 Michael Eager <[email protected]>
13443
13444 * config.host: Add microblaze*-*-*.
13445 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
13446 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
13447 udivsi3.asm,umodsi3.asm}: New.
13448
13449 2010-09-28 Ian Lance Taylor <[email protected]>
13450
13451 * configure.ac: Adjust CFI test to test assembler directly rather
13452 than checking gcc preprocessor macro.
13453 * configure: Rebuild.
13454
13455 2010-09-27 Ian Lance Taylor <[email protected]>
13456
13457 * configure.ac: Test whether assembler supports CFI directives.
13458 * config.host: Only add t-stack and i386/t-stack-i386 to
13459 tmake_file if libgcc_cv_cfi is "yes".
13460 * configure: Rebuild.
13461
13462 2010-09-27 Ian Lance Taylor <[email protected]>
13463
13464 * generic-morestack.h: New file.
13465 * generic-morestack.c: New file.
13466 * generic-morestack-thread.c: New file.
13467 * config/i386/morestack.S: New file.
13468 * config/t-stack: New file.
13469 * config/i386/t-stack-i386: New file.
13470 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
13471 i386/t-stack-i386 to tmake_file.
13472
13473 2010-09-21 Iain Sandoe <[email protected]>
13474
13475 * Makefile.in (libgcc-extra-parts): Check for static archives and
13476 invoke ranlib after installing them.
13477 (gcc-extra-parts): Likewise.
13478 (install-leaf): Likewise.
13479
13480 2010-09-14 H.J. Lu <[email protected]>
13481
13482 * configure: Regenerated.
13483
13484 2010-09-10 Kai Tietz <[email protected]>
13485
13486 * configure: Regenerated.
13487
13488 2010-09-09 Gerald Pfeifer <[email protected]>
13489 Andrew Pinski <[email protected]>
13490
13491 PR target/40959
13492 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
13493
13494 2010-09-06 H.J. Lu <[email protected]>
13495
13496 PR target/45524
13497 * configure: Regenerated.
13498
13499 2010-09-06 Andreas Schwab <[email protected]>
13500
13501 * configure: Regenerate.
13502
13503 2010-09-03 Uros Bizjak <[email protected]>
13504
13505 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
13506 64bit targets.
13507 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
13508 for 64bit targets.
13509
13510 2010-09-03 Uros Bizjak <[email protected]>
13511 Iain Sandoe <[email protected]>
13512
13513 PR target/45476
13514 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
13515 LIB2FUNCS_EXCLUDE functions.
13516
13517 2010-09-03 Andreas Krebbel <[email protected]>
13518
13519 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
13520 Include dfp.m4.
13521 * configure: Regenerate.
13522
13523 2010-09-01 Uros Bizjak <[email protected]>
13524
13525 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
13526 i386/t-freebsd to tmake_file.
13527 * config/i386/t-freebsd: New file.
13528 * config/i386/libgcc-bsd.ver: New file.
13529
13530 2010-07-23 Nathan Froyd <[email protected]>
13531
13532 * config.host (powerpc*-eabispe*): Set tmake_file.
13533 (powerpc*-eabi*): Likewise.
13534 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
13535 crtbeginS, crtendS, crtbeginT.
13536
13537 2010-06-12 Kazu Hirata <[email protected]>
13538
13539 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
13540 to tmake_file. Add crtfastmath.o to extra_parts.
13541 * config/mips/t-crtfm: New.
13542
13543 2010-05-19 Joel Sherrill <[email protected]>
13544
13545 * config.host (sparc64-*-rtems*): New target.
13546
13547 2010-05-19 Rainer Orth <[email protected]>
13548
13549 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
13550 assembler syntax.
13551
13552 2010-04-15 Thomas Schwinge <[email protected]>
13553
13554 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
13555
13556 2010-04-12 Rainer Orth <[email protected]>
13557
13558 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
13559 alpha-dec-osf5.0* support.
13560
13561 2010-04-01 Ralf Corsépius <[email protected]>
13562
13563 * config.host: Add lm32-*-rtems*.
13564
13565 2010-03-31 Rainer Orth <[email protected]>
13566 Uros Bizjak <[email protected]>
13567
13568 PR target/39048
13569 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
13570 like other remaining 32-bit x86 OSes.
13571 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
13572 assembler syntax.
13573 * config/i386/libgcc-sol2.ver: New file.
13574 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
13575
13576 2010-03-30 Jack Howarth <[email protected]>
13577
13578 PR c/43553
13579 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
13580 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
13581 is used and substitute set_use_emutls.
13582 * configure: Regenerated.
13583
13584 2010-03-30 Tarik Graba <[email protected]>
13585
13586 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
13587
13588 2010-03-22 Rainer Orth <[email protected]>
13589
13590 PR target/38085
13591 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
13592 MULTILIB_CFLAGS.
13593 ($(T)gcrt1.o): Likewise.
13594 ($(T)crt1.o): Likewise.
13595 ($(T)crti.o): Likewise.
13596 ($(T)crtn.o): Likewise.
13597
13598 2010-03-01 Ralf Wildenhues <[email protected]>
13599
13600 PR other/42980
13601 * Makefile.in (install): Use $(MAKE) string in rule, for
13602 parallel make.
13603
13604 2010-02-22 Hans-Peter Nilsson <[email protected]>
13605
13606 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
13607 * config/mmix/t-mmix: New file.
13608 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
13609
13610 2010-02-02 Jack Howarth <[email protected]>
13611
13612 PR java/41991
13613 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
13614 SHLIB_MAPFILES.
13615
13616 2010-01-04 Anthony Green <[email protected]>
13617
13618 * config/moxie/crti.asm, config/moxie/crtn.asm,
13619 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
13620 config/moxie/t-moxie: New files.
13621 * config.host: Add t-moxie-softfp reference.
13622
13623 2009-11-18 Iain Sandoe <[email protected]>
13624
13625 PR other/39888
13626 * config/t-slibgcc-darwin: Fix embedded rpaths for
13627 --enable-version-specific-runtime-libs, build extension stub
13628 libs exposing features available from current libgcc_s.
13629
13630 2009-11-11 Jon Beniston <[email protected]>
13631
13632 * config.host: Add lm32 targets.
13633 * config/lm32: New directory.
13634 * config/lm32/libgcc_lm32.h: New file.
13635 * config/lm32/_mulsi3.c: New file.
13636 * config/lm32/_udivmodsi4.c: New file.
13637 * config/lm32/_divsi3.c: New file.
13638 * config/lm32/_modsi3.c: New file.
13639 * config/lm32/_udivsi3.c: New file.
13640 * config/lm32/_umodsi3.c: New file.
13641 * config/lm32/_lshrsi3.S: New file.
13642 * config/lm32/_ashrsi3.S: New file.
13643 * config/lm32/_ashlsi3.S: New file.
13644 * config/lm32/crti.S: New file.
13645 * config/lm32/crtn.S: New file.
13646 * config/lm32/t-lm32: New file.
13647 * config/lm32/t-elf: New file.
13648 * config/lm32/t-uclinux: New file.
13649
13650 2009-10-26 Nick Clifton <[email protected]>
13651
13652 * config.host: Add support for RX target.
13653 * config/rx: New directory.
13654 * config/rx/rx-abi-functions.c: New file. Supplementary
13655 functions for libgcc to support the RX ABI.
13656 * config/rx/rx-abi.h: New file. Supplementary header file for
13657 libgcc RX ABI functions.
13658 * config/rx/t-rx: New file: Makefile fragment for building
13659 libgcc for the RX.
13660
13661 2009-10-09 Uros Bizjak <[email protected]>
13662
13663 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
13664 constraint of y0 to "g".
13665
13666 2009-10-07 Andreas Krebbel <[email protected]>
13667
13668 * config.host: Include the s390 makefile fragments.
13669 * config/s390/32/_fixdfdi.c: New file.
13670 * config/s390/32/_fixsfdi.c: New file.
13671 * config/s390/32/_fixtfdi.c: New file.
13672 * config/s390/32/_fixunsdfdi.c: New file.
13673 * config/s390/32/_fixunssfdi.c: New file.
13674 * config/s390/32/_fixunstfdi.c: New file.
13675 * config/s390/32/t-floattodi: New file.
13676 * config/s390/libgcc-glibc.ver: New file.
13677 * config/s390/t-crtstuff: New file.
13678 * config/s390/t-linux: New file.
13679 * config/s390/t-tpf: New file.
13680
13681 2009-08-24 Ralf Wildenhues <[email protected]>
13682
13683 * configure.ac (AC_PREREQ): Bump to 2.64.
13684
13685 2009-08-22 Kaz Kojima <[email protected]>
13686
13687 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
13688
13689 2009-08-22 Ralf Wildenhues <[email protected]>
13690
13691 * configure: Regenerate.
13692
13693 2009-08-09 Douglas B Rupp <[email protected]>
13694
13695 * config.host (ia64-hp-*vms*): New target.
13696 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
13697 with ia64-hp-*vms*.
13698
13699 2009-07-30 Ralf Wildenhues <[email protected]>
13700
13701 * configure.ac: Add snippet for maintainer-mode.
13702 * configure: Regenerate.
13703 * Makefile.in (AUTOCONF, configure_deps): New variables.
13704 ($(srcdir)/configure)): New rule, active only with maintainer
13705 mode turned on.
13706
13707 2009-06-23 DJ Delorie <[email protected]>
13708
13709 Add MeP port.
13710 * config.host: Add mep support.
13711
13712 2009-06-22 Kai Tietz <[email protected]>
13713
13714 * config.host: Add i386/${host_address}/t-fprules-softfp and
13715 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
13716
13717 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
13718 for mingw targets.
13719 * config/i386/64/_multc3.c: Likewise.
13720 * config/i386/64/_powitf2.c: Likewise.
13721 * config/i386/64/eqtf2.c: Likewise.
13722 * config/i386/64/getf2.c: Likewise.
13723 * config/i386/64/letf2.c: Likewise.
13724 * config/i386/64/letf2.c: Likewise.
13725 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
13726 unsigned long long for x64 mingw targets.
13727 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
13728 (_FP_I_TYPE): Define as long long for x64 mingw target.
13729
13730 2009-06-10 Maciej W. Rozycki <[email protected]>
13731
13732 * config.host (vax-*-linux*): New.
13733
13734 2009-05-31 Anthony Green <[email protected]>
13735
13736 * config.host: Add moxie support.
13737 * config/moxie/t-moxie: New file.
13738
13739 2009-05-29 David Billinghurst <[email protected]>
13740
13741 * config.host: Add i386/${host_address}/t-fprules-softfp and
13742 t-softfp to tmake_file for i[34567]86-*-cygwin*.
13743
13744 2009-04-17 Aurelien Jarno <[email protected]>
13745
13746 * config.host: Add i386/${host_address}/t-fprules-softfp to
13747 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
13748
13749 2009-04-09 Nick Clifton <[email protected]>
13750
13751 * config/ia64/tf-signs.c: Change copyright header to refer to
13752 version 3 of the GNU General Public License with version 3.1
13753 of the GCC Runtime Library Exception and to point readers at
13754 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
13755 web page.
13756 * config/i386/32/tf-signs.c: Likewise.
13757 * config/libbid/_addsub_dd.c: Likewise.
13758 * config/libbid/_addsub_sd.c: Likewise.
13759 * config/libbid/_addsub_td.c: Likewise.
13760 * config/libbid/_dd_to_df.c: Likewise.
13761 * config/libbid/_dd_to_di.c: Likewise.
13762 * config/libbid/_dd_to_sd.c: Likewise.
13763 * config/libbid/_dd_to_sf.c: Likewise.
13764 * config/libbid/_dd_to_si.c: Likewise.
13765 * config/libbid/_dd_to_td.c: Likewise.
13766 * config/libbid/_dd_to_tf.c: Likewise.
13767 * config/libbid/_dd_to_udi.c: Likewise.
13768 * config/libbid/_dd_to_usi.c: Likewise.
13769 * config/libbid/_dd_to_xf.c: Likewise.
13770 * config/libbid/_df_to_dd.c: Likewise.
13771 * config/libbid/_df_to_sd.c: Likewise.
13772 * config/libbid/_df_to_td.c: Likewise.
13773 * config/libbid/_di_to_dd.c: Likewise.
13774 * config/libbid/_di_to_sd.c: Likewise.
13775 * config/libbid/_di_to_td.c: Likewise.
13776 * config/libbid/_div_dd.c: Likewise.
13777 * config/libbid/_div_sd.c: Likewise.
13778 * config/libbid/_div_td.c: Likewise.
13779 * config/libbid/_eq_dd.c: Likewise.
13780 * config/libbid/_eq_sd.c: Likewise.
13781 * config/libbid/_eq_td.c: Likewise.
13782 * config/libbid/_ge_dd.c: Likewise.
13783 * config/libbid/_ge_sd.c: Likewise.
13784 * config/libbid/_ge_td.c: Likewise.
13785 * config/libbid/_gt_dd.c: Likewise.
13786 * config/libbid/_gt_sd.c: Likewise.
13787 * config/libbid/_gt_td.c: Likewise.
13788 * config/libbid/_isinfd128.c: Likewise.
13789 * config/libbid/_isinfd32.c: Likewise.
13790 * config/libbid/_isinfd64.c: Likewise.
13791 * config/libbid/_le_dd.c: Likewise.
13792 * config/libbid/_le_sd.c: Likewise.
13793 * config/libbid/_le_td.c: Likewise.
13794 * config/libbid/_lt_dd.c: Likewise.
13795 * config/libbid/_lt_sd.c: Likewise.
13796 * config/libbid/_lt_td.c: Likewise.
13797 * config/libbid/_mul_dd.c: Likewise.
13798 * config/libbid/_mul_sd.c: Likewise.
13799 * config/libbid/_mul_td.c: Likewise.
13800 * config/libbid/_ne_dd.c: Likewise.
13801 * config/libbid/_ne_sd.c: Likewise.
13802 * config/libbid/_ne_td.c: Likewise.
13803 * config/libbid/_sd_to_dd.c: Likewise.
13804 * config/libbid/_sd_to_df.c: Likewise.
13805 * config/libbid/_sd_to_di.c: Likewise.
13806 * config/libbid/_sd_to_sf.c: Likewise.
13807 * config/libbid/_sd_to_si.c: Likewise.
13808 * config/libbid/_sd_to_td.c: Likewise.
13809 * config/libbid/_sd_to_tf.c: Likewise.
13810 * config/libbid/_sd_to_udi.c: Likewise.
13811 * config/libbid/_sd_to_usi.c: Likewise.
13812 * config/libbid/_sd_to_xf.c: Likewise.
13813 * config/libbid/_sf_to_dd.c: Likewise.
13814 * config/libbid/_sf_to_sd.c: Likewise.
13815 * config/libbid/_sf_to_td.c: Likewise.
13816 * config/libbid/_si_to_dd.c: Likewise.
13817 * config/libbid/_si_to_sd.c: Likewise.
13818 * config/libbid/_si_to_td.c: Likewise.
13819 * config/libbid/_td_to_dd.c: Likewise.
13820 * config/libbid/_td_to_df.c: Likewise.
13821 * config/libbid/_td_to_di.c: Likewise.
13822 * config/libbid/_td_to_sd.c: Likewise.
13823 * config/libbid/_td_to_sf.c: Likewise.
13824 * config/libbid/_td_to_si.c: Likewise.
13825 * config/libbid/_td_to_tf.c: Likewise.
13826 * config/libbid/_td_to_udi.c: Likewise.
13827 * config/libbid/_td_to_usi.c: Likewise.
13828 * config/libbid/_td_to_xf.c: Likewise.
13829 * config/libbid/_tf_to_dd.c: Likewise.
13830 * config/libbid/_tf_to_sd.c: Likewise.
13831 * config/libbid/_tf_to_td.c: Likewise.
13832 * config/libbid/_udi_to_dd.c: Likewise.
13833 * config/libbid/_udi_to_sd.c: Likewise.
13834 * config/libbid/_udi_to_td.c: Likewise.
13835 * config/libbid/_unord_dd.c: Likewise.
13836 * config/libbid/_unord_sd.c: Likewise.
13837 * config/libbid/_unord_td.c: Likewise.
13838 * config/libbid/_usi_to_dd.c: Likewise.
13839 * config/libbid/_usi_to_sd.c: Likewise.
13840 * config/libbid/_usi_to_td.c: Likewise.
13841 * config/libbid/_xf_to_dd.c: Likewise.
13842 * config/libbid/_xf_to_sd.c: Likewise.
13843 * config/libbid/_xf_to_td.c: Likewise.
13844 * config/libbid/bid128.c: Likewise.
13845 * config/libbid/bid128_2_str.h: Likewise.
13846 * config/libbid/bid128_2_str_macros.h: Likewise.
13847 * config/libbid/bid128_2_str_tables.c: Likewise.
13848 * config/libbid/bid128_add.c: Likewise.
13849 * config/libbid/bid128_compare.c: Likewise.
13850 * config/libbid/bid128_div.c: Likewise.
13851 * config/libbid/bid128_fma.c: Likewise.
13852 * config/libbid/bid128_logb.c: Likewise.
13853 * config/libbid/bid128_minmax.c: Likewise.
13854 * config/libbid/bid128_mul.c: Likewise.
13855 * config/libbid/bid128_next.c: Likewise.
13856 * config/libbid/bid128_noncomp.c: Likewise.
13857 * config/libbid/bid128_quantize.c: Likewise.
13858 * config/libbid/bid128_rem.c: Likewise.
13859 * config/libbid/bid128_round_integral.c: Likewise.
13860 * config/libbid/bid128_scalb.c: Likewise.
13861 * config/libbid/bid128_sqrt.c: Likewise.
13862 * config/libbid/bid128_string.c: Likewise.
13863 * config/libbid/bid128_to_int16.c: Likewise.
13864 * config/libbid/bid128_to_int32.c: Likewise.
13865 * config/libbid/bid128_to_int64.c: Likewise.
13866 * config/libbid/bid128_to_int8.c: Likewise.
13867 * config/libbid/bid128_to_uint16.c: Likewise.
13868 * config/libbid/bid128_to_uint32.c: Likewise.
13869 * config/libbid/bid128_to_uint64.c: Likewise.
13870 * config/libbid/bid128_to_uint8.c: Likewise.
13871 * config/libbid/bid32_to_bid128.c: Likewise.
13872 * config/libbid/bid32_to_bid64.c: Likewise.
13873 * config/libbid/bid64_add.c: Likewise.
13874 * config/libbid/bid64_compare.c: Likewise.
13875 * config/libbid/bid64_div.c: Likewise.
13876 * config/libbid/bid64_fma.c: Likewise.
13877 * config/libbid/bid64_logb.c: Likewise.
13878 * config/libbid/bid64_minmax.c: Likewise.
13879 * config/libbid/bid64_mul.c: Likewise.
13880 * config/libbid/bid64_next.c: Likewise.
13881 * config/libbid/bid64_noncomp.c: Likewise.
13882 * config/libbid/bid64_quantize.c: Likewise.
13883 * config/libbid/bid64_rem.c: Likewise.
13884 * config/libbid/bid64_round_integral.c: Likewise.
13885 * config/libbid/bid64_scalb.c: Likewise.
13886 * config/libbid/bid64_sqrt.c: Likewise.
13887 * config/libbid/bid64_string.c: Likewise.
13888 * config/libbid/bid64_to_bid128.c: Likewise.
13889 * config/libbid/bid64_to_int16.c: Likewise.
13890 * config/libbid/bid64_to_int32.c: Likewise.
13891 * config/libbid/bid64_to_int64.c: Likewise.
13892 * config/libbid/bid64_to_int8.c: Likewise.
13893 * config/libbid/bid64_to_uint16.c: Likewise.
13894 * config/libbid/bid64_to_uint32.c: Likewise.
13895 * config/libbid/bid64_to_uint64.c: Likewise.
13896 * config/libbid/bid64_to_uint8.c: Likewise.
13897 * config/libbid/bid_b2d.h: Likewise.
13898 * config/libbid/bid_binarydecimal.c: Likewise.
13899 * config/libbid/bid_conf.h: Likewise.
13900 * config/libbid/bid_convert_data.c: Likewise.
13901 * config/libbid/bid_decimal_data.c: Likewise.
13902 * config/libbid/bid_decimal_globals.c: Likewise.
13903 * config/libbid/bid_div_macros.h: Likewise.
13904 * config/libbid/bid_dpd.c: Likewise.
13905 * config/libbid/bid_flag_operations.c: Likewise.
13906 * config/libbid/bid_from_int.c: Likewise.
13907 * config/libbid/bid_functions.h: Likewise.
13908 * config/libbid/bid_gcc_intrinsics.h: Likewise.
13909 * config/libbid/bid_inline_add.h: Likewise.
13910 * config/libbid/bid_internal.h: Likewise.
13911 * config/libbid/bid_round.c: Likewise.
13912 * config/libbid/bid_sqrt_macros.h: Likewise.
13913
13914 2009-04-09 Jakub Jelinek <[email protected]>
13915
13916 * Makefile.in: Change copyright header to refer to version
13917 3 of the GNU General Public License and to point readers at the
13918 COPYING3 file and the FSF's license web page.
13919 * config.host: Likewise.
13920
13921 2009-04-07 Alan Modra <[email protected]>
13922
13923 * config.host: Reorder and merge to match config.gcc change.
13924
13925 2009-04-03 Alan Modra <[email protected]>
13926
13927 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
13928
13929 2009-03-28 Joseph Myers <[email protected]>
13930
13931 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
13932 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
13933 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
13934 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
13935
13936 2009-02-12 Uros Bizjak <[email protected]>
13937
13938 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
13939 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13940
13941 2009-02-12 H.J. Lu <[email protected]>
13942
13943 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
13944 ia64/t-softfp-compat to tmake_file.
13945
13946 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
13947
13948 * config/ia64/__divxf3.asm: New.
13949 * config/ia64/_fixtfdi.asm: Likewise.
13950 * config/ia64/_fixunstfdi.asm: Likewise.
13951 * config/ia64/_floatditf.asm: Likewise.
13952 * config/ia64/t-fprules-softfp: Likewise.
13953 * config/ia64/t-softfp-compat: Likewise.
13954 * config/ia64/tf-signs.c: Likewise.
13955
13956 2009-01-18 Ben Elliston <[email protected]>
13957
13958 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13959
13960 2009-01-16 Ben Elliston <[email protected]>
13961
13962 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
13963 to tmake_file.
13964
13965 2009-01-13 Ben Elliston <[email protected]>
13966
13967 * config/t-softfp: New file.
13968 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
13969 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
13970
13971 2009-01-05 Joel Sherrill <[email protected]>
13972
13973 * config.host: Add m32r*-*-rtems*.
13974
13975 2008-12-01 Joel Sherrill <[email protected]>
13976
13977 * config.host: Add m32c*-*-rtems*.
13978
13979 2008-11-20 Rainer Orth <[email protected]>
13980
13981 PR bootstrap/33100
13982 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
13983 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
13984 * configure: Regenerate.
13985 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
13986 tmake_file here from gcc/config.gcc.
13987 Move extra_parts here from gcc/config.gcc.
13988 * config/i386/t-sol2: Move here from gcc/config/i386.
13989 Use gcc_srcdir instead of srcdir.
13990
13991 2008-11-18 Adam Nemet <[email protected]>
13992
13993 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
13994 case.
13995
13996 2008-11-09 Thomas Schwinge <[email protected]>
13997
13998 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
13999
14000 2008-10-08 Thomas Schwinge <[email protected]>
14001
14002 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
14003
14004 2008-09-03 Hari Sandanagobalane <[email protected]>
14005
14006 Add picoChip port.
14007 * config.host: Add picochip-*-*.
14008
14009 2008-08-06 Bob Wilson <[email protected]>
14010
14011 * config.host: Match more processor names for Xtensa.
14012
14013 2008-07-08 H.J. Lu <[email protected]>
14014
14015 * config/i386/64/t-softfp-compat: Update comments.
14016
14017 2008-07-07 H.J. Lu <[email protected]>
14018
14019 * config/i386/64/_divtc3-compat.c: Moved to ...
14020 * config/i386/64/_divtc3.c: Here.
14021
14022 * config/i386/64/_multc3-compat.c: Moved to ...
14023 * config/i386/64/_multc3.c: Here.
14024
14025 * config/i386/64/_powitf2-compat.c: Moved to ...
14026 * config/i386/64/_powitf2.c: Here.
14027
14028 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
14029 .c suffix instead of -compat.c.
14030
14031 2008-07-05 Uros Bizjak <[email protected]>
14032
14033 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
14034 (_FP_MUL_MEAT_D): Ditto.
14035 (_FP_DIV_MEAT_S): Ditto.
14036 (_FP_DIV_MEAT_D): Ditto.
14037
14038 2008-07-03 Richard Sandiford <[email protected]>
14039
14040 * Makefile.in: Add support for __sync_* libgcc functions.
14041
14042 2008-07-03 H.J. Lu <[email protected]>
14043
14044 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
14045
14046 2008-07-02 H.J. Lu <[email protected]>
14047
14048 PR boostrap/36702
14049 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
14050 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
14051
14052 * config/i386/64/t-fprules-softfp: Moved to ...
14053 * config/i386/64/t-softfp-compat: This. New.
14054
14055 2008-07-02 Uros Bizjak <[email protected]>
14056
14057 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
14058 Initialize f with 0.0.
14059
14060 2008-07-02 H.J. Lu <[email protected]>
14061
14062 PR target/36669
14063 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
14064
14065 * config/i386/64/_divtc3-compat.c: New.
14066 * config/i386/64/_multc3-compat.c: Likewise.
14067 * config/i386/64/_powitf2-compat.c: Likewise.
14068 * config/i386/64/eqtf2.c: Likewise.
14069 * config/i386/64/getf2.c: Likewise.
14070 * config/i386/64/letf2.c: Likewise.
14071 * config/i386/64/t-fprules-softfp: Likewise.
14072
14073 2008-07-02 H.J. Lu <[email protected]>
14074
14075 * config.host: Add i386/${host_address}/t-fprules-softfp to
14076 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
14077 i[34567]86-*-linux*, x86_64-*-linux*.
14078
14079 * configure.ac: Set host_address to 64 or 32 for x86.
14080 * configure: Regenerated.
14081
14082 * Makefile.in (config.status): Also depend on
14083 $(srcdir)/config.host.
14084
14085 * config/i386/32/t-fprules-softfp: New.
14086 * config/i386/32/tf-signs.c: Likewise.
14087
14088 * config/i386/64/sfp-machine.h: New. Moved from gcc.
14089
14090 2008-07-02 H.J. Lu <[email protected]>
14091 Uros Bizjak <[email protected]>
14092
14093 * config/i386/32/sfp-machine.h: New.
14094
14095 2008-06-26 Nathan Froyd <[email protected]>
14096
14097 * config/rs6000/t-ppccomm: Remove rules that conflict with
14098 auto-generated rules.
14099
14100 2008-06-17 Ralf Wildenhues <[email protected]>
14101
14102 * configure.ac: sinclude override.m4.
14103 * configure: Regenerate.
14104
14105 2008-06-11 Bernhard Fischer <[email protected]>
14106
14107 * configure: Regenerate.
14108
14109 2008-06-10 Joseph Myers <[email protected]>
14110
14111 * Makefile.in (DECNUMINC): Remove
14112 -I$(MULTIBUILDTOP)../../libdecnumber.
14113 * gstdint.h: New.
14114
14115 2008-06-07 Joseph Myers <[email protected]>
14116
14117 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
14118 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
14119 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
14120 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
14121 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
14122 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
14123 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
14124 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
14125 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
14126 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
14127 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
14128 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
14129 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
14130 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
14131
14132 2008-05-25 Arthur Loiret <[email protected]>
14133
14134 * config.host (sh2[lbe]*-*-linux*): Allow target.
14135
14136 2008-04-30 Nathan Froyd <[email protected]>
14137
14138 * config/rs6000/t-ppccomm: Add build rules for new files.
14139 (LIB2ADD_ST): New variable.
14140
14141 2008-04-07 Andy Hutchinson <[email protected]>
14142
14143 PR target/34210
14144 PR target/35508
14145 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
14146 * config/t-avr: New file. Build 16bit libgcc functions.
14147
14148 2008-03-02 Jakub Jelinek <[email protected]>
14149
14150 PR target/35401
14151 * config/t-slibgcc-darwin: Make install-leaf dependent on
14152 install-darwin-libgcc-stubs instead of install.
14153
14154 2008-01-25 Joseph Myers <[email protected]>
14155
14156 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
14157 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
14158 sh-*-rtemscoff*): Remove cases.
14159
14160 2007-12-27 Richard Sandiford <[email protected]>
14161
14162 * Makefile.in (all): Use install-leaf rather than install.
14163 (install): Split most of the rule into...
14164 (install-leaf): ...this new one.
14165
14166 2007-12-19 Etsushi Kato <[email protected]>
14167 Paolo Bonzini <[email protected]>
14168
14169 PR target/30572
14170 * Makefile.in: Use @shlib_slibdir@ substitution to get
14171 correct install name on darwin.
14172 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
14173
14174 2007-12-15 Hans-Peter Nilsson <[email protected]>
14175
14176 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
14177 cris-*-elf and cris-*-none.
14178 (crisv32-*-linux*): Similar, as cris-*-linux*.
14179
14180 2007-11-20 Rask Ingemann Lambertsen <[email protected]>
14181
14182 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
14183
14184 2007-10-27 H.J. Lu <[email protected]>
14185
14186 PR regression/33926
14187 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
14188 * configure: Regenerated.
14189
14190 2007-09-27 H.J. Lu <[email protected]>
14191
14192 * Makefile.in (dfp-filenames): Replace decimal_globals,
14193 decimal_data, binarydecimal and convert_data with
14194 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
14195 and bid_convert_data, respectively.
14196
14197 2007-09-17 Chao-ying Fu <[email protected]>
14198 Nigel Stephens <[email protected]>
14199
14200 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
14201 * Makefile.in (fixed_point): Define.
14202 Check if fixed_point is yes to build support functions.
14203 * configure.ac: Check for fixed_point support.
14204 * configure: Regenerated.
14205 * gen-fixed.sh: New file to generate lists of fixed-point labels,
14206 funcs, modes, from, to.
14207
14208 2007-09-11 Janis Johnson <[email protected]
14209
14210 * Makefile.in (dfp-filenames): Add bid128_noncomp.
14211
14212 2007-09-10 Janis Johnson <[email protected]>
14213
14214 * Makefile.in (dfp-filenames): Remove decUtility, add
14215 decDouble, decPacked, decQuad, decSingle.
14216
14217 2007-08-27 Hans Kester <[email protected]>
14218
14219 * config.host : Add x86_64-elf target.
14220
14221 2007-07-06 H.J. Lu <[email protected]>
14222
14223 * configure.ac (set_have_cc_tls): Add a missing =.
14224 * configure: Regenerated.
14225
14226 2007-07-06 H.J. Lu <[email protected]>
14227
14228 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
14229 and x86_64-*-linux*.
14230
14231 * config/t-tls: New file.
14232
14233 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
14234
14235 * configure.ac: Include ../config/enable.m4 and
14236 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
14237 supports TLS and substitute set_have_cc_tls.
14238 * configure: Regenerated.
14239
14240 2007-07-04 H.J. Lu <[email protected]>
14241
14242 * Makefile.in: Use libbid for DFP when BID is enabled.
14243
14244 2007-06-14 Danny Smith <[email protected]>
14245
14246 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
14247 extra_parts. Add config/i386/t-cygming to tmake_file.
14248 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
14249
14250 2007-05-29 Zuxy Meng <[email protected]>
14251 Danny Smith <[email protected]>
14252
14253 PR target/29498
14254 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
14255 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
14256 * config/i386/t-crtfm: Compile crtfastmath.o with
14257 -minline-all-stringops.
14258
14259 2007-05-10 Richard Sandiford <[email protected]>
14260
14261 * config.host (sparc-wrs-vxworks): New target.
14262
14263 2007-04-14 Kazu Hirata <[email protected]>
14264
14265 * config.host: Recognize fido.
14266
14267 2007-04-04 Janis Johnson <[email protected]>
14268
14269 * configure: Check host, not target, for decimal float support.
14270
14271 2007-04-03 Uros Bizjak <[email protected]>
14272
14273 * config/i386/t-crtpc: New file.
14274 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
14275 (x86_64-*-linux*): Ditto.
14276
14277 2007-02-30 Kai Tietz <[email protected]>
14278
14279 * config.host (x86_64-*-mingw*): New target.
14280
14281 2007-03-23 Michael Meissner <[email protected]>
14282 H.J. Lu <[email protected]>
14283
14284 * Makefile.in (enable_decimal_float): New.
14285 (DECNUMINC): Add
14286 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
14287 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
14288 (decbits-filenames): This.
14289 (decbits-objects): New.
14290 (libgcc-objects): Add $(decbits-objects).
14291
14292 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
14293 Substitute enable_decimal_float.
14294 * configure: Regenerated.
14295
14296 2007-03-19 Hans-Peter Nilsson <[email protected]>
14297
14298 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
14299
14300 2007-03-12 Brooks Moses <[email protected]>
14301
14302 * Makefile.in (install-info): New dummy target.
14303
14304 2007-03-05 Bernd Schmidt <[email protected]>
14305
14306 * config.host (bfin*-linux-uclibc*): Set extra_parts.
14307
14308 2007-03-01 Brooks Moses <[email protected]>
14309
14310 * Makefile.in: Add install-html and install-pdf dummy
14311 targets.
14312
14313 2007-02-05 Roger Sayle <[email protected]>
14314 Daniel Jacobowitz <[email protected]>
14315
14316 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
14317 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
14318 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
14319
14320 2007-01-29 Janis Johnson <[email protected]>
14321
14322 * Makefile.in (dec-filenames): Add decExcept.
14323
14324 2007-01-28 Daniel Jacobowitz <[email protected]>
14325
14326 PR bootstrap/30469
14327 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
14328 -fprofile-use.
14329
14330 2007-01-25 Daniel Jacobowitz <[email protected]>
14331
14332 * configure.ac: Add --enable-version-specific-runtime-libs.
14333 Correct $slibdir default.
14334 * configure: Regenerated.
14335
14336 2007-01-23 Joseph Myers <[email protected]>
14337
14338 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
14339
14340 2007-01-21 Andrew Pinski <[email protected]>
14341
14342 PR target/30519
14343 * config.host (alpha*-*-linux*): Set extra_parts.
14344
14345 2007-01-09 Kaz Kojima <[email protected]>
14346
14347 * config/sh/t-linux: New.
14348 * config.host (sh*-*-linux*): Set tmake_file.
14349
14350 2007-01-05 Daniel Jacobowitz <[email protected]>
14351
14352 * Makefile.in (install): Handle multilibs.
14353
14354 2007-01-04 Brooks Moses <[email protected]>
14355
14356 * Makefile.in: Added .PHONY entry for documentation targets.
14357
14358 2007-01-04 Brooks Moses <[email protected]>
14359
14360 * Makefile.in: Add empty info, html, dvi, pdf targets.
14361
14362 2007-01-04 Mike Stump <[email protected]>
14363
14364 * Makefile.in (MAKEINFO): Remove.
14365 (PERL): Likewise.
14366
14367 2007-01-04 Paolo Bonzini <[email protected]>
14368
14369 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
14370 * configure: Regenerate.
14371 * Makefile.in (host_subdir): Substitute it.
14372 (gcc_objdir): Use it.
14373
14374 2007-01-04 Daniel Jacobowitz <[email protected]>
14375
14376 * config.host (ia64*-*-linux*): Set tmake_file.
14377
14378 2007-01-04 Daniel Jacobowitz <[email protected]>
14379
14380 * Makefile.in (version): Define.
14381
14382 2007-01-03 Daniel Jacobowitz <[email protected]>
14383 Paolo Bonzini <[email protected]>
14384
14385 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
14386 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
14387 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
14388 config/sparc/t-crtfm, config/t-slibgcc-darwin,
14389 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
14390 shared-object.mk, siditi-object.mk, static-object.mk: New files.
14391 * configure: Generated.
14392
14393 Copyright (C) 2007-2025 Free Software Foundation, Inc.
14394
14395 Copying and distribution of this file, with or without modification,
14396 are permitted in any medium without royalty provided the copyright
14397 notice and this notice are preserved.