]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
docs: Suggest options to improve ASAN stack traces
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
4bc2d9f6
GA
12022-12-07 Max Filippov <jcmvbkbc@gmail.com>
2
3 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
4 xtensa-config-builtin.h.
5 * config/xtensa/crtn.S: Likewise.
6 * config/xtensa/lib1funcs.S: Likewise.
7 * config/xtensa/lib2funcs.S: Likewise.
8 * config/xtensa/xtensa-config-builtin.h: New File.
9
05788e9b
GA
102022-11-04 Florian Weimer <fweimer@redhat.com>
11
12 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
13 values actually used by BFD ld.
14
00716b77
GA
152022-10-23 LIU Hao <lh_mouse@126.com>
16
17 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
18 libobjc, instead of 'gthr.h'
19
87f9c4a4
GA
202022-10-19 LIU Hao <lh_mouse@126.com>
21
22 * config.host: Add new cases for `mcf` thread model
23 * config/i386/gthr-mcf.h: New file
24 * config/i386/t-mingw-mcfgthread: New file
25 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
26 * configure: Regenerate
27
21de009f
GA
282022-10-18 Jonathan Wakely <jwakely@redhat.com>
29
30 * Makefile.in: Quote variable.
31
6237663c
GA
322022-10-17 H.J. Lu <hjl.tools@gmail.com>
33
34 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
35 argument.
36 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
37 _Unwind_Frames_Increment.
38 (_Unwind_ForcedUnwind_Phase2): Likewise.
39 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
40 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
41 return address on normal stack doesn't match the return address
42 on shadow stack.
43
442022-10-17 Florian Weimer <fweimer@redhat.com>
45
46 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
47 and reduce its size.
48
baeec7cc
GA
492022-10-14 Jakub Jelinek <jakub@redhat.com>
50
51 * config/i386/t-softfp (softfp_extensions): Add bfsf.
52 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
53 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
54 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
55 -msse2.
56 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
57 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
58 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
59 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
60 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
61 * soft-fp/brain.h: New file.
62 * soft-fp/truncsfbf2.c: New file.
63 * soft-fp/truncdfbf2.c: New file.
64 * soft-fp/truncxfbf2.c: New file.
65 * soft-fp/trunctfbf2.c: New file.
66 * soft-fp/trunchfbf2.c: New file.
67 * soft-fp/truncbfhf2.c: New file.
68 * soft-fp/extendbfsf2.c: New file.
69
781f477a
GA
702022-10-12 Martin Liska <mliska@suse.cz>
71
72 * libgcov-driver.c: Use new function.
73 * libgcov.h (gcov_write_summary): Rename to ...
74 (gcov_write_object_summary): ... this.
75
ab332cd7
GA
762022-10-11 Olivier Hainque <hainque@adacore.com>
77
78 * config.host (*vxworks*): When enable_shared, add
79 libgcc and crtstuff "shared" fragments for rtp except
80 large code model.
81 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
82 the list of fragments.
83
629d04d3
GA
842022-10-06 Jakub Jelinek <jakub@redhat.com>
85
86 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
87 fs->regs.how[X] instead of fs->regs.reg[X].how.
88
892022-10-06 Jakub Jelinek <jakub@redhat.com>
90
91 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
92 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
93 REG_UNDEFINED): New anonymous enum, moved from inside of
94 struct frame_state_reg_info.
95 (struct frame_state_reg_info): Remove reg[].how element and the
96 anonymous enum there. Add how element.
97 * unwind-dw2.c: Include stddef.h.
98 (uw_frame_state_for): Don't clear first
99 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
100 (execute_cfa_program, __frame_state_for, uw_update_context_1,
101 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
102 or fs.regs.how[X] instead of fs.regs.reg[X].how.
103 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
104 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
105 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
106 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
107 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
108 Likewise.
109 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
110 Likewise.
111 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
112 * config/arc/linux-unwind.h (arc_fallback_frame_state,
113 arc_frob_update_context): Likewise.
114 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
115 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
116 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
117 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
118 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
119 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
120 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
121 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
122 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
123 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
124 x86_fallback_frame_state): Likewise.
125 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
126 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
127 x86_fallback_frame_state): Likewise.
128 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
129 Likewise.
130 * config/i386/dragonfly-unwind.h
131 (x86_64_dragonfly_fallback_frame_state): Likewise.
132 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
133 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
134 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
135 Likewise.
136 * config/aarch64/freebsd-unwind.h
137 (aarch64_freebsd_fallback_frame_state): Likewise.
138 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
139 Likewise.
140 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
141 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
142 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
143 Likewise.
144 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
145 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
146 Likewise.
147 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
148 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
149 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
150 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
151
42231015
GA
1522022-10-02 Olivier Hainque <hainque@adacore.com>
153
154 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
155 -I options for gcc/include and gcc/include-fixed at the end
156 and make them -isystem.
157
1582022-10-02 Olivier Hainque <hainque@adacore.com>
159
160 * config/gthr-vxworks.h: Prevent Wpragma warning for the
161 pragma diagnostics on Wstrict-prototypes.
162
bbdcdf5c
GA
1632022-09-29 Olivier Hainque <hainque@adacore.com>
164
165 * config/vxcrtstuff.c: Improve the comment attached to the use
166 of auto-host.h and of __dso_handle. Remove redundant guard on
167 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
168
220c4d8e
GA
1692022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
170
171 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
172 for the non-fast-path case. Drop destructor priority.
173
279c6715
GA
1742022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
175
176 * unwind-dw2-fde.c: (release_register_frames) Remember
177 when the btree has been destroyed.
178 (__deregister_frame_info_bases) Disable the assert when
179 shutting down.
180
0990a778
GA
1812022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
182
183 * unwind-dw2-fde.c: Replace uintptr_t with typedef
184 for __UINTPTR_TYPE__.
185 * unwind-dw2-btree.h: Likewise.
186
7ee0fa10
GA
1872022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
188
189 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
190 (__register_frame_info_table_bases): Use btree in atomic fast path.
191 (__deregister_frame_info_bases): Likewise.
192 (_Unwind_Find_FDE): Likewise.
193 (base_from_object): Make parameter const.
194 (classify_object_over_fdes): Add query-only mode.
195 (get_pc_range): Compute PC range for lookup.
196 * unwind-dw2-fde.h (last_fde): Make parameter const.
197 * unwind-dw2-btree.h: New file.
198
542c60c4
GA
1992022-08-31 Martin Liska <mliska@suse.cz>
200
201 * config.host: Remove hppa.
202
3de9fb32
GA
2032022-08-30 Martin Liska <mliska@suse.cz>
204
205 * config.host: Remove the port.
206
16f542d6
GA
2072022-08-26 Martin Liska <mliska@suse.cz>
208
209 * config.host: Remove cr16 related stuff.
210 * config/cr16/crti.S: Removed.
211 * config/cr16/crtlibid.S: Removed.
212 * config/cr16/crtn.S: Removed.
213 * config/cr16/divmodhi3.c: Removed.
214 * config/cr16/lib1funcs.S: Removed.
215 * config/cr16/t-cr16: Removed.
216 * config/cr16/t-crtlibid: Removed.
217 * config/cr16/unwind-cr16.c: Removed.
218 * config/cr16/unwind-dw2.h: Removed.
219
47a61e65
GA
2202022-08-16 Kito Cheng <kito.cheng@sifive.com>
221
222 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
223 (_FP_NANFRAC_H): Ditto.
224 (_FP_NANSIGN_H): Ditto.
225 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
226 routines.
227 (softfp_truncations): Ditto.
228 (softfp_extras): Ditto.
229 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
230
2312022-08-16 Kito Cheng <kito.cheng@sifive.com>
232
233 * soft-fp/fixhfdi.c: New.
234 * soft-fp/fixhfsi.c: Likewise.
235 * soft-fp/fixunshfdi.c: Likewise.
236 * soft-fp/fixunshfsi.c: Likewise.
237 * soft-fp/floatdihf.c: Likewise.
238 * soft-fp/floatsihf.c: Likewise.
239 * soft-fp/floatundihf.c: Likewise.
240 * soft-fp/floatunsihf.c: Likewise.
241 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
242 lines and update URL for license.
243 * soft-fp/addsf3.c: Likewise.
244 * soft-fp/addtf3.c: Likewise.
245 * soft-fp/divdf3.c: Likewise.
246 * soft-fp/divsf3.c: Likewise.
247 * soft-fp/divtf3.c: Likewise.
248 * soft-fp/double.h: Likewise.
249 * soft-fp/eqdf2.c: Likewise.
250 * soft-fp/eqhf2.c: Likewise.
251 * soft-fp/eqsf2.c: Likewise.
252 * soft-fp/eqtf2.c: Likewise.
253 * soft-fp/extenddftf2.c: Likewise.
254 * soft-fp/extended.h: Likewise.
255 * soft-fp/extendhfdf2.c: Likewise.
256 * soft-fp/extendhfsf2.c: Likewise.
257 * soft-fp/extendhftf2.c: Likewise.
258 * soft-fp/extendhfxf2.c: Likewise.
259 * soft-fp/extendsfdf2.c: Likewise.
260 * soft-fp/extendsftf2.c: Likewise.
261 * soft-fp/extendxftf2.c: Likewise.
262 * soft-fp/fixdfdi.c: Likewise.
263 * soft-fp/fixdfsi.c: Likewise.
264 * soft-fp/fixdfti.c: Likewise.
265 * soft-fp/fixhfti.c: Likewise.
266 * soft-fp/fixsfdi.c: Likewise.
267 * soft-fp/fixsfsi.c: Likewise.
268 * soft-fp/fixsfti.c: Likewise.
269 * soft-fp/fixtfdi.c: Likewise.
270 * soft-fp/fixtfsi.c: Likewise.
271 * soft-fp/fixtfti.c: Likewise.
272 * soft-fp/fixunsdfdi.c: Likewise.
273 * soft-fp/fixunsdfsi.c: Likewise.
274 * soft-fp/fixunsdfti.c: Likewise.
275 * soft-fp/fixunshfti.c: Likewise.
276 * soft-fp/fixunssfdi.c: Likewise.
277 * soft-fp/fixunssfsi.c: Likewise.
278 * soft-fp/fixunssfti.c: Likewise.
279 * soft-fp/fixunstfdi.c: Likewise.
280 * soft-fp/fixunstfsi.c: Likewise.
281 * soft-fp/fixunstfti.c: Likewise.
282 * soft-fp/floatdidf.c: Likewise.
283 * soft-fp/floatdisf.c: Likewise.
284 * soft-fp/floatditf.c: Likewise.
285 * soft-fp/floatsidf.c: Likewise.
286 * soft-fp/floatsisf.c: Likewise.
287 * soft-fp/floatsitf.c: Likewise.
288 * soft-fp/floattidf.c: Likewise.
289 * soft-fp/floattihf.c: Likewise.
290 * soft-fp/floattisf.c: Likewise.
291 * soft-fp/floattitf.c: Likewise.
292 * soft-fp/floatundidf.c: Likewise.
293 * soft-fp/floatundisf.c: Likewise.
294 * soft-fp/floatunditf.c: Likewise.
295 * soft-fp/floatunsidf.c: Likewise.
296 * soft-fp/floatunsisf.c: Likewise.
297 * soft-fp/floatunsitf.c: Likewise.
298 * soft-fp/floatuntidf.c: Likewise.
299 * soft-fp/floatuntihf.c: Likewise.
300 * soft-fp/floatuntisf.c: Likewise.
301 * soft-fp/floatuntitf.c: Likewise.
302 * soft-fp/gedf2.c: Likewise.
303 * soft-fp/gesf2.c: Likewise.
304 * soft-fp/getf2.c: Likewise.
305 * soft-fp/half.h: Likewise.
306 * soft-fp/ledf2.c: Likewise.
307 * soft-fp/lesf2.c: Likewise.
308 * soft-fp/letf2.c: Likewise.
309 * soft-fp/muldf3.c: Likewise.
310 * soft-fp/mulsf3.c: Likewise.
311 * soft-fp/multf3.c: Likewise.
312 * soft-fp/negdf2.c: Likewise.
313 * soft-fp/negsf2.c: Likewise.
314 * soft-fp/negtf2.c: Likewise.
315 * soft-fp/op-1.h: Likewise.
316 * soft-fp/op-2.h: Likewise.
317 * soft-fp/op-4.h: Likewise.
318 * soft-fp/op-8.h: Likewise.
319 * soft-fp/op-common.h: Likewise.
320 * soft-fp/quad.h: Likewise.
321 * soft-fp/single.h: Likewise.
322 * soft-fp/soft-fp.h: Likewise.
323 * soft-fp/subdf3.c: Likewise.
324 * soft-fp/subsf3.c: Likewise.
325 * soft-fp/subtf3.c: Likewise.
326 * soft-fp/truncdfhf2.c: Likewise.
327 * soft-fp/truncdfsf2.c: Likewise.
328 * soft-fp/truncsfhf2.c: Likewise.
329 * soft-fp/trunctfdf2.c: Likewise.
330 * soft-fp/trunctfhf2.c: Likewise.
331 * soft-fp/trunctfsf2.c: Likewise.
332 * soft-fp/trunctfxf2.c: Likewise.
333 * soft-fp/truncxfhf2.c: Likewise.
334 * soft-fp/unorddf2.c: Likewise.
335 * soft-fp/unordsf2.c: Likewise.
336 * soft-fp/unordtf2.c: Likewise.
337
79fb1124
GA
3382022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
339
340 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
341 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
342 configurations.
343
87509781
GA
3442022-06-25 Jeff Law <jeffreyalaw@gmail.com>
345
346 * config.host: Removed tilegx and tilepro entries.
347 * config/tilegx/sfp-machine.h: Removed.
348 * config/tilegx/sfp-machine32.h: Removed.
349 * config/tilegx/sfp-machine64.h: Removed.
350 * config/tilegx/t-crtstuff: Removed.
351 * config/tilegx/t-softfp: Removed.
352 * config/tilegx/t-tilegx: Removed.
353 * config/tilepro/atomic.c: Removed.
354 * config/tilepro/atomic.h: Removed.
355 * config/tilepro/linux-unwind.h: Removed.
356 * config/tilepro/sfp-machine.h: Removed.
357 * config/tilepro/softdivide.c: Removed.
358 * config/tilepro/softmpy.S: Removed.
359 * config/tilepro/t-crtstuff: Removed.
360 * config/tilepro/t-tilepro: Removed.
361
e3bba42f
GA
3622022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
363
364 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
365 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
366
3164de6a
GA
3672022-06-01 H.J. Lu <hjl.tools@gmail.com>
368
369 PR libgcc/27576
370 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
371
3dff965c
GA
3722022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
373
374 PR libgcc/105708
375 * config/aarch64/lse-init.c: Increase constructor priority.
376
3772022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
378
379 PR target/104689
380 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
381 Handle the !REG_UNSAVED case.
382 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
383
57f2ce6a
GA
3842022-05-20 Christophe Lyon <christophe.lyon@arm.com>
385
386 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
387 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
388 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
389
3902022-05-20 Christophe Lyon <christophe.lyon@arm.com>
391
392 * config.host: Add t-dfprules to AArch64 targets.
393
3942022-05-20 Christophe Lyon <christophe.lyon@arm.com>
395
396 * configure: Regenerate.
397
9df4ffe4
GA
3982022-05-13 Sebastian Pop <spop@amazon.com>
399
400 PR target/105162
401 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
402 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
403
e8778989
GA
4042022-05-10 Martin Liska <mliska@suse.cz>
405 Hans-Peter Helfert <peter-helfert@t-online.de>
406
407 PR gcov-profile/105535
408 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
409 n_functions.
410
6259d8aa
GA
4112022-05-02 Martin Liska <mliska@suse.cz>
412
413 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
414
6b6f53d8
GA
4152022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
416
417 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
418 (gcov_profile_merge_stream): Likewise.
419
4202022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
421
422 * libgcov-util.c (consume_stream): New.
423 (get_target_profiles_for_merge): Likewise.
424 (gcov_profile_merge_stream): Likewise.
425
4262022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
427
428 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
429
4302022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
431
432 * libgcov-util.c (read_gcda_file): Do not open file.
433 (ftw_read_file): Open file here.
434
4352022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
436
437 * libgcov-util.c (read_gcda_file): Prepend new info object to global
438 list.
439 (ftw_read_file): Remove list append here.
440
4412022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
442
443 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
444 (ftw_read_file): Duplicate filename for read_gcda_file().
445
4462022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
447
448 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
449 (__gcov_filename_to_gcfn): Declare and document.
450 * libgcov-driver.c (dump_string): New.
451 (__gcov_filename_to_gcfn): Likewise.
452 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
453
4542022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
455
456 * libgcov.h (gcov_seek): Remove define and declaration.
457
4582022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
459
460 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
461 parameter. Pass mode to gcov_open() calls.
462 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
463 gcov_exit_open_gcda_file() call.
464 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
465 calls.
466 (__gcov_dump_one): Open file for reading and writing.
467
4682022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
469
470 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
471 reading and writing.
472 * libgcov-util.c (read_gcda_file): Open file for reading.
473 * libgcov.h (gcov_open): Delete declaration.
474
4752022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
476
477 * libgcov-util.c (gcov_profile_merge): Return the list of merged
478 profiles. Accept empty target and source profile lists.
479
405eda0d
GA
4802022-04-08 Sergei Trofimovich <siarheit@google.com>
481
482 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
483
9f774626
GA
4842022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
485 Lulu Cheng <chenglulu@loongson.cn>
486
487 * configure: Regenerate file.
488
4892022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
490 Lulu Cheng <chenglulu@loongson.cn>
491
492 * config/loongarch/crtfastmath.c: New file.
493 * config/loongarch/linux-unwind.h: Like wise.
494 * config/loongarch/sfp-machine.h: Like wise.
495 * config/loongarch/t-crtstuff: Like wise.
496 * config/loongarch/t-loongarch: Like wise.
497 * config/loongarch/t-loongarch64: Like wise.
498 * config/loongarch/t-softfp-tf: Like wise.
499 * config.host: Add LoongArch tuples.
500 * configure.ac: Add LoongArch support.
501
d7f00da1
GA
5022022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
503
504 PR libgcc/86224
505 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
506 for __mulsi3.
507 (__udivsi3_internal, __divsi3_internal): Similarly.
508 (__umodsi3, __modsi3): Use the internal function names.
509
8cc4f9cd
GA
5102022-03-09 Tobias Burnus <tobias@codesourcery.com>
511
512 PR target/102215
513 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
514 a line up to non-arg-dependent value first.
515 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
516 __atomic_compare_exchange_{1,2}.
517
8d96e14c
GA
5182022-03-04 Iain Sandoe <iain@sandoe.co.uk>
519
520 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
521 * config/t-darwin-ehs: Add dependency on unwind.h.
522
756a6185
GA
5232022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
524
525 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
526 with 0 instead of NULL.
527
5282022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
529
530 PR target/104656
531 * configure.ac: --disable-gcov if targetting bpf-*.
532 * configure: Regenerate.
533
e0b8716f
GA
5342022-01-25 Florian Weimer <fweimer@redhat.com>
535
536 PR libgcc/104207
537 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
538
fc829782
GA
5392022-01-17 Martin Liska <mliska@suse.cz>
540
541 * libgcov-driver.c: Rename .c names to .cc.
542
9248ee41
GA
5432022-01-15 David <gccbugzilla@limegreensocks.com>
544
545 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
546 Remove inlined version, Windows 95 is no longer relevant.
547 * config/i386/gthr-win32.h
548 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
549
617db51d
GA
5502022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
551
552 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
553 DWARF_ALT_FRAME_RETURN_COLUMN macro.
554
7d11b64b
GA
5552022-01-04 Florian Weimer <fweimer@redhat.com>
556
557 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
558 if available.
559
5da23a13
GA
5602022-01-02 John David Anglin <danglin@gcc.gnu.org>
561
562 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
563 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
564 return is not equal _ASM_EFAULT.
565 (__kernel_cmpxchg2): Likewise.
566
2554e2da
GA
5672021-12-17 Iain Sandoe <iain@sandoe.co.uk>
568
569 * config.host: Add shim declaration header to powerpc*-darwin builds.
570 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
571 file.
572 * config/t-darwin-ehs: Add dependencies to the shared unwinder
573 objects.
574 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
575 the shared EH lib. Add all-multi to the dependencies for the
576 libgcc_s.1.dylib redirections.
577
7f1239cb
GA
5782021-12-13 Olivier Hainque <hainque@adacore.com>
579
580 * config.host (powerpc*-*-vxworks7*): Remove
581 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
582
5832021-12-13 Olivier Hainque <hainque@adacore.com>
584
585 * config.host (*vxworks*): Remove special case for
586 arm on the use of vxcrtstuff.
587
5882021-12-13 Fred Konrad <konrad@adacore.com>
589 Olivier Hainque <hainque@adacore.com>
590
591 * config/t-vxcrtstuffS: New Makefile fragment.
592 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
593 functions for INITFINI_ARRAY support in shared libs and guard
594 the definition of eh table registration functions on conditions
595 indicating they are needed.
596
5972021-12-13 Olivier Hainque <hainque@adacore.com>
598
599 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
600 ahead of the other files in tmake_files.
601 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
602 overriding it.
603
6042021-12-13 Olivier Hainque <hainque@adacore.com>
605
606 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
607 both VxWorks7 and earlier.
608 * config/t-vxworks7: Remove.
609 * config.host: Remove special case for vxworks7.
610
e8decbe7
GA
6112021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
612
613 * config/vxcrtstuff.c: Make constructor and destructor
614 functions static when possible.
615
6162021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
617
618 * config/vxcrtstuff.c: Remove constructor/destructor
619 declarations.
620
0bceef16
GA
6212021-12-10 Iain Sandoe <iain@sandoe.co.uk>
622
623 * config/t-darwin: Add libgcc_tm.h to the dependencies
624 for darwin10-unwind-find-enc-func.
625
6262021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
627
628 * config/rs6000/t-vxworks: New file.
629 * config.host (powerpc*-*-vxworks*): Use it instead of
630 t-ppccomm.
631
4b4839e3
GA
6322021-12-09 Fred Konrad <konrad@adacore.com>
633
634 * config.host (powerpc*-wrs-vxworks7*): Fix path to
635 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
636
6372021-12-09 Olivier Hainque <hainque@adacore.com>
638 Rasmus Villemoes <rv@rasmusvillemoes.dk>
639
640 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
641 $(LIBGCC2_INCLUDES).
642 * config/t-vxworks7: Likewise.
643
641ff219
GA
6442021-12-08 Iain Sandoe <iain@sandoe.co.uk>
645
646 * config.host (*-*-darwin*): Add logic to build a shared
647 unwinder library for Darwin8-10.
648 * config/i386/t-darwin: Build legacy libgcc_s.1.
649 * config/rs6000/t-darwin: Likewise.
650 * config/t-darwin: Reorganise the EH fragments to place
651 them for inclusion in a shared EH lib.
652 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
653 the supporting pieces (all FAT libs).
654 * config/t-darwin-noeh: Removed.
655 * config/darwin-unwind.ver: New file.
656 * config/rs6000/t-darwin-ehs: New file.
657 * config/t-darwin-ehs: New file.
658
3a580f96
GA
6592021-12-06 Nelson Chu <nelson.chu@sifive.com>
660
661 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
662 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
663 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
664 HIDDEN_DEF.
665
c177e806
GA
6662021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
667
668 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
669 ssize_t and vfork after including auto-host.h.
670
87cd82c8
GA
6712021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
672
673 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
674 crtend.o to extra_parts.
675
d62c8c74
GA
6762021-11-27 John David Anglin <danglin@gcc.gnu.org>
677
678 * config/pa/t-dimode (lib2difuncs): Fix typo.
679
091ccc06
GA
6802021-11-25 Florian Weimer <fweimer@redhat.com>
681
682 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
683 Remove func, ret.
684 (find_fde_tail): New function. Split from
685 _Unwind_IteratePhdrCallback. Move the result initialization
686 from _Unwind_Find_FDE.
687 (_Unwind_Find_FDE): Updated to call find_fde_tail.
688
06be28f6
GA
6892021-11-22 Florian Weimer <fweimer@redhat.com>
690
691 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
692 (struct unw_eh_callback_data): Make dbase member conditional.
693 (unw_eh_callback_data_dbase): New function.
694 (base_from_cb_data): Simplify for the non-dbase case.
695 (_Unwind_IteratePhdrCallback): Adjust.
696 (_Unwind_Find_FDE): Likewise.
697
6982021-11-22 Florian Weimer <fweimer@redhat.com>
699
700 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
701 tbase member.
702 (base_from_cb_data): Adjust.
703 (_Unwind_IteratePhdrCallback): Likewise.
704 (_Unwind_Find_FDE): Likewise.
705
9c077398
GA
7062021-11-19 Iain Sandoe <iain@sandoe.co.uk>
707
708 * config.host: Add weak emutls crt to the extra_parts.
709 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
710 workaround.
711 * config/libgcc-libsystem.ver: Add exclude list for the system-
712 provided unwinder.
713 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
714 * config/i386/libgcc-darwin.10.4.ver: Removed.
715 * config/i386/libgcc-darwin.10.5.ver: Removed.
716 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
717 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
718 * config/t-darwin-noeh: New file.
719
7202021-11-19 Iain Sandoe <iain@sandoe.co.uk>
721
722 * config/t-darwin: Build weak-defined emutls objects.
723 * emutls.c (__emutls_get_address): Add optional attributes.
724 (__emutls_register_common): Likewise.
725 (EMUTLS_ATTR): New.
726
b39265d4
GA
7272021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
728
729 PR libgcc/103044
730 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
731 called with a null argument or at the end of the backtrace and return.
732 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
733
8d36a0d2
GA
7342021-11-10 Jakub Jelinek <jakub@redhat.com>
735
736 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
737 formatting fix.
738
851dff04
GA
7392021-11-05 Iain Sandoe <iain@sandoe.co.uk>
740
741 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
742 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
743
7442021-11-05 John David Anglin <danglin@gcc.gnu.org>
745
746 PR libgomp/96661
747 * config.host (hppa*64*-*-linux*): Revise tmake_file.
748 (hppa*64*-*-hpux11*): Likewise.
749 * config/pa/sfp-exceptions.c: New.
750 * config/pa/sfp-machine.h: New.
751 * config/pa/t-dimode: New.
752 * config/pa/t-softfp-sfdftf: New.
753
04a2cf3f
GA
7542021-10-27 John David Anglin <danglin@gcc.gnu.org>
755
756 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
757 tmake_file.
758 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
759 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
760 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
761 * config/pa/t-linux64 (LIB1ASMSRC): New define.
762 (LIB1ASMFUNCS): Revise.
763 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
764
c2bd5d8a
GA
7652021-10-22 Stafford Horne <shorne@gmail.com>
766
767 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
768 Change to 0.
769
5d5885c9
GA
7702021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
771
772 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
773 outside of get_regs() in order to use it in another function, this
774 is done twice: for __powerpc64__ and for !__powerpc64__.
775 (struct trace_arg): New struct.
776 (struct layout): New struct.
777 (ppc_backchain_fallback): New function.
778 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
779 state and call MD_BACKCHAIN_FALLBACK.
780
9eb28a0f
GA
7812021-10-13 Martin Liska <mliska@suse.cz>
782
783 PR gcov-profile/90364
784 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
785 checksums.
786 (write_one_data): Write also checksum.
787 * libgcov-util.c (read_gcda_file): Read also checksum field.
788 * libgcov.h (struct gcov_info): Add new field.
789
ce6eec39
GA
7902021-10-08 Ian Lance Taylor <iant@golang.org>
791
792 * config/i386/morestack.S: Use .init_array for constructor if
793 available.
794 * config/rs6000/morestack.S: Likewise.
795 * config/s390/morestack.S: Likewise.
796
154fd089
GA
7972021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
798
799 PR target/101104
800 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
801 Use more correct values for native IBM 128-bit.
802
fd133479
GA
8032021-09-28 Iain Sandoe <iain@sandoe.co.uk>
804
805 * config/i386/libgcc-darwin.ver: Add Symbols for
806 __cpu_model, __cpu_indicator_init.
807
e4777439
GA
8082021-09-22 Iain Sandoe <iain@sandoe.co.uk>
809
810 * config/i386/sfp-machine.h: Guard Mach-O-specific code
811 using __APPLE__.
812
34fac9ef
GA
8132021-09-19 Iain Sandoe <iain@sandoe.co.uk>
814
815 * config/t-slibgcc-darwin: Delete unused code.
816
8172021-09-19 Iain Sandoe <iain@sandoe.co.uk>
818
819 * config/i386/t-darwin: Add in a vers file for X86-specific
820 symbols.
821 * config/t-darwin: Add the generic symbol maps here...
822 * config/t-slibgcc-darwin: ... removing from here.
823 * config/i386/libgcc-darwin.ver: New file.
824
8252021-09-19 Iain Sandoe <iain@sandoe.co.uk>
826
827 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
828 and __mulhc3.
829
8302021-09-19 Iain Sandoe <iain@sandoe.co.uk>
831
832 * config.host: Use convenience library for Darwin10
833 unwinder shim.
834 * config/t-darwin: Build Darwin10 unwinder shim as a
835 convenience library.
836
07985c47
GA
8372021-09-13 Andrew Pinski <apinski@marvell.com>
838
839 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
840 * config/m32r/libgcc-glibc.ver: Removed.
841 * config/m32r/t-linux: Removed.
842
b6db7cd4
GA
8432021-09-08 liuhongt <hongtao.liu@intel.com>
844
845 * config/i386/t-softfp: Compile __{mul,div}hc3 into
846 libgcc_s.so.1.
847
8482021-09-08 Jakub Jelinek <jakub@redhat.com>
849 Iain Sandoe <iain@sandoe.co.uk>
850
851 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
852 and export *hf* and *hc* functions at GCC_12.0.0.
853
9f99555f
GA
8542021-09-06 liuhongt <hongtao.liu@intel.com>
855
856 * Makefile.in: Adjust to support specific CFLAGS for each
857 libgcc source file.
858 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
859 related libgcc source files.
860 * config/i386/t-softfp: Ditto.
861 * config/i386/_divhc3.c: New file.
862 * config/i386/_mulhc3.c: New file.
863
7b739540
GA
8642021-09-03 Iain Sandoe <iain@sandoe.co.uk>
865
866 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
867 alias_DFtype, alias_TFtype): New.
868 (ALIAS_SELECTOR): New.
869 (strong_alias): Use __typeof and a _Generic selector to
870 provide the type to the synthesized function.
871
9f7c2bad
GA
8722021-09-02 liuhongt <hongtao.liu@intel.com>
873
874 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
875 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
876 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
877 * config/i386/t-softfp: Add hf soft-fp.
878 * config.host: Add i386/64/t-softfp.
879 * config/i386/64/t-softfp: New file.
880
8812021-09-02 liuhongt <hongtao.liu@intel.com>
882
883 * soft-fp/eqhf2.c: New file.
884 * soft-fp/extendhfdf2.c: New file.
885 * soft-fp/extendhfsf2.c: New file.
886 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
887 * soft-fp/truncdfhf2.c: New file
888 * soft-fp/truncsfhf2.c: New file
889
e11c6046
GA
8902021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
891
892 * unwind-arm-common.inc (abort): Remove.
893
6d51ee43
GA
8942021-08-31 Richard Sandiford <richard.sandiford@arm.com>
895
896 * config/aarch64/value-unwind.h: Add missing runtime exception
897 paragraph.
898 * config/frv/frv-abi.h: Likewise.
899 * config/i386/value-unwind.h: Likewise.
900 * config/pa/pa64-hpux-lib.h: Likewise.
901
ccc19145
GA
9022021-08-26 David Edelsohn <dje.gcc@gmail.com>
903
904 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
905 __gcc_qadd.
906 (__gcc_qadd): Call ldouble_qadd_internal.
907 (__gcc_qsub): Call ldouble_qadd_internal with second long double
908 argument negated.
909
9102021-08-26 Jonathan Yong <10walls@gmail.com>
911
912 * config/i386/cygming-crtend.c: Fix register_frame_ctor
913 and register_frame_dtor warnings.
914
05ace294
GA
9152021-08-24 Richard Earnshaw <rearnsha@arm.com>
916
917 PR target/102035
918 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
919 Add vlldm erratum work-around.
920
4be4fa4e
GA
9212021-08-21 John David Anglin <danglin@gcc.gnu.org>
922
923 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
924
9d1d9fc8
GA
9252021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
926
927 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
928 (gcov_type_unsigned): Likewise.
929
7dd8f198
GA
9302021-08-14 Stafford Horne <shorne@gmail.com>
931
932 PR target/99783
933 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
934 * config/or1k/t-crtstuff: New file.
935
f92f4778
GA
9362021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
937
938 * libgcov-driver.c (#include <stdint.h>): Remove.
939 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
940
9412021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
942
943 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
944 * gcov.h (gcov_info): Declare.
945 (__gcov_info_to_gdca): Likewise.
946 * libgcov.h (gcov_write_counter): Remove.
947 (gcov_write_tag_length): Likewise.
948 * libgcov-driver.c (#include <stdint.h>): New.
949 (#include <string.h>): Remove.
950 (NEED_L_GCOV): Conditionally define.
951 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
952 (are_all_counters_zero): New.
953 (gcov_dump_handler): Likewise.
954 (gcov_allocate_handler): Likewise.
955 (dump_unsigned): Likewise.
956 (dump_counter): Likewise.
957 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
958 Use dump_unsigned() and dump_counter().
959 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
960 dump_unsigned(), dump_counter(), and are_all_counters_zero().
961 (__gcov_info_to_gcda): New.
962
8ebf4fb5
GA
9632021-08-05 Jakub Jelinek <jakub@redhat.com>
964
965 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
966 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
967 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
968 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
969
2697f832
GA
9702021-08-04 Jakub Jelinek <jakub@redhat.com>
971
972 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
973
d97d71a1
GA
9742021-07-15 Alan Modra <amodra@gmail.com>
975
976 * config/rs6000/morestack.S (R2_SAVE): Define.
977 (__morestack): Save and restore r2. Set up r2 for called
978 functions.
979
bea7c16a
GA
9802021-07-01 H.J. Lu <hjl.tools@gmail.com>
981
982 * soft-fp/extendhfxf2.c: New file.
983 * soft-fp/truncxfhf2.c: Likewise.
984
6bc18203
GA
9852021-06-29 Julian Brown <julian@codesourcery.com>
986
987 * config/gcn/lib2-bswapti2.c: New file.
988 * config/gcn/lib2-divmod-di.c: New file.
989 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
990 typedefs.
991 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
992 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
993 lib2-bswapti2.c.
994
9952021-06-29 Julian Brown <julian@codesourcery.com>
996
997 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
998 return types to USItype.
999 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1000
fcf617f0
GA
10012021-06-23 Kewen Lin <linkw@linux.ibm.com>
1002
1003 * configure: Regenerate.
1004 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1005 typos among the name, CFLAGS and the test.
1006 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1007 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1008 Remove.
1009 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1010 macro FLOAT128_HW_INSNS_ISA3_1.
1011 (FP128_3_1_CFLAGS_HW): Fix option typo.
1012 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1013 FLOAT128_HW_INSNS_ISA3_1.
1014 (__floattikf_resolve): Likewise.
1015 (__floatuntikf_resolve): Likewise.
1016 (__fixkfti_resolve): Likewise.
1017 (__fixunskfti_resolve): Likewise.
1018 (__floattikf): Likewise.
1019 (__floatuntikf): Likewise.
1020 (__fixkfti): Likewise.
1021 (__fixunskfti): Likewise.
1022
f16f65f8
GA
10232021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1024
1025 PR target/99939
1026 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1027 macro.
1028 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1029 on passing -mcmse option.
1030
43c35d0d
GA
10312021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1032
1033 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1034 _ARCH_PPC64 .
1035
4f625f47
GA
10362021-06-09 Carl Love <cel@us.ibm.com>
1037
1038 * config.host: Add if test and set for
1039 libgcc_cv_powerpc_3_1_float128_hw.
1040 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1041 Change calls of __fixkfti to __fixkfti_sw.
1042 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1043 Change calls of __fixunskfti to __fixunskfti_sw.
1044 * config/rs6000/float128-p10.c (__floattikf_hw,
1045 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1046 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1047 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1048 __fixunskfti_resolve): Add resolve functions.
1049 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1050 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1051 __fixtfti, __fixunstfti): Add editor commands to change names.
1052 * config/rs6000/float128-sed-hw (__floattitf,
1053 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1054 change names.
1055 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1056 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1057 * config/rs6000/quad-float128.h (__floattikf_sw,
1058 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1059 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1060 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1061 * config/rs6000/t-float128 (floattikf, floatuntikf,
1062 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1063 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1064 file names to fp128_ppc_funcs.
1065 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1066 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1067 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1068 * config/rs6000/t-float128-p10-hw: New file.
1069 * configure: Update script for isa 3.1 128-bit float support.
1070 * configure.ac: Add check for 128-bit float hardware support.
1071 * config/rs6000/fixkfti-sw.c: New file.
1072 * config/rs6000/fixunskfti-sw.c: New file.
1073 * config/rs6000/floattikf-sw.c: New file.
1074 * config/rs6000/floatuntikf-sw.c: New file.
1075
f9af11c7
GA
10762021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1077
1078 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1079
4d0385df 10802021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
1081
1082 * libgcov-driver.c: Fix GNU coding style.
1083
aa891c56
GA
10842021-05-10 Martin Liska <mliska@suse.cz>
1085
1086 * libgcov-driver.c (gcov_version): Use different name that does
1087 not clash with newly introduced macro.
1088
3c8e539d
GA
10892021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1090
1091 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1092 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1093 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1094
e4ff4ffb
GA
10952021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1096
1097 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1098 Define.
1099 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1100 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1101 Define.
1102 (__divkc3): Improve complex divide.
1103
05ec629f
GA
11042021-04-23 Michael Meissner <meissner@linux.ibm.com>
1105
1106 PR target/98952
1107 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1108 trampoline size comparison in 32-bit by reversing test and
1109 combining load immediate with compare.
1110 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1111 in 32-bit by reversing test and combining load immediate with
1112 compare.
1113
b1da9916
GA
11142021-04-05 Florian Weimer <fweimer@redhat.com>
1115 Michael Meissner <meissner@linux.ibm.com>
1116
1117 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1118 point functions for $(decimal_float) only.
1119
c0756c4e
GA
11202021-04-03 Jakub Jelinek <jakub@redhat.com>
1121
1122 PR target/97653
1123 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1124 $(objext) instead of $(object). Use _floatunditf instead of
1125 _floatunsditf. Add tf <-> ti conversion objects.
1126 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1127
65374af2
GA
11282021-03-29 Michael Meissner <meissner@linux.ibm.com>
1129
1130 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1131 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1132 (fp128_decstr_objs): Delete.
1133 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1134 _Float128 to a Decimal type. Call __strtoieee128 to do
1135 conversions from a Decimal type to _Float128.
1136 * config/rs6000/_sprintfkf.c: Delete file.
1137 * config/rs6000/_sprintfkf.h: Delete file.
1138 * config/rs6000/_strtokf.c: Delete file.
1139 * config/rs6000/_strtokf.h: Delete file.
1140
bf1f3168
GA
11412021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1142
1143 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1144 to __BYTE_ORDER__.
1145
0ad6a2e2
GA
11462021-03-06 Jakub Jelinek <jakub@redhat.com>
1147
1148 PR gcov-profile/99406
1149 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1150 defined, define these macros if not defined already.
1151
67f10d28
GA
11522021-03-04 Martin Liska <mliska@suse.cz>
1153
1154 PR gcov-profile/99105
1155 * libgcov-driver.c (write_top_counters): Rename to ...
1156 (write_topn_counters): ... this.
1157 (write_one_data): Pre-allocate buffer for number of items
1158 in the corresponding linked lists.
1159 * libgcov.h (malloc_mmap): New function.
1160 (allocate_gcov_kvp): Use it.
1161
11622021-03-04 Martin Liska <mliska@suse.cz>
1163
1164 PR gcov-profile/99385
1165 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1166
f3641ac7
GA
11672021-03-03 Martin Liska <mliska@suse.cz>
1168
1169 PR gcov-profile/97461
1170 * config.in: Regenerate.
1171 * configure: Likewise.
1172 * configure.ac: Check sys/mman.h header file
1173 * libgcov-driver.c (struct gcov_kvp): Remove static
1174 pre-allocated pool and use a dynamic one.
1175 * libgcov.h (MMAP_CHUNK_SIZE): New.
1176 (gcov_counter_add): Use mmap to allocate pool for struct
1177 gcov_kvp.
1178
d97a92dc
GA
11792021-03-02 Michael Meissner <meissner@linux.ibm.com>
1180
1181 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1182 the function.
1183 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1184
4028d01a
GA
11852021-02-24 Jakub Jelinek <jakub@redhat.com>
1186
1187 PR libgcc/99236
1188 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1189 negation of m in unsigned type.
1190
11912021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1192 Hau Hsu <hsuhau617@gmail.com>
1193
1194 PR target/99157
1195 * config/arm/t-arm: Fix cmse support detection.
1196
2f5765cf
GA
11972021-02-22 Michael Meissner <meissner@linux.ibm.com>
1198
1199 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1200
12012021-02-22 Michael Meissner <meissner@linux.ibm.com>
1202
1203 * config/rs6000/_dd_to_kf.c: New file.
1204 * config/rs6000/_kf_to_dd.c: New file.
1205 * config/rs6000/_kf_to_sd.c: New file.
1206 * config/rs6000/_kf_to_td.c: New file.
1207 * config/rs6000/_sd_to_kf.c: New file.
1208 * config/rs6000/_sprintfkf.c: New file.
1209 * config/rs6000/_sprintfkf.h: New file.
1210 * config/rs6000/_strtokf.h: New file.
1211 * config/rs6000/_strtokf.c: New file.
1212 * config/rs6000/_td_to_kf.c: New file.
1213 * config/rs6000/quad-float128.h: Add new declarations.
1214 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1215 (fp128_decstr_funcs): New macro.
1216 (ibm128_dec_funcs): New macro.
1217 (fp128_ppc_funcs): Add the new conversions.
1218 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1219 compiled with -mabi=ieeelongdouble.
1220 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1221 compiled with -mabi=ibmlongdouble.
1222 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1223 compiled with -mabi=ieeelongdouble.
1224 (FP128_CFLAGS_DECIMAL): New macro.
1225 (IBM128_CFLAGS_DECIMAL): New macro.
1226 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1227 (BFP_TO_DFP): Add PowerPC _Float128 support.
1228 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1229 IEEE 128-bit floating point.
1230 (DFP_TO_BFP): Add PowerPC _Float128 support.
1231 (BFP_TO_DFP): Add PowerPC _Float128 support.
1232 (BFP_SPRINTF): New macro.
1233
aa69f0a8
GA
12342021-01-27 Jakub Jelinek <jakub@redhat.com>
1235
1236 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1237 * config/i386/savms64f.h: Likewise.
1238 * config/i386/resms64.h: Likewise.
1239 * config/i386/resms64f.h: Likewise.
1240 * config/i386/resms64x.h: Likewise.
1241 * config/i386/resms64fx.h: Likewise.
1242
e62bb7f0
GA
12432021-01-26 Martin Liska <mliska@suse.cz>
1244
1245 PR gcov-profile/98739
1246 * libgcov.h (gcov_topn_add_value): Do not train when
1247 we have a merged profile with a negative number of total
1248 value.
1249
161e4c08
GA
12502021-01-25 Martin Liska <mliska@suse.cz>
1251
1252 PR gcov-profile/98739
1253 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1254 ends with a dropped counter.
1255 * libgcov.h (gcov_topn_add_value): Add return value.
1256
be0851b8
GA
12572021-01-13 Stafford Horne <shorne@gmail.com>
1258
1259 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1260 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1261 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1262 FP_EX_ALL): New constant macros.
1263 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1264 FP_HANDLE_EXCEPTIONS): New macros.
1265 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1266
12672021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1268
1269 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1270 posix siginfo case to struct handler_args. Detect between legacy
1271 and siginfo from the second parameter, which is a small sigcode in
1272 the legacy case, and a pointer in the siginfo case.
1273
108beb75
GA
12742020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1275
1276 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1277 functions.
1278 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1279 _bswapdi2.
1280
f6e8e279
GA
12812020-12-08 Ian Lance Taylor <iant@golang.org>
1282
1283 * generic-morestack-thread.c (free_segments): Block signals during
1284 thread exit.
1285
b8dd0ef7
GA
12862020-12-03 Michael Meissner <meissner@linux.ibm.com>
1287
1288 PR libgcc/97543
1289 PR libgcc/97643
1290 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1291 (IBM128_SHARED_OBJS): New make variable.
1292 (IBM128_OBJS): New make variable. Set all objects to use the
1293 explicit IBM format, and disable gnu attributes.
1294 (IBM128_CFLAGS): New make variable.
1295 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1296 modules.
1297
12982020-12-03 Alexandre Oliva <oliva@adacore.com>
1299
1300 * config/t-vxworks (LIB2ADD): Drop.
1301 * config/t-vxworks7 (LIB2ADD): Likewise.
1302 * config/vxcache.c: Remove.
1303
94358e47
GA
13042020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1305
1306 * libgcc2.c (bswapsi2): Make constants unsigned.
1307
360258da
GA
13082020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1309
1310 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1311 builtin_add_overflow.
1312 (absvsi2, absvDI2): Likewise.
1313
82e5048e
GA
13142020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1315
1316 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1317 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1318
25bb75f8
GA
13192020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1320
1321 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1322 (if MUL_32): Use mult64_hw for __muldi3.
1323 (if MUL_F5): Use mult64_hw for __muldi3.
1324 * config/msp430/lib2mul.c (__muldi3): New.
1325 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1326
29c5d9ce
GA
13272020-11-17 Alan Modra <amodra@gmail.com>
1328
1329 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1330 (LIB2_SIDITI_CONV_FUNCS): Define.
1331 * config/rs6000/ppc64-fp.c: Delete file.
1332
cba30651
GA
13332020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1334
1335 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1336 hwmult library functions.
1337
bb622641
GA
13382020-11-10 Jeff Law <law@redhat.com>
1339
1340 * libgcc2.c: Fix whitespace issues in most recent change.
1341
13422020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1343
1344 * libgcc2.c (__addvSI3): Use overflow builtins.
1345 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1346 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1347 (__negvsi2, __negvDI2): Likewise.
1348 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1349 generated code.
1350 * libgcc2.h (__ucmpdi2): Adjust prototype.
1351
fd2325ea
GA
13522020-11-03 Pat Bernardi <bernardi@adacore.com>
1353 Olivier Hainque <hainque@adacore.com>
1354
1355 * config.host (aarch64-vxworks7*, tmake_file): Add
1356 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1357
13582020-11-03 Martin Storsjö <martin@martin.st>
1359
1360 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1361 before calling the callback.
1362
88ce3d5f
GA
13632020-10-30 Olivier Hainque <hainque@adacore.com>
1364 Douglas Rupp <rupp@adacore.com>
1365 Pat Bernardi <bernardi@adacore.com>
1366
1367 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1368 to apply to VxWorks 7 as well.
1369
4f0606fe
GA
13702020-10-29 Olivier Hainque <hainque@adacore.com>
1371
1372 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1373 controlling the definition of VX_ENTER_TLS_DTOR and
1374 VX_LEAVE_TLS_DTOR based on a version major check.
1375
13762020-10-29 Olivier Hainque <hainque@adacore.com>
1377
1378 * config/gthr-vxworks-thread.c: Fix name of macro used
1379 to condition the inclusion of an actual implementation.
1380
89bb01e7
GA
13812020-10-27 Martin Liska <mliska@suse.cz>
1382
1383 PR gcov-profile/97461
1384 * libgcov.h (gcov_counter_add): Use first static counters
1385 as it should help to have malloc wrappers set up.
1386
efe71fcc
GA
13872020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1388
1389 * config/gthr-vxworks-thread.c: #include gthr.h before
1390 testing the guard defined there.
1391 * config/gthr-vxworks-cond.c: Likewise.
1392
56ddd5e2
GA
13932020-10-21 Douglas Rupp <rupp@adacore.com>
1394 Olivier Hainque <hainque@adacore.com>
1395
1396 * config.host (powerpc*-wrs-vxworks7*): New case.
1397 * configure.ac: Handle powerpc*-*-vxworks7* as
1398 powerpc*-*-linux* for ppc-fp_type.
1399 * configure: Regenerate.
1400
56e4eee9
GA
14012020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1402
1403 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1404 section on VxWorks >= 6.
1405 * config/gthr-vxworks-thread.c: Condition the entire
1406 implementation on __GTHREAD_CXX0X.
1407
14082020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1409
1410 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1411 section on VxWorks >= 6.
1412 * config/gthr-vxworks-cond.c: Condition the entire
1413 implementation on __GTHREAD_HAS_COND.
1414
14152020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1416
1417 * config/gthr-vxworks.c: #include <taskLib.h>.
1418
14192020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1420
1421 * config/gthr-vxworks.h: Rewrite remaining occurrence
1422 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1423
14242020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1425 Olivier Hainque <hainque@adacore.com>
1426
1427 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1428 except on VxWorks 6.
1429
14302020-10-16 Olivier Hainque <hainque@adacore.com>
1431
1432 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1433
b2698c21
GA
14342020-10-14 Alexandre Oliva <oliva@adacore.com>
1435
1436 * config/gthr-vxworks-thread.c: Include stdlib.h.
1437 (tls_delete_hook): Prototype it.
1438 (__gthread_cond_signal): Return early if no waiters. Consume
1439 signal in case the semaphore got full. Use semInfoGet instead
1440 of kernel-mode-only semInfo.
1441 (__gthread_cond_timedwait): Use semExchange. Always take the
1442 mutex again before returning.
1443 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1444
14452020-10-14 Olivier Hainque <hainque@adacore.com>
1446
1447 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1448 $(MULTISUBDIR) to the -I path for fixed headers, as we
1449 arrange to have different sets of such headers for different
1450 multilibs when they are activated.
1451 * config/t-vxworks7: Likewise.
1452
14532020-10-14 Olivier Hainque <hainque@adacore.com>
1454
1455 * config/t-vxworks: Add include-fixed to include search
1456 paths for libgcc on VxWorks.
1457 * config/t-vxworks7: Likewise.
1458
c74a0e82
GA
14592020-10-09 H.J. Lu <hjl.tools@gmail.com>
1460
1461 PR target/97148
1462 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1463 instead of <cetintrin.h>.
1464
6c2675fa
GA
14652020-10-01 Alan Modra <amodra@gmail.com>
1466
1467 * config/rs6000/morestack.S,
1468 * config/rs6000/tramp.S: Support __PCREL__ code.
1469
14702020-10-01 Alan Modra <amodra@gmail.com>
1471
1472 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1473
93bca37c
GA
14742020-09-29 Maciej W. Rozycki <macro@wdc.com>
1475
1476 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1477 variable.
1478
e84761c6
GA
14792020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1480
1481 * config/aarch64/libgcc-softfp.ver: New file.
1482 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1483
4383c595
GA
14842020-09-27 Clement Chigot <clement.chigot@atos.net>
1485
1486 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1487
521d2711
GA
14882020-09-22 Sergei Trofimovich <siarheit@google.com>
1489
1490 PR gcov-profile/96913
1491 * libgcov-driver.c (write_one_data): Avoid function pointer
1492 comparison in TOP streaming decision.
1493
2aad20c0
GA
14942020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1495 Christophe Lyon <christophe.lyon@linaro.org>
1496
1497 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1498 qualifier.
1499 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1500 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1501 missing prototypes.
1502
15032020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1504
1505 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1506 unused variable warning.
1507
ecde1b0a
GA
15082020-09-16 Jojo R <jiejie_rong@c-sky.com>
1509
1510 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1511
80f86e78
GA
15122020-09-09 Tom de Vries <tdevries@suse.de>
1513
1514 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1515 Wbuiltin-declaration-mismatch.
1516
57ea0894
GA
15172020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1518
1519 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1520 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1521 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1522
b3cb5606
GA
15232020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1524
1525 * config/nvptx/atomic.c: New.
1526 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1527
6a1ad710
GA
15282020-08-03 Ian Lance Taylor <iant@golang.org>
1529
1530 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1531
15322020-08-03 Jakub Jelinek <jakub@redhat.com>
1533
1534 PR target/96402
1535 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1536 of x(tmp0), x(tmp1) in STXP arguments.
1537
48cc2e46
GA
15382020-07-31 Maciej W. Rozycki <macro@wdc.com>
1539
1540 * config/riscv/save-restore.S [__riscv_xlen == 64]
1541 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1542 (__riscv_save_2): Replace negative immediates used for the final
1543 stack pointer adjustment with positive ones, right-shifted by 4.
1544
15452020-07-31 Martin Liska <mliska@suse.cz>
1546
1547 * libgcov-driver.c: Add __gcov_kvp_pool
1548 and __gcov_kvp_pool_index variables.
1549 * libgcov.h (allocate_gcov_kvp): New.
1550 (gcov_topn_add_value): Use it.
1551
53256ee3
GA
15522020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1553
1554 * config/aarch64/lse.S: Add PAC property note.
1555
9bb403dc
GA
15562020-07-23 Martin Liska <mliska@suse.cz>
1557
1558 PR gcov-profile/96035
1559 * libgcov-driver-system.c: Create gcov folders with 0777
1560 so that it respects a system umask.
1561
8ca07a30
GA
15622020-07-14 David Edelsohn <dje.gcc@gmail.com>
1563
1564 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1565
ea69fcf9
GA
15662020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1567
1568 PR target/94891
1569 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1570 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1571 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1572 (MD_DEMANGLE_RETURN_ADDR): This.
1573 (aarch64_post_extract_frame_addr): Rename to ...
1574 (aarch64_demangle_return_addr): This.
1575 (aarch64_post_frob_eh_handler_addr): Remove.
1576 * unwind-dw2.c (uw_update_context): Demangle return address.
1577 (uw_frob_return_addr): Remove.
1578
3f8ca9cb
GA
15792020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1580
1581 PR target/96001
1582 * config/aarch64/lse.S: Add BTI marking and related definitions,
1583 and add BTI c to function entries.
1584
15852020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1586
1587 * config/aarch64/lse.S: Add stack note.
1588
b5f24739
GA
15892020-07-02 Martin Liska <mliska@suse.cz>
1590
1591 PR gcov-profile/95348
1592 * libgcov-driver.c (merge_one_data): Merge only profiles
1593 that are not of non-zero type.
1594 (write_one_data): Write counters only if there's one non-zero
1595 value.
1596 * libgcov-util.c (tag_function): Change signature from unsigned
1597 to int.
1598 (tag_blocks): Likewise.
1599 (tag_arcs): Likewise.
1600 (tag_counters): Likewise.
1601 (tag_summary): Likewise.
1602 (tag_lines): Read only if COUNTERS is non-zero.
1603 (read_gcda_file): Handle negative length for COUNTERS type.
1604
d61ffe12
GA
16052020-06-25 Martin Liska <mliska@suse.cz>
1606
1607 * libgcov-driver.c (merge_summary): Remove function as its name
1608 is misleading and doing something different.
1609 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1610 in gcov-tool.
1611 * libgcov-util.c (curr_object_summary): Remove.
1612 (read_gcda_file): Remove unused curr_object_summary.
1613 (gcov_merge): Merge summaries.
1614 * libgcov.h: Add summary argument for gcov_info struct.
1615
2e546c26
GA
16162020-06-24 H.J. Lu <hjl.tools@gmail.com>
1617
1618 PR target/95259
1619 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1620 "common/config/i386/i386-cpuinfo.h" and
1621 "common/config/i386/cpuinfo.h".
1622 (__cpu_features2): Changed to array.
1623 (get_amd_cpu): Removed.
1624 (get_intel_cpu): Likewise.
1625 (get_available_features): Likewise.
1626 (__cpu_indicator_init): Call cpu_indicator_init.
1627 * config/i386/cpuinfo.h: Removed.
1628
4543acc8
GA
16292020-06-23 David Edelsohn <dje.gcc@gmail.com>
1630
1631 * Makefile.in: Remove uses of empty.mk. Use -include.
1632 * config/avr/t-avr: Use -include.
1633 * empty.mk: Delete.
1634
f86e11a2
GA
16352020-06-21 David Edelsohn <dje.gcc@gmail.com>
1636
1637 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1638 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1639 and 64 bit with -maix64.
1640 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1641 Build and install AIX-style FAT libraries.
1642
aff95ee7
GA
16432020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1644
1645 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1646 'i386/gnu-unwind.h'
1647 * config/i386/gnu-unwind.h: New file.
1648
16492020-06-17 Martin Liska <mliska@suse.cz>
1650
1651 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1652 (merge_wrapper): Add both counts and use them properly.
1653 (topn_to_memory_representation): New function.
1654 (gcov_merge): Covert on disk representation to in memory
1655 representation.
1656 * libgcov.h: Remove const operator.
1657
6fb94d67
GA
16582020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1659
1660 * configure: Regenerate.
1661 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1662 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1663
b952c2cf
GA
16642020-06-09 Martin Liska <mliska@suse.cz>
1665
1666 PR gcov-profile/95494
1667 * libgcov-driver.c (write_top_counters): Cast first to
1668 intptr_t as sizeof(*) != sizeof(gcov_type).
1669 * libgcov.h (gcov_counter_set_if_null): Remove.
1670 (gcov_topn_add_value): Cast first to intptr_t and update
1671 linked list directly.
1672
16732020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1674
1675 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1676 with uw_install_context_1.
1677
3add3425
GA
16782020-06-04 Andreas Schwab <schwab@suse.de>
1679
1680 PR target/59230
1681 PR libfortran/59227
1682 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1683 soft-fp/divtf3.c.
1684 (LIB2ADD): Add config/ia64/divtf3.c.
1685 * config/ia64/divtf3.c: New file.
1686
9a5b7438
GA
16872020-06-03 Martin Liska <mliska@suse.cz>
1688
1689 PR gcov-profile/95480
1690 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1691 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1692 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1693 (gcov_counter_set_if_null): Likewise.
1694
a9312a79
GA
16952020-06-02 Jim Wilson <jimw@sifive.com>
1696
1697 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1698 to bgtz.
1699
17002020-06-02 Martin Liska <mliska@suse.cz>
1701
1702 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1703 of xmalloc.
1704
17052020-06-02 Martin Liska <mliska@suse.cz>
1706
1707 * libgcov-driver.c (prune_topn_counter): Remove.
1708 (prune_counters): Likewise.
1709 (merge_one_data): Special case TOP N counters
1710 as they have variable length.
1711 (write_top_counters): New.
1712 (write_one_data): Special case TOP N.
1713 (dump_one_gcov): Do not prune TOP N counters.
1714 * libgcov-merge.c (merge_topn_values_set): Remove.
1715 (__gcov_merge_topn): Use gcov_topn_add_value.
1716 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1717 Likewise here.
1718 * libgcov.h (gcov_counter_add): New.
1719 (gcov_counter_set_if_null): Likewise.
1720 (gcov_topn_add_value): New.
1721
4a9aa9de
GA
17222020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1723
1724 * config/i386/sfp-exceptions.c (struct fenv):
1725 Add __attribute__ ((gcc_struct)).
1726
885ef72f
GA
17272020-05-29 H.J. Lu <hjl.tools@gmail.com>
1728
1729 PR bootstrap/95413
1730 * configure: Regenerated.
1731
53ffb43a
GA
17322020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1733
1734 PR gcov-profile/95332
1735 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1736 * libgcov.h (gcov_magic): Disable GCC poison.
1737
5855bdfa
L
17382020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1739
1740 PR target/95212
1741 * config/i386/cpuinfo.h (processor_features): Move
1742 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1743
35b98036
L
17442020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1745
1746 PR target/91695
1747 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1748 check.
1749
45395445
L
17502020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1751
1752 PR target/95212
1753 PR target/95220
1754 * config/i386/cpuinfo.c (get_available_features): Fix
1755 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1756 * config/i386/cpuinfo.h (processor_features): Add
1757 FEATURE_AVX512VP2INTERSECT.
1758
4c1a5d8b
L
17592020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1760
1761 PR bootstrap/95147
1762 * configure: Regenerated.
1763
8d286dd1
L
17642020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1765
1766 * configure: Regenerated.
1767
39748a89
HPN
17682020-05-09 Hans-Peter Nilsson <hp@axis.com>
1769
1770 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1771 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1772
d3a1459c
UB
17732020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1774
1775 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1776 (__math_force_eval_div): New define.
1777 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1778 generic division to generate INVALID, DIVZERO and INEXACT
1779 exceptions.
1780
12667785
KT
17812020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1782
1783 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1784 instead of getauxval.
1785 (AT_HWCAP): Define.
1786 (HWCAP_ATOMICS): Define.
1787 Guard detection on __gnu_linux__.
1788
ef836167
MM
17892020-05-05 Michael Meissner <meissner@linux.ibm.com>
1790
1791 * config.host: Delete changes meant for a private branch.
1792 * config/rs6000/t-float128: Likewise.
1793 * configure.ac: Likewise.
1794 * configure: Likewise.
1795
811b7636
ML
17962020-05-05 Martin Liska <mliska@suse.cz>
1797
1798 PR gcov-profile/93623
1799 * Makefile.in: Remove __gcov_flush.
1800 * gcov.h (__gcov_flush): Remove.
1801 * libgcov-interface.c (__gcov_flush): Remove.
1802 (init_mx): Use renamed mutex.
1803 (__gcov_lock): Likewise.
1804 (__gcov_unlock): Likewise.
1805 (__gcov_fork): Likewise.
1806 (__gcov_flush): Remove.
1807
c0532db4
ML
18082020-05-05 Martin Liska <mliska@suse.cz>
1809
1810 PR gcov-profile/93623
1811 * libgcov-interface.c (__gcov_fork): Do not flush
1812 and reset only in child process.
1813 (__gcov_execl): Dump counters only and reset them
1814 only if exec* fails.
1815 (__gcov_execlp): Likewise.
1816 (__gcov_execle): Likewise.
1817 (__gcov_execv): Likewise.
1818 (__gcov_execvp): Likewise.
1819 (__gcov_execve): Likewise.
1820
d39f7dc8
ML
18212020-05-05 Martin Liska <mliska@suse.cz>
1822
1823 PR gcov-profile/93623
1824 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1825 * libgcov-interface.c (ALIAS_void_fn): Remove.
1826 (__gcov_lock): New.
1827 (__gcov_unlock): New.
1828 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1829 (__gcov_reset): Likewise.
1830 (__gcov_dump): Likewise.
1831 * libgcov.h (__gcov_lock): New declaration.
1832 (__gcov_unlock): Likewise.
1833
afb9b710
UB
18342020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1835
1836 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 1837 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
1838 generic division to generate INVALID and DIVZERO exceptions.
1839
66711279
SH
18402020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1841
1842 * config/rs6000/crtresfpr.S: Use .machine ppc.
1843 * config/rs6000/crtresxfpr.S: Likewise.
1844 * config/rs6000/crtsavfpr.S: Likewise.
1845
fb22faf4
SN
18462020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1847
1848 PR target/94514
1849 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1850 Update context->flags accroding to the frame state.
1851
df73e584
UB
18522020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1853
1854 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1855 Remove unneeded assignments to volatile memory.
1856
5b2f76e3
JJ
18572020-04-15 Jakub Jelinek <jakub@redhat.com>
1858
1859 PR target/93053
1860 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1861 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1862 is not defined, use just .arch armv8-a.
1863 (B, M, N, OPN): Define.
1864 (COMMENT): New .macro.
1865 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1866 defined. Otherwise, move the operands right after the glue? and
1867 comment out operands where the macros are used.
1868 * configure: Regenerated.
1869 * config.in: Regenerated.
1870
50c78532
ILT
18712020-04-07 Ian Lance Taylor <iant@golang.org>
1872
1873 PR libgcc/94513
1874 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1875 syscall instead.
1876
458ca332
ILT
18772020-04-04 Ian Lance Taylor <iant@golang.org>
1878
1879 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1880
710d54ed
ILT
18812020-04-03 Ian Lance Taylor <iant@golang.org>
1882
1883 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1884 than mmap/munmap, to avoid hooks.
1885
b749b5ec
JJ
18862020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1887
1888 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1889 (TPFRA_OFFSET): Macros removed.
1890 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1891 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1892 (PG3_SKIPPING_OFFSET): New macros.
1893 (__isPATrange): Use cinfc_fast for the check.
1894 (__isSkipResetAddr): New function.
1895 (s390_fallback_frame_state): Check for skip trace addresses. Use
1896 either ICST_CRET or ICST_SRET to calculate return address
1897 location.
1898 (__tpf_eh_return): Handle skip trace addresses.
1899
a9cd2d78
RE
19002020-03-26 Richard Earnshaw <rearnsha@arm.com>
1901
1902 PR target/94220
1903 * config/arm/lib1funcs.asm (COND): Use a single definition for
1904 unified syntax.
1905 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1906 (aeabi_idivmod): Likewise.
1907 (divsi3_skip_div0_test): Likewise.
1908
f582ca0f
MI
19092020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1910
1911 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1912
068fe0a9
AK
19132020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1914
1915 * config.host: Include the new makefile fragment.
1916 * config/s390/t-tpf: New file.
1917
6b9ce2b4
RE
19182020-03-03 Richard Earnshaw <rearnsha@arm.com>
1919
1920 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1921 syntax.
1922 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1923 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1924 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1925 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1926 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1927 syntax.
1928 (divsi3, modsi3): Likewise.
1929 (clzdi2, ctzsi2): Likewise.
1930 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1931 unified syntax.
1932 (UNWIND_WRAPPER): Likewise.
1933
8dd5d8f3
ML
19342020-03-02 Martin Liska <mliska@suse.cz>
1935
1936 * libgcov-interface.c: Remove duplicate
1937 declaration of __gcov_flush_mx.
1938
ea0b1252
ML
19392020-02-18 Martin Liska <mliska@suse.cz>
1940
1941 PR ipa/92924
1942 * libgcov-merge.c (merge_topn_values_set): Record
1943 when a TOP N counter becomes invalid. When merging
1944 remove a smallest value if the space is needed.
1945
02ce382c
SL
19462020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1947
1948 PR libstdc++/79193
1949 PR libstdc++/88999
1950
1951 * configure: Regenerated.
1952
7214fce3
JL
19532020-02-10 Jeff Law <law@redhat.com>
1954
1955 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1956 sections.
1957 * config/frv/frvend.c: Similarly.
1958
cf0f07ef
L
19592020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1960
1961 PR libgcc/85334
1962 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1963 New.
1964
5602b48b
CL
19652020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1966
1967 PR target/93615
1968 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1969 _Unwind_gnu_Find_got.
1970 * unwind-pe.h: Likewise.
1971
811a475e
JJ
19722020-02-07 Jakub Jelinek <jakub@redhat.com>
1973
1974 PR target/93615
1975 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1976 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1977 trailing :s in asm. Formatting fixes.
1978 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1979
2d33dcfe
SL
19802020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1981
1982 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1983
1984 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1985 * config/nios2-elf-lib.h: New.
1986 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1987 code for finding GOT base for nios2.
1988
3ae37f92
ML
19892020-01-27 Martin Liska <mliska@suse.cz>
1990
1991 PR gcov-profile/93403
1992 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1993 Call __gcov_indirect_call_profiler_body.
1994 (__gcov_indirect_call_profiler_body): New.
1995 (__gcov_indirect_call_profiler_v4_atomic): New.
1996 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1997 New declaration.
1998
2744b8b2
CZ
19992020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2000
2001 * config/arc/crti.S: Add RF16 object attribute.
2002 * config/arc/crtn.S: Likewise.
2003 * config/arc/crttls.S: Likewise.
2004 * config/arc/lib1funcs.S: Likewise.
2005 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2006 * config/arc/lib2funcs.c: New file.
2007 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2008
e8e66971
MR
20092020-01-24 Maciej W. Rozycki <macro@wdc.com>
2010
2011 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2012 * configure.ac: Handle `--with-toolexeclibdir='.
2013 * configure: Regenerate.
2014
54b3d52c
DM
20152020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2016
2017 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2018
a3c1e1f2
DM
20192020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2020
2021 * config/mips/gnustack.h: New file.
2022 * config/mips/crti.S: Include gnustack.h.
2023 * config/mips/crtn.S: Likewise.
2024 * config/mips/mips16.S: Likewise.
2025 * config/mips/vr4120-div.S: Likewise.
2026
e9ee848d
ML
20272020-01-23 Martin Liska <mliska@suse.cz>
2028
2029 * libgcov-driver.c (prune_topn_counter): Remove
2030 check for -1 as we only prune run-time counters
2031 that do not generate an invalid state.
2032
7491c17f
ML
20332020-01-22 Martin Liska <mliska@suse.cz>
2034
2035 PR tree-optimization/92924
2036 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2037 try to find an existing value, then find an empty slot
2038 if not found.
2039
5f32f9cf
ML
20402020-01-22 Martin Liska <mliska@suse.cz>
2041
2042 PR tree-optimization/92924
2043 * libgcov-driver.c (prune_topn_counter): New.
2044 (prune_counters): Likewise.
2045 (dump_one_gcov): Prune a run-time counter.
2046 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2047 For a known value, add GCOV_TOPN_VALUES to value.
2048 Otherwise, decrement all counters by one.
2049
463f6499
HPN
20502020-01-18 Hans-Peter Nilsson <hp@axis.com>
2051
2052 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2053
84479e3a
JDA
20542020-01-18 John David Anglin <danglin@gcc.gnu.org>
2055
2056 PR libgcc/92988
2057 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2058 DEFAULT_USE_CXA_ATEXIT is true.
2059
e953433f 20602020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 2061 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
2062
2063 * config/arm/t-arm: Check return value of gcc rather than lack of
2064 output.
2065
03e87724
GJL
20662020-01-14 Georg-Johann Lay <avr@gjlay.de>
2067
2068 * config/avr/lib1funcs.S (skip): Simplify.
2069
af9bd920
KCY
20702020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2071
2072 * config/gcn/atomic.c: Remove include of stdint.h.
2073 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2074 __UINTPTR_TYPE__.
2075
d6491d15
KCY
20762020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2077
2078 * config/gcn/atomic.c: New.
2079 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2080
f30dd607
GJL
20812020-01-08 Georg-Johann Lay <avr@gjlay.de>
2082
2083 Implement 64-bit double functions.
2084
2085 PR target/92055
2086 * config.host (tmake_file) [target=avr]: Add t-libf7,
2087 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2088 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2089 depending on sizeof (double) or sizeof (long double).
2090 * config/avr/libf7: New folder.
2091
5205a445
OH
20922020-01-05 Olivier Hainque <hainque@adacore.com>
2093
2094 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2095 by IN_LIBGCC2.
2096
8d9254fc
JJ
20972020-01-01 Jakub Jelinek <jakub@redhat.com>
2098
2099 Update copyright years.
2100
abb6c3ee
OH
21012019-12-30 Olivier Hainque <hainque@adacore.com>
2102
2103 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2104 * config/gthr-vxworks-tls.c: Likewise.
2105
d7f5094a
OH
21062019-12-30 Olivier Hainque <hainque@adacore.com>
2107
2108 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2109 standard zero-initializer syntax.
2110
49cfaa2a
OH
21112019-12-30 Olivier Hainque <hainque@adacore.com>
2112
2113 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2114 reference to the internal VX_GET_TLS_DATA interface.
2115
89b9a554
OH
21162019-12-30 Olivier Hainque <hainque@adacore.com>
2117
2118 * config/vxcrtstuff.c: Fix incorrect spelling of
2119 USE_INITFINI_ARRAY in guard.
2120
e8aa9f55
JL
21212019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2122
2123 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2124 Override default "extra_parts" variable.
2125 * configure: Regenerate.
2126 * configure.ac: Disable TM clone registry by default for
2127 msp430-elfbare.
2128
a9046e98
JL
21292019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2130
2131 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2132 "extra_parts".
2133 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2134
34a53788
JL
21352019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2136
2137 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2138 true.
2139
21a098f4
JL
21402019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2141
2142 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2143 defined instead of its value.
2144
ad8b7783
JL
21452019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2146
2147 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2148 if it will have contents.
2149
08d7ff78
GJL
21502019-12-05 Georg-Johann Lay <avr@gjlay.de>
2151
2152 PR target/92055
2153 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2154
3d3a96a2
SN
21552019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2156
34b4d99d 2157 PR libgcc/91737
3d3a96a2
SN
2158 * config.host: Add t-gthr-noweak on *-*-musl*.
2159 * config/t-gthr-noweak: New file.
2160
632b5e3d
JDA
21612019-11-17 John David Anglin <danglin@gcc.gnu.org>
2162
2163 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2164 volatile void *. Remove trap check.
2165 (__kernel_cmpxchg2): Likewise.
2166 (FETCH_AND_OP_2): Adjust operand types.
2167 (OP_AND_FETCH_2): Likewise.
2168 (FETCH_AND_OP_WORD): Likewise.
2169 (OP_AND_FETCH_WORD): Likewise.
2170 (COMPARE_AND_SWAP_2): Likewise.
2171 (__sync_val_compare_and_swap_4): Likewise.
2172 (__sync_bool_compare_and_swap_4): Likewise.
2173 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2174 (__sync_lock_test_and_set_4): Likewise.
2175 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2176 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2177 for release.
2178 (__sync_lock_release_8): Remove.
2179
838fd641
SN
21802019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2181
2182 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2183 of __sigset_t.
2184
27204060
JL
21852019-11-14 Jerome Lambourg <lambourg@adacore.com>
2186 Doug Rupp <rupp@adacore.com>
2187 Olivier Hainque <hainque@adacore.com>
2188
2189 * config.host: Collapse the arm-vxworks entries into
2190 a single arm-wrs-vxworks7* one.
2191 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2192 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2193 kernel modules, to be overriden by libstdc++ when we link with
2194 it. Rely on externally provided __exidx_start/end.
2195
3004f893
DR
21962019-11-14 Doug Rupp <rupp@adacore.com>
2197 Olivier Hainque <hainque@adacore.com>
2198
2199 * config.host: Handle aarch64*-wrs-vxworks7*.
2200
36e5f4d4
OH
22012019-11-12 Olivier Hainque <hainque@adacore.com>
2202
2203 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2204 sources except the cxx0x support to LIB2ADDEH. We don't support
2205 cxx0x on AE/653.
2206 * config/t-vxworksae: New file.
2207 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2208 Makefile fragment files at their expected position in the tmake_file
2209 list, in accordance with what is done for other VxWorks variants.
2210
806dd047
CG
22112019-11-12 Corentin Gay <gay@adacore.com>
2212 Jerome Lambourg <lambourg@adacore.com>
2213 Olivier Hainque <hainque@adacore.com>
2214
2215 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2216 sources to LIB2ADDEH.
2217 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2218 * config/t-vxworks7: Likewise.
2219
2220 * config.host: Append a block at the end of the file to add the
2221 t-gthr files to the tmake_file list for VxWorks after everything
2222 else.
2223
2224 * config/vxlib.c: Rename as gthr-vxworks.c.
2225 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2226
2227 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2228 API and a basic error checking API, both internal. Simplify the
2229 __gthread_once_t type definition and initializers. Add sections
2230 for condition variables support and for the C++0x thread support,
2231 conditioned against Vx653 for the latter.
2232
2233 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2234 implementation, leveraging the TAS internal API.
2235 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2236 API, leveraging the general availability of TLS services in VxWorks7
2237 post SR6xxx.
2238 (__gthread_setspecific, __gthread_setspecific): Use it.
2239 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2240 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2241 support based on VxWorks primitives.
2242 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2243 based on VxWorks primitives.
2244
78e49fb1
JL
22452019-11-06 Jerome Lambourg <lambourg@adacore.com>
2246 Olivier Hainque <hainque@adacore.com>
2247
2248 * config/vxcrtstuff.c: New file.
2249 * config/t-vxcrtstuff: New Makefile fragment.
2250 * config.host: Append t-vxcrtstuff to the tmake_file list
2251 on all VxWorks ports using dwarf for table based EH.
2252
29f3def3
GJL
22532019-11-07 Georg-Johann Lay <avr@gjlay.de>
2254
2255 Support 64-bit double and 64-bit long double configurations.
2256
2257 PR target/92055
2258 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2259 long double is a 32-bit type.
2260 * config/avr/t-avrlibc: Copy double64 and long-double64
2261 multilib(s) from the vanilla one.
2262 * config/avr/t-copy-libgcc: New Makefile snip.
2263
62ec242e
JL
22642019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2265
2266 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2267 the target output object format is not ELF.
2268 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2269
da5c1bbe
OE
22702019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2271
2272 PR libgcc/78804
2273 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2274 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2275 FLOAT_BIT_ORDER_MISMATCH.
2276 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2277
8dc56a22
JW
22782019-11-01 Jim Wilson <jimw@sifive.com>
2279
2280 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2281
91c64455
JL
22822019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2283
2284 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2285 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2286 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2287 Define symbols for 32-bit and f5series hardware multiply
2288 register addresses.
2289 Replace hard-coded register addresses with symbols.
2290 Fix "_mspabi*" typo.
2291 Fix whitespace.
2292 * config/msp430/lib2mul.c: Add comment.
2293
85093ac6
JDA
22942019-10-15 John David Anglin <danglin@gcc.gnu.org>
2295
2296 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2297 unsigned int. Adjust callers.
2298 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2299 unsigned int *. Load relocation offset before function pointer.
2300 Add barrier to ensure ordering.
2301
1aea083d
JDA
23022019-10-12 John David Anglin <danglin@gcc.gnu.org>
2303
2304 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2305 Load PIC register after branch target. Fix white space.
2306 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2307 implementations. Load PIC register after branch target. Don't
2308 clobber function pointer when it points to function descriptor.
2309 Use nullification instead of branch in LINUX implementation.
2310
c49af82c
JDA
23112019-10-03 John David Anglin <danglin@gcc.gnu.org>
2312
2313 * config/pa/fptr.c: Disable -Warray-bounds warning.
2314
88a51d68
RH
23152019-09-25 Richard Henderson <richard.henderson@linaro.org>
2316
9e46fd07
RH
2317 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2318 not the ubuntu modified 2.69.
2319
58d169ba
RH
2320 PR target/91833
2321 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2322 initialization if !HAVE_SYS_AUXV_H.
2323 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2324 * config.in, configure: Rebuild.
2325
88a51d68
RH
2326 PR target/91834
2327 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2328 overlap the inputs.
2329
761e6bb9
SZ
23302019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2331
2332 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2333 CTR_EL0.IDC and CTR_EL0.DIC.
2334
76c93295
CL
23352019-09-20 Christophe Lyon <christophe.lyon@st.com>
2336
2337 Revert:
2338 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2339 Mickaël Guêné <mickael.guene@st.com>
2340
2341 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2342 architecture.
2343
33befddc
RH
23442019-09-19 Richard Henderson <richard.henderson@linaro.org>
2345
2346 * config/aarch64/lse-init.c: New file.
2347 * config/aarch64/lse.S: New file.
2348 * config/aarch64/t-lse: New file.
2349 * config.host: Add t-lse to all aarch64 tuples.
2350
ae1152e5
CL
23512019-09-10 Christophe Lyon <christophe.lyon@st.com>
2352 Mickaël Guêné <mickael.guene@st.com>
2353
84818dbb
CL
2354 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2355 architecture.
2356
23572019-09-10 Christophe Lyon <christophe.lyon@st.com>
2358 Mickaël Guêné <mickael.guene@st.com>
2359
ae1152e5
CL
2360 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2361 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2362 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2363 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2364 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2365 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2366 (__gnu_personality_sigframe_fdpic): New.
2367 (get_eit_entry): Add FDPIC signal frame support.
2368
5d727a4b
CL
23692019-09-10 Christophe Lyon <christophe.lyon@st.com>
2370 Mickaël Guêné <mickael.guene@st.com>
2371
2372 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2373 (__kernel_dmb): Likewise.
2374 (__fdpic_cmpxchg): New function.
2375 (__fdpic_dmb): New function.
2376 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2377 (gnu_Unwind_Find_got): New function.
2378 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2379 * unwind-arm-common.inc (UCB_PR_GOT): New.
2380 (funcdesc_t): New struct.
2381 (get_eit_entry): Add FDPIC support.
2382 (unwind_phase2): Likewise.
2383 (unwind_phase2_forced): Likewise.
2384 (__gnu_Unwind_RaiseException): Likewise.
2385 (__gnu_Unwind_Resume): Likewise.
2386 (__gnu_Unwind_Backtrace): Likewise.
2387 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2388
b1e21e5a 23892019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 2390 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 2391
11189793
CL
2392 * libgcc/crtstuff.c: Add support for FDPIC.
2393
23942019-09-10 Christophe Lyon <christophe.lyon@st.com>
2395
2396 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2397
91dfef96
JM
23982019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2399
2400 * config.host: Set cpu_type for bpf-*-* targets.
2401 * config/bpf/t-bpf: Likewise.
2402 * config/bpf/crtn.S: Likewise.
2403 * config/bpf/crti.S: New file.
2404
2f4d8951
JW
24052019-09-06 Jim Wilson <jimw@sifive.com>
2406
2407 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2408 (riscv*-*-freebsd*): Likewise.
2409
2f2aeda9
UW
24102019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2411
2412 * config.host: Remove references to spu.
2413 * config/spu/: Remove directory.
2414
d16017da
JL
24152019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2416
2417 PR target/91306
2418 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2419 element type, instead of "sizeof" the element type.
2420 (__DTOR_LIST__): Likewise.
2421 (__TMC_LIST__): Likewise.
2422 (__do_global_dtors_aux_fini_array_entry): Likewise.
2423 (__frame_dummy_init_array_entry): Likewise.
2424 (__CTOR_END__): Likewise.
2425 (__DTOR_END__): Likweise.
2426 (__FRAME_END__): Likewise.
2427 (__TMC_END__): Likewise.
2428
a9fcfec3
HL
24292019-08-20 Lili Cui <lilicui@intel.com>
2430
2431 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2432 INTEL_COREI7_COOPERLAKE.
2433
428642b1
MT
24342019-07-31 Matt Thomas <matt@3am-software.com>
2435 Nick Hudson <nick@nthcliff.demon.co.uk>
2436 Matthew Green <mrg@eterna.com.au>
2437 Maya Rashish <coypu@sdf.org>
2438
2439 * config.host (hppa*-*-netbsd*): New case.
2440 * config/pa/t-netbsd: New file.
2441
f0efd925
JH
24422019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2443
2444 * config/arm/cmse.c (cmse_check_address_range): Add
2445 warn_unused_result attribute.
2446
a861990d
ML
24472019-07-22 Martin Liska <mliska@suse.cz>
2448
2449 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2450 * config/pa/t-stublib: Likewise.
2451
9c0dba7c
SH
24522019-07-22 Stafford Horne <shorne@gmail.com>
2453
2454 PR target/90362
2455 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2456 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2457 instructions are not available on every processor. Change a
2458 l.bnf to l.bf to fix logic issue.
2459
61afc8f8
IS
24602019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2461
2462 * config.host: Remove reference to t-darwin8.
2463
179c7ef5
IS
24642019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2465
2466 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2467 list.
2468 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2469 mmacosx-version-min for crts to run across all system versions.
2470 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2471 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2472 system versions >= 10.4.
2473
596341c7
ML
24742019-07-03 Martin Liska <mliska@suse.cz>
2475
2476 * Makefile.in: Use topn_values instead of one_value names.
2477 * libgcov-merge.c (__gcov_merge_single): Move to ...
2478 (__gcov_merge_topn): ... this.
2479 (merge_single_value_set): Move to ...
2480 (merge_topn_values_set): ... this.
2481 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2482 ...
2483 (__gcov_topn_values_profiler_body): ... this.
2484 (__gcov_one_value_profiler_v2): Move to ...
2485 (__gcov_topn_values_profiler): ... this.
2486 (__gcov_one_value_profiler_v2_atomic): Move to ...
2487 (__gcov_topn_values_profiler_atomic): ... this.
2488 (__gcov_indirect_call_profiler_v4): Remove.
2489 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2490 (__gcov_topn_counter_op): ... this.
2491 * libgcov.h (L_gcov_merge_single): Remove.
2492 (L_gcov_merge_topn): New.
2493 (__gcov_merge_single): Remove.
2494 (__gcov_merge_topn): New.
2495 (__gcov_one_value_profiler_v2): Move to ..
2496 (__gcov_topn_values_profiler): ... this.
2497 (__gcov_one_value_profiler_v2_atomic): Move to ...
2498 (__gcov_topn_values_profiler_atomic): ... this.
2499
1b309ca5
ML
25002019-07-03 Martin Liska <mliska@suse.cz>
2501
2502 * libgcov-merge.c (merge_single_value_set): Support N values.
2503 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2504
5a460280
ID
25052019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2506
2507 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2508 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2509 * configure.ac: Add --disable-tm-clone-registry option.
2510 * configure: Regenerate.
2511
45309d28
ML
25122019-06-27 Martin Liska <mliska@suse.cz>
2513
2514 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2515 dead assignments.
2516 * libgcov-util.c: Likewise.
2517
c2f7a665
ML
25182019-06-27 Martin Liska <mliska@suse.cz>
2519
2520 * libgcov-util.c (gcov_profile_merge): Release allocated
2521 memory.
2522 (calculate_overlap): Likewise.
2523
a8e55c61
IS
25242019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2525
2526 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2527 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2528 Build objects for the out of line save/restore register functions
2529 so that they can be used for any supported Darwin version.
2530 * config/t-darwin: Default the build Darwin version to Darwin8
2531 (MacOS 10.4).
2532
e5ce4cbc
ML
25332019-06-25 Martin Liska <mliska@suse.cz>
2534
2535 * libgcov-driver-system.c (replace_filename_variables): Do not
2536 call strlen with NULL argument.
2537
52a47d28
AS
25382019-06-25 Andrew Stubbs <ams@codesourcery.com>
2539
2540 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2541 * config/gcn/unwind-gcn.c: New file.
2542
76d46331
KCY
25432019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2544 Andrew Stubbs <ams@codesourcery.com>
2545
2546 * configure: Regenerate.
2547 * config/gcn/gthr-gcn.h: New.
2548
787783a0
TV
25492019-06-18 Tom de Vries <tdevries@suse.de>
2550
2551 * config/nvptx/crt0.c (__main): Declare.
2552
f32f7585
MG
25532019-06-17 Matthew Green <mrg@eterna.com.au>
2554 Maya Rashish <coypu@sdf.org>
2555
2556 * config.host (aarch64*-*-netbsd*): New case.
2557
0fcc78f7
JL
25582019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2559
2560 * config/msp430/slli.S (__mspabi_sllll): New library function for
2561 performing a logical left shift of a 64-bit value.
2562 * config/msp430/srai.S (__mspabi_srall): New library function for
2563 performing a arithmetic right shift of a 64-bit value.
2564 * config/msp430/srll.S (__mspabi_srlll): New library function for
2565 performing a logical right shift of a 64-bit value.
2566
b27c1082
MT
25672019-06-14 Matt Thomas <matt@3am-software.com>
2568 Matthew Green <mrg@eterna.com.au>
2569 Nick Hudson <skrll@netbsd.org>
2570 Maya Rashish <coypu@sdf.org>
2571
2572 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2573 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2574 functions to build.
2575 * config/arm/t-netbsd-eabi: New file.
2576
ae7deb4b
DD
25772019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2578
2579 * config.host: Add PRU target.
2580 * config/pru/asri.c: New file.
2581 * config/pru/eqd.c: New file.
2582 * config/pru/eqf.c: New file.
2583 * config/pru/ged.c: New file.
2584 * config/pru/gef.c: New file.
2585 * config/pru/gtd.c: New file.
2586 * config/pru/gtf.c: New file.
2587 * config/pru/led.c: New file.
2588 * config/pru/lef.c: New file.
2589 * config/pru/lib2bitcountHI.c: New file.
2590 * config/pru/lib2divHI.c: New file.
2591 * config/pru/lib2divQI.c: New file.
2592 * config/pru/lib2divSI.c: New file.
2593 * config/pru/libgcc-eabi.ver: New file.
2594 * config/pru/ltd.c: New file.
2595 * config/pru/ltf.c: New file.
2596 * config/pru/mpyll.S: New file.
2597 * config/pru/pru-abi.h: New file.
2598 * config/pru/pru-asm.h: New file.
2599 * config/pru/pru-divmod.h: New file.
2600 * config/pru/sfp-machine.h: New file.
2601 * config/pru/t-pru: New file.
2602
0d7b3e47
JJ
26032019-06-11 Jakub Jelinek <jakub@redhat.com>
2604
2605 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2606
54e2d83c
ML
26072019-06-10 Martin Liska <mliska@suse.cz>
2608
2609 PR bootstrap/90808
2610 * libgcov.h: Add ATTRIBUTE_UNUSED.
2611
92d41717
ML
26122019-06-10 Martin Liska <mliska@suse.cz>
2613
2614 * Makefile.in: Add __gcov_one_value_profiler_v2,
2615 __gcov_one_value_profiler_v2_atomic and
2616 __gcov_indirect_call_profiler_v4.
2617 * libgcov-merge.c (__gcov_merge_single): Change
2618 function signature.
2619 (merge_single_value_set): New.
2620 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2621 Update functionality.
2622 (__gcov_one_value_profiler): Remove.
2623 (__gcov_one_value_profiler_v2): ... this.
2624 (__gcov_one_value_profiler_atomic): Rename to ...
2625 (__gcov_one_value_profiler_v2_atomic): this.
2626 (__gcov_indirect_call_profiler_v3): Rename to ...
2627 (__gcov_indirect_call_profiler_v4): ... this.
2628 * libgcov.h (__gcov_one_value_profiler): Remove.
2629 (__gcov_one_value_profiler_atomic): Remove.
2630 (__gcov_one_value_profiler_v2_atomic): New.
2631 (__gcov_indirect_call_profiler_v3): Remove.
2632 (__gcov_one_value_profiler_v2): New.
2633 (__gcov_indirect_call_profiler_v4): New.
2634 (gcov_get_counter_ignore_scaling): New function.
2635
e37333ba
ML
26362019-06-07 Martin Liska <mliska@suse.cz>
2637
2638 * Makefile.in: Remove usage of
2639 _gcov_merge_icall_topn.
2640 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2641 (gcov_sort_icall_topn_counter): Likewise.
2642 (gcov_sort_topn_counter_arrays): Likewise.
2643 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2644 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2645 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2646 Likewise.
2647 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2648 (struct indirect_call_tuple): Remove.
2649 (__gcov_indirect_call_topn_profiler): Remove.
2650 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2651 * libgcov.h (gcov_sort_n_vals): Remove.
2652 (L_gcov_merge_icall_topn): Likewise.
2653 (__gcov_merge_icall_topn): Likewise.
2654 (__gcov_indirect_call_topn_profiler): Likewise.
2655
34a4a9c2
IS
26562019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2657
2658 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2659 altivec enabled.
2660
d1b2f85f
JL
26612019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2662
2663 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2664 section.
2665 (__mspabi_slli): Likewise.
2666 (__mspabi_slll_n): Likewise.
2667 (__mspabi_slll): Likewise.
2668 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2669 (__mspabi_srai): Likewise.
2670 (__mspabi_sral_n): Likewise.
2671 (__mspabi_sral): Likewise.
2672 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2673 (__mspabi_srli): Likewise.
2674 (__mspabi_srll_n): Likewise.
2675 (__mspabi_srll): Likewise.
2676
e69a13d1
YS
26772019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2678
2679 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2680 Add appropriate tm_file clause as well.
2681 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2682
b009eac1
JC
26832019-06-05 James Clarke <jrtc27@jrtc27.com>
2684
2685 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2686 rather than .data/.bss so it can be accessed via gp-relative
2687 addressing.
2688
781d39f2
DE
26892019-06-05 David Edelsohn <dje.gcc@gmail.com>
2690
2691 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2692 (CR2_REGNO): Rename to R_CR2.
2693 (XER_REGNO): Rename to R_XER.
2694 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2695 (VRSAVE_REGNO): Rename to R_VRSAVE.
2696 (VSCR_REGNO): R_VSCR.
2697
76aaa9cd
YS
26982019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2699
2700 * config.host (rx-*-linux*): Add new case.
2701 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2702
8fc16d72
ST
27032019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2704
2705 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2706 function.
2707 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2708 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2709 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2710 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2711 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2712 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2713 string.
2714 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2715 string.
2716 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2717
e54b1a92
RO
27182019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2719
2720 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2721 Remove Solaris 9 and 10 support.
2722 (sparc_is_sighandler): Likewise.
2723
abbb8307
JDA
27242019-05-26 John David Anglin <danglin@gcc.gnu.org>
2725
2726 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2727
2581344d
L
27282019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2729
2730 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2731 4_FP_W_TYPEs are used for IEEE quad precision.
2732 * soft-fp/extendhftf2.c: Likewise.
2733 * soft-fp/extendsftf2.c: Likewise.
2734 * soft-fp/extendxftf2.c: Likewise.
2735 * soft-fp/trunctfdf2.c: Likewise.
2736 * soft-fp/trunctfhf2.c: Likewise.
2737 * soft-fp/trunctfsf2.c: Likewise.
2738 * soft-fp/trunctfxf2.c: Likewise.
2739 * config/rs6000/ibm-ldouble.c: Likewise.
2740
ccd1242e
RO
27412019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2742
2743 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2744 *-*-solaris2*.
2745 * configure.ac: Likewise.
2746 * configure: Regenerate.
2747
2748 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2749 Solaris 10 and Solaris 11 < snv_125 handling.
2750
ef5eb79d
IS
27512019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2752
2753 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2754
4f0e90fa
HL
27552019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2756
2757 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2758 * config/i386/cpuinfo.h (enum processor_features): Add
2759 FEATURE_AVX512BF16.
2760
48528842
RR
27612019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2762 Bernd Edlinger <bernd.edlinger@hotmail.de>
2763 Jakub Jelinek <jakub@redhat.com>
2764
2765 PR target/89093
2766 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2767 * config/arm/unwind-arm.c: Likewise.
2768 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2769 attribute for ARM.
2770
887e182f
MC
27712019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2772
2773 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2774 (RT_SIGRETURN): Update.
2775 (nds32_fallback_frame_state): Update.
2776
a90b0cdd
MS
27772019-02-21 Martin Sebor <msebor@redhat.com>
2778
2779 * libgcc2.h (__clear_cache): Correct signature.
2780 * libgcc2.c (__clear_cache): Same.
2781
1ed28eda
UB
27822019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2783
2784 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2785 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2786
fe95aee9
UB
27872019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2788
2789 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2790 regno instead of index to DWARF_ZERO_REG.
2791
bf7988f1
EB
27922019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2793
2794 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2795 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2796
ba2c1ca8
UB
27972019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2798
2799 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2800 to HOST_LIBGCC2_CFLAGS.
2801
6395ba73
L
28022019-01-23 Joseph Myers <joseph@codesourcery.com>
2803
2804 PR libgcc/88931
ba2c1ca8 2805 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 2806
756721ba
ML
28072019-01-18 Martin Liska <mliska@suse.cz>
2808
2809 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2810 to ...
2811 (__gcov_indirect_call_profiler_v3): ... this.
2812 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2813 (__gcov_indirect_call_profiler_v3): Likewise.
2814 * Makefile.in: Bump function name.
2815
d273c40a
ML
28162019-01-18 Martin Liska <mliska@suse.cz>
2817
2818 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2819 (gcov_version): Use in gcov_error.
2820 (merge_one_data): Likewise.
2821 (dump_one_gcov): Likewise.
2822
be9d9fdb
ML
28232019-01-18 Martin Liska <mliska@suse.cz>
2824
2825 * libgcov-driver.c (gcov_version_string): New function.
2826 (gcov_version): Convert version integer into string.
2827
91d7b7fe
AS
28282019-01-17 Andrew Stubbs <ams@codesourcery.com>
2829 Kwok Cheung Yeung <kcy@codesourcery.com>
2830 Julian Brown <julian@codesourcery.com>
2831 Tom de Vries <tom@codesourcery.com>
2832
2833 * config.host: Recognize amdgcn*-*-amdhsa.
2834 * config/gcn/crt0.c: New file.
2835 * config/gcn/lib2-divmod-hi.c: New file.
2836 * config/gcn/lib2-divmod.c: New file.
2837 * config/gcn/lib2-gcn.h: New file.
2838 * config/gcn/sfp-machine.h: New file.
2839 * config/gcn/t-amdgcn: New file.
2840
67914693
SL
28412019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2842
2843 PR other/16615
2844
2845 * config/c6x/libunwind.S: Mechanically replace "can not" with
2846 "cannot".
2847 * config/tilepro/atomic.h: Likewise.
2848 * config/vxlib-tls.c: Likewise.
2849 * generic-morestack-thread.c: Likewise.
2850 * generic-morestack.c: Likewise.
2851 * mkmap-symver.awk: Likewise.
2852
a5544970
JJ
28532019-01-01 Jakub Jelinek <jakub@redhat.com>
2854
2855 Update copyright years.
2856
da77eace
L
28572018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2858
2859 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2860 to ignore -Waddress-of-packed-member.
2861
72e3a529
TP
28622018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2863
2864 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2865 parameter and corresponding code.
2866 (ARM_FUNC_START): Likewise in both definitions.
2867 Also update footer comment about condition that need to match with
2868 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2869 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2870 defined. Weakly define it in this case.
2871 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2872 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2873 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2874 comment to keep condition in sync with the one in
2875 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2876
5d54c798
WX
28772018-12-18 Wei Xiao <wei3.xiao@intel.com>
2878
2879 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2880 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2881
5a2580b6
RV
28822018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2883
2884 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2885 and .cfi_endproc directives for VxWorks targets.
2886
c0c5112b
PK
28872018-12-05 Paul Koning <ni1d@arrl.net>
2888
2889 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2890
1ea7ea18
AM
28912018-11-27 Alan Modra <amodra@gmail.com>
2892
2893 * config/rs6000/morestack.S (__stack_split_initialize),
2894 (__morestack_get_guard, __morestack_set_guard),
2895 (__morestack_make_guard): Provide CFI covering these functions.
2896 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2897
ff641ae1
XQ
28982018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2899
1ea7ea18 2900 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
2901 (sc_pt_regs_lr): Update for kernel.
2902 (sc_pt_regs_tls): Update for kernel.
2903
28209372
XQ
29042018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2905
2906 * config/csky/linux-unwind.h: Fix coding style.
2907
b2a71af6
XQ
29082018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2909
2910 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 2911 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
2912 instructions to adapt to changes in the kernel
2913
d929e137
SH
29142018-11-09 Stafford Horne <shorne@gmail.com>
2915 Richard Henderson <rth@twiddle.net>
2916
2917 * config.host: Add OpenRISC support.
2918 * config/or1k/*: New.
2919
222cfefa
KC
29202018-11-08 Kito Cheng <kito@andestech.com>
2921
2922 * soft-fp/adddf3.c: Update from glibc.
2923 * soft-fp/addsf3.c: Likewise.
2924 * soft-fp/addtf3.c: Likewise.
2925 * soft-fp/divdf3.c: Likewise.
2926 * soft-fp/divsf3.c: Likewise.
2927 * soft-fp/divtf3.c: Likewise.
2928 * soft-fp/double.h: Likewise.
2929 * soft-fp/eqdf2.c: Likewise.
2930 * soft-fp/eqsf2.c: Likewise.
2931 * soft-fp/eqtf2.c: Likewise.
2932 * soft-fp/extenddftf2.c: Likewise.
2933 * soft-fp/extended.h: Likewise.
2934 * soft-fp/extendhftf2.c: Likewise.
2935 * soft-fp/extendsfdf2.c: Likewise.
2936 * soft-fp/extendsftf2.c: Likewise.
2937 * soft-fp/extendxftf2.c: Likewise.
2938 * soft-fp/fixdfdi.c: Likewise.
2939 * soft-fp/fixdfsi.c: Likewise.
2940 * soft-fp/fixdfti.c: Likewise.
2941 * soft-fp/fixhfti.c: Likewise.
2942 * soft-fp/fixsfdi.c: Likewise.
2943 * soft-fp/fixsfsi.c: Likewise.
2944 * soft-fp/fixsfti.c: Likewise.
2945 * soft-fp/fixtfdi.c: Likewise.
2946 * soft-fp/fixtfsi.c: Likewise.
2947 * soft-fp/fixtfti.c: Likewise.
2948 * soft-fp/fixunsdfdi.c: Likewise.
2949 * soft-fp/fixunsdfsi.c: Likewise.
2950 * soft-fp/fixunsdfti.c: Likewise.
2951 * soft-fp/fixunshfti.c: Likewise.
2952 * soft-fp/fixunssfdi.c: Likewise.
2953 * soft-fp/fixunssfsi.c: Likewise.
2954 * soft-fp/fixunssfti.c: Likewise.
2955 * soft-fp/fixunstfdi.c: Likewise.
2956 * soft-fp/fixunstfsi.c: Likewise.
2957 * soft-fp/fixunstfti.c: Likewise.
2958 * soft-fp/floatdidf.c: Likewise.
2959 * soft-fp/floatdisf.c: Likewise.
2960 * soft-fp/floatditf.c: Likewise.
2961 * soft-fp/floatsidf.c: Likewise.
2962 * soft-fp/floatsisf.c: Likewise.
2963 * soft-fp/floatsitf.c: Likewise.
2964 * soft-fp/floattidf.c: Likewise.
2965 * soft-fp/floattihf.c: Likewise.
2966 * soft-fp/floattisf.c: Likewise.
2967 * soft-fp/floattitf.c: Likewise.
2968 * soft-fp/floatundidf.c: Likewise.
2969 * soft-fp/floatundisf.c: Likewise.
2970 * soft-fp/floatunditf.c: Likewise.
2971 * soft-fp/floatunsidf.c: Likewise.
2972 * soft-fp/floatunsisf.c: Likewise.
2973 * soft-fp/floatunsitf.c: Likewise.
2974 * soft-fp/floatuntidf.c: Likewise.
2975 * soft-fp/floatuntihf.c: Likewise.
2976 * soft-fp/floatuntisf.c: Likewise.
2977 * soft-fp/floatuntitf.c: Likewise.
2978 * soft-fp/gedf2.c: Likewise.
2979 * soft-fp/gesf2.c: Likewise.
2980 * soft-fp/getf2.c: Likewise.
2981 * soft-fp/half.h: Likewise.
2982 * soft-fp/ledf2.c: Likewise.
2983 * soft-fp/lesf2.c: Likewise.
2984 * soft-fp/letf2.c: Likewise.
2985 * soft-fp/muldf3.c: Likewise.
2986 * soft-fp/mulsf3.c: Likewise.
2987 * soft-fp/multf3.c: Likewise.
2988 * soft-fp/negdf2.c: Likewise.
2989 * soft-fp/negsf2.c: Likewise.
2990 * soft-fp/negtf2.c: Likewise.
2991 * soft-fp/op-1.h: Likewise.
2992 * soft-fp/op-2.h: Likewise.
2993 * soft-fp/op-4.h: Likewise.
2994 * soft-fp/op-8.h: Likewise.
2995 * soft-fp/op-common.h: Likewise.
2996 * soft-fp/quad.h: Likewise.
2997 * soft-fp/single.h: Likewise.
2998 * soft-fp/soft-fp.h: Likewise.
2999 * soft-fp/subdf3.c: Likewise.
3000 * soft-fp/subsf3.c: Likewise.
3001 * soft-fp/subtf3.c: Likewise.
3002 * soft-fp/truncdfsf2.c: Likewise.
3003 * soft-fp/trunctfdf2.c: Likewise.
3004 * soft-fp/trunctfhf2.c: Likewise.
3005 * soft-fp/trunctfsf2.c: Likewise.
3006 * soft-fp/trunctfxf2.c: Likewise.
3007 * soft-fp/unorddf2.c: Likewise.
3008 * soft-fp/unordsf2.c: Likewise.
3009 * soft-fp/unordtf2.c: Likewise.
3010
2901f42f
VK
30112018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3012
3013 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3014 * config/i386/cpuinfo.h (processor_types): Add znver2.
3015
4310ca66
PK
30162018-11-01 Paul Koning <ni1d@arrl.net>
3017
3018 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3019 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3020
22e05272
JM
30212018-10-31 Joseph Myers <joseph@codesourcery.com>
3022
3023 PR bootstrap/82856
3024 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3025 * configure: Regenerate.
3026
8180cde0
CZ
30272018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3028
3029 * config/arc/lib1funcs.S (_muldi3): New function.
3030 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3031
be7b071e
RV
30322018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3033
3034 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3035
3239d726
ML
30362018-10-25 Martin Liska <mliska@suse.cz>
3037
3038 PR other/87735
3039 * libgcov-profiler.c: Revert.
3040
19b55958
ML
30412018-10-24 Martin Liska <mliska@suse.cz>
3042
3043 * libgcov-profiler.c: Start from 1 in order to distinguish
3044 functions which were seen and these that were not.
3045
a9a2fddb
PK
30462018-10-18 Paul Koning <ni1d@arrl.net>
3047
3048 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3049 standard.
3050 * divmod.c: Update references to __udivmodsi4.
3051 * udivmod.c: Ditto.
3052 * udivhi3.c: New file.
3053 * udivmodhi4.c: New file.
3054 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3055
fc8abc46
RV
30562018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3057
3058 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3059
87f918e3
OH
30602018-10-12 Olivier Hainque <hainque@adacore.com>
3061
3062 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3063 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3064
be86efa7
PK
30652018-10-08 Paul Koning <ni1d@arrl.net>
3066
3067 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3068
3edbcdbe
ML
30692018-10-04 Martin Liska <mliska@suse.cz>
3070
3071 PR gcov-profile/84107
3072 * libgcov-profiler.c (__gcov_indirect_call):
3073 Change type to indirect_call_tuple.
3074 (struct indirect_call_tuple): New struct.
3075 (__gcov_indirect_call_topn_profiler): Change type.
3076 (__gcov_indirect_call_profiler_v2): Use the new
3077 variables.
3078 * libgcov.h (struct indirect_call_tuple): New struct
3079 definition.
3080
af8096fc
UB
30812018-10-03 Uros Bizjak <ubizjak@gmail.com>
3082
3083 * libgcc2.c (isnan): Use __builtin_isnan.
3084 (isfinite): Use __builtin_isfinite.
3085 (isinf): Use __builtin_isinf.
3086
0a76bba4
UB
30872018-09-26 Uros Bizjak <ubizjak@gmail.com>
3088
3089 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3090
5244089f
OH
30912018-09-21 Alexandre Oliva <oliva@adacore.com>
3092
3093 * config/vxcache.c: New file. Provide __clear_cache, based on
3094 the cacheTextUpdate VxWorks service.
3095 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3096 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3097 * config/t-vxwoks7: Likewise.
3098
512cc015
ML
30992018-09-21 Martin Liska <mliska@suse.cz>
3100
3101 * libgcov-driver.c (crc32_unsigned): Remove.
3102 (gcov_histogram_insert): Likewise.
3103 (gcov_compute_histogram): Likewise.
3104 (compute_summary): Simplify rapidly.
3105 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3106 (merge_summary): Rapidly simplify.
3107 (dump_one_gcov): Ignore gcov_summary.
3108 (gcov_do_dump): Do not handle program summary, it's not
3109 used.
3110 * libgcov-util.c (tag_summary): Remove.
3111 (read_gcda_finalize): Fix coding style.
3112 (read_gcda_file): Initialize curr_object_summary.
3113 (compute_summary): Remove.
3114 (calculate_overlap): Remove settings of run_max.
3115
36ff254b
MC
31162018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3117
3118 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3119 ucontext_t type instead.
3120 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3121
229a033d
KC
31222018-09-21 Kito Cheng <kito.cheng@gmail.com>
3123
3124 * config/nds32/t-nds32-glibc: New file.
3125
53c6feb2
RO
31262018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3127
3128 * configure.ac (solaris_ld_v2_maps): New test.
3129 * configure: Regenerate.
3130 * Makefile.in (solaris_ld_v2_maps): New variable.
3131 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3132 if supported.
3133
ebdb6f23
RE
31342018-08-23 Richard Earnshaw <rearnsha@arm.com>
3135
3136 PR target/86951
3137 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3138 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3139 to build.
3140
a49c064e
IS
31412018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3142
1ea7ea18 3143 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
3144 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3145 * config/darwin10-unwind-find-enc-func.c: … to here.
3146 * config/t-darwin: Build Darwin10 unwinder shim crt.
3147 * libgcc/config.host: Add the Darwin10 unwinder shim.
3148
9a5b8df7
RV
31492018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3150
3151 * config.host: Add crtbegin.o and crtend.o for
3152 powerpc-wrs-vxworks target.
3153
4cd0bc3b
J
31542018-08-17 Jojo <jijie_rong@c-sky.com>
3155 Huibin Wang <huibin_wang@c-sky.com>
3156 Sandra Loosemore <sandra@codesourcery.com>
3157 Chung-Lin Tang <cltang@codesourcery.com>
3158
3159 C-SKY port: libgcc
3160
3161 * config.host: Add C-SKY support.
3162 * config/csky/*: New.
3163
a4931745
CJW
31642018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3165
3166 * config/nds32/t-nds32-isr: Rearrange object dependency.
3167 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3168 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3169 and registers usage.
3170 * config/nds32/isr-library/excp_isr.S: Ditto.
3171 * config/nds32/isr-library/intr_isr.S: Ditto.
3172 * config/nds32/isr-library/reset.S: Ditto.
3173 * config/nds32/isr-library/restore_all.inc: Ditto.
3174 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3175 * config/nds32/isr-library/restore_partial.inc: Ditto.
3176 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3177 * config/nds32/isr-library/save_all.inc: Ditto.
3178 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3179 * config/nds32/isr-library/save_partial.inc: Ditto.
3180 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3181 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3182
2b1969f6
JDA
31832018-08-11 John David Anglin <danglin@gcc.gnu.org>
3184
3185 * config/pa/linux-atomic.c: Update comment.
3186 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3187 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3188 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3189 __ATOMIC_RELAXED for atomic loads.
3190 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3191 unordered store to release lock.
3192 (__sync_lock_release_8): Likewise.
3193 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 3194
89fff9cc
NP
31952018-08-02 Nicolas Pitre <nico@fluxnic.net>
3196
3197 PR libgcc/86512
3198 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3199 exponent goes negative. Update my email address.
3200 * config/arm/ieee754-sf.S: Likewise.
3201
fd2e1dcd
ML
32022018-08-01 Martin Liska <mliska@suse.cz>
3203
3204 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 3205 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 3206
b7415975
CL
32072018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3208
3209 * config/arm/ieee754-df.S: Fix comment for code working on
3210 architectures >= 4.
3211 * config/arm/ieee754-sf.S: Likewise.
3212
b72e71a3
L
32132018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3214
3215 PR libgcc/85334
3216 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3217 Removed.
3218
1c686aa4
JC
32192018-07-05 James Clarke <jrtc27@jrtc27.com>
3220
3221 * configure: Regenerated.
3222
b61c9b99
RO
32232018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3224
3225 * Makefile.in (install_leaf): Use enable_gcov instead of
3226 enable_libgcov.
3227
1765b023
RV
32282018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3229
3230 * configure.ac: Add --disable-gcov option.
3231 * configure: Regenerate.
3232 * Makefile.in: Honour @enable_gcov@.
3233
9b2e34ef
CL
32342018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3235
3236 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3237 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3238 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3239 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3240 __ARM_ARCH__.
3241 * config/arm/ieee754-sf.S: Likewise.
3242 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3243
d1b0dd54
CL
32442018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3245
3246 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3247 longer supported.
3248 * config/arm/ieee754-sf.S: Likewise.
3249
1f3fa525
TM
32502018-06-20 Than McIntosh <thanm@google.com>
3251
3252 PR libgcc/86213
3253 * generic-morestack.c (allocate_segment): Move calls to getenv and
3254 getpagesize to __morestack_load_mmap.
3255 (__morestack_load_mmap) Initialize static_pagesize and
3256 use_guard_page here so as to avoid clobbering SSE regs during a
3257 __morestack call.
3258
6a8886e4
MM
32592018-06-18 Michael Meissner <meissner@linux.ibm.com>
3260
3261 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3262 support modules with -mno-gnu-attribute.
3263 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3264
fb997097
OH
32652018-06-07 Olivier Hainque <hainque@adacore.com>
3266
3267 * config/t-vxworks (LIBGCC_INCLUDES): Add
3268 -I$(MULTIBUILDTOP)../../gcc/include.
3269 * config/t-vxworks7: Likewise. Reformat a bit to match
3270 the t-vxworks layout.
3271
a548a5a1
OM
32722018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3273
3274 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3275
244aebfd
ML
32762018-06-07 Martin Liska <mliska@suse.cz>
3277
3278 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 3279 all_prg.
244aebfd 3280
6c086e8c
ML
32812018-06-07 Martin Liska <mliska@suse.cz>
3282
92a285c1 3283 PR bootstrap/86057
6c086e8c 3284 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 3285 memcpy instead of mempcpy.
6c086e8c 3286 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 3287 prefix and set it.
6c086e8c 3288 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 3289 here and properly copy content into it.
6c086e8c 3290 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 3291 field, change prefix from size_t into char *.
6c086e8c
ML
3292 (compute_summary): Do not calculate longest filename.
3293 (gcov_do_dump): Release memory of gf.filename after each file.
3294 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 3295 compute_summary.
6c086e8c
ML
3296 (calculate_overlap): Likewise.
3297
97a53d1d
ML
32982018-06-05 Martin Liska <mliska@suse.cz>
3299
3300 PR gcov-profile/47618
3301 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 3302 function.
97a53d1d
ML
3303 (gcov_exit_open_gcda_file): Use it.
3304
7f3577f5
ML
33052018-06-05 Martin Liska <mliska@suse.cz>
3306
3307 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3308 of gcov_ctr_summary.
3309 (compute_summary): Do it just for a single summary.
3310 (merge_one_data): Likewise.
3311 (merge_summary): Simplify as we read just single summary.
3312 (dump_one_gcov): Pass proper argument.
3313 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3314 single summary.
3315 (gcov_info_count_all_cold): Likewise.
3316 (calculate_overlap): Likewise.
3317
cf3cd43d
CJW
33182018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3319 Monk Chiang <sh.chiang04@gmail.com>
3320
3321 * config.host (nds32*-linux*): New.
3322 * config/nds32/linux-atomic.c: New file.
3323 * config/nds32/linux-unwind.h: New file.
3324
8b8003ed
UB
33252018-05-31 Uros Bizjak <ubizjak@gmail.com>
3326
3327 PR target/85591
3328 * config/i386/cpuinfo.c (get_amd_cpu): Return
3329 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3330
bbdf026f
RV
33312018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3332
92a285c1 3333 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 3334
0e8f29da
ML
33352018-05-29 Martin Liska <mliska@suse.cz>
3336
92a285c1 3337 PR gcov-profile/85759
0e8f29da 3338 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 3339 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 3340 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 3341 overwrite a gcov file with a different timestamp.
0e8f29da 3342
54fd1590
K
33432018-05-23 Kalamatee <kalamatee@gmail.com>
3344
3345 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3346 path to Lf$finfty.
3347
09baee1a
KC
33482018-05-18 Kito Cheng <kito.cheng@gmail.com>
3349 Monk Chiang <sh.chiang04@gmail.com>
3350 Jim Wilson <jimw@sifive.com>
3351
3352 * config/riscv/save-restore.S: Add support for rv32e.
3353
c3f808d3
KT
33542018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3355
3356 * config/arm/libunwind.S: Update comment relating to armv5.
3357
fcf4f831
JL
33582018-05-17 Jerome Lambourg <lambourg@adacore.com>
3359
3360 * config/arm/cmse.c (cmse_check_address_range): Replace
3361 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3362
74b2bb19
OM
33632018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3364
3365 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3366 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3367
50e461df
OM
33682018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3369
3370 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3371 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3372
e5f1cdb1
AC
33732018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3374
3375 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3376
8f479d7a
AT
33772018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3378 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3379
3380 PR libgcc/84292
3381 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3382 op_and_fetch to return the right result.
3383
ae043291
AM
33842018-04-27 Alan Modra <amodra@gmail.com>
3385
3386 PR libgcc/85532
3387 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3388 -fno-asynchronous-unwind-tables.
3389
ba169b74
CJW
33902018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3391
3392 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3393 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3394
ffc2fc06
L
33952018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3396
3397 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3398 when including "config/i386/shadow-stack-unwind.h".
3399
7b47ecf2
L
34002018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3401
3402 * configure: Regenerated.
3403
661eb8f9
MM
34042018-04-20 Michael Meissner <meissner@linux.ibm.com>
3405
3406 PR target/85456
3407 * config/rs6000/_powikf2.c: New file. Add support for the
3408 __builtin_powil function when long double is IEEE 128-bit floating
3409 point.
3410 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3411 __powikf2 support.
3412 (__powikf2): Likewise.
3413 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3414 (__powikf2_hw): Likewise.
3415 (__powikf2): Likewise.
3416 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3417 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3418 (_powikf2-hw.c): Likewise.
3419
5707be3c
L
34202018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3421
3422 PR libgcc/85334
3423 * unwind-generic.h (_Unwind_Frames_Increment): New.
3424 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3425 Likewise.
3426 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3427 count with _Unwind_Frames_Increment.
3428 (_Unwind_ForcedUnwind_Phase2): Likewise.
3429
5f9ca0b8
L
34302018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3431
3432 PR libgcc/85379
3433 * config/i386/morestack.S (__stack_split_initialize): Add
3434 _CET_ENDBR.
3435
a0e1df88
JJ
34362018-04-19 Jakub Jelinek <jakub@redhat.com>
3437
3438 * configure: Regenerated.
3439
001ddaa8
DM
34402018-04-18 David Malcolm <dmalcolm@redhat.com>
3441
3442 PR jit/85384
3443 * configure: Regenerate.
3444
a57f99ba
JJ
34452018-04-16 Jakub Jelinek <jakub@redhat.com>
3446
3447 PR target/84945
3448 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3449 -Wdangling-else warnings. Mask shift counts to avoid
3450 -Wshift-count-negative and -Wshift-count-overflow false positives.
3451
4d47fe5a
RB
34522018-04-06 Ruslan Bukin <br@bsdpad.com>
3453
3454 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3455
059cc8ac
L
34562018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3457
3458 PR target/85100
3459 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3460 (XSTATE_FP): Likewise.
3461 (XSTATE_SSE): Likewise.
3462 (XSTATE_YMM): Likewise.
3463 (XSTATE_OPMASK): Likewise.
3464 (XSTATE_ZMM): Likewise.
3465 (XSTATE_HI_ZMM): Likewise.
3466 (XCR_AVX_ENABLED_MASK): Likewise.
3467 (XCR_AVX512F_ENABLED_MASK): Likewise.
3468 (get_available_features): Enable AVX and AVX512 features only
3469 if their states are supported by OSXSAVE.
3470
f2620385
IT
34712018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3472
3473 PR target/85025
3474 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3475 Fix a typo, tmp => 255.
3476
ae6dca8c
JJ
34772018-03-20 Jakub Jelinek <jakub@redhat.com>
3478
3479 PR target/84945
3480 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3481 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3482 ifndef SHARED only.
3483 (set_feature): Define.
3484 (get_available_features): Use set_feature macro. Set __cpu_features2
3485 to the second word of features ifndef SHARED.
3486
c36b04c1
JK
34872018-03-15 Julia Koval <julia.koval@intel.com>
3488
3489 * config/i386/cpuinfo.c (get_available_features): Add
3490 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3491 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3492 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3493 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3494 FEATURE_AVX512BITALG.
3495
79ab5364
JK
34962018-03-14 Julia Koval <julia.koval@intel.com>
3497
3498 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3499 icelake client and icelake server.
3500
66a00b11
JDA
35012018-03-06 John David Anglin <danglin@gcc.gnu.org>
3502
3503 * config/pa/fptr.c (_dl_read_access_allowed): New.
3504 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3505
ce579a4f
JJ
35062018-02-28 Jakub Jelinek <jakub@redhat.com>
3507
3508 PR debug/83917
3509 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3510 $asm_hidden_op if visibility ("hidden") attribute works.
3511 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3512 * config/i386/i386-asm.h: Don't include auto-host.h.
3513 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3514 PACKAGE_URL): Don't undefine.
3515 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3516 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3517 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3518 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3519 definition instead of hardcoded .hidden.
3520 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3521 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3522 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3523 (USE_GAS_CFI_DIRECTIVES): Don't define.
3524 * configure: Regenerated.
3525 * config.in: Likewise.
3526
e5868319
JJ
35272018-02-26 Jakub Jelinek <jakub@redhat.com>
3528
3529 PR debug/83917
3530 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3531 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3532 inclusion of auto-target.h and auto-host.h.
3533 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3534 __GCC_HAVE_DWARF2_CFI_ASM.
3535 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3536 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3537 cfi_pop): Define.
3538 * config/i386/cygwin.S: Don't include auto-host.h here, just
3539 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3540 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3541 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3542 * config/i386/resms64fx.h: Add cfi_* directives.
3543 * config/i386/resms64x.h: Likewise.
3544
faef260e
MF
35452018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3546
3547 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3548 .literal_position directive.
3549 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3550
14e335ed
IT
35512018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3552
3553 PR target/84148
3554 * configure: Regenerate.
3555
95df0433
IT
35562018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3557
3558 PR target/84239
3559 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3560 Include cetintrin.h not x86intrin.h.
3561
f8de876d
IT
35622018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3563
3564 PR target/84239
95df0433 3565 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3566 Use new _get_ssp and _inc_ssp intrinsics.
3567
02da1e9c
JK
35682018-02-02 Julia Koval <julia.koval@intel.com>
3569
3570 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3571
048c6a9a
CZ
35722018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3573
3574 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3575 option.
3576 (__divsi3): Use RF16 safe registers.
3577 (__modsi3): Likewise.
3578
0889f168
MF
35792018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3580
3581 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3582 (__divsf3): Make NaN return value quiet.
3583 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3584 (__divdf3): Make NaN return value quiet.
3585
bc8b0d04
SP
35862018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3587
3588 * config/rl78/anddi3.S: New assembly file.
3589 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3590
99cc06ea
SP
35912018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3592
3593 * config/rl78/umindi3.S: New assembly file.
3594 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3595
6e9007a0
SP
35962018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3597
3598 * config/rl78/smindi3.S: New assembly file.
3599 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3600
d975e494 36012018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3602
d975e494
SP
3603 * config/rl78/smaxdi3.S: New assembly file.
3604 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3605
6a18c146 36062018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3607
5dd16013
SP
3608 * config/rl78/umaxdi3.S: New assembly file.
3609 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3610
07baf4a5
JDA
36112018-01-21 John David Anglin <danglin@gcc.gnu.org>
3612
3613 PR lto/83452
3614 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3615 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3616
dbc3af4f
RS
36172018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3618
3619 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3620 (DWARF_LAZY_REGISTER_VALUE): Define.
3621 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3622 to provide a fallback register value.
3623
68df9882
MM
36242018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3625
3626 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3627 __ibm128, instead of trying to use long double.
3628 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3629 accomidate -mabi=ieeelongdouble multilibs.
3630 (CVT_IBM128_TO_FLOAT128): Likewise.
3631 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3632 the appropriate IBM extended double type.
3633 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3634 (__gcc_qsub): Likewise.
3635 (__gcc_qmul): Likewise.
3636 (__gcc_qdiv): Likewise.
3637 (pack_ldouble): Likewise.
3638 (__gcc_qneg): Likewise.
3639 (__gcc_qeq): Likewise.
3640 (__gcc_qne): Likewise.
3641 (__gcc_qge): Likewise.
3642 (__gcc_qle): Likewise.
3643 (__gcc_stoq): Likewise.
3644 (__gcc_dtoq): Likewise.
3645 (__gcc_itoq): Likewise.
3646 (__gcc_utoq): Likewise.
3647 (__gcc_qunord): Likewise.
3648 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3649 quad-float128.h for the definitions.
3650 (COPYSIGN): Use the f128 version instead of the q version.
3651 (INFINITY): Likewise.
3652 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3653 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3654 quad-float128.h for the definitions.
3655 (COPYSIGN): Use the f128 version instead of the q version.
3656 (INFINITY): Likewise.
3657 (FABS): Likewise.
3658 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3659 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3660 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3661
64b371b1
SH
36622018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3663
3664 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3665 configuration.
3666
85ec4feb
JJ
36672018-01-03 Jakub Jelinek <jakub@redhat.com>
3668
3669 Update copyright years.
3670
36712017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3672
3673 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3674 * config/riscv/multi3.c: New file.
3675 * config/riscv/multi3.S: Remove.
3676
3a4c600f
JW
36772017-12-08 Jim Wilson <jimw@sifive.com>
3678
3679 * config/riscv/div.S: Use FUNC_* macros.
3680 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3681 * config/riscv/save-restore.S: Likewise.
3682 * config/riscv/riscv-asm.h: New.
3683
75ad35b5
MM
36842017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3685
6ae3512c
MM
3686 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3687 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3688
75ad35b5
MM
3689 PR libgcc/83112
3690 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3691 correct type for all ifunc resolvers to silence -Wattribute-alias
3692 warnings. Eliminate the forward declaration of the resolver
3693 functions which is no longer needed.
3694 (__subkf3_resolve): Likewise.
3695 (__mulkf3_resolve): Likewise.
3696 (__divkf3_resolve): Likewise.
3697 (__negkf2_resolve): Likewise.
3698 (__eqkf2_resolve): Likewise.
3699 (__nekf2_resolve): Likewise.
3700 (__gekf2_resolve): Likewise.
3701 (__gtkf2_resolve): Likewise.
3702 (__lekf2_resolve): Likewise.
3703 (__ltkf2_resolve): Likewise.
3704 (__unordkf2_resolve): Likewise.
3705 (__extendsfkf2_resolve): Likewise.
3706 (__extenddfkf2_resolve): Likewise.
3707 (__trunckfsf2_resolve): Likewise.
3708 (__trunckfdf2_resolve): Likewise.
3709 (__fixkfsi_resolve): Likewise.
3710 (__fixkfdi_resolve): Likewise.
3711 (__fixunskfsi_resolve): Likewise.
3712 (__fixunskfdi_resolve): Likewise.
3713 (__floatsikf_resolve): Likewise.
3714 (__floatdikf_resolve): Likewise.
3715 (__floatunsikf_resolve): Likewise.
3716 (__floatundikf_resolve): Likewise.
3717 (__extendkftf2_resolve): Likewise.
3718 (__trunctfkf2_resolve): Likewise.
3719
3720 PR libgcc/83103
3721 * config/rs6000/quad-float128.h (TF): Don't define if long double
3722 is IEEE 128-bit floating point.
3723 (TCtype): Define as either TCmode or KCmode, depending on whether
3724 long double is IEEE 128-bit floating point.
3725 (__mulkc3_sw): Add declarations for software/hardware versions of
3726 complex multiply/divide.
3727 (__divkc3_sw): Likewise.
3728 (__mulkc3_hw): Likewise.
3729 (__divkc3_hw): Likewise.
3730 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3731 handlers to switch between using software emulation and hardware
3732 float128 instructions, build the complex multiply/divide functions
3733 for both software and hardware support.
3734 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3735 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3736 (__divkc3_resolve): Likewise.
3737 (__mulkc3): Likewise.
3738 (__divkc3): Likewise.
3739 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3740 (fp128_hw_src): Likewise.
3741 (fp128_hw_static_obj): Likewise.
3742 (fp128_hw_shared_obj): Likewise.
3743 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3744 _mulkc3.c and _divkc3.c, changing the function name.
3745 (_divkc3-hw.c): Likewise.
3746 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3747 and _divkc3-hw.c.
3748
c234d831
UB
37492017-11-26 Julia Koval <julia.koval@intel.com>
3750
3751 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3752 * config/i386/cpuinfo.h (processor_subtypes): Add
3753 INTEL_COREI7_CANNONLAKE.
3754
1ebafce0
IT
37552017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3756
3757 PR bootstrap/83015
3758 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3759 parameter.
3760 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3761 * config/ia64/unwind-ia64.c: Add frames parameter.
3762 * unwind-sjlj.c: Likewise.
3763
6a10fff4
IT
37642017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3765
3766 * config/i386/linux-unwind.h: Include
3767 config/i386/shadow-stack-unwind.h.
3768 * config/i386/shadow-stack-unwind.h: New file.
3769 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3770 pass it to _Unwind_Frames_Extra.
3771 * unwind-generic.h (_Unwind_Frames_Extra): New.
3772 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3773 parameter. Add local variable frames to count number of frames.
3774 (_Unwind_ForcedUnwind_Phase2): Likewise.
3775 (_Unwind_RaiseException): Add local variable frames to count
3776 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3777 uw_install_context.
3778 (_Unwind_ForcedUnwind): Likewise.
3779 (_Unwind_Resume): Likewise.
3780 (_Unwind_Resume_or_Rethrow): Likewise.
3781
1ecae1fc
IT
37822017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3783
3784 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3785 (CET_FLAGS): New.
3786 * config/i386/morestack.S: Include <cet.h>.
3787 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3788 * config/i386/resms64.h: Include <cet.h>.
3789 * config/i386/resms64f.h: Likewise.
3790 * config/i386/resms64fx.h: Likewise.
3791 * config/i386/resms64x.h: Likewise.
3792 * config/i386/savms64.h: Likewise.
3793 * config/i386/savms64f.h: Likewise.
3794 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3795 (CRTSTUFF_T_CFLAGS): Likewise.
3796 * configure.ac: Include ../config/cet.m4.
3797 Set and substitute CET_FLAGS.
3798 * configure: Regenerated.
3799
f021f1d3
RO
38002017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3801
3802 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3803 renaming.
3804 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3805 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3806 * configure: Regenerate.
3807
65f480c7
TV
38082017-11-07 Tom de Vries <tom@codesourcery.com>
3809
3810 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3811 after "do {} while (0)".
3812
2a321acb
TV
38132017-11-07 Tom de Vries <tom@codesourcery.com>
3814
3815 PR other/82784
3816 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3817 semicolon after "do {} while (0)".
3818 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3819 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3820 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3821 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3822
59fcf6c3
AT
38232017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3824
3825 PR libgcc/82635
3826 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3827 sysctl to determine whether we're in a trampoline.
3828 Keep the pattern matching method for systems without
3829 KERN_PROC_SIGTRAMP sysctl.
3830
b0c7ddf8
CM
38312017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3832 Vineet Gupta <vgupta@synopsys.com>
3833
3834 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3835 * config/arc/linux-unwind-reg.def: New file.
3836 * config/arc/linux-unwind-reg.h: Likewise.
3837
5feee954
SP
38382017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3839
3840 * config/rl78/subdi3.S: New assembly file.
3841 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3842
a0bf6cf7
SP
38432017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3844
3845 * config/rl78/adddi3.S: New assembly file.
3846 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3847
e7176f75
JJ
38482017-10-13 Jakub Jelinek <jakub@redhat.com>
3849
3850 PR target/82274
3851 * libgcc2.c (__mulvDI3): If both operands have
3852 the same highpart of -1 and the topmost bit of lowpart is 0,
3853 multiplication overflows even if both lowparts are 0.
3854
db6601d2
JB
38552017-09-28 James Bowman <james.bowman@ftdichip.com>
3856
3857 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3858
938b6f1e
JM
38592017-09-26 Joseph Myers <joseph@codesourcery.com>
3860
3861 * config/microblaze/crti.S, config/microblaze/crtn.S,
3862 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3863 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3864 config/microblaze/mulsi3.S,
3865 config/microblaze/stack_overflow_exit.S,
3866 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3867 config/pa/milli64.S: Add .note.GNU-stack section.
3868
89762a83
DS
38692017-09-23 Daniel Santos <daniel.santos@pobox.com>
3870
3871 * configure.ac: Add Check for HAVE_AS_AVX.
3872 * config.in: Regenerate.
3873 * configure: Likewise.
3874 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3875 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3876 Correct out-of-date comments.
3877
cace2309
SP
38782017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3879
3880 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3881 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3882
3cb626e4
DS
38832017-09-17 Daniel Santos <daniel.santos@pobox.com>
3884
cace2309 3885 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
3886 (ASMNAME): Modify to use PASTE2.
3887 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3888 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 3889 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 3890 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
3891 * config/i386/resms64f.S: Likewise.
3892 * config/i386/resms64fx.S: Likewise.
3893 * config/i386/resms64x.S: Likewise.
3894 * config/i386/savms64.S: Likewise.
3895 * config/i386/savms64f.S: Likewise.
3896 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 3897 includes it's corresponding header file.
cace2309
SP
3898 * config/i386/avx_resms64f.S: Likewise.
3899 * config/i386/avx_resms64fx.S: Likewise.
3900 * config/i386/avx_resms64x.S: Likewise.
3901 * config/i386/avx_savms64.S: Likewise.
3902 * config/i386/avx_savms64f.S: Likewise.
3903 * config/i386/sse_resms64.S: Likewise.
3904 * config/i386/sse_resms64f.S: Likewise.
3905 * config/i386/sse_resms64fx.S: Likewise.
3906 * config/i386/sse_resms64x.S: Likewise.
3907 * config/i386/sse_savms64.S: Likewise.
3908 * config/i386/sse_savms64f.S: Likewise.
3909 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 3910
2f19c491 39112017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
3912 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3913
611e7036
OH
39142017-08-31 Olivier Hainque <hainque@adacore.com>
3915
3916 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3917 match as powerpc-wrs-vxworks*.
3918
c8f34527
JY
39192017-08-07 Jonathan Yong <10walls@gmail.com>
3920
3921 * config.host (*-cygwin): Include file from mingw
3922 config/i386/enable-execute-stack-mingw32.c
3923
0b458d2b 39242017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
3925 Doug Rupp <rupp@adacore.com>
3926 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
3927
3928 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3929 as well as arm-wrs-vxworks.
3930 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3931 LIB2ADDEH.
3932 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3933 __exidx_start and __exidx_end for downloadable modules.
3934
4df612fa
OH
39352017-08-01 Olivier Hainque <hainque@adacore.com>
3936
3937 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3938 * config/t-vxworks7: Likewise.
3939
5560e8c0
OH
39402017-08-01 Olivier Hainque <hainque@adacore.com>
3941
3942 * config/t-vxworks: Instead of redefining LIB2ADD,
3943 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3944
16bab95a
SH
39452017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3946
3947 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3948
9cbc07cc
DS
39492017-07-24 Daniel Santos <daniel.santos@pobox.com>
3950
3951 PR testsuite/80759
3952 * config.host: include i386/t-msabi for darwin and solaris.
3953 * config/i386/i386-asm.h
3954 (ELFFN): Rename to FN_TYPE.
3955 (FN_SIZE): New macro.
3956 (FN_HIDDEN): Likewise.
3957 (ASMNAME): Likewise.
3958 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3959 .globl.
3960 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3961 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3962 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3963 .macro.
3964 * config/i386/resms64f.S: Likewise.
3965 * config/i386/resms64fx.S: Likewise.
3966 * config/i386/resms64x.S: Likewise.
3967 * config/i386/savms64.S: Likewise.
3968 * config/i386/savms64f.S: Likewise.
3969
de742204
JM
39702017-07-19 John Marino <gnugcc@marino.st>
3971
3972 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3973
3787ee47
MM
39742017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3975
3976 PR target/81193
3977 * configure.ac (PowerPC float128 hardware support): Test whether
3978 we can use __builtin_cpu_supports before enabling the ifunc
3979 handler.
3980 * configure: Regenerate.
3981
b1938888
VG
39822017-07-10 Vineet Gupta <vgupta@synopsys.com>
3983
3984 * config.host: Remove uclibc from arc target spec.
3985
bec75e53
KW
39862017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3987
3988 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3989
d4391a62
PB
39902017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3991
3992 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3993 (have_ieee_hw_p): Delete function.
3994 (SW_OR_HW) Use __builtin_cpu_supports().
3995
9296dd9b
TP
39962017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3997
3998 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3999
b85a969e
OH
40002017-07-03 Olivier Hainque <hainque@adacore.com>
4001
d4391a62 4002 * config/t-vxworks7: New file, really.
b85a969e 4003
883312dc
JM
40042017-06-28 Joseph Myers <joseph@codesourcery.com>
4005
4006 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4007 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4008 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4009 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4010 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4011 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4012 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4013 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4014 config/sh/linux-unwind.h (sh_fallback_frame_state),
4015 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4016 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4017 ucontext_t instead of struct ucontext.
4018
50567938
JL
40192017-06-27 Jerome Lambourg <lambourg@adacore.com>
4020
4021 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4022 (x86_64-wrs-vxworks7): Likewise.
4023
e4b0df93
OH
40242017-06-27 Olivier Hainque <hainque@adacore.com>
4025
4026 * config/t-vxworks7: New file.
4027 * config.host (*-*-vxworks7): Use it.
4028
60edf8bb
MT
40292017-06-22 Matt Turner <mattst88@gmail.com>
4030
4031 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4032 skylake case.
4033
a51a76e5
RB
40342017-06-21 Richard Biener <rguenther@suse.de>
4035
4036 PR gcov-profile/81080
4037 * configure.ac: Add AC_SYS_LARGEFILE.
4038 * libgcov.h: Include auto-target.h before tsystem.h to pick
4039 up _FILE_OFFSET_BITS which might differ for multilibs.
4040 * config.in: Regenerate.
4041 * configure: Likewise.
4042
f0cd49c5
RE
40432017-06-16 Richard Earnshaw <rearnsha@arm.com>
4044
4045 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4046
4f751c54
ML
40472017-06-09 Martin Liska <mliska@suse.cz>
4048
4049 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4050 Reset __gcov_indirect_call_callee to NULL.
4051
1ac644c8
OH
40522017-06-08 Olivier Hainque <hainque@adacore.com>
4053
4054 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4055 the set of -I options, support for direct inclusions of net/uio.h
4056 by VxWorks header files via ioLib.h.
4057
d8b9cd27
TR
40582017-06-07 Tony Reix <tony.reix@atos.net>
4059 Matthieu Sarter <matthieu.sarter.external@atos.net>
4060 David Edelsohn <dje.gcc@gmail.com>
4061
92a285c1
ML
4062 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4063 unconditionally.
4064 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4065 AIX 7.2 support.
d8b9cd27 4066
38a75ccc
OH
40672017-06-02 Olivier Hainque <hainque@adacore.com>
4068
4069 * config/vxlib.c (__gthread_once): Add missing value to
4070 return statement.
4071
5b2edf53
OH
40722017-05-30 Olivier Hainque <hainque@adacore.com>
4073
4074 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4075 dollar sign before $(MULTIDIR).
4076
7d66e265
RH
40772017-05-26 Richard Henderson <rth@redhat.com>
4078
4079 PR libgcc/80037
4080 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4081
78eca309
AT
40822017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4083
4084 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4085 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4086 * config/arm/unwind-arm.c: Implement the above.
4087
c39d309a
AZ
40882017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4089
4090 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4091 section for a non-executable stack.
4092
eac8c9f2
KW
40932017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4094
4095 PR target/80600
4096 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4097
d6d4d770
DS
40982017-05-14 Daniel Santos <daniel.santos@pobox.com>
4099
4100 * config.host: Add i386/t-msabi to i386/t-linux file list.
4101 * config/i386/i386-asm.h: New file.
4102 * config/i386/resms64.S: New file.
4103 * config/i386/resms64f.S: New file.
4104 * config/i386/resms64fx.S: New file.
4105 * config/i386/resms64x.S: New file.
4106 * config/i386/savms64.S: New file.
4107 * config/i386/savms64f.S: New file.
4108 * config/i386/t-msabi: New file.
4109
8ef2b9a7
AT
41102017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4111
4112 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4113 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4114
7ab8766a
JC
41152017-05-05 Joshua Conner <joshconner@google.com>
4116
4117 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4118 pc-relative indirect handling for fuchsia.
4119 * config/t-slibgcc-fuchsia: New file.
4120 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 4121 x86_64-*-fuchsia*): Add definitions.
7ab8766a 4122
46928a8f
ML
41232017-04-19 Martin Liska <mliska@suse.cz>
4124
4125 PR gcov-profile/80435
4126 * Makefile.in: Install gcov.h.
4127 * gcov.h: New file.
4128 * libgcov.h: Use the header and make __gcov_flush publicly
4129 visible.
4130
63971184
ML
41312017-04-18 Martin Liska <mliska@suse.cz>
4132
4133 PR gcov-profile/78783
4134 * libgcov-driver.c (gcov_get_filename): New function.
4135
29d8aae6
JL
41362017-04-07 Jeff Law <law@redhat.com>
4137
4138 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4139 target makefile fragment.
4140 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4141
2bdf7fc6
AM
41422017-04-07 Alan Modra <amodra@gmail.com>
4143
4144 PR target/45053
4145 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4146
5764ee3c
JW
41472017-04-03 Jonathan Wakely <jwakely@redhat.com>
4148
4149 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4150
c4192ad7
CZ
41512017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4152
4153 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4154
4ccfdb28
JM
41552017-03-10 John Marino <gnugcc@marino.st>
4156
4157 * config/aarch64/freebsd-unwind.h: New file.
4158 * config.host: Add aarch64-*-freebsd unwinder.
4159
4144e4e3
SB
41602017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4161
4162 * config/rs6000/crtrestvr.s: Use .machine altivec.
4163 * config/rs6000/crtsavevr.s: Ditto.
4164
7502c597
SB
41652017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4166
4167 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4168 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4169 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4170 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4171 * configure: Regenerate.
4172 * config.in: Regenerate.
4173
db9f7f65
JY
41742017-03-02 Jonathan Yong <10walls@gmail.com>
4175
4176 * config/i386/gthr-win32.h: Define NOGDI before
4177 windows.h include to prevent w32api CC_NONE macro
4178 clash with libgfortran.
4179
126437c5
JY
41802017-03-02 Jonathan Yong <10walls@gmail.com>
4181
4182 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4183
31927af6
AP
41842017-02-16 Andrew Pinski <apinski@cavium.com>
4185
4186 * config/aarch64/value-unwind.h: New file.
4187 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4188 to tm_file.
4189
0bd99911
PD
41902017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4191
4192 * config.host: Add RISC-V tuples.
4193 * config/riscv/atomic.c: New file.
4194 * config/riscv/crti.S: Likewise.
4195 * config/riscv/crtn.S: Likewise.
4196 * config/riscv/div.S: Likewise.
4197 * config/riscv/linux-unwind.h: Likewise.
4198 * config/riscv/muldi3.S: Likewise.
4199 * config/riscv/multi3.S: Likewise.
4200 * config/riscv/save-restore.S: Likewise.
4201 * config/riscv/sfp-machine.h: Likewise.
4202 * config/riscv/t-elf: Likewise.
4203 * config/riscv/t-elf32: Likewise.
4204 * config/riscv/t-elf64: Likewise.
4205 * config/riscv/t-softfp32: Likewise.
4206 * config/riscv/t-softfp64: Likewise.
4207
a8c9ef2a
JJ
42082017-01-24 Jakub Jelinek <jakub@redhat.com>
4209
4210 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4211 /* FALLTHRU */ comments.
4212
c6c82710
GP
42132017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4214
4215 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4216
a876231c
JW
42172017-01-20 Jiong Wang <jiong.wang@arm.com>
4218
4219 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4220 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4221 DW_CFA_GNU_window_save for AArch64 and LP64.
4222
aa348be2
JW
42232017-01-20 Jiong Wang <jiong.wang@arm.com>
4224
4225 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4226
5636faf2
JW
42272017-01-19 Jiong Wang <jiong.wang@arm.com>
4228
4229 * config/aarch64/aarch64-unwind.h: New file.
4230 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4231 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4232 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4233 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4234 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4235 (aarch64_post_extract_frame_addr): New function.
4236 (aarch64_post_frob_eh_handler_addr): New function.
4237 (aarch64_frob_update_context): New function.
4238 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4239 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4240 aarch64*-*-freebsd*):
4241 Initialize md_unwind_header to include aarch64-unwind.h.
4242 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4243 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4244 __aarch64__.
4245 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4246 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4247 (uw_frob_return_addr): New function.
4248 (uw_install_context): Use uw_frob_return_addr.
4249
3c36aa6b
JJ
42502017-01-17 Jakub Jelinek <jakub@redhat.com>
4251
4252 PR other/79046
4253 * configure.ac: Add GCC_BASE_VER.
4254 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4255 version from BASE-VER file.
4256 * configure: Regenerated.
4257
829afb8f
JS
42582017-01-13 Joe Seymour <joe.s@somniumtech.com>
4259
4260 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4261 libmul_f5.a): Filter archived prerequisites.
4262
79fc8ffe
AS
42632017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4264
4265 * config/i386/cpuinfo.h (processor_features): Add
4266 FEATURE_AVX512VPOPCNTDQ.
4267 * config/i386/cpuinfo.c (get_available_features): Habdle new
4268 feature.
4269
fec5f4e0
JM
42702017-01-04 Joseph Myers <joseph@codesourcery.com>
4271
4272 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4273 payload if [__mips_nan2008].
4274
8f56cb51
AM
42752017-01-04 Alan Modra <amodra@gmail.com>
4276
4277 * Makefile.in (configure_deps): Update.
4278 * configure: Regenerate.
4279
cbe34bb5
JJ
42802017-01-01 Jakub Jelinek <jakub@redhat.com>
4281
4282 Update copyright years.
4283
ab955692
KW
42842016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4285
4286 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4287 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4288 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4289
de34320f
MK
42902016-12-17 Matthias Klose <doko@ubuntu.com>
4291
4292 * config/arc/gmon: Remove empty directory.
4293
e04ea1da
CZ
42942016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4295
4296 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4297 crtgend.
4298 (arc*-*-elf*): Likewise.
4299 * config/arc/t-arc: Remove old gmon lib targets.
4300 * config/arc/crtg.S: Remove.
4301 * config/arc/crtgend.S: Likewise.
4302 * config/arc/gmon/atomic.h: Likewise.
4303 * config/arc/gmon/auxreg.h: Likewise.
4304 * config/arc/gmon/dcache_linesz.S: Likewise.
4305 * config/arc/gmon/gmon.c: Likewise.
4306 * config/arc/gmon/machine-gmon.h: Likewise.
4307 * config/arc/gmon/mcount.c: Likewise.
4308 * config/arc/gmon/prof-freq-stub.S: Likewise.
4309 * config/arc/gmon/prof-freq.c: Likewise.
4310 * config/arc/gmon/profil.S: Likewise.
4311 * config/arc/gmon/sys/gmon.h: Likewise.
4312 * config/arc/gmon/sys/gmon_out.h: Likewise.
4313 * config/arc/t-arc-newlib: Likewise.
4314 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4315
8ae1c2c1
GS
43162016-12-12 George Spelvin <linux@sciencehorizons.net>
4317
4318 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4319
a5b947fa
GS
43202016-12-12 George Spelvin <linux@sciencehorizons.net>
4321
4322 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4323 R16 instead of push + pop.
4324 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4325
d6574dd1
KW
43262016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4327
4328 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4329 tmake_file.
4330
62440b4f
CM
43312016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4332
4333 * config.host (arc*-*-linux-uclibc*): Use default extra
4334 objects. Include linux-android header.
4335 * config/arc/crti.S (_init): Declare symbol as function.
4336 (_fini): Likewise.
4337
31cfd832
TK
43382016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4339
4340 PR fortran/78379
4341 * config/i386/cpuinfo.c: Move denums for processor vendors,
4342 processor type, processor subtypes and declaration of
4343 struct __processor_model into
4344 * config/i386/cpuinfo.h: New header file.
4345
c92e08e3
AV
43462016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4347 Thomas Preud'homme <thomas.preudhomme@arm.com>
4348
4349 * config/arm/cmse_nonsecure_call.S: New.
4350 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4351
de7b5723
AV
43522016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4353 Thomas Preud'homme <thomas.preudhomme@arm.com>
4354
4355 * config/arm/t-arm (HAVE_CMSE): New.
4356 * config/arm/cmse.c: New.
4357
7a0d2bce
TP
43582016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4359
b3a5bff4
TP
4360 PR gcc/74748
4361 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4362 use generic linker version information on Blackfin.
4363
7a0d2bce
TP
4364 PR gcc/74748
4365 * libgcc/mkmap-symver.awk: add support for skip_underscore
4366
b410cf1d
IS
43672016-11-27 Iain Sandoe <iain@codesourcery.com>
4368 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4369
4370 PR target/67710
4371 * config/t-darwin: Default builds to 10.5 codegen.
4372
2e5f8203
JG
43732016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4374
4375 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4376 (_FP_NANSIGN_H): Likewise.
4377 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4378 (softfp_truncations): Add tfhf.
4379 (softfp_extras): Add required conversion functions.
4380
bea64ca3
JG
43812016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4382 Matthew Wahab <matthew.wahab@arm.com>
4383
4384 * config/arm/fp16.c (binary64): New.
4385 (__gnu_d2h_internal): New.
4386 (__gnu_d2h_ieee): New.
4387 (__gnu_d2h_alternative): New.
4388
8630cadb
JG
43892016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4390 Matthew Wahab <matthew.wahab@arm.com>
4391
4392 * config/arm/fp16.c (struct format): New.
4393 (binary32): New.
4394 (__gnu_float2h_internal): New. Body moved from
4395 __gnu_f2h_internal and generalize.
4396 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4397 Call it with binary32.
4398
5823ef23
JG
43992016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4400
4401 * soft-fp/extendhftf2.c: Update from glibc.
4402 * soft-fp/fixhfti.c: Likewise.
4403 * soft-fp/fixunshfti.c: Likewise.
4404 * soft-fp/floattihf.c: Likewise.
4405 * soft-fp/floatuntihf.c: Likewise.
4406 * soft-fp/half.h: Likewise.
4407 * soft-fp/trunctfhf2.c: Likewise.
4408
62a7df9f
MG
44092016-11-20 Marc Glisse <marc.glisse@inria.fr>
4410
4411 PR libgcc/77813
4412 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4413 __TMC_END__ behind a passthrough asm.
4414
7a384912
WL
44152016-11-18 Walter Lee <walt@tilera.com>
4416
62a7df9f 4417 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4418
9775c1a5
L
44192016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4420
4421 * config/i386/cpuinfo.c (processor_features): Add
4422 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4423
48c842ab
CZ
44242016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4425
4426 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4427 (__ARC_NORM__): Use instead ARC_OPTFPE.
4428 * config/arc/fp-hack.h: Likewise.
4429 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4430 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4431
5012919d
AM
44322016-11-16 Alexander Monakov <amonakov@ispras.ru>
4433
4434 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4435 * config/nvptx/mgomp.c: New file.
4436 * config/nvptx/t-nvptx: Add mgomp.c
4437
00178b98
WB
44382016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4439
4440 PR libgcc/68468
4441 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4442
d64af69f
CZ
44432016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4444
4445 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4446 of checking for cpus.
4447 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4448 (__modsi3, __clzsi2): Likewise.
4449
9d8f95de
SN
44502016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4451
4452 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4453 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4454 * config/i386/t-cpuinfo-static: New.
4455
7d29f8e3
ML
44562016-11-03 Martin Liska <mliska@suse.cz>
4457
4458 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4459 (__gcov_time_profiler_atomic): Likewise.
4460
5de3e2d8
BE
44612016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4462
4463 PR libgcc/78067
4464 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4465 count_leading_zeros.
4466
18362447
UB
44672016-11-02 Uros Bizjak <ubizjak@gmail.com>
4468
4469 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4470 * libgcc2.c (__divmoddi4): New function.
4471 * libgcc2.h (__divmoddi4): Declare.
4472 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4473 and __PFX_divmodti4.
4474
33107571
FW
44752016-10-24 Florian Weimer <fweimer@redhat.com>
4476
4477 PR libgcc/78064
4478 * unwind-c.c: Include auto-target.h.
4479
4c6d7494
JDA
44802016-10-19 John David Anglin <danglin@gcc.gnu.org>
4481
18362447 4482 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4483 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4484 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4485 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4486 hppa*64*-*-hpux11*.
4487
2a26adf1
MF
44882016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4489
4490 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4491 definition.
4492 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4493 definition.
4494 * config/xtensa/t-windowed (LIB2ADDEH): Use
4495 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4496 or xtensa/t-linux.
4497
66192aa1
DKC
44982016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4499
4500 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4501 __ieee754_sqrt): New functions.
4502 (__divdf3): Add implementation with new FPU instructions under
4503 #if XCHAL_HAVE_DFP_DIV.
4504 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4505 __ieee754_sqrtf): New functions.
4506 (__divsf3): Add implementation with new FPU instructions under
4507 #if XCHAL_HAVE_FP_DIV.
4508 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4509 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4510
4d0cdd0c
TP
45112016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4512
4513 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4514 equivalent.
4515 * config/tilepro/atomic.c: Likewise and stop casting model to
4516 enum memmodel.
4517
73f01cca
JM
45182016-10-10 Joseph Myers <joseph@codesourcery.com>
4519
4520 PR target/77586
4521 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4522 soft-fp.
4523
b20e7532
AT
45242016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4525
4526 * config.host: Add support for aarch64-*-freebsd*.
4527
a786cec4
AS
45282016-10-05 Andreas Schwab <schwab@suse.de>
4529
4530 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4531 (.section .init_array): Don't call __do_jv_register_classes.
4532 (.section .init): Likewise.
4533
5a79befb
JJ
45342016-10-04 Jakub Jelinek <jakub@redhat.com>
4535
4536 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4537 (__JCR_LIST__): Remove.
4538 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4539 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4540 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4541 * config/ia64/crtend.S (__JCR_END__): Remove.
4542 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4543 conditionals.
4544 (__JCR_LIST__, __JCR_END__): Remove.
4545 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4546 (__do_global_ctors_1): Likewise.
4547
e0ab3753
UB
45482015-09-28 Uros Bizjak <ubizjak@gmail.com>
4549
4550 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4551 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4552
8c9434c2
ML
45532016-09-27 Martin Liska <mliska@suse.cz>
4554
4555 PR gcov-profile/7970
4556 PR gcov-profile/16855
4557 PR gcov-profile/44779
4558 * libgcov-driver.c (__gcov_init): Do not register a atexit
4559 handler.
4560 (__gcov_exit): Rename from gcov_exit.
4561 * libgcov.h (__gcov_exit): Declare.
4562
56b653f1
ML
45632016-09-27 Martin Liska <mliska@suse.cz>
4564
4565 PR bootstrap/77749
4566 * Makefile.in: Remove _gcov_merge_delta.
4567 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4568 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4569 * libgcov.h: Remove declaration of __gcov_merge_delta.
4570
7e02fd1b
EB
45712016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4572
4573 * configure.ac: Do not create links, only substitute the filenames.
4574 * configure: Regenerate.
4575 * Makefile.in: Assign the substitution results to variables.
4576 (LIBGCC_LINKS): Define.
4577 (enable-execute-stack.c): New rule.
4578 (unwind.h): Likewise.
4579 (md-unwind-support.h): Likewise.
4580 (sfp-machine.h): Likewise.
4581 (gthr-default.h): Likewise.
4582 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4583 unwind.h as prerequisite of install-unwind_h-forbuild.
4584
29991048
JJ
45852016-09-16 Jakub Jelinek <jakub@redhat.com>
4586
4587 PR libgcc/71744
4588 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4589 is not the primary registry and atomics are available.
4590 (any_objects_registered): New variable.
4591 (__register_frame_info_bases, __register_frame_info_table_bases):
4592 Atomically store 1 to any_objects_registered after registering first
4593 unwind info.
4594 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4595
0abcd6cc
JG
45962016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4597
4598 PR target/63250
4599 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4600 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4601 (HFtype): Likewise.
4602 (HCtype): Likewise.
4603 (__divhc3): Likewise.
4604 (__mulhc3): Likewise.
4605 * libgcc2.c: Support _mulhc3 and _divhc3.
4606
d758aeb5
JM
46072016-09-07 Joseph Myers <joseph@codesourcery.com>
4608
4609 PR libgcc/77519
4610 * libgcc2.c (NOTRUNC): Invert settings.
4611
7fe76f6a
ML
46122016-09-06 Martin Liska <mliska@suse.cz>
4613
4614 PR gcov-profile/77378
4615 PR gcov-profile/77466
4616 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4617 conditionaly enable/disable *_atomic functions.
4618
21184026
JM
46192016-08-26 Joseph Myers <joseph@codesourcery.com>
4620
4621 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4622 where not already enabled.
4623
726f49c3
SN
46242016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4625
4626 * config/mips/linux-unwind.h: Use sys/syscall.h.
4627
feeb6268
JM
46282016-08-16 Joseph Myers <joseph@codesourcery.com>
4629
4630 PR libgcc/77265
4631 * soft-fp/adddf3.c: Update from glibc.
4632 * soft-fp/addsf3.c: Likewise.
4633 * soft-fp/addtf3.c: Likewise.
4634 * soft-fp/divdf3.c: Likewise.
4635 * soft-fp/divsf3.c: Likewise.
4636 * soft-fp/divtf3.c: Likewise.
4637 * soft-fp/double.h: Likewise.
4638 * soft-fp/eqdf2.c: Likewise.
4639 * soft-fp/eqsf2.c: Likewise.
4640 * soft-fp/eqtf2.c: Likewise.
4641 * soft-fp/extenddftf2.c: Likewise.
4642 * soft-fp/extended.h: Likewise.
4643 * soft-fp/extendsfdf2.c: Likewise.
4644 * soft-fp/extendsftf2.c: Likewise.
4645 * soft-fp/extendxftf2.c: Likewise.
4646 * soft-fp/fixdfdi.c: Likewise.
4647 * soft-fp/fixdfsi.c: Likewise.
4648 * soft-fp/fixdfti.c: Likewise.
4649 * soft-fp/fixsfdi.c: Likewise.
4650 * soft-fp/fixsfsi.c: Likewise.
4651 * soft-fp/fixsfti.c: Likewise.
4652 * soft-fp/fixtfdi.c: Likewise.
4653 * soft-fp/fixtfsi.c: Likewise.
4654 * soft-fp/fixtfti.c: Likewise.
4655 * soft-fp/fixunsdfdi.c: Likewise.
4656 * soft-fp/fixunsdfsi.c: Likewise.
4657 * soft-fp/fixunsdfti.c: Likewise.
4658 * soft-fp/fixunssfdi.c: Likewise.
4659 * soft-fp/fixunssfsi.c: Likewise.
4660 * soft-fp/fixunssfti.c: Likewise.
4661 * soft-fp/fixunstfdi.c: Likewise.
4662 * soft-fp/fixunstfsi.c: Likewise.
4663 * soft-fp/fixunstfti.c: Likewise.
4664 * soft-fp/floatdidf.c: Likewise.
4665 * soft-fp/floatdisf.c: Likewise.
4666 * soft-fp/floatditf.c: Likewise.
4667 * soft-fp/floatsidf.c: Likewise.
4668 * soft-fp/floatsisf.c: Likewise.
4669 * soft-fp/floatsitf.c: Likewise.
4670 * soft-fp/floattidf.c: Likewise.
4671 * soft-fp/floattisf.c: Likewise.
4672 * soft-fp/floattitf.c: Likewise.
4673 * soft-fp/floatundidf.c: Likewise.
4674 * soft-fp/floatundisf.c: Likewise.
4675 * soft-fp/floatunditf.c: Likewise.
4676 * soft-fp/floatunsidf.c: Likewise.
4677 * soft-fp/floatunsisf.c: Likewise.
4678 * soft-fp/floatunsitf.c: Likewise.
4679 * soft-fp/floatuntidf.c: Likewise.
4680 * soft-fp/floatuntisf.c: Likewise.
4681 * soft-fp/floatuntitf.c: Likewise.
4682 * soft-fp/gedf2.c: Likewise.
4683 * soft-fp/gesf2.c: Likewise.
4684 * soft-fp/getf2.c: Likewise.
4685 * soft-fp/ledf2.c: Likewise.
4686 * soft-fp/lesf2.c: Likewise.
4687 * soft-fp/letf2.c: Likewise.
4688 * soft-fp/muldf3.c: Likewise.
4689 * soft-fp/mulsf3.c: Likewise.
4690 * soft-fp/multf3.c: Likewise.
4691 * soft-fp/negdf2.c: Likewise.
4692 * soft-fp/negsf2.c: Likewise.
4693 * soft-fp/negtf2.c: Likewise.
4694 * soft-fp/op-1.h: Likewise.
4695 * soft-fp/op-2.h: Likewise.
4696 * soft-fp/op-4.h: Likewise.
4697 * soft-fp/op-8.h: Likewise.
4698 * soft-fp/op-common.h: Likewise.
4699 * soft-fp/quad.h: Likewise.
4700 * soft-fp/single.h: Likewise.
4701 * soft-fp/soft-fp.h: Likewise.
4702 * soft-fp/subdf3.c: Likewise.
4703 * soft-fp/subsf3.c: Likewise.
4704 * soft-fp/subtf3.c: Likewise.
4705 * soft-fp/truncdfsf2.c: Likewise.
4706 * soft-fp/trunctfdf2.c: Likewise.
4707 * soft-fp/trunctfsf2.c: Likewise.
4708 * soft-fp/trunctfxf2.c: Likewise.
4709 * soft-fp/unorddf2.c: Likewise.
4710 * soft-fp/unordsf2.c: Likewise.
4711 * soft-fp/unordtf2.c: Likewise.
4712
2e6fc1ac
GG
47132016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4714
4715 PR gcov-profile/67097
4716 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4717
a266236e
ML
47182016-08-10 Martin Liska <mliska@suse.cz>
4719
4720 PR gcov-profile/58306
4721 * Makefile.in: New functions (modules) are added.
4722 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4723 function.
4724 (__gcov_pow2_profiler_atomic): New function.
4725 (__gcov_one_value_profiler_body): New argument is instroduced.
4726 (__gcov_one_value_profiler): Call with the new argument.
4727 (__gcov_one_value_profiler_atomic): Likewise.
4728 (__gcov_indirect_call_profiler_v2): Likewise.
4729 (__gcov_time_profiler_atomic): New function.
4730 (__gcov_average_profiler_atomic): Likewise.
4731 (__gcov_ior_profiler_atomic): Likewise.
4732 * libgcov.h: Declare the aforementioned functions.
4733
e0c8eebf
ML
47342016-08-09 Martin Liska <mliska@suse.cz>
4735
4736 * libgcov-util.c: Fix typo and GNU coding style.
4737
6dce6418
ML
47382016-08-09 Martin Liska <mliska@suse.cz>
4739
4740 * Makefile.in: Remove __gcov_indirect_call_profiler.
4741 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4742 function.
4743 * libgcov.h: And the declaration of the function.
4744
dcb1e137
ML
47452016-08-09 Martin Liska <mliska@suse.cz>
4746
4747 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4748 power of two.
4749
d6e69705
BS
47502016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4751
4752 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4753 * config/rs6000/_mulkc3.c: Likewise.
4754
96aa1f95
GJL
47552016-07-29 Georg-Johann Lay <avr@gjlay.de>
4756
4757 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4758 zero_reg as previous call to __umulhisi3 already cleared it.
4759
a1b01d34
AJ
47602016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4761
4762 PR target/59833
4763 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4764
985a47b2
NC
47652016-07-19 Nick Clifton <nickc@redhat.com>
4766
4767 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4768 Add crtinit.o and crtfini.o to extra_parts.
4769
f906f5ed
BS
47702016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4771
4772 * config/rs6000/_divkc3.c: New.
4773 * config/rs6000/_mulkc3.c: New.
4774 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4775 and _divkc3.
4776 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4777 fp128_ppc_funcs.
4778
82742404
HW
47792016-07-11 Hale Wang <hale.wang@arm.com>
4780 Andre Vieira <andre.simoesdiasvieira@arm.com>
4781
4782 * config/arm/lib1funcs.S: Add new wrapper.
4783
05a437c1
TP
47842016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4785
4786 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4787
3d16d9ec
TP
47882016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4789
4790 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4791 and ARMv5t* rather than for a fixed list of architectures.
4792
6f493951
TP
47932016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4794
4795 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4796 implementation suitable for.
4797 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4798 for all Thumb-1 only targets.
4799 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4800 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4801 __ARM_ARCH_6M__.
4802 (EQUIV): Likewise.
4803 (ARM_FUNC_ALIAS): Likewise.
4804 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4805 version.
4806 (modsi3): Likewise.
4807 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4808 (clzdi2): Likewise.
4809 (ctzsi2): Likewise.
4810 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4811 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4812 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4813 __ARM_ARCH_6M__ and add comment to indicate the connection between
4814 this condition and the one in gcc/config/arm/elf.h.
4815 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4816 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4817 * config/arm/t-softfp: Likewise.
4818
1770511a
TS
48192016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4820
4821 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4822 CTOR_LISTS_DEFINED_EXTERNALLY.
4823
ba6be749
WL
48242016-06-28 Walter Lee <walt@tilera.com>
4825
4826 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4827 asm/unistd.h.
4828 (SPR_CMPEXCH_VALUE): Define for tilegx.
4829 (__NR_FAST_cmpxchg): Define for tilepro.
4830 (__NR_FAST_atomic_update): Define for tilepro.
4831 (__NR_FAST_cmpxchg64): Define for tilepro.
4832
a34c0db5
JS
48332016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4834
18362447 4835 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 4836
0609abda
TS
48372016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4838
4839 * config.host: Remove support for mep-*.
4840 * config/mep/lib1funcs.S: Remove.
4841 * config/mep/lib2funcs.c: Remove.
4842 * config/mep/t-mep: Remove.
4843 * config/mep/tramp.c: Remove.
4844
3e326935
TS
48452016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4846
4847 * config.host: Remove support for avr-rtems.
4848 * config/avr/t-rtems: Remove.
4849
914b155c
TS
48502016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4851
4852 * config.host: Remove m32r-rtems support.
4853
5ebf89bd
TS
48542016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4855
4856 * config.host: Remove h8300-rtems support.
4857
8466af06
TS
48582016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4859
4860 * config.host: Remove support for knetbsd.
4861
d980e738
TS
48622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4863
4864 * config.host: Remove support for openbsd 2 and 3.
4865
ee2499b4
TS
48662016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4867
4868 * config.host: Remove interix support.
4869 * config/i386/t-interix: Remove.
4870
9f92937b
JDA
48712016-06-18 John David Anglin <danglin@gcc.gnu.org>
4872
4873 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4874 least-significant bit in function pointer for fixup.
4875
0a0ec53d
AC
48762016-06-05 Aaron Conole <aconole@redhat.com>
4877 Nathan Sidwell <nathan@acm.org>
4878
4879 PR libgcc/71400
4880 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4881 (get_gcov_error_file): Check __gcov_error_file before trying to
4882 initialize it.
4883 (gcov_error): Always use get_gcov_error_file.
4884
8aa5bdd6
AC
48852016-06-02 Aaron Conole <aconole@redhat.com>
4886
4887 * libgcov-driver-system.c (__gcov_error_file): New.
4888 (get_gcov_error_file): New.
4889 (gcov_error): Use and set __gcov_error_file.
4890 (gcov_error_exit): New.
4891 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4892
40774faf
NS
48932016-05-26 Nathan Sidwell <nathan@acm.org>
4894
4895 * config/nvptx/free.asm: Delete.
4896 * config/nvptx/malloc.asm: Delete.
4897 * config/nvptx/realloc.c: Delete.
4898 * t-nvptx: Update.
4899
69a6d5ad
NS
49002016-05-25 Nathan Sidwell <nathan@acm.org>
4901
4902 * config/nvptx/crt0.s: Delete.
4903 * config/nvptx/crt0.c: New.
4904 * t-nvptx: Update.
4905
6befaff6
SL
49062016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4907
385c7747 4908 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
4909 dw2/seh configuration.
4910 [x86_64-*-mingw*]: Likewise.
4911
ad251dfd
JS
49122016-05-10 Joel Sherrill <joel@rtems.org>
4913
4914 PR libgcc/70720
4915 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4916 targets so the same extra_parts are built. Also have tmake_file add
4917 on to its value rather than override.
4918
bc6d9014
OE
49192016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4920
4921 * config.host: Remove SH5 support.
4922 * configure: Likewise.
4923
9129c8cf
OE
49242016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4925
4926 * config/sh/crt1.S: Remove SH5 support.
4927 * config/sh/crti.S: Likewise.
4928 * config/sh/crtn.S: Likewise.
4929 * config/sh/lib1funcs-4-300.S: Likewise.
4930 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4931 * config/sh/lib1funcs.S: Likewise.
4932 * config/sh/linux-unwind.h: Likewise.
4933 * config/sh/t-sh64: Delete.
4934
39d50464
CZ
49352016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4936
4937 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4938
8b48923b
CZ
49392016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4940 Joern Rennecke <joern.rennecke@embecosm.com>
4941
4942 * config/arc/crttls.S: New file.
4943 * config/arc/t-arc: New rule.
4944 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4945
2de1cf8c
NC
49462016-04-25 Nick Clifton <nickc@redhat.com>
4947
4948 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4949 (__mspabi_cmpd): Likewise.
4950 * config/msp430/floathidf.c (__floathidf): Likewise.
4951 * config/msp430/floathisf.c (__floathisf): Likewise
4952 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4953 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4954 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4955 second parameter.
4956 (__ashrsi3): Likewise.
4957
b8ce3fe2
WB
49582016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4959
4960 * config/m68k/linux-atomic.c: Do not include unistd.h
4961
4986f823
MG
49622016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4963
4964 * config/arm/ieee754-df.S: Fix typos in comments.
4965
35fbda43
MM
49662016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4967
4968 PR target/70381
4969 * configure.ac (powerpc*-*-linux*): Rework tests to build
4970 __float128 emulation routines to not depend on using #pragma GCC
4971 target to enable -mfloat128.
4972 * configure: Regnerate.
4973
72d1a48d
EB
49742016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4975
4976 PR target/67172
4977 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4978 __MINGW32__ is defined.
4979
dc2e8995
JB
49802016-03-28 James Bowman <james.bowman@ftdichip.com>
4981
385c7747 4982 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 4983
104cdaf1
MM
49842016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4985
4986 PR libgcc/70363
4987 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4988 built with an assembler that does not support ISA 3.0
4989 instructions, rename __extendkftf2_sw to __extendkftf2.
4990
a5046f48
RO
49912016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4992
4993 PR target/38239
4994 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4995 call-clobbered registers.
4996 (internal_mcount): Remove __i386__ handling.
4997
df674f74
JS
49982016-02-26 Joel Sherrill <joel@rtems.org>
4999
5000 * config.host: Add x86_64-*-rtems*.
5001
7cb065d6
JS
50022016-02-26 Joel Sherrill <joel@rtems.org>
5003
5004 * libgcc/config.host: Add aarch64-*-rtems*.
5005
47dfdc53
PM
50062016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5007 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5008
5009 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5010 union of u64 and double.
5011 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5012 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5013 value.
5014 (FP_ROUNDMODE): Update the usage of _fpscr.
5015
e6861a99
IV
50162016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5017
5018 PR driver/68463
5019 * Makefile.in (crtoffloadtable$(objext)): New rule.
5020 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5021 enable_offload_targets is not empty.
5022 * configure: Regenerate.
5023 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5024 crtoffloadtable.
5025
9bfcbdee
MF
50262016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5027
5028 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5029 .literal_position before the function.
5030 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5031 Likewise.
5032
4cb4721f
MK
50332016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5034
5035 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5036 * config/s390/morestack.S: New file.
5037 * config/s390/t-stack-s390: New file.
5038 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5039
b29d9a29
WL
50402016-02-12 Walter Lee <walt@tilera.com>
5041
5042 * config.host (tilegx*-*-linux*): remove ti from
5043 softfp_int_modes for 32-bit configs.
5044
03a0ae7d
ILT
50452016-02-10 Ian Lance Taylor <iant@google.com>
5046
5047 PR go/68562
5048 * config/i386/morestack.S (__stack_split_initialize): Align
5049 stack.
5050
68750bce
AT
50512016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5052
5053 PR bootstrap/69611
5054 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5055 __FLOAT128__ to compile only for __float128 capable targets.
5056
7d296953
JJ
50572016-01-25 Jakub Jelinek <jakub@redhat.com>
5058
5059 PR target/69444
5060 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5061 instead of ___NO_FPRS__.
5062
a71c0334 50632016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5064 Steven Munroe <munroesj@linux.vnet.ibm.com>
5065 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
5066
5067 * config/rs6000/float128-sed: New files to convert TF names to KF
5068 names for PowerPC IEEE 128-bit floating point support.
5069 * config/rs6000/float128-sed-hw: Likewise.
5070
5071 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5072 floating point hardware support.
5073
5074 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5075 128-bit floating point software emulation or use ISA 3.0 hardware
5076 support if it is available.
5077
5078 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5079 floating point.
5080
5081 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5082 floating point to IBM extended double.
5083
5084 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5085 double to IEEE 128-bit floating point.
5086
5087 * config/rs6000/t-float128: New Makefile fragments to enable
5088 building __float128 emulation support.
5089 * config/rs6000/t-float128-hw: Likewise.
5090
5091 * config/rs6000/sfp-exceptions.c: New file to provide exception
5092 support for IEEE 128-bit floating point.
5093
5094 * config/rs6000/floattikf.c: New files for converting between IEEE
5095 128-bit floating point and signed/unsigned 128-bit integers.
5096 * config/rs6000/fixunskfti.c: Likewise.
5097 * config/rs6000/fixkfti.c: Likewise.
5098 * config/rs6000/floatuntikf.c: Likewise.
5099
5100 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5101 when building on 64-bit systems, or when VSX is enabled.
5102 (_FP_W_TYPE): Likewise.
5103 (_FP_WS_TYPE): Likewise.
5104 (_FP_I_TYPE): Likewise.
5105 (TItype): Define on 64-bit systems.
5106 (UTItype): Likewise.
5107 (TI_BITS): Likewise.
5108 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5109 (_FP_MUL_MEAT_Q): Likewise.
5110 (_FP_DIV_MEAT_D): Likewise.
5111 (_FP_DIV_MEAT_Q): Likewise.
5112 (_FP_NANFRAC_D): Likewise.
5113 (_FP_NANFRAC_Q): Likewise.
5114 (ISA_BIT): Add exception support if we are being compiled on a
5115 machine with hardware floating point support to build the IEEE
5116 128-bit emulation functions.
5117 (FP_EX_INVALID): Likewise.
5118 (FP_EX_OVERFLOW): Likewise.
5119 (FP_EX_UNDERFLOW): Likewise.
5120 (FP_EX_DIVZERO): Likewise.
5121 (FP_EX_INEXACT): Likewise.
5122 (FP_EX_ALL): Likewise.
5123 (__sfp_handle_exceptions): Likewise.
5124 (FP_HANDLE_EXCEPTIONS): Likewise.
5125 (FP_RND_NEAREST): Likewise.
5126 (FP_RND_ZERO): Likewise.
5127 (FP_RND_PINF): Likewise.
5128 (FP_RND_MINF): Likewise.
5129 (FP_RND_MASK): Likewise.
5130 (_FP_DECL_EX): Likewise.
5131 (FP_INIT_ROUNDMODE): Likewise.
5132 (FP_ROUNDMODE): Likewise.
5133
5134 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5135 VSX code, enable IEEE 128-bit floating point. If the compiler can
5136 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5137 floating point hardware instructions and it supports declaring
5138 functions with the ifunc attribute, enable ifunc functions to
5139 switch between software and hardware support.
5140 * configure.ac (powerpc*-*-linux*): Likewise.
5141 * configure: Regenerate.
5142
bdc27e50
NC
51432016-01-15 Nick Clifton <nickc@redhat.com>
5144
5145 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5146 dependency as the source file to be compiled.
5147 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5148 (lib2hw_mul_f5.o): Likewise.
5149
006df05d
MM
51502016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5151
5152 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5153 * libgcc/config/rs6000/fixkfti.c: Likewise.
5154 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5155 * libgcc/config/rs6000/float128-hw.c: Likewise.
5156 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5157 * libgcc/config/rs6000/float128-sed: Likewise.
5158 * libgcc/config/rs6000/floattikf.c: Likewise.
5159 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5160 * libgcc/config/rs6000/quad-float128.h: Likewise.
5161 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5162 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5163 * libgcc/config/rs6000/t-float128: Likewise.
5164 * libgcc/config/rs6000/t-float128-hw: Likewise.
5165 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5166 * libgcc/config.host: Likewise.
5167 * libgcc/configure: Likewise.
5168 * libgcc/configure.ac: Likewise.
5169
29176d57 51702016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5171 Steven Munroe <munroesj@linux.vnet.ibm.com>
5172 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
5173
5174 * config/rs6000/sfp-exceptions.c: New file to provide exception
5175 support for IEEE 128-bit floating point.
5176
5177 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5178 floating point hardware support.
5179
5180 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5181 point conversions.
5182 * config/rs6000/fixunskfti.c: Likewise.
5183 * config/rs6000/fixkfti.c: Likewise.
5184 * config/rs6000/floatuntikf.c: Likewise.
5185 * config/rs6000/extendkftf2-sw.c: Likewise.
5186 * config/rs6000/trunctfkf2-sw.c: Likewise.
5187
5188 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5189 128-bit floating point software emulation or use ISA 3.0 hardware
5190 support if it is available.
5191
5192 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5193 floating point.
5194
5195 * config/rs6000/t-float128: New Makefile fragments to enable
5196 building __float128 emulation support.
5197 * config/rs6000/t-float128-hw: Likewise.
5198
5199 * config/rs6000/float128-sed: New file to convert TF names to KF
5200 names for PowerPC IEEE 128-bit floating point support.
5201
5202 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5203 when building on 64-bit systems, or when VSX is enabled.
5204 (_FP_W_TYPE): Likewise.
5205 (_FP_WS_TYPE): Likewise.
5206 (_FP_I_TYPE): Likewise.
5207 (TItype): Define on 64-bit systems.
5208 (UTItype): Likewise.
5209 (TI_BITS): Likewise.
5210 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5211 (_FP_MUL_MEAT_Q): Likewise.
5212 (_FP_DIV_MEAT_D): Likewise.
5213 (_FP_DIV_MEAT_Q): Likewise.
5214 (_FP_NANFRAC_D): Likewise.
5215 (_FP_NANFRAC_Q): Likewise.
5216 (ISA_BIT): Add exception support if we are being compiled on a
5217 machine with hardware floating point support to build the IEEE
5218 128-bit emulation functions.
5219 (FP_EX_INVALID): Likewise.
5220 (FP_EX_OVERFLOW): Likewise.
5221 (FP_EX_UNDERFLOW): Likewise.
5222 (FP_EX_DIVZERO): Likewise.
5223 (FP_EX_INEXACT): Likewise.
5224 (FP_EX_ALL): Likewise.
5225 (__sfp_handle_exceptions): Likewise.
5226 (FP_HANDLE_EXCEPTIONS): Likewise.
5227 (FP_RND_NEAREST): Likewise.
5228 (FP_RND_ZERO): Likewise.
5229 (FP_RND_PINF): Likewise.
5230 (FP_RND_MINF): Likewise.
5231 (FP_RND_MASK): Likewise.
5232 (_FP_DECL_EX): Likewise.
5233 (FP_INIT_ROUNDMODE): Likewise.
5234 (FP_ROUNDMODE): Likewise.
5235
5236 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5237 compiler can do __float128.
5238 * configure: Regenerate.
5239
5240 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5241 VSX code, enable IEEE 128-bit floating point.
5242
a2218983
OH
52432016-01-05 Olivier Hainque <hainque@adacore.com>
5244
5245 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 5246 specificities.
a2218983 5247
818ab71a
JJ
52482016-01-04 Jakub Jelinek <jakub@redhat.com>
5249
5250 Update copyright years.
5251
5a6c8ffa
AP
52522015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5253
5254 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 5255 soft-fp targets.
5a6c8ffa 5256
077067a5
BE
52572015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5258
5259 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5260 instead of abort to avoid dependency on stdlib.h.
5261
787c1027
JDA
52622015-12-09 John David Anglin <danglin@gcc.gnu.org>
5263
5264 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5265 to initialize call to __dl_fixup once.
5266
04a9ae28
NC
52672015-12-04 Nick Clifton <nickc@redhat.com>
5268
5269 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5270 Allow for the second argument being negative.
5271 * config.host (extra_parts): Define for MSP430. Create separate
5272 libraries for each of the hardware multiply formats.
5273 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5274 that are needed.
5275 * config/msp430/lib2mul.c: Likewise.
5276 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5277 Add rules to build hardware multiply libraries.
5278 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5279 __mspabi_divul function.
5280 (__mspabi_divllu): New stub function.
5281
9a32d437
JDA
52822015-12-01 John David Anglin <danglin@gcc.gnu.org>
5283
5284 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5285 fixup values if saved GOT address doesn't match runtime address.
5286 (fixup_branch_offset): Reorder list.
5287
e5ef217c
RO
52882015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5289
5290 * Makefile.in (VTV_CFLAGS): New variable.
5291 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5292 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5293 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5294 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5295 to extra_parts if $enable_vtable_verify = yes.
5296
78cc43a2
SN
52972015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5298
5299 PR target/68059
5300 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5301 (write): ...this and fix the return type.
5302
9afebea2
DD
53032015-11-19 DJ Delorie <dj@redhat.com>
5304
5305 * config/msp430/lib2hw_mul.S: Fix alignment.
5306
33f47f42
NS
53072015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5308
5309 * config/nvptx/reduction.c: New.
5310 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5311
d9adb476
DE
53122015-11-15 David Edelsohn <dje.gcc@gmail.com>
5313
5314 * config/rs6000/on_exit.c: New file.
5315 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5316 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5317
c0ab1970
CZ
53182015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5319
5320 * config/arc/dp-hack.h: Add support for ARCHS.
5321 * config/arc/ieee-754/divdf3.S: Likewise.
5322 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5323 * config/arc/ieee-754/muldf3.S: Likewise.
5324 * config/arc/ieee-754/mulsf3.S: Likewise
5325 * config/arc/lib1funcs.S: Likewise
5326 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5327 for ARCv2 cores.
5328 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5329 for ARCv2 cores.
5330 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5331 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5332 cores.
5333
e6b6bf09
RO
53342015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5335
5336 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5337 value.
5338 * config/ia64/crtend.S: Likewise.
5339
a153644f
TS
53402015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5341
5342 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5343 __CHAR_BIT__ instead of BITS_PER_UNIT.
5344 * fixed-bit.h: Likewise.
5345 * fp-bit.h: Likewise.
5346 * libgcc2.c (__popcountSI2): Likewise.
5347 (__popcountDI2): Likewise.
5348 * libgcc2.h: Likewise.
5349 * libgcov.h: Likewise.
5350
3dee689d
DE
53512015-11-07 David Edelsohn <dje.gcc@gmail.com>
5352
5353 * config/rs6000/atexit.c: New file.
5354 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5355 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5356 * config/rs6000/cxa_finalize.c
5357 (catomic_compare_and_exchange_bool_acq): Negate return value.
5358
2ef543e4
VK
53592015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5360
5361 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5362 (processor_subtypes): Add znver1.
5363 (get_amd_cpu): Detect znver1.
5364
1300f017
CL
53652015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5366
5367 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5368 Include crtfastmath.o.
5369
3e5bb7ee
JR
53702015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5371
5372 PR libgcc/66883
5373 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 5374
793aa938
KP
53752015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5376
5377 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5378 * config/rl78/divmodsi.S: Update return register to r8.
5379 * config/rl78/divmodhi.S: Update return register to r8,r9.
5380 Branch to main_loop_done_himode to pop registers before return.
5381
7d296953 53822015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
5383
5384 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5385 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5386
6a192b5a
KY
53872015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5388
5389 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5390
4a0a9457
MF
53912015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5392
5393 * config.host (xtensa*-*-uclinux*): New configuration.
5394
ab91c076
KY
53952015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5396
385c7747 5397 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5398 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5399
30954527
JM
54002015-09-28 Joseph Myers <joseph@codesourcery.com>
5401
5402 * soft-fp/adddf3.c: Update from glibc.
5403 * soft-fp/addsf3.c: Likewise.
5404 * soft-fp/addtf3.c: Likewise.
5405 * soft-fp/divdf3.c: Likewise.
5406 * soft-fp/divsf3.c: Likewise.
5407 * soft-fp/divtf3.c: Likewise.
5408 * soft-fp/double.h: Likewise.
5409 * soft-fp/eqdf2.c: Likewise.
5410 * soft-fp/eqsf2.c: Likewise.
5411 * soft-fp/eqtf2.c: Likewise.
5412 * soft-fp/extenddftf2.c: Likewise.
5413 * soft-fp/extended.h: Likewise.
5414 * soft-fp/extendsfdf2.c: Likewise.
5415 * soft-fp/extendsftf2.c: Likewise.
5416 * soft-fp/extendxftf2.c: Likewise.
5417 * soft-fp/fixdfdi.c: Likewise.
5418 * soft-fp/fixdfsi.c: Likewise.
5419 * soft-fp/fixdfti.c: Likewise.
5420 * soft-fp/fixsfdi.c: Likewise.
5421 * soft-fp/fixsfsi.c: Likewise.
5422 * soft-fp/fixsfti.c: Likewise.
5423 * soft-fp/fixtfdi.c: Likewise.
5424 * soft-fp/fixtfsi.c: Likewise.
5425 * soft-fp/fixtfti.c: Likewise.
5426 * soft-fp/fixunsdfdi.c: Likewise.
5427 * soft-fp/fixunsdfsi.c: Likewise.
5428 * soft-fp/fixunsdfti.c: Likewise.
5429 * soft-fp/fixunssfdi.c: Likewise.
5430 * soft-fp/fixunssfsi.c: Likewise.
5431 * soft-fp/fixunssfti.c: Likewise.
5432 * soft-fp/fixunstfdi.c: Likewise.
5433 * soft-fp/fixunstfsi.c: Likewise.
5434 * soft-fp/fixunstfti.c: Likewise.
5435 * soft-fp/floatdidf.c: Likewise.
5436 * soft-fp/floatdisf.c: Likewise.
5437 * soft-fp/floatditf.c: Likewise.
5438 * soft-fp/floatsidf.c: Likewise.
5439 * soft-fp/floatsisf.c: Likewise.
5440 * soft-fp/floatsitf.c: Likewise.
5441 * soft-fp/floattidf.c: Likewise.
5442 * soft-fp/floattisf.c: Likewise.
5443 * soft-fp/floattitf.c: Likewise.
5444 * soft-fp/floatundidf.c: Likewise.
5445 * soft-fp/floatundisf.c: Likewise.
5446 * soft-fp/floatunditf.c: Likewise.
5447 * soft-fp/floatunsidf.c: Likewise.
5448 * soft-fp/floatunsisf.c: Likewise.
5449 * soft-fp/floatunsitf.c: Likewise.
5450 * soft-fp/floatuntidf.c: Likewise.
5451 * soft-fp/floatuntisf.c: Likewise.
5452 * soft-fp/floatuntitf.c: Likewise.
5453 * soft-fp/gedf2.c: Likewise.
5454 * soft-fp/gesf2.c: Likewise.
5455 * soft-fp/getf2.c: Likewise.
5456 * soft-fp/ledf2.c: Likewise.
5457 * soft-fp/lesf2.c: Likewise.
5458 * soft-fp/letf2.c: Likewise.
5459 * soft-fp/muldf3.c: Likewise.
5460 * soft-fp/mulsf3.c: Likewise.
5461 * soft-fp/multf3.c: Likewise.
5462 * soft-fp/negdf2.c: Likewise.
5463 * soft-fp/negsf2.c: Likewise.
5464 * soft-fp/negtf2.c: Likewise.
5465 * soft-fp/op-1.h: Likewise.
5466 * soft-fp/op-2.h: Likewise.
5467 * soft-fp/op-4.h: Likewise.
5468 * soft-fp/op-8.h: Likewise.
5469 * soft-fp/op-common.h: Likewise.
5470 * soft-fp/quad.h: Likewise.
5471 * soft-fp/single.h: Likewise.
5472 * soft-fp/soft-fp.h: Likewise.
5473 * soft-fp/subdf3.c: Likewise.
5474 * soft-fp/subsf3.c: Likewise.
5475 * soft-fp/subtf3.c: Likewise.
5476 * soft-fp/truncdfsf2.c: Likewise.
5477 * soft-fp/trunctfdf2.c: Likewise.
5478 * soft-fp/trunctfsf2.c: Likewise.
5479 * soft-fp/trunctfxf2.c: Likewise.
5480 * soft-fp/unorddf2.c: Likewise.
5481 * soft-fp/unordsf2.c: Likewise.
5482 * soft-fp/unordtf2.c: Likewise.
5483
4dfe21ac
RE
54842015-09-24 Richard Earnshaw <rearnsha@arm.com>
5485
5486 PR libgcc/67624
5487 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5488
df2a1cc4
RO
54892015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5490
5491 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5492 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5493 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5494 messages.
5495 (internal_mcount): Likewise.
5496 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5497 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5498
2d110442
RO
54992015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5500
5501 * configure.ac (libgcc_cv_solaris_crts): New test.
5502 * configure: Regenerate.
5503 * config.in: Regenerate.
5504 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5505 * config/gmon-sol2.c: Rename to ...
5506 * config/sol2/gmon.c: ... this.
5507 Include auto-target.h.
5508 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5509 * config/t-sol2: Rename to ...
5510 * config/sol2/t-sol2: ... this.
5511 (gmon.o): Reflect renaming.
5512 (crtp.o, crtpg.o): New rules.
5513 * config.host (*-*-solaris2*): Reflect renaming.
5514 Use system CRTs if present.
5515 Remove default CRT case.
5516
d572e439
JDA
55172015-09-23 John David Anglin <danglin@gcc.gnu.org>
5518
5519 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5520 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5521 __kernel_cmpxchg2.
5522 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5523 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5524 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5525 (__sync_lock_test_and_set_##WIDTH): Likewise.
5526 (__sync_lock_release_##WIDTH): Likewise.
5527 (__sync_fetch_and_##OP##_4): Change result to match type of
5528 __kernel_cmpxchg.
5529 (__sync_##OP##_and_fetch_4): Likewise.
5530 (__sync_val_compare_and_swap_4): Likewise.
5531 (__sync_bool_compare_and_swap_4): likewise.
5532 (__sync_lock_test_and_set_4): Likewise.
5533 (__sync_lock_release_4): Likewise.
5534 (FETCH_AND_OP_2): Add long long variants.
5535 (OP_AND_FETCH_2): Likewise.
5536 (COMPARE_AND_SWAP_2 ): Likewise.
5537 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5538 (SYNC_LOCK_RELEASE_2): Likewise.
5539 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5540
7d296953 55412015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5542
5543 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5544 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5545 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5546 (get_available_features): Habdle new features.
5547
131314e1
JB
55482015-09-21 James Bowman <james.bowman@ftdichip.com>
5549
5550 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5551 memory layout. Deal correctly with BSS region larger than 32K.
5552 Handle a watchdog reset like a power-on reset. Clean up unused
5553 code.
5554
04218b35
AD
55552015-09-18 Andrew Dixie <andrewd@gentrack.com>
5556 David Edelsohn <dje.gcc@gmail.com>
5557
5558 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5559 * config/rs6000/crtdbase.S: New file.
5560 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5561
c8338173
MF
55622015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5563
5564 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5565 Add support for call0 ABI.
5566
7a84bf71
JDA
55672015-09-13 John David Anglin <danglin@gcc.gnu.org>
5568
5569 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5570
4efab402
SH
55712015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5572
5573 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5574 (__GTHREAD_HAS_COND): Likewise.
5575 (__gthread_t): Likewise.
5576 (__gthread_cond_t): Likewise.
5577 (__gthread_time_t): Likewise.
5578 (__GTHREAD_MUTEX_INIT): Likewise.
5579 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5580 (__GTHREAD_COND_INIT): Likewise.
5581 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5582 (__GTHREAD_TIME_INIT): Likewise.
5583 (__gthread_create): Likewise.
5584 (__gthread_join): Likewise.
5585 (__gthread_detach): Likewise.
5586 (__gthread_equal): Likewise.
5587 (__gthread_self): Likewise.
5588 (__gthread_yield): Likewise.
5589 (__gthread_cond_broadcast): Likewise.
5590 (__gthread_cond_signal): Likewise.
5591 (__gthread_cond_wait): Likewise.
5592 (__gthread_cond_timedwait): Likewise.
5593 (__gthread_cond_wait_recursive): Likewise.
5594 (__gthread_cond_destroy): Likewise.
5595 (rtems_gxx_once): Delete.
5596 (rtems_gxx_key_create): Likewise.
5597 (rtems_gxx_key_delete): Likewise.
5598 (rtems_gxx_getspecific): Likewise.
5599 (rtems_gxx_setspecific): Likewise.
5600 (rtems_gxx_mutex_init): Likewise.
5601 (rtems_gxx_mutex_destroy): Likewise.
5602 (rtems_gxx_mutex_lock): Likewise.
5603 (rtems_gxx_mutex_trylock): Likewise.
5604 (rtems_gxx_mutex_unlock): Likewise.
5605 (rtems_gxx_recursive_mutex_init): Likewise.
5606 (rtems_gxx_recursive_mutex_lock): Likewise.
5607 (rtems_gxx_recursive_mutex_trylock): Likewise.
5608 (rtems_gxx_recursive_mutex_unlock): Likewise.
5609 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5610 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5611 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5612 (__gthread_once): Likewise.
5613 (__gthread_key_create): Likewise.
5614 (__gthread_key_delete): Likewise.
5615 (__gthread_getspecific): Likewise.
5616 (__gthread_setspecific): Likewise.
5617 (__gthread_key_t): Use <pthread.h> type.
5618 (__gthread_once_t): Likewise
5619 (__gthread_mutex_t): Use <sys/lock.h> type.
5620 (__gthread_recursive_mutex_t): Likewise
5621 (__gthread_mutex_lock): Use <sys/lock.h> function.
5622 (__gthread_mutex_trylock): Likewise.
5623 (__gthread_mutex_timedlock): Likewise.
5624 (__gthread_mutex_unlock): Likewise.
5625 (__gthread_mutex_destroy): Likewise.
5626 (__gthread_recursive_mutex_lock): Likewise.
5627 (__gthread_recursive_mutex_trylock): Likewise.
5628 (__gthread_recursive_mutex_timedlock): Likewise.
5629 (__gthread_recursive_mutex_unlock): Likewise.
5630 (__gthread_recursive_mutex_destroy): Likewise.
5631
991995c4
MF
56322015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5633
5634 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5635 context->sp instead of context->cfa.
5636
0e19db59
MF
56372015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5638
5639 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5640 with unwind-dw2-fde-dip.
5641
b6ac5f62
MF
56422015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5643
5644 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5645 CALL12 followed by series of ENTRY to spill windowed registers.
5646 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5647 instead of making linux spill syscall.
5648
3e0f3349
YR
56492015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5650
5651 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5652 (get_intel_cpu): Likewise.
5653
51c728b1
L
56542015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5655
5656 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5657 (get_intel_cpu): Add Knights Landing support.
5658
aff4eeac
UB
56592015-08-11 Uros Bizjak <ubizjak@gmail.com>
5660
5661 PR target/66954
5662 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5663 (get_available_features): Handle FEATURE_PCLMUL.
5664
736e56da
L
56652015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5668 Broadwell.
5669
54d22142
UB
56702015-07-22 Uros Bizjak <ubizjak@gmail.com>
5671
5672 PR target/66954
5673 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5674 (get_available_features): Handle FEATURE_AES.
5675
20ca17e4
CLT
56762015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5677
5678 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5679 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5680
ebe4a560
NS
56812015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5682
5683 * offloadstuff.c: Constify host data.
5684
180744c0
JB
56852015-07-17 Jan Beulich <jbeulich@suse.com>
5686
5687 * config/t-softfp: Split up "else ifneq".
5688
a03c6ae3
SL
56892015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5690 Cesar Philippidis <cesar@codesourcery.com>
5691 Chung-Lin Tang <cltang@codesourcery.com>
5692
5693 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5694 for __nios2_arch__ level.
5695
73358db5
JM
56962015-07-13 John Marino <gnugcc@marino.st>
5697
5698 * config/i386/t-dragonfly: New.
5699
f9a12f7b
JDA
57002015-07-01 John David Anglin <danglin@gcc.gnu.org>
5701
5702 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5703 better match light-weight syscall argument order.
5704 (__kernel_cmpxchg2): Likewise.
5705 Adjust callers.
5706
cb78b51c
L
57072015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5708
5709 * config.host: Support i[34567]86-*-elfiamcu target.
5710 * config/t-softfp-sfdftf: New file.
5711 * config/i386/32/t-iamcu: Likewise.
5712 * configure: Regenerated.
5713
4fa0f9ea
JL
57142015-06-23 James Lemke <jwlemke@codesourcery.com>
5715
5716 libgcc/config/arm/
5717 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5718
428b3812
L
57192015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5720
5721 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5722
7d296953 57232015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
5724
5725 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5726 md_unwind_header
5727 * config/i386/freebsd-unwind.h: New.
5728
9b789cc1
UB
57292015-05-22 Uros Bizjak <ubizjak@gmail.com>
5730
5731 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5732 i386/t-crtfm to tmake_file.
5733 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5734 (set_fast_math): Use set_fast_math_sse for SSE targets.
5735 * config/i386/t-crtfm: Remove.
5736
3dafb220
AM
57372015-05-21 Alan Modra <amodra@gmail.com>
5738
5739 PR libgcc/66225
5740 * config/rs6000/morestack.S: Remove ".abiversion 1".
5741
0f0fd745
AM
57422015-05-20 Alan Modra <amodra@gmail.com>
5743
5744 * config/rs6000/morestack.S: New.
5745 * config/rs6000/t-stack-rs6000: New.
5746 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5747 to tmake_file.
5748 * generic-morestack.c: Don't build for powerpc 32-bit.
5749
515ae71b
EB
57502015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5751
5752 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5753 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5754
36805406
JL
57552015-05-16 James Bowman <james.bowman@ftdichip.com>
5756
5757 * config.host: FT32 target added.
5758 * config/ft32/*: New files for FT32 target.
5759
ff935d0c
MG
57602015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5761
385c7747
UB
5762 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5763 New macros.
5764 * config/arm/ieee754-df.S: Add CFI directives.
5765 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 5766
9b92a9f3
EB
57672015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5768
5769 * configure.ac: Include config/sjlj.m4.
5770 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5771 * config.in: Regenerate.
5772 * configure: Likewise.
5773 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5774
98b5dc61
UB
57752015-05-12 Uros Bizjak <ubizjak@gmail.com>
5776
5777 * libgcov-util.c: Add space between string literal and macro name.
5778
5a0ff57c
SL
57792015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5780 Chris Jones <chrisj@nvidia.com>
5781 Joshua Conner <jconner@nvidia.com>
5782
5783 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5784 (arm*-*-uclinux*): Likewise.
5785 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5786 * config/arm/crtfastmath.c: New file.
5787
d28ad5d4
BS
57882014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5789
5790 * Makefile.in (real_host_noncanonical): New variable.
5791 (libsubdir): Use it.
5792 * configure.ac (real_host_noncanonical): Compute. Remove special
5793 case for intelmicemul.
5794 * configure: Regenerate.
5795
cc86234f
UB
57962015-04-28 Uros Bizjak <ubizjak@gmail.com>
5797
5798 * config/frv/elf-lib.h: New file.
5799 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5800 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5801 to tm_file.
5802
58032015-04-28 Uros Bizjak <ubizjak@gmail.com>
5804
5805 * config/frv/frvbengin.c: Do not include defaults.h
5806 * config/frv/frvend.c: Ditto.
5807
2f6bd6eb
YS
58082015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5809
5810 * config.host: Add h8300-*-linux
5811 * config/h8300/t-linux: New file.
5812 * config/h8300/lib1funs.s: Change symbol prefix.
5813 * config/h8300/sfp-machine.h: 64bit double support.
5814
15aa7b44
GR
58152015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5816 Szabolcs Nagy <szabolcs.nagy@arm.com>
5817
5818 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5819 Linux if target provides dl_iterate_phdr.
5820
abd0cdc9
L
58212015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5822
5823 PR target/65612
5824 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5825 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5826 (__cpu_indicator_init@GCC_4.8.0): New.
5827 (__cpu_model@GCC_4.8.0): Likewise.
5828 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5829 -DUSE_ELF_SYMVER.
5830
72ed1126
NC
58312015-04-16 Nick Clifton <nickc@redhat.com>
5832
5833 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5834 and __modhi3 functions.
5835 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5836 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5837
d26b2237
CG
58382015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5839
5840 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5841 do-while loop as macro body to avoid warnings.
5842
cacf1f59
JJ
58432015-04-10 Jakub Jelinek <jakub@redhat.com>
5844 Iain Sandoe <iain@codesourcery.com>
5845
5846 PR target/65351
5847 * configure: Regenerate.
5848
e8a4ed3b
JJ
58492015-04-07 Jakub Jelinek <jakub@redhat.com>
5850 Iain Sandoe <iain@codesourcery.com>
5851
5852 PR target/65351
5853 * configure: Regenerate.
5854
0341335e
CLT
58552015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5856
5857 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5858
590e2636 58592015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 5860
590e2636
MF
5861 Implement call0 ABI for xtensa
5862 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5863 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5864 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5865 use ret in call0 ABI.
5866 * config/xtensa/t-windowed: New file.
5867 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5868 * libgcc/configure: Regenerated.
5869 * libgcc/configure.ac: Check if xtensa target is configured for
5870 windowed ABI and thus needs to use custom unwind code.
5871
7727f8f2
JW
58722015-02-12 Jonathan Wakely <jwakely@redhat.com>
5873
5874 PR libgcc/64885
5875 * gthr-single.h: Use __unused__ attribute instead of unused.
5876 * config/gthr-vxworks.h: Likewise.
5877 * config/i386/gthr-win32.h: Likewise.
5878
0e4a0def
KT
58792015-02-27 Kai Tietz <ktietz@redhat.com>
5880
5881 PR target/65038
5882 * config.in: Regenerated.
5883 * configure: Likewise.
5884 * configure.ac (AC_HEADER_STDC): Added explicit.
5885 (AC_CHECK_HEADERS): Check for default headers plus
5886 for ftw.h header.
5887 * libgcov-util.c (gcov_read_profile_dir): Disable use
5888 of ftw-function, if header is not found.
5889 (ftw_read_file): Likewise.
5890
b6530d0a
TS
58912015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5892
5893 PR target/65181
5894 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5895 -Dinhibit_libc.
5896
53cfb467
SL
58972015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5898
5899 * config/arm/bpabi.S (test_div_by_zero): Make label names
5900 consistent between thumb2 and arm mode cases. Separate the
5901 signed comparison on the high word of the numerator from the
5902 unsigned comparison on the low word.
5903 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5904 signed comparison.
5905
77d10a1b
JM
59062015-02-17 Joseph Myers <joseph@codesourcery.com>
5907
5908 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5909 and <string.h>.
5910 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5911
98174188
RE
59122015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5913
5914 PR gcov-profile/61889
471274de 5915 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 5916
771bef14
NC
59172015-02-02 Nick Clifton <nickc@redhat.com>
5918
5919 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5920 rounding up the fraction.
5921
40702893
JDA
59222015-01-31 John David Anglin <danglin@gcc.gnu.org>
5923
5924 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5925 oldval and newval to const void *. Fix typo.
5926 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5927 (FETCH_AND_OP_WORD): Likewise.
5928 (OP_AND_FETCH_WORD): Likewise.
5929 (COMPARE_AND_SWAP_2): Likewise.
5930 (__sync_val_compare_and_swap_4): Likewise.
5931 (__sync_lock_test_and_set_4): Likewise.
5932 (SYNC_LOCK_RELEASE_2): Likewise.
5933 Remove support for long long atomic operations.
5934
f7f049fa
CT
59352015-01-27 Caroline Tice <cmtice@google.com>
5936
5937 Committing VTV Cywin/Ming patch for Patrick Wollgast
5938 * Makefile.in: Move rules to build vtv_*.o out of the check
5939 for CUSTOM_CRTSTUFF.
5940 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5941 i[34567]86-*-mingw*)
3d3b561f 5942 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
f7f049fa
CT
5943 enable_vtable_verify.
5944
8410904a
NC
59452015-01-27 Nick Clifton <nickc@redhat.com>
5946
5947 * config/rl78/cmpsi2.S: Use function start and end macros.
5948 (__gcc_bcmp): New function.
5949 * config/rl78/lshrsi3.S: Use function start and end macros.
5950 * config/rl78/mulsi3.S: Add support for G10.
5951 (__mulqi3): New function for G10.
5952 * config/rl78/signbit.S: Use function start and end macros.
5953 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5954 fpmath-sf.S.
5955 (LIB2FUNCS_EXCLUDE): Define.
5956 (LIB2FUNCS_ST): Define.
5957 * config/rl78/trampoline.S: Use function start and end macros.
5958 * config/rl78/vregs.h (START_FUNC): New macro.
5959 (START_ANOTHER_FUNC): New macro.
5960 (END_FUNC): New macro.
5961 (END_ANOTHER_FUNC): New macro.
5962 * config/rl78/bit-count.S: New file. Contains assembler
5963 implementations of the bit counting functions: ___clzhi2,
5964 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5965 __paritysi2, __popcounthi2 and __popcountsi2.
5966 * config/rl78/fpbit-sf.S: New file. Contains assembler
5967 implementationas of the math functions: __negsf2, __cmpsf2,
5968 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5969 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5970 * config/rl78/fpmath-sf.S: New file. Contains assembler
5971 implementations of the math functions: __subsf3, __addsf3,
5972 __mulsf3 and __divsf3
5973
f962fbf1
RO
59742015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5975
5976 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5977 Add i386/elf-lib.h to tm_file.
5978 * config/i386/elf-lib.h: Fix comment.
5979 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5980 && __sun__ && __svr4__]: Remove workaround.
5981
939911c5
ASJ
59822015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5983
5984 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5985 FEATURE_BMI2.
5986 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5987
c8f2dff2
L
59882015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5989
5990 * config/i386/cpuinfo.c (processor_subtypes): Add
5991 INTEL_COREI7_BROADWELL.
5992 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5993 model numbers.
5994
7bbf9734
UB
59952015-01-23 Uros Bizjak <ubizjak@gmail.com>
5996
5997 * config/i386/elf-lib.h: New file.
5998 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5999 Wrap definition in #ifdef __i386__.
6000 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6001 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6002 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6003 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6004 to tm_file.
6005
324820f1
CG
60062015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6007
6008 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6009 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6010
a9ce4e4a
CLT
60112015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6012
6013 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6014 Update rt_sigframe format and address for current Nios II
6015 Linux conventions.
6016
82a19768
AT
60172015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6018
6019 * config.host (arm*-*-freebsd*): Add new configuration for
6020 arm*-*-freebsd*.
6021 * config/arm/freebsd-atomic.c: New file.
6022 * config/arm/t-freebsd: Likewise.
6023 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6024 'PC-relative indirect' OS's.
6025
0969ec7d
EB
60262015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6027
6028 * config.host: Add Visium support.
6029 * config/visium: New directory.
6030
5624e564
JJ
60312015-01-05 Jakub Jelinek <jakub@redhat.com>
6032
6033 Update copyright years.
6034
82f84ecb
MF
60352014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6036
6037 * config.host: Support mipsisa32r6 and mipsisa64r6.
6038 * config/mips/mips16.S: Do not build for R6.
6039
69044fa9
OE
60402014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6041
6042 * config/sh/crt.h: New.
6043 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6044 symbols.
6045 * config/sh/crt1.S: Likewise.
6046
2405e0ea
UB
60472014-12-15 Uros Bizjak <ubizjak@gmail.com>
6048
6049 PR libgcc/63832
6050 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6051 func_ptr *dtor_list temporary variable to avoid "array subscript
6052 is above array bounds" warnings.
6053
7d296953 60542014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
6055
6056 * Makefile.in (with_aix_soname): Define.
6057 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6058 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6059 * configure: Recreate.
6060
a66272f6
OH
60612014-12-05 Olivier Hainque <hainque@adacore.com>
6062
6063 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6064 now provided by defaults.h.
6065
6342b2c5
OE
60662014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6067
7d0ee249 6068 PR target/55351
6342b2c5
OE
6069 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6070 whether it's defined.
6071
c17eac85
IT
60722014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6073
6074 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6075 * config/i386/cpuinfo.c (get_available_features): Detect it.
6076
1025cb6c
TW
60772014-11-27 Tony Wang <tony.wang@arm.com>
6078
6079 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6080 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6081 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6082
d19f2e38
SB
60832014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6084
6085 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6086
17f6e9a3
JDA
60872014-11-24 John David Anglin <danglin@gcc.gnu.org>
6088
6089 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6090 instead.
6091
0cd7c672
GM
60922014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6093 John David Anglin <danglin@gcc.gnu.org>
6094
6095 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6096 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6097 (OP_AND_FETCH_2): Likewise.
6098 (COMPARE_AND_SWAP_2): Likewise.
6099 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6100 (SYNC_LOCK_RELEASE_2): Likewise.
6101 (SUBWORD_SYNC_OP): Remove.
6102 (SUBWORD_VAL_CAS): Likewise.
6103 (SUBWORD_BOOL_CAS): Likewise.
6104 (FETCH_AND_OP_WORD): Update.
6105 Consistently use signed types.
cc86234f 6106
85c64bbe
BS
61072014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6108 Thomas Schwinge <thomas@codesourcery.com>
6109 Ilya Verbin <ilya.verbin@intel.com>
6110 Andrey Turetskiy <andrey.turetskiy@intel.com>
6111
6112 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6113 (crtoffloadend$(objext)): Likewise.
6114 * configure: Regenerate.
6115 * configure.ac (accel_dir_suffix): Compute new variable.
6116 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6117 if enable_offload_targets is not empty.
6118 * offloadstuff.c: New file.
6119
52a1ff8b
NC
61202014-11-13 Nick Clifton <nickc@redhat.com>
6121
6122 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6123 Use START_FUNC and END_FUNC macros to enable linker garbage
6124 collection.
6125 * config/rl78/divmodqi.S: Likewise.
6126 * config/rl78/divmodsi.S: Likewise.
6127 * config/rl78/mulsi3.S: Likewise.
6128 * config/rl78/lib2div.c: Remove G10 functions.
6129 * config/rl78/lib2muls.c: Likewise.
6130 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6131 * config/rl78/vregs.h (START_FUNC): New macro.
6132 (END_FUNC): New macro.
6133
050af144
MF
61342014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6135
6136 * config/mips/mips16.S: Set .module when supported. Update O32
6137 FP64 calling convention and use for FPXX when possible. Add FPXX
6138 calling convention fallback case.
6139
738f2522
BS
61402014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6141
6142 * config.host: Handle nvptx-*-*.
6143 * shared-object.mk (as-flags-$o): Define.
6144 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6145 -xassembler-with-cpp.
6146 * static-object.mk: Identical changes.
6147 * config/nvptx/t-nvptx: New file.
6148 * config/nvptx/crt0.s: New file.
6149 * config/nvptx/free.asm: New file.
6150 * config/nvptx/malloc.asm: New file.
6151 * config/nvptx/realloc.c: New file.
6152
e610393c
JM
61532014-10-30 Joseph Myers <joseph@codesourcery.com>
6154
6155 * Makefile.in (libgcc.map.in): New target.
6156 (libgcc.map): Use libgcc.map.in.
6157 * config/t-softfp (softfp_compat): New variable to be set by
6158 users.
6159 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6160 variables.
6161 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6162 directory.
6163 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6164 that use compat symbols and disable all code unless [SHARED].
6165 * config/t-softfp-compat: New file.
6166 * find-symver.awk: New file.
6167 * configure.ac (--with-glibc-version): New configure option.
6168 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6169 * configure: Regenerate.
6170 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6171 soft-float and e500.
6172
bc1b3a88
JM
61732014-10-29 Joseph Myers <joseph@codesourcery.com>
6174
6175 * config/t-hardfp (hardfp_exclusions): Document new variable for
6176 user to define.
6177 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6178 * config/t-softfp (softfp_extras): Document new variable for user
6179 to define.
6180 (softfp_func_list): Add functions from $(softfp_extras).
6181 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6182 * config.host (powerpc*-*-linux*): For e500v1, use
6183 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6184 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6185 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6186
ef2810c1
JDA
61872014-10-26 John David Anglin <danglin@gcc.gnu.org>
6188
6189 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6190 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6191 memory read accesses are ok.
6192
d80c2bea
JM
61932014-10-25 Joseph Myers <joseph@codesourcery.com>
6194
6195 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6196 * configure: Regenerate.
6197 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6198 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6199 of soft-fp for 32-bit classic hard float. Do not use
6200 t-softfp-excl for soft float.
6201
693b297b
JM
62022014-10-22 Joseph Myers <joseph@codesourcery.com>
6203
6204 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6205 configurations.
6206 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6207 Remove variables.
6208
18a3415e
GJL
62092014-10-22 Georg-Johann Lay <avr@gjlay.de>
6210
6211 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6212 introduced with 2014-10-21 trunk r216525.
6213
c1dd9790 62142014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
6215 Vidya Praveen <vidya.praveen@atmel.com>
6216 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6217 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6218 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
6219
6220 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6221 order.
6222
6223 Updated library functions for AVRTINY arch.
6224 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6225 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6226 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6227 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6228 wsubi/wadi macors.
6229 (__mulsi3_helper): Update stack, preserve callee saved regs and
6230 argument from stack. Restore callee save registers.
6231 (__mulpsi3): Likewise.
6232 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6233 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 6234 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
6235 AVRTINY.
6236 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6237 (__do_copy_data): Added new definition for AVRTINY.
6238 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6239 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6240 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6241 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6242 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6243 macors.
18a3415e 6244 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
6245 AVRTINY.
6246
18a3415e 6247 Fix broken long multiplication on tiny arch.
c1dd9790 6248
5f606431
JM
62492014-10-09 Joseph Myers <joseph@codesourcery.com>
6250
6251 * soft-fp/double.h: Update from glibc.
6252 * soft-fp/eqdf2.c: Likewise.
6253 * soft-fp/eqsf2.c: Likewise.
6254 * soft-fp/eqtf2.c: Likewise.
6255 * soft-fp/extenddftf2.c: Likewise.
6256 * soft-fp/extended.h: Likewise.
6257 * soft-fp/extendsfdf2.c: Likewise.
6258 * soft-fp/extendsftf2.c: Likewise.
6259 * soft-fp/extendxftf2.c: Likewise.
6260 * soft-fp/gedf2.c: Likewise.
6261 * soft-fp/gesf2.c: Likewise.
6262 * soft-fp/getf2.c: Likewise.
6263 * soft-fp/ledf2.c: Likewise.
6264 * soft-fp/lesf2.c: Likewise.
6265 * soft-fp/letf2.c: Likewise.
6266 * soft-fp/op-1.h: Likewise.
6267 * soft-fp/op-2.h: Likewise.
6268 * soft-fp/op-4.h: Likewise.
6269 * soft-fp/op-8.h: Likewise.
6270 * soft-fp/op-common.h: Likewise.
6271 * soft-fp/quad.h: Likewise.
6272 * soft-fp/single.h: Likewise.
6273 * soft-fp/soft-fp.h: Likewise.
6274 * soft-fp/unorddf2.c: Likewise.
6275 * soft-fp/unordsf2.c: Likewise.
6276 * soft-fp/unordtf2.c: Likewise.
6277 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6278 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6279 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6280 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6281 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6282 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6283 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6284 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6285 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6286 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6287
9b84e7a8
RX
62882014-10-08 Rong Xu <xur@google.com>
6289
6290 * libgcov-util.c (read_gcda_file): Fix format.
6291 (find_match_gcov_info): Ditto.
6292 (calculate_2_entries): New.
6293 (compute_one_gcov): Ditto.
6294 (gcov_info_count_all_cold): Ditto.
6295 (gcov_info_count_all_zero): Ditto.
6296 (extract_file_basename): Ditto.
6297 (get_file_basename): Ditto.
6298 (set_flag): Ditto.
6299 (matched_gcov_info): Ditto.
6300 (calculate_overlap): Ditto.
6301 (gcov_profile_overlap): Ditto.
6302 * libgcov-driver.c (compute_summary): Make
6303 it avavilable for external calls.
6304
fe1090c1
RX
63052014-10-06 Rong Xu <xur@google.com>
6306
6307 * Makefile.in: Ditto.
6308 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6309 (gcov_sort_icall_topn_counter): Ditto.
6310 (gcov_sort_topn_counter_arrays): Ditto.
6311 (dump_one_gcov): Sort indirect_call topn counters.
6312 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6313 function.
6314 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6315 utility function.
6316 (__gcov_indirect_call_topn_profiler): New profiler function.
6317 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6318 * libgcov.h: New decls.
6319
3daa7bbf
TS
63202014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6321
6322 * config.host: Remove support for score-*.
6323
9a79452d
JM
63242014-09-22 Joseph Myers <joseph@codesourcery.com>
6325
6326 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6327 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6328 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6329 __LIBGCC_XF_MANT_DIG__.
6330 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6331 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6332 __LIBGCC_TF_MANT_DIG__.
6333 * libgcc2.c (NOTRUNC): Define in terms of
6334 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6335 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6336
1a849e50
JM
63372014-09-22 Joseph Myers <joseph@codesourcery.com>
6338
6339 PR target/63312
6340 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6341 New macros.
6342
598a1586
HPN
63432014-09-22 Hans-Peter Nilsson <hp@axis.com>
6344
6345 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6346 override USE_PT_GNU_EH_FRAME.
6347 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6348 check USE_EH_FRAME_REGISTRY_ALWAYS against
6349 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6350 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6351 variable for substituted force_explicit_eh_registry.
6352 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6353 * configure.ac (explicit-exception-frame-registration):
6354 New AC_ARG_ENABLE.
6355 * configure: Regenerate.
6356
3a8fe7c6
OH
63572014-09-19 Olivier Hainque <hainque@adacore.com>
6358
6359 * config.host (powerpc-wrs-vxworksmils): New configuration,
6360 same as vxworksae.
6361
dd69f047
JM
63622014-09-18 Joseph Myers <joseph@codesourcery.com>
6363
6364 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6365
e770bfd9
JM
63662014-09-18 Joseph Myers <joseph@codesourcery.com>
6367
6368 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6369 bits not set bits as indicating trapping exceptions.
6370
cadb2b96
NS
63712014-09-17 Nathan sidwell <nathan@acm.org>
6372
6373 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6374 (LIBGCOV_DRIVER): ... here.
6375 * libgcov-driver.c (gcov_master): New.
6376 (gcov_exit): Remove from master chain.
6377 (__gcov_init): Add to master chain if version compatible. Don't
6378 clear the version.
6379 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6380 (gcov_reset_int): Clear master chain, if compatible.
6381 (gcov_dump_int): New internal interface. Dump master chain, if
6382 compatible.
6383 (gcov_dump): Alias for gcov_dump_int.
6384 * libgcov.h (struct gcov_root): Add next and prev fields.
6385 (struct gcov_master): New struct.
6386 (__gcov_master): New.
6387 (gcov_dump_int): Declare.
6388
580d22a3
OH
63892014-09-17 Olivier Hainque <hainque@adacore.com>
6390
6391 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6392 and crtbegin.o + crtend.o to extra_parts.
6393
8cc4b7a2
JM
63942014-09-12 Joseph Myers <joseph@codesourcery.com>
6395
6396 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6397 __LIBGCC_HAS_SF_MODE__.
6398 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6399 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6400 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6401 * config/libbid/bid_gcc_intrinsics.h
6402 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6403 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6404 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6405 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6406 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6407 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6408
ea3f2b24
GJL
64092014-09-11 Georg-Johann Lay <avr@gjlay.de>
6410
6411 PR target/63223
6412 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6413 and R24 as needed. Make work for all devices and .text locations.
6414 (__do_global_ctors, __do_global_dtors): Use word addresses.
6415 (__tablejump__, __tablejump_elpm__): Remove functions.
6416 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6417 Add _tablejump2.
6418 (XICALL, XIJMP): New macros.
6419
b677236a
MS
64202014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6421 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6422
6423 * config.host (aarch64*): Include crtfastmath.o and
6424 t-crtfm.
6425 * config/aarch64/crtfastmath.c: New file.
6426
157e859f
TS
64272014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6428
6429 * config.host: Remove picochip support.
6430 * config/picochip/adddi3.S: Remove.
6431 * config/picochip/ashlsi3.S: Remove.
6432 * config/picochip/ashlsi3.c: Remove.
6433 * config/picochip/ashrsi3.S: Remove.
6434 * config/picochip/ashrsi3.c: Remove.
6435 * config/picochip/clzsi2.S: Remove.
6436 * config/picochip/cmpsi2.S: Remove.
6437 * config/picochip/divmod15.S: Remove.
6438 * config/picochip/divmodhi4.S: Remove.
6439 * config/picochip/divmodsi4.S: Remove.
6440 * config/picochip/lib1funcs.S: Remove.
6441 * config/picochip/longjmp.S: Remove.
6442 * config/picochip/lshrsi3.S: Remove.
6443 * config/picochip/lshrsi3.c: Remove.
6444 * config/picochip/parityhi2.S: Remove.
6445 * config/picochip/popcounthi2.S: Remove.
6446 * config/picochip/setjmp.S: Remove.
6447 * config/picochip/subdi3.S: Remove.
6448 * config/picochip/t-picochip: Remove.
6449 * config/picochip/ucmpsi2.S: Remove.
6450 * config/picochip/udivmodhi4.S: Remove.
6451 * config/picochip/udivmodsi4.S: Remove.
6452
66bb34c0
JM
64532014-09-08 Joseph Myers <joseph@codesourcery.com>
6454
6455 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6456 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6457 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6458 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6459 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6460 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6461 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6462 defined and LIBGCC2_HAS_DF_MODE is defined.
6463 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6464 defined and LIBGCC2_HAS_XF_MODE is defined.
6465 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6466 defined and LIBGCC2_HAS_TF_MODE is defined.
6467
9686a2e6
JM
64682014-09-08 Joseph Myers <joseph@codesourcery.com>
6469
6470 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6471 and ROUND_TOWARDS_ZERO conditionals.
6472
71c3e2ef
NS
64732014-09-07 Nathan sidwell <nathan@acm.org>
6474
6475 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6476 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6477
53d68b9f
JM
64782014-09-05 Joseph Myers <joseph@codesourcery.com>
6479
6480 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6481 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6482 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6483 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6484 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6485 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6486 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6487 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6488 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6489 (DWARF_FRAME_REGISTERS): Change all uses to
6490 __LIBGCC_DWARF_FRAME_REGISTERS__.
6491 (EH_RETURN_STACKADJ_RTX): Change all uses to
6492 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6493 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6494 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6495 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6496 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6497 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6498 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6499 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6500 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6501 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6502 __LIBGCC_STACK_POINTER_REGNUM__.
6503 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6504 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6505 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6506 to __LIBGCC_STACK_POINTER_REGNUM__.
6507 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6508 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6509 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6510 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6511 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6512 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6513 (STACK_POINTER_REGNUM): Change all uses to
6514 __LIBGCC_STACK_POINTER_REGNUM__.
6515 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6516 use to __LIBGCC_STACK_POINTER_REGNUM__.
6517 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6518 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6519 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6520 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6521 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6522 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6523 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6524 to __LIBGCC_STACK_POINTER_REGNUM__.
6525 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6526 Remove conditional definition.
6527 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6528 __LIBGCC_TEXT_SECTION_ASM_OP__.
6529 (EH_FRAME_SECTION_NAME): Change all uses to
6530 __LIBGCC_EH_FRAME_SECTION_NAME__.
6531 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6532 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6533 (CTORS_SECTION_ASM_OP): Change all uses to
6534 __LIBGCC_CTORS_SECTION_ASM_OP__.
6535 (DTORS_SECTION_ASM_OP): Change all uses to
6536 __LIBGCC_DTORS_SECTION_ASM_OP__.
6537 (JCR_SECTION_NAME): Change all uses to
6538 __LIBGCC_JCR_SECTION_NAME__.
6539 (INIT_SECTION_ASM_OP): Change all uses to
6540 __LIBGCC_INIT_SECTION_ASM_OP__.
6541 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6542 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6543 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6544 __LIBGCC_STACK_GROWS_DOWNWARD__.
6545 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6546 __LIBGCC_INIT_SECTION_ASM_OP__.
6547 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6548 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6549 (EH_FRAME_SECTION_NAME): Change all uses to
6550 __LIBGCC_EH_FRAME_SECTION_NAME__.
6551 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6552 definitions. Change all uses to
6553 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6554 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6555 __LIBGCC_STACK_GROWS_DOWNWARD__.
6556 (DWARF_FRAME_REGISTERS): Change all uses to
6557 __LIBGCC_DWARF_FRAME_REGISTERS__.
6558 (EH_RETURN_STACKADJ_RTX): Change all uses to
6559 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6560 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6561 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6562 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6563 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6564 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6565
b20ee094
NS
65662014-09-02 Nathan sidwell <nathan@acm.org>
6567
6568 * libgcov-interface.c (STRONG_ALIAS): New.
6569 (__gcov_flush): Call __gcov_reset_int.
6570 (__gcov_reset): Strong alias for ...
6571 (__gcov_reset_ing): ... this renamed hidden version.
6572 * libgcov.h (__gcov_reset_int): New declaration.
6573
1ac83976
YS
65742014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6575
25efdb9f
YS
6576 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6577 call from here...
6578 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6579 (__dso_handle): Define on Cygwin.
6580 * config/i386/t-cygming (crtbeginS.o): New rule.
6581 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6582
1ac83976
YS
6583 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6584 declaration syntax.
6585
c6f9ea3b
SE
65862014-08-13 Steve Ellcey <sellcey@mips.com>
6587
6588 * crtstuff.c: Undef caddr_t.
6589
5b1ea7c5
SE
65902014-08-12 Steve Ellcey <sellcey@mips.com>
6591
6592 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6593
4303c581
NS
65942014-08-07 Nathan Sidwell <nathan@acm.org>
6595
6596 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6597 (LIBGCOV_DRIVER): ... to here.
6598 * libgcov.h (gcov_do_dump): New #define.
6599 (struct gcov_root): New.
6600 (__gcov_root): New declaration.
6601 (__gcov_dump_one): Declare.
6602 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6603 run_accounted): Delete.
6604 (gcov_compute_histogram): Add LIST argument, adjust.
6605 (compute_summary): Adjust gcov_compute_histogram call.
6606 (gcov_do_dump): Not hidden, static in libgcov.
6607 (gcov_clear): Move to interface.c.
6608 (__gcov_dump_one): New, broken out of ...
6609 (gcov_exit): ... here. Make static.
6610 (__gcov_root): New.
6611 (__gcov_init): Adjust.
6612 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6613 declarations.
6614 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6615 (gcov_clear): Moved from driver.c. Add LIST argument.
6616 (__gcov_reset): Adjust for changed interfaces.
6617 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6618
23742a9e
RAR
66192014-08-04 Rohit <rohitarulraj@freescale.com>
6620
6621 PR target/60102
6622 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6623 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6624
b98a872b
NS
66252014-08-01 Nathan Sidwell <nathan@acm.org>
6626
6627 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6628 LIBGCOV_INTERFACE): Reformat.
6629 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6630 IN_GCOV_TOOL.
6631 * libgcov-interface.c: Reformat some comments.
6632 (__gcov_flush_mx): Add declaration. Tidy up definition.
6633
6adaaa1d
AM
66342014-07-31 Alan Modra <amodra@gmail.com>
6635 Peter Bergner <bergner@vnet.ibm.com>
6636
6637 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6638 (pack_ldouble): New function.
6639 (__gcc_qadd): Use it.
6640 (__gcc_qmul): Likewise.
6641 (__gcc_qdiv): Likewise.
6642 (__gcc_qneg): Likewise.
6643 (__gcc_stoq): Likewise.
6644 (__gcc_dtoq): Likewise.
6645
87cb0c0c
UW
66462014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6647
6648 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6649 (__tpf_eh_return): Add original return address as second parameter.
6650 Handle cases where unwinder routines were called directly, instead
6651 of from within the C++ library.
6652
19926161
NS
66532014-07-29 Nathan Sidwell <nathan@acm.org>
6654
6655 * libgcov.h: Move renaming of entry points to lib gcov specific
6656 portion.
6657 (gcov_do_dump): New rename.
6658 (gcov_rewrite): Remove inline, make HIDDEN.
6659 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6660 (gcov_exit_compute_summary): Rename to ...
6661 (compute_summary): ... here. Add LIST argument.
6662 (gcov_exit_merge_gcda): Rename to ...
6663 (merge_one_data): ... here.
6664 (gcov_exit_write_gcda): Rename to ...
6665 (write_one_data): ... here.
6666 (gcov_exit_merge_summary): Rename to ...
6667 (merge_summary): Add RUN_COUNTED argument.
6668 (gcov_exit_dump_gcov): Rename to ...
6669 (dump_one_gcov): Add RUN_COUNTED argument.
6670 (gcov_do_dump): New function, broken out of ...
6671 (gcov_exit): ... here. Call it.
6672
17522262
AG
66732014-07-27 Anthony Green <green@moxielogic.com>
6674
6675 * config.host: Add moxiebox configuration suppport.
6676
6dc33097
NS
66772014-07-27 Nathan Sidwell <nathan@acm.org>
6678
6679 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6680 (struct gcov_filename): ... here. Include buffer and max length
6681 fields.
6682 (gcov_max_filename): Remove.
6683 (gi_filename): Remove.
6684 (gcov_exit_compute_summary): Compute max filename here.
6685 (gcov_exit_merge_gcda): Add filename parm, adjust.
6686 (gcov_exit_merge_summary): Likewise.
6687 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6688 (gcov_exit): Likewise.
6689 (__gcov_init): Don't calculate max length here.
6690 * libgcov_util.c (max_filename_len): Remove.
6691 (read_gcda_file): Don't calculate max length here.
6692 (gcov_read_profile_dir): Don't propagate here.
6693 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6694 struct gcov_filename changes.
6695 (gcov_exit_open_gcda_file): Likewise.
6696
770f687d
NS
66972014-07-25 Nathan Sidwell <nathan@acm.org>
6698
6699 * libgcov-driver.c (set_gcov_dump_complete,
6700 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6701 functions polluting user's namespace.
6702 (gcov_exit): Set variable directly.
6703 (gcov_clear): Reset variable directly.
6704 * libgcov-interface.c (get_gcov_dymp_complete,
6705 reset_gov_dump_complete): Remove declarations.
6706 (__gcov_reset, __gcov_dump): Don't call them.
6707
fabf71ba
DD
67082014-07-24 DJ Delorie <dj@redhat.com>
6709
6710 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
6711 (__gcc_deregister_frame): Move logic to detect deregister function
6712 to ...
6713 (__gcc_register_frame): here, so it's consistent with the register
6714 logic.
fabf71ba 6715
d10ee722
NS
67162014-07-23 Nathan Sidwell <nathan@acm.org>
6717
6718 * libgcov-driver.c (set_gcov_list): Remove.
6719 (gcov_list): Make non-static in GCOV_TOOL.
6720 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6721
a4137090
JDA
67222014-07-17 John David Anglin <danglin@gcc.gnu.org>
6723
6724 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6725 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6726 Don't use SYNC_LOCK_RELEASE for int type.
6727
72602c6c
RB
67282014-07-14 Richard Biener <rguenther@suse.de>
6729
6730 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6731
d5313205
RX
67322014-07-11 Rong Xu <xur@google.com>
6733
6734 * libgcov-util.c (gcov_max_filename): Fix declartion.
6735
c77556a5
RX
67362014-07-10 Rong Xu <xur@google.com>
6737
6738 Add gcov-tool: an offline gcda profile processing tool
6739 Support.
6740 * libgcov-driver.c (gcov_max_filename): Make available
6741 to gcov-tool.
6742 * libgcov-merge.c (__gcov_merge_add): Replace
6743 gcov_read_counter() with a Macro.
6744 (__gcov_merge_ior): Ditto.
6745 (__gcov_merge_time_profile): Ditto.
6746 (__gcov_merge_single): Ditto.
6747 (__gcov_merge_delta): Ditto.
6748 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6749 in the utility functions.
6750 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6751 gcov_list object link lists.
6752 (tag_function): Ditto.
6753 (tag_blocks): Ditto.
6754 (tag_arcs): Ditto.
6755 (tag_lines): Ditto.
6756 (tag_counters): Ditto.
6757 (tag_summary): Ditto.
6758 (read_gcda_finalize): Ditto.
6759 (read_gcda_file): Ditto.
6760 (ftw_read_file): Ditto.
6761 (read_profile_dir_init): Ditto.
6762 (gcov_read_profile_dir): Ditto.
6763 (gcov_read_counter_mem): Ditto.
6764 (gcov_get_merge_weight): Ditto.
6765 (merge_wrapper): A wrapper function that calls merging handler.
6766 (gcov_merge): Merge two gcov_info objects with weights.
6767 (find_match_gcov_info): Find the matched gcov_info in the list.
6768 (gcov_profile_merge): Merge two gcov_info object lists.
6769 (__gcov_add_counter_op): Process edge profile counter values.
6770 (__gcov_ior_counter_op): Process IOR profile counter values.
6771 (__gcov_delta_counter_op): Process delta profile counter values.
6772 (__gcov_single_counter_op): Process single profile counter values.
6773 (fp_scale): Callback function for float-point scaling.
cc86234f 6774 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
6775 (gcov_profile_scale): Scaling profile counters.
6776 (gcov_profile_normalize): Normalize profile counters.
6777 * libgcov.h: Add headers and functions for gcov-tool use.
6778 (gcov_get_counter): New.
6779 (gcov_get_counter_target): Ditto.
6780 (struct gcov_info): Make the functions field mutable in gcov-tool
6781 compilation.
6782
5c7dac8a
KT
67832014-06-23 Kai Tietz <ktietz@redhat.com>
6784
6785 PR libgcc/61585
6786 * unwind-seh.c (_Unwind_GetGR): Check for proper
6787 index range.
6788 (_Unwind_SetGR): Likewise.
6789
161c9312
NC
67902014-05-22 Nick Clifton <nickc@redhat.com>
6791
6792 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6793 -mhwmult=none.
6794
e3f0315f
TJ
67952014-05-22 Teresa Johnson <tejohnson@google.com>
6796
6797 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6798 include.
6799
dbed5a9b
JM
68002014-05-20 John Marino <gnugcc@marino.st>
6801
6802 * config.host (*-*-dragonfly*): New target.
6803 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6804 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6805 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6806 * config/i386/dragonfly-unwind.h: New.
6807
1ec380e5
MR
68082014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6809
6810 PR libgcc/60166
6811 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6812 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6813
54fde020
BE
68142014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6815
6816 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6817 implementation.
6818
999db125
GJL
68192014-05-12 Georg-Johann Lay <avr@gjlay.de>
6820
6821 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6822
cceaf54a
RO
68232014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6824
6825 PR libgcc/61097
6826 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6827 if --enable-shared.
6828
e3fe9b5b
BE
68292014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6830
6831 Work around for current cygwin32 build problems.
6832 * config/i386/cygming-crtbegin.c (__register_frame_info,
6833 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6834 functions only for 64-bit systems.
6835
54cf37e9
RO
68362014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6837
6838 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6839 (sigill_caught, sigill_hdlr): Remove.
6840
d9f069ab
RO
68412014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6842
6843 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6844 check.
6845 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6846 Solaris 9 single-threaded support.
6847 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6848 Solaris 9 single-threaded support. Add call_user_handler code
6849 sequences.
6850 (sparc_is_sighandler): Likewise.
6851
59976ef8
AK
68522014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6853
6854 * config.host: Append t-floattodi to tmake_file depending on
6855 host_address.
6856
d02bbcf3
JS
68572014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6858
31466bc0 6859 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 6860
c2e7e597
UB
68612014-03-10 Uros Bizjak <ubizjak@gmail.com>
6862
6863 PR libgcc/60472
6864 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 6865 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
6866 Use __builtin_expect when checking *jcr_list for NULL.
6867
227a7dc8
RO
68682014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6869
6870 PR libgcc/59339
6871 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6872 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6873 vtv_*.o to extra_parts if enable_vtable_verify.
6874
df2b279c
NC
68752014-03-06 Nick Clifton <nickc@redhat.com>
6876
6877 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6878 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6879
dc11d79b
JY
68802014-02-28 Joey Ye <joey.ye@arm.com>
6881
6882 PR libgcc/60166
6883 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6884 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6885 Set to zero.
6886
341c653c
WL
68872014-02-24 Walter Lee <walt@tilera.com>
6888
6889 * config.host: Support "tilegx*" and "tilepro*" triplets.
6890 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6891 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6892
95ce7613
CLT
68932014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6894 Chung-Lin Tang <cltang@codesourcery.com>
6895
6896 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6897 * config/nios2/crti.S: Remove .file directive.
6898 * config/nios2/crtn.S: Likewise.
6899
0bb4fc05
KT
69002014-02-18 Kai Tietz <ktietz@redhat.com>
6901 Jonathan Schleifer <js@webkeks.org>
6902
6903 PR objc/56870
6904 * unwind-seh.c (_GCC_specific_handler): Pass proper
6905 value to unwind-handler.
6906
9acf28f1
JM
69072014-02-12 Joseph Myers <joseph@codesourcery.com>
6908
6909 * soft-fp/adddf3.c: Update from glibc.
6910 * soft-fp/addsf3.c: Likewise.
6911 * soft-fp/addtf3.c: Likewise.
6912 * soft-fp/divdf3.c: Likewise.
6913 * soft-fp/divsf3.c: Likewise.
6914 * soft-fp/divtf3.c: Likewise.
6915 * soft-fp/double.h: Likewise.
6916 * soft-fp/eqdf2.c: Likewise.
6917 * soft-fp/eqsf2.c: Likewise.
6918 * soft-fp/eqtf2.c: Likewise.
6919 * soft-fp/extenddftf2.c: Likewise.
6920 * soft-fp/extended.h: Likewise.
6921 * soft-fp/extendsfdf2.c: Likewise.
6922 * soft-fp/extendsftf2.c: Likewise.
6923 * soft-fp/extendxftf2.c: Likewise.
6924 * soft-fp/fixdfdi.c: Likewise.
6925 * soft-fp/fixdfsi.c: Likewise.
6926 * soft-fp/fixdfti.c: Likewise.
6927 * soft-fp/fixsfdi.c: Likewise.
6928 * soft-fp/fixsfsi.c: Likewise.
6929 * soft-fp/fixsfti.c: Likewise.
6930 * soft-fp/fixtfdi.c: Likewise.
6931 * soft-fp/fixtfsi.c: Likewise.
6932 * soft-fp/fixtfti.c: Likewise.
6933 * soft-fp/fixunsdfdi.c: Likewise.
6934 * soft-fp/fixunsdfsi.c: Likewise.
6935 * soft-fp/fixunsdfti.c: Likewise.
6936 * soft-fp/fixunssfdi.c: Likewise.
6937 * soft-fp/fixunssfsi.c: Likewise.
6938 * soft-fp/fixunssfti.c: Likewise.
6939 * soft-fp/fixunstfdi.c: Likewise.
6940 * soft-fp/fixunstfsi.c: Likewise.
6941 * soft-fp/fixunstfti.c: Likewise.
6942 * soft-fp/floatdidf.c: Likewise.
6943 * soft-fp/floatdisf.c: Likewise.
6944 * soft-fp/floatditf.c: Likewise.
6945 * soft-fp/floatsidf.c: Likewise.
6946 * soft-fp/floatsisf.c: Likewise.
6947 * soft-fp/floatsitf.c: Likewise.
6948 * soft-fp/floattidf.c: Likewise.
6949 * soft-fp/floattisf.c: Likewise.
6950 * soft-fp/floattitf.c: Likewise.
6951 * soft-fp/floatundidf.c: Likewise.
6952 * soft-fp/floatundisf.c: Likewise.
6953 * soft-fp/floatunditf.c: Likewise.
6954 * soft-fp/floatunsidf.c: Likewise.
6955 * soft-fp/floatunsisf.c: Likewise.
6956 * soft-fp/floatunsitf.c: Likewise.
6957 * soft-fp/floatuntidf.c: Likewise.
6958 * soft-fp/floatuntisf.c: Likewise.
6959 * soft-fp/floatuntitf.c: Likewise.
6960 * soft-fp/gedf2.c: Likewise.
6961 * soft-fp/gesf2.c: Likewise.
6962 * soft-fp/getf2.c: Likewise.
6963 * soft-fp/ledf2.c: Likewise.
6964 * soft-fp/lesf2.c: Likewise.
6965 * soft-fp/letf2.c: Likewise.
6966 * soft-fp/muldf3.c: Likewise.
6967 * soft-fp/mulsf3.c: Likewise.
6968 * soft-fp/multf3.c: Likewise.
6969 * soft-fp/negdf2.c: Likewise.
6970 * soft-fp/negsf2.c: Likewise.
6971 * soft-fp/negtf2.c: Likewise.
6972 * soft-fp/op-1.h: Likewise.
6973 * soft-fp/op-2.h: Likewise.
6974 * soft-fp/op-4.h: Likewise.
6975 * soft-fp/op-8.h: Likewise.
6976 * soft-fp/op-common.h: Likewise.
6977 * soft-fp/quad.h: Likewise.
6978 * soft-fp/single.h: Likewise.
6979 * soft-fp/soft-fp.h: Likewise.
6980 * soft-fp/subdf3.c: Likewise.
6981 * soft-fp/subsf3.c: Likewise.
6982 * soft-fp/subtf3.c: Likewise.
6983 * soft-fp/truncdfsf2.c: Likewise.
6984 * soft-fp/trunctfdf2.c: Likewise.
6985 * soft-fp/trunctfsf2.c: Likewise.
6986 * soft-fp/trunctfxf2.c: Likewise.
6987 * soft-fp/unorddf2.c: Likewise.
6988 * soft-fp/unordsf2.c: Likewise.
6989 * soft-fp/unordtf2.c: Likewise.
6990 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6991 macro.
6992 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6993 Likewise.
6994 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6995 Likewise.
6996 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6997 Likewise.
6998 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6999 Likewise.
7000 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7001 Likewise.
7002 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7003 Likewise.
7004 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7005 Likewise.
7006 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7007 Likewise.
7008 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7009 Likewise.
7010 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7011 Likewise.
7012 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7013 Likewise.
7014 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7015 Likewise.
7016 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7017 Likewise.
7018 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7019 Likewise.
7020 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7021 Likewise.
7022
ce245ec6
AK
70232014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7024
7025 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7026 cannot be represented.
7027 * config/s390/32/_fixsfdi.c: Likewise.
7028 * config/s390/32/_fixtfdi.c: Likewise.
7029 * config/s390/32/_fixunsdfdi.c: Likewise.
7030 * config/s390/32/_fixunssfdi.c: Likewise.
7031 * config/s390/32/_fixunstfdi.c: Likewise.
7032
1c51d688
RS
70332014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7034
7035 * configure.ac (libgcc_cv_mips_hard_float): New.
7036 * configure: Regenerate.
7037 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7038 t-softfp-sfdf for hard-float targets.
7039 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7040 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7041 (softfp_truncations, softfp_exclude_libgcc2): New.
7042 * config/t-hardfp: New file.
7043 * config/t-hardfp-sfdf: Likewise.
7044 * config/hardfp.c: Likewise.
7045
bbf391db
AK
70462014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7047
7048 * config.host: Include t-floattodi also for s390x.
7049 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7050 * config/s390/32/_fixsfdi.c: Likewise.
7051 * config/s390/32/_fixtfdi.c: Likewise.
7052 * config/s390/32/_fixunsdfdi.c: Likewise.
7053 * config/s390/32/_fixunssfdi.c: Likewise.
7054 * config/s390/32/_fixunstfdi.c: Likewise.
7055
91da0481
RO
70562014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7057
7058 PR target/59788
7059 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7060 (install-libgcc-unwind-map-forbuild): New target.
7061 (all): Depend on install-libgcc-unwind-map-forbuild.
7062 (install-libgcc-unwind-map): New target.
7063 (install): Depend on install-libgcc-unwind-map.
7064
02b67731
SL
70652014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7066
7067 * config/nios2/crti.S (_init): Initialize GOT pointer from
7068 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7069
1ea0a651
RS
70702014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7071
7072 * configure.ac: Check __mips64 when setting host_address.
7073 * configure: Regenerate.
7074 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7075 mips/t-mips64 and t-softfp.
7076 (mips*-*-linux*): Don't add mips/t-tpbit.
7077 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7078 (DPBIT, DPBIT_CFLAGS): Delete.
7079 * config/mips/sfp-machine.h: New file.
7080 * config/mips/t-mips64: Likewise.
7081 * config/mips/t-softfp-tf: Likewise.
7082 * config/mips/t-tpbit: Delete.
7083
f32b0061
MS
70842014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7085
7086 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7087 as long long.
7088
a5420aa4
WL
70892014-01-25 Walter Lee <walt@tilera.com>
7090
7091 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7092 config.h or system.h.
7093 (bool) Define.
7094
24534912
WL
70952014-01-25 Walter Lee <walt@tilera.com>
7096
7097 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7098 (post_atomic_barrier): Ditto.
7099 (__fetch_and_do): New macro.
7100 (__atomic_fetch_and_do): Use __fetch_and_do.
7101 (__sync_fetch_and_do): New macro.
7102 (__sync_fetch_and_add_4): New function.
7103 (__sync_fetch_and_sub_4): New function.
7104 (__sync_fetch_and_or_4): New function.
7105 (__sync_fetch_and_and_4): New function.
7106 (__sync_fetch_and_xor_4): New function.
7107 (__sync_fetch_and_nand_4): New function.
7108 (__sync_fetch_and_add_8): New function.
7109 (__sync_fetch_and_sub_8): New function.
7110 (__sync_fetch_and_or_8): New function.
7111 (__sync_fetch_and_and_8): New function.
7112 (__sync_fetch_and_xor_8): New function.
7113 (__sync_fetch_and_nand_8): New function.
7114 (__do_and_fetch): New macro.
7115 (__atomic_do_and_fetch): Use __do_and_fetch.
7116 (__sync_do_and_fetch): New macro.
7117 (__sync_add_and_fetch_4): New function.
7118 (__sync_sub_and_fetch_4): New function.
7119 (__sync_or_and_fetch_4): New function.
7120 (__sync_and_and_fetch_4): New function.
7121 (__sync_xor_and_fetch_4): New function.
7122 (__sync_nand_and_fetch_4): New function.
7123 (__sync_add_and_fetch_8): New function.
7124 (__sync_sub_and_fetch_8): New function.
7125 (__sync_or_and_fetch_8): New function.
7126 (__sync_and_and_fetch_8): New function.
7127 (__sync_xor_and_fetch_8): New function.
7128 (__sync_nand_and_fetch_8): New function.
7129 (__sync_exchange_methods): New macro.
7130 (__sync_val_compare_and_swap_4): New function.
7131 (__sync_bool_compare_and_swap_4): New function.
7132 (__sync_lock_test_and_test_4): New function.
7133 (__sync_val_compare_and_swap_8): New function.
7134 (__sync_bool_compare_and_swap_8): New function.
7135 (__sync_lock_test_and_test_8): New function.
7136 (__subword_cmpxchg_body): New macro.
7137 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7138 (__atomic_compare_exchange_2): Ditto.
7139 (__sync_subword_cmpxchg): New macro.
7140 (__sync_val_compare_and_swap_1): New function.
7141 (__sync_bool_compare_and_swap_1): New function.
7142 (__sync_val_compare_and_swap_2): New function.
7143 (__sync_bool_compare_and_swap_2): New function.
7144 (__atomic_subword): Rename to ...
7145 (__subword): ... New name.
7146 (__atomic_subword_fetch): Use __subword.
7147 (__sync_subword_fetch): New macro.
7148 (__sync_fetch_and_add_1): New function.
7149 (__sync_fetch_and_sub_1): New function.
7150 (__sync_fetch_and_or_1): New function.
7151 (__sync_fetch_and_and_1): New function.
7152 (__sync_fetch_and_xor_1): New function.
7153 (__sync_fetch_and_nand_1): New function.
7154 (__sync_fetch_and_add_2): New function.
7155 (__sync_fetch_and_sub_2): New function.
7156 (__sync_fetch_and_or_2): New function.
7157 (__sync_fetch_and_and_2): New function.
7158 (__sync_fetch_and_xor_2): New function.
7159 (__sync_fetch_and_nand_2): New function.
7160 (__sync_add_and_fetch_1): New function.
7161 (__sync_sub_and_fetch_1): New function.
7162 (__sync_or_and_fetch_1): New function.
7163 (__sync_and_and_fetch_1): New function.
7164 (__sync_xor_and_fetch_1): New function.
7165 (__sync_nand_and_fetch_1): New function.
7166 (__sync_add_and_fetch_2): New function.
7167 (__sync_sub_and_fetch_2): New function.
7168 (__sync_or_and_fetch_2): New function.
7169 (__sync_and_and_fetch_2): New function.
7170 (__sync_xor_and_fetch_2): New function.
7171 (__sync_nand_and_fetch_2): New function.
7172 (__atomic_subword_lock): Use __subword.
7173 (__sync_subword_lock): New macro.
7174 (__sync_lock_test_and_set_1): New function.
7175 (__sync_lock_test_and_set_2): New function.
7176
4d6d3bc5
WL
71772014-01-25 Walter Lee <walt@tilera.com>
7178
7179 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7180 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7181 (__atomic_subword): Ditto.
7182
cbd9890e
WL
71832014-01-25 Walter Lee <walt@tilera.com>
7184
7185 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7186 a prefix op argument.
7187 (__atomic_nand_fetch_4): Add prefix op.
7188 (__atomic_nand_fetch_8): Ditto.
7189
7d296953 71902014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
7191
7192 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7193
46dd1242
L
71942014-01-09 Rong Xu <xur@google.com>
7195
7196 * libgcov-driver.c (this_prg): make it local to save
7197 bss space.
7198 (gcov_exit_compute_summary): Ditto.
7199 (gcov_exit_merge_gcda): Ditto.
7200 (gcov_exit_merge_summary): Ditto.
7201 (gcov_exit_dump_gcov): Ditto.
7202
cc86234f 72032014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
7204
7205 * libgcov-driver.c: Use libgcov.h.
7206 (buffer_fn_data): Use xmalloc instead of malloc.
7207 (gcov_exit_merge_gcda): Ditto.
7208 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7209 * libgcov.h: New common header files for libgcov-*.h.
7210 * libgcov-interface.c: Use libgcov.h
7211 * libgcov-merge.c: Ditto.
7212 * libgcov-profiler.c: Ditto.
7213 * Makefile.in: Add dependence to libgcov.h
7214
a02e7bdd
JM
72152014-01-02 Joseph Myers <joseph@codesourcery.com>
7216
7217 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7218 case of small numerator and finite nonzero result.
7219
ac1dca3c
RS
72202014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7221
7222 Update copyright years
7223
f9030485
RS
72242014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7225
7226 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7227 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7228 config/arc/dp-hack.h, config/arc/fp-hack.h,
7229 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7230 config/arc/ieee-754/arc600-dsp/divdf3.S,
7231 config/arc/ieee-754/arc600-dsp/divsf3.S,
7232 config/arc/ieee-754/arc600-dsp/muldf3.S,
7233 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7234 config/arc/ieee-754/arc600-mul64/divdf3.S,
7235 config/arc/ieee-754/arc600-mul64/divsf3.S,
7236 config/arc/ieee-754/arc600-mul64/muldf3.S,
7237 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7238 config/arc/ieee-754/arc600/divsf3.S,
7239 config/arc/ieee-754/arc600/mulsf3.S,
7240 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7241 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7242 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7243 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7244 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7245 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7246 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7247 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7248 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7249 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7250 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7251 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7252 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7253 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7254 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7255 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7256 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7257 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7258 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7259 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7260 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7261 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7262 vtv_start_preinit.c: Use the standard form for the copyright notice.
7263
e430824f
CLT
72642013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7265 Chung-Lin Tang <cltang@codesourcery.com>
3d3b561f 7266 Based on patches from Altera Corporation
e430824f
CLT
7267
7268 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7269 * config/nios2/lib2-nios2.h: New file.
7270 * config/nios2/lib2-divmod-hi.c: New file.
7271 * config/nios2/linux-unwind.h: New file.
7272 * config/nios2/lib2-divmod.c: New file.
7273 * config/nios2/linux-atomic.c: New file.
7274 * config/nios2/t-nios2: New file.
7275 * config/nios2/crti.asm: New file.
7276 * config/nios2/t-linux: New file.
7277 * config/nios2/lib2-divtable.c: New file.
7278 * config/nios2/lib2-mul.c: New file.
7279 * config/nios2/tramp.c: New file.
7280 * config/nios2/crtn.asm: New file.
7281
1879e97f
UB
72822013-12-26 Uros Bizjak <ubizjak@gmail.com>
7283
7284 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7285 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7286 from cpuid.h to check vendor signatures.
7287
f4a4bdbb
GG
72882013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7289
c2e7e597 7290 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
7291 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7292 (get_amd_cpu): Likewise.
7293
8d2ae544
L
72942013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7295
7296 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7297 Haswell.
7298
74924838
ASJ
72992013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7300 H.J. Lu <hongjiu.lu@intel.com>
7301
0bb52f25
L
7302 PR target/59422
7303 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
7304 and AMD_JAGUAR.
7305 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7306 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7307 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7308 FEATURE_XOP and FEATURE_FMA.
7309 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7310 AMDFAM15H_BDVER3.
7311 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 7312 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
7313 FEATURE_FMA4 and FEATURE_XOP.
7314
d3c11974
L
73152013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7316
7317 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7318 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7319 (get_intel_cpu): Updated.
7320
064c4ff2
ZC
73212013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7322
7323 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7324
8b02e720
UB
73252013-12-09 Uros Bizjak <ubizjak@gmail.com>
7326
7327 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 7328 instructions when __SSE_MATH__ is defined.
8b02e720 7329
3fa2ccb4
RC
73302013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7331
7332 * config.host (microblaze-*-rtems*): New.
7333
ecd78fc9
KV
73342013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7335
7336 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7337 architectures that do not have hardware divide instruction.
7338 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7339
b21fbbd2
RS
73402013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7341
7342 * longlong.h: Delete (moved to include/).
7343
b03fb8c9
AZ
73442013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7345
7346 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7347 of normal number and qNaN to not raise an inexact exception.
7348
3c716922
UB
73492013-11-28 Uros Bizjak <ubizjak@gmail.com>
7350
7351 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7352
73532013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
7354
7355 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7356 for correct opcodes on BE.
7357
a3458d22
UB
73582013-11-27 Uros Bizjak <ubizjak@gmail.com>
7359
7360 * soft-fp/op-4.h: Update from glibc.
7361
30b8f78b
KV
73622013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7363
7364 * libgcc2.c (__udivmoddi4): Define new implementation when
7365 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7366 divide instructions.
7367
82552a29
OE
73682013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7369
7370 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7371
80e87457
RO
73722013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7373
7374 * config/t-softfp (soft-fp-objects-base): New variable.
7375 (soft-fp-objects): Use it.
7376
44178879
DE
73772013-11-23 David Edelson <dje.gcc@gmail.com>
7378 Andrew Dixie <andrewd@gentrack.com>
7379
7380 PR target/33704
7381 * config/rs6000/aixinitfini.c: New file.
7382 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7383 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7384 symbols.
7385
e5287671
YR
73862013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7387
a3458d22 7388 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 7389
867c8b03
JH
73902013-11-18 Jan Hubicka <jh@suse.cz>
7391
7f369373
JH
7392 * libgcov-driver.c (run_accounted): Make global level static.
7393 (gcov_exit_merge_summary): Silence warning; do not clear
7394 run_accounted here.
7395 (gcov_exit): Clear it here.
7396
1d0b3334
JH
7397 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7398 run_accounted.
7399
867c8b03
JH
7400 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7401 (all_prg, crc32): Remove static vars.
7402 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7403 all_prg.
7404 (gcov_exit_merge_gcda): Add crc32 parameter.
7405 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7406 do not account run if it was already accounted.
7407 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7408 (gcov_exit): Initialize all_prg; update.
7409
66204992
AS
74102013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7411
7412 * configure: Regenerate.
7413
b54214fe
UW
74142013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7415 Alan Modra <amodra@gmail.com>
7416
7417 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7418 (frob_update_context): Use it.
7419
74202013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7421 Alan Modra <amodra@gmail.com>
7422
7423 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7424 (trampoline_initial): Provide ELFv2 variant.
7425 (__trampoline_setup): Likewise.
7426
7427 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7428 check for AIX indirect function call sequence if _CALL_ELF == 2.
7429
74302013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7431 Alan Modra <amodra@gmail.com>
7432
7433 * config/rs6000/linux-unwind.h (get_regs): Do not support
7434 old kernel versions if _CALL_ELF == 2.
7435 (frob_update_context): Do not support PLT stub variants only
7436 generated by old linkers if _CALL_ELF == 2.
7437
13e0981a
UW
74382013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7439 Alan Modra <amodra@gmail.com>
7440
7441 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7442 location of CR save area for 64-bit little-endian systems.
7443
1a80085d
EB
74442013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7445
7446 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7447 in tmake_file.
7448 * config/arm/t-vxworks: Delete.
7449
cabeea52
KT
74502013-11-10 Kai Tietz <ktietz@redhat.com>
7451
7452 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7453 Increment load-count on use of LIBGCC_SONAME DLL.
7454 (hmod_libgcc): New static variable to hold handle of
7455 LIBGCC_SONAME DLL.
7456 (__gcc_deregister_frame): Decrement load-count of
7457 LIBGCC_SONAME DLL.
7458
ac088ba1
BRF
74592013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7460
7461 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7462 availability.
7463 * configure: Regenerate
7464
d59a8fcc
UB
74652013-11-07 Uros Bizjak <ubizjak@gmail.com>
7466
7467 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7468 FP_EX_DENORM. Store result to volatile location after SSE division
7469 to close interrupt window. Remove unneeded fwait after x87
7470 division since interrupt window will be closed by emitted fstp.
9de84e84 7471 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7472
9954c743
JM
74732013-11-06 Joseph Myers <joseph@codesourcery.com>
7474
7475 * soft-fp/README: Update.
7476 * soft-fp/adddf3.c: Update from glibc.
7477 * soft-fp/addsf3.c: Likewise.
7478 * soft-fp/addtf3.c: Likewise.
7479 * soft-fp/divdf3.c: Likewise.
7480 * soft-fp/divsf3.c: Likewise.
7481 * soft-fp/divtf3.c: Likewise.
7482 * soft-fp/double.h: Likewise.
7483 * soft-fp/eqdf2.c: Likewise.
7484 * soft-fp/eqsf2.c: Likewise.
7485 * soft-fp/eqtf2.c: Likewise.
7486 * soft-fp/extenddftf2.c: Likewise.
7487 * soft-fp/extended.h: Likewise.
7488 * soft-fp/extendsfdf2.c: Likewise.
7489 * soft-fp/extendsftf2.c: Likewise.
7490 * soft-fp/extendxftf2.c: Likewise.
7491 * soft-fp/fixdfdi.c: Likewise.
7492 * soft-fp/fixdfsi.c: Likewise.
7493 * soft-fp/fixdfti.c: Likewise.
7494 * soft-fp/fixsfdi.c: Likewise.
7495 * soft-fp/fixsfsi.c: Likewise.
7496 * soft-fp/fixsfti.c: Likewise.
7497 * soft-fp/fixtfdi.c: Likewise.
7498 * soft-fp/fixtfsi.c: Likewise.
7499 * soft-fp/fixtfti.c: Likewise.
7500 * soft-fp/fixunsdfdi.c: Likewise.
7501 * soft-fp/fixunsdfsi.c: Likewise.
7502 * soft-fp/fixunsdfti.c: Likewise.
7503 * soft-fp/fixunssfdi.c: Likewise.
7504 * soft-fp/fixunssfsi.c: Likewise.
7505 * soft-fp/fixunssfti.c: Likewise.
7506 * soft-fp/fixunstfdi.c: Likewise.
7507 * soft-fp/fixunstfsi.c: Likewise.
7508 * soft-fp/fixunstfti.c: Likewise.
7509 * soft-fp/floatdidf.c: Likewise.
7510 * soft-fp/floatdisf.c: Likewise.
7511 * soft-fp/floatditf.c: Likewise.
7512 * soft-fp/floatsidf.c: Likewise.
7513 * soft-fp/floatsisf.c: Likewise.
7514 * soft-fp/floatsitf.c: Likewise.
7515 * soft-fp/floattidf.c: Likewise.
7516 * soft-fp/floattisf.c: Likewise.
7517 * soft-fp/floattitf.c: Likewise.
7518 * soft-fp/floatundidf.c: Likewise.
7519 * soft-fp/floatundisf.c: Likewise.
7520 * soft-fp/floatunditf.c: Likewise.
7521 * soft-fp/floatunsidf.c: Likewise.
7522 * soft-fp/floatunsisf.c: Likewise.
7523 * soft-fp/floatunsitf.c: Likewise.
7524 * soft-fp/floatuntidf.c: Likewise.
7525 * soft-fp/floatuntisf.c: Likewise.
7526 * soft-fp/floatuntitf.c: Likewise.
7527 * soft-fp/gedf2.c: Likewise.
7528 * soft-fp/gesf2.c: Likewise.
7529 * soft-fp/getf2.c: Likewise.
7530 * soft-fp/ledf2.c: Likewise.
7531 * soft-fp/lesf2.c: Likewise.
7532 * soft-fp/letf2.c: Likewise.
7533 * soft-fp/muldf3.c: Likewise.
7534 * soft-fp/mulsf3.c: Likewise.
7535 * soft-fp/multf3.c: Likewise.
7536 * soft-fp/negdf2.c: Likewise.
7537 * soft-fp/negsf2.c: Likewise.
7538 * soft-fp/negtf2.c: Likewise.
7539 * soft-fp/op-1.h: Likewise.
7540 * soft-fp/op-2.h: Likewise.
7541 * soft-fp/op-4.h: Likewise.
7542 * soft-fp/op-8.h: Likewise.
7543 * soft-fp/op-common.h: Likewise.
7544 * soft-fp/quad.h: Likewise.
7545 * soft-fp/single.h: Likewise.
7546 * soft-fp/soft-fp.h: Likewise.
7547 * soft-fp/subdf3.c: Likewise.
7548 * soft-fp/subsf3.c: Likewise.
7549 * soft-fp/subtf3.c: Likewise.
7550 * soft-fp/truncdfsf2.c: Likewise.
7551 * soft-fp/trunctfdf2.c: Likewise.
7552 * soft-fp/trunctfsf2.c: Likewise.
7553 * soft-fp/trunctfxf2.c: Likewise.
7554 * soft-fp/unorddf2.c: Likewise.
7555 * soft-fp/unordsf2.c: Likewise.
7556 * soft-fp/unordtf2.c: Likewise.
7557
02ac9503
UB
75582013-11-05 Uros Bizjak <ubizjak@gmail.com>
7559
7560 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7561 (_FP_MUL_MEAT_D): Ditto.
7562 (_FP_DIV_MEAT_S): Ditto.
7563 (_FP_DIV_MEAT_D): Ditto.
7564 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7565 t-softfp-sfdf and t-softfp to tmake_file.
7566
61221141
UB
75672013-11-03 Uros Bizjak <ubizjak@gmail.com>
7568
7569 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7570 * config/i386/crtprec.c: Ditto.
7571
9304f876
CJW
75722013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7573 Shiva Chen <shiva0217@gmail.com>
7574
7575 * config.host (nds32*-elf*): Add nds32 target.
7576 * config/nds32 : New directory and files.
7577
0e499e75
HPN
75782013-10-16 Hans-Peter Nilsson <hp@axis.com>
7579
7580 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7581 * config.host (cpu_type) <Setting default>: Add entry for
7582 crisv32-*-*.
7583 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7584 <crisv32-*-linux*>: Adjust.
7585 * longlong.h: Wrap the whole CRIS section in a single
7586 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7587 and sub_ddmmss.
7588 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7589 defined.
7590 [__CRIS__] (__umulsidi3): Define.
7591 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7592 * config/cris/sfp-machine.h: New file.
7593 * config/cris/umulsidi3.S: New file.
7594 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7595 * config/cris/arit.c (SIGNMULT): New macro.
7596 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7597 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7598 saving 3 out of originally 33 cycles from the fastest
7599 path, 3 out of 54 from the medium path and one from the longest
7600 path. Improve comments.
7601
16022041
RS
76022013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7603
7604 * sync.c: Remove static aliases and define each function directly
7605 under its real name.
7606
69778659
JDA
76072013-10-02 John David Anglin <danglin@gcc.gnu.org>
7608
7609 * config.host (hppa*64*-*-linux*): Define extra_parts.
7610 (hppa*-*-linux*): Likewise.
7611
2deaf8b0
JR
76122013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7613
7614 * config/arc/crtgend.S: Add 2013 to Copyright years.
7615 * config/arc/gmon/atomic.h: Likewise.
7616 * config/arc/gmon/auxreg.h: Likewise.
7617 * config/arc/gmon/sys/gmon_out.h: Likewise.
7618 * config/arc/gmon/sys/gmon.h: Likewise.
7619 * config/arc/gmon/prof-freq.c: Likewise.
7620 * config/arc/gmon/mcount.c: Likewise.
7621 * config/arc/gmon/prof-freq-stub.S: Likewise.
7622 * config/arc/gmon/gmon.c: Likewise.
7623 * config/arc/gmon/machine-gmon.h: Likewise.
7624 * config/arc/gmon/profil.S: Likewise.
7625 * config/arc/gmon/dcache_linesz.S: Likewise.
7626 * config/arc/crtg.S: Likewise.
7627 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7628 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7629 * config/arc/ieee-754/adddf3.S: Likewise.
7630 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7631 * config/arc/ieee-754/fixsfsi.S: Likewise.
7632 * config/arc/ieee-754/gtsf2.S: Likewise.
7633 * config/arc/ieee-754/floatsisf.S: Likewise.
7634 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7635 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7636 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7637 * config/arc/ieee-754/fixdfsi.S: Likewise.
7638 * config/arc/ieee-754/addsf3.S: Likewise.
7639 * config/arc/ieee-754/gesf2.S: Likewise.
7640 * config/arc/ieee-754/floatsidf.S: Likewise.
7641 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7642 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7643 * config/arc/ieee-754/gtdf2.S: Likewise.
7644 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7645 * config/arc/ieee-754/uneqdf2.S: Likewise.
7646 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7647 * config/arc/ieee-754/uneqsf2.S: Likewise.
7648 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7649 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7650 * config/arc/ieee-754/eqdf2.S: Likewise.
7651 * config/arc/ieee-754/ordsf2.S: Likewise.
7652 * config/arc/ieee-754/divsf3.S: Likewise.
7653 * config/arc/ieee-754/divdf3.S: Likewise.
7654 * config/arc/ieee-754/floatunsidf.S: Likewise.
7655 * config/arc/ieee-754/orddf2.S: Likewise.
7656 * config/arc/ieee-754/eqsf2.S: Likewise.
7657 * config/arc/ieee-754/gedf2.S: Likewise.
7658 * config/arc/crtn.S: Likewise.
7659 * config/arc/crti.S: Likewise.
7660 * config/arc/t-arc700-uClibc: Likewise.
7661 * config/arc/asm.h: Likewise.
7662 * config/arc/libgcc-excl.ver: Likewise.
7663 * config/arc/t-arc-newlib: Likewise.
7664 * config/arc/divtab-arc700.c: Likewise.
7665 * config/arc/initfini.c: Likewise.
7666 * config/arc/fp-hack.h: Likewise.
7667
c8e318b0
JR
76682013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7669 Diego Novillo <dnovillo@google.com>
7670
7671 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7672 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7673 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7674 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7675
d38a64b4
JR
76762013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7677 Brendan Kehoe <brendan@zen.org>
7678 Simon Cook <simon.cook@embecosm.com>
7679
7680 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7681 * config/arc: New directory.
7682 * longlong.h [__arc__] (umul_ppmm): Remove.
7683 [__arc__] (__umulsidi3): Define.
7684 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7685 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7686
dff717d2
JC
76872013-09-17 Jacek Caban <jacek@codeweavers.com>
7688
7689 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7690 CreateSemaphoreA.
7691 * config/i386/gthr-win32.h: Likewise.
7692
5c0029de
DD
76932013-09-16 DJ Delorie <dj@redhat.com>
7694
844ad6c6 7695 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
7696 * config/rl78/lib2mul.c: Enable for RL78/G10.
7697 * config/rl78/lib2div.c: Likewise.
7698 * config/rl78/lshrsi3.S: Use vregs.h.
7699 * config/rl78/cmpsi2.S: Likewise.
7700 * config/rl78/trampoline.S: Likewise.
7701 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7702
ceb2fc49
DD
77032013-09-14 DJ Delorie <dj@redhat.com>
7704 Nick Clifton <nickc@redhat.com>
7705
7706 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7707 * config/rl78/vregs.h: New.
7708 * config/rl78/signbit.S: New file. Implements signbit function.
7709 * config/rl78/divmodsi.S: New.
7710 * config/rl78/divmodhi.S: New.
7711 * config/rl78/divmodqi.S: New.
7712 * config/rl78/t-rl78: Build them here...
7713 * config/rl78/lib2div.c: ...but not here.
7714
f6a83b4a
DD
77152013-09-12 DJ Delorie <dj@redhat.com>
7716
7717 * config.host (msp*-*-elf): New.
7718 * config/msp430/: New port.
7719
9107b096
IS
77202013-08-18 Iain Sandoe <iain@codesourcery.com>
7721
7722 PR gcov-profile/58127
7723 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7724 __thread var for emulated TLS.
7725 (__gcov_indirect_call_counters): Likewise.
7726
0f9bde1f 77272013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 7728 Catherine Moore <clm@codesourcery.com>
7d296953 7729 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
7730
7731 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7732 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7733 (CALL_STUB_NO_RET): Likewise.
7734 (CALL_STUB_RET): Likewise.
7735 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7736 __mips16_ret call/return stub symbols.
7737 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7738 to tmake_file.
7739
2dc14aac
MR
77402013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7741
7742 * config.host <mips*-*-linux*>: Remove a stray comment.
7743
748d71f3
JH
77442013-08-10 Jan Hubicka <jh@suse.cz>
7745
7746 Work around binutils PR14342
7747 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7748 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7749 (L_gcov_indirect_call_profiler_v2): New.
7750
2fa3d31b
JH
77512013-08-06 Jan Hubicka <jh@suse.cz>
7752
7753 * libgcov.c (__gcov_indirect_call_callee,
7754 __gcov_indirect_call_counters): New global vars.
7755 (__gcov_indirect_call_profiler): replace by ...
7756 (__gcov_indirect_call_profiler_v2) ... this one.
7757
2077db1b
CT
77582013-08-06 Caroline Tice <cmtice@google.com>
7759
d0595b65 7760 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 7761 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
7762 * configure.ac: Add code to check/set enable_vtable_verify.
7763 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 7764 true.
d0595b65
CT
7765 * vtv_start_preinit.c: New file.
7766 * vtv_end_preinit.c: New file.
7767 * vtv_start.c: New file.
7768 * vtv_end.c: New file.
7769 * configure: Regenerated.
2077db1b 7770
46549c20
MK
77712013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7772
7773 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7774 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7775 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7776 GPL-3.0-with-GCC-exception.
7777
72be589b
MR
77782013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7779
7780 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7781 ISA and up.
7782
902a3faf
AK
77832013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7784
7785 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7786 mapping for FPRs when creating the fallback framestate.
7787
02371798
GJL
77882013-07-19 Georg-Johann Lay <avr@gjlay.de>
7789
7790 PR target/57516
7791 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7792 (__round_s2_const, __round_u2_const)
7793 (__round_s4_const, __round_u4_const, __round_x8):
7794 Saturate result if addition result cannot be represented.
7795
ab0e8379
MK
77962013-07-15 Matthias Klose <doko@ubuntu.com>
7797
7798 * libgcc2.c: Don't include <limits.h>.
7799
7da38058
JJ
78002013-07-09 Janis Johnson <janisjo@codesourcery.com>
7801
7802 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7803
1f6eac90
JJ
78042013-07-06 Jakub Jelinek <jakub@redhat.com>
7805
7806 PR target/29776
7807 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7808
4ea3d774
JJ
78092013-06-28 Jakub Jelinek <jakub@redhat.com>
7810
7811 PR middle-end/36041
7812 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7813 Define.
7814 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7815 instead of table lookups.
7816 (__popcountDI2): Likewise.
7817
9d2cdf25
CJW
78182013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7819
7820 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7821 correctly.
7822
fa1e55b0
JM
78232013-06-21 Joseph Myers <joseph@codesourcery.com>
7824
7825 PR other/53317
7826 * soft-fp/adddf3.c: Update from glibc.
7827 * soft-fp/addsf3.c: Likewise.
7828 * soft-fp/addtf3.c: Likewise.
7829 * soft-fp/divdf3.c: Likewise.
7830 * soft-fp/divsf3.c: Likewise.
7831 * soft-fp/divtf3.c: Likewise.
7832 * soft-fp/double.h: Likewise.
7833 * soft-fp/eqdf2.c: Likewise.
7834 * soft-fp/eqsf2.c: Likewise.
7835 * soft-fp/eqtf2.c: Likewise.
7836 * soft-fp/extenddftf2.c: Likewise.
7837 * soft-fp/extended.h: Likewise.
7838 * soft-fp/extendsfdf2.c: Likewise.
7839 * soft-fp/extendsftf2.c: Likewise.
7840 * soft-fp/fixdfdi.c: Likewise.
7841 * soft-fp/fixdfsi.c: Likewise.
7842 * soft-fp/fixsfdi.c: Likewise.
7843 * soft-fp/fixsfsi.c: Likewise.
7844 * soft-fp/fixtfdi.c: Likewise.
7845 * soft-fp/fixtfsi.c: Likewise.
7846 * soft-fp/fixunsdfdi.c: Likewise.
7847 * soft-fp/fixunsdfsi.c: Likewise.
7848 * soft-fp/fixunssfdi.c: Likewise.
7849 * soft-fp/fixunssfsi.c: Likewise.
7850 * soft-fp/fixunstfdi.c: Likewise.
7851 * soft-fp/fixunstfsi.c: Likewise.
7852 * soft-fp/floatdidf.c: Likewise.
7853 * soft-fp/floatdisf.c: Likewise.
7854 * soft-fp/floatditf.c: Likewise.
7855 * soft-fp/floatsidf.c: Likewise.
7856 * soft-fp/floatsisf.c: Likewise.
7857 * soft-fp/floatsitf.c: Likewise.
7858 * soft-fp/floatundidf.c: Likewise.
7859 * soft-fp/floatundisf.c: Likewise.
7860 * soft-fp/floatunditf.c: Likewise.
7861 * soft-fp/floatunsidf.c: Likewise.
7862 * soft-fp/floatunsisf.c: Likewise.
7863 * soft-fp/floatunsitf.c: Likewise.
7864 * soft-fp/gedf2.c: Likewise.
7865 * soft-fp/gesf2.c: Likewise.
7866 * soft-fp/getf2.c: Likewise.
7867 * soft-fp/ledf2.c: Likewise.
7868 * soft-fp/lesf2.c: Likewise.
7869 * soft-fp/letf2.c: Likewise.
7870 * soft-fp/muldf3.c: Likewise.
7871 * soft-fp/mulsf3.c: Likewise.
7872 * soft-fp/multf3.c: Likewise.
7873 * soft-fp/negdf2.c: Likewise.
7874 * soft-fp/negsf2.c: Likewise.
7875 * soft-fp/negtf2.c: Likewise.
7876 * soft-fp/op-1.h: Likewise.
7877 * soft-fp/op-2.h: Likewise.
7878 * soft-fp/op-4.h: Likewise.
7879 * soft-fp/op-8.h: Likewise.
7880 * soft-fp/op-common.h: Likewise.
7881 * soft-fp/quad.h: Likewise.
7882 * soft-fp/single.h: Likewise.
7883 * soft-fp/soft-fp.h: Likewise.
7884 * soft-fp/subdf3.c: Likewise.
7885 * soft-fp/subsf3.c: Likewise.
7886 * soft-fp/subtf3.c: Likewise.
7887 * soft-fp/truncdfsf2.c: Likewise.
7888 * soft-fp/trunctfdf2.c: Likewise.
7889 * soft-fp/trunctfsf2.c: Likewise.
7890 * soft-fp/unorddf2.c: Likewise.
7891 * soft-fp/unordsf2.c: Likewise.
7892 * soft-fp/unordtf2.c: Likewise.
7893 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7894 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7895 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7896 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7897 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7898 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7899 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7900 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7901 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7902 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7903 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7904 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7905
0de86a92
JU
79062013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7907
7908 * config/mips/lib2funcs.c: New file.
7909 * config/mips/t-mips (LIB2ADD_ST): Add it.
7910
0d008882
OE
79112013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7912
7913 PR target/6526
7914 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7915 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7916
776434d1
WL
79172013-06-08 Walter Lee <walt@tilera.com>
7918
7919 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7920 Replace int64_t with long long. Add __extension__ where
7921 appropriate.
7922 * config/tilepro/atomic.c: Include config.h.
7923
6ab3ebb4
DR
79242013-06-06 Douglas B Rupp <rupp@adacore.com>
7925
7926 * config.host (arm-wrs-vxworks): Configure with other soft float.
7927
107eea2c
JU
79282013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7929
7930 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7931 (mips64r5900el-*-elf*): New configurations.
7932
5cc19c62
AM
79332013-06-04 Alan Modra <amodra@gmail.com>
7934
7935 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7936
0f1d3965
YR
79372013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7938
7939 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7940
0ba045df
EB
79412013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7942
7943 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7944 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7945 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7946
49dcafd4
EB
79472013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7948
7949 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7950 (powerpc-wrs-vxworks): Likewise.
7951
4fcb5d87
EB
79522013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7953
7954 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7955 signal frames as well.
7956 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7957 STACK_BIAS to the CFA offset.
7958
0ec33224
RH
79592013-05-17 Richard Henderson <rth@redhat.com>
7960
7961 PR target/49146
7962 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7963 (execute_cfa_program): Use it when storing to fs->regs.
7964
492a8029
KT
79652013-05-08 Kai Tietz <ktietz@redhat.com>
7966
7967 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7968 (__deregister_frame_info): Likewise.
7969
701e2f0a
TS
79702013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7971
e5123d08
TS
7972 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7973 NaN's payload.
7974
701e2f0a
TS
7975 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7976
b9a7eb5d
AM
79772013-04-25 Alan Modra <amodra@gmail.com>
7978
7979 * config.host: Match little-endian powerpc-linux.
7980
dfe192f5
YZ
79812013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7982
7983 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7984 as 'unsigned long long' instead of 'unsigned long'.
7985 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7986 'signed long'.
7987
b6b9af2f
JB
79882013-04-10 Julian Brown <julian@codesourcery.com>
7989
7990 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7991 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7992 unsigned char/unsigned short.
7993 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7994
ecabdd00
JDA
79952013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7996
7997 PR other/55274
7998 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7999
34652576
MI
80002013-04-04 Meador Inge <meadori@codesourcery.com>
8001
8002 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8003 computing the location of the link register.
8004 (aeabi_uldivmod): Ditto.
8005
e9fd8c19
KT
80062013-03-27 Kai Tietz <ktietz@redhat.com>
8007
8008 * config.host: Add support for cygwin x64 target.
8009 * configure: Regenerated.
8010
a6406324
WL
80112013-03-26 Walter Lee <walt@tilera.com>
8012
8013 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8014 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8015
55446c7e
KT
80162013-03-25 Kai Tietz <ktietz@redhat.com>
8017
8018 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8019
d2ae19d9
RM
80202013-03-20 Robert Mason <rbmj@verizon.net>
8021
8022 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8023 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8024 (__gthread_leave_tsd_dtor_context): Add prototypes.
8025 (tls_delete_hook): Update.
8026
22c4c869
CM
80272013-03-20 Catherine Moore <clm@codesourcery.com>
8028 Joseph Myers <joseph@codesourcery.com>
8029 Chao-ying Fu <fu@mips.com>
8030
8031 * config/mips/mips16.S: Don't build for microMIPS.
8032 * config/mips/linux-unwind.h: Handle microMIPS frame.
8033 * config/mips/crtn.S (fini, init): New labels.
8034
fbd28bc3
JJ
80352013-03-14 Jakub Jelinek <jakub@redhat.com>
8036
8037 PR tree-optimization/53265
8038 * unwind-dw2.c (execute_cfa_program): Avoid
8039 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8040 on targets with DWARF_FRAME_REGISTERS < 32.
8041
decc676e
OE
80422013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8043
8044 PR target/49880
8045 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8046 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8047
84ea618a
ST
80482013-03-07 Sriraman Tallam <tmsriram@google.com>
8049
8050 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8051 sandybridge processors.
8052
8f6d1c86
OE
80532013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8054
8055 PR target/56529
8056 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8057 inclusion list.
8058
ecdbd01a 80592013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
8060
8061 * config/microblaze/crti.S: Setup stack protection at entry
8062
0b4ce21b
GJL
80632013-03-04 Georg-Johann Lay <avr@gjlay.de>
8064
8065 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8066 (__rotldi3): Shift bytewise if applicable.
8067
b7c3f1ca
JG
80682013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8069
8070 * config/aarch64/sync-cache.c
8071 (__aarch64_sync_cache_range): Silence warnings.
8072
6d65e8f1
CM
80732013-02-25 Catherine Moore <clm@codesourcery.com>
8074
8075 Revert:
8076 2013-02-24 Catherine Moore <clm@codesourcery.com>
8077 Joseph Myers <joseph@codesourcery.com>
8078 Chao-ying Fu <fu@mips.com>
8079
8080 * config/mips/mips16.S: Don't build for microMIPS.
8081 * config/mips/linux-unwind.h: Handle microMIPS frame.
8082 * config/mips/crtn.S (fini, init): New labels.
8083
6941b508
CM
80842013-02-24 Catherine Moore <clm@codesourcery.com>
8085 Joseph Myers <joseph@codesourcery.com>
8086 Chao-ying Fu <fu@mips.com>
8087
8088 * config/mips/mips16.S: Don't build for microMIPS.
8089 * config/mips/linux-unwind.h: Handle microMIPS frame.
8090 * config/mips/crtn.S (fini, init): New labels.
8091
7c422dbb 80922012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 8093 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
8094 as dividend.
8095
110207ad
AM
80962013-02-16 Alan Modra <amodra@gmail.com>
8097
8098 PR target/55431
8099 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8100 (ppc_fallback_frame_state): Always set up save locations for fp
8101 and altivec. Don't bother with non-callee-saved regs, r0-r13
8102 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8103
e68a4ef6
GJL
81042013-02-12 Georg-Johann Lay <avr@gjlay.de>
8105
8106 PR target/54222
8107 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8108 _ssmulHA, _ssmulSA.
8109 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8110 _ssmulha3, _usmulusa3, _ssmulsa3.
8111 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8112 (__muldi3): XCALL __muldi3_6 instead of rcall.
8113 (__umulsidi3, __mulsidi3): New functions.
8114 (do_prologue_saves, do_epilogue_restores): New .macros.
8115 (__divdi3_moddi3): Use them.
8116 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8117 (__usmulusa3, __ssmulsa3): New functions.
8118
6c59ffd1
IS
81192013-02-11 Iain Sandoe <iain@codesourcery.com>
8120 Jack Howarth <howarth@bromo.med.uc.edu>
8121 Patrick Marlier <patrick.marlier@gmail.com>
8122
8123 PR libitm/55693
8124 * config/darwin-crt-tm.c: Remove dummy functions hack.
8125
85d768f3
GJL
81262013-02-08 Georg-Johann Lay <avr@gjlay.de>
8127
8128 PR target/54222
8129 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8130 * config/avr/lib2-object.mk: New iterator to build objects from it.
8131 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8132 lib2funcs.c.
8133 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8134 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8135 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8136 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8137 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8138 * config/avr/lib1funcs-fixed.S: Implement them.
8139
5d5bf775
RS
81402013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8141
8142 Update copyright years.
8143
99113dff
DE
81442013-02-01 David Edelsohn <dje.gcc@gmail.com>
8145
8146 PR target/54601
8147 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8148 Add crtcxa to extra_parts.
8149 * config/rs6000/exit.h: New file.
8150 * config/rs6000/cxa_atexit.c: New file.
8151 * config/rs6000/cxa_finalize.c: New file.
8152 * config/rs6000/crtcxa.c: New file.
8153 * config/rs6000/t-aix-cxa: New file.
8154 * config/rs6000/libgcc-aix-cxa.ver: New file.
8155
dbdbd982
NC
81562013-01-31 Nick Clifton <nickc@redhat.com>
8157
8158 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8159 variant.
8160
5893f158
GJL
81612013-01-29 Georg-Johann Lay <avr@gjlay.de>
8162
8163 PR target/54222
8164 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8165 _mulQQ, _mulHQ, _mulHA, _mulSA,
8166 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8167 _divQQ, _divHQ, _divHA, _divSA,
8168 _divUQQ, _divUHQ, _divUHA, _divUSA.
8169
ecdbd01a 81702013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 8171
dbdbd982 8172 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
8173 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8174 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8175 to exclude functions from being built with libgcc.c and use
8176 the microblaze assembly.
8177
ecdbd01a 81782013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
8179
8180 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8181 extra_parts.
8182
922c57d1
YZ
81832013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8184
8185 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8186 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8187 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8188 alignment operation.
8189
e0f8b6a0
SN
81902013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8191
8192 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8193 loop start address for cache clearing.
8194
00892272
GJL
81952013-01-14 Georg-Johann Lay <avr@gjlay.de>
8196
8197 * config/avr/lib1funcs.S: Remove trailing blanks.
8198 * config/avr/lib1funcs-fixed.S: Ditto.
8199
e59ec5fd
GJL
82002013-01-14 Georg-Johann Lay <avr@gjlay.de>
8201
8202 * config/avr/avr-lib.h: Add GPL copyright notice.
8203
3ffc1958
GJL
82042013-01-14 Georg-Johann Lay <avr@gjlay.de>
8205
8206 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8207 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8208 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8209 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8210
25c210f9
MK
82112013-01-07 Mark Kettenis <kettenis@openbsd.org>
8212
8213 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8214 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 8215
db59befb
NC
82162013-01-04 Nick Clifton <nickc@redhat.com>
8217
8218 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8219 the CALLT instruction is supported.
8220
5aa12dbf
JW
82212012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8222
8223 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8224 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8225
65f14117
JT
82262012-12-13 John Tytgat <John@bass-software.com>
8227
8228 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8229 is 25.
8230
ee3ae4f7
JJ
82312012-12-12 Jakub Jelinek <jakub@redhat.com>
8232
8233 PR libgcc/55451
8234 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8235 undefined signed overflows.
8236
2fcfba3d
UB
82372012-12-09 Uros Bizjak <ubizjak@gmail.com>
8238
8239 PR target/55344
8240 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8241
4f2b3dc2
UB
82422012-12-06 Uros Bizjak <ubizjak@gmail.com>
8243
8244 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8245 (FP_TRAPPING_EXCEPTIONS): Define.
8246 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8247 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8248
066161a2
RH
82492012-12-04 Richard Henderson <rth@redhat.com>
8250
8251 PR bootstrap/55571
8252 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8253
7d296953 82542012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 8255
4f2b3dc2 8256 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
8257 (FP_EX_SHIFT): Define.
8258 (FP_TRAPPING_EXCEPTIONS): Define.
8259
7d296953 82602012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
8261
8262 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8263 (FP_ROUNDMODE): Use FP_RND_MASK.
8264 * config/aarch64/sfp-exceptions.c: New.
8265 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8266 Use __sfp_handle_exceptions.
8267
5005fe22
RE
82682012-12-04 Richard Earnshaw <rearnsha@arm.com>
8269
8270 * config.host: (arm*-*-freebsd*): Remove.
8271 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8272 (arm*-*-elf*): Remove.
8273 (arm*-*-wince-pe*): Remove.
8274 * arm/unwind-arm.c (struct fpa_reg): Delete.
8275 (struct fpa_regs): Delete.
8276 (phase1_vrs): Remove fpa element.
8277 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8278 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8279 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8280 * ieee754-sf.S (floatundisf): Remove FPA support.
8281 (floatdisf): Likewise.
8282 * ieee75f-df.S (floatundidf): Likewise.
8283 (floatdidf): Likewise.
8284
e5a81c8e
KT
82852012-11-29 Kai Tietz <ktietz@redhat.com>
8286
8287 PR target/55445
8288 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8289 * unwind-generic.h: Likewise.
8290 * unwind-seh.c: Likewise.
8291
f4919e4a
RH
82922012-11-28 Richard Henderson <rth@redhat.com>
8293
8294 PR libgcc/48076
8295 * emutls.c (__emutls_get_address): Avoid race condition between
8296 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 8297
e13d9d5a
GJL
82982012-11-22 Georg-Johann Lay <avr@gjlay.de>
8299
8300 Adjust decimal point of signed accum mode to GCC default.
8301
8302 PR target/54222
8303 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8304 _divqq_helper.
8305 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8306 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8307 (__mulha3, __mulsa3)
8308 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
8309 decimal point of signed accum types.
8310
e13d9d5a
GJL
8311 (__mulusa3_round): New function.
8312 (__mulusa3): Use it.
8313 (__divqq_helper): New function.
8314 (__udivuqq3): Use it.
8315
1b845c6e
JJ
83162012-11-20 Jakub Jelinek <jakub@redhat.com>
8317
8318 PR bootstrap/55370
8319 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8320
822a258a
TJ
83212012-11-18 Teresa Johnson <tejohnson@google.com>
8322
8323 PR bootstrap/55051
8324 * libgcov.c (gcov_exit): Remove merged program summary
8325 comparison unless !GCOV_LOCKED.
8326
7d296953 83272012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
8328
8329 * soft-fp: Updated from glibc upstream.
8330
e808687a
ILT
83312012-11-06 Ian Lance Taylor <iant@google.com>
8332
8333 * generic-morestack.c (__generic_morestack): Align the returned
8334 stack pointer to a 32 byte boundary.
8335 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8336 increment the return address until we have decided that we don't
8337 have a varargs function.
8338 (__morestack) [32-bit]: Align stack correctly when calling C
8339 functions.
8340 (__morestack) [64-bit]: Likewise.
8341
460277e0
TS
83422012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8343
8344 * configure: Regenerate.
8345
73edb277
UB
83462012-11-02 Uros Bizjak <ubizjak@gmail.com>
8347
8348 PR target/55175
8349 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8350 * config/i386/sfp-machine.h: Guard exception handling
8351 code with _SOFT_FLOAT.
8352 * config/i386/32/sfp-machine.h: Guard rounding handling
8353 code with _SOFT_FLOAT.
8354 * config/i386/64/sfp-machine.h: Ditto.
8355
c1d4fa04
JS
83562012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8357
8358 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8359 as extra_parts.
8360
eff6ca85
UB
83612012-10-26 Uros Bizjak <ubizjak@gmail.com>
8362
8363 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8364 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8365 when appropriate. Correct structure element types.
8366 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8367 -minline-all-stringops from compile flags.
8368
7d296953 83692012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
8370
8371 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8372
7d296953 83732012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 8374
eff6ca85 8375 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 8376
6f288860
SH
83772012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8378
8379 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8380 tmake_file.
8381
1e3d5096
IB
83822012-10-23 Ian Bolton <ian.bolton@arm.com>
8383 Jim MacArthur <jim.macarthur@arm.com>
8384 Marcus Shawcroft <marcus.shawcroft@arm.com>
8385 Nigel Stephens <nigel.stephens@arm.com>
8386 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8387 Richard Earnshaw <rearnsha@arm.com>
8388 Sofiane Naci <sofiane.naci@arm.com>
8389 Stephen Thomas <stephen.thomas@arm.com>
8390 Tejas Belagod <tejas.belagod@arm.com>
8391 Yufeng Zhang <yufeng.zhang@arm.com>
8392
8393 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8394 * config/aarch64/crti.S: New file.
8395 * config/aarch64/crtn.S: New file.
8396 * config/aarch64/linux-unwind.h: New file.
8397 * config/aarch64/sfp-machine.h: New file.
8398 * config/aarch64/sync-cache.c: New file.
8399 * config/aarch64/t-aarch64: New file.
8400 * config/aarch64/t-softfp: New file.
8401
8a740f07
HPN
84022012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8403
8404 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8405 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8406 no-longer-needed LDBU insns.
8407
7d296953 84082012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8409
8410 * config.host
8411 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8412 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8413
595fefee
MGD
84142012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8415
8416 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8417
9945a876
MK
84182012-10-15 Matthias Klose <doko@ubuntu.com>
8419
8420 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8421
1183dc2c
PC
84222012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8423
8424 * configure: Regenerate.
8425 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8426
945a9c1f
UB
84272012-10-10 Uros Bizjak <ubizjak@gmail.com>
8428
8429 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8430 instructions for 64bit targets only.
8431
fb8bf47a
UB
84322012-10-10 Uros Bizjak <ubizjak@gmail.com>
8433
8434 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8435 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8436 * config/i386/32/sfp-machine.h: ... here.
8437 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8438 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8439 New defines.
8440
acb72498
MK
84412012-10-07 Matthias Klose <doko@ubuntu.com>
8442
8443 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8444 as unused.
8445 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8446
8eaee0f0
MK
84472012-10-06 Mark Kettenis <kettenis@openbsd.org>
8448
8449 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8450 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8451 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8452 (ElfW): Likewise.
8453
5e3e4fe8
JW
84542012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8455
8456 PR other/53889
8457 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8458 Fix parameter names.
8459
86086376
OE
84602012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8461
8462 PR target/33135
8463 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8464 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8465 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8466
9597375a
OE
84672012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8468
8469 PR target/50457
8470 * config/sh/linux-atomic.S: Delete.
8471 * config/sh/linux-atomic.c: New.
8472 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8473 linux-atomic.c. Add cflags to disable warnings.
8474
1504e3e1
JW
84752012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8476
8477 PR other/53889
8478 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8479 function.
8480 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8481 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8482 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8483 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8484 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8485 Likewise.
1504e3e1
JW
8486 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8487 Likewise.
8488 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8489 Likewise.
8490 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8491 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8492
17f293b0
MK
84932012-09-19 Mark Kettenis <kettenis@openbsd.org>
8494
9597375a
OE
8495 * config.host (hppa-*-openbsd*): New target.
8496 * config/pa/t-openbsd: New file.
17f293b0 8497
51526856
GJL
84982012-09-15 Georg-Johann Lay <avr@gjlay.de>
8499
8500 PR target/54222
8501 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8502 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8503 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8504 (__divsa3): Use __negsi2 to negate r_quoL.
8505 * config/avr/lib1funcs.S (FALIAS): New macro.
8506 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8507 (__negsi2): ...this new function.
8508 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8509 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8510 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8511 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8512 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8513 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8514
aadb5b43
OE
85152012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8516
8517 PR target/54089
8518 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8519 (lshrsi3): Reimplement as lshrsi3_r0.
8520
d5d66749
AS
85212012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8522
8523 PR target/46191
8524 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8525 of libgcc.a.
8526
c6c36e73
TJ
85272012-09-07 Teresa Johnson <tejohnson@google.com>
8528
9597375a 8529 PR gcov-profile/54487
c6c36e73 8530 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8531 differences.
c6c36e73 8532
b588ae30
GJL
85332012-09-05 Georg-Johann Lay <avr@gjlay.de>
8534
8535 PR target/54461
8536 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8537 not configured --with-avrlibc=no.
8538 * config/avr/t-avrlibc: New file.
8539 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8540 (DPBIT_FUNCS): Ditto.
8541 (TPBIT_FUNCS): Ditto.
8542
abd16fb1
TJ
85432012-09-04 Teresa Johnson <tejohnson@google.com>
8544
8545 * libgcov.c (struct gcov_summary_buffer): New structure.
8546 (gcov_histogram_insert): New function.
8547 (gcov_compute_histogram): Ditto.
8548 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8549 histograms during summary merging.
8550
613061fd
MK
85512012-09-01 Mark Kettenis <kettenis@openbsd.org>
8552
8553 * config.host (x86_64-*-openbsd*): New target.
73edb277 8554
867a8345
CLT
85552012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8556
8557 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8558 attribute.
8559
4aeaaca3
GJL
85602012-08-24 Georg-Johann Lay <avr@gjlay.de>
8561
8562 PR target/54222
8563 * config/avr/t-avr (conv_X): Rename to func_X.
8564
e55e4056
GJL
85652012-08-24 Georg-Johann Lay <avr@gjlay.de>
8566
8567 PR target/54222
8568 * config/avr/lib1funcs-fixed.S: New file.
8569 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8570 after they are used.
8571 (neg2, neg4): New macros.
8572 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8573 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8574 (__umulhisi3): Speed up MUL variant if there is enough flash.
8575 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8576 avr-modes.def.
8577 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8578 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8579 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8580 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8581 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8582 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8583 (LIB2FUNCS_EXCLUDE): Add supported functions.
8584
a147b6d2
GJL
85852012-08-22 Georg-Johann Lay <avr@gjlay.de>
8586
8587 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8588 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8589 libgcc-s-objects.
8590 * fixed-obj.mk: Only expand dependency if $o is not in
8591 LIB2FUNCS_EXCLUDE.
8592
c637141a
L
85932012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8594
8595 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8596
130e00bd
JM
85972012-08-22 Joseph Myers <joseph@codesourcery.com>
8598
8599 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8600 depend on --enable-shared.
8601 ($(lib1asmfuncs-o)): Use %.vis files independent of
8602 --enable-shared.
8603 * static-object.mk ($(base)$(objext), $(base).vis)
8604 ($(base)_s$(objext)): Use same rules for visibility handling as in
8605 shared-object.mk.
8606
4b1b3788
ILT
86072012-08-21 Ian Lance Taylor <iant@google.com>
8608
8609 * config/i386/morestack.S (__morestack_non_split): Increase amount
8610 of space allocated for non-split code stack.
8611
d2468141
JM
86122012-08-19 Joseph Myers <joseph@codesourcery.com>
8613
8614 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8615 even if inhibit_libc.
8616
a508e1a8
JB
86172012-08-17 Julian Brown <julian@codesourcery.com>
8618
8619 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8620 -fexceptions -fnon-call-exceptions if not defined.
8621 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8622 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8623
5615a07d
AS
86242012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8625
8626 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8627 type.
8628
138f5acd
DE
86292012-08-16 David Edelsohn <dje.gcc@gmail.com>
8630
8631 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8632 rs6000/t-slibgcc-aix.
8633
18efc0dd
SB
86342012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8635
8636 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8637
6b39bc38
SB
86382012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8639
8640 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8641
cd25dea0
L
86422012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8643
8644 PR driver/54171
8645 * Makefile.in (version): Replace top_srcdir with srcdir.
8646
a3dda30b
JY
86472012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8648
8649 * Makefile.in (version): set to BASE-VER file from gcc directory.
8650
d04aacfc
NC
86512012-08-01 Nick Clifton <nickc@redhat.com>
8652
8653 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8654 Implements __clrsb for an HImode argument.
8655
0d13c974
NC
86562012-07-31 Nick Clifton <nickc@redhat.com>
8657
8658 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8659 Implements __clrsb for an HImode argument.
8660 * config/stormy16/clrsbhi2.c: New file:
8661 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8662
efbb59b2
SB
86632012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8664
8665 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8666
bf1431e3
TG
86672012-07-19 Tristan Gingold <gingold@adacore.com>
8668 Richard Henderson <rth@redhat.com>
8669
8670 * unwind-seh.c: New file.
8671 * unwind-generic.h: Include windows.h for SEH.
8672 (_Unwind_Exception): Use 6 private fields for SEH.
8673 (_GCC_specific_handler): Declare.
8674 * unwind-c.c (__gcc_personality_seh0): New function.
8675 Adjust for SEH.
8676 * config/i386/libgcc-cygming.ver: New file.
8677 * config/i386/t-seh-eh: New file.
8678 * config.host (x86_64-*-mingw*): Default to seh.
8679
659140c8
SB
86802012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8681
8682 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8683
a20d08fd
UB
86842012-06-17 Uros Bizjak <ubizjak@gmail.com>
8685
8686 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8687 __builtin_expect when checking for exceptions.
8688 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8689
79261115
UB
86902012-06-13 Uros Bizjak <ubizjak@gmail.com>
8691
4a172156
UB
8692 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8693 function declaration.
8694 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8695 (FP_RND_MASK): New.
8696 * config/ia64/sfp-exceptions.c: New.
8697 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 8698
bb5c97d4
UB
86992012-06-13 Uros Bizjak <ubizjak@gmail.com>
8700
8701 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8702 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8703 * config/i386/64/sfp-machine: ... (delete here) ...
8704 * config/i386/sfp-machine.h: ... to here.
8705 (FP_EX_MASK): Remove.
8706 (FP_RND_MASK): New.
8707 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8708
91fe5efb
ST
87092012-06-11 Sriraman Tallam <tmsriram@google.com>
8710
8711 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8712 * config/i386/libgcc-sol2.ver: Ditto.
8713 * config/i386/libgcc-glibc.ver: Ditto.
8714
67a218c5
RM
87152012-06-11 Roland McGrath <mcgrathr@google.com>
8716
8717 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8718 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8719 pthread_cancel.
8720
492fbea1
UB
87212012-06-09 Uros Bizjak <ubizjak@gmail.com>
8722
8723 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8724 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8725 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8726 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8727 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8728 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8729 * config/i386/64/sfp-machine: ... (delete here) ...
8730 * config/i386/sfp-machine.h: ... to here.
8731 (FP_EX_MASK): New.
8732 (__sfp_handle_exceptions): New function declaration.
8733 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8734 * config/i386/sfp-exceptions.c: New.
8735 * config/i386/t-softfp: New.
8736 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8737 i386/t-softfp to tmake_file.
8738
7b4cf266
DM
87392012-06-03 David S. Miller <davem@davemloft.net>
8740
8741 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8742 change.
8743
0de0d5c6
DM
87442012-05-31 David S. Miller <davem@davemloft.net>
8745
8746 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8747 multiply and divide instructions on 32-bit when V9.
8748 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8749
d8c9d391
JM
87502012-05-29 Joseph Myers <joseph@codesourcery.com>
8751
8752 * config/arm/ieee754-df.S: Fix typos.
8753 * config/arm/ieee754-sf.S: Fix typos.
8754 * config/c6x/libunwind.S: Fix typos.
8755 * config/epiphany/udivsi3-float.c: Fix typos.
8756 * config/microblaze/muldi3_hard.S: Fix typos.
8757 * config/picochip/adddi3.S: Fix typos.
8758 * config/picochip/ashlsi3.S: Fix typos.
8759 * config/picochip/ashrsi3.S: Fix typos.
8760 * config/picochip/clzsi2.S: Fix typos.
8761 * config/picochip/cmpsi2.S: Fix typos.
8762 * config/picochip/divmod15.S: Fix typos.
8763 * config/picochip/divmodhi4.S: Fix typos.
8764 * config/picochip/divmodsi4.S: Fix typos.
8765 * config/picochip/longjmp.S: Fix typos.
8766 * config/picochip/lshrsi3.S: Fix typos.
8767 * config/picochip/parityhi2.S: Fix typos.
8768 * config/picochip/popcounthi2.S: Fix typos.
8769 * config/picochip/setjmp.S: Fix typos.
8770 * config/picochip/subdi3.S: Fix typos.
8771 * config/picochip/ucmpsi2.S: Fix typos.
8772 * config/picochip/udivmodhi4.S: Fix typos.
8773 * config/picochip/udivmodsi4.S: Fix typos.
8774 * config/spu/divv2df3.c: Fix typos.
8775 * config/spu/mfc_multi_tag_release.c: Fix typos.
8776 * config/spu/mfc_tag_release.c: Fix typos.
8777 * configure.ac: Fix typos.
8778 * configure: Regenerate.
8779
31a18a7e
ILT
87802012-05-25 Ian Lance Taylor <iant@google.com>
8781
8782 * config/i386/morestack.S (__morestack_non_split): Check whether
8783 caller is varargs and needs %bp to hold the stack frame on return.
8784
c5768510
OH
87852012-05-25 Olivier Hainque <hainque@adacore.com>
8786
8787 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8788 sequence in the non pic case on VxWorks.
8789
7c7c339b
OH
87902012-05-24 Olivier Hainque <hainque@adacore.com>
8791
73fb7630 8792 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
8793 "install-leaf" to "install".
8794
fdc1b7d3
OH
87952012-05-24 Olivier Hainque <hainque@adacore.com>
8796
8797 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8798 Use a separate command for stamp removals.
8799
07ba94b9
AP
88002012-05-21 Andrew Pinski <apinski@cavium.com>
8801
8802 PR bootstrap/53183
8803 * configure.ac: Define the default includes to being none.
8804 * configure: Regenerate.
8805
4677d2eb
OH
88062012-05-16 Olivier Hainque <hainque@adacore.com>
8807
8808 * Makefile.in (install-unwind_h): Rename into ...
8809 (install-unwind_h-forbuild): New target.
8810 (all): Use it instead of the former install-unwind_h.
8811 (install-unwind_h): Reinstate, copy to user install destination
8812 for include files, not to the internal gcc object directory one.
8813 (install-leaf): Depend on it.
8814
7d67c380
OH
88152012-05-15 Olivier Hainque <hainque@adacore.com>
8816
8817 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8818 register numbers. LR_REGNO replaces R_LR.
8819 (ucontext_for): New, helper for ...
8820 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8821 and 5.3 of ...
8822 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8823
aca06c90
RO
88242012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8825
8826 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8827 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8828 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8829 i386/t-cpuinfo ...
8830 (i[34567]86-*-*, x86_64-*-*): ... here.
8831
8832 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8833 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8834
8835 * config/i386/i386-cpuinfo.c: Rename to ...
8836 * config/i386/cpuinfo.c: ... this.
8837 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8838
8839 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8840 (libgcc_cv_init_priority): New test.
8841 * configure: Regenerate.
8842 * config.in: New file.
8843 * Makefile.in (clean): Rename config.h to auto-target.h.
8844 (config.h): Likewise.
8845 (stamp-h): Likewise.
8846
8847 * config/i386/cpuinfo.c (auto-target.h): Include.
8848 (CONSTRUCTOR_PRIORITY): Define.
8849 (__cpu_indicator_init): Use it.
8850
0d03ac1b
L
88512012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8852
8853 * longlong.h: Use a URL instead of an FSF postal address.
8854 Replace spaces with tab.
8855
4a172156 88562012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
8857
8858 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8859 (__gcov_dump): Ditto.
8860 (gcov_dump_complete): New global variable.
8861 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8862 (__gcov_flush): Outline functionality now in gcov_clear.
8863 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8864
e4bb767e
AJ
88652012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8866
31a18a7e
ILT
8867 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8868 (mips*-*-linux*): Include mips/t-tpbit when long double is
8869 16 bytes long.
e4bb767e 8870
5ddecff9
ST
88712012-04-25 Sriraman Tallam <tmsriram@google.com>
8872
8873 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8874 (get_available_features): New argument. Check for AVX2.
8875 (__cpu_indicator_init): Modify call to get_available_features.
8876
b427dd7a
AM
88772012-04-25 Alan Modra <amodra@gmail.com>
8878
8879 * config/rs6000/crtsavevr.S: New file.
8880 * config/rs6000/crtrestvr.S: New file.
8881 * config/rs6000/t-savresfgpr: Build the above.
8882 * config/rs6000/t-netbsd: Likewise.
8883
ad491329
ST
88842012-04-24 Sriraman Tallam <tmsriram@google.com>
8885
8886 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8887
792317cc
ST
88882012-04-24 Sriraman Tallam <tmsriram@google.com>
8889
8890 * libgcc/config/i386/i386-cpuinfo.c: New file.
8891 * libgcc/config/i386/t-cpuinfo: New file.
8892 * libgcc/config.host: Include t-cpuinfo.
8893 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8894
e1be98a4
CF
88952012-04-24 Chao-ying Fu <fu@mips.com>
8896
8897 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8898
1bde7dab
TS
88992012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8900
8901 struct siginfo vs. siginfo_t
8902
8903 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8904 siginfo_t instead of struct siginfo.
8905 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8906 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8907 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8908 (ia64_handle_unwabi): Likewise.
8909 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8910 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8911 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8912 (sh_fallback_frame_state): Likewise.
8913 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8914 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8915
24590f66
L
89162012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8917
8918 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8919 system call number.
8920
9a9dcce8
EB
89212012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8922
8923 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8924 if it hasn't been previously saved.
8925
6401aaf5
L
89262012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8927
8928 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8929 only for glibc.
8930
7fd6378e
GJL
89312012-03-28 Georg-Johann Lay <avr@gjlay.de>
8932
8933 PR target/52737
8934 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8935 instead of __AVR_HAVE_8BIT_SP__.
8936
9e916de7
TG
89372012-03-26 Tristan Gingold <gingold@adacore.com>
8938
8939 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8940 (unw_table_entry): Use unw_word instead of unsigned long.
8941 (_Unwind_FindTableEntry): Likewise.
8942 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8943 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8944 (_Unwind_FindTableEntry): Likewise.
8945 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8946 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8947 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8948 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8949 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8950 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8951 (uw_init_context_1, uw_install_context): Likewise.
8952 (unw_word): Move to unwind-ia64.h
8953
4b12e93d
TG
89542012-03-26 Tristan Gingold <gingold@adacore.com>
8955
8956 * config/vms/vms-ucrt0.c: Update copyright years.
8957 Add a sanity check.
8958 (___gcc_main_flags): Declare.
8959 (__main): Check flags to remap argv and exit code.
8960 * config.host (*-*-*vms*): Adjust extra_parts.
8961 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8962 (crt0.o): Add.
8963
06ea7371
RE
89642012-03-22 Richard Earnshaw <rearnsha@arm.com>
8965
8966 * arm/lib1funcs.asm (ctzsi2): New function.
8967 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8968 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8969 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8970 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8971 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8972 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8973
d82ad50d
AT
89742012-03-21 Andreas Tobler <andreast@fgznet.ch>
8975
8976 * config.host: Add bits to support powerpc64-*-freebsd*.
8977 * config/rs6000/freebsd-unwind.h: New file.
8978 * config/rs6000/t-freebsd64: New file.
8979
b260a8c0
RG
89802012-03-20 Richard Guenther <rguenther@suse.de>
8981
8982 PR gcov-profile/52627
8983 * libgcov.c (init_mx): Fix mutex name.
8984
86286a8a
TG
89852012-03-16 Tristan Gingold <gingold@adacore.com>
8986
8987 * config/ia64/vms-unwind.h: Remove ulong (and replace
8988 it by unw_reg where used). Define unw_reg with __int64.
8989
7888f266
RO
89902012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8991
8992 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8993 Solaris 8 handling.
8994 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8995 Solaris 8 handling.
8996 (sparc_is_sighandler): Likewise.
8997
f155bc64
L
89982012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8999
9000 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9001 <= saved reg size.
9002
d47657bd
RO
90032012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9004
9005 * config/arm/crtn.S: Fix typo.
9006
5bef73a1
RG
90072012-03-13 Richard Guenther <rguenther@suse.de>
9008
9009 * libgcov.c: Remove stdio.h include and NULL un-define.
9010
9c4271f3
RG
90112012-03-13 Richard Guenther <rguenther@suse.de>
9012
9013 PR target/52569
9014 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9015
c6d10e7c
RG
90162012-03-13 Richard Guenther <rguenther@suse.de>
9017
9018 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9019
074a385f
RG
90202012-03-13 Richard Guenther <rguenther@suse.de>
9021
9022 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9023 and __gthread_mutex_init_function definitions.
9024
c4bc5c25
RO
90252012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9026
9027 * config.host (mips*-*-openbsd*): Remove.
9028
5c30094f
RO
90292012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9030
9031 * config.host: Remove alpha*-dec-osf5.1* handling.
9032 * config/alpha/gthr-posix.c: Remove.
9033 * config/alpha/libgcc-osf5.ver: Remove.
9034 * config/alpha/osf5-unwind.h: Remove.
9035 * config/alpha/t-osf-pthread: Remove.
9036 * config/alpha/t-slibgcc-osf: Remove.
9037 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9038 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9039 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9040 * mkmap-flat.awk: Remove osf_export handling.
9041
33e3e24d
RG
90422012-03-12 Richard Guenther <rguenther@suse.de>
9043
9044 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9045 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9046 (__gthread_mutex_init_function): New function.
9047 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9048
9049 PR gcov/49484
9050 * libgcov.c: Include gthr.h.
9051 (__gcov_flush_mx): New global variable.
9052 (init_mx, init_mx_once): New functions.
9053 (__gcov_flush): Protect self with a mutex.
9054 (__gcov_fork): Re-initialize mutex after forking.
9055 * unwind-dw2-fde.c: Change condition under which to use
9056 __GTHREAD_MUTEX_INIT_FUNCTION.
9057
d8aba32a
TG
90582012-03-12 Tristan Gingold <gingold@adacore.com>
9059
9060 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9061 * config/ia64/t-vms: Likewise.
9062
75ffafdc
MH
90632012-03-11 Michael Hope <michael.hope@linaro.org>
9064
4a172156
UB
9065 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9066 for Thumb-2.
75ffafdc 9067
ef6c2c53
WL
90682012-03-07 Walter Lee <walt@tilera.com>
9069
9070 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9071 "arch_atomic_".
9072 (atomic_xor): Rename and move definition to
9073 config/tilepro/atomic.h.
9074 (atomic_nand): Ditto.
9075 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9076 "arch_atomic_".
9077 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9078 (arch_atomic_nand): Ditto.
9079
4e30d980
GJL
90802012-03-07 Georg-Johann Lay <avr@gjlay.de>
9081
9082 PR target/52507
9083 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9084
61108225
GJL
90852012-03-07 Georg-Johann Lay <avr@gjlay.de>
9086
9087 PR target/52505
9088 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9089 from RAM.
9090
b30e10ab
GJL
90912012-03-07 Georg-Johann Lay <avr@gjlay.de>
9092
9093 PR target/52461
9094 PR target/52508
9095 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9096 if RAMPZ affects reading from RAM.
9097 (__tablejump_elpm__): Ditto.
9098 (.xload): Ditto.
9099 (__movmemx_hi): Ditto.
9100 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9101 (__do_global_dtors): Ditto.
9102 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9103 (__movmemx_hi): Ditto.
9104
8993fde4
RH
91052012-03-05 Richard Henderson <rth@redhat.com>
9106
9107 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9108 [ARM] (count_trailing_zeros): Use the builtin.
9109
b7633ee3
KT
91102012-03-01 Kai Tietz <ktietz@redhat.com>
9111
9112 * soft-fp: Imported from glibc upstream.
9113
fbd3340c
KT
91142012-02-28 Kai Tietz <ktietz@redhat.com>
9115
9116 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9117 for mingw-targets as attribute gcc_struct.
9118
e9e053eb
ILT
91192012-02-28 Ian Lance Taylor <iant@google.com>
9120
9121 * generic-morestack.c (__splitstack_releasecontext): Correct call
9122 to __morestack_release_segments.
9123
d80c632e
ST
91242012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9125
9126 PR target/52390
9127 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9128 for __linux__ when removing signals from __morestack_fullmask.
9129
0253a8b1
GJL
91302012-02-23 Georg-Johann Lay <avr@gjlay.de>
9131
9132 PR target/52261
9133 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9134
e10e461e
UW
91352012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9136
9137 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9138 instead of HAVE_INITFINI_ARRAY.
9139 * config/ia64/crtend.S: Likewise.
9140
0c0c6398
KT
91412012-02-20 Kai Tietz <ktietz@redhat.com>
9142
d7470374
KT
9143 PR libstdc++/52300
9144 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9145
0c0c6398
KT
9146 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9147 to w32-unwind.h header.
9148
78c27266
RS
91492012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9150
9151 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9152 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9153 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9154 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9155
5adeb246
RS
91562012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9157
9158 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9159
672ed313
IS
91602012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9161
9162 PR libitm/52220
9163 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 9164
e948a1fb
IS
91652012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9166 Patrick Marlier <patrick.marlier@gmail.com>
9167
9168 PR libitm/52220
9169 * config/darwin-crt-tm.c: Generate dummy functions.
9170
6017aed3
IS
91712012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9172 Patrick Marlier <patrick.marlier@gmail.com>
9173
9174 PR libitm/52042
9175 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9176 (__doTMRegistrations): Call it.
e9e053eb 9177 (__doTMdeRegistrations): Likewise.
6017aed3 9178
2da8c1ad 91792012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
9180 Anatoly Sokolov <aesok@post.ru>
9181 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
9182
9183 PR target/52261
9184 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9185 (__epilogue_restores__): Ditto.
9186
0f952eb4
EB
91872012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9188
9189 PR target/51921
9190 PR target/52205
9191 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9192 Solaris 11 and slightly reformat.
9193 (sparc_is_sighandler): Likewise.
9194
dd552284
WL
91952012-02-14 Walter Lee <walt@tilera.com>
9196
9197 * config.host: Handle tilegx and tilepro.
9198 * config/tilegx/sfp-machine.h: New file.
9199 * config/tilegx/sfp-machine32.h: New file.
9200 * config/tilegx/sfp-machine64.h: New file.
9201 * config/tilegx/t-crtstuff: New file.
9202 * config/tilegx/t-softfp: New file.
9203 * config/tilegx/t-tilegx: New file.
9204 * config/tilepro/atomic.c: New file.
9205 * config/tilepro/atomic.h: New file.
9206 * config/tilepro/linux-unwind.h: New file.
9207 * config/tilepro/sfp-machine.h: New file.
9208 * config/tilepro/softdivide.c: New file.
9209 * config/tilepro/softmpy.S: New file.
9210 * config/tilepro/t-crtstuff: New file.
9211 * config/tilepro/t-tilepro: New file.
9212
b59cbd50
JW
92132012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9214
9215 PR libstdc++/51296
9216 PR libstdc++/51906
9217 * gthr-posix.h: Allow static initializer macros to be disabled.
9218 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9219
6caf807f
CLT
92202012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9221
9222 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9223 Add t-slibgcc-libgcc to tmake_file.
9224 * config/mips/libgcc-mips16.ver: Revert previous patch.
9225 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9226
7d296953
JJ
92272012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9228 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
9229
9230 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9231 * config/cr16/crti.S: New file.
9232 * config/cr16/crtlibid.S: New file.
9233 * config/cr16/crtn.S: New file.
9234 * config/cr16/lib1funcs.S: New file.
9235 * config/cr16/t-cr16: New file.
9236 * config/cr16/t-crtlibid: New file.
9237 * config/cr16/unwind-dw2.h: New file.
9238 * config/cr16/unwind-cr16.c: New file.
9239 * config/cr16/divmodhi3.c: New file.
9240
8ef03aa7
AM
92412012-01-25 Alan Modra <amodra@gmail.com>
9242
9243 * config/rs6000/t-linux64: Delete. Move..
9244 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9245 * config/rs6000/t-linux: ..and libgcc flags to here.
9246
daecebc8
DR
92472012-01-22 Douglas B Rupp <rupp@gnat.com>
9248
9249 * config.host (i[34567]86-*-interix3*):
8ef03aa7 9250 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
9251 * configure: Regenerate.
9252
ddaf8125
RS
92532012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9254 Richard Sandiford <rdsandiford@googlemail.com>
9255
9256 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9257 * config/mips/mips16.S (__mips16_rdhwr): New function.
9258 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9259
2cd8b32c
NS
92602012-01-11 Nathan Sidwell <nathan@acm.org>
9261
9262 * libgcov.c (__gcov_init): Ignore objects with no functions.
9263
cba300dd
GJL
92642012-01-10 Georg-Johann Lay <avr@gjlay.de>
9265
9266 PR target/49868
9267 Extend __pgmx semantics to linearize memory.
9268 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9269 * config/avr/lib1funcs.S (__xload_1): New function.
9270 (__movmemx_qi, __movmemx_hi): New functions.
9271 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9272 semantics.
9ffaf4bc 9273
3d137660
EB
92742012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9275
9276 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9277 purported sigacthandler address isn't null before dereferencing it.
9278 (sparc_is_sighandler): Likewise.
9279
bf4db96c
EB
92802012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9281
9282 PR ada/41929
9283 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9284 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9285 (sparc_is_sighandler): Likewise.
9286 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9287
1ab3568b
TG
92882012-01-06 Tristan Gingold <gingold@adacore.com>
9289
9290 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9291 compatibility thunks...
9292 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9293 (crtbeginS.o, crtendS.o): ... and these to ...
9294 * config/ia64/t-ia64-elf: ... this new file.
9295 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9296 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9297
925b0ed8
AK
92982012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9299
9300 * configure: Regenerate.
9301 * config/s390/t-crtstuff: Remove -fPIC.
9302
a99ad737
JW
93032012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9304
9305 PR bootstrap/51006
9306 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9307 for NetBSD.
9308
884f56d1
GJL
93092012-01-02 Georg-Johann Lay <avr@gjlay.de>
9310
9311 PR target/51345
9312 * config/avr/lib1funcs.S: Remove FIXME comments.
9313 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9314
8c57e547
GJL
93152012-01-02 Georg-Johann Lay <avr@gjlay.de>
9316
9317 Implement light-weight DImode support.
9318 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9319 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9320 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9321 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9322
04dbc287
NS
93232011-12-30 Nathan Sidwell <nathan@acm.org>
9324
9325 * libgcov.c (gcov_crc32): Remove global var.
9326 (free_fn_data): New function.
9327 (buffer_fn_data): Pass in filename, more robust error recovery.
9328 (crc32_unsigned): New function.
9329 (gcov_exit): More robust detection of new program. More robust
9330 error recovery.
9331 (__gcov_init): Do not update program's crc here.
9332
8e1d97d4
TG
93332011-12-21 Tristan Gingold <gingold@adacore.com>
9334
9335 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9336
9ffaf4bc
ILT
93372011-12-21 Ian Lance Taylor <iant@google.com>
9338
9339 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9340
a0c8d0c1
ILT
93412011-12-20 Ian Lance Taylor <iant@google.com>
9342
9343 * config/i386/morestack.S (__morestack_non_split): If there is
9344 enough stack space already, don't split. Ask for more stack space
9345 than we required.
9346
69048898
SDJ
93472011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9348
9349 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9350 `sys/sdt.h'.
9351 (_Unwind_DebugHook): New function.
9352 (uw_restore_core_regs): New define.
9353 (unwind_phase2): Use uw_restore_core_regs instead of
9354 restore_core_regs.
9355 (unwind_phase2_forced): Likewise.
9356 (__gnu_Unwind_Resume): Likewise.
9357
1bb4b6a3
UB
93582011-12-20 Uros Bizjak <ubizjak@gmail.com>
9359
9360 * config/alpha/linux-unwind.h: Update copyright years.
9361 (MD_FROB_UPDATE_CONTEXT): New define.
9362 (alpha_frob_update_context): New function.
9363
eb028768
RS
93642011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9365
9366 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9367 tmake_file rather replacing it.
9368
6a2045bf
IS
93692011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9370
9371 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 9372 function is not used for PPC64.
6a2045bf
IS
9373 (save_world): Amend comments. Update the VRsave mask to reflect the
9374 saved regs.
9375 (rest_world): Update comments, do not clobber r10, do not use r8.
9376 (eh_rest_world_r10): Amend comments, do not use r8.
9377 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9378 no longer used, move restore of CR and target address to the end of
9379 the routine.
9380
a13780a6
L
93812011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9382
9383 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9384 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9385
d7288dfb
GJL
93862011-12-14 Georg-Johann Lay <avr@gjlay.de>
9387
9388 PR target/49313
9389 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9390 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9391
8d2c862d
EB
93922011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9393
9394 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9395
3447cae6
GJL
93962011-12-09 Georg-Johann Lay <avr@gjlay.de>
9397
9398 PR target/49313
9399 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9400 * config/avr/lib1funcs.S (__muldi3): New function.
9401
806fc6aa
AP
94022011-12-06 Andrew Pinski <apinski@cavium.com>
9403
9404 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9405 size of func_ptr.
9406 (__frame_dummy_init_array_entry): Likewise.
9407
28c5e6b5
GJL
94082011-12-06 Georg-Johann Lay <avr@gjlay.de>
9409
9410 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9411
9412 PR target/51345
9413 PR target/51002
9414 * config/avr/lib1funcs.S (__prologue_saves__,
9415 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9416 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9417
8f90394a
IS
94182011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9419
9420 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9421
06dd33ac
JDA
94222011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9423
9424 PR other/51272
9425 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9426 (_ITM_deregisterTMCloneTable): Likewise.
9427 (__register_frame_info): Fix unused warning.
9428 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9429 pthread_default_stacksize_np): Likewise.
9430 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9431
85b8555e
DD
94322011-11-29 DJ Delorie <dj@redhat.com>
9433
9434 * config.host (rl78-*-elf): New case.
9435 * config/rl78: New directory for the Renesas RL78.
9436
4d5ae4ea
BS
94372011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9438
9439 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9440 formatting.
9441
f9c55897
RO
94422011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9443
9444 PR other/51022
9445 * config/rs6000/t-savresfgpr: New file.
9446 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9447 $(srcdir)/config/rs6000/eabi.S.
9448 * config/rs6000/t-ppccomm-ldbl: Remove.
9449 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9450 tmake_file.
9451 (powerpc-*-eabispe*): Likewise.
9452 (powerpc-*-eabi*): Likewise.
9453 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9454 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9455 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9456 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9457 tmake_file.
9458 (powerpc-*-eabisim*): Likewise.
9459 (powerpc-*-elf*): Likewise.
9460 (powerpc-*-eabialtivec*): Likewise.
9461 (powerpc-xilinx-eabi*): Likewise.
9462 (powerpc-*-rtems*): Likewise.
9463 (powerpcle-*-elf*): Likewise.
9464 (powerpcle-*-eabisim*): Likewise.
9465 (powerpcle-*-eabi*): Likewise.
9466
a01207c4
ILT
94672011-11-27 Ian Lance Taylor <iant@google.com>
9468
9469 * generic-morestack.c (__splitstack_find): Check for NULL old
9470 stack value.
9471 (__splitstack_resetcontext): New function.
9472 (__splitstack_releasecontext): New function.
9473 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9474
2b0b8ab2
IS
94752011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9476
9477 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9478
c1d8101c
IS
94792011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9480
9481 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9482
8b281334
RH
94832011-11-26 Richard Henderson <rth@redhat.com>
9484
9485 * config/m68k/linux-atomic.c: New file.
9486 * config/m68k/t-linux: New file.
9487 * config.host (m68k-uclinux, m68k-linux): Use it.
9488
7546aa9d
RH
94892011-11-26 Richard Henderson <rth@redhat.com>
9490
9491 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9492 (__TMC_END__): Only declare if hidden is available; in the definition,
9493 if hidden is unavailable add a null record.
9494 (deregister_tm_clones, register_tm_clones): New.
9495 (__do_global_dtors_aux, frame_dummy): Use them.
9496 (__do_global_dtors, __do_global_ctors_1): Likewise.
9497
e2362f5d
IS
94982011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9499
9500 * config/darwin-crt-tm.c: New file.
9501 * config.host (darwin): Build crttms.o crttme.o to provide
9502 startup and shutdown for tm clones.
9503 * config/t-darwin (crttms.o): New build rule.
9504 (crttme.o): Likewise.
9505
6685dd96
HPN
95062011-11-21 Hans-Peter Nilsson <hp@axis.com>
9507
9508 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9509 et al.
9510
b0dc7e4c
RH
95112011-11-21 Richard Henderson <rth@redhat.com>
9512
9513 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9514 (__TMC_LIST__, __TMC_END__): New.
9515 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9516 (__do_global_dtors): Likewise.
9517 (frame_dummy): Call _ITM_registerTMCloneTable.
9518 (__do_global_ctors_1): Likewise.
9519
d4b4b542
RO
95202011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9521
9522 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9523 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9524 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9525 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9526 * config/i386/t-darwin64: Remove.
9527 * config/sh/t-netbsd (LIB2ADD): Remove.
9528
989bdb74
GJL
95292011-11-21 Georg-Johann Lay <avr@gjlay.de>
9530
9531 PR target/49313
9532 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9533 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9534 * config/avr/lib1funcs.S (wmov): New assembler macro.
9535 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9536 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9537 (__udivmod64): New function.
9538 (__negdi2): New function.
9539
515a0cfc
GP
95402011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9541
9542 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9543 *-*-freebsd*aout*): Remove.
9544
0115d17f
HPN
95452011-11-20 Hans-Peter Nilsson <hp@axis.com>
9546
9547 * static-object.mk (c_flags-$o): Save c_flags.
9548 ($(base)$(objext)): Use it.
9549
93aeb62b
SE
95502011-11-18 Steve Ellcey <sje@cup.hp.com>
9551
9552 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9553
7bc6df2c
GJL
95542011-11-18 Georg-Johann Lay <avr@gjlay.de>
9555
9556 PR target/49868
9557 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9558 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9559 New functions.
9560
425d737b
MGD
95612011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9562
9563 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9564 functions.
1bb4b6a3 9565 (aeabi_uidivmod): Likewise.
425d737b
MGD
9566 (umodsi3): Likewise.
9567 (divsi3): Likewise.
9568 (aeabi_idivmod): Likewise.
9569 (modsi3): Likewise.
9570
f2a176dc
TG
95712011-11-16 Tristan Gingold <gingold@adacore.com>
9572
9573 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9574
7c209481
GJL
95752011-11-15 Georg-Johann Lay <avr@gjlay.de>
9576
9577 PR target/49868
9578 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9579 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9580
9dfd5832
JDA
95812011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9582
9583 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9584 tmake_file list.
9585 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9586 * config/pa/t-stublib64: Delete.
9587
f77dca5d
RH
95882011-11-12 Richard Henderson <rth@redhat.com>
9589
9590 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9591 cast the pointer argument to _Unwind_SetGRPtr.
9592
902828f0
RO
95932011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9594
9595 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9596
e14304ef
ILT
95972011-11-09 Ian Lance Taylor <iant@google.com>
9598
9599 * generic-morestack.c: Include <string.h>.
9600 (uintptr_type): Define.
9601 (struct initial_sp): Add dont_block_signals field. Reduce size of
9602 extra array by 1.
9603 (allocate_segment): Set prev field to NULL. Don't set
9604 __morestack_current_segment or __morestack_segments.
9605 (__generic_morestack): Update current->prev and *pp after calling
9606 allocate_segment.
9607 (__morestack_block_signals): Don't do anything if
9608 dont_block_signals is set.
9609 (__morestack_unblock_signals): Likewise.
9610 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9611 uintptr_type.
9612 (__splitstack_block_signals): New function.
9613 (enum __splitstack_content_offsets): Define.
9614 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9615 (__splitstack_makecontext): New function.
9616 (__splitstack_block_signals_context): New function.
9617 (__splitstack_find_context): New function.
9618 * config/i386/morestack.S (__morestack_get_guard): New function.
9619 (__morestack_set_guard, __morestack_make_guard): New functions.
9620 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9621
e3d871e4
RO
96222011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9623
9624 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9625 (i[34567]86-*-mingw*): ... here.
9626 (x86_64-*-mingw*): ... here.
9627
e55cef40
RO
96282011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9629
9630 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9631
5366b186
NS
96322011-11-07 Nathan Sidwell <nathan@acm.org>
9633
9634 * libgcov.c (struct gcov_fn_buffer): New struct.
9635 (buffer_fn_data): New helper.
9636 (gcov_exit): Rework for new gcov data structures.
9637
74155a6f
GJL
96382011-11-07 Georg-Johann Lay <avr@gjlay.de>
9639
9640 PR target/49313
9641 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9642
200feb07
RO
96432011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9644
9645 * config.host (tmake_file): Correct comment.
9646 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9647 t-libgcc-pic.
9648 (bfin*-uclinux*): Likewise.
9649 (bfin*-linux-uclibc*): Likewise.
9650 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9651
9652 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9653 assigning.
9654 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9655 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9656 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9657 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9658 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9659 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9660 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9661 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9662 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9663 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9664 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9665 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9666 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9667
9668 * config/bfin/t-elf: Remove.
9669 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9670
c9cd1a07
RO
96712011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9672
9673 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9674 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9675 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9676 (lm32-*-elf*): ... this.
9677 (lm32-*-rtems*): ... and this.
9678 Add to tmake_file.
9679 (m32r-*-rtems*): Add to tmake_file.
9680 (moxie-*-rtems*): Likewise.
9681 (sparc-*-rtems*): Likewise.
9682 Remove t-rtems from tmake_file.
9683 (sparc64-*-rtems*): Likewise.
9684 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9685 instead.
9686
9fbcc75d
RO
96872011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9688
9689 PR bootstrap/50982
9690 * config/gthr-posix.h: Move ...
9691 * gthr-posix.h: ... here.
9692 * config/gthr-lynx.h: Reflect this.
9693 * config/gthr-vxworks.h: Likewise.
9694 * config/rs6000/gthr-aix.h: Likewise.
9695 * configure.ac (target_thread_file): Likewise.
9696 * configure: Regenerate.
9697
76644b68
SH
96982011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9699
9700 * config.host (arm*-*-rtemseabi*): New target.
9701
5e490f2a
JDA
97022011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9703
9704 PR other/50991
9705 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9706 extra-parts.
9707
feeeff5c
JR
97082011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9709
9710 * config.host (epiphany-*-elf*): New configuration.
9711 * config/epiphany: New Directory.
9712
d618bb2c
RC
97132011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9714
9715 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9716 * config/avr/t-rtems: New.
9717 Filter out _exit from LIB1ASMFUNCS.
9718
1bb6f778
DM
97192011-11-04 David S. Miller <davem@davemloft.net>
9720
9721 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9722 * configure: Rebuild.
9723
9a7f7422
AK
97242011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9725
9726 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9727 variable.
9728
e4fe948a
GJL
97292011-11-04 Georg-Johann Lay <avr@gjlay.de>
9730
9731 PR target/50931
9732 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9733 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9734
7084e037
JS
97352011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9736
9737 PR target/50989
9738 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9739
1a032034
RO
97402011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9741
9742 * config/c6x/t-elf (LIB2ADDEH): Set.
9743 * config/c6x/t-c6x-elf: Remove.
9744
d385f772
RO
97452011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9746
9747 * config/i386/sol2-ci.S: Rename to ...
9748 * config/i386/crti.S: ... this.
9749 * config/i386/sol2-cn.S: Rename to ...
9750 * config/i386/crtn.S: ... this.
9751 * config/sparc/sol2-ci.S: Rename to ...
9752 * config/sparc/crti.S: ... this.
9753 * config/sparc/sol2-cn.S: Rename to ...
9754 * config/sparc/crtn.S: ... this.
9755 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9756 (crti.o, crtn.o): Remove.
9757
1ba878a9
TG
97582011-11-04 Tristan Gingold <gingold@adacore.com>
9759
9760 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9761
02750c15
KK
97622011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9763
9764 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9765
bf86b067
HPN
97662011-11-03 Hans-Peter Nilsson <hp@axis.com>
9767
9768 * config.host (crisv32-*-none, cris-*-none): Remove.
9769 (crisv32-*-elf): Append to tmake_file, don't just set it.
9770 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9771
d0bc53bd
RO
97722011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9773
9774 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9775 (ecrtn$(objext)): Likewise.
9776 (ncrti$(objext)): Likewise.
9777 (ncrtn$(objext)): Likewise.
9778
036da830
AS
97792011-11-03 Andreas Schwab <schwab@redhat.com>
9780
9781 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9782
d2a7d041
DM
97832011-11-02 David S. Miller <davem@davemloft.net>
9784
9785 * configure.ac: Set host_address on sparc too.
9786 * configure: Regenerate.
9787 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9788 based upon host_address.
9789 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9790
af8ed618
JM
97912011-11-02 Jason Merrill <jason@redhat.com>
9792
9793 * config/rs6000/t-ppccomm: Add missing \.
9794
5d1c8e77
RO
97952011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9796
9797 * gthr-single.h, gthr.h: New files.
9798 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9799 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9800 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9801 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9802 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9803 * configure.ac (thread_header): New variable.
9804 Set it depending on target_thread_file.
9805 (gthr-default.h): Link from $thread_header.
9806 * configure: Regenerate.
9807 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9808
852b75ed
RO
98092011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9810
9811 * configure.ac (tm_file_): New variable.
9812 Determine from tm_file.
9813 (tm_file, tm_defines): Substitute.
9814 * configure: Regenerate.
9815 * mkheader.sh: New file.
9816 * Makefile.in (clean): Remove libgcc_tm.h.
9817 ($(objects)): Depend on libgcc_tm.h.
9818 (libgcc_tm_defines, libgcc_tm_file): New variables.
9819 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9820 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9821 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9822 ($(extra-parts)): Depend on libgcc_tm.h.
9823 * config.host (tm_defines, tm_file): New variable.
9824 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9825 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9826 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9827 (avr-*-rtems*): Likewise.
9828 (avr-*-*): Likewise.
9829 (frv-*-elf): Likewise.
9830 (frv-*-*linux*): Likewise.
9831 (h8300-*-rtems*): Likewise.
9832 (h8300-*-elf*): Likewise.
9833 (i[34567]86-*-darwin*): Likewise.
9834 (x86_64-*-darwin*): Likewise.
9835 (rx-*-elf): Likewise.
9836 (tic6x-*-uclinux): Likewise.
9837 (tic6x-*-elf): Likewise.
9838 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9839 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9840 * config/i386/cygming-crtbegin.c: Likewise.
9841 * config/i386/cygming-crtend.c: Likewise.
9842 * config/ia64/fde-vms.c: Likewise.
9843 * config/ia64/unwind-ia64.c: Likewise.
9844 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9845 * config/rs6000/darwin-fallback.c: Likewise.
9846 * config/stormy16/lib2funcs.c: Likewise.
9847 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9848 * crtstuff.c: Likewise.
9849 * dfp-bit.h: Likewise.
9850 * emutls.c: Likewise.
9851 * fixed-bit.c: Likewise.
9852 * fp-bit.c: Likewise.
9853 * generic-morestack-thread.c: Likewise.
9854 * generic-morestack.c: Likewise.
9855 * libgcc2.c: Likewise.
9856 * libgcov.c: Likewise.
9857 * unwind-dw2-fde-dip.c: Likewise.
9858 * unwind-dw2-fde.c: Likewise.
9859 * unwind-dw2.c: Likewise.
9860 * unwind-sjlj.c: Likewise.
9861
f9989b51
RO
98622011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9863
9864 * configure.ac: Include ../config/picflag.m4.
9865 (GCC_PICFLAG): Call it.
9866 Substitute.
9867 * configure: Regenerate.
9868 * Makefile.in (gcc_srcdir): Remove.
9869 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9870 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9871 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9872 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9873 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9874 Use $<.
9875 Remove comment.
9876 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9877 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9878 to refer to libgcc2.c.
9879 Use $<.
9880 * config/darwin-64.c: New file.
9881 * config/darwin-crt3.c: Remove comment.
9882 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9883 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9884 config/udivmodsi4.c: New files.
9885 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9886 config/memset.c: New files.
9887 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9888 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9889 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9890 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9891 * config/t-openbsd-thread: New file.
9892 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9893 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9894 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9895 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9896 qrnnd.S.
9897 Adapt filename.
9898 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9899 to refer to gthr-posix.c.
9900 * config/alpha/t-vms (LIB2ADD): Set.
9901 * config/alpha/vms-gcc_shell_handler.c: New file.
9902 * config/arm/bpabi.c, config/arm/fp16.c,
9903 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9904 config/arm/unaligned-funcs.c: New files.
9905 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9906 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9907 * config/arm/t-linux: Likewise.
9908 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9909 * config/arm/t-netbsd: New file.
9910 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9911 * config/arm/t-symbian (LIB2ADD_ST): Set.
9912 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9913 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9914 * config/bfin/t-elf: New file.
9915 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9916 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9917 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9918 config/c6x/ltf.c: New files.
9919 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9920 (HOST_LIBGCC2_CFLAGS): Set.
9921 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9922 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9923 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9924 New files.
9925 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9926 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9927 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9928 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9929 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9930 files.
9931 * config/frv/t-frv (LIB2ADD): Set.
9932 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9933 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9934 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9935 config/h8300/popcounthi2.c: New files.
9936 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9937 * config/i386/gthr-win32.c: New file.
9938 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9939 * config/i386/t-cygwin: Likewise.
9940 * config/i386/t-darwin, config/i386/t-darwin64,
9941 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9942 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9943 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9944 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9945 * config/ia64/quadlib.c: New file.
9946 * config/ia64/t-hpux (LIB2ADD): Set.
9947 * config/ia64/t-ia64: Add comment.
9948 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9949 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9950 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9951 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9952 * config/m32c/t-m32c (LIB2ADD): Set.
9953 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9954 * config/m32r/t-m32r: Likewise.
9955 * config/m68k/fpgnulib.c: New file.
9956 * config/m68k/t-floatlib (LIB2ADD): Set.
9957 (xfgnulib.c): New target.
9958 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9959 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9960 * config/mep/t-mep (LIB2ADD): Set.
9961 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9962 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9963 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9964 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9965 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9966 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9967 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9968 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9969 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9970 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9971 New files.
9972 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9973 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9974 * config/pa/fptr.c, config/pa/lib2funcs.S,
9975 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9976 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9977 (LIB2ADD, LIB2ADD_ST): Set.
9978 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9979 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9980 Set.
9981 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9982 * config/pdp11/t-pdp11: New file.
9983 * config/picochip/libgccExtras/adddi3.S,
9984 config/picochip/libgccExtras/ashlsi3.S,
9985 config/picochip/libgccExtras/ashrsi3.S,
9986 config/picochip/libgccExtras/clzsi2.S,
9987 config/picochip/libgccExtras/cmpsi2.S,
9988 config/picochip/libgccExtras/divmod15.S,
9989 config/picochip/libgccExtras/divmodhi4.S,
9990 config/picochip/libgccExtras/divmodsi4.S,
9991 config/picochip/libgccExtras/lshrsi3.S,
9992 config/picochip/libgccExtras/parityhi2.S,
9993 config/picochip/libgccExtras/popcounthi2.S,
9994 config/picochip/libgccExtras/subdi3.S,
9995 config/picochip/libgccExtras/ucmpsi2.S,
9996 config/picochip/libgccExtras/udivmodhi4.S,
9997 config/picochip/libgccExtras/udivmodsi4.S: New files.
9998 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9999 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10000 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10001 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10002 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10003 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10004 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10005 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10006 files.
10007 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10008 (HOST_LIBGCC2_CFLAGS): Set.
10009 * config/rs6000/t-darwin64: New file.
10010 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10011 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10012 * config/rs6000/t-ppccomm (LIB2ADD): Add
10013 $(srcdir)/config/rs6000/tramp.S.
10014 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10015 Add $(srcdir)/config/rs6000/eabi.S.
10016 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10017 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10018 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10019 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10020 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10021 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10022 * config/rs6000/tramp.S: New file.
10023 * config/s390/t-tpf: Remove.
10024 * config/sh/linux-atomic.S: New file.
10025 * config/sh/t-linux (LIB2ADD): Set.
10026 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10027 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10028 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10029 to unwind-dw2.c.
10030 (HOST_LIBGCC2_CFLAGS): Set.
10031 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10032 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10033 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10034 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10035 config/spu/mfc_multi_tag_release.c,
10036 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10037 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10038 config/spu/multi3.c: New files.
10039 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10040 (HOST_LIBGCC2_CFLAGS): Set.
10041 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10042 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10043 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10044 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10045 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10046 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10047 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10048 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10049 config/stormy16/umodsi3.c: New files.
10050 * config/xtensa/lib2funcs.S: New file.
10051 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10052 * config/xtensa/t-xtensa (LIB2ADD): Set.
10053 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10054 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10055 Add t-freebsd-thread to tmake_file for posix threads.
10056 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10057 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10058 (*-*-lynxos*): Likewise.
10059 (*-*-netbsd*): Likewise.
10060 (*-*-openbsd*): Likewise.
10061 Add t-openbsd-thread to tmake_file for posix threads.
10062 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10063 (*-*-vxworks*): Set tmake_file.
10064 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10065 (alpha*-*-freebsd*): Likewise.
10066 (alpha*-*-netbsd*): Likewise.
10067 (alpha*-*-openbsd*): Likewise.
10068 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10069 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10070 (alpha*-dec-*vms*): Likewise.
10071 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10072 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10073 (bfin*-uclinux*): Likewise.
10074 (bfin*-linux-uclibc*): Likewise.
10075 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10076 (crisv32-*-none): Likewise.
10077 (cris-*-elf): Likewise.
10078 (cris-*-none): Likewise.
10079 (cris-*-linux*, crisv32-*-linux*): Likewise.
10080 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10081 tmake_file.
10082 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10083 tmake_file.
10084 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10085 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10086 (x86_64-*-elf*): Likewise.
10087 (i[34567]86-*-nto-qnx*): Likewise.
10088 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10089 win32 threads.
10090 (x86_64-*-mingw*): Likewise.
10091 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10092 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10093 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10094 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10095 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10096 tmake_file.
10097 (mipsisa64sr71k-*-elf*): Likewise.
10098 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10099 (mips-*-elf*, mipsel-*-elf*): Likewise.
10100 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10101 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10102 (mips*-*-rtems*): Likewise.
10103 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10104 to tmake_file.
10105 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10106 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10107 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10108 (spu-*-elf*): Likewise.
10109 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10110
45b86625
RO
101112011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10112
10113 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10114 $(srcdir) to refer to $(LIB1ASMSRC).
10115 Use $<.
10116 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10117 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10118 config/arm/lib1funcs.S: New files.
10119 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10120 * config/arm/t-arm: New file.
10121 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10122 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10123 config/arm/t-strongarm-elf: New files.
10124 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10125 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10126 * config/avr/lib1funcs.S: New file.
10127 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10128 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10129 * config/c6x/lib1funcs.S: New file.
10130 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10131 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10132 * config/frv/lib1funcs.S: New file.
10133 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10134 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10135 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10136 * config/ia64/__divxf3.asm: Rename to ...
10137 * config/ia64/__divxf3.S: ... this.
10138 Adapt lib1funcs.asm filename.
10139 * config/ia64/_fixtfdi.asm: Rename to ...
10140 * config/ia64/_fixtfdi.S: ... this.
10141 Adapt lib1funcs.asm filename.
10142 * config/ia64/_fixunstfdi.asm: Rename to ...
10143 * config/ia64/_fixunstfdi.S: ... this.
10144 Adapt lib1funcs.asm filename.
10145 * config/ia64/_floatditf.asm: Rename to ...
10146 * config/ia64/_floatditf.S: ... this.
10147 Adapt lib1funcs.asm filename.
10148 * config/ia64/lib1funcs.S: New file.
10149 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10150 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10151 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10152 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10153 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10154 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10155 * config/mep/lib1funcs.S: New file.
10156 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10157 * config/mips/mips16.S: New file.
10158 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10159 * config/pa/milli64.S: New file.
10160 * config/pa/t-linux, config/pa/t-linux64: New files.
10161 * config/picochip/lib1funcs.S: New file.
10162 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10163 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10164 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10165 * config/sh/t-netbsd: New file.
10166 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10167 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10168 * config/sh/t-sh64: New file.
10169 * config/sparc/lb1spc.S: New file.
10170 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10171 filename.
10172 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10173 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10174 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10175 config/xtensa/lib1funcs.S: New files.
10176 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10177 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10178 tmake_file.
10179 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10180 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10181 (arm*-*-linux*): Likewise.
10182 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10183 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10184 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10185 (arm*-*-ecos-elf): Likewise.
10186 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10187 (arm*-*-rtems*): Likewise.
10188 (arm*-*-elf): Likewise.
10189 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10190 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10191 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10192 (bfin*-uclinux*): Likewise.
10193 (bfin*-linux-uclibc*): Likewise.
10194 (bfin*-rtems*): Likewise.
10195 (bfin*-*): Likewise.
10196 (fido-*-elf): Merge into m68k-*-elf*.
10197 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10198 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10199 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10200 (h8300-*-elf*): Likewise.
10201 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10202 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10203 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10204 (i[34567]86-*-mingw*): Likewise.
10205 (x86_64-*-mingw*): Likewise.
10206 (i[34567]86-*-interix3*): Likewise.
10207 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10208 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10209 (m68k-*-elf*): Also handle fido-*-elf.
10210 Add m68k/t-floatlib to tmake_file.
10211 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10212 (m68k-*-linux*): Likewise.
10213 (m68k-*-rtems*): Likewise.
10214 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10215 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10216 sh64*-*-*.
10217 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10218 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10219 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10220 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10221 sh/t-netbsd to tmake_file.
10222 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10223 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10224 (sh-wrs-vxworks): Likewise.
10225 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10226 *-leon[3-9]*.
10227 (v850*-*-*): Add v850/t-v850 to tmake_file.
10228 (vax-*-linux*): Add vax/t-linux to tmake_file.
10229 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10230
5f73c6cc
RO
102312011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10232
10233 * crtstuff.c: New file.
10234 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10235 (CRTSTUFF_T_CFLAGS): Define.
10236 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10237 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10238 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10239 crtstuff.c.
10240 Use $<.
10241 (crtbeginT.o): Use $(objext).
10242 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10243 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10244 (gcc-extra-parts): Remove.
10245 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10246 Set extra_parts.
10247 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10248 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10249 Add t-crtstuff-pic to tmake_file.
10250 (*-*-lynxos*): New case.
10251 Set tmake_file, extra_parts.
10252 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10253 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10254 *-*-netbsdelf[2-9]*.
10255 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10256 (*-*-rtems*): Set extra_parts.
10257 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10258 (*-*-uclinux*): New case.
10259 Set extra_parts.
10260 (*-*-vms*): New case.
10261 Set tmake_file, extra_parts.
10262 (*-*-elf): Set extra_parts.
10263 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10264 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10265 vms/t-vms64.
10266 Set extra_parts.
10267 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10268 Set extra_parts.
10269 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10270 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10271 (arm-wrs-vxworks): Append to tmake_file.
10272 Set extra_parts.
10273 (arm*-*-uclinux*): Set extra_parts.
10274 (arm*-*-ecos-elf): Likewise.
10275 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10276 arm*-*-eabi*.
10277 (arm*-*-rtems*): Set extra_parts.
10278 (arm*-*-elf): Likewise.
10279 (avr-*-rtems*): Clear extra_parts.
10280 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10281 Set extra_parts.
10282 (bfin*-uclinux*): Likewise.
10283 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10284 (bfin*-rtems*): Append to tmake_file.
10285 Set extra_parts.
10286 (bfin*-*): Likewise.
10287 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10288 (crisv32-*-elf): ... this.
10289 (crisv32-*-none): ... this.
10290 (cris-*-elf, cris-*-none): New cases.
10291 Add cris/t-elfmulti to tmake_file.
10292 (fr30-*-elf): Append to tmake_file.
10293 Set extra_parts.
10294 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10295 Set extra_parts.
10296 (h8300-*-rtems*): Append to tmake_file.
10297 Set extra_parts.
10298 (h8300-*-elf*): Likewise.
10299 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10300 Set extra_parts.
10301 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10302 Set extra_parts.
10303 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10304 (x86_64-*-elf*): Likewise.
10305 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10306 (x86_64-*-freebsd*): Likewise.
10307 (x86_64-*-netbsd*): Likewise.
10308 (i[34567]86-*-linux*): Likewise.
10309 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10310 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10311 (x86_64-*-linux*): Likewise.
10312 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10313 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10314 tmake_file.
10315 Set extra_parts.
10316 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10317 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10318 Append to extra_parts, remove crtbegin.o, crtend.o.
10319 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10320 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10321 crtend.o, crtbeginS.o, crtendS.o.
10322 (ia64*-*-linux*): Comment extra_parts.
10323 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10324 Set extra_parts.
10325 (iq2000*-*-elf*): Clear extra_parts.
10326 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10327 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10328 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10329 (m32r-*-rtems*): ... this.
10330 Add m32r/t-m32r to tmake_file.
10331 (m68k-*-elf*): Add t-crtin to tmake_file.
10332 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10333 (mcore-*-elf): Likewise.
10334 (microblaze*-*-*): Set extra_parts.
10335 (mips*-sde-elf*): New case.
10336 Set tmake_file, extra_parts.
10337 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10338 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10339 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10340 tmake_file.
10341 Set extra_parts.
10342 (mipsisa64sr71k-*-elf*): Likewise.
10343 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10344 (mips-*-elf*, mipsel-*-elf*): Likewise.
10345 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10346 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10347 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10348 (mips*-*-rtems*): Likewise.
10349 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10350 (moxie-*-*): Split into ...
10351 (moxie-*-elf, moxie-*-uclinux*): ... this.
10352 Add to extra_parts, remove crtbegin.o, crtend.o.
10353 (moxie-*-rtems*): New case.
10354 Set tmake_file.
10355 Clear extra_parts.
10356 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10357 Set extra_parts.
10358 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10359 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10360 tmake_file.
10361 Set extra_parts.
10362 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10363 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10364 Set extra_parts.
10365 (powerpc-*-eabisim*): Likewise.
10366 (powerpc-*-elf*): Likewise.
10367 (powerpc-*-eabialtivec*): Likewise.
10368 (powerpc-xilinx-eabi*): Likewise.
10369 (powerpc-*-eabi*): Likewise.
10370 (powerpc-*-rtems*): Likewise.
10371 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10372 tmake_file.
10373 Set extra_parts.
10374 (powerpc-*-lynxos*): Add to tmake_file.
10375 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10376 rs6000/t-crtstuff, t-crtstuff-pic.
10377 Set extra_parts.
10378 (powerpcle-*-eabisim*): Likewise.
10379 (powerpcle-*-eabi*): Likewise.
10380 (rx-*-elf): Remove extra_parts.
10381 (s390x-ibm-tpf*): Set extra_parts.
10382 (score-*-elf): Set extra_parts.
10383 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10384 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10385 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10386 (sh64l*-*-netbsd*): Split into ...
10387 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10388 Add t-crtstuff-pic to tmake_file.
10389 Set extra_parts.
10390 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10391 Set extra_parts.
10392 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10393 (sparc-*-elf*): Remove t-crtin from tmake_file.
10394 Add to extra_parts, remove crtbegin.o, crtend.o.
10395 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10396 (sparc64-*-linux*): Likewise.
10397 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10398 Add to extra_parts, remove crtbegin.o, crtend.o.
10399 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10400 Add to extra_parts, remove crtbegin.o, crtend.o.
10401 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10402 Add to extra_parts, remove crtbegin.o, crtend.o.
10403 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10404 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10405 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10406 Set extra_parts.
10407 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10408 Set extra_parts.
10409 (tic6x-*-*): Change to ...
10410 (tic6x-*-elf): ... this.
10411 Set extra_parts.
10412 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10413 Set extra_parts.
10414 (am33_2.0-*-linux*): Add comment.
10415 (mep*-*-*): Add mep/t-mep to tmake_file.
10416 Set extra_parts.
10417 * config/alpha/t-vms: New file.
10418 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10419 * config/arm/crti.S, config/arm/crtn.S: New files.
10420 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10421 * config/bfin/crtlibid.S: New file.
10422 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10423 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10424 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10425 (crti.o, crtin.o): New rules.
10426 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10427 * config/c6x/t-uclinux: New file.
10428 * config/cris/t-elfmulti: New file.
10429 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10430 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10431 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10432 * config/frv/t-frv: New file.
10433 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10434 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10435 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10436 New files.
10437 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10438 refer to cygming-crtbegin.c, cygming-crtend.c.
10439 Use $<.
10440 * config/i386/t-nto: New file.
10441 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10442 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10443 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10444 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10445 Use .S extension.
10446 Use $<.
10447 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10448 (crtinitS.o): New rule.
10449 * config/ia64/vms-crtinit.S: New file.
10450 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10451 * config/m32r/initfini.c: New file.
10452 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10453 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10454 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10455 * config/mep/t-mep: New file.
10456 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10457 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10458 * config/mips/crti.S, config/mips/crtn.S: New files.
10459 * config/mips/t-crtstuff: New file.
10460 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10461 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10462 (CUSTOM_CRTIN): Set.
10463 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10464 dependencies.
10465 Use $(srcdir) to refer to crti.S, crtn.S.
10466 Use .S extension, $<.
10467 * config/moxie/crti.asm: Rename to ...
10468 * config/moxie/crti.S: ... this.
10469 * config/moxie/crtn.asm: Rename to ...
10470 * config/moxie/crtn.S: ... this.
10471 * config/moxie/t-moxie: Remove.
10472 * config/pa/stublib.c: New file.
10473 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10474 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10475 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10476 * config/rs6000/t-crtstuff: New file.
10477 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10478 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10479 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10480 Make output file explicit.
10481 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10482 Make output file explicit.
10483 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10484 Make output file explicit.
10485 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10486 Make output file explicit.
10487 * config/score/crti.S, config/score/crtn.S: New files.
10488 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10489 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10490 files.
10491 * config/sh/t-sh, config/sh/t-superh: New files.
10492 * config/sparc/t-linux64: New file.
10493 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10494 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10495 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10496 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10497 * config/t-crtin: Remove.
10498 * config/t-crtstuff-pic: New file.
10499 * config/t-sol2 (CUSTOM_CRTIN): Set.
10500 (crti.o, crtn.o): New rules.
10501 * config/vms/t-vms: New file.
10502 * config/vms/vms-ucrt0.c: New file.
10503 * config/xtensa/t-elf: New file.
10504
b040f2be
RO
105052011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10506
10507 * Makefile.in (SHLIB_NM_FLAGS): Set.
10508 * mkmap-flat.awk, mkmap-symver.awk: New files.
10509 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10510 exceptions.
10511 * configure: Regenerate.
10512 * config/libgcc-glibc.ver: New file.
10513 * config/libgcc-libsystem.ver: New file.
10514 * config/t-libunwind (SHLIB_LC): Set.
10515 * config/t-linux: New file.
10516 * config/t-slibgcc (INSTALL_SHLIB): New.
10517 (SHLIB_INSTALL): Use it.
10518 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10519 to mkmap-symver.awk.
10520 (SHLIB_MAPFILES): Don't append, adapt pathname.
10521 (SHLIB_VERPFX): Set.
10522 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10523 to mkmap-symver.awk.
10524 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10525 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10526 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10527 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10528 to mkmap-flat.awk.
10529 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10530 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10531 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10532 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10533 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10534 * config/i386/libgcc-darwin.10.4.ver,
10535 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10536 New files.
10537 * config/i386/t-darwin: Remove.
10538 * config/i386/t-darwin64: Likewise.
10539 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10540 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10541 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10542 * config/i386/t-linux: New file.
10543 * config/i386/t-mingw32: New file.
10544 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10545 * config/ia64/t-glibc: Rename to ...
10546 * config/ia64/t-linux: ... this.
10547 (SHLIB_MAPFILES): Set.
10548 * config/ia64/t-glibc-libunwind: Rename to ...
10549 * config/ia64/t-linux-libunwind: ... this.
10550 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10551 * config/ia64/t-slibgcc-hpux: New file.
10552 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10553 * config/m68k/t-slibgcc-elf-ver: New file.
10554 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10555 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10556 to mkmap-flat.awk.
10557 * config/pa/t-slibgcc-hpux: New file.
10558 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10559 files.
10560 * config/rs6000/libgcc-darwin.10.4.ver,
10561 config/rs6000/libgcc-darwin.10.5.ver: New files.
10562 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10563 config/rs6000/libgcc-glibc.ver.
10564 * config/rs6000/libgcc-ppc64.ver: Rename to
10565 config/rs6000/libgcc-ibm-ldouble.ver.
10566 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10567 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10568 * config/rs6000/t-ldbl128: Rename to ...
10569 * config/rs6000/t-linux: ... this.
10570 (SHLIB_MAPFILES): Adapt filename.
10571 * config/rs6000/t-slibgcc-aix: New file.
10572 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10573 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10574 libgcc-excl.ver, libgcc-glibc.ver.
10575 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10576 * config/sparc/libgcc-glibc.ver: New file.
10577 * config/sparc/t-linux: New file.
10578 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10579 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10580 t-slibgcc-elf-ver to tmake_file.
10581 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10582 *-*-freebsd[34].
10583 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10584 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10585 t-slibgcc-elf-ver, t-linux to tmake_file.
10586 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10587 tmake_file.
10588 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10589 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10590 (alpha*-dec-*vms*): Likewise.
10591 (arm*-*-freebsd*): Append to tmake_file.
10592 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10593 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10594 arm*-*-linux-*eabi.
10595 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10596 tmake_file for arm*-*-symbianelf*.
10597 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10598 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10599 cris/t-linux.
10600 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10601 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10602 pa/t-slibgcc-dwarf-ver to tmake_file.
10603 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10604 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10605 (hppa*64*-*-hpux11*): Likewise.
10606 (hppa[12]*-*-hpux11*): Likewise.
10607 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10608 i386/t-crtpc, i386/t-crtfm.
10609 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10610 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10611 to tmake_file.
10612 Add i386/t-cygwin to tmake_file.
10613 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10614 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10615 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10616 to tmake_file.
10617 Add i386/t-mingw32 to tmake_file.
10618 (x86_64-*-mingw*): Likewise.
10619 (ia64*-*-freebsd*): Append to tmake_file.
10620 (ia64*-*-linux*): Append to tmake_file.
10621 Replace ia64/t-glibc by ia64/t-linux.
10622 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10623 system libunwind.
10624 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10625 t-slibgcc-hpux to tmake_file.
10626 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10627 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10628 (m32rle-*-linux*): Likewise.
10629 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10630 sjlj exceptions.
10631 (microblaze*-linux*): New case.
10632 Append to tmake_file, add t-slibgcc-nolc-override.
10633 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10634 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10635 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10636 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10637 rs6000/t-slibgcc-aix to tmake_file.
10638 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10639 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10640 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10641 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10642 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10643 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10644 sh*-*-linux*.
10645 (sparc-*-linux*): Append to tmake_file for *-leon*.
10646 Add sparc/t-linux to tmake_file for non-Leon targets.
10647 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10648 (tic6x-*-uclinux): New case.
10649 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10650 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10651 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10652 (am33_2.0-*-linux*): Append to tmake_file.
10653 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10654 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10655 x86_64-*-kfreebsd*-gnu.
10656 Add i386/t-linux to tmake_file.
10657
18b4bd7b
ILT
106582011-10-28 Ian Lance Taylor <iant@google.com>
10659
10660 * config/i386/morestack.S: Correct CFI information to do proper
10661 returns throughout function. In 32-bit mode, save %ebx so that it
10662 is restored on unwind.
10663
5b2d9d90
BS
106642011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10665
10666 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10667 case where B3 isn't the return register.
10668
0d53e346
BS
10669 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10670 logic for doubleword pops.
10671
cbffbd59
AT
106722011-10-25 Andreas Tobler <andreast@fgznet.ch>
10673
10674 * config/rs6000/t-freebsd: Add wildcard.
10675
56dc349e
PB
106762011-10-21 Paul Brook <paul@codesourcery.com>
10677
10678 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10679
1e06b07d
UB
106802011-10-16 Uros Bizjak <ubizjak@gmail.com>
10681 Eric Botcazou <ebotcazou@adacore.com>
10682
10683 PR target/50737
10684 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10685 fs->signal_frame to 1.
10686
b5204884
ILT
106872011-10-07 Ian Lance Taylor <iant@google.com>
10688
10689 * generic-morestack-thread.c: #include <errno.h>.
10690
91a639a1
ILT
106912011-10-07 Ian Lance Taylor <iant@google.com>
10692
10693 PR target/46093
10694 * generic-morestack.c (__generic_morestack): Make sure the segment
10695 is large enough for both the stack frame and the copied
10696 parameters.
10697
cc49116d
RO
106982011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10699
10700 PR bootstrap/49804
10701 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10702 extra_parts.
10703
2996d8c3
NC
107042011-09-28 Nick Clifton <nickc@redhat.com>
10705
10706 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10707 64-bit doubles are not enabled.
10708 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10709 and floatunsisf functions.
10710
1e874273 107112011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 10712
1e874273
PB
10713 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10714 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10715 * unwind-arm-common.inc: New file.
10716 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10717 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10718 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10719 * config/c6x/libunwind.S: New file.
10720 * config/c6x/pr-support.c: New file.
10721 * config/c6x/unwind-c6x.c: New file.
10722 * config/c6x/unwind-c6x.h: New file.
10723 * config/c6x/t-c6x-elf: New file.
10724
f70c879a
UB
107252011-08-23 Uros Bizjak <ubizjak@gmail.com>
10726
10727 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10728 (ASM_DIVZERO): Ditto.
10729 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10730
c55b374b
RS
107312011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10732
10733 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10734
1e138510
RS
107352011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10736
10737 PR target/50090
10738 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10739 instead of an assembly one.
10740
1563503d
PB
107412011-08-12 Paolo Bonzini <bonzini@gnu.org>
10742
10743 PR bootstrap/50047
10744 * Makefile.in (install-unwind_h): Create
10745 $(gcc_objdir)/include/unwind.h atomically.
10746
3627ac1a
RO
107472011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10748
10749 * Makefile.in (install-unwind_h): Remove destination file first.
10750
c6412d86
RO
107512011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10752
10753 * sync.c: New file.
10754 * config/mips/t-mips16: New file.
10755 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10756 (mips*-*-linux*): Likewise.
10757 (mips*-sde-elf*): Likewise.
10758 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10759 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10760 Add mips/t-mips16 to tmake_file.
10761 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10762 (mips-*-elf*): Likewise.
10763 (mips64-*-elf*): Likewise.
10764 (mips64orion-*-elf*): Likewise.
10765 (mips*-*-rtems*): Likewise.
10766 (mipstx39-*-elf*): Likewise.
10767 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10768 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10769 LIBGCC_SYNC_CFLAGS.
10770 Use $(srcdir) to refer to sync.c.
10771 Use $<.
10772 ($(libgcc-sync-funcs-o)): Likewise.
10773 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10774 ($(libgcc-sync-funcs-s-o)): Likewise.
10775
3cb6e5bd
AS
107762011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10777
10778 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10779 t-libunwind.
10780
cca2207a
L
107812011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10782
10783 PR other/48007
10784 * config/i386/value-unwind.h: New.
10785
ed39fbad
RS
107862011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10787
10788 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10789 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10790 Add to tmake_file rather than overriding it.
10791
aca0b0b3
RO
107922011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10793
10794 * config/t-softfp: Remove.
10795 * soft-fp: Moved from ../gcc/config.
10796 * soft-fp/README: Remove t-softfp reference.
10797 * soft-fp/t-softfp: Move to config/t-softfp.
10798 (softfp_machine_header): Remove.
10799 (softfp_file_list): Remove config subdir.
10800 (soft-fp-objects): New variable.
10801 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10802 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10803 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10804 * config/t-softfp-excl: New file.
10805 * config/t-softfp-sfdf: New file.
10806 * config/t-softfp-tf: New file.
10807 * config/no-sfp-machine.h: New file.
10808 * config/arm/sfp-machine.h: New file.
10809 * config/arm/t-softfp: New file.
10810 * config/c6x/sfp-machine.h: New file.
10811 * config/i386/32/t-fprules-softfp: Rename to ...
10812 * config/i386/32/t-softfp: ... this.
10813 (tifunctions, LIB2ADD): Remove.
10814 (softfp_int_modes): Override.
10815 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10816 subdir.
10817 * config/i386/64/eqtf2.c: Likewise.
10818 * config/i386/64/getf2.c: Likewise.
10819 * config/i386/64/letf2.c: Likewise.
10820 * config/ia64/sft-machine.h: New file.
10821 * config/ia64/t-fprules-softfp: Rename to ...
10822 * config/ia64/t-softfp: ... this.
10823 * config/lm32/sfp-machine.h: New file.
10824 * config/moxie/t-moxie-softfp: Remove.
10825 * config/rs6000/ibm-ldouble-format: New file.
10826 * config/rs6000/ibm-ldouble.c: New file.
10827 * config/rs6000/libgcc-ppc-glibc.ver: New file
10828 * config/rs6000/libgcc-ppc64.ver: New file
10829 * config/rs6000/sfp-machine.h: New file.
10830 * config/rs6000/t-freebsd: New file.
10831 * config/rs6000/t-ibm-ldouble: New file.
10832 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10833 libgcc-ppc-glibc.ver.
10834 * config/rs6000/t-linux64: New file.
10835 * config/rs6000/t-ppccomm (LIB2ADD): Add
10836 $(srcdir)/config/rs6000/ibm-ldouble.c.
10837 * config/rs6000/t-ppccomm-ldbl: New file.
10838 * config/score/sfp-machine.h: New file.
10839 * config.host (sfp_machine_header): Explain.
10840 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10841 t-softfp to tmake_file.
10842 (arm*-*-uclinux*): Likewise.
10843 (arm*-*-ecos-elf): Likewise.
10844 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10845 (arm*-*-rtems*): Likewise.
10846 (arm*-*-elf): Likewise.
10847 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10848 in tmake_file.
10849 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10850 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10851 (lm32-*-uclinux*): Likewise.
10852 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10853 t-softfp-excl, t-softfp.
10854 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10855 (powerpc64-*-darwin*): Likewise.
10856 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10857 to tmake_file.
10858 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10859 tmake_file.
10860 (powerpc-*-eabisim*): Likewise.
10861 (powerpc-*-elf*): Likewise.
10862 (powerpc-*-eabialtivec*): Likewise.
10863 (powerpc-xilinx-eabi*): Likewise.
10864 (powerpc-*-rtems*): Likewise.
10865 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10866 t-softfp-excl, t-softfp to tmake_file.
10867 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10868 rs6000/t-ppccomm-ldbl to tmake_file.
10869 (powerpcle-*-elf*): Likewise.
10870 (powerpcle-*-eabisim*): Likewise.
10871 (powerpcle-*-eabi*): Likewise.
10872 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10873 rs6000/t-ibm-ldouble to tmake_file.
10874 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10875 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10876 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10877 (tic6x-*-*): Likewise.
10878 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10879 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10880 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10881 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10882 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10883 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10884 t-softfp to tmake_file.
10885 * configure.ac (sfp_machine_header): Provide default if unset.
10886 Substitute.
10887 Link sfp-machine.h to config/$sfp_machine_header.
10888 * configure: Regenerate.
10889
569dc494
RO
108902011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10891
10892 * Makefile.in (double_type_size, long_double_type_size): Set.
10893 Remove $(fpbit-in-libgcc) support.
10894 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10895 (fpbit-src): New variable.
10896 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10897 Compile with -DFLOAT $(FPBIT_CFLAGS).
10898 Use $<.
10899 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10900 Compile with $(FPBIT_CFLAGS).
10901 Use $<.
10902 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10903 Compile with -DFLOAT $(TPBIT_CFLAGS).
10904 Use $<.
10905 * configure.ac (double_type_size, long_double_type_size):
10906 Determine and substitute.
10907 * configure: Regenerate.
10908 * fp-bit.c, fp-bit.h: New files.
10909 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10910 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10911 * config/mips/t-mips: New file.
10912 * config/mips/t-sdemtk: New file.
10913 * config/rs6000/ppc64-fp.c: New file.
10914 * config/rs6000/t-darwin (LIB2ADD): Add
10915 $(srcdir)/config/rs6000/ppc64-fp.c.
10916 * config/rs6000/t-ppc64-fp: New file.
10917 * config/rx/rx-lib.h: New file.
10918 * config/rx/t-rx (FPBIT): Set to true.
10919 ($(gcc_objdir)/fp-bit.c): Remove.
10920 (DPBIT): Set to true only with -m64bit-doubles.
10921 ($(gcc_objdir)/dp-bit.c): Remove.
10922 * config/sparc/t-softfp: Remove.
10923 * config/spu/t-elf: New file.
10924 * config/t-fdpbit, config/t-fpbit: New files.
10925 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10926 (mips*-*-*): Likewise.
10927 (arm-wrs-vxworks): Likewise.
10928 (arm*-*-freebsd*): Likewise.
10929 (avr-*-rtems*): Add t-fpbit to tmake_file.
10930 (avr-*-*): Likewise.
10931 (bfin*-elf*): Add t-fdpbit to tmake_file.
10932 (bfin*-uclinux*): Likewise.
10933 (bfin*-linux-uclibc*): Likewise.
10934 (bfin*-rtems*): New case.
10935 Add t-fdpbit to tmake_file.
10936 (bfin*-*): Add t-fdpbit to tmake_file.
10937 (crisv32-*-elf): Likewise.
10938 (cris-*-linux*): Likewise.
10939 (fr30-*-elf): Likewise.
10940 (frv-*-elf, frv-*-*linux*): Likewise.
10941 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10942 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10943 (m32r-*-elf*): Likewise.
10944 (m32rle-*-elf*): Likewise.
10945 (m32r-*-linux*): Likewise.
10946 (m32rle-*-linux*): Likewise.
10947 (mcore-*-elf): Add t-fdpbit to tmake_file.
10948 (microblaze*-*-*): Likewise.
10949 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10950 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10951 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10952 Fix typo.
10953 Add mips/t-tpbit to tmake-file.
10954 (mips*-*-linux*): Fix typo.
10955 (mips*-sde-elf*): New case
10956 Add mips/t-sdemtk unless using newlib.
10957 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10958 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10959 (mn10300-*-*): Likewise.
10960 (pdp11-*-*): Likewise.
10961 (picochip-*-*): Add t-fpbit to tmake_file.
10962 (powerpc-*-eabisimaltivec*): Likewise.
10963 (powerpc-*-eabisim*): Likewise.
10964 (powerpc-*-elf*): Likewise.
10965 (powerpc-*-eabialtivec*): Likewise.
10966 (powerpc-xilinx-eabi*): New case.
10967 Add t-fdpbit to tmake_file.
10968 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10969 (powerpc-*-rtems*): Likewise.
10970 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10971 tmake_file.
10972 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10973 tmake_file.
10974 (powerpc-*-lynxos*): Likewise.
10975 (powerpcle-*-elf*): Likewise.
10976 (powerpcle-*-eabisim*): Likewise.
10977 (powerpcle-*-eabi*): Likewise.
10978 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10979 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10980 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10981 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10982 (rx-*-elf): Add t-fdpbit to tmake_file.
10983 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10984 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10985 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10986 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10987 sh*-*-netbsd*.
10988 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10989 (sh-wrs-vxworks): Likewise.
10990 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10991 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10992 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10993 (sparc64-*-rtems*): ... new case.
10994 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10995 (spu-*-elf*): Likewise.
10996 Add spu/t-elf to tmake_file.
10997 (v850*-*-*): Add t-fdpbit to tmake_file.
10998 (xstormy16-*-elf): Likewise.
10999 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11000 (mep*-*-*): Likewise.
11001
201cdb74
RO
110022011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11003
11004 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11005 variables.
11006 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11007 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11008 (install-unwind_h): New target.
11009 (all): Depend on it.
11010 * config.host (unwind_header): New variable.
11011 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11012 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11013 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11014 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11015 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11016 Set unwind_header.
11017 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11018 Set unwind_header.
11019 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11020 arm*-*-eabi*.
11021 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11022 Set unwind_header.
11023 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11024 (ia64*-*-freebsd*): Likewise.
11025 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11026 tmake_file.
11027 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11028 $with_system_libunwind.
11029 (ia64*-*-hpux*): Set tmake_file.
11030 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11031 (picochip-*-*): Set tmake_file.
11032 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11033 md_unwind_header.
11034 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11035 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11036 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11037 (xtensa*-*-elf*): Set tmake_file.
11038 (xtensa*-*-linux*): Likewise.
11039 * configure.ac: Include ../config/unwind_ipinfo.m4.
11040 Call GCC_CHECK_UNWIND_GETIPINFO.
11041 Link unwind.h to $unwind_header.
11042 * configure: Regenerate.
11043 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11044 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11045 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11046 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11047 * config/unwind-dw2-fde-darwin.c: New file.
11048 * config/arm/libunwind.S, config/arm/pr-support.c,
11049 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11050 config/arm/unwind-arm.h,: New files.
11051 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11052 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11053 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11054 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11055 config/ia64/unwind-ia64.h: New files.
11056 * config/picochip/t-picochip: New file.
11057 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11058 files.
11059 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11060 * config/s390/t-tpf (LIB2ADDEH): Remove.
11061 * config/t-darwin (LIB2ADDEH): Set.
11062 * config/t-eh-dw2-dip: New file.
11063 * config/t-libunwind, config/t-libunwind-elf: New files.
11064 * config/t-sol2 (LIB2ADDEH): Remove.
11065 * config/xtensa/t-xtensa: New file.
11066
40f2f11f
L
110672011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11068
11069 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11070 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11071 long long to check rt_sigreturn syscall.
11072
bd15e32c
AM
110732011-08-02 Alan Modra <amodra@gmail.com>
11074
11075 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11076 Restore for indirect call bcrtl from correct stack slot, and only
11077 if cfa+40 isn't valid.
11078
655b30bf
JB
110792011-08-01 Julian Brown <julian@codesourcery.com>
11080
11081 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11082 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11083 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11084
247eb06f
JB
110852011-08-01 Julian Brown <julian@codesourcery.com>
11086
11087 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11088 (libgcc-std.ver.in): Use above.
11089 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11090 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11091 throughout file.
11092 * config/t-fixedpoint-gnu-prefix: New file.
11093 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11094 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11095 instead of __PFX__.
11096
02a8fe00
L
110972011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11098
11099 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11100 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11101 for x86-64. Properly check __x86_64__ and __LP64__.
11102
5fce9126
L
111032010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11104
11105 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11106 version.
11107 (_FP_WS_TYPE): Likewise.
11108 (_FP_I_TYPE): Likewise.
11109
2374a88a
AM
111102011-07-28 Alan Modra <amodra@gmail.com>
11111
11112 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11113 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11114 in a plt call stub. Do restore r2 if stopped on bctrl.
11115
e44dbbe1
RO
111162011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11117
11118 * config.host (i[3456x]86-*-netware*): Remove.
11119 * config/i386/netware-crt0.c, config/i386/t-nwld,
11120 config/i386/t-slibgcc-nwld: Remove.
11121
bcead286
BS
111222011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11123
11124 * config.host: Handle tic6x-*-*.
11125 * config/c6x/c6x-abi.h: New file.
11126
b3fe1584
RO
111272011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11128
11129 * config/i386/crtprec.c: New file.
11130 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11131 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11132 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11133 (x86_64-*-darwin*): Likewise.
11134 (i[34567]86-*-solaris2*: Likewise.
11135
35d8090d
RO
111362011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11137
11138 * config/alpha/crtfastmath.c: New file.
11139 * config/i386/crtfastmath.c: New file.
11140 * config/ia64/crtfastmath.c: New file.
11141 * config/mips/crtfastmath.c: New file.
11142 * config/sparc/crtfastmath.c: New file.
11143
11144 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11145 crtfastmath.c.
11146 Add -frandom-seed=gcc-crtfastmath.
11147 * config/alpha/t-crtfm: Remove.
11148 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11149 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11150
11151 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11152 (alpha*-dec-osf5.1*): Likewise.
11153 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11154 Add crtfastmath.o to extra_parts.
11155 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11156 Add crtfastmath.o to extra_parts.
11157 (x86_64-*-darwin*): Likewise.
11158 (x86_64-*-mingw*): Likewise.
11159 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11160 (ia64*-*-freebsd*): Likewise.
11161 (ia64*-*-linux*): Likewise.
11162 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11163 Add crtfastmath.o to extra_parts.
11164
e141542e
RO
111652011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11166
11167 * config/darwin-crt3.o: New file.
11168 * config/rs6000/darwin-crt2.c: New file.
11169 * config/t-darwin: New file.
11170 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11171 (crt2.o): New rule.
11172 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11173 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11174 (powerpc64-*-darwin*): Likewise.
11175
2d1efe2d
RO
111762011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11177
11178 * config/i386/netware-crt0.c: New file.
11179 * config/i386/t-nwld: Rename to ...
11180 * config/i386/t-slibgcc-nwld: ... this.
11181 * config/i386/t-nwld: New file.
11182 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11183 tmake_file.
11184 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11185 extra_parts.
11186
4a8bb046
RO
111872011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11188
11189 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11190 i386/t-crtstuff.
11191 * configure: Regenerate.
11192
2d8d5935
RO
111932011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11194
11195 * dfp-bit.c, dfp-bit.h: New files.
11196 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11197 variables.
11198 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11199 ($(d64pbit-o)): Likewise.
11200 ($(d128pbit-o)): Likewise.
11201 * config/t-dfprules: New file.
11202 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11203 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11204 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11205 (x86_64-*-linux*): Likewise.
11206 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11207 (i[34567]86-*-cygwin*): Likewise.
11208 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11209 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11210
2c50b2c3
RO
112112011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11212
11213 * Makfile.in (LIBGCOV): New variable.
11214 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11215 * libgcov.c: New file.
11216
a039d7c2
RO
112172011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11218
11219 * fixed-bit.c, fixed-bit.h: New files.
11220 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11221 refer to fixed-bit.c.
11222
1e4b2746
JM
112232011-07-07 Joseph Myers <joseph@codesourcery.com>
11224
11225 * config.host (*local*): Remove.
11226
fbdd5d87
RO
112272011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11228
11229 PR target/39150
11230 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11231 like i?86-*-solaris2.1[0-9]*.
11232 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11233 * configure.ac (i?86-*-solaris2*): Likewise.
11234 * configure: Regenerate.
11235
9e7714f4
TS
112362011-07-06 Thomas Schwinge <thomas@schwinge.name>
11237
11238 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11239 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11240 md_unwind_header by splitting out of...
11241 (i[34567]86-*-linux*): ... this.
11242 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11243 Remove md_unwind_header by splitting out of...
11244 (x86_64-*-linux*): ... this.
11245
6dab9931
GJL
112462011-07-04 Georg-Johann Lay <avr@gjlay.de>
11247
11248 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11249
4be46d19
NC
112502011-06-28 Nick Clifton <nickc@redhat.com>
11251
11252 * config.host: Recognize all V850 variants.
11253
1da9434b
UB
112542011-06-22 Uros Bizjak <ubizjak@gmail.com>
11255
11256 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11257
e4d48a4d
RO
112582011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11259
11260 * shared-object.mk (c_flags-$o): Save c_flags.
11261 ($(base)$(objext)): Use it.
11262 ($(base)_s$(objext)): Likewise.
11263
3801c801
BS
112642011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11265
11266 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11267 * libgcc-std.ver.in (GCC_4.7.0): New section.
11268
0ad8bb3b 112692011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 11270
0ad8bb3b
GJL
11271 PR target/49313
11272 PR target/29524
11273 * config/avr/t-avr: Fix line endings.
11274 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11275 _parityXX2.
11276
ea963999
OH
112772011-06-14 Olivier Hainque <hainque@adacore.com>
11278 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11279
11280 * config/mips/irix6-unwind.h: New file.
11281 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11282
b11b0904
EB
112832011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11284
11285 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11286 (sparc64_fallback_frame_state): Use it.
11287 (sparc64_frob_update_context): Further adjust context.
11288 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11289 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11290 * config/sparc/sol2-cn.S: Likewise.
11291
10e48e39
RO
112922011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11293
11294 * enable-execute-stack-empty.c: New file.
11295 * enable-execute-stack-mprotect.c: New file.
11296 * config/i386/enable-execute-stack-mingw32.c: New file.
11297 * config.host (enable_execute_stack): New variable.
11298 Select appropriate variants.
11299 * configure.ac: Link enable-execute-stack.c to
11300 $enable_execute_stack.
11301 * configure: Regenerate.
11302 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11303 (lib2funcs): Remove _enable_execute_stack.
11304
10c4cabc
DM
113052011-06-09 David S. Miller <davem@davemloft.net>
11306 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11307
11308 * config.host (sparc-*-linux*): Correct md_unwind_header
11309 filename.
11310 (s390x-ibm-tpf*): Fix typo.
11311
aa4203e7
RO
113122011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11313
11314 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11315 Add crtfastmath.o to extra_parts.
11316 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11317 mips/t-crtfm.
11318 * config/mips/t-crtfm: Remove.
11319
0defd786
JDA
113202011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11321
11322 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11323
82f247af
KK
113242011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11325
11326 * config.host (sh*-*-linux*): Fix typo.
11327
58cd1d70
RO
113282011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11329
11330 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11331 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11332 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11333 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11334 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11335 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11336 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11337 Wrap in !__MINGW64__.
11338 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11339 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11340 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11341 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11342 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11343 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11344 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11345 Wrap in !__LP64__.
11346 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11347 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11348 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11349 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11350 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11351 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11352 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11353 * config/no-unwind.h: New file.
11354 * config.host (md_unwind_header): Document.
11355 Define.
11356 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11357 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11358 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11359 hppa[12]*-*-hpux11*): Set md_unwind_header.
11360 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11361 Set md_unwind_header.
11362 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11363 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11364 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11365 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11366 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11367 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11368 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11369 md_unwind_header.
11370 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11371 * configure: Regenerate.
11372
737346fa
RO
113732011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11374
11375 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11376 Set tmake_file, extra_parts.
11377 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11378 Remove O32 support.
11379 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11380 Remove O32 support.
11381 * config/mips/t-irix6: New file.
11382 * config/mips/t-slibgcc-irix: New file.
11383
c192cee6
RO
113842011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11385
11386 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11387 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11388
ee33b5f0
RO
113892011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11390
11391 * configure.ac (target_thread_file): Determine thread model.
11392 * configure: Regenerate.
11393 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11394 * config/alpha/t-alpha: New file.
11395 * config/alpha/t-crtfm: Use $<.
11396 * config/alpha/t-ieee: New file.
11397 * config/alpha/t-osf-pthread: New file.
11398 * config/alpha/t-slibgcc-osf: New file.
11399 * config/alpha/libgcc-osf5.ver: New file.
11400
0699e415
RO
114012011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11402
11403 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11404 tmake_file.
11405 Add crtfastmath.o to extra_parts.
11406
a3fab9c2
RO
114072011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11408
11409 * config/gmon-sol2.c: Reindent.
11410 Cleanup comments.
11411 Remove, correct casts.
11412 Use STDERR_FILENO, NULL.
11413 (BASEADDRESS): Remove.
11414 (minbrk): Remove.
11415 (errno, sbrk): Remove declarations.
11416 (monstartup) [hp300]: Remove.
11417 (mcount): Remove.
11418
ca24c5ad
RO
114192011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11420
11421 * Makefile.in (cpu_type): Define.
11422 * config.host (i[34567]86-*-rtems*): Handle it.
11423 (i[34567]86-*-solaris2*): Move body ...
11424 (*-*-solaris2*): ... here.
11425 New case, generalize.
11426 (sparc-*-elf*): Handle it.
11427 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11428 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11429 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11430 Fold into ...
11431 (sparc*-*-solaris2*): ... this.
11432 New case.
11433 (sparc64-*-elf*): Handle it.
11434 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11435 Merge ../gcc/config/i386/gmon-sol2.c.
11436 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11437 Use C comments.
11438 Merge ../gcc/config/i386/sol2-gc1.asm.
11439 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11440 Use C comments.
11441 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11442 Use C comments.
11443 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11444 * config/i386/t-crtstuff: New file.
11445 * config/i386/t-softfp: New file.
11446 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11447 $(T)crti.o, $(T)crtn.o): Remove.
11448 (gcrt1.o): New rule.
11449 (TARGET_LIBGCC2_CFLAGS): Remove.
11450 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11451 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11452 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11453 * config/sparc/t-sol2: New file.
11454 * config/sparc/t-crtfm: Move to ...
11455 * config/t-crtfm: ... this.
11456 Use $(cpu_type), $<.
11457 * config/t-crtin: New file.
11458 * config/sparc/t-softfp: New file.
11459 * config/sparc/t-softmul: New file.
11460 * config/t-rtems: New file.
11461 * config/t-slibgcc: New file.
11462 * config/t-slibgcc-elf-ver: New file.
11463 * config/t-slibgcc-gld: New file.
11464 * config/t-slibgcc-sld: New file.
11465 * config/t-sol2: New file.
11466 * configure.ac: Include ../config/lib-ld.m4.
11467 Call AC_LIB_PROG_LD_GNU.
11468 Substitute cpu_type.
11469 * configure: Regenerate.
11470
ad5f3d7b
BS
114712011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11472
11473 PR bootstrap/49173
11474 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11475 libgcc-std.ver in the build directory.
11476 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11477 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11478
cdbf4541
BS
114792011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11480
11481 * libgcc-std.ver.in: New file.
11482 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11483 variables.
11484 (libgcc-std.ver): New rule.
11485 * config/t-gnu-prefix: New file.
11486
c8028650
RO
114872011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11488
11489 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11490
4a68b4ca
JM
114912011-05-10 Joseph Myers <joseph@codesourcery.com>
11492
11493 * config/i386/darwin-lib.h: New file.
11494
80cf2e08
JM
114952011-05-10 Joseph Myers <joseph@codesourcery.com>
11496
11497 * config/arm/symbian-lib.h: New.
11498
a3330c9d
CD
114992011-05-04 Chris Demetriou <cgd@google.com>
11500
11501 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11502 (__x86.get_pc_thunk.bx): ...this.
11503 (__morestack): Adjust for rename, remove undef of __i686.
11504
6ace0756
CD
115052011-05-03 Chris Demetriou <cgd@google.com>
11506
11507 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11508
ebb9f8b0
JM
115092011-03-22 Joseph Myers <joseph@codesourcery.com>
11510
11511 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11512 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11513 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11514 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11515 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11516 Remove cases.
11517
9cfa1499
AT
115182011-03-14 Andreas Tobler <andreast@fgznet.ch>
11519
11520 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11521 Adjust copyright year.
11522
457186f6
ILT
115232011-03-07 Ian Lance Taylor <iant@google.com>
11524
11525 * generic-morestack.c (__splitstack_find): Adjust returned stack
11526 pointer to include all registers pushed by __morestack.
11527
58c741a6
DK
115282011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11529
11530 PR target/40125
11531 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11532 (toolexecdir): Calculate and AC_SUBST.
11533 (toolexeclibdir): Likewise.
11534 * Makefile.in (target_noncanonical): Import.
11535 (toolexecdir): Likewise.
11536 (toolexeclibdir): Likewise.
11537 * configure: Regenerate.
11538
26716c44
NF
115392010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11540
11541 PR target/46040
11542 * config/arm/bpabi.h: Rename to...
11543 * config/arm/bpabi-lib.h: ...this.
11544
b595b1a1
RO
115452010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11546
11547 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11548 appropriate.
11549 * configure: Regenerate.
11550
a3abe41c
NF
115512010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11552
11553 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11554 __FLOAT_WORD_ORDER__.
11555 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11556 Delete.
11557
455c8f48
RW
115582010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11559
11560 PR other/46202
11561 * Makefile.in (install-strip): New phony target.
11562
f3824a8b
ILT
115632010-11-07 Ian Lance Taylor <iant@google.com>
11564
11565 PR target/46089
11566 * config/i386/morestack.S (__morestack_large_model): New
11567 function.
11568
18ed6ee4
NF
115692010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11570
11571 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11572 Delete.
11573 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11574
8ac7fdcb
NF
115752010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11576
11577 * config/arm/bpabi.h: New file.
11578 * config/frv/frv-abi.h: New file.
11579
cdb388c2
ILT
115802010-10-01 Ian Lance Taylor <iant@google.com>
11581
11582 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11583 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11584
ef7c141c
L
115852010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11586
11587 PR target/45858
11588 * config.host: Add the missing `$'.
11589
80920132
ME
115902010-09-30 Michael Eager <eager@eagercon.com>
11591
11592 * config.host: Add microblaze*-*-*.
11593 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11594 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11595 udivsi3.asm,umodsi3.asm}: New.
11596
6dace308
ILT
115972010-09-28 Ian Lance Taylor <iant@google.com>
11598
11599 * configure.ac: Adjust CFI test to test assembler directly rather
11600 than checking gcc preprocessor macro.
11601 * configure: Rebuild.
11602
b6110d6d
ILT
116032010-09-27 Ian Lance Taylor <iant@google.com>
11604
11605 * configure.ac: Test whether assembler supports CFI directives.
11606 * config.host: Only add t-stack and i386/t-stack-i386 to
11607 tmake_file if libgcc_cv_cfi is "yes".
11608 * configure: Rebuild.
11609
7458026b
ILT
116102010-09-27 Ian Lance Taylor <iant@google.com>
11611
11612 * generic-morestack.h: New file.
11613 * generic-morestack.c: New file.
11614 * generic-morestack-thread.c: New file.
11615 * config/i386/morestack.S: New file.
11616 * config/t-stack: New file.
11617 * config/i386/t-stack-i386: New file.
11618 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11619 i386/t-stack-i386 to tmake_file.
11620
5b50fc0c
IS
116212010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11622
11623 * Makefile.in (libgcc-extra-parts): Check for static archives and
11624 invoke ranlib after installing them.
11625 (gcc-extra-parts): Likewise.
11626 (install-leaf): Likewise.
11627
b93cf342
L
116282010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11629
11630 * configure: Regenerated.
11631
996b42ef
KT
116322010-09-10 Kai Tietz <kai.tietz@onevision.com>
11633
b93cf342 11634 * configure: Regenerated.
996b42ef 11635
be1c764e
GP
116362010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11637 Andrew Pinski <pinskia@gmail.com>
11638
1da9434b 11639 PR target/40959
be1c764e
GP
11640 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11641
cc0ae0ca
L
116422010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11643
11644 PR target/45524
11645 * configure: Regenerated.
11646
84f47d20
AS
116472010-09-06 Andreas Schwab <schwab@redhat.com>
11648
11649 * configure: Regenerate.
11650
4159fb8d
UB
116512010-09-03 Uros Bizjak <ubizjak@gmail.com>
11652
11653 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11654 64bit targets.
11655 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11656 for 64bit targets.
11657
0df8fcc8
UB
116582010-09-03 Uros Bizjak <ubizjak@gmail.com>
11659 Iain Sandoe <iains@gcc.gnu.org>
11660
11661 PR target/45476
11662 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11663 LIB2FUNCS_EXCLUDE functions.
11664
3c39bca6
AK
116652010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11666
11667 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11668 Include dfp.m4.
11669 * configure: Regenerate.
11670
d78552bd
UB
116712010-09-01 Uros Bizjak <ubizjak@gmail.com>
11672
11673 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11674 i386/t-freebsd to tmake_file.
11675 * config/i386/t-freebsd: New file.
11676 * config/i386/libgcc-bsd.ver: New file.
11677
c5b79d4e
NF
116782010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11679
11680 * config.host (powerpc*-eabispe*): Set tmake_file.
11681 (powerpc*-eabi*): Likewise.
11682 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11683 crtbeginS, crtendS, crtbeginT.
11684
48b09a92
KH
116852010-06-12 Kazu Hirata <kazu@codesourcery.com>
11686
11687 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11688 to tmake_file. Add crtfastmath.o to extra_parts.
11689 * config/mips/t-crtfm: New.
11690
7d296953 116912010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
11692
11693 * config.host (sparc64-*-rtems*): New target.
11694
ed104137
RO
116952010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11696
11697 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11698 assembler syntax.
11699
3f56ef8b
TS
117002010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11701
11702 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11703
8c200350
RO
117042010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11705
11706 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11707 alpha-dec-osf5.0* support.
11708
7d296953 117092010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
11710
11711 * config.host: Add lm32-*-rtems*.
11712
f128db92 117132010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 11714 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
11715
11716 PR target/39048
11717 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11718 like other remaining 32-bit x86 OSes.
11719 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11720 assembler syntax.
11721 * config/i386/libgcc-sol2.ver: New file.
11722 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11723
7d296953 117242010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
11725
11726 PR c/43553
11727 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11728 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11729 is used and substitute set_use_emutls.
11730 * configure: Regenerated.
11731
15baf7f8
TG
117322010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11733
11734 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11735
7f5441df
RO
117362010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11737
11738 PR target/38085
11739 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11740 MULTILIB_CFLAGS.
11741 ($(T)gcrt1.o): Likewise.
11742 ($(T)crt1.o): Likewise.
11743 ($(T)crti.o): Likewise.
11744 ($(T)crtn.o): Likewise.
11745
ef74edbd
RW
117462010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11747
11748 PR other/42980
11749 * Makefile.in (install): Use $(MAKE) string in rule, for
11750 parallel make.
11751
e7c914db
HPN
117522010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11753
11754 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11755 * config/mmix/t-mmix: New file.
11756 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11757
1bcb71c4
JH
117582010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11759
11760 PR java/41991
11761 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11762 SHLIB_MAPFILES.
11763
e6e50811
AG
117642010-01-04 Anthony Green <green@moxielogic.com>
11765
11766 * config/moxie/crti.asm, config/moxie/crtn.asm,
11767 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11768 config/moxie/t-moxie: New files.
11769 * config.host: Add t-moxie-softfp reference.
11770
7d296953 117712009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
11772
11773 PR other/39888
11774 * config/t-slibgcc-darwin: Fix embedded rpaths for
11775 --enable-version-specific-runtime-libs, build extension stub
11776 libs exposing features available from current libgcc_s.
11777
7d296953 117782009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 11779
d78552bd
UB
11780 * config.host: Add lm32 targets.
11781 * config/lm32: New directory.
11782 * config/lm32/libgcc_lm32.h: New file.
11783 * config/lm32/_mulsi3.c: New file.
11784 * config/lm32/_udivmodsi4.c: New file.
11785 * config/lm32/_divsi3.c: New file.
11786 * config/lm32/_modsi3.c: New file.
11787 * config/lm32/_udivsi3.c: New file.
11788 * config/lm32/_umodsi3.c: New file.
11789 * config/lm32/_lshrsi3.S: New file.
11790 * config/lm32/_ashrsi3.S: New file.
11791 * config/lm32/_ashlsi3.S: New file.
11792 * config/lm32/crti.S: New file.
11793 * config/lm32/crtn.S: New file.
11794 * config/lm32/t-lm32: New file.
11795 * config/lm32/t-elf: New file.
11796 * config/lm32/t-uclinux: New file.
aa4945c1 11797
65a324b4
NC
117982009-10-26 Nick Clifton <nickc@redhat.com>
11799
11800 * config.host: Add support for RX target.
11801 * config/rx: New directory.
11802 * config/rx/rx-abi-functions.c: New file. Supplementary
11803 functions for libgcc to support the RX ABI.
11804 * config/rx/rx-abi.h: New file. Supplementary header file for
11805 libgcc RX ABI functions.
11806 * config/rx/t-rx: New file: Makefile fragment for building
11807 libgcc for the RX.
11808
dfb3b0e3
UB
118092009-10-09 Uros Bizjak <ubizjak@gmail.com>
11810
11811 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11812 constraint of y0 to "g".
11813
81dd9fd7
AK
118142009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11815
11816 * config.host: Include the s390 makefile fragments.
11817 * config/s390/32/_fixdfdi.c: New file.
11818 * config/s390/32/_fixsfdi.c: New file.
11819 * config/s390/32/_fixtfdi.c: New file.
11820 * config/s390/32/_fixunsdfdi.c: New file.
11821 * config/s390/32/_fixunssfdi.c: New file.
11822 * config/s390/32/_fixunstfdi.c: New file.
11823 * config/s390/32/t-floattodi: New file.
11824 * config/s390/libgcc-glibc.ver: New file.
11825 * config/s390/t-crtstuff: New file.
11826 * config/s390/t-linux: New file.
11827 * config/s390/t-tpf: New file.
11828
df58e648
RW
118292009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11830
11831 * configure.ac (AC_PREREQ): Bump to 2.64.
11832
79052be3
KK
118332009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11834
11835 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11836
5213506e
RW
118372009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11838
11839 * configure: Regenerate.
11840
a9a25daa
DR
118412009-08-09 Douglas B Rupp <rupp@gnat.com>
11842
11843 * config.host (ia64-hp-*vms*): New target.
11844 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11845 with ia64-hp-*vms*.
11846
6efbd53f
RW
118472009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11848
11849 * configure.ac: Add snippet for maintainer-mode.
11850 * configure: Regenerate.
11851 * Makefile.in (AUTOCONF, configure_deps): New variables.
11852 ($(srcdir)/configure)): New rule, active only with maintainer
11853 mode turned on.
11854
7acf4da6
DD
118552009-06-23 DJ Delorie <dj@redhat.com>
11856
11857 Add MeP port.
11858 * config.host: Add mep support.
11859
54f549af
KT
118602009-06-22 Kai Tietz <kai.tietz@onevision.com>
11861
34481f28 11862 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11863 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
11864
11865 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11866 for mingw targets.
54f549af
KT
11867 * config/i386/64/_multc3.c: Likewise.
11868 * config/i386/64/_powitf2.c: Likewise.
11869 * config/i386/64/eqtf2.c: Likewise.
11870 * config/i386/64/getf2.c: Likewise.
11871 * config/i386/64/letf2.c: Likewise.
11872 * config/i386/64/letf2.c: Likewise.
34481f28
UB
11873 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11874 unsigned long long for x64 mingw targets.
11875 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11876 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 11877
fea96e25
MR
118782009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11879
11880 * config.host (vax-*-linux*): New.
11881
cceb575c
AG
118822009-05-31 Anthony Green <green@moxielogic.com>
11883
11884 * config.host: Add moxie support.
11885 * config/moxie/t-moxie: New file.
11886
7d296953 118872009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
11888
11889 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11890 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 11891
532bfb0a
AJ
118922009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11893
11894 * config.host: Add i386/${host_address}/t-fprules-softfp to
11895 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11896
748086b7
JJ
118972009-04-09 Nick Clifton <nickc@redhat.com>
11898
11899 * config/ia64/tf-signs.c: Change copyright header to refer to
11900 version 3 of the GNU General Public License with version 3.1
11901 of the GCC Runtime Library Exception and to point readers at
11902 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11903 web page.
11904 * config/i386/32/tf-signs.c: Likewise.
11905 * config/libbid/_addsub_dd.c: Likewise.
11906 * config/libbid/_addsub_sd.c: Likewise.
11907 * config/libbid/_addsub_td.c: Likewise.
11908 * config/libbid/_dd_to_df.c: Likewise.
11909 * config/libbid/_dd_to_di.c: Likewise.
11910 * config/libbid/_dd_to_sd.c: Likewise.
11911 * config/libbid/_dd_to_sf.c: Likewise.
11912 * config/libbid/_dd_to_si.c: Likewise.
11913 * config/libbid/_dd_to_td.c: Likewise.
11914 * config/libbid/_dd_to_tf.c: Likewise.
11915 * config/libbid/_dd_to_udi.c: Likewise.
11916 * config/libbid/_dd_to_usi.c: Likewise.
11917 * config/libbid/_dd_to_xf.c: Likewise.
11918 * config/libbid/_df_to_dd.c: Likewise.
11919 * config/libbid/_df_to_sd.c: Likewise.
11920 * config/libbid/_df_to_td.c: Likewise.
11921 * config/libbid/_di_to_dd.c: Likewise.
11922 * config/libbid/_di_to_sd.c: Likewise.
11923 * config/libbid/_di_to_td.c: Likewise.
11924 * config/libbid/_div_dd.c: Likewise.
11925 * config/libbid/_div_sd.c: Likewise.
11926 * config/libbid/_div_td.c: Likewise.
11927 * config/libbid/_eq_dd.c: Likewise.
11928 * config/libbid/_eq_sd.c: Likewise.
11929 * config/libbid/_eq_td.c: Likewise.
11930 * config/libbid/_ge_dd.c: Likewise.
11931 * config/libbid/_ge_sd.c: Likewise.
11932 * config/libbid/_ge_td.c: Likewise.
11933 * config/libbid/_gt_dd.c: Likewise.
11934 * config/libbid/_gt_sd.c: Likewise.
11935 * config/libbid/_gt_td.c: Likewise.
11936 * config/libbid/_isinfd128.c: Likewise.
11937 * config/libbid/_isinfd32.c: Likewise.
11938 * config/libbid/_isinfd64.c: Likewise.
11939 * config/libbid/_le_dd.c: Likewise.
11940 * config/libbid/_le_sd.c: Likewise.
11941 * config/libbid/_le_td.c: Likewise.
11942 * config/libbid/_lt_dd.c: Likewise.
11943 * config/libbid/_lt_sd.c: Likewise.
11944 * config/libbid/_lt_td.c: Likewise.
11945 * config/libbid/_mul_dd.c: Likewise.
11946 * config/libbid/_mul_sd.c: Likewise.
11947 * config/libbid/_mul_td.c: Likewise.
11948 * config/libbid/_ne_dd.c: Likewise.
11949 * config/libbid/_ne_sd.c: Likewise.
11950 * config/libbid/_ne_td.c: Likewise.
11951 * config/libbid/_sd_to_dd.c: Likewise.
11952 * config/libbid/_sd_to_df.c: Likewise.
11953 * config/libbid/_sd_to_di.c: Likewise.
11954 * config/libbid/_sd_to_sf.c: Likewise.
11955 * config/libbid/_sd_to_si.c: Likewise.
11956 * config/libbid/_sd_to_td.c: Likewise.
11957 * config/libbid/_sd_to_tf.c: Likewise.
11958 * config/libbid/_sd_to_udi.c: Likewise.
11959 * config/libbid/_sd_to_usi.c: Likewise.
11960 * config/libbid/_sd_to_xf.c: Likewise.
11961 * config/libbid/_sf_to_dd.c: Likewise.
11962 * config/libbid/_sf_to_sd.c: Likewise.
11963 * config/libbid/_sf_to_td.c: Likewise.
11964 * config/libbid/_si_to_dd.c: Likewise.
11965 * config/libbid/_si_to_sd.c: Likewise.
11966 * config/libbid/_si_to_td.c: Likewise.
11967 * config/libbid/_td_to_dd.c: Likewise.
11968 * config/libbid/_td_to_df.c: Likewise.
11969 * config/libbid/_td_to_di.c: Likewise.
11970 * config/libbid/_td_to_sd.c: Likewise.
11971 * config/libbid/_td_to_sf.c: Likewise.
11972 * config/libbid/_td_to_si.c: Likewise.
11973 * config/libbid/_td_to_tf.c: Likewise.
11974 * config/libbid/_td_to_udi.c: Likewise.
11975 * config/libbid/_td_to_usi.c: Likewise.
11976 * config/libbid/_td_to_xf.c: Likewise.
11977 * config/libbid/_tf_to_dd.c: Likewise.
11978 * config/libbid/_tf_to_sd.c: Likewise.
11979 * config/libbid/_tf_to_td.c: Likewise.
11980 * config/libbid/_udi_to_dd.c: Likewise.
11981 * config/libbid/_udi_to_sd.c: Likewise.
11982 * config/libbid/_udi_to_td.c: Likewise.
11983 * config/libbid/_unord_dd.c: Likewise.
11984 * config/libbid/_unord_sd.c: Likewise.
11985 * config/libbid/_unord_td.c: Likewise.
11986 * config/libbid/_usi_to_dd.c: Likewise.
11987 * config/libbid/_usi_to_sd.c: Likewise.
11988 * config/libbid/_usi_to_td.c: Likewise.
11989 * config/libbid/_xf_to_dd.c: Likewise.
11990 * config/libbid/_xf_to_sd.c: Likewise.
11991 * config/libbid/_xf_to_td.c: Likewise.
11992 * config/libbid/bid128.c: Likewise.
11993 * config/libbid/bid128_2_str.h: Likewise.
11994 * config/libbid/bid128_2_str_macros.h: Likewise.
11995 * config/libbid/bid128_2_str_tables.c: Likewise.
11996 * config/libbid/bid128_add.c: Likewise.
11997 * config/libbid/bid128_compare.c: Likewise.
11998 * config/libbid/bid128_div.c: Likewise.
11999 * config/libbid/bid128_fma.c: Likewise.
12000 * config/libbid/bid128_logb.c: Likewise.
12001 * config/libbid/bid128_minmax.c: Likewise.
12002 * config/libbid/bid128_mul.c: Likewise.
12003 * config/libbid/bid128_next.c: Likewise.
12004 * config/libbid/bid128_noncomp.c: Likewise.
12005 * config/libbid/bid128_quantize.c: Likewise.
12006 * config/libbid/bid128_rem.c: Likewise.
12007 * config/libbid/bid128_round_integral.c: Likewise.
12008 * config/libbid/bid128_scalb.c: Likewise.
12009 * config/libbid/bid128_sqrt.c: Likewise.
12010 * config/libbid/bid128_string.c: Likewise.
12011 * config/libbid/bid128_to_int16.c: Likewise.
12012 * config/libbid/bid128_to_int32.c: Likewise.
12013 * config/libbid/bid128_to_int64.c: Likewise.
12014 * config/libbid/bid128_to_int8.c: Likewise.
12015 * config/libbid/bid128_to_uint16.c: Likewise.
12016 * config/libbid/bid128_to_uint32.c: Likewise.
12017 * config/libbid/bid128_to_uint64.c: Likewise.
12018 * config/libbid/bid128_to_uint8.c: Likewise.
12019 * config/libbid/bid32_to_bid128.c: Likewise.
12020 * config/libbid/bid32_to_bid64.c: Likewise.
12021 * config/libbid/bid64_add.c: Likewise.
12022 * config/libbid/bid64_compare.c: Likewise.
12023 * config/libbid/bid64_div.c: Likewise.
12024 * config/libbid/bid64_fma.c: Likewise.
12025 * config/libbid/bid64_logb.c: Likewise.
12026 * config/libbid/bid64_minmax.c: Likewise.
12027 * config/libbid/bid64_mul.c: Likewise.
12028 * config/libbid/bid64_next.c: Likewise.
12029 * config/libbid/bid64_noncomp.c: Likewise.
12030 * config/libbid/bid64_quantize.c: Likewise.
12031 * config/libbid/bid64_rem.c: Likewise.
12032 * config/libbid/bid64_round_integral.c: Likewise.
12033 * config/libbid/bid64_scalb.c: Likewise.
12034 * config/libbid/bid64_sqrt.c: Likewise.
12035 * config/libbid/bid64_string.c: Likewise.
12036 * config/libbid/bid64_to_bid128.c: Likewise.
12037 * config/libbid/bid64_to_int16.c: Likewise.
12038 * config/libbid/bid64_to_int32.c: Likewise.
12039 * config/libbid/bid64_to_int64.c: Likewise.
12040 * config/libbid/bid64_to_int8.c: Likewise.
12041 * config/libbid/bid64_to_uint16.c: Likewise.
12042 * config/libbid/bid64_to_uint32.c: Likewise.
12043 * config/libbid/bid64_to_uint64.c: Likewise.
12044 * config/libbid/bid64_to_uint8.c: Likewise.
12045 * config/libbid/bid_b2d.h: Likewise.
12046 * config/libbid/bid_binarydecimal.c: Likewise.
12047 * config/libbid/bid_conf.h: Likewise.
12048 * config/libbid/bid_convert_data.c: Likewise.
12049 * config/libbid/bid_decimal_data.c: Likewise.
12050 * config/libbid/bid_decimal_globals.c: Likewise.
12051 * config/libbid/bid_div_macros.h: Likewise.
12052 * config/libbid/bid_dpd.c: Likewise.
12053 * config/libbid/bid_flag_operations.c: Likewise.
12054 * config/libbid/bid_from_int.c: Likewise.
12055 * config/libbid/bid_functions.h: Likewise.
12056 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12057 * config/libbid/bid_inline_add.h: Likewise.
12058 * config/libbid/bid_internal.h: Likewise.
12059 * config/libbid/bid_round.c: Likewise.
12060 * config/libbid/bid_sqrt_macros.h: Likewise.
12061
120622009-04-09 Jakub Jelinek <jakub@redhat.com>
12063
12064 * Makefile.in: Change copyright header to refer to version
12065 3 of the GNU General Public License and to point readers at the
12066 COPYING3 file and the FSF's license web page.
12067 * config.host: Likewise.
12068
633dd061
AM
120692009-04-07 Alan Modra <amodra@bigpond.net.au>
12070
12071 * config.host: Reorder and merge to match config.gcc change.
12072
457d1d00
AM
120732009-04-03 Alan Modra <amodra@bigpond.net.au>
12074
12075 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12076
52c0e446
JM
120772009-03-28 Joseph Myers <joseph@codesourcery.com>
12078
12079 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12080 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12081 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12082 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12083
ba181049
UB
120842009-02-12 Uros Bizjak <ubizjak@gmail.com>
12085
12086 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12087 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12088
c252db20
L
120892009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12090
ba181049
UB
12091 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12092 ia64/t-softfp-compat to tmake_file.
c252db20
L
12093
12094 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12095
12096 * config/ia64/__divxf3.asm: New.
12097 * config/ia64/_fixtfdi.asm: Likewise.
12098 * config/ia64/_fixunstfdi.asm: Likewise.
12099 * config/ia64/_floatditf.asm: Likewise.
12100 * config/ia64/t-fprules-softfp: Likewise.
12101 * config/ia64/t-softfp-compat: Likewise.
12102 * config/ia64/tf-signs.c: Likewise.
12103
c60535f9
BE
121042009-01-18 Ben Elliston <bje@au.ibm.com>
12105
12106 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12107
ce16861e
BE
121082009-01-16 Ben Elliston <bje@au.ibm.com>
12109
12110 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12111 to tmake_file.
12112
bcf4713b
BE
121132009-01-13 Ben Elliston <bje@au.ibm.com>
12114
12115 * config/t-softfp: New file.
12116 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12117 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12118
7d296953 121192009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
12120
12121 * config.host: Add m32r*-*-rtems*.
12122
7d296953 121232008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
12124
12125 * config.host: Add m32c*-*-rtems*.
12126
19523300
RO
121272008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12128
12129 PR bootstrap/33100
12130 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12131 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12132 * configure: Regenerate.
12133 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12134 tmake_file here from gcc/config.gcc.
12135 Move extra_parts here from gcc/config.gcc.
12136 * config/i386/t-sol2: Move here from gcc/config/i386.
12137 Use gcc_srcdir instead of srcdir.
12138
0a4a51c7
AN
121392008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12140
12141 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12142 case.
12143
2a761e46
TS
121442008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12145
12146 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12147
c0451df7
TS
121482008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12149
12150 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12151
358da97e
HS
121522008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12153
12154 Add picoChip port.
12155 * config.host: Add picochip-*-*.
12156
c660f132
BW
121572008-08-06 Bob Wilson <bob.wilson@acm.org>
12158
12159 * config.host: Match more processor names for Xtensa.
12160
d1349557
L
121612008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12162
12163 * config/i386/64/t-softfp-compat: Update comments.
12164
dd7b73c0
L
121652008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12166
12167 * config/i386/64/_divtc3-compat.c: Moved to ...
12168 * config/i386/64/_divtc3.c: Here.
12169
12170 * config/i386/64/_multc3-compat.c: Moved to ...
12171 * config/i386/64/_multc3.c: Here.
12172
12173 * config/i386/64/_powitf2-compat.c: Moved to ...
12174 * config/i386/64/_powitf2.c: Here.
12175
12176 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12177 .c suffix instead of -compat.c.
12178
6e1fab3d
UB
121792008-07-05 Uros Bizjak <ubizjak@gmail.com>
12180
12181 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12182 (_FP_MUL_MEAT_D): Ditto.
12183 (_FP_DIV_MEAT_S): Ditto.
12184 (_FP_DIV_MEAT_D): Ditto.
12185
f92518d7
RS
121862008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12187
12188 * Makefile.in: Add support for __sync_* libgcc functions.
12189
d0aede14
L
121902008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12191
12192 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12193
c174f11c
L
121942008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12195
12196 PR boostrap/36702
12197 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12198 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12199
12200 * config/i386/64/t-fprules-softfp: Moved to ...
12201 * config/i386/64/t-softfp-compat: This. New.
12202
5f464fa2
UB
122032008-07-02 Uros Bizjak <ubizjak@gmail.com>
12204
12205 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12206 Initialize f with 0.0.
12207
ff473280
L
122082008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12209
12210 PR target/36669
12211 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12212
12213 * config/i386/64/_divtc3-compat.c: New.
12214 * config/i386/64/_multc3-compat.c: Likewise.
12215 * config/i386/64/_powitf2-compat.c: Likewise.
12216 * config/i386/64/eqtf2.c: Likewise.
12217 * config/i386/64/getf2.c: Likewise.
12218 * config/i386/64/letf2.c: Likewise.
12219 * config/i386/64/t-fprules-softfp: Likewise.
12220
122212008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12222
12223 * config.host: Add i386/${host_address}/t-fprules-softfp to
12224 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 12225 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
12226
12227 * configure.ac: Set host_address to 64 or 32 for x86.
12228 * configure: Regenerated.
12229
12230 * Makefile.in (config.status): Also depend on
12231 $(srcdir)/config.host.
12232
12233 * config/i386/32/t-fprules-softfp: New.
12234 * config/i386/32/tf-signs.c: Likewise.
12235
12236 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12237
122382008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12239 Uros Bizjak <ubizjak@gmail.com>
12240
12241 * config/i386/32/sfp-machine.h: New.
12242
30551d99
NF
122432008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12244
12245 * config/rs6000/t-ppccomm: Remove rules that conflict with
12246 auto-generated rules.
12247
18c04407
RW
122482008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12249
12250 * configure.ac: sinclude override.m4.
12251 * configure: Regenerate.
12252
10fbe77a
BRF
122532008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12254
12255 * configure: Regenerate.
12256
bc6d4c3f
JM
122572008-06-10 Joseph Myers <joseph@codesourcery.com>
12258
12259 * Makefile.in (DECNUMINC): Remove
12260 -I$(MULTIBUILDTOP)../../libdecnumber.
12261 * gstdint.h: New.
12262
cd985f66
JM
122632008-06-07 Joseph Myers <joseph@codesourcery.com>
12264
12265 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12266 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12267 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12268 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12269 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12270 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12271 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12272 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12273 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12274 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12275 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12276 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12277 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12278 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12279
93fea8d3
AL
122802008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12281
12282 * config.host (sh2[lbe]*-*-linux*): Allow target.
12283
18724e30
NF
122842008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12285
12286 * config/rs6000/t-ppccomm: Add build rules for new files.
12287 (LIB2ADD_ST): New variable.
12288
47583040
AH
122892008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12290
12291 PR target/34210
12292 PR target/35508
12293 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12294 * config/t-avr: New file. Build 16bit libgcc functions.
12295
cf8e67fe
JJ
122962008-03-02 Jakub Jelinek <jakub@redhat.com>
12297
12298 PR target/35401
12299 * config/t-slibgcc-darwin: Make install-leaf dependent on
12300 install-darwin-libgcc-stubs instead of install.
12301
8d8da227
JM
123022008-01-25 Joseph Myers <joseph@codesourcery.com>
12303
12304 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12305 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12306 sh-*-rtemscoff*): Remove cases.
12307
edbf8b16
RS
123082007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12309
12310 * Makefile.in (all): Use install-leaf rather than install.
12311 (install): Split most of the rule into...
12312 (install-leaf): ...this new one.
12313
89deeaff
EK
123142007-12-19 Etsushi Kato <ek.kato@gmail.com>
12315 Paolo Bonzini <bonzini@gnu.org>
12316
12317 PR target/30572
5f464fa2
UB
12318 * Makefile.in: Use @shlib_slibdir@ substitution to get
12319 correct install name on darwin.
89deeaff 12320 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 12321
4081d704
HPN
123222007-12-15 Hans-Peter Nilsson <hp@axis.com>
12323
12324 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12325 cris-*-elf and cris-*-none.
12326 (crisv32-*-linux*): Similar, as cris-*-linux*.
12327
f43e89a3
RIL
123282007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12329
12330 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12331
b4e9c2c6
L
123322007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12333
12334 PR regression/33926
12335 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12336 * configure: Regenerated.
12337
b2a00c89
L
123382007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12339
12340 * Makefile.in (dfp-filenames): Replace decimal_globals,
12341 decimal_data, binarydecimal and convert_data with
12342 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12343 and bid_convert_data, respectively.
12344
8d2a9e0e
CF
123452007-09-17 Chao-ying Fu <fu@mips.com>
12346 Nigel Stephens <nigel@mips.com>
12347
12348 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12349 * Makefile.in (fixed_point): Define.
12350 Check if fixed_point is yes to build support functions.
12351 * configure.ac: Check for fixed_point support.
12352 * configure: Regenerated.
12353 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12354 funcs, modes, from, to.
12355
2b53935d
JJ
123562007-09-11 Janis Johnson <janis187@us.ibm.com
12357
12358 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12359
2533577f
JJ
123602007-09-10 Janis Johnson <janis187@us.ibm.com>
12361
12362 * Makefile.in (dfp-filenames): Remove decUtility, add
12363 decDouble, decPacked, decQuad, decSingle.
12364
3ae3dbd6
HK
123652007-08-27 Hans Kester <hans.kester@ellips.nl>
12366
12367 * config.host : Add x86_64-elf target.
12368
22867d02
L
123692007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12370
12371 * configure.ac (set_have_cc_tls): Add a missing =.
12372 * configure: Regenerated.
12373
6f461e76
L
123742007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12375
12376 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12377 and x86_64-*-linux*.
12378
12379 * config/t-tls: New file.
12380
dfb3b0e3 12381 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
12382
12383 * configure.ac: Include ../config/enable.m4 and
12384 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12385 supports TLS and substitute set_have_cc_tls.
12386 * configure: Regenerated.
12387
200359e8
L
123882007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12389
12390 * Makefile.in: Use libbid for DFP when BID is enabled.
12391
76f5e200
DS
123922007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12393
12394 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 12395 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
12396 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12397
9bd196f0 123982007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12399 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12400
12401 PR target/29498
12402 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12403 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12404 * config/i386/t-crtfm: Compile crtfastmath.o with
12405 -minline-all-stringops.
12406
1910440e
RS
124072007-05-10 Richard Sandiford <richard@codesourcery.com>
12408
12409 * config.host (sparc-wrs-vxworks): New target.
12410
7d33c31d
KH
124112007-04-14 Kazu Hirata <kazu@codesourcery.com>
12412
12413 * config.host: Recognize fido.
12414
96fccd0d
JJ
124152007-04-04 Janis Johnson <janis187@us.ibm.com>
12416
12417 * configure: Check host, not target, for decimal float support.
12418
577565f9
UB
124192007-04-03 Uros Bizjak <ubizjak@gmail.com>
12420
12421 * config/i386/t-crtpc: New file.
12422 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12423 (x86_64-*-linux*): Ditto.
577565f9 12424
ccf8e764
RH
124252007-02-30 Kai Tietz <kai.tietz@onevision.com>
12426
12427 * config.host (x86_64-*-mingw*): New target.
12428
79b87c74
MM
124292007-03-23 Michael Meissner <michael.meissner@amd.com>
12430 H.J. Lu <hongjiu.lu@intel.com>
12431
12432 * Makefile.in (enable_decimal_float): New.
12433 (DECNUMINC): Add
12434 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12435 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12436 (decbits-filenames): This.
12437 (decbits-objects): New.
12438 (libgcc-objects): Add $(decbits-objects).
12439
12440 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12441 Substitute enable_decimal_float.
12442 * configure: Regenerated.
12443
8fce4e31
HPN
124442007-03-19 Hans-Peter Nilsson <hp@axis.com>
12445
12446 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12447
e8bb4597
BM
124482007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12449
12450 * Makefile.in (install-info): New dummy target.
12451
344189f9
BS
124522007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12453
12454 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12455
ac84c172
BM
124562007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12457
12458 * Makefile.in: Add install-html and install-pdf dummy
12459 targets.
12460
cd5c2357
RS
124612007-02-05 Roger Sayle <roger@eyesopen.com>
12462 Daniel Jacobowitz <dan@codesourcery.com>
12463
12464 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12465 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12466 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12467
d9a66f98
JJ
124682007-01-29 Janis Johnson <janis187@us.ibm.com>
12469
12470 * Makefile.in (dec-filenames): Add decExcept.
12471
9891ec5f
DJ
124722007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12473
12474 PR bootstrap/30469
12475 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12476 -fprofile-use.
12477
d6efbf5a
DJ
124782007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12479
12480 * configure.ac: Add --enable-version-specific-runtime-libs.
12481 Correct $slibdir default.
12482 * configure: Regenerated.
12483
17caeff2
JM
124842007-01-23 Joseph Myers <joseph@codesourcery.com>
12485
12486 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12487
5ea41e3a
AP
124882007-01-21 Andrew Pinski <pinskia@gmail.com>
12489
12490 PR target/30519
12491 * config.host (alpha*-*-linux*): Set extra_parts.
12492
26900826
KK
124932007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12494
12495 * config/sh/t-linux: New.
12496 * config.host (sh*-*-linux*): Set tmake_file.
12497
97af925b
DJ
124982007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12499
12500 * Makefile.in (install): Handle multilibs.
12501
b0088af7
BM
125022007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12503
12504 * Makefile.in: Added .PHONY entry for documentation targets.
12505
e0a9456a
BM
125062007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12507
12508 * Makefile.in: Add empty info, html, dvi, pdf targets.
12509
7fd453b4
MS
125102007-01-04 Mike Stump <mrs@apple.com>
12511
12512 * Makefile.in (MAKEINFO): Remove.
12513 (PERL): Likewise.
12514
14e8fc8b
PB
125152007-01-04 Paolo Bonzini <bonzini@gnu.org>
12516
12517 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12518 * configure: Regenerate.
12519 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12520 (gcc_objdir): Use it.
14e8fc8b 12521
1555beba
DJ
125222007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12523
12524 * config.host (ia64*-*-linux*): Set tmake_file.
12525
79e6eaeb
DJ
125262007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12527
12528 * Makefile.in (version): Define.
12529
fa958513
DJ
125302007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12531 Paolo Bonzini <bonzini@gnu.org>
12532
12533 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12534 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12535 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12536 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12537 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12538 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12539 * configure: Generated.
818ab71a 12540\f
877e3c2a 12541Copyright (C) 2007-2022 Free Software Foundation, Inc.
818ab71a
JJ
12542
12543Copying and distribution of this file, with or without modification,
12544are permitted in any medium without royalty provided the copyright
12545notice and this notice are preserved.