]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
ab332cd7
GA
12022-10-11 Olivier Hainque <hainque@adacore.com>
2
3 * config.host (*vxworks*): When enable_shared, add
4 libgcc and crtstuff "shared" fragments for rtp except
5 large code model.
6 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
7 the list of fragments.
8
629d04d3
GA
92022-10-06 Jakub Jelinek <jakub@redhat.com>
10
11 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
12 fs->regs.how[X] instead of fs->regs.reg[X].how.
13
142022-10-06 Jakub Jelinek <jakub@redhat.com>
15
16 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
17 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
18 REG_UNDEFINED): New anonymous enum, moved from inside of
19 struct frame_state_reg_info.
20 (struct frame_state_reg_info): Remove reg[].how element and the
21 anonymous enum there. Add how element.
22 * unwind-dw2.c: Include stddef.h.
23 (uw_frame_state_for): Don't clear first
24 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
25 (execute_cfa_program, __frame_state_for, uw_update_context_1,
26 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
27 or fs.regs.how[X] instead of fs.regs.reg[X].how.
28 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
29 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
30 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
31 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
32 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
33 Likewise.
34 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
35 Likewise.
36 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
37 * config/arc/linux-unwind.h (arc_fallback_frame_state,
38 arc_frob_update_context): Likewise.
39 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
40 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
41 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
42 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
43 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
44 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
45 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
46 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
47 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
48 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
49 x86_fallback_frame_state): Likewise.
50 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
51 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
52 x86_fallback_frame_state): Likewise.
53 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
54 Likewise.
55 * config/i386/dragonfly-unwind.h
56 (x86_64_dragonfly_fallback_frame_state): Likewise.
57 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
58 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
59 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
60 Likewise.
61 * config/aarch64/freebsd-unwind.h
62 (aarch64_freebsd_fallback_frame_state): Likewise.
63 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
64 Likewise.
65 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
66 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
67 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
68 Likewise.
69 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
70 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
71 Likewise.
72 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
73 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
74 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
75 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
76
42231015
GA
772022-10-02 Olivier Hainque <hainque@adacore.com>
78
79 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
80 -I options for gcc/include and gcc/include-fixed at the end
81 and make them -isystem.
82
832022-10-02 Olivier Hainque <hainque@adacore.com>
84
85 * config/gthr-vxworks.h: Prevent Wpragma warning for the
86 pragma diagnostics on Wstrict-prototypes.
87
bbdcdf5c
GA
882022-09-29 Olivier Hainque <hainque@adacore.com>
89
90 * config/vxcrtstuff.c: Improve the comment attached to the use
91 of auto-host.h and of __dso_handle. Remove redundant guard on
92 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
93
220c4d8e
GA
942022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
95
96 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
97 for the non-fast-path case. Drop destructor priority.
98
279c6715
GA
992022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
100
101 * unwind-dw2-fde.c: (release_register_frames) Remember
102 when the btree has been destroyed.
103 (__deregister_frame_info_bases) Disable the assert when
104 shutting down.
105
0990a778
GA
1062022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
107
108 * unwind-dw2-fde.c: Replace uintptr_t with typedef
109 for __UINTPTR_TYPE__.
110 * unwind-dw2-btree.h: Likewise.
111
7ee0fa10
GA
1122022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
113
114 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
115 (__register_frame_info_table_bases): Use btree in atomic fast path.
116 (__deregister_frame_info_bases): Likewise.
117 (_Unwind_Find_FDE): Likewise.
118 (base_from_object): Make parameter const.
119 (classify_object_over_fdes): Add query-only mode.
120 (get_pc_range): Compute PC range for lookup.
121 * unwind-dw2-fde.h (last_fde): Make parameter const.
122 * unwind-dw2-btree.h: New file.
123
542c60c4
GA
1242022-08-31 Martin Liska <mliska@suse.cz>
125
126 * config.host: Remove hppa.
127
3de9fb32
GA
1282022-08-30 Martin Liska <mliska@suse.cz>
129
130 * config.host: Remove the port.
131
16f542d6
GA
1322022-08-26 Martin Liska <mliska@suse.cz>
133
134 * config.host: Remove cr16 related stuff.
135 * config/cr16/crti.S: Removed.
136 * config/cr16/crtlibid.S: Removed.
137 * config/cr16/crtn.S: Removed.
138 * config/cr16/divmodhi3.c: Removed.
139 * config/cr16/lib1funcs.S: Removed.
140 * config/cr16/t-cr16: Removed.
141 * config/cr16/t-crtlibid: Removed.
142 * config/cr16/unwind-cr16.c: Removed.
143 * config/cr16/unwind-dw2.h: Removed.
144
47a61e65
GA
1452022-08-16 Kito Cheng <kito.cheng@sifive.com>
146
147 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
148 (_FP_NANFRAC_H): Ditto.
149 (_FP_NANSIGN_H): Ditto.
150 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
151 routines.
152 (softfp_truncations): Ditto.
153 (softfp_extras): Ditto.
154 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
155
1562022-08-16 Kito Cheng <kito.cheng@sifive.com>
157
158 * soft-fp/fixhfdi.c: New.
159 * soft-fp/fixhfsi.c: Likewise.
160 * soft-fp/fixunshfdi.c: Likewise.
161 * soft-fp/fixunshfsi.c: Likewise.
162 * soft-fp/floatdihf.c: Likewise.
163 * soft-fp/floatsihf.c: Likewise.
164 * soft-fp/floatundihf.c: Likewise.
165 * soft-fp/floatunsihf.c: Likewise.
166 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
167 lines and update URL for license.
168 * soft-fp/addsf3.c: Likewise.
169 * soft-fp/addtf3.c: Likewise.
170 * soft-fp/divdf3.c: Likewise.
171 * soft-fp/divsf3.c: Likewise.
172 * soft-fp/divtf3.c: Likewise.
173 * soft-fp/double.h: Likewise.
174 * soft-fp/eqdf2.c: Likewise.
175 * soft-fp/eqhf2.c: Likewise.
176 * soft-fp/eqsf2.c: Likewise.
177 * soft-fp/eqtf2.c: Likewise.
178 * soft-fp/extenddftf2.c: Likewise.
179 * soft-fp/extended.h: Likewise.
180 * soft-fp/extendhfdf2.c: Likewise.
181 * soft-fp/extendhfsf2.c: Likewise.
182 * soft-fp/extendhftf2.c: Likewise.
183 * soft-fp/extendhfxf2.c: Likewise.
184 * soft-fp/extendsfdf2.c: Likewise.
185 * soft-fp/extendsftf2.c: Likewise.
186 * soft-fp/extendxftf2.c: Likewise.
187 * soft-fp/fixdfdi.c: Likewise.
188 * soft-fp/fixdfsi.c: Likewise.
189 * soft-fp/fixdfti.c: Likewise.
190 * soft-fp/fixhfti.c: Likewise.
191 * soft-fp/fixsfdi.c: Likewise.
192 * soft-fp/fixsfsi.c: Likewise.
193 * soft-fp/fixsfti.c: Likewise.
194 * soft-fp/fixtfdi.c: Likewise.
195 * soft-fp/fixtfsi.c: Likewise.
196 * soft-fp/fixtfti.c: Likewise.
197 * soft-fp/fixunsdfdi.c: Likewise.
198 * soft-fp/fixunsdfsi.c: Likewise.
199 * soft-fp/fixunsdfti.c: Likewise.
200 * soft-fp/fixunshfti.c: Likewise.
201 * soft-fp/fixunssfdi.c: Likewise.
202 * soft-fp/fixunssfsi.c: Likewise.
203 * soft-fp/fixunssfti.c: Likewise.
204 * soft-fp/fixunstfdi.c: Likewise.
205 * soft-fp/fixunstfsi.c: Likewise.
206 * soft-fp/fixunstfti.c: Likewise.
207 * soft-fp/floatdidf.c: Likewise.
208 * soft-fp/floatdisf.c: Likewise.
209 * soft-fp/floatditf.c: Likewise.
210 * soft-fp/floatsidf.c: Likewise.
211 * soft-fp/floatsisf.c: Likewise.
212 * soft-fp/floatsitf.c: Likewise.
213 * soft-fp/floattidf.c: Likewise.
214 * soft-fp/floattihf.c: Likewise.
215 * soft-fp/floattisf.c: Likewise.
216 * soft-fp/floattitf.c: Likewise.
217 * soft-fp/floatundidf.c: Likewise.
218 * soft-fp/floatundisf.c: Likewise.
219 * soft-fp/floatunditf.c: Likewise.
220 * soft-fp/floatunsidf.c: Likewise.
221 * soft-fp/floatunsisf.c: Likewise.
222 * soft-fp/floatunsitf.c: Likewise.
223 * soft-fp/floatuntidf.c: Likewise.
224 * soft-fp/floatuntihf.c: Likewise.
225 * soft-fp/floatuntisf.c: Likewise.
226 * soft-fp/floatuntitf.c: Likewise.
227 * soft-fp/gedf2.c: Likewise.
228 * soft-fp/gesf2.c: Likewise.
229 * soft-fp/getf2.c: Likewise.
230 * soft-fp/half.h: Likewise.
231 * soft-fp/ledf2.c: Likewise.
232 * soft-fp/lesf2.c: Likewise.
233 * soft-fp/letf2.c: Likewise.
234 * soft-fp/muldf3.c: Likewise.
235 * soft-fp/mulsf3.c: Likewise.
236 * soft-fp/multf3.c: Likewise.
237 * soft-fp/negdf2.c: Likewise.
238 * soft-fp/negsf2.c: Likewise.
239 * soft-fp/negtf2.c: Likewise.
240 * soft-fp/op-1.h: Likewise.
241 * soft-fp/op-2.h: Likewise.
242 * soft-fp/op-4.h: Likewise.
243 * soft-fp/op-8.h: Likewise.
244 * soft-fp/op-common.h: Likewise.
245 * soft-fp/quad.h: Likewise.
246 * soft-fp/single.h: Likewise.
247 * soft-fp/soft-fp.h: Likewise.
248 * soft-fp/subdf3.c: Likewise.
249 * soft-fp/subsf3.c: Likewise.
250 * soft-fp/subtf3.c: Likewise.
251 * soft-fp/truncdfhf2.c: Likewise.
252 * soft-fp/truncdfsf2.c: Likewise.
253 * soft-fp/truncsfhf2.c: Likewise.
254 * soft-fp/trunctfdf2.c: Likewise.
255 * soft-fp/trunctfhf2.c: Likewise.
256 * soft-fp/trunctfsf2.c: Likewise.
257 * soft-fp/trunctfxf2.c: Likewise.
258 * soft-fp/truncxfhf2.c: Likewise.
259 * soft-fp/unorddf2.c: Likewise.
260 * soft-fp/unordsf2.c: Likewise.
261 * soft-fp/unordtf2.c: Likewise.
262
79fb1124
GA
2632022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
264
265 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
266 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
267 configurations.
268
87509781
GA
2692022-06-25 Jeff Law <jeffreyalaw@gmail.com>
270
271 * config.host: Removed tilegx and tilepro entries.
272 * config/tilegx/sfp-machine.h: Removed.
273 * config/tilegx/sfp-machine32.h: Removed.
274 * config/tilegx/sfp-machine64.h: Removed.
275 * config/tilegx/t-crtstuff: Removed.
276 * config/tilegx/t-softfp: Removed.
277 * config/tilegx/t-tilegx: Removed.
278 * config/tilepro/atomic.c: Removed.
279 * config/tilepro/atomic.h: Removed.
280 * config/tilepro/linux-unwind.h: Removed.
281 * config/tilepro/sfp-machine.h: Removed.
282 * config/tilepro/softdivide.c: Removed.
283 * config/tilepro/softmpy.S: Removed.
284 * config/tilepro/t-crtstuff: Removed.
285 * config/tilepro/t-tilepro: Removed.
286
e3bba42f
GA
2872022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
288
289 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
290 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
291
3164de6a
GA
2922022-06-01 H.J. Lu <hjl.tools@gmail.com>
293
294 PR libgcc/27576
295 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
296
3dff965c
GA
2972022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
298
299 PR libgcc/105708
300 * config/aarch64/lse-init.c: Increase constructor priority.
301
3022022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
303
304 PR target/104689
305 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
306 Handle the !REG_UNSAVED case.
307 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
308
57f2ce6a
GA
3092022-05-20 Christophe Lyon <christophe.lyon@arm.com>
310
311 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
312 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
313 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
314
3152022-05-20 Christophe Lyon <christophe.lyon@arm.com>
316
317 * config.host: Add t-dfprules to AArch64 targets.
318
3192022-05-20 Christophe Lyon <christophe.lyon@arm.com>
320
321 * configure: Regenerate.
322
9df4ffe4
GA
3232022-05-13 Sebastian Pop <spop@amazon.com>
324
325 PR target/105162
326 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
327 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
328
e8778989
GA
3292022-05-10 Martin Liska <mliska@suse.cz>
330 Hans-Peter Helfert <peter-helfert@t-online.de>
331
332 PR gcov-profile/105535
333 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
334 n_functions.
335
6259d8aa
GA
3362022-05-02 Martin Liska <mliska@suse.cz>
337
338 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
339
6b6f53d8
GA
3402022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
341
342 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
343 (gcov_profile_merge_stream): Likewise.
344
3452022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
346
347 * libgcov-util.c (consume_stream): New.
348 (get_target_profiles_for_merge): Likewise.
349 (gcov_profile_merge_stream): Likewise.
350
3512022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
352
353 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
354
3552022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
356
357 * libgcov-util.c (read_gcda_file): Do not open file.
358 (ftw_read_file): Open file here.
359
3602022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
361
362 * libgcov-util.c (read_gcda_file): Prepend new info object to global
363 list.
364 (ftw_read_file): Remove list append here.
365
3662022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
367
368 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
369 (ftw_read_file): Duplicate filename for read_gcda_file().
370
3712022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
372
373 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
374 (__gcov_filename_to_gcfn): Declare and document.
375 * libgcov-driver.c (dump_string): New.
376 (__gcov_filename_to_gcfn): Likewise.
377 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
378
3792022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
380
381 * libgcov.h (gcov_seek): Remove define and declaration.
382
3832022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
384
385 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
386 parameter. Pass mode to gcov_open() calls.
387 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
388 gcov_exit_open_gcda_file() call.
389 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
390 calls.
391 (__gcov_dump_one): Open file for reading and writing.
392
3932022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
394
395 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
396 reading and writing.
397 * libgcov-util.c (read_gcda_file): Open file for reading.
398 * libgcov.h (gcov_open): Delete declaration.
399
4002022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
401
402 * libgcov-util.c (gcov_profile_merge): Return the list of merged
403 profiles. Accept empty target and source profile lists.
404
405eda0d
GA
4052022-04-08 Sergei Trofimovich <siarheit@google.com>
406
407 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
408
9f774626
GA
4092022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
410 Lulu Cheng <chenglulu@loongson.cn>
411
412 * configure: Regenerate file.
413
4142022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
415 Lulu Cheng <chenglulu@loongson.cn>
416
417 * config/loongarch/crtfastmath.c: New file.
418 * config/loongarch/linux-unwind.h: Like wise.
419 * config/loongarch/sfp-machine.h: Like wise.
420 * config/loongarch/t-crtstuff: Like wise.
421 * config/loongarch/t-loongarch: Like wise.
422 * config/loongarch/t-loongarch64: Like wise.
423 * config/loongarch/t-softfp-tf: Like wise.
424 * config.host: Add LoongArch tuples.
425 * configure.ac: Add LoongArch support.
426
d7f00da1
GA
4272022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
428
429 PR libgcc/86224
430 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
431 for __mulsi3.
432 (__udivsi3_internal, __divsi3_internal): Similarly.
433 (__umodsi3, __modsi3): Use the internal function names.
434
8cc4f9cd
GA
4352022-03-09 Tobias Burnus <tobias@codesourcery.com>
436
437 PR target/102215
438 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
439 a line up to non-arg-dependent value first.
440 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
441 __atomic_compare_exchange_{1,2}.
442
8d96e14c
GA
4432022-03-04 Iain Sandoe <iain@sandoe.co.uk>
444
445 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
446 * config/t-darwin-ehs: Add dependency on unwind.h.
447
756a6185
GA
4482022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
449
450 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
451 with 0 instead of NULL.
452
4532022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
454
455 PR target/104656
456 * configure.ac: --disable-gcov if targetting bpf-*.
457 * configure: Regenerate.
458
e0b8716f
GA
4592022-01-25 Florian Weimer <fweimer@redhat.com>
460
461 PR libgcc/104207
462 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
463
fc829782
GA
4642022-01-17 Martin Liska <mliska@suse.cz>
465
466 * libgcov-driver.c: Rename .c names to .cc.
467
9248ee41
GA
4682022-01-15 David <gccbugzilla@limegreensocks.com>
469
470 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
471 Remove inlined version, Windows 95 is no longer relevant.
472 * config/i386/gthr-win32.h
473 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
474
617db51d
GA
4752022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
476
477 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
478 DWARF_ALT_FRAME_RETURN_COLUMN macro.
479
7d11b64b
GA
4802022-01-04 Florian Weimer <fweimer@redhat.com>
481
482 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
483 if available.
484
5da23a13
GA
4852022-01-02 John David Anglin <danglin@gcc.gnu.org>
486
487 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
488 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
489 return is not equal _ASM_EFAULT.
490 (__kernel_cmpxchg2): Likewise.
491
2554e2da
GA
4922021-12-17 Iain Sandoe <iain@sandoe.co.uk>
493
494 * config.host: Add shim declaration header to powerpc*-darwin builds.
495 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
496 file.
497 * config/t-darwin-ehs: Add dependencies to the shared unwinder
498 objects.
499 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
500 the shared EH lib. Add all-multi to the dependencies for the
501 libgcc_s.1.dylib redirections.
502
7f1239cb
GA
5032021-12-13 Olivier Hainque <hainque@adacore.com>
504
505 * config.host (powerpc*-*-vxworks7*): Remove
506 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
507
5082021-12-13 Olivier Hainque <hainque@adacore.com>
509
510 * config.host (*vxworks*): Remove special case for
511 arm on the use of vxcrtstuff.
512
5132021-12-13 Fred Konrad <konrad@adacore.com>
514 Olivier Hainque <hainque@adacore.com>
515
516 * config/t-vxcrtstuffS: New Makefile fragment.
517 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
518 functions for INITFINI_ARRAY support in shared libs and guard
519 the definition of eh table registration functions on conditions
520 indicating they are needed.
521
5222021-12-13 Olivier Hainque <hainque@adacore.com>
523
524 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
525 ahead of the other files in tmake_files.
526 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
527 overriding it.
528
5292021-12-13 Olivier Hainque <hainque@adacore.com>
530
531 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
532 both VxWorks7 and earlier.
533 * config/t-vxworks7: Remove.
534 * config.host: Remove special case for vxworks7.
535
e8decbe7
GA
5362021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
537
538 * config/vxcrtstuff.c: Make constructor and destructor
539 functions static when possible.
540
5412021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
542
543 * config/vxcrtstuff.c: Remove constructor/destructor
544 declarations.
545
0bceef16
GA
5462021-12-10 Iain Sandoe <iain@sandoe.co.uk>
547
548 * config/t-darwin: Add libgcc_tm.h to the dependencies
549 for darwin10-unwind-find-enc-func.
550
5512021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
552
553 * config/rs6000/t-vxworks: New file.
554 * config.host (powerpc*-*-vxworks*): Use it instead of
555 t-ppccomm.
556
4b4839e3
GA
5572021-12-09 Fred Konrad <konrad@adacore.com>
558
559 * config.host (powerpc*-wrs-vxworks7*): Fix path to
560 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
561
5622021-12-09 Olivier Hainque <hainque@adacore.com>
563 Rasmus Villemoes <rv@rasmusvillemoes.dk>
564
565 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
566 $(LIBGCC2_INCLUDES).
567 * config/t-vxworks7: Likewise.
568
641ff219
GA
5692021-12-08 Iain Sandoe <iain@sandoe.co.uk>
570
571 * config.host (*-*-darwin*): Add logic to build a shared
572 unwinder library for Darwin8-10.
573 * config/i386/t-darwin: Build legacy libgcc_s.1.
574 * config/rs6000/t-darwin: Likewise.
575 * config/t-darwin: Reorganise the EH fragments to place
576 them for inclusion in a shared EH lib.
577 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
578 the supporting pieces (all FAT libs).
579 * config/t-darwin-noeh: Removed.
580 * config/darwin-unwind.ver: New file.
581 * config/rs6000/t-darwin-ehs: New file.
582 * config/t-darwin-ehs: New file.
583
3a580f96
GA
5842021-12-06 Nelson Chu <nelson.chu@sifive.com>
585
586 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
587 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
588 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
589 HIDDEN_DEF.
590
c177e806
GA
5912021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
592
593 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
594 ssize_t and vfork after including auto-host.h.
595
87cd82c8
GA
5962021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
597
598 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
599 crtend.o to extra_parts.
600
d62c8c74
GA
6012021-11-27 John David Anglin <danglin@gcc.gnu.org>
602
603 * config/pa/t-dimode (lib2difuncs): Fix typo.
604
091ccc06
GA
6052021-11-25 Florian Weimer <fweimer@redhat.com>
606
607 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
608 Remove func, ret.
609 (find_fde_tail): New function. Split from
610 _Unwind_IteratePhdrCallback. Move the result initialization
611 from _Unwind_Find_FDE.
612 (_Unwind_Find_FDE): Updated to call find_fde_tail.
613
06be28f6
GA
6142021-11-22 Florian Weimer <fweimer@redhat.com>
615
616 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
617 (struct unw_eh_callback_data): Make dbase member conditional.
618 (unw_eh_callback_data_dbase): New function.
619 (base_from_cb_data): Simplify for the non-dbase case.
620 (_Unwind_IteratePhdrCallback): Adjust.
621 (_Unwind_Find_FDE): Likewise.
622
6232021-11-22 Florian Weimer <fweimer@redhat.com>
624
625 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
626 tbase member.
627 (base_from_cb_data): Adjust.
628 (_Unwind_IteratePhdrCallback): Likewise.
629 (_Unwind_Find_FDE): Likewise.
630
9c077398
GA
6312021-11-19 Iain Sandoe <iain@sandoe.co.uk>
632
633 * config.host: Add weak emutls crt to the extra_parts.
634 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
635 workaround.
636 * config/libgcc-libsystem.ver: Add exclude list for the system-
637 provided unwinder.
638 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
639 * config/i386/libgcc-darwin.10.4.ver: Removed.
640 * config/i386/libgcc-darwin.10.5.ver: Removed.
641 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
642 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
643 * config/t-darwin-noeh: New file.
644
6452021-11-19 Iain Sandoe <iain@sandoe.co.uk>
646
647 * config/t-darwin: Build weak-defined emutls objects.
648 * emutls.c (__emutls_get_address): Add optional attributes.
649 (__emutls_register_common): Likewise.
650 (EMUTLS_ATTR): New.
651
b39265d4
GA
6522021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
653
654 PR libgcc/103044
655 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
656 called with a null argument or at the end of the backtrace and return.
657 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
658
8d36a0d2
GA
6592021-11-10 Jakub Jelinek <jakub@redhat.com>
660
661 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
662 formatting fix.
663
851dff04
GA
6642021-11-05 Iain Sandoe <iain@sandoe.co.uk>
665
666 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
667 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
668
6692021-11-05 John David Anglin <danglin@gcc.gnu.org>
670
671 PR libgomp/96661
672 * config.host (hppa*64*-*-linux*): Revise tmake_file.
673 (hppa*64*-*-hpux11*): Likewise.
674 * config/pa/sfp-exceptions.c: New.
675 * config/pa/sfp-machine.h: New.
676 * config/pa/t-dimode: New.
677 * config/pa/t-softfp-sfdftf: New.
678
04a2cf3f
GA
6792021-10-27 John David Anglin <danglin@gcc.gnu.org>
680
681 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
682 tmake_file.
683 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
684 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
685 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
686 * config/pa/t-linux64 (LIB1ASMSRC): New define.
687 (LIB1ASMFUNCS): Revise.
688 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
689
c2bd5d8a
GA
6902021-10-22 Stafford Horne <shorne@gmail.com>
691
692 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
693 Change to 0.
694
5d5885c9
GA
6952021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
696
697 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
698 outside of get_regs() in order to use it in another function, this
699 is done twice: for __powerpc64__ and for !__powerpc64__.
700 (struct trace_arg): New struct.
701 (struct layout): New struct.
702 (ppc_backchain_fallback): New function.
703 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
704 state and call MD_BACKCHAIN_FALLBACK.
705
9eb28a0f
GA
7062021-10-13 Martin Liska <mliska@suse.cz>
707
708 PR gcov-profile/90364
709 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
710 checksums.
711 (write_one_data): Write also checksum.
712 * libgcov-util.c (read_gcda_file): Read also checksum field.
713 * libgcov.h (struct gcov_info): Add new field.
714
ce6eec39
GA
7152021-10-08 Ian Lance Taylor <iant@golang.org>
716
717 * config/i386/morestack.S: Use .init_array for constructor if
718 available.
719 * config/rs6000/morestack.S: Likewise.
720 * config/s390/morestack.S: Likewise.
721
154fd089
GA
7222021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
723
724 PR target/101104
725 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
726 Use more correct values for native IBM 128-bit.
727
fd133479
GA
7282021-09-28 Iain Sandoe <iain@sandoe.co.uk>
729
730 * config/i386/libgcc-darwin.ver: Add Symbols for
731 __cpu_model, __cpu_indicator_init.
732
e4777439
GA
7332021-09-22 Iain Sandoe <iain@sandoe.co.uk>
734
735 * config/i386/sfp-machine.h: Guard Mach-O-specific code
736 using __APPLE__.
737
34fac9ef
GA
7382021-09-19 Iain Sandoe <iain@sandoe.co.uk>
739
740 * config/t-slibgcc-darwin: Delete unused code.
741
7422021-09-19 Iain Sandoe <iain@sandoe.co.uk>
743
744 * config/i386/t-darwin: Add in a vers file for X86-specific
745 symbols.
746 * config/t-darwin: Add the generic symbol maps here...
747 * config/t-slibgcc-darwin: ... removing from here.
748 * config/i386/libgcc-darwin.ver: New file.
749
7502021-09-19 Iain Sandoe <iain@sandoe.co.uk>
751
752 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
753 and __mulhc3.
754
7552021-09-19 Iain Sandoe <iain@sandoe.co.uk>
756
757 * config.host: Use convenience library for Darwin10
758 unwinder shim.
759 * config/t-darwin: Build Darwin10 unwinder shim as a
760 convenience library.
761
07985c47
GA
7622021-09-13 Andrew Pinski <apinski@marvell.com>
763
764 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
765 * config/m32r/libgcc-glibc.ver: Removed.
766 * config/m32r/t-linux: Removed.
767
b6db7cd4
GA
7682021-09-08 liuhongt <hongtao.liu@intel.com>
769
770 * config/i386/t-softfp: Compile __{mul,div}hc3 into
771 libgcc_s.so.1.
772
7732021-09-08 Jakub Jelinek <jakub@redhat.com>
774 Iain Sandoe <iain@sandoe.co.uk>
775
776 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
777 and export *hf* and *hc* functions at GCC_12.0.0.
778
9f99555f
GA
7792021-09-06 liuhongt <hongtao.liu@intel.com>
780
781 * Makefile.in: Adjust to support specific CFLAGS for each
782 libgcc source file.
783 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
784 related libgcc source files.
785 * config/i386/t-softfp: Ditto.
786 * config/i386/_divhc3.c: New file.
787 * config/i386/_mulhc3.c: New file.
788
7b739540
GA
7892021-09-03 Iain Sandoe <iain@sandoe.co.uk>
790
791 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
792 alias_DFtype, alias_TFtype): New.
793 (ALIAS_SELECTOR): New.
794 (strong_alias): Use __typeof and a _Generic selector to
795 provide the type to the synthesized function.
796
9f7c2bad
GA
7972021-09-02 liuhongt <hongtao.liu@intel.com>
798
799 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
800 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
801 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
802 * config/i386/t-softfp: Add hf soft-fp.
803 * config.host: Add i386/64/t-softfp.
804 * config/i386/64/t-softfp: New file.
805
8062021-09-02 liuhongt <hongtao.liu@intel.com>
807
808 * soft-fp/eqhf2.c: New file.
809 * soft-fp/extendhfdf2.c: New file.
810 * soft-fp/extendhfsf2.c: New file.
811 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
812 * soft-fp/truncdfhf2.c: New file
813 * soft-fp/truncsfhf2.c: New file
814
e11c6046
GA
8152021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
816
817 * unwind-arm-common.inc (abort): Remove.
818
6d51ee43
GA
8192021-08-31 Richard Sandiford <richard.sandiford@arm.com>
820
821 * config/aarch64/value-unwind.h: Add missing runtime exception
822 paragraph.
823 * config/frv/frv-abi.h: Likewise.
824 * config/i386/value-unwind.h: Likewise.
825 * config/pa/pa64-hpux-lib.h: Likewise.
826
ccc19145
GA
8272021-08-26 David Edelsohn <dje.gcc@gmail.com>
828
829 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
830 __gcc_qadd.
831 (__gcc_qadd): Call ldouble_qadd_internal.
832 (__gcc_qsub): Call ldouble_qadd_internal with second long double
833 argument negated.
834
8352021-08-26 Jonathan Yong <10walls@gmail.com>
836
837 * config/i386/cygming-crtend.c: Fix register_frame_ctor
838 and register_frame_dtor warnings.
839
05ace294
GA
8402021-08-24 Richard Earnshaw <rearnsha@arm.com>
841
842 PR target/102035
843 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
844 Add vlldm erratum work-around.
845
4be4fa4e
GA
8462021-08-21 John David Anglin <danglin@gcc.gnu.org>
847
848 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
849
9d1d9fc8
GA
8502021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
851
852 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
853 (gcov_type_unsigned): Likewise.
854
7dd8f198
GA
8552021-08-14 Stafford Horne <shorne@gmail.com>
856
857 PR target/99783
858 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
859 * config/or1k/t-crtstuff: New file.
860
f92f4778
GA
8612021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
862
863 * libgcov-driver.c (#include <stdint.h>): Remove.
864 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
865
8662021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
867
868 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
869 * gcov.h (gcov_info): Declare.
870 (__gcov_info_to_gdca): Likewise.
871 * libgcov.h (gcov_write_counter): Remove.
872 (gcov_write_tag_length): Likewise.
873 * libgcov-driver.c (#include <stdint.h>): New.
874 (#include <string.h>): Remove.
875 (NEED_L_GCOV): Conditionally define.
876 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
877 (are_all_counters_zero): New.
878 (gcov_dump_handler): Likewise.
879 (gcov_allocate_handler): Likewise.
880 (dump_unsigned): Likewise.
881 (dump_counter): Likewise.
882 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
883 Use dump_unsigned() and dump_counter().
884 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
885 dump_unsigned(), dump_counter(), and are_all_counters_zero().
886 (__gcov_info_to_gcda): New.
887
8ebf4fb5
GA
8882021-08-05 Jakub Jelinek <jakub@redhat.com>
889
890 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
891 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
892 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
893 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
894
2697f832
GA
8952021-08-04 Jakub Jelinek <jakub@redhat.com>
896
897 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
898
d97d71a1
GA
8992021-07-15 Alan Modra <amodra@gmail.com>
900
901 * config/rs6000/morestack.S (R2_SAVE): Define.
902 (__morestack): Save and restore r2. Set up r2 for called
903 functions.
904
bea7c16a
GA
9052021-07-01 H.J. Lu <hjl.tools@gmail.com>
906
907 * soft-fp/extendhfxf2.c: New file.
908 * soft-fp/truncxfhf2.c: Likewise.
909
6bc18203
GA
9102021-06-29 Julian Brown <julian@codesourcery.com>
911
912 * config/gcn/lib2-bswapti2.c: New file.
913 * config/gcn/lib2-divmod-di.c: New file.
914 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
915 typedefs.
916 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
917 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
918 lib2-bswapti2.c.
919
9202021-06-29 Julian Brown <julian@codesourcery.com>
921
922 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
923 return types to USItype.
924 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
925
fcf617f0
GA
9262021-06-23 Kewen Lin <linkw@linux.ibm.com>
927
928 * configure: Regenerate.
929 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
930 typos among the name, CFLAGS and the test.
931 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
932 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
933 Remove.
934 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
935 macro FLOAT128_HW_INSNS_ISA3_1.
936 (FP128_3_1_CFLAGS_HW): Fix option typo.
937 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
938 FLOAT128_HW_INSNS_ISA3_1.
939 (__floattikf_resolve): Likewise.
940 (__floatuntikf_resolve): Likewise.
941 (__fixkfti_resolve): Likewise.
942 (__fixunskfti_resolve): Likewise.
943 (__floattikf): Likewise.
944 (__floatuntikf): Likewise.
945 (__fixkfti): Likewise.
946 (__fixunskfti): Likewise.
947
f16f65f8
GA
9482021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
949
950 PR target/99939
951 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
952 macro.
953 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
954 on passing -mcmse option.
955
43c35d0d
GA
9562021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
957
958 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
959 _ARCH_PPC64 .
960
4f625f47
GA
9612021-06-09 Carl Love <cel@us.ibm.com>
962
963 * config.host: Add if test and set for
964 libgcc_cv_powerpc_3_1_float128_hw.
965 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
966 Change calls of __fixkfti to __fixkfti_sw.
967 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
968 Change calls of __fixunskfti to __fixunskfti_sw.
969 * config/rs6000/float128-p10.c (__floattikf_hw,
970 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
971 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
972 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
973 __fixunskfti_resolve): Add resolve functions.
974 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
975 * config/rs6000/float128-sed (floattitf, __floatuntitf,
976 __fixtfti, __fixunstfti): Add editor commands to change names.
977 * config/rs6000/float128-sed-hw (__floattitf,
978 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
979 change names.
980 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
981 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
982 * config/rs6000/quad-float128.h (__floattikf_sw,
983 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
984 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
985 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
986 * config/rs6000/t-float128 (floattikf, floatuntikf,
987 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
988 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
989 file names to fp128_ppc_funcs.
990 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
991 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
992 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
993 * config/rs6000/t-float128-p10-hw: New file.
994 * configure: Update script for isa 3.1 128-bit float support.
995 * configure.ac: Add check for 128-bit float hardware support.
996 * config/rs6000/fixkfti-sw.c: New file.
997 * config/rs6000/fixunskfti-sw.c: New file.
998 * config/rs6000/floattikf-sw.c: New file.
999 * config/rs6000/floatuntikf-sw.c: New file.
1000
f9af11c7
GA
10012021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1002
1003 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1004
4d0385df 10052021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
1006
1007 * libgcov-driver.c: Fix GNU coding style.
1008
aa891c56
GA
10092021-05-10 Martin Liska <mliska@suse.cz>
1010
1011 * libgcov-driver.c (gcov_version): Use different name that does
1012 not clash with newly introduced macro.
1013
3c8e539d
GA
10142021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1015
1016 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1017 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1018 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1019
e4ff4ffb
GA
10202021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1021
1022 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1023 Define.
1024 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1025 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1026 Define.
1027 (__divkc3): Improve complex divide.
1028
05ec629f
GA
10292021-04-23 Michael Meissner <meissner@linux.ibm.com>
1030
1031 PR target/98952
1032 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1033 trampoline size comparison in 32-bit by reversing test and
1034 combining load immediate with compare.
1035 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1036 in 32-bit by reversing test and combining load immediate with
1037 compare.
1038
b1da9916
GA
10392021-04-05 Florian Weimer <fweimer@redhat.com>
1040 Michael Meissner <meissner@linux.ibm.com>
1041
1042 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1043 point functions for $(decimal_float) only.
1044
c0756c4e
GA
10452021-04-03 Jakub Jelinek <jakub@redhat.com>
1046
1047 PR target/97653
1048 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1049 $(objext) instead of $(object). Use _floatunditf instead of
1050 _floatunsditf. Add tf <-> ti conversion objects.
1051 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1052
65374af2
GA
10532021-03-29 Michael Meissner <meissner@linux.ibm.com>
1054
1055 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1056 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1057 (fp128_decstr_objs): Delete.
1058 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1059 _Float128 to a Decimal type. Call __strtoieee128 to do
1060 conversions from a Decimal type to _Float128.
1061 * config/rs6000/_sprintfkf.c: Delete file.
1062 * config/rs6000/_sprintfkf.h: Delete file.
1063 * config/rs6000/_strtokf.c: Delete file.
1064 * config/rs6000/_strtokf.h: Delete file.
1065
bf1f3168
GA
10662021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1067
1068 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1069 to __BYTE_ORDER__.
1070
0ad6a2e2
GA
10712021-03-06 Jakub Jelinek <jakub@redhat.com>
1072
1073 PR gcov-profile/99406
1074 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1075 defined, define these macros if not defined already.
1076
67f10d28
GA
10772021-03-04 Martin Liska <mliska@suse.cz>
1078
1079 PR gcov-profile/99105
1080 * libgcov-driver.c (write_top_counters): Rename to ...
1081 (write_topn_counters): ... this.
1082 (write_one_data): Pre-allocate buffer for number of items
1083 in the corresponding linked lists.
1084 * libgcov.h (malloc_mmap): New function.
1085 (allocate_gcov_kvp): Use it.
1086
10872021-03-04 Martin Liska <mliska@suse.cz>
1088
1089 PR gcov-profile/99385
1090 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1091
f3641ac7
GA
10922021-03-03 Martin Liska <mliska@suse.cz>
1093
1094 PR gcov-profile/97461
1095 * config.in: Regenerate.
1096 * configure: Likewise.
1097 * configure.ac: Check sys/mman.h header file
1098 * libgcov-driver.c (struct gcov_kvp): Remove static
1099 pre-allocated pool and use a dynamic one.
1100 * libgcov.h (MMAP_CHUNK_SIZE): New.
1101 (gcov_counter_add): Use mmap to allocate pool for struct
1102 gcov_kvp.
1103
d97a92dc
GA
11042021-03-02 Michael Meissner <meissner@linux.ibm.com>
1105
1106 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1107 the function.
1108 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1109
4028d01a
GA
11102021-02-24 Jakub Jelinek <jakub@redhat.com>
1111
1112 PR libgcc/99236
1113 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1114 negation of m in unsigned type.
1115
11162021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1117 Hau Hsu <hsuhau617@gmail.com>
1118
1119 PR target/99157
1120 * config/arm/t-arm: Fix cmse support detection.
1121
2f5765cf
GA
11222021-02-22 Michael Meissner <meissner@linux.ibm.com>
1123
1124 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1125
11262021-02-22 Michael Meissner <meissner@linux.ibm.com>
1127
1128 * config/rs6000/_dd_to_kf.c: New file.
1129 * config/rs6000/_kf_to_dd.c: New file.
1130 * config/rs6000/_kf_to_sd.c: New file.
1131 * config/rs6000/_kf_to_td.c: New file.
1132 * config/rs6000/_sd_to_kf.c: New file.
1133 * config/rs6000/_sprintfkf.c: New file.
1134 * config/rs6000/_sprintfkf.h: New file.
1135 * config/rs6000/_strtokf.h: New file.
1136 * config/rs6000/_strtokf.c: New file.
1137 * config/rs6000/_td_to_kf.c: New file.
1138 * config/rs6000/quad-float128.h: Add new declarations.
1139 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1140 (fp128_decstr_funcs): New macro.
1141 (ibm128_dec_funcs): New macro.
1142 (fp128_ppc_funcs): Add the new conversions.
1143 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1144 compiled with -mabi=ieeelongdouble.
1145 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1146 compiled with -mabi=ibmlongdouble.
1147 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1148 compiled with -mabi=ieeelongdouble.
1149 (FP128_CFLAGS_DECIMAL): New macro.
1150 (IBM128_CFLAGS_DECIMAL): New macro.
1151 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1152 (BFP_TO_DFP): Add PowerPC _Float128 support.
1153 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1154 IEEE 128-bit floating point.
1155 (DFP_TO_BFP): Add PowerPC _Float128 support.
1156 (BFP_TO_DFP): Add PowerPC _Float128 support.
1157 (BFP_SPRINTF): New macro.
1158
aa69f0a8
GA
11592021-01-27 Jakub Jelinek <jakub@redhat.com>
1160
1161 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1162 * config/i386/savms64f.h: Likewise.
1163 * config/i386/resms64.h: Likewise.
1164 * config/i386/resms64f.h: Likewise.
1165 * config/i386/resms64x.h: Likewise.
1166 * config/i386/resms64fx.h: Likewise.
1167
e62bb7f0
GA
11682021-01-26 Martin Liska <mliska@suse.cz>
1169
1170 PR gcov-profile/98739
1171 * libgcov.h (gcov_topn_add_value): Do not train when
1172 we have a merged profile with a negative number of total
1173 value.
1174
161e4c08
GA
11752021-01-25 Martin Liska <mliska@suse.cz>
1176
1177 PR gcov-profile/98739
1178 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1179 ends with a dropped counter.
1180 * libgcov.h (gcov_topn_add_value): Add return value.
1181
be0851b8
GA
11822021-01-13 Stafford Horne <shorne@gmail.com>
1183
1184 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1185 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1186 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1187 FP_EX_ALL): New constant macros.
1188 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1189 FP_HANDLE_EXCEPTIONS): New macros.
1190 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1191
11922021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1193
1194 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1195 posix siginfo case to struct handler_args. Detect between legacy
1196 and siginfo from the second parameter, which is a small sigcode in
1197 the legacy case, and a pointer in the siginfo case.
1198
108beb75
GA
11992020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1200
1201 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1202 functions.
1203 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1204 _bswapdi2.
1205
f6e8e279
GA
12062020-12-08 Ian Lance Taylor <iant@golang.org>
1207
1208 * generic-morestack-thread.c (free_segments): Block signals during
1209 thread exit.
1210
b8dd0ef7
GA
12112020-12-03 Michael Meissner <meissner@linux.ibm.com>
1212
1213 PR libgcc/97543
1214 PR libgcc/97643
1215 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1216 (IBM128_SHARED_OBJS): New make variable.
1217 (IBM128_OBJS): New make variable. Set all objects to use the
1218 explicit IBM format, and disable gnu attributes.
1219 (IBM128_CFLAGS): New make variable.
1220 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1221 modules.
1222
12232020-12-03 Alexandre Oliva <oliva@adacore.com>
1224
1225 * config/t-vxworks (LIB2ADD): Drop.
1226 * config/t-vxworks7 (LIB2ADD): Likewise.
1227 * config/vxcache.c: Remove.
1228
94358e47
GA
12292020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1230
1231 * libgcc2.c (bswapsi2): Make constants unsigned.
1232
360258da
GA
12332020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1234
1235 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1236 builtin_add_overflow.
1237 (absvsi2, absvDI2): Likewise.
1238
82e5048e
GA
12392020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1240
1241 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1242 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1243
25bb75f8
GA
12442020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1245
1246 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1247 (if MUL_32): Use mult64_hw for __muldi3.
1248 (if MUL_F5): Use mult64_hw for __muldi3.
1249 * config/msp430/lib2mul.c (__muldi3): New.
1250 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1251
29c5d9ce
GA
12522020-11-17 Alan Modra <amodra@gmail.com>
1253
1254 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1255 (LIB2_SIDITI_CONV_FUNCS): Define.
1256 * config/rs6000/ppc64-fp.c: Delete file.
1257
cba30651
GA
12582020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1259
1260 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1261 hwmult library functions.
1262
bb622641
GA
12632020-11-10 Jeff Law <law@redhat.com>
1264
1265 * libgcc2.c: Fix whitespace issues in most recent change.
1266
12672020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1268
1269 * libgcc2.c (__addvSI3): Use overflow builtins.
1270 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1271 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1272 (__negvsi2, __negvDI2): Likewise.
1273 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1274 generated code.
1275 * libgcc2.h (__ucmpdi2): Adjust prototype.
1276
fd2325ea
GA
12772020-11-03 Pat Bernardi <bernardi@adacore.com>
1278 Olivier Hainque <hainque@adacore.com>
1279
1280 * config.host (aarch64-vxworks7*, tmake_file): Add
1281 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1282
12832020-11-03 Martin Storsjö <martin@martin.st>
1284
1285 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1286 before calling the callback.
1287
88ce3d5f
GA
12882020-10-30 Olivier Hainque <hainque@adacore.com>
1289 Douglas Rupp <rupp@adacore.com>
1290 Pat Bernardi <bernardi@adacore.com>
1291
1292 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1293 to apply to VxWorks 7 as well.
1294
4f0606fe
GA
12952020-10-29 Olivier Hainque <hainque@adacore.com>
1296
1297 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1298 controlling the definition of VX_ENTER_TLS_DTOR and
1299 VX_LEAVE_TLS_DTOR based on a version major check.
1300
13012020-10-29 Olivier Hainque <hainque@adacore.com>
1302
1303 * config/gthr-vxworks-thread.c: Fix name of macro used
1304 to condition the inclusion of an actual implementation.
1305
89bb01e7
GA
13062020-10-27 Martin Liska <mliska@suse.cz>
1307
1308 PR gcov-profile/97461
1309 * libgcov.h (gcov_counter_add): Use first static counters
1310 as it should help to have malloc wrappers set up.
1311
efe71fcc
GA
13122020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1313
1314 * config/gthr-vxworks-thread.c: #include gthr.h before
1315 testing the guard defined there.
1316 * config/gthr-vxworks-cond.c: Likewise.
1317
56ddd5e2
GA
13182020-10-21 Douglas Rupp <rupp@adacore.com>
1319 Olivier Hainque <hainque@adacore.com>
1320
1321 * config.host (powerpc*-wrs-vxworks7*): New case.
1322 * configure.ac: Handle powerpc*-*-vxworks7* as
1323 powerpc*-*-linux* for ppc-fp_type.
1324 * configure: Regenerate.
1325
56e4eee9
GA
13262020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1327
1328 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1329 section on VxWorks >= 6.
1330 * config/gthr-vxworks-thread.c: Condition the entire
1331 implementation on __GTHREAD_CXX0X.
1332
13332020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1334
1335 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1336 section on VxWorks >= 6.
1337 * config/gthr-vxworks-cond.c: Condition the entire
1338 implementation on __GTHREAD_HAS_COND.
1339
13402020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1341
1342 * config/gthr-vxworks.c: #include <taskLib.h>.
1343
13442020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1345
1346 * config/gthr-vxworks.h: Rewrite remaining occurrence
1347 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1348
13492020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1350 Olivier Hainque <hainque@adacore.com>
1351
1352 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1353 except on VxWorks 6.
1354
13552020-10-16 Olivier Hainque <hainque@adacore.com>
1356
1357 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1358
b2698c21
GA
13592020-10-14 Alexandre Oliva <oliva@adacore.com>
1360
1361 * config/gthr-vxworks-thread.c: Include stdlib.h.
1362 (tls_delete_hook): Prototype it.
1363 (__gthread_cond_signal): Return early if no waiters. Consume
1364 signal in case the semaphore got full. Use semInfoGet instead
1365 of kernel-mode-only semInfo.
1366 (__gthread_cond_timedwait): Use semExchange. Always take the
1367 mutex again before returning.
1368 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1369
13702020-10-14 Olivier Hainque <hainque@adacore.com>
1371
1372 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1373 $(MULTISUBDIR) to the -I path for fixed headers, as we
1374 arrange to have different sets of such headers for different
1375 multilibs when they are activated.
1376 * config/t-vxworks7: Likewise.
1377
13782020-10-14 Olivier Hainque <hainque@adacore.com>
1379
1380 * config/t-vxworks: Add include-fixed to include search
1381 paths for libgcc on VxWorks.
1382 * config/t-vxworks7: Likewise.
1383
c74a0e82
GA
13842020-10-09 H.J. Lu <hjl.tools@gmail.com>
1385
1386 PR target/97148
1387 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1388 instead of <cetintrin.h>.
1389
6c2675fa
GA
13902020-10-01 Alan Modra <amodra@gmail.com>
1391
1392 * config/rs6000/morestack.S,
1393 * config/rs6000/tramp.S: Support __PCREL__ code.
1394
13952020-10-01 Alan Modra <amodra@gmail.com>
1396
1397 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1398
93bca37c
GA
13992020-09-29 Maciej W. Rozycki <macro@wdc.com>
1400
1401 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1402 variable.
1403
e84761c6
GA
14042020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1405
1406 * config/aarch64/libgcc-softfp.ver: New file.
1407 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1408
4383c595
GA
14092020-09-27 Clement Chigot <clement.chigot@atos.net>
1410
1411 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1412
521d2711
GA
14132020-09-22 Sergei Trofimovich <siarheit@google.com>
1414
1415 PR gcov-profile/96913
1416 * libgcov-driver.c (write_one_data): Avoid function pointer
1417 comparison in TOP streaming decision.
1418
2aad20c0
GA
14192020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1420 Christophe Lyon <christophe.lyon@linaro.org>
1421
1422 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1423 qualifier.
1424 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1425 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1426 missing prototypes.
1427
14282020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1429
1430 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1431 unused variable warning.
1432
ecde1b0a
GA
14332020-09-16 Jojo R <jiejie_rong@c-sky.com>
1434
1435 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1436
80f86e78
GA
14372020-09-09 Tom de Vries <tdevries@suse.de>
1438
1439 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1440 Wbuiltin-declaration-mismatch.
1441
57ea0894
GA
14422020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1443
1444 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1445 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1446 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1447
b3cb5606
GA
14482020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1449
1450 * config/nvptx/atomic.c: New.
1451 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1452
6a1ad710
GA
14532020-08-03 Ian Lance Taylor <iant@golang.org>
1454
1455 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1456
14572020-08-03 Jakub Jelinek <jakub@redhat.com>
1458
1459 PR target/96402
1460 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1461 of x(tmp0), x(tmp1) in STXP arguments.
1462
48cc2e46
GA
14632020-07-31 Maciej W. Rozycki <macro@wdc.com>
1464
1465 * config/riscv/save-restore.S [__riscv_xlen == 64]
1466 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1467 (__riscv_save_2): Replace negative immediates used for the final
1468 stack pointer adjustment with positive ones, right-shifted by 4.
1469
14702020-07-31 Martin Liska <mliska@suse.cz>
1471
1472 * libgcov-driver.c: Add __gcov_kvp_pool
1473 and __gcov_kvp_pool_index variables.
1474 * libgcov.h (allocate_gcov_kvp): New.
1475 (gcov_topn_add_value): Use it.
1476
53256ee3
GA
14772020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1478
1479 * config/aarch64/lse.S: Add PAC property note.
1480
9bb403dc
GA
14812020-07-23 Martin Liska <mliska@suse.cz>
1482
1483 PR gcov-profile/96035
1484 * libgcov-driver-system.c: Create gcov folders with 0777
1485 so that it respects a system umask.
1486
8ca07a30
GA
14872020-07-14 David Edelsohn <dje.gcc@gmail.com>
1488
1489 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1490
ea69fcf9
GA
14912020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1492
1493 PR target/94891
1494 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1495 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1496 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1497 (MD_DEMANGLE_RETURN_ADDR): This.
1498 (aarch64_post_extract_frame_addr): Rename to ...
1499 (aarch64_demangle_return_addr): This.
1500 (aarch64_post_frob_eh_handler_addr): Remove.
1501 * unwind-dw2.c (uw_update_context): Demangle return address.
1502 (uw_frob_return_addr): Remove.
1503
3f8ca9cb
GA
15042020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1505
1506 PR target/96001
1507 * config/aarch64/lse.S: Add BTI marking and related definitions,
1508 and add BTI c to function entries.
1509
15102020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1511
1512 * config/aarch64/lse.S: Add stack note.
1513
b5f24739
GA
15142020-07-02 Martin Liska <mliska@suse.cz>
1515
1516 PR gcov-profile/95348
1517 * libgcov-driver.c (merge_one_data): Merge only profiles
1518 that are not of non-zero type.
1519 (write_one_data): Write counters only if there's one non-zero
1520 value.
1521 * libgcov-util.c (tag_function): Change signature from unsigned
1522 to int.
1523 (tag_blocks): Likewise.
1524 (tag_arcs): Likewise.
1525 (tag_counters): Likewise.
1526 (tag_summary): Likewise.
1527 (tag_lines): Read only if COUNTERS is non-zero.
1528 (read_gcda_file): Handle negative length for COUNTERS type.
1529
d61ffe12
GA
15302020-06-25 Martin Liska <mliska@suse.cz>
1531
1532 * libgcov-driver.c (merge_summary): Remove function as its name
1533 is misleading and doing something different.
1534 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1535 in gcov-tool.
1536 * libgcov-util.c (curr_object_summary): Remove.
1537 (read_gcda_file): Remove unused curr_object_summary.
1538 (gcov_merge): Merge summaries.
1539 * libgcov.h: Add summary argument for gcov_info struct.
1540
2e546c26
GA
15412020-06-24 H.J. Lu <hjl.tools@gmail.com>
1542
1543 PR target/95259
1544 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1545 "common/config/i386/i386-cpuinfo.h" and
1546 "common/config/i386/cpuinfo.h".
1547 (__cpu_features2): Changed to array.
1548 (get_amd_cpu): Removed.
1549 (get_intel_cpu): Likewise.
1550 (get_available_features): Likewise.
1551 (__cpu_indicator_init): Call cpu_indicator_init.
1552 * config/i386/cpuinfo.h: Removed.
1553
4543acc8
GA
15542020-06-23 David Edelsohn <dje.gcc@gmail.com>
1555
1556 * Makefile.in: Remove uses of empty.mk. Use -include.
1557 * config/avr/t-avr: Use -include.
1558 * empty.mk: Delete.
1559
f86e11a2
GA
15602020-06-21 David Edelsohn <dje.gcc@gmail.com>
1561
1562 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1563 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1564 and 64 bit with -maix64.
1565 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1566 Build and install AIX-style FAT libraries.
1567
aff95ee7
GA
15682020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1569
1570 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1571 'i386/gnu-unwind.h'
1572 * config/i386/gnu-unwind.h: New file.
1573
15742020-06-17 Martin Liska <mliska@suse.cz>
1575
1576 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1577 (merge_wrapper): Add both counts and use them properly.
1578 (topn_to_memory_representation): New function.
1579 (gcov_merge): Covert on disk representation to in memory
1580 representation.
1581 * libgcov.h: Remove const operator.
1582
6fb94d67
GA
15832020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1584
1585 * configure: Regenerate.
1586 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1587 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1588
b952c2cf
GA
15892020-06-09 Martin Liska <mliska@suse.cz>
1590
1591 PR gcov-profile/95494
1592 * libgcov-driver.c (write_top_counters): Cast first to
1593 intptr_t as sizeof(*) != sizeof(gcov_type).
1594 * libgcov.h (gcov_counter_set_if_null): Remove.
1595 (gcov_topn_add_value): Cast first to intptr_t and update
1596 linked list directly.
1597
15982020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1599
1600 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1601 with uw_install_context_1.
1602
3add3425
GA
16032020-06-04 Andreas Schwab <schwab@suse.de>
1604
1605 PR target/59230
1606 PR libfortran/59227
1607 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1608 soft-fp/divtf3.c.
1609 (LIB2ADD): Add config/ia64/divtf3.c.
1610 * config/ia64/divtf3.c: New file.
1611
9a5b7438
GA
16122020-06-03 Martin Liska <mliska@suse.cz>
1613
1614 PR gcov-profile/95480
1615 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1616 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1617 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1618 (gcov_counter_set_if_null): Likewise.
1619
a9312a79
GA
16202020-06-02 Jim Wilson <jimw@sifive.com>
1621
1622 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1623 to bgtz.
1624
16252020-06-02 Martin Liska <mliska@suse.cz>
1626
1627 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1628 of xmalloc.
1629
16302020-06-02 Martin Liska <mliska@suse.cz>
1631
1632 * libgcov-driver.c (prune_topn_counter): Remove.
1633 (prune_counters): Likewise.
1634 (merge_one_data): Special case TOP N counters
1635 as they have variable length.
1636 (write_top_counters): New.
1637 (write_one_data): Special case TOP N.
1638 (dump_one_gcov): Do not prune TOP N counters.
1639 * libgcov-merge.c (merge_topn_values_set): Remove.
1640 (__gcov_merge_topn): Use gcov_topn_add_value.
1641 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1642 Likewise here.
1643 * libgcov.h (gcov_counter_add): New.
1644 (gcov_counter_set_if_null): Likewise.
1645 (gcov_topn_add_value): New.
1646
4a9aa9de
GA
16472020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1648
1649 * config/i386/sfp-exceptions.c (struct fenv):
1650 Add __attribute__ ((gcc_struct)).
1651
885ef72f
GA
16522020-05-29 H.J. Lu <hjl.tools@gmail.com>
1653
1654 PR bootstrap/95413
1655 * configure: Regenerated.
1656
53ffb43a
GA
16572020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1658
1659 PR gcov-profile/95332
1660 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1661 * libgcov.h (gcov_magic): Disable GCC poison.
1662
5855bdfa
L
16632020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1664
1665 PR target/95212
1666 * config/i386/cpuinfo.h (processor_features): Move
1667 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1668
35b98036
L
16692020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1670
1671 PR target/91695
1672 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1673 check.
1674
45395445
L
16752020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1676
1677 PR target/95212
1678 PR target/95220
1679 * config/i386/cpuinfo.c (get_available_features): Fix
1680 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1681 * config/i386/cpuinfo.h (processor_features): Add
1682 FEATURE_AVX512VP2INTERSECT.
1683
4c1a5d8b
L
16842020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1685
1686 PR bootstrap/95147
1687 * configure: Regenerated.
1688
8d286dd1
L
16892020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1690
1691 * configure: Regenerated.
1692
39748a89
HPN
16932020-05-09 Hans-Peter Nilsson <hp@axis.com>
1694
1695 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1696 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1697
d3a1459c
UB
16982020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1699
1700 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1701 (__math_force_eval_div): New define.
1702 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1703 generic division to generate INVALID, DIVZERO and INEXACT
1704 exceptions.
1705
12667785
KT
17062020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1707
1708 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1709 instead of getauxval.
1710 (AT_HWCAP): Define.
1711 (HWCAP_ATOMICS): Define.
1712 Guard detection on __gnu_linux__.
1713
ef836167
MM
17142020-05-05 Michael Meissner <meissner@linux.ibm.com>
1715
1716 * config.host: Delete changes meant for a private branch.
1717 * config/rs6000/t-float128: Likewise.
1718 * configure.ac: Likewise.
1719 * configure: Likewise.
1720
811b7636
ML
17212020-05-05 Martin Liska <mliska@suse.cz>
1722
1723 PR gcov-profile/93623
1724 * Makefile.in: Remove __gcov_flush.
1725 * gcov.h (__gcov_flush): Remove.
1726 * libgcov-interface.c (__gcov_flush): Remove.
1727 (init_mx): Use renamed mutex.
1728 (__gcov_lock): Likewise.
1729 (__gcov_unlock): Likewise.
1730 (__gcov_fork): Likewise.
1731 (__gcov_flush): Remove.
1732
c0532db4
ML
17332020-05-05 Martin Liska <mliska@suse.cz>
1734
1735 PR gcov-profile/93623
1736 * libgcov-interface.c (__gcov_fork): Do not flush
1737 and reset only in child process.
1738 (__gcov_execl): Dump counters only and reset them
1739 only if exec* fails.
1740 (__gcov_execlp): Likewise.
1741 (__gcov_execle): Likewise.
1742 (__gcov_execv): Likewise.
1743 (__gcov_execvp): Likewise.
1744 (__gcov_execve): Likewise.
1745
d39f7dc8
ML
17462020-05-05 Martin Liska <mliska@suse.cz>
1747
1748 PR gcov-profile/93623
1749 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1750 * libgcov-interface.c (ALIAS_void_fn): Remove.
1751 (__gcov_lock): New.
1752 (__gcov_unlock): New.
1753 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1754 (__gcov_reset): Likewise.
1755 (__gcov_dump): Likewise.
1756 * libgcov.h (__gcov_lock): New declaration.
1757 (__gcov_unlock): Likewise.
1758
afb9b710
UB
17592020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1760
1761 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 1762 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
1763 generic division to generate INVALID and DIVZERO exceptions.
1764
66711279
SH
17652020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1766
1767 * config/rs6000/crtresfpr.S: Use .machine ppc.
1768 * config/rs6000/crtresxfpr.S: Likewise.
1769 * config/rs6000/crtsavfpr.S: Likewise.
1770
fb22faf4
SN
17712020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1772
1773 PR target/94514
1774 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1775 Update context->flags accroding to the frame state.
1776
df73e584
UB
17772020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1778
1779 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1780 Remove unneeded assignments to volatile memory.
1781
5b2f76e3
JJ
17822020-04-15 Jakub Jelinek <jakub@redhat.com>
1783
1784 PR target/93053
1785 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1786 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1787 is not defined, use just .arch armv8-a.
1788 (B, M, N, OPN): Define.
1789 (COMMENT): New .macro.
1790 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1791 defined. Otherwise, move the operands right after the glue? and
1792 comment out operands where the macros are used.
1793 * configure: Regenerated.
1794 * config.in: Regenerated.
1795
50c78532
ILT
17962020-04-07 Ian Lance Taylor <iant@golang.org>
1797
1798 PR libgcc/94513
1799 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1800 syscall instead.
1801
458ca332
ILT
18022020-04-04 Ian Lance Taylor <iant@golang.org>
1803
1804 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1805
710d54ed
ILT
18062020-04-03 Ian Lance Taylor <iant@golang.org>
1807
1808 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1809 than mmap/munmap, to avoid hooks.
1810
b749b5ec
JJ
18112020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1812
1813 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1814 (TPFRA_OFFSET): Macros removed.
1815 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1816 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1817 (PG3_SKIPPING_OFFSET): New macros.
1818 (__isPATrange): Use cinfc_fast for the check.
1819 (__isSkipResetAddr): New function.
1820 (s390_fallback_frame_state): Check for skip trace addresses. Use
1821 either ICST_CRET or ICST_SRET to calculate return address
1822 location.
1823 (__tpf_eh_return): Handle skip trace addresses.
1824
a9cd2d78
RE
18252020-03-26 Richard Earnshaw <rearnsha@arm.com>
1826
1827 PR target/94220
1828 * config/arm/lib1funcs.asm (COND): Use a single definition for
1829 unified syntax.
1830 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1831 (aeabi_idivmod): Likewise.
1832 (divsi3_skip_div0_test): Likewise.
1833
f582ca0f
MI
18342020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1835
1836 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1837
068fe0a9
AK
18382020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1839
1840 * config.host: Include the new makefile fragment.
1841 * config/s390/t-tpf: New file.
1842
6b9ce2b4
RE
18432020-03-03 Richard Earnshaw <rearnsha@arm.com>
1844
1845 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1846 syntax.
1847 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1848 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1849 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1850 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1851 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1852 syntax.
1853 (divsi3, modsi3): Likewise.
1854 (clzdi2, ctzsi2): Likewise.
1855 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1856 unified syntax.
1857 (UNWIND_WRAPPER): Likewise.
1858
8dd5d8f3
ML
18592020-03-02 Martin Liska <mliska@suse.cz>
1860
1861 * libgcov-interface.c: Remove duplicate
1862 declaration of __gcov_flush_mx.
1863
ea0b1252
ML
18642020-02-18 Martin Liska <mliska@suse.cz>
1865
1866 PR ipa/92924
1867 * libgcov-merge.c (merge_topn_values_set): Record
1868 when a TOP N counter becomes invalid. When merging
1869 remove a smallest value if the space is needed.
1870
02ce382c
SL
18712020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1872
1873 PR libstdc++/79193
1874 PR libstdc++/88999
1875
1876 * configure: Regenerated.
1877
7214fce3
JL
18782020-02-10 Jeff Law <law@redhat.com>
1879
1880 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1881 sections.
1882 * config/frv/frvend.c: Similarly.
1883
cf0f07ef
L
18842020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1885
1886 PR libgcc/85334
1887 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1888 New.
1889
5602b48b
CL
18902020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1891
1892 PR target/93615
1893 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1894 _Unwind_gnu_Find_got.
1895 * unwind-pe.h: Likewise.
1896
811a475e
JJ
18972020-02-07 Jakub Jelinek <jakub@redhat.com>
1898
1899 PR target/93615
1900 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1901 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1902 trailing :s in asm. Formatting fixes.
1903 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1904
2d33dcfe
SL
19052020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1906
1907 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1908
1909 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1910 * config/nios2-elf-lib.h: New.
1911 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1912 code for finding GOT base for nios2.
1913
3ae37f92
ML
19142020-01-27 Martin Liska <mliska@suse.cz>
1915
1916 PR gcov-profile/93403
1917 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1918 Call __gcov_indirect_call_profiler_body.
1919 (__gcov_indirect_call_profiler_body): New.
1920 (__gcov_indirect_call_profiler_v4_atomic): New.
1921 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1922 New declaration.
1923
2744b8b2
CZ
19242020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1925
1926 * config/arc/crti.S: Add RF16 object attribute.
1927 * config/arc/crtn.S: Likewise.
1928 * config/arc/crttls.S: Likewise.
1929 * config/arc/lib1funcs.S: Likewise.
1930 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1931 * config/arc/lib2funcs.c: New file.
1932 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1933
e8e66971
MR
19342020-01-24 Maciej W. Rozycki <macro@wdc.com>
1935
1936 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1937 * configure.ac: Handle `--with-toolexeclibdir='.
1938 * configure: Regenerate.
1939
54b3d52c
DM
19402020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1941
1942 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1943
a3c1e1f2
DM
19442020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1945
1946 * config/mips/gnustack.h: New file.
1947 * config/mips/crti.S: Include gnustack.h.
1948 * config/mips/crtn.S: Likewise.
1949 * config/mips/mips16.S: Likewise.
1950 * config/mips/vr4120-div.S: Likewise.
1951
e9ee848d
ML
19522020-01-23 Martin Liska <mliska@suse.cz>
1953
1954 * libgcov-driver.c (prune_topn_counter): Remove
1955 check for -1 as we only prune run-time counters
1956 that do not generate an invalid state.
1957
7491c17f
ML
19582020-01-22 Martin Liska <mliska@suse.cz>
1959
1960 PR tree-optimization/92924
1961 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1962 try to find an existing value, then find an empty slot
1963 if not found.
1964
5f32f9cf
ML
19652020-01-22 Martin Liska <mliska@suse.cz>
1966
1967 PR tree-optimization/92924
1968 * libgcov-driver.c (prune_topn_counter): New.
1969 (prune_counters): Likewise.
1970 (dump_one_gcov): Prune a run-time counter.
1971 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1972 For a known value, add GCOV_TOPN_VALUES to value.
1973 Otherwise, decrement all counters by one.
1974
463f6499
HPN
19752020-01-18 Hans-Peter Nilsson <hp@axis.com>
1976
1977 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1978
84479e3a
JDA
19792020-01-18 John David Anglin <danglin@gcc.gnu.org>
1980
1981 PR libgcc/92988
1982 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1983 DEFAULT_USE_CXA_ATEXIT is true.
1984
e953433f 19852020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 1986 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
1987
1988 * config/arm/t-arm: Check return value of gcc rather than lack of
1989 output.
1990
03e87724
GJL
19912020-01-14 Georg-Johann Lay <avr@gjlay.de>
1992
1993 * config/avr/lib1funcs.S (skip): Simplify.
1994
af9bd920
KCY
19952020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1996
1997 * config/gcn/atomic.c: Remove include of stdint.h.
1998 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1999 __UINTPTR_TYPE__.
2000
d6491d15
KCY
20012020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2002
2003 * config/gcn/atomic.c: New.
2004 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2005
f30dd607
GJL
20062020-01-08 Georg-Johann Lay <avr@gjlay.de>
2007
2008 Implement 64-bit double functions.
2009
2010 PR target/92055
2011 * config.host (tmake_file) [target=avr]: Add t-libf7,
2012 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2013 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2014 depending on sizeof (double) or sizeof (long double).
2015 * config/avr/libf7: New folder.
2016
5205a445
OH
20172020-01-05 Olivier Hainque <hainque@adacore.com>
2018
2019 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2020 by IN_LIBGCC2.
2021
8d9254fc
JJ
20222020-01-01 Jakub Jelinek <jakub@redhat.com>
2023
2024 Update copyright years.
2025
abb6c3ee
OH
20262019-12-30 Olivier Hainque <hainque@adacore.com>
2027
2028 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2029 * config/gthr-vxworks-tls.c: Likewise.
2030
d7f5094a
OH
20312019-12-30 Olivier Hainque <hainque@adacore.com>
2032
2033 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2034 standard zero-initializer syntax.
2035
49cfaa2a
OH
20362019-12-30 Olivier Hainque <hainque@adacore.com>
2037
2038 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2039 reference to the internal VX_GET_TLS_DATA interface.
2040
89b9a554
OH
20412019-12-30 Olivier Hainque <hainque@adacore.com>
2042
2043 * config/vxcrtstuff.c: Fix incorrect spelling of
2044 USE_INITFINI_ARRAY in guard.
2045
e8aa9f55
JL
20462019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2047
2048 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2049 Override default "extra_parts" variable.
2050 * configure: Regenerate.
2051 * configure.ac: Disable TM clone registry by default for
2052 msp430-elfbare.
2053
a9046e98
JL
20542019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2055
2056 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2057 "extra_parts".
2058 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2059
34a53788
JL
20602019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2061
2062 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2063 true.
2064
21a098f4
JL
20652019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2066
2067 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2068 defined instead of its value.
2069
ad8b7783
JL
20702019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2071
2072 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2073 if it will have contents.
2074
08d7ff78
GJL
20752019-12-05 Georg-Johann Lay <avr@gjlay.de>
2076
2077 PR target/92055
2078 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2079
3d3a96a2
SN
20802019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2081
34b4d99d 2082 PR libgcc/91737
3d3a96a2
SN
2083 * config.host: Add t-gthr-noweak on *-*-musl*.
2084 * config/t-gthr-noweak: New file.
2085
632b5e3d
JDA
20862019-11-17 John David Anglin <danglin@gcc.gnu.org>
2087
2088 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2089 volatile void *. Remove trap check.
2090 (__kernel_cmpxchg2): Likewise.
2091 (FETCH_AND_OP_2): Adjust operand types.
2092 (OP_AND_FETCH_2): Likewise.
2093 (FETCH_AND_OP_WORD): Likewise.
2094 (OP_AND_FETCH_WORD): Likewise.
2095 (COMPARE_AND_SWAP_2): Likewise.
2096 (__sync_val_compare_and_swap_4): Likewise.
2097 (__sync_bool_compare_and_swap_4): Likewise.
2098 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2099 (__sync_lock_test_and_set_4): Likewise.
2100 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2101 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2102 for release.
2103 (__sync_lock_release_8): Remove.
2104
838fd641
SN
21052019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2106
2107 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2108 of __sigset_t.
2109
27204060
JL
21102019-11-14 Jerome Lambourg <lambourg@adacore.com>
2111 Doug Rupp <rupp@adacore.com>
2112 Olivier Hainque <hainque@adacore.com>
2113
2114 * config.host: Collapse the arm-vxworks entries into
2115 a single arm-wrs-vxworks7* one.
2116 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2117 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2118 kernel modules, to be overriden by libstdc++ when we link with
2119 it. Rely on externally provided __exidx_start/end.
2120
3004f893
DR
21212019-11-14 Doug Rupp <rupp@adacore.com>
2122 Olivier Hainque <hainque@adacore.com>
2123
2124 * config.host: Handle aarch64*-wrs-vxworks7*.
2125
36e5f4d4
OH
21262019-11-12 Olivier Hainque <hainque@adacore.com>
2127
2128 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2129 sources except the cxx0x support to LIB2ADDEH. We don't support
2130 cxx0x on AE/653.
2131 * config/t-vxworksae: New file.
2132 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2133 Makefile fragment files at their expected position in the tmake_file
2134 list, in accordance with what is done for other VxWorks variants.
2135
806dd047
CG
21362019-11-12 Corentin Gay <gay@adacore.com>
2137 Jerome Lambourg <lambourg@adacore.com>
2138 Olivier Hainque <hainque@adacore.com>
2139
2140 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2141 sources to LIB2ADDEH.
2142 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2143 * config/t-vxworks7: Likewise.
2144
2145 * config.host: Append a block at the end of the file to add the
2146 t-gthr files to the tmake_file list for VxWorks after everything
2147 else.
2148
2149 * config/vxlib.c: Rename as gthr-vxworks.c.
2150 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2151
2152 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2153 API and a basic error checking API, both internal. Simplify the
2154 __gthread_once_t type definition and initializers. Add sections
2155 for condition variables support and for the C++0x thread support,
2156 conditioned against Vx653 for the latter.
2157
2158 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2159 implementation, leveraging the TAS internal API.
2160 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2161 API, leveraging the general availability of TLS services in VxWorks7
2162 post SR6xxx.
2163 (__gthread_setspecific, __gthread_setspecific): Use it.
2164 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2165 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2166 support based on VxWorks primitives.
2167 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2168 based on VxWorks primitives.
2169
78e49fb1
JL
21702019-11-06 Jerome Lambourg <lambourg@adacore.com>
2171 Olivier Hainque <hainque@adacore.com>
2172
2173 * config/vxcrtstuff.c: New file.
2174 * config/t-vxcrtstuff: New Makefile fragment.
2175 * config.host: Append t-vxcrtstuff to the tmake_file list
2176 on all VxWorks ports using dwarf for table based EH.
2177
29f3def3
GJL
21782019-11-07 Georg-Johann Lay <avr@gjlay.de>
2179
2180 Support 64-bit double and 64-bit long double configurations.
2181
2182 PR target/92055
2183 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2184 long double is a 32-bit type.
2185 * config/avr/t-avrlibc: Copy double64 and long-double64
2186 multilib(s) from the vanilla one.
2187 * config/avr/t-copy-libgcc: New Makefile snip.
2188
62ec242e
JL
21892019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2190
2191 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2192 the target output object format is not ELF.
2193 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2194
da5c1bbe
OE
21952019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2196
2197 PR libgcc/78804
2198 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2199 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2200 FLOAT_BIT_ORDER_MISMATCH.
2201 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2202
8dc56a22
JW
22032019-11-01 Jim Wilson <jimw@sifive.com>
2204
2205 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2206
91c64455
JL
22072019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2208
2209 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2210 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2211 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2212 Define symbols for 32-bit and f5series hardware multiply
2213 register addresses.
2214 Replace hard-coded register addresses with symbols.
2215 Fix "_mspabi*" typo.
2216 Fix whitespace.
2217 * config/msp430/lib2mul.c: Add comment.
2218
85093ac6
JDA
22192019-10-15 John David Anglin <danglin@gcc.gnu.org>
2220
2221 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2222 unsigned int. Adjust callers.
2223 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2224 unsigned int *. Load relocation offset before function pointer.
2225 Add barrier to ensure ordering.
2226
1aea083d
JDA
22272019-10-12 John David Anglin <danglin@gcc.gnu.org>
2228
2229 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2230 Load PIC register after branch target. Fix white space.
2231 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2232 implementations. Load PIC register after branch target. Don't
2233 clobber function pointer when it points to function descriptor.
2234 Use nullification instead of branch in LINUX implementation.
2235
c49af82c
JDA
22362019-10-03 John David Anglin <danglin@gcc.gnu.org>
2237
2238 * config/pa/fptr.c: Disable -Warray-bounds warning.
2239
88a51d68
RH
22402019-09-25 Richard Henderson <richard.henderson@linaro.org>
2241
9e46fd07
RH
2242 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2243 not the ubuntu modified 2.69.
2244
58d169ba
RH
2245 PR target/91833
2246 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2247 initialization if !HAVE_SYS_AUXV_H.
2248 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2249 * config.in, configure: Rebuild.
2250
88a51d68
RH
2251 PR target/91834
2252 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2253 overlap the inputs.
2254
761e6bb9
SZ
22552019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2256
2257 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2258 CTR_EL0.IDC and CTR_EL0.DIC.
2259
76c93295
CL
22602019-09-20 Christophe Lyon <christophe.lyon@st.com>
2261
2262 Revert:
2263 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2264 Mickaël Guêné <mickael.guene@st.com>
2265
2266 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2267 architecture.
2268
33befddc
RH
22692019-09-19 Richard Henderson <richard.henderson@linaro.org>
2270
2271 * config/aarch64/lse-init.c: New file.
2272 * config/aarch64/lse.S: New file.
2273 * config/aarch64/t-lse: New file.
2274 * config.host: Add t-lse to all aarch64 tuples.
2275
ae1152e5
CL
22762019-09-10 Christophe Lyon <christophe.lyon@st.com>
2277 Mickaël Guêné <mickael.guene@st.com>
2278
84818dbb
CL
2279 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2280 architecture.
2281
22822019-09-10 Christophe Lyon <christophe.lyon@st.com>
2283 Mickaël Guêné <mickael.guene@st.com>
2284
ae1152e5
CL
2285 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2286 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2287 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2288 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2289 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2290 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2291 (__gnu_personality_sigframe_fdpic): New.
2292 (get_eit_entry): Add FDPIC signal frame support.
2293
5d727a4b
CL
22942019-09-10 Christophe Lyon <christophe.lyon@st.com>
2295 Mickaël Guêné <mickael.guene@st.com>
2296
2297 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2298 (__kernel_dmb): Likewise.
2299 (__fdpic_cmpxchg): New function.
2300 (__fdpic_dmb): New function.
2301 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2302 (gnu_Unwind_Find_got): New function.
2303 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2304 * unwind-arm-common.inc (UCB_PR_GOT): New.
2305 (funcdesc_t): New struct.
2306 (get_eit_entry): Add FDPIC support.
2307 (unwind_phase2): Likewise.
2308 (unwind_phase2_forced): Likewise.
2309 (__gnu_Unwind_RaiseException): Likewise.
2310 (__gnu_Unwind_Resume): Likewise.
2311 (__gnu_Unwind_Backtrace): Likewise.
2312 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2313
b1e21e5a 23142019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 2315 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 2316
11189793
CL
2317 * libgcc/crtstuff.c: Add support for FDPIC.
2318
23192019-09-10 Christophe Lyon <christophe.lyon@st.com>
2320
2321 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2322
91dfef96
JM
23232019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2324
2325 * config.host: Set cpu_type for bpf-*-* targets.
2326 * config/bpf/t-bpf: Likewise.
2327 * config/bpf/crtn.S: Likewise.
2328 * config/bpf/crti.S: New file.
2329
2f4d8951
JW
23302019-09-06 Jim Wilson <jimw@sifive.com>
2331
2332 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2333 (riscv*-*-freebsd*): Likewise.
2334
2f2aeda9
UW
23352019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2336
2337 * config.host: Remove references to spu.
2338 * config/spu/: Remove directory.
2339
d16017da
JL
23402019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2341
2342 PR target/91306
2343 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2344 element type, instead of "sizeof" the element type.
2345 (__DTOR_LIST__): Likewise.
2346 (__TMC_LIST__): Likewise.
2347 (__do_global_dtors_aux_fini_array_entry): Likewise.
2348 (__frame_dummy_init_array_entry): Likewise.
2349 (__CTOR_END__): Likewise.
2350 (__DTOR_END__): Likweise.
2351 (__FRAME_END__): Likewise.
2352 (__TMC_END__): Likewise.
2353
a9fcfec3
HL
23542019-08-20 Lili Cui <lilicui@intel.com>
2355
2356 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2357 INTEL_COREI7_COOPERLAKE.
2358
428642b1
MT
23592019-07-31 Matt Thomas <matt@3am-software.com>
2360 Nick Hudson <nick@nthcliff.demon.co.uk>
2361 Matthew Green <mrg@eterna.com.au>
2362 Maya Rashish <coypu@sdf.org>
2363
2364 * config.host (hppa*-*-netbsd*): New case.
2365 * config/pa/t-netbsd: New file.
2366
f0efd925
JH
23672019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2368
2369 * config/arm/cmse.c (cmse_check_address_range): Add
2370 warn_unused_result attribute.
2371
a861990d
ML
23722019-07-22 Martin Liska <mliska@suse.cz>
2373
2374 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2375 * config/pa/t-stublib: Likewise.
2376
9c0dba7c
SH
23772019-07-22 Stafford Horne <shorne@gmail.com>
2378
2379 PR target/90362
2380 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2381 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2382 instructions are not available on every processor. Change a
2383 l.bnf to l.bf to fix logic issue.
2384
61afc8f8
IS
23852019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2386
2387 * config.host: Remove reference to t-darwin8.
2388
179c7ef5
IS
23892019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2390
2391 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2392 list.
2393 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2394 mmacosx-version-min for crts to run across all system versions.
2395 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2396 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2397 system versions >= 10.4.
2398
596341c7
ML
23992019-07-03 Martin Liska <mliska@suse.cz>
2400
2401 * Makefile.in: Use topn_values instead of one_value names.
2402 * libgcov-merge.c (__gcov_merge_single): Move to ...
2403 (__gcov_merge_topn): ... this.
2404 (merge_single_value_set): Move to ...
2405 (merge_topn_values_set): ... this.
2406 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2407 ...
2408 (__gcov_topn_values_profiler_body): ... this.
2409 (__gcov_one_value_profiler_v2): Move to ...
2410 (__gcov_topn_values_profiler): ... this.
2411 (__gcov_one_value_profiler_v2_atomic): Move to ...
2412 (__gcov_topn_values_profiler_atomic): ... this.
2413 (__gcov_indirect_call_profiler_v4): Remove.
2414 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2415 (__gcov_topn_counter_op): ... this.
2416 * libgcov.h (L_gcov_merge_single): Remove.
2417 (L_gcov_merge_topn): New.
2418 (__gcov_merge_single): Remove.
2419 (__gcov_merge_topn): New.
2420 (__gcov_one_value_profiler_v2): Move to ..
2421 (__gcov_topn_values_profiler): ... this.
2422 (__gcov_one_value_profiler_v2_atomic): Move to ...
2423 (__gcov_topn_values_profiler_atomic): ... this.
2424
1b309ca5
ML
24252019-07-03 Martin Liska <mliska@suse.cz>
2426
2427 * libgcov-merge.c (merge_single_value_set): Support N values.
2428 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2429
5a460280
ID
24302019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2431
2432 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2433 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2434 * configure.ac: Add --disable-tm-clone-registry option.
2435 * configure: Regenerate.
2436
45309d28
ML
24372019-06-27 Martin Liska <mliska@suse.cz>
2438
2439 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2440 dead assignments.
2441 * libgcov-util.c: Likewise.
2442
c2f7a665
ML
24432019-06-27 Martin Liska <mliska@suse.cz>
2444
2445 * libgcov-util.c (gcov_profile_merge): Release allocated
2446 memory.
2447 (calculate_overlap): Likewise.
2448
a8e55c61
IS
24492019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2450
2451 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2452 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2453 Build objects for the out of line save/restore register functions
2454 so that they can be used for any supported Darwin version.
2455 * config/t-darwin: Default the build Darwin version to Darwin8
2456 (MacOS 10.4).
2457
e5ce4cbc
ML
24582019-06-25 Martin Liska <mliska@suse.cz>
2459
2460 * libgcov-driver-system.c (replace_filename_variables): Do not
2461 call strlen with NULL argument.
2462
52a47d28
AS
24632019-06-25 Andrew Stubbs <ams@codesourcery.com>
2464
2465 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2466 * config/gcn/unwind-gcn.c: New file.
2467
76d46331
KCY
24682019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2469 Andrew Stubbs <ams@codesourcery.com>
2470
2471 * configure: Regenerate.
2472 * config/gcn/gthr-gcn.h: New.
2473
787783a0
TV
24742019-06-18 Tom de Vries <tdevries@suse.de>
2475
2476 * config/nvptx/crt0.c (__main): Declare.
2477
f32f7585
MG
24782019-06-17 Matthew Green <mrg@eterna.com.au>
2479 Maya Rashish <coypu@sdf.org>
2480
2481 * config.host (aarch64*-*-netbsd*): New case.
2482
0fcc78f7
JL
24832019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2484
2485 * config/msp430/slli.S (__mspabi_sllll): New library function for
2486 performing a logical left shift of a 64-bit value.
2487 * config/msp430/srai.S (__mspabi_srall): New library function for
2488 performing a arithmetic right shift of a 64-bit value.
2489 * config/msp430/srll.S (__mspabi_srlll): New library function for
2490 performing a logical right shift of a 64-bit value.
2491
b27c1082
MT
24922019-06-14 Matt Thomas <matt@3am-software.com>
2493 Matthew Green <mrg@eterna.com.au>
2494 Nick Hudson <skrll@netbsd.org>
2495 Maya Rashish <coypu@sdf.org>
2496
2497 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2498 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2499 functions to build.
2500 * config/arm/t-netbsd-eabi: New file.
2501
ae7deb4b
DD
25022019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2503
2504 * config.host: Add PRU target.
2505 * config/pru/asri.c: New file.
2506 * config/pru/eqd.c: New file.
2507 * config/pru/eqf.c: New file.
2508 * config/pru/ged.c: New file.
2509 * config/pru/gef.c: New file.
2510 * config/pru/gtd.c: New file.
2511 * config/pru/gtf.c: New file.
2512 * config/pru/led.c: New file.
2513 * config/pru/lef.c: New file.
2514 * config/pru/lib2bitcountHI.c: New file.
2515 * config/pru/lib2divHI.c: New file.
2516 * config/pru/lib2divQI.c: New file.
2517 * config/pru/lib2divSI.c: New file.
2518 * config/pru/libgcc-eabi.ver: New file.
2519 * config/pru/ltd.c: New file.
2520 * config/pru/ltf.c: New file.
2521 * config/pru/mpyll.S: New file.
2522 * config/pru/pru-abi.h: New file.
2523 * config/pru/pru-asm.h: New file.
2524 * config/pru/pru-divmod.h: New file.
2525 * config/pru/sfp-machine.h: New file.
2526 * config/pru/t-pru: New file.
2527
0d7b3e47
JJ
25282019-06-11 Jakub Jelinek <jakub@redhat.com>
2529
2530 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2531
54e2d83c
ML
25322019-06-10 Martin Liska <mliska@suse.cz>
2533
2534 PR bootstrap/90808
2535 * libgcov.h: Add ATTRIBUTE_UNUSED.
2536
92d41717
ML
25372019-06-10 Martin Liska <mliska@suse.cz>
2538
2539 * Makefile.in: Add __gcov_one_value_profiler_v2,
2540 __gcov_one_value_profiler_v2_atomic and
2541 __gcov_indirect_call_profiler_v4.
2542 * libgcov-merge.c (__gcov_merge_single): Change
2543 function signature.
2544 (merge_single_value_set): New.
2545 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2546 Update functionality.
2547 (__gcov_one_value_profiler): Remove.
2548 (__gcov_one_value_profiler_v2): ... this.
2549 (__gcov_one_value_profiler_atomic): Rename to ...
2550 (__gcov_one_value_profiler_v2_atomic): this.
2551 (__gcov_indirect_call_profiler_v3): Rename to ...
2552 (__gcov_indirect_call_profiler_v4): ... this.
2553 * libgcov.h (__gcov_one_value_profiler): Remove.
2554 (__gcov_one_value_profiler_atomic): Remove.
2555 (__gcov_one_value_profiler_v2_atomic): New.
2556 (__gcov_indirect_call_profiler_v3): Remove.
2557 (__gcov_one_value_profiler_v2): New.
2558 (__gcov_indirect_call_profiler_v4): New.
2559 (gcov_get_counter_ignore_scaling): New function.
2560
e37333ba
ML
25612019-06-07 Martin Liska <mliska@suse.cz>
2562
2563 * Makefile.in: Remove usage of
2564 _gcov_merge_icall_topn.
2565 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2566 (gcov_sort_icall_topn_counter): Likewise.
2567 (gcov_sort_topn_counter_arrays): Likewise.
2568 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2569 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2570 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2571 Likewise.
2572 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2573 (struct indirect_call_tuple): Remove.
2574 (__gcov_indirect_call_topn_profiler): Remove.
2575 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2576 * libgcov.h (gcov_sort_n_vals): Remove.
2577 (L_gcov_merge_icall_topn): Likewise.
2578 (__gcov_merge_icall_topn): Likewise.
2579 (__gcov_indirect_call_topn_profiler): Likewise.
2580
34a4a9c2
IS
25812019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2582
2583 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2584 altivec enabled.
2585
d1b2f85f
JL
25862019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2587
2588 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2589 section.
2590 (__mspabi_slli): Likewise.
2591 (__mspabi_slll_n): Likewise.
2592 (__mspabi_slll): Likewise.
2593 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2594 (__mspabi_srai): Likewise.
2595 (__mspabi_sral_n): Likewise.
2596 (__mspabi_sral): Likewise.
2597 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2598 (__mspabi_srli): Likewise.
2599 (__mspabi_srll_n): Likewise.
2600 (__mspabi_srll): Likewise.
2601
e69a13d1
YS
26022019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2603
2604 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2605 Add appropriate tm_file clause as well.
2606 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2607
b009eac1
JC
26082019-06-05 James Clarke <jrtc27@jrtc27.com>
2609
2610 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2611 rather than .data/.bss so it can be accessed via gp-relative
2612 addressing.
2613
781d39f2
DE
26142019-06-05 David Edelsohn <dje.gcc@gmail.com>
2615
2616 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2617 (CR2_REGNO): Rename to R_CR2.
2618 (XER_REGNO): Rename to R_XER.
2619 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2620 (VRSAVE_REGNO): Rename to R_VRSAVE.
2621 (VSCR_REGNO): R_VSCR.
2622
76aaa9cd
YS
26232019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2624
2625 * config.host (rx-*-linux*): Add new case.
2626 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2627
8fc16d72
ST
26282019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2629
2630 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2631 function.
2632 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2633 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2634 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2635 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2636 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2637 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2638 string.
2639 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2640 string.
2641 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2642
e54b1a92
RO
26432019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2644
2645 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2646 Remove Solaris 9 and 10 support.
2647 (sparc_is_sighandler): Likewise.
2648
abbb8307
JDA
26492019-05-26 John David Anglin <danglin@gcc.gnu.org>
2650
2651 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2652
2581344d
L
26532019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2654
2655 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2656 4_FP_W_TYPEs are used for IEEE quad precision.
2657 * soft-fp/extendhftf2.c: Likewise.
2658 * soft-fp/extendsftf2.c: Likewise.
2659 * soft-fp/extendxftf2.c: Likewise.
2660 * soft-fp/trunctfdf2.c: Likewise.
2661 * soft-fp/trunctfhf2.c: Likewise.
2662 * soft-fp/trunctfsf2.c: Likewise.
2663 * soft-fp/trunctfxf2.c: Likewise.
2664 * config/rs6000/ibm-ldouble.c: Likewise.
2665
ccd1242e
RO
26662019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2667
2668 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2669 *-*-solaris2*.
2670 * configure.ac: Likewise.
2671 * configure: Regenerate.
2672
2673 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2674 Solaris 10 and Solaris 11 < snv_125 handling.
2675
ef5eb79d
IS
26762019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2677
2678 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2679
4f0e90fa
HL
26802019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2681
2682 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2683 * config/i386/cpuinfo.h (enum processor_features): Add
2684 FEATURE_AVX512BF16.
2685
48528842
RR
26862019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2687 Bernd Edlinger <bernd.edlinger@hotmail.de>
2688 Jakub Jelinek <jakub@redhat.com>
2689
2690 PR target/89093
2691 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2692 * config/arm/unwind-arm.c: Likewise.
2693 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2694 attribute for ARM.
2695
887e182f
MC
26962019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2697
2698 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2699 (RT_SIGRETURN): Update.
2700 (nds32_fallback_frame_state): Update.
2701
a90b0cdd
MS
27022019-02-21 Martin Sebor <msebor@redhat.com>
2703
2704 * libgcc2.h (__clear_cache): Correct signature.
2705 * libgcc2.c (__clear_cache): Same.
2706
1ed28eda
UB
27072019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2708
2709 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2710 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2711
fe95aee9
UB
27122019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2713
2714 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2715 regno instead of index to DWARF_ZERO_REG.
2716
bf7988f1
EB
27172019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2718
2719 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2720 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2721
ba2c1ca8
UB
27222019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2723
2724 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2725 to HOST_LIBGCC2_CFLAGS.
2726
6395ba73
L
27272019-01-23 Joseph Myers <joseph@codesourcery.com>
2728
2729 PR libgcc/88931
ba2c1ca8 2730 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 2731
756721ba
ML
27322019-01-18 Martin Liska <mliska@suse.cz>
2733
2734 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2735 to ...
2736 (__gcov_indirect_call_profiler_v3): ... this.
2737 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2738 (__gcov_indirect_call_profiler_v3): Likewise.
2739 * Makefile.in: Bump function name.
2740
d273c40a
ML
27412019-01-18 Martin Liska <mliska@suse.cz>
2742
2743 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2744 (gcov_version): Use in gcov_error.
2745 (merge_one_data): Likewise.
2746 (dump_one_gcov): Likewise.
2747
be9d9fdb
ML
27482019-01-18 Martin Liska <mliska@suse.cz>
2749
2750 * libgcov-driver.c (gcov_version_string): New function.
2751 (gcov_version): Convert version integer into string.
2752
91d7b7fe
AS
27532019-01-17 Andrew Stubbs <ams@codesourcery.com>
2754 Kwok Cheung Yeung <kcy@codesourcery.com>
2755 Julian Brown <julian@codesourcery.com>
2756 Tom de Vries <tom@codesourcery.com>
2757
2758 * config.host: Recognize amdgcn*-*-amdhsa.
2759 * config/gcn/crt0.c: New file.
2760 * config/gcn/lib2-divmod-hi.c: New file.
2761 * config/gcn/lib2-divmod.c: New file.
2762 * config/gcn/lib2-gcn.h: New file.
2763 * config/gcn/sfp-machine.h: New file.
2764 * config/gcn/t-amdgcn: New file.
2765
67914693
SL
27662019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2767
2768 PR other/16615
2769
2770 * config/c6x/libunwind.S: Mechanically replace "can not" with
2771 "cannot".
2772 * config/tilepro/atomic.h: Likewise.
2773 * config/vxlib-tls.c: Likewise.
2774 * generic-morestack-thread.c: Likewise.
2775 * generic-morestack.c: Likewise.
2776 * mkmap-symver.awk: Likewise.
2777
a5544970
JJ
27782019-01-01 Jakub Jelinek <jakub@redhat.com>
2779
2780 Update copyright years.
2781
da77eace
L
27822018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2783
2784 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2785 to ignore -Waddress-of-packed-member.
2786
72e3a529
TP
27872018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2788
2789 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2790 parameter and corresponding code.
2791 (ARM_FUNC_START): Likewise in both definitions.
2792 Also update footer comment about condition that need to match with
2793 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2794 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2795 defined. Weakly define it in this case.
2796 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2797 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2798 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2799 comment to keep condition in sync with the one in
2800 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2801
5d54c798
WX
28022018-12-18 Wei Xiao <wei3.xiao@intel.com>
2803
2804 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2805 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2806
5a2580b6
RV
28072018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2808
2809 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2810 and .cfi_endproc directives for VxWorks targets.
2811
c0c5112b
PK
28122018-12-05 Paul Koning <ni1d@arrl.net>
2813
2814 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2815
1ea7ea18
AM
28162018-11-27 Alan Modra <amodra@gmail.com>
2817
2818 * config/rs6000/morestack.S (__stack_split_initialize),
2819 (__morestack_get_guard, __morestack_set_guard),
2820 (__morestack_make_guard): Provide CFI covering these functions.
2821 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2822
ff641ae1
XQ
28232018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2824
1ea7ea18 2825 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
2826 (sc_pt_regs_lr): Update for kernel.
2827 (sc_pt_regs_tls): Update for kernel.
2828
28209372
XQ
28292018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2830
2831 * config/csky/linux-unwind.h: Fix coding style.
2832
b2a71af6
XQ
28332018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2834
2835 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 2836 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
2837 instructions to adapt to changes in the kernel
2838
d929e137
SH
28392018-11-09 Stafford Horne <shorne@gmail.com>
2840 Richard Henderson <rth@twiddle.net>
2841
2842 * config.host: Add OpenRISC support.
2843 * config/or1k/*: New.
2844
222cfefa
KC
28452018-11-08 Kito Cheng <kito@andestech.com>
2846
2847 * soft-fp/adddf3.c: Update from glibc.
2848 * soft-fp/addsf3.c: Likewise.
2849 * soft-fp/addtf3.c: Likewise.
2850 * soft-fp/divdf3.c: Likewise.
2851 * soft-fp/divsf3.c: Likewise.
2852 * soft-fp/divtf3.c: Likewise.
2853 * soft-fp/double.h: Likewise.
2854 * soft-fp/eqdf2.c: Likewise.
2855 * soft-fp/eqsf2.c: Likewise.
2856 * soft-fp/eqtf2.c: Likewise.
2857 * soft-fp/extenddftf2.c: Likewise.
2858 * soft-fp/extended.h: Likewise.
2859 * soft-fp/extendhftf2.c: Likewise.
2860 * soft-fp/extendsfdf2.c: Likewise.
2861 * soft-fp/extendsftf2.c: Likewise.
2862 * soft-fp/extendxftf2.c: Likewise.
2863 * soft-fp/fixdfdi.c: Likewise.
2864 * soft-fp/fixdfsi.c: Likewise.
2865 * soft-fp/fixdfti.c: Likewise.
2866 * soft-fp/fixhfti.c: Likewise.
2867 * soft-fp/fixsfdi.c: Likewise.
2868 * soft-fp/fixsfsi.c: Likewise.
2869 * soft-fp/fixsfti.c: Likewise.
2870 * soft-fp/fixtfdi.c: Likewise.
2871 * soft-fp/fixtfsi.c: Likewise.
2872 * soft-fp/fixtfti.c: Likewise.
2873 * soft-fp/fixunsdfdi.c: Likewise.
2874 * soft-fp/fixunsdfsi.c: Likewise.
2875 * soft-fp/fixunsdfti.c: Likewise.
2876 * soft-fp/fixunshfti.c: Likewise.
2877 * soft-fp/fixunssfdi.c: Likewise.
2878 * soft-fp/fixunssfsi.c: Likewise.
2879 * soft-fp/fixunssfti.c: Likewise.
2880 * soft-fp/fixunstfdi.c: Likewise.
2881 * soft-fp/fixunstfsi.c: Likewise.
2882 * soft-fp/fixunstfti.c: Likewise.
2883 * soft-fp/floatdidf.c: Likewise.
2884 * soft-fp/floatdisf.c: Likewise.
2885 * soft-fp/floatditf.c: Likewise.
2886 * soft-fp/floatsidf.c: Likewise.
2887 * soft-fp/floatsisf.c: Likewise.
2888 * soft-fp/floatsitf.c: Likewise.
2889 * soft-fp/floattidf.c: Likewise.
2890 * soft-fp/floattihf.c: Likewise.
2891 * soft-fp/floattisf.c: Likewise.
2892 * soft-fp/floattitf.c: Likewise.
2893 * soft-fp/floatundidf.c: Likewise.
2894 * soft-fp/floatundisf.c: Likewise.
2895 * soft-fp/floatunditf.c: Likewise.
2896 * soft-fp/floatunsidf.c: Likewise.
2897 * soft-fp/floatunsisf.c: Likewise.
2898 * soft-fp/floatunsitf.c: Likewise.
2899 * soft-fp/floatuntidf.c: Likewise.
2900 * soft-fp/floatuntihf.c: Likewise.
2901 * soft-fp/floatuntisf.c: Likewise.
2902 * soft-fp/floatuntitf.c: Likewise.
2903 * soft-fp/gedf2.c: Likewise.
2904 * soft-fp/gesf2.c: Likewise.
2905 * soft-fp/getf2.c: Likewise.
2906 * soft-fp/half.h: Likewise.
2907 * soft-fp/ledf2.c: Likewise.
2908 * soft-fp/lesf2.c: Likewise.
2909 * soft-fp/letf2.c: Likewise.
2910 * soft-fp/muldf3.c: Likewise.
2911 * soft-fp/mulsf3.c: Likewise.
2912 * soft-fp/multf3.c: Likewise.
2913 * soft-fp/negdf2.c: Likewise.
2914 * soft-fp/negsf2.c: Likewise.
2915 * soft-fp/negtf2.c: Likewise.
2916 * soft-fp/op-1.h: Likewise.
2917 * soft-fp/op-2.h: Likewise.
2918 * soft-fp/op-4.h: Likewise.
2919 * soft-fp/op-8.h: Likewise.
2920 * soft-fp/op-common.h: Likewise.
2921 * soft-fp/quad.h: Likewise.
2922 * soft-fp/single.h: Likewise.
2923 * soft-fp/soft-fp.h: Likewise.
2924 * soft-fp/subdf3.c: Likewise.
2925 * soft-fp/subsf3.c: Likewise.
2926 * soft-fp/subtf3.c: Likewise.
2927 * soft-fp/truncdfsf2.c: Likewise.
2928 * soft-fp/trunctfdf2.c: Likewise.
2929 * soft-fp/trunctfhf2.c: Likewise.
2930 * soft-fp/trunctfsf2.c: Likewise.
2931 * soft-fp/trunctfxf2.c: Likewise.
2932 * soft-fp/unorddf2.c: Likewise.
2933 * soft-fp/unordsf2.c: Likewise.
2934 * soft-fp/unordtf2.c: Likewise.
2935
2901f42f
VK
29362018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2937
2938 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2939 * config/i386/cpuinfo.h (processor_types): Add znver2.
2940
4310ca66
PK
29412018-11-01 Paul Koning <ni1d@arrl.net>
2942
2943 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2944 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2945
22e05272
JM
29462018-10-31 Joseph Myers <joseph@codesourcery.com>
2947
2948 PR bootstrap/82856
2949 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2950 * configure: Regenerate.
2951
8180cde0
CZ
29522018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2953
2954 * config/arc/lib1funcs.S (_muldi3): New function.
2955 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2956
be7b071e
RV
29572018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2958
2959 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2960
3239d726
ML
29612018-10-25 Martin Liska <mliska@suse.cz>
2962
2963 PR other/87735
2964 * libgcov-profiler.c: Revert.
2965
19b55958
ML
29662018-10-24 Martin Liska <mliska@suse.cz>
2967
2968 * libgcov-profiler.c: Start from 1 in order to distinguish
2969 functions which were seen and these that were not.
2970
a9a2fddb
PK
29712018-10-18 Paul Koning <ni1d@arrl.net>
2972
2973 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2974 standard.
2975 * divmod.c: Update references to __udivmodsi4.
2976 * udivmod.c: Ditto.
2977 * udivhi3.c: New file.
2978 * udivmodhi4.c: New file.
2979 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2980
fc8abc46
RV
29812018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2982
2983 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2984
87f918e3
OH
29852018-10-12 Olivier Hainque <hainque@adacore.com>
2986
2987 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2988 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2989
be86efa7
PK
29902018-10-08 Paul Koning <ni1d@arrl.net>
2991
2992 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2993
3edbcdbe
ML
29942018-10-04 Martin Liska <mliska@suse.cz>
2995
2996 PR gcov-profile/84107
2997 * libgcov-profiler.c (__gcov_indirect_call):
2998 Change type to indirect_call_tuple.
2999 (struct indirect_call_tuple): New struct.
3000 (__gcov_indirect_call_topn_profiler): Change type.
3001 (__gcov_indirect_call_profiler_v2): Use the new
3002 variables.
3003 * libgcov.h (struct indirect_call_tuple): New struct
3004 definition.
3005
af8096fc
UB
30062018-10-03 Uros Bizjak <ubizjak@gmail.com>
3007
3008 * libgcc2.c (isnan): Use __builtin_isnan.
3009 (isfinite): Use __builtin_isfinite.
3010 (isinf): Use __builtin_isinf.
3011
0a76bba4
UB
30122018-09-26 Uros Bizjak <ubizjak@gmail.com>
3013
3014 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3015
5244089f
OH
30162018-09-21 Alexandre Oliva <oliva@adacore.com>
3017
3018 * config/vxcache.c: New file. Provide __clear_cache, based on
3019 the cacheTextUpdate VxWorks service.
3020 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3021 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3022 * config/t-vxwoks7: Likewise.
3023
512cc015
ML
30242018-09-21 Martin Liska <mliska@suse.cz>
3025
3026 * libgcov-driver.c (crc32_unsigned): Remove.
3027 (gcov_histogram_insert): Likewise.
3028 (gcov_compute_histogram): Likewise.
3029 (compute_summary): Simplify rapidly.
3030 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3031 (merge_summary): Rapidly simplify.
3032 (dump_one_gcov): Ignore gcov_summary.
3033 (gcov_do_dump): Do not handle program summary, it's not
3034 used.
3035 * libgcov-util.c (tag_summary): Remove.
3036 (read_gcda_finalize): Fix coding style.
3037 (read_gcda_file): Initialize curr_object_summary.
3038 (compute_summary): Remove.
3039 (calculate_overlap): Remove settings of run_max.
3040
36ff254b
MC
30412018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3042
3043 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3044 ucontext_t type instead.
3045 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3046
229a033d
KC
30472018-09-21 Kito Cheng <kito.cheng@gmail.com>
3048
3049 * config/nds32/t-nds32-glibc: New file.
3050
53c6feb2
RO
30512018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3052
3053 * configure.ac (solaris_ld_v2_maps): New test.
3054 * configure: Regenerate.
3055 * Makefile.in (solaris_ld_v2_maps): New variable.
3056 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3057 if supported.
3058
ebdb6f23
RE
30592018-08-23 Richard Earnshaw <rearnsha@arm.com>
3060
3061 PR target/86951
3062 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3063 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3064 to build.
3065
a49c064e
IS
30662018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3067
1ea7ea18 3068 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
3069 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3070 * config/darwin10-unwind-find-enc-func.c: … to here.
3071 * config/t-darwin: Build Darwin10 unwinder shim crt.
3072 * libgcc/config.host: Add the Darwin10 unwinder shim.
3073
9a5b8df7
RV
30742018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3075
3076 * config.host: Add crtbegin.o and crtend.o for
3077 powerpc-wrs-vxworks target.
3078
4cd0bc3b
J
30792018-08-17 Jojo <jijie_rong@c-sky.com>
3080 Huibin Wang <huibin_wang@c-sky.com>
3081 Sandra Loosemore <sandra@codesourcery.com>
3082 Chung-Lin Tang <cltang@codesourcery.com>
3083
3084 C-SKY port: libgcc
3085
3086 * config.host: Add C-SKY support.
3087 * config/csky/*: New.
3088
a4931745
CJW
30892018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3090
3091 * config/nds32/t-nds32-isr: Rearrange object dependency.
3092 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3093 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3094 and registers usage.
3095 * config/nds32/isr-library/excp_isr.S: Ditto.
3096 * config/nds32/isr-library/intr_isr.S: Ditto.
3097 * config/nds32/isr-library/reset.S: Ditto.
3098 * config/nds32/isr-library/restore_all.inc: Ditto.
3099 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3100 * config/nds32/isr-library/restore_partial.inc: Ditto.
3101 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3102 * config/nds32/isr-library/save_all.inc: Ditto.
3103 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3104 * config/nds32/isr-library/save_partial.inc: Ditto.
3105 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3106 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3107
2b1969f6
JDA
31082018-08-11 John David Anglin <danglin@gcc.gnu.org>
3109
3110 * config/pa/linux-atomic.c: Update comment.
3111 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3112 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3113 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3114 __ATOMIC_RELAXED for atomic loads.
3115 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3116 unordered store to release lock.
3117 (__sync_lock_release_8): Likewise.
3118 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 3119
89fff9cc
NP
31202018-08-02 Nicolas Pitre <nico@fluxnic.net>
3121
3122 PR libgcc/86512
3123 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3124 exponent goes negative. Update my email address.
3125 * config/arm/ieee754-sf.S: Likewise.
3126
fd2e1dcd
ML
31272018-08-01 Martin Liska <mliska@suse.cz>
3128
3129 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 3130 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 3131
b7415975
CL
31322018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3133
3134 * config/arm/ieee754-df.S: Fix comment for code working on
3135 architectures >= 4.
3136 * config/arm/ieee754-sf.S: Likewise.
3137
b72e71a3
L
31382018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3139
3140 PR libgcc/85334
3141 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3142 Removed.
3143
1c686aa4
JC
31442018-07-05 James Clarke <jrtc27@jrtc27.com>
3145
3146 * configure: Regenerated.
3147
b61c9b99
RO
31482018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3149
3150 * Makefile.in (install_leaf): Use enable_gcov instead of
3151 enable_libgcov.
3152
1765b023
RV
31532018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3154
3155 * configure.ac: Add --disable-gcov option.
3156 * configure: Regenerate.
3157 * Makefile.in: Honour @enable_gcov@.
3158
9b2e34ef
CL
31592018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3160
3161 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3162 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3163 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3164 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3165 __ARM_ARCH__.
3166 * config/arm/ieee754-sf.S: Likewise.
3167 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3168
d1b0dd54
CL
31692018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3170
3171 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3172 longer supported.
3173 * config/arm/ieee754-sf.S: Likewise.
3174
1f3fa525
TM
31752018-06-20 Than McIntosh <thanm@google.com>
3176
3177 PR libgcc/86213
3178 * generic-morestack.c (allocate_segment): Move calls to getenv and
3179 getpagesize to __morestack_load_mmap.
3180 (__morestack_load_mmap) Initialize static_pagesize and
3181 use_guard_page here so as to avoid clobbering SSE regs during a
3182 __morestack call.
3183
6a8886e4
MM
31842018-06-18 Michael Meissner <meissner@linux.ibm.com>
3185
3186 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3187 support modules with -mno-gnu-attribute.
3188 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3189
fb997097
OH
31902018-06-07 Olivier Hainque <hainque@adacore.com>
3191
3192 * config/t-vxworks (LIBGCC_INCLUDES): Add
3193 -I$(MULTIBUILDTOP)../../gcc/include.
3194 * config/t-vxworks7: Likewise. Reformat a bit to match
3195 the t-vxworks layout.
3196
a548a5a1
OM
31972018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3198
3199 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3200
244aebfd
ML
32012018-06-07 Martin Liska <mliska@suse.cz>
3202
3203 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 3204 all_prg.
244aebfd 3205
6c086e8c
ML
32062018-06-07 Martin Liska <mliska@suse.cz>
3207
92a285c1 3208 PR bootstrap/86057
6c086e8c 3209 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 3210 memcpy instead of mempcpy.
6c086e8c 3211 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 3212 prefix and set it.
6c086e8c 3213 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 3214 here and properly copy content into it.
6c086e8c 3215 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 3216 field, change prefix from size_t into char *.
6c086e8c
ML
3217 (compute_summary): Do not calculate longest filename.
3218 (gcov_do_dump): Release memory of gf.filename after each file.
3219 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 3220 compute_summary.
6c086e8c
ML
3221 (calculate_overlap): Likewise.
3222
97a53d1d
ML
32232018-06-05 Martin Liska <mliska@suse.cz>
3224
3225 PR gcov-profile/47618
3226 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 3227 function.
97a53d1d
ML
3228 (gcov_exit_open_gcda_file): Use it.
3229
7f3577f5
ML
32302018-06-05 Martin Liska <mliska@suse.cz>
3231
3232 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3233 of gcov_ctr_summary.
3234 (compute_summary): Do it just for a single summary.
3235 (merge_one_data): Likewise.
3236 (merge_summary): Simplify as we read just single summary.
3237 (dump_one_gcov): Pass proper argument.
3238 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3239 single summary.
3240 (gcov_info_count_all_cold): Likewise.
3241 (calculate_overlap): Likewise.
3242
cf3cd43d
CJW
32432018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3244 Monk Chiang <sh.chiang04@gmail.com>
3245
3246 * config.host (nds32*-linux*): New.
3247 * config/nds32/linux-atomic.c: New file.
3248 * config/nds32/linux-unwind.h: New file.
3249
8b8003ed
UB
32502018-05-31 Uros Bizjak <ubizjak@gmail.com>
3251
3252 PR target/85591
3253 * config/i386/cpuinfo.c (get_amd_cpu): Return
3254 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3255
bbdf026f
RV
32562018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3257
92a285c1 3258 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 3259
0e8f29da
ML
32602018-05-29 Martin Liska <mliska@suse.cz>
3261
92a285c1 3262 PR gcov-profile/85759
0e8f29da 3263 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 3264 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 3265 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 3266 overwrite a gcov file with a different timestamp.
0e8f29da 3267
54fd1590
K
32682018-05-23 Kalamatee <kalamatee@gmail.com>
3269
3270 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3271 path to Lf$finfty.
3272
09baee1a
KC
32732018-05-18 Kito Cheng <kito.cheng@gmail.com>
3274 Monk Chiang <sh.chiang04@gmail.com>
3275 Jim Wilson <jimw@sifive.com>
3276
3277 * config/riscv/save-restore.S: Add support for rv32e.
3278
c3f808d3
KT
32792018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3280
3281 * config/arm/libunwind.S: Update comment relating to armv5.
3282
fcf4f831
JL
32832018-05-17 Jerome Lambourg <lambourg@adacore.com>
3284
3285 * config/arm/cmse.c (cmse_check_address_range): Replace
3286 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3287
74b2bb19
OM
32882018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3289
3290 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3291 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3292
50e461df
OM
32932018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3294
3295 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3296 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3297
e5f1cdb1
AC
32982018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3299
3300 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3301
8f479d7a
AT
33022018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3303 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3304
3305 PR libgcc/84292
3306 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3307 op_and_fetch to return the right result.
3308
ae043291
AM
33092018-04-27 Alan Modra <amodra@gmail.com>
3310
3311 PR libgcc/85532
3312 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3313 -fno-asynchronous-unwind-tables.
3314
ba169b74
CJW
33152018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3316
3317 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3318 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3319
ffc2fc06
L
33202018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3321
3322 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3323 when including "config/i386/shadow-stack-unwind.h".
3324
7b47ecf2
L
33252018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3326
3327 * configure: Regenerated.
3328
661eb8f9
MM
33292018-04-20 Michael Meissner <meissner@linux.ibm.com>
3330
3331 PR target/85456
3332 * config/rs6000/_powikf2.c: New file. Add support for the
3333 __builtin_powil function when long double is IEEE 128-bit floating
3334 point.
3335 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3336 __powikf2 support.
3337 (__powikf2): Likewise.
3338 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3339 (__powikf2_hw): Likewise.
3340 (__powikf2): Likewise.
3341 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3342 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3343 (_powikf2-hw.c): Likewise.
3344
5707be3c
L
33452018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3346
3347 PR libgcc/85334
3348 * unwind-generic.h (_Unwind_Frames_Increment): New.
3349 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3350 Likewise.
3351 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3352 count with _Unwind_Frames_Increment.
3353 (_Unwind_ForcedUnwind_Phase2): Likewise.
3354
5f9ca0b8
L
33552018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 PR libgcc/85379
3358 * config/i386/morestack.S (__stack_split_initialize): Add
3359 _CET_ENDBR.
3360
a0e1df88
JJ
33612018-04-19 Jakub Jelinek <jakub@redhat.com>
3362
3363 * configure: Regenerated.
3364
001ddaa8
DM
33652018-04-18 David Malcolm <dmalcolm@redhat.com>
3366
3367 PR jit/85384
3368 * configure: Regenerate.
3369
a57f99ba
JJ
33702018-04-16 Jakub Jelinek <jakub@redhat.com>
3371
3372 PR target/84945
3373 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3374 -Wdangling-else warnings. Mask shift counts to avoid
3375 -Wshift-count-negative and -Wshift-count-overflow false positives.
3376
4d47fe5a
RB
33772018-04-06 Ruslan Bukin <br@bsdpad.com>
3378
3379 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3380
059cc8ac
L
33812018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3382
3383 PR target/85100
3384 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3385 (XSTATE_FP): Likewise.
3386 (XSTATE_SSE): Likewise.
3387 (XSTATE_YMM): Likewise.
3388 (XSTATE_OPMASK): Likewise.
3389 (XSTATE_ZMM): Likewise.
3390 (XSTATE_HI_ZMM): Likewise.
3391 (XCR_AVX_ENABLED_MASK): Likewise.
3392 (XCR_AVX512F_ENABLED_MASK): Likewise.
3393 (get_available_features): Enable AVX and AVX512 features only
3394 if their states are supported by OSXSAVE.
3395
f2620385
IT
33962018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3397
3398 PR target/85025
3399 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3400 Fix a typo, tmp => 255.
3401
ae6dca8c
JJ
34022018-03-20 Jakub Jelinek <jakub@redhat.com>
3403
3404 PR target/84945
3405 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3406 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3407 ifndef SHARED only.
3408 (set_feature): Define.
3409 (get_available_features): Use set_feature macro. Set __cpu_features2
3410 to the second word of features ifndef SHARED.
3411
c36b04c1
JK
34122018-03-15 Julia Koval <julia.koval@intel.com>
3413
3414 * config/i386/cpuinfo.c (get_available_features): Add
3415 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3416 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3417 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3418 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3419 FEATURE_AVX512BITALG.
3420
79ab5364
JK
34212018-03-14 Julia Koval <julia.koval@intel.com>
3422
3423 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3424 icelake client and icelake server.
3425
66a00b11
JDA
34262018-03-06 John David Anglin <danglin@gcc.gnu.org>
3427
3428 * config/pa/fptr.c (_dl_read_access_allowed): New.
3429 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3430
ce579a4f
JJ
34312018-02-28 Jakub Jelinek <jakub@redhat.com>
3432
3433 PR debug/83917
3434 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3435 $asm_hidden_op if visibility ("hidden") attribute works.
3436 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3437 * config/i386/i386-asm.h: Don't include auto-host.h.
3438 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3439 PACKAGE_URL): Don't undefine.
3440 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3441 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3442 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3443 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3444 definition instead of hardcoded .hidden.
3445 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3446 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3447 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3448 (USE_GAS_CFI_DIRECTIVES): Don't define.
3449 * configure: Regenerated.
3450 * config.in: Likewise.
3451
e5868319
JJ
34522018-02-26 Jakub Jelinek <jakub@redhat.com>
3453
3454 PR debug/83917
3455 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3456 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3457 inclusion of auto-target.h and auto-host.h.
3458 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3459 __GCC_HAVE_DWARF2_CFI_ASM.
3460 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3461 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3462 cfi_pop): Define.
3463 * config/i386/cygwin.S: Don't include auto-host.h here, just
3464 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3465 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3466 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3467 * config/i386/resms64fx.h: Add cfi_* directives.
3468 * config/i386/resms64x.h: Likewise.
3469
faef260e
MF
34702018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3471
3472 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3473 .literal_position directive.
3474 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3475
14e335ed
IT
34762018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3477
3478 PR target/84148
3479 * configure: Regenerate.
3480
95df0433
IT
34812018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3482
3483 PR target/84239
3484 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3485 Include cetintrin.h not x86intrin.h.
3486
f8de876d
IT
34872018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3488
3489 PR target/84239
95df0433 3490 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3491 Use new _get_ssp and _inc_ssp intrinsics.
3492
02da1e9c
JK
34932018-02-02 Julia Koval <julia.koval@intel.com>
3494
3495 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3496
048c6a9a
CZ
34972018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3498
3499 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3500 option.
3501 (__divsi3): Use RF16 safe registers.
3502 (__modsi3): Likewise.
3503
0889f168
MF
35042018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3505
3506 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3507 (__divsf3): Make NaN return value quiet.
3508 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3509 (__divdf3): Make NaN return value quiet.
3510
bc8b0d04
SP
35112018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3512
3513 * config/rl78/anddi3.S: New assembly file.
3514 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3515
99cc06ea
SP
35162018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3517
3518 * config/rl78/umindi3.S: New assembly file.
3519 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3520
6e9007a0
SP
35212018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3522
3523 * config/rl78/smindi3.S: New assembly file.
3524 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3525
d975e494 35262018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3527
d975e494
SP
3528 * config/rl78/smaxdi3.S: New assembly file.
3529 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3530
6a18c146 35312018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3532
5dd16013
SP
3533 * config/rl78/umaxdi3.S: New assembly file.
3534 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3535
07baf4a5
JDA
35362018-01-21 John David Anglin <danglin@gcc.gnu.org>
3537
3538 PR lto/83452
3539 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3540 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3541
dbc3af4f
RS
35422018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3543
3544 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3545 (DWARF_LAZY_REGISTER_VALUE): Define.
3546 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3547 to provide a fallback register value.
3548
68df9882
MM
35492018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3550
3551 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3552 __ibm128, instead of trying to use long double.
3553 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3554 accomidate -mabi=ieeelongdouble multilibs.
3555 (CVT_IBM128_TO_FLOAT128): Likewise.
3556 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3557 the appropriate IBM extended double type.
3558 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3559 (__gcc_qsub): Likewise.
3560 (__gcc_qmul): Likewise.
3561 (__gcc_qdiv): Likewise.
3562 (pack_ldouble): Likewise.
3563 (__gcc_qneg): Likewise.
3564 (__gcc_qeq): Likewise.
3565 (__gcc_qne): Likewise.
3566 (__gcc_qge): Likewise.
3567 (__gcc_qle): Likewise.
3568 (__gcc_stoq): Likewise.
3569 (__gcc_dtoq): Likewise.
3570 (__gcc_itoq): Likewise.
3571 (__gcc_utoq): Likewise.
3572 (__gcc_qunord): Likewise.
3573 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3574 quad-float128.h for the definitions.
3575 (COPYSIGN): Use the f128 version instead of the q version.
3576 (INFINITY): Likewise.
3577 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3578 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3579 quad-float128.h for the definitions.
3580 (COPYSIGN): Use the f128 version instead of the q version.
3581 (INFINITY): Likewise.
3582 (FABS): Likewise.
3583 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3584 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3585 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3586
64b371b1
SH
35872018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3588
3589 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3590 configuration.
3591
85ec4feb
JJ
35922018-01-03 Jakub Jelinek <jakub@redhat.com>
3593
3594 Update copyright years.
3595
35962017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3597
3598 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3599 * config/riscv/multi3.c: New file.
3600 * config/riscv/multi3.S: Remove.
3601
3a4c600f
JW
36022017-12-08 Jim Wilson <jimw@sifive.com>
3603
3604 * config/riscv/div.S: Use FUNC_* macros.
3605 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3606 * config/riscv/save-restore.S: Likewise.
3607 * config/riscv/riscv-asm.h: New.
3608
75ad35b5
MM
36092017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3610
6ae3512c
MM
3611 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3612 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3613
75ad35b5
MM
3614 PR libgcc/83112
3615 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3616 correct type for all ifunc resolvers to silence -Wattribute-alias
3617 warnings. Eliminate the forward declaration of the resolver
3618 functions which is no longer needed.
3619 (__subkf3_resolve): Likewise.
3620 (__mulkf3_resolve): Likewise.
3621 (__divkf3_resolve): Likewise.
3622 (__negkf2_resolve): Likewise.
3623 (__eqkf2_resolve): Likewise.
3624 (__nekf2_resolve): Likewise.
3625 (__gekf2_resolve): Likewise.
3626 (__gtkf2_resolve): Likewise.
3627 (__lekf2_resolve): Likewise.
3628 (__ltkf2_resolve): Likewise.
3629 (__unordkf2_resolve): Likewise.
3630 (__extendsfkf2_resolve): Likewise.
3631 (__extenddfkf2_resolve): Likewise.
3632 (__trunckfsf2_resolve): Likewise.
3633 (__trunckfdf2_resolve): Likewise.
3634 (__fixkfsi_resolve): Likewise.
3635 (__fixkfdi_resolve): Likewise.
3636 (__fixunskfsi_resolve): Likewise.
3637 (__fixunskfdi_resolve): Likewise.
3638 (__floatsikf_resolve): Likewise.
3639 (__floatdikf_resolve): Likewise.
3640 (__floatunsikf_resolve): Likewise.
3641 (__floatundikf_resolve): Likewise.
3642 (__extendkftf2_resolve): Likewise.
3643 (__trunctfkf2_resolve): Likewise.
3644
3645 PR libgcc/83103
3646 * config/rs6000/quad-float128.h (TF): Don't define if long double
3647 is IEEE 128-bit floating point.
3648 (TCtype): Define as either TCmode or KCmode, depending on whether
3649 long double is IEEE 128-bit floating point.
3650 (__mulkc3_sw): Add declarations for software/hardware versions of
3651 complex multiply/divide.
3652 (__divkc3_sw): Likewise.
3653 (__mulkc3_hw): Likewise.
3654 (__divkc3_hw): Likewise.
3655 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3656 handlers to switch between using software emulation and hardware
3657 float128 instructions, build the complex multiply/divide functions
3658 for both software and hardware support.
3659 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3660 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3661 (__divkc3_resolve): Likewise.
3662 (__mulkc3): Likewise.
3663 (__divkc3): Likewise.
3664 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3665 (fp128_hw_src): Likewise.
3666 (fp128_hw_static_obj): Likewise.
3667 (fp128_hw_shared_obj): Likewise.
3668 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3669 _mulkc3.c and _divkc3.c, changing the function name.
3670 (_divkc3-hw.c): Likewise.
3671 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3672 and _divkc3-hw.c.
3673
c234d831
UB
36742017-11-26 Julia Koval <julia.koval@intel.com>
3675
3676 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3677 * config/i386/cpuinfo.h (processor_subtypes): Add
3678 INTEL_COREI7_CANNONLAKE.
3679
1ebafce0
IT
36802017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3681
3682 PR bootstrap/83015
3683 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3684 parameter.
3685 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3686 * config/ia64/unwind-ia64.c: Add frames parameter.
3687 * unwind-sjlj.c: Likewise.
3688
6a10fff4
IT
36892017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3690
3691 * config/i386/linux-unwind.h: Include
3692 config/i386/shadow-stack-unwind.h.
3693 * config/i386/shadow-stack-unwind.h: New file.
3694 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3695 pass it to _Unwind_Frames_Extra.
3696 * unwind-generic.h (_Unwind_Frames_Extra): New.
3697 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3698 parameter. Add local variable frames to count number of frames.
3699 (_Unwind_ForcedUnwind_Phase2): Likewise.
3700 (_Unwind_RaiseException): Add local variable frames to count
3701 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3702 uw_install_context.
3703 (_Unwind_ForcedUnwind): Likewise.
3704 (_Unwind_Resume): Likewise.
3705 (_Unwind_Resume_or_Rethrow): Likewise.
3706
1ecae1fc
IT
37072017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3708
3709 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3710 (CET_FLAGS): New.
3711 * config/i386/morestack.S: Include <cet.h>.
3712 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3713 * config/i386/resms64.h: Include <cet.h>.
3714 * config/i386/resms64f.h: Likewise.
3715 * config/i386/resms64fx.h: Likewise.
3716 * config/i386/resms64x.h: Likewise.
3717 * config/i386/savms64.h: Likewise.
3718 * config/i386/savms64f.h: Likewise.
3719 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3720 (CRTSTUFF_T_CFLAGS): Likewise.
3721 * configure.ac: Include ../config/cet.m4.
3722 Set and substitute CET_FLAGS.
3723 * configure: Regenerated.
3724
f021f1d3
RO
37252017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3726
3727 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3728 renaming.
3729 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3730 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3731 * configure: Regenerate.
3732
65f480c7
TV
37332017-11-07 Tom de Vries <tom@codesourcery.com>
3734
3735 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3736 after "do {} while (0)".
3737
2a321acb
TV
37382017-11-07 Tom de Vries <tom@codesourcery.com>
3739
3740 PR other/82784
3741 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3742 semicolon after "do {} while (0)".
3743 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3744 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3745 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3746 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3747
59fcf6c3
AT
37482017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3749
3750 PR libgcc/82635
3751 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3752 sysctl to determine whether we're in a trampoline.
3753 Keep the pattern matching method for systems without
3754 KERN_PROC_SIGTRAMP sysctl.
3755
b0c7ddf8
CM
37562017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3757 Vineet Gupta <vgupta@synopsys.com>
3758
3759 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3760 * config/arc/linux-unwind-reg.def: New file.
3761 * config/arc/linux-unwind-reg.h: Likewise.
3762
5feee954
SP
37632017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3764
3765 * config/rl78/subdi3.S: New assembly file.
3766 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3767
a0bf6cf7
SP
37682017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3769
3770 * config/rl78/adddi3.S: New assembly file.
3771 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3772
e7176f75
JJ
37732017-10-13 Jakub Jelinek <jakub@redhat.com>
3774
3775 PR target/82274
3776 * libgcc2.c (__mulvDI3): If both operands have
3777 the same highpart of -1 and the topmost bit of lowpart is 0,
3778 multiplication overflows even if both lowparts are 0.
3779
db6601d2
JB
37802017-09-28 James Bowman <james.bowman@ftdichip.com>
3781
3782 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3783
938b6f1e
JM
37842017-09-26 Joseph Myers <joseph@codesourcery.com>
3785
3786 * config/microblaze/crti.S, config/microblaze/crtn.S,
3787 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3788 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3789 config/microblaze/mulsi3.S,
3790 config/microblaze/stack_overflow_exit.S,
3791 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3792 config/pa/milli64.S: Add .note.GNU-stack section.
3793
89762a83
DS
37942017-09-23 Daniel Santos <daniel.santos@pobox.com>
3795
3796 * configure.ac: Add Check for HAVE_AS_AVX.
3797 * config.in: Regenerate.
3798 * configure: Likewise.
3799 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3800 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3801 Correct out-of-date comments.
3802
cace2309
SP
38032017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3804
3805 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3806 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3807
3cb626e4
DS
38082017-09-17 Daniel Santos <daniel.santos@pobox.com>
3809
cace2309 3810 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
3811 (ASMNAME): Modify to use PASTE2.
3812 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3813 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 3814 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 3815 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
3816 * config/i386/resms64f.S: Likewise.
3817 * config/i386/resms64fx.S: Likewise.
3818 * config/i386/resms64x.S: Likewise.
3819 * config/i386/savms64.S: Likewise.
3820 * config/i386/savms64f.S: Likewise.
3821 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 3822 includes it's corresponding header file.
cace2309
SP
3823 * config/i386/avx_resms64f.S: Likewise.
3824 * config/i386/avx_resms64fx.S: Likewise.
3825 * config/i386/avx_resms64x.S: Likewise.
3826 * config/i386/avx_savms64.S: Likewise.
3827 * config/i386/avx_savms64f.S: Likewise.
3828 * config/i386/sse_resms64.S: Likewise.
3829 * config/i386/sse_resms64f.S: Likewise.
3830 * config/i386/sse_resms64fx.S: Likewise.
3831 * config/i386/sse_resms64x.S: Likewise.
3832 * config/i386/sse_savms64.S: Likewise.
3833 * config/i386/sse_savms64f.S: Likewise.
3834 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 3835
2f19c491 38362017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
3837 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3838
611e7036
OH
38392017-08-31 Olivier Hainque <hainque@adacore.com>
3840
3841 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3842 match as powerpc-wrs-vxworks*.
3843
c8f34527
JY
38442017-08-07 Jonathan Yong <10walls@gmail.com>
3845
3846 * config.host (*-cygwin): Include file from mingw
3847 config/i386/enable-execute-stack-mingw32.c
3848
0b458d2b 38492017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
3850 Doug Rupp <rupp@adacore.com>
3851 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
3852
3853 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3854 as well as arm-wrs-vxworks.
3855 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3856 LIB2ADDEH.
3857 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3858 __exidx_start and __exidx_end for downloadable modules.
3859
4df612fa
OH
38602017-08-01 Olivier Hainque <hainque@adacore.com>
3861
3862 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3863 * config/t-vxworks7: Likewise.
3864
5560e8c0
OH
38652017-08-01 Olivier Hainque <hainque@adacore.com>
3866
3867 * config/t-vxworks: Instead of redefining LIB2ADD,
3868 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3869
16bab95a
SH
38702017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3871
3872 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3873
9cbc07cc
DS
38742017-07-24 Daniel Santos <daniel.santos@pobox.com>
3875
3876 PR testsuite/80759
3877 * config.host: include i386/t-msabi for darwin and solaris.
3878 * config/i386/i386-asm.h
3879 (ELFFN): Rename to FN_TYPE.
3880 (FN_SIZE): New macro.
3881 (FN_HIDDEN): Likewise.
3882 (ASMNAME): Likewise.
3883 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3884 .globl.
3885 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3886 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3887 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3888 .macro.
3889 * config/i386/resms64f.S: Likewise.
3890 * config/i386/resms64fx.S: Likewise.
3891 * config/i386/resms64x.S: Likewise.
3892 * config/i386/savms64.S: Likewise.
3893 * config/i386/savms64f.S: Likewise.
3894
de742204
JM
38952017-07-19 John Marino <gnugcc@marino.st>
3896
3897 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3898
3787ee47
MM
38992017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3900
3901 PR target/81193
3902 * configure.ac (PowerPC float128 hardware support): Test whether
3903 we can use __builtin_cpu_supports before enabling the ifunc
3904 handler.
3905 * configure: Regenerate.
3906
b1938888
VG
39072017-07-10 Vineet Gupta <vgupta@synopsys.com>
3908
3909 * config.host: Remove uclibc from arc target spec.
3910
bec75e53
KW
39112017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3912
3913 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3914
d4391a62
PB
39152017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3916
3917 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3918 (have_ieee_hw_p): Delete function.
3919 (SW_OR_HW) Use __builtin_cpu_supports().
3920
9296dd9b
TP
39212017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3922
3923 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3924
b85a969e
OH
39252017-07-03 Olivier Hainque <hainque@adacore.com>
3926
d4391a62 3927 * config/t-vxworks7: New file, really.
b85a969e 3928
883312dc
JM
39292017-06-28 Joseph Myers <joseph@codesourcery.com>
3930
3931 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3932 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3933 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3934 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3935 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3936 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3937 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3938 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3939 config/sh/linux-unwind.h (sh_fallback_frame_state),
3940 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3941 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3942 ucontext_t instead of struct ucontext.
3943
50567938
JL
39442017-06-27 Jerome Lambourg <lambourg@adacore.com>
3945
3946 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3947 (x86_64-wrs-vxworks7): Likewise.
3948
e4b0df93
OH
39492017-06-27 Olivier Hainque <hainque@adacore.com>
3950
3951 * config/t-vxworks7: New file.
3952 * config.host (*-*-vxworks7): Use it.
3953
60edf8bb
MT
39542017-06-22 Matt Turner <mattst88@gmail.com>
3955
3956 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3957 skylake case.
3958
a51a76e5
RB
39592017-06-21 Richard Biener <rguenther@suse.de>
3960
3961 PR gcov-profile/81080
3962 * configure.ac: Add AC_SYS_LARGEFILE.
3963 * libgcov.h: Include auto-target.h before tsystem.h to pick
3964 up _FILE_OFFSET_BITS which might differ for multilibs.
3965 * config.in: Regenerate.
3966 * configure: Likewise.
3967
f0cd49c5
RE
39682017-06-16 Richard Earnshaw <rearnsha@arm.com>
3969
3970 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3971
4f751c54
ML
39722017-06-09 Martin Liska <mliska@suse.cz>
3973
3974 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3975 Reset __gcov_indirect_call_callee to NULL.
3976
1ac644c8
OH
39772017-06-08 Olivier Hainque <hainque@adacore.com>
3978
3979 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3980 the set of -I options, support for direct inclusions of net/uio.h
3981 by VxWorks header files via ioLib.h.
3982
d8b9cd27
TR
39832017-06-07 Tony Reix <tony.reix@atos.net>
3984 Matthieu Sarter <matthieu.sarter.external@atos.net>
3985 David Edelsohn <dje.gcc@gmail.com>
3986
92a285c1
ML
3987 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3988 unconditionally.
3989 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3990 AIX 7.2 support.
d8b9cd27 3991
38a75ccc
OH
39922017-06-02 Olivier Hainque <hainque@adacore.com>
3993
3994 * config/vxlib.c (__gthread_once): Add missing value to
3995 return statement.
3996
5b2edf53
OH
39972017-05-30 Olivier Hainque <hainque@adacore.com>
3998
3999 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4000 dollar sign before $(MULTIDIR).
4001
7d66e265
RH
40022017-05-26 Richard Henderson <rth@redhat.com>
4003
4004 PR libgcc/80037
4005 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4006
78eca309
AT
40072017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4008
4009 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4010 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4011 * config/arm/unwind-arm.c: Implement the above.
4012
c39d309a
AZ
40132017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4014
4015 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4016 section for a non-executable stack.
4017
eac8c9f2
KW
40182017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4019
4020 PR target/80600
4021 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4022
d6d4d770
DS
40232017-05-14 Daniel Santos <daniel.santos@pobox.com>
4024
4025 * config.host: Add i386/t-msabi to i386/t-linux file list.
4026 * config/i386/i386-asm.h: New file.
4027 * config/i386/resms64.S: New file.
4028 * config/i386/resms64f.S: New file.
4029 * config/i386/resms64fx.S: New file.
4030 * config/i386/resms64x.S: New file.
4031 * config/i386/savms64.S: New file.
4032 * config/i386/savms64f.S: New file.
4033 * config/i386/t-msabi: New file.
4034
8ef2b9a7
AT
40352017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4036
4037 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4038 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4039
7ab8766a
JC
40402017-05-05 Joshua Conner <joshconner@google.com>
4041
4042 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4043 pc-relative indirect handling for fuchsia.
4044 * config/t-slibgcc-fuchsia: New file.
4045 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 4046 x86_64-*-fuchsia*): Add definitions.
7ab8766a 4047
46928a8f
ML
40482017-04-19 Martin Liska <mliska@suse.cz>
4049
4050 PR gcov-profile/80435
4051 * Makefile.in: Install gcov.h.
4052 * gcov.h: New file.
4053 * libgcov.h: Use the header and make __gcov_flush publicly
4054 visible.
4055
63971184
ML
40562017-04-18 Martin Liska <mliska@suse.cz>
4057
4058 PR gcov-profile/78783
4059 * libgcov-driver.c (gcov_get_filename): New function.
4060
29d8aae6
JL
40612017-04-07 Jeff Law <law@redhat.com>
4062
4063 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4064 target makefile fragment.
4065 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4066
2bdf7fc6
AM
40672017-04-07 Alan Modra <amodra@gmail.com>
4068
4069 PR target/45053
4070 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4071
5764ee3c
JW
40722017-04-03 Jonathan Wakely <jwakely@redhat.com>
4073
4074 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4075
c4192ad7
CZ
40762017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4077
4078 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4079
4ccfdb28
JM
40802017-03-10 John Marino <gnugcc@marino.st>
4081
4082 * config/aarch64/freebsd-unwind.h: New file.
4083 * config.host: Add aarch64-*-freebsd unwinder.
4084
4144e4e3
SB
40852017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4086
4087 * config/rs6000/crtrestvr.s: Use .machine altivec.
4088 * config/rs6000/crtsavevr.s: Ditto.
4089
7502c597
SB
40902017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4091
4092 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4093 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4094 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4095 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4096 * configure: Regenerate.
4097 * config.in: Regenerate.
4098
db9f7f65
JY
40992017-03-02 Jonathan Yong <10walls@gmail.com>
4100
4101 * config/i386/gthr-win32.h: Define NOGDI before
4102 windows.h include to prevent w32api CC_NONE macro
4103 clash with libgfortran.
4104
126437c5
JY
41052017-03-02 Jonathan Yong <10walls@gmail.com>
4106
4107 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4108
31927af6
AP
41092017-02-16 Andrew Pinski <apinski@cavium.com>
4110
4111 * config/aarch64/value-unwind.h: New file.
4112 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4113 to tm_file.
4114
0bd99911
PD
41152017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4116
4117 * config.host: Add RISC-V tuples.
4118 * config/riscv/atomic.c: New file.
4119 * config/riscv/crti.S: Likewise.
4120 * config/riscv/crtn.S: Likewise.
4121 * config/riscv/div.S: Likewise.
4122 * config/riscv/linux-unwind.h: Likewise.
4123 * config/riscv/muldi3.S: Likewise.
4124 * config/riscv/multi3.S: Likewise.
4125 * config/riscv/save-restore.S: Likewise.
4126 * config/riscv/sfp-machine.h: Likewise.
4127 * config/riscv/t-elf: Likewise.
4128 * config/riscv/t-elf32: Likewise.
4129 * config/riscv/t-elf64: Likewise.
4130 * config/riscv/t-softfp32: Likewise.
4131 * config/riscv/t-softfp64: Likewise.
4132
a8c9ef2a
JJ
41332017-01-24 Jakub Jelinek <jakub@redhat.com>
4134
4135 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4136 /* FALLTHRU */ comments.
4137
c6c82710
GP
41382017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4139
4140 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4141
a876231c
JW
41422017-01-20 Jiong Wang <jiong.wang@arm.com>
4143
4144 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4145 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4146 DW_CFA_GNU_window_save for AArch64 and LP64.
4147
aa348be2
JW
41482017-01-20 Jiong Wang <jiong.wang@arm.com>
4149
4150 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4151
5636faf2
JW
41522017-01-19 Jiong Wang <jiong.wang@arm.com>
4153
4154 * config/aarch64/aarch64-unwind.h: New file.
4155 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4156 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4157 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4158 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4159 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4160 (aarch64_post_extract_frame_addr): New function.
4161 (aarch64_post_frob_eh_handler_addr): New function.
4162 (aarch64_frob_update_context): New function.
4163 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4164 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4165 aarch64*-*-freebsd*):
4166 Initialize md_unwind_header to include aarch64-unwind.h.
4167 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4168 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4169 __aarch64__.
4170 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4171 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4172 (uw_frob_return_addr): New function.
4173 (uw_install_context): Use uw_frob_return_addr.
4174
3c36aa6b
JJ
41752017-01-17 Jakub Jelinek <jakub@redhat.com>
4176
4177 PR other/79046
4178 * configure.ac: Add GCC_BASE_VER.
4179 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4180 version from BASE-VER file.
4181 * configure: Regenerated.
4182
829afb8f
JS
41832017-01-13 Joe Seymour <joe.s@somniumtech.com>
4184
4185 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4186 libmul_f5.a): Filter archived prerequisites.
4187
79fc8ffe
AS
41882017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4189
4190 * config/i386/cpuinfo.h (processor_features): Add
4191 FEATURE_AVX512VPOPCNTDQ.
4192 * config/i386/cpuinfo.c (get_available_features): Habdle new
4193 feature.
4194
fec5f4e0
JM
41952017-01-04 Joseph Myers <joseph@codesourcery.com>
4196
4197 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4198 payload if [__mips_nan2008].
4199
8f56cb51
AM
42002017-01-04 Alan Modra <amodra@gmail.com>
4201
4202 * Makefile.in (configure_deps): Update.
4203 * configure: Regenerate.
4204
cbe34bb5
JJ
42052017-01-01 Jakub Jelinek <jakub@redhat.com>
4206
4207 Update copyright years.
4208
ab955692
KW
42092016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4210
4211 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4212 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4213 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4214
de34320f
MK
42152016-12-17 Matthias Klose <doko@ubuntu.com>
4216
4217 * config/arc/gmon: Remove empty directory.
4218
e04ea1da
CZ
42192016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4220
4221 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4222 crtgend.
4223 (arc*-*-elf*): Likewise.
4224 * config/arc/t-arc: Remove old gmon lib targets.
4225 * config/arc/crtg.S: Remove.
4226 * config/arc/crtgend.S: Likewise.
4227 * config/arc/gmon/atomic.h: Likewise.
4228 * config/arc/gmon/auxreg.h: Likewise.
4229 * config/arc/gmon/dcache_linesz.S: Likewise.
4230 * config/arc/gmon/gmon.c: Likewise.
4231 * config/arc/gmon/machine-gmon.h: Likewise.
4232 * config/arc/gmon/mcount.c: Likewise.
4233 * config/arc/gmon/prof-freq-stub.S: Likewise.
4234 * config/arc/gmon/prof-freq.c: Likewise.
4235 * config/arc/gmon/profil.S: Likewise.
4236 * config/arc/gmon/sys/gmon.h: Likewise.
4237 * config/arc/gmon/sys/gmon_out.h: Likewise.
4238 * config/arc/t-arc-newlib: Likewise.
4239 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4240
8ae1c2c1
GS
42412016-12-12 George Spelvin <linux@sciencehorizons.net>
4242
4243 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4244
a5b947fa
GS
42452016-12-12 George Spelvin <linux@sciencehorizons.net>
4246
4247 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4248 R16 instead of push + pop.
4249 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4250
d6574dd1
KW
42512016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4252
4253 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4254 tmake_file.
4255
62440b4f
CM
42562016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4257
4258 * config.host (arc*-*-linux-uclibc*): Use default extra
4259 objects. Include linux-android header.
4260 * config/arc/crti.S (_init): Declare symbol as function.
4261 (_fini): Likewise.
4262
31cfd832
TK
42632016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4264
4265 PR fortran/78379
4266 * config/i386/cpuinfo.c: Move denums for processor vendors,
4267 processor type, processor subtypes and declaration of
4268 struct __processor_model into
4269 * config/i386/cpuinfo.h: New header file.
4270
c92e08e3
AV
42712016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4272 Thomas Preud'homme <thomas.preudhomme@arm.com>
4273
4274 * config/arm/cmse_nonsecure_call.S: New.
4275 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4276
de7b5723
AV
42772016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4278 Thomas Preud'homme <thomas.preudhomme@arm.com>
4279
4280 * config/arm/t-arm (HAVE_CMSE): New.
4281 * config/arm/cmse.c: New.
4282
7a0d2bce
TP
42832016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4284
b3a5bff4
TP
4285 PR gcc/74748
4286 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4287 use generic linker version information on Blackfin.
4288
7a0d2bce
TP
4289 PR gcc/74748
4290 * libgcc/mkmap-symver.awk: add support for skip_underscore
4291
b410cf1d
IS
42922016-11-27 Iain Sandoe <iain@codesourcery.com>
4293 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4294
4295 PR target/67710
4296 * config/t-darwin: Default builds to 10.5 codegen.
4297
2e5f8203
JG
42982016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4299
4300 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4301 (_FP_NANSIGN_H): Likewise.
4302 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4303 (softfp_truncations): Add tfhf.
4304 (softfp_extras): Add required conversion functions.
4305
bea64ca3
JG
43062016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4307 Matthew Wahab <matthew.wahab@arm.com>
4308
4309 * config/arm/fp16.c (binary64): New.
4310 (__gnu_d2h_internal): New.
4311 (__gnu_d2h_ieee): New.
4312 (__gnu_d2h_alternative): New.
4313
8630cadb
JG
43142016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4315 Matthew Wahab <matthew.wahab@arm.com>
4316
4317 * config/arm/fp16.c (struct format): New.
4318 (binary32): New.
4319 (__gnu_float2h_internal): New. Body moved from
4320 __gnu_f2h_internal and generalize.
4321 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4322 Call it with binary32.
4323
5823ef23
JG
43242016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4325
4326 * soft-fp/extendhftf2.c: Update from glibc.
4327 * soft-fp/fixhfti.c: Likewise.
4328 * soft-fp/fixunshfti.c: Likewise.
4329 * soft-fp/floattihf.c: Likewise.
4330 * soft-fp/floatuntihf.c: Likewise.
4331 * soft-fp/half.h: Likewise.
4332 * soft-fp/trunctfhf2.c: Likewise.
4333
62a7df9f
MG
43342016-11-20 Marc Glisse <marc.glisse@inria.fr>
4335
4336 PR libgcc/77813
4337 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4338 __TMC_END__ behind a passthrough asm.
4339
7a384912
WL
43402016-11-18 Walter Lee <walt@tilera.com>
4341
62a7df9f 4342 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4343
9775c1a5
L
43442016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4345
4346 * config/i386/cpuinfo.c (processor_features): Add
4347 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4348
48c842ab
CZ
43492016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4350
4351 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4352 (__ARC_NORM__): Use instead ARC_OPTFPE.
4353 * config/arc/fp-hack.h: Likewise.
4354 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4355 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4356
5012919d
AM
43572016-11-16 Alexander Monakov <amonakov@ispras.ru>
4358
4359 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4360 * config/nvptx/mgomp.c: New file.
4361 * config/nvptx/t-nvptx: Add mgomp.c
4362
00178b98
WB
43632016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4364
4365 PR libgcc/68468
4366 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4367
d64af69f
CZ
43682016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4369
4370 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4371 of checking for cpus.
4372 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4373 (__modsi3, __clzsi2): Likewise.
4374
9d8f95de
SN
43752016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4376
4377 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4378 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4379 * config/i386/t-cpuinfo-static: New.
4380
7d29f8e3
ML
43812016-11-03 Martin Liska <mliska@suse.cz>
4382
4383 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4384 (__gcov_time_profiler_atomic): Likewise.
4385
5de3e2d8
BE
43862016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4387
4388 PR libgcc/78067
4389 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4390 count_leading_zeros.
4391
18362447
UB
43922016-11-02 Uros Bizjak <ubizjak@gmail.com>
4393
4394 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4395 * libgcc2.c (__divmoddi4): New function.
4396 * libgcc2.h (__divmoddi4): Declare.
4397 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4398 and __PFX_divmodti4.
4399
33107571
FW
44002016-10-24 Florian Weimer <fweimer@redhat.com>
4401
4402 PR libgcc/78064
4403 * unwind-c.c: Include auto-target.h.
4404
4c6d7494
JDA
44052016-10-19 John David Anglin <danglin@gcc.gnu.org>
4406
18362447 4407 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4408 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4409 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4410 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4411 hppa*64*-*-hpux11*.
4412
2a26adf1
MF
44132016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4414
4415 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4416 definition.
4417 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4418 definition.
4419 * config/xtensa/t-windowed (LIB2ADDEH): Use
4420 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4421 or xtensa/t-linux.
4422
66192aa1
DKC
44232016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4424
4425 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4426 __ieee754_sqrt): New functions.
4427 (__divdf3): Add implementation with new FPU instructions under
4428 #if XCHAL_HAVE_DFP_DIV.
4429 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4430 __ieee754_sqrtf): New functions.
4431 (__divsf3): Add implementation with new FPU instructions under
4432 #if XCHAL_HAVE_FP_DIV.
4433 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4434 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4435
4d0cdd0c
TP
44362016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4437
4438 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4439 equivalent.
4440 * config/tilepro/atomic.c: Likewise and stop casting model to
4441 enum memmodel.
4442
73f01cca
JM
44432016-10-10 Joseph Myers <joseph@codesourcery.com>
4444
4445 PR target/77586
4446 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4447 soft-fp.
4448
b20e7532
AT
44492016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4450
4451 * config.host: Add support for aarch64-*-freebsd*.
4452
a786cec4
AS
44532016-10-05 Andreas Schwab <schwab@suse.de>
4454
4455 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4456 (.section .init_array): Don't call __do_jv_register_classes.
4457 (.section .init): Likewise.
4458
5a79befb
JJ
44592016-10-04 Jakub Jelinek <jakub@redhat.com>
4460
4461 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4462 (__JCR_LIST__): Remove.
4463 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4464 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4465 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4466 * config/ia64/crtend.S (__JCR_END__): Remove.
4467 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4468 conditionals.
4469 (__JCR_LIST__, __JCR_END__): Remove.
4470 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4471 (__do_global_ctors_1): Likewise.
4472
e0ab3753
UB
44732015-09-28 Uros Bizjak <ubizjak@gmail.com>
4474
4475 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4476 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4477
8c9434c2
ML
44782016-09-27 Martin Liska <mliska@suse.cz>
4479
4480 PR gcov-profile/7970
4481 PR gcov-profile/16855
4482 PR gcov-profile/44779
4483 * libgcov-driver.c (__gcov_init): Do not register a atexit
4484 handler.
4485 (__gcov_exit): Rename from gcov_exit.
4486 * libgcov.h (__gcov_exit): Declare.
4487
56b653f1
ML
44882016-09-27 Martin Liska <mliska@suse.cz>
4489
4490 PR bootstrap/77749
4491 * Makefile.in: Remove _gcov_merge_delta.
4492 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4493 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4494 * libgcov.h: Remove declaration of __gcov_merge_delta.
4495
7e02fd1b
EB
44962016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4497
4498 * configure.ac: Do not create links, only substitute the filenames.
4499 * configure: Regenerate.
4500 * Makefile.in: Assign the substitution results to variables.
4501 (LIBGCC_LINKS): Define.
4502 (enable-execute-stack.c): New rule.
4503 (unwind.h): Likewise.
4504 (md-unwind-support.h): Likewise.
4505 (sfp-machine.h): Likewise.
4506 (gthr-default.h): Likewise.
4507 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4508 unwind.h as prerequisite of install-unwind_h-forbuild.
4509
29991048
JJ
45102016-09-16 Jakub Jelinek <jakub@redhat.com>
4511
4512 PR libgcc/71744
4513 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4514 is not the primary registry and atomics are available.
4515 (any_objects_registered): New variable.
4516 (__register_frame_info_bases, __register_frame_info_table_bases):
4517 Atomically store 1 to any_objects_registered after registering first
4518 unwind info.
4519 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4520
0abcd6cc
JG
45212016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4522
4523 PR target/63250
4524 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4525 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4526 (HFtype): Likewise.
4527 (HCtype): Likewise.
4528 (__divhc3): Likewise.
4529 (__mulhc3): Likewise.
4530 * libgcc2.c: Support _mulhc3 and _divhc3.
4531
d758aeb5
JM
45322016-09-07 Joseph Myers <joseph@codesourcery.com>
4533
4534 PR libgcc/77519
4535 * libgcc2.c (NOTRUNC): Invert settings.
4536
7fe76f6a
ML
45372016-09-06 Martin Liska <mliska@suse.cz>
4538
4539 PR gcov-profile/77378
4540 PR gcov-profile/77466
4541 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4542 conditionaly enable/disable *_atomic functions.
4543
21184026
JM
45442016-08-26 Joseph Myers <joseph@codesourcery.com>
4545
4546 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4547 where not already enabled.
4548
726f49c3
SN
45492016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4550
4551 * config/mips/linux-unwind.h: Use sys/syscall.h.
4552
feeb6268
JM
45532016-08-16 Joseph Myers <joseph@codesourcery.com>
4554
4555 PR libgcc/77265
4556 * soft-fp/adddf3.c: Update from glibc.
4557 * soft-fp/addsf3.c: Likewise.
4558 * soft-fp/addtf3.c: Likewise.
4559 * soft-fp/divdf3.c: Likewise.
4560 * soft-fp/divsf3.c: Likewise.
4561 * soft-fp/divtf3.c: Likewise.
4562 * soft-fp/double.h: Likewise.
4563 * soft-fp/eqdf2.c: Likewise.
4564 * soft-fp/eqsf2.c: Likewise.
4565 * soft-fp/eqtf2.c: Likewise.
4566 * soft-fp/extenddftf2.c: Likewise.
4567 * soft-fp/extended.h: Likewise.
4568 * soft-fp/extendsfdf2.c: Likewise.
4569 * soft-fp/extendsftf2.c: Likewise.
4570 * soft-fp/extendxftf2.c: Likewise.
4571 * soft-fp/fixdfdi.c: Likewise.
4572 * soft-fp/fixdfsi.c: Likewise.
4573 * soft-fp/fixdfti.c: Likewise.
4574 * soft-fp/fixsfdi.c: Likewise.
4575 * soft-fp/fixsfsi.c: Likewise.
4576 * soft-fp/fixsfti.c: Likewise.
4577 * soft-fp/fixtfdi.c: Likewise.
4578 * soft-fp/fixtfsi.c: Likewise.
4579 * soft-fp/fixtfti.c: Likewise.
4580 * soft-fp/fixunsdfdi.c: Likewise.
4581 * soft-fp/fixunsdfsi.c: Likewise.
4582 * soft-fp/fixunsdfti.c: Likewise.
4583 * soft-fp/fixunssfdi.c: Likewise.
4584 * soft-fp/fixunssfsi.c: Likewise.
4585 * soft-fp/fixunssfti.c: Likewise.
4586 * soft-fp/fixunstfdi.c: Likewise.
4587 * soft-fp/fixunstfsi.c: Likewise.
4588 * soft-fp/fixunstfti.c: Likewise.
4589 * soft-fp/floatdidf.c: Likewise.
4590 * soft-fp/floatdisf.c: Likewise.
4591 * soft-fp/floatditf.c: Likewise.
4592 * soft-fp/floatsidf.c: Likewise.
4593 * soft-fp/floatsisf.c: Likewise.
4594 * soft-fp/floatsitf.c: Likewise.
4595 * soft-fp/floattidf.c: Likewise.
4596 * soft-fp/floattisf.c: Likewise.
4597 * soft-fp/floattitf.c: Likewise.
4598 * soft-fp/floatundidf.c: Likewise.
4599 * soft-fp/floatundisf.c: Likewise.
4600 * soft-fp/floatunditf.c: Likewise.
4601 * soft-fp/floatunsidf.c: Likewise.
4602 * soft-fp/floatunsisf.c: Likewise.
4603 * soft-fp/floatunsitf.c: Likewise.
4604 * soft-fp/floatuntidf.c: Likewise.
4605 * soft-fp/floatuntisf.c: Likewise.
4606 * soft-fp/floatuntitf.c: Likewise.
4607 * soft-fp/gedf2.c: Likewise.
4608 * soft-fp/gesf2.c: Likewise.
4609 * soft-fp/getf2.c: Likewise.
4610 * soft-fp/ledf2.c: Likewise.
4611 * soft-fp/lesf2.c: Likewise.
4612 * soft-fp/letf2.c: Likewise.
4613 * soft-fp/muldf3.c: Likewise.
4614 * soft-fp/mulsf3.c: Likewise.
4615 * soft-fp/multf3.c: Likewise.
4616 * soft-fp/negdf2.c: Likewise.
4617 * soft-fp/negsf2.c: Likewise.
4618 * soft-fp/negtf2.c: Likewise.
4619 * soft-fp/op-1.h: Likewise.
4620 * soft-fp/op-2.h: Likewise.
4621 * soft-fp/op-4.h: Likewise.
4622 * soft-fp/op-8.h: Likewise.
4623 * soft-fp/op-common.h: Likewise.
4624 * soft-fp/quad.h: Likewise.
4625 * soft-fp/single.h: Likewise.
4626 * soft-fp/soft-fp.h: Likewise.
4627 * soft-fp/subdf3.c: Likewise.
4628 * soft-fp/subsf3.c: Likewise.
4629 * soft-fp/subtf3.c: Likewise.
4630 * soft-fp/truncdfsf2.c: Likewise.
4631 * soft-fp/trunctfdf2.c: Likewise.
4632 * soft-fp/trunctfsf2.c: Likewise.
4633 * soft-fp/trunctfxf2.c: Likewise.
4634 * soft-fp/unorddf2.c: Likewise.
4635 * soft-fp/unordsf2.c: Likewise.
4636 * soft-fp/unordtf2.c: Likewise.
4637
2e6fc1ac
GG
46382016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4639
4640 PR gcov-profile/67097
4641 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4642
a266236e
ML
46432016-08-10 Martin Liska <mliska@suse.cz>
4644
4645 PR gcov-profile/58306
4646 * Makefile.in: New functions (modules) are added.
4647 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4648 function.
4649 (__gcov_pow2_profiler_atomic): New function.
4650 (__gcov_one_value_profiler_body): New argument is instroduced.
4651 (__gcov_one_value_profiler): Call with the new argument.
4652 (__gcov_one_value_profiler_atomic): Likewise.
4653 (__gcov_indirect_call_profiler_v2): Likewise.
4654 (__gcov_time_profiler_atomic): New function.
4655 (__gcov_average_profiler_atomic): Likewise.
4656 (__gcov_ior_profiler_atomic): Likewise.
4657 * libgcov.h: Declare the aforementioned functions.
4658
e0c8eebf
ML
46592016-08-09 Martin Liska <mliska@suse.cz>
4660
4661 * libgcov-util.c: Fix typo and GNU coding style.
4662
6dce6418
ML
46632016-08-09 Martin Liska <mliska@suse.cz>
4664
4665 * Makefile.in: Remove __gcov_indirect_call_profiler.
4666 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4667 function.
4668 * libgcov.h: And the declaration of the function.
4669
dcb1e137
ML
46702016-08-09 Martin Liska <mliska@suse.cz>
4671
4672 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4673 power of two.
4674
d6e69705
BS
46752016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4676
4677 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4678 * config/rs6000/_mulkc3.c: Likewise.
4679
96aa1f95
GJL
46802016-07-29 Georg-Johann Lay <avr@gjlay.de>
4681
4682 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4683 zero_reg as previous call to __umulhisi3 already cleared it.
4684
a1b01d34
AJ
46852016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4686
4687 PR target/59833
4688 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4689
985a47b2
NC
46902016-07-19 Nick Clifton <nickc@redhat.com>
4691
4692 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4693 Add crtinit.o and crtfini.o to extra_parts.
4694
f906f5ed
BS
46952016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4696
4697 * config/rs6000/_divkc3.c: New.
4698 * config/rs6000/_mulkc3.c: New.
4699 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4700 and _divkc3.
4701 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4702 fp128_ppc_funcs.
4703
82742404
HW
47042016-07-11 Hale Wang <hale.wang@arm.com>
4705 Andre Vieira <andre.simoesdiasvieira@arm.com>
4706
4707 * config/arm/lib1funcs.S: Add new wrapper.
4708
05a437c1
TP
47092016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4710
4711 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4712
3d16d9ec
TP
47132016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4714
4715 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4716 and ARMv5t* rather than for a fixed list of architectures.
4717
6f493951
TP
47182016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4719
4720 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4721 implementation suitable for.
4722 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4723 for all Thumb-1 only targets.
4724 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4725 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4726 __ARM_ARCH_6M__.
4727 (EQUIV): Likewise.
4728 (ARM_FUNC_ALIAS): Likewise.
4729 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4730 version.
4731 (modsi3): Likewise.
4732 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4733 (clzdi2): Likewise.
4734 (ctzsi2): Likewise.
4735 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4736 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4737 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4738 __ARM_ARCH_6M__ and add comment to indicate the connection between
4739 this condition and the one in gcc/config/arm/elf.h.
4740 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4741 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4742 * config/arm/t-softfp: Likewise.
4743
1770511a
TS
47442016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4745
4746 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4747 CTOR_LISTS_DEFINED_EXTERNALLY.
4748
ba6be749
WL
47492016-06-28 Walter Lee <walt@tilera.com>
4750
4751 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4752 asm/unistd.h.
4753 (SPR_CMPEXCH_VALUE): Define for tilegx.
4754 (__NR_FAST_cmpxchg): Define for tilepro.
4755 (__NR_FAST_atomic_update): Define for tilepro.
4756 (__NR_FAST_cmpxchg64): Define for tilepro.
4757
a34c0db5
JS
47582016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4759
18362447 4760 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 4761
0609abda
TS
47622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4763
4764 * config.host: Remove support for mep-*.
4765 * config/mep/lib1funcs.S: Remove.
4766 * config/mep/lib2funcs.c: Remove.
4767 * config/mep/t-mep: Remove.
4768 * config/mep/tramp.c: Remove.
4769
3e326935
TS
47702016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4771
4772 * config.host: Remove support for avr-rtems.
4773 * config/avr/t-rtems: Remove.
4774
914b155c
TS
47752016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4776
4777 * config.host: Remove m32r-rtems support.
4778
5ebf89bd
TS
47792016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4780
4781 * config.host: Remove h8300-rtems support.
4782
8466af06
TS
47832016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4784
4785 * config.host: Remove support for knetbsd.
4786
d980e738
TS
47872016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4788
4789 * config.host: Remove support for openbsd 2 and 3.
4790
ee2499b4
TS
47912016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4792
4793 * config.host: Remove interix support.
4794 * config/i386/t-interix: Remove.
4795
9f92937b
JDA
47962016-06-18 John David Anglin <danglin@gcc.gnu.org>
4797
4798 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4799 least-significant bit in function pointer for fixup.
4800
0a0ec53d
AC
48012016-06-05 Aaron Conole <aconole@redhat.com>
4802 Nathan Sidwell <nathan@acm.org>
4803
4804 PR libgcc/71400
4805 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4806 (get_gcov_error_file): Check __gcov_error_file before trying to
4807 initialize it.
4808 (gcov_error): Always use get_gcov_error_file.
4809
8aa5bdd6
AC
48102016-06-02 Aaron Conole <aconole@redhat.com>
4811
4812 * libgcov-driver-system.c (__gcov_error_file): New.
4813 (get_gcov_error_file): New.
4814 (gcov_error): Use and set __gcov_error_file.
4815 (gcov_error_exit): New.
4816 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4817
40774faf
NS
48182016-05-26 Nathan Sidwell <nathan@acm.org>
4819
4820 * config/nvptx/free.asm: Delete.
4821 * config/nvptx/malloc.asm: Delete.
4822 * config/nvptx/realloc.c: Delete.
4823 * t-nvptx: Update.
4824
69a6d5ad
NS
48252016-05-25 Nathan Sidwell <nathan@acm.org>
4826
4827 * config/nvptx/crt0.s: Delete.
4828 * config/nvptx/crt0.c: New.
4829 * t-nvptx: Update.
4830
6befaff6
SL
48312016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4832
385c7747 4833 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
4834 dw2/seh configuration.
4835 [x86_64-*-mingw*]: Likewise.
4836
ad251dfd
JS
48372016-05-10 Joel Sherrill <joel@rtems.org>
4838
4839 PR libgcc/70720
4840 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4841 targets so the same extra_parts are built. Also have tmake_file add
4842 on to its value rather than override.
4843
bc6d9014
OE
48442016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4845
4846 * config.host: Remove SH5 support.
4847 * configure: Likewise.
4848
9129c8cf
OE
48492016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4850
4851 * config/sh/crt1.S: Remove SH5 support.
4852 * config/sh/crti.S: Likewise.
4853 * config/sh/crtn.S: Likewise.
4854 * config/sh/lib1funcs-4-300.S: Likewise.
4855 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4856 * config/sh/lib1funcs.S: Likewise.
4857 * config/sh/linux-unwind.h: Likewise.
4858 * config/sh/t-sh64: Delete.
4859
39d50464
CZ
48602016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4861
4862 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4863
8b48923b
CZ
48642016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4865 Joern Rennecke <joern.rennecke@embecosm.com>
4866
4867 * config/arc/crttls.S: New file.
4868 * config/arc/t-arc: New rule.
4869 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4870
2de1cf8c
NC
48712016-04-25 Nick Clifton <nickc@redhat.com>
4872
4873 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4874 (__mspabi_cmpd): Likewise.
4875 * config/msp430/floathidf.c (__floathidf): Likewise.
4876 * config/msp430/floathisf.c (__floathisf): Likewise
4877 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4878 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4879 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4880 second parameter.
4881 (__ashrsi3): Likewise.
4882
b8ce3fe2
WB
48832016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4884
4885 * config/m68k/linux-atomic.c: Do not include unistd.h
4886
4986f823
MG
48872016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4888
4889 * config/arm/ieee754-df.S: Fix typos in comments.
4890
35fbda43
MM
48912016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4892
4893 PR target/70381
4894 * configure.ac (powerpc*-*-linux*): Rework tests to build
4895 __float128 emulation routines to not depend on using #pragma GCC
4896 target to enable -mfloat128.
4897 * configure: Regnerate.
4898
72d1a48d
EB
48992016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4900
4901 PR target/67172
4902 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4903 __MINGW32__ is defined.
4904
dc2e8995
JB
49052016-03-28 James Bowman <james.bowman@ftdichip.com>
4906
385c7747 4907 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 4908
104cdaf1
MM
49092016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4910
4911 PR libgcc/70363
4912 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4913 built with an assembler that does not support ISA 3.0
4914 instructions, rename __extendkftf2_sw to __extendkftf2.
4915
a5046f48
RO
49162016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4917
4918 PR target/38239
4919 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4920 call-clobbered registers.
4921 (internal_mcount): Remove __i386__ handling.
4922
df674f74
JS
49232016-02-26 Joel Sherrill <joel@rtems.org>
4924
4925 * config.host: Add x86_64-*-rtems*.
4926
7cb065d6
JS
49272016-02-26 Joel Sherrill <joel@rtems.org>
4928
4929 * libgcc/config.host: Add aarch64-*-rtems*.
4930
47dfdc53
PM
49312016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4932 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4933
4934 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4935 union of u64 and double.
4936 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4937 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4938 value.
4939 (FP_ROUNDMODE): Update the usage of _fpscr.
4940
e6861a99
IV
49412016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4942
4943 PR driver/68463
4944 * Makefile.in (crtoffloadtable$(objext)): New rule.
4945 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4946 enable_offload_targets is not empty.
4947 * configure: Regenerate.
4948 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4949 crtoffloadtable.
4950
9bfcbdee
MF
49512016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4952
4953 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4954 .literal_position before the function.
4955 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4956 Likewise.
4957
4cb4721f
MK
49582016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4959
4960 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4961 * config/s390/morestack.S: New file.
4962 * config/s390/t-stack-s390: New file.
4963 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4964
b29d9a29
WL
49652016-02-12 Walter Lee <walt@tilera.com>
4966
4967 * config.host (tilegx*-*-linux*): remove ti from
4968 softfp_int_modes for 32-bit configs.
4969
03a0ae7d
ILT
49702016-02-10 Ian Lance Taylor <iant@google.com>
4971
4972 PR go/68562
4973 * config/i386/morestack.S (__stack_split_initialize): Align
4974 stack.
4975
68750bce
AT
49762016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4977
4978 PR bootstrap/69611
4979 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4980 __FLOAT128__ to compile only for __float128 capable targets.
4981
7d296953
JJ
49822016-01-25 Jakub Jelinek <jakub@redhat.com>
4983
4984 PR target/69444
4985 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4986 instead of ___NO_FPRS__.
4987
a71c0334 49882016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4989 Steven Munroe <munroesj@linux.vnet.ibm.com>
4990 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
4991
4992 * config/rs6000/float128-sed: New files to convert TF names to KF
4993 names for PowerPC IEEE 128-bit floating point support.
4994 * config/rs6000/float128-sed-hw: Likewise.
4995
4996 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4997 floating point hardware support.
4998
4999 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5000 128-bit floating point software emulation or use ISA 3.0 hardware
5001 support if it is available.
5002
5003 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5004 floating point.
5005
5006 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5007 floating point to IBM extended double.
5008
5009 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5010 double to IEEE 128-bit floating point.
5011
5012 * config/rs6000/t-float128: New Makefile fragments to enable
5013 building __float128 emulation support.
5014 * config/rs6000/t-float128-hw: Likewise.
5015
5016 * config/rs6000/sfp-exceptions.c: New file to provide exception
5017 support for IEEE 128-bit floating point.
5018
5019 * config/rs6000/floattikf.c: New files for converting between IEEE
5020 128-bit floating point and signed/unsigned 128-bit integers.
5021 * config/rs6000/fixunskfti.c: Likewise.
5022 * config/rs6000/fixkfti.c: Likewise.
5023 * config/rs6000/floatuntikf.c: Likewise.
5024
5025 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5026 when building on 64-bit systems, or when VSX is enabled.
5027 (_FP_W_TYPE): Likewise.
5028 (_FP_WS_TYPE): Likewise.
5029 (_FP_I_TYPE): Likewise.
5030 (TItype): Define on 64-bit systems.
5031 (UTItype): Likewise.
5032 (TI_BITS): Likewise.
5033 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5034 (_FP_MUL_MEAT_Q): Likewise.
5035 (_FP_DIV_MEAT_D): Likewise.
5036 (_FP_DIV_MEAT_Q): Likewise.
5037 (_FP_NANFRAC_D): Likewise.
5038 (_FP_NANFRAC_Q): Likewise.
5039 (ISA_BIT): Add exception support if we are being compiled on a
5040 machine with hardware floating point support to build the IEEE
5041 128-bit emulation functions.
5042 (FP_EX_INVALID): Likewise.
5043 (FP_EX_OVERFLOW): Likewise.
5044 (FP_EX_UNDERFLOW): Likewise.
5045 (FP_EX_DIVZERO): Likewise.
5046 (FP_EX_INEXACT): Likewise.
5047 (FP_EX_ALL): Likewise.
5048 (__sfp_handle_exceptions): Likewise.
5049 (FP_HANDLE_EXCEPTIONS): Likewise.
5050 (FP_RND_NEAREST): Likewise.
5051 (FP_RND_ZERO): Likewise.
5052 (FP_RND_PINF): Likewise.
5053 (FP_RND_MINF): Likewise.
5054 (FP_RND_MASK): Likewise.
5055 (_FP_DECL_EX): Likewise.
5056 (FP_INIT_ROUNDMODE): Likewise.
5057 (FP_ROUNDMODE): Likewise.
5058
5059 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5060 VSX code, enable IEEE 128-bit floating point. If the compiler can
5061 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5062 floating point hardware instructions and it supports declaring
5063 functions with the ifunc attribute, enable ifunc functions to
5064 switch between software and hardware support.
5065 * configure.ac (powerpc*-*-linux*): Likewise.
5066 * configure: Regenerate.
5067
bdc27e50
NC
50682016-01-15 Nick Clifton <nickc@redhat.com>
5069
5070 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5071 dependency as the source file to be compiled.
5072 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5073 (lib2hw_mul_f5.o): Likewise.
5074
006df05d
MM
50752016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5076
5077 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5078 * libgcc/config/rs6000/fixkfti.c: Likewise.
5079 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5080 * libgcc/config/rs6000/float128-hw.c: Likewise.
5081 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5082 * libgcc/config/rs6000/float128-sed: Likewise.
5083 * libgcc/config/rs6000/floattikf.c: Likewise.
5084 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5085 * libgcc/config/rs6000/quad-float128.h: Likewise.
5086 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5087 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5088 * libgcc/config/rs6000/t-float128: Likewise.
5089 * libgcc/config/rs6000/t-float128-hw: Likewise.
5090 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5091 * libgcc/config.host: Likewise.
5092 * libgcc/configure: Likewise.
5093 * libgcc/configure.ac: Likewise.
5094
29176d57 50952016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5096 Steven Munroe <munroesj@linux.vnet.ibm.com>
5097 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
5098
5099 * config/rs6000/sfp-exceptions.c: New file to provide exception
5100 support for IEEE 128-bit floating point.
5101
5102 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5103 floating point hardware support.
5104
5105 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5106 point conversions.
5107 * config/rs6000/fixunskfti.c: Likewise.
5108 * config/rs6000/fixkfti.c: Likewise.
5109 * config/rs6000/floatuntikf.c: Likewise.
5110 * config/rs6000/extendkftf2-sw.c: Likewise.
5111 * config/rs6000/trunctfkf2-sw.c: Likewise.
5112
5113 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5114 128-bit floating point software emulation or use ISA 3.0 hardware
5115 support if it is available.
5116
5117 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5118 floating point.
5119
5120 * config/rs6000/t-float128: New Makefile fragments to enable
5121 building __float128 emulation support.
5122 * config/rs6000/t-float128-hw: Likewise.
5123
5124 * config/rs6000/float128-sed: New file to convert TF names to KF
5125 names for PowerPC IEEE 128-bit floating point support.
5126
5127 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5128 when building on 64-bit systems, or when VSX is enabled.
5129 (_FP_W_TYPE): Likewise.
5130 (_FP_WS_TYPE): Likewise.
5131 (_FP_I_TYPE): Likewise.
5132 (TItype): Define on 64-bit systems.
5133 (UTItype): Likewise.
5134 (TI_BITS): Likewise.
5135 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5136 (_FP_MUL_MEAT_Q): Likewise.
5137 (_FP_DIV_MEAT_D): Likewise.
5138 (_FP_DIV_MEAT_Q): Likewise.
5139 (_FP_NANFRAC_D): Likewise.
5140 (_FP_NANFRAC_Q): Likewise.
5141 (ISA_BIT): Add exception support if we are being compiled on a
5142 machine with hardware floating point support to build the IEEE
5143 128-bit emulation functions.
5144 (FP_EX_INVALID): Likewise.
5145 (FP_EX_OVERFLOW): Likewise.
5146 (FP_EX_UNDERFLOW): Likewise.
5147 (FP_EX_DIVZERO): Likewise.
5148 (FP_EX_INEXACT): Likewise.
5149 (FP_EX_ALL): Likewise.
5150 (__sfp_handle_exceptions): Likewise.
5151 (FP_HANDLE_EXCEPTIONS): Likewise.
5152 (FP_RND_NEAREST): Likewise.
5153 (FP_RND_ZERO): Likewise.
5154 (FP_RND_PINF): Likewise.
5155 (FP_RND_MINF): Likewise.
5156 (FP_RND_MASK): Likewise.
5157 (_FP_DECL_EX): Likewise.
5158 (FP_INIT_ROUNDMODE): Likewise.
5159 (FP_ROUNDMODE): Likewise.
5160
5161 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5162 compiler can do __float128.
5163 * configure: Regenerate.
5164
5165 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5166 VSX code, enable IEEE 128-bit floating point.
5167
a2218983
OH
51682016-01-05 Olivier Hainque <hainque@adacore.com>
5169
5170 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 5171 specificities.
a2218983 5172
818ab71a
JJ
51732016-01-04 Jakub Jelinek <jakub@redhat.com>
5174
5175 Update copyright years.
5176
5a6c8ffa
AP
51772015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5178
5179 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 5180 soft-fp targets.
5a6c8ffa 5181
077067a5
BE
51822015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5183
5184 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5185 instead of abort to avoid dependency on stdlib.h.
5186
787c1027
JDA
51872015-12-09 John David Anglin <danglin@gcc.gnu.org>
5188
5189 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5190 to initialize call to __dl_fixup once.
5191
04a9ae28
NC
51922015-12-04 Nick Clifton <nickc@redhat.com>
5193
5194 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5195 Allow for the second argument being negative.
5196 * config.host (extra_parts): Define for MSP430. Create separate
5197 libraries for each of the hardware multiply formats.
5198 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5199 that are needed.
5200 * config/msp430/lib2mul.c: Likewise.
5201 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5202 Add rules to build hardware multiply libraries.
5203 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5204 __mspabi_divul function.
5205 (__mspabi_divllu): New stub function.
5206
9a32d437
JDA
52072015-12-01 John David Anglin <danglin@gcc.gnu.org>
5208
5209 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5210 fixup values if saved GOT address doesn't match runtime address.
5211 (fixup_branch_offset): Reorder list.
5212
e5ef217c
RO
52132015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5214
5215 * Makefile.in (VTV_CFLAGS): New variable.
5216 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5217 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5218 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5219 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5220 to extra_parts if $enable_vtable_verify = yes.
5221
78cc43a2
SN
52222015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5223
5224 PR target/68059
5225 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5226 (write): ...this and fix the return type.
5227
9afebea2
DD
52282015-11-19 DJ Delorie <dj@redhat.com>
5229
5230 * config/msp430/lib2hw_mul.S: Fix alignment.
5231
33f47f42
NS
52322015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5233
5234 * config/nvptx/reduction.c: New.
5235 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5236
d9adb476
DE
52372015-11-15 David Edelsohn <dje.gcc@gmail.com>
5238
5239 * config/rs6000/on_exit.c: New file.
5240 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5241 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5242
c0ab1970
CZ
52432015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5244
5245 * config/arc/dp-hack.h: Add support for ARCHS.
5246 * config/arc/ieee-754/divdf3.S: Likewise.
5247 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5248 * config/arc/ieee-754/muldf3.S: Likewise.
5249 * config/arc/ieee-754/mulsf3.S: Likewise
5250 * config/arc/lib1funcs.S: Likewise
5251 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5252 for ARCv2 cores.
5253 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5254 for ARCv2 cores.
5255 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5256 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5257 cores.
5258
e6b6bf09
RO
52592015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5260
5261 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5262 value.
5263 * config/ia64/crtend.S: Likewise.
5264
a153644f
TS
52652015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5266
5267 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5268 __CHAR_BIT__ instead of BITS_PER_UNIT.
5269 * fixed-bit.h: Likewise.
5270 * fp-bit.h: Likewise.
5271 * libgcc2.c (__popcountSI2): Likewise.
5272 (__popcountDI2): Likewise.
5273 * libgcc2.h: Likewise.
5274 * libgcov.h: Likewise.
5275
3dee689d
DE
52762015-11-07 David Edelsohn <dje.gcc@gmail.com>
5277
5278 * config/rs6000/atexit.c: New file.
5279 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5280 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5281 * config/rs6000/cxa_finalize.c
5282 (catomic_compare_and_exchange_bool_acq): Negate return value.
5283
2ef543e4
VK
52842015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5285
5286 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5287 (processor_subtypes): Add znver1.
5288 (get_amd_cpu): Detect znver1.
5289
1300f017
CL
52902015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5291
5292 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5293 Include crtfastmath.o.
5294
3e5bb7ee
JR
52952015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5296
5297 PR libgcc/66883
5298 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 5299
793aa938
KP
53002015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5301
5302 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5303 * config/rl78/divmodsi.S: Update return register to r8.
5304 * config/rl78/divmodhi.S: Update return register to r8,r9.
5305 Branch to main_loop_done_himode to pop registers before return.
5306
7d296953 53072015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
5308
5309 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5310 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5311
6a192b5a
KY
53122015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5313
5314 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5315
4a0a9457
MF
53162015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5317
5318 * config.host (xtensa*-*-uclinux*): New configuration.
5319
ab91c076
KY
53202015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5321
385c7747 5322 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5323 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5324
30954527
JM
53252015-09-28 Joseph Myers <joseph@codesourcery.com>
5326
5327 * soft-fp/adddf3.c: Update from glibc.
5328 * soft-fp/addsf3.c: Likewise.
5329 * soft-fp/addtf3.c: Likewise.
5330 * soft-fp/divdf3.c: Likewise.
5331 * soft-fp/divsf3.c: Likewise.
5332 * soft-fp/divtf3.c: Likewise.
5333 * soft-fp/double.h: Likewise.
5334 * soft-fp/eqdf2.c: Likewise.
5335 * soft-fp/eqsf2.c: Likewise.
5336 * soft-fp/eqtf2.c: Likewise.
5337 * soft-fp/extenddftf2.c: Likewise.
5338 * soft-fp/extended.h: Likewise.
5339 * soft-fp/extendsfdf2.c: Likewise.
5340 * soft-fp/extendsftf2.c: Likewise.
5341 * soft-fp/extendxftf2.c: Likewise.
5342 * soft-fp/fixdfdi.c: Likewise.
5343 * soft-fp/fixdfsi.c: Likewise.
5344 * soft-fp/fixdfti.c: Likewise.
5345 * soft-fp/fixsfdi.c: Likewise.
5346 * soft-fp/fixsfsi.c: Likewise.
5347 * soft-fp/fixsfti.c: Likewise.
5348 * soft-fp/fixtfdi.c: Likewise.
5349 * soft-fp/fixtfsi.c: Likewise.
5350 * soft-fp/fixtfti.c: Likewise.
5351 * soft-fp/fixunsdfdi.c: Likewise.
5352 * soft-fp/fixunsdfsi.c: Likewise.
5353 * soft-fp/fixunsdfti.c: Likewise.
5354 * soft-fp/fixunssfdi.c: Likewise.
5355 * soft-fp/fixunssfsi.c: Likewise.
5356 * soft-fp/fixunssfti.c: Likewise.
5357 * soft-fp/fixunstfdi.c: Likewise.
5358 * soft-fp/fixunstfsi.c: Likewise.
5359 * soft-fp/fixunstfti.c: Likewise.
5360 * soft-fp/floatdidf.c: Likewise.
5361 * soft-fp/floatdisf.c: Likewise.
5362 * soft-fp/floatditf.c: Likewise.
5363 * soft-fp/floatsidf.c: Likewise.
5364 * soft-fp/floatsisf.c: Likewise.
5365 * soft-fp/floatsitf.c: Likewise.
5366 * soft-fp/floattidf.c: Likewise.
5367 * soft-fp/floattisf.c: Likewise.
5368 * soft-fp/floattitf.c: Likewise.
5369 * soft-fp/floatundidf.c: Likewise.
5370 * soft-fp/floatundisf.c: Likewise.
5371 * soft-fp/floatunditf.c: Likewise.
5372 * soft-fp/floatunsidf.c: Likewise.
5373 * soft-fp/floatunsisf.c: Likewise.
5374 * soft-fp/floatunsitf.c: Likewise.
5375 * soft-fp/floatuntidf.c: Likewise.
5376 * soft-fp/floatuntisf.c: Likewise.
5377 * soft-fp/floatuntitf.c: Likewise.
5378 * soft-fp/gedf2.c: Likewise.
5379 * soft-fp/gesf2.c: Likewise.
5380 * soft-fp/getf2.c: Likewise.
5381 * soft-fp/ledf2.c: Likewise.
5382 * soft-fp/lesf2.c: Likewise.
5383 * soft-fp/letf2.c: Likewise.
5384 * soft-fp/muldf3.c: Likewise.
5385 * soft-fp/mulsf3.c: Likewise.
5386 * soft-fp/multf3.c: Likewise.
5387 * soft-fp/negdf2.c: Likewise.
5388 * soft-fp/negsf2.c: Likewise.
5389 * soft-fp/negtf2.c: Likewise.
5390 * soft-fp/op-1.h: Likewise.
5391 * soft-fp/op-2.h: Likewise.
5392 * soft-fp/op-4.h: Likewise.
5393 * soft-fp/op-8.h: Likewise.
5394 * soft-fp/op-common.h: Likewise.
5395 * soft-fp/quad.h: Likewise.
5396 * soft-fp/single.h: Likewise.
5397 * soft-fp/soft-fp.h: Likewise.
5398 * soft-fp/subdf3.c: Likewise.
5399 * soft-fp/subsf3.c: Likewise.
5400 * soft-fp/subtf3.c: Likewise.
5401 * soft-fp/truncdfsf2.c: Likewise.
5402 * soft-fp/trunctfdf2.c: Likewise.
5403 * soft-fp/trunctfsf2.c: Likewise.
5404 * soft-fp/trunctfxf2.c: Likewise.
5405 * soft-fp/unorddf2.c: Likewise.
5406 * soft-fp/unordsf2.c: Likewise.
5407 * soft-fp/unordtf2.c: Likewise.
5408
4dfe21ac
RE
54092015-09-24 Richard Earnshaw <rearnsha@arm.com>
5410
5411 PR libgcc/67624
5412 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5413
df2a1cc4
RO
54142015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5415
5416 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5417 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5418 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5419 messages.
5420 (internal_mcount): Likewise.
5421 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5422 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5423
2d110442
RO
54242015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5425
5426 * configure.ac (libgcc_cv_solaris_crts): New test.
5427 * configure: Regenerate.
5428 * config.in: Regenerate.
5429 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5430 * config/gmon-sol2.c: Rename to ...
5431 * config/sol2/gmon.c: ... this.
5432 Include auto-target.h.
5433 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5434 * config/t-sol2: Rename to ...
5435 * config/sol2/t-sol2: ... this.
5436 (gmon.o): Reflect renaming.
5437 (crtp.o, crtpg.o): New rules.
5438 * config.host (*-*-solaris2*): Reflect renaming.
5439 Use system CRTs if present.
5440 Remove default CRT case.
5441
d572e439
JDA
54422015-09-23 John David Anglin <danglin@gcc.gnu.org>
5443
5444 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5445 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5446 __kernel_cmpxchg2.
5447 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5448 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5449 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5450 (__sync_lock_test_and_set_##WIDTH): Likewise.
5451 (__sync_lock_release_##WIDTH): Likewise.
5452 (__sync_fetch_and_##OP##_4): Change result to match type of
5453 __kernel_cmpxchg.
5454 (__sync_##OP##_and_fetch_4): Likewise.
5455 (__sync_val_compare_and_swap_4): Likewise.
5456 (__sync_bool_compare_and_swap_4): likewise.
5457 (__sync_lock_test_and_set_4): Likewise.
5458 (__sync_lock_release_4): Likewise.
5459 (FETCH_AND_OP_2): Add long long variants.
5460 (OP_AND_FETCH_2): Likewise.
5461 (COMPARE_AND_SWAP_2 ): Likewise.
5462 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5463 (SYNC_LOCK_RELEASE_2): Likewise.
5464 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5465
7d296953 54662015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5467
5468 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5469 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5470 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5471 (get_available_features): Habdle new features.
5472
131314e1
JB
54732015-09-21 James Bowman <james.bowman@ftdichip.com>
5474
5475 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5476 memory layout. Deal correctly with BSS region larger than 32K.
5477 Handle a watchdog reset like a power-on reset. Clean up unused
5478 code.
5479
04218b35
AD
54802015-09-18 Andrew Dixie <andrewd@gentrack.com>
5481 David Edelsohn <dje.gcc@gmail.com>
5482
5483 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5484 * config/rs6000/crtdbase.S: New file.
5485 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5486
c8338173
MF
54872015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5488
5489 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5490 Add support for call0 ABI.
5491
7a84bf71
JDA
54922015-09-13 John David Anglin <danglin@gcc.gnu.org>
5493
5494 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5495
4efab402
SH
54962015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5497
5498 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5499 (__GTHREAD_HAS_COND): Likewise.
5500 (__gthread_t): Likewise.
5501 (__gthread_cond_t): Likewise.
5502 (__gthread_time_t): Likewise.
5503 (__GTHREAD_MUTEX_INIT): Likewise.
5504 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5505 (__GTHREAD_COND_INIT): Likewise.
5506 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5507 (__GTHREAD_TIME_INIT): Likewise.
5508 (__gthread_create): Likewise.
5509 (__gthread_join): Likewise.
5510 (__gthread_detach): Likewise.
5511 (__gthread_equal): Likewise.
5512 (__gthread_self): Likewise.
5513 (__gthread_yield): Likewise.
5514 (__gthread_cond_broadcast): Likewise.
5515 (__gthread_cond_signal): Likewise.
5516 (__gthread_cond_wait): Likewise.
5517 (__gthread_cond_timedwait): Likewise.
5518 (__gthread_cond_wait_recursive): Likewise.
5519 (__gthread_cond_destroy): Likewise.
5520 (rtems_gxx_once): Delete.
5521 (rtems_gxx_key_create): Likewise.
5522 (rtems_gxx_key_delete): Likewise.
5523 (rtems_gxx_getspecific): Likewise.
5524 (rtems_gxx_setspecific): Likewise.
5525 (rtems_gxx_mutex_init): Likewise.
5526 (rtems_gxx_mutex_destroy): Likewise.
5527 (rtems_gxx_mutex_lock): Likewise.
5528 (rtems_gxx_mutex_trylock): Likewise.
5529 (rtems_gxx_mutex_unlock): Likewise.
5530 (rtems_gxx_recursive_mutex_init): Likewise.
5531 (rtems_gxx_recursive_mutex_lock): Likewise.
5532 (rtems_gxx_recursive_mutex_trylock): Likewise.
5533 (rtems_gxx_recursive_mutex_unlock): Likewise.
5534 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5535 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5536 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5537 (__gthread_once): Likewise.
5538 (__gthread_key_create): Likewise.
5539 (__gthread_key_delete): Likewise.
5540 (__gthread_getspecific): Likewise.
5541 (__gthread_setspecific): Likewise.
5542 (__gthread_key_t): Use <pthread.h> type.
5543 (__gthread_once_t): Likewise
5544 (__gthread_mutex_t): Use <sys/lock.h> type.
5545 (__gthread_recursive_mutex_t): Likewise
5546 (__gthread_mutex_lock): Use <sys/lock.h> function.
5547 (__gthread_mutex_trylock): Likewise.
5548 (__gthread_mutex_timedlock): Likewise.
5549 (__gthread_mutex_unlock): Likewise.
5550 (__gthread_mutex_destroy): Likewise.
5551 (__gthread_recursive_mutex_lock): Likewise.
5552 (__gthread_recursive_mutex_trylock): Likewise.
5553 (__gthread_recursive_mutex_timedlock): Likewise.
5554 (__gthread_recursive_mutex_unlock): Likewise.
5555 (__gthread_recursive_mutex_destroy): Likewise.
5556
991995c4
MF
55572015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5558
5559 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5560 context->sp instead of context->cfa.
5561
0e19db59
MF
55622015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5563
5564 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5565 with unwind-dw2-fde-dip.
5566
b6ac5f62
MF
55672015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5568
5569 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5570 CALL12 followed by series of ENTRY to spill windowed registers.
5571 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5572 instead of making linux spill syscall.
5573
3e0f3349
YR
55742015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5575
5576 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5577 (get_intel_cpu): Likewise.
5578
51c728b1
L
55792015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5580
5581 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5582 (get_intel_cpu): Add Knights Landing support.
5583
aff4eeac
UB
55842015-08-11 Uros Bizjak <ubizjak@gmail.com>
5585
5586 PR target/66954
5587 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5588 (get_available_features): Handle FEATURE_PCLMUL.
5589
736e56da
L
55902015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5591
5592 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5593 Broadwell.
5594
54d22142
UB
55952015-07-22 Uros Bizjak <ubizjak@gmail.com>
5596
5597 PR target/66954
5598 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5599 (get_available_features): Handle FEATURE_AES.
5600
20ca17e4
CLT
56012015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5602
5603 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5604 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5605
ebe4a560
NS
56062015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5607
5608 * offloadstuff.c: Constify host data.
5609
180744c0
JB
56102015-07-17 Jan Beulich <jbeulich@suse.com>
5611
5612 * config/t-softfp: Split up "else ifneq".
5613
a03c6ae3
SL
56142015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5615 Cesar Philippidis <cesar@codesourcery.com>
5616 Chung-Lin Tang <cltang@codesourcery.com>
5617
5618 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5619 for __nios2_arch__ level.
5620
73358db5
JM
56212015-07-13 John Marino <gnugcc@marino.st>
5622
5623 * config/i386/t-dragonfly: New.
5624
f9a12f7b
JDA
56252015-07-01 John David Anglin <danglin@gcc.gnu.org>
5626
5627 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5628 better match light-weight syscall argument order.
5629 (__kernel_cmpxchg2): Likewise.
5630 Adjust callers.
5631
cb78b51c
L
56322015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5633
5634 * config.host: Support i[34567]86-*-elfiamcu target.
5635 * config/t-softfp-sfdftf: New file.
5636 * config/i386/32/t-iamcu: Likewise.
5637 * configure: Regenerated.
5638
4fa0f9ea
JL
56392015-06-23 James Lemke <jwlemke@codesourcery.com>
5640
5641 libgcc/config/arm/
5642 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5643
428b3812
L
56442015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5645
5646 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5647
7d296953 56482015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
5649
5650 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5651 md_unwind_header
5652 * config/i386/freebsd-unwind.h: New.
5653
9b789cc1
UB
56542015-05-22 Uros Bizjak <ubizjak@gmail.com>
5655
5656 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5657 i386/t-crtfm to tmake_file.
5658 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5659 (set_fast_math): Use set_fast_math_sse for SSE targets.
5660 * config/i386/t-crtfm: Remove.
5661
3dafb220
AM
56622015-05-21 Alan Modra <amodra@gmail.com>
5663
5664 PR libgcc/66225
5665 * config/rs6000/morestack.S: Remove ".abiversion 1".
5666
0f0fd745
AM
56672015-05-20 Alan Modra <amodra@gmail.com>
5668
5669 * config/rs6000/morestack.S: New.
5670 * config/rs6000/t-stack-rs6000: New.
5671 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5672 to tmake_file.
5673 * generic-morestack.c: Don't build for powerpc 32-bit.
5674
515ae71b
EB
56752015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5676
5677 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5678 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5679
36805406
JL
56802015-05-16 James Bowman <james.bowman@ftdichip.com>
5681
5682 * config.host: FT32 target added.
5683 * config/ft32/*: New files for FT32 target.
5684
ff935d0c
MG
56852015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5686
385c7747
UB
5687 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5688 New macros.
5689 * config/arm/ieee754-df.S: Add CFI directives.
5690 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 5691
9b92a9f3
EB
56922015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5693
5694 * configure.ac: Include config/sjlj.m4.
5695 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5696 * config.in: Regenerate.
5697 * configure: Likewise.
5698 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5699
98b5dc61
UB
57002015-05-12 Uros Bizjak <ubizjak@gmail.com>
5701
5702 * libgcov-util.c: Add space between string literal and macro name.
5703
5a0ff57c
SL
57042015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5705 Chris Jones <chrisj@nvidia.com>
5706 Joshua Conner <jconner@nvidia.com>
5707
5708 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5709 (arm*-*-uclinux*): Likewise.
5710 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5711 * config/arm/crtfastmath.c: New file.
5712
d28ad5d4
BS
57132014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5714
5715 * Makefile.in (real_host_noncanonical): New variable.
5716 (libsubdir): Use it.
5717 * configure.ac (real_host_noncanonical): Compute. Remove special
5718 case for intelmicemul.
5719 * configure: Regenerate.
5720
cc86234f
UB
57212015-04-28 Uros Bizjak <ubizjak@gmail.com>
5722
5723 * config/frv/elf-lib.h: New file.
5724 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5725 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5726 to tm_file.
5727
57282015-04-28 Uros Bizjak <ubizjak@gmail.com>
5729
5730 * config/frv/frvbengin.c: Do not include defaults.h
5731 * config/frv/frvend.c: Ditto.
5732
2f6bd6eb
YS
57332015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5734
5735 * config.host: Add h8300-*-linux
5736 * config/h8300/t-linux: New file.
5737 * config/h8300/lib1funs.s: Change symbol prefix.
5738 * config/h8300/sfp-machine.h: 64bit double support.
5739
15aa7b44
GR
57402015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5741 Szabolcs Nagy <szabolcs.nagy@arm.com>
5742
5743 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5744 Linux if target provides dl_iterate_phdr.
5745
abd0cdc9
L
57462015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5747
5748 PR target/65612
5749 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5750 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5751 (__cpu_indicator_init@GCC_4.8.0): New.
5752 (__cpu_model@GCC_4.8.0): Likewise.
5753 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5754 -DUSE_ELF_SYMVER.
5755
72ed1126
NC
57562015-04-16 Nick Clifton <nickc@redhat.com>
5757
5758 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5759 and __modhi3 functions.
5760 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5761 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5762
d26b2237
CG
57632015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5764
5765 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5766 do-while loop as macro body to avoid warnings.
5767
cacf1f59
JJ
57682015-04-10 Jakub Jelinek <jakub@redhat.com>
5769 Iain Sandoe <iain@codesourcery.com>
5770
5771 PR target/65351
5772 * configure: Regenerate.
5773
e8a4ed3b
JJ
57742015-04-07 Jakub Jelinek <jakub@redhat.com>
5775 Iain Sandoe <iain@codesourcery.com>
5776
5777 PR target/65351
5778 * configure: Regenerate.
5779
0341335e
CLT
57802015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5781
5782 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5783
590e2636 57842015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 5785
590e2636
MF
5786 Implement call0 ABI for xtensa
5787 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5788 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5789 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5790 use ret in call0 ABI.
5791 * config/xtensa/t-windowed: New file.
5792 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5793 * libgcc/configure: Regenerated.
5794 * libgcc/configure.ac: Check if xtensa target is configured for
5795 windowed ABI and thus needs to use custom unwind code.
5796
7727f8f2
JW
57972015-02-12 Jonathan Wakely <jwakely@redhat.com>
5798
5799 PR libgcc/64885
5800 * gthr-single.h: Use __unused__ attribute instead of unused.
5801 * config/gthr-vxworks.h: Likewise.
5802 * config/i386/gthr-win32.h: Likewise.
5803
0e4a0def
KT
58042015-02-27 Kai Tietz <ktietz@redhat.com>
5805
5806 PR target/65038
5807 * config.in: Regenerated.
5808 * configure: Likewise.
5809 * configure.ac (AC_HEADER_STDC): Added explicit.
5810 (AC_CHECK_HEADERS): Check for default headers plus
5811 for ftw.h header.
5812 * libgcov-util.c (gcov_read_profile_dir): Disable use
5813 of ftw-function, if header is not found.
5814 (ftw_read_file): Likewise.
5815
b6530d0a
TS
58162015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5817
5818 PR target/65181
5819 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5820 -Dinhibit_libc.
5821
53cfb467
SL
58222015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5823
5824 * config/arm/bpabi.S (test_div_by_zero): Make label names
5825 consistent between thumb2 and arm mode cases. Separate the
5826 signed comparison on the high word of the numerator from the
5827 unsigned comparison on the low word.
5828 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5829 signed comparison.
5830
77d10a1b
JM
58312015-02-17 Joseph Myers <joseph@codesourcery.com>
5832
5833 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5834 and <string.h>.
5835 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5836
98174188
RE
58372015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5838
5839 PR gcov-profile/61889
471274de 5840 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 5841
771bef14
NC
58422015-02-02 Nick Clifton <nickc@redhat.com>
5843
5844 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5845 rounding up the fraction.
5846
40702893
JDA
58472015-01-31 John David Anglin <danglin@gcc.gnu.org>
5848
5849 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5850 oldval and newval to const void *. Fix typo.
5851 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5852 (FETCH_AND_OP_WORD): Likewise.
5853 (OP_AND_FETCH_WORD): Likewise.
5854 (COMPARE_AND_SWAP_2): Likewise.
5855 (__sync_val_compare_and_swap_4): Likewise.
5856 (__sync_lock_test_and_set_4): Likewise.
5857 (SYNC_LOCK_RELEASE_2): Likewise.
5858 Remove support for long long atomic operations.
5859
f7f049fa
CT
58602015-01-27 Caroline Tice <cmtice@google.com>
5861
5862 Committing VTV Cywin/Ming patch for Patrick Wollgast
5863 * Makefile.in: Move rules to build vtv_*.o out of the check
5864 for CUSTOM_CRTSTUFF.
5865 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5866 i[34567]86-*-mingw*)
5867 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5868 enable_vtable_verify.
5869
8410904a
NC
58702015-01-27 Nick Clifton <nickc@redhat.com>
5871
5872 * config/rl78/cmpsi2.S: Use function start and end macros.
5873 (__gcc_bcmp): New function.
5874 * config/rl78/lshrsi3.S: Use function start and end macros.
5875 * config/rl78/mulsi3.S: Add support for G10.
5876 (__mulqi3): New function for G10.
5877 * config/rl78/signbit.S: Use function start and end macros.
5878 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5879 fpmath-sf.S.
5880 (LIB2FUNCS_EXCLUDE): Define.
5881 (LIB2FUNCS_ST): Define.
5882 * config/rl78/trampoline.S: Use function start and end macros.
5883 * config/rl78/vregs.h (START_FUNC): New macro.
5884 (START_ANOTHER_FUNC): New macro.
5885 (END_FUNC): New macro.
5886 (END_ANOTHER_FUNC): New macro.
5887 * config/rl78/bit-count.S: New file. Contains assembler
5888 implementations of the bit counting functions: ___clzhi2,
5889 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5890 __paritysi2, __popcounthi2 and __popcountsi2.
5891 * config/rl78/fpbit-sf.S: New file. Contains assembler
5892 implementationas of the math functions: __negsf2, __cmpsf2,
5893 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5894 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5895 * config/rl78/fpmath-sf.S: New file. Contains assembler
5896 implementations of the math functions: __subsf3, __addsf3,
5897 __mulsf3 and __divsf3
5898
f962fbf1
RO
58992015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5900
5901 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5902 Add i386/elf-lib.h to tm_file.
5903 * config/i386/elf-lib.h: Fix comment.
5904 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5905 && __sun__ && __svr4__]: Remove workaround.
5906
939911c5
ASJ
59072015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5908
5909 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5910 FEATURE_BMI2.
5911 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5912
c8f2dff2
L
59132015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5914
5915 * config/i386/cpuinfo.c (processor_subtypes): Add
5916 INTEL_COREI7_BROADWELL.
5917 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5918 model numbers.
5919
7bbf9734
UB
59202015-01-23 Uros Bizjak <ubizjak@gmail.com>
5921
5922 * config/i386/elf-lib.h: New file.
5923 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5924 Wrap definition in #ifdef __i386__.
5925 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5926 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5927 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5928 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5929 to tm_file.
5930
324820f1
CG
59312015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5932
5933 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5934 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5935
a9ce4e4a
CLT
59362015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5937
5938 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5939 Update rt_sigframe format and address for current Nios II
5940 Linux conventions.
5941
82a19768
AT
59422015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5943
5944 * config.host (arm*-*-freebsd*): Add new configuration for
5945 arm*-*-freebsd*.
5946 * config/arm/freebsd-atomic.c: New file.
5947 * config/arm/t-freebsd: Likewise.
5948 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5949 'PC-relative indirect' OS's.
5950
0969ec7d
EB
59512015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5952
5953 * config.host: Add Visium support.
5954 * config/visium: New directory.
5955
5624e564
JJ
59562015-01-05 Jakub Jelinek <jakub@redhat.com>
5957
5958 Update copyright years.
5959
82f84ecb
MF
59602014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5961
5962 * config.host: Support mipsisa32r6 and mipsisa64r6.
5963 * config/mips/mips16.S: Do not build for R6.
5964
69044fa9
OE
59652014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5966
5967 * config/sh/crt.h: New.
5968 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5969 symbols.
5970 * config/sh/crt1.S: Likewise.
5971
2405e0ea
UB
59722014-12-15 Uros Bizjak <ubizjak@gmail.com>
5973
5974 PR libgcc/63832
5975 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5976 func_ptr *dtor_list temporary variable to avoid "array subscript
5977 is above array bounds" warnings.
5978
7d296953 59792014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
5980
5981 * Makefile.in (with_aix_soname): Define.
5982 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5983 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5984 * configure: Recreate.
5985
a66272f6
OH
59862014-12-05 Olivier Hainque <hainque@adacore.com>
5987
5988 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5989 now provided by defaults.h.
5990
6342b2c5
OE
59912014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5992
7d0ee249 5993 PR target/55351
6342b2c5
OE
5994 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5995 whether it's defined.
5996
c17eac85
IT
59972014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5998
5999 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6000 * config/i386/cpuinfo.c (get_available_features): Detect it.
6001
1025cb6c
TW
60022014-11-27 Tony Wang <tony.wang@arm.com>
6003
6004 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6005 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6006 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6007
d19f2e38
SB
60082014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6009
6010 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6011
17f6e9a3
JDA
60122014-11-24 John David Anglin <danglin@gcc.gnu.org>
6013
6014 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6015 instead.
6016
0cd7c672
GM
60172014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6018 John David Anglin <danglin@gcc.gnu.org>
6019
6020 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6021 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6022 (OP_AND_FETCH_2): Likewise.
6023 (COMPARE_AND_SWAP_2): Likewise.
6024 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6025 (SYNC_LOCK_RELEASE_2): Likewise.
6026 (SUBWORD_SYNC_OP): Remove.
6027 (SUBWORD_VAL_CAS): Likewise.
6028 (SUBWORD_BOOL_CAS): Likewise.
6029 (FETCH_AND_OP_WORD): Update.
6030 Consistently use signed types.
cc86234f 6031
85c64bbe
BS
60322014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6033 Thomas Schwinge <thomas@codesourcery.com>
6034 Ilya Verbin <ilya.verbin@intel.com>
6035 Andrey Turetskiy <andrey.turetskiy@intel.com>
6036
6037 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6038 (crtoffloadend$(objext)): Likewise.
6039 * configure: Regenerate.
6040 * configure.ac (accel_dir_suffix): Compute new variable.
6041 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6042 if enable_offload_targets is not empty.
6043 * offloadstuff.c: New file.
6044
52a1ff8b
NC
60452014-11-13 Nick Clifton <nickc@redhat.com>
6046
6047 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6048 Use START_FUNC and END_FUNC macros to enable linker garbage
6049 collection.
6050 * config/rl78/divmodqi.S: Likewise.
6051 * config/rl78/divmodsi.S: Likewise.
6052 * config/rl78/mulsi3.S: Likewise.
6053 * config/rl78/lib2div.c: Remove G10 functions.
6054 * config/rl78/lib2muls.c: Likewise.
6055 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6056 * config/rl78/vregs.h (START_FUNC): New macro.
6057 (END_FUNC): New macro.
6058
050af144
MF
60592014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6060
6061 * config/mips/mips16.S: Set .module when supported. Update O32
6062 FP64 calling convention and use for FPXX when possible. Add FPXX
6063 calling convention fallback case.
6064
738f2522
BS
60652014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6066
6067 * config.host: Handle nvptx-*-*.
6068 * shared-object.mk (as-flags-$o): Define.
6069 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6070 -xassembler-with-cpp.
6071 * static-object.mk: Identical changes.
6072 * config/nvptx/t-nvptx: New file.
6073 * config/nvptx/crt0.s: New file.
6074 * config/nvptx/free.asm: New file.
6075 * config/nvptx/malloc.asm: New file.
6076 * config/nvptx/realloc.c: New file.
6077
e610393c
JM
60782014-10-30 Joseph Myers <joseph@codesourcery.com>
6079
6080 * Makefile.in (libgcc.map.in): New target.
6081 (libgcc.map): Use libgcc.map.in.
6082 * config/t-softfp (softfp_compat): New variable to be set by
6083 users.
6084 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6085 variables.
6086 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6087 directory.
6088 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6089 that use compat symbols and disable all code unless [SHARED].
6090 * config/t-softfp-compat: New file.
6091 * find-symver.awk: New file.
6092 * configure.ac (--with-glibc-version): New configure option.
6093 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6094 * configure: Regenerate.
6095 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6096 soft-float and e500.
6097
bc1b3a88
JM
60982014-10-29 Joseph Myers <joseph@codesourcery.com>
6099
6100 * config/t-hardfp (hardfp_exclusions): Document new variable for
6101 user to define.
6102 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6103 * config/t-softfp (softfp_extras): Document new variable for user
6104 to define.
6105 (softfp_func_list): Add functions from $(softfp_extras).
6106 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6107 * config.host (powerpc*-*-linux*): For e500v1, use
6108 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6109 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6110 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6111
ef2810c1
JDA
61122014-10-26 John David Anglin <danglin@gcc.gnu.org>
6113
6114 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6115 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6116 memory read accesses are ok.
6117
d80c2bea
JM
61182014-10-25 Joseph Myers <joseph@codesourcery.com>
6119
6120 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6121 * configure: Regenerate.
6122 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6123 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6124 of soft-fp for 32-bit classic hard float. Do not use
6125 t-softfp-excl for soft float.
6126
693b297b
JM
61272014-10-22 Joseph Myers <joseph@codesourcery.com>
6128
6129 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6130 configurations.
6131 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6132 Remove variables.
6133
18a3415e
GJL
61342014-10-22 Georg-Johann Lay <avr@gjlay.de>
6135
6136 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6137 introduced with 2014-10-21 trunk r216525.
6138
c1dd9790 61392014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
6140 Vidya Praveen <vidya.praveen@atmel.com>
6141 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6142 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6143 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
6144
6145 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6146 order.
6147
6148 Updated library functions for AVRTINY arch.
6149 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6150 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6151 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6152 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6153 wsubi/wadi macors.
6154 (__mulsi3_helper): Update stack, preserve callee saved regs and
6155 argument from stack. Restore callee save registers.
6156 (__mulpsi3): Likewise.
6157 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6158 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 6159 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
6160 AVRTINY.
6161 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6162 (__do_copy_data): Added new definition for AVRTINY.
6163 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6164 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6165 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6166 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6167 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6168 macors.
18a3415e 6169 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
6170 AVRTINY.
6171
18a3415e 6172 Fix broken long multiplication on tiny arch.
c1dd9790 6173
5f606431
JM
61742014-10-09 Joseph Myers <joseph@codesourcery.com>
6175
6176 * soft-fp/double.h: Update from glibc.
6177 * soft-fp/eqdf2.c: Likewise.
6178 * soft-fp/eqsf2.c: Likewise.
6179 * soft-fp/eqtf2.c: Likewise.
6180 * soft-fp/extenddftf2.c: Likewise.
6181 * soft-fp/extended.h: Likewise.
6182 * soft-fp/extendsfdf2.c: Likewise.
6183 * soft-fp/extendsftf2.c: Likewise.
6184 * soft-fp/extendxftf2.c: Likewise.
6185 * soft-fp/gedf2.c: Likewise.
6186 * soft-fp/gesf2.c: Likewise.
6187 * soft-fp/getf2.c: Likewise.
6188 * soft-fp/ledf2.c: Likewise.
6189 * soft-fp/lesf2.c: Likewise.
6190 * soft-fp/letf2.c: Likewise.
6191 * soft-fp/op-1.h: Likewise.
6192 * soft-fp/op-2.h: Likewise.
6193 * soft-fp/op-4.h: Likewise.
6194 * soft-fp/op-8.h: Likewise.
6195 * soft-fp/op-common.h: Likewise.
6196 * soft-fp/quad.h: Likewise.
6197 * soft-fp/single.h: Likewise.
6198 * soft-fp/soft-fp.h: Likewise.
6199 * soft-fp/unorddf2.c: Likewise.
6200 * soft-fp/unordsf2.c: Likewise.
6201 * soft-fp/unordtf2.c: Likewise.
6202 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6203 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6204 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6205 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6206 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6207 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6208 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6209 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6210 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6211 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6212
9b84e7a8
RX
62132014-10-08 Rong Xu <xur@google.com>
6214
6215 * libgcov-util.c (read_gcda_file): Fix format.
6216 (find_match_gcov_info): Ditto.
6217 (calculate_2_entries): New.
6218 (compute_one_gcov): Ditto.
6219 (gcov_info_count_all_cold): Ditto.
6220 (gcov_info_count_all_zero): Ditto.
6221 (extract_file_basename): Ditto.
6222 (get_file_basename): Ditto.
6223 (set_flag): Ditto.
6224 (matched_gcov_info): Ditto.
6225 (calculate_overlap): Ditto.
6226 (gcov_profile_overlap): Ditto.
6227 * libgcov-driver.c (compute_summary): Make
6228 it avavilable for external calls.
6229
fe1090c1
RX
62302014-10-06 Rong Xu <xur@google.com>
6231
6232 * Makefile.in: Ditto.
6233 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6234 (gcov_sort_icall_topn_counter): Ditto.
6235 (gcov_sort_topn_counter_arrays): Ditto.
6236 (dump_one_gcov): Sort indirect_call topn counters.
6237 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6238 function.
6239 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6240 utility function.
6241 (__gcov_indirect_call_topn_profiler): New profiler function.
6242 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6243 * libgcov.h: New decls.
6244
3daa7bbf
TS
62452014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6246
6247 * config.host: Remove support for score-*.
6248
9a79452d
JM
62492014-09-22 Joseph Myers <joseph@codesourcery.com>
6250
6251 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6252 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6253 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6254 __LIBGCC_XF_MANT_DIG__.
6255 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6256 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6257 __LIBGCC_TF_MANT_DIG__.
6258 * libgcc2.c (NOTRUNC): Define in terms of
6259 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6260 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6261
1a849e50
JM
62622014-09-22 Joseph Myers <joseph@codesourcery.com>
6263
6264 PR target/63312
6265 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6266 New macros.
6267
598a1586
HPN
62682014-09-22 Hans-Peter Nilsson <hp@axis.com>
6269
6270 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6271 override USE_PT_GNU_EH_FRAME.
6272 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6273 check USE_EH_FRAME_REGISTRY_ALWAYS against
6274 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6275 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6276 variable for substituted force_explicit_eh_registry.
6277 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6278 * configure.ac (explicit-exception-frame-registration):
6279 New AC_ARG_ENABLE.
6280 * configure: Regenerate.
6281
3a8fe7c6
OH
62822014-09-19 Olivier Hainque <hainque@adacore.com>
6283
6284 * config.host (powerpc-wrs-vxworksmils): New configuration,
6285 same as vxworksae.
6286
dd69f047
JM
62872014-09-18 Joseph Myers <joseph@codesourcery.com>
6288
6289 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6290
e770bfd9
JM
62912014-09-18 Joseph Myers <joseph@codesourcery.com>
6292
6293 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6294 bits not set bits as indicating trapping exceptions.
6295
cadb2b96
NS
62962014-09-17 Nathan sidwell <nathan@acm.org>
6297
6298 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6299 (LIBGCOV_DRIVER): ... here.
6300 * libgcov-driver.c (gcov_master): New.
6301 (gcov_exit): Remove from master chain.
6302 (__gcov_init): Add to master chain if version compatible. Don't
6303 clear the version.
6304 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6305 (gcov_reset_int): Clear master chain, if compatible.
6306 (gcov_dump_int): New internal interface. Dump master chain, if
6307 compatible.
6308 (gcov_dump): Alias for gcov_dump_int.
6309 * libgcov.h (struct gcov_root): Add next and prev fields.
6310 (struct gcov_master): New struct.
6311 (__gcov_master): New.
6312 (gcov_dump_int): Declare.
6313
580d22a3
OH
63142014-09-17 Olivier Hainque <hainque@adacore.com>
6315
6316 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6317 and crtbegin.o + crtend.o to extra_parts.
6318
8cc4b7a2
JM
63192014-09-12 Joseph Myers <joseph@codesourcery.com>
6320
6321 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6322 __LIBGCC_HAS_SF_MODE__.
6323 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6324 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6325 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6326 * config/libbid/bid_gcc_intrinsics.h
6327 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6328 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6329 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6330 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6331 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6332 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6333
ea3f2b24
GJL
63342014-09-11 Georg-Johann Lay <avr@gjlay.de>
6335
6336 PR target/63223
6337 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6338 and R24 as needed. Make work for all devices and .text locations.
6339 (__do_global_ctors, __do_global_dtors): Use word addresses.
6340 (__tablejump__, __tablejump_elpm__): Remove functions.
6341 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6342 Add _tablejump2.
6343 (XICALL, XIJMP): New macros.
6344
b677236a
MS
63452014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6346 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6347
6348 * config.host (aarch64*): Include crtfastmath.o and
6349 t-crtfm.
6350 * config/aarch64/crtfastmath.c: New file.
6351
157e859f
TS
63522014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6353
6354 * config.host: Remove picochip support.
6355 * config/picochip/adddi3.S: Remove.
6356 * config/picochip/ashlsi3.S: Remove.
6357 * config/picochip/ashlsi3.c: Remove.
6358 * config/picochip/ashrsi3.S: Remove.
6359 * config/picochip/ashrsi3.c: Remove.
6360 * config/picochip/clzsi2.S: Remove.
6361 * config/picochip/cmpsi2.S: Remove.
6362 * config/picochip/divmod15.S: Remove.
6363 * config/picochip/divmodhi4.S: Remove.
6364 * config/picochip/divmodsi4.S: Remove.
6365 * config/picochip/lib1funcs.S: Remove.
6366 * config/picochip/longjmp.S: Remove.
6367 * config/picochip/lshrsi3.S: Remove.
6368 * config/picochip/lshrsi3.c: Remove.
6369 * config/picochip/parityhi2.S: Remove.
6370 * config/picochip/popcounthi2.S: Remove.
6371 * config/picochip/setjmp.S: Remove.
6372 * config/picochip/subdi3.S: Remove.
6373 * config/picochip/t-picochip: Remove.
6374 * config/picochip/ucmpsi2.S: Remove.
6375 * config/picochip/udivmodhi4.S: Remove.
6376 * config/picochip/udivmodsi4.S: Remove.
6377
66bb34c0
JM
63782014-09-08 Joseph Myers <joseph@codesourcery.com>
6379
6380 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6381 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6382 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6383 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6384 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6385 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6386 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6387 defined and LIBGCC2_HAS_DF_MODE is defined.
6388 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6389 defined and LIBGCC2_HAS_XF_MODE is defined.
6390 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6391 defined and LIBGCC2_HAS_TF_MODE is defined.
6392
9686a2e6
JM
63932014-09-08 Joseph Myers <joseph@codesourcery.com>
6394
6395 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6396 and ROUND_TOWARDS_ZERO conditionals.
6397
71c3e2ef
NS
63982014-09-07 Nathan sidwell <nathan@acm.org>
6399
6400 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6401 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6402
53d68b9f
JM
64032014-09-05 Joseph Myers <joseph@codesourcery.com>
6404
6405 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6406 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6407 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6408 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6409 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6410 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6411 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6412 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6413 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6414 (DWARF_FRAME_REGISTERS): Change all uses to
6415 __LIBGCC_DWARF_FRAME_REGISTERS__.
6416 (EH_RETURN_STACKADJ_RTX): Change all uses to
6417 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6418 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6419 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6420 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6421 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6422 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6423 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6424 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6425 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6426 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6427 __LIBGCC_STACK_POINTER_REGNUM__.
6428 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6429 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6430 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6431 to __LIBGCC_STACK_POINTER_REGNUM__.
6432 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6433 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6434 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6435 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6436 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6437 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6438 (STACK_POINTER_REGNUM): Change all uses to
6439 __LIBGCC_STACK_POINTER_REGNUM__.
6440 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6441 use to __LIBGCC_STACK_POINTER_REGNUM__.
6442 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6443 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6444 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6445 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6446 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6447 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6448 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6449 to __LIBGCC_STACK_POINTER_REGNUM__.
6450 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6451 Remove conditional definition.
6452 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6453 __LIBGCC_TEXT_SECTION_ASM_OP__.
6454 (EH_FRAME_SECTION_NAME): Change all uses to
6455 __LIBGCC_EH_FRAME_SECTION_NAME__.
6456 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6457 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6458 (CTORS_SECTION_ASM_OP): Change all uses to
6459 __LIBGCC_CTORS_SECTION_ASM_OP__.
6460 (DTORS_SECTION_ASM_OP): Change all uses to
6461 __LIBGCC_DTORS_SECTION_ASM_OP__.
6462 (JCR_SECTION_NAME): Change all uses to
6463 __LIBGCC_JCR_SECTION_NAME__.
6464 (INIT_SECTION_ASM_OP): Change all uses to
6465 __LIBGCC_INIT_SECTION_ASM_OP__.
6466 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6467 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6468 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6469 __LIBGCC_STACK_GROWS_DOWNWARD__.
6470 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6471 __LIBGCC_INIT_SECTION_ASM_OP__.
6472 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6473 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6474 (EH_FRAME_SECTION_NAME): Change all uses to
6475 __LIBGCC_EH_FRAME_SECTION_NAME__.
6476 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6477 definitions. Change all uses to
6478 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6479 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6480 __LIBGCC_STACK_GROWS_DOWNWARD__.
6481 (DWARF_FRAME_REGISTERS): Change all uses to
6482 __LIBGCC_DWARF_FRAME_REGISTERS__.
6483 (EH_RETURN_STACKADJ_RTX): Change all uses to
6484 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6485 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6486 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6487 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6488 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6489 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6490
b20ee094
NS
64912014-09-02 Nathan sidwell <nathan@acm.org>
6492
6493 * libgcov-interface.c (STRONG_ALIAS): New.
6494 (__gcov_flush): Call __gcov_reset_int.
6495 (__gcov_reset): Strong alias for ...
6496 (__gcov_reset_ing): ... this renamed hidden version.
6497 * libgcov.h (__gcov_reset_int): New declaration.
6498
1ac83976
YS
64992014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6500
25efdb9f
YS
6501 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6502 call from here...
6503 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6504 (__dso_handle): Define on Cygwin.
6505 * config/i386/t-cygming (crtbeginS.o): New rule.
6506 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6507
1ac83976
YS
6508 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6509 declaration syntax.
6510
c6f9ea3b
SE
65112014-08-13 Steve Ellcey <sellcey@mips.com>
6512
6513 * crtstuff.c: Undef caddr_t.
6514
5b1ea7c5
SE
65152014-08-12 Steve Ellcey <sellcey@mips.com>
6516
6517 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6518
4303c581
NS
65192014-08-07 Nathan Sidwell <nathan@acm.org>
6520
6521 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6522 (LIBGCOV_DRIVER): ... to here.
6523 * libgcov.h (gcov_do_dump): New #define.
6524 (struct gcov_root): New.
6525 (__gcov_root): New declaration.
6526 (__gcov_dump_one): Declare.
6527 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6528 run_accounted): Delete.
6529 (gcov_compute_histogram): Add LIST argument, adjust.
6530 (compute_summary): Adjust gcov_compute_histogram call.
6531 (gcov_do_dump): Not hidden, static in libgcov.
6532 (gcov_clear): Move to interface.c.
6533 (__gcov_dump_one): New, broken out of ...
6534 (gcov_exit): ... here. Make static.
6535 (__gcov_root): New.
6536 (__gcov_init): Adjust.
6537 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6538 declarations.
6539 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6540 (gcov_clear): Moved from driver.c. Add LIST argument.
6541 (__gcov_reset): Adjust for changed interfaces.
6542 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6543
23742a9e
RAR
65442014-08-04 Rohit <rohitarulraj@freescale.com>
6545
6546 PR target/60102
6547 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6548 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6549
b98a872b
NS
65502014-08-01 Nathan Sidwell <nathan@acm.org>
6551
6552 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6553 LIBGCOV_INTERFACE): Reformat.
6554 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6555 IN_GCOV_TOOL.
6556 * libgcov-interface.c: Reformat some comments.
6557 (__gcov_flush_mx): Add declaration. Tidy up definition.
6558
6adaaa1d
AM
65592014-07-31 Alan Modra <amodra@gmail.com>
6560 Peter Bergner <bergner@vnet.ibm.com>
6561
6562 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6563 (pack_ldouble): New function.
6564 (__gcc_qadd): Use it.
6565 (__gcc_qmul): Likewise.
6566 (__gcc_qdiv): Likewise.
6567 (__gcc_qneg): Likewise.
6568 (__gcc_stoq): Likewise.
6569 (__gcc_dtoq): Likewise.
6570
87cb0c0c
UW
65712014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6572
6573 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6574 (__tpf_eh_return): Add original return address as second parameter.
6575 Handle cases where unwinder routines were called directly, instead
6576 of from within the C++ library.
6577
19926161
NS
65782014-07-29 Nathan Sidwell <nathan@acm.org>
6579
6580 * libgcov.h: Move renaming of entry points to lib gcov specific
6581 portion.
6582 (gcov_do_dump): New rename.
6583 (gcov_rewrite): Remove inline, make HIDDEN.
6584 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6585 (gcov_exit_compute_summary): Rename to ...
6586 (compute_summary): ... here. Add LIST argument.
6587 (gcov_exit_merge_gcda): Rename to ...
6588 (merge_one_data): ... here.
6589 (gcov_exit_write_gcda): Rename to ...
6590 (write_one_data): ... here.
6591 (gcov_exit_merge_summary): Rename to ...
6592 (merge_summary): Add RUN_COUNTED argument.
6593 (gcov_exit_dump_gcov): Rename to ...
6594 (dump_one_gcov): Add RUN_COUNTED argument.
6595 (gcov_do_dump): New function, broken out of ...
6596 (gcov_exit): ... here. Call it.
6597
17522262
AG
65982014-07-27 Anthony Green <green@moxielogic.com>
6599
6600 * config.host: Add moxiebox configuration suppport.
6601
6dc33097
NS
66022014-07-27 Nathan Sidwell <nathan@acm.org>
6603
6604 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6605 (struct gcov_filename): ... here. Include buffer and max length
6606 fields.
6607 (gcov_max_filename): Remove.
6608 (gi_filename): Remove.
6609 (gcov_exit_compute_summary): Compute max filename here.
6610 (gcov_exit_merge_gcda): Add filename parm, adjust.
6611 (gcov_exit_merge_summary): Likewise.
6612 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6613 (gcov_exit): Likewise.
6614 (__gcov_init): Don't calculate max length here.
6615 * libgcov_util.c (max_filename_len): Remove.
6616 (read_gcda_file): Don't calculate max length here.
6617 (gcov_read_profile_dir): Don't propagate here.
6618 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6619 struct gcov_filename changes.
6620 (gcov_exit_open_gcda_file): Likewise.
6621
770f687d
NS
66222014-07-25 Nathan Sidwell <nathan@acm.org>
6623
6624 * libgcov-driver.c (set_gcov_dump_complete,
6625 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6626 functions polluting user's namespace.
6627 (gcov_exit): Set variable directly.
6628 (gcov_clear): Reset variable directly.
6629 * libgcov-interface.c (get_gcov_dymp_complete,
6630 reset_gov_dump_complete): Remove declarations.
6631 (__gcov_reset, __gcov_dump): Don't call them.
6632
fabf71ba
DD
66332014-07-24 DJ Delorie <dj@redhat.com>
6634
6635 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
6636 (__gcc_deregister_frame): Move logic to detect deregister function
6637 to ...
6638 (__gcc_register_frame): here, so it's consistent with the register
6639 logic.
fabf71ba 6640
d10ee722
NS
66412014-07-23 Nathan Sidwell <nathan@acm.org>
6642
6643 * libgcov-driver.c (set_gcov_list): Remove.
6644 (gcov_list): Make non-static in GCOV_TOOL.
6645 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6646
a4137090
JDA
66472014-07-17 John David Anglin <danglin@gcc.gnu.org>
6648
6649 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6650 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6651 Don't use SYNC_LOCK_RELEASE for int type.
6652
72602c6c
RB
66532014-07-14 Richard Biener <rguenther@suse.de>
6654
6655 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6656
d5313205
RX
66572014-07-11 Rong Xu <xur@google.com>
6658
6659 * libgcov-util.c (gcov_max_filename): Fix declartion.
6660
c77556a5
RX
66612014-07-10 Rong Xu <xur@google.com>
6662
6663 Add gcov-tool: an offline gcda profile processing tool
6664 Support.
6665 * libgcov-driver.c (gcov_max_filename): Make available
6666 to gcov-tool.
6667 * libgcov-merge.c (__gcov_merge_add): Replace
6668 gcov_read_counter() with a Macro.
6669 (__gcov_merge_ior): Ditto.
6670 (__gcov_merge_time_profile): Ditto.
6671 (__gcov_merge_single): Ditto.
6672 (__gcov_merge_delta): Ditto.
6673 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6674 in the utility functions.
6675 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6676 gcov_list object link lists.
6677 (tag_function): Ditto.
6678 (tag_blocks): Ditto.
6679 (tag_arcs): Ditto.
6680 (tag_lines): Ditto.
6681 (tag_counters): Ditto.
6682 (tag_summary): Ditto.
6683 (read_gcda_finalize): Ditto.
6684 (read_gcda_file): Ditto.
6685 (ftw_read_file): Ditto.
6686 (read_profile_dir_init): Ditto.
6687 (gcov_read_profile_dir): Ditto.
6688 (gcov_read_counter_mem): Ditto.
6689 (gcov_get_merge_weight): Ditto.
6690 (merge_wrapper): A wrapper function that calls merging handler.
6691 (gcov_merge): Merge two gcov_info objects with weights.
6692 (find_match_gcov_info): Find the matched gcov_info in the list.
6693 (gcov_profile_merge): Merge two gcov_info object lists.
6694 (__gcov_add_counter_op): Process edge profile counter values.
6695 (__gcov_ior_counter_op): Process IOR profile counter values.
6696 (__gcov_delta_counter_op): Process delta profile counter values.
6697 (__gcov_single_counter_op): Process single profile counter values.
6698 (fp_scale): Callback function for float-point scaling.
cc86234f 6699 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
6700 (gcov_profile_scale): Scaling profile counters.
6701 (gcov_profile_normalize): Normalize profile counters.
6702 * libgcov.h: Add headers and functions for gcov-tool use.
6703 (gcov_get_counter): New.
6704 (gcov_get_counter_target): Ditto.
6705 (struct gcov_info): Make the functions field mutable in gcov-tool
6706 compilation.
6707
5c7dac8a
KT
67082014-06-23 Kai Tietz <ktietz@redhat.com>
6709
6710 PR libgcc/61585
6711 * unwind-seh.c (_Unwind_GetGR): Check for proper
6712 index range.
6713 (_Unwind_SetGR): Likewise.
6714
161c9312
NC
67152014-05-22 Nick Clifton <nickc@redhat.com>
6716
6717 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6718 -mhwmult=none.
6719
e3f0315f
TJ
67202014-05-22 Teresa Johnson <tejohnson@google.com>
6721
6722 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6723 include.
6724
dbed5a9b
JM
67252014-05-20 John Marino <gnugcc@marino.st>
6726
6727 * config.host (*-*-dragonfly*): New target.
6728 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6729 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6730 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6731 * config/i386/dragonfly-unwind.h: New.
6732
1ec380e5
MR
67332014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6734
6735 PR libgcc/60166
6736 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6737 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6738
54fde020
BE
67392014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6740
6741 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6742 implementation.
6743
999db125
GJL
67442014-05-12 Georg-Johann Lay <avr@gjlay.de>
6745
6746 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6747
cceaf54a
RO
67482014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6749
6750 PR libgcc/61097
6751 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6752 if --enable-shared.
6753
e3fe9b5b
BE
67542014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6755
6756 Work around for current cygwin32 build problems.
6757 * config/i386/cygming-crtbegin.c (__register_frame_info,
6758 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6759 functions only for 64-bit systems.
6760
54cf37e9
RO
67612014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6762
6763 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6764 (sigill_caught, sigill_hdlr): Remove.
6765
d9f069ab
RO
67662014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6767
6768 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6769 check.
6770 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6771 Solaris 9 single-threaded support.
6772 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6773 Solaris 9 single-threaded support. Add call_user_handler code
6774 sequences.
6775 (sparc_is_sighandler): Likewise.
6776
59976ef8
AK
67772014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6778
6779 * config.host: Append t-floattodi to tmake_file depending on
6780 host_address.
6781
d02bbcf3
JS
67822014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6783
31466bc0 6784 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 6785
c2e7e597
UB
67862014-03-10 Uros Bizjak <ubizjak@gmail.com>
6787
6788 PR libgcc/60472
6789 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 6790 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
6791 Use __builtin_expect when checking *jcr_list for NULL.
6792
227a7dc8
RO
67932014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6794
6795 PR libgcc/59339
6796 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6797 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6798 vtv_*.o to extra_parts if enable_vtable_verify.
6799
df2b279c
NC
68002014-03-06 Nick Clifton <nickc@redhat.com>
6801
6802 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6803 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6804
dc11d79b
JY
68052014-02-28 Joey Ye <joey.ye@arm.com>
6806
6807 PR libgcc/60166
6808 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6809 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6810 Set to zero.
6811
341c653c
WL
68122014-02-24 Walter Lee <walt@tilera.com>
6813
6814 * config.host: Support "tilegx*" and "tilepro*" triplets.
6815 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6816 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6817
95ce7613
CLT
68182014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6819 Chung-Lin Tang <cltang@codesourcery.com>
6820
6821 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6822 * config/nios2/crti.S: Remove .file directive.
6823 * config/nios2/crtn.S: Likewise.
6824
0bb4fc05
KT
68252014-02-18 Kai Tietz <ktietz@redhat.com>
6826 Jonathan Schleifer <js@webkeks.org>
6827
6828 PR objc/56870
6829 * unwind-seh.c (_GCC_specific_handler): Pass proper
6830 value to unwind-handler.
6831
9acf28f1
JM
68322014-02-12 Joseph Myers <joseph@codesourcery.com>
6833
6834 * soft-fp/adddf3.c: Update from glibc.
6835 * soft-fp/addsf3.c: Likewise.
6836 * soft-fp/addtf3.c: Likewise.
6837 * soft-fp/divdf3.c: Likewise.
6838 * soft-fp/divsf3.c: Likewise.
6839 * soft-fp/divtf3.c: Likewise.
6840 * soft-fp/double.h: Likewise.
6841 * soft-fp/eqdf2.c: Likewise.
6842 * soft-fp/eqsf2.c: Likewise.
6843 * soft-fp/eqtf2.c: Likewise.
6844 * soft-fp/extenddftf2.c: Likewise.
6845 * soft-fp/extended.h: Likewise.
6846 * soft-fp/extendsfdf2.c: Likewise.
6847 * soft-fp/extendsftf2.c: Likewise.
6848 * soft-fp/extendxftf2.c: Likewise.
6849 * soft-fp/fixdfdi.c: Likewise.
6850 * soft-fp/fixdfsi.c: Likewise.
6851 * soft-fp/fixdfti.c: Likewise.
6852 * soft-fp/fixsfdi.c: Likewise.
6853 * soft-fp/fixsfsi.c: Likewise.
6854 * soft-fp/fixsfti.c: Likewise.
6855 * soft-fp/fixtfdi.c: Likewise.
6856 * soft-fp/fixtfsi.c: Likewise.
6857 * soft-fp/fixtfti.c: Likewise.
6858 * soft-fp/fixunsdfdi.c: Likewise.
6859 * soft-fp/fixunsdfsi.c: Likewise.
6860 * soft-fp/fixunsdfti.c: Likewise.
6861 * soft-fp/fixunssfdi.c: Likewise.
6862 * soft-fp/fixunssfsi.c: Likewise.
6863 * soft-fp/fixunssfti.c: Likewise.
6864 * soft-fp/fixunstfdi.c: Likewise.
6865 * soft-fp/fixunstfsi.c: Likewise.
6866 * soft-fp/fixunstfti.c: Likewise.
6867 * soft-fp/floatdidf.c: Likewise.
6868 * soft-fp/floatdisf.c: Likewise.
6869 * soft-fp/floatditf.c: Likewise.
6870 * soft-fp/floatsidf.c: Likewise.
6871 * soft-fp/floatsisf.c: Likewise.
6872 * soft-fp/floatsitf.c: Likewise.
6873 * soft-fp/floattidf.c: Likewise.
6874 * soft-fp/floattisf.c: Likewise.
6875 * soft-fp/floattitf.c: Likewise.
6876 * soft-fp/floatundidf.c: Likewise.
6877 * soft-fp/floatundisf.c: Likewise.
6878 * soft-fp/floatunditf.c: Likewise.
6879 * soft-fp/floatunsidf.c: Likewise.
6880 * soft-fp/floatunsisf.c: Likewise.
6881 * soft-fp/floatunsitf.c: Likewise.
6882 * soft-fp/floatuntidf.c: Likewise.
6883 * soft-fp/floatuntisf.c: Likewise.
6884 * soft-fp/floatuntitf.c: Likewise.
6885 * soft-fp/gedf2.c: Likewise.
6886 * soft-fp/gesf2.c: Likewise.
6887 * soft-fp/getf2.c: Likewise.
6888 * soft-fp/ledf2.c: Likewise.
6889 * soft-fp/lesf2.c: Likewise.
6890 * soft-fp/letf2.c: Likewise.
6891 * soft-fp/muldf3.c: Likewise.
6892 * soft-fp/mulsf3.c: Likewise.
6893 * soft-fp/multf3.c: Likewise.
6894 * soft-fp/negdf2.c: Likewise.
6895 * soft-fp/negsf2.c: Likewise.
6896 * soft-fp/negtf2.c: Likewise.
6897 * soft-fp/op-1.h: Likewise.
6898 * soft-fp/op-2.h: Likewise.
6899 * soft-fp/op-4.h: Likewise.
6900 * soft-fp/op-8.h: Likewise.
6901 * soft-fp/op-common.h: Likewise.
6902 * soft-fp/quad.h: Likewise.
6903 * soft-fp/single.h: Likewise.
6904 * soft-fp/soft-fp.h: Likewise.
6905 * soft-fp/subdf3.c: Likewise.
6906 * soft-fp/subsf3.c: Likewise.
6907 * soft-fp/subtf3.c: Likewise.
6908 * soft-fp/truncdfsf2.c: Likewise.
6909 * soft-fp/trunctfdf2.c: Likewise.
6910 * soft-fp/trunctfsf2.c: Likewise.
6911 * soft-fp/trunctfxf2.c: Likewise.
6912 * soft-fp/unorddf2.c: Likewise.
6913 * soft-fp/unordsf2.c: Likewise.
6914 * soft-fp/unordtf2.c: Likewise.
6915 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6916 macro.
6917 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6918 Likewise.
6919 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6920 Likewise.
6921 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6922 Likewise.
6923 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6924 Likewise.
6925 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6926 Likewise.
6927 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6928 Likewise.
6929 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6930 Likewise.
6931 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6932 Likewise.
6933 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6934 Likewise.
6935 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6936 Likewise.
6937 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6938 Likewise.
6939 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6940 Likewise.
6941 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6942 Likewise.
6943 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6944 Likewise.
6945 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6946 Likewise.
6947
ce245ec6
AK
69482014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6949
6950 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6951 cannot be represented.
6952 * config/s390/32/_fixsfdi.c: Likewise.
6953 * config/s390/32/_fixtfdi.c: Likewise.
6954 * config/s390/32/_fixunsdfdi.c: Likewise.
6955 * config/s390/32/_fixunssfdi.c: Likewise.
6956 * config/s390/32/_fixunstfdi.c: Likewise.
6957
1c51d688
RS
69582014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6959
6960 * configure.ac (libgcc_cv_mips_hard_float): New.
6961 * configure: Regenerate.
6962 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6963 t-softfp-sfdf for hard-float targets.
6964 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6965 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6966 (softfp_truncations, softfp_exclude_libgcc2): New.
6967 * config/t-hardfp: New file.
6968 * config/t-hardfp-sfdf: Likewise.
6969 * config/hardfp.c: Likewise.
6970
bbf391db
AK
69712014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6972
6973 * config.host: Include t-floattodi also for s390x.
6974 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6975 * config/s390/32/_fixsfdi.c: Likewise.
6976 * config/s390/32/_fixtfdi.c: Likewise.
6977 * config/s390/32/_fixunsdfdi.c: Likewise.
6978 * config/s390/32/_fixunssfdi.c: Likewise.
6979 * config/s390/32/_fixunstfdi.c: Likewise.
6980
91da0481
RO
69812014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6982
6983 PR target/59788
6984 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6985 (install-libgcc-unwind-map-forbuild): New target.
6986 (all): Depend on install-libgcc-unwind-map-forbuild.
6987 (install-libgcc-unwind-map): New target.
6988 (install): Depend on install-libgcc-unwind-map.
6989
02b67731
SL
69902014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6991
6992 * config/nios2/crti.S (_init): Initialize GOT pointer from
6993 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6994
1ea0a651
RS
69952014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6996
6997 * configure.ac: Check __mips64 when setting host_address.
6998 * configure: Regenerate.
6999 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7000 mips/t-mips64 and t-softfp.
7001 (mips*-*-linux*): Don't add mips/t-tpbit.
7002 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7003 (DPBIT, DPBIT_CFLAGS): Delete.
7004 * config/mips/sfp-machine.h: New file.
7005 * config/mips/t-mips64: Likewise.
7006 * config/mips/t-softfp-tf: Likewise.
7007 * config/mips/t-tpbit: Delete.
7008
f32b0061
MS
70092014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7010
7011 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7012 as long long.
7013
a5420aa4
WL
70142014-01-25 Walter Lee <walt@tilera.com>
7015
7016 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7017 config.h or system.h.
7018 (bool) Define.
7019
24534912
WL
70202014-01-25 Walter Lee <walt@tilera.com>
7021
7022 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7023 (post_atomic_barrier): Ditto.
7024 (__fetch_and_do): New macro.
7025 (__atomic_fetch_and_do): Use __fetch_and_do.
7026 (__sync_fetch_and_do): New macro.
7027 (__sync_fetch_and_add_4): New function.
7028 (__sync_fetch_and_sub_4): New function.
7029 (__sync_fetch_and_or_4): New function.
7030 (__sync_fetch_and_and_4): New function.
7031 (__sync_fetch_and_xor_4): New function.
7032 (__sync_fetch_and_nand_4): New function.
7033 (__sync_fetch_and_add_8): New function.
7034 (__sync_fetch_and_sub_8): New function.
7035 (__sync_fetch_and_or_8): New function.
7036 (__sync_fetch_and_and_8): New function.
7037 (__sync_fetch_and_xor_8): New function.
7038 (__sync_fetch_and_nand_8): New function.
7039 (__do_and_fetch): New macro.
7040 (__atomic_do_and_fetch): Use __do_and_fetch.
7041 (__sync_do_and_fetch): New macro.
7042 (__sync_add_and_fetch_4): New function.
7043 (__sync_sub_and_fetch_4): New function.
7044 (__sync_or_and_fetch_4): New function.
7045 (__sync_and_and_fetch_4): New function.
7046 (__sync_xor_and_fetch_4): New function.
7047 (__sync_nand_and_fetch_4): New function.
7048 (__sync_add_and_fetch_8): New function.
7049 (__sync_sub_and_fetch_8): New function.
7050 (__sync_or_and_fetch_8): New function.
7051 (__sync_and_and_fetch_8): New function.
7052 (__sync_xor_and_fetch_8): New function.
7053 (__sync_nand_and_fetch_8): New function.
7054 (__sync_exchange_methods): New macro.
7055 (__sync_val_compare_and_swap_4): New function.
7056 (__sync_bool_compare_and_swap_4): New function.
7057 (__sync_lock_test_and_test_4): New function.
7058 (__sync_val_compare_and_swap_8): New function.
7059 (__sync_bool_compare_and_swap_8): New function.
7060 (__sync_lock_test_and_test_8): New function.
7061 (__subword_cmpxchg_body): New macro.
7062 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7063 (__atomic_compare_exchange_2): Ditto.
7064 (__sync_subword_cmpxchg): New macro.
7065 (__sync_val_compare_and_swap_1): New function.
7066 (__sync_bool_compare_and_swap_1): New function.
7067 (__sync_val_compare_and_swap_2): New function.
7068 (__sync_bool_compare_and_swap_2): New function.
7069 (__atomic_subword): Rename to ...
7070 (__subword): ... New name.
7071 (__atomic_subword_fetch): Use __subword.
7072 (__sync_subword_fetch): New macro.
7073 (__sync_fetch_and_add_1): New function.
7074 (__sync_fetch_and_sub_1): New function.
7075 (__sync_fetch_and_or_1): New function.
7076 (__sync_fetch_and_and_1): New function.
7077 (__sync_fetch_and_xor_1): New function.
7078 (__sync_fetch_and_nand_1): New function.
7079 (__sync_fetch_and_add_2): New function.
7080 (__sync_fetch_and_sub_2): New function.
7081 (__sync_fetch_and_or_2): New function.
7082 (__sync_fetch_and_and_2): New function.
7083 (__sync_fetch_and_xor_2): New function.
7084 (__sync_fetch_and_nand_2): New function.
7085 (__sync_add_and_fetch_1): New function.
7086 (__sync_sub_and_fetch_1): New function.
7087 (__sync_or_and_fetch_1): New function.
7088 (__sync_and_and_fetch_1): New function.
7089 (__sync_xor_and_fetch_1): New function.
7090 (__sync_nand_and_fetch_1): New function.
7091 (__sync_add_and_fetch_2): New function.
7092 (__sync_sub_and_fetch_2): New function.
7093 (__sync_or_and_fetch_2): New function.
7094 (__sync_and_and_fetch_2): New function.
7095 (__sync_xor_and_fetch_2): New function.
7096 (__sync_nand_and_fetch_2): New function.
7097 (__atomic_subword_lock): Use __subword.
7098 (__sync_subword_lock): New macro.
7099 (__sync_lock_test_and_set_1): New function.
7100 (__sync_lock_test_and_set_2): New function.
7101
4d6d3bc5
WL
71022014-01-25 Walter Lee <walt@tilera.com>
7103
7104 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7105 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7106 (__atomic_subword): Ditto.
7107
cbd9890e
WL
71082014-01-25 Walter Lee <walt@tilera.com>
7109
7110 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7111 a prefix op argument.
7112 (__atomic_nand_fetch_4): Add prefix op.
7113 (__atomic_nand_fetch_8): Ditto.
7114
7d296953 71152014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
7116
7117 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7118
46dd1242
L
71192014-01-09 Rong Xu <xur@google.com>
7120
7121 * libgcov-driver.c (this_prg): make it local to save
7122 bss space.
7123 (gcov_exit_compute_summary): Ditto.
7124 (gcov_exit_merge_gcda): Ditto.
7125 (gcov_exit_merge_summary): Ditto.
7126 (gcov_exit_dump_gcov): Ditto.
7127
cc86234f 71282014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
7129
7130 * libgcov-driver.c: Use libgcov.h.
7131 (buffer_fn_data): Use xmalloc instead of malloc.
7132 (gcov_exit_merge_gcda): Ditto.
7133 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7134 * libgcov.h: New common header files for libgcov-*.h.
7135 * libgcov-interface.c: Use libgcov.h
7136 * libgcov-merge.c: Ditto.
7137 * libgcov-profiler.c: Ditto.
7138 * Makefile.in: Add dependence to libgcov.h
7139
a02e7bdd
JM
71402014-01-02 Joseph Myers <joseph@codesourcery.com>
7141
7142 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7143 case of small numerator and finite nonzero result.
7144
ac1dca3c
RS
71452014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7146
7147 Update copyright years
7148
f9030485
RS
71492014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7150
7151 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7152 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7153 config/arc/dp-hack.h, config/arc/fp-hack.h,
7154 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7155 config/arc/ieee-754/arc600-dsp/divdf3.S,
7156 config/arc/ieee-754/arc600-dsp/divsf3.S,
7157 config/arc/ieee-754/arc600-dsp/muldf3.S,
7158 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7159 config/arc/ieee-754/arc600-mul64/divdf3.S,
7160 config/arc/ieee-754/arc600-mul64/divsf3.S,
7161 config/arc/ieee-754/arc600-mul64/muldf3.S,
7162 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7163 config/arc/ieee-754/arc600/divsf3.S,
7164 config/arc/ieee-754/arc600/mulsf3.S,
7165 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7166 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7167 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7168 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7169 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7170 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7171 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7172 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7173 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7174 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7175 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7176 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7177 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7178 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7179 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7180 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7181 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7182 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7183 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7184 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7185 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7186 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7187 vtv_start_preinit.c: Use the standard form for the copyright notice.
7188
e430824f
CLT
71892013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7190 Chung-Lin Tang <cltang@codesourcery.com>
7191 Based on patches from Altera Corporation
7192
7193 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7194 * config/nios2/lib2-nios2.h: New file.
7195 * config/nios2/lib2-divmod-hi.c: New file.
7196 * config/nios2/linux-unwind.h: New file.
7197 * config/nios2/lib2-divmod.c: New file.
7198 * config/nios2/linux-atomic.c: New file.
7199 * config/nios2/t-nios2: New file.
7200 * config/nios2/crti.asm: New file.
7201 * config/nios2/t-linux: New file.
7202 * config/nios2/lib2-divtable.c: New file.
7203 * config/nios2/lib2-mul.c: New file.
7204 * config/nios2/tramp.c: New file.
7205 * config/nios2/crtn.asm: New file.
7206
1879e97f
UB
72072013-12-26 Uros Bizjak <ubizjak@gmail.com>
7208
7209 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7210 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7211 from cpuid.h to check vendor signatures.
7212
f4a4bdbb
GG
72132013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7214
c2e7e597 7215 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
7216 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7217 (get_amd_cpu): Likewise.
7218
8d2ae544
L
72192013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7220
7221 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7222 Haswell.
7223
74924838
ASJ
72242013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7225 H.J. Lu <hongjiu.lu@intel.com>
7226
0bb52f25
L
7227 PR target/59422
7228 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
7229 and AMD_JAGUAR.
7230 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7231 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7232 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7233 FEATURE_XOP and FEATURE_FMA.
7234 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7235 AMDFAM15H_BDVER3.
7236 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 7237 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
7238 FEATURE_FMA4 and FEATURE_XOP.
7239
d3c11974
L
72402013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7241
7242 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7243 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7244 (get_intel_cpu): Updated.
7245
064c4ff2
ZC
72462013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7247
7248 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7249
8b02e720
UB
72502013-12-09 Uros Bizjak <ubizjak@gmail.com>
7251
7252 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 7253 instructions when __SSE_MATH__ is defined.
8b02e720 7254
3fa2ccb4
RC
72552013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7256
7257 * config.host (microblaze-*-rtems*): New.
7258
ecd78fc9
KV
72592013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7260
7261 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7262 architectures that do not have hardware divide instruction.
7263 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7264
b21fbbd2
RS
72652013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7266
7267 * longlong.h: Delete (moved to include/).
7268
b03fb8c9
AZ
72692013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7270
7271 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7272 of normal number and qNaN to not raise an inexact exception.
7273
3c716922
UB
72742013-11-28 Uros Bizjak <ubizjak@gmail.com>
7275
7276 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7277
72782013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
7279
7280 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7281 for correct opcodes on BE.
7282
a3458d22
UB
72832013-11-27 Uros Bizjak <ubizjak@gmail.com>
7284
7285 * soft-fp/op-4.h: Update from glibc.
7286
30b8f78b
KV
72872013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7288
7289 * libgcc2.c (__udivmoddi4): Define new implementation when
7290 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7291 divide instructions.
7292
82552a29
OE
72932013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7294
7295 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7296
80e87457
RO
72972013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7298
7299 * config/t-softfp (soft-fp-objects-base): New variable.
7300 (soft-fp-objects): Use it.
7301
44178879
DE
73022013-11-23 David Edelson <dje.gcc@gmail.com>
7303 Andrew Dixie <andrewd@gentrack.com>
7304
7305 PR target/33704
7306 * config/rs6000/aixinitfini.c: New file.
7307 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7308 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7309 symbols.
7310
e5287671
YR
73112013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7312
a3458d22 7313 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 7314
867c8b03
JH
73152013-11-18 Jan Hubicka <jh@suse.cz>
7316
7f369373
JH
7317 * libgcov-driver.c (run_accounted): Make global level static.
7318 (gcov_exit_merge_summary): Silence warning; do not clear
7319 run_accounted here.
7320 (gcov_exit): Clear it here.
7321
1d0b3334
JH
7322 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7323 run_accounted.
7324
867c8b03
JH
7325 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7326 (all_prg, crc32): Remove static vars.
7327 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7328 all_prg.
7329 (gcov_exit_merge_gcda): Add crc32 parameter.
7330 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7331 do not account run if it was already accounted.
7332 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7333 (gcov_exit): Initialize all_prg; update.
7334
66204992
AS
73352013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7336
7337 * configure: Regenerate.
7338
b54214fe
UW
73392013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7340 Alan Modra <amodra@gmail.com>
7341
7342 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7343 (frob_update_context): Use it.
7344
73452013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7346 Alan Modra <amodra@gmail.com>
7347
7348 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7349 (trampoline_initial): Provide ELFv2 variant.
7350 (__trampoline_setup): Likewise.
7351
7352 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7353 check for AIX indirect function call sequence if _CALL_ELF == 2.
7354
73552013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7356 Alan Modra <amodra@gmail.com>
7357
7358 * config/rs6000/linux-unwind.h (get_regs): Do not support
7359 old kernel versions if _CALL_ELF == 2.
7360 (frob_update_context): Do not support PLT stub variants only
7361 generated by old linkers if _CALL_ELF == 2.
7362
13e0981a
UW
73632013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7364 Alan Modra <amodra@gmail.com>
7365
7366 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7367 location of CR save area for 64-bit little-endian systems.
7368
1a80085d
EB
73692013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7370
7371 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7372 in tmake_file.
7373 * config/arm/t-vxworks: Delete.
7374
cabeea52
KT
73752013-11-10 Kai Tietz <ktietz@redhat.com>
7376
7377 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7378 Increment load-count on use of LIBGCC_SONAME DLL.
7379 (hmod_libgcc): New static variable to hold handle of
7380 LIBGCC_SONAME DLL.
7381 (__gcc_deregister_frame): Decrement load-count of
7382 LIBGCC_SONAME DLL.
7383
ac088ba1
BRF
73842013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7385
7386 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7387 availability.
7388 * configure: Regenerate
7389
d59a8fcc
UB
73902013-11-07 Uros Bizjak <ubizjak@gmail.com>
7391
7392 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7393 FP_EX_DENORM. Store result to volatile location after SSE division
7394 to close interrupt window. Remove unneeded fwait after x87
7395 division since interrupt window will be closed by emitted fstp.
9de84e84 7396 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7397
9954c743
JM
73982013-11-06 Joseph Myers <joseph@codesourcery.com>
7399
7400 * soft-fp/README: Update.
7401 * soft-fp/adddf3.c: Update from glibc.
7402 * soft-fp/addsf3.c: Likewise.
7403 * soft-fp/addtf3.c: Likewise.
7404 * soft-fp/divdf3.c: Likewise.
7405 * soft-fp/divsf3.c: Likewise.
7406 * soft-fp/divtf3.c: Likewise.
7407 * soft-fp/double.h: Likewise.
7408 * soft-fp/eqdf2.c: Likewise.
7409 * soft-fp/eqsf2.c: Likewise.
7410 * soft-fp/eqtf2.c: Likewise.
7411 * soft-fp/extenddftf2.c: Likewise.
7412 * soft-fp/extended.h: Likewise.
7413 * soft-fp/extendsfdf2.c: Likewise.
7414 * soft-fp/extendsftf2.c: Likewise.
7415 * soft-fp/extendxftf2.c: Likewise.
7416 * soft-fp/fixdfdi.c: Likewise.
7417 * soft-fp/fixdfsi.c: Likewise.
7418 * soft-fp/fixdfti.c: Likewise.
7419 * soft-fp/fixsfdi.c: Likewise.
7420 * soft-fp/fixsfsi.c: Likewise.
7421 * soft-fp/fixsfti.c: Likewise.
7422 * soft-fp/fixtfdi.c: Likewise.
7423 * soft-fp/fixtfsi.c: Likewise.
7424 * soft-fp/fixtfti.c: Likewise.
7425 * soft-fp/fixunsdfdi.c: Likewise.
7426 * soft-fp/fixunsdfsi.c: Likewise.
7427 * soft-fp/fixunsdfti.c: Likewise.
7428 * soft-fp/fixunssfdi.c: Likewise.
7429 * soft-fp/fixunssfsi.c: Likewise.
7430 * soft-fp/fixunssfti.c: Likewise.
7431 * soft-fp/fixunstfdi.c: Likewise.
7432 * soft-fp/fixunstfsi.c: Likewise.
7433 * soft-fp/fixunstfti.c: Likewise.
7434 * soft-fp/floatdidf.c: Likewise.
7435 * soft-fp/floatdisf.c: Likewise.
7436 * soft-fp/floatditf.c: Likewise.
7437 * soft-fp/floatsidf.c: Likewise.
7438 * soft-fp/floatsisf.c: Likewise.
7439 * soft-fp/floatsitf.c: Likewise.
7440 * soft-fp/floattidf.c: Likewise.
7441 * soft-fp/floattisf.c: Likewise.
7442 * soft-fp/floattitf.c: Likewise.
7443 * soft-fp/floatundidf.c: Likewise.
7444 * soft-fp/floatundisf.c: Likewise.
7445 * soft-fp/floatunditf.c: Likewise.
7446 * soft-fp/floatunsidf.c: Likewise.
7447 * soft-fp/floatunsisf.c: Likewise.
7448 * soft-fp/floatunsitf.c: Likewise.
7449 * soft-fp/floatuntidf.c: Likewise.
7450 * soft-fp/floatuntisf.c: Likewise.
7451 * soft-fp/floatuntitf.c: Likewise.
7452 * soft-fp/gedf2.c: Likewise.
7453 * soft-fp/gesf2.c: Likewise.
7454 * soft-fp/getf2.c: Likewise.
7455 * soft-fp/ledf2.c: Likewise.
7456 * soft-fp/lesf2.c: Likewise.
7457 * soft-fp/letf2.c: Likewise.
7458 * soft-fp/muldf3.c: Likewise.
7459 * soft-fp/mulsf3.c: Likewise.
7460 * soft-fp/multf3.c: Likewise.
7461 * soft-fp/negdf2.c: Likewise.
7462 * soft-fp/negsf2.c: Likewise.
7463 * soft-fp/negtf2.c: Likewise.
7464 * soft-fp/op-1.h: Likewise.
7465 * soft-fp/op-2.h: Likewise.
7466 * soft-fp/op-4.h: Likewise.
7467 * soft-fp/op-8.h: Likewise.
7468 * soft-fp/op-common.h: Likewise.
7469 * soft-fp/quad.h: Likewise.
7470 * soft-fp/single.h: Likewise.
7471 * soft-fp/soft-fp.h: Likewise.
7472 * soft-fp/subdf3.c: Likewise.
7473 * soft-fp/subsf3.c: Likewise.
7474 * soft-fp/subtf3.c: Likewise.
7475 * soft-fp/truncdfsf2.c: Likewise.
7476 * soft-fp/trunctfdf2.c: Likewise.
7477 * soft-fp/trunctfsf2.c: Likewise.
7478 * soft-fp/trunctfxf2.c: Likewise.
7479 * soft-fp/unorddf2.c: Likewise.
7480 * soft-fp/unordsf2.c: Likewise.
7481 * soft-fp/unordtf2.c: Likewise.
7482
02ac9503
UB
74832013-11-05 Uros Bizjak <ubizjak@gmail.com>
7484
7485 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7486 (_FP_MUL_MEAT_D): Ditto.
7487 (_FP_DIV_MEAT_S): Ditto.
7488 (_FP_DIV_MEAT_D): Ditto.
7489 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7490 t-softfp-sfdf and t-softfp to tmake_file.
7491
61221141
UB
74922013-11-03 Uros Bizjak <ubizjak@gmail.com>
7493
7494 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7495 * config/i386/crtprec.c: Ditto.
7496
9304f876
CJW
74972013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7498 Shiva Chen <shiva0217@gmail.com>
7499
7500 * config.host (nds32*-elf*): Add nds32 target.
7501 * config/nds32 : New directory and files.
7502
0e499e75
HPN
75032013-10-16 Hans-Peter Nilsson <hp@axis.com>
7504
7505 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7506 * config.host (cpu_type) <Setting default>: Add entry for
7507 crisv32-*-*.
7508 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7509 <crisv32-*-linux*>: Adjust.
7510 * longlong.h: Wrap the whole CRIS section in a single
7511 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7512 and sub_ddmmss.
7513 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7514 defined.
7515 [__CRIS__] (__umulsidi3): Define.
7516 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7517 * config/cris/sfp-machine.h: New file.
7518 * config/cris/umulsidi3.S: New file.
7519 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7520 * config/cris/arit.c (SIGNMULT): New macro.
7521 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7522 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7523 saving 3 out of originally 33 cycles from the fastest
7524 path, 3 out of 54 from the medium path and one from the longest
7525 path. Improve comments.
7526
16022041
RS
75272013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7528
7529 * sync.c: Remove static aliases and define each function directly
7530 under its real name.
7531
69778659
JDA
75322013-10-02 John David Anglin <danglin@gcc.gnu.org>
7533
7534 * config.host (hppa*64*-*-linux*): Define extra_parts.
7535 (hppa*-*-linux*): Likewise.
7536
2deaf8b0
JR
75372013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7538
7539 * config/arc/crtgend.S: Add 2013 to Copyright years.
7540 * config/arc/gmon/atomic.h: Likewise.
7541 * config/arc/gmon/auxreg.h: Likewise.
7542 * config/arc/gmon/sys/gmon_out.h: Likewise.
7543 * config/arc/gmon/sys/gmon.h: Likewise.
7544 * config/arc/gmon/prof-freq.c: Likewise.
7545 * config/arc/gmon/mcount.c: Likewise.
7546 * config/arc/gmon/prof-freq-stub.S: Likewise.
7547 * config/arc/gmon/gmon.c: Likewise.
7548 * config/arc/gmon/machine-gmon.h: Likewise.
7549 * config/arc/gmon/profil.S: Likewise.
7550 * config/arc/gmon/dcache_linesz.S: Likewise.
7551 * config/arc/crtg.S: Likewise.
7552 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7553 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7554 * config/arc/ieee-754/adddf3.S: Likewise.
7555 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7556 * config/arc/ieee-754/fixsfsi.S: Likewise.
7557 * config/arc/ieee-754/gtsf2.S: Likewise.
7558 * config/arc/ieee-754/floatsisf.S: Likewise.
7559 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7560 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7561 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7562 * config/arc/ieee-754/fixdfsi.S: Likewise.
7563 * config/arc/ieee-754/addsf3.S: Likewise.
7564 * config/arc/ieee-754/gesf2.S: Likewise.
7565 * config/arc/ieee-754/floatsidf.S: Likewise.
7566 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7567 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7568 * config/arc/ieee-754/gtdf2.S: Likewise.
7569 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7570 * config/arc/ieee-754/uneqdf2.S: Likewise.
7571 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7572 * config/arc/ieee-754/uneqsf2.S: Likewise.
7573 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7574 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7575 * config/arc/ieee-754/eqdf2.S: Likewise.
7576 * config/arc/ieee-754/ordsf2.S: Likewise.
7577 * config/arc/ieee-754/divsf3.S: Likewise.
7578 * config/arc/ieee-754/divdf3.S: Likewise.
7579 * config/arc/ieee-754/floatunsidf.S: Likewise.
7580 * config/arc/ieee-754/orddf2.S: Likewise.
7581 * config/arc/ieee-754/eqsf2.S: Likewise.
7582 * config/arc/ieee-754/gedf2.S: Likewise.
7583 * config/arc/crtn.S: Likewise.
7584 * config/arc/crti.S: Likewise.
7585 * config/arc/t-arc700-uClibc: Likewise.
7586 * config/arc/asm.h: Likewise.
7587 * config/arc/libgcc-excl.ver: Likewise.
7588 * config/arc/t-arc-newlib: Likewise.
7589 * config/arc/divtab-arc700.c: Likewise.
7590 * config/arc/initfini.c: Likewise.
7591 * config/arc/fp-hack.h: Likewise.
7592
c8e318b0
JR
75932013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7594 Diego Novillo <dnovillo@google.com>
7595
7596 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7597 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7598 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7599 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7600
d38a64b4
JR
76012013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7602 Brendan Kehoe <brendan@zen.org>
7603 Simon Cook <simon.cook@embecosm.com>
7604
7605 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7606 * config/arc: New directory.
7607 * longlong.h [__arc__] (umul_ppmm): Remove.
7608 [__arc__] (__umulsidi3): Define.
7609 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7610 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7611
dff717d2
JC
76122013-09-17 Jacek Caban <jacek@codeweavers.com>
7613
7614 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7615 CreateSemaphoreA.
7616 * config/i386/gthr-win32.h: Likewise.
7617
5c0029de
DD
76182013-09-16 DJ Delorie <dj@redhat.com>
7619
844ad6c6 7620 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
7621 * config/rl78/lib2mul.c: Enable for RL78/G10.
7622 * config/rl78/lib2div.c: Likewise.
7623 * config/rl78/lshrsi3.S: Use vregs.h.
7624 * config/rl78/cmpsi2.S: Likewise.
7625 * config/rl78/trampoline.S: Likewise.
7626 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7627
ceb2fc49
DD
76282013-09-14 DJ Delorie <dj@redhat.com>
7629 Nick Clifton <nickc@redhat.com>
7630
7631 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7632 * config/rl78/vregs.h: New.
7633 * config/rl78/signbit.S: New file. Implements signbit function.
7634 * config/rl78/divmodsi.S: New.
7635 * config/rl78/divmodhi.S: New.
7636 * config/rl78/divmodqi.S: New.
7637 * config/rl78/t-rl78: Build them here...
7638 * config/rl78/lib2div.c: ...but not here.
7639
f6a83b4a
DD
76402013-09-12 DJ Delorie <dj@redhat.com>
7641
7642 * config.host (msp*-*-elf): New.
7643 * config/msp430/: New port.
7644
9107b096
IS
76452013-08-18 Iain Sandoe <iain@codesourcery.com>
7646
7647 PR gcov-profile/58127
7648 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7649 __thread var for emulated TLS.
7650 (__gcov_indirect_call_counters): Likewise.
7651
0f9bde1f 76522013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 7653 Catherine Moore <clm@codesourcery.com>
7d296953 7654 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
7655
7656 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7657 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7658 (CALL_STUB_NO_RET): Likewise.
7659 (CALL_STUB_RET): Likewise.
7660 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7661 __mips16_ret call/return stub symbols.
7662 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7663 to tmake_file.
7664
2dc14aac
MR
76652013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7666
7667 * config.host <mips*-*-linux*>: Remove a stray comment.
7668
748d71f3
JH
76692013-08-10 Jan Hubicka <jh@suse.cz>
7670
7671 Work around binutils PR14342
7672 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7673 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7674 (L_gcov_indirect_call_profiler_v2): New.
7675
2fa3d31b
JH
76762013-08-06 Jan Hubicka <jh@suse.cz>
7677
7678 * libgcov.c (__gcov_indirect_call_callee,
7679 __gcov_indirect_call_counters): New global vars.
7680 (__gcov_indirect_call_profiler): replace by ...
7681 (__gcov_indirect_call_profiler_v2) ... this one.
7682
2077db1b
CT
76832013-08-06 Caroline Tice <cmtice@google.com>
7684
d0595b65 7685 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 7686 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
7687 * configure.ac: Add code to check/set enable_vtable_verify.
7688 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 7689 true.
d0595b65
CT
7690 * vtv_start_preinit.c: New file.
7691 * vtv_end_preinit.c: New file.
7692 * vtv_start.c: New file.
7693 * vtv_end.c: New file.
7694 * configure: Regenerated.
2077db1b 7695
46549c20
MK
76962013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7697
7698 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7699 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7700 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7701 GPL-3.0-with-GCC-exception.
7702
72be589b
MR
77032013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7704
7705 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7706 ISA and up.
7707
902a3faf
AK
77082013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7709
7710 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7711 mapping for FPRs when creating the fallback framestate.
7712
02371798
GJL
77132013-07-19 Georg-Johann Lay <avr@gjlay.de>
7714
7715 PR target/57516
7716 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7717 (__round_s2_const, __round_u2_const)
7718 (__round_s4_const, __round_u4_const, __round_x8):
7719 Saturate result if addition result cannot be represented.
7720
ab0e8379
MK
77212013-07-15 Matthias Klose <doko@ubuntu.com>
7722
7723 * libgcc2.c: Don't include <limits.h>.
7724
7da38058
JJ
77252013-07-09 Janis Johnson <janisjo@codesourcery.com>
7726
7727 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7728
1f6eac90
JJ
77292013-07-06 Jakub Jelinek <jakub@redhat.com>
7730
7731 PR target/29776
7732 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7733
4ea3d774
JJ
77342013-06-28 Jakub Jelinek <jakub@redhat.com>
7735
7736 PR middle-end/36041
7737 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7738 Define.
7739 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7740 instead of table lookups.
7741 (__popcountDI2): Likewise.
7742
9d2cdf25
CJW
77432013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7744
7745 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7746 correctly.
7747
fa1e55b0
JM
77482013-06-21 Joseph Myers <joseph@codesourcery.com>
7749
7750 PR other/53317
7751 * soft-fp/adddf3.c: Update from glibc.
7752 * soft-fp/addsf3.c: Likewise.
7753 * soft-fp/addtf3.c: Likewise.
7754 * soft-fp/divdf3.c: Likewise.
7755 * soft-fp/divsf3.c: Likewise.
7756 * soft-fp/divtf3.c: Likewise.
7757 * soft-fp/double.h: Likewise.
7758 * soft-fp/eqdf2.c: Likewise.
7759 * soft-fp/eqsf2.c: Likewise.
7760 * soft-fp/eqtf2.c: Likewise.
7761 * soft-fp/extenddftf2.c: Likewise.
7762 * soft-fp/extended.h: Likewise.
7763 * soft-fp/extendsfdf2.c: Likewise.
7764 * soft-fp/extendsftf2.c: Likewise.
7765 * soft-fp/fixdfdi.c: Likewise.
7766 * soft-fp/fixdfsi.c: Likewise.
7767 * soft-fp/fixsfdi.c: Likewise.
7768 * soft-fp/fixsfsi.c: Likewise.
7769 * soft-fp/fixtfdi.c: Likewise.
7770 * soft-fp/fixtfsi.c: Likewise.
7771 * soft-fp/fixunsdfdi.c: Likewise.
7772 * soft-fp/fixunsdfsi.c: Likewise.
7773 * soft-fp/fixunssfdi.c: Likewise.
7774 * soft-fp/fixunssfsi.c: Likewise.
7775 * soft-fp/fixunstfdi.c: Likewise.
7776 * soft-fp/fixunstfsi.c: Likewise.
7777 * soft-fp/floatdidf.c: Likewise.
7778 * soft-fp/floatdisf.c: Likewise.
7779 * soft-fp/floatditf.c: Likewise.
7780 * soft-fp/floatsidf.c: Likewise.
7781 * soft-fp/floatsisf.c: Likewise.
7782 * soft-fp/floatsitf.c: Likewise.
7783 * soft-fp/floatundidf.c: Likewise.
7784 * soft-fp/floatundisf.c: Likewise.
7785 * soft-fp/floatunditf.c: Likewise.
7786 * soft-fp/floatunsidf.c: Likewise.
7787 * soft-fp/floatunsisf.c: Likewise.
7788 * soft-fp/floatunsitf.c: Likewise.
7789 * soft-fp/gedf2.c: Likewise.
7790 * soft-fp/gesf2.c: Likewise.
7791 * soft-fp/getf2.c: Likewise.
7792 * soft-fp/ledf2.c: Likewise.
7793 * soft-fp/lesf2.c: Likewise.
7794 * soft-fp/letf2.c: Likewise.
7795 * soft-fp/muldf3.c: Likewise.
7796 * soft-fp/mulsf3.c: Likewise.
7797 * soft-fp/multf3.c: Likewise.
7798 * soft-fp/negdf2.c: Likewise.
7799 * soft-fp/negsf2.c: Likewise.
7800 * soft-fp/negtf2.c: Likewise.
7801 * soft-fp/op-1.h: Likewise.
7802 * soft-fp/op-2.h: Likewise.
7803 * soft-fp/op-4.h: Likewise.
7804 * soft-fp/op-8.h: Likewise.
7805 * soft-fp/op-common.h: Likewise.
7806 * soft-fp/quad.h: Likewise.
7807 * soft-fp/single.h: Likewise.
7808 * soft-fp/soft-fp.h: Likewise.
7809 * soft-fp/subdf3.c: Likewise.
7810 * soft-fp/subsf3.c: Likewise.
7811 * soft-fp/subtf3.c: Likewise.
7812 * soft-fp/truncdfsf2.c: Likewise.
7813 * soft-fp/trunctfdf2.c: Likewise.
7814 * soft-fp/trunctfsf2.c: Likewise.
7815 * soft-fp/unorddf2.c: Likewise.
7816 * soft-fp/unordsf2.c: Likewise.
7817 * soft-fp/unordtf2.c: Likewise.
7818 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7819 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7820 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7821 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7822 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7823 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7824 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7825 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7826 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7827 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7828 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7829 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7830
0de86a92
JU
78312013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7832
7833 * config/mips/lib2funcs.c: New file.
7834 * config/mips/t-mips (LIB2ADD_ST): Add it.
7835
0d008882
OE
78362013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7837
7838 PR target/6526
7839 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7840 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7841
776434d1
WL
78422013-06-08 Walter Lee <walt@tilera.com>
7843
7844 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7845 Replace int64_t with long long. Add __extension__ where
7846 appropriate.
7847 * config/tilepro/atomic.c: Include config.h.
7848
6ab3ebb4
DR
78492013-06-06 Douglas B Rupp <rupp@adacore.com>
7850
7851 * config.host (arm-wrs-vxworks): Configure with other soft float.
7852
107eea2c
JU
78532013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7854
7855 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7856 (mips64r5900el-*-elf*): New configurations.
7857
5cc19c62
AM
78582013-06-04 Alan Modra <amodra@gmail.com>
7859
7860 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7861
0f1d3965
YR
78622013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7863
7864 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7865
0ba045df
EB
78662013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7867
7868 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7869 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7870 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7871
49dcafd4
EB
78722013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7873
7874 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7875 (powerpc-wrs-vxworks): Likewise.
7876
4fcb5d87
EB
78772013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7878
7879 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7880 signal frames as well.
7881 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7882 STACK_BIAS to the CFA offset.
7883
0ec33224
RH
78842013-05-17 Richard Henderson <rth@redhat.com>
7885
7886 PR target/49146
7887 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7888 (execute_cfa_program): Use it when storing to fs->regs.
7889
492a8029
KT
78902013-05-08 Kai Tietz <ktietz@redhat.com>
7891
7892 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7893 (__deregister_frame_info): Likewise.
7894
701e2f0a
TS
78952013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7896
e5123d08
TS
7897 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7898 NaN's payload.
7899
701e2f0a
TS
7900 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7901
b9a7eb5d
AM
79022013-04-25 Alan Modra <amodra@gmail.com>
7903
7904 * config.host: Match little-endian powerpc-linux.
7905
dfe192f5
YZ
79062013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7907
7908 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7909 as 'unsigned long long' instead of 'unsigned long'.
7910 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7911 'signed long'.
7912
b6b9af2f
JB
79132013-04-10 Julian Brown <julian@codesourcery.com>
7914
7915 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7916 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7917 unsigned char/unsigned short.
7918 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7919
ecabdd00
JDA
79202013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7921
7922 PR other/55274
7923 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7924
34652576
MI
79252013-04-04 Meador Inge <meadori@codesourcery.com>
7926
7927 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7928 computing the location of the link register.
7929 (aeabi_uldivmod): Ditto.
7930
e9fd8c19
KT
79312013-03-27 Kai Tietz <ktietz@redhat.com>
7932
7933 * config.host: Add support for cygwin x64 target.
7934 * configure: Regenerated.
7935
a6406324
WL
79362013-03-26 Walter Lee <walt@tilera.com>
7937
7938 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7939 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7940
55446c7e
KT
79412013-03-25 Kai Tietz <ktietz@redhat.com>
7942
7943 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7944
d2ae19d9
RM
79452013-03-20 Robert Mason <rbmj@verizon.net>
7946
7947 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7948 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7949 (__gthread_leave_tsd_dtor_context): Add prototypes.
7950 (tls_delete_hook): Update.
7951
22c4c869
CM
79522013-03-20 Catherine Moore <clm@codesourcery.com>
7953 Joseph Myers <joseph@codesourcery.com>
7954 Chao-ying Fu <fu@mips.com>
7955
7956 * config/mips/mips16.S: Don't build for microMIPS.
7957 * config/mips/linux-unwind.h: Handle microMIPS frame.
7958 * config/mips/crtn.S (fini, init): New labels.
7959
fbd28bc3
JJ
79602013-03-14 Jakub Jelinek <jakub@redhat.com>
7961
7962 PR tree-optimization/53265
7963 * unwind-dw2.c (execute_cfa_program): Avoid
7964 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7965 on targets with DWARF_FRAME_REGISTERS < 32.
7966
decc676e
OE
79672013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7968
7969 PR target/49880
7970 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7971 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7972
84ea618a
ST
79732013-03-07 Sriraman Tallam <tmsriram@google.com>
7974
7975 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7976 sandybridge processors.
7977
8f6d1c86
OE
79782013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7979
7980 PR target/56529
7981 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7982 inclusion list.
7983
ecdbd01a 79842013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
7985
7986 * config/microblaze/crti.S: Setup stack protection at entry
7987
0b4ce21b
GJL
79882013-03-04 Georg-Johann Lay <avr@gjlay.de>
7989
7990 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7991 (__rotldi3): Shift bytewise if applicable.
7992
b7c3f1ca
JG
79932013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7994
7995 * config/aarch64/sync-cache.c
7996 (__aarch64_sync_cache_range): Silence warnings.
7997
6d65e8f1
CM
79982013-02-25 Catherine Moore <clm@codesourcery.com>
7999
8000 Revert:
8001 2013-02-24 Catherine Moore <clm@codesourcery.com>
8002 Joseph Myers <joseph@codesourcery.com>
8003 Chao-ying Fu <fu@mips.com>
8004
8005 * config/mips/mips16.S: Don't build for microMIPS.
8006 * config/mips/linux-unwind.h: Handle microMIPS frame.
8007 * config/mips/crtn.S (fini, init): New labels.
8008
6941b508
CM
80092013-02-24 Catherine Moore <clm@codesourcery.com>
8010 Joseph Myers <joseph@codesourcery.com>
8011 Chao-ying Fu <fu@mips.com>
8012
8013 * config/mips/mips16.S: Don't build for microMIPS.
8014 * config/mips/linux-unwind.h: Handle microMIPS frame.
8015 * config/mips/crtn.S (fini, init): New labels.
8016
7c422dbb 80172012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 8018 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
8019 as dividend.
8020
110207ad
AM
80212013-02-16 Alan Modra <amodra@gmail.com>
8022
8023 PR target/55431
8024 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8025 (ppc_fallback_frame_state): Always set up save locations for fp
8026 and altivec. Don't bother with non-callee-saved regs, r0-r13
8027 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8028
e68a4ef6
GJL
80292013-02-12 Georg-Johann Lay <avr@gjlay.de>
8030
8031 PR target/54222
8032 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8033 _ssmulHA, _ssmulSA.
8034 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8035 _ssmulha3, _usmulusa3, _ssmulsa3.
8036 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8037 (__muldi3): XCALL __muldi3_6 instead of rcall.
8038 (__umulsidi3, __mulsidi3): New functions.
8039 (do_prologue_saves, do_epilogue_restores): New .macros.
8040 (__divdi3_moddi3): Use them.
8041 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8042 (__usmulusa3, __ssmulsa3): New functions.
8043
6c59ffd1
IS
80442013-02-11 Iain Sandoe <iain@codesourcery.com>
8045 Jack Howarth <howarth@bromo.med.uc.edu>
8046 Patrick Marlier <patrick.marlier@gmail.com>
8047
8048 PR libitm/55693
8049 * config/darwin-crt-tm.c: Remove dummy functions hack.
8050
85d768f3
GJL
80512013-02-08 Georg-Johann Lay <avr@gjlay.de>
8052
8053 PR target/54222
8054 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8055 * config/avr/lib2-object.mk: New iterator to build objects from it.
8056 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8057 lib2funcs.c.
8058 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8059 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8060 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8061 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8062 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8063 * config/avr/lib1funcs-fixed.S: Implement them.
8064
5d5bf775
RS
80652013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8066
8067 Update copyright years.
8068
99113dff
DE
80692013-02-01 David Edelsohn <dje.gcc@gmail.com>
8070
8071 PR target/54601
8072 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8073 Add crtcxa to extra_parts.
8074 * config/rs6000/exit.h: New file.
8075 * config/rs6000/cxa_atexit.c: New file.
8076 * config/rs6000/cxa_finalize.c: New file.
8077 * config/rs6000/crtcxa.c: New file.
8078 * config/rs6000/t-aix-cxa: New file.
8079 * config/rs6000/libgcc-aix-cxa.ver: New file.
8080
dbdbd982
NC
80812013-01-31 Nick Clifton <nickc@redhat.com>
8082
8083 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8084 variant.
8085
5893f158
GJL
80862013-01-29 Georg-Johann Lay <avr@gjlay.de>
8087
8088 PR target/54222
8089 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8090 _mulQQ, _mulHQ, _mulHA, _mulSA,
8091 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8092 _divQQ, _divHQ, _divHA, _divSA,
8093 _divUQQ, _divUHQ, _divUHA, _divUSA.
8094
ecdbd01a 80952013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 8096
dbdbd982 8097 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
8098 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8099 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8100 to exclude functions from being built with libgcc.c and use
8101 the microblaze assembly.
8102
ecdbd01a 81032013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
8104
8105 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8106 extra_parts.
8107
922c57d1
YZ
81082013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8109
8110 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8111 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8112 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8113 alignment operation.
8114
e0f8b6a0
SN
81152013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8116
8117 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8118 loop start address for cache clearing.
8119
00892272
GJL
81202013-01-14 Georg-Johann Lay <avr@gjlay.de>
8121
8122 * config/avr/lib1funcs.S: Remove trailing blanks.
8123 * config/avr/lib1funcs-fixed.S: Ditto.
8124
e59ec5fd
GJL
81252013-01-14 Georg-Johann Lay <avr@gjlay.de>
8126
8127 * config/avr/avr-lib.h: Add GPL copyright notice.
8128
3ffc1958
GJL
81292013-01-14 Georg-Johann Lay <avr@gjlay.de>
8130
8131 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8132 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8133 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8134 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8135
25c210f9
MK
81362013-01-07 Mark Kettenis <kettenis@openbsd.org>
8137
8138 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8139 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 8140
db59befb
NC
81412013-01-04 Nick Clifton <nickc@redhat.com>
8142
8143 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8144 the CALLT instruction is supported.
8145
5aa12dbf
JW
81462012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8147
8148 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8149 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8150
65f14117
JT
81512012-12-13 John Tytgat <John@bass-software.com>
8152
8153 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8154 is 25.
8155
ee3ae4f7
JJ
81562012-12-12 Jakub Jelinek <jakub@redhat.com>
8157
8158 PR libgcc/55451
8159 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8160 undefined signed overflows.
8161
2fcfba3d
UB
81622012-12-09 Uros Bizjak <ubizjak@gmail.com>
8163
8164 PR target/55344
8165 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8166
4f2b3dc2
UB
81672012-12-06 Uros Bizjak <ubizjak@gmail.com>
8168
8169 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8170 (FP_TRAPPING_EXCEPTIONS): Define.
8171 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8172 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8173
066161a2
RH
81742012-12-04 Richard Henderson <rth@redhat.com>
8175
8176 PR bootstrap/55571
8177 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8178
7d296953 81792012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 8180
4f2b3dc2 8181 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
8182 (FP_EX_SHIFT): Define.
8183 (FP_TRAPPING_EXCEPTIONS): Define.
8184
7d296953 81852012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
8186
8187 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8188 (FP_ROUNDMODE): Use FP_RND_MASK.
8189 * config/aarch64/sfp-exceptions.c: New.
8190 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8191 Use __sfp_handle_exceptions.
8192
5005fe22
RE
81932012-12-04 Richard Earnshaw <rearnsha@arm.com>
8194
8195 * config.host: (arm*-*-freebsd*): Remove.
8196 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8197 (arm*-*-elf*): Remove.
8198 (arm*-*-wince-pe*): Remove.
8199 * arm/unwind-arm.c (struct fpa_reg): Delete.
8200 (struct fpa_regs): Delete.
8201 (phase1_vrs): Remove fpa element.
8202 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8203 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8204 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8205 * ieee754-sf.S (floatundisf): Remove FPA support.
8206 (floatdisf): Likewise.
8207 * ieee75f-df.S (floatundidf): Likewise.
8208 (floatdidf): Likewise.
8209
e5a81c8e
KT
82102012-11-29 Kai Tietz <ktietz@redhat.com>
8211
8212 PR target/55445
8213 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8214 * unwind-generic.h: Likewise.
8215 * unwind-seh.c: Likewise.
8216
f4919e4a
RH
82172012-11-28 Richard Henderson <rth@redhat.com>
8218
8219 PR libgcc/48076
8220 * emutls.c (__emutls_get_address): Avoid race condition between
8221 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 8222
e13d9d5a
GJL
82232012-11-22 Georg-Johann Lay <avr@gjlay.de>
8224
8225 Adjust decimal point of signed accum mode to GCC default.
8226
8227 PR target/54222
8228 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8229 _divqq_helper.
8230 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8231 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8232 (__mulha3, __mulsa3)
8233 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
8234 decimal point of signed accum types.
8235
e13d9d5a
GJL
8236 (__mulusa3_round): New function.
8237 (__mulusa3): Use it.
8238 (__divqq_helper): New function.
8239 (__udivuqq3): Use it.
8240
1b845c6e
JJ
82412012-11-20 Jakub Jelinek <jakub@redhat.com>
8242
8243 PR bootstrap/55370
8244 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8245
822a258a
TJ
82462012-11-18 Teresa Johnson <tejohnson@google.com>
8247
8248 PR bootstrap/55051
8249 * libgcov.c (gcov_exit): Remove merged program summary
8250 comparison unless !GCOV_LOCKED.
8251
7d296953 82522012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
8253
8254 * soft-fp: Updated from glibc upstream.
8255
e808687a
ILT
82562012-11-06 Ian Lance Taylor <iant@google.com>
8257
8258 * generic-morestack.c (__generic_morestack): Align the returned
8259 stack pointer to a 32 byte boundary.
8260 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8261 increment the return address until we have decided that we don't
8262 have a varargs function.
8263 (__morestack) [32-bit]: Align stack correctly when calling C
8264 functions.
8265 (__morestack) [64-bit]: Likewise.
8266
460277e0
TS
82672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8268
8269 * configure: Regenerate.
8270
73edb277
UB
82712012-11-02 Uros Bizjak <ubizjak@gmail.com>
8272
8273 PR target/55175
8274 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8275 * config/i386/sfp-machine.h: Guard exception handling
8276 code with _SOFT_FLOAT.
8277 * config/i386/32/sfp-machine.h: Guard rounding handling
8278 code with _SOFT_FLOAT.
8279 * config/i386/64/sfp-machine.h: Ditto.
8280
c1d4fa04
JS
82812012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8282
8283 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8284 as extra_parts.
8285
eff6ca85
UB
82862012-10-26 Uros Bizjak <ubizjak@gmail.com>
8287
8288 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8289 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8290 when appropriate. Correct structure element types.
8291 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8292 -minline-all-stringops from compile flags.
8293
7d296953 82942012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
8295
8296 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8297
7d296953 82982012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 8299
eff6ca85 8300 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 8301
6f288860
SH
83022012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8303
8304 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8305 tmake_file.
8306
1e3d5096
IB
83072012-10-23 Ian Bolton <ian.bolton@arm.com>
8308 Jim MacArthur <jim.macarthur@arm.com>
8309 Marcus Shawcroft <marcus.shawcroft@arm.com>
8310 Nigel Stephens <nigel.stephens@arm.com>
8311 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8312 Richard Earnshaw <rearnsha@arm.com>
8313 Sofiane Naci <sofiane.naci@arm.com>
8314 Stephen Thomas <stephen.thomas@arm.com>
8315 Tejas Belagod <tejas.belagod@arm.com>
8316 Yufeng Zhang <yufeng.zhang@arm.com>
8317
8318 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8319 * config/aarch64/crti.S: New file.
8320 * config/aarch64/crtn.S: New file.
8321 * config/aarch64/linux-unwind.h: New file.
8322 * config/aarch64/sfp-machine.h: New file.
8323 * config/aarch64/sync-cache.c: New file.
8324 * config/aarch64/t-aarch64: New file.
8325 * config/aarch64/t-softfp: New file.
8326
8a740f07
HPN
83272012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8328
8329 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8330 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8331 no-longer-needed LDBU insns.
8332
7d296953 83332012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8334
8335 * config.host
8336 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8337 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8338
595fefee
MGD
83392012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8340
8341 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8342
9945a876
MK
83432012-10-15 Matthias Klose <doko@ubuntu.com>
8344
8345 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8346
1183dc2c
PC
83472012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8348
8349 * configure: Regenerate.
8350 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8351
945a9c1f
UB
83522012-10-10 Uros Bizjak <ubizjak@gmail.com>
8353
8354 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8355 instructions for 64bit targets only.
8356
fb8bf47a
UB
83572012-10-10 Uros Bizjak <ubizjak@gmail.com>
8358
8359 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8360 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8361 * config/i386/32/sfp-machine.h: ... here.
8362 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8363 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8364 New defines.
8365
acb72498
MK
83662012-10-07 Matthias Klose <doko@ubuntu.com>
8367
8368 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8369 as unused.
8370 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8371
8eaee0f0
MK
83722012-10-06 Mark Kettenis <kettenis@openbsd.org>
8373
8374 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8375 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8376 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8377 (ElfW): Likewise.
8378
5e3e4fe8
JW
83792012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8380
8381 PR other/53889
8382 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8383 Fix parameter names.
8384
86086376
OE
83852012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8386
8387 PR target/33135
8388 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8389 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8390 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8391
9597375a
OE
83922012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8393
8394 PR target/50457
8395 * config/sh/linux-atomic.S: Delete.
8396 * config/sh/linux-atomic.c: New.
8397 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8398 linux-atomic.c. Add cflags to disable warnings.
8399
1504e3e1
JW
84002012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8401
8402 PR other/53889
8403 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8404 function.
8405 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8406 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8407 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8408 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8409 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8410 Likewise.
1504e3e1
JW
8411 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8412 Likewise.
8413 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8414 Likewise.
8415 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8416 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8417
17f293b0
MK
84182012-09-19 Mark Kettenis <kettenis@openbsd.org>
8419
9597375a
OE
8420 * config.host (hppa-*-openbsd*): New target.
8421 * config/pa/t-openbsd: New file.
17f293b0 8422
51526856
GJL
84232012-09-15 Georg-Johann Lay <avr@gjlay.de>
8424
8425 PR target/54222
8426 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8427 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8428 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8429 (__divsa3): Use __negsi2 to negate r_quoL.
8430 * config/avr/lib1funcs.S (FALIAS): New macro.
8431 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8432 (__negsi2): ...this new function.
8433 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8434 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8435 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8436 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8437 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8438 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8439
aadb5b43
OE
84402012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8441
8442 PR target/54089
8443 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8444 (lshrsi3): Reimplement as lshrsi3_r0.
8445
d5d66749
AS
84462012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8447
8448 PR target/46191
8449 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8450 of libgcc.a.
8451
c6c36e73
TJ
84522012-09-07 Teresa Johnson <tejohnson@google.com>
8453
9597375a 8454 PR gcov-profile/54487
c6c36e73 8455 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8456 differences.
c6c36e73 8457
b588ae30
GJL
84582012-09-05 Georg-Johann Lay <avr@gjlay.de>
8459
8460 PR target/54461
8461 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8462 not configured --with-avrlibc=no.
8463 * config/avr/t-avrlibc: New file.
8464 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8465 (DPBIT_FUNCS): Ditto.
8466 (TPBIT_FUNCS): Ditto.
8467
abd16fb1
TJ
84682012-09-04 Teresa Johnson <tejohnson@google.com>
8469
8470 * libgcov.c (struct gcov_summary_buffer): New structure.
8471 (gcov_histogram_insert): New function.
8472 (gcov_compute_histogram): Ditto.
8473 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8474 histograms during summary merging.
8475
613061fd
MK
84762012-09-01 Mark Kettenis <kettenis@openbsd.org>
8477
8478 * config.host (x86_64-*-openbsd*): New target.
73edb277 8479
867a8345
CLT
84802012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8481
8482 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8483 attribute.
8484
4aeaaca3
GJL
84852012-08-24 Georg-Johann Lay <avr@gjlay.de>
8486
8487 PR target/54222
8488 * config/avr/t-avr (conv_X): Rename to func_X.
8489
e55e4056
GJL
84902012-08-24 Georg-Johann Lay <avr@gjlay.de>
8491
8492 PR target/54222
8493 * config/avr/lib1funcs-fixed.S: New file.
8494 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8495 after they are used.
8496 (neg2, neg4): New macros.
8497 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8498 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8499 (__umulhisi3): Speed up MUL variant if there is enough flash.
8500 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8501 avr-modes.def.
8502 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8503 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8504 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8505 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8506 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8507 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8508 (LIB2FUNCS_EXCLUDE): Add supported functions.
8509
a147b6d2
GJL
85102012-08-22 Georg-Johann Lay <avr@gjlay.de>
8511
8512 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8513 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8514 libgcc-s-objects.
8515 * fixed-obj.mk: Only expand dependency if $o is not in
8516 LIB2FUNCS_EXCLUDE.
8517
c637141a
L
85182012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8519
8520 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8521
130e00bd
JM
85222012-08-22 Joseph Myers <joseph@codesourcery.com>
8523
8524 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8525 depend on --enable-shared.
8526 ($(lib1asmfuncs-o)): Use %.vis files independent of
8527 --enable-shared.
8528 * static-object.mk ($(base)$(objext), $(base).vis)
8529 ($(base)_s$(objext)): Use same rules for visibility handling as in
8530 shared-object.mk.
8531
4b1b3788
ILT
85322012-08-21 Ian Lance Taylor <iant@google.com>
8533
8534 * config/i386/morestack.S (__morestack_non_split): Increase amount
8535 of space allocated for non-split code stack.
8536
d2468141
JM
85372012-08-19 Joseph Myers <joseph@codesourcery.com>
8538
8539 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8540 even if inhibit_libc.
8541
a508e1a8
JB
85422012-08-17 Julian Brown <julian@codesourcery.com>
8543
8544 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8545 -fexceptions -fnon-call-exceptions if not defined.
8546 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8547 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8548
5615a07d
AS
85492012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8550
8551 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8552 type.
8553
138f5acd
DE
85542012-08-16 David Edelsohn <dje.gcc@gmail.com>
8555
8556 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8557 rs6000/t-slibgcc-aix.
8558
18efc0dd
SB
85592012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8560
8561 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8562
6b39bc38
SB
85632012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8564
8565 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8566
cd25dea0
L
85672012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8568
8569 PR driver/54171
8570 * Makefile.in (version): Replace top_srcdir with srcdir.
8571
a3dda30b
JY
85722012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8573
8574 * Makefile.in (version): set to BASE-VER file from gcc directory.
8575
d04aacfc
NC
85762012-08-01 Nick Clifton <nickc@redhat.com>
8577
8578 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8579 Implements __clrsb for an HImode argument.
8580
0d13c974
NC
85812012-07-31 Nick Clifton <nickc@redhat.com>
8582
8583 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8584 Implements __clrsb for an HImode argument.
8585 * config/stormy16/clrsbhi2.c: New file:
8586 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8587
efbb59b2
SB
85882012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8589
8590 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8591
bf1431e3
TG
85922012-07-19 Tristan Gingold <gingold@adacore.com>
8593 Richard Henderson <rth@redhat.com>
8594
8595 * unwind-seh.c: New file.
8596 * unwind-generic.h: Include windows.h for SEH.
8597 (_Unwind_Exception): Use 6 private fields for SEH.
8598 (_GCC_specific_handler): Declare.
8599 * unwind-c.c (__gcc_personality_seh0): New function.
8600 Adjust for SEH.
8601 * config/i386/libgcc-cygming.ver: New file.
8602 * config/i386/t-seh-eh: New file.
8603 * config.host (x86_64-*-mingw*): Default to seh.
8604
659140c8
SB
86052012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8606
8607 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8608
a20d08fd
UB
86092012-06-17 Uros Bizjak <ubizjak@gmail.com>
8610
8611 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8612 __builtin_expect when checking for exceptions.
8613 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8614
79261115
UB
86152012-06-13 Uros Bizjak <ubizjak@gmail.com>
8616
4a172156
UB
8617 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8618 function declaration.
8619 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8620 (FP_RND_MASK): New.
8621 * config/ia64/sfp-exceptions.c: New.
8622 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 8623
bb5c97d4
UB
86242012-06-13 Uros Bizjak <ubizjak@gmail.com>
8625
8626 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8627 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8628 * config/i386/64/sfp-machine: ... (delete here) ...
8629 * config/i386/sfp-machine.h: ... to here.
8630 (FP_EX_MASK): Remove.
8631 (FP_RND_MASK): New.
8632 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8633
91fe5efb
ST
86342012-06-11 Sriraman Tallam <tmsriram@google.com>
8635
8636 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8637 * config/i386/libgcc-sol2.ver: Ditto.
8638 * config/i386/libgcc-glibc.ver: Ditto.
8639
67a218c5
RM
86402012-06-11 Roland McGrath <mcgrathr@google.com>
8641
8642 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8643 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8644 pthread_cancel.
8645
492fbea1
UB
86462012-06-09 Uros Bizjak <ubizjak@gmail.com>
8647
8648 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8649 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8650 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8651 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8652 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8653 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8654 * config/i386/64/sfp-machine: ... (delete here) ...
8655 * config/i386/sfp-machine.h: ... to here.
8656 (FP_EX_MASK): New.
8657 (__sfp_handle_exceptions): New function declaration.
8658 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8659 * config/i386/sfp-exceptions.c: New.
8660 * config/i386/t-softfp: New.
8661 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8662 i386/t-softfp to tmake_file.
8663
7b4cf266
DM
86642012-06-03 David S. Miller <davem@davemloft.net>
8665
8666 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8667 change.
8668
0de0d5c6
DM
86692012-05-31 David S. Miller <davem@davemloft.net>
8670
8671 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8672 multiply and divide instructions on 32-bit when V9.
8673 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8674
d8c9d391
JM
86752012-05-29 Joseph Myers <joseph@codesourcery.com>
8676
8677 * config/arm/ieee754-df.S: Fix typos.
8678 * config/arm/ieee754-sf.S: Fix typos.
8679 * config/c6x/libunwind.S: Fix typos.
8680 * config/epiphany/udivsi3-float.c: Fix typos.
8681 * config/microblaze/muldi3_hard.S: Fix typos.
8682 * config/picochip/adddi3.S: Fix typos.
8683 * config/picochip/ashlsi3.S: Fix typos.
8684 * config/picochip/ashrsi3.S: Fix typos.
8685 * config/picochip/clzsi2.S: Fix typos.
8686 * config/picochip/cmpsi2.S: Fix typos.
8687 * config/picochip/divmod15.S: Fix typos.
8688 * config/picochip/divmodhi4.S: Fix typos.
8689 * config/picochip/divmodsi4.S: Fix typos.
8690 * config/picochip/longjmp.S: Fix typos.
8691 * config/picochip/lshrsi3.S: Fix typos.
8692 * config/picochip/parityhi2.S: Fix typos.
8693 * config/picochip/popcounthi2.S: Fix typos.
8694 * config/picochip/setjmp.S: Fix typos.
8695 * config/picochip/subdi3.S: Fix typos.
8696 * config/picochip/ucmpsi2.S: Fix typos.
8697 * config/picochip/udivmodhi4.S: Fix typos.
8698 * config/picochip/udivmodsi4.S: Fix typos.
8699 * config/spu/divv2df3.c: Fix typos.
8700 * config/spu/mfc_multi_tag_release.c: Fix typos.
8701 * config/spu/mfc_tag_release.c: Fix typos.
8702 * configure.ac: Fix typos.
8703 * configure: Regenerate.
8704
31a18a7e
ILT
87052012-05-25 Ian Lance Taylor <iant@google.com>
8706
8707 * config/i386/morestack.S (__morestack_non_split): Check whether
8708 caller is varargs and needs %bp to hold the stack frame on return.
8709
c5768510
OH
87102012-05-25 Olivier Hainque <hainque@adacore.com>
8711
8712 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8713 sequence in the non pic case on VxWorks.
8714
7c7c339b
OH
87152012-05-24 Olivier Hainque <hainque@adacore.com>
8716
73fb7630 8717 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
8718 "install-leaf" to "install".
8719
fdc1b7d3
OH
87202012-05-24 Olivier Hainque <hainque@adacore.com>
8721
8722 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8723 Use a separate command for stamp removals.
8724
07ba94b9
AP
87252012-05-21 Andrew Pinski <apinski@cavium.com>
8726
8727 PR bootstrap/53183
8728 * configure.ac: Define the default includes to being none.
8729 * configure: Regenerate.
8730
4677d2eb
OH
87312012-05-16 Olivier Hainque <hainque@adacore.com>
8732
8733 * Makefile.in (install-unwind_h): Rename into ...
8734 (install-unwind_h-forbuild): New target.
8735 (all): Use it instead of the former install-unwind_h.
8736 (install-unwind_h): Reinstate, copy to user install destination
8737 for include files, not to the internal gcc object directory one.
8738 (install-leaf): Depend on it.
8739
7d67c380
OH
87402012-05-15 Olivier Hainque <hainque@adacore.com>
8741
8742 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8743 register numbers. LR_REGNO replaces R_LR.
8744 (ucontext_for): New, helper for ...
8745 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8746 and 5.3 of ...
8747 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8748
aca06c90
RO
87492012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8750
8751 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8752 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8753 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8754 i386/t-cpuinfo ...
8755 (i[34567]86-*-*, x86_64-*-*): ... here.
8756
8757 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8758 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8759
8760 * config/i386/i386-cpuinfo.c: Rename to ...
8761 * config/i386/cpuinfo.c: ... this.
8762 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8763
8764 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8765 (libgcc_cv_init_priority): New test.
8766 * configure: Regenerate.
8767 * config.in: New file.
8768 * Makefile.in (clean): Rename config.h to auto-target.h.
8769 (config.h): Likewise.
8770 (stamp-h): Likewise.
8771
8772 * config/i386/cpuinfo.c (auto-target.h): Include.
8773 (CONSTRUCTOR_PRIORITY): Define.
8774 (__cpu_indicator_init): Use it.
8775
0d03ac1b
L
87762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8777
8778 * longlong.h: Use a URL instead of an FSF postal address.
8779 Replace spaces with tab.
8780
4a172156 87812012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
8782
8783 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8784 (__gcov_dump): Ditto.
8785 (gcov_dump_complete): New global variable.
8786 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8787 (__gcov_flush): Outline functionality now in gcov_clear.
8788 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8789
e4bb767e
AJ
87902012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8791
31a18a7e
ILT
8792 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8793 (mips*-*-linux*): Include mips/t-tpbit when long double is
8794 16 bytes long.
e4bb767e 8795
5ddecff9
ST
87962012-04-25 Sriraman Tallam <tmsriram@google.com>
8797
8798 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8799 (get_available_features): New argument. Check for AVX2.
8800 (__cpu_indicator_init): Modify call to get_available_features.
8801
b427dd7a
AM
88022012-04-25 Alan Modra <amodra@gmail.com>
8803
8804 * config/rs6000/crtsavevr.S: New file.
8805 * config/rs6000/crtrestvr.S: New file.
8806 * config/rs6000/t-savresfgpr: Build the above.
8807 * config/rs6000/t-netbsd: Likewise.
8808
ad491329
ST
88092012-04-24 Sriraman Tallam <tmsriram@google.com>
8810
8811 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8812
792317cc
ST
88132012-04-24 Sriraman Tallam <tmsriram@google.com>
8814
8815 * libgcc/config/i386/i386-cpuinfo.c: New file.
8816 * libgcc/config/i386/t-cpuinfo: New file.
8817 * libgcc/config.host: Include t-cpuinfo.
8818 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8819
e1be98a4
CF
88202012-04-24 Chao-ying Fu <fu@mips.com>
8821
8822 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8823
1bde7dab
TS
88242012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8825
8826 struct siginfo vs. siginfo_t
8827
8828 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8829 siginfo_t instead of struct siginfo.
8830 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8831 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8832 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8833 (ia64_handle_unwabi): Likewise.
8834 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8835 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8836 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8837 (sh_fallback_frame_state): Likewise.
8838 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8839 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8840
24590f66
L
88412012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8842
8843 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8844 system call number.
8845
9a9dcce8
EB
88462012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8847
8848 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8849 if it hasn't been previously saved.
8850
6401aaf5
L
88512012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8852
8853 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8854 only for glibc.
8855
7fd6378e
GJL
88562012-03-28 Georg-Johann Lay <avr@gjlay.de>
8857
8858 PR target/52737
8859 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8860 instead of __AVR_HAVE_8BIT_SP__.
8861
9e916de7
TG
88622012-03-26 Tristan Gingold <gingold@adacore.com>
8863
8864 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8865 (unw_table_entry): Use unw_word instead of unsigned long.
8866 (_Unwind_FindTableEntry): Likewise.
8867 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8868 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8869 (_Unwind_FindTableEntry): Likewise.
8870 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8871 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8872 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8873 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8874 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8875 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8876 (uw_init_context_1, uw_install_context): Likewise.
8877 (unw_word): Move to unwind-ia64.h
8878
4b12e93d
TG
88792012-03-26 Tristan Gingold <gingold@adacore.com>
8880
8881 * config/vms/vms-ucrt0.c: Update copyright years.
8882 Add a sanity check.
8883 (___gcc_main_flags): Declare.
8884 (__main): Check flags to remap argv and exit code.
8885 * config.host (*-*-*vms*): Adjust extra_parts.
8886 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8887 (crt0.o): Add.
8888
06ea7371
RE
88892012-03-22 Richard Earnshaw <rearnsha@arm.com>
8890
8891 * arm/lib1funcs.asm (ctzsi2): New function.
8892 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8893 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8894 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8895 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8896 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8897 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8898
d82ad50d
AT
88992012-03-21 Andreas Tobler <andreast@fgznet.ch>
8900
8901 * config.host: Add bits to support powerpc64-*-freebsd*.
8902 * config/rs6000/freebsd-unwind.h: New file.
8903 * config/rs6000/t-freebsd64: New file.
8904
b260a8c0
RG
89052012-03-20 Richard Guenther <rguenther@suse.de>
8906
8907 PR gcov-profile/52627
8908 * libgcov.c (init_mx): Fix mutex name.
8909
86286a8a
TG
89102012-03-16 Tristan Gingold <gingold@adacore.com>
8911
8912 * config/ia64/vms-unwind.h: Remove ulong (and replace
8913 it by unw_reg where used). Define unw_reg with __int64.
8914
7888f266
RO
89152012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8916
8917 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8918 Solaris 8 handling.
8919 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8920 Solaris 8 handling.
8921 (sparc_is_sighandler): Likewise.
8922
f155bc64
L
89232012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8924
8925 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8926 <= saved reg size.
8927
d47657bd
RO
89282012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8929
8930 * config/arm/crtn.S: Fix typo.
8931
5bef73a1
RG
89322012-03-13 Richard Guenther <rguenther@suse.de>
8933
8934 * libgcov.c: Remove stdio.h include and NULL un-define.
8935
9c4271f3
RG
89362012-03-13 Richard Guenther <rguenther@suse.de>
8937
8938 PR target/52569
8939 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8940
c6d10e7c
RG
89412012-03-13 Richard Guenther <rguenther@suse.de>
8942
8943 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8944
074a385f
RG
89452012-03-13 Richard Guenther <rguenther@suse.de>
8946
8947 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8948 and __gthread_mutex_init_function definitions.
8949
c4bc5c25
RO
89502012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8951
8952 * config.host (mips*-*-openbsd*): Remove.
8953
5c30094f
RO
89542012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8955
8956 * config.host: Remove alpha*-dec-osf5.1* handling.
8957 * config/alpha/gthr-posix.c: Remove.
8958 * config/alpha/libgcc-osf5.ver: Remove.
8959 * config/alpha/osf5-unwind.h: Remove.
8960 * config/alpha/t-osf-pthread: Remove.
8961 * config/alpha/t-slibgcc-osf: Remove.
8962 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8963 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8964 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8965 * mkmap-flat.awk: Remove osf_export handling.
8966
33e3e24d
RG
89672012-03-12 Richard Guenther <rguenther@suse.de>
8968
8969 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8970 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8971 (__gthread_mutex_init_function): New function.
8972 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8973
8974 PR gcov/49484
8975 * libgcov.c: Include gthr.h.
8976 (__gcov_flush_mx): New global variable.
8977 (init_mx, init_mx_once): New functions.
8978 (__gcov_flush): Protect self with a mutex.
8979 (__gcov_fork): Re-initialize mutex after forking.
8980 * unwind-dw2-fde.c: Change condition under which to use
8981 __GTHREAD_MUTEX_INIT_FUNCTION.
8982
d8aba32a
TG
89832012-03-12 Tristan Gingold <gingold@adacore.com>
8984
8985 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8986 * config/ia64/t-vms: Likewise.
8987
75ffafdc
MH
89882012-03-11 Michael Hope <michael.hope@linaro.org>
8989
4a172156
UB
8990 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8991 for Thumb-2.
75ffafdc 8992
ef6c2c53
WL
89932012-03-07 Walter Lee <walt@tilera.com>
8994
8995 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8996 "arch_atomic_".
8997 (atomic_xor): Rename and move definition to
8998 config/tilepro/atomic.h.
8999 (atomic_nand): Ditto.
9000 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9001 "arch_atomic_".
9002 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9003 (arch_atomic_nand): Ditto.
9004
4e30d980
GJL
90052012-03-07 Georg-Johann Lay <avr@gjlay.de>
9006
9007 PR target/52507
9008 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9009
61108225
GJL
90102012-03-07 Georg-Johann Lay <avr@gjlay.de>
9011
9012 PR target/52505
9013 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9014 from RAM.
9015
b30e10ab
GJL
90162012-03-07 Georg-Johann Lay <avr@gjlay.de>
9017
9018 PR target/52461
9019 PR target/52508
9020 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9021 if RAMPZ affects reading from RAM.
9022 (__tablejump_elpm__): Ditto.
9023 (.xload): Ditto.
9024 (__movmemx_hi): Ditto.
9025 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9026 (__do_global_dtors): Ditto.
9027 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9028 (__movmemx_hi): Ditto.
9029
8993fde4
RH
90302012-03-05 Richard Henderson <rth@redhat.com>
9031
9032 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9033 [ARM] (count_trailing_zeros): Use the builtin.
9034
b7633ee3
KT
90352012-03-01 Kai Tietz <ktietz@redhat.com>
9036
9037 * soft-fp: Imported from glibc upstream.
9038
fbd3340c
KT
90392012-02-28 Kai Tietz <ktietz@redhat.com>
9040
9041 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9042 for mingw-targets as attribute gcc_struct.
9043
e9e053eb
ILT
90442012-02-28 Ian Lance Taylor <iant@google.com>
9045
9046 * generic-morestack.c (__splitstack_releasecontext): Correct call
9047 to __morestack_release_segments.
9048
d80c632e
ST
90492012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9050
9051 PR target/52390
9052 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9053 for __linux__ when removing signals from __morestack_fullmask.
9054
0253a8b1
GJL
90552012-02-23 Georg-Johann Lay <avr@gjlay.de>
9056
9057 PR target/52261
9058 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9059
e10e461e
UW
90602012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9061
9062 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9063 instead of HAVE_INITFINI_ARRAY.
9064 * config/ia64/crtend.S: Likewise.
9065
0c0c6398
KT
90662012-02-20 Kai Tietz <ktietz@redhat.com>
9067
d7470374
KT
9068 PR libstdc++/52300
9069 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9070
0c0c6398
KT
9071 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9072 to w32-unwind.h header.
9073
78c27266
RS
90742012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9075
9076 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9077 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9078 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9079 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9080
5adeb246
RS
90812012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9082
9083 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9084
672ed313
IS
90852012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9086
9087 PR libitm/52220
9088 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 9089
e948a1fb
IS
90902012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9091 Patrick Marlier <patrick.marlier@gmail.com>
9092
9093 PR libitm/52220
9094 * config/darwin-crt-tm.c: Generate dummy functions.
9095
6017aed3
IS
90962012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9097 Patrick Marlier <patrick.marlier@gmail.com>
9098
9099 PR libitm/52042
9100 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9101 (__doTMRegistrations): Call it.
e9e053eb 9102 (__doTMdeRegistrations): Likewise.
6017aed3 9103
2da8c1ad 91042012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
9105 Anatoly Sokolov <aesok@post.ru>
9106 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
9107
9108 PR target/52261
9109 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9110 (__epilogue_restores__): Ditto.
9111
0f952eb4
EB
91122012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9113
9114 PR target/51921
9115 PR target/52205
9116 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9117 Solaris 11 and slightly reformat.
9118 (sparc_is_sighandler): Likewise.
9119
dd552284
WL
91202012-02-14 Walter Lee <walt@tilera.com>
9121
9122 * config.host: Handle tilegx and tilepro.
9123 * config/tilegx/sfp-machine.h: New file.
9124 * config/tilegx/sfp-machine32.h: New file.
9125 * config/tilegx/sfp-machine64.h: New file.
9126 * config/tilegx/t-crtstuff: New file.
9127 * config/tilegx/t-softfp: New file.
9128 * config/tilegx/t-tilegx: New file.
9129 * config/tilepro/atomic.c: New file.
9130 * config/tilepro/atomic.h: New file.
9131 * config/tilepro/linux-unwind.h: New file.
9132 * config/tilepro/sfp-machine.h: New file.
9133 * config/tilepro/softdivide.c: New file.
9134 * config/tilepro/softmpy.S: New file.
9135 * config/tilepro/t-crtstuff: New file.
9136 * config/tilepro/t-tilepro: New file.
9137
b59cbd50
JW
91382012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9139
9140 PR libstdc++/51296
9141 PR libstdc++/51906
9142 * gthr-posix.h: Allow static initializer macros to be disabled.
9143 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9144
6caf807f
CLT
91452012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9146
9147 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9148 Add t-slibgcc-libgcc to tmake_file.
9149 * config/mips/libgcc-mips16.ver: Revert previous patch.
9150 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9151
7d296953
JJ
91522012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9153 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
9154
9155 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9156 * config/cr16/crti.S: New file.
9157 * config/cr16/crtlibid.S: New file.
9158 * config/cr16/crtn.S: New file.
9159 * config/cr16/lib1funcs.S: New file.
9160 * config/cr16/t-cr16: New file.
9161 * config/cr16/t-crtlibid: New file.
9162 * config/cr16/unwind-dw2.h: New file.
9163 * config/cr16/unwind-cr16.c: New file.
9164 * config/cr16/divmodhi3.c: New file.
9165
8ef03aa7
AM
91662012-01-25 Alan Modra <amodra@gmail.com>
9167
9168 * config/rs6000/t-linux64: Delete. Move..
9169 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9170 * config/rs6000/t-linux: ..and libgcc flags to here.
9171
daecebc8
DR
91722012-01-22 Douglas B Rupp <rupp@gnat.com>
9173
9174 * config.host (i[34567]86-*-interix3*):
8ef03aa7 9175 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
9176 * configure: Regenerate.
9177
ddaf8125
RS
91782012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9179 Richard Sandiford <rdsandiford@googlemail.com>
9180
9181 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9182 * config/mips/mips16.S (__mips16_rdhwr): New function.
9183 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9184
2cd8b32c
NS
91852012-01-11 Nathan Sidwell <nathan@acm.org>
9186
9187 * libgcov.c (__gcov_init): Ignore objects with no functions.
9188
cba300dd
GJL
91892012-01-10 Georg-Johann Lay <avr@gjlay.de>
9190
9191 PR target/49868
9192 Extend __pgmx semantics to linearize memory.
9193 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9194 * config/avr/lib1funcs.S (__xload_1): New function.
9195 (__movmemx_qi, __movmemx_hi): New functions.
9196 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9197 semantics.
9ffaf4bc 9198
3d137660
EB
91992012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9200
9201 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9202 purported sigacthandler address isn't null before dereferencing it.
9203 (sparc_is_sighandler): Likewise.
9204
bf4db96c
EB
92052012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9206
9207 PR ada/41929
9208 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9209 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9210 (sparc_is_sighandler): Likewise.
9211 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9212
1ab3568b
TG
92132012-01-06 Tristan Gingold <gingold@adacore.com>
9214
9215 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9216 compatibility thunks...
9217 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9218 (crtbeginS.o, crtendS.o): ... and these to ...
9219 * config/ia64/t-ia64-elf: ... this new file.
9220 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9221 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9222
925b0ed8
AK
92232012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9224
9225 * configure: Regenerate.
9226 * config/s390/t-crtstuff: Remove -fPIC.
9227
a99ad737
JW
92282012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9229
9230 PR bootstrap/51006
9231 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9232 for NetBSD.
9233
884f56d1
GJL
92342012-01-02 Georg-Johann Lay <avr@gjlay.de>
9235
9236 PR target/51345
9237 * config/avr/lib1funcs.S: Remove FIXME comments.
9238 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9239
8c57e547
GJL
92402012-01-02 Georg-Johann Lay <avr@gjlay.de>
9241
9242 Implement light-weight DImode support.
9243 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9244 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9245 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9246 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9247
04dbc287
NS
92482011-12-30 Nathan Sidwell <nathan@acm.org>
9249
9250 * libgcov.c (gcov_crc32): Remove global var.
9251 (free_fn_data): New function.
9252 (buffer_fn_data): Pass in filename, more robust error recovery.
9253 (crc32_unsigned): New function.
9254 (gcov_exit): More robust detection of new program. More robust
9255 error recovery.
9256 (__gcov_init): Do not update program's crc here.
9257
8e1d97d4
TG
92582011-12-21 Tristan Gingold <gingold@adacore.com>
9259
9260 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9261
9ffaf4bc
ILT
92622011-12-21 Ian Lance Taylor <iant@google.com>
9263
9264 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9265
a0c8d0c1
ILT
92662011-12-20 Ian Lance Taylor <iant@google.com>
9267
9268 * config/i386/morestack.S (__morestack_non_split): If there is
9269 enough stack space already, don't split. Ask for more stack space
9270 than we required.
9271
69048898
SDJ
92722011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9273
9274 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9275 `sys/sdt.h'.
9276 (_Unwind_DebugHook): New function.
9277 (uw_restore_core_regs): New define.
9278 (unwind_phase2): Use uw_restore_core_regs instead of
9279 restore_core_regs.
9280 (unwind_phase2_forced): Likewise.
9281 (__gnu_Unwind_Resume): Likewise.
9282
1bb4b6a3
UB
92832011-12-20 Uros Bizjak <ubizjak@gmail.com>
9284
9285 * config/alpha/linux-unwind.h: Update copyright years.
9286 (MD_FROB_UPDATE_CONTEXT): New define.
9287 (alpha_frob_update_context): New function.
9288
eb028768
RS
92892011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9290
9291 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9292 tmake_file rather replacing it.
9293
6a2045bf
IS
92942011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9295
9296 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 9297 function is not used for PPC64.
6a2045bf
IS
9298 (save_world): Amend comments. Update the VRsave mask to reflect the
9299 saved regs.
9300 (rest_world): Update comments, do not clobber r10, do not use r8.
9301 (eh_rest_world_r10): Amend comments, do not use r8.
9302 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9303 no longer used, move restore of CR and target address to the end of
9304 the routine.
9305
a13780a6
L
93062011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9307
9308 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9309 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9310
d7288dfb
GJL
93112011-12-14 Georg-Johann Lay <avr@gjlay.de>
9312
9313 PR target/49313
9314 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9315 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9316
8d2c862d
EB
93172011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9318
9319 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9320
3447cae6
GJL
93212011-12-09 Georg-Johann Lay <avr@gjlay.de>
9322
9323 PR target/49313
9324 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9325 * config/avr/lib1funcs.S (__muldi3): New function.
9326
806fc6aa
AP
93272011-12-06 Andrew Pinski <apinski@cavium.com>
9328
9329 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9330 size of func_ptr.
9331 (__frame_dummy_init_array_entry): Likewise.
9332
28c5e6b5
GJL
93332011-12-06 Georg-Johann Lay <avr@gjlay.de>
9334
9335 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9336
9337 PR target/51345
9338 PR target/51002
9339 * config/avr/lib1funcs.S (__prologue_saves__,
9340 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9341 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9342
8f90394a
IS
93432011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9344
9345 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9346
06dd33ac
JDA
93472011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9348
9349 PR other/51272
9350 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9351 (_ITM_deregisterTMCloneTable): Likewise.
9352 (__register_frame_info): Fix unused warning.
9353 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9354 pthread_default_stacksize_np): Likewise.
9355 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9356
85b8555e
DD
93572011-11-29 DJ Delorie <dj@redhat.com>
9358
9359 * config.host (rl78-*-elf): New case.
9360 * config/rl78: New directory for the Renesas RL78.
9361
4d5ae4ea
BS
93622011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9363
9364 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9365 formatting.
9366
f9c55897
RO
93672011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9368
9369 PR other/51022
9370 * config/rs6000/t-savresfgpr: New file.
9371 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9372 $(srcdir)/config/rs6000/eabi.S.
9373 * config/rs6000/t-ppccomm-ldbl: Remove.
9374 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9375 tmake_file.
9376 (powerpc-*-eabispe*): Likewise.
9377 (powerpc-*-eabi*): Likewise.
9378 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9379 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9380 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9381 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9382 tmake_file.
9383 (powerpc-*-eabisim*): Likewise.
9384 (powerpc-*-elf*): Likewise.
9385 (powerpc-*-eabialtivec*): Likewise.
9386 (powerpc-xilinx-eabi*): Likewise.
9387 (powerpc-*-rtems*): Likewise.
9388 (powerpcle-*-elf*): Likewise.
9389 (powerpcle-*-eabisim*): Likewise.
9390 (powerpcle-*-eabi*): Likewise.
9391
a01207c4
ILT
93922011-11-27 Ian Lance Taylor <iant@google.com>
9393
9394 * generic-morestack.c (__splitstack_find): Check for NULL old
9395 stack value.
9396 (__splitstack_resetcontext): New function.
9397 (__splitstack_releasecontext): New function.
9398 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9399
2b0b8ab2
IS
94002011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9401
9402 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9403
c1d8101c
IS
94042011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9405
9406 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9407
8b281334
RH
94082011-11-26 Richard Henderson <rth@redhat.com>
9409
9410 * config/m68k/linux-atomic.c: New file.
9411 * config/m68k/t-linux: New file.
9412 * config.host (m68k-uclinux, m68k-linux): Use it.
9413
7546aa9d
RH
94142011-11-26 Richard Henderson <rth@redhat.com>
9415
9416 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9417 (__TMC_END__): Only declare if hidden is available; in the definition,
9418 if hidden is unavailable add a null record.
9419 (deregister_tm_clones, register_tm_clones): New.
9420 (__do_global_dtors_aux, frame_dummy): Use them.
9421 (__do_global_dtors, __do_global_ctors_1): Likewise.
9422
e2362f5d
IS
94232011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9424
9425 * config/darwin-crt-tm.c: New file.
9426 * config.host (darwin): Build crttms.o crttme.o to provide
9427 startup and shutdown for tm clones.
9428 * config/t-darwin (crttms.o): New build rule.
9429 (crttme.o): Likewise.
9430
6685dd96
HPN
94312011-11-21 Hans-Peter Nilsson <hp@axis.com>
9432
9433 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9434 et al.
9435
b0dc7e4c
RH
94362011-11-21 Richard Henderson <rth@redhat.com>
9437
9438 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9439 (__TMC_LIST__, __TMC_END__): New.
9440 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9441 (__do_global_dtors): Likewise.
9442 (frame_dummy): Call _ITM_registerTMCloneTable.
9443 (__do_global_ctors_1): Likewise.
9444
d4b4b542
RO
94452011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9446
9447 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9448 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9449 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9450 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9451 * config/i386/t-darwin64: Remove.
9452 * config/sh/t-netbsd (LIB2ADD): Remove.
9453
989bdb74
GJL
94542011-11-21 Georg-Johann Lay <avr@gjlay.de>
9455
9456 PR target/49313
9457 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9458 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9459 * config/avr/lib1funcs.S (wmov): New assembler macro.
9460 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9461 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9462 (__udivmod64): New function.
9463 (__negdi2): New function.
9464
515a0cfc
GP
94652011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9466
9467 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9468 *-*-freebsd*aout*): Remove.
9469
0115d17f
HPN
94702011-11-20 Hans-Peter Nilsson <hp@axis.com>
9471
9472 * static-object.mk (c_flags-$o): Save c_flags.
9473 ($(base)$(objext)): Use it.
9474
93aeb62b
SE
94752011-11-18 Steve Ellcey <sje@cup.hp.com>
9476
9477 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9478
7bc6df2c
GJL
94792011-11-18 Georg-Johann Lay <avr@gjlay.de>
9480
9481 PR target/49868
9482 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9483 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9484 New functions.
9485
425d737b
MGD
94862011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9487
9488 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9489 functions.
1bb4b6a3 9490 (aeabi_uidivmod): Likewise.
425d737b
MGD
9491 (umodsi3): Likewise.
9492 (divsi3): Likewise.
9493 (aeabi_idivmod): Likewise.
9494 (modsi3): Likewise.
9495
f2a176dc
TG
94962011-11-16 Tristan Gingold <gingold@adacore.com>
9497
9498 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9499
7c209481
GJL
95002011-11-15 Georg-Johann Lay <avr@gjlay.de>
9501
9502 PR target/49868
9503 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9504 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9505
9dfd5832
JDA
95062011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9507
9508 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9509 tmake_file list.
9510 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9511 * config/pa/t-stublib64: Delete.
9512
f77dca5d
RH
95132011-11-12 Richard Henderson <rth@redhat.com>
9514
9515 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9516 cast the pointer argument to _Unwind_SetGRPtr.
9517
902828f0
RO
95182011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9519
9520 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9521
e14304ef
ILT
95222011-11-09 Ian Lance Taylor <iant@google.com>
9523
9524 * generic-morestack.c: Include <string.h>.
9525 (uintptr_type): Define.
9526 (struct initial_sp): Add dont_block_signals field. Reduce size of
9527 extra array by 1.
9528 (allocate_segment): Set prev field to NULL. Don't set
9529 __morestack_current_segment or __morestack_segments.
9530 (__generic_morestack): Update current->prev and *pp after calling
9531 allocate_segment.
9532 (__morestack_block_signals): Don't do anything if
9533 dont_block_signals is set.
9534 (__morestack_unblock_signals): Likewise.
9535 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9536 uintptr_type.
9537 (__splitstack_block_signals): New function.
9538 (enum __splitstack_content_offsets): Define.
9539 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9540 (__splitstack_makecontext): New function.
9541 (__splitstack_block_signals_context): New function.
9542 (__splitstack_find_context): New function.
9543 * config/i386/morestack.S (__morestack_get_guard): New function.
9544 (__morestack_set_guard, __morestack_make_guard): New functions.
9545 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9546
e3d871e4
RO
95472011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9548
9549 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9550 (i[34567]86-*-mingw*): ... here.
9551 (x86_64-*-mingw*): ... here.
9552
e55cef40
RO
95532011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9554
9555 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9556
5366b186
NS
95572011-11-07 Nathan Sidwell <nathan@acm.org>
9558
9559 * libgcov.c (struct gcov_fn_buffer): New struct.
9560 (buffer_fn_data): New helper.
9561 (gcov_exit): Rework for new gcov data structures.
9562
74155a6f
GJL
95632011-11-07 Georg-Johann Lay <avr@gjlay.de>
9564
9565 PR target/49313
9566 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9567
200feb07
RO
95682011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9569
9570 * config.host (tmake_file): Correct comment.
9571 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9572 t-libgcc-pic.
9573 (bfin*-uclinux*): Likewise.
9574 (bfin*-linux-uclibc*): Likewise.
9575 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9576
9577 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9578 assigning.
9579 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9580 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9581 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9582 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9583 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9584 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9585 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9586 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9587 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9588 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9589 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9590 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9591 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9592
9593 * config/bfin/t-elf: Remove.
9594 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9595
c9cd1a07
RO
95962011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9597
9598 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9599 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9600 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9601 (lm32-*-elf*): ... this.
9602 (lm32-*-rtems*): ... and this.
9603 Add to tmake_file.
9604 (m32r-*-rtems*): Add to tmake_file.
9605 (moxie-*-rtems*): Likewise.
9606 (sparc-*-rtems*): Likewise.
9607 Remove t-rtems from tmake_file.
9608 (sparc64-*-rtems*): Likewise.
9609 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9610 instead.
9611
9fbcc75d
RO
96122011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9613
9614 PR bootstrap/50982
9615 * config/gthr-posix.h: Move ...
9616 * gthr-posix.h: ... here.
9617 * config/gthr-lynx.h: Reflect this.
9618 * config/gthr-vxworks.h: Likewise.
9619 * config/rs6000/gthr-aix.h: Likewise.
9620 * configure.ac (target_thread_file): Likewise.
9621 * configure: Regenerate.
9622
76644b68
SH
96232011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9624
9625 * config.host (arm*-*-rtemseabi*): New target.
9626
5e490f2a
JDA
96272011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9628
9629 PR other/50991
9630 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9631 extra-parts.
9632
feeeff5c
JR
96332011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9634
9635 * config.host (epiphany-*-elf*): New configuration.
9636 * config/epiphany: New Directory.
9637
d618bb2c
RC
96382011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9639
9640 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9641 * config/avr/t-rtems: New.
9642 Filter out _exit from LIB1ASMFUNCS.
9643
1bb6f778
DM
96442011-11-04 David S. Miller <davem@davemloft.net>
9645
9646 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9647 * configure: Rebuild.
9648
9a7f7422
AK
96492011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9650
9651 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9652 variable.
9653
e4fe948a
GJL
96542011-11-04 Georg-Johann Lay <avr@gjlay.de>
9655
9656 PR target/50931
9657 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9658 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9659
7084e037
JS
96602011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9661
9662 PR target/50989
9663 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9664
1a032034
RO
96652011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9666
9667 * config/c6x/t-elf (LIB2ADDEH): Set.
9668 * config/c6x/t-c6x-elf: Remove.
9669
d385f772
RO
96702011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9671
9672 * config/i386/sol2-ci.S: Rename to ...
9673 * config/i386/crti.S: ... this.
9674 * config/i386/sol2-cn.S: Rename to ...
9675 * config/i386/crtn.S: ... this.
9676 * config/sparc/sol2-ci.S: Rename to ...
9677 * config/sparc/crti.S: ... this.
9678 * config/sparc/sol2-cn.S: Rename to ...
9679 * config/sparc/crtn.S: ... this.
9680 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9681 (crti.o, crtn.o): Remove.
9682
1ba878a9
TG
96832011-11-04 Tristan Gingold <gingold@adacore.com>
9684
9685 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9686
02750c15
KK
96872011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9688
9689 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9690
bf86b067
HPN
96912011-11-03 Hans-Peter Nilsson <hp@axis.com>
9692
9693 * config.host (crisv32-*-none, cris-*-none): Remove.
9694 (crisv32-*-elf): Append to tmake_file, don't just set it.
9695 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9696
d0bc53bd
RO
96972011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9698
9699 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9700 (ecrtn$(objext)): Likewise.
9701 (ncrti$(objext)): Likewise.
9702 (ncrtn$(objext)): Likewise.
9703
036da830
AS
97042011-11-03 Andreas Schwab <schwab@redhat.com>
9705
9706 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9707
d2a7d041
DM
97082011-11-02 David S. Miller <davem@davemloft.net>
9709
9710 * configure.ac: Set host_address on sparc too.
9711 * configure: Regenerate.
9712 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9713 based upon host_address.
9714 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9715
af8ed618
JM
97162011-11-02 Jason Merrill <jason@redhat.com>
9717
9718 * config/rs6000/t-ppccomm: Add missing \.
9719
5d1c8e77
RO
97202011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9721
9722 * gthr-single.h, gthr.h: New files.
9723 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9724 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9725 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9726 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9727 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9728 * configure.ac (thread_header): New variable.
9729 Set it depending on target_thread_file.
9730 (gthr-default.h): Link from $thread_header.
9731 * configure: Regenerate.
9732 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9733
852b75ed
RO
97342011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9735
9736 * configure.ac (tm_file_): New variable.
9737 Determine from tm_file.
9738 (tm_file, tm_defines): Substitute.
9739 * configure: Regenerate.
9740 * mkheader.sh: New file.
9741 * Makefile.in (clean): Remove libgcc_tm.h.
9742 ($(objects)): Depend on libgcc_tm.h.
9743 (libgcc_tm_defines, libgcc_tm_file): New variables.
9744 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9745 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9746 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9747 ($(extra-parts)): Depend on libgcc_tm.h.
9748 * config.host (tm_defines, tm_file): New variable.
9749 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9750 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9751 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9752 (avr-*-rtems*): Likewise.
9753 (avr-*-*): Likewise.
9754 (frv-*-elf): Likewise.
9755 (frv-*-*linux*): Likewise.
9756 (h8300-*-rtems*): Likewise.
9757 (h8300-*-elf*): Likewise.
9758 (i[34567]86-*-darwin*): Likewise.
9759 (x86_64-*-darwin*): Likewise.
9760 (rx-*-elf): Likewise.
9761 (tic6x-*-uclinux): Likewise.
9762 (tic6x-*-elf): Likewise.
9763 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9764 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9765 * config/i386/cygming-crtbegin.c: Likewise.
9766 * config/i386/cygming-crtend.c: Likewise.
9767 * config/ia64/fde-vms.c: Likewise.
9768 * config/ia64/unwind-ia64.c: Likewise.
9769 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9770 * config/rs6000/darwin-fallback.c: Likewise.
9771 * config/stormy16/lib2funcs.c: Likewise.
9772 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9773 * crtstuff.c: Likewise.
9774 * dfp-bit.h: Likewise.
9775 * emutls.c: Likewise.
9776 * fixed-bit.c: Likewise.
9777 * fp-bit.c: Likewise.
9778 * generic-morestack-thread.c: Likewise.
9779 * generic-morestack.c: Likewise.
9780 * libgcc2.c: Likewise.
9781 * libgcov.c: Likewise.
9782 * unwind-dw2-fde-dip.c: Likewise.
9783 * unwind-dw2-fde.c: Likewise.
9784 * unwind-dw2.c: Likewise.
9785 * unwind-sjlj.c: Likewise.
9786
f9989b51
RO
97872011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9788
9789 * configure.ac: Include ../config/picflag.m4.
9790 (GCC_PICFLAG): Call it.
9791 Substitute.
9792 * configure: Regenerate.
9793 * Makefile.in (gcc_srcdir): Remove.
9794 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9795 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9796 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9797 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9798 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9799 Use $<.
9800 Remove comment.
9801 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9802 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9803 to refer to libgcc2.c.
9804 Use $<.
9805 * config/darwin-64.c: New file.
9806 * config/darwin-crt3.c: Remove comment.
9807 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9808 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9809 config/udivmodsi4.c: New files.
9810 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9811 config/memset.c: New files.
9812 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9813 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9814 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9815 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9816 * config/t-openbsd-thread: New file.
9817 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9818 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9819 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9820 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9821 qrnnd.S.
9822 Adapt filename.
9823 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9824 to refer to gthr-posix.c.
9825 * config/alpha/t-vms (LIB2ADD): Set.
9826 * config/alpha/vms-gcc_shell_handler.c: New file.
9827 * config/arm/bpabi.c, config/arm/fp16.c,
9828 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9829 config/arm/unaligned-funcs.c: New files.
9830 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9831 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9832 * config/arm/t-linux: Likewise.
9833 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9834 * config/arm/t-netbsd: New file.
9835 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9836 * config/arm/t-symbian (LIB2ADD_ST): Set.
9837 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9838 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9839 * config/bfin/t-elf: New file.
9840 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9841 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9842 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9843 config/c6x/ltf.c: New files.
9844 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9845 (HOST_LIBGCC2_CFLAGS): Set.
9846 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9847 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9848 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9849 New files.
9850 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9851 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9852 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9853 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9854 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9855 files.
9856 * config/frv/t-frv (LIB2ADD): Set.
9857 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9858 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9859 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9860 config/h8300/popcounthi2.c: New files.
9861 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9862 * config/i386/gthr-win32.c: New file.
9863 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9864 * config/i386/t-cygwin: Likewise.
9865 * config/i386/t-darwin, config/i386/t-darwin64,
9866 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9867 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9868 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9869 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9870 * config/ia64/quadlib.c: New file.
9871 * config/ia64/t-hpux (LIB2ADD): Set.
9872 * config/ia64/t-ia64: Add comment.
9873 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9874 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9875 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9876 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9877 * config/m32c/t-m32c (LIB2ADD): Set.
9878 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9879 * config/m32r/t-m32r: Likewise.
9880 * config/m68k/fpgnulib.c: New file.
9881 * config/m68k/t-floatlib (LIB2ADD): Set.
9882 (xfgnulib.c): New target.
9883 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9884 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9885 * config/mep/t-mep (LIB2ADD): Set.
9886 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9887 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9888 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9889 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9890 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9891 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9892 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9893 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9894 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9895 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9896 New files.
9897 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9898 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9899 * config/pa/fptr.c, config/pa/lib2funcs.S,
9900 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9901 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9902 (LIB2ADD, LIB2ADD_ST): Set.
9903 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9904 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9905 Set.
9906 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9907 * config/pdp11/t-pdp11: New file.
9908 * config/picochip/libgccExtras/adddi3.S,
9909 config/picochip/libgccExtras/ashlsi3.S,
9910 config/picochip/libgccExtras/ashrsi3.S,
9911 config/picochip/libgccExtras/clzsi2.S,
9912 config/picochip/libgccExtras/cmpsi2.S,
9913 config/picochip/libgccExtras/divmod15.S,
9914 config/picochip/libgccExtras/divmodhi4.S,
9915 config/picochip/libgccExtras/divmodsi4.S,
9916 config/picochip/libgccExtras/lshrsi3.S,
9917 config/picochip/libgccExtras/parityhi2.S,
9918 config/picochip/libgccExtras/popcounthi2.S,
9919 config/picochip/libgccExtras/subdi3.S,
9920 config/picochip/libgccExtras/ucmpsi2.S,
9921 config/picochip/libgccExtras/udivmodhi4.S,
9922 config/picochip/libgccExtras/udivmodsi4.S: New files.
9923 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9924 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9925 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9926 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9927 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9928 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9929 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9930 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9931 files.
9932 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9933 (HOST_LIBGCC2_CFLAGS): Set.
9934 * config/rs6000/t-darwin64: New file.
9935 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9936 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9937 * config/rs6000/t-ppccomm (LIB2ADD): Add
9938 $(srcdir)/config/rs6000/tramp.S.
9939 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9940 Add $(srcdir)/config/rs6000/eabi.S.
9941 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9942 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9943 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9944 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9945 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9946 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9947 * config/rs6000/tramp.S: New file.
9948 * config/s390/t-tpf: Remove.
9949 * config/sh/linux-atomic.S: New file.
9950 * config/sh/t-linux (LIB2ADD): Set.
9951 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9952 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9953 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9954 to unwind-dw2.c.
9955 (HOST_LIBGCC2_CFLAGS): Set.
9956 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9957 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9958 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9959 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9960 config/spu/mfc_multi_tag_release.c,
9961 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9962 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9963 config/spu/multi3.c: New files.
9964 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9965 (HOST_LIBGCC2_CFLAGS): Set.
9966 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9967 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9968 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9969 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9970 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9971 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9972 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9973 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9974 config/stormy16/umodsi3.c: New files.
9975 * config/xtensa/lib2funcs.S: New file.
9976 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9977 * config/xtensa/t-xtensa (LIB2ADD): Set.
9978 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9979 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9980 Add t-freebsd-thread to tmake_file for posix threads.
9981 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9982 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9983 (*-*-lynxos*): Likewise.
9984 (*-*-netbsd*): Likewise.
9985 (*-*-openbsd*): Likewise.
9986 Add t-openbsd-thread to tmake_file for posix threads.
9987 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9988 (*-*-vxworks*): Set tmake_file.
9989 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9990 (alpha*-*-freebsd*): Likewise.
9991 (alpha*-*-netbsd*): Likewise.
9992 (alpha*-*-openbsd*): Likewise.
9993 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9994 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9995 (alpha*-dec-*vms*): Likewise.
9996 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9997 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9998 (bfin*-uclinux*): Likewise.
9999 (bfin*-linux-uclibc*): Likewise.
10000 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10001 (crisv32-*-none): Likewise.
10002 (cris-*-elf): Likewise.
10003 (cris-*-none): Likewise.
10004 (cris-*-linux*, crisv32-*-linux*): Likewise.
10005 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10006 tmake_file.
10007 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10008 tmake_file.
10009 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10010 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10011 (x86_64-*-elf*): Likewise.
10012 (i[34567]86-*-nto-qnx*): Likewise.
10013 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10014 win32 threads.
10015 (x86_64-*-mingw*): Likewise.
10016 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10017 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10018 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10019 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10020 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10021 tmake_file.
10022 (mipsisa64sr71k-*-elf*): Likewise.
10023 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10024 (mips-*-elf*, mipsel-*-elf*): Likewise.
10025 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10026 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10027 (mips*-*-rtems*): Likewise.
10028 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10029 to tmake_file.
10030 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10031 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10032 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10033 (spu-*-elf*): Likewise.
10034 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10035
45b86625
RO
100362011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10037
10038 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10039 $(srcdir) to refer to $(LIB1ASMSRC).
10040 Use $<.
10041 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10042 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10043 config/arm/lib1funcs.S: New files.
10044 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10045 * config/arm/t-arm: New file.
10046 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10047 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10048 config/arm/t-strongarm-elf: New files.
10049 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10050 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10051 * config/avr/lib1funcs.S: New file.
10052 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10053 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10054 * config/c6x/lib1funcs.S: New file.
10055 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10056 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10057 * config/frv/lib1funcs.S: New file.
10058 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10059 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10060 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10061 * config/ia64/__divxf3.asm: Rename to ...
10062 * config/ia64/__divxf3.S: ... this.
10063 Adapt lib1funcs.asm filename.
10064 * config/ia64/_fixtfdi.asm: Rename to ...
10065 * config/ia64/_fixtfdi.S: ... this.
10066 Adapt lib1funcs.asm filename.
10067 * config/ia64/_fixunstfdi.asm: Rename to ...
10068 * config/ia64/_fixunstfdi.S: ... this.
10069 Adapt lib1funcs.asm filename.
10070 * config/ia64/_floatditf.asm: Rename to ...
10071 * config/ia64/_floatditf.S: ... this.
10072 Adapt lib1funcs.asm filename.
10073 * config/ia64/lib1funcs.S: New file.
10074 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10075 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10076 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10077 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10078 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10079 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10080 * config/mep/lib1funcs.S: New file.
10081 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10082 * config/mips/mips16.S: New file.
10083 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10084 * config/pa/milli64.S: New file.
10085 * config/pa/t-linux, config/pa/t-linux64: New files.
10086 * config/picochip/lib1funcs.S: New file.
10087 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10088 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10089 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10090 * config/sh/t-netbsd: New file.
10091 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10092 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10093 * config/sh/t-sh64: New file.
10094 * config/sparc/lb1spc.S: New file.
10095 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10096 filename.
10097 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10098 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10099 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10100 config/xtensa/lib1funcs.S: New files.
10101 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10102 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10103 tmake_file.
10104 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10105 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10106 (arm*-*-linux*): Likewise.
10107 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10108 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10109 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10110 (arm*-*-ecos-elf): Likewise.
10111 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10112 (arm*-*-rtems*): Likewise.
10113 (arm*-*-elf): Likewise.
10114 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10115 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10116 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10117 (bfin*-uclinux*): Likewise.
10118 (bfin*-linux-uclibc*): Likewise.
10119 (bfin*-rtems*): Likewise.
10120 (bfin*-*): Likewise.
10121 (fido-*-elf): Merge into m68k-*-elf*.
10122 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10123 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10124 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10125 (h8300-*-elf*): Likewise.
10126 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10127 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10128 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10129 (i[34567]86-*-mingw*): Likewise.
10130 (x86_64-*-mingw*): Likewise.
10131 (i[34567]86-*-interix3*): Likewise.
10132 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10133 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10134 (m68k-*-elf*): Also handle fido-*-elf.
10135 Add m68k/t-floatlib to tmake_file.
10136 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10137 (m68k-*-linux*): Likewise.
10138 (m68k-*-rtems*): Likewise.
10139 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10140 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10141 sh64*-*-*.
10142 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10143 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10144 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10145 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10146 sh/t-netbsd to tmake_file.
10147 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10148 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10149 (sh-wrs-vxworks): Likewise.
10150 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10151 *-leon[3-9]*.
10152 (v850*-*-*): Add v850/t-v850 to tmake_file.
10153 (vax-*-linux*): Add vax/t-linux to tmake_file.
10154 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10155
5f73c6cc
RO
101562011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10157
10158 * crtstuff.c: New file.
10159 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10160 (CRTSTUFF_T_CFLAGS): Define.
10161 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10162 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10163 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10164 crtstuff.c.
10165 Use $<.
10166 (crtbeginT.o): Use $(objext).
10167 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10168 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10169 (gcc-extra-parts): Remove.
10170 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10171 Set extra_parts.
10172 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10173 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10174 Add t-crtstuff-pic to tmake_file.
10175 (*-*-lynxos*): New case.
10176 Set tmake_file, extra_parts.
10177 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10178 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10179 *-*-netbsdelf[2-9]*.
10180 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10181 (*-*-rtems*): Set extra_parts.
10182 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10183 (*-*-uclinux*): New case.
10184 Set extra_parts.
10185 (*-*-vms*): New case.
10186 Set tmake_file, extra_parts.
10187 (*-*-elf): Set extra_parts.
10188 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10189 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10190 vms/t-vms64.
10191 Set extra_parts.
10192 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10193 Set extra_parts.
10194 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10195 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10196 (arm-wrs-vxworks): Append to tmake_file.
10197 Set extra_parts.
10198 (arm*-*-uclinux*): Set extra_parts.
10199 (arm*-*-ecos-elf): Likewise.
10200 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10201 arm*-*-eabi*.
10202 (arm*-*-rtems*): Set extra_parts.
10203 (arm*-*-elf): Likewise.
10204 (avr-*-rtems*): Clear extra_parts.
10205 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10206 Set extra_parts.
10207 (bfin*-uclinux*): Likewise.
10208 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10209 (bfin*-rtems*): Append to tmake_file.
10210 Set extra_parts.
10211 (bfin*-*): Likewise.
10212 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10213 (crisv32-*-elf): ... this.
10214 (crisv32-*-none): ... this.
10215 (cris-*-elf, cris-*-none): New cases.
10216 Add cris/t-elfmulti to tmake_file.
10217 (fr30-*-elf): Append to tmake_file.
10218 Set extra_parts.
10219 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10220 Set extra_parts.
10221 (h8300-*-rtems*): Append to tmake_file.
10222 Set extra_parts.
10223 (h8300-*-elf*): Likewise.
10224 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10225 Set extra_parts.
10226 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10227 Set extra_parts.
10228 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10229 (x86_64-*-elf*): Likewise.
10230 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10231 (x86_64-*-freebsd*): Likewise.
10232 (x86_64-*-netbsd*): Likewise.
10233 (i[34567]86-*-linux*): Likewise.
10234 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10235 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10236 (x86_64-*-linux*): Likewise.
10237 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10238 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10239 tmake_file.
10240 Set extra_parts.
10241 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10242 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10243 Append to extra_parts, remove crtbegin.o, crtend.o.
10244 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10245 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10246 crtend.o, crtbeginS.o, crtendS.o.
10247 (ia64*-*-linux*): Comment extra_parts.
10248 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10249 Set extra_parts.
10250 (iq2000*-*-elf*): Clear extra_parts.
10251 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10252 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10253 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10254 (m32r-*-rtems*): ... this.
10255 Add m32r/t-m32r to tmake_file.
10256 (m68k-*-elf*): Add t-crtin to tmake_file.
10257 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10258 (mcore-*-elf): Likewise.
10259 (microblaze*-*-*): Set extra_parts.
10260 (mips*-sde-elf*): New case.
10261 Set tmake_file, extra_parts.
10262 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10263 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10264 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10265 tmake_file.
10266 Set extra_parts.
10267 (mipsisa64sr71k-*-elf*): Likewise.
10268 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10269 (mips-*-elf*, mipsel-*-elf*): Likewise.
10270 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10271 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10272 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10273 (mips*-*-rtems*): Likewise.
10274 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10275 (moxie-*-*): Split into ...
10276 (moxie-*-elf, moxie-*-uclinux*): ... this.
10277 Add to extra_parts, remove crtbegin.o, crtend.o.
10278 (moxie-*-rtems*): New case.
10279 Set tmake_file.
10280 Clear extra_parts.
10281 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10282 Set extra_parts.
10283 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10284 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10285 tmake_file.
10286 Set extra_parts.
10287 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10288 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10289 Set extra_parts.
10290 (powerpc-*-eabisim*): Likewise.
10291 (powerpc-*-elf*): Likewise.
10292 (powerpc-*-eabialtivec*): Likewise.
10293 (powerpc-xilinx-eabi*): Likewise.
10294 (powerpc-*-eabi*): Likewise.
10295 (powerpc-*-rtems*): Likewise.
10296 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10297 tmake_file.
10298 Set extra_parts.
10299 (powerpc-*-lynxos*): Add to tmake_file.
10300 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10301 rs6000/t-crtstuff, t-crtstuff-pic.
10302 Set extra_parts.
10303 (powerpcle-*-eabisim*): Likewise.
10304 (powerpcle-*-eabi*): Likewise.
10305 (rx-*-elf): Remove extra_parts.
10306 (s390x-ibm-tpf*): Set extra_parts.
10307 (score-*-elf): Set extra_parts.
10308 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10309 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10310 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10311 (sh64l*-*-netbsd*): Split into ...
10312 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10313 Add t-crtstuff-pic to tmake_file.
10314 Set extra_parts.
10315 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10316 Set extra_parts.
10317 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10318 (sparc-*-elf*): Remove t-crtin from tmake_file.
10319 Add to extra_parts, remove crtbegin.o, crtend.o.
10320 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10321 (sparc64-*-linux*): Likewise.
10322 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10323 Add to extra_parts, remove crtbegin.o, crtend.o.
10324 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10325 Add to extra_parts, remove crtbegin.o, crtend.o.
10326 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10327 Add to extra_parts, remove crtbegin.o, crtend.o.
10328 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10329 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10330 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10331 Set extra_parts.
10332 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10333 Set extra_parts.
10334 (tic6x-*-*): Change to ...
10335 (tic6x-*-elf): ... this.
10336 Set extra_parts.
10337 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10338 Set extra_parts.
10339 (am33_2.0-*-linux*): Add comment.
10340 (mep*-*-*): Add mep/t-mep to tmake_file.
10341 Set extra_parts.
10342 * config/alpha/t-vms: New file.
10343 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10344 * config/arm/crti.S, config/arm/crtn.S: New files.
10345 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10346 * config/bfin/crtlibid.S: New file.
10347 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10348 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10349 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10350 (crti.o, crtin.o): New rules.
10351 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10352 * config/c6x/t-uclinux: New file.
10353 * config/cris/t-elfmulti: New file.
10354 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10355 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10356 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10357 * config/frv/t-frv: New file.
10358 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10359 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10360 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10361 New files.
10362 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10363 refer to cygming-crtbegin.c, cygming-crtend.c.
10364 Use $<.
10365 * config/i386/t-nto: New file.
10366 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10367 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10368 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10369 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10370 Use .S extension.
10371 Use $<.
10372 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10373 (crtinitS.o): New rule.
10374 * config/ia64/vms-crtinit.S: New file.
10375 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10376 * config/m32r/initfini.c: New file.
10377 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10378 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10379 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10380 * config/mep/t-mep: New file.
10381 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10382 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10383 * config/mips/crti.S, config/mips/crtn.S: New files.
10384 * config/mips/t-crtstuff: New file.
10385 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10386 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10387 (CUSTOM_CRTIN): Set.
10388 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10389 dependencies.
10390 Use $(srcdir) to refer to crti.S, crtn.S.
10391 Use .S extension, $<.
10392 * config/moxie/crti.asm: Rename to ...
10393 * config/moxie/crti.S: ... this.
10394 * config/moxie/crtn.asm: Rename to ...
10395 * config/moxie/crtn.S: ... this.
10396 * config/moxie/t-moxie: Remove.
10397 * config/pa/stublib.c: New file.
10398 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10399 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10400 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10401 * config/rs6000/t-crtstuff: New file.
10402 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10403 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10404 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10405 Make output file explicit.
10406 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10407 Make output file explicit.
10408 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10409 Make output file explicit.
10410 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10411 Make output file explicit.
10412 * config/score/crti.S, config/score/crtn.S: New files.
10413 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10414 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10415 files.
10416 * config/sh/t-sh, config/sh/t-superh: New files.
10417 * config/sparc/t-linux64: New file.
10418 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10419 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10420 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10421 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10422 * config/t-crtin: Remove.
10423 * config/t-crtstuff-pic: New file.
10424 * config/t-sol2 (CUSTOM_CRTIN): Set.
10425 (crti.o, crtn.o): New rules.
10426 * config/vms/t-vms: New file.
10427 * config/vms/vms-ucrt0.c: New file.
10428 * config/xtensa/t-elf: New file.
10429
b040f2be
RO
104302011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10431
10432 * Makefile.in (SHLIB_NM_FLAGS): Set.
10433 * mkmap-flat.awk, mkmap-symver.awk: New files.
10434 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10435 exceptions.
10436 * configure: Regenerate.
10437 * config/libgcc-glibc.ver: New file.
10438 * config/libgcc-libsystem.ver: New file.
10439 * config/t-libunwind (SHLIB_LC): Set.
10440 * config/t-linux: New file.
10441 * config/t-slibgcc (INSTALL_SHLIB): New.
10442 (SHLIB_INSTALL): Use it.
10443 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10444 to mkmap-symver.awk.
10445 (SHLIB_MAPFILES): Don't append, adapt pathname.
10446 (SHLIB_VERPFX): Set.
10447 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10448 to mkmap-symver.awk.
10449 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10450 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10451 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10452 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10453 to mkmap-flat.awk.
10454 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10455 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10456 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10457 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10458 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10459 * config/i386/libgcc-darwin.10.4.ver,
10460 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10461 New files.
10462 * config/i386/t-darwin: Remove.
10463 * config/i386/t-darwin64: Likewise.
10464 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10465 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10466 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10467 * config/i386/t-linux: New file.
10468 * config/i386/t-mingw32: New file.
10469 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10470 * config/ia64/t-glibc: Rename to ...
10471 * config/ia64/t-linux: ... this.
10472 (SHLIB_MAPFILES): Set.
10473 * config/ia64/t-glibc-libunwind: Rename to ...
10474 * config/ia64/t-linux-libunwind: ... this.
10475 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10476 * config/ia64/t-slibgcc-hpux: New file.
10477 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10478 * config/m68k/t-slibgcc-elf-ver: New file.
10479 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10480 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10481 to mkmap-flat.awk.
10482 * config/pa/t-slibgcc-hpux: New file.
10483 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10484 files.
10485 * config/rs6000/libgcc-darwin.10.4.ver,
10486 config/rs6000/libgcc-darwin.10.5.ver: New files.
10487 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10488 config/rs6000/libgcc-glibc.ver.
10489 * config/rs6000/libgcc-ppc64.ver: Rename to
10490 config/rs6000/libgcc-ibm-ldouble.ver.
10491 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10492 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10493 * config/rs6000/t-ldbl128: Rename to ...
10494 * config/rs6000/t-linux: ... this.
10495 (SHLIB_MAPFILES): Adapt filename.
10496 * config/rs6000/t-slibgcc-aix: New file.
10497 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10498 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10499 libgcc-excl.ver, libgcc-glibc.ver.
10500 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10501 * config/sparc/libgcc-glibc.ver: New file.
10502 * config/sparc/t-linux: New file.
10503 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10504 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10505 t-slibgcc-elf-ver to tmake_file.
10506 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10507 *-*-freebsd[34].
10508 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10509 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10510 t-slibgcc-elf-ver, t-linux to tmake_file.
10511 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10512 tmake_file.
10513 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10514 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10515 (alpha*-dec-*vms*): Likewise.
10516 (arm*-*-freebsd*): Append to tmake_file.
10517 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10518 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10519 arm*-*-linux-*eabi.
10520 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10521 tmake_file for arm*-*-symbianelf*.
10522 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10523 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10524 cris/t-linux.
10525 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10526 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10527 pa/t-slibgcc-dwarf-ver to tmake_file.
10528 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10529 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10530 (hppa*64*-*-hpux11*): Likewise.
10531 (hppa[12]*-*-hpux11*): Likewise.
10532 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10533 i386/t-crtpc, i386/t-crtfm.
10534 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10535 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10536 to tmake_file.
10537 Add i386/t-cygwin to tmake_file.
10538 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10539 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10540 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10541 to tmake_file.
10542 Add i386/t-mingw32 to tmake_file.
10543 (x86_64-*-mingw*): Likewise.
10544 (ia64*-*-freebsd*): Append to tmake_file.
10545 (ia64*-*-linux*): Append to tmake_file.
10546 Replace ia64/t-glibc by ia64/t-linux.
10547 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10548 system libunwind.
10549 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10550 t-slibgcc-hpux to tmake_file.
10551 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10552 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10553 (m32rle-*-linux*): Likewise.
10554 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10555 sjlj exceptions.
10556 (microblaze*-linux*): New case.
10557 Append to tmake_file, add t-slibgcc-nolc-override.
10558 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10559 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10560 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10561 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10562 rs6000/t-slibgcc-aix to tmake_file.
10563 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10564 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10565 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10566 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10567 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10568 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10569 sh*-*-linux*.
10570 (sparc-*-linux*): Append to tmake_file for *-leon*.
10571 Add sparc/t-linux to tmake_file for non-Leon targets.
10572 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10573 (tic6x-*-uclinux): New case.
10574 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10575 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10576 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10577 (am33_2.0-*-linux*): Append to tmake_file.
10578 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10579 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10580 x86_64-*-kfreebsd*-gnu.
10581 Add i386/t-linux to tmake_file.
10582
18b4bd7b
ILT
105832011-10-28 Ian Lance Taylor <iant@google.com>
10584
10585 * config/i386/morestack.S: Correct CFI information to do proper
10586 returns throughout function. In 32-bit mode, save %ebx so that it
10587 is restored on unwind.
10588
5b2d9d90
BS
105892011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10590
10591 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10592 case where B3 isn't the return register.
10593
0d53e346
BS
10594 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10595 logic for doubleword pops.
10596
cbffbd59
AT
105972011-10-25 Andreas Tobler <andreast@fgznet.ch>
10598
10599 * config/rs6000/t-freebsd: Add wildcard.
10600
56dc349e
PB
106012011-10-21 Paul Brook <paul@codesourcery.com>
10602
10603 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10604
1e06b07d
UB
106052011-10-16 Uros Bizjak <ubizjak@gmail.com>
10606 Eric Botcazou <ebotcazou@adacore.com>
10607
10608 PR target/50737
10609 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10610 fs->signal_frame to 1.
10611
b5204884
ILT
106122011-10-07 Ian Lance Taylor <iant@google.com>
10613
10614 * generic-morestack-thread.c: #include <errno.h>.
10615
91a639a1
ILT
106162011-10-07 Ian Lance Taylor <iant@google.com>
10617
10618 PR target/46093
10619 * generic-morestack.c (__generic_morestack): Make sure the segment
10620 is large enough for both the stack frame and the copied
10621 parameters.
10622
cc49116d
RO
106232011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10624
10625 PR bootstrap/49804
10626 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10627 extra_parts.
10628
2996d8c3
NC
106292011-09-28 Nick Clifton <nickc@redhat.com>
10630
10631 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10632 64-bit doubles are not enabled.
10633 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10634 and floatunsisf functions.
10635
1e874273 106362011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 10637
1e874273
PB
10638 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10639 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10640 * unwind-arm-common.inc: New file.
10641 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10642 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10643 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10644 * config/c6x/libunwind.S: New file.
10645 * config/c6x/pr-support.c: New file.
10646 * config/c6x/unwind-c6x.c: New file.
10647 * config/c6x/unwind-c6x.h: New file.
10648 * config/c6x/t-c6x-elf: New file.
10649
f70c879a
UB
106502011-08-23 Uros Bizjak <ubizjak@gmail.com>
10651
10652 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10653 (ASM_DIVZERO): Ditto.
10654 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10655
c55b374b
RS
106562011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10657
10658 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10659
1e138510
RS
106602011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10661
10662 PR target/50090
10663 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10664 instead of an assembly one.
10665
1563503d
PB
106662011-08-12 Paolo Bonzini <bonzini@gnu.org>
10667
10668 PR bootstrap/50047
10669 * Makefile.in (install-unwind_h): Create
10670 $(gcc_objdir)/include/unwind.h atomically.
10671
3627ac1a
RO
106722011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10673
10674 * Makefile.in (install-unwind_h): Remove destination file first.
10675
c6412d86
RO
106762011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10677
10678 * sync.c: New file.
10679 * config/mips/t-mips16: New file.
10680 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10681 (mips*-*-linux*): Likewise.
10682 (mips*-sde-elf*): Likewise.
10683 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10684 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10685 Add mips/t-mips16 to tmake_file.
10686 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10687 (mips-*-elf*): Likewise.
10688 (mips64-*-elf*): Likewise.
10689 (mips64orion-*-elf*): Likewise.
10690 (mips*-*-rtems*): Likewise.
10691 (mipstx39-*-elf*): Likewise.
10692 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10693 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10694 LIBGCC_SYNC_CFLAGS.
10695 Use $(srcdir) to refer to sync.c.
10696 Use $<.
10697 ($(libgcc-sync-funcs-o)): Likewise.
10698 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10699 ($(libgcc-sync-funcs-s-o)): Likewise.
10700
3cb6e5bd
AS
107012011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10702
10703 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10704 t-libunwind.
10705
cca2207a
L
107062011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10707
10708 PR other/48007
10709 * config/i386/value-unwind.h: New.
10710
ed39fbad
RS
107112011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10712
10713 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10714 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10715 Add to tmake_file rather than overriding it.
10716
aca0b0b3
RO
107172011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10718
10719 * config/t-softfp: Remove.
10720 * soft-fp: Moved from ../gcc/config.
10721 * soft-fp/README: Remove t-softfp reference.
10722 * soft-fp/t-softfp: Move to config/t-softfp.
10723 (softfp_machine_header): Remove.
10724 (softfp_file_list): Remove config subdir.
10725 (soft-fp-objects): New variable.
10726 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10727 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10728 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10729 * config/t-softfp-excl: New file.
10730 * config/t-softfp-sfdf: New file.
10731 * config/t-softfp-tf: New file.
10732 * config/no-sfp-machine.h: New file.
10733 * config/arm/sfp-machine.h: New file.
10734 * config/arm/t-softfp: New file.
10735 * config/c6x/sfp-machine.h: New file.
10736 * config/i386/32/t-fprules-softfp: Rename to ...
10737 * config/i386/32/t-softfp: ... this.
10738 (tifunctions, LIB2ADD): Remove.
10739 (softfp_int_modes): Override.
10740 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10741 subdir.
10742 * config/i386/64/eqtf2.c: Likewise.
10743 * config/i386/64/getf2.c: Likewise.
10744 * config/i386/64/letf2.c: Likewise.
10745 * config/ia64/sft-machine.h: New file.
10746 * config/ia64/t-fprules-softfp: Rename to ...
10747 * config/ia64/t-softfp: ... this.
10748 * config/lm32/sfp-machine.h: New file.
10749 * config/moxie/t-moxie-softfp: Remove.
10750 * config/rs6000/ibm-ldouble-format: New file.
10751 * config/rs6000/ibm-ldouble.c: New file.
10752 * config/rs6000/libgcc-ppc-glibc.ver: New file
10753 * config/rs6000/libgcc-ppc64.ver: New file
10754 * config/rs6000/sfp-machine.h: New file.
10755 * config/rs6000/t-freebsd: New file.
10756 * config/rs6000/t-ibm-ldouble: New file.
10757 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10758 libgcc-ppc-glibc.ver.
10759 * config/rs6000/t-linux64: New file.
10760 * config/rs6000/t-ppccomm (LIB2ADD): Add
10761 $(srcdir)/config/rs6000/ibm-ldouble.c.
10762 * config/rs6000/t-ppccomm-ldbl: New file.
10763 * config/score/sfp-machine.h: New file.
10764 * config.host (sfp_machine_header): Explain.
10765 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10766 t-softfp to tmake_file.
10767 (arm*-*-uclinux*): Likewise.
10768 (arm*-*-ecos-elf): Likewise.
10769 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10770 (arm*-*-rtems*): Likewise.
10771 (arm*-*-elf): Likewise.
10772 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10773 in tmake_file.
10774 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10775 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10776 (lm32-*-uclinux*): Likewise.
10777 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10778 t-softfp-excl, t-softfp.
10779 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10780 (powerpc64-*-darwin*): Likewise.
10781 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10782 to tmake_file.
10783 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10784 tmake_file.
10785 (powerpc-*-eabisim*): Likewise.
10786 (powerpc-*-elf*): Likewise.
10787 (powerpc-*-eabialtivec*): Likewise.
10788 (powerpc-xilinx-eabi*): Likewise.
10789 (powerpc-*-rtems*): Likewise.
10790 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10791 t-softfp-excl, t-softfp to tmake_file.
10792 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10793 rs6000/t-ppccomm-ldbl to tmake_file.
10794 (powerpcle-*-elf*): Likewise.
10795 (powerpcle-*-eabisim*): Likewise.
10796 (powerpcle-*-eabi*): Likewise.
10797 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10798 rs6000/t-ibm-ldouble to tmake_file.
10799 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10800 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10801 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10802 (tic6x-*-*): Likewise.
10803 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10804 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10805 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10806 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10807 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10808 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10809 t-softfp to tmake_file.
10810 * configure.ac (sfp_machine_header): Provide default if unset.
10811 Substitute.
10812 Link sfp-machine.h to config/$sfp_machine_header.
10813 * configure: Regenerate.
10814
569dc494
RO
108152011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10816
10817 * Makefile.in (double_type_size, long_double_type_size): Set.
10818 Remove $(fpbit-in-libgcc) support.
10819 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10820 (fpbit-src): New variable.
10821 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10822 Compile with -DFLOAT $(FPBIT_CFLAGS).
10823 Use $<.
10824 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10825 Compile with $(FPBIT_CFLAGS).
10826 Use $<.
10827 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10828 Compile with -DFLOAT $(TPBIT_CFLAGS).
10829 Use $<.
10830 * configure.ac (double_type_size, long_double_type_size):
10831 Determine and substitute.
10832 * configure: Regenerate.
10833 * fp-bit.c, fp-bit.h: New files.
10834 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10835 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10836 * config/mips/t-mips: New file.
10837 * config/mips/t-sdemtk: New file.
10838 * config/rs6000/ppc64-fp.c: New file.
10839 * config/rs6000/t-darwin (LIB2ADD): Add
10840 $(srcdir)/config/rs6000/ppc64-fp.c.
10841 * config/rs6000/t-ppc64-fp: New file.
10842 * config/rx/rx-lib.h: New file.
10843 * config/rx/t-rx (FPBIT): Set to true.
10844 ($(gcc_objdir)/fp-bit.c): Remove.
10845 (DPBIT): Set to true only with -m64bit-doubles.
10846 ($(gcc_objdir)/dp-bit.c): Remove.
10847 * config/sparc/t-softfp: Remove.
10848 * config/spu/t-elf: New file.
10849 * config/t-fdpbit, config/t-fpbit: New files.
10850 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10851 (mips*-*-*): Likewise.
10852 (arm-wrs-vxworks): Likewise.
10853 (arm*-*-freebsd*): Likewise.
10854 (avr-*-rtems*): Add t-fpbit to tmake_file.
10855 (avr-*-*): Likewise.
10856 (bfin*-elf*): Add t-fdpbit to tmake_file.
10857 (bfin*-uclinux*): Likewise.
10858 (bfin*-linux-uclibc*): Likewise.
10859 (bfin*-rtems*): New case.
10860 Add t-fdpbit to tmake_file.
10861 (bfin*-*): Add t-fdpbit to tmake_file.
10862 (crisv32-*-elf): Likewise.
10863 (cris-*-linux*): Likewise.
10864 (fr30-*-elf): Likewise.
10865 (frv-*-elf, frv-*-*linux*): Likewise.
10866 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10867 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10868 (m32r-*-elf*): Likewise.
10869 (m32rle-*-elf*): Likewise.
10870 (m32r-*-linux*): Likewise.
10871 (m32rle-*-linux*): Likewise.
10872 (mcore-*-elf): Add t-fdpbit to tmake_file.
10873 (microblaze*-*-*): Likewise.
10874 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10875 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10876 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10877 Fix typo.
10878 Add mips/t-tpbit to tmake-file.
10879 (mips*-*-linux*): Fix typo.
10880 (mips*-sde-elf*): New case
10881 Add mips/t-sdemtk unless using newlib.
10882 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10883 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10884 (mn10300-*-*): Likewise.
10885 (pdp11-*-*): Likewise.
10886 (picochip-*-*): Add t-fpbit to tmake_file.
10887 (powerpc-*-eabisimaltivec*): Likewise.
10888 (powerpc-*-eabisim*): Likewise.
10889 (powerpc-*-elf*): Likewise.
10890 (powerpc-*-eabialtivec*): Likewise.
10891 (powerpc-xilinx-eabi*): New case.
10892 Add t-fdpbit to tmake_file.
10893 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10894 (powerpc-*-rtems*): Likewise.
10895 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10896 tmake_file.
10897 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10898 tmake_file.
10899 (powerpc-*-lynxos*): Likewise.
10900 (powerpcle-*-elf*): Likewise.
10901 (powerpcle-*-eabisim*): Likewise.
10902 (powerpcle-*-eabi*): Likewise.
10903 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10904 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10905 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10906 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10907 (rx-*-elf): Add t-fdpbit to tmake_file.
10908 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10909 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10910 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10911 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10912 sh*-*-netbsd*.
10913 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10914 (sh-wrs-vxworks): Likewise.
10915 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10916 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10917 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10918 (sparc64-*-rtems*): ... new case.
10919 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10920 (spu-*-elf*): Likewise.
10921 Add spu/t-elf to tmake_file.
10922 (v850*-*-*): Add t-fdpbit to tmake_file.
10923 (xstormy16-*-elf): Likewise.
10924 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10925 (mep*-*-*): Likewise.
10926
201cdb74
RO
109272011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10928
10929 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10930 variables.
10931 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10932 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10933 (install-unwind_h): New target.
10934 (all): Depend on it.
10935 * config.host (unwind_header): New variable.
10936 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10937 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10938 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10939 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10940 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10941 Set unwind_header.
10942 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10943 Set unwind_header.
10944 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10945 arm*-*-eabi*.
10946 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10947 Set unwind_header.
10948 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10949 (ia64*-*-freebsd*): Likewise.
10950 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10951 tmake_file.
10952 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10953 $with_system_libunwind.
10954 (ia64*-*-hpux*): Set tmake_file.
10955 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10956 (picochip-*-*): Set tmake_file.
10957 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10958 md_unwind_header.
10959 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10960 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10961 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10962 (xtensa*-*-elf*): Set tmake_file.
10963 (xtensa*-*-linux*): Likewise.
10964 * configure.ac: Include ../config/unwind_ipinfo.m4.
10965 Call GCC_CHECK_UNWIND_GETIPINFO.
10966 Link unwind.h to $unwind_header.
10967 * configure: Regenerate.
10968 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10969 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10970 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10971 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10972 * config/unwind-dw2-fde-darwin.c: New file.
10973 * config/arm/libunwind.S, config/arm/pr-support.c,
10974 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10975 config/arm/unwind-arm.h,: New files.
10976 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10977 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10978 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10979 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10980 config/ia64/unwind-ia64.h: New files.
10981 * config/picochip/t-picochip: New file.
10982 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10983 files.
10984 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10985 * config/s390/t-tpf (LIB2ADDEH): Remove.
10986 * config/t-darwin (LIB2ADDEH): Set.
10987 * config/t-eh-dw2-dip: New file.
10988 * config/t-libunwind, config/t-libunwind-elf: New files.
10989 * config/t-sol2 (LIB2ADDEH): Remove.
10990 * config/xtensa/t-xtensa: New file.
10991
40f2f11f
L
109922011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10993
10994 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10995 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10996 long long to check rt_sigreturn syscall.
10997
bd15e32c
AM
109982011-08-02 Alan Modra <amodra@gmail.com>
10999
11000 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11001 Restore for indirect call bcrtl from correct stack slot, and only
11002 if cfa+40 isn't valid.
11003
655b30bf
JB
110042011-08-01 Julian Brown <julian@codesourcery.com>
11005
11006 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11007 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11008 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11009
247eb06f
JB
110102011-08-01 Julian Brown <julian@codesourcery.com>
11011
11012 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11013 (libgcc-std.ver.in): Use above.
11014 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11015 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11016 throughout file.
11017 * config/t-fixedpoint-gnu-prefix: New file.
11018 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11019 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11020 instead of __PFX__.
11021
02a8fe00
L
110222011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11023
11024 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11025 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11026 for x86-64. Properly check __x86_64__ and __LP64__.
11027
5fce9126
L
110282010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11029
11030 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11031 version.
11032 (_FP_WS_TYPE): Likewise.
11033 (_FP_I_TYPE): Likewise.
11034
2374a88a
AM
110352011-07-28 Alan Modra <amodra@gmail.com>
11036
11037 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11038 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11039 in a plt call stub. Do restore r2 if stopped on bctrl.
11040
e44dbbe1
RO
110412011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11042
11043 * config.host (i[3456x]86-*-netware*): Remove.
11044 * config/i386/netware-crt0.c, config/i386/t-nwld,
11045 config/i386/t-slibgcc-nwld: Remove.
11046
bcead286
BS
110472011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11048
11049 * config.host: Handle tic6x-*-*.
11050 * config/c6x/c6x-abi.h: New file.
11051
b3fe1584
RO
110522011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11053
11054 * config/i386/crtprec.c: New file.
11055 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11056 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11057 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11058 (x86_64-*-darwin*): Likewise.
11059 (i[34567]86-*-solaris2*: Likewise.
11060
35d8090d
RO
110612011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11062
11063 * config/alpha/crtfastmath.c: New file.
11064 * config/i386/crtfastmath.c: New file.
11065 * config/ia64/crtfastmath.c: New file.
11066 * config/mips/crtfastmath.c: New file.
11067 * config/sparc/crtfastmath.c: New file.
11068
11069 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11070 crtfastmath.c.
11071 Add -frandom-seed=gcc-crtfastmath.
11072 * config/alpha/t-crtfm: Remove.
11073 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11074 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11075
11076 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11077 (alpha*-dec-osf5.1*): Likewise.
11078 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11079 Add crtfastmath.o to extra_parts.
11080 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11081 Add crtfastmath.o to extra_parts.
11082 (x86_64-*-darwin*): Likewise.
11083 (x86_64-*-mingw*): Likewise.
11084 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11085 (ia64*-*-freebsd*): Likewise.
11086 (ia64*-*-linux*): Likewise.
11087 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11088 Add crtfastmath.o to extra_parts.
11089
e141542e
RO
110902011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11091
11092 * config/darwin-crt3.o: New file.
11093 * config/rs6000/darwin-crt2.c: New file.
11094 * config/t-darwin: New file.
11095 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11096 (crt2.o): New rule.
11097 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11098 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11099 (powerpc64-*-darwin*): Likewise.
11100
2d1efe2d
RO
111012011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11102
11103 * config/i386/netware-crt0.c: New file.
11104 * config/i386/t-nwld: Rename to ...
11105 * config/i386/t-slibgcc-nwld: ... this.
11106 * config/i386/t-nwld: New file.
11107 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11108 tmake_file.
11109 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11110 extra_parts.
11111
4a8bb046
RO
111122011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11113
11114 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11115 i386/t-crtstuff.
11116 * configure: Regenerate.
11117
2d8d5935
RO
111182011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11119
11120 * dfp-bit.c, dfp-bit.h: New files.
11121 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11122 variables.
11123 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11124 ($(d64pbit-o)): Likewise.
11125 ($(d128pbit-o)): Likewise.
11126 * config/t-dfprules: New file.
11127 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11128 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11129 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11130 (x86_64-*-linux*): Likewise.
11131 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11132 (i[34567]86-*-cygwin*): Likewise.
11133 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11134 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11135
2c50b2c3
RO
111362011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11137
11138 * Makfile.in (LIBGCOV): New variable.
11139 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11140 * libgcov.c: New file.
11141
a039d7c2
RO
111422011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11143
11144 * fixed-bit.c, fixed-bit.h: New files.
11145 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11146 refer to fixed-bit.c.
11147
1e4b2746
JM
111482011-07-07 Joseph Myers <joseph@codesourcery.com>
11149
11150 * config.host (*local*): Remove.
11151
fbdd5d87
RO
111522011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11153
11154 PR target/39150
11155 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11156 like i?86-*-solaris2.1[0-9]*.
11157 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11158 * configure.ac (i?86-*-solaris2*): Likewise.
11159 * configure: Regenerate.
11160
9e7714f4
TS
111612011-07-06 Thomas Schwinge <thomas@schwinge.name>
11162
11163 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11164 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11165 md_unwind_header by splitting out of...
11166 (i[34567]86-*-linux*): ... this.
11167 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11168 Remove md_unwind_header by splitting out of...
11169 (x86_64-*-linux*): ... this.
11170
6dab9931
GJL
111712011-07-04 Georg-Johann Lay <avr@gjlay.de>
11172
11173 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11174
4be46d19
NC
111752011-06-28 Nick Clifton <nickc@redhat.com>
11176
11177 * config.host: Recognize all V850 variants.
11178
1da9434b
UB
111792011-06-22 Uros Bizjak <ubizjak@gmail.com>
11180
11181 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11182
e4d48a4d
RO
111832011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11184
11185 * shared-object.mk (c_flags-$o): Save c_flags.
11186 ($(base)$(objext)): Use it.
11187 ($(base)_s$(objext)): Likewise.
11188
3801c801
BS
111892011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11190
11191 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11192 * libgcc-std.ver.in (GCC_4.7.0): New section.
11193
0ad8bb3b 111942011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 11195
0ad8bb3b
GJL
11196 PR target/49313
11197 PR target/29524
11198 * config/avr/t-avr: Fix line endings.
11199 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11200 _parityXX2.
11201
ea963999
OH
112022011-06-14 Olivier Hainque <hainque@adacore.com>
11203 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11204
11205 * config/mips/irix6-unwind.h: New file.
11206 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11207
b11b0904
EB
112082011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11209
11210 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11211 (sparc64_fallback_frame_state): Use it.
11212 (sparc64_frob_update_context): Further adjust context.
11213 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11214 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11215 * config/sparc/sol2-cn.S: Likewise.
11216
10e48e39
RO
112172011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11218
11219 * enable-execute-stack-empty.c: New file.
11220 * enable-execute-stack-mprotect.c: New file.
11221 * config/i386/enable-execute-stack-mingw32.c: New file.
11222 * config.host (enable_execute_stack): New variable.
11223 Select appropriate variants.
11224 * configure.ac: Link enable-execute-stack.c to
11225 $enable_execute_stack.
11226 * configure: Regenerate.
11227 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11228 (lib2funcs): Remove _enable_execute_stack.
11229
10c4cabc
DM
112302011-06-09 David S. Miller <davem@davemloft.net>
11231 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11232
11233 * config.host (sparc-*-linux*): Correct md_unwind_header
11234 filename.
11235 (s390x-ibm-tpf*): Fix typo.
11236
aa4203e7
RO
112372011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11238
11239 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11240 Add crtfastmath.o to extra_parts.
11241 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11242 mips/t-crtfm.
11243 * config/mips/t-crtfm: Remove.
11244
0defd786
JDA
112452011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11246
11247 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11248
82f247af
KK
112492011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11250
11251 * config.host (sh*-*-linux*): Fix typo.
11252
58cd1d70
RO
112532011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11254
11255 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11256 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11257 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11258 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11259 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11260 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11261 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11262 Wrap in !__MINGW64__.
11263 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11264 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11265 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11266 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11267 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11268 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11269 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11270 Wrap in !__LP64__.
11271 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11272 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11273 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11274 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11275 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11276 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11277 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11278 * config/no-unwind.h: New file.
11279 * config.host (md_unwind_header): Document.
11280 Define.
11281 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11282 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11283 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11284 hppa[12]*-*-hpux11*): Set md_unwind_header.
11285 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11286 Set md_unwind_header.
11287 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11288 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11289 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11290 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11291 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11292 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11293 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11294 md_unwind_header.
11295 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11296 * configure: Regenerate.
11297
737346fa
RO
112982011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11299
11300 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11301 Set tmake_file, extra_parts.
11302 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11303 Remove O32 support.
11304 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11305 Remove O32 support.
11306 * config/mips/t-irix6: New file.
11307 * config/mips/t-slibgcc-irix: New file.
11308
c192cee6
RO
113092011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11310
11311 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11312 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11313
ee33b5f0
RO
113142011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11315
11316 * configure.ac (target_thread_file): Determine thread model.
11317 * configure: Regenerate.
11318 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11319 * config/alpha/t-alpha: New file.
11320 * config/alpha/t-crtfm: Use $<.
11321 * config/alpha/t-ieee: New file.
11322 * config/alpha/t-osf-pthread: New file.
11323 * config/alpha/t-slibgcc-osf: New file.
11324 * config/alpha/libgcc-osf5.ver: New file.
11325
0699e415
RO
113262011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11327
11328 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11329 tmake_file.
11330 Add crtfastmath.o to extra_parts.
11331
a3fab9c2
RO
113322011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11333
11334 * config/gmon-sol2.c: Reindent.
11335 Cleanup comments.
11336 Remove, correct casts.
11337 Use STDERR_FILENO, NULL.
11338 (BASEADDRESS): Remove.
11339 (minbrk): Remove.
11340 (errno, sbrk): Remove declarations.
11341 (monstartup) [hp300]: Remove.
11342 (mcount): Remove.
11343
ca24c5ad
RO
113442011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11345
11346 * Makefile.in (cpu_type): Define.
11347 * config.host (i[34567]86-*-rtems*): Handle it.
11348 (i[34567]86-*-solaris2*): Move body ...
11349 (*-*-solaris2*): ... here.
11350 New case, generalize.
11351 (sparc-*-elf*): Handle it.
11352 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11353 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11354 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11355 Fold into ...
11356 (sparc*-*-solaris2*): ... this.
11357 New case.
11358 (sparc64-*-elf*): Handle it.
11359 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11360 Merge ../gcc/config/i386/gmon-sol2.c.
11361 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11362 Use C comments.
11363 Merge ../gcc/config/i386/sol2-gc1.asm.
11364 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11365 Use C comments.
11366 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11367 Use C comments.
11368 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11369 * config/i386/t-crtstuff: New file.
11370 * config/i386/t-softfp: New file.
11371 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11372 $(T)crti.o, $(T)crtn.o): Remove.
11373 (gcrt1.o): New rule.
11374 (TARGET_LIBGCC2_CFLAGS): Remove.
11375 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11376 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11377 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11378 * config/sparc/t-sol2: New file.
11379 * config/sparc/t-crtfm: Move to ...
11380 * config/t-crtfm: ... this.
11381 Use $(cpu_type), $<.
11382 * config/t-crtin: New file.
11383 * config/sparc/t-softfp: New file.
11384 * config/sparc/t-softmul: New file.
11385 * config/t-rtems: New file.
11386 * config/t-slibgcc: New file.
11387 * config/t-slibgcc-elf-ver: New file.
11388 * config/t-slibgcc-gld: New file.
11389 * config/t-slibgcc-sld: New file.
11390 * config/t-sol2: New file.
11391 * configure.ac: Include ../config/lib-ld.m4.
11392 Call AC_LIB_PROG_LD_GNU.
11393 Substitute cpu_type.
11394 * configure: Regenerate.
11395
ad5f3d7b
BS
113962011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11397
11398 PR bootstrap/49173
11399 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11400 libgcc-std.ver in the build directory.
11401 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11402 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11403
cdbf4541
BS
114042011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11405
11406 * libgcc-std.ver.in: New file.
11407 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11408 variables.
11409 (libgcc-std.ver): New rule.
11410 * config/t-gnu-prefix: New file.
11411
c8028650
RO
114122011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11413
11414 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11415
4a68b4ca
JM
114162011-05-10 Joseph Myers <joseph@codesourcery.com>
11417
11418 * config/i386/darwin-lib.h: New file.
11419
80cf2e08
JM
114202011-05-10 Joseph Myers <joseph@codesourcery.com>
11421
11422 * config/arm/symbian-lib.h: New.
11423
a3330c9d
CD
114242011-05-04 Chris Demetriou <cgd@google.com>
11425
11426 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11427 (__x86.get_pc_thunk.bx): ...this.
11428 (__morestack): Adjust for rename, remove undef of __i686.
11429
6ace0756
CD
114302011-05-03 Chris Demetriou <cgd@google.com>
11431
11432 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11433
ebb9f8b0
JM
114342011-03-22 Joseph Myers <joseph@codesourcery.com>
11435
11436 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11437 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11438 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11439 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11440 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11441 Remove cases.
11442
9cfa1499
AT
114432011-03-14 Andreas Tobler <andreast@fgznet.ch>
11444
11445 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11446 Adjust copyright year.
11447
457186f6
ILT
114482011-03-07 Ian Lance Taylor <iant@google.com>
11449
11450 * generic-morestack.c (__splitstack_find): Adjust returned stack
11451 pointer to include all registers pushed by __morestack.
11452
58c741a6
DK
114532011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11454
11455 PR target/40125
11456 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11457 (toolexecdir): Calculate and AC_SUBST.
11458 (toolexeclibdir): Likewise.
11459 * Makefile.in (target_noncanonical): Import.
11460 (toolexecdir): Likewise.
11461 (toolexeclibdir): Likewise.
11462 * configure: Regenerate.
11463
26716c44
NF
114642010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11465
11466 PR target/46040
11467 * config/arm/bpabi.h: Rename to...
11468 * config/arm/bpabi-lib.h: ...this.
11469
b595b1a1
RO
114702010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11471
11472 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11473 appropriate.
11474 * configure: Regenerate.
11475
a3abe41c
NF
114762010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11477
11478 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11479 __FLOAT_WORD_ORDER__.
11480 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11481 Delete.
11482
455c8f48
RW
114832010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11484
11485 PR other/46202
11486 * Makefile.in (install-strip): New phony target.
11487
f3824a8b
ILT
114882010-11-07 Ian Lance Taylor <iant@google.com>
11489
11490 PR target/46089
11491 * config/i386/morestack.S (__morestack_large_model): New
11492 function.
11493
18ed6ee4
NF
114942010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11495
11496 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11497 Delete.
11498 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11499
8ac7fdcb
NF
115002010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11501
11502 * config/arm/bpabi.h: New file.
11503 * config/frv/frv-abi.h: New file.
11504
cdb388c2
ILT
115052010-10-01 Ian Lance Taylor <iant@google.com>
11506
11507 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11508 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11509
ef7c141c
L
115102010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11511
11512 PR target/45858
11513 * config.host: Add the missing `$'.
11514
80920132
ME
115152010-09-30 Michael Eager <eager@eagercon.com>
11516
11517 * config.host: Add microblaze*-*-*.
11518 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11519 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11520 udivsi3.asm,umodsi3.asm}: New.
11521
6dace308
ILT
115222010-09-28 Ian Lance Taylor <iant@google.com>
11523
11524 * configure.ac: Adjust CFI test to test assembler directly rather
11525 than checking gcc preprocessor macro.
11526 * configure: Rebuild.
11527
b6110d6d
ILT
115282010-09-27 Ian Lance Taylor <iant@google.com>
11529
11530 * configure.ac: Test whether assembler supports CFI directives.
11531 * config.host: Only add t-stack and i386/t-stack-i386 to
11532 tmake_file if libgcc_cv_cfi is "yes".
11533 * configure: Rebuild.
11534
7458026b
ILT
115352010-09-27 Ian Lance Taylor <iant@google.com>
11536
11537 * generic-morestack.h: New file.
11538 * generic-morestack.c: New file.
11539 * generic-morestack-thread.c: New file.
11540 * config/i386/morestack.S: New file.
11541 * config/t-stack: New file.
11542 * config/i386/t-stack-i386: New file.
11543 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11544 i386/t-stack-i386 to tmake_file.
11545
5b50fc0c
IS
115462010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11547
11548 * Makefile.in (libgcc-extra-parts): Check for static archives and
11549 invoke ranlib after installing them.
11550 (gcc-extra-parts): Likewise.
11551 (install-leaf): Likewise.
11552
b93cf342
L
115532010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11554
11555 * configure: Regenerated.
11556
996b42ef
KT
115572010-09-10 Kai Tietz <kai.tietz@onevision.com>
11558
b93cf342 11559 * configure: Regenerated.
996b42ef 11560
be1c764e
GP
115612010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11562 Andrew Pinski <pinskia@gmail.com>
11563
1da9434b 11564 PR target/40959
be1c764e
GP
11565 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11566
cc0ae0ca
L
115672010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11568
11569 PR target/45524
11570 * configure: Regenerated.
11571
84f47d20
AS
115722010-09-06 Andreas Schwab <schwab@redhat.com>
11573
11574 * configure: Regenerate.
11575
4159fb8d
UB
115762010-09-03 Uros Bizjak <ubizjak@gmail.com>
11577
11578 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11579 64bit targets.
11580 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11581 for 64bit targets.
11582
0df8fcc8
UB
115832010-09-03 Uros Bizjak <ubizjak@gmail.com>
11584 Iain Sandoe <iains@gcc.gnu.org>
11585
11586 PR target/45476
11587 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11588 LIB2FUNCS_EXCLUDE functions.
11589
3c39bca6
AK
115902010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11591
11592 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11593 Include dfp.m4.
11594 * configure: Regenerate.
11595
d78552bd
UB
115962010-09-01 Uros Bizjak <ubizjak@gmail.com>
11597
11598 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11599 i386/t-freebsd to tmake_file.
11600 * config/i386/t-freebsd: New file.
11601 * config/i386/libgcc-bsd.ver: New file.
11602
c5b79d4e
NF
116032010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11604
11605 * config.host (powerpc*-eabispe*): Set tmake_file.
11606 (powerpc*-eabi*): Likewise.
11607 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11608 crtbeginS, crtendS, crtbeginT.
11609
48b09a92
KH
116102010-06-12 Kazu Hirata <kazu@codesourcery.com>
11611
11612 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11613 to tmake_file. Add crtfastmath.o to extra_parts.
11614 * config/mips/t-crtfm: New.
11615
7d296953 116162010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
11617
11618 * config.host (sparc64-*-rtems*): New target.
11619
ed104137
RO
116202010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11621
11622 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11623 assembler syntax.
11624
3f56ef8b
TS
116252010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11626
11627 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11628
8c200350
RO
116292010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11630
11631 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11632 alpha-dec-osf5.0* support.
11633
7d296953 116342010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
11635
11636 * config.host: Add lm32-*-rtems*.
11637
f128db92 116382010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 11639 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
11640
11641 PR target/39048
11642 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11643 like other remaining 32-bit x86 OSes.
11644 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11645 assembler syntax.
11646 * config/i386/libgcc-sol2.ver: New file.
11647 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11648
7d296953 116492010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
11650
11651 PR c/43553
11652 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11653 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11654 is used and substitute set_use_emutls.
11655 * configure: Regenerated.
11656
15baf7f8
TG
116572010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11658
11659 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11660
7f5441df
RO
116612010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11662
11663 PR target/38085
11664 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11665 MULTILIB_CFLAGS.
11666 ($(T)gcrt1.o): Likewise.
11667 ($(T)crt1.o): Likewise.
11668 ($(T)crti.o): Likewise.
11669 ($(T)crtn.o): Likewise.
11670
ef74edbd
RW
116712010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11672
11673 PR other/42980
11674 * Makefile.in (install): Use $(MAKE) string in rule, for
11675 parallel make.
11676
e7c914db
HPN
116772010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11678
11679 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11680 * config/mmix/t-mmix: New file.
11681 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11682
1bcb71c4
JH
116832010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11684
11685 PR java/41991
11686 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11687 SHLIB_MAPFILES.
11688
e6e50811
AG
116892010-01-04 Anthony Green <green@moxielogic.com>
11690
11691 * config/moxie/crti.asm, config/moxie/crtn.asm,
11692 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11693 config/moxie/t-moxie: New files.
11694 * config.host: Add t-moxie-softfp reference.
11695
7d296953 116962009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
11697
11698 PR other/39888
11699 * config/t-slibgcc-darwin: Fix embedded rpaths for
11700 --enable-version-specific-runtime-libs, build extension stub
11701 libs exposing features available from current libgcc_s.
11702
7d296953 117032009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 11704
d78552bd
UB
11705 * config.host: Add lm32 targets.
11706 * config/lm32: New directory.
11707 * config/lm32/libgcc_lm32.h: New file.
11708 * config/lm32/_mulsi3.c: New file.
11709 * config/lm32/_udivmodsi4.c: New file.
11710 * config/lm32/_divsi3.c: New file.
11711 * config/lm32/_modsi3.c: New file.
11712 * config/lm32/_udivsi3.c: New file.
11713 * config/lm32/_umodsi3.c: New file.
11714 * config/lm32/_lshrsi3.S: New file.
11715 * config/lm32/_ashrsi3.S: New file.
11716 * config/lm32/_ashlsi3.S: New file.
11717 * config/lm32/crti.S: New file.
11718 * config/lm32/crtn.S: New file.
11719 * config/lm32/t-lm32: New file.
11720 * config/lm32/t-elf: New file.
11721 * config/lm32/t-uclinux: New file.
aa4945c1 11722
65a324b4
NC
117232009-10-26 Nick Clifton <nickc@redhat.com>
11724
11725 * config.host: Add support for RX target.
11726 * config/rx: New directory.
11727 * config/rx/rx-abi-functions.c: New file. Supplementary
11728 functions for libgcc to support the RX ABI.
11729 * config/rx/rx-abi.h: New file. Supplementary header file for
11730 libgcc RX ABI functions.
11731 * config/rx/t-rx: New file: Makefile fragment for building
11732 libgcc for the RX.
11733
dfb3b0e3
UB
117342009-10-09 Uros Bizjak <ubizjak@gmail.com>
11735
11736 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11737 constraint of y0 to "g".
11738
81dd9fd7
AK
117392009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11740
11741 * config.host: Include the s390 makefile fragments.
11742 * config/s390/32/_fixdfdi.c: New file.
11743 * config/s390/32/_fixsfdi.c: New file.
11744 * config/s390/32/_fixtfdi.c: New file.
11745 * config/s390/32/_fixunsdfdi.c: New file.
11746 * config/s390/32/_fixunssfdi.c: New file.
11747 * config/s390/32/_fixunstfdi.c: New file.
11748 * config/s390/32/t-floattodi: New file.
11749 * config/s390/libgcc-glibc.ver: New file.
11750 * config/s390/t-crtstuff: New file.
11751 * config/s390/t-linux: New file.
11752 * config/s390/t-tpf: New file.
11753
df58e648
RW
117542009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11755
11756 * configure.ac (AC_PREREQ): Bump to 2.64.
11757
79052be3
KK
117582009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11759
11760 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11761
5213506e
RW
117622009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11763
11764 * configure: Regenerate.
11765
a9a25daa
DR
117662009-08-09 Douglas B Rupp <rupp@gnat.com>
11767
11768 * config.host (ia64-hp-*vms*): New target.
11769 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11770 with ia64-hp-*vms*.
11771
6efbd53f
RW
117722009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11773
11774 * configure.ac: Add snippet for maintainer-mode.
11775 * configure: Regenerate.
11776 * Makefile.in (AUTOCONF, configure_deps): New variables.
11777 ($(srcdir)/configure)): New rule, active only with maintainer
11778 mode turned on.
11779
7acf4da6
DD
117802009-06-23 DJ Delorie <dj@redhat.com>
11781
11782 Add MeP port.
11783 * config.host: Add mep support.
11784
54f549af
KT
117852009-06-22 Kai Tietz <kai.tietz@onevision.com>
11786
34481f28 11787 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11788 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
11789
11790 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11791 for mingw targets.
54f549af
KT
11792 * config/i386/64/_multc3.c: Likewise.
11793 * config/i386/64/_powitf2.c: Likewise.
11794 * config/i386/64/eqtf2.c: Likewise.
11795 * config/i386/64/getf2.c: Likewise.
11796 * config/i386/64/letf2.c: Likewise.
11797 * config/i386/64/letf2.c: Likewise.
34481f28
UB
11798 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11799 unsigned long long for x64 mingw targets.
11800 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11801 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 11802
fea96e25
MR
118032009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11804
11805 * config.host (vax-*-linux*): New.
11806
cceb575c
AG
118072009-05-31 Anthony Green <green@moxielogic.com>
11808
11809 * config.host: Add moxie support.
11810 * config/moxie/t-moxie: New file.
11811
7d296953 118122009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
11813
11814 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11815 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 11816
532bfb0a
AJ
118172009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11818
11819 * config.host: Add i386/${host_address}/t-fprules-softfp to
11820 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11821
748086b7
JJ
118222009-04-09 Nick Clifton <nickc@redhat.com>
11823
11824 * config/ia64/tf-signs.c: Change copyright header to refer to
11825 version 3 of the GNU General Public License with version 3.1
11826 of the GCC Runtime Library Exception and to point readers at
11827 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11828 web page.
11829 * config/i386/32/tf-signs.c: Likewise.
11830 * config/libbid/_addsub_dd.c: Likewise.
11831 * config/libbid/_addsub_sd.c: Likewise.
11832 * config/libbid/_addsub_td.c: Likewise.
11833 * config/libbid/_dd_to_df.c: Likewise.
11834 * config/libbid/_dd_to_di.c: Likewise.
11835 * config/libbid/_dd_to_sd.c: Likewise.
11836 * config/libbid/_dd_to_sf.c: Likewise.
11837 * config/libbid/_dd_to_si.c: Likewise.
11838 * config/libbid/_dd_to_td.c: Likewise.
11839 * config/libbid/_dd_to_tf.c: Likewise.
11840 * config/libbid/_dd_to_udi.c: Likewise.
11841 * config/libbid/_dd_to_usi.c: Likewise.
11842 * config/libbid/_dd_to_xf.c: Likewise.
11843 * config/libbid/_df_to_dd.c: Likewise.
11844 * config/libbid/_df_to_sd.c: Likewise.
11845 * config/libbid/_df_to_td.c: Likewise.
11846 * config/libbid/_di_to_dd.c: Likewise.
11847 * config/libbid/_di_to_sd.c: Likewise.
11848 * config/libbid/_di_to_td.c: Likewise.
11849 * config/libbid/_div_dd.c: Likewise.
11850 * config/libbid/_div_sd.c: Likewise.
11851 * config/libbid/_div_td.c: Likewise.
11852 * config/libbid/_eq_dd.c: Likewise.
11853 * config/libbid/_eq_sd.c: Likewise.
11854 * config/libbid/_eq_td.c: Likewise.
11855 * config/libbid/_ge_dd.c: Likewise.
11856 * config/libbid/_ge_sd.c: Likewise.
11857 * config/libbid/_ge_td.c: Likewise.
11858 * config/libbid/_gt_dd.c: Likewise.
11859 * config/libbid/_gt_sd.c: Likewise.
11860 * config/libbid/_gt_td.c: Likewise.
11861 * config/libbid/_isinfd128.c: Likewise.
11862 * config/libbid/_isinfd32.c: Likewise.
11863 * config/libbid/_isinfd64.c: Likewise.
11864 * config/libbid/_le_dd.c: Likewise.
11865 * config/libbid/_le_sd.c: Likewise.
11866 * config/libbid/_le_td.c: Likewise.
11867 * config/libbid/_lt_dd.c: Likewise.
11868 * config/libbid/_lt_sd.c: Likewise.
11869 * config/libbid/_lt_td.c: Likewise.
11870 * config/libbid/_mul_dd.c: Likewise.
11871 * config/libbid/_mul_sd.c: Likewise.
11872 * config/libbid/_mul_td.c: Likewise.
11873 * config/libbid/_ne_dd.c: Likewise.
11874 * config/libbid/_ne_sd.c: Likewise.
11875 * config/libbid/_ne_td.c: Likewise.
11876 * config/libbid/_sd_to_dd.c: Likewise.
11877 * config/libbid/_sd_to_df.c: Likewise.
11878 * config/libbid/_sd_to_di.c: Likewise.
11879 * config/libbid/_sd_to_sf.c: Likewise.
11880 * config/libbid/_sd_to_si.c: Likewise.
11881 * config/libbid/_sd_to_td.c: Likewise.
11882 * config/libbid/_sd_to_tf.c: Likewise.
11883 * config/libbid/_sd_to_udi.c: Likewise.
11884 * config/libbid/_sd_to_usi.c: Likewise.
11885 * config/libbid/_sd_to_xf.c: Likewise.
11886 * config/libbid/_sf_to_dd.c: Likewise.
11887 * config/libbid/_sf_to_sd.c: Likewise.
11888 * config/libbid/_sf_to_td.c: Likewise.
11889 * config/libbid/_si_to_dd.c: Likewise.
11890 * config/libbid/_si_to_sd.c: Likewise.
11891 * config/libbid/_si_to_td.c: Likewise.
11892 * config/libbid/_td_to_dd.c: Likewise.
11893 * config/libbid/_td_to_df.c: Likewise.
11894 * config/libbid/_td_to_di.c: Likewise.
11895 * config/libbid/_td_to_sd.c: Likewise.
11896 * config/libbid/_td_to_sf.c: Likewise.
11897 * config/libbid/_td_to_si.c: Likewise.
11898 * config/libbid/_td_to_tf.c: Likewise.
11899 * config/libbid/_td_to_udi.c: Likewise.
11900 * config/libbid/_td_to_usi.c: Likewise.
11901 * config/libbid/_td_to_xf.c: Likewise.
11902 * config/libbid/_tf_to_dd.c: Likewise.
11903 * config/libbid/_tf_to_sd.c: Likewise.
11904 * config/libbid/_tf_to_td.c: Likewise.
11905 * config/libbid/_udi_to_dd.c: Likewise.
11906 * config/libbid/_udi_to_sd.c: Likewise.
11907 * config/libbid/_udi_to_td.c: Likewise.
11908 * config/libbid/_unord_dd.c: Likewise.
11909 * config/libbid/_unord_sd.c: Likewise.
11910 * config/libbid/_unord_td.c: Likewise.
11911 * config/libbid/_usi_to_dd.c: Likewise.
11912 * config/libbid/_usi_to_sd.c: Likewise.
11913 * config/libbid/_usi_to_td.c: Likewise.
11914 * config/libbid/_xf_to_dd.c: Likewise.
11915 * config/libbid/_xf_to_sd.c: Likewise.
11916 * config/libbid/_xf_to_td.c: Likewise.
11917 * config/libbid/bid128.c: Likewise.
11918 * config/libbid/bid128_2_str.h: Likewise.
11919 * config/libbid/bid128_2_str_macros.h: Likewise.
11920 * config/libbid/bid128_2_str_tables.c: Likewise.
11921 * config/libbid/bid128_add.c: Likewise.
11922 * config/libbid/bid128_compare.c: Likewise.
11923 * config/libbid/bid128_div.c: Likewise.
11924 * config/libbid/bid128_fma.c: Likewise.
11925 * config/libbid/bid128_logb.c: Likewise.
11926 * config/libbid/bid128_minmax.c: Likewise.
11927 * config/libbid/bid128_mul.c: Likewise.
11928 * config/libbid/bid128_next.c: Likewise.
11929 * config/libbid/bid128_noncomp.c: Likewise.
11930 * config/libbid/bid128_quantize.c: Likewise.
11931 * config/libbid/bid128_rem.c: Likewise.
11932 * config/libbid/bid128_round_integral.c: Likewise.
11933 * config/libbid/bid128_scalb.c: Likewise.
11934 * config/libbid/bid128_sqrt.c: Likewise.
11935 * config/libbid/bid128_string.c: Likewise.
11936 * config/libbid/bid128_to_int16.c: Likewise.
11937 * config/libbid/bid128_to_int32.c: Likewise.
11938 * config/libbid/bid128_to_int64.c: Likewise.
11939 * config/libbid/bid128_to_int8.c: Likewise.
11940 * config/libbid/bid128_to_uint16.c: Likewise.
11941 * config/libbid/bid128_to_uint32.c: Likewise.
11942 * config/libbid/bid128_to_uint64.c: Likewise.
11943 * config/libbid/bid128_to_uint8.c: Likewise.
11944 * config/libbid/bid32_to_bid128.c: Likewise.
11945 * config/libbid/bid32_to_bid64.c: Likewise.
11946 * config/libbid/bid64_add.c: Likewise.
11947 * config/libbid/bid64_compare.c: Likewise.
11948 * config/libbid/bid64_div.c: Likewise.
11949 * config/libbid/bid64_fma.c: Likewise.
11950 * config/libbid/bid64_logb.c: Likewise.
11951 * config/libbid/bid64_minmax.c: Likewise.
11952 * config/libbid/bid64_mul.c: Likewise.
11953 * config/libbid/bid64_next.c: Likewise.
11954 * config/libbid/bid64_noncomp.c: Likewise.
11955 * config/libbid/bid64_quantize.c: Likewise.
11956 * config/libbid/bid64_rem.c: Likewise.
11957 * config/libbid/bid64_round_integral.c: Likewise.
11958 * config/libbid/bid64_scalb.c: Likewise.
11959 * config/libbid/bid64_sqrt.c: Likewise.
11960 * config/libbid/bid64_string.c: Likewise.
11961 * config/libbid/bid64_to_bid128.c: Likewise.
11962 * config/libbid/bid64_to_int16.c: Likewise.
11963 * config/libbid/bid64_to_int32.c: Likewise.
11964 * config/libbid/bid64_to_int64.c: Likewise.
11965 * config/libbid/bid64_to_int8.c: Likewise.
11966 * config/libbid/bid64_to_uint16.c: Likewise.
11967 * config/libbid/bid64_to_uint32.c: Likewise.
11968 * config/libbid/bid64_to_uint64.c: Likewise.
11969 * config/libbid/bid64_to_uint8.c: Likewise.
11970 * config/libbid/bid_b2d.h: Likewise.
11971 * config/libbid/bid_binarydecimal.c: Likewise.
11972 * config/libbid/bid_conf.h: Likewise.
11973 * config/libbid/bid_convert_data.c: Likewise.
11974 * config/libbid/bid_decimal_data.c: Likewise.
11975 * config/libbid/bid_decimal_globals.c: Likewise.
11976 * config/libbid/bid_div_macros.h: Likewise.
11977 * config/libbid/bid_dpd.c: Likewise.
11978 * config/libbid/bid_flag_operations.c: Likewise.
11979 * config/libbid/bid_from_int.c: Likewise.
11980 * config/libbid/bid_functions.h: Likewise.
11981 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11982 * config/libbid/bid_inline_add.h: Likewise.
11983 * config/libbid/bid_internal.h: Likewise.
11984 * config/libbid/bid_round.c: Likewise.
11985 * config/libbid/bid_sqrt_macros.h: Likewise.
11986
119872009-04-09 Jakub Jelinek <jakub@redhat.com>
11988
11989 * Makefile.in: Change copyright header to refer to version
11990 3 of the GNU General Public License and to point readers at the
11991 COPYING3 file and the FSF's license web page.
11992 * config.host: Likewise.
11993
633dd061
AM
119942009-04-07 Alan Modra <amodra@bigpond.net.au>
11995
11996 * config.host: Reorder and merge to match config.gcc change.
11997
457d1d00
AM
119982009-04-03 Alan Modra <amodra@bigpond.net.au>
11999
12000 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12001
52c0e446
JM
120022009-03-28 Joseph Myers <joseph@codesourcery.com>
12003
12004 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12005 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12006 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12007 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12008
ba181049
UB
120092009-02-12 Uros Bizjak <ubizjak@gmail.com>
12010
12011 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12012 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12013
c252db20
L
120142009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12015
ba181049
UB
12016 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12017 ia64/t-softfp-compat to tmake_file.
c252db20
L
12018
12019 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12020
12021 * config/ia64/__divxf3.asm: New.
12022 * config/ia64/_fixtfdi.asm: Likewise.
12023 * config/ia64/_fixunstfdi.asm: Likewise.
12024 * config/ia64/_floatditf.asm: Likewise.
12025 * config/ia64/t-fprules-softfp: Likewise.
12026 * config/ia64/t-softfp-compat: Likewise.
12027 * config/ia64/tf-signs.c: Likewise.
12028
c60535f9
BE
120292009-01-18 Ben Elliston <bje@au.ibm.com>
12030
12031 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12032
ce16861e
BE
120332009-01-16 Ben Elliston <bje@au.ibm.com>
12034
12035 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12036 to tmake_file.
12037
bcf4713b
BE
120382009-01-13 Ben Elliston <bje@au.ibm.com>
12039
12040 * config/t-softfp: New file.
12041 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12042 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12043
7d296953 120442009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
12045
12046 * config.host: Add m32r*-*-rtems*.
12047
7d296953 120482008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
12049
12050 * config.host: Add m32c*-*-rtems*.
12051
19523300
RO
120522008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12053
12054 PR bootstrap/33100
12055 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12056 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12057 * configure: Regenerate.
12058 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12059 tmake_file here from gcc/config.gcc.
12060 Move extra_parts here from gcc/config.gcc.
12061 * config/i386/t-sol2: Move here from gcc/config/i386.
12062 Use gcc_srcdir instead of srcdir.
12063
0a4a51c7
AN
120642008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12065
12066 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12067 case.
12068
2a761e46
TS
120692008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12070
12071 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12072
c0451df7
TS
120732008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12074
12075 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12076
358da97e
HS
120772008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12078
12079 Add picoChip port.
12080 * config.host: Add picochip-*-*.
12081
c660f132
BW
120822008-08-06 Bob Wilson <bob.wilson@acm.org>
12083
12084 * config.host: Match more processor names for Xtensa.
12085
d1349557
L
120862008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12087
12088 * config/i386/64/t-softfp-compat: Update comments.
12089
dd7b73c0
L
120902008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12091
12092 * config/i386/64/_divtc3-compat.c: Moved to ...
12093 * config/i386/64/_divtc3.c: Here.
12094
12095 * config/i386/64/_multc3-compat.c: Moved to ...
12096 * config/i386/64/_multc3.c: Here.
12097
12098 * config/i386/64/_powitf2-compat.c: Moved to ...
12099 * config/i386/64/_powitf2.c: Here.
12100
12101 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12102 .c suffix instead of -compat.c.
12103
6e1fab3d
UB
121042008-07-05 Uros Bizjak <ubizjak@gmail.com>
12105
12106 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12107 (_FP_MUL_MEAT_D): Ditto.
12108 (_FP_DIV_MEAT_S): Ditto.
12109 (_FP_DIV_MEAT_D): Ditto.
12110
f92518d7
RS
121112008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12112
12113 * Makefile.in: Add support for __sync_* libgcc functions.
12114
d0aede14
L
121152008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12116
12117 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12118
c174f11c
L
121192008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12120
12121 PR boostrap/36702
12122 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12123 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12124
12125 * config/i386/64/t-fprules-softfp: Moved to ...
12126 * config/i386/64/t-softfp-compat: This. New.
12127
5f464fa2
UB
121282008-07-02 Uros Bizjak <ubizjak@gmail.com>
12129
12130 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12131 Initialize f with 0.0.
12132
ff473280
L
121332008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12134
12135 PR target/36669
12136 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12137
12138 * config/i386/64/_divtc3-compat.c: New.
12139 * config/i386/64/_multc3-compat.c: Likewise.
12140 * config/i386/64/_powitf2-compat.c: Likewise.
12141 * config/i386/64/eqtf2.c: Likewise.
12142 * config/i386/64/getf2.c: Likewise.
12143 * config/i386/64/letf2.c: Likewise.
12144 * config/i386/64/t-fprules-softfp: Likewise.
12145
121462008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12147
12148 * config.host: Add i386/${host_address}/t-fprules-softfp to
12149 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 12150 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
12151
12152 * configure.ac: Set host_address to 64 or 32 for x86.
12153 * configure: Regenerated.
12154
12155 * Makefile.in (config.status): Also depend on
12156 $(srcdir)/config.host.
12157
12158 * config/i386/32/t-fprules-softfp: New.
12159 * config/i386/32/tf-signs.c: Likewise.
12160
12161 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12162
121632008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12164 Uros Bizjak <ubizjak@gmail.com>
12165
12166 * config/i386/32/sfp-machine.h: New.
12167
30551d99
NF
121682008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12169
12170 * config/rs6000/t-ppccomm: Remove rules that conflict with
12171 auto-generated rules.
12172
18c04407
RW
121732008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12174
12175 * configure.ac: sinclude override.m4.
12176 * configure: Regenerate.
12177
10fbe77a
BRF
121782008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12179
12180 * configure: Regenerate.
12181
bc6d4c3f
JM
121822008-06-10 Joseph Myers <joseph@codesourcery.com>
12183
12184 * Makefile.in (DECNUMINC): Remove
12185 -I$(MULTIBUILDTOP)../../libdecnumber.
12186 * gstdint.h: New.
12187
cd985f66
JM
121882008-06-07 Joseph Myers <joseph@codesourcery.com>
12189
12190 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12191 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12192 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12193 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12194 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12195 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12196 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12197 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12198 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12199 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12200 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12201 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12202 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12203 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12204
93fea8d3
AL
122052008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12206
12207 * config.host (sh2[lbe]*-*-linux*): Allow target.
12208
18724e30
NF
122092008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12210
12211 * config/rs6000/t-ppccomm: Add build rules for new files.
12212 (LIB2ADD_ST): New variable.
12213
47583040
AH
122142008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12215
12216 PR target/34210
12217 PR target/35508
12218 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12219 * config/t-avr: New file. Build 16bit libgcc functions.
12220
cf8e67fe
JJ
122212008-03-02 Jakub Jelinek <jakub@redhat.com>
12222
12223 PR target/35401
12224 * config/t-slibgcc-darwin: Make install-leaf dependent on
12225 install-darwin-libgcc-stubs instead of install.
12226
8d8da227
JM
122272008-01-25 Joseph Myers <joseph@codesourcery.com>
12228
12229 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12230 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12231 sh-*-rtemscoff*): Remove cases.
12232
edbf8b16
RS
122332007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12234
12235 * Makefile.in (all): Use install-leaf rather than install.
12236 (install): Split most of the rule into...
12237 (install-leaf): ...this new one.
12238
89deeaff
EK
122392007-12-19 Etsushi Kato <ek.kato@gmail.com>
12240 Paolo Bonzini <bonzini@gnu.org>
12241
12242 PR target/30572
5f464fa2
UB
12243 * Makefile.in: Use @shlib_slibdir@ substitution to get
12244 correct install name on darwin.
89deeaff 12245 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 12246
4081d704
HPN
122472007-12-15 Hans-Peter Nilsson <hp@axis.com>
12248
12249 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12250 cris-*-elf and cris-*-none.
12251 (crisv32-*-linux*): Similar, as cris-*-linux*.
12252
f43e89a3
RIL
122532007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12254
12255 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12256
b4e9c2c6
L
122572007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12258
12259 PR regression/33926
12260 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12261 * configure: Regenerated.
12262
b2a00c89
L
122632007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12264
12265 * Makefile.in (dfp-filenames): Replace decimal_globals,
12266 decimal_data, binarydecimal and convert_data with
12267 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12268 and bid_convert_data, respectively.
12269
8d2a9e0e
CF
122702007-09-17 Chao-ying Fu <fu@mips.com>
12271 Nigel Stephens <nigel@mips.com>
12272
12273 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12274 * Makefile.in (fixed_point): Define.
12275 Check if fixed_point is yes to build support functions.
12276 * configure.ac: Check for fixed_point support.
12277 * configure: Regenerated.
12278 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12279 funcs, modes, from, to.
12280
2b53935d
JJ
122812007-09-11 Janis Johnson <janis187@us.ibm.com
12282
12283 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12284
2533577f
JJ
122852007-09-10 Janis Johnson <janis187@us.ibm.com>
12286
12287 * Makefile.in (dfp-filenames): Remove decUtility, add
12288 decDouble, decPacked, decQuad, decSingle.
12289
3ae3dbd6
HK
122902007-08-27 Hans Kester <hans.kester@ellips.nl>
12291
12292 * config.host : Add x86_64-elf target.
12293
22867d02
L
122942007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12295
12296 * configure.ac (set_have_cc_tls): Add a missing =.
12297 * configure: Regenerated.
12298
6f461e76
L
122992007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12300
12301 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12302 and x86_64-*-linux*.
12303
12304 * config/t-tls: New file.
12305
dfb3b0e3 12306 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
12307
12308 * configure.ac: Include ../config/enable.m4 and
12309 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12310 supports TLS and substitute set_have_cc_tls.
12311 * configure: Regenerated.
12312
200359e8
L
123132007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12314
12315 * Makefile.in: Use libbid for DFP when BID is enabled.
12316
76f5e200
DS
123172007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12318
12319 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 12320 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
12321 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12322
9bd196f0 123232007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12324 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12325
12326 PR target/29498
12327 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12328 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12329 * config/i386/t-crtfm: Compile crtfastmath.o with
12330 -minline-all-stringops.
12331
1910440e
RS
123322007-05-10 Richard Sandiford <richard@codesourcery.com>
12333
12334 * config.host (sparc-wrs-vxworks): New target.
12335
7d33c31d
KH
123362007-04-14 Kazu Hirata <kazu@codesourcery.com>
12337
12338 * config.host: Recognize fido.
12339
96fccd0d
JJ
123402007-04-04 Janis Johnson <janis187@us.ibm.com>
12341
12342 * configure: Check host, not target, for decimal float support.
12343
577565f9
UB
123442007-04-03 Uros Bizjak <ubizjak@gmail.com>
12345
12346 * config/i386/t-crtpc: New file.
12347 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12348 (x86_64-*-linux*): Ditto.
577565f9 12349
ccf8e764
RH
123502007-02-30 Kai Tietz <kai.tietz@onevision.com>
12351
12352 * config.host (x86_64-*-mingw*): New target.
12353
79b87c74
MM
123542007-03-23 Michael Meissner <michael.meissner@amd.com>
12355 H.J. Lu <hongjiu.lu@intel.com>
12356
12357 * Makefile.in (enable_decimal_float): New.
12358 (DECNUMINC): Add
12359 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12360 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12361 (decbits-filenames): This.
12362 (decbits-objects): New.
12363 (libgcc-objects): Add $(decbits-objects).
12364
12365 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12366 Substitute enable_decimal_float.
12367 * configure: Regenerated.
12368
8fce4e31
HPN
123692007-03-19 Hans-Peter Nilsson <hp@axis.com>
12370
12371 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12372
e8bb4597
BM
123732007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12374
12375 * Makefile.in (install-info): New dummy target.
12376
344189f9
BS
123772007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12378
12379 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12380
ac84c172
BM
123812007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12382
12383 * Makefile.in: Add install-html and install-pdf dummy
12384 targets.
12385
cd5c2357
RS
123862007-02-05 Roger Sayle <roger@eyesopen.com>
12387 Daniel Jacobowitz <dan@codesourcery.com>
12388
12389 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12390 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12391 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12392
d9a66f98
JJ
123932007-01-29 Janis Johnson <janis187@us.ibm.com>
12394
12395 * Makefile.in (dec-filenames): Add decExcept.
12396
9891ec5f
DJ
123972007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12398
12399 PR bootstrap/30469
12400 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12401 -fprofile-use.
12402
d6efbf5a
DJ
124032007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12404
12405 * configure.ac: Add --enable-version-specific-runtime-libs.
12406 Correct $slibdir default.
12407 * configure: Regenerated.
12408
17caeff2
JM
124092007-01-23 Joseph Myers <joseph@codesourcery.com>
12410
12411 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12412
5ea41e3a
AP
124132007-01-21 Andrew Pinski <pinskia@gmail.com>
12414
12415 PR target/30519
12416 * config.host (alpha*-*-linux*): Set extra_parts.
12417
26900826
KK
124182007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12419
12420 * config/sh/t-linux: New.
12421 * config.host (sh*-*-linux*): Set tmake_file.
12422
97af925b
DJ
124232007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12424
12425 * Makefile.in (install): Handle multilibs.
12426
b0088af7
BM
124272007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12428
12429 * Makefile.in: Added .PHONY entry for documentation targets.
12430
e0a9456a
BM
124312007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12432
12433 * Makefile.in: Add empty info, html, dvi, pdf targets.
12434
7fd453b4
MS
124352007-01-04 Mike Stump <mrs@apple.com>
12436
12437 * Makefile.in (MAKEINFO): Remove.
12438 (PERL): Likewise.
12439
14e8fc8b
PB
124402007-01-04 Paolo Bonzini <bonzini@gnu.org>
12441
12442 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12443 * configure: Regenerate.
12444 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12445 (gcc_objdir): Use it.
14e8fc8b 12446
1555beba
DJ
124472007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12448
12449 * config.host (ia64*-*-linux*): Set tmake_file.
12450
79e6eaeb
DJ
124512007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12452
12453 * Makefile.in (version): Define.
12454
fa958513
DJ
124552007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12456 Paolo Bonzini <bonzini@gnu.org>
12457
12458 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12459 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12460 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12461 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12462 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12463 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12464 * configure: Generated.
818ab71a 12465\f
877e3c2a 12466Copyright (C) 2007-2022 Free Software Foundation, Inc.
818ab71a
JJ
12467
12468Copying and distribution of this file, with or without modification,
12469are permitted in any medium without royalty provided the copyright
12470notice and this notice are preserved.