1 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
3 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
4 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
5 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
6 (XSHAL_ABI): Remove stray symbols from macro definitions.
8 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
10 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
11 xtensa-config-builtin.h.
12 * config/xtensa/crtn.S: Likewise.
13 * config/xtensa/lib1funcs.S: Likewise.
14 * config/xtensa/lib2funcs.S: Likewise.
15 * config/xtensa/xtensa-config-builtin.h: New File.
17 2022-11-04 Florian Weimer <fweimer@redhat.com>
19 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
20 values actually used by BFD ld.
22 2022-10-23 LIU Hao <lh_mouse@126.com>
24 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
25 libobjc, instead of 'gthr.h'
27 2022-10-19 LIU Hao <lh_mouse@126.com>
29 * config.host: Add new cases for `mcf` thread model
30 * config/i386/gthr-mcf.h: New file
31 * config/i386/t-mingw-mcfgthread: New file
32 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
33 * configure: Regenerate
35 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
37 * Makefile.in: Quote variable.
39 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
41 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
43 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
44 _Unwind_Frames_Increment.
45 (_Unwind_ForcedUnwind_Phase2): Likewise.
46 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
47 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
48 return address on normal stack doesn't match the return address
51 2022-10-17 Florian Weimer <fweimer@redhat.com>
53 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
56 2022-10-14 Jakub Jelinek <jakub@redhat.com>
58 * config/i386/t-softfp (softfp_extensions): Add bfsf.
59 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
60 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
61 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
63 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
64 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
65 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
66 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
67 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
68 * soft-fp/brain.h: New file.
69 * soft-fp/truncsfbf2.c: New file.
70 * soft-fp/truncdfbf2.c: New file.
71 * soft-fp/truncxfbf2.c: New file.
72 * soft-fp/trunctfbf2.c: New file.
73 * soft-fp/trunchfbf2.c: New file.
74 * soft-fp/truncbfhf2.c: New file.
75 * soft-fp/extendbfsf2.c: New file.
77 2022-10-12 Martin Liska <mliska@suse.cz>
79 * libgcov-driver.c: Use new function.
80 * libgcov.h (gcov_write_summary): Rename to ...
81 (gcov_write_object_summary): ... this.
83 2022-10-11 Olivier Hainque <hainque@adacore.com>
85 * config.host (*vxworks*): When enable_shared, add
86 libgcc and crtstuff "shared" fragments for rtp except
88 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
89 the list of fragments.
91 2022-10-06 Jakub Jelinek <jakub@redhat.com>
93 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
94 fs->regs.how[X] instead of fs->regs.reg[X].how.
96 2022-10-06 Jakub Jelinek <jakub@redhat.com>
98 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
99 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
100 REG_UNDEFINED): New anonymous enum, moved from inside of
101 struct frame_state_reg_info.
102 (struct frame_state_reg_info): Remove reg[].how element and the
103 anonymous enum there. Add how element.
104 * unwind-dw2.c: Include stddef.h.
105 (uw_frame_state_for): Don't clear first
106 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
107 (execute_cfa_program, __frame_state_for, uw_update_context_1,
108 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
109 or fs.regs.how[X] instead of fs.regs.reg[X].how.
110 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
111 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
112 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
113 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
114 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
116 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
118 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
119 * config/arc/linux-unwind.h (arc_fallback_frame_state,
120 arc_frob_update_context): Likewise.
121 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
122 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
123 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
124 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
125 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
126 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
127 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
128 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
129 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
130 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
131 x86_fallback_frame_state): Likewise.
132 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
133 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
134 x86_fallback_frame_state): Likewise.
135 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
137 * config/i386/dragonfly-unwind.h
138 (x86_64_dragonfly_fallback_frame_state): Likewise.
139 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
140 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
141 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
143 * config/aarch64/freebsd-unwind.h
144 (aarch64_freebsd_fallback_frame_state): Likewise.
145 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
147 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
148 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
149 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
151 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
152 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
154 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
155 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
156 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
157 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
159 2022-10-02 Olivier Hainque <hainque@adacore.com>
161 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
162 -I options for gcc/include and gcc/include-fixed at the end
163 and make them -isystem.
165 2022-10-02 Olivier Hainque <hainque@adacore.com>
167 * config/gthr-vxworks.h: Prevent Wpragma warning for the
168 pragma diagnostics on Wstrict-prototypes.
170 2022-09-29 Olivier Hainque <hainque@adacore.com>
172 * config/vxcrtstuff.c: Improve the comment attached to the use
173 of auto-host.h and of __dso_handle. Remove redundant guard on
174 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
176 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
178 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
179 for the non-fast-path case. Drop destructor priority.
181 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
183 * unwind-dw2-fde.c: (release_register_frames) Remember
184 when the btree has been destroyed.
185 (__deregister_frame_info_bases) Disable the assert when
188 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
190 * unwind-dw2-fde.c: Replace uintptr_t with typedef
191 for __UINTPTR_TYPE__.
192 * unwind-dw2-btree.h: Likewise.
194 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
196 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
197 (__register_frame_info_table_bases): Use btree in atomic fast path.
198 (__deregister_frame_info_bases): Likewise.
199 (_Unwind_Find_FDE): Likewise.
200 (base_from_object): Make parameter const.
201 (classify_object_over_fdes): Add query-only mode.
202 (get_pc_range): Compute PC range for lookup.
203 * unwind-dw2-fde.h (last_fde): Make parameter const.
204 * unwind-dw2-btree.h: New file.
206 2022-08-31 Martin Liska <mliska@suse.cz>
208 * config.host: Remove hppa.
210 2022-08-30 Martin Liska <mliska@suse.cz>
212 * config.host: Remove the port.
214 2022-08-26 Martin Liska <mliska@suse.cz>
216 * config.host: Remove cr16 related stuff.
217 * config/cr16/crti.S: Removed.
218 * config/cr16/crtlibid.S: Removed.
219 * config/cr16/crtn.S: Removed.
220 * config/cr16/divmodhi3.c: Removed.
221 * config/cr16/lib1funcs.S: Removed.
222 * config/cr16/t-cr16: Removed.
223 * config/cr16/t-crtlibid: Removed.
224 * config/cr16/unwind-cr16.c: Removed.
225 * config/cr16/unwind-dw2.h: Removed.
227 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
229 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
230 (_FP_NANFRAC_H): Ditto.
231 (_FP_NANSIGN_H): Ditto.
232 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
234 (softfp_truncations): Ditto.
235 (softfp_extras): Ditto.
236 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
238 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
240 * soft-fp/fixhfdi.c: New.
241 * soft-fp/fixhfsi.c: Likewise.
242 * soft-fp/fixunshfdi.c: Likewise.
243 * soft-fp/fixunshfsi.c: Likewise.
244 * soft-fp/floatdihf.c: Likewise.
245 * soft-fp/floatsihf.c: Likewise.
246 * soft-fp/floatundihf.c: Likewise.
247 * soft-fp/floatunsihf.c: Likewise.
248 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
249 lines and update URL for license.
250 * soft-fp/addsf3.c: Likewise.
251 * soft-fp/addtf3.c: Likewise.
252 * soft-fp/divdf3.c: Likewise.
253 * soft-fp/divsf3.c: Likewise.
254 * soft-fp/divtf3.c: Likewise.
255 * soft-fp/double.h: Likewise.
256 * soft-fp/eqdf2.c: Likewise.
257 * soft-fp/eqhf2.c: Likewise.
258 * soft-fp/eqsf2.c: Likewise.
259 * soft-fp/eqtf2.c: Likewise.
260 * soft-fp/extenddftf2.c: Likewise.
261 * soft-fp/extended.h: Likewise.
262 * soft-fp/extendhfdf2.c: Likewise.
263 * soft-fp/extendhfsf2.c: Likewise.
264 * soft-fp/extendhftf2.c: Likewise.
265 * soft-fp/extendhfxf2.c: Likewise.
266 * soft-fp/extendsfdf2.c: Likewise.
267 * soft-fp/extendsftf2.c: Likewise.
268 * soft-fp/extendxftf2.c: Likewise.
269 * soft-fp/fixdfdi.c: Likewise.
270 * soft-fp/fixdfsi.c: Likewise.
271 * soft-fp/fixdfti.c: Likewise.
272 * soft-fp/fixhfti.c: Likewise.
273 * soft-fp/fixsfdi.c: Likewise.
274 * soft-fp/fixsfsi.c: Likewise.
275 * soft-fp/fixsfti.c: Likewise.
276 * soft-fp/fixtfdi.c: Likewise.
277 * soft-fp/fixtfsi.c: Likewise.
278 * soft-fp/fixtfti.c: Likewise.
279 * soft-fp/fixunsdfdi.c: Likewise.
280 * soft-fp/fixunsdfsi.c: Likewise.
281 * soft-fp/fixunsdfti.c: Likewise.
282 * soft-fp/fixunshfti.c: Likewise.
283 * soft-fp/fixunssfdi.c: Likewise.
284 * soft-fp/fixunssfsi.c: Likewise.
285 * soft-fp/fixunssfti.c: Likewise.
286 * soft-fp/fixunstfdi.c: Likewise.
287 * soft-fp/fixunstfsi.c: Likewise.
288 * soft-fp/fixunstfti.c: Likewise.
289 * soft-fp/floatdidf.c: Likewise.
290 * soft-fp/floatdisf.c: Likewise.
291 * soft-fp/floatditf.c: Likewise.
292 * soft-fp/floatsidf.c: Likewise.
293 * soft-fp/floatsisf.c: Likewise.
294 * soft-fp/floatsitf.c: Likewise.
295 * soft-fp/floattidf.c: Likewise.
296 * soft-fp/floattihf.c: Likewise.
297 * soft-fp/floattisf.c: Likewise.
298 * soft-fp/floattitf.c: Likewise.
299 * soft-fp/floatundidf.c: Likewise.
300 * soft-fp/floatundisf.c: Likewise.
301 * soft-fp/floatunditf.c: Likewise.
302 * soft-fp/floatunsidf.c: Likewise.
303 * soft-fp/floatunsisf.c: Likewise.
304 * soft-fp/floatunsitf.c: Likewise.
305 * soft-fp/floatuntidf.c: Likewise.
306 * soft-fp/floatuntihf.c: Likewise.
307 * soft-fp/floatuntisf.c: Likewise.
308 * soft-fp/floatuntitf.c: Likewise.
309 * soft-fp/gedf2.c: Likewise.
310 * soft-fp/gesf2.c: Likewise.
311 * soft-fp/getf2.c: Likewise.
312 * soft-fp/half.h: Likewise.
313 * soft-fp/ledf2.c: Likewise.
314 * soft-fp/lesf2.c: Likewise.
315 * soft-fp/letf2.c: Likewise.
316 * soft-fp/muldf3.c: Likewise.
317 * soft-fp/mulsf3.c: Likewise.
318 * soft-fp/multf3.c: Likewise.
319 * soft-fp/negdf2.c: Likewise.
320 * soft-fp/negsf2.c: Likewise.
321 * soft-fp/negtf2.c: Likewise.
322 * soft-fp/op-1.h: Likewise.
323 * soft-fp/op-2.h: Likewise.
324 * soft-fp/op-4.h: Likewise.
325 * soft-fp/op-8.h: Likewise.
326 * soft-fp/op-common.h: Likewise.
327 * soft-fp/quad.h: Likewise.
328 * soft-fp/single.h: Likewise.
329 * soft-fp/soft-fp.h: Likewise.
330 * soft-fp/subdf3.c: Likewise.
331 * soft-fp/subsf3.c: Likewise.
332 * soft-fp/subtf3.c: Likewise.
333 * soft-fp/truncdfhf2.c: Likewise.
334 * soft-fp/truncdfsf2.c: Likewise.
335 * soft-fp/truncsfhf2.c: Likewise.
336 * soft-fp/trunctfdf2.c: Likewise.
337 * soft-fp/trunctfhf2.c: Likewise.
338 * soft-fp/trunctfsf2.c: Likewise.
339 * soft-fp/trunctfxf2.c: Likewise.
340 * soft-fp/truncxfhf2.c: Likewise.
341 * soft-fp/unorddf2.c: Likewise.
342 * soft-fp/unordsf2.c: Likewise.
343 * soft-fp/unordtf2.c: Likewise.
345 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
347 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
348 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
351 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
353 * config.host: Removed tilegx and tilepro entries.
354 * config/tilegx/sfp-machine.h: Removed.
355 * config/tilegx/sfp-machine32.h: Removed.
356 * config/tilegx/sfp-machine64.h: Removed.
357 * config/tilegx/t-crtstuff: Removed.
358 * config/tilegx/t-softfp: Removed.
359 * config/tilegx/t-tilegx: Removed.
360 * config/tilepro/atomic.c: Removed.
361 * config/tilepro/atomic.h: Removed.
362 * config/tilepro/linux-unwind.h: Removed.
363 * config/tilepro/sfp-machine.h: Removed.
364 * config/tilepro/softdivide.c: Removed.
365 * config/tilepro/softmpy.S: Removed.
366 * config/tilepro/t-crtstuff: Removed.
367 * config/tilepro/t-tilepro: Removed.
369 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
371 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
372 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
374 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
377 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
379 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
382 * config/aarch64/lse-init.c: Increase constructor priority.
384 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
387 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
388 Handle the !REG_UNSAVED case.
389 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
391 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
393 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
394 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
395 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
397 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
399 * config.host: Add t-dfprules to AArch64 targets.
401 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
403 * configure: Regenerate.
405 2022-05-13 Sebastian Pop <spop@amazon.com>
408 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
409 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
411 2022-05-10 Martin Liska <mliska@suse.cz>
412 Hans-Peter Helfert <peter-helfert@t-online.de>
414 PR gcov-profile/105535
415 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
418 2022-05-02 Martin Liska <mliska@suse.cz>
420 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
422 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
424 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
425 (gcov_profile_merge_stream): Likewise.
427 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
429 * libgcov-util.c (consume_stream): New.
430 (get_target_profiles_for_merge): Likewise.
431 (gcov_profile_merge_stream): Likewise.
433 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
435 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
437 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
439 * libgcov-util.c (read_gcda_file): Do not open file.
440 (ftw_read_file): Open file here.
442 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
444 * libgcov-util.c (read_gcda_file): Prepend new info object to global
446 (ftw_read_file): Remove list append here.
448 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
450 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
451 (ftw_read_file): Duplicate filename for read_gcda_file().
453 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
455 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
456 (__gcov_filename_to_gcfn): Declare and document.
457 * libgcov-driver.c (dump_string): New.
458 (__gcov_filename_to_gcfn): Likewise.
459 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
461 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
463 * libgcov.h (gcov_seek): Remove define and declaration.
465 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
467 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
468 parameter. Pass mode to gcov_open() calls.
469 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
470 gcov_exit_open_gcda_file() call.
471 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
473 (__gcov_dump_one): Open file for reading and writing.
475 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
477 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
479 * libgcov-util.c (read_gcda_file): Open file for reading.
480 * libgcov.h (gcov_open): Delete declaration.
482 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
484 * libgcov-util.c (gcov_profile_merge): Return the list of merged
485 profiles. Accept empty target and source profile lists.
487 2022-04-08 Sergei Trofimovich <siarheit@google.com>
489 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
491 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
492 Lulu Cheng <chenglulu@loongson.cn>
494 * configure: Regenerate file.
496 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
497 Lulu Cheng <chenglulu@loongson.cn>
499 * config/loongarch/crtfastmath.c: New file.
500 * config/loongarch/linux-unwind.h: Like wise.
501 * config/loongarch/sfp-machine.h: Like wise.
502 * config/loongarch/t-crtstuff: Like wise.
503 * config/loongarch/t-loongarch: Like wise.
504 * config/loongarch/t-loongarch64: Like wise.
505 * config/loongarch/t-softfp-tf: Like wise.
506 * config.host: Add LoongArch tuples.
507 * configure.ac: Add LoongArch support.
509 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
512 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
514 (__udivsi3_internal, __divsi3_internal): Similarly.
515 (__umodsi3, __modsi3): Use the internal function names.
517 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
520 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
521 a line up to non-arg-dependent value first.
522 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
523 __atomic_compare_exchange_{1,2}.
525 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
527 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
528 * config/t-darwin-ehs: Add dependency on unwind.h.
530 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
532 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
533 with 0 instead of NULL.
535 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
538 * configure.ac: --disable-gcov if targetting bpf-*.
539 * configure: Regenerate.
541 2022-01-25 Florian Weimer <fweimer@redhat.com>
544 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
546 2022-01-17 Martin Liska <mliska@suse.cz>
548 * libgcov-driver.c: Rename .c names to .cc.
550 2022-01-15 David <gccbugzilla@limegreensocks.com>
552 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
553 Remove inlined version, Windows 95 is no longer relevant.
554 * config/i386/gthr-win32.h
555 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
557 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
559 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
560 DWARF_ALT_FRAME_RETURN_COLUMN macro.
562 2022-01-04 Florian Weimer <fweimer@redhat.com>
564 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
567 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
569 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
570 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
571 return is not equal _ASM_EFAULT.
572 (__kernel_cmpxchg2): Likewise.
574 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
576 * config.host: Add shim declaration header to powerpc*-darwin builds.
577 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
579 * config/t-darwin-ehs: Add dependencies to the shared unwinder
581 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
582 the shared EH lib. Add all-multi to the dependencies for the
583 libgcc_s.1.dylib redirections.
585 2021-12-13 Olivier Hainque <hainque@adacore.com>
587 * config.host (powerpc*-*-vxworks7*): Remove
588 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
590 2021-12-13 Olivier Hainque <hainque@adacore.com>
592 * config.host (*vxworks*): Remove special case for
593 arm on the use of vxcrtstuff.
595 2021-12-13 Fred Konrad <konrad@adacore.com>
596 Olivier Hainque <hainque@adacore.com>
598 * config/t-vxcrtstuffS: New Makefile fragment.
599 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
600 functions for INITFINI_ARRAY support in shared libs and guard
601 the definition of eh table registration functions on conditions
602 indicating they are needed.
604 2021-12-13 Olivier Hainque <hainque@adacore.com>
606 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
607 ahead of the other files in tmake_files.
608 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
611 2021-12-13 Olivier Hainque <hainque@adacore.com>
613 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
614 both VxWorks7 and earlier.
615 * config/t-vxworks7: Remove.
616 * config.host: Remove special case for vxworks7.
618 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
620 * config/vxcrtstuff.c: Make constructor and destructor
621 functions static when possible.
623 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
625 * config/vxcrtstuff.c: Remove constructor/destructor
628 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
630 * config/t-darwin: Add libgcc_tm.h to the dependencies
631 for darwin10-unwind-find-enc-func.
633 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
635 * config/rs6000/t-vxworks: New file.
636 * config.host (powerpc*-*-vxworks*): Use it instead of
639 2021-12-09 Fred Konrad <konrad@adacore.com>
641 * config.host (powerpc*-wrs-vxworks7*): Fix path to
642 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
644 2021-12-09 Olivier Hainque <hainque@adacore.com>
645 Rasmus Villemoes <rv@rasmusvillemoes.dk>
647 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
649 * config/t-vxworks7: Likewise.
651 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
653 * config.host (*-*-darwin*): Add logic to build a shared
654 unwinder library for Darwin8-10.
655 * config/i386/t-darwin: Build legacy libgcc_s.1.
656 * config/rs6000/t-darwin: Likewise.
657 * config/t-darwin: Reorganise the EH fragments to place
658 them for inclusion in a shared EH lib.
659 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
660 the supporting pieces (all FAT libs).
661 * config/t-darwin-noeh: Removed.
662 * config/darwin-unwind.ver: New file.
663 * config/rs6000/t-darwin-ehs: New file.
664 * config/t-darwin-ehs: New file.
666 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
668 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
669 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
670 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
673 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
675 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
676 ssize_t and vfork after including auto-host.h.
678 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
680 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
681 crtend.o to extra_parts.
683 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
685 * config/pa/t-dimode (lib2difuncs): Fix typo.
687 2021-11-25 Florian Weimer <fweimer@redhat.com>
689 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
691 (find_fde_tail): New function. Split from
692 _Unwind_IteratePhdrCallback. Move the result initialization
693 from _Unwind_Find_FDE.
694 (_Unwind_Find_FDE): Updated to call find_fde_tail.
696 2021-11-22 Florian Weimer <fweimer@redhat.com>
698 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
699 (struct unw_eh_callback_data): Make dbase member conditional.
700 (unw_eh_callback_data_dbase): New function.
701 (base_from_cb_data): Simplify for the non-dbase case.
702 (_Unwind_IteratePhdrCallback): Adjust.
703 (_Unwind_Find_FDE): Likewise.
705 2021-11-22 Florian Weimer <fweimer@redhat.com>
707 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
709 (base_from_cb_data): Adjust.
710 (_Unwind_IteratePhdrCallback): Likewise.
711 (_Unwind_Find_FDE): Likewise.
713 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
715 * config.host: Add weak emutls crt to the extra_parts.
716 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
718 * config/libgcc-libsystem.ver: Add exclude list for the system-
720 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
721 * config/i386/libgcc-darwin.10.4.ver: Removed.
722 * config/i386/libgcc-darwin.10.5.ver: Removed.
723 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
724 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
725 * config/t-darwin-noeh: New file.
727 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
729 * config/t-darwin: Build weak-defined emutls objects.
730 * emutls.c (__emutls_get_address): Add optional attributes.
731 (__emutls_register_common): Likewise.
734 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
737 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
738 called with a null argument or at the end of the backtrace and return.
739 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
741 2021-11-10 Jakub Jelinek <jakub@redhat.com>
743 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
746 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
748 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
749 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
751 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
754 * config.host (hppa*64*-*-linux*): Revise tmake_file.
755 (hppa*64*-*-hpux11*): Likewise.
756 * config/pa/sfp-exceptions.c: New.
757 * config/pa/sfp-machine.h: New.
758 * config/pa/t-dimode: New.
759 * config/pa/t-softfp-sfdftf: New.
761 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
763 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
765 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
766 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
767 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
768 * config/pa/t-linux64 (LIB1ASMSRC): New define.
769 (LIB1ASMFUNCS): Revise.
770 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
772 2021-10-22 Stafford Horne <shorne@gmail.com>
774 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
777 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
779 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
780 outside of get_regs() in order to use it in another function, this
781 is done twice: for __powerpc64__ and for !__powerpc64__.
782 (struct trace_arg): New struct.
783 (struct layout): New struct.
784 (ppc_backchain_fallback): New function.
785 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
786 state and call MD_BACKCHAIN_FALLBACK.
788 2021-10-13 Martin Liska <mliska@suse.cz>
790 PR gcov-profile/90364
791 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
793 (write_one_data): Write also checksum.
794 * libgcov-util.c (read_gcda_file): Read also checksum field.
795 * libgcov.h (struct gcov_info): Add new field.
797 2021-10-08 Ian Lance Taylor <iant@golang.org>
799 * config/i386/morestack.S: Use .init_array for constructor if
801 * config/rs6000/morestack.S: Likewise.
802 * config/s390/morestack.S: Likewise.
804 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
807 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
808 Use more correct values for native IBM 128-bit.
810 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
812 * config/i386/libgcc-darwin.ver: Add Symbols for
813 __cpu_model, __cpu_indicator_init.
815 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
817 * config/i386/sfp-machine.h: Guard Mach-O-specific code
820 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
822 * config/t-slibgcc-darwin: Delete unused code.
824 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
826 * config/i386/t-darwin: Add in a vers file for X86-specific
828 * config/t-darwin: Add the generic symbol maps here...
829 * config/t-slibgcc-darwin: ... removing from here.
830 * config/i386/libgcc-darwin.ver: New file.
832 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
834 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
837 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
839 * config.host: Use convenience library for Darwin10
841 * config/t-darwin: Build Darwin10 unwinder shim as a
844 2021-09-13 Andrew Pinski <apinski@marvell.com>
846 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
847 * config/m32r/libgcc-glibc.ver: Removed.
848 * config/m32r/t-linux: Removed.
850 2021-09-08 liuhongt <hongtao.liu@intel.com>
852 * config/i386/t-softfp: Compile __{mul,div}hc3 into
855 2021-09-08 Jakub Jelinek <jakub@redhat.com>
856 Iain Sandoe <iain@sandoe.co.uk>
858 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
859 and export *hf* and *hc* functions at GCC_12.0.0.
861 2021-09-06 liuhongt <hongtao.liu@intel.com>
863 * Makefile.in: Adjust to support specific CFLAGS for each
865 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
866 related libgcc source files.
867 * config/i386/t-softfp: Ditto.
868 * config/i386/_divhc3.c: New file.
869 * config/i386/_mulhc3.c: New file.
871 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
873 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
874 alias_DFtype, alias_TFtype): New.
875 (ALIAS_SELECTOR): New.
876 (strong_alias): Use __typeof and a _Generic selector to
877 provide the type to the synthesized function.
879 2021-09-02 liuhongt <hongtao.liu@intel.com>
881 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
882 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
883 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
884 * config/i386/t-softfp: Add hf soft-fp.
885 * config.host: Add i386/64/t-softfp.
886 * config/i386/64/t-softfp: New file.
888 2021-09-02 liuhongt <hongtao.liu@intel.com>
890 * soft-fp/eqhf2.c: New file.
891 * soft-fp/extendhfdf2.c: New file.
892 * soft-fp/extendhfsf2.c: New file.
893 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
894 * soft-fp/truncdfhf2.c: New file
895 * soft-fp/truncsfhf2.c: New file
897 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
899 * unwind-arm-common.inc (abort): Remove.
901 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
903 * config/aarch64/value-unwind.h: Add missing runtime exception
905 * config/frv/frv-abi.h: Likewise.
906 * config/i386/value-unwind.h: Likewise.
907 * config/pa/pa64-hpux-lib.h: Likewise.
909 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
911 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
913 (__gcc_qadd): Call ldouble_qadd_internal.
914 (__gcc_qsub): Call ldouble_qadd_internal with second long double
917 2021-08-26 Jonathan Yong <10walls@gmail.com>
919 * config/i386/cygming-crtend.c: Fix register_frame_ctor
920 and register_frame_dtor warnings.
922 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
925 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
926 Add vlldm erratum work-around.
928 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
930 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
932 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
934 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
935 (gcov_type_unsigned): Likewise.
937 2021-08-14 Stafford Horne <shorne@gmail.com>
940 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
941 * config/or1k/t-crtstuff: New file.
943 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
945 * libgcov-driver.c (#include <stdint.h>): Remove.
946 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
948 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
950 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
951 * gcov.h (gcov_info): Declare.
952 (__gcov_info_to_gdca): Likewise.
953 * libgcov.h (gcov_write_counter): Remove.
954 (gcov_write_tag_length): Likewise.
955 * libgcov-driver.c (#include <stdint.h>): New.
956 (#include <string.h>): Remove.
957 (NEED_L_GCOV): Conditionally define.
958 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
959 (are_all_counters_zero): New.
960 (gcov_dump_handler): Likewise.
961 (gcov_allocate_handler): Likewise.
962 (dump_unsigned): Likewise.
963 (dump_counter): Likewise.
964 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
965 Use dump_unsigned() and dump_counter().
966 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
967 dump_unsigned(), dump_counter(), and are_all_counters_zero().
968 (__gcov_info_to_gcda): New.
970 2021-08-05 Jakub Jelinek <jakub@redhat.com>
972 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
973 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
974 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
975 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
977 2021-08-04 Jakub Jelinek <jakub@redhat.com>
979 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
981 2021-07-15 Alan Modra <amodra@gmail.com>
983 * config/rs6000/morestack.S (R2_SAVE): Define.
984 (__morestack): Save and restore r2. Set up r2 for called
987 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
989 * soft-fp/extendhfxf2.c: New file.
990 * soft-fp/truncxfhf2.c: Likewise.
992 2021-06-29 Julian Brown <julian@codesourcery.com>
994 * config/gcn/lib2-bswapti2.c: New file.
995 * config/gcn/lib2-divmod-di.c: New file.
996 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
998 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
999 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1002 2021-06-29 Julian Brown <julian@codesourcery.com>
1004 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1005 return types to USItype.
1006 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1008 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
1010 * configure: Regenerate.
1011 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1012 typos among the name, CFLAGS and the test.
1013 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1014 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1016 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1017 macro FLOAT128_HW_INSNS_ISA3_1.
1018 (FP128_3_1_CFLAGS_HW): Fix option typo.
1019 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1020 FLOAT128_HW_INSNS_ISA3_1.
1021 (__floattikf_resolve): Likewise.
1022 (__floatuntikf_resolve): Likewise.
1023 (__fixkfti_resolve): Likewise.
1024 (__fixunskfti_resolve): Likewise.
1025 (__floattikf): Likewise.
1026 (__floatuntikf): Likewise.
1027 (__fixkfti): Likewise.
1028 (__fixunskfti): Likewise.
1030 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1033 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1035 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1036 on passing -mcmse option.
1038 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1040 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1043 2021-06-09 Carl Love <cel@us.ibm.com>
1045 * config.host: Add if test and set for
1046 libgcc_cv_powerpc_3_1_float128_hw.
1047 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1048 Change calls of __fixkfti to __fixkfti_sw.
1049 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1050 Change calls of __fixunskfti to __fixunskfti_sw.
1051 * config/rs6000/float128-p10.c (__floattikf_hw,
1052 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1053 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1054 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1055 __fixunskfti_resolve): Add resolve functions.
1056 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1057 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1058 __fixtfti, __fixunstfti): Add editor commands to change names.
1059 * config/rs6000/float128-sed-hw (__floattitf,
1060 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1062 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1063 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1064 * config/rs6000/quad-float128.h (__floattikf_sw,
1065 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1066 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1067 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1068 * config/rs6000/t-float128 (floattikf, floatuntikf,
1069 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1070 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1071 file names to fp128_ppc_funcs.
1072 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1073 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1074 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1075 * config/rs6000/t-float128-p10-hw: New file.
1076 * configure: Update script for isa 3.1 128-bit float support.
1077 * configure.ac: Add check for 128-bit float hardware support.
1078 * config/rs6000/fixkfti-sw.c: New file.
1079 * config/rs6000/fixunskfti-sw.c: New file.
1080 * config/rs6000/floattikf-sw.c: New file.
1081 * config/rs6000/floatuntikf-sw.c: New file.
1083 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1085 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1087 2021-05-13 Martin Liska <mliska@suse.cz>
1089 * libgcov-driver.c: Fix GNU coding style.
1091 2021-05-10 Martin Liska <mliska@suse.cz>
1093 * libgcov-driver.c (gcov_version): Use different name that does
1094 not clash with newly introduced macro.
1096 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1098 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1099 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1100 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1102 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1104 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1106 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1107 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1109 (__divkc3): Improve complex divide.
1111 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
1114 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1115 trampoline size comparison in 32-bit by reversing test and
1116 combining load immediate with compare.
1117 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1118 in 32-bit by reversing test and combining load immediate with
1121 2021-04-05 Florian Weimer <fweimer@redhat.com>
1122 Michael Meissner <meissner@linux.ibm.com>
1124 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1125 point functions for $(decimal_float) only.
1127 2021-04-03 Jakub Jelinek <jakub@redhat.com>
1130 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1131 $(objext) instead of $(object). Use _floatunditf instead of
1132 _floatunsditf. Add tf <-> ti conversion objects.
1133 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1135 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
1137 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1138 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1139 (fp128_decstr_objs): Delete.
1140 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1141 _Float128 to a Decimal type. Call __strtoieee128 to do
1142 conversions from a Decimal type to _Float128.
1143 * config/rs6000/_sprintfkf.c: Delete file.
1144 * config/rs6000/_sprintfkf.h: Delete file.
1145 * config/rs6000/_strtokf.c: Delete file.
1146 * config/rs6000/_strtokf.h: Delete file.
1148 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1150 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1153 2021-03-06 Jakub Jelinek <jakub@redhat.com>
1155 PR gcov-profile/99406
1156 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1157 defined, define these macros if not defined already.
1159 2021-03-04 Martin Liska <mliska@suse.cz>
1161 PR gcov-profile/99105
1162 * libgcov-driver.c (write_top_counters): Rename to ...
1163 (write_topn_counters): ... this.
1164 (write_one_data): Pre-allocate buffer for number of items
1165 in the corresponding linked lists.
1166 * libgcov.h (malloc_mmap): New function.
1167 (allocate_gcov_kvp): Use it.
1169 2021-03-04 Martin Liska <mliska@suse.cz>
1171 PR gcov-profile/99385
1172 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1174 2021-03-03 Martin Liska <mliska@suse.cz>
1176 PR gcov-profile/97461
1177 * config.in: Regenerate.
1178 * configure: Likewise.
1179 * configure.ac: Check sys/mman.h header file
1180 * libgcov-driver.c (struct gcov_kvp): Remove static
1181 pre-allocated pool and use a dynamic one.
1182 * libgcov.h (MMAP_CHUNK_SIZE): New.
1183 (gcov_counter_add): Use mmap to allocate pool for struct
1186 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
1188 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1190 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1192 2021-02-24 Jakub Jelinek <jakub@redhat.com>
1195 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1196 negation of m in unsigned type.
1198 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1199 Hau Hsu <hsuhau617@gmail.com>
1202 * config/arm/t-arm: Fix cmse support detection.
1204 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1206 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1208 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1210 * config/rs6000/_dd_to_kf.c: New file.
1211 * config/rs6000/_kf_to_dd.c: New file.
1212 * config/rs6000/_kf_to_sd.c: New file.
1213 * config/rs6000/_kf_to_td.c: New file.
1214 * config/rs6000/_sd_to_kf.c: New file.
1215 * config/rs6000/_sprintfkf.c: New file.
1216 * config/rs6000/_sprintfkf.h: New file.
1217 * config/rs6000/_strtokf.h: New file.
1218 * config/rs6000/_strtokf.c: New file.
1219 * config/rs6000/_td_to_kf.c: New file.
1220 * config/rs6000/quad-float128.h: Add new declarations.
1221 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1222 (fp128_decstr_funcs): New macro.
1223 (ibm128_dec_funcs): New macro.
1224 (fp128_ppc_funcs): Add the new conversions.
1225 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1226 compiled with -mabi=ieeelongdouble.
1227 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1228 compiled with -mabi=ibmlongdouble.
1229 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1230 compiled with -mabi=ieeelongdouble.
1231 (FP128_CFLAGS_DECIMAL): New macro.
1232 (IBM128_CFLAGS_DECIMAL): New macro.
1233 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1234 (BFP_TO_DFP): Add PowerPC _Float128 support.
1235 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1236 IEEE 128-bit floating point.
1237 (DFP_TO_BFP): Add PowerPC _Float128 support.
1238 (BFP_TO_DFP): Add PowerPC _Float128 support.
1239 (BFP_SPRINTF): New macro.
1241 2021-01-27 Jakub Jelinek <jakub@redhat.com>
1243 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1244 * config/i386/savms64f.h: Likewise.
1245 * config/i386/resms64.h: Likewise.
1246 * config/i386/resms64f.h: Likewise.
1247 * config/i386/resms64x.h: Likewise.
1248 * config/i386/resms64fx.h: Likewise.
1250 2021-01-26 Martin Liska <mliska@suse.cz>
1252 PR gcov-profile/98739
1253 * libgcov.h (gcov_topn_add_value): Do not train when
1254 we have a merged profile with a negative number of total
1257 2021-01-25 Martin Liska <mliska@suse.cz>
1259 PR gcov-profile/98739
1260 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1261 ends with a dropped counter.
1262 * libgcov.h (gcov_topn_add_value): Add return value.
1264 2021-01-13 Stafford Horne <shorne@gmail.com>
1266 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1267 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1268 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1269 FP_EX_ALL): New constant macros.
1270 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1271 FP_HANDLE_EXCEPTIONS): New macros.
1272 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1274 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1276 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1277 posix siginfo case to struct handler_args. Detect between legacy
1278 and siginfo from the second parameter, which is a small sigcode in
1279 the legacy case, and a pointer in the siginfo case.
1281 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1283 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1285 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1288 2020-12-08 Ian Lance Taylor <iant@golang.org>
1290 * generic-morestack-thread.c (free_segments): Block signals during
1293 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
1297 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1298 (IBM128_SHARED_OBJS): New make variable.
1299 (IBM128_OBJS): New make variable. Set all objects to use the
1300 explicit IBM format, and disable gnu attributes.
1301 (IBM128_CFLAGS): New make variable.
1302 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1305 2020-12-03 Alexandre Oliva <oliva@adacore.com>
1307 * config/t-vxworks (LIB2ADD): Drop.
1308 * config/t-vxworks7 (LIB2ADD): Likewise.
1309 * config/vxcache.c: Remove.
1311 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1313 * libgcc2.c (bswapsi2): Make constants unsigned.
1315 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1317 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1318 builtin_add_overflow.
1319 (absvsi2, absvDI2): Likewise.
1321 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1323 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1324 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1326 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1328 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1329 (if MUL_32): Use mult64_hw for __muldi3.
1330 (if MUL_F5): Use mult64_hw for __muldi3.
1331 * config/msp430/lib2mul.c (__muldi3): New.
1332 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1334 2020-11-17 Alan Modra <amodra@gmail.com>
1336 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1337 (LIB2_SIDITI_CONV_FUNCS): Define.
1338 * config/rs6000/ppc64-fp.c: Delete file.
1340 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1342 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1343 hwmult library functions.
1345 2020-11-10 Jeff Law <law@redhat.com>
1347 * libgcc2.c: Fix whitespace issues in most recent change.
1349 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1351 * libgcc2.c (__addvSI3): Use overflow builtins.
1352 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1353 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1354 (__negvsi2, __negvDI2): Likewise.
1355 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1357 * libgcc2.h (__ucmpdi2): Adjust prototype.
1359 2020-11-03 Pat Bernardi <bernardi@adacore.com>
1360 Olivier Hainque <hainque@adacore.com>
1362 * config.host (aarch64-vxworks7*, tmake_file): Add
1363 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1365 2020-11-03 Martin Storsjö <martin@martin.st>
1367 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1368 before calling the callback.
1370 2020-10-30 Olivier Hainque <hainque@adacore.com>
1371 Douglas Rupp <rupp@adacore.com>
1372 Pat Bernardi <bernardi@adacore.com>
1374 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1375 to apply to VxWorks 7 as well.
1377 2020-10-29 Olivier Hainque <hainque@adacore.com>
1379 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1380 controlling the definition of VX_ENTER_TLS_DTOR and
1381 VX_LEAVE_TLS_DTOR based on a version major check.
1383 2020-10-29 Olivier Hainque <hainque@adacore.com>
1385 * config/gthr-vxworks-thread.c: Fix name of macro used
1386 to condition the inclusion of an actual implementation.
1388 2020-10-27 Martin Liska <mliska@suse.cz>
1390 PR gcov-profile/97461
1391 * libgcov.h (gcov_counter_add): Use first static counters
1392 as it should help to have malloc wrappers set up.
1394 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1396 * config/gthr-vxworks-thread.c: #include gthr.h before
1397 testing the guard defined there.
1398 * config/gthr-vxworks-cond.c: Likewise.
1400 2020-10-21 Douglas Rupp <rupp@adacore.com>
1401 Olivier Hainque <hainque@adacore.com>
1403 * config.host (powerpc*-wrs-vxworks7*): New case.
1404 * configure.ac: Handle powerpc*-*-vxworks7* as
1405 powerpc*-*-linux* for ppc-fp_type.
1406 * configure: Regenerate.
1408 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1410 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1411 section on VxWorks >= 6.
1412 * config/gthr-vxworks-thread.c: Condition the entire
1413 implementation on __GTHREAD_CXX0X.
1415 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1417 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1418 section on VxWorks >= 6.
1419 * config/gthr-vxworks-cond.c: Condition the entire
1420 implementation on __GTHREAD_HAS_COND.
1422 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1424 * config/gthr-vxworks.c: #include <taskLib.h>.
1426 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1428 * config/gthr-vxworks.h: Rewrite remaining occurrence
1429 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1431 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1432 Olivier Hainque <hainque@adacore.com>
1434 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1435 except on VxWorks 6.
1437 2020-10-16 Olivier Hainque <hainque@adacore.com>
1439 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1441 2020-10-14 Alexandre Oliva <oliva@adacore.com>
1443 * config/gthr-vxworks-thread.c: Include stdlib.h.
1444 (tls_delete_hook): Prototype it.
1445 (__gthread_cond_signal): Return early if no waiters. Consume
1446 signal in case the semaphore got full. Use semInfoGet instead
1447 of kernel-mode-only semInfo.
1448 (__gthread_cond_timedwait): Use semExchange. Always take the
1449 mutex again before returning.
1450 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1452 2020-10-14 Olivier Hainque <hainque@adacore.com>
1454 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1455 $(MULTISUBDIR) to the -I path for fixed headers, as we
1456 arrange to have different sets of such headers for different
1457 multilibs when they are activated.
1458 * config/t-vxworks7: Likewise.
1460 2020-10-14 Olivier Hainque <hainque@adacore.com>
1462 * config/t-vxworks: Add include-fixed to include search
1463 paths for libgcc on VxWorks.
1464 * config/t-vxworks7: Likewise.
1466 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
1469 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1470 instead of <cetintrin.h>.
1472 2020-10-01 Alan Modra <amodra@gmail.com>
1474 * config/rs6000/morestack.S,
1475 * config/rs6000/tramp.S: Support __PCREL__ code.
1477 2020-10-01 Alan Modra <amodra@gmail.com>
1479 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1481 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
1483 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1486 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1488 * config/aarch64/libgcc-softfp.ver: New file.
1489 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1491 2020-09-27 Clement Chigot <clement.chigot@atos.net>
1493 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1495 2020-09-22 Sergei Trofimovich <siarheit@google.com>
1497 PR gcov-profile/96913
1498 * libgcov-driver.c (write_one_data): Avoid function pointer
1499 comparison in TOP streaming decision.
1501 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1502 Christophe Lyon <christophe.lyon@linaro.org>
1504 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1506 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1507 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1510 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1512 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1513 unused variable warning.
1515 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
1517 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1519 2020-09-09 Tom de Vries <tdevries@suse.de>
1521 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1522 Wbuiltin-declaration-mismatch.
1524 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1526 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1527 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1528 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1530 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1532 * config/nvptx/atomic.c: New.
1533 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1535 2020-08-03 Ian Lance Taylor <iant@golang.org>
1537 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1539 2020-08-03 Jakub Jelinek <jakub@redhat.com>
1542 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1543 of x(tmp0), x(tmp1) in STXP arguments.
1545 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
1547 * config/riscv/save-restore.S [__riscv_xlen == 64]
1548 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1549 (__riscv_save_2): Replace negative immediates used for the final
1550 stack pointer adjustment with positive ones, right-shifted by 4.
1552 2020-07-31 Martin Liska <mliska@suse.cz>
1554 * libgcov-driver.c: Add __gcov_kvp_pool
1555 and __gcov_kvp_pool_index variables.
1556 * libgcov.h (allocate_gcov_kvp): New.
1557 (gcov_topn_add_value): Use it.
1559 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1561 * config/aarch64/lse.S: Add PAC property note.
1563 2020-07-23 Martin Liska <mliska@suse.cz>
1565 PR gcov-profile/96035
1566 * libgcov-driver-system.c: Create gcov folders with 0777
1567 so that it respects a system umask.
1569 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
1571 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1573 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1576 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1577 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1578 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1579 (MD_DEMANGLE_RETURN_ADDR): This.
1580 (aarch64_post_extract_frame_addr): Rename to ...
1581 (aarch64_demangle_return_addr): This.
1582 (aarch64_post_frob_eh_handler_addr): Remove.
1583 * unwind-dw2.c (uw_update_context): Demangle return address.
1584 (uw_frob_return_addr): Remove.
1586 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1589 * config/aarch64/lse.S: Add BTI marking and related definitions,
1590 and add BTI c to function entries.
1592 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1594 * config/aarch64/lse.S: Add stack note.
1596 2020-07-02 Martin Liska <mliska@suse.cz>
1598 PR gcov-profile/95348
1599 * libgcov-driver.c (merge_one_data): Merge only profiles
1600 that are not of non-zero type.
1601 (write_one_data): Write counters only if there's one non-zero
1603 * libgcov-util.c (tag_function): Change signature from unsigned
1605 (tag_blocks): Likewise.
1606 (tag_arcs): Likewise.
1607 (tag_counters): Likewise.
1608 (tag_summary): Likewise.
1609 (tag_lines): Read only if COUNTERS is non-zero.
1610 (read_gcda_file): Handle negative length for COUNTERS type.
1612 2020-06-25 Martin Liska <mliska@suse.cz>
1614 * libgcov-driver.c (merge_summary): Remove function as its name
1615 is misleading and doing something different.
1616 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1618 * libgcov-util.c (curr_object_summary): Remove.
1619 (read_gcda_file): Remove unused curr_object_summary.
1620 (gcov_merge): Merge summaries.
1621 * libgcov.h: Add summary argument for gcov_info struct.
1623 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
1626 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1627 "common/config/i386/i386-cpuinfo.h" and
1628 "common/config/i386/cpuinfo.h".
1629 (__cpu_features2): Changed to array.
1630 (get_amd_cpu): Removed.
1631 (get_intel_cpu): Likewise.
1632 (get_available_features): Likewise.
1633 (__cpu_indicator_init): Call cpu_indicator_init.
1634 * config/i386/cpuinfo.h: Removed.
1636 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
1638 * Makefile.in: Remove uses of empty.mk. Use -include.
1639 * config/avr/t-avr: Use -include.
1642 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
1644 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1645 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1646 and 64 bit with -maix64.
1647 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1648 Build and install AIX-style FAT libraries.
1650 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1652 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1654 * config/i386/gnu-unwind.h: New file.
1656 2020-06-17 Martin Liska <mliska@suse.cz>
1658 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1659 (merge_wrapper): Add both counts and use them properly.
1660 (topn_to_memory_representation): New function.
1661 (gcov_merge): Covert on disk representation to in memory
1663 * libgcov.h: Remove const operator.
1665 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1667 * configure: Regenerate.
1668 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1669 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1671 2020-06-09 Martin Liska <mliska@suse.cz>
1673 PR gcov-profile/95494
1674 * libgcov-driver.c (write_top_counters): Cast first to
1675 intptr_t as sizeof(*) != sizeof(gcov_type).
1676 * libgcov.h (gcov_counter_set_if_null): Remove.
1677 (gcov_topn_add_value): Cast first to intptr_t and update
1678 linked list directly.
1680 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1682 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1683 with uw_install_context_1.
1685 2020-06-04 Andreas Schwab <schwab@suse.de>
1689 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1691 (LIB2ADD): Add config/ia64/divtf3.c.
1692 * config/ia64/divtf3.c: New file.
1694 2020-06-03 Martin Liska <mliska@suse.cz>
1696 PR gcov-profile/95480
1697 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1698 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1699 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1700 (gcov_counter_set_if_null): Likewise.
1702 2020-06-02 Jim Wilson <jimw@sifive.com>
1704 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1707 2020-06-02 Martin Liska <mliska@suse.cz>
1709 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1712 2020-06-02 Martin Liska <mliska@suse.cz>
1714 * libgcov-driver.c (prune_topn_counter): Remove.
1715 (prune_counters): Likewise.
1716 (merge_one_data): Special case TOP N counters
1717 as they have variable length.
1718 (write_top_counters): New.
1719 (write_one_data): Special case TOP N.
1720 (dump_one_gcov): Do not prune TOP N counters.
1721 * libgcov-merge.c (merge_topn_values_set): Remove.
1722 (__gcov_merge_topn): Use gcov_topn_add_value.
1723 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1725 * libgcov.h (gcov_counter_add): New.
1726 (gcov_counter_set_if_null): Likewise.
1727 (gcov_topn_add_value): New.
1729 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1731 * config/i386/sfp-exceptions.c (struct fenv):
1732 Add __attribute__ ((gcc_struct)).
1734 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
1737 * configure: Regenerated.
1739 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1741 PR gcov-profile/95332
1742 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1743 * libgcov.h (gcov_magic): Disable GCC poison.
1745 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1748 * config/i386/cpuinfo.h (processor_features): Move
1749 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1751 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1754 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1757 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1761 * config/i386/cpuinfo.c (get_available_features): Fix
1762 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1763 * config/i386/cpuinfo.h (processor_features): Add
1764 FEATURE_AVX512VP2INTERSECT.
1766 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1769 * configure: Regenerated.
1771 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1773 * configure: Regenerated.
1775 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
1777 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1778 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1780 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1782 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1783 (__math_force_eval_div): New define.
1784 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1785 generic division to generate INVALID, DIVZERO and INEXACT
1788 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1790 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1791 instead of getauxval.
1793 (HWCAP_ATOMICS): Define.
1794 Guard detection on __gnu_linux__.
1796 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
1798 * config.host: Delete changes meant for a private branch.
1799 * config/rs6000/t-float128: Likewise.
1800 * configure.ac: Likewise.
1801 * configure: Likewise.
1803 2020-05-05 Martin Liska <mliska@suse.cz>
1805 PR gcov-profile/93623
1806 * Makefile.in: Remove __gcov_flush.
1807 * gcov.h (__gcov_flush): Remove.
1808 * libgcov-interface.c (__gcov_flush): Remove.
1809 (init_mx): Use renamed mutex.
1810 (__gcov_lock): Likewise.
1811 (__gcov_unlock): Likewise.
1812 (__gcov_fork): Likewise.
1813 (__gcov_flush): Remove.
1815 2020-05-05 Martin Liska <mliska@suse.cz>
1817 PR gcov-profile/93623
1818 * libgcov-interface.c (__gcov_fork): Do not flush
1819 and reset only in child process.
1820 (__gcov_execl): Dump counters only and reset them
1821 only if exec* fails.
1822 (__gcov_execlp): Likewise.
1823 (__gcov_execle): Likewise.
1824 (__gcov_execv): Likewise.
1825 (__gcov_execvp): Likewise.
1826 (__gcov_execve): Likewise.
1828 2020-05-05 Martin Liska <mliska@suse.cz>
1830 PR gcov-profile/93623
1831 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1832 * libgcov-interface.c (ALIAS_void_fn): Remove.
1834 (__gcov_unlock): New.
1835 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1836 (__gcov_reset): Likewise.
1837 (__gcov_dump): Likewise.
1838 * libgcov.h (__gcov_lock): New declaration.
1839 (__gcov_unlock): Likewise.
1841 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1843 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1844 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1845 generic division to generate INVALID and DIVZERO exceptions.
1847 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1849 * config/rs6000/crtresfpr.S: Use .machine ppc.
1850 * config/rs6000/crtresxfpr.S: Likewise.
1851 * config/rs6000/crtsavfpr.S: Likewise.
1853 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1856 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1857 Update context->flags accroding to the frame state.
1859 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1861 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1862 Remove unneeded assignments to volatile memory.
1864 2020-04-15 Jakub Jelinek <jakub@redhat.com>
1867 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1868 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1869 is not defined, use just .arch armv8-a.
1870 (B, M, N, OPN): Define.
1871 (COMMENT): New .macro.
1872 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1873 defined. Otherwise, move the operands right after the glue? and
1874 comment out operands where the macros are used.
1875 * configure: Regenerated.
1876 * config.in: Regenerated.
1878 2020-04-07 Ian Lance Taylor <iant@golang.org>
1881 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1884 2020-04-04 Ian Lance Taylor <iant@golang.org>
1886 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1888 2020-04-03 Ian Lance Taylor <iant@golang.org>
1890 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1891 than mmap/munmap, to avoid hooks.
1893 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1895 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1896 (TPFRA_OFFSET): Macros removed.
1897 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1898 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1899 (PG3_SKIPPING_OFFSET): New macros.
1900 (__isPATrange): Use cinfc_fast for the check.
1901 (__isSkipResetAddr): New function.
1902 (s390_fallback_frame_state): Check for skip trace addresses. Use
1903 either ICST_CRET or ICST_SRET to calculate return address
1905 (__tpf_eh_return): Handle skip trace addresses.
1907 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
1910 * config/arm/lib1funcs.asm (COND): Use a single definition for
1912 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1913 (aeabi_idivmod): Likewise.
1914 (divsi3_skip_div0_test): Likewise.
1916 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1918 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1920 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1922 * config.host: Include the new makefile fragment.
1923 * config/s390/t-tpf: New file.
1925 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
1927 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1929 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1930 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1931 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1932 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1933 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1935 (divsi3, modsi3): Likewise.
1936 (clzdi2, ctzsi2): Likewise.
1937 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1939 (UNWIND_WRAPPER): Likewise.
1941 2020-03-02 Martin Liska <mliska@suse.cz>
1943 * libgcov-interface.c: Remove duplicate
1944 declaration of __gcov_flush_mx.
1946 2020-02-18 Martin Liska <mliska@suse.cz>
1949 * libgcov-merge.c (merge_topn_values_set): Record
1950 when a TOP N counter becomes invalid. When merging
1951 remove a smallest value if the space is needed.
1953 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1958 * configure: Regenerated.
1960 2020-02-10 Jeff Law <law@redhat.com>
1962 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1964 * config/frv/frvend.c: Similarly.
1966 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1969 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1972 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1975 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1976 _Unwind_gnu_Find_got.
1977 * unwind-pe.h: Likewise.
1979 2020-02-07 Jakub Jelinek <jakub@redhat.com>
1982 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1983 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1984 trailing :s in asm. Formatting fixes.
1985 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1987 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1989 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1991 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1992 * config/nios2-elf-lib.h: New.
1993 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1994 code for finding GOT base for nios2.
1996 2020-01-27 Martin Liska <mliska@suse.cz>
1998 PR gcov-profile/93403
1999 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2000 Call __gcov_indirect_call_profiler_body.
2001 (__gcov_indirect_call_profiler_body): New.
2002 (__gcov_indirect_call_profiler_v4_atomic): New.
2003 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2006 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2008 * config/arc/crti.S: Add RF16 object attribute.
2009 * config/arc/crtn.S: Likewise.
2010 * config/arc/crttls.S: Likewise.
2011 * config/arc/lib1funcs.S: Likewise.
2012 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2013 * config/arc/lib2funcs.c: New file.
2014 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2016 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
2018 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2019 * configure.ac: Handle `--with-toolexeclibdir='.
2020 * configure: Regenerate.
2022 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2024 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2026 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2028 * config/mips/gnustack.h: New file.
2029 * config/mips/crti.S: Include gnustack.h.
2030 * config/mips/crtn.S: Likewise.
2031 * config/mips/mips16.S: Likewise.
2032 * config/mips/vr4120-div.S: Likewise.
2034 2020-01-23 Martin Liska <mliska@suse.cz>
2036 * libgcov-driver.c (prune_topn_counter): Remove
2037 check for -1 as we only prune run-time counters
2038 that do not generate an invalid state.
2040 2020-01-22 Martin Liska <mliska@suse.cz>
2042 PR tree-optimization/92924
2043 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2044 try to find an existing value, then find an empty slot
2047 2020-01-22 Martin Liska <mliska@suse.cz>
2049 PR tree-optimization/92924
2050 * libgcov-driver.c (prune_topn_counter): New.
2051 (prune_counters): Likewise.
2052 (dump_one_gcov): Prune a run-time counter.
2053 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2054 For a known value, add GCOV_TOPN_VALUES to value.
2055 Otherwise, decrement all counters by one.
2057 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
2059 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2061 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
2064 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2065 DEFAULT_USE_CXA_ATEXIT is true.
2067 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
2068 Thomas Preud'homme <thomas.preudhomme@arm.com>
2070 * config/arm/t-arm: Check return value of gcc rather than lack of
2073 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
2075 * config/avr/lib1funcs.S (skip): Simplify.
2077 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2079 * config/gcn/atomic.c: Remove include of stdint.h.
2080 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2083 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2085 * config/gcn/atomic.c: New.
2086 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2088 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
2090 Implement 64-bit double functions.
2093 * config.host (tmake_file) [target=avr]: Add t-libf7,
2094 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2095 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2096 depending on sizeof (double) or sizeof (long double).
2097 * config/avr/libf7: New folder.
2099 2020-01-05 Olivier Hainque <hainque@adacore.com>
2101 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2104 2020-01-01 Jakub Jelinek <jakub@redhat.com>
2106 Update copyright years.
2108 2019-12-30 Olivier Hainque <hainque@adacore.com>
2110 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2111 * config/gthr-vxworks-tls.c: Likewise.
2113 2019-12-30 Olivier Hainque <hainque@adacore.com>
2115 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2116 standard zero-initializer syntax.
2118 2019-12-30 Olivier Hainque <hainque@adacore.com>
2120 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2121 reference to the internal VX_GET_TLS_DATA interface.
2123 2019-12-30 Olivier Hainque <hainque@adacore.com>
2125 * config/vxcrtstuff.c: Fix incorrect spelling of
2126 USE_INITFINI_ARRAY in guard.
2128 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2130 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2131 Override default "extra_parts" variable.
2132 * configure: Regenerate.
2133 * configure.ac: Disable TM clone registry by default for
2136 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2138 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2140 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2142 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2144 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2147 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2149 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2150 defined instead of its value.
2152 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2154 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2155 if it will have contents.
2157 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
2160 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2162 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2165 * config.host: Add t-gthr-noweak on *-*-musl*.
2166 * config/t-gthr-noweak: New file.
2168 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
2170 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2171 volatile void *. Remove trap check.
2172 (__kernel_cmpxchg2): Likewise.
2173 (FETCH_AND_OP_2): Adjust operand types.
2174 (OP_AND_FETCH_2): Likewise.
2175 (FETCH_AND_OP_WORD): Likewise.
2176 (OP_AND_FETCH_WORD): Likewise.
2177 (COMPARE_AND_SWAP_2): Likewise.
2178 (__sync_val_compare_and_swap_4): Likewise.
2179 (__sync_bool_compare_and_swap_4): Likewise.
2180 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2181 (__sync_lock_test_and_set_4): Likewise.
2182 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2183 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2185 (__sync_lock_release_8): Remove.
2187 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2189 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2192 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
2193 Doug Rupp <rupp@adacore.com>
2194 Olivier Hainque <hainque@adacore.com>
2196 * config.host: Collapse the arm-vxworks entries into
2197 a single arm-wrs-vxworks7* one.
2198 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2199 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2200 kernel modules, to be overriden by libstdc++ when we link with
2201 it. Rely on externally provided __exidx_start/end.
2203 2019-11-14 Doug Rupp <rupp@adacore.com>
2204 Olivier Hainque <hainque@adacore.com>
2206 * config.host: Handle aarch64*-wrs-vxworks7*.
2208 2019-11-12 Olivier Hainque <hainque@adacore.com>
2210 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2211 sources except the cxx0x support to LIB2ADDEH. We don't support
2213 * config/t-vxworksae: New file.
2214 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2215 Makefile fragment files at their expected position in the tmake_file
2216 list, in accordance with what is done for other VxWorks variants.
2218 2019-11-12 Corentin Gay <gay@adacore.com>
2219 Jerome Lambourg <lambourg@adacore.com>
2220 Olivier Hainque <hainque@adacore.com>
2222 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2223 sources to LIB2ADDEH.
2224 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2225 * config/t-vxworks7: Likewise.
2227 * config.host: Append a block at the end of the file to add the
2228 t-gthr files to the tmake_file list for VxWorks after everything
2231 * config/vxlib.c: Rename as gthr-vxworks.c.
2232 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2234 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2235 API and a basic error checking API, both internal. Simplify the
2236 __gthread_once_t type definition and initializers. Add sections
2237 for condition variables support and for the C++0x thread support,
2238 conditioned against Vx653 for the latter.
2240 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2241 implementation, leveraging the TAS internal API.
2242 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2243 API, leveraging the general availability of TLS services in VxWorks7
2245 (__gthread_setspecific, __gthread_setspecific): Use it.
2246 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2247 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2248 support based on VxWorks primitives.
2249 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2250 based on VxWorks primitives.
2252 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
2253 Olivier Hainque <hainque@adacore.com>
2255 * config/vxcrtstuff.c: New file.
2256 * config/t-vxcrtstuff: New Makefile fragment.
2257 * config.host: Append t-vxcrtstuff to the tmake_file list
2258 on all VxWorks ports using dwarf for table based EH.
2260 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
2262 Support 64-bit double and 64-bit long double configurations.
2265 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2266 long double is a 32-bit type.
2267 * config/avr/t-avrlibc: Copy double64 and long-double64
2268 multilib(s) from the vanilla one.
2269 * config/avr/t-copy-libgcc: New Makefile snip.
2271 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2273 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2274 the target output object format is not ELF.
2275 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2277 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2280 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2281 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2282 FLOAT_BIT_ORDER_MISMATCH.
2283 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2285 2019-11-01 Jim Wilson <jimw@sifive.com>
2287 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2289 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2291 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2292 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2293 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2294 Define symbols for 32-bit and f5series hardware multiply
2296 Replace hard-coded register addresses with symbols.
2297 Fix "_mspabi*" typo.
2299 * config/msp430/lib2mul.c: Add comment.
2301 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
2303 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2304 unsigned int. Adjust callers.
2305 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2306 unsigned int *. Load relocation offset before function pointer.
2307 Add barrier to ensure ordering.
2309 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
2311 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2312 Load PIC register after branch target. Fix white space.
2313 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2314 implementations. Load PIC register after branch target. Don't
2315 clobber function pointer when it points to function descriptor.
2316 Use nullification instead of branch in LINUX implementation.
2318 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
2320 * config/pa/fptr.c: Disable -Warray-bounds warning.
2322 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
2324 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2325 not the ubuntu modified 2.69.
2328 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2329 initialization if !HAVE_SYS_AUXV_H.
2330 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2331 * config.in, configure: Rebuild.
2334 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2337 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2339 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2340 CTR_EL0.IDC and CTR_EL0.DIC.
2342 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
2345 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2346 Mickaël Guêné <mickael.guene@st.com>
2348 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2351 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
2353 * config/aarch64/lse-init.c: New file.
2354 * config/aarch64/lse.S: New file.
2355 * config/aarch64/t-lse: New file.
2356 * config.host: Add t-lse to all aarch64 tuples.
2358 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2359 Mickaël Guêné <mickael.guene@st.com>
2361 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2364 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2365 Mickaël Guêné <mickael.guene@st.com>
2367 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2368 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2369 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2370 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2371 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2372 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2373 (__gnu_personality_sigframe_fdpic): New.
2374 (get_eit_entry): Add FDPIC signal frame support.
2376 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2377 Mickaël Guêné <mickael.guene@st.com>
2379 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2380 (__kernel_dmb): Likewise.
2381 (__fdpic_cmpxchg): New function.
2382 (__fdpic_dmb): New function.
2383 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2384 (gnu_Unwind_Find_got): New function.
2385 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2386 * unwind-arm-common.inc (UCB_PR_GOT): New.
2387 (funcdesc_t): New struct.
2388 (get_eit_entry): Add FDPIC support.
2389 (unwind_phase2): Likewise.
2390 (unwind_phase2_forced): Likewise.
2391 (__gnu_Unwind_RaiseException): Likewise.
2392 (__gnu_Unwind_Resume): Likewise.
2393 (__gnu_Unwind_Backtrace): Likewise.
2394 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2396 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2397 Mickaël Guêné <mickael.guene@st.com>
2399 * libgcc/crtstuff.c: Add support for FDPIC.
2401 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2403 * config.host: Handle *-*-uclinuxfdpiceabi.
2405 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2407 * config.host: Set cpu_type for bpf-*-* targets.
2408 * config/bpf/t-bpf: Likewise.
2409 * config/bpf/crtn.S: Likewise.
2410 * config/bpf/crti.S: New file.
2412 2019-09-06 Jim Wilson <jimw@sifive.com>
2414 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2415 (riscv*-*-freebsd*): Likewise.
2417 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2419 * config.host: Remove references to spu.
2420 * config/spu/: Remove directory.
2422 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2425 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2426 element type, instead of "sizeof" the element type.
2427 (__DTOR_LIST__): Likewise.
2428 (__TMC_LIST__): Likewise.
2429 (__do_global_dtors_aux_fini_array_entry): Likewise.
2430 (__frame_dummy_init_array_entry): Likewise.
2431 (__CTOR_END__): Likewise.
2432 (__DTOR_END__): Likweise.
2433 (__FRAME_END__): Likewise.
2434 (__TMC_END__): Likewise.
2436 2019-08-20 Lili Cui <lilicui@intel.com>
2438 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2439 INTEL_COREI7_COOPERLAKE.
2441 2019-07-31 Matt Thomas <matt@3am-software.com>
2442 Nick Hudson <nick@nthcliff.demon.co.uk>
2443 Matthew Green <mrg@eterna.com.au>
2444 Maya Rashish <coypu@sdf.org>
2446 * config.host (hppa*-*-netbsd*): New case.
2447 * config/pa/t-netbsd: New file.
2449 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2451 * config/arm/cmse.c (cmse_check_address_range): Add
2452 warn_unused_result attribute.
2454 2019-07-22 Martin Liska <mliska@suse.cz>
2456 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2457 * config/pa/t-stublib: Likewise.
2459 2019-07-22 Stafford Horne <shorne@gmail.com>
2462 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2463 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2464 instructions are not available on every processor. Change a
2465 l.bnf to l.bf to fix logic issue.
2467 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2469 * config.host: Remove reference to t-darwin8.
2471 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2473 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2475 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2476 mmacosx-version-min for crts to run across all system versions.
2477 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2478 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2479 system versions >= 10.4.
2481 2019-07-03 Martin Liska <mliska@suse.cz>
2483 * Makefile.in: Use topn_values instead of one_value names.
2484 * libgcov-merge.c (__gcov_merge_single): Move to ...
2485 (__gcov_merge_topn): ... this.
2486 (merge_single_value_set): Move to ...
2487 (merge_topn_values_set): ... this.
2488 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2490 (__gcov_topn_values_profiler_body): ... this.
2491 (__gcov_one_value_profiler_v2): Move to ...
2492 (__gcov_topn_values_profiler): ... this.
2493 (__gcov_one_value_profiler_v2_atomic): Move to ...
2494 (__gcov_topn_values_profiler_atomic): ... this.
2495 (__gcov_indirect_call_profiler_v4): Remove.
2496 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2497 (__gcov_topn_counter_op): ... this.
2498 * libgcov.h (L_gcov_merge_single): Remove.
2499 (L_gcov_merge_topn): New.
2500 (__gcov_merge_single): Remove.
2501 (__gcov_merge_topn): New.
2502 (__gcov_one_value_profiler_v2): Move to ..
2503 (__gcov_topn_values_profiler): ... this.
2504 (__gcov_one_value_profiler_v2_atomic): Move to ...
2505 (__gcov_topn_values_profiler_atomic): ... this.
2507 2019-07-03 Martin Liska <mliska@suse.cz>
2509 * libgcov-merge.c (merge_single_value_set): Support N values.
2510 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2512 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2514 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2515 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2516 * configure.ac: Add --disable-tm-clone-registry option.
2517 * configure: Regenerate.
2519 2019-06-27 Martin Liska <mliska@suse.cz>
2521 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2523 * libgcov-util.c: Likewise.
2525 2019-06-27 Martin Liska <mliska@suse.cz>
2527 * libgcov-util.c (gcov_profile_merge): Release allocated
2529 (calculate_overlap): Likewise.
2531 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2533 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2534 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2535 Build objects for the out of line save/restore register functions
2536 so that they can be used for any supported Darwin version.
2537 * config/t-darwin: Default the build Darwin version to Darwin8
2540 2019-06-25 Martin Liska <mliska@suse.cz>
2542 * libgcov-driver-system.c (replace_filename_variables): Do not
2543 call strlen with NULL argument.
2545 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
2547 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2548 * config/gcn/unwind-gcn.c: New file.
2550 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2551 Andrew Stubbs <ams@codesourcery.com>
2553 * configure: Regenerate.
2554 * config/gcn/gthr-gcn.h: New.
2556 2019-06-18 Tom de Vries <tdevries@suse.de>
2558 * config/nvptx/crt0.c (__main): Declare.
2560 2019-06-17 Matthew Green <mrg@eterna.com.au>
2561 Maya Rashish <coypu@sdf.org>
2563 * config.host (aarch64*-*-netbsd*): New case.
2565 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2567 * config/msp430/slli.S (__mspabi_sllll): New library function for
2568 performing a logical left shift of a 64-bit value.
2569 * config/msp430/srai.S (__mspabi_srall): New library function for
2570 performing a arithmetic right shift of a 64-bit value.
2571 * config/msp430/srll.S (__mspabi_srlll): New library function for
2572 performing a logical right shift of a 64-bit value.
2574 2019-06-14 Matt Thomas <matt@3am-software.com>
2575 Matthew Green <mrg@eterna.com.au>
2576 Nick Hudson <skrll@netbsd.org>
2577 Maya Rashish <coypu@sdf.org>
2579 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2580 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2582 * config/arm/t-netbsd-eabi: New file.
2584 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2586 * config.host: Add PRU target.
2587 * config/pru/asri.c: New file.
2588 * config/pru/eqd.c: New file.
2589 * config/pru/eqf.c: New file.
2590 * config/pru/ged.c: New file.
2591 * config/pru/gef.c: New file.
2592 * config/pru/gtd.c: New file.
2593 * config/pru/gtf.c: New file.
2594 * config/pru/led.c: New file.
2595 * config/pru/lef.c: New file.
2596 * config/pru/lib2bitcountHI.c: New file.
2597 * config/pru/lib2divHI.c: New file.
2598 * config/pru/lib2divQI.c: New file.
2599 * config/pru/lib2divSI.c: New file.
2600 * config/pru/libgcc-eabi.ver: New file.
2601 * config/pru/ltd.c: New file.
2602 * config/pru/ltf.c: New file.
2603 * config/pru/mpyll.S: New file.
2604 * config/pru/pru-abi.h: New file.
2605 * config/pru/pru-asm.h: New file.
2606 * config/pru/pru-divmod.h: New file.
2607 * config/pru/sfp-machine.h: New file.
2608 * config/pru/t-pru: New file.
2610 2019-06-11 Jakub Jelinek <jakub@redhat.com>
2612 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2614 2019-06-10 Martin Liska <mliska@suse.cz>
2617 * libgcov.h: Add ATTRIBUTE_UNUSED.
2619 2019-06-10 Martin Liska <mliska@suse.cz>
2621 * Makefile.in: Add __gcov_one_value_profiler_v2,
2622 __gcov_one_value_profiler_v2_atomic and
2623 __gcov_indirect_call_profiler_v4.
2624 * libgcov-merge.c (__gcov_merge_single): Change
2626 (merge_single_value_set): New.
2627 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2628 Update functionality.
2629 (__gcov_one_value_profiler): Remove.
2630 (__gcov_one_value_profiler_v2): ... this.
2631 (__gcov_one_value_profiler_atomic): Rename to ...
2632 (__gcov_one_value_profiler_v2_atomic): this.
2633 (__gcov_indirect_call_profiler_v3): Rename to ...
2634 (__gcov_indirect_call_profiler_v4): ... this.
2635 * libgcov.h (__gcov_one_value_profiler): Remove.
2636 (__gcov_one_value_profiler_atomic): Remove.
2637 (__gcov_one_value_profiler_v2_atomic): New.
2638 (__gcov_indirect_call_profiler_v3): Remove.
2639 (__gcov_one_value_profiler_v2): New.
2640 (__gcov_indirect_call_profiler_v4): New.
2641 (gcov_get_counter_ignore_scaling): New function.
2643 2019-06-07 Martin Liska <mliska@suse.cz>
2645 * Makefile.in: Remove usage of
2646 _gcov_merge_icall_topn.
2647 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2648 (gcov_sort_icall_topn_counter): Likewise.
2649 (gcov_sort_topn_counter_arrays): Likewise.
2650 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2651 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2652 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2654 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2655 (struct indirect_call_tuple): Remove.
2656 (__gcov_indirect_call_topn_profiler): Remove.
2657 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2658 * libgcov.h (gcov_sort_n_vals): Remove.
2659 (L_gcov_merge_icall_topn): Likewise.
2660 (__gcov_merge_icall_topn): Likewise.
2661 (__gcov_indirect_call_topn_profiler): Likewise.
2663 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2665 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2668 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2670 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2672 (__mspabi_slli): Likewise.
2673 (__mspabi_slll_n): Likewise.
2674 (__mspabi_slll): Likewise.
2675 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2676 (__mspabi_srai): Likewise.
2677 (__mspabi_sral_n): Likewise.
2678 (__mspabi_sral): Likewise.
2679 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2680 (__mspabi_srli): Likewise.
2681 (__mspabi_srll_n): Likewise.
2682 (__mspabi_srll): Likewise.
2684 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2686 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2687 Add appropriate tm_file clause as well.
2688 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2690 2019-06-05 James Clarke <jrtc27@jrtc27.com>
2692 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2693 rather than .data/.bss so it can be accessed via gp-relative
2696 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
2698 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2699 (CR2_REGNO): Rename to R_CR2.
2700 (XER_REGNO): Rename to R_XER.
2701 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2702 (VRSAVE_REGNO): Rename to R_VRSAVE.
2703 (VSCR_REGNO): R_VSCR.
2705 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2707 * config.host (rx-*-linux*): Add new case.
2708 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2710 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2712 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2714 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2715 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2716 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2717 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2718 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2719 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2721 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2723 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2725 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2727 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2728 Remove Solaris 9 and 10 support.
2729 (sparc_is_sighandler): Likewise.
2731 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
2733 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2735 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2737 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2738 4_FP_W_TYPEs are used for IEEE quad precision.
2739 * soft-fp/extendhftf2.c: Likewise.
2740 * soft-fp/extendsftf2.c: Likewise.
2741 * soft-fp/extendxftf2.c: Likewise.
2742 * soft-fp/trunctfdf2.c: Likewise.
2743 * soft-fp/trunctfhf2.c: Likewise.
2744 * soft-fp/trunctfsf2.c: Likewise.
2745 * soft-fp/trunctfxf2.c: Likewise.
2746 * config/rs6000/ibm-ldouble.c: Likewise.
2748 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2750 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2752 * configure.ac: Likewise.
2753 * configure: Regenerate.
2755 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2756 Solaris 10 and Solaris 11 < snv_125 handling.
2758 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2760 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2762 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2764 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2765 * config/i386/cpuinfo.h (enum processor_features): Add
2768 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2769 Bernd Edlinger <bernd.edlinger@hotmail.de>
2770 Jakub Jelinek <jakub@redhat.com>
2773 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2774 * config/arm/unwind-arm.c: Likewise.
2775 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2778 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2780 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2781 (RT_SIGRETURN): Update.
2782 (nds32_fallback_frame_state): Update.
2784 2019-02-21 Martin Sebor <msebor@redhat.com>
2786 * libgcc2.h (__clear_cache): Correct signature.
2787 * libgcc2.c (__clear_cache): Same.
2789 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2791 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2792 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2794 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2796 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2797 regno instead of index to DWARF_ZERO_REG.
2799 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2801 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2802 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2804 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2806 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2807 to HOST_LIBGCC2_CFLAGS.
2809 2019-01-23 Joseph Myers <joseph@codesourcery.com>
2812 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2814 2019-01-18 Martin Liska <mliska@suse.cz>
2816 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2818 (__gcov_indirect_call_profiler_v3): ... this.
2819 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2820 (__gcov_indirect_call_profiler_v3): Likewise.
2821 * Makefile.in: Bump function name.
2823 2019-01-18 Martin Liska <mliska@suse.cz>
2825 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2826 (gcov_version): Use in gcov_error.
2827 (merge_one_data): Likewise.
2828 (dump_one_gcov): Likewise.
2830 2019-01-18 Martin Liska <mliska@suse.cz>
2832 * libgcov-driver.c (gcov_version_string): New function.
2833 (gcov_version): Convert version integer into string.
2835 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
2836 Kwok Cheung Yeung <kcy@codesourcery.com>
2837 Julian Brown <julian@codesourcery.com>
2838 Tom de Vries <tom@codesourcery.com>
2840 * config.host: Recognize amdgcn*-*-amdhsa.
2841 * config/gcn/crt0.c: New file.
2842 * config/gcn/lib2-divmod-hi.c: New file.
2843 * config/gcn/lib2-divmod.c: New file.
2844 * config/gcn/lib2-gcn.h: New file.
2845 * config/gcn/sfp-machine.h: New file.
2846 * config/gcn/t-amdgcn: New file.
2848 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2852 * config/c6x/libunwind.S: Mechanically replace "can not" with
2854 * config/tilepro/atomic.h: Likewise.
2855 * config/vxlib-tls.c: Likewise.
2856 * generic-morestack-thread.c: Likewise.
2857 * generic-morestack.c: Likewise.
2858 * mkmap-symver.awk: Likewise.
2860 2019-01-01 Jakub Jelinek <jakub@redhat.com>
2862 Update copyright years.
2864 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2866 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2867 to ignore -Waddress-of-packed-member.
2869 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2871 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2872 parameter and corresponding code.
2873 (ARM_FUNC_START): Likewise in both definitions.
2874 Also update footer comment about condition that need to match with
2875 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2876 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2877 defined. Weakly define it in this case.
2878 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2879 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2880 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2881 comment to keep condition in sync with the one in
2882 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2884 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
2886 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2887 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2889 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2891 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2892 and .cfi_endproc directives for VxWorks targets.
2894 2018-12-05 Paul Koning <ni1d@arrl.net>
2896 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2898 2018-11-27 Alan Modra <amodra@gmail.com>
2900 * config/rs6000/morestack.S (__stack_split_initialize),
2901 (__morestack_get_guard, __morestack_set_guard),
2902 (__morestack_make_guard): Provide CFI covering these functions.
2903 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2905 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2907 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2908 (sc_pt_regs_lr): Update for kernel.
2909 (sc_pt_regs_tls): Update for kernel.
2911 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2913 * config/csky/linux-unwind.h: Fix coding style.
2915 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2917 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2918 (csky_fallback_frame_state): Modify the check of the
2919 instructions to adapt to changes in the kernel
2921 2018-11-09 Stafford Horne <shorne@gmail.com>
2922 Richard Henderson <rth@twiddle.net>
2924 * config.host: Add OpenRISC support.
2925 * config/or1k/*: New.
2927 2018-11-08 Kito Cheng <kito@andestech.com>
2929 * soft-fp/adddf3.c: Update from glibc.
2930 * soft-fp/addsf3.c: Likewise.
2931 * soft-fp/addtf3.c: Likewise.
2932 * soft-fp/divdf3.c: Likewise.
2933 * soft-fp/divsf3.c: Likewise.
2934 * soft-fp/divtf3.c: Likewise.
2935 * soft-fp/double.h: Likewise.
2936 * soft-fp/eqdf2.c: Likewise.
2937 * soft-fp/eqsf2.c: Likewise.
2938 * soft-fp/eqtf2.c: Likewise.
2939 * soft-fp/extenddftf2.c: Likewise.
2940 * soft-fp/extended.h: Likewise.
2941 * soft-fp/extendhftf2.c: Likewise.
2942 * soft-fp/extendsfdf2.c: Likewise.
2943 * soft-fp/extendsftf2.c: Likewise.
2944 * soft-fp/extendxftf2.c: Likewise.
2945 * soft-fp/fixdfdi.c: Likewise.
2946 * soft-fp/fixdfsi.c: Likewise.
2947 * soft-fp/fixdfti.c: Likewise.
2948 * soft-fp/fixhfti.c: Likewise.
2949 * soft-fp/fixsfdi.c: Likewise.
2950 * soft-fp/fixsfsi.c: Likewise.
2951 * soft-fp/fixsfti.c: Likewise.
2952 * soft-fp/fixtfdi.c: Likewise.
2953 * soft-fp/fixtfsi.c: Likewise.
2954 * soft-fp/fixtfti.c: Likewise.
2955 * soft-fp/fixunsdfdi.c: Likewise.
2956 * soft-fp/fixunsdfsi.c: Likewise.
2957 * soft-fp/fixunsdfti.c: Likewise.
2958 * soft-fp/fixunshfti.c: Likewise.
2959 * soft-fp/fixunssfdi.c: Likewise.
2960 * soft-fp/fixunssfsi.c: Likewise.
2961 * soft-fp/fixunssfti.c: Likewise.
2962 * soft-fp/fixunstfdi.c: Likewise.
2963 * soft-fp/fixunstfsi.c: Likewise.
2964 * soft-fp/fixunstfti.c: Likewise.
2965 * soft-fp/floatdidf.c: Likewise.
2966 * soft-fp/floatdisf.c: Likewise.
2967 * soft-fp/floatditf.c: Likewise.
2968 * soft-fp/floatsidf.c: Likewise.
2969 * soft-fp/floatsisf.c: Likewise.
2970 * soft-fp/floatsitf.c: Likewise.
2971 * soft-fp/floattidf.c: Likewise.
2972 * soft-fp/floattihf.c: Likewise.
2973 * soft-fp/floattisf.c: Likewise.
2974 * soft-fp/floattitf.c: Likewise.
2975 * soft-fp/floatundidf.c: Likewise.
2976 * soft-fp/floatundisf.c: Likewise.
2977 * soft-fp/floatunditf.c: Likewise.
2978 * soft-fp/floatunsidf.c: Likewise.
2979 * soft-fp/floatunsisf.c: Likewise.
2980 * soft-fp/floatunsitf.c: Likewise.
2981 * soft-fp/floatuntidf.c: Likewise.
2982 * soft-fp/floatuntihf.c: Likewise.
2983 * soft-fp/floatuntisf.c: Likewise.
2984 * soft-fp/floatuntitf.c: Likewise.
2985 * soft-fp/gedf2.c: Likewise.
2986 * soft-fp/gesf2.c: Likewise.
2987 * soft-fp/getf2.c: Likewise.
2988 * soft-fp/half.h: Likewise.
2989 * soft-fp/ledf2.c: Likewise.
2990 * soft-fp/lesf2.c: Likewise.
2991 * soft-fp/letf2.c: Likewise.
2992 * soft-fp/muldf3.c: Likewise.
2993 * soft-fp/mulsf3.c: Likewise.
2994 * soft-fp/multf3.c: Likewise.
2995 * soft-fp/negdf2.c: Likewise.
2996 * soft-fp/negsf2.c: Likewise.
2997 * soft-fp/negtf2.c: Likewise.
2998 * soft-fp/op-1.h: Likewise.
2999 * soft-fp/op-2.h: Likewise.
3000 * soft-fp/op-4.h: Likewise.
3001 * soft-fp/op-8.h: Likewise.
3002 * soft-fp/op-common.h: Likewise.
3003 * soft-fp/quad.h: Likewise.
3004 * soft-fp/single.h: Likewise.
3005 * soft-fp/soft-fp.h: Likewise.
3006 * soft-fp/subdf3.c: Likewise.
3007 * soft-fp/subsf3.c: Likewise.
3008 * soft-fp/subtf3.c: Likewise.
3009 * soft-fp/truncdfsf2.c: Likewise.
3010 * soft-fp/trunctfdf2.c: Likewise.
3011 * soft-fp/trunctfhf2.c: Likewise.
3012 * soft-fp/trunctfsf2.c: Likewise.
3013 * soft-fp/trunctfxf2.c: Likewise.
3014 * soft-fp/unorddf2.c: Likewise.
3015 * soft-fp/unordsf2.c: Likewise.
3016 * soft-fp/unordtf2.c: Likewise.
3018 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3020 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3021 * config/i386/cpuinfo.h (processor_types): Add znver2.
3023 2018-11-01 Paul Koning <ni1d@arrl.net>
3025 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3026 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3028 2018-10-31 Joseph Myers <joseph@codesourcery.com>
3031 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3032 * configure: Regenerate.
3034 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3036 * config/arc/lib1funcs.S (_muldi3): New function.
3037 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3039 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3041 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3043 2018-10-25 Martin Liska <mliska@suse.cz>
3046 * libgcov-profiler.c: Revert.
3048 2018-10-24 Martin Liska <mliska@suse.cz>
3050 * libgcov-profiler.c: Start from 1 in order to distinguish
3051 functions which were seen and these that were not.
3053 2018-10-18 Paul Koning <ni1d@arrl.net>
3055 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3057 * divmod.c: Update references to __udivmodsi4.
3059 * udivhi3.c: New file.
3060 * udivmodhi4.c: New file.
3061 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3063 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3065 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3067 2018-10-12 Olivier Hainque <hainque@adacore.com>
3069 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3070 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3072 2018-10-08 Paul Koning <ni1d@arrl.net>
3074 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3076 2018-10-04 Martin Liska <mliska@suse.cz>
3078 PR gcov-profile/84107
3079 * libgcov-profiler.c (__gcov_indirect_call):
3080 Change type to indirect_call_tuple.
3081 (struct indirect_call_tuple): New struct.
3082 (__gcov_indirect_call_topn_profiler): Change type.
3083 (__gcov_indirect_call_profiler_v2): Use the new
3085 * libgcov.h (struct indirect_call_tuple): New struct
3088 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
3090 * libgcc2.c (isnan): Use __builtin_isnan.
3091 (isfinite): Use __builtin_isfinite.
3092 (isinf): Use __builtin_isinf.
3094 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
3096 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3098 2018-09-21 Alexandre Oliva <oliva@adacore.com>
3100 * config/vxcache.c: New file. Provide __clear_cache, based on
3101 the cacheTextUpdate VxWorks service.
3102 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3103 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3104 * config/t-vxwoks7: Likewise.
3106 2018-09-21 Martin Liska <mliska@suse.cz>
3108 * libgcov-driver.c (crc32_unsigned): Remove.
3109 (gcov_histogram_insert): Likewise.
3110 (gcov_compute_histogram): Likewise.
3111 (compute_summary): Simplify rapidly.
3112 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3113 (merge_summary): Rapidly simplify.
3114 (dump_one_gcov): Ignore gcov_summary.
3115 (gcov_do_dump): Do not handle program summary, it's not
3117 * libgcov-util.c (tag_summary): Remove.
3118 (read_gcda_finalize): Fix coding style.
3119 (read_gcda_file): Initialize curr_object_summary.
3120 (compute_summary): Remove.
3121 (calculate_overlap): Remove settings of run_max.
3123 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3125 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3126 ucontext_t type instead.
3127 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3129 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
3131 * config/nds32/t-nds32-glibc: New file.
3133 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3135 * configure.ac (solaris_ld_v2_maps): New test.
3136 * configure: Regenerate.
3137 * Makefile.in (solaris_ld_v2_maps): New variable.
3138 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3141 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
3144 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3145 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3148 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3150 * config/unwind-dw2-fde-darwin.c
3151 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3152 * config/darwin10-unwind-find-enc-func.c: … to here.
3153 * config/t-darwin: Build Darwin10 unwinder shim crt.
3154 * libgcc/config.host: Add the Darwin10 unwinder shim.
3156 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3158 * config.host: Add crtbegin.o and crtend.o for
3159 powerpc-wrs-vxworks target.
3161 2018-08-17 Jojo <jijie_rong@c-sky.com>
3162 Huibin Wang <huibin_wang@c-sky.com>
3163 Sandra Loosemore <sandra@codesourcery.com>
3164 Chung-Lin Tang <cltang@codesourcery.com>
3168 * config.host: Add C-SKY support.
3169 * config/csky/*: New.
3171 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3173 * config/nds32/t-nds32-isr: Rearrange object dependency.
3174 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3175 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3176 and registers usage.
3177 * config/nds32/isr-library/excp_isr.S: Ditto.
3178 * config/nds32/isr-library/intr_isr.S: Ditto.
3179 * config/nds32/isr-library/reset.S: Ditto.
3180 * config/nds32/isr-library/restore_all.inc: Ditto.
3181 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3182 * config/nds32/isr-library/restore_partial.inc: Ditto.
3183 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3184 * config/nds32/isr-library/save_all.inc: Ditto.
3185 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3186 * config/nds32/isr-library/save_partial.inc: Ditto.
3187 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3188 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3190 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
3192 * config/pa/linux-atomic.c: Update comment.
3193 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3194 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3195 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3196 __ATOMIC_RELAXED for atomic loads.
3197 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3198 unordered store to release lock.
3199 (__sync_lock_release_8): Likewise.
3200 (SYNC_LOCK_RELEASE_2): Remove define.
3202 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
3205 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3206 exponent goes negative. Update my email address.
3207 * config/arm/ieee754-sf.S: Likewise.
3209 2018-08-01 Martin Liska <mliska@suse.cz>
3211 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3212 check that __gcov_indirect_call_callee is non-null.
3214 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3216 * config/arm/ieee754-df.S: Fix comment for code working on
3218 * config/arm/ieee754-sf.S: Likewise.
3220 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3223 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3226 2018-07-05 James Clarke <jrtc27@jrtc27.com>
3228 * configure: Regenerated.
3230 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3232 * Makefile.in (install_leaf): Use enable_gcov instead of
3235 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3237 * configure.ac: Add --disable-gcov option.
3238 * configure: Regenerate.
3239 * Makefile.in: Honour @enable_gcov@.
3241 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3243 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3244 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3245 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3246 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3248 * config/arm/ieee754-sf.S: Likewise.
3249 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3251 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3253 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3255 * config/arm/ieee754-sf.S: Likewise.
3257 2018-06-20 Than McIntosh <thanm@google.com>
3260 * generic-morestack.c (allocate_segment): Move calls to getenv and
3261 getpagesize to __morestack_load_mmap.
3262 (__morestack_load_mmap) Initialize static_pagesize and
3263 use_guard_page here so as to avoid clobbering SSE regs during a
3266 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
3268 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3269 support modules with -mno-gnu-attribute.
3270 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3272 2018-06-07 Olivier Hainque <hainque@adacore.com>
3274 * config/t-vxworks (LIBGCC_INCLUDES): Add
3275 -I$(MULTIBUILDTOP)../../gcc/include.
3276 * config/t-vxworks7: Likewise. Reformat a bit to match
3277 the t-vxworks layout.
3279 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3281 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3283 2018-06-07 Martin Liska <mliska@suse.cz>
3285 * libgcov-driver.c: Rename cs_all to all and assign it from
3288 2018-06-07 Martin Liska <mliska@suse.cz>
3291 * libgcov-driver-system.c (replace_filename_variables): Use
3292 memcpy instead of mempcpy.
3293 (allocate_filename_struct): Do not allocate filename, allocate
3295 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3296 here and properly copy content into it.
3297 * libgcov-driver.c (struct gcov_filename): Remove max_length
3298 field, change prefix from size_t into char *.
3299 (compute_summary): Do not calculate longest filename.
3300 (gcov_do_dump): Release memory of gf.filename after each file.
3301 * libgcov-util.c (compute_summary): Use new signature of
3303 (calculate_overlap): Likewise.
3305 2018-06-05 Martin Liska <mliska@suse.cz>
3307 PR gcov-profile/47618
3308 * libgcov-driver-system.c (replace_filename_variables): New
3310 (gcov_exit_open_gcda_file): Use it.
3312 2018-06-05 Martin Liska <mliska@suse.cz>
3314 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3315 of gcov_ctr_summary.
3316 (compute_summary): Do it just for a single summary.
3317 (merge_one_data): Likewise.
3318 (merge_summary): Simplify as we read just single summary.
3319 (dump_one_gcov): Pass proper argument.
3320 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3322 (gcov_info_count_all_cold): Likewise.
3323 (calculate_overlap): Likewise.
3325 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3326 Monk Chiang <sh.chiang04@gmail.com>
3328 * config.host (nds32*-linux*): New.
3329 * config/nds32/linux-atomic.c: New file.
3330 * config/nds32/linux-unwind.h: New file.
3332 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
3335 * config/i386/cpuinfo.c (get_amd_cpu): Return
3336 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3338 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3340 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3342 2018-05-29 Martin Liska <mliska@suse.cz>
3344 PR gcov-profile/85759
3345 * libgcov-driver-system.c (gcov_error): Introduce usage of
3346 GCOV_EXIT_AT_ERROR env. variable.
3347 * libgcov-driver.c (merge_one_data): Print error that we
3348 overwrite a gcov file with a different timestamp.
3350 2018-05-23 Kalamatee <kalamatee@gmail.com>
3352 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3355 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
3356 Monk Chiang <sh.chiang04@gmail.com>
3357 Jim Wilson <jimw@sifive.com>
3359 * config/riscv/save-restore.S: Add support for rv32e.
3361 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3363 * config/arm/libunwind.S: Update comment relating to armv5.
3365 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
3367 * config/arm/cmse.c (cmse_check_address_range): Replace
3368 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3370 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3372 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3373 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3375 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3377 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3378 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3380 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3382 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3384 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3385 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3388 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3389 op_and_fetch to return the right result.
3391 2018-04-27 Alan Modra <amodra@gmail.com>
3394 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3395 -fno-asynchronous-unwind-tables.
3397 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3399 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3400 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3402 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3404 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3405 when including "config/i386/shadow-stack-unwind.h".
3407 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3409 * configure: Regenerated.
3411 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
3414 * config/rs6000/_powikf2.c: New file. Add support for the
3415 __builtin_powil function when long double is IEEE 128-bit floating
3417 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3419 (__powikf2): Likewise.
3420 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3421 (__powikf2_hw): Likewise.
3422 (__powikf2): Likewise.
3423 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3424 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3425 (_powikf2-hw.c): Likewise.
3427 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3430 * unwind-generic.h (_Unwind_Frames_Increment): New.
3431 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3433 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3434 count with _Unwind_Frames_Increment.
3435 (_Unwind_ForcedUnwind_Phase2): Likewise.
3437 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3440 * config/i386/morestack.S (__stack_split_initialize): Add
3443 2018-04-19 Jakub Jelinek <jakub@redhat.com>
3445 * configure: Regenerated.
3447 2018-04-18 David Malcolm <dmalcolm@redhat.com>
3450 * configure: Regenerate.
3452 2018-04-16 Jakub Jelinek <jakub@redhat.com>
3455 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3456 -Wdangling-else warnings. Mask shift counts to avoid
3457 -Wshift-count-negative and -Wshift-count-overflow false positives.
3459 2018-04-06 Ruslan Bukin <br@bsdpad.com>
3461 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3463 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3466 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3467 (XSTATE_FP): Likewise.
3468 (XSTATE_SSE): Likewise.
3469 (XSTATE_YMM): Likewise.
3470 (XSTATE_OPMASK): Likewise.
3471 (XSTATE_ZMM): Likewise.
3472 (XSTATE_HI_ZMM): Likewise.
3473 (XCR_AVX_ENABLED_MASK): Likewise.
3474 (XCR_AVX512F_ENABLED_MASK): Likewise.
3475 (get_available_features): Enable AVX and AVX512 features only
3476 if their states are supported by OSXSAVE.
3478 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3481 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3482 Fix a typo, tmp => 255.
3484 2018-03-20 Jakub Jelinek <jakub@redhat.com>
3487 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3488 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3490 (set_feature): Define.
3491 (get_available_features): Use set_feature macro. Set __cpu_features2
3492 to the second word of features ifndef SHARED.
3494 2018-03-15 Julia Koval <julia.koval@intel.com>
3496 * config/i386/cpuinfo.c (get_available_features): Add
3497 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3498 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3499 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3500 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3501 FEATURE_AVX512BITALG.
3503 2018-03-14 Julia Koval <julia.koval@intel.com>
3505 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3506 icelake client and icelake server.
3508 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
3510 * config/pa/fptr.c (_dl_read_access_allowed): New.
3511 (__canonicalize_funcptr_for_compare): Use it.
3513 2018-02-28 Jakub Jelinek <jakub@redhat.com>
3516 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3517 $asm_hidden_op if visibility ("hidden") attribute works.
3518 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3519 * config/i386/i386-asm.h: Don't include auto-host.h.
3520 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3521 PACKAGE_URL): Don't undefine.
3522 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3523 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3524 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3525 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3526 definition instead of hardcoded .hidden.
3527 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3528 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3529 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3530 (USE_GAS_CFI_DIRECTIVES): Don't define.
3531 * configure: Regenerated.
3532 * config.in: Likewise.
3534 2018-02-26 Jakub Jelinek <jakub@redhat.com>
3537 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3538 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3539 inclusion of auto-target.h and auto-host.h.
3540 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3541 __GCC_HAVE_DWARF2_CFI_ASM.
3542 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3543 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3545 * config/i386/cygwin.S: Don't include auto-host.h here, just
3546 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3547 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3548 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3549 * config/i386/resms64fx.h: Add cfi_* directives.
3550 * config/i386/resms64x.h: Likewise.
3552 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3554 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3555 .literal_position directive.
3556 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3558 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3561 * configure: Regenerate.
3563 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3566 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3567 Include cetintrin.h not x86intrin.h.
3569 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3572 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3573 Use new _get_ssp and _inc_ssp intrinsics.
3575 2018-02-02 Julia Koval <julia.koval@intel.com>
3577 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3579 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3581 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3583 (__divsi3): Use RF16 safe registers.
3584 (__modsi3): Likewise.
3586 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3588 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3589 (__divsf3): Make NaN return value quiet.
3590 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3591 (__divdf3): Make NaN return value quiet.
3593 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3595 * config/rl78/anddi3.S: New assembly file.
3596 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3598 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3600 * config/rl78/umindi3.S: New assembly file.
3601 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3603 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3605 * config/rl78/smindi3.S: New assembly file.
3606 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3608 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3610 * config/rl78/smaxdi3.S: New assembly file.
3611 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3613 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3615 * config/rl78/umaxdi3.S: New assembly file.
3616 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3618 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
3621 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3622 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3624 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3626 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3627 (DWARF_LAZY_REGISTER_VALUE): Define.
3628 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3629 to provide a fallback register value.
3631 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3633 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3634 __ibm128, instead of trying to use long double.
3635 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3636 accomidate -mabi=ieeelongdouble multilibs.
3637 (CVT_IBM128_TO_FLOAT128): Likewise.
3638 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3639 the appropriate IBM extended double type.
3640 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3641 (__gcc_qsub): Likewise.
3642 (__gcc_qmul): Likewise.
3643 (__gcc_qdiv): Likewise.
3644 (pack_ldouble): Likewise.
3645 (__gcc_qneg): Likewise.
3646 (__gcc_qeq): Likewise.
3647 (__gcc_qne): Likewise.
3648 (__gcc_qge): Likewise.
3649 (__gcc_qle): Likewise.
3650 (__gcc_stoq): Likewise.
3651 (__gcc_dtoq): Likewise.
3652 (__gcc_itoq): Likewise.
3653 (__gcc_utoq): Likewise.
3654 (__gcc_qunord): Likewise.
3655 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3656 quad-float128.h for the definitions.
3657 (COPYSIGN): Use the f128 version instead of the q version.
3658 (INFINITY): Likewise.
3659 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3660 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3661 quad-float128.h for the definitions.
3662 (COPYSIGN): Use the f128 version instead of the q version.
3663 (INFINITY): Likewise.
3665 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3666 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3667 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3669 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3671 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3674 2018-01-03 Jakub Jelinek <jakub@redhat.com>
3676 Update copyright years.
3678 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
3680 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3681 * config/riscv/multi3.c: New file.
3682 * config/riscv/multi3.S: Remove.
3684 2017-12-08 Jim Wilson <jimw@sifive.com>
3686 * config/riscv/div.S: Use FUNC_* macros.
3687 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3688 * config/riscv/save-restore.S: Likewise.
3689 * config/riscv/riscv-asm.h: New.
3691 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3693 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3694 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3697 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3698 correct type for all ifunc resolvers to silence -Wattribute-alias
3699 warnings. Eliminate the forward declaration of the resolver
3700 functions which is no longer needed.
3701 (__subkf3_resolve): Likewise.
3702 (__mulkf3_resolve): Likewise.
3703 (__divkf3_resolve): Likewise.
3704 (__negkf2_resolve): Likewise.
3705 (__eqkf2_resolve): Likewise.
3706 (__nekf2_resolve): Likewise.
3707 (__gekf2_resolve): Likewise.
3708 (__gtkf2_resolve): Likewise.
3709 (__lekf2_resolve): Likewise.
3710 (__ltkf2_resolve): Likewise.
3711 (__unordkf2_resolve): Likewise.
3712 (__extendsfkf2_resolve): Likewise.
3713 (__extenddfkf2_resolve): Likewise.
3714 (__trunckfsf2_resolve): Likewise.
3715 (__trunckfdf2_resolve): Likewise.
3716 (__fixkfsi_resolve): Likewise.
3717 (__fixkfdi_resolve): Likewise.
3718 (__fixunskfsi_resolve): Likewise.
3719 (__fixunskfdi_resolve): Likewise.
3720 (__floatsikf_resolve): Likewise.
3721 (__floatdikf_resolve): Likewise.
3722 (__floatunsikf_resolve): Likewise.
3723 (__floatundikf_resolve): Likewise.
3724 (__extendkftf2_resolve): Likewise.
3725 (__trunctfkf2_resolve): Likewise.
3728 * config/rs6000/quad-float128.h (TF): Don't define if long double
3729 is IEEE 128-bit floating point.
3730 (TCtype): Define as either TCmode or KCmode, depending on whether
3731 long double is IEEE 128-bit floating point.
3732 (__mulkc3_sw): Add declarations for software/hardware versions of
3733 complex multiply/divide.
3734 (__divkc3_sw): Likewise.
3735 (__mulkc3_hw): Likewise.
3736 (__divkc3_hw): Likewise.
3737 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3738 handlers to switch between using software emulation and hardware
3739 float128 instructions, build the complex multiply/divide functions
3740 for both software and hardware support.
3741 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3742 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3743 (__divkc3_resolve): Likewise.
3744 (__mulkc3): Likewise.
3745 (__divkc3): Likewise.
3746 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3747 (fp128_hw_src): Likewise.
3748 (fp128_hw_static_obj): Likewise.
3749 (fp128_hw_shared_obj): Likewise.
3750 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3751 _mulkc3.c and _divkc3.c, changing the function name.
3752 (_divkc3-hw.c): Likewise.
3753 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3756 2017-11-26 Julia Koval <julia.koval@intel.com>
3758 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3759 * config/i386/cpuinfo.h (processor_subtypes): Add
3760 INTEL_COREI7_CANNONLAKE.
3762 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3765 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3767 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3768 * config/ia64/unwind-ia64.c: Add frames parameter.
3769 * unwind-sjlj.c: Likewise.
3771 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3773 * config/i386/linux-unwind.h: Include
3774 config/i386/shadow-stack-unwind.h.
3775 * config/i386/shadow-stack-unwind.h: New file.
3776 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3777 pass it to _Unwind_Frames_Extra.
3778 * unwind-generic.h (_Unwind_Frames_Extra): New.
3779 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3780 parameter. Add local variable frames to count number of frames.
3781 (_Unwind_ForcedUnwind_Phase2): Likewise.
3782 (_Unwind_RaiseException): Add local variable frames to count
3783 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3785 (_Unwind_ForcedUnwind): Likewise.
3786 (_Unwind_Resume): Likewise.
3787 (_Unwind_Resume_or_Rethrow): Likewise.
3789 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3791 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3793 * config/i386/morestack.S: Include <cet.h>.
3794 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3795 * config/i386/resms64.h: Include <cet.h>.
3796 * config/i386/resms64f.h: Likewise.
3797 * config/i386/resms64fx.h: Likewise.
3798 * config/i386/resms64x.h: Likewise.
3799 * config/i386/savms64.h: Likewise.
3800 * config/i386/savms64f.h: Likewise.
3801 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3802 (CRTSTUFF_T_CFLAGS): Likewise.
3803 * configure.ac: Include ../config/cet.m4.
3804 Set and substitute CET_FLAGS.
3805 * configure: Regenerated.
3807 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3809 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3811 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3812 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3813 * configure: Regenerate.
3815 2017-11-07 Tom de Vries <tom@codesourcery.com>
3817 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3818 after "do {} while (0)".
3820 2017-11-07 Tom de Vries <tom@codesourcery.com>
3823 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3824 semicolon after "do {} while (0)".
3825 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3826 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3827 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3828 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3830 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3833 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3834 sysctl to determine whether we're in a trampoline.
3835 Keep the pattern matching method for systems without
3836 KERN_PROC_SIGTRAMP sysctl.
3838 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3839 Vineet Gupta <vgupta@synopsys.com>
3841 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3842 * config/arc/linux-unwind-reg.def: New file.
3843 * config/arc/linux-unwind-reg.h: Likewise.
3845 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3847 * config/rl78/subdi3.S: New assembly file.
3848 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3850 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3852 * config/rl78/adddi3.S: New assembly file.
3853 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3855 2017-10-13 Jakub Jelinek <jakub@redhat.com>
3858 * libgcc2.c (__mulvDI3): If both operands have
3859 the same highpart of -1 and the topmost bit of lowpart is 0,
3860 multiplication overflows even if both lowparts are 0.
3862 2017-09-28 James Bowman <james.bowman@ftdichip.com>
3864 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3866 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3868 * config/microblaze/crti.S, config/microblaze/crtn.S,
3869 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3870 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3871 config/microblaze/mulsi3.S,
3872 config/microblaze/stack_overflow_exit.S,
3873 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3874 config/pa/milli64.S: Add .note.GNU-stack section.
3876 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
3878 * configure.ac: Add Check for HAVE_AS_AVX.
3879 * config.in: Regenerate.
3880 * configure: Likewise.
3881 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3882 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3883 Correct out-of-date comments.
3885 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3887 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3888 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3890 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
3892 * config/i386/i386-asm.h (PASTE2): New macro.
3893 (ASMNAME): Modify to use PASTE2.
3894 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3895 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3896 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3897 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3898 * config/i386/resms64f.S: Likewise.
3899 * config/i386/resms64fx.S: Likewise.
3900 * config/i386/resms64x.S: Likewise.
3901 * config/i386/savms64.S: Likewise.
3902 * config/i386/savms64f.S: Likewise.
3903 * config/i386/avx_resms64.S: New file that only defines a macro and
3904 includes it's corresponding header file.
3905 * config/i386/avx_resms64f.S: Likewise.
3906 * config/i386/avx_resms64fx.S: Likewise.
3907 * config/i386/avx_resms64x.S: Likewise.
3908 * config/i386/avx_savms64.S: Likewise.
3909 * config/i386/avx_savms64f.S: Likewise.
3910 * config/i386/sse_resms64.S: Likewise.
3911 * config/i386/sse_resms64f.S: Likewise.
3912 * config/i386/sse_resms64fx.S: Likewise.
3913 * config/i386/sse_resms64x.S: Likewise.
3914 * config/i386/sse_savms64.S: Likewise.
3915 * config/i386/sse_savms64f.S: Likewise.
3916 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3918 2017-09-01 Olivier Hainque <hainque@adacore.com>
3919 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3921 2017-08-31 Olivier Hainque <hainque@adacore.com>
3923 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3924 match as powerpc-wrs-vxworks*.
3926 2017-08-07 Jonathan Yong <10walls@gmail.com>
3928 * config.host (*-cygwin): Include file from mingw
3929 config/i386/enable-execute-stack-mingw32.c
3931 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
3932 Doug Rupp <rupp@adacore.com>
3933 Olivier Hainque <hainque@adacore.com>
3935 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3936 as well as arm-wrs-vxworks.
3937 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3939 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3940 __exidx_start and __exidx_end for downloadable modules.
3942 2017-08-01 Olivier Hainque <hainque@adacore.com>
3944 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3945 * config/t-vxworks7: Likewise.
3947 2017-08-01 Olivier Hainque <hainque@adacore.com>
3949 * config/t-vxworks: Instead of redefining LIB2ADD,
3950 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3952 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3954 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3956 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
3959 * config.host: include i386/t-msabi for darwin and solaris.
3960 * config/i386/i386-asm.h
3961 (ELFFN): Rename to FN_TYPE.
3962 (FN_SIZE): New macro.
3963 (FN_HIDDEN): Likewise.
3964 (ASMNAME): Likewise.
3965 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3967 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3968 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3969 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3971 * config/i386/resms64f.S: Likewise.
3972 * config/i386/resms64fx.S: Likewise.
3973 * config/i386/resms64x.S: Likewise.
3974 * config/i386/savms64.S: Likewise.
3975 * config/i386/savms64f.S: Likewise.
3977 2017-07-19 John Marino <gnugcc@marino.st>
3979 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3981 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3984 * configure.ac (PowerPC float128 hardware support): Test whether
3985 we can use __builtin_cpu_supports before enabling the ifunc
3987 * configure: Regenerate.
3989 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
3991 * config.host: Remove uclibc from arc target spec.
3993 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3995 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3997 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3999 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4000 (have_ieee_hw_p): Delete function.
4001 (SW_OR_HW) Use __builtin_cpu_supports().
4003 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4005 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4007 2017-07-03 Olivier Hainque <hainque@adacore.com>
4009 * config/t-vxworks7: New file, really.
4011 2017-06-28 Joseph Myers <joseph@codesourcery.com>
4013 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4014 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4015 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4016 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4017 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4018 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4019 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4020 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4021 config/sh/linux-unwind.h (sh_fallback_frame_state),
4022 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4023 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4024 ucontext_t instead of struct ucontext.
4026 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
4028 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4029 (x86_64-wrs-vxworks7): Likewise.
4031 2017-06-27 Olivier Hainque <hainque@adacore.com>
4033 * config/t-vxworks7: New file.
4034 * config.host (*-*-vxworks7): Use it.
4036 2017-06-22 Matt Turner <mattst88@gmail.com>
4038 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4041 2017-06-21 Richard Biener <rguenther@suse.de>
4043 PR gcov-profile/81080
4044 * configure.ac: Add AC_SYS_LARGEFILE.
4045 * libgcov.h: Include auto-target.h before tsystem.h to pick
4046 up _FILE_OFFSET_BITS which might differ for multilibs.
4047 * config.in: Regenerate.
4048 * configure: Likewise.
4050 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
4052 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4054 2017-06-09 Martin Liska <mliska@suse.cz>
4056 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4057 Reset __gcov_indirect_call_callee to NULL.
4059 2017-06-08 Olivier Hainque <hainque@adacore.com>
4061 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4062 the set of -I options, support for direct inclusions of net/uio.h
4063 by VxWorks header files via ioLib.h.
4065 2017-06-07 Tony Reix <tony.reix@atos.net>
4066 Matthieu Sarter <matthieu.sarter.external@atos.net>
4067 David Edelsohn <dje.gcc@gmail.com>
4069 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4071 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4074 2017-06-02 Olivier Hainque <hainque@adacore.com>
4076 * config/vxlib.c (__gthread_once): Add missing value to
4079 2017-05-30 Olivier Hainque <hainque@adacore.com>
4081 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4082 dollar sign before $(MULTIDIR).
4084 2017-05-26 Richard Henderson <rth@redhat.com>
4087 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4089 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4091 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4092 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4093 * config/arm/unwind-arm.c: Implement the above.
4095 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4097 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4098 section for a non-executable stack.
4100 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4103 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4105 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
4107 * config.host: Add i386/t-msabi to i386/t-linux file list.
4108 * config/i386/i386-asm.h: New file.
4109 * config/i386/resms64.S: New file.
4110 * config/i386/resms64f.S: New file.
4111 * config/i386/resms64fx.S: New file.
4112 * config/i386/resms64x.S: New file.
4113 * config/i386/savms64.S: New file.
4114 * config/i386/savms64f.S: New file.
4115 * config/i386/t-msabi: New file.
4117 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4119 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4120 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4122 2017-05-05 Joshua Conner <joshconner@google.com>
4124 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4125 pc-relative indirect handling for fuchsia.
4126 * config/t-slibgcc-fuchsia: New file.
4127 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4128 x86_64-*-fuchsia*): Add definitions.
4130 2017-04-19 Martin Liska <mliska@suse.cz>
4132 PR gcov-profile/80435
4133 * Makefile.in: Install gcov.h.
4135 * libgcov.h: Use the header and make __gcov_flush publicly
4138 2017-04-18 Martin Liska <mliska@suse.cz>
4140 PR gcov-profile/78783
4141 * libgcov-driver.c (gcov_get_filename): New function.
4143 2017-04-07 Jeff Law <law@redhat.com>
4145 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4146 target makefile fragment.
4147 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4149 2017-04-07 Alan Modra <amodra@gmail.com>
4152 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4154 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
4156 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4158 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4160 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4162 2017-03-10 John Marino <gnugcc@marino.st>
4164 * config/aarch64/freebsd-unwind.h: New file.
4165 * config.host: Add aarch64-*-freebsd unwinder.
4167 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4169 * config/rs6000/crtrestvr.s: Use .machine altivec.
4170 * config/rs6000/crtsavevr.s: Ditto.
4172 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4174 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4175 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4176 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4177 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4178 * configure: Regenerate.
4179 * config.in: Regenerate.
4181 2017-03-02 Jonathan Yong <10walls@gmail.com>
4183 * config/i386/gthr-win32.h: Define NOGDI before
4184 windows.h include to prevent w32api CC_NONE macro
4185 clash with libgfortran.
4187 2017-03-02 Jonathan Yong <10walls@gmail.com>
4189 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4191 2017-02-16 Andrew Pinski <apinski@cavium.com>
4193 * config/aarch64/value-unwind.h: New file.
4194 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4197 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4199 * config.host: Add RISC-V tuples.
4200 * config/riscv/atomic.c: New file.
4201 * config/riscv/crti.S: Likewise.
4202 * config/riscv/crtn.S: Likewise.
4203 * config/riscv/div.S: Likewise.
4204 * config/riscv/linux-unwind.h: Likewise.
4205 * config/riscv/muldi3.S: Likewise.
4206 * config/riscv/multi3.S: Likewise.
4207 * config/riscv/save-restore.S: Likewise.
4208 * config/riscv/sfp-machine.h: Likewise.
4209 * config/riscv/t-elf: Likewise.
4210 * config/riscv/t-elf32: Likewise.
4211 * config/riscv/t-elf64: Likewise.
4212 * config/riscv/t-softfp32: Likewise.
4213 * config/riscv/t-softfp64: Likewise.
4215 2017-01-24 Jakub Jelinek <jakub@redhat.com>
4217 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4218 /* FALLTHRU */ comments.
4220 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4222 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4224 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4226 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4227 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4228 DW_CFA_GNU_window_save for AArch64 and LP64.
4230 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4232 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4234 2017-01-19 Jiong Wang <jiong.wang@arm.com>
4236 * config/aarch64/aarch64-unwind.h: New file.
4237 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4238 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4239 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4240 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4241 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4242 (aarch64_post_extract_frame_addr): New function.
4243 (aarch64_post_frob_eh_handler_addr): New function.
4244 (aarch64_frob_update_context): New function.
4245 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4246 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4247 aarch64*-*-freebsd*):
4248 Initialize md_unwind_header to include aarch64-unwind.h.
4249 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4250 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4252 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4253 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4254 (uw_frob_return_addr): New function.
4255 (uw_install_context): Use uw_frob_return_addr.
4257 2017-01-17 Jakub Jelinek <jakub@redhat.com>
4260 * configure.ac: Add GCC_BASE_VER.
4261 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4262 version from BASE-VER file.
4263 * configure: Regenerated.
4265 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
4267 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4268 libmul_f5.a): Filter archived prerequisites.
4270 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4272 * config/i386/cpuinfo.h (processor_features): Add
4273 FEATURE_AVX512VPOPCNTDQ.
4274 * config/i386/cpuinfo.c (get_available_features): Habdle new
4277 2017-01-04 Joseph Myers <joseph@codesourcery.com>
4279 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4280 payload if [__mips_nan2008].
4282 2017-01-04 Alan Modra <amodra@gmail.com>
4284 * Makefile.in (configure_deps): Update.
4285 * configure: Regenerate.
4287 2017-01-01 Jakub Jelinek <jakub@redhat.com>
4289 Update copyright years.
4291 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4293 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4294 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4295 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4297 2016-12-17 Matthias Klose <doko@ubuntu.com>
4299 * config/arc/gmon: Remove empty directory.
4301 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4303 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4305 (arc*-*-elf*): Likewise.
4306 * config/arc/t-arc: Remove old gmon lib targets.
4307 * config/arc/crtg.S: Remove.
4308 * config/arc/crtgend.S: Likewise.
4309 * config/arc/gmon/atomic.h: Likewise.
4310 * config/arc/gmon/auxreg.h: Likewise.
4311 * config/arc/gmon/dcache_linesz.S: Likewise.
4312 * config/arc/gmon/gmon.c: Likewise.
4313 * config/arc/gmon/machine-gmon.h: Likewise.
4314 * config/arc/gmon/mcount.c: Likewise.
4315 * config/arc/gmon/prof-freq-stub.S: Likewise.
4316 * config/arc/gmon/prof-freq.c: Likewise.
4317 * config/arc/gmon/profil.S: Likewise.
4318 * config/arc/gmon/sys/gmon.h: Likewise.
4319 * config/arc/gmon/sys/gmon_out.h: Likewise.
4320 * config/arc/t-arc-newlib: Likewise.
4321 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4323 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4325 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4327 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4329 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4330 R16 instead of push + pop.
4331 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4333 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4335 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4338 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4340 * config.host (arc*-*-linux-uclibc*): Use default extra
4341 objects. Include linux-android header.
4342 * config/arc/crti.S (_init): Declare symbol as function.
4345 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4348 * config/i386/cpuinfo.c: Move denums for processor vendors,
4349 processor type, processor subtypes and declaration of
4350 struct __processor_model into
4351 * config/i386/cpuinfo.h: New header file.
4353 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4354 Thomas Preud'homme <thomas.preudhomme@arm.com>
4356 * config/arm/cmse_nonsecure_call.S: New.
4357 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4359 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4360 Thomas Preud'homme <thomas.preudhomme@arm.com>
4362 * config/arm/t-arm (HAVE_CMSE): New.
4363 * config/arm/cmse.c: New.
4365 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4368 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4369 use generic linker version information on Blackfin.
4372 * libgcc/mkmap-symver.awk: add support for skip_underscore
4374 2016-11-27 Iain Sandoe <iain@codesourcery.com>
4375 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4378 * config/t-darwin: Default builds to 10.5 codegen.
4380 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4382 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4383 (_FP_NANSIGN_H): Likewise.
4384 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4385 (softfp_truncations): Add tfhf.
4386 (softfp_extras): Add required conversion functions.
4388 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4389 Matthew Wahab <matthew.wahab@arm.com>
4391 * config/arm/fp16.c (binary64): New.
4392 (__gnu_d2h_internal): New.
4393 (__gnu_d2h_ieee): New.
4394 (__gnu_d2h_alternative): New.
4396 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4397 Matthew Wahab <matthew.wahab@arm.com>
4399 * config/arm/fp16.c (struct format): New.
4401 (__gnu_float2h_internal): New. Body moved from
4402 __gnu_f2h_internal and generalize.
4403 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4404 Call it with binary32.
4406 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4408 * soft-fp/extendhftf2.c: Update from glibc.
4409 * soft-fp/fixhfti.c: Likewise.
4410 * soft-fp/fixunshfti.c: Likewise.
4411 * soft-fp/floattihf.c: Likewise.
4412 * soft-fp/floatuntihf.c: Likewise.
4413 * soft-fp/half.h: Likewise.
4414 * soft-fp/trunctfhf2.c: Likewise.
4416 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
4419 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4420 __TMC_END__ behind a passthrough asm.
4422 2016-11-18 Walter Lee <walt@tilera.com>
4424 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4426 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4428 * config/i386/cpuinfo.c (processor_features): Add
4429 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4431 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4433 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4434 (__ARC_NORM__): Use instead ARC_OPTFPE.
4435 * config/arc/fp-hack.h: Likewise.
4436 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4437 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4439 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
4441 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4442 * config/nvptx/mgomp.c: New file.
4443 * config/nvptx/t-nvptx: Add mgomp.c
4445 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4448 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4450 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4452 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4453 of checking for cpus.
4454 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4455 (__modsi3, __clzsi2): Likewise.
4457 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4459 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4460 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4461 * config/i386/t-cpuinfo-static: New.
4463 2016-11-03 Martin Liska <mliska@suse.cz>
4465 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4466 (__gcov_time_profiler_atomic): Likewise.
4468 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4471 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4472 count_leading_zeros.
4474 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
4476 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4477 * libgcc2.c (__divmoddi4): New function.
4478 * libgcc2.h (__divmoddi4): Declare.
4479 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4480 and __PFX_divmodti4.
4482 2016-10-24 Florian Weimer <fweimer@redhat.com>
4485 * unwind-c.c: Include auto-target.h.
4487 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
4489 * config/pa/pa64-hpux-lib.h: New file.
4490 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4491 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4492 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4495 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4497 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4499 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4501 * config/xtensa/t-windowed (LIB2ADDEH): Use
4502 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4505 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4507 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4508 __ieee754_sqrt): New functions.
4509 (__divdf3): Add implementation with new FPU instructions under
4510 #if XCHAL_HAVE_DFP_DIV.
4511 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4512 __ieee754_sqrtf): New functions.
4513 (__divsf3): Add implementation with new FPU instructions under
4514 #if XCHAL_HAVE_FP_DIV.
4515 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4516 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4518 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4520 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4522 * config/tilepro/atomic.c: Likewise and stop casting model to
4525 2016-10-10 Joseph Myers <joseph@codesourcery.com>
4528 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4531 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4533 * config.host: Add support for aarch64-*-freebsd*.
4535 2016-10-05 Andreas Schwab <schwab@suse.de>
4537 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4538 (.section .init_array): Don't call __do_jv_register_classes.
4539 (.section .init): Likewise.
4541 2016-10-04 Jakub Jelinek <jakub@redhat.com>
4543 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4544 (__JCR_LIST__): Remove.
4545 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4546 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4547 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4548 * config/ia64/crtend.S (__JCR_END__): Remove.
4549 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4551 (__JCR_LIST__, __JCR_END__): Remove.
4552 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4553 (__do_global_ctors_1): Likewise.
4555 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
4557 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4558 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4560 2016-09-27 Martin Liska <mliska@suse.cz>
4562 PR gcov-profile/7970
4563 PR gcov-profile/16855
4564 PR gcov-profile/44779
4565 * libgcov-driver.c (__gcov_init): Do not register a atexit
4567 (__gcov_exit): Rename from gcov_exit.
4568 * libgcov.h (__gcov_exit): Declare.
4570 2016-09-27 Martin Liska <mliska@suse.cz>
4573 * Makefile.in: Remove _gcov_merge_delta.
4574 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4575 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4576 * libgcov.h: Remove declaration of __gcov_merge_delta.
4578 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4580 * configure.ac: Do not create links, only substitute the filenames.
4581 * configure: Regenerate.
4582 * Makefile.in: Assign the substitution results to variables.
4583 (LIBGCC_LINKS): Define.
4584 (enable-execute-stack.c): New rule.
4585 (unwind.h): Likewise.
4586 (md-unwind-support.h): Likewise.
4587 (sfp-machine.h): Likewise.
4588 (gthr-default.h): Likewise.
4589 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4590 unwind.h as prerequisite of install-unwind_h-forbuild.
4592 2016-09-16 Jakub Jelinek <jakub@redhat.com>
4595 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4596 is not the primary registry and atomics are available.
4597 (any_objects_registered): New variable.
4598 (__register_frame_info_bases, __register_frame_info_table_bases):
4599 Atomically store 1 to any_objects_registered after registering first
4601 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4603 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4606 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4607 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4610 (__divhc3): Likewise.
4611 (__mulhc3): Likewise.
4612 * libgcc2.c: Support _mulhc3 and _divhc3.
4614 2016-09-07 Joseph Myers <joseph@codesourcery.com>
4617 * libgcc2.c (NOTRUNC): Invert settings.
4619 2016-09-06 Martin Liska <mliska@suse.cz>
4621 PR gcov-profile/77378
4622 PR gcov-profile/77466
4623 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4624 conditionaly enable/disable *_atomic functions.
4626 2016-08-26 Joseph Myers <joseph@codesourcery.com>
4628 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4629 where not already enabled.
4631 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4633 * config/mips/linux-unwind.h: Use sys/syscall.h.
4635 2016-08-16 Joseph Myers <joseph@codesourcery.com>
4638 * soft-fp/adddf3.c: Update from glibc.
4639 * soft-fp/addsf3.c: Likewise.
4640 * soft-fp/addtf3.c: Likewise.
4641 * soft-fp/divdf3.c: Likewise.
4642 * soft-fp/divsf3.c: Likewise.
4643 * soft-fp/divtf3.c: Likewise.
4644 * soft-fp/double.h: Likewise.
4645 * soft-fp/eqdf2.c: Likewise.
4646 * soft-fp/eqsf2.c: Likewise.
4647 * soft-fp/eqtf2.c: Likewise.
4648 * soft-fp/extenddftf2.c: Likewise.
4649 * soft-fp/extended.h: Likewise.
4650 * soft-fp/extendsfdf2.c: Likewise.
4651 * soft-fp/extendsftf2.c: Likewise.
4652 * soft-fp/extendxftf2.c: Likewise.
4653 * soft-fp/fixdfdi.c: Likewise.
4654 * soft-fp/fixdfsi.c: Likewise.
4655 * soft-fp/fixdfti.c: Likewise.
4656 * soft-fp/fixsfdi.c: Likewise.
4657 * soft-fp/fixsfsi.c: Likewise.
4658 * soft-fp/fixsfti.c: Likewise.
4659 * soft-fp/fixtfdi.c: Likewise.
4660 * soft-fp/fixtfsi.c: Likewise.
4661 * soft-fp/fixtfti.c: Likewise.
4662 * soft-fp/fixunsdfdi.c: Likewise.
4663 * soft-fp/fixunsdfsi.c: Likewise.
4664 * soft-fp/fixunsdfti.c: Likewise.
4665 * soft-fp/fixunssfdi.c: Likewise.
4666 * soft-fp/fixunssfsi.c: Likewise.
4667 * soft-fp/fixunssfti.c: Likewise.
4668 * soft-fp/fixunstfdi.c: Likewise.
4669 * soft-fp/fixunstfsi.c: Likewise.
4670 * soft-fp/fixunstfti.c: Likewise.
4671 * soft-fp/floatdidf.c: Likewise.
4672 * soft-fp/floatdisf.c: Likewise.
4673 * soft-fp/floatditf.c: Likewise.
4674 * soft-fp/floatsidf.c: Likewise.
4675 * soft-fp/floatsisf.c: Likewise.
4676 * soft-fp/floatsitf.c: Likewise.
4677 * soft-fp/floattidf.c: Likewise.
4678 * soft-fp/floattisf.c: Likewise.
4679 * soft-fp/floattitf.c: Likewise.
4680 * soft-fp/floatundidf.c: Likewise.
4681 * soft-fp/floatundisf.c: Likewise.
4682 * soft-fp/floatunditf.c: Likewise.
4683 * soft-fp/floatunsidf.c: Likewise.
4684 * soft-fp/floatunsisf.c: Likewise.
4685 * soft-fp/floatunsitf.c: Likewise.
4686 * soft-fp/floatuntidf.c: Likewise.
4687 * soft-fp/floatuntisf.c: Likewise.
4688 * soft-fp/floatuntitf.c: Likewise.
4689 * soft-fp/gedf2.c: Likewise.
4690 * soft-fp/gesf2.c: Likewise.
4691 * soft-fp/getf2.c: Likewise.
4692 * soft-fp/ledf2.c: Likewise.
4693 * soft-fp/lesf2.c: Likewise.
4694 * soft-fp/letf2.c: Likewise.
4695 * soft-fp/muldf3.c: Likewise.
4696 * soft-fp/mulsf3.c: Likewise.
4697 * soft-fp/multf3.c: Likewise.
4698 * soft-fp/negdf2.c: Likewise.
4699 * soft-fp/negsf2.c: Likewise.
4700 * soft-fp/negtf2.c: Likewise.
4701 * soft-fp/op-1.h: Likewise.
4702 * soft-fp/op-2.h: Likewise.
4703 * soft-fp/op-4.h: Likewise.
4704 * soft-fp/op-8.h: Likewise.
4705 * soft-fp/op-common.h: Likewise.
4706 * soft-fp/quad.h: Likewise.
4707 * soft-fp/single.h: Likewise.
4708 * soft-fp/soft-fp.h: Likewise.
4709 * soft-fp/subdf3.c: Likewise.
4710 * soft-fp/subsf3.c: Likewise.
4711 * soft-fp/subtf3.c: Likewise.
4712 * soft-fp/truncdfsf2.c: Likewise.
4713 * soft-fp/trunctfdf2.c: Likewise.
4714 * soft-fp/trunctfsf2.c: Likewise.
4715 * soft-fp/trunctfxf2.c: Likewise.
4716 * soft-fp/unorddf2.c: Likewise.
4717 * soft-fp/unordsf2.c: Likewise.
4718 * soft-fp/unordtf2.c: Likewise.
4720 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4722 PR gcov-profile/67097
4723 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4725 2016-08-10 Martin Liska <mliska@suse.cz>
4727 PR gcov-profile/58306
4728 * Makefile.in: New functions (modules) are added.
4729 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4731 (__gcov_pow2_profiler_atomic): New function.
4732 (__gcov_one_value_profiler_body): New argument is instroduced.
4733 (__gcov_one_value_profiler): Call with the new argument.
4734 (__gcov_one_value_profiler_atomic): Likewise.
4735 (__gcov_indirect_call_profiler_v2): Likewise.
4736 (__gcov_time_profiler_atomic): New function.
4737 (__gcov_average_profiler_atomic): Likewise.
4738 (__gcov_ior_profiler_atomic): Likewise.
4739 * libgcov.h: Declare the aforementioned functions.
4741 2016-08-09 Martin Liska <mliska@suse.cz>
4743 * libgcov-util.c: Fix typo and GNU coding style.
4745 2016-08-09 Martin Liska <mliska@suse.cz>
4747 * Makefile.in: Remove __gcov_indirect_call_profiler.
4748 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4750 * libgcov.h: And the declaration of the function.
4752 2016-08-09 Martin Liska <mliska@suse.cz>
4754 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4757 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4759 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4760 * config/rs6000/_mulkc3.c: Likewise.
4762 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
4764 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4765 zero_reg as previous call to __umulhisi3 already cleared it.
4767 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4770 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4772 2016-07-19 Nick Clifton <nickc@redhat.com>
4774 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4775 Add crtinit.o and crtfini.o to extra_parts.
4777 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4779 * config/rs6000/_divkc3.c: New.
4780 * config/rs6000/_mulkc3.c: New.
4781 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4783 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4786 2016-07-11 Hale Wang <hale.wang@arm.com>
4787 Andre Vieira <andre.simoesdiasvieira@arm.com>
4789 * config/arm/lib1funcs.S: Add new wrapper.
4791 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4793 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4795 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4797 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4798 and ARMv5t* rather than for a fixed list of architectures.
4800 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4802 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4803 implementation suitable for.
4804 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4805 for all Thumb-1 only targets.
4806 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4807 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4810 (ARM_FUNC_ALIAS): Likewise.
4811 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4814 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4817 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4818 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4819 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4820 __ARM_ARCH_6M__ and add comment to indicate the connection between
4821 this condition and the one in gcc/config/arm/elf.h.
4822 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4823 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4824 * config/arm/t-softfp: Likewise.
4826 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4828 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4829 CTOR_LISTS_DEFINED_EXTERNALLY.
4831 2016-06-28 Walter Lee <walt@tilera.com>
4833 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4835 (SPR_CMPEXCH_VALUE): Define for tilegx.
4836 (__NR_FAST_cmpxchg): Define for tilepro.
4837 (__NR_FAST_atomic_update): Define for tilepro.
4838 (__NR_FAST_cmpxchg64): Define for tilepro.
4840 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4842 * config.host: Add suport for arm*-*-phoenix* targets.
4844 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4846 * config.host: Remove support for mep-*.
4847 * config/mep/lib1funcs.S: Remove.
4848 * config/mep/lib2funcs.c: Remove.
4849 * config/mep/t-mep: Remove.
4850 * config/mep/tramp.c: Remove.
4852 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4854 * config.host: Remove support for avr-rtems.
4855 * config/avr/t-rtems: Remove.
4857 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4859 * config.host: Remove m32r-rtems support.
4861 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4863 * config.host: Remove h8300-rtems support.
4865 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4867 * config.host: Remove support for knetbsd.
4869 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4871 * config.host: Remove support for openbsd 2 and 3.
4873 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4875 * config.host: Remove interix support.
4876 * config/i386/t-interix: Remove.
4878 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
4880 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4881 least-significant bit in function pointer for fixup.
4883 2016-06-05 Aaron Conole <aconole@redhat.com>
4884 Nathan Sidwell <nathan@acm.org>
4887 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4888 (get_gcov_error_file): Check __gcov_error_file before trying to
4890 (gcov_error): Always use get_gcov_error_file.
4892 2016-06-02 Aaron Conole <aconole@redhat.com>
4894 * libgcov-driver-system.c (__gcov_error_file): New.
4895 (get_gcov_error_file): New.
4896 (gcov_error): Use and set __gcov_error_file.
4897 (gcov_error_exit): New.
4898 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4900 2016-05-26 Nathan Sidwell <nathan@acm.org>
4902 * config/nvptx/free.asm: Delete.
4903 * config/nvptx/malloc.asm: Delete.
4904 * config/nvptx/realloc.c: Delete.
4907 2016-05-25 Nathan Sidwell <nathan@acm.org>
4909 * config/nvptx/crt0.s: Delete.
4910 * config/nvptx/crt0.c: New.
4913 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4915 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4916 dw2/seh configuration.
4917 [x86_64-*-mingw*]: Likewise.
4919 2016-05-10 Joel Sherrill <joel@rtems.org>
4922 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4923 targets so the same extra_parts are built. Also have tmake_file add
4924 on to its value rather than override.
4926 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4928 * config.host: Remove SH5 support.
4929 * configure: Likewise.
4931 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4933 * config/sh/crt1.S: Remove SH5 support.
4934 * config/sh/crti.S: Likewise.
4935 * config/sh/crtn.S: Likewise.
4936 * config/sh/lib1funcs-4-300.S: Likewise.
4937 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4938 * config/sh/lib1funcs.S: Likewise.
4939 * config/sh/linux-unwind.h: Likewise.
4940 * config/sh/t-sh64: Delete.
4942 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4944 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4946 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4947 Joern Rennecke <joern.rennecke@embecosm.com>
4949 * config/arc/crttls.S: New file.
4950 * config/arc/t-arc: New rule.
4951 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4953 2016-04-25 Nick Clifton <nickc@redhat.com>
4955 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4956 (__mspabi_cmpd): Likewise.
4957 * config/msp430/floathidf.c (__floathidf): Likewise.
4958 * config/msp430/floathisf.c (__floathisf): Likewise
4959 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4960 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4961 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4963 (__ashrsi3): Likewise.
4965 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4967 * config/m68k/linux-atomic.c: Do not include unistd.h
4969 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4971 * config/arm/ieee754-df.S: Fix typos in comments.
4973 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4976 * configure.ac (powerpc*-*-linux*): Rework tests to build
4977 __float128 emulation routines to not depend on using #pragma GCC
4978 target to enable -mfloat128.
4979 * configure: Regnerate.
4981 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4984 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4985 __MINGW32__ is defined.
4987 2016-03-28 James Bowman <james.bowman@ftdichip.com>
4989 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4991 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4994 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4995 built with an assembler that does not support ISA 3.0
4996 instructions, rename __extendkftf2_sw to __extendkftf2.
4998 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5001 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5002 call-clobbered registers.
5003 (internal_mcount): Remove __i386__ handling.
5005 2016-02-26 Joel Sherrill <joel@rtems.org>
5007 * config.host: Add x86_64-*-rtems*.
5009 2016-02-26 Joel Sherrill <joel@rtems.org>
5011 * libgcc/config.host: Add aarch64-*-rtems*.
5013 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5014 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5016 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5017 union of u64 and double.
5018 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5019 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5021 (FP_ROUNDMODE): Update the usage of _fpscr.
5023 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5026 * Makefile.in (crtoffloadtable$(objext)): New rule.
5027 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5028 enable_offload_targets is not empty.
5029 * configure: Regenerate.
5030 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5033 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5035 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5036 .literal_position before the function.
5037 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5040 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5042 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5043 * config/s390/morestack.S: New file.
5044 * config/s390/t-stack-s390: New file.
5045 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5047 2016-02-12 Walter Lee <walt@tilera.com>
5049 * config.host (tilegx*-*-linux*): remove ti from
5050 softfp_int_modes for 32-bit configs.
5052 2016-02-10 Ian Lance Taylor <iant@google.com>
5055 * config/i386/morestack.S (__stack_split_initialize): Align
5058 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5061 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5062 __FLOAT128__ to compile only for __float128 capable targets.
5064 2016-01-25 Jakub Jelinek <jakub@redhat.com>
5067 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5068 instead of ___NO_FPRS__.
5070 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
5071 Steven Munroe <munroesj@linux.vnet.ibm.com>
5072 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5074 * config/rs6000/float128-sed: New files to convert TF names to KF
5075 names for PowerPC IEEE 128-bit floating point support.
5076 * config/rs6000/float128-sed-hw: Likewise.
5078 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5079 floating point hardware support.
5081 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5082 128-bit floating point software emulation or use ISA 3.0 hardware
5083 support if it is available.
5085 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5088 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5089 floating point to IBM extended double.
5091 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5092 double to IEEE 128-bit floating point.
5094 * config/rs6000/t-float128: New Makefile fragments to enable
5095 building __float128 emulation support.
5096 * config/rs6000/t-float128-hw: Likewise.
5098 * config/rs6000/sfp-exceptions.c: New file to provide exception
5099 support for IEEE 128-bit floating point.
5101 * config/rs6000/floattikf.c: New files for converting between IEEE
5102 128-bit floating point and signed/unsigned 128-bit integers.
5103 * config/rs6000/fixunskfti.c: Likewise.
5104 * config/rs6000/fixkfti.c: Likewise.
5105 * config/rs6000/floatuntikf.c: Likewise.
5107 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5108 when building on 64-bit systems, or when VSX is enabled.
5109 (_FP_W_TYPE): Likewise.
5110 (_FP_WS_TYPE): Likewise.
5111 (_FP_I_TYPE): Likewise.
5112 (TItype): Define on 64-bit systems.
5113 (UTItype): Likewise.
5114 (TI_BITS): Likewise.
5115 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5116 (_FP_MUL_MEAT_Q): Likewise.
5117 (_FP_DIV_MEAT_D): Likewise.
5118 (_FP_DIV_MEAT_Q): Likewise.
5119 (_FP_NANFRAC_D): Likewise.
5120 (_FP_NANFRAC_Q): Likewise.
5121 (ISA_BIT): Add exception support if we are being compiled on a
5122 machine with hardware floating point support to build the IEEE
5123 128-bit emulation functions.
5124 (FP_EX_INVALID): Likewise.
5125 (FP_EX_OVERFLOW): Likewise.
5126 (FP_EX_UNDERFLOW): Likewise.
5127 (FP_EX_DIVZERO): Likewise.
5128 (FP_EX_INEXACT): Likewise.
5129 (FP_EX_ALL): Likewise.
5130 (__sfp_handle_exceptions): Likewise.
5131 (FP_HANDLE_EXCEPTIONS): Likewise.
5132 (FP_RND_NEAREST): Likewise.
5133 (FP_RND_ZERO): Likewise.
5134 (FP_RND_PINF): Likewise.
5135 (FP_RND_MINF): Likewise.
5136 (FP_RND_MASK): Likewise.
5137 (_FP_DECL_EX): Likewise.
5138 (FP_INIT_ROUNDMODE): Likewise.
5139 (FP_ROUNDMODE): Likewise.
5141 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5142 VSX code, enable IEEE 128-bit floating point. If the compiler can
5143 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5144 floating point hardware instructions and it supports declaring
5145 functions with the ifunc attribute, enable ifunc functions to
5146 switch between software and hardware support.
5147 * configure.ac (powerpc*-*-linux*): Likewise.
5148 * configure: Regenerate.
5150 2016-01-15 Nick Clifton <nickc@redhat.com>
5152 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5153 dependency as the source file to be compiled.
5154 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5155 (lib2hw_mul_f5.o): Likewise.
5157 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5159 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5160 * libgcc/config/rs6000/fixkfti.c: Likewise.
5161 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5162 * libgcc/config/rs6000/float128-hw.c: Likewise.
5163 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5164 * libgcc/config/rs6000/float128-sed: Likewise.
5165 * libgcc/config/rs6000/floattikf.c: Likewise.
5166 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5167 * libgcc/config/rs6000/quad-float128.h: Likewise.
5168 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5169 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5170 * libgcc/config/rs6000/t-float128: Likewise.
5171 * libgcc/config/rs6000/t-float128-hw: Likewise.
5172 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5173 * libgcc/config.host: Likewise.
5174 * libgcc/configure: Likewise.
5175 * libgcc/configure.ac: Likewise.
5177 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5178 Steven Munroe <munroesj@linux.vnet.ibm.com>
5179 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5181 * config/rs6000/sfp-exceptions.c: New file to provide exception
5182 support for IEEE 128-bit floating point.
5184 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5185 floating point hardware support.
5187 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5189 * config/rs6000/fixunskfti.c: Likewise.
5190 * config/rs6000/fixkfti.c: Likewise.
5191 * config/rs6000/floatuntikf.c: Likewise.
5192 * config/rs6000/extendkftf2-sw.c: Likewise.
5193 * config/rs6000/trunctfkf2-sw.c: Likewise.
5195 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5196 128-bit floating point software emulation or use ISA 3.0 hardware
5197 support if it is available.
5199 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5202 * config/rs6000/t-float128: New Makefile fragments to enable
5203 building __float128 emulation support.
5204 * config/rs6000/t-float128-hw: Likewise.
5206 * config/rs6000/float128-sed: New file to convert TF names to KF
5207 names for PowerPC IEEE 128-bit floating point support.
5209 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5210 when building on 64-bit systems, or when VSX is enabled.
5211 (_FP_W_TYPE): Likewise.
5212 (_FP_WS_TYPE): Likewise.
5213 (_FP_I_TYPE): Likewise.
5214 (TItype): Define on 64-bit systems.
5215 (UTItype): Likewise.
5216 (TI_BITS): Likewise.
5217 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5218 (_FP_MUL_MEAT_Q): Likewise.
5219 (_FP_DIV_MEAT_D): Likewise.
5220 (_FP_DIV_MEAT_Q): Likewise.
5221 (_FP_NANFRAC_D): Likewise.
5222 (_FP_NANFRAC_Q): Likewise.
5223 (ISA_BIT): Add exception support if we are being compiled on a
5224 machine with hardware floating point support to build the IEEE
5225 128-bit emulation functions.
5226 (FP_EX_INVALID): Likewise.
5227 (FP_EX_OVERFLOW): Likewise.
5228 (FP_EX_UNDERFLOW): Likewise.
5229 (FP_EX_DIVZERO): Likewise.
5230 (FP_EX_INEXACT): Likewise.
5231 (FP_EX_ALL): Likewise.
5232 (__sfp_handle_exceptions): Likewise.
5233 (FP_HANDLE_EXCEPTIONS): Likewise.
5234 (FP_RND_NEAREST): Likewise.
5235 (FP_RND_ZERO): Likewise.
5236 (FP_RND_PINF): Likewise.
5237 (FP_RND_MINF): Likewise.
5238 (FP_RND_MASK): Likewise.
5239 (_FP_DECL_EX): Likewise.
5240 (FP_INIT_ROUNDMODE): Likewise.
5241 (FP_ROUNDMODE): Likewise.
5243 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5244 compiler can do __float128.
5245 * configure: Regenerate.
5247 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5248 VSX code, enable IEEE 128-bit floating point.
5250 2016-01-05 Olivier Hainque <hainque@adacore.com>
5252 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5255 2016-01-04 Jakub Jelinek <jakub@redhat.com>
5257 Update copyright years.
5259 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5261 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5264 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5266 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5267 instead of abort to avoid dependency on stdlib.h.
5269 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
5271 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5272 to initialize call to __dl_fixup once.
5274 2015-12-04 Nick Clifton <nickc@redhat.com>
5276 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5277 Allow for the second argument being negative.
5278 * config.host (extra_parts): Define for MSP430. Create separate
5279 libraries for each of the hardware multiply formats.
5280 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5282 * config/msp430/lib2mul.c: Likewise.
5283 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5284 Add rules to build hardware multiply libraries.
5285 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5286 __mspabi_divul function.
5287 (__mspabi_divllu): New stub function.
5289 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
5291 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5292 fixup values if saved GOT address doesn't match runtime address.
5293 (fixup_branch_offset): Reorder list.
5295 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5297 * Makefile.in (VTV_CFLAGS): New variable.
5298 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5299 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5300 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5301 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5302 to extra_parts if $enable_vtable_verify = yes.
5304 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5307 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5308 (write): ...this and fix the return type.
5310 2015-11-19 DJ Delorie <dj@redhat.com>
5312 * config/msp430/lib2hw_mul.S: Fix alignment.
5314 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5316 * config/nvptx/reduction.c: New.
5317 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5319 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
5321 * config/rs6000/on_exit.c: New file.
5322 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5323 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5325 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5327 * config/arc/dp-hack.h: Add support for ARCHS.
5328 * config/arc/ieee-754/divdf3.S: Likewise.
5329 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5330 * config/arc/ieee-754/muldf3.S: Likewise.
5331 * config/arc/ieee-754/mulsf3.S: Likewise
5332 * config/arc/lib1funcs.S: Likewise
5333 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5335 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5337 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5338 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5341 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5343 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5345 * config/ia64/crtend.S: Likewise.
5347 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5349 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5350 __CHAR_BIT__ instead of BITS_PER_UNIT.
5351 * fixed-bit.h: Likewise.
5352 * fp-bit.h: Likewise.
5353 * libgcc2.c (__popcountSI2): Likewise.
5354 (__popcountDI2): Likewise.
5355 * libgcc2.h: Likewise.
5356 * libgcov.h: Likewise.
5358 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
5360 * config/rs6000/atexit.c: New file.
5361 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5362 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5363 * config/rs6000/cxa_finalize.c
5364 (catomic_compare_and_exchange_bool_acq): Negate return value.
5366 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5368 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5369 (processor_subtypes): Add znver1.
5370 (get_amd_cpu): Detect znver1.
5372 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5374 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5375 Include crtfastmath.o.
5377 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5380 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5382 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5384 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5385 * config/rl78/divmodsi.S: Update return register to r8.
5386 * config/rl78/divmodhi.S: Update return register to r8,r9.
5387 Branch to main_loop_done_himode to pop registers before return.
5389 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5391 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5392 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5394 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5396 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5398 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5400 * config.host (xtensa*-*-uclinux*): New configuration.
5402 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5404 * config/i386/cpuinfo.c (processor_features): Add
5405 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5407 2015-09-28 Joseph Myers <joseph@codesourcery.com>
5409 * soft-fp/adddf3.c: Update from glibc.
5410 * soft-fp/addsf3.c: Likewise.
5411 * soft-fp/addtf3.c: Likewise.
5412 * soft-fp/divdf3.c: Likewise.
5413 * soft-fp/divsf3.c: Likewise.
5414 * soft-fp/divtf3.c: Likewise.
5415 * soft-fp/double.h: Likewise.
5416 * soft-fp/eqdf2.c: Likewise.
5417 * soft-fp/eqsf2.c: Likewise.
5418 * soft-fp/eqtf2.c: Likewise.
5419 * soft-fp/extenddftf2.c: Likewise.
5420 * soft-fp/extended.h: Likewise.
5421 * soft-fp/extendsfdf2.c: Likewise.
5422 * soft-fp/extendsftf2.c: Likewise.
5423 * soft-fp/extendxftf2.c: Likewise.
5424 * soft-fp/fixdfdi.c: Likewise.
5425 * soft-fp/fixdfsi.c: Likewise.
5426 * soft-fp/fixdfti.c: Likewise.
5427 * soft-fp/fixsfdi.c: Likewise.
5428 * soft-fp/fixsfsi.c: Likewise.
5429 * soft-fp/fixsfti.c: Likewise.
5430 * soft-fp/fixtfdi.c: Likewise.
5431 * soft-fp/fixtfsi.c: Likewise.
5432 * soft-fp/fixtfti.c: Likewise.
5433 * soft-fp/fixunsdfdi.c: Likewise.
5434 * soft-fp/fixunsdfsi.c: Likewise.
5435 * soft-fp/fixunsdfti.c: Likewise.
5436 * soft-fp/fixunssfdi.c: Likewise.
5437 * soft-fp/fixunssfsi.c: Likewise.
5438 * soft-fp/fixunssfti.c: Likewise.
5439 * soft-fp/fixunstfdi.c: Likewise.
5440 * soft-fp/fixunstfsi.c: Likewise.
5441 * soft-fp/fixunstfti.c: Likewise.
5442 * soft-fp/floatdidf.c: Likewise.
5443 * soft-fp/floatdisf.c: Likewise.
5444 * soft-fp/floatditf.c: Likewise.
5445 * soft-fp/floatsidf.c: Likewise.
5446 * soft-fp/floatsisf.c: Likewise.
5447 * soft-fp/floatsitf.c: Likewise.
5448 * soft-fp/floattidf.c: Likewise.
5449 * soft-fp/floattisf.c: Likewise.
5450 * soft-fp/floattitf.c: Likewise.
5451 * soft-fp/floatundidf.c: Likewise.
5452 * soft-fp/floatundisf.c: Likewise.
5453 * soft-fp/floatunditf.c: Likewise.
5454 * soft-fp/floatunsidf.c: Likewise.
5455 * soft-fp/floatunsisf.c: Likewise.
5456 * soft-fp/floatunsitf.c: Likewise.
5457 * soft-fp/floatuntidf.c: Likewise.
5458 * soft-fp/floatuntisf.c: Likewise.
5459 * soft-fp/floatuntitf.c: Likewise.
5460 * soft-fp/gedf2.c: Likewise.
5461 * soft-fp/gesf2.c: Likewise.
5462 * soft-fp/getf2.c: Likewise.
5463 * soft-fp/ledf2.c: Likewise.
5464 * soft-fp/lesf2.c: Likewise.
5465 * soft-fp/letf2.c: Likewise.
5466 * soft-fp/muldf3.c: Likewise.
5467 * soft-fp/mulsf3.c: Likewise.
5468 * soft-fp/multf3.c: Likewise.
5469 * soft-fp/negdf2.c: Likewise.
5470 * soft-fp/negsf2.c: Likewise.
5471 * soft-fp/negtf2.c: Likewise.
5472 * soft-fp/op-1.h: Likewise.
5473 * soft-fp/op-2.h: Likewise.
5474 * soft-fp/op-4.h: Likewise.
5475 * soft-fp/op-8.h: Likewise.
5476 * soft-fp/op-common.h: Likewise.
5477 * soft-fp/quad.h: Likewise.
5478 * soft-fp/single.h: Likewise.
5479 * soft-fp/soft-fp.h: Likewise.
5480 * soft-fp/subdf3.c: Likewise.
5481 * soft-fp/subsf3.c: Likewise.
5482 * soft-fp/subtf3.c: Likewise.
5483 * soft-fp/truncdfsf2.c: Likewise.
5484 * soft-fp/trunctfdf2.c: Likewise.
5485 * soft-fp/trunctfsf2.c: Likewise.
5486 * soft-fp/trunctfxf2.c: Likewise.
5487 * soft-fp/unorddf2.c: Likewise.
5488 * soft-fp/unordsf2.c: Likewise.
5489 * soft-fp/unordtf2.c: Likewise.
5491 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
5494 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5496 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5498 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5499 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5500 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5502 (internal_mcount): Likewise.
5503 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5504 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5506 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5508 * configure.ac (libgcc_cv_solaris_crts): New test.
5509 * configure: Regenerate.
5510 * config.in: Regenerate.
5511 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5512 * config/gmon-sol2.c: Rename to ...
5513 * config/sol2/gmon.c: ... this.
5514 Include auto-target.h.
5515 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5516 * config/t-sol2: Rename to ...
5517 * config/sol2/t-sol2: ... this.
5518 (gmon.o): Reflect renaming.
5519 (crtp.o, crtpg.o): New rules.
5520 * config.host (*-*-solaris2*): Reflect renaming.
5521 Use system CRTs if present.
5522 Remove default CRT case.
5524 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
5526 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5527 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5529 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5530 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5531 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5532 (__sync_lock_test_and_set_##WIDTH): Likewise.
5533 (__sync_lock_release_##WIDTH): Likewise.
5534 (__sync_fetch_and_##OP##_4): Change result to match type of
5536 (__sync_##OP##_and_fetch_4): Likewise.
5537 (__sync_val_compare_and_swap_4): Likewise.
5538 (__sync_bool_compare_and_swap_4): likewise.
5539 (__sync_lock_test_and_set_4): Likewise.
5540 (__sync_lock_release_4): Likewise.
5541 (FETCH_AND_OP_2): Add long long variants.
5542 (OP_AND_FETCH_2): Likewise.
5543 (COMPARE_AND_SWAP_2 ): Likewise.
5544 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5545 (SYNC_LOCK_RELEASE_2): Likewise.
5546 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5548 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
5550 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5551 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5552 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5553 (get_available_features): Habdle new features.
5555 2015-09-21 James Bowman <james.bowman@ftdichip.com>
5557 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5558 memory layout. Deal correctly with BSS region larger than 32K.
5559 Handle a watchdog reset like a power-on reset. Clean up unused
5562 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
5563 David Edelsohn <dje.gcc@gmail.com>
5565 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5566 * config/rs6000/crtdbase.S: New file.
5567 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5569 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5571 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5572 Add support for call0 ABI.
5574 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
5576 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5578 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5580 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5581 (__GTHREAD_HAS_COND): Likewise.
5582 (__gthread_t): Likewise.
5583 (__gthread_cond_t): Likewise.
5584 (__gthread_time_t): Likewise.
5585 (__GTHREAD_MUTEX_INIT): Likewise.
5586 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5587 (__GTHREAD_COND_INIT): Likewise.
5588 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5589 (__GTHREAD_TIME_INIT): Likewise.
5590 (__gthread_create): Likewise.
5591 (__gthread_join): Likewise.
5592 (__gthread_detach): Likewise.
5593 (__gthread_equal): Likewise.
5594 (__gthread_self): Likewise.
5595 (__gthread_yield): Likewise.
5596 (__gthread_cond_broadcast): Likewise.
5597 (__gthread_cond_signal): Likewise.
5598 (__gthread_cond_wait): Likewise.
5599 (__gthread_cond_timedwait): Likewise.
5600 (__gthread_cond_wait_recursive): Likewise.
5601 (__gthread_cond_destroy): Likewise.
5602 (rtems_gxx_once): Delete.
5603 (rtems_gxx_key_create): Likewise.
5604 (rtems_gxx_key_delete): Likewise.
5605 (rtems_gxx_getspecific): Likewise.
5606 (rtems_gxx_setspecific): Likewise.
5607 (rtems_gxx_mutex_init): Likewise.
5608 (rtems_gxx_mutex_destroy): Likewise.
5609 (rtems_gxx_mutex_lock): Likewise.
5610 (rtems_gxx_mutex_trylock): Likewise.
5611 (rtems_gxx_mutex_unlock): Likewise.
5612 (rtems_gxx_recursive_mutex_init): Likewise.
5613 (rtems_gxx_recursive_mutex_lock): Likewise.
5614 (rtems_gxx_recursive_mutex_trylock): Likewise.
5615 (rtems_gxx_recursive_mutex_unlock): Likewise.
5616 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5617 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5618 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5619 (__gthread_once): Likewise.
5620 (__gthread_key_create): Likewise.
5621 (__gthread_key_delete): Likewise.
5622 (__gthread_getspecific): Likewise.
5623 (__gthread_setspecific): Likewise.
5624 (__gthread_key_t): Use <pthread.h> type.
5625 (__gthread_once_t): Likewise
5626 (__gthread_mutex_t): Use <sys/lock.h> type.
5627 (__gthread_recursive_mutex_t): Likewise
5628 (__gthread_mutex_lock): Use <sys/lock.h> function.
5629 (__gthread_mutex_trylock): Likewise.
5630 (__gthread_mutex_timedlock): Likewise.
5631 (__gthread_mutex_unlock): Likewise.
5632 (__gthread_mutex_destroy): Likewise.
5633 (__gthread_recursive_mutex_lock): Likewise.
5634 (__gthread_recursive_mutex_trylock): Likewise.
5635 (__gthread_recursive_mutex_timedlock): Likewise.
5636 (__gthread_recursive_mutex_unlock): Likewise.
5637 (__gthread_recursive_mutex_destroy): Likewise.
5639 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5641 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5642 context->sp instead of context->cfa.
5644 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5646 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5647 with unwind-dw2-fde-dip.
5649 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5651 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5652 CALL12 followed by series of ENTRY to spill windowed registers.
5653 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5654 instead of making linux spill syscall.
5656 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5658 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5659 (get_intel_cpu): Likewise.
5661 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5663 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5664 (get_intel_cpu): Add Knights Landing support.
5666 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
5669 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5670 (get_available_features): Handle FEATURE_PCLMUL.
5672 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5674 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5677 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
5680 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5681 (get_available_features): Handle FEATURE_AES.
5683 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5685 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5686 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5688 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5690 * offloadstuff.c: Constify host data.
5692 2015-07-17 Jan Beulich <jbeulich@suse.com>
5694 * config/t-softfp: Split up "else ifneq".
5696 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5697 Cesar Philippidis <cesar@codesourcery.com>
5698 Chung-Lin Tang <cltang@codesourcery.com>
5700 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5701 for __nios2_arch__ level.
5703 2015-07-13 John Marino <gnugcc@marino.st>
5705 * config/i386/t-dragonfly: New.
5707 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
5709 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5710 better match light-weight syscall argument order.
5711 (__kernel_cmpxchg2): Likewise.
5714 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5716 * config.host: Support i[34567]86-*-elfiamcu target.
5717 * config/t-softfp-sfdftf: New file.
5718 * config/i386/32/t-iamcu: Likewise.
5719 * configure: Regenerated.
5721 2015-06-23 James Lemke <jwlemke@codesourcery.com>
5724 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5726 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5728 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5730 2015-05-27 John Marino <gnugcc@marino.st>
5732 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5734 * config/i386/freebsd-unwind.h: New.
5736 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
5738 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5739 i386/t-crtfm to tmake_file.
5740 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5741 (set_fast_math): Use set_fast_math_sse for SSE targets.
5742 * config/i386/t-crtfm: Remove.
5744 2015-05-21 Alan Modra <amodra@gmail.com>
5747 * config/rs6000/morestack.S: Remove ".abiversion 1".
5749 2015-05-20 Alan Modra <amodra@gmail.com>
5751 * config/rs6000/morestack.S: New.
5752 * config/rs6000/t-stack-rs6000: New.
5753 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5755 * generic-morestack.c: Don't build for powerpc 32-bit.
5757 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5759 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5760 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5762 2015-05-16 James Bowman <james.bowman@ftdichip.com>
5764 * config.host: FT32 target added.
5765 * config/ft32/*: New files for FT32 target.
5767 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5769 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5771 * config/arm/ieee754-df.S: Add CFI directives.
5772 * config/arm/ieee754-sf.S: Add CFI directives.
5774 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5776 * configure.ac: Include config/sjlj.m4.
5777 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5778 * config.in: Regenerate.
5779 * configure: Likewise.
5780 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5782 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
5784 * libgcov-util.c: Add space between string literal and macro name.
5786 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5787 Chris Jones <chrisj@nvidia.com>
5788 Joshua Conner <jconner@nvidia.com>
5790 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5791 (arm*-*-uclinux*): Likewise.
5792 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5793 * config/arm/crtfastmath.c: New file.
5795 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5797 * Makefile.in (real_host_noncanonical): New variable.
5798 (libsubdir): Use it.
5799 * configure.ac (real_host_noncanonical): Compute. Remove special
5800 case for intelmicemul.
5801 * configure: Regenerate.
5803 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5805 * config/frv/elf-lib.h: New file.
5806 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5807 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5810 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5812 * config/frv/frvbengin.c: Do not include defaults.h
5813 * config/frv/frvend.c: Ditto.
5815 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5817 * config.host: Add h8300-*-linux
5818 * config/h8300/t-linux: New file.
5819 * config/h8300/lib1funs.s: Change symbol prefix.
5820 * config/h8300/sfp-machine.h: 64bit double support.
5822 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5823 Szabolcs Nagy <szabolcs.nagy@arm.com>
5825 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5826 Linux if target provides dl_iterate_phdr.
5828 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5831 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5832 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5833 (__cpu_indicator_init@GCC_4.8.0): New.
5834 (__cpu_model@GCC_4.8.0): Likewise.
5835 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5838 2015-04-16 Nick Clifton <nickc@redhat.com>
5840 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5841 and __modhi3 functions.
5842 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5843 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5845 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5847 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5848 do-while loop as macro body to avoid warnings.
5850 2015-04-10 Jakub Jelinek <jakub@redhat.com>
5851 Iain Sandoe <iain@codesourcery.com>
5854 * configure: Regenerate.
5856 2015-04-07 Jakub Jelinek <jakub@redhat.com>
5857 Iain Sandoe <iain@codesourcery.com>
5860 * configure: Regenerate.
5862 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5864 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5866 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
5868 Implement call0 ABI for xtensa
5869 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5870 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5871 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5872 use ret in call0 ABI.
5873 * config/xtensa/t-windowed: New file.
5874 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5875 * libgcc/configure: Regenerated.
5876 * libgcc/configure.ac: Check if xtensa target is configured for
5877 windowed ABI and thus needs to use custom unwind code.
5879 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
5882 * gthr-single.h: Use __unused__ attribute instead of unused.
5883 * config/gthr-vxworks.h: Likewise.
5884 * config/i386/gthr-win32.h: Likewise.
5886 2015-02-27 Kai Tietz <ktietz@redhat.com>
5889 * config.in: Regenerated.
5890 * configure: Likewise.
5891 * configure.ac (AC_HEADER_STDC): Added explicit.
5892 (AC_CHECK_HEADERS): Check for default headers plus
5894 * libgcov-util.c (gcov_read_profile_dir): Disable use
5895 of ftw-function, if header is not found.
5896 (ftw_read_file): Likewise.
5898 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5901 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5904 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5906 * config/arm/bpabi.S (test_div_by_zero): Make label names
5907 consistent between thumb2 and arm mode cases. Separate the
5908 signed comparison on the high word of the numerator from the
5909 unsigned comparison on the low word.
5910 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5913 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5915 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5917 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5919 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5921 PR gcov-profile/61889
5922 * libgcov-driver-system.c: undefine clashing macro for mkdir.
5924 2015-02-02 Nick Clifton <nickc@redhat.com>
5926 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5927 rounding up the fraction.
5929 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
5931 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5932 oldval and newval to const void *. Fix typo.
5933 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5934 (FETCH_AND_OP_WORD): Likewise.
5935 (OP_AND_FETCH_WORD): Likewise.
5936 (COMPARE_AND_SWAP_2): Likewise.
5937 (__sync_val_compare_and_swap_4): Likewise.
5938 (__sync_lock_test_and_set_4): Likewise.
5939 (SYNC_LOCK_RELEASE_2): Likewise.
5940 Remove support for long long atomic operations.
5942 2015-01-27 Caroline Tice <cmtice@google.com>
5944 Committing VTV Cywin/Ming patch for Patrick Wollgast
5945 * Makefile.in: Move rules to build vtv_*.o out of the check
5946 for CUSTOM_CRTSTUFF.
5947 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5948 i[34567]86-*-mingw*)
5949 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5950 enable_vtable_verify.
5952 2015-01-27 Nick Clifton <nickc@redhat.com>
5954 * config/rl78/cmpsi2.S: Use function start and end macros.
5955 (__gcc_bcmp): New function.
5956 * config/rl78/lshrsi3.S: Use function start and end macros.
5957 * config/rl78/mulsi3.S: Add support for G10.
5958 (__mulqi3): New function for G10.
5959 * config/rl78/signbit.S: Use function start and end macros.
5960 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5962 (LIB2FUNCS_EXCLUDE): Define.
5963 (LIB2FUNCS_ST): Define.
5964 * config/rl78/trampoline.S: Use function start and end macros.
5965 * config/rl78/vregs.h (START_FUNC): New macro.
5966 (START_ANOTHER_FUNC): New macro.
5967 (END_FUNC): New macro.
5968 (END_ANOTHER_FUNC): New macro.
5969 * config/rl78/bit-count.S: New file. Contains assembler
5970 implementations of the bit counting functions: ___clzhi2,
5971 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5972 __paritysi2, __popcounthi2 and __popcountsi2.
5973 * config/rl78/fpbit-sf.S: New file. Contains assembler
5974 implementationas of the math functions: __negsf2, __cmpsf2,
5975 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5976 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5977 * config/rl78/fpmath-sf.S: New file. Contains assembler
5978 implementations of the math functions: __subsf3, __addsf3,
5979 __mulsf3 and __divsf3
5981 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5983 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5984 Add i386/elf-lib.h to tm_file.
5985 * config/i386/elf-lib.h: Fix comment.
5986 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5987 && __sun__ && __svr4__]: Remove workaround.
5989 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5991 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5993 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5995 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5997 * config/i386/cpuinfo.c (processor_subtypes): Add
5998 INTEL_COREI7_BROADWELL.
5999 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6002 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
6004 * config/i386/elf-lib.h: New file.
6005 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6006 Wrap definition in #ifdef __i386__.
6007 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6008 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6009 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6010 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6013 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6015 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6016 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6018 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6020 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6021 Update rt_sigframe format and address for current Nios II
6024 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6026 * config.host (arm*-*-freebsd*): Add new configuration for
6028 * config/arm/freebsd-atomic.c: New file.
6029 * config/arm/t-freebsd: Likewise.
6030 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6031 'PC-relative indirect' OS's.
6033 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6035 * config.host: Add Visium support.
6036 * config/visium: New directory.
6038 2015-01-05 Jakub Jelinek <jakub@redhat.com>
6040 Update copyright years.
6042 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6044 * config.host: Support mipsisa32r6 and mipsisa64r6.
6045 * config/mips/mips16.S: Do not build for R6.
6047 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6049 * config/sh/crt.h: New.
6050 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6052 * config/sh/crt1.S: Likewise.
6054 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
6057 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6058 func_ptr *dtor_list temporary variable to avoid "array subscript
6059 is above array bounds" warnings.
6061 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
6063 * Makefile.in (with_aix_soname): Define.
6064 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6065 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6066 * configure: Recreate.
6068 2014-12-05 Olivier Hainque <hainque@adacore.com>
6070 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6071 now provided by defaults.h.
6073 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6076 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6077 whether it's defined.
6079 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6081 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6082 * config/i386/cpuinfo.c (get_available_features): Detect it.
6084 2014-11-27 Tony Wang <tony.wang@arm.com>
6086 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6087 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6088 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6090 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6092 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6094 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
6096 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6099 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6100 John David Anglin <danglin@gcc.gnu.org>
6102 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6103 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6104 (OP_AND_FETCH_2): Likewise.
6105 (COMPARE_AND_SWAP_2): Likewise.
6106 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6107 (SYNC_LOCK_RELEASE_2): Likewise.
6108 (SUBWORD_SYNC_OP): Remove.
6109 (SUBWORD_VAL_CAS): Likewise.
6110 (SUBWORD_BOOL_CAS): Likewise.
6111 (FETCH_AND_OP_WORD): Update.
6112 Consistently use signed types.
6114 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6115 Thomas Schwinge <thomas@codesourcery.com>
6116 Ilya Verbin <ilya.verbin@intel.com>
6117 Andrey Turetskiy <andrey.turetskiy@intel.com>
6119 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6120 (crtoffloadend$(objext)): Likewise.
6121 * configure: Regenerate.
6122 * configure.ac (accel_dir_suffix): Compute new variable.
6123 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6124 if enable_offload_targets is not empty.
6125 * offloadstuff.c: New file.
6127 2014-11-13 Nick Clifton <nickc@redhat.com>
6129 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6130 Use START_FUNC and END_FUNC macros to enable linker garbage
6132 * config/rl78/divmodqi.S: Likewise.
6133 * config/rl78/divmodsi.S: Likewise.
6134 * config/rl78/mulsi3.S: Likewise.
6135 * config/rl78/lib2div.c: Remove G10 functions.
6136 * config/rl78/lib2muls.c: Likewise.
6137 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6138 * config/rl78/vregs.h (START_FUNC): New macro.
6139 (END_FUNC): New macro.
6141 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6143 * config/mips/mips16.S: Set .module when supported. Update O32
6144 FP64 calling convention and use for FPXX when possible. Add FPXX
6145 calling convention fallback case.
6147 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6149 * config.host: Handle nvptx-*-*.
6150 * shared-object.mk (as-flags-$o): Define.
6151 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6152 -xassembler-with-cpp.
6153 * static-object.mk: Identical changes.
6154 * config/nvptx/t-nvptx: New file.
6155 * config/nvptx/crt0.s: New file.
6156 * config/nvptx/free.asm: New file.
6157 * config/nvptx/malloc.asm: New file.
6158 * config/nvptx/realloc.c: New file.
6160 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6162 * Makefile.in (libgcc.map.in): New target.
6163 (libgcc.map): Use libgcc.map.in.
6164 * config/t-softfp (softfp_compat): New variable to be set by
6166 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6168 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6170 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6171 that use compat symbols and disable all code unless [SHARED].
6172 * config/t-softfp-compat: New file.
6173 * find-symver.awk: New file.
6174 * configure.ac (--with-glibc-version): New configure option.
6175 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6176 * configure: Regenerate.
6177 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6178 soft-float and e500.
6180 2014-10-29 Joseph Myers <joseph@codesourcery.com>
6182 * config/t-hardfp (hardfp_exclusions): Document new variable for
6184 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6185 * config/t-softfp (softfp_extras): Document new variable for user
6187 (softfp_func_list): Add functions from $(softfp_extras).
6188 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6189 * config.host (powerpc*-*-linux*): For e500v1, use
6190 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6191 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6192 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6194 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
6196 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6197 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6198 memory read accesses are ok.
6200 2014-10-25 Joseph Myers <joseph@codesourcery.com>
6202 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6203 * configure: Regenerate.
6204 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6205 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6206 of soft-fp for 32-bit classic hard float. Do not use
6207 t-softfp-excl for soft float.
6209 2014-10-22 Joseph Myers <joseph@codesourcery.com>
6211 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6213 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6216 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
6218 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6219 introduced with 2014-10-21 trunk r216525.
6221 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
6222 Vidya Praveen <vidya.praveen@atmel.com>
6223 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6224 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6225 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
6227 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6230 Updated library functions for AVRTINY arch.
6231 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6232 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6233 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6234 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6236 (__mulsi3_helper): Update stack, preserve callee saved regs and
6237 argument from stack. Restore callee save registers.
6238 (__mulpsi3): Likewise.
6239 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6240 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6241 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6243 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6244 (__do_copy_data): Added new definition for AVRTINY.
6245 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6246 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6247 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6248 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6249 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6251 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6254 Fix broken long multiplication on tiny arch.
6256 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6258 * soft-fp/double.h: Update from glibc.
6259 * soft-fp/eqdf2.c: Likewise.
6260 * soft-fp/eqsf2.c: Likewise.
6261 * soft-fp/eqtf2.c: Likewise.
6262 * soft-fp/extenddftf2.c: Likewise.
6263 * soft-fp/extended.h: Likewise.
6264 * soft-fp/extendsfdf2.c: Likewise.
6265 * soft-fp/extendsftf2.c: Likewise.
6266 * soft-fp/extendxftf2.c: Likewise.
6267 * soft-fp/gedf2.c: Likewise.
6268 * soft-fp/gesf2.c: Likewise.
6269 * soft-fp/getf2.c: Likewise.
6270 * soft-fp/ledf2.c: Likewise.
6271 * soft-fp/lesf2.c: Likewise.
6272 * soft-fp/letf2.c: Likewise.
6273 * soft-fp/op-1.h: Likewise.
6274 * soft-fp/op-2.h: Likewise.
6275 * soft-fp/op-4.h: Likewise.
6276 * soft-fp/op-8.h: Likewise.
6277 * soft-fp/op-common.h: Likewise.
6278 * soft-fp/quad.h: Likewise.
6279 * soft-fp/single.h: Likewise.
6280 * soft-fp/soft-fp.h: Likewise.
6281 * soft-fp/unorddf2.c: Likewise.
6282 * soft-fp/unordsf2.c: Likewise.
6283 * soft-fp/unordtf2.c: Likewise.
6284 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6285 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6286 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6287 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6288 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6289 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6290 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6291 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6292 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6293 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6295 2014-10-08 Rong Xu <xur@google.com>
6297 * libgcov-util.c (read_gcda_file): Fix format.
6298 (find_match_gcov_info): Ditto.
6299 (calculate_2_entries): New.
6300 (compute_one_gcov): Ditto.
6301 (gcov_info_count_all_cold): Ditto.
6302 (gcov_info_count_all_zero): Ditto.
6303 (extract_file_basename): Ditto.
6304 (get_file_basename): Ditto.
6306 (matched_gcov_info): Ditto.
6307 (calculate_overlap): Ditto.
6308 (gcov_profile_overlap): Ditto.
6309 * libgcov-driver.c (compute_summary): Make
6310 it avavilable for external calls.
6312 2014-10-06 Rong Xu <xur@google.com>
6314 * Makefile.in: Ditto.
6315 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6316 (gcov_sort_icall_topn_counter): Ditto.
6317 (gcov_sort_topn_counter_arrays): Ditto.
6318 (dump_one_gcov): Sort indirect_call topn counters.
6319 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6321 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6323 (__gcov_indirect_call_topn_profiler): New profiler function.
6324 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6325 * libgcov.h: New decls.
6327 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6329 * config.host: Remove support for score-*.
6331 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6333 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6334 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6335 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6336 __LIBGCC_XF_MANT_DIG__.
6337 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6338 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6339 __LIBGCC_TF_MANT_DIG__.
6340 * libgcc2.c (NOTRUNC): Define in terms of
6341 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6342 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6344 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6347 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6350 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
6352 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6353 override USE_PT_GNU_EH_FRAME.
6354 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6355 check USE_EH_FRAME_REGISTRY_ALWAYS against
6356 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6357 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6358 variable for substituted force_explicit_eh_registry.
6359 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6360 * configure.ac (explicit-exception-frame-registration):
6362 * configure: Regenerate.
6364 2014-09-19 Olivier Hainque <hainque@adacore.com>
6366 * config.host (powerpc-wrs-vxworksmils): New configuration,
6369 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6371 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6373 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6375 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6376 bits not set bits as indicating trapping exceptions.
6378 2014-09-17 Nathan sidwell <nathan@acm.org>
6380 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6381 (LIBGCOV_DRIVER): ... here.
6382 * libgcov-driver.c (gcov_master): New.
6383 (gcov_exit): Remove from master chain.
6384 (__gcov_init): Add to master chain if version compatible. Don't
6386 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6387 (gcov_reset_int): Clear master chain, if compatible.
6388 (gcov_dump_int): New internal interface. Dump master chain, if
6390 (gcov_dump): Alias for gcov_dump_int.
6391 * libgcov.h (struct gcov_root): Add next and prev fields.
6392 (struct gcov_master): New struct.
6393 (__gcov_master): New.
6394 (gcov_dump_int): Declare.
6396 2014-09-17 Olivier Hainque <hainque@adacore.com>
6398 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6399 and crtbegin.o + crtend.o to extra_parts.
6401 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6403 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6404 __LIBGCC_HAS_SF_MODE__.
6405 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6406 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6407 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6408 * config/libbid/bid_gcc_intrinsics.h
6409 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6410 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6411 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6412 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6413 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6414 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6416 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
6419 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6420 and R24 as needed. Make work for all devices and .text locations.
6421 (__do_global_ctors, __do_global_dtors): Use word addresses.
6422 (__tablejump__, __tablejump_elpm__): Remove functions.
6423 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6425 (XICALL, XIJMP): New macros.
6427 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6428 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6430 * config.host (aarch64*): Include crtfastmath.o and
6432 * config/aarch64/crtfastmath.c: New file.
6434 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6436 * config.host: Remove picochip support.
6437 * config/picochip/adddi3.S: Remove.
6438 * config/picochip/ashlsi3.S: Remove.
6439 * config/picochip/ashlsi3.c: Remove.
6440 * config/picochip/ashrsi3.S: Remove.
6441 * config/picochip/ashrsi3.c: Remove.
6442 * config/picochip/clzsi2.S: Remove.
6443 * config/picochip/cmpsi2.S: Remove.
6444 * config/picochip/divmod15.S: Remove.
6445 * config/picochip/divmodhi4.S: Remove.
6446 * config/picochip/divmodsi4.S: Remove.
6447 * config/picochip/lib1funcs.S: Remove.
6448 * config/picochip/longjmp.S: Remove.
6449 * config/picochip/lshrsi3.S: Remove.
6450 * config/picochip/lshrsi3.c: Remove.
6451 * config/picochip/parityhi2.S: Remove.
6452 * config/picochip/popcounthi2.S: Remove.
6453 * config/picochip/setjmp.S: Remove.
6454 * config/picochip/subdi3.S: Remove.
6455 * config/picochip/t-picochip: Remove.
6456 * config/picochip/ucmpsi2.S: Remove.
6457 * config/picochip/udivmodhi4.S: Remove.
6458 * config/picochip/udivmodsi4.S: Remove.
6460 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6462 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6463 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6464 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6465 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6466 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6467 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6468 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6469 defined and LIBGCC2_HAS_DF_MODE is defined.
6470 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6471 defined and LIBGCC2_HAS_XF_MODE is defined.
6472 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6473 defined and LIBGCC2_HAS_TF_MODE is defined.
6475 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6477 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6478 and ROUND_TOWARDS_ZERO conditionals.
6480 2014-09-07 Nathan sidwell <nathan@acm.org>
6482 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6483 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6485 2014-09-05 Joseph Myers <joseph@codesourcery.com>
6487 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6488 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6489 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6490 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6491 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6492 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6493 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6494 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6495 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6496 (DWARF_FRAME_REGISTERS): Change all uses to
6497 __LIBGCC_DWARF_FRAME_REGISTERS__.
6498 (EH_RETURN_STACKADJ_RTX): Change all uses to
6499 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6500 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6501 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6502 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6503 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6504 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6505 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6506 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6507 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6508 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6509 __LIBGCC_STACK_POINTER_REGNUM__.
6510 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6511 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6512 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6513 to __LIBGCC_STACK_POINTER_REGNUM__.
6514 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6515 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6516 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6517 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6518 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6519 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6520 (STACK_POINTER_REGNUM): Change all uses to
6521 __LIBGCC_STACK_POINTER_REGNUM__.
6522 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6523 use to __LIBGCC_STACK_POINTER_REGNUM__.
6524 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6525 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6526 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6527 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6528 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6529 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6530 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6531 to __LIBGCC_STACK_POINTER_REGNUM__.
6532 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6533 Remove conditional definition.
6534 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6535 __LIBGCC_TEXT_SECTION_ASM_OP__.
6536 (EH_FRAME_SECTION_NAME): Change all uses to
6537 __LIBGCC_EH_FRAME_SECTION_NAME__.
6538 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6539 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6540 (CTORS_SECTION_ASM_OP): Change all uses to
6541 __LIBGCC_CTORS_SECTION_ASM_OP__.
6542 (DTORS_SECTION_ASM_OP): Change all uses to
6543 __LIBGCC_DTORS_SECTION_ASM_OP__.
6544 (JCR_SECTION_NAME): Change all uses to
6545 __LIBGCC_JCR_SECTION_NAME__.
6546 (INIT_SECTION_ASM_OP): Change all uses to
6547 __LIBGCC_INIT_SECTION_ASM_OP__.
6548 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6549 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6550 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6551 __LIBGCC_STACK_GROWS_DOWNWARD__.
6552 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6553 __LIBGCC_INIT_SECTION_ASM_OP__.
6554 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6555 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6556 (EH_FRAME_SECTION_NAME): Change all uses to
6557 __LIBGCC_EH_FRAME_SECTION_NAME__.
6558 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6559 definitions. Change all uses to
6560 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6561 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6562 __LIBGCC_STACK_GROWS_DOWNWARD__.
6563 (DWARF_FRAME_REGISTERS): Change all uses to
6564 __LIBGCC_DWARF_FRAME_REGISTERS__.
6565 (EH_RETURN_STACKADJ_RTX): Change all uses to
6566 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6567 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6568 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6569 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6570 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6571 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6573 2014-09-02 Nathan sidwell <nathan@acm.org>
6575 * libgcov-interface.c (STRONG_ALIAS): New.
6576 (__gcov_flush): Call __gcov_reset_int.
6577 (__gcov_reset): Strong alias for ...
6578 (__gcov_reset_ing): ... this renamed hidden version.
6579 * libgcov.h (__gcov_reset_int): New declaration.
6581 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6583 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6585 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6586 (__dso_handle): Define on Cygwin.
6587 * config/i386/t-cygming (crtbeginS.o): New rule.
6588 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6590 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6593 2014-08-13 Steve Ellcey <sellcey@mips.com>
6595 * crtstuff.c: Undef caddr_t.
6597 2014-08-12 Steve Ellcey <sellcey@mips.com>
6599 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6601 2014-08-07 Nathan Sidwell <nathan@acm.org>
6603 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6604 (LIBGCOV_DRIVER): ... to here.
6605 * libgcov.h (gcov_do_dump): New #define.
6606 (struct gcov_root): New.
6607 (__gcov_root): New declaration.
6608 (__gcov_dump_one): Declare.
6609 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6610 run_accounted): Delete.
6611 (gcov_compute_histogram): Add LIST argument, adjust.
6612 (compute_summary): Adjust gcov_compute_histogram call.
6613 (gcov_do_dump): Not hidden, static in libgcov.
6614 (gcov_clear): Move to interface.c.
6615 (__gcov_dump_one): New, broken out of ...
6616 (gcov_exit): ... here. Make static.
6618 (__gcov_init): Adjust.
6619 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6621 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6622 (gcov_clear): Moved from driver.c. Add LIST argument.
6623 (__gcov_reset): Adjust for changed interfaces.
6624 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6626 2014-08-04 Rohit <rohitarulraj@freescale.com>
6629 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6630 based on change in SPE high register numbers and 3 HTM registers.
6632 2014-08-01 Nathan Sidwell <nathan@acm.org>
6634 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6635 LIBGCOV_INTERFACE): Reformat.
6636 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6638 * libgcov-interface.c: Reformat some comments.
6639 (__gcov_flush_mx): Add declaration. Tidy up definition.
6641 2014-07-31 Alan Modra <amodra@gmail.com>
6642 Peter Bergner <bergner@vnet.ibm.com>
6644 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6645 (pack_ldouble): New function.
6646 (__gcc_qadd): Use it.
6647 (__gcc_qmul): Likewise.
6648 (__gcc_qdiv): Likewise.
6649 (__gcc_qneg): Likewise.
6650 (__gcc_stoq): Likewise.
6651 (__gcc_dtoq): Likewise.
6653 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6655 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6656 (__tpf_eh_return): Add original return address as second parameter.
6657 Handle cases where unwinder routines were called directly, instead
6658 of from within the C++ library.
6660 2014-07-29 Nathan Sidwell <nathan@acm.org>
6662 * libgcov.h: Move renaming of entry points to lib gcov specific
6664 (gcov_do_dump): New rename.
6665 (gcov_rewrite): Remove inline, make HIDDEN.
6666 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6667 (gcov_exit_compute_summary): Rename to ...
6668 (compute_summary): ... here. Add LIST argument.
6669 (gcov_exit_merge_gcda): Rename to ...
6670 (merge_one_data): ... here.
6671 (gcov_exit_write_gcda): Rename to ...
6672 (write_one_data): ... here.
6673 (gcov_exit_merge_summary): Rename to ...
6674 (merge_summary): Add RUN_COUNTED argument.
6675 (gcov_exit_dump_gcov): Rename to ...
6676 (dump_one_gcov): Add RUN_COUNTED argument.
6677 (gcov_do_dump): New function, broken out of ...
6678 (gcov_exit): ... here. Call it.
6680 2014-07-27 Anthony Green <green@moxielogic.com>
6682 * config.host: Add moxiebox configuration suppport.
6684 2014-07-27 Nathan Sidwell <nathan@acm.org>
6686 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6687 (struct gcov_filename): ... here. Include buffer and max length
6689 (gcov_max_filename): Remove.
6690 (gi_filename): Remove.
6691 (gcov_exit_compute_summary): Compute max filename here.
6692 (gcov_exit_merge_gcda): Add filename parm, adjust.
6693 (gcov_exit_merge_summary): Likewise.
6694 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6695 (gcov_exit): Likewise.
6696 (__gcov_init): Don't calculate max length here.
6697 * libgcov_util.c (max_filename_len): Remove.
6698 (read_gcda_file): Don't calculate max length here.
6699 (gcov_read_profile_dir): Don't propagate here.
6700 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6701 struct gcov_filename changes.
6702 (gcov_exit_open_gcda_file): Likewise.
6704 2014-07-25 Nathan Sidwell <nathan@acm.org>
6706 * libgcov-driver.c (set_gcov_dump_complete,
6707 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6708 functions polluting user's namespace.
6709 (gcov_exit): Set variable directly.
6710 (gcov_clear): Reset variable directly.
6711 * libgcov-interface.c (get_gcov_dymp_complete,
6712 reset_gov_dump_complete): Remove declarations.
6713 (__gcov_reset, __gcov_dump): Don't call them.
6715 2014-07-24 DJ Delorie <dj@redhat.com>
6717 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6718 (__gcc_deregister_frame): Move logic to detect deregister function
6720 (__gcc_register_frame): here, so it's consistent with the register
6723 2014-07-23 Nathan Sidwell <nathan@acm.org>
6725 * libgcov-driver.c (set_gcov_list): Remove.
6726 (gcov_list): Make non-static in GCOV_TOOL.
6727 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6729 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
6731 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6732 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6733 Don't use SYNC_LOCK_RELEASE for int type.
6735 2014-07-14 Richard Biener <rguenther@suse.de>
6737 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6739 2014-07-11 Rong Xu <xur@google.com>
6741 * libgcov-util.c (gcov_max_filename): Fix declartion.
6743 2014-07-10 Rong Xu <xur@google.com>
6745 Add gcov-tool: an offline gcda profile processing tool
6747 * libgcov-driver.c (gcov_max_filename): Make available
6749 * libgcov-merge.c (__gcov_merge_add): Replace
6750 gcov_read_counter() with a Macro.
6751 (__gcov_merge_ior): Ditto.
6752 (__gcov_merge_time_profile): Ditto.
6753 (__gcov_merge_single): Ditto.
6754 (__gcov_merge_delta): Ditto.
6755 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6756 in the utility functions.
6757 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6758 gcov_list object link lists.
6759 (tag_function): Ditto.
6760 (tag_blocks): Ditto.
6763 (tag_counters): Ditto.
6764 (tag_summary): Ditto.
6765 (read_gcda_finalize): Ditto.
6766 (read_gcda_file): Ditto.
6767 (ftw_read_file): Ditto.
6768 (read_profile_dir_init): Ditto.
6769 (gcov_read_profile_dir): Ditto.
6770 (gcov_read_counter_mem): Ditto.
6771 (gcov_get_merge_weight): Ditto.
6772 (merge_wrapper): A wrapper function that calls merging handler.
6773 (gcov_merge): Merge two gcov_info objects with weights.
6774 (find_match_gcov_info): Find the matched gcov_info in the list.
6775 (gcov_profile_merge): Merge two gcov_info object lists.
6776 (__gcov_add_counter_op): Process edge profile counter values.
6777 (__gcov_ior_counter_op): Process IOR profile counter values.
6778 (__gcov_delta_counter_op): Process delta profile counter values.
6779 (__gcov_single_counter_op): Process single profile counter values.
6780 (fp_scale): Callback function for float-point scaling.
6781 (int_scale): Callback function for integer fraction scaling.
6782 (gcov_profile_scale): Scaling profile counters.
6783 (gcov_profile_normalize): Normalize profile counters.
6784 * libgcov.h: Add headers and functions for gcov-tool use.
6785 (gcov_get_counter): New.
6786 (gcov_get_counter_target): Ditto.
6787 (struct gcov_info): Make the functions field mutable in gcov-tool
6790 2014-06-23 Kai Tietz <ktietz@redhat.com>
6793 * unwind-seh.c (_Unwind_GetGR): Check for proper
6795 (_Unwind_SetGR): Likewise.
6797 2014-05-22 Nick Clifton <nickc@redhat.com>
6799 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6802 2014-05-22 Teresa Johnson <tejohnson@google.com>
6804 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6807 2014-05-20 John Marino <gnugcc@marino.st>
6809 * config.host (*-*-dragonfly*): New target.
6810 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6811 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6812 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6813 * config/i386/dragonfly-unwind.h: New.
6815 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6818 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6819 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6821 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6823 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6826 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
6828 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6830 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6833 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6836 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6838 Work around for current cygwin32 build problems.
6839 * config/i386/cygming-crtbegin.c (__register_frame_info,
6840 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6841 functions only for 64-bit systems.
6843 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6845 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6846 (sigill_caught, sigill_hdlr): Remove.
6848 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6850 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6852 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6853 Solaris 9 single-threaded support.
6854 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6855 Solaris 9 single-threaded support. Add call_user_handler code
6857 (sparc_is_sighandler): Likewise.
6859 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6861 * config.host: Append t-floattodi to tmake_file depending on
6864 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6866 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6868 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
6871 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6872 variable to avoid "array subscript is above array bounds" warnings.
6873 Use __builtin_expect when checking *jcr_list for NULL.
6875 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6878 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6879 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6880 vtv_*.o to extra_parts if enable_vtable_verify.
6882 2014-03-06 Nick Clifton <nickc@redhat.com>
6884 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6885 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6887 2014-02-28 Joey Ye <joey.ye@arm.com>
6890 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6891 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6894 2014-02-24 Walter Lee <walt@tilera.com>
6896 * config.host: Support "tilegx*" and "tilepro*" triplets.
6897 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6898 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6900 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6901 Chung-Lin Tang <cltang@codesourcery.com>
6903 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6904 * config/nios2/crti.S: Remove .file directive.
6905 * config/nios2/crtn.S: Likewise.
6907 2014-02-18 Kai Tietz <ktietz@redhat.com>
6908 Jonathan Schleifer <js@webkeks.org>
6911 * unwind-seh.c (_GCC_specific_handler): Pass proper
6912 value to unwind-handler.
6914 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6916 * soft-fp/adddf3.c: Update from glibc.
6917 * soft-fp/addsf3.c: Likewise.
6918 * soft-fp/addtf3.c: Likewise.
6919 * soft-fp/divdf3.c: Likewise.
6920 * soft-fp/divsf3.c: Likewise.
6921 * soft-fp/divtf3.c: Likewise.
6922 * soft-fp/double.h: Likewise.
6923 * soft-fp/eqdf2.c: Likewise.
6924 * soft-fp/eqsf2.c: Likewise.
6925 * soft-fp/eqtf2.c: Likewise.
6926 * soft-fp/extenddftf2.c: Likewise.
6927 * soft-fp/extended.h: Likewise.
6928 * soft-fp/extendsfdf2.c: Likewise.
6929 * soft-fp/extendsftf2.c: Likewise.
6930 * soft-fp/extendxftf2.c: Likewise.
6931 * soft-fp/fixdfdi.c: Likewise.
6932 * soft-fp/fixdfsi.c: Likewise.
6933 * soft-fp/fixdfti.c: Likewise.
6934 * soft-fp/fixsfdi.c: Likewise.
6935 * soft-fp/fixsfsi.c: Likewise.
6936 * soft-fp/fixsfti.c: Likewise.
6937 * soft-fp/fixtfdi.c: Likewise.
6938 * soft-fp/fixtfsi.c: Likewise.
6939 * soft-fp/fixtfti.c: Likewise.
6940 * soft-fp/fixunsdfdi.c: Likewise.
6941 * soft-fp/fixunsdfsi.c: Likewise.
6942 * soft-fp/fixunsdfti.c: Likewise.
6943 * soft-fp/fixunssfdi.c: Likewise.
6944 * soft-fp/fixunssfsi.c: Likewise.
6945 * soft-fp/fixunssfti.c: Likewise.
6946 * soft-fp/fixunstfdi.c: Likewise.
6947 * soft-fp/fixunstfsi.c: Likewise.
6948 * soft-fp/fixunstfti.c: Likewise.
6949 * soft-fp/floatdidf.c: Likewise.
6950 * soft-fp/floatdisf.c: Likewise.
6951 * soft-fp/floatditf.c: Likewise.
6952 * soft-fp/floatsidf.c: Likewise.
6953 * soft-fp/floatsisf.c: Likewise.
6954 * soft-fp/floatsitf.c: Likewise.
6955 * soft-fp/floattidf.c: Likewise.
6956 * soft-fp/floattisf.c: Likewise.
6957 * soft-fp/floattitf.c: Likewise.
6958 * soft-fp/floatundidf.c: Likewise.
6959 * soft-fp/floatundisf.c: Likewise.
6960 * soft-fp/floatunditf.c: Likewise.
6961 * soft-fp/floatunsidf.c: Likewise.
6962 * soft-fp/floatunsisf.c: Likewise.
6963 * soft-fp/floatunsitf.c: Likewise.
6964 * soft-fp/floatuntidf.c: Likewise.
6965 * soft-fp/floatuntisf.c: Likewise.
6966 * soft-fp/floatuntitf.c: Likewise.
6967 * soft-fp/gedf2.c: Likewise.
6968 * soft-fp/gesf2.c: Likewise.
6969 * soft-fp/getf2.c: Likewise.
6970 * soft-fp/ledf2.c: Likewise.
6971 * soft-fp/lesf2.c: Likewise.
6972 * soft-fp/letf2.c: Likewise.
6973 * soft-fp/muldf3.c: Likewise.
6974 * soft-fp/mulsf3.c: Likewise.
6975 * soft-fp/multf3.c: Likewise.
6976 * soft-fp/negdf2.c: Likewise.
6977 * soft-fp/negsf2.c: Likewise.
6978 * soft-fp/negtf2.c: Likewise.
6979 * soft-fp/op-1.h: Likewise.
6980 * soft-fp/op-2.h: Likewise.
6981 * soft-fp/op-4.h: Likewise.
6982 * soft-fp/op-8.h: Likewise.
6983 * soft-fp/op-common.h: Likewise.
6984 * soft-fp/quad.h: Likewise.
6985 * soft-fp/single.h: Likewise.
6986 * soft-fp/soft-fp.h: Likewise.
6987 * soft-fp/subdf3.c: Likewise.
6988 * soft-fp/subsf3.c: Likewise.
6989 * soft-fp/subtf3.c: Likewise.
6990 * soft-fp/truncdfsf2.c: Likewise.
6991 * soft-fp/trunctfdf2.c: Likewise.
6992 * soft-fp/trunctfsf2.c: Likewise.
6993 * soft-fp/trunctfxf2.c: Likewise.
6994 * soft-fp/unorddf2.c: Likewise.
6995 * soft-fp/unordsf2.c: Likewise.
6996 * soft-fp/unordtf2.c: Likewise.
6997 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6999 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7001 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7003 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7005 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7007 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7009 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7011 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7013 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7015 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7017 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7019 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7021 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7023 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7025 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7027 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7030 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7032 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7033 cannot be represented.
7034 * config/s390/32/_fixsfdi.c: Likewise.
7035 * config/s390/32/_fixtfdi.c: Likewise.
7036 * config/s390/32/_fixunsdfdi.c: Likewise.
7037 * config/s390/32/_fixunssfdi.c: Likewise.
7038 * config/s390/32/_fixunstfdi.c: Likewise.
7040 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7042 * configure.ac (libgcc_cv_mips_hard_float): New.
7043 * configure: Regenerate.
7044 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7045 t-softfp-sfdf for hard-float targets.
7046 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7047 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7048 (softfp_truncations, softfp_exclude_libgcc2): New.
7049 * config/t-hardfp: New file.
7050 * config/t-hardfp-sfdf: Likewise.
7051 * config/hardfp.c: Likewise.
7053 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7055 * config.host: Include t-floattodi also for s390x.
7056 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7057 * config/s390/32/_fixsfdi.c: Likewise.
7058 * config/s390/32/_fixtfdi.c: Likewise.
7059 * config/s390/32/_fixunsdfdi.c: Likewise.
7060 * config/s390/32/_fixunssfdi.c: Likewise.
7061 * config/s390/32/_fixunstfdi.c: Likewise.
7063 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7066 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7067 (install-libgcc-unwind-map-forbuild): New target.
7068 (all): Depend on install-libgcc-unwind-map-forbuild.
7069 (install-libgcc-unwind-map): New target.
7070 (install): Depend on install-libgcc-unwind-map.
7072 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7074 * config/nios2/crti.S (_init): Initialize GOT pointer from
7075 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7077 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7079 * configure.ac: Check __mips64 when setting host_address.
7080 * configure: Regenerate.
7081 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7082 mips/t-mips64 and t-softfp.
7083 (mips*-*-linux*): Don't add mips/t-tpbit.
7084 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7085 (DPBIT, DPBIT_CFLAGS): Delete.
7086 * config/mips/sfp-machine.h: New file.
7087 * config/mips/t-mips64: Likewise.
7088 * config/mips/t-softfp-tf: Likewise.
7089 * config/mips/t-tpbit: Delete.
7091 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7093 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7096 2014-01-25 Walter Lee <walt@tilera.com>
7098 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7099 config.h or system.h.
7102 2014-01-25 Walter Lee <walt@tilera.com>
7104 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7105 (post_atomic_barrier): Ditto.
7106 (__fetch_and_do): New macro.
7107 (__atomic_fetch_and_do): Use __fetch_and_do.
7108 (__sync_fetch_and_do): New macro.
7109 (__sync_fetch_and_add_4): New function.
7110 (__sync_fetch_and_sub_4): New function.
7111 (__sync_fetch_and_or_4): New function.
7112 (__sync_fetch_and_and_4): New function.
7113 (__sync_fetch_and_xor_4): New function.
7114 (__sync_fetch_and_nand_4): New function.
7115 (__sync_fetch_and_add_8): New function.
7116 (__sync_fetch_and_sub_8): New function.
7117 (__sync_fetch_and_or_8): New function.
7118 (__sync_fetch_and_and_8): New function.
7119 (__sync_fetch_and_xor_8): New function.
7120 (__sync_fetch_and_nand_8): New function.
7121 (__do_and_fetch): New macro.
7122 (__atomic_do_and_fetch): Use __do_and_fetch.
7123 (__sync_do_and_fetch): New macro.
7124 (__sync_add_and_fetch_4): New function.
7125 (__sync_sub_and_fetch_4): New function.
7126 (__sync_or_and_fetch_4): New function.
7127 (__sync_and_and_fetch_4): New function.
7128 (__sync_xor_and_fetch_4): New function.
7129 (__sync_nand_and_fetch_4): New function.
7130 (__sync_add_and_fetch_8): New function.
7131 (__sync_sub_and_fetch_8): New function.
7132 (__sync_or_and_fetch_8): New function.
7133 (__sync_and_and_fetch_8): New function.
7134 (__sync_xor_and_fetch_8): New function.
7135 (__sync_nand_and_fetch_8): New function.
7136 (__sync_exchange_methods): New macro.
7137 (__sync_val_compare_and_swap_4): New function.
7138 (__sync_bool_compare_and_swap_4): New function.
7139 (__sync_lock_test_and_test_4): New function.
7140 (__sync_val_compare_and_swap_8): New function.
7141 (__sync_bool_compare_and_swap_8): New function.
7142 (__sync_lock_test_and_test_8): New function.
7143 (__subword_cmpxchg_body): New macro.
7144 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7145 (__atomic_compare_exchange_2): Ditto.
7146 (__sync_subword_cmpxchg): New macro.
7147 (__sync_val_compare_and_swap_1): New function.
7148 (__sync_bool_compare_and_swap_1): New function.
7149 (__sync_val_compare_and_swap_2): New function.
7150 (__sync_bool_compare_and_swap_2): New function.
7151 (__atomic_subword): Rename to ...
7152 (__subword): ... New name.
7153 (__atomic_subword_fetch): Use __subword.
7154 (__sync_subword_fetch): New macro.
7155 (__sync_fetch_and_add_1): New function.
7156 (__sync_fetch_and_sub_1): New function.
7157 (__sync_fetch_and_or_1): New function.
7158 (__sync_fetch_and_and_1): New function.
7159 (__sync_fetch_and_xor_1): New function.
7160 (__sync_fetch_and_nand_1): New function.
7161 (__sync_fetch_and_add_2): New function.
7162 (__sync_fetch_and_sub_2): New function.
7163 (__sync_fetch_and_or_2): New function.
7164 (__sync_fetch_and_and_2): New function.
7165 (__sync_fetch_and_xor_2): New function.
7166 (__sync_fetch_and_nand_2): New function.
7167 (__sync_add_and_fetch_1): New function.
7168 (__sync_sub_and_fetch_1): New function.
7169 (__sync_or_and_fetch_1): New function.
7170 (__sync_and_and_fetch_1): New function.
7171 (__sync_xor_and_fetch_1): New function.
7172 (__sync_nand_and_fetch_1): New function.
7173 (__sync_add_and_fetch_2): New function.
7174 (__sync_sub_and_fetch_2): New function.
7175 (__sync_or_and_fetch_2): New function.
7176 (__sync_and_and_fetch_2): New function.
7177 (__sync_xor_and_fetch_2): New function.
7178 (__sync_nand_and_fetch_2): New function.
7179 (__atomic_subword_lock): Use __subword.
7180 (__sync_subword_lock): New macro.
7181 (__sync_lock_test_and_set_1): New function.
7182 (__sync_lock_test_and_set_2): New function.
7184 2014-01-25 Walter Lee <walt@tilera.com>
7186 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7187 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7188 (__atomic_subword): Ditto.
7190 2014-01-25 Walter Lee <walt@tilera.com>
7192 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7193 a prefix op argument.
7194 (__atomic_nand_fetch_4): Add prefix op.
7195 (__atomic_nand_fetch_8): Ditto.
7197 2014-01-21 Baruch Siach <barch@tkos.co.il>
7199 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7201 2014-01-09 Rong Xu <xur@google.com>
7203 * libgcov-driver.c (this_prg): make it local to save
7205 (gcov_exit_compute_summary): Ditto.
7206 (gcov_exit_merge_gcda): Ditto.
7207 (gcov_exit_merge_summary): Ditto.
7208 (gcov_exit_dump_gcov): Ditto.
7210 2014-01-08 Rong Xu <xur@google.com>
7212 * libgcov-driver.c: Use libgcov.h.
7213 (buffer_fn_data): Use xmalloc instead of malloc.
7214 (gcov_exit_merge_gcda): Ditto.
7215 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7216 * libgcov.h: New common header files for libgcov-*.h.
7217 * libgcov-interface.c: Use libgcov.h
7218 * libgcov-merge.c: Ditto.
7219 * libgcov-profiler.c: Ditto.
7220 * Makefile.in: Add dependence to libgcov.h
7222 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7224 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7225 case of small numerator and finite nonzero result.
7227 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7229 Update copyright years
7231 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7233 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7234 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7235 config/arc/dp-hack.h, config/arc/fp-hack.h,
7236 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7237 config/arc/ieee-754/arc600-dsp/divdf3.S,
7238 config/arc/ieee-754/arc600-dsp/divsf3.S,
7239 config/arc/ieee-754/arc600-dsp/muldf3.S,
7240 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7241 config/arc/ieee-754/arc600-mul64/divdf3.S,
7242 config/arc/ieee-754/arc600-mul64/divsf3.S,
7243 config/arc/ieee-754/arc600-mul64/muldf3.S,
7244 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7245 config/arc/ieee-754/arc600/divsf3.S,
7246 config/arc/ieee-754/arc600/mulsf3.S,
7247 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7248 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7249 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7250 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7251 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7252 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7253 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7254 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7255 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7256 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7257 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7258 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7259 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7260 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7261 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7262 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7263 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7264 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7265 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7266 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7267 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7268 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7269 vtv_start_preinit.c: Use the standard form for the copyright notice.
7271 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7272 Chung-Lin Tang <cltang@codesourcery.com>
7273 Based on patches from Altera Corporation
7275 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7276 * config/nios2/lib2-nios2.h: New file.
7277 * config/nios2/lib2-divmod-hi.c: New file.
7278 * config/nios2/linux-unwind.h: New file.
7279 * config/nios2/lib2-divmod.c: New file.
7280 * config/nios2/linux-atomic.c: New file.
7281 * config/nios2/t-nios2: New file.
7282 * config/nios2/crti.asm: New file.
7283 * config/nios2/t-linux: New file.
7284 * config/nios2/lib2-divtable.c: New file.
7285 * config/nios2/lib2-mul.c: New file.
7286 * config/nios2/tramp.c: New file.
7287 * config/nios2/crtn.asm: New file.
7289 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
7291 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7292 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7293 from cpuid.h to check vendor signatures.
7295 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7297 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7298 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7299 (get_amd_cpu): Likewise.
7301 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7303 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7306 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7307 H.J. Lu <hongjiu.lu@intel.com>
7310 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
7312 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7313 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7314 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7315 FEATURE_XOP and FEATURE_FMA.
7316 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7318 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7319 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7320 FEATURE_FMA4 and FEATURE_XOP.
7322 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7324 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7325 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7326 (get_intel_cpu): Updated.
7328 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7330 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7332 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
7334 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7335 instructions when __SSE_MATH__ is defined.
7337 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7339 * config.host (microblaze-*-rtems*): New.
7341 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7343 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7344 architectures that do not have hardware divide instruction.
7345 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7347 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7349 * longlong.h: Delete (moved to include/).
7351 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7353 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7354 of normal number and qNaN to not raise an inexact exception.
7356 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
7358 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7360 2013-11-28 Matthew Leach <matthew.leach@arm.com>
7362 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7363 for correct opcodes on BE.
7365 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
7367 * soft-fp/op-4.h: Update from glibc.
7369 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7371 * libgcc2.c (__udivmoddi4): Define new implementation when
7372 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7373 divide instructions.
7375 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7377 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7379 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7381 * config/t-softfp (soft-fp-objects-base): New variable.
7382 (soft-fp-objects): Use it.
7384 2013-11-23 David Edelson <dje.gcc@gmail.com>
7385 Andrew Dixie <andrewd@gentrack.com>
7388 * config/rs6000/aixinitfini.c: New file.
7389 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7390 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7393 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7395 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7397 2013-11-18 Jan Hubicka <jh@suse.cz>
7399 * libgcov-driver.c (run_accounted): Make global level static.
7400 (gcov_exit_merge_summary): Silence warning; do not clear
7402 (gcov_exit): Clear it here.
7404 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7407 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7408 (all_prg, crc32): Remove static vars.
7409 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7411 (gcov_exit_merge_gcda): Add crc32 parameter.
7412 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7413 do not account run if it was already accounted.
7414 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7415 (gcov_exit): Initialize all_prg; update.
7417 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7419 * configure: Regenerate.
7421 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7422 Alan Modra <amodra@gmail.com>
7424 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7425 (frob_update_context): Use it.
7427 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7428 Alan Modra <amodra@gmail.com>
7430 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7431 (trampoline_initial): Provide ELFv2 variant.
7432 (__trampoline_setup): Likewise.
7434 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7435 check for AIX indirect function call sequence if _CALL_ELF == 2.
7437 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7438 Alan Modra <amodra@gmail.com>
7440 * config/rs6000/linux-unwind.h (get_regs): Do not support
7441 old kernel versions if _CALL_ELF == 2.
7442 (frob_update_context): Do not support PLT stub variants only
7443 generated by old linkers if _CALL_ELF == 2.
7445 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7446 Alan Modra <amodra@gmail.com>
7448 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7449 location of CR save area for 64-bit little-endian systems.
7451 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7453 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7455 * config/arm/t-vxworks: Delete.
7457 2013-11-10 Kai Tietz <ktietz@redhat.com>
7459 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7460 Increment load-count on use of LIBGCC_SONAME DLL.
7461 (hmod_libgcc): New static variable to hold handle of
7463 (__gcc_deregister_frame): Decrement load-count of
7466 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7468 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7470 * configure: Regenerate
7472 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
7474 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7475 FP_EX_DENORM. Store result to volatile location after SSE division
7476 to close interrupt window. Remove unneeded fwait after x87
7477 division since interrupt window will be closed by emitted fstp.
7478 Rewrite FP_EX_INEXACT handling.
7480 2013-11-06 Joseph Myers <joseph@codesourcery.com>
7482 * soft-fp/README: Update.
7483 * soft-fp/adddf3.c: Update from glibc.
7484 * soft-fp/addsf3.c: Likewise.
7485 * soft-fp/addtf3.c: Likewise.
7486 * soft-fp/divdf3.c: Likewise.
7487 * soft-fp/divsf3.c: Likewise.
7488 * soft-fp/divtf3.c: Likewise.
7489 * soft-fp/double.h: Likewise.
7490 * soft-fp/eqdf2.c: Likewise.
7491 * soft-fp/eqsf2.c: Likewise.
7492 * soft-fp/eqtf2.c: Likewise.
7493 * soft-fp/extenddftf2.c: Likewise.
7494 * soft-fp/extended.h: Likewise.
7495 * soft-fp/extendsfdf2.c: Likewise.
7496 * soft-fp/extendsftf2.c: Likewise.
7497 * soft-fp/extendxftf2.c: Likewise.
7498 * soft-fp/fixdfdi.c: Likewise.
7499 * soft-fp/fixdfsi.c: Likewise.
7500 * soft-fp/fixdfti.c: Likewise.
7501 * soft-fp/fixsfdi.c: Likewise.
7502 * soft-fp/fixsfsi.c: Likewise.
7503 * soft-fp/fixsfti.c: Likewise.
7504 * soft-fp/fixtfdi.c: Likewise.
7505 * soft-fp/fixtfsi.c: Likewise.
7506 * soft-fp/fixtfti.c: Likewise.
7507 * soft-fp/fixunsdfdi.c: Likewise.
7508 * soft-fp/fixunsdfsi.c: Likewise.
7509 * soft-fp/fixunsdfti.c: Likewise.
7510 * soft-fp/fixunssfdi.c: Likewise.
7511 * soft-fp/fixunssfsi.c: Likewise.
7512 * soft-fp/fixunssfti.c: Likewise.
7513 * soft-fp/fixunstfdi.c: Likewise.
7514 * soft-fp/fixunstfsi.c: Likewise.
7515 * soft-fp/fixunstfti.c: Likewise.
7516 * soft-fp/floatdidf.c: Likewise.
7517 * soft-fp/floatdisf.c: Likewise.
7518 * soft-fp/floatditf.c: Likewise.
7519 * soft-fp/floatsidf.c: Likewise.
7520 * soft-fp/floatsisf.c: Likewise.
7521 * soft-fp/floatsitf.c: Likewise.
7522 * soft-fp/floattidf.c: Likewise.
7523 * soft-fp/floattisf.c: Likewise.
7524 * soft-fp/floattitf.c: Likewise.
7525 * soft-fp/floatundidf.c: Likewise.
7526 * soft-fp/floatundisf.c: Likewise.
7527 * soft-fp/floatunditf.c: Likewise.
7528 * soft-fp/floatunsidf.c: Likewise.
7529 * soft-fp/floatunsisf.c: Likewise.
7530 * soft-fp/floatunsitf.c: Likewise.
7531 * soft-fp/floatuntidf.c: Likewise.
7532 * soft-fp/floatuntisf.c: Likewise.
7533 * soft-fp/floatuntitf.c: Likewise.
7534 * soft-fp/gedf2.c: Likewise.
7535 * soft-fp/gesf2.c: Likewise.
7536 * soft-fp/getf2.c: Likewise.
7537 * soft-fp/ledf2.c: Likewise.
7538 * soft-fp/lesf2.c: Likewise.
7539 * soft-fp/letf2.c: Likewise.
7540 * soft-fp/muldf3.c: Likewise.
7541 * soft-fp/mulsf3.c: Likewise.
7542 * soft-fp/multf3.c: Likewise.
7543 * soft-fp/negdf2.c: Likewise.
7544 * soft-fp/negsf2.c: Likewise.
7545 * soft-fp/negtf2.c: Likewise.
7546 * soft-fp/op-1.h: Likewise.
7547 * soft-fp/op-2.h: Likewise.
7548 * soft-fp/op-4.h: Likewise.
7549 * soft-fp/op-8.h: Likewise.
7550 * soft-fp/op-common.h: Likewise.
7551 * soft-fp/quad.h: Likewise.
7552 * soft-fp/single.h: Likewise.
7553 * soft-fp/soft-fp.h: Likewise.
7554 * soft-fp/subdf3.c: Likewise.
7555 * soft-fp/subsf3.c: Likewise.
7556 * soft-fp/subtf3.c: Likewise.
7557 * soft-fp/truncdfsf2.c: Likewise.
7558 * soft-fp/trunctfdf2.c: Likewise.
7559 * soft-fp/trunctfsf2.c: Likewise.
7560 * soft-fp/trunctfxf2.c: Likewise.
7561 * soft-fp/unorddf2.c: Likewise.
7562 * soft-fp/unordsf2.c: Likewise.
7563 * soft-fp/unordtf2.c: Likewise.
7565 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
7567 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7568 (_FP_MUL_MEAT_D): Ditto.
7569 (_FP_DIV_MEAT_S): Ditto.
7570 (_FP_DIV_MEAT_D): Ditto.
7571 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7572 t-softfp-sfdf and t-softfp to tmake_file.
7574 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
7576 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7577 * config/i386/crtprec.c: Ditto.
7579 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7580 Shiva Chen <shiva0217@gmail.com>
7582 * config.host (nds32*-elf*): Add nds32 target.
7583 * config/nds32 : New directory and files.
7585 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
7587 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7588 * config.host (cpu_type) <Setting default>: Add entry for
7590 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7591 <crisv32-*-linux*>: Adjust.
7592 * longlong.h: Wrap the whole CRIS section in a single
7593 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7595 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7597 [__CRIS__] (__umulsidi3): Define.
7598 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7599 * config/cris/sfp-machine.h: New file.
7600 * config/cris/umulsidi3.S: New file.
7601 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7602 * config/cris/arit.c (SIGNMULT): New macro.
7603 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7604 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7605 saving 3 out of originally 33 cycles from the fastest
7606 path, 3 out of 54 from the medium path and one from the longest
7607 path. Improve comments.
7609 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7611 * sync.c: Remove static aliases and define each function directly
7612 under its real name.
7614 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
7616 * config.host (hppa*64*-*-linux*): Define extra_parts.
7617 (hppa*-*-linux*): Likewise.
7619 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7621 * config/arc/crtgend.S: Add 2013 to Copyright years.
7622 * config/arc/gmon/atomic.h: Likewise.
7623 * config/arc/gmon/auxreg.h: Likewise.
7624 * config/arc/gmon/sys/gmon_out.h: Likewise.
7625 * config/arc/gmon/sys/gmon.h: Likewise.
7626 * config/arc/gmon/prof-freq.c: Likewise.
7627 * config/arc/gmon/mcount.c: Likewise.
7628 * config/arc/gmon/prof-freq-stub.S: Likewise.
7629 * config/arc/gmon/gmon.c: Likewise.
7630 * config/arc/gmon/machine-gmon.h: Likewise.
7631 * config/arc/gmon/profil.S: Likewise.
7632 * config/arc/gmon/dcache_linesz.S: Likewise.
7633 * config/arc/crtg.S: Likewise.
7634 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7635 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7636 * config/arc/ieee-754/adddf3.S: Likewise.
7637 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7638 * config/arc/ieee-754/fixsfsi.S: Likewise.
7639 * config/arc/ieee-754/gtsf2.S: Likewise.
7640 * config/arc/ieee-754/floatsisf.S: Likewise.
7641 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7642 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7643 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7644 * config/arc/ieee-754/fixdfsi.S: Likewise.
7645 * config/arc/ieee-754/addsf3.S: Likewise.
7646 * config/arc/ieee-754/gesf2.S: Likewise.
7647 * config/arc/ieee-754/floatsidf.S: Likewise.
7648 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7649 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7650 * config/arc/ieee-754/gtdf2.S: Likewise.
7651 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7652 * config/arc/ieee-754/uneqdf2.S: Likewise.
7653 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7654 * config/arc/ieee-754/uneqsf2.S: Likewise.
7655 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7656 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7657 * config/arc/ieee-754/eqdf2.S: Likewise.
7658 * config/arc/ieee-754/ordsf2.S: Likewise.
7659 * config/arc/ieee-754/divsf3.S: Likewise.
7660 * config/arc/ieee-754/divdf3.S: Likewise.
7661 * config/arc/ieee-754/floatunsidf.S: Likewise.
7662 * config/arc/ieee-754/orddf2.S: Likewise.
7663 * config/arc/ieee-754/eqsf2.S: Likewise.
7664 * config/arc/ieee-754/gedf2.S: Likewise.
7665 * config/arc/crtn.S: Likewise.
7666 * config/arc/crti.S: Likewise.
7667 * config/arc/t-arc700-uClibc: Likewise.
7668 * config/arc/asm.h: Likewise.
7669 * config/arc/libgcc-excl.ver: Likewise.
7670 * config/arc/t-arc-newlib: Likewise.
7671 * config/arc/divtab-arc700.c: Likewise.
7672 * config/arc/initfini.c: Likewise.
7673 * config/arc/fp-hack.h: Likewise.
7675 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7676 Diego Novillo <dnovillo@google.com>
7678 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7679 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7680 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7681 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7683 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7684 Brendan Kehoe <brendan@zen.org>
7685 Simon Cook <simon.cook@embecosm.com>
7687 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7688 * config/arc: New directory.
7689 * longlong.h [__arc__] (umul_ppmm): Remove.
7690 [__arc__] (__umulsidi3): Define.
7691 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7692 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7694 2013-09-17 Jacek Caban <jacek@codeweavers.com>
7696 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7698 * config/i386/gthr-win32.h: Likewise.
7700 2013-09-16 DJ Delorie <dj@redhat.com>
7702 * config/rl78/vregs.h: Add G10 register definitions.
7703 * config/rl78/lib2mul.c: Enable for RL78/G10.
7704 * config/rl78/lib2div.c: Likewise.
7705 * config/rl78/lshrsi3.S: Use vregs.h.
7706 * config/rl78/cmpsi2.S: Likewise.
7707 * config/rl78/trampoline.S: Likewise.
7708 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7710 2013-09-14 DJ Delorie <dj@redhat.com>
7711 Nick Clifton <nickc@redhat.com>
7713 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7714 * config/rl78/vregs.h: New.
7715 * config/rl78/signbit.S: New file. Implements signbit function.
7716 * config/rl78/divmodsi.S: New.
7717 * config/rl78/divmodhi.S: New.
7718 * config/rl78/divmodqi.S: New.
7719 * config/rl78/t-rl78: Build them here...
7720 * config/rl78/lib2div.c: ...but not here.
7722 2013-09-12 DJ Delorie <dj@redhat.com>
7724 * config.host (msp*-*-elf): New.
7725 * config/msp430/: New port.
7727 2013-08-18 Iain Sandoe <iain@codesourcery.com>
7729 PR gcov-profile/58127
7730 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7731 __thread var for emulated TLS.
7732 (__gcov_indirect_call_counters): Likewise.
7734 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
7735 Catherine Moore <clm@codesourcery.com>
7736 Richard Sandiford <rdsandiford@googlemail.com>
7738 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7739 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7740 (CALL_STUB_NO_RET): Likewise.
7741 (CALL_STUB_RET): Likewise.
7742 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7743 __mips16_ret call/return stub symbols.
7744 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7747 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7749 * config.host <mips*-*-linux*>: Remove a stray comment.
7751 2013-08-10 Jan Hubicka <jh@suse.cz>
7753 Work around binutils PR14342
7754 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7755 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7756 (L_gcov_indirect_call_profiler_v2): New.
7758 2013-08-06 Jan Hubicka <jh@suse.cz>
7760 * libgcov.c (__gcov_indirect_call_callee,
7761 __gcov_indirect_call_counters): New global vars.
7762 (__gcov_indirect_call_profiler): replace by ...
7763 (__gcov_indirect_call_profiler_v2) ... this one.
7765 2013-08-06 Caroline Tice <cmtice@google.com>
7767 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7768 vtv_start_preinit.o and vtv_end_preinit.o.
7769 * configure.ac: Add code to check/set enable_vtable_verify.
7770 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7772 * vtv_start_preinit.c: New file.
7773 * vtv_end_preinit.c: New file.
7774 * vtv_start.c: New file.
7775 * vtv_end.c: New file.
7776 * configure: Regenerated.
7778 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7780 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7781 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7782 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7783 GPL-3.0-with-GCC-exception.
7785 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7787 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7790 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7792 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7793 mapping for FPRs when creating the fallback framestate.
7795 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
7798 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7799 (__round_s2_const, __round_u2_const)
7800 (__round_s4_const, __round_u4_const, __round_x8):
7801 Saturate result if addition result cannot be represented.
7803 2013-07-15 Matthias Klose <doko@ubuntu.com>
7805 * libgcc2.c: Don't include <limits.h>.
7807 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
7809 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7811 2013-07-06 Jakub Jelinek <jakub@redhat.com>
7814 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7816 2013-06-28 Jakub Jelinek <jakub@redhat.com>
7819 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7821 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7822 instead of table lookups.
7823 (__popcountDI2): Likewise.
7825 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7827 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7830 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7833 * soft-fp/adddf3.c: Update from glibc.
7834 * soft-fp/addsf3.c: Likewise.
7835 * soft-fp/addtf3.c: Likewise.
7836 * soft-fp/divdf3.c: Likewise.
7837 * soft-fp/divsf3.c: Likewise.
7838 * soft-fp/divtf3.c: Likewise.
7839 * soft-fp/double.h: Likewise.
7840 * soft-fp/eqdf2.c: Likewise.
7841 * soft-fp/eqsf2.c: Likewise.
7842 * soft-fp/eqtf2.c: Likewise.
7843 * soft-fp/extenddftf2.c: Likewise.
7844 * soft-fp/extended.h: Likewise.
7845 * soft-fp/extendsfdf2.c: Likewise.
7846 * soft-fp/extendsftf2.c: Likewise.
7847 * soft-fp/fixdfdi.c: Likewise.
7848 * soft-fp/fixdfsi.c: Likewise.
7849 * soft-fp/fixsfdi.c: Likewise.
7850 * soft-fp/fixsfsi.c: Likewise.
7851 * soft-fp/fixtfdi.c: Likewise.
7852 * soft-fp/fixtfsi.c: Likewise.
7853 * soft-fp/fixunsdfdi.c: Likewise.
7854 * soft-fp/fixunsdfsi.c: Likewise.
7855 * soft-fp/fixunssfdi.c: Likewise.
7856 * soft-fp/fixunssfsi.c: Likewise.
7857 * soft-fp/fixunstfdi.c: Likewise.
7858 * soft-fp/fixunstfsi.c: Likewise.
7859 * soft-fp/floatdidf.c: Likewise.
7860 * soft-fp/floatdisf.c: Likewise.
7861 * soft-fp/floatditf.c: Likewise.
7862 * soft-fp/floatsidf.c: Likewise.
7863 * soft-fp/floatsisf.c: Likewise.
7864 * soft-fp/floatsitf.c: Likewise.
7865 * soft-fp/floatundidf.c: Likewise.
7866 * soft-fp/floatundisf.c: Likewise.
7867 * soft-fp/floatunditf.c: Likewise.
7868 * soft-fp/floatunsidf.c: Likewise.
7869 * soft-fp/floatunsisf.c: Likewise.
7870 * soft-fp/floatunsitf.c: Likewise.
7871 * soft-fp/gedf2.c: Likewise.
7872 * soft-fp/gesf2.c: Likewise.
7873 * soft-fp/getf2.c: Likewise.
7874 * soft-fp/ledf2.c: Likewise.
7875 * soft-fp/lesf2.c: Likewise.
7876 * soft-fp/letf2.c: Likewise.
7877 * soft-fp/muldf3.c: Likewise.
7878 * soft-fp/mulsf3.c: Likewise.
7879 * soft-fp/multf3.c: Likewise.
7880 * soft-fp/negdf2.c: Likewise.
7881 * soft-fp/negsf2.c: Likewise.
7882 * soft-fp/negtf2.c: Likewise.
7883 * soft-fp/op-1.h: Likewise.
7884 * soft-fp/op-2.h: Likewise.
7885 * soft-fp/op-4.h: Likewise.
7886 * soft-fp/op-8.h: Likewise.
7887 * soft-fp/op-common.h: Likewise.
7888 * soft-fp/quad.h: Likewise.
7889 * soft-fp/single.h: Likewise.
7890 * soft-fp/soft-fp.h: Likewise.
7891 * soft-fp/subdf3.c: Likewise.
7892 * soft-fp/subsf3.c: Likewise.
7893 * soft-fp/subtf3.c: Likewise.
7894 * soft-fp/truncdfsf2.c: Likewise.
7895 * soft-fp/trunctfdf2.c: Likewise.
7896 * soft-fp/trunctfsf2.c: Likewise.
7897 * soft-fp/unorddf2.c: Likewise.
7898 * soft-fp/unordsf2.c: Likewise.
7899 * soft-fp/unordtf2.c: Likewise.
7900 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7901 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7902 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7903 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7904 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7905 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7906 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7907 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7908 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7909 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7910 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7911 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7913 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7915 * config/mips/lib2funcs.c: New file.
7916 * config/mips/t-mips (LIB2ADD_ST): Add it.
7918 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7921 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7922 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7924 2013-06-08 Walter Lee <walt@tilera.com>
7926 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7927 Replace int64_t with long long. Add __extension__ where
7929 * config/tilepro/atomic.c: Include config.h.
7931 2013-06-06 Douglas B Rupp <rupp@adacore.com>
7933 * config.host (arm-wrs-vxworks): Configure with other soft float.
7935 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7937 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7938 (mips64r5900el-*-elf*): New configurations.
7940 2013-06-04 Alan Modra <amodra@gmail.com>
7942 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7944 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7946 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7948 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7950 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7951 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7952 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7954 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7956 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7957 (powerpc-wrs-vxworks): Likewise.
7959 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7961 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7962 signal frames as well.
7963 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7964 STACK_BIAS to the CFA offset.
7966 2013-05-17 Richard Henderson <rth@redhat.com>
7969 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7970 (execute_cfa_program): Use it when storing to fs->regs.
7972 2013-05-08 Kai Tietz <ktietz@redhat.com>
7974 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7975 (__deregister_frame_info): Likewise.
7977 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7979 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7982 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7984 2013-04-25 Alan Modra <amodra@gmail.com>
7986 * config.host: Match little-endian powerpc-linux.
7988 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7990 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7991 as 'unsigned long long' instead of 'unsigned long'.
7992 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7995 2013-04-10 Julian Brown <julian@codesourcery.com>
7997 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7998 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7999 unsigned char/unsigned short.
8000 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8002 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8005 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8007 2013-04-04 Meador Inge <meadori@codesourcery.com>
8009 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8010 computing the location of the link register.
8011 (aeabi_uldivmod): Ditto.
8013 2013-03-27 Kai Tietz <ktietz@redhat.com>
8015 * config.host: Add support for cygwin x64 target.
8016 * configure: Regenerated.
8018 2013-03-26 Walter Lee <walt@tilera.com>
8020 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8021 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8023 2013-03-25 Kai Tietz <ktietz@redhat.com>
8025 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8027 2013-03-20 Robert Mason <rbmj@verizon.net>
8029 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8030 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8031 (__gthread_leave_tsd_dtor_context): Add prototypes.
8032 (tls_delete_hook): Update.
8034 2013-03-20 Catherine Moore <clm@codesourcery.com>
8035 Joseph Myers <joseph@codesourcery.com>
8036 Chao-ying Fu <fu@mips.com>
8038 * config/mips/mips16.S: Don't build for microMIPS.
8039 * config/mips/linux-unwind.h: Handle microMIPS frame.
8040 * config/mips/crtn.S (fini, init): New labels.
8042 2013-03-14 Jakub Jelinek <jakub@redhat.com>
8044 PR tree-optimization/53265
8045 * unwind-dw2.c (execute_cfa_program): Avoid
8046 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8047 on targets with DWARF_FRAME_REGISTERS < 32.
8049 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8052 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8053 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8055 2013-03-07 Sriraman Tallam <tmsriram@google.com>
8057 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8058 sandybridge processors.
8060 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8063 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8066 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8068 * config/microblaze/crti.S: Setup stack protection at entry
8070 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
8072 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8073 (__rotldi3): Shift bytewise if applicable.
8075 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8077 * config/aarch64/sync-cache.c
8078 (__aarch64_sync_cache_range): Silence warnings.
8080 2013-02-25 Catherine Moore <clm@codesourcery.com>
8083 2013-02-24 Catherine Moore <clm@codesourcery.com>
8084 Joseph Myers <joseph@codesourcery.com>
8085 Chao-ying Fu <fu@mips.com>
8087 * config/mips/mips16.S: Don't build for microMIPS.
8088 * config/mips/linux-unwind.h: Handle microMIPS frame.
8089 * config/mips/crtn.S (fini, init): New labels.
8091 2013-02-24 Catherine Moore <clm@codesourcery.com>
8092 Joseph Myers <joseph@codesourcery.com>
8093 Chao-ying Fu <fu@mips.com>
8095 * config/mips/mips16.S: Don't build for microMIPS.
8096 * config/mips/linux-unwind.h: Handle microMIPS frame.
8097 * config/mips/crtn.S (fini, init): New labels.
8099 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8100 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8103 2013-02-16 Alan Modra <amodra@gmail.com>
8106 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8107 (ppc_fallback_frame_state): Always set up save locations for fp
8108 and altivec. Don't bother with non-callee-saved regs, r0-r13
8109 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8111 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
8114 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8116 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8117 _ssmulha3, _usmulusa3, _ssmulsa3.
8118 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8119 (__muldi3): XCALL __muldi3_6 instead of rcall.
8120 (__umulsidi3, __mulsidi3): New functions.
8121 (do_prologue_saves, do_epilogue_restores): New .macros.
8122 (__divdi3_moddi3): Use them.
8123 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8124 (__usmulusa3, __ssmulsa3): New functions.
8126 2013-02-11 Iain Sandoe <iain@codesourcery.com>
8127 Jack Howarth <howarth@bromo.med.uc.edu>
8128 Patrick Marlier <patrick.marlier@gmail.com>
8131 * config/darwin-crt-tm.c: Remove dummy functions hack.
8133 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
8136 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8137 * config/avr/lib2-object.mk: New iterator to build objects from it.
8138 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8140 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8141 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8142 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8143 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8144 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8145 * config/avr/lib1funcs-fixed.S: Implement them.
8147 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8149 Update copyright years.
8151 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
8154 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8155 Add crtcxa to extra_parts.
8156 * config/rs6000/exit.h: New file.
8157 * config/rs6000/cxa_atexit.c: New file.
8158 * config/rs6000/cxa_finalize.c: New file.
8159 * config/rs6000/crtcxa.c: New file.
8160 * config/rs6000/t-aix-cxa: New file.
8161 * config/rs6000/libgcc-aix-cxa.ver: New file.
8163 2013-01-31 Nick Clifton <nickc@redhat.com>
8165 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8168 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
8171 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8172 _mulQQ, _mulHQ, _mulHA, _mulSA,
8173 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8174 _divQQ, _divHQ, _divHA, _divSA,
8175 _divUQQ, _divUHQ, _divUHA, _divUSA.
8177 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
8179 * config.host(microblaze*-linux*): tmake_file: Remove
8180 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8181 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8182 to exclude functions from being built with libgcc.c and use
8183 the microblaze assembly.
8185 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8187 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8190 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8192 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8193 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8194 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8195 alignment operation.
8197 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8199 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8200 loop start address for cache clearing.
8202 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8204 * config/avr/lib1funcs.S: Remove trailing blanks.
8205 * config/avr/lib1funcs-fixed.S: Ditto.
8207 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8209 * config/avr/avr-lib.h: Add GPL copyright notice.
8211 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8213 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8214 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8215 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8216 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8218 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
8220 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8221 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8223 2013-01-04 Nick Clifton <nickc@redhat.com>
8225 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8226 the CALLT instruction is supported.
8228 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8230 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8231 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8233 2012-12-13 John Tytgat <John@bass-software.com>
8235 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8238 2012-12-12 Jakub Jelinek <jakub@redhat.com>
8241 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8242 undefined signed overflows.
8244 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
8247 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8249 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
8251 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8252 (FP_TRAPPING_EXCEPTIONS): Define.
8253 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8254 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8256 2012-12-04 Richard Henderson <rth@redhat.com>
8259 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8261 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8263 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8264 (FP_EX_SHIFT): Define.
8265 (FP_TRAPPING_EXCEPTIONS): Define.
8267 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8269 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8270 (FP_ROUNDMODE): Use FP_RND_MASK.
8271 * config/aarch64/sfp-exceptions.c: New.
8272 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8273 Use __sfp_handle_exceptions.
8275 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
8277 * config.host: (arm*-*-freebsd*): Remove.
8278 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8279 (arm*-*-elf*): Remove.
8280 (arm*-*-wince-pe*): Remove.
8281 * arm/unwind-arm.c (struct fpa_reg): Delete.
8282 (struct fpa_regs): Delete.
8283 (phase1_vrs): Remove fpa element.
8284 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8285 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8286 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8287 * ieee754-sf.S (floatundisf): Remove FPA support.
8288 (floatdisf): Likewise.
8289 * ieee75f-df.S (floatundidf): Likewise.
8290 (floatdidf): Likewise.
8292 2012-11-29 Kai Tietz <ktietz@redhat.com>
8295 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8296 * unwind-generic.h: Likewise.
8297 * unwind-seh.c: Likewise.
8299 2012-11-28 Richard Henderson <rth@redhat.com>
8302 * emutls.c (__emutls_get_address): Avoid race condition between
8303 obj->loc.offset read and emutls_key initialization.
8305 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
8307 Adjust decimal point of signed accum mode to GCC default.
8310 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8312 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8313 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8314 (__mulha3, __mulsa3)
8315 (__divqq3, __divha3, __divsa3): Adjust to new position of
8316 decimal point of signed accum types.
8318 (__mulusa3_round): New function.
8319 (__mulusa3): Use it.
8320 (__divqq_helper): New function.
8321 (__udivuqq3): Use it.
8323 2012-11-20 Jakub Jelinek <jakub@redhat.com>
8326 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8328 2012-11-18 Teresa Johnson <tejohnson@google.com>
8331 * libgcov.c (gcov_exit): Remove merged program summary
8332 comparison unless !GCOV_LOCKED.
8334 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
8336 * soft-fp: Updated from glibc upstream.
8338 2012-11-06 Ian Lance Taylor <iant@google.com>
8340 * generic-morestack.c (__generic_morestack): Align the returned
8341 stack pointer to a 32 byte boundary.
8342 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8343 increment the return address until we have decided that we don't
8344 have a varargs function.
8345 (__morestack) [32-bit]: Align stack correctly when calling C
8347 (__morestack) [64-bit]: Likewise.
8349 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8351 * configure: Regenerate.
8353 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
8356 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8357 * config/i386/sfp-machine.h: Guard exception handling
8358 code with _SOFT_FLOAT.
8359 * config/i386/32/sfp-machine.h: Guard rounding handling
8360 code with _SOFT_FLOAT.
8361 * config/i386/64/sfp-machine.h: Ditto.
8363 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8365 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8368 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
8370 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8371 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8372 when appropriate. Correct structure element types.
8373 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8374 -minline-all-stringops from compile flags.
8376 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8378 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8380 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8382 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8384 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8386 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8389 2012-10-23 Ian Bolton <ian.bolton@arm.com>
8390 Jim MacArthur <jim.macarthur@arm.com>
8391 Marcus Shawcroft <marcus.shawcroft@arm.com>
8392 Nigel Stephens <nigel.stephens@arm.com>
8393 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8394 Richard Earnshaw <rearnsha@arm.com>
8395 Sofiane Naci <sofiane.naci@arm.com>
8396 Stephen Thomas <stephen.thomas@arm.com>
8397 Tejas Belagod <tejas.belagod@arm.com>
8398 Yufeng Zhang <yufeng.zhang@arm.com>
8400 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8401 * config/aarch64/crti.S: New file.
8402 * config/aarch64/crtn.S: New file.
8403 * config/aarch64/linux-unwind.h: New file.
8404 * config/aarch64/sfp-machine.h: New file.
8405 * config/aarch64/sync-cache.c: New file.
8406 * config/aarch64/t-aarch64: New file.
8407 * config/aarch64/t-softfp: New file.
8409 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8411 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8412 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8413 no-longer-needed LDBU insns.
8415 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
8418 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8419 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8421 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8423 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8425 2012-10-15 Matthias Klose <doko@ubuntu.com>
8427 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8429 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8431 * configure: Regenerate.
8432 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8434 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8436 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8437 instructions for 64bit targets only.
8439 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8441 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8442 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8443 * config/i386/32/sfp-machine.h: ... here.
8444 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8445 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8448 2012-10-07 Matthias Klose <doko@ubuntu.com>
8450 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8452 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8454 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
8456 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8457 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8458 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8461 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8464 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8465 Fix parameter names.
8467 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8470 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8471 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8472 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8474 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8477 * config/sh/linux-atomic.S: Delete.
8478 * config/sh/linux-atomic.c: New.
8479 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8480 linux-atomic.c. Add cflags to disable warnings.
8482 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8485 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8487 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8488 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8489 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8490 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8491 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8493 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8495 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8497 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8498 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8500 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
8502 * config.host (hppa-*-openbsd*): New target.
8503 * config/pa/t-openbsd: New file.
8505 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
8508 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8509 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8510 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8511 (__divsa3): Use __negsi2 to negate r_quoL.
8512 * config/avr/lib1funcs.S (FALIAS): New macro.
8513 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8514 (__negsi2): ...this new function.
8515 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8516 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8517 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8518 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8519 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8520 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8522 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8525 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8526 (lshrsi3): Reimplement as lshrsi3_r0.
8528 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8531 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8534 2012-09-07 Teresa Johnson <tejohnson@google.com>
8536 PR gcov-profile/54487
8537 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8540 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
8543 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8544 not configured --with-avrlibc=no.
8545 * config/avr/t-avrlibc: New file.
8546 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8547 (DPBIT_FUNCS): Ditto.
8548 (TPBIT_FUNCS): Ditto.
8550 2012-09-04 Teresa Johnson <tejohnson@google.com>
8552 * libgcov.c (struct gcov_summary_buffer): New structure.
8553 (gcov_histogram_insert): New function.
8554 (gcov_compute_histogram): Ditto.
8555 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8556 histograms during summary merging.
8558 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
8560 * config.host (x86_64-*-openbsd*): New target.
8562 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8564 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8567 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8570 * config/avr/t-avr (conv_X): Rename to func_X.
8572 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8575 * config/avr/lib1funcs-fixed.S: New file.
8576 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8577 after they are used.
8578 (neg2, neg4): New macros.
8579 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8580 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8581 (__umulhisi3): Speed up MUL variant if there is enough flash.
8582 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8584 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8585 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8586 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8587 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8588 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8589 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8590 (LIB2FUNCS_EXCLUDE): Add supported functions.
8592 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
8594 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8595 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8597 * fixed-obj.mk: Only expand dependency if $o is not in
8600 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8602 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8604 2012-08-22 Joseph Myers <joseph@codesourcery.com>
8606 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8607 depend on --enable-shared.
8608 ($(lib1asmfuncs-o)): Use %.vis files independent of
8610 * static-object.mk ($(base)$(objext), $(base).vis)
8611 ($(base)_s$(objext)): Use same rules for visibility handling as in
8614 2012-08-21 Ian Lance Taylor <iant@google.com>
8616 * config/i386/morestack.S (__morestack_non_split): Increase amount
8617 of space allocated for non-split code stack.
8619 2012-08-19 Joseph Myers <joseph@codesourcery.com>
8621 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8622 even if inhibit_libc.
8624 2012-08-17 Julian Brown <julian@codesourcery.com>
8626 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8627 -fexceptions -fnon-call-exceptions if not defined.
8628 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8629 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8631 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8633 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8636 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
8638 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8639 rs6000/t-slibgcc-aix.
8641 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8643 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8645 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8647 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8649 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8652 * Makefile.in (version): Replace top_srcdir with srcdir.
8654 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8656 * Makefile.in (version): set to BASE-VER file from gcc directory.
8658 2012-08-01 Nick Clifton <nickc@redhat.com>
8660 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8661 Implements __clrsb for an HImode argument.
8663 2012-07-31 Nick Clifton <nickc@redhat.com>
8665 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8666 Implements __clrsb for an HImode argument.
8667 * config/stormy16/clrsbhi2.c: New file:
8668 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8670 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8672 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8674 2012-07-19 Tristan Gingold <gingold@adacore.com>
8675 Richard Henderson <rth@redhat.com>
8677 * unwind-seh.c: New file.
8678 * unwind-generic.h: Include windows.h for SEH.
8679 (_Unwind_Exception): Use 6 private fields for SEH.
8680 (_GCC_specific_handler): Declare.
8681 * unwind-c.c (__gcc_personality_seh0): New function.
8683 * config/i386/libgcc-cygming.ver: New file.
8684 * config/i386/t-seh-eh: New file.
8685 * config.host (x86_64-*-mingw*): Default to seh.
8687 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8689 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8691 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
8693 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8694 __builtin_expect when checking for exceptions.
8695 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8697 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8699 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8700 function declaration.
8701 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8703 * config/ia64/sfp-exceptions.c: New.
8704 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8706 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8708 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8709 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8710 * config/i386/64/sfp-machine: ... (delete here) ...
8711 * config/i386/sfp-machine.h: ... to here.
8712 (FP_EX_MASK): Remove.
8714 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8716 2012-06-11 Sriraman Tallam <tmsriram@google.com>
8718 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8719 * config/i386/libgcc-sol2.ver: Ditto.
8720 * config/i386/libgcc-glibc.ver: Ditto.
8722 2012-06-11 Roland McGrath <mcgrathr@google.com>
8724 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8725 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8728 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
8730 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8731 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8732 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8733 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8734 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8735 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8736 * config/i386/64/sfp-machine: ... (delete here) ...
8737 * config/i386/sfp-machine.h: ... to here.
8739 (__sfp_handle_exceptions): New function declaration.
8740 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8741 * config/i386/sfp-exceptions.c: New.
8742 * config/i386/t-softfp: New.
8743 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8744 i386/t-softfp to tmake_file.
8746 2012-06-03 David S. Miller <davem@davemloft.net>
8748 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8751 2012-05-31 David S. Miller <davem@davemloft.net>
8753 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8754 multiply and divide instructions on 32-bit when V9.
8755 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8757 2012-05-29 Joseph Myers <joseph@codesourcery.com>
8759 * config/arm/ieee754-df.S: Fix typos.
8760 * config/arm/ieee754-sf.S: Fix typos.
8761 * config/c6x/libunwind.S: Fix typos.
8762 * config/epiphany/udivsi3-float.c: Fix typos.
8763 * config/microblaze/muldi3_hard.S: Fix typos.
8764 * config/picochip/adddi3.S: Fix typos.
8765 * config/picochip/ashlsi3.S: Fix typos.
8766 * config/picochip/ashrsi3.S: Fix typos.
8767 * config/picochip/clzsi2.S: Fix typos.
8768 * config/picochip/cmpsi2.S: Fix typos.
8769 * config/picochip/divmod15.S: Fix typos.
8770 * config/picochip/divmodhi4.S: Fix typos.
8771 * config/picochip/divmodsi4.S: Fix typos.
8772 * config/picochip/longjmp.S: Fix typos.
8773 * config/picochip/lshrsi3.S: Fix typos.
8774 * config/picochip/parityhi2.S: Fix typos.
8775 * config/picochip/popcounthi2.S: Fix typos.
8776 * config/picochip/setjmp.S: Fix typos.
8777 * config/picochip/subdi3.S: Fix typos.
8778 * config/picochip/ucmpsi2.S: Fix typos.
8779 * config/picochip/udivmodhi4.S: Fix typos.
8780 * config/picochip/udivmodsi4.S: Fix typos.
8781 * config/spu/divv2df3.c: Fix typos.
8782 * config/spu/mfc_multi_tag_release.c: Fix typos.
8783 * config/spu/mfc_tag_release.c: Fix typos.
8784 * configure.ac: Fix typos.
8785 * configure: Regenerate.
8787 2012-05-25 Ian Lance Taylor <iant@google.com>
8789 * config/i386/morestack.S (__morestack_non_split): Check whether
8790 caller is varargs and needs %bp to hold the stack frame on return.
8792 2012-05-25 Olivier Hainque <hainque@adacore.com>
8794 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8795 sequence in the non pic case on VxWorks.
8797 2012-05-24 Olivier Hainque <hainque@adacore.com>
8799 * Makefile.in: Move dependency on install-unwind_h from
8800 "install-leaf" to "install".
8802 2012-05-24 Olivier Hainque <hainque@adacore.com>
8804 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8805 Use a separate command for stamp removals.
8807 2012-05-21 Andrew Pinski <apinski@cavium.com>
8810 * configure.ac: Define the default includes to being none.
8811 * configure: Regenerate.
8813 2012-05-16 Olivier Hainque <hainque@adacore.com>
8815 * Makefile.in (install-unwind_h): Rename into ...
8816 (install-unwind_h-forbuild): New target.
8817 (all): Use it instead of the former install-unwind_h.
8818 (install-unwind_h): Reinstate, copy to user install destination
8819 for include files, not to the internal gcc object directory one.
8820 (install-leaf): Depend on it.
8822 2012-05-15 Olivier Hainque <hainque@adacore.com>
8824 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8825 register numbers. LR_REGNO replaces R_LR.
8826 (ucontext_for): New, helper for ...
8827 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8829 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8831 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8833 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8834 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8835 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8837 (i[34567]86-*-*, x86_64-*-*): ... here.
8839 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8840 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8842 * config/i386/i386-cpuinfo.c: Rename to ...
8843 * config/i386/cpuinfo.c: ... this.
8844 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8846 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8847 (libgcc_cv_init_priority): New test.
8848 * configure: Regenerate.
8849 * config.in: New file.
8850 * Makefile.in (clean): Rename config.h to auto-target.h.
8851 (config.h): Likewise.
8852 (stamp-h): Likewise.
8854 * config/i386/cpuinfo.c (auto-target.h): Include.
8855 (CONSTRUCTOR_PRIORITY): Define.
8856 (__cpu_indicator_init): Use it.
8858 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8860 * longlong.h: Use a URL instead of an FSF postal address.
8861 Replace spaces with tab.
8863 2012-05-08 Teresa Johnson <tejohnson@google.com>
8865 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8866 (__gcov_dump): Ditto.
8867 (gcov_dump_complete): New global variable.
8868 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8869 (__gcov_flush): Outline functionality now in gcov_clear.
8870 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8872 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8874 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8875 (mips*-*-linux*): Include mips/t-tpbit when long double is
8878 2012-04-25 Sriraman Tallam <tmsriram@google.com>
8880 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8881 (get_available_features): New argument. Check for AVX2.
8882 (__cpu_indicator_init): Modify call to get_available_features.
8884 2012-04-25 Alan Modra <amodra@gmail.com>
8886 * config/rs6000/crtsavevr.S: New file.
8887 * config/rs6000/crtrestvr.S: New file.
8888 * config/rs6000/t-savresfgpr: Build the above.
8889 * config/rs6000/t-netbsd: Likewise.
8891 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8893 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8895 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8897 * libgcc/config/i386/i386-cpuinfo.c: New file.
8898 * libgcc/config/i386/t-cpuinfo: New file.
8899 * libgcc/config.host: Include t-cpuinfo.
8900 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8902 2012-04-24 Chao-ying Fu <fu@mips.com>
8904 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8906 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8908 struct siginfo vs. siginfo_t
8910 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8911 siginfo_t instead of struct siginfo.
8912 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8913 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8914 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8915 (ia64_handle_unwabi): Likewise.
8916 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8917 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8918 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8919 (sh_fallback_frame_state): Likewise.
8920 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8921 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8923 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8925 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8928 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8930 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8931 if it hasn't been previously saved.
8933 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8935 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8938 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
8941 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8942 instead of __AVR_HAVE_8BIT_SP__.
8944 2012-03-26 Tristan Gingold <gingold@adacore.com>
8946 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8947 (unw_table_entry): Use unw_word instead of unsigned long.
8948 (_Unwind_FindTableEntry): Likewise.
8949 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8950 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8951 (_Unwind_FindTableEntry): Likewise.
8952 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8953 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8954 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8955 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8956 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8957 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8958 (uw_init_context_1, uw_install_context): Likewise.
8959 (unw_word): Move to unwind-ia64.h
8961 2012-03-26 Tristan Gingold <gingold@adacore.com>
8963 * config/vms/vms-ucrt0.c: Update copyright years.
8965 (___gcc_main_flags): Declare.
8966 (__main): Check flags to remap argv and exit code.
8967 * config.host (*-*-*vms*): Adjust extra_parts.
8968 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8971 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
8973 * arm/lib1funcs.asm (ctzsi2): New function.
8974 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8975 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8976 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8977 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8978 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8979 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8981 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
8983 * config.host: Add bits to support powerpc64-*-freebsd*.
8984 * config/rs6000/freebsd-unwind.h: New file.
8985 * config/rs6000/t-freebsd64: New file.
8987 2012-03-20 Richard Guenther <rguenther@suse.de>
8989 PR gcov-profile/52627
8990 * libgcov.c (init_mx): Fix mutex name.
8992 2012-03-16 Tristan Gingold <gingold@adacore.com>
8994 * config/ia64/vms-unwind.h: Remove ulong (and replace
8995 it by unw_reg where used). Define unw_reg with __int64.
8997 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8999 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9001 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9003 (sparc_is_sighandler): Likewise.
9005 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9007 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9010 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9012 * config/arm/crtn.S: Fix typo.
9014 2012-03-13 Richard Guenther <rguenther@suse.de>
9016 * libgcov.c: Remove stdio.h include and NULL un-define.
9018 2012-03-13 Richard Guenther <rguenther@suse.de>
9021 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9023 2012-03-13 Richard Guenther <rguenther@suse.de>
9025 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9027 2012-03-13 Richard Guenther <rguenther@suse.de>
9029 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9030 and __gthread_mutex_init_function definitions.
9032 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9034 * config.host (mips*-*-openbsd*): Remove.
9036 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9038 * config.host: Remove alpha*-dec-osf5.1* handling.
9039 * config/alpha/gthr-posix.c: Remove.
9040 * config/alpha/libgcc-osf5.ver: Remove.
9041 * config/alpha/osf5-unwind.h: Remove.
9042 * config/alpha/t-osf-pthread: Remove.
9043 * config/alpha/t-slibgcc-osf: Remove.
9044 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9045 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9046 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9047 * mkmap-flat.awk: Remove osf_export handling.
9049 2012-03-12 Richard Guenther <rguenther@suse.de>
9051 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9052 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9053 (__gthread_mutex_init_function): New function.
9054 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9057 * libgcov.c: Include gthr.h.
9058 (__gcov_flush_mx): New global variable.
9059 (init_mx, init_mx_once): New functions.
9060 (__gcov_flush): Protect self with a mutex.
9061 (__gcov_fork): Re-initialize mutex after forking.
9062 * unwind-dw2-fde.c: Change condition under which to use
9063 __GTHREAD_MUTEX_INIT_FUNCTION.
9065 2012-03-12 Tristan Gingold <gingold@adacore.com>
9067 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9068 * config/ia64/t-vms: Likewise.
9070 2012-03-11 Michael Hope <michael.hope@linaro.org>
9072 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9075 2012-03-07 Walter Lee <walt@tilera.com>
9077 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9079 (atomic_xor): Rename and move definition to
9080 config/tilepro/atomic.h.
9081 (atomic_nand): Ditto.
9082 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9084 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9085 (arch_atomic_nand): Ditto.
9087 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9090 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9092 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9095 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9098 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9102 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9103 if RAMPZ affects reading from RAM.
9104 (__tablejump_elpm__): Ditto.
9106 (__movmemx_hi): Ditto.
9107 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9108 (__do_global_dtors): Ditto.
9109 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9110 (__movmemx_hi): Ditto.
9112 2012-03-05 Richard Henderson <rth@redhat.com>
9114 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9115 [ARM] (count_trailing_zeros): Use the builtin.
9117 2012-03-01 Kai Tietz <ktietz@redhat.com>
9119 * soft-fp: Imported from glibc upstream.
9121 2012-02-28 Kai Tietz <ktietz@redhat.com>
9123 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9124 for mingw-targets as attribute gcc_struct.
9126 2012-02-28 Ian Lance Taylor <iant@google.com>
9128 * generic-morestack.c (__splitstack_releasecontext): Correct call
9129 to __morestack_release_segments.
9131 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9134 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9135 for __linux__ when removing signals from __morestack_fullmask.
9137 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
9140 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9142 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9144 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9145 instead of HAVE_INITFINI_ARRAY.
9146 * config/ia64/crtend.S: Likewise.
9148 2012-02-20 Kai Tietz <ktietz@redhat.com>
9151 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9153 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9154 to w32-unwind.h header.
9156 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9158 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9159 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9160 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9161 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9163 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9165 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9167 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9170 * config/darwin-crt-tm.c: Correct typo.
9172 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9173 Patrick Marlier <patrick.marlier@gmail.com>
9176 * config/darwin-crt-tm.c: Generate dummy functions.
9178 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9179 Patrick Marlier <patrick.marlier@gmail.com>
9182 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9183 (__doTMRegistrations): Call it.
9184 (__doTMdeRegistrations): Likewise.
9186 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
9187 Anatoly Sokolov <aesok@post.ru>
9188 Eric Weddington <eric.weddington@atmel.com>
9191 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9192 (__epilogue_restores__): Ditto.
9194 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9198 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9199 Solaris 11 and slightly reformat.
9200 (sparc_is_sighandler): Likewise.
9202 2012-02-14 Walter Lee <walt@tilera.com>
9204 * config.host: Handle tilegx and tilepro.
9205 * config/tilegx/sfp-machine.h: New file.
9206 * config/tilegx/sfp-machine32.h: New file.
9207 * config/tilegx/sfp-machine64.h: New file.
9208 * config/tilegx/t-crtstuff: New file.
9209 * config/tilegx/t-softfp: New file.
9210 * config/tilegx/t-tilegx: New file.
9211 * config/tilepro/atomic.c: New file.
9212 * config/tilepro/atomic.h: New file.
9213 * config/tilepro/linux-unwind.h: New file.
9214 * config/tilepro/sfp-machine.h: New file.
9215 * config/tilepro/softdivide.c: New file.
9216 * config/tilepro/softmpy.S: New file.
9217 * config/tilepro/t-crtstuff: New file.
9218 * config/tilepro/t-tilepro: New file.
9220 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9224 * gthr-posix.h: Allow static initializer macros to be disabled.
9225 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9227 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9229 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9230 Add t-slibgcc-libgcc to tmake_file.
9231 * config/mips/libgcc-mips16.ver: Revert previous patch.
9232 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9234 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9235 Jayant R Sonar <jayant.sonar@kpitcummins.com>
9237 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9238 * config/cr16/crti.S: New file.
9239 * config/cr16/crtlibid.S: New file.
9240 * config/cr16/crtn.S: New file.
9241 * config/cr16/lib1funcs.S: New file.
9242 * config/cr16/t-cr16: New file.
9243 * config/cr16/t-crtlibid: New file.
9244 * config/cr16/unwind-dw2.h: New file.
9245 * config/cr16/unwind-cr16.c: New file.
9246 * config/cr16/divmodhi3.c: New file.
9248 2012-01-25 Alan Modra <amodra@gmail.com>
9250 * config/rs6000/t-linux64: Delete. Move..
9251 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9252 * config/rs6000/t-linux: ..and libgcc flags to here.
9254 2012-01-22 Douglas B Rupp <rupp@gnat.com>
9256 * config.host (i[34567]86-*-interix3*):
9257 Change triplet to i[34567]86-*-interix[3-9]*.
9258 * configure: Regenerate.
9260 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9261 Richard Sandiford <rdsandiford@googlemail.com>
9263 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9264 * config/mips/mips16.S (__mips16_rdhwr): New function.
9265 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9267 2012-01-11 Nathan Sidwell <nathan@acm.org>
9269 * libgcov.c (__gcov_init): Ignore objects with no functions.
9271 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
9274 Extend __pgmx semantics to linearize memory.
9275 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9276 * config/avr/lib1funcs.S (__xload_1): New function.
9277 (__movmemx_qi, __movmemx_hi): New functions.
9278 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9281 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9283 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9284 purported sigacthandler address isn't null before dereferencing it.
9285 (sparc_is_sighandler): Likewise.
9287 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9290 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9291 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9292 (sparc_is_sighandler): Likewise.
9293 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9295 2012-01-06 Tristan Gingold <gingold@adacore.com>
9297 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9298 compatibility thunks...
9299 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9300 (crtbeginS.o, crtendS.o): ... and these to ...
9301 * config/ia64/t-ia64-elf: ... this new file.
9302 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9303 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9305 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9307 * configure: Regenerate.
9308 * config/s390/t-crtstuff: Remove -fPIC.
9310 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9313 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9316 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9319 * config/avr/lib1funcs.S: Remove FIXME comments.
9320 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9322 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9324 Implement light-weight DImode support.
9325 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9326 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9327 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9328 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9330 2011-12-30 Nathan Sidwell <nathan@acm.org>
9332 * libgcov.c (gcov_crc32): Remove global var.
9333 (free_fn_data): New function.
9334 (buffer_fn_data): Pass in filename, more robust error recovery.
9335 (crc32_unsigned): New function.
9336 (gcov_exit): More robust detection of new program. More robust
9338 (__gcov_init): Do not update program's crc here.
9340 2011-12-21 Tristan Gingold <gingold@adacore.com>
9342 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9344 2011-12-21 Ian Lance Taylor <iant@google.com>
9346 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9348 2011-12-20 Ian Lance Taylor <iant@google.com>
9350 * config/i386/morestack.S (__morestack_non_split): If there is
9351 enough stack space already, don't split. Ask for more stack space
9354 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9356 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9358 (_Unwind_DebugHook): New function.
9359 (uw_restore_core_regs): New define.
9360 (unwind_phase2): Use uw_restore_core_regs instead of
9362 (unwind_phase2_forced): Likewise.
9363 (__gnu_Unwind_Resume): Likewise.
9365 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
9367 * config/alpha/linux-unwind.h: Update copyright years.
9368 (MD_FROB_UPDATE_CONTEXT): New define.
9369 (alpha_frob_update_context): New function.
9371 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9373 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9374 tmake_file rather replacing it.
9376 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9378 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9379 function is not used for PPC64.
9380 (save_world): Amend comments. Update the VRsave mask to reflect the
9382 (rest_world): Update comments, do not clobber r10, do not use r8.
9383 (eh_rest_world_r10): Amend comments, do not use r8.
9384 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9385 no longer used, move restore of CR and target address to the end of
9388 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9390 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9391 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9393 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
9396 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9397 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9399 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9401 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9403 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
9406 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9407 * config/avr/lib1funcs.S (__muldi3): New function.
9409 2011-12-06 Andrew Pinski <apinski@cavium.com>
9411 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9413 (__frame_dummy_init_array_entry): Likewise.
9415 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
9417 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9421 * config/avr/lib1funcs.S (__prologue_saves__,
9422 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9423 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9425 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9427 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9429 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9432 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9433 (_ITM_deregisterTMCloneTable): Likewise.
9434 (__register_frame_info): Fix unused warning.
9435 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9436 pthread_default_stacksize_np): Likewise.
9437 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9439 2011-11-29 DJ Delorie <dj@redhat.com>
9441 * config.host (rl78-*-elf): New case.
9442 * config/rl78: New directory for the Renesas RL78.
9444 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9446 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9449 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9452 * config/rs6000/t-savresfgpr: New file.
9453 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9454 $(srcdir)/config/rs6000/eabi.S.
9455 * config/rs6000/t-ppccomm-ldbl: Remove.
9456 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9458 (powerpc-*-eabispe*): Likewise.
9459 (powerpc-*-eabi*): Likewise.
9460 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9461 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9462 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9463 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9465 (powerpc-*-eabisim*): Likewise.
9466 (powerpc-*-elf*): Likewise.
9467 (powerpc-*-eabialtivec*): Likewise.
9468 (powerpc-xilinx-eabi*): Likewise.
9469 (powerpc-*-rtems*): Likewise.
9470 (powerpcle-*-elf*): Likewise.
9471 (powerpcle-*-eabisim*): Likewise.
9472 (powerpcle-*-eabi*): Likewise.
9474 2011-11-27 Ian Lance Taylor <iant@google.com>
9476 * generic-morestack.c (__splitstack_find): Check for NULL old
9478 (__splitstack_resetcontext): New function.
9479 (__splitstack_releasecontext): New function.
9480 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9482 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9484 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9486 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9488 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9490 2011-11-26 Richard Henderson <rth@redhat.com>
9492 * config/m68k/linux-atomic.c: New file.
9493 * config/m68k/t-linux: New file.
9494 * config.host (m68k-uclinux, m68k-linux): Use it.
9496 2011-11-26 Richard Henderson <rth@redhat.com>
9498 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9499 (__TMC_END__): Only declare if hidden is available; in the definition,
9500 if hidden is unavailable add a null record.
9501 (deregister_tm_clones, register_tm_clones): New.
9502 (__do_global_dtors_aux, frame_dummy): Use them.
9503 (__do_global_dtors, __do_global_ctors_1): Likewise.
9505 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9507 * config/darwin-crt-tm.c: New file.
9508 * config.host (darwin): Build crttms.o crttme.o to provide
9509 startup and shutdown for tm clones.
9510 * config/t-darwin (crttms.o): New build rule.
9511 (crttme.o): Likewise.
9513 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
9515 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9518 2011-11-21 Richard Henderson <rth@redhat.com>
9520 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9521 (__TMC_LIST__, __TMC_END__): New.
9522 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9523 (__do_global_dtors): Likewise.
9524 (frame_dummy): Call _ITM_registerTMCloneTable.
9525 (__do_global_ctors_1): Likewise.
9527 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9529 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9530 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9531 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9532 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9533 * config/i386/t-darwin64: Remove.
9534 * config/sh/t-netbsd (LIB2ADD): Remove.
9536 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
9539 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9540 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9541 * config/avr/lib1funcs.S (wmov): New assembler macro.
9542 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9543 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9544 (__udivmod64): New function.
9545 (__negdi2): New function.
9547 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9549 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9550 *-*-freebsd*aout*): Remove.
9552 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
9554 * static-object.mk (c_flags-$o): Save c_flags.
9555 ($(base)$(objext)): Use it.
9557 2011-11-18 Steve Ellcey <sje@cup.hp.com>
9559 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9561 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
9564 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9565 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9568 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9570 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9572 (aeabi_uidivmod): Likewise.
9573 (umodsi3): Likewise.
9575 (aeabi_idivmod): Likewise.
9578 2011-11-16 Tristan Gingold <gingold@adacore.com>
9580 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9582 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
9585 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9586 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9588 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9590 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9592 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9593 * config/pa/t-stublib64: Delete.
9595 2011-11-12 Richard Henderson <rth@redhat.com>
9597 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9598 cast the pointer argument to _Unwind_SetGRPtr.
9600 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9602 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9604 2011-11-09 Ian Lance Taylor <iant@google.com>
9606 * generic-morestack.c: Include <string.h>.
9607 (uintptr_type): Define.
9608 (struct initial_sp): Add dont_block_signals field. Reduce size of
9610 (allocate_segment): Set prev field to NULL. Don't set
9611 __morestack_current_segment or __morestack_segments.
9612 (__generic_morestack): Update current->prev and *pp after calling
9614 (__morestack_block_signals): Don't do anything if
9615 dont_block_signals is set.
9616 (__morestack_unblock_signals): Likewise.
9617 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9619 (__splitstack_block_signals): New function.
9620 (enum __splitstack_content_offsets): Define.
9621 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9622 (__splitstack_makecontext): New function.
9623 (__splitstack_block_signals_context): New function.
9624 (__splitstack_find_context): New function.
9625 * config/i386/morestack.S (__morestack_get_guard): New function.
9626 (__morestack_set_guard, __morestack_make_guard): New functions.
9627 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9629 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9631 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9632 (i[34567]86-*-mingw*): ... here.
9633 (x86_64-*-mingw*): ... here.
9635 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9637 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9639 2011-11-07 Nathan Sidwell <nathan@acm.org>
9641 * libgcov.c (struct gcov_fn_buffer): New struct.
9642 (buffer_fn_data): New helper.
9643 (gcov_exit): Rework for new gcov data structures.
9645 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
9648 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9650 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9652 * config.host (tmake_file): Correct comment.
9653 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9655 (bfin*-uclinux*): Likewise.
9656 (bfin*-linux-uclibc*): Likewise.
9657 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9659 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9661 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9662 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9663 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9664 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9665 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9666 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9667 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9668 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9669 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9670 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9671 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9672 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9673 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9675 * config/bfin/t-elf: Remove.
9676 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9678 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9680 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9681 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9682 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9683 (lm32-*-elf*): ... this.
9684 (lm32-*-rtems*): ... and this.
9686 (m32r-*-rtems*): Add to tmake_file.
9687 (moxie-*-rtems*): Likewise.
9688 (sparc-*-rtems*): Likewise.
9689 Remove t-rtems from tmake_file.
9690 (sparc64-*-rtems*): Likewise.
9691 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9694 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9697 * config/gthr-posix.h: Move ...
9698 * gthr-posix.h: ... here.
9699 * config/gthr-lynx.h: Reflect this.
9700 * config/gthr-vxworks.h: Likewise.
9701 * config/rs6000/gthr-aix.h: Likewise.
9702 * configure.ac (target_thread_file): Likewise.
9703 * configure: Regenerate.
9705 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9707 * config.host (arm*-*-rtemseabi*): New target.
9709 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9712 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9715 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9717 * config.host (epiphany-*-elf*): New configuration.
9718 * config/epiphany: New Directory.
9720 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9722 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9723 * config/avr/t-rtems: New.
9724 Filter out _exit from LIB1ASMFUNCS.
9726 2011-11-04 David S. Miller <davem@davemloft.net>
9728 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9729 * configure: Rebuild.
9731 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9733 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9736 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
9739 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9740 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9742 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9745 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9747 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9749 * config/c6x/t-elf (LIB2ADDEH): Set.
9750 * config/c6x/t-c6x-elf: Remove.
9752 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9754 * config/i386/sol2-ci.S: Rename to ...
9755 * config/i386/crti.S: ... this.
9756 * config/i386/sol2-cn.S: Rename to ...
9757 * config/i386/crtn.S: ... this.
9758 * config/sparc/sol2-ci.S: Rename to ...
9759 * config/sparc/crti.S: ... this.
9760 * config/sparc/sol2-cn.S: Rename to ...
9761 * config/sparc/crtn.S: ... this.
9762 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9763 (crti.o, crtn.o): Remove.
9765 2011-11-04 Tristan Gingold <gingold@adacore.com>
9767 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9769 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9771 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9773 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
9775 * config.host (crisv32-*-none, cris-*-none): Remove.
9776 (crisv32-*-elf): Append to tmake_file, don't just set it.
9777 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9779 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9781 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9782 (ecrtn$(objext)): Likewise.
9783 (ncrti$(objext)): Likewise.
9784 (ncrtn$(objext)): Likewise.
9786 2011-11-03 Andreas Schwab <schwab@redhat.com>
9788 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9790 2011-11-02 David S. Miller <davem@davemloft.net>
9792 * configure.ac: Set host_address on sparc too.
9793 * configure: Regenerate.
9794 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9795 based upon host_address.
9796 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9798 2011-11-02 Jason Merrill <jason@redhat.com>
9800 * config/rs6000/t-ppccomm: Add missing \.
9802 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9804 * gthr-single.h, gthr.h: New files.
9805 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9806 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9807 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9808 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9809 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9810 * configure.ac (thread_header): New variable.
9811 Set it depending on target_thread_file.
9812 (gthr-default.h): Link from $thread_header.
9813 * configure: Regenerate.
9814 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9816 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9818 * configure.ac (tm_file_): New variable.
9819 Determine from tm_file.
9820 (tm_file, tm_defines): Substitute.
9821 * configure: Regenerate.
9822 * mkheader.sh: New file.
9823 * Makefile.in (clean): Remove libgcc_tm.h.
9824 ($(objects)): Depend on libgcc_tm.h.
9825 (libgcc_tm_defines, libgcc_tm_file): New variables.
9826 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9827 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9828 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9829 ($(extra-parts)): Depend on libgcc_tm.h.
9830 * config.host (tm_defines, tm_file): New variable.
9831 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9832 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9833 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9834 (avr-*-rtems*): Likewise.
9835 (avr-*-*): Likewise.
9836 (frv-*-elf): Likewise.
9837 (frv-*-*linux*): Likewise.
9838 (h8300-*-rtems*): Likewise.
9839 (h8300-*-elf*): Likewise.
9840 (i[34567]86-*-darwin*): Likewise.
9841 (x86_64-*-darwin*): Likewise.
9842 (rx-*-elf): Likewise.
9843 (tic6x-*-uclinux): Likewise.
9844 (tic6x-*-elf): Likewise.
9845 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9846 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9847 * config/i386/cygming-crtbegin.c: Likewise.
9848 * config/i386/cygming-crtend.c: Likewise.
9849 * config/ia64/fde-vms.c: Likewise.
9850 * config/ia64/unwind-ia64.c: Likewise.
9851 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9852 * config/rs6000/darwin-fallback.c: Likewise.
9853 * config/stormy16/lib2funcs.c: Likewise.
9854 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9855 * crtstuff.c: Likewise.
9856 * dfp-bit.h: Likewise.
9857 * emutls.c: Likewise.
9858 * fixed-bit.c: Likewise.
9859 * fp-bit.c: Likewise.
9860 * generic-morestack-thread.c: Likewise.
9861 * generic-morestack.c: Likewise.
9862 * libgcc2.c: Likewise.
9863 * libgcov.c: Likewise.
9864 * unwind-dw2-fde-dip.c: Likewise.
9865 * unwind-dw2-fde.c: Likewise.
9866 * unwind-dw2.c: Likewise.
9867 * unwind-sjlj.c: Likewise.
9869 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9871 * configure.ac: Include ../config/picflag.m4.
9872 (GCC_PICFLAG): Call it.
9874 * configure: Regenerate.
9875 * Makefile.in (gcc_srcdir): Remove.
9876 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9877 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9878 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9879 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9880 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9883 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9884 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9885 to refer to libgcc2.c.
9887 * config/darwin-64.c: New file.
9888 * config/darwin-crt3.c: Remove comment.
9889 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9890 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9891 config/udivmodsi4.c: New files.
9892 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9893 config/memset.c: New files.
9894 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9895 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9896 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9897 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9898 * config/t-openbsd-thread: New file.
9899 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9900 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9901 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9902 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9905 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9906 to refer to gthr-posix.c.
9907 * config/alpha/t-vms (LIB2ADD): Set.
9908 * config/alpha/vms-gcc_shell_handler.c: New file.
9909 * config/arm/bpabi.c, config/arm/fp16.c,
9910 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9911 config/arm/unaligned-funcs.c: New files.
9912 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9913 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9914 * config/arm/t-linux: Likewise.
9915 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9916 * config/arm/t-netbsd: New file.
9917 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9918 * config/arm/t-symbian (LIB2ADD_ST): Set.
9919 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9920 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9921 * config/bfin/t-elf: New file.
9922 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9923 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9924 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9925 config/c6x/ltf.c: New files.
9926 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9927 (HOST_LIBGCC2_CFLAGS): Set.
9928 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9929 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9930 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9932 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9933 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9934 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9935 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9936 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9938 * config/frv/t-frv (LIB2ADD): Set.
9939 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9940 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9941 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9942 config/h8300/popcounthi2.c: New files.
9943 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9944 * config/i386/gthr-win32.c: New file.
9945 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9946 * config/i386/t-cygwin: Likewise.
9947 * config/i386/t-darwin, config/i386/t-darwin64,
9948 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9949 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9950 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9951 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9952 * config/ia64/quadlib.c: New file.
9953 * config/ia64/t-hpux (LIB2ADD): Set.
9954 * config/ia64/t-ia64: Add comment.
9955 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9956 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9957 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9958 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9959 * config/m32c/t-m32c (LIB2ADD): Set.
9960 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9961 * config/m32r/t-m32r: Likewise.
9962 * config/m68k/fpgnulib.c: New file.
9963 * config/m68k/t-floatlib (LIB2ADD): Set.
9964 (xfgnulib.c): New target.
9965 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9966 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9967 * config/mep/t-mep (LIB2ADD): Set.
9968 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9969 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9970 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9971 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9972 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9973 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9974 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9975 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9976 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9977 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9979 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9980 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9981 * config/pa/fptr.c, config/pa/lib2funcs.S,
9982 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9983 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9984 (LIB2ADD, LIB2ADD_ST): Set.
9985 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9986 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9988 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9989 * config/pdp11/t-pdp11: New file.
9990 * config/picochip/libgccExtras/adddi3.S,
9991 config/picochip/libgccExtras/ashlsi3.S,
9992 config/picochip/libgccExtras/ashrsi3.S,
9993 config/picochip/libgccExtras/clzsi2.S,
9994 config/picochip/libgccExtras/cmpsi2.S,
9995 config/picochip/libgccExtras/divmod15.S,
9996 config/picochip/libgccExtras/divmodhi4.S,
9997 config/picochip/libgccExtras/divmodsi4.S,
9998 config/picochip/libgccExtras/lshrsi3.S,
9999 config/picochip/libgccExtras/parityhi2.S,
10000 config/picochip/libgccExtras/popcounthi2.S,
10001 config/picochip/libgccExtras/subdi3.S,
10002 config/picochip/libgccExtras/ucmpsi2.S,
10003 config/picochip/libgccExtras/udivmodhi4.S,
10004 config/picochip/libgccExtras/udivmodsi4.S: New files.
10005 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10006 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10007 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10008 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10009 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10010 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10011 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10012 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10014 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10015 (HOST_LIBGCC2_CFLAGS): Set.
10016 * config/rs6000/t-darwin64: New file.
10017 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10018 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10019 * config/rs6000/t-ppccomm (LIB2ADD): Add
10020 $(srcdir)/config/rs6000/tramp.S.
10021 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10022 Add $(srcdir)/config/rs6000/eabi.S.
10023 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10024 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10025 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10026 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10027 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10028 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10029 * config/rs6000/tramp.S: New file.
10030 * config/s390/t-tpf: Remove.
10031 * config/sh/linux-atomic.S: New file.
10032 * config/sh/t-linux (LIB2ADD): Set.
10033 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10034 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10035 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10037 (HOST_LIBGCC2_CFLAGS): Set.
10038 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10039 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10040 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10041 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10042 config/spu/mfc_multi_tag_release.c,
10043 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10044 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10045 config/spu/multi3.c: New files.
10046 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10047 (HOST_LIBGCC2_CFLAGS): Set.
10048 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10049 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10050 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10051 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10052 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10053 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10054 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10055 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10056 config/stormy16/umodsi3.c: New files.
10057 * config/xtensa/lib2funcs.S: New file.
10058 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10059 * config/xtensa/t-xtensa (LIB2ADD): Set.
10060 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10061 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10062 Add t-freebsd-thread to tmake_file for posix threads.
10063 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10064 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10065 (*-*-lynxos*): Likewise.
10066 (*-*-netbsd*): Likewise.
10067 (*-*-openbsd*): Likewise.
10068 Add t-openbsd-thread to tmake_file for posix threads.
10069 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10070 (*-*-vxworks*): Set tmake_file.
10071 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10072 (alpha*-*-freebsd*): Likewise.
10073 (alpha*-*-netbsd*): Likewise.
10074 (alpha*-*-openbsd*): Likewise.
10075 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10076 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10077 (alpha*-dec-*vms*): Likewise.
10078 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10079 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10080 (bfin*-uclinux*): Likewise.
10081 (bfin*-linux-uclibc*): Likewise.
10082 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10083 (crisv32-*-none): Likewise.
10084 (cris-*-elf): Likewise.
10085 (cris-*-none): Likewise.
10086 (cris-*-linux*, crisv32-*-linux*): Likewise.
10087 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10089 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10091 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10092 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10093 (x86_64-*-elf*): Likewise.
10094 (i[34567]86-*-nto-qnx*): Likewise.
10095 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10097 (x86_64-*-mingw*): Likewise.
10098 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10099 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10100 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10101 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10102 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10104 (mipsisa64sr71k-*-elf*): Likewise.
10105 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10106 (mips-*-elf*, mipsel-*-elf*): Likewise.
10107 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10108 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10109 (mips*-*-rtems*): Likewise.
10110 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10112 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10113 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10114 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10115 (spu-*-elf*): Likewise.
10116 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10118 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10120 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10121 $(srcdir) to refer to $(LIB1ASMSRC).
10123 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10124 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10125 config/arm/lib1funcs.S: New files.
10126 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10127 * config/arm/t-arm: New file.
10128 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10129 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10130 config/arm/t-strongarm-elf: New files.
10131 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10132 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10133 * config/avr/lib1funcs.S: New file.
10134 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10135 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10136 * config/c6x/lib1funcs.S: New file.
10137 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10138 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10139 * config/frv/lib1funcs.S: New file.
10140 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10141 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10142 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10143 * config/ia64/__divxf3.asm: Rename to ...
10144 * config/ia64/__divxf3.S: ... this.
10145 Adapt lib1funcs.asm filename.
10146 * config/ia64/_fixtfdi.asm: Rename to ...
10147 * config/ia64/_fixtfdi.S: ... this.
10148 Adapt lib1funcs.asm filename.
10149 * config/ia64/_fixunstfdi.asm: Rename to ...
10150 * config/ia64/_fixunstfdi.S: ... this.
10151 Adapt lib1funcs.asm filename.
10152 * config/ia64/_floatditf.asm: Rename to ...
10153 * config/ia64/_floatditf.S: ... this.
10154 Adapt lib1funcs.asm filename.
10155 * config/ia64/lib1funcs.S: New file.
10156 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10157 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10158 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10159 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10160 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10161 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10162 * config/mep/lib1funcs.S: New file.
10163 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10164 * config/mips/mips16.S: New file.
10165 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10166 * config/pa/milli64.S: New file.
10167 * config/pa/t-linux, config/pa/t-linux64: New files.
10168 * config/picochip/lib1funcs.S: New file.
10169 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10170 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10171 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10172 * config/sh/t-netbsd: New file.
10173 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10174 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10175 * config/sh/t-sh64: New file.
10176 * config/sparc/lb1spc.S: New file.
10177 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10179 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10180 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10181 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10182 config/xtensa/lib1funcs.S: New files.
10183 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10184 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10186 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10187 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10188 (arm*-*-linux*): Likewise.
10189 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10190 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10191 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10192 (arm*-*-ecos-elf): Likewise.
10193 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10194 (arm*-*-rtems*): Likewise.
10195 (arm*-*-elf): Likewise.
10196 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10197 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10198 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10199 (bfin*-uclinux*): Likewise.
10200 (bfin*-linux-uclibc*): Likewise.
10201 (bfin*-rtems*): Likewise.
10202 (bfin*-*): Likewise.
10203 (fido-*-elf): Merge into m68k-*-elf*.
10204 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10205 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10206 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10207 (h8300-*-elf*): Likewise.
10208 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10209 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10210 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10211 (i[34567]86-*-mingw*): Likewise.
10212 (x86_64-*-mingw*): Likewise.
10213 (i[34567]86-*-interix3*): Likewise.
10214 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10215 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10216 (m68k-*-elf*): Also handle fido-*-elf.
10217 Add m68k/t-floatlib to tmake_file.
10218 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10219 (m68k-*-linux*): Likewise.
10220 (m68k-*-rtems*): Likewise.
10221 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10222 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10224 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10225 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10226 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10227 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10228 sh/t-netbsd to tmake_file.
10229 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10230 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10231 (sh-wrs-vxworks): Likewise.
10232 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10234 (v850*-*-*): Add v850/t-v850 to tmake_file.
10235 (vax-*-linux*): Add vax/t-linux to tmake_file.
10236 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10238 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10240 * crtstuff.c: New file.
10241 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10242 (CRTSTUFF_T_CFLAGS): Define.
10243 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10244 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10245 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10248 (crtbeginT.o): Use $(objext).
10249 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10250 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10251 (gcc-extra-parts): Remove.
10252 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10254 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10255 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10256 Add t-crtstuff-pic to tmake_file.
10257 (*-*-lynxos*): New case.
10258 Set tmake_file, extra_parts.
10259 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10260 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10261 *-*-netbsdelf[2-9]*.
10262 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10263 (*-*-rtems*): Set extra_parts.
10264 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10265 (*-*-uclinux*): New case.
10267 (*-*-vms*): New case.
10268 Set tmake_file, extra_parts.
10269 (*-*-elf): Set extra_parts.
10270 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10271 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10274 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10276 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10277 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10278 (arm-wrs-vxworks): Append to tmake_file.
10280 (arm*-*-uclinux*): Set extra_parts.
10281 (arm*-*-ecos-elf): Likewise.
10282 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10284 (arm*-*-rtems*): Set extra_parts.
10285 (arm*-*-elf): Likewise.
10286 (avr-*-rtems*): Clear extra_parts.
10287 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10289 (bfin*-uclinux*): Likewise.
10290 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10291 (bfin*-rtems*): Append to tmake_file.
10293 (bfin*-*): Likewise.
10294 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10295 (crisv32-*-elf): ... this.
10296 (crisv32-*-none): ... this.
10297 (cris-*-elf, cris-*-none): New cases.
10298 Add cris/t-elfmulti to tmake_file.
10299 (fr30-*-elf): Append to tmake_file.
10301 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10303 (h8300-*-rtems*): Append to tmake_file.
10305 (h8300-*-elf*): Likewise.
10306 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10308 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10310 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10311 (x86_64-*-elf*): Likewise.
10312 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10313 (x86_64-*-freebsd*): Likewise.
10314 (x86_64-*-netbsd*): Likewise.
10315 (i[34567]86-*-linux*): Likewise.
10316 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10317 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10318 (x86_64-*-linux*): Likewise.
10319 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10320 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10323 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10324 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10325 Append to extra_parts, remove crtbegin.o, crtend.o.
10326 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10327 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10328 crtend.o, crtbeginS.o, crtendS.o.
10329 (ia64*-*-linux*): Comment extra_parts.
10330 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10332 (iq2000*-*-elf*): Clear extra_parts.
10333 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10334 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10335 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10336 (m32r-*-rtems*): ... this.
10337 Add m32r/t-m32r to tmake_file.
10338 (m68k-*-elf*): Add t-crtin to tmake_file.
10339 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10340 (mcore-*-elf): Likewise.
10341 (microblaze*-*-*): Set extra_parts.
10342 (mips*-sde-elf*): New case.
10343 Set tmake_file, extra_parts.
10344 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10345 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10346 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10349 (mipsisa64sr71k-*-elf*): Likewise.
10350 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10351 (mips-*-elf*, mipsel-*-elf*): Likewise.
10352 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10353 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10354 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10355 (mips*-*-rtems*): Likewise.
10356 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10357 (moxie-*-*): Split into ...
10358 (moxie-*-elf, moxie-*-uclinux*): ... this.
10359 Add to extra_parts, remove crtbegin.o, crtend.o.
10360 (moxie-*-rtems*): New case.
10363 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10365 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10366 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10369 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10370 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10372 (powerpc-*-eabisim*): Likewise.
10373 (powerpc-*-elf*): Likewise.
10374 (powerpc-*-eabialtivec*): Likewise.
10375 (powerpc-xilinx-eabi*): Likewise.
10376 (powerpc-*-eabi*): Likewise.
10377 (powerpc-*-rtems*): Likewise.
10378 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10381 (powerpc-*-lynxos*): Add to tmake_file.
10382 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10383 rs6000/t-crtstuff, t-crtstuff-pic.
10385 (powerpcle-*-eabisim*): Likewise.
10386 (powerpcle-*-eabi*): Likewise.
10387 (rx-*-elf): Remove extra_parts.
10388 (s390x-ibm-tpf*): Set extra_parts.
10389 (score-*-elf): Set extra_parts.
10390 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10391 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10392 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10393 (sh64l*-*-netbsd*): Split into ...
10394 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10395 Add t-crtstuff-pic to tmake_file.
10397 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10399 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10400 (sparc-*-elf*): Remove t-crtin from tmake_file.
10401 Add to extra_parts, remove crtbegin.o, crtend.o.
10402 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10403 (sparc64-*-linux*): Likewise.
10404 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10405 Add to extra_parts, remove crtbegin.o, crtend.o.
10406 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10407 Add to extra_parts, remove crtbegin.o, crtend.o.
10408 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10409 Add to extra_parts, remove crtbegin.o, crtend.o.
10410 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10411 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10412 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10414 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10416 (tic6x-*-*): Change to ...
10417 (tic6x-*-elf): ... this.
10419 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10421 (am33_2.0-*-linux*): Add comment.
10422 (mep*-*-*): Add mep/t-mep to tmake_file.
10424 * config/alpha/t-vms: New file.
10425 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10426 * config/arm/crti.S, config/arm/crtn.S: New files.
10427 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10428 * config/bfin/crtlibid.S: New file.
10429 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10430 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10431 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10432 (crti.o, crtin.o): New rules.
10433 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10434 * config/c6x/t-uclinux: New file.
10435 * config/cris/t-elfmulti: New file.
10436 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10437 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10438 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10439 * config/frv/t-frv: New file.
10440 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10441 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10442 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10444 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10445 refer to cygming-crtbegin.c, cygming-crtend.c.
10447 * config/i386/t-nto: New file.
10448 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10449 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10450 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10451 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10454 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10455 (crtinitS.o): New rule.
10456 * config/ia64/vms-crtinit.S: New file.
10457 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10458 * config/m32r/initfini.c: New file.
10459 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10460 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10461 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10462 * config/mep/t-mep: New file.
10463 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10464 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10465 * config/mips/crti.S, config/mips/crtn.S: New files.
10466 * config/mips/t-crtstuff: New file.
10467 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10468 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10469 (CUSTOM_CRTIN): Set.
10470 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10472 Use $(srcdir) to refer to crti.S, crtn.S.
10473 Use .S extension, $<.
10474 * config/moxie/crti.asm: Rename to ...
10475 * config/moxie/crti.S: ... this.
10476 * config/moxie/crtn.asm: Rename to ...
10477 * config/moxie/crtn.S: ... this.
10478 * config/moxie/t-moxie: Remove.
10479 * config/pa/stublib.c: New file.
10480 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10481 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10482 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10483 * config/rs6000/t-crtstuff: New file.
10484 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10485 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10486 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10487 Make output file explicit.
10488 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10489 Make output file explicit.
10490 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10491 Make output file explicit.
10492 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10493 Make output file explicit.
10494 * config/score/crti.S, config/score/crtn.S: New files.
10495 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10496 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10498 * config/sh/t-sh, config/sh/t-superh: New files.
10499 * config/sparc/t-linux64: New file.
10500 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10501 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10502 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10503 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10504 * config/t-crtin: Remove.
10505 * config/t-crtstuff-pic: New file.
10506 * config/t-sol2 (CUSTOM_CRTIN): Set.
10507 (crti.o, crtn.o): New rules.
10508 * config/vms/t-vms: New file.
10509 * config/vms/vms-ucrt0.c: New file.
10510 * config/xtensa/t-elf: New file.
10512 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10514 * Makefile.in (SHLIB_NM_FLAGS): Set.
10515 * mkmap-flat.awk, mkmap-symver.awk: New files.
10516 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10518 * configure: Regenerate.
10519 * config/libgcc-glibc.ver: New file.
10520 * config/libgcc-libsystem.ver: New file.
10521 * config/t-libunwind (SHLIB_LC): Set.
10522 * config/t-linux: New file.
10523 * config/t-slibgcc (INSTALL_SHLIB): New.
10524 (SHLIB_INSTALL): Use it.
10525 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10526 to mkmap-symver.awk.
10527 (SHLIB_MAPFILES): Don't append, adapt pathname.
10528 (SHLIB_VERPFX): Set.
10529 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10530 to mkmap-symver.awk.
10531 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10532 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10533 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10534 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10536 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10537 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10538 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10539 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10540 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10541 * config/i386/libgcc-darwin.10.4.ver,
10542 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10544 * config/i386/t-darwin: Remove.
10545 * config/i386/t-darwin64: Likewise.
10546 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10547 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10548 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10549 * config/i386/t-linux: New file.
10550 * config/i386/t-mingw32: New file.
10551 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10552 * config/ia64/t-glibc: Rename to ...
10553 * config/ia64/t-linux: ... this.
10554 (SHLIB_MAPFILES): Set.
10555 * config/ia64/t-glibc-libunwind: Rename to ...
10556 * config/ia64/t-linux-libunwind: ... this.
10557 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10558 * config/ia64/t-slibgcc-hpux: New file.
10559 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10560 * config/m68k/t-slibgcc-elf-ver: New file.
10561 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10562 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10564 * config/pa/t-slibgcc-hpux: New file.
10565 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10567 * config/rs6000/libgcc-darwin.10.4.ver,
10568 config/rs6000/libgcc-darwin.10.5.ver: New files.
10569 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10570 config/rs6000/libgcc-glibc.ver.
10571 * config/rs6000/libgcc-ppc64.ver: Rename to
10572 config/rs6000/libgcc-ibm-ldouble.ver.
10573 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10574 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10575 * config/rs6000/t-ldbl128: Rename to ...
10576 * config/rs6000/t-linux: ... this.
10577 (SHLIB_MAPFILES): Adapt filename.
10578 * config/rs6000/t-slibgcc-aix: New file.
10579 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10580 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10581 libgcc-excl.ver, libgcc-glibc.ver.
10582 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10583 * config/sparc/libgcc-glibc.ver: New file.
10584 * config/sparc/t-linux: New file.
10585 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10586 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10587 t-slibgcc-elf-ver to tmake_file.
10588 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10590 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10591 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10592 t-slibgcc-elf-ver, t-linux to tmake_file.
10593 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10595 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10596 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10597 (alpha*-dec-*vms*): Likewise.
10598 (arm*-*-freebsd*): Append to tmake_file.
10599 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10600 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10601 arm*-*-linux-*eabi.
10602 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10603 tmake_file for arm*-*-symbianelf*.
10604 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10605 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10607 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10608 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10609 pa/t-slibgcc-dwarf-ver to tmake_file.
10610 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10611 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10612 (hppa*64*-*-hpux11*): Likewise.
10613 (hppa[12]*-*-hpux11*): Likewise.
10614 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10615 i386/t-crtpc, i386/t-crtfm.
10616 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10617 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10619 Add i386/t-cygwin to tmake_file.
10620 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10621 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10622 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10624 Add i386/t-mingw32 to tmake_file.
10625 (x86_64-*-mingw*): Likewise.
10626 (ia64*-*-freebsd*): Append to tmake_file.
10627 (ia64*-*-linux*): Append to tmake_file.
10628 Replace ia64/t-glibc by ia64/t-linux.
10629 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10631 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10632 t-slibgcc-hpux to tmake_file.
10633 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10634 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10635 (m32rle-*-linux*): Likewise.
10636 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10638 (microblaze*-linux*): New case.
10639 Append to tmake_file, add t-slibgcc-nolc-override.
10640 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10641 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10642 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10643 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10644 rs6000/t-slibgcc-aix to tmake_file.
10645 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10646 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10647 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10648 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10649 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10650 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10652 (sparc-*-linux*): Append to tmake_file for *-leon*.
10653 Add sparc/t-linux to tmake_file for non-Leon targets.
10654 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10655 (tic6x-*-uclinux): New case.
10656 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10657 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10658 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10659 (am33_2.0-*-linux*): Append to tmake_file.
10660 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10661 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10662 x86_64-*-kfreebsd*-gnu.
10663 Add i386/t-linux to tmake_file.
10665 2011-10-28 Ian Lance Taylor <iant@google.com>
10667 * config/i386/morestack.S: Correct CFI information to do proper
10668 returns throughout function. In 32-bit mode, save %ebx so that it
10669 is restored on unwind.
10671 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10673 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10674 case where B3 isn't the return register.
10676 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10677 logic for doubleword pops.
10679 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
10681 * config/rs6000/t-freebsd: Add wildcard.
10683 2011-10-21 Paul Brook <paul@codesourcery.com>
10685 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10687 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
10688 Eric Botcazou <ebotcazou@adacore.com>
10691 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10692 fs->signal_frame to 1.
10694 2011-10-07 Ian Lance Taylor <iant@google.com>
10696 * generic-morestack-thread.c: #include <errno.h>.
10698 2011-10-07 Ian Lance Taylor <iant@google.com>
10701 * generic-morestack.c (__generic_morestack): Make sure the segment
10702 is large enough for both the stack frame and the copied
10705 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10708 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10711 2011-09-28 Nick Clifton <nickc@redhat.com>
10713 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10714 64-bit doubles are not enabled.
10715 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10716 and floatunsisf functions.
10718 2011-09-13 Paul Brook <paul@codesourcery.com>
10720 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10721 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10722 * unwind-arm-common.inc: New file.
10723 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10724 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10725 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10726 * config/c6x/libunwind.S: New file.
10727 * config/c6x/pr-support.c: New file.
10728 * config/c6x/unwind-c6x.c: New file.
10729 * config/c6x/unwind-c6x.h: New file.
10730 * config/c6x/t-c6x-elf: New file.
10732 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
10734 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10735 (ASM_DIVZERO): Ditto.
10736 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10738 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10740 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10742 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10745 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10746 instead of an assembly one.
10748 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
10751 * Makefile.in (install-unwind_h): Create
10752 $(gcc_objdir)/include/unwind.h atomically.
10754 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10756 * Makefile.in (install-unwind_h): Remove destination file first.
10758 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10760 * sync.c: New file.
10761 * config/mips/t-mips16: New file.
10762 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10763 (mips*-*-linux*): Likewise.
10764 (mips*-sde-elf*): Likewise.
10765 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10766 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10767 Add mips/t-mips16 to tmake_file.
10768 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10769 (mips-*-elf*): Likewise.
10770 (mips64-*-elf*): Likewise.
10771 (mips64orion-*-elf*): Likewise.
10772 (mips*-*-rtems*): Likewise.
10773 (mipstx39-*-elf*): Likewise.
10774 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10775 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10776 LIBGCC_SYNC_CFLAGS.
10777 Use $(srcdir) to refer to sync.c.
10779 ($(libgcc-sync-funcs-o)): Likewise.
10780 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10781 ($(libgcc-sync-funcs-s-o)): Likewise.
10783 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10785 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10788 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10791 * config/i386/value-unwind.h: New.
10793 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10795 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10796 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10797 Add to tmake_file rather than overriding it.
10799 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10801 * config/t-softfp: Remove.
10802 * soft-fp: Moved from ../gcc/config.
10803 * soft-fp/README: Remove t-softfp reference.
10804 * soft-fp/t-softfp: Move to config/t-softfp.
10805 (softfp_machine_header): Remove.
10806 (softfp_file_list): Remove config subdir.
10807 (soft-fp-objects): New variable.
10808 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10809 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10810 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10811 * config/t-softfp-excl: New file.
10812 * config/t-softfp-sfdf: New file.
10813 * config/t-softfp-tf: New file.
10814 * config/no-sfp-machine.h: New file.
10815 * config/arm/sfp-machine.h: New file.
10816 * config/arm/t-softfp: New file.
10817 * config/c6x/sfp-machine.h: New file.
10818 * config/i386/32/t-fprules-softfp: Rename to ...
10819 * config/i386/32/t-softfp: ... this.
10820 (tifunctions, LIB2ADD): Remove.
10821 (softfp_int_modes): Override.
10822 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10824 * config/i386/64/eqtf2.c: Likewise.
10825 * config/i386/64/getf2.c: Likewise.
10826 * config/i386/64/letf2.c: Likewise.
10827 * config/ia64/sft-machine.h: New file.
10828 * config/ia64/t-fprules-softfp: Rename to ...
10829 * config/ia64/t-softfp: ... this.
10830 * config/lm32/sfp-machine.h: New file.
10831 * config/moxie/t-moxie-softfp: Remove.
10832 * config/rs6000/ibm-ldouble-format: New file.
10833 * config/rs6000/ibm-ldouble.c: New file.
10834 * config/rs6000/libgcc-ppc-glibc.ver: New file
10835 * config/rs6000/libgcc-ppc64.ver: New file
10836 * config/rs6000/sfp-machine.h: New file.
10837 * config/rs6000/t-freebsd: New file.
10838 * config/rs6000/t-ibm-ldouble: New file.
10839 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10840 libgcc-ppc-glibc.ver.
10841 * config/rs6000/t-linux64: New file.
10842 * config/rs6000/t-ppccomm (LIB2ADD): Add
10843 $(srcdir)/config/rs6000/ibm-ldouble.c.
10844 * config/rs6000/t-ppccomm-ldbl: New file.
10845 * config/score/sfp-machine.h: New file.
10846 * config.host (sfp_machine_header): Explain.
10847 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10848 t-softfp to tmake_file.
10849 (arm*-*-uclinux*): Likewise.
10850 (arm*-*-ecos-elf): Likewise.
10851 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10852 (arm*-*-rtems*): Likewise.
10853 (arm*-*-elf): Likewise.
10854 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10856 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10857 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10858 (lm32-*-uclinux*): Likewise.
10859 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10860 t-softfp-excl, t-softfp.
10861 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10862 (powerpc64-*-darwin*): Likewise.
10863 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10865 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10867 (powerpc-*-eabisim*): Likewise.
10868 (powerpc-*-elf*): Likewise.
10869 (powerpc-*-eabialtivec*): Likewise.
10870 (powerpc-xilinx-eabi*): Likewise.
10871 (powerpc-*-rtems*): Likewise.
10872 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10873 t-softfp-excl, t-softfp to tmake_file.
10874 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10875 rs6000/t-ppccomm-ldbl to tmake_file.
10876 (powerpcle-*-elf*): Likewise.
10877 (powerpcle-*-eabisim*): Likewise.
10878 (powerpcle-*-eabi*): Likewise.
10879 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10880 rs6000/t-ibm-ldouble to tmake_file.
10881 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10882 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10883 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10884 (tic6x-*-*): Likewise.
10885 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10886 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10887 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10888 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10889 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10890 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10891 t-softfp to tmake_file.
10892 * configure.ac (sfp_machine_header): Provide default if unset.
10894 Link sfp-machine.h to config/$sfp_machine_header.
10895 * configure: Regenerate.
10897 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10899 * Makefile.in (double_type_size, long_double_type_size): Set.
10900 Remove $(fpbit-in-libgcc) support.
10901 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10902 (fpbit-src): New variable.
10903 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10904 Compile with -DFLOAT $(FPBIT_CFLAGS).
10906 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10907 Compile with $(FPBIT_CFLAGS).
10909 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10910 Compile with -DFLOAT $(TPBIT_CFLAGS).
10912 * configure.ac (double_type_size, long_double_type_size):
10913 Determine and substitute.
10914 * configure: Regenerate.
10915 * fp-bit.c, fp-bit.h: New files.
10916 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10917 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10918 * config/mips/t-mips: New file.
10919 * config/mips/t-sdemtk: New file.
10920 * config/rs6000/ppc64-fp.c: New file.
10921 * config/rs6000/t-darwin (LIB2ADD): Add
10922 $(srcdir)/config/rs6000/ppc64-fp.c.
10923 * config/rs6000/t-ppc64-fp: New file.
10924 * config/rx/rx-lib.h: New file.
10925 * config/rx/t-rx (FPBIT): Set to true.
10926 ($(gcc_objdir)/fp-bit.c): Remove.
10927 (DPBIT): Set to true only with -m64bit-doubles.
10928 ($(gcc_objdir)/dp-bit.c): Remove.
10929 * config/sparc/t-softfp: Remove.
10930 * config/spu/t-elf: New file.
10931 * config/t-fdpbit, config/t-fpbit: New files.
10932 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10933 (mips*-*-*): Likewise.
10934 (arm-wrs-vxworks): Likewise.
10935 (arm*-*-freebsd*): Likewise.
10936 (avr-*-rtems*): Add t-fpbit to tmake_file.
10937 (avr-*-*): Likewise.
10938 (bfin*-elf*): Add t-fdpbit to tmake_file.
10939 (bfin*-uclinux*): Likewise.
10940 (bfin*-linux-uclibc*): Likewise.
10941 (bfin*-rtems*): New case.
10942 Add t-fdpbit to tmake_file.
10943 (bfin*-*): Add t-fdpbit to tmake_file.
10944 (crisv32-*-elf): Likewise.
10945 (cris-*-linux*): Likewise.
10946 (fr30-*-elf): Likewise.
10947 (frv-*-elf, frv-*-*linux*): Likewise.
10948 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10949 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10950 (m32r-*-elf*): Likewise.
10951 (m32rle-*-elf*): Likewise.
10952 (m32r-*-linux*): Likewise.
10953 (m32rle-*-linux*): Likewise.
10954 (mcore-*-elf): Add t-fdpbit to tmake_file.
10955 (microblaze*-*-*): Likewise.
10956 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10957 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10958 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10960 Add mips/t-tpbit to tmake-file.
10961 (mips*-*-linux*): Fix typo.
10962 (mips*-sde-elf*): New case
10963 Add mips/t-sdemtk unless using newlib.
10964 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10965 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10966 (mn10300-*-*): Likewise.
10967 (pdp11-*-*): Likewise.
10968 (picochip-*-*): Add t-fpbit to tmake_file.
10969 (powerpc-*-eabisimaltivec*): Likewise.
10970 (powerpc-*-eabisim*): Likewise.
10971 (powerpc-*-elf*): Likewise.
10972 (powerpc-*-eabialtivec*): Likewise.
10973 (powerpc-xilinx-eabi*): New case.
10974 Add t-fdpbit to tmake_file.
10975 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10976 (powerpc-*-rtems*): Likewise.
10977 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10979 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10981 (powerpc-*-lynxos*): Likewise.
10982 (powerpcle-*-elf*): Likewise.
10983 (powerpcle-*-eabisim*): Likewise.
10984 (powerpcle-*-eabi*): Likewise.
10985 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10986 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10987 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10988 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10989 (rx-*-elf): Add t-fdpbit to tmake_file.
10990 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10991 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10992 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10993 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10995 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10996 (sh-wrs-vxworks): Likewise.
10997 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10998 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10999 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11000 (sparc64-*-rtems*): ... new case.
11001 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11002 (spu-*-elf*): Likewise.
11003 Add spu/t-elf to tmake_file.
11004 (v850*-*-*): Add t-fdpbit to tmake_file.
11005 (xstormy16-*-elf): Likewise.
11006 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11007 (mep*-*-*): Likewise.
11009 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11011 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11013 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11014 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11015 (install-unwind_h): New target.
11016 (all): Depend on it.
11017 * config.host (unwind_header): New variable.
11018 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11019 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11020 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11021 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11022 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11024 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11026 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11028 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11030 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11031 (ia64*-*-freebsd*): Likewise.
11032 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11034 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11035 $with_system_libunwind.
11036 (ia64*-*-hpux*): Set tmake_file.
11037 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11038 (picochip-*-*): Set tmake_file.
11039 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11041 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11042 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11043 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11044 (xtensa*-*-elf*): Set tmake_file.
11045 (xtensa*-*-linux*): Likewise.
11046 * configure.ac: Include ../config/unwind_ipinfo.m4.
11047 Call GCC_CHECK_UNWIND_GETIPINFO.
11048 Link unwind.h to $unwind_header.
11049 * configure: Regenerate.
11050 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11051 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11052 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11053 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11054 * config/unwind-dw2-fde-darwin.c: New file.
11055 * config/arm/libunwind.S, config/arm/pr-support.c,
11056 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11057 config/arm/unwind-arm.h,: New files.
11058 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11059 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11060 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11061 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11062 config/ia64/unwind-ia64.h: New files.
11063 * config/picochip/t-picochip: New file.
11064 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11066 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11067 * config/s390/t-tpf (LIB2ADDEH): Remove.
11068 * config/t-darwin (LIB2ADDEH): Set.
11069 * config/t-eh-dw2-dip: New file.
11070 * config/t-libunwind, config/t-libunwind-elf: New files.
11071 * config/t-sol2 (LIB2ADDEH): Remove.
11072 * config/xtensa/t-xtensa: New file.
11074 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11076 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11077 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11078 long long to check rt_sigreturn syscall.
11080 2011-08-02 Alan Modra <amodra@gmail.com>
11082 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11083 Restore for indirect call bcrtl from correct stack slot, and only
11084 if cfa+40 isn't valid.
11086 2011-08-01 Julian Brown <julian@codesourcery.com>
11088 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11089 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11090 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11092 2011-08-01 Julian Brown <julian@codesourcery.com>
11094 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11095 (libgcc-std.ver.in): Use above.
11096 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11097 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11099 * config/t-fixedpoint-gnu-prefix: New file.
11100 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11101 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11102 instead of __PFX__.
11104 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11106 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11107 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11108 for x86-64. Properly check __x86_64__ and __LP64__.
11110 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11112 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11114 (_FP_WS_TYPE): Likewise.
11115 (_FP_I_TYPE): Likewise.
11117 2011-07-28 Alan Modra <amodra@gmail.com>
11119 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11120 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11121 in a plt call stub. Do restore r2 if stopped on bctrl.
11123 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11125 * config.host (i[3456x]86-*-netware*): Remove.
11126 * config/i386/netware-crt0.c, config/i386/t-nwld,
11127 config/i386/t-slibgcc-nwld: Remove.
11129 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11131 * config.host: Handle tic6x-*-*.
11132 * config/c6x/c6x-abi.h: New file.
11134 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11136 * config/i386/crtprec.c: New file.
11137 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11138 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11139 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11140 (x86_64-*-darwin*): Likewise.
11141 (i[34567]86-*-solaris2*: Likewise.
11143 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11145 * config/alpha/crtfastmath.c: New file.
11146 * config/i386/crtfastmath.c: New file.
11147 * config/ia64/crtfastmath.c: New file.
11148 * config/mips/crtfastmath.c: New file.
11149 * config/sparc/crtfastmath.c: New file.
11151 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11153 Add -frandom-seed=gcc-crtfastmath.
11154 * config/alpha/t-crtfm: Remove.
11155 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11156 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11158 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11159 (alpha*-dec-osf5.1*): Likewise.
11160 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11161 Add crtfastmath.o to extra_parts.
11162 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11163 Add crtfastmath.o to extra_parts.
11164 (x86_64-*-darwin*): Likewise.
11165 (x86_64-*-mingw*): Likewise.
11166 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11167 (ia64*-*-freebsd*): Likewise.
11168 (ia64*-*-linux*): Likewise.
11169 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11170 Add crtfastmath.o to extra_parts.
11172 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11174 * config/darwin-crt3.o: New file.
11175 * config/rs6000/darwin-crt2.c: New file.
11176 * config/t-darwin: New file.
11177 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11178 (crt2.o): New rule.
11179 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11180 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11181 (powerpc64-*-darwin*): Likewise.
11183 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11185 * config/i386/netware-crt0.c: New file.
11186 * config/i386/t-nwld: Rename to ...
11187 * config/i386/t-slibgcc-nwld: ... this.
11188 * config/i386/t-nwld: New file.
11189 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11191 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11194 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11196 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11198 * configure: Regenerate.
11200 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11202 * dfp-bit.c, dfp-bit.h: New files.
11203 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11205 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11206 ($(d64pbit-o)): Likewise.
11207 ($(d128pbit-o)): Likewise.
11208 * config/t-dfprules: New file.
11209 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11210 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11211 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11212 (x86_64-*-linux*): Likewise.
11213 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11214 (i[34567]86-*-cygwin*): Likewise.
11215 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11216 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11218 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11220 * Makfile.in (LIBGCOV): New variable.
11221 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11222 * libgcov.c: New file.
11224 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11226 * fixed-bit.c, fixed-bit.h: New files.
11227 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11228 refer to fixed-bit.c.
11230 2011-07-07 Joseph Myers <joseph@codesourcery.com>
11232 * config.host (*local*): Remove.
11234 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11237 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11238 like i?86-*-solaris2.1[0-9]*.
11239 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11240 * configure.ac (i?86-*-solaris2*): Likewise.
11241 * configure: Regenerate.
11243 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
11245 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11246 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11247 md_unwind_header by splitting out of...
11248 (i[34567]86-*-linux*): ... this.
11249 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11250 Remove md_unwind_header by splitting out of...
11251 (x86_64-*-linux*): ... this.
11253 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
11255 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11257 2011-06-28 Nick Clifton <nickc@redhat.com>
11259 * config.host: Recognize all V850 variants.
11261 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
11263 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11265 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11267 * shared-object.mk (c_flags-$o): Save c_flags.
11268 ($(base)$(objext)): Use it.
11269 ($(base)_s$(objext)): Likewise.
11271 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11273 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11274 * libgcc-std.ver.in (GCC_4.7.0): New section.
11276 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
11280 * config/avr/t-avr: Fix line endings.
11281 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11284 2011-06-14 Olivier Hainque <hainque@adacore.com>
11285 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11287 * config/mips/irix6-unwind.h: New file.
11288 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11290 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11292 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11293 (sparc64_fallback_frame_state): Use it.
11294 (sparc64_frob_update_context): Further adjust context.
11295 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11296 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11297 * config/sparc/sol2-cn.S: Likewise.
11299 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11301 * enable-execute-stack-empty.c: New file.
11302 * enable-execute-stack-mprotect.c: New file.
11303 * config/i386/enable-execute-stack-mingw32.c: New file.
11304 * config.host (enable_execute_stack): New variable.
11305 Select appropriate variants.
11306 * configure.ac: Link enable-execute-stack.c to
11307 $enable_execute_stack.
11308 * configure: Regenerate.
11309 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11310 (lib2funcs): Remove _enable_execute_stack.
11312 2011-06-09 David S. Miller <davem@davemloft.net>
11313 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11315 * config.host (sparc-*-linux*): Correct md_unwind_header
11317 (s390x-ibm-tpf*): Fix typo.
11319 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11321 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11322 Add crtfastmath.o to extra_parts.
11323 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11325 * config/mips/t-crtfm: Remove.
11327 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11329 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11331 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11333 * config.host (sh*-*-linux*): Fix typo.
11335 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11337 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11338 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11339 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11340 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11341 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11342 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11343 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11344 Wrap in !__MINGW64__.
11345 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11346 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11347 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11348 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11349 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11350 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11351 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11353 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11354 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11355 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11356 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11357 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11358 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11359 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11360 * config/no-unwind.h: New file.
11361 * config.host (md_unwind_header): Document.
11363 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11364 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11365 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11366 hppa[12]*-*-hpux11*): Set md_unwind_header.
11367 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11368 Set md_unwind_header.
11369 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11370 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11371 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11372 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11373 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11374 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11375 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11377 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11378 * configure: Regenerate.
11380 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11382 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11383 Set tmake_file, extra_parts.
11384 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11385 Remove O32 support.
11386 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11387 Remove O32 support.
11388 * config/mips/t-irix6: New file.
11389 * config/mips/t-slibgcc-irix: New file.
11391 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11393 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11394 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11396 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11398 * configure.ac (target_thread_file): Determine thread model.
11399 * configure: Regenerate.
11400 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11401 * config/alpha/t-alpha: New file.
11402 * config/alpha/t-crtfm: Use $<.
11403 * config/alpha/t-ieee: New file.
11404 * config/alpha/t-osf-pthread: New file.
11405 * config/alpha/t-slibgcc-osf: New file.
11406 * config/alpha/libgcc-osf5.ver: New file.
11408 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11410 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11412 Add crtfastmath.o to extra_parts.
11414 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11416 * config/gmon-sol2.c: Reindent.
11418 Remove, correct casts.
11419 Use STDERR_FILENO, NULL.
11420 (BASEADDRESS): Remove.
11422 (errno, sbrk): Remove declarations.
11423 (monstartup) [hp300]: Remove.
11426 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11428 * Makefile.in (cpu_type): Define.
11429 * config.host (i[34567]86-*-rtems*): Handle it.
11430 (i[34567]86-*-solaris2*): Move body ...
11431 (*-*-solaris2*): ... here.
11432 New case, generalize.
11433 (sparc-*-elf*): Handle it.
11434 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11435 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11436 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11438 (sparc*-*-solaris2*): ... this.
11440 (sparc64-*-elf*): Handle it.
11441 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11442 Merge ../gcc/config/i386/gmon-sol2.c.
11443 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11445 Merge ../gcc/config/i386/sol2-gc1.asm.
11446 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11448 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11450 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11451 * config/i386/t-crtstuff: New file.
11452 * config/i386/t-softfp: New file.
11453 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11454 $(T)crti.o, $(T)crtn.o): Remove.
11455 (gcrt1.o): New rule.
11456 (TARGET_LIBGCC2_CFLAGS): Remove.
11457 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11458 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11459 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11460 * config/sparc/t-sol2: New file.
11461 * config/sparc/t-crtfm: Move to ...
11462 * config/t-crtfm: ... this.
11463 Use $(cpu_type), $<.
11464 * config/t-crtin: New file.
11465 * config/sparc/t-softfp: New file.
11466 * config/sparc/t-softmul: New file.
11467 * config/t-rtems: New file.
11468 * config/t-slibgcc: New file.
11469 * config/t-slibgcc-elf-ver: New file.
11470 * config/t-slibgcc-gld: New file.
11471 * config/t-slibgcc-sld: New file.
11472 * config/t-sol2: New file.
11473 * configure.ac: Include ../config/lib-ld.m4.
11474 Call AC_LIB_PROG_LD_GNU.
11475 Substitute cpu_type.
11476 * configure: Regenerate.
11478 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11481 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11482 libgcc-std.ver in the build directory.
11483 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11484 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11486 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11488 * libgcc-std.ver.in: New file.
11489 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11491 (libgcc-std.ver): New rule.
11492 * config/t-gnu-prefix: New file.
11494 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11496 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11498 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11500 * config/i386/darwin-lib.h: New file.
11502 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11504 * config/arm/symbian-lib.h: New.
11506 2011-05-04 Chris Demetriou <cgd@google.com>
11508 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11509 (__x86.get_pc_thunk.bx): ...this.
11510 (__morestack): Adjust for rename, remove undef of __i686.
11512 2011-05-03 Chris Demetriou <cgd@google.com>
11514 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11516 2011-03-22 Joseph Myers <joseph@codesourcery.com>
11518 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11519 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11520 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11521 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11522 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11525 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
11527 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11528 Adjust copyright year.
11530 2011-03-07 Ian Lance Taylor <iant@google.com>
11532 * generic-morestack.c (__splitstack_find): Adjust returned stack
11533 pointer to include all registers pushed by __morestack.
11535 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11538 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11539 (toolexecdir): Calculate and AC_SUBST.
11540 (toolexeclibdir): Likewise.
11541 * Makefile.in (target_noncanonical): Import.
11542 (toolexecdir): Likewise.
11543 (toolexeclibdir): Likewise.
11544 * configure: Regenerate.
11546 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11549 * config/arm/bpabi.h: Rename to...
11550 * config/arm/bpabi-lib.h: ...this.
11552 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11554 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11556 * configure: Regenerate.
11558 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11560 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11561 __FLOAT_WORD_ORDER__.
11562 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11565 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11568 * Makefile.in (install-strip): New phony target.
11570 2010-11-07 Ian Lance Taylor <iant@google.com>
11573 * config/i386/morestack.S (__morestack_large_model): New
11576 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11578 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11580 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11582 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11584 * config/arm/bpabi.h: New file.
11585 * config/frv/frv-abi.h: New file.
11587 2010-10-01 Ian Lance Taylor <iant@google.com>
11589 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11590 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11592 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11595 * config.host: Add the missing `$'.
11597 2010-09-30 Michael Eager <eager@eagercon.com>
11599 * config.host: Add microblaze*-*-*.
11600 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11601 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11602 udivsi3.asm,umodsi3.asm}: New.
11604 2010-09-28 Ian Lance Taylor <iant@google.com>
11606 * configure.ac: Adjust CFI test to test assembler directly rather
11607 than checking gcc preprocessor macro.
11608 * configure: Rebuild.
11610 2010-09-27 Ian Lance Taylor <iant@google.com>
11612 * configure.ac: Test whether assembler supports CFI directives.
11613 * config.host: Only add t-stack and i386/t-stack-i386 to
11614 tmake_file if libgcc_cv_cfi is "yes".
11615 * configure: Rebuild.
11617 2010-09-27 Ian Lance Taylor <iant@google.com>
11619 * generic-morestack.h: New file.
11620 * generic-morestack.c: New file.
11621 * generic-morestack-thread.c: New file.
11622 * config/i386/morestack.S: New file.
11623 * config/t-stack: New file.
11624 * config/i386/t-stack-i386: New file.
11625 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11626 i386/t-stack-i386 to tmake_file.
11628 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11630 * Makefile.in (libgcc-extra-parts): Check for static archives and
11631 invoke ranlib after installing them.
11632 (gcc-extra-parts): Likewise.
11633 (install-leaf): Likewise.
11635 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11637 * configure: Regenerated.
11639 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
11641 * configure: Regenerated.
11643 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11644 Andrew Pinski <pinskia@gmail.com>
11647 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11649 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11652 * configure: Regenerated.
11654 2010-09-06 Andreas Schwab <schwab@redhat.com>
11656 * configure: Regenerate.
11658 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11660 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11662 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11665 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11666 Iain Sandoe <iains@gcc.gnu.org>
11669 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11670 LIB2FUNCS_EXCLUDE functions.
11672 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11674 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11676 * configure: Regenerate.
11678 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
11680 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11681 i386/t-freebsd to tmake_file.
11682 * config/i386/t-freebsd: New file.
11683 * config/i386/libgcc-bsd.ver: New file.
11685 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11687 * config.host (powerpc*-eabispe*): Set tmake_file.
11688 (powerpc*-eabi*): Likewise.
11689 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11690 crtbeginS, crtendS, crtbeginT.
11692 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
11694 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11695 to tmake_file. Add crtfastmath.o to extra_parts.
11696 * config/mips/t-crtfm: New.
11698 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
11700 * config.host (sparc64-*-rtems*): New target.
11702 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11704 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11707 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11709 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11711 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11713 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11714 alpha-dec-osf5.0* support.
11716 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
11718 * config.host: Add lm32-*-rtems*.
11720 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11721 Uros Bizjak <ubizjak@gmail.com>
11724 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11725 like other remaining 32-bit x86 OSes.
11726 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11728 * config/i386/libgcc-sol2.ver: New file.
11729 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11731 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
11734 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11735 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11736 is used and substitute set_use_emutls.
11737 * configure: Regenerated.
11739 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11741 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11743 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11746 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11748 ($(T)gcrt1.o): Likewise.
11749 ($(T)crt1.o): Likewise.
11750 ($(T)crti.o): Likewise.
11751 ($(T)crtn.o): Likewise.
11753 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11756 * Makefile.in (install): Use $(MAKE) string in rule, for
11759 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11761 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11762 * config/mmix/t-mmix: New file.
11763 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11765 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11768 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11771 2010-01-04 Anthony Green <green@moxielogic.com>
11773 * config/moxie/crti.asm, config/moxie/crtn.asm,
11774 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11775 config/moxie/t-moxie: New files.
11776 * config.host: Add t-moxie-softfp reference.
11778 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
11781 * config/t-slibgcc-darwin: Fix embedded rpaths for
11782 --enable-version-specific-runtime-libs, build extension stub
11783 libs exposing features available from current libgcc_s.
11785 2009-11-11 Jon Beniston <jon@beniston.com>
11787 * config.host: Add lm32 targets.
11788 * config/lm32: New directory.
11789 * config/lm32/libgcc_lm32.h: New file.
11790 * config/lm32/_mulsi3.c: New file.
11791 * config/lm32/_udivmodsi4.c: New file.
11792 * config/lm32/_divsi3.c: New file.
11793 * config/lm32/_modsi3.c: New file.
11794 * config/lm32/_udivsi3.c: New file.
11795 * config/lm32/_umodsi3.c: New file.
11796 * config/lm32/_lshrsi3.S: New file.
11797 * config/lm32/_ashrsi3.S: New file.
11798 * config/lm32/_ashlsi3.S: New file.
11799 * config/lm32/crti.S: New file.
11800 * config/lm32/crtn.S: New file.
11801 * config/lm32/t-lm32: New file.
11802 * config/lm32/t-elf: New file.
11803 * config/lm32/t-uclinux: New file.
11805 2009-10-26 Nick Clifton <nickc@redhat.com>
11807 * config.host: Add support for RX target.
11808 * config/rx: New directory.
11809 * config/rx/rx-abi-functions.c: New file. Supplementary
11810 functions for libgcc to support the RX ABI.
11811 * config/rx/rx-abi.h: New file. Supplementary header file for
11812 libgcc RX ABI functions.
11813 * config/rx/t-rx: New file: Makefile fragment for building
11816 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
11818 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11819 constraint of y0 to "g".
11821 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11823 * config.host: Include the s390 makefile fragments.
11824 * config/s390/32/_fixdfdi.c: New file.
11825 * config/s390/32/_fixsfdi.c: New file.
11826 * config/s390/32/_fixtfdi.c: New file.
11827 * config/s390/32/_fixunsdfdi.c: New file.
11828 * config/s390/32/_fixunssfdi.c: New file.
11829 * config/s390/32/_fixunstfdi.c: New file.
11830 * config/s390/32/t-floattodi: New file.
11831 * config/s390/libgcc-glibc.ver: New file.
11832 * config/s390/t-crtstuff: New file.
11833 * config/s390/t-linux: New file.
11834 * config/s390/t-tpf: New file.
11836 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11838 * configure.ac (AC_PREREQ): Bump to 2.64.
11840 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11842 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11844 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11846 * configure: Regenerate.
11848 2009-08-09 Douglas B Rupp <rupp@gnat.com>
11850 * config.host (ia64-hp-*vms*): New target.
11851 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11852 with ia64-hp-*vms*.
11854 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11856 * configure.ac: Add snippet for maintainer-mode.
11857 * configure: Regenerate.
11858 * Makefile.in (AUTOCONF, configure_deps): New variables.
11859 ($(srcdir)/configure)): New rule, active only with maintainer
11862 2009-06-23 DJ Delorie <dj@redhat.com>
11865 * config.host: Add mep support.
11867 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
11869 * config.host: Add i386/${host_address}/t-fprules-softfp and
11870 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11872 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11874 * config/i386/64/_multc3.c: Likewise.
11875 * config/i386/64/_powitf2.c: Likewise.
11876 * config/i386/64/eqtf2.c: Likewise.
11877 * config/i386/64/getf2.c: Likewise.
11878 * config/i386/64/letf2.c: Likewise.
11879 * config/i386/64/letf2.c: Likewise.
11880 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11881 unsigned long long for x64 mingw targets.
11882 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11883 (_FP_I_TYPE): Define as long long for x64 mingw target.
11885 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11887 * config.host (vax-*-linux*): New.
11889 2009-05-31 Anthony Green <green@moxielogic.com>
11891 * config.host: Add moxie support.
11892 * config/moxie/t-moxie: New file.
11894 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
11896 * config.host: Add i386/${host_address}/t-fprules-softfp and
11897 t-softfp to tmake_file for i[34567]86-*-cygwin*.
11899 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11901 * config.host: Add i386/${host_address}/t-fprules-softfp to
11902 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11904 2009-04-09 Nick Clifton <nickc@redhat.com>
11906 * config/ia64/tf-signs.c: Change copyright header to refer to
11907 version 3 of the GNU General Public License with version 3.1
11908 of the GCC Runtime Library Exception and to point readers at
11909 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11911 * config/i386/32/tf-signs.c: Likewise.
11912 * config/libbid/_addsub_dd.c: Likewise.
11913 * config/libbid/_addsub_sd.c: Likewise.
11914 * config/libbid/_addsub_td.c: Likewise.
11915 * config/libbid/_dd_to_df.c: Likewise.
11916 * config/libbid/_dd_to_di.c: Likewise.
11917 * config/libbid/_dd_to_sd.c: Likewise.
11918 * config/libbid/_dd_to_sf.c: Likewise.
11919 * config/libbid/_dd_to_si.c: Likewise.
11920 * config/libbid/_dd_to_td.c: Likewise.
11921 * config/libbid/_dd_to_tf.c: Likewise.
11922 * config/libbid/_dd_to_udi.c: Likewise.
11923 * config/libbid/_dd_to_usi.c: Likewise.
11924 * config/libbid/_dd_to_xf.c: Likewise.
11925 * config/libbid/_df_to_dd.c: Likewise.
11926 * config/libbid/_df_to_sd.c: Likewise.
11927 * config/libbid/_df_to_td.c: Likewise.
11928 * config/libbid/_di_to_dd.c: Likewise.
11929 * config/libbid/_di_to_sd.c: Likewise.
11930 * config/libbid/_di_to_td.c: Likewise.
11931 * config/libbid/_div_dd.c: Likewise.
11932 * config/libbid/_div_sd.c: Likewise.
11933 * config/libbid/_div_td.c: Likewise.
11934 * config/libbid/_eq_dd.c: Likewise.
11935 * config/libbid/_eq_sd.c: Likewise.
11936 * config/libbid/_eq_td.c: Likewise.
11937 * config/libbid/_ge_dd.c: Likewise.
11938 * config/libbid/_ge_sd.c: Likewise.
11939 * config/libbid/_ge_td.c: Likewise.
11940 * config/libbid/_gt_dd.c: Likewise.
11941 * config/libbid/_gt_sd.c: Likewise.
11942 * config/libbid/_gt_td.c: Likewise.
11943 * config/libbid/_isinfd128.c: Likewise.
11944 * config/libbid/_isinfd32.c: Likewise.
11945 * config/libbid/_isinfd64.c: Likewise.
11946 * config/libbid/_le_dd.c: Likewise.
11947 * config/libbid/_le_sd.c: Likewise.
11948 * config/libbid/_le_td.c: Likewise.
11949 * config/libbid/_lt_dd.c: Likewise.
11950 * config/libbid/_lt_sd.c: Likewise.
11951 * config/libbid/_lt_td.c: Likewise.
11952 * config/libbid/_mul_dd.c: Likewise.
11953 * config/libbid/_mul_sd.c: Likewise.
11954 * config/libbid/_mul_td.c: Likewise.
11955 * config/libbid/_ne_dd.c: Likewise.
11956 * config/libbid/_ne_sd.c: Likewise.
11957 * config/libbid/_ne_td.c: Likewise.
11958 * config/libbid/_sd_to_dd.c: Likewise.
11959 * config/libbid/_sd_to_df.c: Likewise.
11960 * config/libbid/_sd_to_di.c: Likewise.
11961 * config/libbid/_sd_to_sf.c: Likewise.
11962 * config/libbid/_sd_to_si.c: Likewise.
11963 * config/libbid/_sd_to_td.c: Likewise.
11964 * config/libbid/_sd_to_tf.c: Likewise.
11965 * config/libbid/_sd_to_udi.c: Likewise.
11966 * config/libbid/_sd_to_usi.c: Likewise.
11967 * config/libbid/_sd_to_xf.c: Likewise.
11968 * config/libbid/_sf_to_dd.c: Likewise.
11969 * config/libbid/_sf_to_sd.c: Likewise.
11970 * config/libbid/_sf_to_td.c: Likewise.
11971 * config/libbid/_si_to_dd.c: Likewise.
11972 * config/libbid/_si_to_sd.c: Likewise.
11973 * config/libbid/_si_to_td.c: Likewise.
11974 * config/libbid/_td_to_dd.c: Likewise.
11975 * config/libbid/_td_to_df.c: Likewise.
11976 * config/libbid/_td_to_di.c: Likewise.
11977 * config/libbid/_td_to_sd.c: Likewise.
11978 * config/libbid/_td_to_sf.c: Likewise.
11979 * config/libbid/_td_to_si.c: Likewise.
11980 * config/libbid/_td_to_tf.c: Likewise.
11981 * config/libbid/_td_to_udi.c: Likewise.
11982 * config/libbid/_td_to_usi.c: Likewise.
11983 * config/libbid/_td_to_xf.c: Likewise.
11984 * config/libbid/_tf_to_dd.c: Likewise.
11985 * config/libbid/_tf_to_sd.c: Likewise.
11986 * config/libbid/_tf_to_td.c: Likewise.
11987 * config/libbid/_udi_to_dd.c: Likewise.
11988 * config/libbid/_udi_to_sd.c: Likewise.
11989 * config/libbid/_udi_to_td.c: Likewise.
11990 * config/libbid/_unord_dd.c: Likewise.
11991 * config/libbid/_unord_sd.c: Likewise.
11992 * config/libbid/_unord_td.c: Likewise.
11993 * config/libbid/_usi_to_dd.c: Likewise.
11994 * config/libbid/_usi_to_sd.c: Likewise.
11995 * config/libbid/_usi_to_td.c: Likewise.
11996 * config/libbid/_xf_to_dd.c: Likewise.
11997 * config/libbid/_xf_to_sd.c: Likewise.
11998 * config/libbid/_xf_to_td.c: Likewise.
11999 * config/libbid/bid128.c: Likewise.
12000 * config/libbid/bid128_2_str.h: Likewise.
12001 * config/libbid/bid128_2_str_macros.h: Likewise.
12002 * config/libbid/bid128_2_str_tables.c: Likewise.
12003 * config/libbid/bid128_add.c: Likewise.
12004 * config/libbid/bid128_compare.c: Likewise.
12005 * config/libbid/bid128_div.c: Likewise.
12006 * config/libbid/bid128_fma.c: Likewise.
12007 * config/libbid/bid128_logb.c: Likewise.
12008 * config/libbid/bid128_minmax.c: Likewise.
12009 * config/libbid/bid128_mul.c: Likewise.
12010 * config/libbid/bid128_next.c: Likewise.
12011 * config/libbid/bid128_noncomp.c: Likewise.
12012 * config/libbid/bid128_quantize.c: Likewise.
12013 * config/libbid/bid128_rem.c: Likewise.
12014 * config/libbid/bid128_round_integral.c: Likewise.
12015 * config/libbid/bid128_scalb.c: Likewise.
12016 * config/libbid/bid128_sqrt.c: Likewise.
12017 * config/libbid/bid128_string.c: Likewise.
12018 * config/libbid/bid128_to_int16.c: Likewise.
12019 * config/libbid/bid128_to_int32.c: Likewise.
12020 * config/libbid/bid128_to_int64.c: Likewise.
12021 * config/libbid/bid128_to_int8.c: Likewise.
12022 * config/libbid/bid128_to_uint16.c: Likewise.
12023 * config/libbid/bid128_to_uint32.c: Likewise.
12024 * config/libbid/bid128_to_uint64.c: Likewise.
12025 * config/libbid/bid128_to_uint8.c: Likewise.
12026 * config/libbid/bid32_to_bid128.c: Likewise.
12027 * config/libbid/bid32_to_bid64.c: Likewise.
12028 * config/libbid/bid64_add.c: Likewise.
12029 * config/libbid/bid64_compare.c: Likewise.
12030 * config/libbid/bid64_div.c: Likewise.
12031 * config/libbid/bid64_fma.c: Likewise.
12032 * config/libbid/bid64_logb.c: Likewise.
12033 * config/libbid/bid64_minmax.c: Likewise.
12034 * config/libbid/bid64_mul.c: Likewise.
12035 * config/libbid/bid64_next.c: Likewise.
12036 * config/libbid/bid64_noncomp.c: Likewise.
12037 * config/libbid/bid64_quantize.c: Likewise.
12038 * config/libbid/bid64_rem.c: Likewise.
12039 * config/libbid/bid64_round_integral.c: Likewise.
12040 * config/libbid/bid64_scalb.c: Likewise.
12041 * config/libbid/bid64_sqrt.c: Likewise.
12042 * config/libbid/bid64_string.c: Likewise.
12043 * config/libbid/bid64_to_bid128.c: Likewise.
12044 * config/libbid/bid64_to_int16.c: Likewise.
12045 * config/libbid/bid64_to_int32.c: Likewise.
12046 * config/libbid/bid64_to_int64.c: Likewise.
12047 * config/libbid/bid64_to_int8.c: Likewise.
12048 * config/libbid/bid64_to_uint16.c: Likewise.
12049 * config/libbid/bid64_to_uint32.c: Likewise.
12050 * config/libbid/bid64_to_uint64.c: Likewise.
12051 * config/libbid/bid64_to_uint8.c: Likewise.
12052 * config/libbid/bid_b2d.h: Likewise.
12053 * config/libbid/bid_binarydecimal.c: Likewise.
12054 * config/libbid/bid_conf.h: Likewise.
12055 * config/libbid/bid_convert_data.c: Likewise.
12056 * config/libbid/bid_decimal_data.c: Likewise.
12057 * config/libbid/bid_decimal_globals.c: Likewise.
12058 * config/libbid/bid_div_macros.h: Likewise.
12059 * config/libbid/bid_dpd.c: Likewise.
12060 * config/libbid/bid_flag_operations.c: Likewise.
12061 * config/libbid/bid_from_int.c: Likewise.
12062 * config/libbid/bid_functions.h: Likewise.
12063 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12064 * config/libbid/bid_inline_add.h: Likewise.
12065 * config/libbid/bid_internal.h: Likewise.
12066 * config/libbid/bid_round.c: Likewise.
12067 * config/libbid/bid_sqrt_macros.h: Likewise.
12069 2009-04-09 Jakub Jelinek <jakub@redhat.com>
12071 * Makefile.in: Change copyright header to refer to version
12072 3 of the GNU General Public License and to point readers at the
12073 COPYING3 file and the FSF's license web page.
12074 * config.host: Likewise.
12076 2009-04-07 Alan Modra <amodra@bigpond.net.au>
12078 * config.host: Reorder and merge to match config.gcc change.
12080 2009-04-03 Alan Modra <amodra@bigpond.net.au>
12082 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12084 2009-03-28 Joseph Myers <joseph@codesourcery.com>
12086 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12087 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12088 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12089 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12091 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
12093 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12094 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12096 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12098 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12099 ia64/t-softfp-compat to tmake_file.
12101 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12103 * config/ia64/__divxf3.asm: New.
12104 * config/ia64/_fixtfdi.asm: Likewise.
12105 * config/ia64/_fixunstfdi.asm: Likewise.
12106 * config/ia64/_floatditf.asm: Likewise.
12107 * config/ia64/t-fprules-softfp: Likewise.
12108 * config/ia64/t-softfp-compat: Likewise.
12109 * config/ia64/tf-signs.c: Likewise.
12111 2009-01-18 Ben Elliston <bje@au.ibm.com>
12113 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12115 2009-01-16 Ben Elliston <bje@au.ibm.com>
12117 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12120 2009-01-13 Ben Elliston <bje@au.ibm.com>
12122 * config/t-softfp: New file.
12123 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12124 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12126 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
12128 * config.host: Add m32r*-*-rtems*.
12130 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
12132 * config.host: Add m32c*-*-rtems*.
12134 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12137 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12138 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12139 * configure: Regenerate.
12140 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12141 tmake_file here from gcc/config.gcc.
12142 Move extra_parts here from gcc/config.gcc.
12143 * config/i386/t-sol2: Move here from gcc/config/i386.
12144 Use gcc_srcdir instead of srcdir.
12146 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12148 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12151 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12153 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12155 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12157 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12159 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12162 * config.host: Add picochip-*-*.
12164 2008-08-06 Bob Wilson <bob.wilson@acm.org>
12166 * config.host: Match more processor names for Xtensa.
12168 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12170 * config/i386/64/t-softfp-compat: Update comments.
12172 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12174 * config/i386/64/_divtc3-compat.c: Moved to ...
12175 * config/i386/64/_divtc3.c: Here.
12177 * config/i386/64/_multc3-compat.c: Moved to ...
12178 * config/i386/64/_multc3.c: Here.
12180 * config/i386/64/_powitf2-compat.c: Moved to ...
12181 * config/i386/64/_powitf2.c: Here.
12183 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12184 .c suffix instead of -compat.c.
12186 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
12188 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12189 (_FP_MUL_MEAT_D): Ditto.
12190 (_FP_DIV_MEAT_S): Ditto.
12191 (_FP_DIV_MEAT_D): Ditto.
12193 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12195 * Makefile.in: Add support for __sync_* libgcc functions.
12197 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12199 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12201 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12204 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12205 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12207 * config/i386/64/t-fprules-softfp: Moved to ...
12208 * config/i386/64/t-softfp-compat: This. New.
12210 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
12212 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12213 Initialize f with 0.0.
12215 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12218 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12220 * config/i386/64/_divtc3-compat.c: New.
12221 * config/i386/64/_multc3-compat.c: Likewise.
12222 * config/i386/64/_powitf2-compat.c: Likewise.
12223 * config/i386/64/eqtf2.c: Likewise.
12224 * config/i386/64/getf2.c: Likewise.
12225 * config/i386/64/letf2.c: Likewise.
12226 * config/i386/64/t-fprules-softfp: Likewise.
12228 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12230 * config.host: Add i386/${host_address}/t-fprules-softfp to
12231 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12232 i[34567]86-*-linux*, x86_64-*-linux*.
12234 * configure.ac: Set host_address to 64 or 32 for x86.
12235 * configure: Regenerated.
12237 * Makefile.in (config.status): Also depend on
12238 $(srcdir)/config.host.
12240 * config/i386/32/t-fprules-softfp: New.
12241 * config/i386/32/tf-signs.c: Likewise.
12243 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12245 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12246 Uros Bizjak <ubizjak@gmail.com>
12248 * config/i386/32/sfp-machine.h: New.
12250 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12252 * config/rs6000/t-ppccomm: Remove rules that conflict with
12253 auto-generated rules.
12255 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12257 * configure.ac: sinclude override.m4.
12258 * configure: Regenerate.
12260 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12262 * configure: Regenerate.
12264 2008-06-10 Joseph Myers <joseph@codesourcery.com>
12266 * Makefile.in (DECNUMINC): Remove
12267 -I$(MULTIBUILDTOP)../../libdecnumber.
12270 2008-06-07 Joseph Myers <joseph@codesourcery.com>
12272 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12273 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12274 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12275 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12276 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12277 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12278 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12279 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12280 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12281 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12282 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12283 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12284 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12285 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12287 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12289 * config.host (sh2[lbe]*-*-linux*): Allow target.
12291 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12293 * config/rs6000/t-ppccomm: Add build rules for new files.
12294 (LIB2ADD_ST): New variable.
12296 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12300 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12301 * config/t-avr: New file. Build 16bit libgcc functions.
12303 2008-03-02 Jakub Jelinek <jakub@redhat.com>
12306 * config/t-slibgcc-darwin: Make install-leaf dependent on
12307 install-darwin-libgcc-stubs instead of install.
12309 2008-01-25 Joseph Myers <joseph@codesourcery.com>
12311 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12312 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12313 sh-*-rtemscoff*): Remove cases.
12315 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12317 * Makefile.in (all): Use install-leaf rather than install.
12318 (install): Split most of the rule into...
12319 (install-leaf): ...this new one.
12321 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
12322 Paolo Bonzini <bonzini@gnu.org>
12325 * Makefile.in: Use @shlib_slibdir@ substitution to get
12326 correct install name on darwin.
12327 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12329 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
12331 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12332 cris-*-elf and cris-*-none.
12333 (crisv32-*-linux*): Similar, as cris-*-linux*.
12335 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12337 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12339 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12341 PR regression/33926
12342 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12343 * configure: Regenerated.
12345 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12347 * Makefile.in (dfp-filenames): Replace decimal_globals,
12348 decimal_data, binarydecimal and convert_data with
12349 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12350 and bid_convert_data, respectively.
12352 2007-09-17 Chao-ying Fu <fu@mips.com>
12353 Nigel Stephens <nigel@mips.com>
12355 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12356 * Makefile.in (fixed_point): Define.
12357 Check if fixed_point is yes to build support functions.
12358 * configure.ac: Check for fixed_point support.
12359 * configure: Regenerated.
12360 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12361 funcs, modes, from, to.
12363 2007-09-11 Janis Johnson <janis187@us.ibm.com
12365 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12367 2007-09-10 Janis Johnson <janis187@us.ibm.com>
12369 * Makefile.in (dfp-filenames): Remove decUtility, add
12370 decDouble, decPacked, decQuad, decSingle.
12372 2007-08-27 Hans Kester <hans.kester@ellips.nl>
12374 * config.host : Add x86_64-elf target.
12376 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12378 * configure.ac (set_have_cc_tls): Add a missing =.
12379 * configure: Regenerated.
12381 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12383 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12384 and x86_64-*-linux*.
12386 * config/t-tls: New file.
12388 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12390 * configure.ac: Include ../config/enable.m4 and
12391 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12392 supports TLS and substitute set_have_cc_tls.
12393 * configure: Regenerated.
12395 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12397 * Makefile.in: Use libbid for DFP when BID is enabled.
12399 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12401 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12402 extra_parts. Add config/i386/t-cygming to tmake_file.
12403 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12405 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
12406 Danny Smith <dannysmith@users.sourceforge.net>
12409 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12410 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12411 * config/i386/t-crtfm: Compile crtfastmath.o with
12412 -minline-all-stringops.
12414 2007-05-10 Richard Sandiford <richard@codesourcery.com>
12416 * config.host (sparc-wrs-vxworks): New target.
12418 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
12420 * config.host: Recognize fido.
12422 2007-04-04 Janis Johnson <janis187@us.ibm.com>
12424 * configure: Check host, not target, for decimal float support.
12426 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
12428 * config/i386/t-crtpc: New file.
12429 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12430 (x86_64-*-linux*): Ditto.
12432 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
12434 * config.host (x86_64-*-mingw*): New target.
12436 2007-03-23 Michael Meissner <michael.meissner@amd.com>
12437 H.J. Lu <hongjiu.lu@intel.com>
12439 * Makefile.in (enable_decimal_float): New.
12441 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12442 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12443 (decbits-filenames): This.
12444 (decbits-objects): New.
12445 (libgcc-objects): Add $(decbits-objects).
12447 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12448 Substitute enable_decimal_float.
12449 * configure: Regenerated.
12451 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
12453 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12455 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12457 * Makefile.in (install-info): New dummy target.
12459 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12461 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12463 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12465 * Makefile.in: Add install-html and install-pdf dummy
12468 2007-02-05 Roger Sayle <roger@eyesopen.com>
12469 Daniel Jacobowitz <dan@codesourcery.com>
12471 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12472 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12473 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12475 2007-01-29 Janis Johnson <janis187@us.ibm.com>
12477 * Makefile.in (dec-filenames): Add decExcept.
12479 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12482 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12485 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12487 * configure.ac: Add --enable-version-specific-runtime-libs.
12488 Correct $slibdir default.
12489 * configure: Regenerated.
12491 2007-01-23 Joseph Myers <joseph@codesourcery.com>
12493 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12495 2007-01-21 Andrew Pinski <pinskia@gmail.com>
12498 * config.host (alpha*-*-linux*): Set extra_parts.
12500 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12502 * config/sh/t-linux: New.
12503 * config.host (sh*-*-linux*): Set tmake_file.
12505 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12507 * Makefile.in (install): Handle multilibs.
12509 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12511 * Makefile.in: Added .PHONY entry for documentation targets.
12513 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12515 * Makefile.in: Add empty info, html, dvi, pdf targets.
12517 2007-01-04 Mike Stump <mrs@apple.com>
12519 * Makefile.in (MAKEINFO): Remove.
12522 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
12524 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12525 * configure: Regenerate.
12526 * Makefile.in (host_subdir): Substitute it.
12527 (gcc_objdir): Use it.
12529 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12531 * config.host (ia64*-*-linux*): Set tmake_file.
12533 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12535 * Makefile.in (version): Define.
12537 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12538 Paolo Bonzini <bonzini@gnu.org>
12540 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12541 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12542 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12543 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12544 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12545 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12546 * configure: Generated.
12548 Copyright (C) 2007-2022 Free Software Foundation, Inc.
12550 Copying and distribution of this file, with or without modification,
12551 are permitted in any medium without royalty provided the copyright
12552 notice and this notice are preserved.