]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
ChangeLog: Clean up from mid air collision
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
b85a969e
OH
12017-07-03 Olivier Hainque <hainque@adacore.com>
2
3 * config/t-vxworks7: New file, really.
4
883312dc
JM
52017-06-28 Joseph Myers <joseph@codesourcery.com>
6
7 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
8 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
9 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
10 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
11 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
12 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
13 config/pa/linux-unwind.h (pa32_fallback_frame_state),
14 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
15 config/sh/linux-unwind.h (sh_fallback_frame_state),
16 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
17 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
18 ucontext_t instead of struct ucontext.
19
50567938
JL
202017-06-27 Jerome Lambourg <lambourg@adacore.com>
21
22 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
23 (x86_64-wrs-vxworks7): Likewise.
24
e4b0df93
OH
252017-06-27 Olivier Hainque <hainque@adacore.com>
26
27 * config/t-vxworks7: New file.
28 * config.host (*-*-vxworks7): Use it.
29
60edf8bb
MT
302017-06-22 Matt Turner <mattst88@gmail.com>
31
32 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
33 skylake case.
34
a51a76e5
RB
352017-06-21 Richard Biener <rguenther@suse.de>
36
37 PR gcov-profile/81080
38 * configure.ac: Add AC_SYS_LARGEFILE.
39 * libgcov.h: Include auto-target.h before tsystem.h to pick
40 up _FILE_OFFSET_BITS which might differ for multilibs.
41 * config.in: Regenerate.
42 * configure: Likewise.
43
f0cd49c5
RE
442017-06-16 Richard Earnshaw <rearnsha@arm.com>
45
46 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
47
4f751c54
ML
482017-06-09 Martin Liska <mliska@suse.cz>
49
50 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
51 Reset __gcov_indirect_call_callee to NULL.
52
1ac644c8
OH
532017-06-08 Olivier Hainque <hainque@adacore.com>
54
55 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
56 the set of -I options, support for direct inclusions of net/uio.h
57 by VxWorks header files via ioLib.h.
58
d8b9cd27
TR
592017-06-07 Tony Reix <tony.reix@atos.net>
60 Matthieu Sarter <matthieu.sarter.external@atos.net>
61 David Edelsohn <dje.gcc@gmail.com>
62
63 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
64 unconditionally.
65 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
66 AIX 7.2 support.
67
38a75ccc
OH
682017-06-02 Olivier Hainque <hainque@adacore.com>
69
70 * config/vxlib.c (__gthread_once): Add missing value to
71 return statement.
72
5b2edf53
OH
732017-05-30 Olivier Hainque <hainque@adacore.com>
74
75 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
76 dollar sign before $(MULTIDIR).
77
7d66e265
RH
782017-05-26 Richard Henderson <rth@redhat.com>
79
80 PR libgcc/80037
81 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
82
78eca309
AT
832017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
84
85 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
86 _Unwind_SetIP available as functions for arm*-*-freebsd*.
87 * config/arm/unwind-arm.c: Implement the above.
88
c39d309a
AZ
892017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
90
91 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
92 section for a non-executable stack.
93
eac8c9f2
KW
942017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
95
96 PR target/80600
97 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
98
d6d4d770
DS
992017-05-14 Daniel Santos <daniel.santos@pobox.com>
100
101 * config.host: Add i386/t-msabi to i386/t-linux file list.
102 * config/i386/i386-asm.h: New file.
103 * config/i386/resms64.S: New file.
104 * config/i386/resms64f.S: New file.
105 * config/i386/resms64fx.S: New file.
106 * config/i386/resms64x.S: New file.
107 * config/i386/savms64.S: New file.
108 * config/i386/savms64f.S: New file.
109 * config/i386/t-msabi: New file.
110
8ef2b9a7
AT
1112017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
112
113 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
114 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
115
7ab8766a
JC
1162017-05-05 Joshua Conner <joshconner@google.com>
117
118 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
119 pc-relative indirect handling for fuchsia.
120 * config/t-slibgcc-fuchsia: New file.
121 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 122 x86_64-*-fuchsia*): Add definitions.
7ab8766a 123
46928a8f
ML
1242017-04-19 Martin Liska <mliska@suse.cz>
125
126 PR gcov-profile/80435
127 * Makefile.in: Install gcov.h.
128 * gcov.h: New file.
129 * libgcov.h: Use the header and make __gcov_flush publicly
130 visible.
131
63971184
ML
1322017-04-18 Martin Liska <mliska@suse.cz>
133
134 PR gcov-profile/78783
135 * libgcov-driver.c (gcov_get_filename): New function.
136
29d8aae6
JL
1372017-04-07 Jeff Law <law@redhat.com>
138
139 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
140 target makefile fragment.
141 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
142
2bdf7fc6
AM
1432017-04-07 Alan Modra <amodra@gmail.com>
144
145 PR target/45053
146 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
147
5764ee3c
JW
1482017-04-03 Jonathan Wakely <jwakely@redhat.com>
149
150 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
151
c4192ad7
CZ
1522017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
153
154 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
155
4ccfdb28
JM
1562017-03-10 John Marino <gnugcc@marino.st>
157
158 * config/aarch64/freebsd-unwind.h: New file.
159 * config.host: Add aarch64-*-freebsd unwinder.
160
4144e4e3
SB
1612017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
162
163 * config/rs6000/crtrestvr.s: Use .machine altivec.
164 * config/rs6000/crtsavevr.s: Ditto.
165
7502c597
SB
1662017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
167
168 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
169 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
170 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
171 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
172 * configure: Regenerate.
173 * config.in: Regenerate.
174
db9f7f65
JY
1752017-03-02 Jonathan Yong <10walls@gmail.com>
176
177 * config/i386/gthr-win32.h: Define NOGDI before
178 windows.h include to prevent w32api CC_NONE macro
179 clash with libgfortran.
180
126437c5
JY
1812017-03-02 Jonathan Yong <10walls@gmail.com>
182
183 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
184
31927af6
AP
1852017-02-16 Andrew Pinski <apinski@cavium.com>
186
187 * config/aarch64/value-unwind.h: New file.
188 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
189 to tm_file.
190
0bd99911
PD
1912017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
192
193 * config.host: Add RISC-V tuples.
194 * config/riscv/atomic.c: New file.
195 * config/riscv/crti.S: Likewise.
196 * config/riscv/crtn.S: Likewise.
197 * config/riscv/div.S: Likewise.
198 * config/riscv/linux-unwind.h: Likewise.
199 * config/riscv/muldi3.S: Likewise.
200 * config/riscv/multi3.S: Likewise.
201 * config/riscv/save-restore.S: Likewise.
202 * config/riscv/sfp-machine.h: Likewise.
203 * config/riscv/t-elf: Likewise.
204 * config/riscv/t-elf32: Likewise.
205 * config/riscv/t-elf64: Likewise.
206 * config/riscv/t-softfp32: Likewise.
207 * config/riscv/t-softfp64: Likewise.
208
a8c9ef2a
JJ
2092017-01-24 Jakub Jelinek <jakub@redhat.com>
210
211 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
212 /* FALLTHRU */ comments.
213
c6c82710
GP
2142017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
215
216 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
217
a876231c
JW
2182017-01-20 Jiong Wang <jiong.wang@arm.com>
219
220 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
221 * unwind-dw2.c (execute_cfa_program): Only multiplexing
222 DW_CFA_GNU_window_save for AArch64 and LP64.
223
aa348be2
JW
2242017-01-20 Jiong Wang <jiong.wang@arm.com>
225
226 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
227
5636faf2
JW
2282017-01-19 Jiong Wang <jiong.wang@arm.com>
229
230 * config/aarch64/aarch64-unwind.h: New file.
231 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
232 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
233 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
234 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
235 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
236 (aarch64_post_extract_frame_addr): New function.
237 (aarch64_post_frob_eh_handler_addr): New function.
238 (aarch64_frob_update_context): New function.
239 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
240 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
241 aarch64*-*-freebsd*):
242 Initialize md_unwind_header to include aarch64-unwind.h.
243 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
244 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
245 __aarch64__.
246 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
247 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
248 (uw_frob_return_addr): New function.
249 (uw_install_context): Use uw_frob_return_addr.
250
3c36aa6b
JJ
2512017-01-17 Jakub Jelinek <jakub@redhat.com>
252
253 PR other/79046
254 * configure.ac: Add GCC_BASE_VER.
255 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
256 version from BASE-VER file.
257 * configure: Regenerated.
258
829afb8f
JS
2592017-01-13 Joe Seymour <joe.s@somniumtech.com>
260
261 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
262 libmul_f5.a): Filter archived prerequisites.
263
79fc8ffe
AS
2642017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
265
266 * config/i386/cpuinfo.h (processor_features): Add
267 FEATURE_AVX512VPOPCNTDQ.
268 * config/i386/cpuinfo.c (get_available_features): Habdle new
269 feature.
270
fec5f4e0
JM
2712017-01-04 Joseph Myers <joseph@codesourcery.com>
272
273 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
274 payload if [__mips_nan2008].
275
8f56cb51
AM
2762017-01-04 Alan Modra <amodra@gmail.com>
277
278 * Makefile.in (configure_deps): Update.
279 * configure: Regenerate.
280
cbe34bb5
JJ
2812017-01-01 Jakub Jelinek <jakub@redhat.com>
282
283 Update copyright years.
284
ab955692
KW
2852016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
286
287 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
288 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
289 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
290
de34320f
MK
2912016-12-17 Matthias Klose <doko@ubuntu.com>
292
293 * config/arc/gmon: Remove empty directory.
294
e04ea1da
CZ
2952016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
296
297 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
298 crtgend.
299 (arc*-*-elf*): Likewise.
300 * config/arc/t-arc: Remove old gmon lib targets.
301 * config/arc/crtg.S: Remove.
302 * config/arc/crtgend.S: Likewise.
303 * config/arc/gmon/atomic.h: Likewise.
304 * config/arc/gmon/auxreg.h: Likewise.
305 * config/arc/gmon/dcache_linesz.S: Likewise.
306 * config/arc/gmon/gmon.c: Likewise.
307 * config/arc/gmon/machine-gmon.h: Likewise.
308 * config/arc/gmon/mcount.c: Likewise.
309 * config/arc/gmon/prof-freq-stub.S: Likewise.
310 * config/arc/gmon/prof-freq.c: Likewise.
311 * config/arc/gmon/profil.S: Likewise.
312 * config/arc/gmon/sys/gmon.h: Likewise.
313 * config/arc/gmon/sys/gmon_out.h: Likewise.
314 * config/arc/t-arc-newlib: Likewise.
315 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
316
8ae1c2c1
GS
3172016-12-12 George Spelvin <linux@sciencehorizons.net>
318
319 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
320
a5b947fa
GS
3212016-12-12 George Spelvin <linux@sciencehorizons.net>
322
323 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
324 R16 instead of push + pop.
325 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
326
d6574dd1
KW
3272016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
328
329 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
330 tmake_file.
331
62440b4f
CM
3322016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
333
334 * config.host (arc*-*-linux-uclibc*): Use default extra
335 objects. Include linux-android header.
336 * config/arc/crti.S (_init): Declare symbol as function.
337 (_fini): Likewise.
338
31cfd832
TK
3392016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
340
341 PR fortran/78379
342 * config/i386/cpuinfo.c: Move denums for processor vendors,
343 processor type, processor subtypes and declaration of
344 struct __processor_model into
345 * config/i386/cpuinfo.h: New header file.
346
c92e08e3
AV
3472016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
348 Thomas Preud'homme <thomas.preudhomme@arm.com>
349
350 * config/arm/cmse_nonsecure_call.S: New.
351 * config/arm/t-arm: Compile cmse_nonsecure_call.S
352
de7b5723
AV
3532016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
354 Thomas Preud'homme <thomas.preudhomme@arm.com>
355
356 * config/arm/t-arm (HAVE_CMSE): New.
357 * config/arm/cmse.c: New.
358
7a0d2bce
TP
3592016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
360
b3a5bff4
TP
361 PR gcc/74748
362 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
363 use generic linker version information on Blackfin.
364
7a0d2bce
TP
365 PR gcc/74748
366 * libgcc/mkmap-symver.awk: add support for skip_underscore
367
b410cf1d
IS
3682016-11-27 Iain Sandoe <iain@codesourcery.com>
369 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
370
371 PR target/67710
372 * config/t-darwin: Default builds to 10.5 codegen.
373
2e5f8203
JG
3742016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
375
376 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
377 (_FP_NANSIGN_H): Likewise.
378 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
379 (softfp_truncations): Add tfhf.
380 (softfp_extras): Add required conversion functions.
381
bea64ca3
JG
3822016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
383 Matthew Wahab <matthew.wahab@arm.com>
384
385 * config/arm/fp16.c (binary64): New.
386 (__gnu_d2h_internal): New.
387 (__gnu_d2h_ieee): New.
388 (__gnu_d2h_alternative): New.
389
8630cadb
JG
3902016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
391 Matthew Wahab <matthew.wahab@arm.com>
392
393 * config/arm/fp16.c (struct format): New.
394 (binary32): New.
395 (__gnu_float2h_internal): New. Body moved from
396 __gnu_f2h_internal and generalize.
397 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
398 Call it with binary32.
399
5823ef23
JG
4002016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
401
402 * soft-fp/extendhftf2.c: Update from glibc.
403 * soft-fp/fixhfti.c: Likewise.
404 * soft-fp/fixunshfti.c: Likewise.
405 * soft-fp/floattihf.c: Likewise.
406 * soft-fp/floatuntihf.c: Likewise.
407 * soft-fp/half.h: Likewise.
408 * soft-fp/trunctfhf2.c: Likewise.
409
62a7df9f
MG
4102016-11-20 Marc Glisse <marc.glisse@inria.fr>
411
412 PR libgcc/77813
413 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
414 __TMC_END__ behind a passthrough asm.
415
7a384912
WL
4162016-11-18 Walter Lee <walt@tilera.com>
417
62a7df9f 418 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 419
9775c1a5
L
4202016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
421
422 * config/i386/cpuinfo.c (processor_features): Add
423 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
424
48c842ab
CZ
4252016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
426
427 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
428 (__ARC_NORM__): Use instead ARC_OPTFPE.
429 * config/arc/fp-hack.h: Likewise.
430 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
431 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
432
5012919d
AM
4332016-11-16 Alexander Monakov <amonakov@ispras.ru>
434
435 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
436 * config/nvptx/mgomp.c: New file.
437 * config/nvptx/t-nvptx: Add mgomp.c
438
00178b98
WB
4392016-11-16 Waldemar Brodkorb <wbx@openadk.org>
440
441 PR libgcc/68468
442 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
443
d64af69f
CZ
4442016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
445
446 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
447 of checking for cpus.
448 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
449 (__modsi3, __clzsi2): Likewise.
450
9d8f95de
SN
4512016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
452
453 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
454 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
455 * config/i386/t-cpuinfo-static: New.
456
7d29f8e3
ML
4572016-11-03 Martin Liska <mliska@suse.cz>
458
459 * libgcov-profiler.c (__gcov_time_profiler): Remove.
460 (__gcov_time_profiler_atomic): Likewise.
461
5de3e2d8
BE
4622016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
463
464 PR libgcc/78067
465 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
466 count_leading_zeros.
467
18362447
UB
4682016-11-02 Uros Bizjak <ubizjak@gmail.com>
469
470 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
471 * libgcc2.c (__divmoddi4): New function.
472 * libgcc2.h (__divmoddi4): Declare.
473 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
474 and __PFX_divmodti4.
475
33107571
FW
4762016-10-24 Florian Weimer <fweimer@redhat.com>
477
478 PR libgcc/78064
479 * unwind-c.c: Include auto-target.h.
480
4c6d7494
JDA
4812016-10-19 John David Anglin <danglin@gcc.gnu.org>
482
18362447 483 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
484 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
485 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
486 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
487 hppa*64*-*-hpux11*.
488
2a26adf1
MF
4892016-10-18 Max Filippov <jcmvbkbc@gmail.com>
490
491 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
492 definition.
493 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
494 definition.
495 * config/xtensa/t-windowed (LIB2ADDEH): Use
496 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
497 or xtensa/t-linux.
498
66192aa1
DKC
4992016-10-18 Ding-Kai Chen <dkchen@cadence.com>
500
501 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
502 __ieee754_sqrt): New functions.
503 (__divdf3): Add implementation with new FPU instructions under
504 #if XCHAL_HAVE_DFP_DIV.
505 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
506 __ieee754_sqrtf): New functions.
507 (__divsf3): Add implementation with new FPU instructions under
508 #if XCHAL_HAVE_FP_DIV.
509 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
510 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
511
4d0cdd0c
TP
5122016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
513
514 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
515 equivalent.
516 * config/tilepro/atomic.c: Likewise and stop casting model to
517 enum memmodel.
518
73f01cca
JM
5192016-10-10 Joseph Myers <joseph@codesourcery.com>
520
521 PR target/77586
522 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
523 soft-fp.
524
b20e7532
AT
5252016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
526
527 * config.host: Add support for aarch64-*-freebsd*.
528
a786cec4
AS
5292016-10-05 Andreas Schwab <schwab@suse.de>
530
531 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
532 (.section .init_array): Don't call __do_jv_register_classes.
533 (.section .init): Likewise.
534
5a79befb
JJ
5352016-10-04 Jakub Jelinek <jakub@redhat.com>
536
537 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
538 (__JCR_LIST__): Remove.
539 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
540 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
541 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
542 * config/ia64/crtend.S (__JCR_END__): Remove.
543 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
544 conditionals.
545 (__JCR_LIST__, __JCR_END__): Remove.
546 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
547 (__do_global_ctors_1): Likewise.
548
e0ab3753
UB
5492015-09-28 Uros Bizjak <ubizjak@gmail.com>
550
551 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
552 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
553
8c9434c2
ML
5542016-09-27 Martin Liska <mliska@suse.cz>
555
556 PR gcov-profile/7970
557 PR gcov-profile/16855
558 PR gcov-profile/44779
559 * libgcov-driver.c (__gcov_init): Do not register a atexit
560 handler.
561 (__gcov_exit): Rename from gcov_exit.
562 * libgcov.h (__gcov_exit): Declare.
563
56b653f1
ML
5642016-09-27 Martin Liska <mliska@suse.cz>
565
566 PR bootstrap/77749
567 * Makefile.in: Remove _gcov_merge_delta.
568 * libgcov-merge.c (void __gcov_merge_delta): Remove.
569 * libgcov-util.c (__gcov_delta_counter_op): Remove.
570 * libgcov.h: Remove declaration of __gcov_merge_delta.
571
7e02fd1b
EB
5722016-09-21 Eric Botcazou <ebotcazou@adacore.com>
573
574 * configure.ac: Do not create links, only substitute the filenames.
575 * configure: Regenerate.
576 * Makefile.in: Assign the substitution results to variables.
577 (LIBGCC_LINKS): Define.
578 (enable-execute-stack.c): New rule.
579 (unwind.h): Likewise.
580 (md-unwind-support.h): Likewise.
581 (sfp-machine.h): Likewise.
582 (gthr-default.h): Likewise.
583 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
584 unwind.h as prerequisite of install-unwind_h-forbuild.
585
29991048
JJ
5862016-09-16 Jakub Jelinek <jakub@redhat.com>
587
588 PR libgcc/71744
589 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
590 is not the primary registry and atomics are available.
591 (any_objects_registered): New variable.
592 (__register_frame_info_bases, __register_frame_info_table_bases):
593 Atomically store 1 to any_objects_registered after registering first
594 unwind info.
595 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
596
0abcd6cc
JG
5972016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
598
599 PR target/63250
600 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
601 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
602 (HFtype): Likewise.
603 (HCtype): Likewise.
604 (__divhc3): Likewise.
605 (__mulhc3): Likewise.
606 * libgcc2.c: Support _mulhc3 and _divhc3.
607
d758aeb5
JM
6082016-09-07 Joseph Myers <joseph@codesourcery.com>
609
610 PR libgcc/77519
611 * libgcc2.c (NOTRUNC): Invert settings.
612
7fe76f6a
ML
6132016-09-06 Martin Liska <mliska@suse.cz>
614
615 PR gcov-profile/77378
616 PR gcov-profile/77466
617 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
618 conditionaly enable/disable *_atomic functions.
619
21184026
JM
6202016-08-26 Joseph Myers <joseph@codesourcery.com>
621
622 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
623 where not already enabled.
624
726f49c3
SN
6252016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
626
627 * config/mips/linux-unwind.h: Use sys/syscall.h.
628
feeb6268
JM
6292016-08-16 Joseph Myers <joseph@codesourcery.com>
630
631 PR libgcc/77265
632 * soft-fp/adddf3.c: Update from glibc.
633 * soft-fp/addsf3.c: Likewise.
634 * soft-fp/addtf3.c: Likewise.
635 * soft-fp/divdf3.c: Likewise.
636 * soft-fp/divsf3.c: Likewise.
637 * soft-fp/divtf3.c: Likewise.
638 * soft-fp/double.h: Likewise.
639 * soft-fp/eqdf2.c: Likewise.
640 * soft-fp/eqsf2.c: Likewise.
641 * soft-fp/eqtf2.c: Likewise.
642 * soft-fp/extenddftf2.c: Likewise.
643 * soft-fp/extended.h: Likewise.
644 * soft-fp/extendsfdf2.c: Likewise.
645 * soft-fp/extendsftf2.c: Likewise.
646 * soft-fp/extendxftf2.c: Likewise.
647 * soft-fp/fixdfdi.c: Likewise.
648 * soft-fp/fixdfsi.c: Likewise.
649 * soft-fp/fixdfti.c: Likewise.
650 * soft-fp/fixsfdi.c: Likewise.
651 * soft-fp/fixsfsi.c: Likewise.
652 * soft-fp/fixsfti.c: Likewise.
653 * soft-fp/fixtfdi.c: Likewise.
654 * soft-fp/fixtfsi.c: Likewise.
655 * soft-fp/fixtfti.c: Likewise.
656 * soft-fp/fixunsdfdi.c: Likewise.
657 * soft-fp/fixunsdfsi.c: Likewise.
658 * soft-fp/fixunsdfti.c: Likewise.
659 * soft-fp/fixunssfdi.c: Likewise.
660 * soft-fp/fixunssfsi.c: Likewise.
661 * soft-fp/fixunssfti.c: Likewise.
662 * soft-fp/fixunstfdi.c: Likewise.
663 * soft-fp/fixunstfsi.c: Likewise.
664 * soft-fp/fixunstfti.c: Likewise.
665 * soft-fp/floatdidf.c: Likewise.
666 * soft-fp/floatdisf.c: Likewise.
667 * soft-fp/floatditf.c: Likewise.
668 * soft-fp/floatsidf.c: Likewise.
669 * soft-fp/floatsisf.c: Likewise.
670 * soft-fp/floatsitf.c: Likewise.
671 * soft-fp/floattidf.c: Likewise.
672 * soft-fp/floattisf.c: Likewise.
673 * soft-fp/floattitf.c: Likewise.
674 * soft-fp/floatundidf.c: Likewise.
675 * soft-fp/floatundisf.c: Likewise.
676 * soft-fp/floatunditf.c: Likewise.
677 * soft-fp/floatunsidf.c: Likewise.
678 * soft-fp/floatunsisf.c: Likewise.
679 * soft-fp/floatunsitf.c: Likewise.
680 * soft-fp/floatuntidf.c: Likewise.
681 * soft-fp/floatuntisf.c: Likewise.
682 * soft-fp/floatuntitf.c: Likewise.
683 * soft-fp/gedf2.c: Likewise.
684 * soft-fp/gesf2.c: Likewise.
685 * soft-fp/getf2.c: Likewise.
686 * soft-fp/ledf2.c: Likewise.
687 * soft-fp/lesf2.c: Likewise.
688 * soft-fp/letf2.c: Likewise.
689 * soft-fp/muldf3.c: Likewise.
690 * soft-fp/mulsf3.c: Likewise.
691 * soft-fp/multf3.c: Likewise.
692 * soft-fp/negdf2.c: Likewise.
693 * soft-fp/negsf2.c: Likewise.
694 * soft-fp/negtf2.c: Likewise.
695 * soft-fp/op-1.h: Likewise.
696 * soft-fp/op-2.h: Likewise.
697 * soft-fp/op-4.h: Likewise.
698 * soft-fp/op-8.h: Likewise.
699 * soft-fp/op-common.h: Likewise.
700 * soft-fp/quad.h: Likewise.
701 * soft-fp/single.h: Likewise.
702 * soft-fp/soft-fp.h: Likewise.
703 * soft-fp/subdf3.c: Likewise.
704 * soft-fp/subsf3.c: Likewise.
705 * soft-fp/subtf3.c: Likewise.
706 * soft-fp/truncdfsf2.c: Likewise.
707 * soft-fp/trunctfdf2.c: Likewise.
708 * soft-fp/trunctfsf2.c: Likewise.
709 * soft-fp/trunctfxf2.c: Likewise.
710 * soft-fp/unorddf2.c: Likewise.
711 * soft-fp/unordsf2.c: Likewise.
712 * soft-fp/unordtf2.c: Likewise.
713
2e6fc1ac
GG
7142016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
715
716 PR gcov-profile/67097
717 * libgcov-util.c (gcov_profile_merge): Skip missing files.
718
a266236e
ML
7192016-08-10 Martin Liska <mliska@suse.cz>
720
721 PR gcov-profile/58306
722 * Makefile.in: New functions (modules) are added.
723 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
724 function.
725 (__gcov_pow2_profiler_atomic): New function.
726 (__gcov_one_value_profiler_body): New argument is instroduced.
727 (__gcov_one_value_profiler): Call with the new argument.
728 (__gcov_one_value_profiler_atomic): Likewise.
729 (__gcov_indirect_call_profiler_v2): Likewise.
730 (__gcov_time_profiler_atomic): New function.
731 (__gcov_average_profiler_atomic): Likewise.
732 (__gcov_ior_profiler_atomic): Likewise.
733 * libgcov.h: Declare the aforementioned functions.
734
e0c8eebf
ML
7352016-08-09 Martin Liska <mliska@suse.cz>
736
737 * libgcov-util.c: Fix typo and GNU coding style.
738
6dce6418
ML
7392016-08-09 Martin Liska <mliska@suse.cz>
740
741 * Makefile.in: Remove __gcov_indirect_call_profiler.
742 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
743 function.
744 * libgcov.h: And the declaration of the function.
745
dcb1e137
ML
7462016-08-09 Martin Liska <mliska@suse.cz>
747
748 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
749 power of two.
750
d6e69705
BS
7512016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
752
753 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
754 * config/rs6000/_mulkc3.c: Likewise.
755
96aa1f95
GJL
7562016-07-29 Georg-Johann Lay <avr@gjlay.de>
757
758 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
759 zero_reg as previous call to __umulhisi3 already cleared it.
760
a1b01d34
AJ
7612016-07-21 Aurelien Jarno <aurelien@aurel32.net>
762
763 PR target/59833
764 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
765
985a47b2
NC
7662016-07-19 Nick Clifton <nickc@redhat.com>
767
768 * config.host (m32r): Add m32r/t-m32r to tmake_file.
769 Add crtinit.o and crtfini.o to extra_parts.
770
f906f5ed
BS
7712016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
772
773 * config/rs6000/_divkc3.c: New.
774 * config/rs6000/_mulkc3.c: New.
775 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
776 and _divkc3.
777 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
778 fp128_ppc_funcs.
779
82742404
HW
7802016-07-11 Hale Wang <hale.wang@arm.com>
781 Andre Vieira <andre.simoesdiasvieira@arm.com>
782
783 * config/arm/lib1funcs.S: Add new wrapper.
784
05a437c1
TP
7852016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
786
787 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
788
3d16d9ec
TP
7892016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
790
791 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
792 and ARMv5t* rather than for a fixed list of architectures.
793
6f493951
TP
7942016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
795
796 * config/arm/bpabi-v6m.S: Clarify what architectures is the
797 implementation suitable for.
798 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
799 for all Thumb-1 only targets.
800 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
801 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
802 __ARM_ARCH_6M__.
803 (EQUIV): Likewise.
804 (ARM_FUNC_ALIAS): Likewise.
805 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
806 version.
807 (modsi3): Likewise.
808 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
809 (clzdi2): Likewise.
810 (ctzsi2): Likewise.
811 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
812 __ARM_ARCH_6M__ in guard for checking whether it is defined.
813 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
814 __ARM_ARCH_6M__ and add comment to indicate the connection between
815 this condition and the one in gcc/config/arm/elf.h.
816 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
817 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
818 * config/arm/t-softfp: Likewise.
819
1770511a
TS
8202016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
821
822 * libgcc2.c (SYMBOL__MAIN): Remove checks for
823 CTOR_LISTS_DEFINED_EXTERNALLY.
824
ba6be749
WL
8252016-06-28 Walter Lee <walt@tilera.com>
826
827 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
828 asm/unistd.h.
829 (SPR_CMPEXCH_VALUE): Define for tilegx.
830 (__NR_FAST_cmpxchg): Define for tilepro.
831 (__NR_FAST_atomic_update): Define for tilepro.
832 (__NR_FAST_cmpxchg64): Define for tilepro.
833
a34c0db5
JS
8342016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
835
18362447 836 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 837
0609abda
TS
8382016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
839
840 * config.host: Remove support for mep-*.
841 * config/mep/lib1funcs.S: Remove.
842 * config/mep/lib2funcs.c: Remove.
843 * config/mep/t-mep: Remove.
844 * config/mep/tramp.c: Remove.
845
3e326935
TS
8462016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
847
848 * config.host: Remove support for avr-rtems.
849 * config/avr/t-rtems: Remove.
850
914b155c
TS
8512016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
852
853 * config.host: Remove m32r-rtems support.
854
5ebf89bd
TS
8552016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
856
857 * config.host: Remove h8300-rtems support.
858
8466af06
TS
8592016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
860
861 * config.host: Remove support for knetbsd.
862
d980e738
TS
8632016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
864
865 * config.host: Remove support for openbsd 2 and 3.
866
ee2499b4
TS
8672016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
868
869 * config.host: Remove interix support.
870 * config/i386/t-interix: Remove.
871
9f92937b
JDA
8722016-06-18 John David Anglin <danglin@gcc.gnu.org>
873
874 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
875 least-significant bit in function pointer for fixup.
876
0a0ec53d
AC
8772016-06-05 Aaron Conole <aconole@redhat.com>
878 Nathan Sidwell <nathan@acm.org>
879
880 PR libgcc/71400
881 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
882 (get_gcov_error_file): Check __gcov_error_file before trying to
883 initialize it.
884 (gcov_error): Always use get_gcov_error_file.
885
8aa5bdd6
AC
8862016-06-02 Aaron Conole <aconole@redhat.com>
887
888 * libgcov-driver-system.c (__gcov_error_file): New.
889 (get_gcov_error_file): New.
890 (gcov_error): Use and set __gcov_error_file.
891 (gcov_error_exit): New.
892 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
893
40774faf
NS
8942016-05-26 Nathan Sidwell <nathan@acm.org>
895
896 * config/nvptx/free.asm: Delete.
897 * config/nvptx/malloc.asm: Delete.
898 * config/nvptx/realloc.c: Delete.
899 * t-nvptx: Update.
900
69a6d5ad
NS
9012016-05-25 Nathan Sidwell <nathan@acm.org>
902
903 * config/nvptx/crt0.s: Delete.
904 * config/nvptx/crt0.c: New.
905 * t-nvptx: Update.
906
6befaff6
SL
9072016-05-19 Sandra Loosemore <sandra@codesourcery.com>
908
385c7747 909 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
910 dw2/seh configuration.
911 [x86_64-*-mingw*]: Likewise.
912
ad251dfd
JS
9132016-05-10 Joel Sherrill <joel@rtems.org>
914
915 PR libgcc/70720
916 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
917 targets so the same extra_parts are built. Also have tmake_file add
918 on to its value rather than override.
919
bc6d9014
OE
9202016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
921
922 * config.host: Remove SH5 support.
923 * configure: Likewise.
924
9129c8cf
OE
9252016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
926
927 * config/sh/crt1.S: Remove SH5 support.
928 * config/sh/crti.S: Likewise.
929 * config/sh/crtn.S: Likewise.
930 * config/sh/lib1funcs-4-300.S: Likewise.
931 * config/sh/lib1funcs-Os-4-200.S: Likewise.
932 * config/sh/lib1funcs.S: Likewise.
933 * config/sh/linux-unwind.h: Likewise.
934 * config/sh/t-sh64: Delete.
935
39d50464
CZ
9362016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
937
938 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
939
8b48923b
CZ
9402016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
941 Joern Rennecke <joern.rennecke@embecosm.com>
942
943 * config/arc/crttls.S: New file.
944 * config/arc/t-arc: New rule.
945 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
946
2de1cf8c
NC
9472016-04-25 Nick Clifton <nickc@redhat.com>
948
949 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
950 (__mspabi_cmpd): Likewise.
951 * config/msp430/floathidf.c (__floathidf): Likewise.
952 * config/msp430/floathisf.c (__floathisf): Likewise
953 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
954 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
955 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
956 second parameter.
957 (__ashrsi3): Likewise.
958
b8ce3fe2
WB
9592016-04-21 Waldemar Brodkorb <wbx@openadk.org>
960
961 * config/m68k/linux-atomic.c: Do not include unistd.h
962
4986f823
MG
9632016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
964
965 * config/arm/ieee754-df.S: Fix typos in comments.
966
35fbda43
MM
9672016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
968
969 PR target/70381
970 * configure.ac (powerpc*-*-linux*): Rework tests to build
971 __float128 emulation routines to not depend on using #pragma GCC
972 target to enable -mfloat128.
973 * configure: Regnerate.
974
72d1a48d
EB
9752016-04-04 Eric Botcazou <ebotcazou@adacore.com>
976
977 PR target/67172
978 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
979 __MINGW32__ is defined.
980
dc2e8995
JB
9812016-03-28 James Bowman <james.bowman@ftdichip.com>
982
385c7747 983 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 984
104cdaf1
MM
9852016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
986
987 PR libgcc/70363
988 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
989 built with an assembler that does not support ISA 3.0
990 instructions, rename __extendkftf2_sw to __extendkftf2.
991
a5046f48
RO
9922016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
993
994 PR target/38239
995 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
996 call-clobbered registers.
997 (internal_mcount): Remove __i386__ handling.
998
df674f74
JS
9992016-02-26 Joel Sherrill <joel@rtems.org>
1000
1001 * config.host: Add x86_64-*-rtems*.
1002
7cb065d6
JS
10032016-02-26 Joel Sherrill <joel@rtems.org>
1004
1005 * libgcc/config.host: Add aarch64-*-rtems*.
1006
47dfdc53
PM
10072016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1008 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1009
1010 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1011 union of u64 and double.
1012 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1013 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1014 value.
1015 (FP_ROUNDMODE): Update the usage of _fpscr.
1016
e6861a99
IV
10172016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1018
1019 PR driver/68463
1020 * Makefile.in (crtoffloadtable$(objext)): New rule.
1021 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1022 enable_offload_targets is not empty.
1023 * configure: Regenerate.
1024 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1025 crtoffloadtable.
1026
9bfcbdee
MF
10272016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1028
1029 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1030 .literal_position before the function.
1031 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1032 Likewise.
1033
4cb4721f
MK
10342016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1035
1036 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1037 * config/s390/morestack.S: New file.
1038 * config/s390/t-stack-s390: New file.
1039 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1040
b29d9a29
WL
10412016-02-12 Walter Lee <walt@tilera.com>
1042
1043 * config.host (tilegx*-*-linux*): remove ti from
1044 softfp_int_modes for 32-bit configs.
1045
03a0ae7d
ILT
10462016-02-10 Ian Lance Taylor <iant@google.com>
1047
1048 PR go/68562
1049 * config/i386/morestack.S (__stack_split_initialize): Align
1050 stack.
1051
68750bce
AT
10522016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1053
1054 PR bootstrap/69611
1055 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1056 __FLOAT128__ to compile only for __float128 capable targets.
1057
7d296953
JJ
10582016-01-25 Jakub Jelinek <jakub@redhat.com>
1059
1060 PR target/69444
1061 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1062 instead of ___NO_FPRS__.
1063
a71c0334 10642016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
1065 Steven Munroe <munroesj@linux.vnet.ibm.com>
1066 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
1067
1068 * config/rs6000/float128-sed: New files to convert TF names to KF
1069 names for PowerPC IEEE 128-bit floating point support.
1070 * config/rs6000/float128-sed-hw: Likewise.
1071
1072 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1073 floating point hardware support.
1074
1075 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1076 128-bit floating point software emulation or use ISA 3.0 hardware
1077 support if it is available.
1078
1079 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1080 floating point.
1081
1082 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1083 floating point to IBM extended double.
1084
1085 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1086 double to IEEE 128-bit floating point.
1087
1088 * config/rs6000/t-float128: New Makefile fragments to enable
1089 building __float128 emulation support.
1090 * config/rs6000/t-float128-hw: Likewise.
1091
1092 * config/rs6000/sfp-exceptions.c: New file to provide exception
1093 support for IEEE 128-bit floating point.
1094
1095 * config/rs6000/floattikf.c: New files for converting between IEEE
1096 128-bit floating point and signed/unsigned 128-bit integers.
1097 * config/rs6000/fixunskfti.c: Likewise.
1098 * config/rs6000/fixkfti.c: Likewise.
1099 * config/rs6000/floatuntikf.c: Likewise.
1100
1101 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1102 when building on 64-bit systems, or when VSX is enabled.
1103 (_FP_W_TYPE): Likewise.
1104 (_FP_WS_TYPE): Likewise.
1105 (_FP_I_TYPE): Likewise.
1106 (TItype): Define on 64-bit systems.
1107 (UTItype): Likewise.
1108 (TI_BITS): Likewise.
1109 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1110 (_FP_MUL_MEAT_Q): Likewise.
1111 (_FP_DIV_MEAT_D): Likewise.
1112 (_FP_DIV_MEAT_Q): Likewise.
1113 (_FP_NANFRAC_D): Likewise.
1114 (_FP_NANFRAC_Q): Likewise.
1115 (ISA_BIT): Add exception support if we are being compiled on a
1116 machine with hardware floating point support to build the IEEE
1117 128-bit emulation functions.
1118 (FP_EX_INVALID): Likewise.
1119 (FP_EX_OVERFLOW): Likewise.
1120 (FP_EX_UNDERFLOW): Likewise.
1121 (FP_EX_DIVZERO): Likewise.
1122 (FP_EX_INEXACT): Likewise.
1123 (FP_EX_ALL): Likewise.
1124 (__sfp_handle_exceptions): Likewise.
1125 (FP_HANDLE_EXCEPTIONS): Likewise.
1126 (FP_RND_NEAREST): Likewise.
1127 (FP_RND_ZERO): Likewise.
1128 (FP_RND_PINF): Likewise.
1129 (FP_RND_MINF): Likewise.
1130 (FP_RND_MASK): Likewise.
1131 (_FP_DECL_EX): Likewise.
1132 (FP_INIT_ROUNDMODE): Likewise.
1133 (FP_ROUNDMODE): Likewise.
1134
1135 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1136 VSX code, enable IEEE 128-bit floating point. If the compiler can
1137 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1138 floating point hardware instructions and it supports declaring
1139 functions with the ifunc attribute, enable ifunc functions to
1140 switch between software and hardware support.
1141 * configure.ac (powerpc*-*-linux*): Likewise.
1142 * configure: Regenerate.
1143
bdc27e50
NC
11442016-01-15 Nick Clifton <nickc@redhat.com>
1145
1146 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1147 dependency as the source file to be compiled.
1148 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1149 (lib2hw_mul_f5.o): Likewise.
1150
006df05d
MM
11512016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1152
1153 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1154 * libgcc/config/rs6000/fixkfti.c: Likewise.
1155 * libgcc/config/rs6000/fixunskfti.c: Likewise.
1156 * libgcc/config/rs6000/float128-hw.c: Likewise.
1157 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1158 * libgcc/config/rs6000/float128-sed: Likewise.
1159 * libgcc/config/rs6000/floattikf.c: Likewise.
1160 * libgcc/config/rs6000/floatuntikf.c: Likewise.
1161 * libgcc/config/rs6000/quad-float128.h: Likewise.
1162 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1163 * libgcc/config/rs6000/sfp-machine.h: Likewise.
1164 * libgcc/config/rs6000/t-float128: Likewise.
1165 * libgcc/config/rs6000/t-float128-hw: Likewise.
1166 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1167 * libgcc/config.host: Likewise.
1168 * libgcc/configure: Likewise.
1169 * libgcc/configure.ac: Likewise.
1170
29176d57 11712016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
1172 Steven Munroe <munroesj@linux.vnet.ibm.com>
1173 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
1174
1175 * config/rs6000/sfp-exceptions.c: New file to provide exception
1176 support for IEEE 128-bit floating point.
1177
1178 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1179 floating point hardware support.
1180
1181 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1182 point conversions.
1183 * config/rs6000/fixunskfti.c: Likewise.
1184 * config/rs6000/fixkfti.c: Likewise.
1185 * config/rs6000/floatuntikf.c: Likewise.
1186 * config/rs6000/extendkftf2-sw.c: Likewise.
1187 * config/rs6000/trunctfkf2-sw.c: Likewise.
1188
1189 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1190 128-bit floating point software emulation or use ISA 3.0 hardware
1191 support if it is available.
1192
1193 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1194 floating point.
1195
1196 * config/rs6000/t-float128: New Makefile fragments to enable
1197 building __float128 emulation support.
1198 * config/rs6000/t-float128-hw: Likewise.
1199
1200 * config/rs6000/float128-sed: New file to convert TF names to KF
1201 names for PowerPC IEEE 128-bit floating point support.
1202
1203 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1204 when building on 64-bit systems, or when VSX is enabled.
1205 (_FP_W_TYPE): Likewise.
1206 (_FP_WS_TYPE): Likewise.
1207 (_FP_I_TYPE): Likewise.
1208 (TItype): Define on 64-bit systems.
1209 (UTItype): Likewise.
1210 (TI_BITS): Likewise.
1211 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1212 (_FP_MUL_MEAT_Q): Likewise.
1213 (_FP_DIV_MEAT_D): Likewise.
1214 (_FP_DIV_MEAT_Q): Likewise.
1215 (_FP_NANFRAC_D): Likewise.
1216 (_FP_NANFRAC_Q): Likewise.
1217 (ISA_BIT): Add exception support if we are being compiled on a
1218 machine with hardware floating point support to build the IEEE
1219 128-bit emulation functions.
1220 (FP_EX_INVALID): Likewise.
1221 (FP_EX_OVERFLOW): Likewise.
1222 (FP_EX_UNDERFLOW): Likewise.
1223 (FP_EX_DIVZERO): Likewise.
1224 (FP_EX_INEXACT): Likewise.
1225 (FP_EX_ALL): Likewise.
1226 (__sfp_handle_exceptions): Likewise.
1227 (FP_HANDLE_EXCEPTIONS): Likewise.
1228 (FP_RND_NEAREST): Likewise.
1229 (FP_RND_ZERO): Likewise.
1230 (FP_RND_PINF): Likewise.
1231 (FP_RND_MINF): Likewise.
1232 (FP_RND_MASK): Likewise.
1233 (_FP_DECL_EX): Likewise.
1234 (FP_INIT_ROUNDMODE): Likewise.
1235 (FP_ROUNDMODE): Likewise.
1236
1237 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1238 compiler can do __float128.
1239 * configure: Regenerate.
1240
1241 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1242 VSX code, enable IEEE 128-bit floating point.
1243
a2218983
OH
12442016-01-05 Olivier Hainque <hainque@adacore.com>
1245
1246 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 1247 specificities.
a2218983 1248
818ab71a
JJ
12492016-01-04 Jakub Jelinek <jakub@redhat.com>
1250
1251 Update copyright years.
1252
5a6c8ffa
AP
12532015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
1254
1255 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 1256 soft-fp targets.
5a6c8ffa 1257
077067a5
BE
12582015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1259
1260 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1261 instead of abort to avoid dependency on stdlib.h.
1262
787c1027
JDA
12632015-12-09 John David Anglin <danglin@gcc.gnu.org>
1264
1265 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1266 to initialize call to __dl_fixup once.
1267
04a9ae28
NC
12682015-12-04 Nick Clifton <nickc@redhat.com>
1269
1270 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1271 Allow for the second argument being negative.
1272 * config.host (extra_parts): Define for MSP430. Create separate
1273 libraries for each of the hardware multiply formats.
1274 * config/msp430/lib2hw_mul.S: Build only the multiply routines
1275 that are needed.
1276 * config/msp430/lib2mul.c: Likewise.
1277 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1278 Add rules to build hardware multiply libraries.
1279 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1280 __mspabi_divul function.
1281 (__mspabi_divllu): New stub function.
1282
9a32d437
JDA
12832015-12-01 John David Anglin <danglin@gcc.gnu.org>
1284
1285 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1286 fixup values if saved GOT address doesn't match runtime address.
1287 (fixup_branch_offset): Reorder list.
1288
e5ef217c
RO
12892015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1290
1291 * Makefile.in (VTV_CFLAGS): New variable.
1292 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1293 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1294 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1295 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1296 to extra_parts if $enable_vtable_verify = yes.
1297
78cc43a2
SN
12982015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
1299
1300 PR target/68059
1301 * config/arm/linux-atomic-64bit.c (__write): Rename to...
1302 (write): ...this and fix the return type.
1303
9afebea2
DD
13042015-11-19 DJ Delorie <dj@redhat.com>
1305
1306 * config/msp430/lib2hw_mul.S: Fix alignment.
1307
33f47f42
NS
13082015-11-18 Nathan Sidwell <nathan@codesourcery.com>
1309
1310 * config/nvptx/reduction.c: New.
1311 * config/nvptx/t-nvptx (LIB2ADD): Add it.
1312
d9adb476
DE
13132015-11-15 David Edelsohn <dje.gcc@gmail.com>
1314
1315 * config/rs6000/on_exit.c: New file.
1316 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1317 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1318
c0ab1970
CZ
13192015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
1320
1321 * config/arc/dp-hack.h: Add support for ARCHS.
1322 * config/arc/ieee-754/divdf3.S: Likewise.
1323 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1324 * config/arc/ieee-754/muldf3.S: Likewise.
1325 * config/arc/ieee-754/mulsf3.S: Likewise
1326 * config/arc/lib1funcs.S: Likewise
1327 * config/arc/gmon/dcache_linesz.S: Don't read the build register
1328 for ARCv2 cores.
1329 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1330 for ARCv2 cores.
1331 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1332 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1333 cores.
1334
e6b6bf09
RO
13352015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1336
1337 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1338 value.
1339 * config/ia64/crtend.S: Likewise.
1340
a153644f
TS
13412015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1342
1343 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1344 __CHAR_BIT__ instead of BITS_PER_UNIT.
1345 * fixed-bit.h: Likewise.
1346 * fp-bit.h: Likewise.
1347 * libgcc2.c (__popcountSI2): Likewise.
1348 (__popcountDI2): Likewise.
1349 * libgcc2.h: Likewise.
1350 * libgcov.h: Likewise.
1351
3dee689d
DE
13522015-11-07 David Edelsohn <dje.gcc@gmail.com>
1353
1354 * config/rs6000/atexit.c: New file.
1355 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1356 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1357 * config/rs6000/cxa_finalize.c
1358 (catomic_compare_and_exchange_bool_acq): Negate return value.
1359
2ef543e4
VK
13602015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1361
1362 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1363 (processor_subtypes): Add znver1.
1364 (get_amd_cpu): Detect znver1.
1365
1300f017
CL
13662015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1367
1368 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1369 Include crtfastmath.o.
1370
3e5bb7ee
JR
13712015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
1372
1373 PR libgcc/66883
1374 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 1375
793aa938
KP
13762015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
1377
1378 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1379 * config/rl78/divmodsi.S: Update return register to r8.
1380 * config/rl78/divmodhi.S: Update return register to r8,r9.
1381 Branch to main_loop_done_himode to pop registers before return.
1382
7d296953 13832015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
1384
1385 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1386 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1387
6a192b5a
KY
13882015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
1389
1390 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1391
4a0a9457
MF
13922015-10-03 Max Filippov <jcmvbkbc@gmail.com>
1393
1394 * config.host (xtensa*-*-uclinux*): New configuration.
1395
ab91c076
KY
13962015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
1397
385c7747 1398 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
1399 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1400
30954527
JM
14012015-09-28 Joseph Myers <joseph@codesourcery.com>
1402
1403 * soft-fp/adddf3.c: Update from glibc.
1404 * soft-fp/addsf3.c: Likewise.
1405 * soft-fp/addtf3.c: Likewise.
1406 * soft-fp/divdf3.c: Likewise.
1407 * soft-fp/divsf3.c: Likewise.
1408 * soft-fp/divtf3.c: Likewise.
1409 * soft-fp/double.h: Likewise.
1410 * soft-fp/eqdf2.c: Likewise.
1411 * soft-fp/eqsf2.c: Likewise.
1412 * soft-fp/eqtf2.c: Likewise.
1413 * soft-fp/extenddftf2.c: Likewise.
1414 * soft-fp/extended.h: Likewise.
1415 * soft-fp/extendsfdf2.c: Likewise.
1416 * soft-fp/extendsftf2.c: Likewise.
1417 * soft-fp/extendxftf2.c: Likewise.
1418 * soft-fp/fixdfdi.c: Likewise.
1419 * soft-fp/fixdfsi.c: Likewise.
1420 * soft-fp/fixdfti.c: Likewise.
1421 * soft-fp/fixsfdi.c: Likewise.
1422 * soft-fp/fixsfsi.c: Likewise.
1423 * soft-fp/fixsfti.c: Likewise.
1424 * soft-fp/fixtfdi.c: Likewise.
1425 * soft-fp/fixtfsi.c: Likewise.
1426 * soft-fp/fixtfti.c: Likewise.
1427 * soft-fp/fixunsdfdi.c: Likewise.
1428 * soft-fp/fixunsdfsi.c: Likewise.
1429 * soft-fp/fixunsdfti.c: Likewise.
1430 * soft-fp/fixunssfdi.c: Likewise.
1431 * soft-fp/fixunssfsi.c: Likewise.
1432 * soft-fp/fixunssfti.c: Likewise.
1433 * soft-fp/fixunstfdi.c: Likewise.
1434 * soft-fp/fixunstfsi.c: Likewise.
1435 * soft-fp/fixunstfti.c: Likewise.
1436 * soft-fp/floatdidf.c: Likewise.
1437 * soft-fp/floatdisf.c: Likewise.
1438 * soft-fp/floatditf.c: Likewise.
1439 * soft-fp/floatsidf.c: Likewise.
1440 * soft-fp/floatsisf.c: Likewise.
1441 * soft-fp/floatsitf.c: Likewise.
1442 * soft-fp/floattidf.c: Likewise.
1443 * soft-fp/floattisf.c: Likewise.
1444 * soft-fp/floattitf.c: Likewise.
1445 * soft-fp/floatundidf.c: Likewise.
1446 * soft-fp/floatundisf.c: Likewise.
1447 * soft-fp/floatunditf.c: Likewise.
1448 * soft-fp/floatunsidf.c: Likewise.
1449 * soft-fp/floatunsisf.c: Likewise.
1450 * soft-fp/floatunsitf.c: Likewise.
1451 * soft-fp/floatuntidf.c: Likewise.
1452 * soft-fp/floatuntisf.c: Likewise.
1453 * soft-fp/floatuntitf.c: Likewise.
1454 * soft-fp/gedf2.c: Likewise.
1455 * soft-fp/gesf2.c: Likewise.
1456 * soft-fp/getf2.c: Likewise.
1457 * soft-fp/ledf2.c: Likewise.
1458 * soft-fp/lesf2.c: Likewise.
1459 * soft-fp/letf2.c: Likewise.
1460 * soft-fp/muldf3.c: Likewise.
1461 * soft-fp/mulsf3.c: Likewise.
1462 * soft-fp/multf3.c: Likewise.
1463 * soft-fp/negdf2.c: Likewise.
1464 * soft-fp/negsf2.c: Likewise.
1465 * soft-fp/negtf2.c: Likewise.
1466 * soft-fp/op-1.h: Likewise.
1467 * soft-fp/op-2.h: Likewise.
1468 * soft-fp/op-4.h: Likewise.
1469 * soft-fp/op-8.h: Likewise.
1470 * soft-fp/op-common.h: Likewise.
1471 * soft-fp/quad.h: Likewise.
1472 * soft-fp/single.h: Likewise.
1473 * soft-fp/soft-fp.h: Likewise.
1474 * soft-fp/subdf3.c: Likewise.
1475 * soft-fp/subsf3.c: Likewise.
1476 * soft-fp/subtf3.c: Likewise.
1477 * soft-fp/truncdfsf2.c: Likewise.
1478 * soft-fp/trunctfdf2.c: Likewise.
1479 * soft-fp/trunctfsf2.c: Likewise.
1480 * soft-fp/trunctfxf2.c: Likewise.
1481 * soft-fp/unorddf2.c: Likewise.
1482 * soft-fp/unordsf2.c: Likewise.
1483 * soft-fp/unordtf2.c: Likewise.
1484
4dfe21ac
RE
14852015-09-24 Richard Earnshaw <rearnsha@arm.com>
1486
1487 PR libgcc/67624
1488 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1489
df2a1cc4
RO
14902015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1491
1492 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1493 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1494 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1495 messages.
1496 (internal_mcount): Likewise.
1497 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1498 crt_compile, add CRTSTUFF_T_CFLAGS_S.
1499
2d110442
RO
15002015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1501
1502 * configure.ac (libgcc_cv_solaris_crts): New test.
1503 * configure: Regenerate.
1504 * config.in: Regenerate.
1505 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1506 * config/gmon-sol2.c: Rename to ...
1507 * config/sol2/gmon.c: ... this.
1508 Include auto-target.h.
1509 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1510 * config/t-sol2: Rename to ...
1511 * config/sol2/t-sol2: ... this.
1512 (gmon.o): Reflect renaming.
1513 (crtp.o, crtpg.o): New rules.
1514 * config.host (*-*-solaris2*): Reflect renaming.
1515 Use system CRTs if present.
1516 Remove default CRT case.
1517
d572e439
JDA
15182015-09-23 John David Anglin <danglin@gcc.gnu.org>
1519
1520 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1521 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1522 __kernel_cmpxchg2.
1523 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1524 (__sync_val_compare_and_swap_##WIDTH): Likewise.
1525 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1526 (__sync_lock_test_and_set_##WIDTH): Likewise.
1527 (__sync_lock_release_##WIDTH): Likewise.
1528 (__sync_fetch_and_##OP##_4): Change result to match type of
1529 __kernel_cmpxchg.
1530 (__sync_##OP##_and_fetch_4): Likewise.
1531 (__sync_val_compare_and_swap_4): Likewise.
1532 (__sync_bool_compare_and_swap_4): likewise.
1533 (__sync_lock_test_and_set_4): Likewise.
1534 (__sync_lock_release_4): Likewise.
1535 (FETCH_AND_OP_2): Add long long variants.
1536 (OP_AND_FETCH_2): Likewise.
1537 (COMPARE_AND_SWAP_2 ): Likewise.
1538 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1539 (SYNC_LOCK_RELEASE_2): Likewise.
1540 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1541
7d296953 15422015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
1543
1544 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1545 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1546 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1547 (get_available_features): Habdle new features.
1548
131314e1
JB
15492015-09-21 James Bowman <james.bowman@ftdichip.com>
1550
1551 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1552 memory layout. Deal correctly with BSS region larger than 32K.
1553 Handle a watchdog reset like a power-on reset. Clean up unused
1554 code.
1555
04218b35
AD
15562015-09-18 Andrew Dixie <andrewd@gentrack.com>
1557 David Edelsohn <dje.gcc@gmail.com>
1558
1559 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1560 * config/rs6000/crtdbase.S: New file.
1561 * config/rs6000/t-aix-cxa: Build crtdbase.o.
1562
c8338173
MF
15632015-09-15 Max Filippov <jcmvbkbc@gmail.com>
1564
1565 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1566 Add support for call0 ABI.
1567
7a84bf71
JDA
15682015-09-13 John David Anglin <danglin@gcc.gnu.org>
1569
1570 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1571
4efab402
SH
15722015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
1573
1574 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1575 (__GTHREAD_HAS_COND): Likewise.
1576 (__gthread_t): Likewise.
1577 (__gthread_cond_t): Likewise.
1578 (__gthread_time_t): Likewise.
1579 (__GTHREAD_MUTEX_INIT): Likewise.
1580 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1581 (__GTHREAD_COND_INIT): Likewise.
1582 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1583 (__GTHREAD_TIME_INIT): Likewise.
1584 (__gthread_create): Likewise.
1585 (__gthread_join): Likewise.
1586 (__gthread_detach): Likewise.
1587 (__gthread_equal): Likewise.
1588 (__gthread_self): Likewise.
1589 (__gthread_yield): Likewise.
1590 (__gthread_cond_broadcast): Likewise.
1591 (__gthread_cond_signal): Likewise.
1592 (__gthread_cond_wait): Likewise.
1593 (__gthread_cond_timedwait): Likewise.
1594 (__gthread_cond_wait_recursive): Likewise.
1595 (__gthread_cond_destroy): Likewise.
1596 (rtems_gxx_once): Delete.
1597 (rtems_gxx_key_create): Likewise.
1598 (rtems_gxx_key_delete): Likewise.
1599 (rtems_gxx_getspecific): Likewise.
1600 (rtems_gxx_setspecific): Likewise.
1601 (rtems_gxx_mutex_init): Likewise.
1602 (rtems_gxx_mutex_destroy): Likewise.
1603 (rtems_gxx_mutex_lock): Likewise.
1604 (rtems_gxx_mutex_trylock): Likewise.
1605 (rtems_gxx_mutex_unlock): Likewise.
1606 (rtems_gxx_recursive_mutex_init): Likewise.
1607 (rtems_gxx_recursive_mutex_lock): Likewise.
1608 (rtems_gxx_recursive_mutex_trylock): Likewise.
1609 (rtems_gxx_recursive_mutex_unlock): Likewise.
1610 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1611 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1612 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1613 (__gthread_once): Likewise.
1614 (__gthread_key_create): Likewise.
1615 (__gthread_key_delete): Likewise.
1616 (__gthread_getspecific): Likewise.
1617 (__gthread_setspecific): Likewise.
1618 (__gthread_key_t): Use <pthread.h> type.
1619 (__gthread_once_t): Likewise
1620 (__gthread_mutex_t): Use <sys/lock.h> type.
1621 (__gthread_recursive_mutex_t): Likewise
1622 (__gthread_mutex_lock): Use <sys/lock.h> function.
1623 (__gthread_mutex_trylock): Likewise.
1624 (__gthread_mutex_timedlock): Likewise.
1625 (__gthread_mutex_unlock): Likewise.
1626 (__gthread_mutex_destroy): Likewise.
1627 (__gthread_recursive_mutex_lock): Likewise.
1628 (__gthread_recursive_mutex_trylock): Likewise.
1629 (__gthread_recursive_mutex_timedlock): Likewise.
1630 (__gthread_recursive_mutex_unlock): Likewise.
1631 (__gthread_recursive_mutex_destroy): Likewise.
1632
991995c4
MF
16332015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1634
1635 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1636 context->sp instead of context->cfa.
1637
0e19db59
MF
16382015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1639
1640 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1641 with unwind-dw2-fde-dip.
1642
b6ac5f62
MF
16432015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1644
1645 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1646 CALL12 followed by series of ENTRY to spill windowed registers.
1647 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1648 instead of making linux spill syscall.
1649
3e0f3349
YR
16502015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
1651
1652 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1653 (get_intel_cpu): Likewise.
1654
51c728b1
L
16552015-08-12 H.J. Lu <hongjiu.lu@intel.com>
1656
1657 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1658 (get_intel_cpu): Add Knights Landing support.
1659
aff4eeac
UB
16602015-08-11 Uros Bizjak <ubizjak@gmail.com>
1661
1662 PR target/66954
1663 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1664 (get_available_features): Handle FEATURE_PCLMUL.
1665
736e56da
L
16662015-08-10 H.J. Lu <hongjiu.lu@intel.com>
1667
1668 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1669 Broadwell.
1670
54d22142
UB
16712015-07-22 Uros Bizjak <ubizjak@gmail.com>
1672
1673 PR target/66954
1674 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1675 (get_available_features): Handle FEATURE_AES.
1676
20ca17e4
CLT
16772015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
1678
1679 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1680 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1681
ebe4a560
NS
16822015-07-17 Nathan Sidwell <nathan@codesourcery.com>
1683
1684 * offloadstuff.c: Constify host data.
1685
180744c0
JB
16862015-07-17 Jan Beulich <jbeulich@suse.com>
1687
1688 * config/t-softfp: Split up "else ifneq".
1689
a03c6ae3
SL
16902015-07-14 Sandra Loosemore <sandra@codesourcery.com>
1691 Cesar Philippidis <cesar@codesourcery.com>
1692 Chung-Lin Tang <cltang@codesourcery.com>
1693
1694 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1695 for __nios2_arch__ level.
1696
73358db5
JM
16972015-07-13 John Marino <gnugcc@marino.st>
1698
1699 * config/i386/t-dragonfly: New.
1700
f9a12f7b
JDA
17012015-07-01 John David Anglin <danglin@gcc.gnu.org>
1702
1703 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1704 better match light-weight syscall argument order.
1705 (__kernel_cmpxchg2): Likewise.
1706 Adjust callers.
1707
cb78b51c
L
17082015-06-30 H.J. Lu <hongjiu.lu@intel.com>
1709
1710 * config.host: Support i[34567]86-*-elfiamcu target.
1711 * config/t-softfp-sfdftf: New file.
1712 * config/i386/32/t-iamcu: Likewise.
1713 * configure: Regenerated.
1714
4fa0f9ea
JL
17152015-06-23 James Lemke <jwlemke@codesourcery.com>
1716
1717 libgcc/config/arm/
1718 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1719
428b3812
L
17202015-05-27 H.J. Lu <hongjiu.lu@intel.com>
1721
1722 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1723
7d296953 17242015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
1725
1726 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1727 md_unwind_header
1728 * config/i386/freebsd-unwind.h: New.
1729
9b789cc1
UB
17302015-05-22 Uros Bizjak <ubizjak@gmail.com>
1731
1732 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1733 i386/t-crtfm to tmake_file.
1734 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1735 (set_fast_math): Use set_fast_math_sse for SSE targets.
1736 * config/i386/t-crtfm: Remove.
1737
3dafb220
AM
17382015-05-21 Alan Modra <amodra@gmail.com>
1739
1740 PR libgcc/66225
1741 * config/rs6000/morestack.S: Remove ".abiversion 1".
1742
0f0fd745
AM
17432015-05-20 Alan Modra <amodra@gmail.com>
1744
1745 * config/rs6000/morestack.S: New.
1746 * config/rs6000/t-stack-rs6000: New.
1747 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1748 to tmake_file.
1749 * generic-morestack.c: Don't build for powerpc 32-bit.
1750
515ae71b
EB
17512015-05-19 Eric Botcazou <ebotcazou@adacore.com>
1752
1753 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1754 Remove useless endif/ifneq ($(enable_shared),yes) pair.
1755
36805406
JL
17562015-05-16 James Bowman <james.bowman@ftdichip.com>
1757
1758 * config.host: FT32 target added.
1759 * config/ft32/*: New files for FT32 target.
1760
ff935d0c
MG
17612015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
1762
385c7747
UB
1763 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1764 New macros.
1765 * config/arm/ieee754-df.S: Add CFI directives.
1766 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 1767
9b92a9f3
EB
17682015-05-13 Eric Botcazou <ebotcazou@adacore.com>
1769
1770 * configure.ac: Include config/sjlj.m4.
1771 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1772 * config.in: Regenerate.
1773 * configure: Likewise.
1774 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1775
98b5dc61
UB
17762015-05-12 Uros Bizjak <ubizjak@gmail.com>
1777
1778 * libgcov-util.c: Add space between string literal and macro name.
1779
5a0ff57c
SL
17802015-05-06 Sandra Loosemore <sandra@codesourcery.com>
1781 Chris Jones <chrisj@nvidia.com>
1782 Joshua Conner <jconner@nvidia.com>
1783
1784 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1785 (arm*-*-uclinux*): Likewise.
1786 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1787 * config/arm/crtfastmath.c: New file.
1788
d28ad5d4
BS
17892014-04-29 Bernd Schmidt <bernds@codesourcery.com>
1790
1791 * Makefile.in (real_host_noncanonical): New variable.
1792 (libsubdir): Use it.
1793 * configure.ac (real_host_noncanonical): Compute. Remove special
1794 case for intelmicemul.
1795 * configure: Regenerate.
1796
cc86234f
UB
17972015-04-28 Uros Bizjak <ubizjak@gmail.com>
1798
1799 * config/frv/elf-lib.h: New file.
1800 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1801 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1802 to tm_file.
1803
18042015-04-28 Uros Bizjak <ubizjak@gmail.com>
1805
1806 * config/frv/frvbengin.c: Do not include defaults.h
1807 * config/frv/frvend.c: Ditto.
1808
2f6bd6eb
YS
18092015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
1810
1811 * config.host: Add h8300-*-linux
1812 * config/h8300/t-linux: New file.
1813 * config/h8300/lib1funs.s: Change symbol prefix.
1814 * config/h8300/sfp-machine.h: 64bit double support.
1815
15aa7b44
GR
18162015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
1817 Szabolcs Nagy <szabolcs.nagy@arm.com>
1818
1819 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1820 Linux if target provides dl_iterate_phdr.
1821
abd0cdc9
L
18222015-04-17 H.J. Lu <hongjiu.lu@intel.com>
1823
1824 PR target/65612
1825 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1826 * config/i386/cpuinfo.c (__cpu_model): Initialize.
1827 (__cpu_indicator_init@GCC_4.8.0): New.
1828 (__cpu_model@GCC_4.8.0): Likewise.
1829 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1830 -DUSE_ELF_SYMVER.
1831
72ed1126
NC
18322015-04-16 Nick Clifton <nickc@redhat.com>
1833
1834 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1835 and __modhi3 functions.
1836 * config/rl78/divmodso.S: Add G14 and G13 versions of the
1837 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1838
d26b2237
CG
18392015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
1840
1841 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1842 do-while loop as macro body to avoid warnings.
1843
cacf1f59
JJ
18442015-04-10 Jakub Jelinek <jakub@redhat.com>
1845 Iain Sandoe <iain@codesourcery.com>
1846
1847 PR target/65351
1848 * configure: Regenerate.
1849
e8a4ed3b
JJ
18502015-04-07 Jakub Jelinek <jakub@redhat.com>
1851 Iain Sandoe <iain@codesourcery.com>
1852
1853 PR target/65351
1854 * configure: Regenerate.
1855
0341335e
CLT
18562015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
1857
1858 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1859
590e2636 18602015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 1861
590e2636
MF
1862 Implement call0 ABI for xtensa
1863 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1864 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1865 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1866 use ret in call0 ABI.
1867 * config/xtensa/t-windowed: New file.
1868 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1869 * libgcc/configure: Regenerated.
1870 * libgcc/configure.ac: Check if xtensa target is configured for
1871 windowed ABI and thus needs to use custom unwind code.
1872
7727f8f2
JW
18732015-02-12 Jonathan Wakely <jwakely@redhat.com>
1874
1875 PR libgcc/64885
1876 * gthr-single.h: Use __unused__ attribute instead of unused.
1877 * config/gthr-vxworks.h: Likewise.
1878 * config/i386/gthr-win32.h: Likewise.
1879
0e4a0def
KT
18802015-02-27 Kai Tietz <ktietz@redhat.com>
1881
1882 PR target/65038
1883 * config.in: Regenerated.
1884 * configure: Likewise.
1885 * configure.ac (AC_HEADER_STDC): Added explicit.
1886 (AC_CHECK_HEADERS): Check for default headers plus
1887 for ftw.h header.
1888 * libgcov-util.c (gcov_read_profile_dir): Disable use
1889 of ftw-function, if header is not found.
1890 (ftw_read_file): Likewise.
1891
b6530d0a
TS
18922015-02-23 Thomas Schwinge <thomas@codesourcery.com>
1893
1894 PR target/65181
1895 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1896 -Dinhibit_libc.
1897
53cfb467
SL
18982015-02-17 Sandra Loosemore <sandra@codesourcery.com>
1899
1900 * config/arm/bpabi.S (test_div_by_zero): Make label names
1901 consistent between thumb2 and arm mode cases. Separate the
1902 signed comparison on the high word of the numerator from the
1903 unsigned comparison on the low word.
1904 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1905 signed comparison.
1906
77d10a1b
JM
19072015-02-17 Joseph Myers <joseph@codesourcery.com>
1908
1909 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1910 and <string.h>.
1911 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1912
98174188
RE
19132015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
1914
1915 PR gcov-profile/61889
471274de 1916 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 1917
771bef14
NC
19182015-02-02 Nick Clifton <nickc@redhat.com>
1919
1920 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1921 rounding up the fraction.
1922
40702893
JDA
19232015-01-31 John David Anglin <danglin@gcc.gnu.org>
1924
1925 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1926 oldval and newval to const void *. Fix typo.
1927 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1928 (FETCH_AND_OP_WORD): Likewise.
1929 (OP_AND_FETCH_WORD): Likewise.
1930 (COMPARE_AND_SWAP_2): Likewise.
1931 (__sync_val_compare_and_swap_4): Likewise.
1932 (__sync_lock_test_and_set_4): Likewise.
1933 (SYNC_LOCK_RELEASE_2): Likewise.
1934 Remove support for long long atomic operations.
1935
f7f049fa
CT
19362015-01-27 Caroline Tice <cmtice@google.com>
1937
1938 Committing VTV Cywin/Ming patch for Patrick Wollgast
1939 * Makefile.in: Move rules to build vtv_*.o out of the check
1940 for CUSTOM_CRTSTUFF.
1941 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1942 i[34567]86-*-mingw*)
1943 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1944 enable_vtable_verify.
1945
8410904a
NC
19462015-01-27 Nick Clifton <nickc@redhat.com>
1947
1948 * config/rl78/cmpsi2.S: Use function start and end macros.
1949 (__gcc_bcmp): New function.
1950 * config/rl78/lshrsi3.S: Use function start and end macros.
1951 * config/rl78/mulsi3.S: Add support for G10.
1952 (__mulqi3): New function for G10.
1953 * config/rl78/signbit.S: Use function start and end macros.
1954 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1955 fpmath-sf.S.
1956 (LIB2FUNCS_EXCLUDE): Define.
1957 (LIB2FUNCS_ST): Define.
1958 * config/rl78/trampoline.S: Use function start and end macros.
1959 * config/rl78/vregs.h (START_FUNC): New macro.
1960 (START_ANOTHER_FUNC): New macro.
1961 (END_FUNC): New macro.
1962 (END_ANOTHER_FUNC): New macro.
1963 * config/rl78/bit-count.S: New file. Contains assembler
1964 implementations of the bit counting functions: ___clzhi2,
1965 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1966 __paritysi2, __popcounthi2 and __popcountsi2.
1967 * config/rl78/fpbit-sf.S: New file. Contains assembler
1968 implementationas of the math functions: __negsf2, __cmpsf2,
1969 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1970 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
1971 * config/rl78/fpmath-sf.S: New file. Contains assembler
1972 implementations of the math functions: __subsf3, __addsf3,
1973 __mulsf3 and __divsf3
1974
f962fbf1
RO
19752015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1976
1977 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1978 Add i386/elf-lib.h to tm_file.
1979 * config/i386/elf-lib.h: Fix comment.
1980 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1981 && __sun__ && __svr4__]: Remove workaround.
1982
939911c5
ASJ
19832015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
1984
1985 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1986 FEATURE_BMI2.
1987 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1988
c8f2dff2
L
19892015-01-24 H.J. Lu <hongjiu.lu@intel.com>
1990
1991 * config/i386/cpuinfo.c (processor_subtypes): Add
1992 INTEL_COREI7_BROADWELL.
1993 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1994 model numbers.
1995
7bbf9734
UB
19962015-01-23 Uros Bizjak <ubizjak@gmail.com>
1997
1998 * config/i386/elf-lib.h: New file.
1999 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2000 Wrap definition in #ifdef __i386__.
2001 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2002 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2003 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2004 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2005 to tm_file.
2006
324820f1
CG
20072015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2008
2009 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2010 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2011
a9ce4e4a
CLT
20122015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2013
2014 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2015 Update rt_sigframe format and address for current Nios II
2016 Linux conventions.
2017
82a19768
AT
20182015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2019
2020 * config.host (arm*-*-freebsd*): Add new configuration for
2021 arm*-*-freebsd*.
2022 * config/arm/freebsd-atomic.c: New file.
2023 * config/arm/t-freebsd: Likewise.
2024 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2025 'PC-relative indirect' OS's.
2026
0969ec7d
EB
20272015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2028
2029 * config.host: Add Visium support.
2030 * config/visium: New directory.
2031
5624e564
JJ
20322015-01-05 Jakub Jelinek <jakub@redhat.com>
2033
2034 Update copyright years.
2035
82f84ecb
MF
20362014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2037
2038 * config.host: Support mipsisa32r6 and mipsisa64r6.
2039 * config/mips/mips16.S: Do not build for R6.
2040
69044fa9
OE
20412014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2042
2043 * config/sh/crt.h: New.
2044 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2045 symbols.
2046 * config/sh/crt1.S: Likewise.
2047
2405e0ea
UB
20482014-12-15 Uros Bizjak <ubizjak@gmail.com>
2049
2050 PR libgcc/63832
2051 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2052 func_ptr *dtor_list temporary variable to avoid "array subscript
2053 is above array bounds" warnings.
2054
7d296953 20552014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
2056
2057 * Makefile.in (with_aix_soname): Define.
2058 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2059 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2060 * configure: Recreate.
2061
a66272f6
OH
20622014-12-05 Olivier Hainque <hainque@adacore.com>
2063
2064 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2065 now provided by defaults.h.
2066
6342b2c5
OE
20672014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2068
7d0ee249 2069 PR target/55351
6342b2c5
OE
2070 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2071 whether it's defined.
2072
c17eac85
IT
20732014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2074
2075 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2076 * config/i386/cpuinfo.c (get_available_features): Detect it.
2077
1025cb6c
TW
20782014-11-27 Tony Wang <tony.wang@arm.com>
2079
2080 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2081 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2082 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2083
d19f2e38
SB
20842014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2085
2086 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2087
17f6e9a3
JDA
20882014-11-24 John David Anglin <danglin@gcc.gnu.org>
2089
2090 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2091 instead.
2092
0cd7c672
GM
20932014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2094 John David Anglin <danglin@gcc.gnu.org>
2095
2096 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2097 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2098 (OP_AND_FETCH_2): Likewise.
2099 (COMPARE_AND_SWAP_2): Likewise.
2100 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2101 (SYNC_LOCK_RELEASE_2): Likewise.
2102 (SUBWORD_SYNC_OP): Remove.
2103 (SUBWORD_VAL_CAS): Likewise.
2104 (SUBWORD_BOOL_CAS): Likewise.
2105 (FETCH_AND_OP_WORD): Update.
2106 Consistently use signed types.
cc86234f 2107
85c64bbe
BS
21082014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2109 Thomas Schwinge <thomas@codesourcery.com>
2110 Ilya Verbin <ilya.verbin@intel.com>
2111 Andrey Turetskiy <andrey.turetskiy@intel.com>
2112
2113 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2114 (crtoffloadend$(objext)): Likewise.
2115 * configure: Regenerate.
2116 * configure.ac (accel_dir_suffix): Compute new variable.
2117 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2118 if enable_offload_targets is not empty.
2119 * offloadstuff.c: New file.
2120
52a1ff8b
NC
21212014-11-13 Nick Clifton <nickc@redhat.com>
2122
2123 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2124 Use START_FUNC and END_FUNC macros to enable linker garbage
2125 collection.
2126 * config/rl78/divmodqi.S: Likewise.
2127 * config/rl78/divmodsi.S: Likewise.
2128 * config/rl78/mulsi3.S: Likewise.
2129 * config/rl78/lib2div.c: Remove G10 functions.
2130 * config/rl78/lib2muls.c: Likewise.
2131 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2132 * config/rl78/vregs.h (START_FUNC): New macro.
2133 (END_FUNC): New macro.
2134
050af144
MF
21352014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2136
2137 * config/mips/mips16.S: Set .module when supported. Update O32
2138 FP64 calling convention and use for FPXX when possible. Add FPXX
2139 calling convention fallback case.
2140
738f2522
BS
21412014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2142
2143 * config.host: Handle nvptx-*-*.
2144 * shared-object.mk (as-flags-$o): Define.
2145 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2146 -xassembler-with-cpp.
2147 * static-object.mk: Identical changes.
2148 * config/nvptx/t-nvptx: New file.
2149 * config/nvptx/crt0.s: New file.
2150 * config/nvptx/free.asm: New file.
2151 * config/nvptx/malloc.asm: New file.
2152 * config/nvptx/realloc.c: New file.
2153
e610393c
JM
21542014-10-30 Joseph Myers <joseph@codesourcery.com>
2155
2156 * Makefile.in (libgcc.map.in): New target.
2157 (libgcc.map): Use libgcc.map.in.
2158 * config/t-softfp (softfp_compat): New variable to be set by
2159 users.
2160 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2161 variables.
2162 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2163 directory.
2164 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2165 that use compat symbols and disable all code unless [SHARED].
2166 * config/t-softfp-compat: New file.
2167 * find-symver.awk: New file.
2168 * configure.ac (--with-glibc-version): New configure option.
2169 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2170 * configure: Regenerate.
2171 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2172 soft-float and e500.
2173
bc1b3a88
JM
21742014-10-29 Joseph Myers <joseph@codesourcery.com>
2175
2176 * config/t-hardfp (hardfp_exclusions): Document new variable for
2177 user to define.
2178 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2179 * config/t-softfp (softfp_extras): Document new variable for user
2180 to define.
2181 (softfp_func_list): Add functions from $(softfp_extras).
2182 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2183 * config.host (powerpc*-*-linux*): For e500v1, use
2184 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2185 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2186 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2187
ef2810c1
JDA
21882014-10-26 John David Anglin <danglin@gcc.gnu.org>
2189
2190 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2191 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2192 memory read accesses are ok.
2193
d80c2bea
JM
21942014-10-25 Joseph Myers <joseph@codesourcery.com>
2195
2196 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2197 * configure: Regenerate.
2198 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2199 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
2200 of soft-fp for 32-bit classic hard float. Do not use
2201 t-softfp-excl for soft float.
2202
693b297b
JM
22032014-10-22 Joseph Myers <joseph@codesourcery.com>
2204
2205 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2206 configurations.
2207 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2208 Remove variables.
2209
18a3415e
GJL
22102014-10-22 Georg-Johann Lay <avr@gjlay.de>
2211
2212 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2213 introduced with 2014-10-21 trunk r216525.
2214
c1dd9790 22152014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
2216 Vidya Praveen <vidya.praveen@atmel.com>
2217 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
2218 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
2219 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
2220
2221 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2222 order.
2223
2224 Updated library functions for AVRTINY arch.
2225 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2226 Replaced occurrences of r0/r1 with tmp/zero reg macros.
2227 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2228 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2229 wsubi/wadi macors.
2230 (__mulsi3_helper): Update stack, preserve callee saved regs and
2231 argument from stack. Restore callee save registers.
2232 (__mulpsi3): Likewise.
2233 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2234 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 2235 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
2236 AVRTINY.
2237 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2238 (__do_copy_data): Added new definition for AVRTINY.
2239 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2240 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2241 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2242 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2243 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2244 macors.
18a3415e 2245 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
2246 AVRTINY.
2247
18a3415e 2248 Fix broken long multiplication on tiny arch.
c1dd9790 2249
5f606431
JM
22502014-10-09 Joseph Myers <joseph@codesourcery.com>
2251
2252 * soft-fp/double.h: Update from glibc.
2253 * soft-fp/eqdf2.c: Likewise.
2254 * soft-fp/eqsf2.c: Likewise.
2255 * soft-fp/eqtf2.c: Likewise.
2256 * soft-fp/extenddftf2.c: Likewise.
2257 * soft-fp/extended.h: Likewise.
2258 * soft-fp/extendsfdf2.c: Likewise.
2259 * soft-fp/extendsftf2.c: Likewise.
2260 * soft-fp/extendxftf2.c: Likewise.
2261 * soft-fp/gedf2.c: Likewise.
2262 * soft-fp/gesf2.c: Likewise.
2263 * soft-fp/getf2.c: Likewise.
2264 * soft-fp/ledf2.c: Likewise.
2265 * soft-fp/lesf2.c: Likewise.
2266 * soft-fp/letf2.c: Likewise.
2267 * soft-fp/op-1.h: Likewise.
2268 * soft-fp/op-2.h: Likewise.
2269 * soft-fp/op-4.h: Likewise.
2270 * soft-fp/op-8.h: Likewise.
2271 * soft-fp/op-common.h: Likewise.
2272 * soft-fp/quad.h: Likewise.
2273 * soft-fp/single.h: Likewise.
2274 * soft-fp/soft-fp.h: Likewise.
2275 * soft-fp/unorddf2.c: Likewise.
2276 * soft-fp/unordsf2.c: Likewise.
2277 * soft-fp/unordtf2.c: Likewise.
2278 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2279 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2280 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2281 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2282 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2283 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2284 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2285 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2286 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2287 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2288
9b84e7a8
RX
22892014-10-08 Rong Xu <xur@google.com>
2290
2291 * libgcov-util.c (read_gcda_file): Fix format.
2292 (find_match_gcov_info): Ditto.
2293 (calculate_2_entries): New.
2294 (compute_one_gcov): Ditto.
2295 (gcov_info_count_all_cold): Ditto.
2296 (gcov_info_count_all_zero): Ditto.
2297 (extract_file_basename): Ditto.
2298 (get_file_basename): Ditto.
2299 (set_flag): Ditto.
2300 (matched_gcov_info): Ditto.
2301 (calculate_overlap): Ditto.
2302 (gcov_profile_overlap): Ditto.
2303 * libgcov-driver.c (compute_summary): Make
2304 it avavilable for external calls.
2305
fe1090c1
RX
23062014-10-06 Rong Xu <xur@google.com>
2307
2308 * Makefile.in: Ditto.
2309 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2310 (gcov_sort_icall_topn_counter): Ditto.
2311 (gcov_sort_topn_counter_arrays): Ditto.
2312 (dump_one_gcov): Sort indirect_call topn counters.
2313 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2314 function.
2315 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2316 utility function.
2317 (__gcov_indirect_call_topn_profiler): New profiler function.
2318 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2319 * libgcov.h: New decls.
2320
3daa7bbf
TS
23212014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2322
2323 * config.host: Remove support for score-*.
2324
9a79452d
JM
23252014-09-22 Joseph Myers <joseph@codesourcery.com>
2326
2327 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2328 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2329 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2330 __LIBGCC_XF_MANT_DIG__.
2331 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2332 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2333 __LIBGCC_TF_MANT_DIG__.
2334 * libgcc2.c (NOTRUNC): Define in terms of
2335 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2336 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2337
1a849e50
JM
23382014-09-22 Joseph Myers <joseph@codesourcery.com>
2339
2340 PR target/63312
2341 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2342 New macros.
2343
598a1586
HPN
23442014-09-22 Hans-Peter Nilsson <hp@axis.com>
2345
2346 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2347 override USE_PT_GNU_EH_FRAME.
2348 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2349 check USE_EH_FRAME_REGISTRY_ALWAYS against
2350 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2351 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2352 variable for substituted force_explicit_eh_registry.
2353 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2354 * configure.ac (explicit-exception-frame-registration):
2355 New AC_ARG_ENABLE.
2356 * configure: Regenerate.
2357
3a8fe7c6
OH
23582014-09-19 Olivier Hainque <hainque@adacore.com>
2359
2360 * config.host (powerpc-wrs-vxworksmils): New configuration,
2361 same as vxworksae.
2362
dd69f047
JM
23632014-09-18 Joseph Myers <joseph@codesourcery.com>
2364
2365 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2366
e770bfd9
JM
23672014-09-18 Joseph Myers <joseph@codesourcery.com>
2368
2369 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2370 bits not set bits as indicating trapping exceptions.
2371
cadb2b96
NS
23722014-09-17 Nathan sidwell <nathan@acm.org>
2373
2374 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2375 (LIBGCOV_DRIVER): ... here.
2376 * libgcov-driver.c (gcov_master): New.
2377 (gcov_exit): Remove from master chain.
2378 (__gcov_init): Add to master chain if version compatible. Don't
2379 clear the version.
2380 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2381 (gcov_reset_int): Clear master chain, if compatible.
2382 (gcov_dump_int): New internal interface. Dump master chain, if
2383 compatible.
2384 (gcov_dump): Alias for gcov_dump_int.
2385 * libgcov.h (struct gcov_root): Add next and prev fields.
2386 (struct gcov_master): New struct.
2387 (__gcov_master): New.
2388 (gcov_dump_int): Declare.
2389
580d22a3
OH
23902014-09-17 Olivier Hainque <hainque@adacore.com>
2391
2392 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2393 and crtbegin.o + crtend.o to extra_parts.
2394
8cc4b7a2
JM
23952014-09-12 Joseph Myers <joseph@codesourcery.com>
2396
2397 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2398 __LIBGCC_HAS_SF_MODE__.
2399 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2400 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2401 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2402 * config/libbid/bid_gcc_intrinsics.h
2403 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2404 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2405 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2406 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2407 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2408 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2409
ea3f2b24
GJL
24102014-09-11 Georg-Johann Lay <avr@gjlay.de>
2411
2412 PR target/63223
2413 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2414 and R24 as needed. Make work for all devices and .text locations.
2415 (__do_global_ctors, __do_global_dtors): Use word addresses.
2416 (__tablejump__, __tablejump_elpm__): Remove functions.
2417 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2418 Add _tablejump2.
2419 (XICALL, XIJMP): New macros.
2420
b677236a
MS
24212014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
2422 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2423
2424 * config.host (aarch64*): Include crtfastmath.o and
2425 t-crtfm.
2426 * config/aarch64/crtfastmath.c: New file.
2427
157e859f
TS
24282014-09-08 Trevor Saunders <tsaunders@mozilla.com>
2429
2430 * config.host: Remove picochip support.
2431 * config/picochip/adddi3.S: Remove.
2432 * config/picochip/ashlsi3.S: Remove.
2433 * config/picochip/ashlsi3.c: Remove.
2434 * config/picochip/ashrsi3.S: Remove.
2435 * config/picochip/ashrsi3.c: Remove.
2436 * config/picochip/clzsi2.S: Remove.
2437 * config/picochip/cmpsi2.S: Remove.
2438 * config/picochip/divmod15.S: Remove.
2439 * config/picochip/divmodhi4.S: Remove.
2440 * config/picochip/divmodsi4.S: Remove.
2441 * config/picochip/lib1funcs.S: Remove.
2442 * config/picochip/longjmp.S: Remove.
2443 * config/picochip/lshrsi3.S: Remove.
2444 * config/picochip/lshrsi3.c: Remove.
2445 * config/picochip/parityhi2.S: Remove.
2446 * config/picochip/popcounthi2.S: Remove.
2447 * config/picochip/setjmp.S: Remove.
2448 * config/picochip/subdi3.S: Remove.
2449 * config/picochip/t-picochip: Remove.
2450 * config/picochip/ucmpsi2.S: Remove.
2451 * config/picochip/udivmodhi4.S: Remove.
2452 * config/picochip/udivmodsi4.S: Remove.
2453
66bb34c0
JM
24542014-09-08 Joseph Myers <joseph@codesourcery.com>
2455
2456 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2457 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2458 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2459 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2460 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
2461 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2462 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
2463 defined and LIBGCC2_HAS_DF_MODE is defined.
2464 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
2465 defined and LIBGCC2_HAS_XF_MODE is defined.
2466 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
2467 defined and LIBGCC2_HAS_TF_MODE is defined.
2468
9686a2e6
JM
24692014-09-08 Joseph Myers <joseph@codesourcery.com>
2470
2471 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2472 and ROUND_TOWARDS_ZERO conditionals.
2473
71c3e2ef
NS
24742014-09-07 Nathan sidwell <nathan@acm.org>
2475
2476 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2477 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
2478
53d68b9f
JM
24792014-09-05 Joseph Myers <joseph@codesourcery.com>
2480
2481 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2482 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2483 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2484 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2485 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2486 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2487 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2488 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2489 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2490 (DWARF_FRAME_REGISTERS): Change all uses to
2491 __LIBGCC_DWARF_FRAME_REGISTERS__.
2492 (EH_RETURN_STACKADJ_RTX): Change all uses to
2493 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2494 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2495 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
2496 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2497 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2498 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2499 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2500 to __LIBGCC_EH_FRAME_SECTION_NAME__.
2501 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2502 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2503 __LIBGCC_STACK_POINTER_REGNUM__.
2504 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2505 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2506 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2507 to __LIBGCC_STACK_POINTER_REGNUM__.
2508 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2509 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2510 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2511 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2512 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2513 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2514 (STACK_POINTER_REGNUM): Change all uses to
2515 __LIBGCC_STACK_POINTER_REGNUM__.
2516 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2517 use to __LIBGCC_STACK_POINTER_REGNUM__.
2518 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2519 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2520 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2521 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2522 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2523 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2524 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2525 to __LIBGCC_STACK_POINTER_REGNUM__.
2526 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2527 Remove conditional definition.
2528 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2529 __LIBGCC_TEXT_SECTION_ASM_OP__.
2530 (EH_FRAME_SECTION_NAME): Change all uses to
2531 __LIBGCC_EH_FRAME_SECTION_NAME__.
2532 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2533 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2534 (CTORS_SECTION_ASM_OP): Change all uses to
2535 __LIBGCC_CTORS_SECTION_ASM_OP__.
2536 (DTORS_SECTION_ASM_OP): Change all uses to
2537 __LIBGCC_DTORS_SECTION_ASM_OP__.
2538 (JCR_SECTION_NAME): Change all uses to
2539 __LIBGCC_JCR_SECTION_NAME__.
2540 (INIT_SECTION_ASM_OP): Change all uses to
2541 __LIBGCC_INIT_SECTION_ASM_OP__.
2542 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2543 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2544 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2545 __LIBGCC_STACK_GROWS_DOWNWARD__.
2546 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2547 __LIBGCC_INIT_SECTION_ASM_OP__.
2548 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2549 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2550 (EH_FRAME_SECTION_NAME): Change all uses to
2551 __LIBGCC_EH_FRAME_SECTION_NAME__.
2552 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2553 definitions. Change all uses to
2554 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2555 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2556 __LIBGCC_STACK_GROWS_DOWNWARD__.
2557 (DWARF_FRAME_REGISTERS): Change all uses to
2558 __LIBGCC_DWARF_FRAME_REGISTERS__.
2559 (EH_RETURN_STACKADJ_RTX): Change all uses to
2560 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2561 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2562 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2563 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2564 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2565 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2566
b20ee094
NS
25672014-09-02 Nathan sidwell <nathan@acm.org>
2568
2569 * libgcov-interface.c (STRONG_ALIAS): New.
2570 (__gcov_flush): Call __gcov_reset_int.
2571 (__gcov_reset): Strong alias for ...
2572 (__gcov_reset_ing): ... this renamed hidden version.
2573 * libgcov.h (__gcov_reset_int): New declaration.
2574
1ac83976
YS
25752014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2576
25efdb9f
YS
2577 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2578 call from here...
2579 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2580 (__dso_handle): Define on Cygwin.
2581 * config/i386/t-cygming (crtbeginS.o): New rule.
2582 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2583
1ac83976
YS
2584 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2585 declaration syntax.
2586
c6f9ea3b
SE
25872014-08-13 Steve Ellcey <sellcey@mips.com>
2588
2589 * crtstuff.c: Undef caddr_t.
2590
5b1ea7c5
SE
25912014-08-12 Steve Ellcey <sellcey@mips.com>
2592
2593 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
2594
4303c581
NS
25952014-08-07 Nathan Sidwell <nathan@acm.org>
2596
2597 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2598 (LIBGCOV_DRIVER): ... to here.
2599 * libgcov.h (gcov_do_dump): New #define.
2600 (struct gcov_root): New.
2601 (__gcov_root): New declaration.
2602 (__gcov_dump_one): Declare.
2603 * libgcov-driver.c (gcov_list, gcov_dump_complete,
2604 run_accounted): Delete.
2605 (gcov_compute_histogram): Add LIST argument, adjust.
2606 (compute_summary): Adjust gcov_compute_histogram call.
2607 (gcov_do_dump): Not hidden, static in libgcov.
2608 (gcov_clear): Move to interface.c.
2609 (__gcov_dump_one): New, broken out of ...
2610 (gcov_exit): ... here. Make static.
2611 (__gcov_root): New.
2612 (__gcov_init): Adjust.
2613 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2614 declarations.
2615 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2616 (gcov_clear): Moved from driver.c. Add LIST argument.
2617 (__gcov_reset): Adjust for changed interfaces.
2618 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2619
23742a9e
RAR
26202014-08-04 Rohit <rohitarulraj@freescale.com>
2621
2622 PR target/60102
2623 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 2624 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 2625
b98a872b
NS
26262014-08-01 Nathan Sidwell <nathan@acm.org>
2627
2628 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2629 LIBGCOV_INTERFACE): Reformat.
2630 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2631 IN_GCOV_TOOL.
2632 * libgcov-interface.c: Reformat some comments.
2633 (__gcov_flush_mx): Add declaration. Tidy up definition.
2634
6adaaa1d
AM
26352014-07-31 Alan Modra <amodra@gmail.com>
2636 Peter Bergner <bergner@vnet.ibm.com>
2637
2638 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2639 (pack_ldouble): New function.
2640 (__gcc_qadd): Use it.
2641 (__gcc_qmul): Likewise.
2642 (__gcc_qdiv): Likewise.
2643 (__gcc_qneg): Likewise.
2644 (__gcc_stoq): Likewise.
2645 (__gcc_dtoq): Likewise.
2646
87cb0c0c
UW
26472014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
2648
2649 * config/s390/tpf-unwind.h: Include <stdbool.h>.
2650 (__tpf_eh_return): Add original return address as second parameter.
2651 Handle cases where unwinder routines were called directly, instead
2652 of from within the C++ library.
2653
19926161
NS
26542014-07-29 Nathan Sidwell <nathan@acm.org>
2655
2656 * libgcov.h: Move renaming of entry points to lib gcov specific
2657 portion.
2658 (gcov_do_dump): New rename.
2659 (gcov_rewrite): Remove inline, make HIDDEN.
2660 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2661 (gcov_exit_compute_summary): Rename to ...
2662 (compute_summary): ... here. Add LIST argument.
2663 (gcov_exit_merge_gcda): Rename to ...
2664 (merge_one_data): ... here.
2665 (gcov_exit_write_gcda): Rename to ...
2666 (write_one_data): ... here.
2667 (gcov_exit_merge_summary): Rename to ...
2668 (merge_summary): Add RUN_COUNTED argument.
2669 (gcov_exit_dump_gcov): Rename to ...
2670 (dump_one_gcov): Add RUN_COUNTED argument.
2671 (gcov_do_dump): New function, broken out of ...
2672 (gcov_exit): ... here. Call it.
2673
17522262
AG
26742014-07-27 Anthony Green <green@moxielogic.com>
2675
2676 * config.host: Add moxiebox configuration suppport.
2677
6dc33097
NS
26782014-07-27 Nathan Sidwell <nathan@acm.org>
2679
2680 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2681 (struct gcov_filename): ... here. Include buffer and max length
2682 fields.
2683 (gcov_max_filename): Remove.
2684 (gi_filename): Remove.
2685 (gcov_exit_compute_summary): Compute max filename here.
2686 (gcov_exit_merge_gcda): Add filename parm, adjust.
2687 (gcov_exit_merge_summary): Likewise.
2688 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2689 (gcov_exit): Likewise.
2690 (__gcov_init): Don't calculate max length here.
2691 * libgcov_util.c (max_filename_len): Remove.
2692 (read_gcda_file): Don't calculate max length here.
2693 (gcov_read_profile_dir): Don't propagate here.
2694 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2695 struct gcov_filename changes.
2696 (gcov_exit_open_gcda_file): Likewise.
2697
770f687d
NS
26982014-07-25 Nathan Sidwell <nathan@acm.org>
2699
2700 * libgcov-driver.c (set_gcov_dump_complete,
2701 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2702 functions polluting user's namespace.
2703 (gcov_exit): Set variable directly.
2704 (gcov_clear): Reset variable directly.
2705 * libgcov-interface.c (get_gcov_dymp_complete,
2706 reset_gov_dump_complete): Remove declarations.
2707 (__gcov_reset, __gcov_dump): Don't call them.
2708
fabf71ba
DD
27092014-07-24 DJ Delorie <dj@redhat.com>
2710
2711 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
2712 (__gcc_deregister_frame): Move logic to detect deregister function
2713 to ...
2714 (__gcc_register_frame): here, so it's consistent with the register
2715 logic.
fabf71ba 2716
d10ee722
NS
27172014-07-23 Nathan Sidwell <nathan@acm.org>
2718
2719 * libgcov-driver.c (set_gcov_list): Remove.
2720 (gcov_list): Make non-static in GCOV_TOOL.
2721 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2722
a4137090
JDA
27232014-07-17 John David Anglin <danglin@gcc.gnu.org>
2724
2725 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2726 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2727 Don't use SYNC_LOCK_RELEASE for int type.
2728
72602c6c
RB
27292014-07-14 Richard Biener <rguenther@suse.de>
2730
2731 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2732
d5313205
RX
27332014-07-11 Rong Xu <xur@google.com>
2734
2735 * libgcov-util.c (gcov_max_filename): Fix declartion.
2736
c77556a5
RX
27372014-07-10 Rong Xu <xur@google.com>
2738
2739 Add gcov-tool: an offline gcda profile processing tool
2740 Support.
2741 * libgcov-driver.c (gcov_max_filename): Make available
2742 to gcov-tool.
2743 * libgcov-merge.c (__gcov_merge_add): Replace
2744 gcov_read_counter() with a Macro.
2745 (__gcov_merge_ior): Ditto.
2746 (__gcov_merge_time_profile): Ditto.
2747 (__gcov_merge_single): Ditto.
2748 (__gcov_merge_delta): Ditto.
2749 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2750 in the utility functions.
2751 (set_fn_ctrs): Utility function for reading gcda files to in-memory
2752 gcov_list object link lists.
2753 (tag_function): Ditto.
2754 (tag_blocks): Ditto.
2755 (tag_arcs): Ditto.
2756 (tag_lines): Ditto.
2757 (tag_counters): Ditto.
2758 (tag_summary): Ditto.
2759 (read_gcda_finalize): Ditto.
2760 (read_gcda_file): Ditto.
2761 (ftw_read_file): Ditto.
2762 (read_profile_dir_init): Ditto.
2763 (gcov_read_profile_dir): Ditto.
2764 (gcov_read_counter_mem): Ditto.
2765 (gcov_get_merge_weight): Ditto.
2766 (merge_wrapper): A wrapper function that calls merging handler.
2767 (gcov_merge): Merge two gcov_info objects with weights.
2768 (find_match_gcov_info): Find the matched gcov_info in the list.
2769 (gcov_profile_merge): Merge two gcov_info object lists.
2770 (__gcov_add_counter_op): Process edge profile counter values.
2771 (__gcov_ior_counter_op): Process IOR profile counter values.
2772 (__gcov_delta_counter_op): Process delta profile counter values.
2773 (__gcov_single_counter_op): Process single profile counter values.
2774 (fp_scale): Callback function for float-point scaling.
cc86234f 2775 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
2776 (gcov_profile_scale): Scaling profile counters.
2777 (gcov_profile_normalize): Normalize profile counters.
2778 * libgcov.h: Add headers and functions for gcov-tool use.
2779 (gcov_get_counter): New.
2780 (gcov_get_counter_target): Ditto.
2781 (struct gcov_info): Make the functions field mutable in gcov-tool
2782 compilation.
2783
5c7dac8a
KT
27842014-06-23 Kai Tietz <ktietz@redhat.com>
2785
2786 PR libgcc/61585
2787 * unwind-seh.c (_Unwind_GetGR): Check for proper
2788 index range.
2789 (_Unwind_SetGR): Likewise.
2790
161c9312
NC
27912014-05-22 Nick Clifton <nickc@redhat.com>
2792
2793 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2794 -mhwmult=none.
2795
e3f0315f
TJ
27962014-05-22 Teresa Johnson <tejohnson@google.com>
2797
2798 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2799 include.
2800
dbed5a9b
JM
28012014-05-20 John Marino <gnugcc@marino.st>
2802
2803 * config.host (*-*-dragonfly*): New target.
2804 * crtstuff.c: Make dl_iterate_support generic on *bsd.
2805 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2806 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2807 * config/i386/dragonfly-unwind.h: New.
2808
1ec380e5
MR
28092014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2810
2811 PR libgcc/60166
2812 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2813 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2814
54fde020
BE
28152014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
2816
2817 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2818 implementation.
2819
999db125
GJL
28202014-05-12 Georg-Johann Lay <avr@gjlay.de>
2821
2822 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2823
cceaf54a
RO
28242014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2825
2826 PR libgcc/61097
2827 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2828 if --enable-shared.
2829
e3fe9b5b
BE
28302014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
2831
2832 Work around for current cygwin32 build problems.
2833 * config/i386/cygming-crtbegin.c (__register_frame_info,
2834 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2835 functions only for 64-bit systems.
2836
54cf37e9
RO
28372014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2838
2839 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2840 (sigill_caught, sigill_hdlr): Remove.
2841
d9f069ab
RO
28422014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2843
2844 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2845 check.
2846 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2847 Solaris 9 single-threaded support.
2848 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2849 Solaris 9 single-threaded support. Add call_user_handler code
2850 sequences.
2851 (sparc_is_sighandler): Likewise.
2852
59976ef8
AK
28532014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2854
2855 * config.host: Append t-floattodi to tmake_file depending on
2856 host_address.
2857
d02bbcf3
JS
28582014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
2859
31466bc0 2860 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 2861
c2e7e597
UB
28622014-03-10 Uros Bizjak <ubizjak@gmail.com>
2863
2864 PR libgcc/60472
2865 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 2866 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
2867 Use __builtin_expect when checking *jcr_list for NULL.
2868
227a7dc8
RO
28692014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2870
2871 PR libgcc/59339
2872 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2873 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2874 vtv_*.o to extra_parts if enable_vtable_verify.
2875
df2b279c
NC
28762014-03-06 Nick Clifton <nickc@redhat.com>
2877
2878 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2879 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2880
dc11d79b
JY
28812014-02-28 Joey Ye <joey.ye@arm.com>
2882
2883 PR libgcc/60166
2884 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2885 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2886 Set to zero.
2887
341c653c
WL
28882014-02-24 Walter Lee <walt@tilera.com>
2889
2890 * config.host: Support "tilegx*" and "tilepro*" triplets.
2891 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2892 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2893
95ce7613
CLT
28942014-02-20 Sandra Loosemore <sandra@codesourcery.com>
2895 Chung-Lin Tang <cltang@codesourcery.com>
2896
2897 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2898 * config/nios2/crti.S: Remove .file directive.
2899 * config/nios2/crtn.S: Likewise.
2900
0bb4fc05
KT
29012014-02-18 Kai Tietz <ktietz@redhat.com>
2902 Jonathan Schleifer <js@webkeks.org>
2903
2904 PR objc/56870
2905 * unwind-seh.c (_GCC_specific_handler): Pass proper
2906 value to unwind-handler.
2907
9acf28f1
JM
29082014-02-12 Joseph Myers <joseph@codesourcery.com>
2909
2910 * soft-fp/adddf3.c: Update from glibc.
2911 * soft-fp/addsf3.c: Likewise.
2912 * soft-fp/addtf3.c: Likewise.
2913 * soft-fp/divdf3.c: Likewise.
2914 * soft-fp/divsf3.c: Likewise.
2915 * soft-fp/divtf3.c: Likewise.
2916 * soft-fp/double.h: Likewise.
2917 * soft-fp/eqdf2.c: Likewise.
2918 * soft-fp/eqsf2.c: Likewise.
2919 * soft-fp/eqtf2.c: Likewise.
2920 * soft-fp/extenddftf2.c: Likewise.
2921 * soft-fp/extended.h: Likewise.
2922 * soft-fp/extendsfdf2.c: Likewise.
2923 * soft-fp/extendsftf2.c: Likewise.
2924 * soft-fp/extendxftf2.c: Likewise.
2925 * soft-fp/fixdfdi.c: Likewise.
2926 * soft-fp/fixdfsi.c: Likewise.
2927 * soft-fp/fixdfti.c: Likewise.
2928 * soft-fp/fixsfdi.c: Likewise.
2929 * soft-fp/fixsfsi.c: Likewise.
2930 * soft-fp/fixsfti.c: Likewise.
2931 * soft-fp/fixtfdi.c: Likewise.
2932 * soft-fp/fixtfsi.c: Likewise.
2933 * soft-fp/fixtfti.c: Likewise.
2934 * soft-fp/fixunsdfdi.c: Likewise.
2935 * soft-fp/fixunsdfsi.c: Likewise.
2936 * soft-fp/fixunsdfti.c: Likewise.
2937 * soft-fp/fixunssfdi.c: Likewise.
2938 * soft-fp/fixunssfsi.c: Likewise.
2939 * soft-fp/fixunssfti.c: Likewise.
2940 * soft-fp/fixunstfdi.c: Likewise.
2941 * soft-fp/fixunstfsi.c: Likewise.
2942 * soft-fp/fixunstfti.c: Likewise.
2943 * soft-fp/floatdidf.c: Likewise.
2944 * soft-fp/floatdisf.c: Likewise.
2945 * soft-fp/floatditf.c: Likewise.
2946 * soft-fp/floatsidf.c: Likewise.
2947 * soft-fp/floatsisf.c: Likewise.
2948 * soft-fp/floatsitf.c: Likewise.
2949 * soft-fp/floattidf.c: Likewise.
2950 * soft-fp/floattisf.c: Likewise.
2951 * soft-fp/floattitf.c: Likewise.
2952 * soft-fp/floatundidf.c: Likewise.
2953 * soft-fp/floatundisf.c: Likewise.
2954 * soft-fp/floatunditf.c: Likewise.
2955 * soft-fp/floatunsidf.c: Likewise.
2956 * soft-fp/floatunsisf.c: Likewise.
2957 * soft-fp/floatunsitf.c: Likewise.
2958 * soft-fp/floatuntidf.c: Likewise.
2959 * soft-fp/floatuntisf.c: Likewise.
2960 * soft-fp/floatuntitf.c: Likewise.
2961 * soft-fp/gedf2.c: Likewise.
2962 * soft-fp/gesf2.c: Likewise.
2963 * soft-fp/getf2.c: Likewise.
2964 * soft-fp/ledf2.c: Likewise.
2965 * soft-fp/lesf2.c: Likewise.
2966 * soft-fp/letf2.c: Likewise.
2967 * soft-fp/muldf3.c: Likewise.
2968 * soft-fp/mulsf3.c: Likewise.
2969 * soft-fp/multf3.c: Likewise.
2970 * soft-fp/negdf2.c: Likewise.
2971 * soft-fp/negsf2.c: Likewise.
2972 * soft-fp/negtf2.c: Likewise.
2973 * soft-fp/op-1.h: Likewise.
2974 * soft-fp/op-2.h: Likewise.
2975 * soft-fp/op-4.h: Likewise.
2976 * soft-fp/op-8.h: Likewise.
2977 * soft-fp/op-common.h: Likewise.
2978 * soft-fp/quad.h: Likewise.
2979 * soft-fp/single.h: Likewise.
2980 * soft-fp/soft-fp.h: Likewise.
2981 * soft-fp/subdf3.c: Likewise.
2982 * soft-fp/subsf3.c: Likewise.
2983 * soft-fp/subtf3.c: Likewise.
2984 * soft-fp/truncdfsf2.c: Likewise.
2985 * soft-fp/trunctfdf2.c: Likewise.
2986 * soft-fp/trunctfsf2.c: Likewise.
2987 * soft-fp/trunctfxf2.c: Likewise.
2988 * soft-fp/unorddf2.c: Likewise.
2989 * soft-fp/unordsf2.c: Likewise.
2990 * soft-fp/unordtf2.c: Likewise.
2991 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2992 macro.
2993 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2994 Likewise.
2995 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2996 Likewise.
2997 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2998 Likewise.
2999 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3000 Likewise.
3001 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3002 Likewise.
3003 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3004 Likewise.
3005 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3006 Likewise.
3007 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3008 Likewise.
3009 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3010 Likewise.
3011 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3012 Likewise.
3013 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3014 Likewise.
3015 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3016 Likewise.
3017 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3018 Likewise.
3019 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3020 Likewise.
3021 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3022 Likewise.
3023
ce245ec6
AK
30242014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3025
3026 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3027 cannot be represented.
3028 * config/s390/32/_fixsfdi.c: Likewise.
3029 * config/s390/32/_fixtfdi.c: Likewise.
3030 * config/s390/32/_fixunsdfdi.c: Likewise.
3031 * config/s390/32/_fixunssfdi.c: Likewise.
3032 * config/s390/32/_fixunstfdi.c: Likewise.
3033
1c51d688
RS
30342014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3035
3036 * configure.ac (libgcc_cv_mips_hard_float): New.
3037 * configure: Regenerate.
3038 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3039 t-softfp-sfdf for hard-float targets.
3040 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3041 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3042 (softfp_truncations, softfp_exclude_libgcc2): New.
3043 * config/t-hardfp: New file.
3044 * config/t-hardfp-sfdf: Likewise.
3045 * config/hardfp.c: Likewise.
3046
bbf391db
AK
30472014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3048
3049 * config.host: Include t-floattodi also for s390x.
3050 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3051 * config/s390/32/_fixsfdi.c: Likewise.
3052 * config/s390/32/_fixtfdi.c: Likewise.
3053 * config/s390/32/_fixunsdfdi.c: Likewise.
3054 * config/s390/32/_fixunssfdi.c: Likewise.
3055 * config/s390/32/_fixunstfdi.c: Likewise.
3056
91da0481
RO
30572014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3058
3059 PR target/59788
3060 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3061 (install-libgcc-unwind-map-forbuild): New target.
3062 (all): Depend on install-libgcc-unwind-map-forbuild.
3063 (install-libgcc-unwind-map): New target.
3064 (install): Depend on install-libgcc-unwind-map.
3065
02b67731
SL
30662014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3067
3068 * config/nios2/crti.S (_init): Initialize GOT pointer from
3069 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3070
1ea0a651
RS
30712014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3072
3073 * configure.ac: Check __mips64 when setting host_address.
3074 * configure: Regenerate.
3075 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3076 mips/t-mips64 and t-softfp.
3077 (mips*-*-linux*): Don't add mips/t-tpbit.
3078 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3079 (DPBIT, DPBIT_CFLAGS): Delete.
3080 * config/mips/sfp-machine.h: New file.
3081 * config/mips/t-mips64: Likewise.
3082 * config/mips/t-softfp-tf: Likewise.
3083 * config/mips/t-tpbit: Delete.
3084
f32b0061
MS
30852014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3086
3087 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3088 as long long.
3089
a5420aa4
WL
30902014-01-25 Walter Lee <walt@tilera.com>
3091
3092 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3093 config.h or system.h.
3094 (bool) Define.
3095
24534912
WL
30962014-01-25 Walter Lee <walt@tilera.com>
3097
3098 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3099 (post_atomic_barrier): Ditto.
3100 (__fetch_and_do): New macro.
3101 (__atomic_fetch_and_do): Use __fetch_and_do.
3102 (__sync_fetch_and_do): New macro.
3103 (__sync_fetch_and_add_4): New function.
3104 (__sync_fetch_and_sub_4): New function.
3105 (__sync_fetch_and_or_4): New function.
3106 (__sync_fetch_and_and_4): New function.
3107 (__sync_fetch_and_xor_4): New function.
3108 (__sync_fetch_and_nand_4): New function.
3109 (__sync_fetch_and_add_8): New function.
3110 (__sync_fetch_and_sub_8): New function.
3111 (__sync_fetch_and_or_8): New function.
3112 (__sync_fetch_and_and_8): New function.
3113 (__sync_fetch_and_xor_8): New function.
3114 (__sync_fetch_and_nand_8): New function.
3115 (__do_and_fetch): New macro.
3116 (__atomic_do_and_fetch): Use __do_and_fetch.
3117 (__sync_do_and_fetch): New macro.
3118 (__sync_add_and_fetch_4): New function.
3119 (__sync_sub_and_fetch_4): New function.
3120 (__sync_or_and_fetch_4): New function.
3121 (__sync_and_and_fetch_4): New function.
3122 (__sync_xor_and_fetch_4): New function.
3123 (__sync_nand_and_fetch_4): New function.
3124 (__sync_add_and_fetch_8): New function.
3125 (__sync_sub_and_fetch_8): New function.
3126 (__sync_or_and_fetch_8): New function.
3127 (__sync_and_and_fetch_8): New function.
3128 (__sync_xor_and_fetch_8): New function.
3129 (__sync_nand_and_fetch_8): New function.
3130 (__sync_exchange_methods): New macro.
3131 (__sync_val_compare_and_swap_4): New function.
3132 (__sync_bool_compare_and_swap_4): New function.
3133 (__sync_lock_test_and_test_4): New function.
3134 (__sync_val_compare_and_swap_8): New function.
3135 (__sync_bool_compare_and_swap_8): New function.
3136 (__sync_lock_test_and_test_8): New function.
3137 (__subword_cmpxchg_body): New macro.
3138 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3139 (__atomic_compare_exchange_2): Ditto.
3140 (__sync_subword_cmpxchg): New macro.
3141 (__sync_val_compare_and_swap_1): New function.
3142 (__sync_bool_compare_and_swap_1): New function.
3143 (__sync_val_compare_and_swap_2): New function.
3144 (__sync_bool_compare_and_swap_2): New function.
3145 (__atomic_subword): Rename to ...
3146 (__subword): ... New name.
3147 (__atomic_subword_fetch): Use __subword.
3148 (__sync_subword_fetch): New macro.
3149 (__sync_fetch_and_add_1): New function.
3150 (__sync_fetch_and_sub_1): New function.
3151 (__sync_fetch_and_or_1): New function.
3152 (__sync_fetch_and_and_1): New function.
3153 (__sync_fetch_and_xor_1): New function.
3154 (__sync_fetch_and_nand_1): New function.
3155 (__sync_fetch_and_add_2): New function.
3156 (__sync_fetch_and_sub_2): New function.
3157 (__sync_fetch_and_or_2): New function.
3158 (__sync_fetch_and_and_2): New function.
3159 (__sync_fetch_and_xor_2): New function.
3160 (__sync_fetch_and_nand_2): New function.
3161 (__sync_add_and_fetch_1): New function.
3162 (__sync_sub_and_fetch_1): New function.
3163 (__sync_or_and_fetch_1): New function.
3164 (__sync_and_and_fetch_1): New function.
3165 (__sync_xor_and_fetch_1): New function.
3166 (__sync_nand_and_fetch_1): New function.
3167 (__sync_add_and_fetch_2): New function.
3168 (__sync_sub_and_fetch_2): New function.
3169 (__sync_or_and_fetch_2): New function.
3170 (__sync_and_and_fetch_2): New function.
3171 (__sync_xor_and_fetch_2): New function.
3172 (__sync_nand_and_fetch_2): New function.
3173 (__atomic_subword_lock): Use __subword.
3174 (__sync_subword_lock): New macro.
3175 (__sync_lock_test_and_set_1): New function.
3176 (__sync_lock_test_and_set_2): New function.
3177
4d6d3bc5
WL
31782014-01-25 Walter Lee <walt@tilera.com>
3179
3180 * config/tilepro/atomic.c (BIT_OFFSET): Define.
3181 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3182 (__atomic_subword): Ditto.
3183
cbd9890e
WL
31842014-01-25 Walter Lee <walt@tilera.com>
3185
3186 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3187 a prefix op argument.
3188 (__atomic_nand_fetch_4): Add prefix op.
3189 (__atomic_nand_fetch_8): Ditto.
3190
7d296953 31912014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
3192
3193 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3194
46dd1242
L
31952014-01-09 Rong Xu <xur@google.com>
3196
3197 * libgcov-driver.c (this_prg): make it local to save
3198 bss space.
3199 (gcov_exit_compute_summary): Ditto.
3200 (gcov_exit_merge_gcda): Ditto.
3201 (gcov_exit_merge_summary): Ditto.
3202 (gcov_exit_dump_gcov): Ditto.
3203
cc86234f 32042014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
3205
3206 * libgcov-driver.c: Use libgcov.h.
3207 (buffer_fn_data): Use xmalloc instead of malloc.
3208 (gcov_exit_merge_gcda): Ditto.
3209 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3210 * libgcov.h: New common header files for libgcov-*.h.
3211 * libgcov-interface.c: Use libgcov.h
3212 * libgcov-merge.c: Ditto.
3213 * libgcov-profiler.c: Ditto.
3214 * Makefile.in: Add dependence to libgcov.h
3215
a02e7bdd
JM
32162014-01-02 Joseph Myers <joseph@codesourcery.com>
3217
3218 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3219 case of small numerator and finite nonzero result.
3220
ac1dca3c
RS
32212014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3222
3223 Update copyright years
3224
f9030485
RS
32252014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3226
3227 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3228 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3229 config/arc/dp-hack.h, config/arc/fp-hack.h,
3230 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3231 config/arc/ieee-754/arc600-dsp/divdf3.S,
3232 config/arc/ieee-754/arc600-dsp/divsf3.S,
3233 config/arc/ieee-754/arc600-dsp/muldf3.S,
3234 config/arc/ieee-754/arc600-dsp/mulsf3.S,
3235 config/arc/ieee-754/arc600-mul64/divdf3.S,
3236 config/arc/ieee-754/arc600-mul64/divsf3.S,
3237 config/arc/ieee-754/arc600-mul64/muldf3.S,
3238 config/arc/ieee-754/arc600-mul64/mulsf3.S,
3239 config/arc/ieee-754/arc600/divsf3.S,
3240 config/arc/ieee-754/arc600/mulsf3.S,
3241 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3242 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3243 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3244 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3245 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3246 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3247 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3248 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3249 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3250 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3251 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3252 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3253 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3254 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3255 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3256 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3257 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3258 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3259 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3260 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3261 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3262 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3263 vtv_start_preinit.c: Use the standard form for the copyright notice.
3264
e430824f
CLT
32652013-12-31 Sandra Loosemore <sandra@codesourcery.com>
3266 Chung-Lin Tang <cltang@codesourcery.com>
3267 Based on patches from Altera Corporation
3268
3269 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3270 * config/nios2/lib2-nios2.h: New file.
3271 * config/nios2/lib2-divmod-hi.c: New file.
3272 * config/nios2/linux-unwind.h: New file.
3273 * config/nios2/lib2-divmod.c: New file.
3274 * config/nios2/linux-atomic.c: New file.
3275 * config/nios2/t-nios2: New file.
3276 * config/nios2/crti.asm: New file.
3277 * config/nios2/t-linux: New file.
3278 * config/nios2/lib2-divtable.c: New file.
3279 * config/nios2/lib2-mul.c: New file.
3280 * config/nios2/tramp.c: New file.
3281 * config/nios2/crtn.asm: New file.
3282
1879e97f
UB
32832013-12-26 Uros Bizjak <ubizjak@gmail.com>
3284
3285 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3286 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3287 from cpuid.h to check vendor signatures.
3288
f4a4bdbb
GG
32892013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3290
c2e7e597 3291 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
3292 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3293 (get_amd_cpu): Likewise.
3294
8d2ae544
L
32952013-12-25 H.J. Lu <hongjiu.lu@intel.com>
3296
3297 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3298 Haswell.
3299
74924838
ASJ
33002013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3301 H.J. Lu <hongjiu.lu@intel.com>
3302
0bb52f25
L
3303 PR target/59422
3304 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
3305 and AMD_JAGUAR.
3306 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3307 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3308 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
3309 FEATURE_XOP and FEATURE_FMA.
3310 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3311 AMDFAM15H_BDVER3.
3312 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 3313 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
3314 FEATURE_FMA4 and FEATURE_XOP.
3315
d3c11974
L
33162013-12-23 H.J. Lu <hongjiu.lu@intel.com>
3317
3318 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3319 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3320 (get_intel_cpu): Updated.
3321
064c4ff2
ZC
33222013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3323
3324 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3325
8b02e720
UB
33262013-12-09 Uros Bizjak <ubizjak@gmail.com>
3327
3328 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 3329 instructions when __SSE_MATH__ is defined.
8b02e720 3330
3fa2ccb4
RC
33312013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3332
3333 * config.host (microblaze-*-rtems*): New.
3334
ecd78fc9
KV
33352013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
3336
3337 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3338 architectures that do not have hardware divide instruction.
3339 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3340
b21fbbd2
RS
33412013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3342
3343 * longlong.h: Delete (moved to include/).
3344
b03fb8c9
AZ
33452013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3346
3347 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3348 of normal number and qNaN to not raise an inexact exception.
3349
3c716922
UB
33502013-11-28 Uros Bizjak <ubizjak@gmail.com>
3351
3352 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3353
33542013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
3355
3356 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3357 for correct opcodes on BE.
3358
a3458d22
UB
33592013-11-27 Uros Bizjak <ubizjak@gmail.com>
3360
3361 * soft-fp/op-4.h: Update from glibc.
3362
30b8f78b
KV
33632013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
3364
3365 * libgcc2.c (__udivmoddi4): Define new implementation when
3366 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3367 divide instructions.
3368
82552a29
OE
33692013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3370
3371 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3372
80e87457
RO
33732013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3374
3375 * config/t-softfp (soft-fp-objects-base): New variable.
3376 (soft-fp-objects): Use it.
3377
44178879
DE
33782013-11-23 David Edelson <dje.gcc@gmail.com>
3379 Andrew Dixie <andrewd@gentrack.com>
3380
3381 PR target/33704
3382 * config/rs6000/aixinitfini.c: New file.
3383 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3384 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3385 symbols.
3386
e5287671
YR
33872013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3388
a3458d22 3389 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 3390
867c8b03
JH
33912013-11-18 Jan Hubicka <jh@suse.cz>
3392
7f369373
JH
3393 * libgcov-driver.c (run_accounted): Make global level static.
3394 (gcov_exit_merge_summary): Silence warning; do not clear
3395 run_accounted here.
3396 (gcov_exit): Clear it here.
3397
1d0b3334
JH
3398 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3399 run_accounted.
3400
867c8b03
JH
3401 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3402 (all_prg, crc32): Remove static vars.
3403 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3404 all_prg.
3405 (gcov_exit_merge_gcda): Add crc32 parameter.
3406 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3407 do not account run if it was already accounted.
3408 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3409 (gcov_exit): Initialize all_prg; update.
3410
66204992
AS
34112013-11-15 Andreas Schwab <schwab@linux-m68k.org>
3412
3413 * configure: Regenerate.
3414
b54214fe
UW
34152013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3416 Alan Modra <amodra@gmail.com>
3417
3418 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3419 (frob_update_context): Use it.
3420
34212013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3422 Alan Modra <amodra@gmail.com>
3423
3424 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3425 (trampoline_initial): Provide ELFv2 variant.
3426 (__trampoline_setup): Likewise.
3427
3428 * config/rs6000/linux-unwind.h (frob_update_context): Do not
3429 check for AIX indirect function call sequence if _CALL_ELF == 2.
3430
34312013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3432 Alan Modra <amodra@gmail.com>
3433
3434 * config/rs6000/linux-unwind.h (get_regs): Do not support
3435 old kernel versions if _CALL_ELF == 2.
3436 (frob_update_context): Do not support PLT stub variants only
3437 generated by old linkers if _CALL_ELF == 2.
3438
13e0981a
UW
34392013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3440 Alan Modra <amodra@gmail.com>
3441
3442 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3443 location of CR save area for 64-bit little-endian systems.
3444
1a80085d
EB
34452013-11-11 Eric Botcazou <ebotcazou@adacore.com>
3446
3447 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3448 in tmake_file.
3449 * config/arm/t-vxworks: Delete.
3450
cabeea52
KT
34512013-11-10 Kai Tietz <ktietz@redhat.com>
3452
3453 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3454 Increment load-count on use of LIBGCC_SONAME DLL.
3455 (hmod_libgcc): New static variable to hold handle of
3456 LIBGCC_SONAME DLL.
3457 (__gcc_deregister_frame): Decrement load-count of
3458 LIBGCC_SONAME DLL.
3459
ac088ba1
BRF
34602013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3461
3462 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3463 availability.
3464 * configure: Regenerate
3465
d59a8fcc
UB
34662013-11-07 Uros Bizjak <ubizjak@gmail.com>
3467
3468 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3469 FP_EX_DENORM. Store result to volatile location after SSE division
3470 to close interrupt window. Remove unneeded fwait after x87
3471 division since interrupt window will be closed by emitted fstp.
9de84e84 3472 Rewrite FP_EX_INEXACT handling.
d59a8fcc 3473
9954c743
JM
34742013-11-06 Joseph Myers <joseph@codesourcery.com>
3475
3476 * soft-fp/README: Update.
3477 * soft-fp/adddf3.c: Update from glibc.
3478 * soft-fp/addsf3.c: Likewise.
3479 * soft-fp/addtf3.c: Likewise.
3480 * soft-fp/divdf3.c: Likewise.
3481 * soft-fp/divsf3.c: Likewise.
3482 * soft-fp/divtf3.c: Likewise.
3483 * soft-fp/double.h: Likewise.
3484 * soft-fp/eqdf2.c: Likewise.
3485 * soft-fp/eqsf2.c: Likewise.
3486 * soft-fp/eqtf2.c: Likewise.
3487 * soft-fp/extenddftf2.c: Likewise.
3488 * soft-fp/extended.h: Likewise.
3489 * soft-fp/extendsfdf2.c: Likewise.
3490 * soft-fp/extendsftf2.c: Likewise.
3491 * soft-fp/extendxftf2.c: Likewise.
3492 * soft-fp/fixdfdi.c: Likewise.
3493 * soft-fp/fixdfsi.c: Likewise.
3494 * soft-fp/fixdfti.c: Likewise.
3495 * soft-fp/fixsfdi.c: Likewise.
3496 * soft-fp/fixsfsi.c: Likewise.
3497 * soft-fp/fixsfti.c: Likewise.
3498 * soft-fp/fixtfdi.c: Likewise.
3499 * soft-fp/fixtfsi.c: Likewise.
3500 * soft-fp/fixtfti.c: Likewise.
3501 * soft-fp/fixunsdfdi.c: Likewise.
3502 * soft-fp/fixunsdfsi.c: Likewise.
3503 * soft-fp/fixunsdfti.c: Likewise.
3504 * soft-fp/fixunssfdi.c: Likewise.
3505 * soft-fp/fixunssfsi.c: Likewise.
3506 * soft-fp/fixunssfti.c: Likewise.
3507 * soft-fp/fixunstfdi.c: Likewise.
3508 * soft-fp/fixunstfsi.c: Likewise.
3509 * soft-fp/fixunstfti.c: Likewise.
3510 * soft-fp/floatdidf.c: Likewise.
3511 * soft-fp/floatdisf.c: Likewise.
3512 * soft-fp/floatditf.c: Likewise.
3513 * soft-fp/floatsidf.c: Likewise.
3514 * soft-fp/floatsisf.c: Likewise.
3515 * soft-fp/floatsitf.c: Likewise.
3516 * soft-fp/floattidf.c: Likewise.
3517 * soft-fp/floattisf.c: Likewise.
3518 * soft-fp/floattitf.c: Likewise.
3519 * soft-fp/floatundidf.c: Likewise.
3520 * soft-fp/floatundisf.c: Likewise.
3521 * soft-fp/floatunditf.c: Likewise.
3522 * soft-fp/floatunsidf.c: Likewise.
3523 * soft-fp/floatunsisf.c: Likewise.
3524 * soft-fp/floatunsitf.c: Likewise.
3525 * soft-fp/floatuntidf.c: Likewise.
3526 * soft-fp/floatuntisf.c: Likewise.
3527 * soft-fp/floatuntitf.c: Likewise.
3528 * soft-fp/gedf2.c: Likewise.
3529 * soft-fp/gesf2.c: Likewise.
3530 * soft-fp/getf2.c: Likewise.
3531 * soft-fp/ledf2.c: Likewise.
3532 * soft-fp/lesf2.c: Likewise.
3533 * soft-fp/letf2.c: Likewise.
3534 * soft-fp/muldf3.c: Likewise.
3535 * soft-fp/mulsf3.c: Likewise.
3536 * soft-fp/multf3.c: Likewise.
3537 * soft-fp/negdf2.c: Likewise.
3538 * soft-fp/negsf2.c: Likewise.
3539 * soft-fp/negtf2.c: Likewise.
3540 * soft-fp/op-1.h: Likewise.
3541 * soft-fp/op-2.h: Likewise.
3542 * soft-fp/op-4.h: Likewise.
3543 * soft-fp/op-8.h: Likewise.
3544 * soft-fp/op-common.h: Likewise.
3545 * soft-fp/quad.h: Likewise.
3546 * soft-fp/single.h: Likewise.
3547 * soft-fp/soft-fp.h: Likewise.
3548 * soft-fp/subdf3.c: Likewise.
3549 * soft-fp/subsf3.c: Likewise.
3550 * soft-fp/subtf3.c: Likewise.
3551 * soft-fp/truncdfsf2.c: Likewise.
3552 * soft-fp/trunctfdf2.c: Likewise.
3553 * soft-fp/trunctfsf2.c: Likewise.
3554 * soft-fp/trunctfxf2.c: Likewise.
3555 * soft-fp/unorddf2.c: Likewise.
3556 * soft-fp/unordsf2.c: Likewise.
3557 * soft-fp/unordtf2.c: Likewise.
3558
02ac9503
UB
35592013-11-05 Uros Bizjak <ubizjak@gmail.com>
3560
3561 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3562 (_FP_MUL_MEAT_D): Ditto.
3563 (_FP_DIV_MEAT_S): Ditto.
3564 (_FP_DIV_MEAT_D): Ditto.
3565 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3566 t-softfp-sfdf and t-softfp to tmake_file.
3567
61221141
UB
35682013-11-03 Uros Bizjak <ubizjak@gmail.com>
3569
3570 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3571 * config/i386/crtprec.c: Ditto.
3572
9304f876
CJW
35732013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
3574 Shiva Chen <shiva0217@gmail.com>
3575
3576 * config.host (nds32*-elf*): Add nds32 target.
3577 * config/nds32 : New directory and files.
3578
0e499e75
HPN
35792013-10-16 Hans-Peter Nilsson <hp@axis.com>
3580
3581 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
3582 * config.host (cpu_type) <Setting default>: Add entry for
3583 crisv32-*-*.
3584 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3585 <crisv32-*-linux*>: Adjust.
3586 * longlong.h: Wrap the whole CRIS section in a single
3587 defined(__CRIS__) conditional. Add comment about add_ssaaaa
3588 and sub_ddmmss.
3589 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3590 defined.
3591 [__CRIS__] (__umulsidi3): Define.
3592 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3593 * config/cris/sfp-machine.h: New file.
3594 * config/cris/umulsidi3.S: New file.
3595 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3596 * config/cris/arit.c (SIGNMULT): New macro.
3597 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3598 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3599 saving 3 out of originally 33 cycles from the fastest
3600 path, 3 out of 54 from the medium path and one from the longest
3601 path. Improve comments.
3602
16022041
RS
36032013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
3604
3605 * sync.c: Remove static aliases and define each function directly
3606 under its real name.
3607
69778659
JDA
36082013-10-02 John David Anglin <danglin@gcc.gnu.org>
3609
3610 * config.host (hppa*64*-*-linux*): Define extra_parts.
3611 (hppa*-*-linux*): Likewise.
3612
2deaf8b0
JR
36132013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
3614
3615 * config/arc/crtgend.S: Add 2013 to Copyright years.
3616 * config/arc/gmon/atomic.h: Likewise.
3617 * config/arc/gmon/auxreg.h: Likewise.
3618 * config/arc/gmon/sys/gmon_out.h: Likewise.
3619 * config/arc/gmon/sys/gmon.h: Likewise.
3620 * config/arc/gmon/prof-freq.c: Likewise.
3621 * config/arc/gmon/mcount.c: Likewise.
3622 * config/arc/gmon/prof-freq-stub.S: Likewise.
3623 * config/arc/gmon/gmon.c: Likewise.
3624 * config/arc/gmon/machine-gmon.h: Likewise.
3625 * config/arc/gmon/profil.S: Likewise.
3626 * config/arc/gmon/dcache_linesz.S: Likewise.
3627 * config/arc/crtg.S: Likewise.
3628 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3629 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3630 * config/arc/ieee-754/adddf3.S: Likewise.
3631 * config/arc/ieee-754/truncdfsf2.S: Likewise.
3632 * config/arc/ieee-754/fixsfsi.S: Likewise.
3633 * config/arc/ieee-754/gtsf2.S: Likewise.
3634 * config/arc/ieee-754/floatsisf.S: Likewise.
3635 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3636 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3637 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3638 * config/arc/ieee-754/fixdfsi.S: Likewise.
3639 * config/arc/ieee-754/addsf3.S: Likewise.
3640 * config/arc/ieee-754/gesf2.S: Likewise.
3641 * config/arc/ieee-754/floatsidf.S: Likewise.
3642 * config/arc/ieee-754/extendsfdf2.S: Likewise.
3643 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3644 * config/arc/ieee-754/gtdf2.S: Likewise.
3645 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3646 * config/arc/ieee-754/uneqdf2.S: Likewise.
3647 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3648 * config/arc/ieee-754/uneqsf2.S: Likewise.
3649 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3650 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3651 * config/arc/ieee-754/eqdf2.S: Likewise.
3652 * config/arc/ieee-754/ordsf2.S: Likewise.
3653 * config/arc/ieee-754/divsf3.S: Likewise.
3654 * config/arc/ieee-754/divdf3.S: Likewise.
3655 * config/arc/ieee-754/floatunsidf.S: Likewise.
3656 * config/arc/ieee-754/orddf2.S: Likewise.
3657 * config/arc/ieee-754/eqsf2.S: Likewise.
3658 * config/arc/ieee-754/gedf2.S: Likewise.
3659 * config/arc/crtn.S: Likewise.
3660 * config/arc/crti.S: Likewise.
3661 * config/arc/t-arc700-uClibc: Likewise.
3662 * config/arc/asm.h: Likewise.
3663 * config/arc/libgcc-excl.ver: Likewise.
3664 * config/arc/t-arc-newlib: Likewise.
3665 * config/arc/divtab-arc700.c: Likewise.
3666 * config/arc/initfini.c: Likewise.
3667 * config/arc/fp-hack.h: Likewise.
3668
c8e318b0
JR
36692013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3670 Diego Novillo <dnovillo@google.com>
3671
3672 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
3673 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3674 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3675 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 3676
d38a64b4
JR
36772013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3678 Brendan Kehoe <brendan@zen.org>
3679 Simon Cook <simon.cook@embecosm.com>
3680
3681 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3682 * config/arc: New directory.
3683 * longlong.h [__arc__] (umul_ppmm): Remove.
3684 [__arc__] (__umulsidi3): Define.
3685 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3686 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3687
dff717d2
JC
36882013-09-17 Jacek Caban <jacek@codeweavers.com>
3689
3690 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3691 CreateSemaphoreA.
3692 * config/i386/gthr-win32.h: Likewise.
3693
5c0029de
DD
36942013-09-16 DJ Delorie <dj@redhat.com>
3695
844ad6c6 3696 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
3697 * config/rl78/lib2mul.c: Enable for RL78/G10.
3698 * config/rl78/lib2div.c: Likewise.
3699 * config/rl78/lshrsi3.S: Use vregs.h.
3700 * config/rl78/cmpsi2.S: Likewise.
3701 * config/rl78/trampoline.S: Likewise.
3702 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
3703
ceb2fc49
DD
37042013-09-14 DJ Delorie <dj@redhat.com>
3705 Nick Clifton <nickc@redhat.com>
3706
3707 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3708 * config/rl78/vregs.h: New.
3709 * config/rl78/signbit.S: New file. Implements signbit function.
3710 * config/rl78/divmodsi.S: New.
3711 * config/rl78/divmodhi.S: New.
3712 * config/rl78/divmodqi.S: New.
3713 * config/rl78/t-rl78: Build them here...
3714 * config/rl78/lib2div.c: ...but not here.
3715
f6a83b4a
DD
37162013-09-12 DJ Delorie <dj@redhat.com>
3717
3718 * config.host (msp*-*-elf): New.
3719 * config/msp430/: New port.
3720
9107b096
IS
37212013-08-18 Iain Sandoe <iain@codesourcery.com>
3722
3723 PR gcov-profile/58127
3724 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3725 __thread var for emulated TLS.
3726 (__gcov_indirect_call_counters): Likewise.
3727
0f9bde1f 37282013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 3729 Catherine Moore <clm@codesourcery.com>
7d296953 3730 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
3731
3732 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3733 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3734 (CALL_STUB_NO_RET): Likewise.
3735 (CALL_STUB_RET): Likewise.
3736 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3737 __mips16_ret call/return stub symbols.
3738 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3739 to tmake_file.
3740
2dc14aac
MR
37412013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
3742
3743 * config.host <mips*-*-linux*>: Remove a stray comment.
3744
748d71f3
JH
37452013-08-10 Jan Hubicka <jh@suse.cz>
3746
3747 Work around binutils PR14342
3748 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3749 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3750 (L_gcov_indirect_call_profiler_v2): New.
3751
2fa3d31b
JH
37522013-08-06 Jan Hubicka <jh@suse.cz>
3753
3754 * libgcov.c (__gcov_indirect_call_callee,
3755 __gcov_indirect_call_counters): New global vars.
3756 (__gcov_indirect_call_profiler): replace by ...
3757 (__gcov_indirect_call_profiler_v2) ... this one.
3758
2077db1b
CT
37592013-08-06 Caroline Tice <cmtice@google.com>
3760
d0595b65 3761 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 3762 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
3763 * configure.ac: Add code to check/set enable_vtable_verify.
3764 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 3765 true.
d0595b65
CT
3766 * vtv_start_preinit.c: New file.
3767 * vtv_end_preinit.c: New file.
3768 * vtv_start.c: New file.
3769 * vtv_end.c: New file.
3770 * configure: Regenerated.
2077db1b 3771
46549c20
MK
37722013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
3773
3774 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3775 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3776 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3777 GPL-3.0-with-GCC-exception.
3778
72be589b
MR
37792013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
3780
3781 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3782 ISA and up.
3783
902a3faf
AK
37842013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3785
3786 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3787 mapping for FPRs when creating the fallback framestate.
3788
02371798
GJL
37892013-07-19 Georg-Johann Lay <avr@gjlay.de>
3790
3791 PR target/57516
3792 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3793 (__round_s2_const, __round_u2_const)
3794 (__round_s4_const, __round_u4_const, __round_x8):
3795 Saturate result if addition result cannot be represented.
3796
ab0e8379
MK
37972013-07-15 Matthias Klose <doko@ubuntu.com>
3798
3799 * libgcc2.c: Don't include <limits.h>.
3800
7da38058
JJ
38012013-07-09 Janis Johnson <janisjo@codesourcery.com>
3802
3803 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3804
1f6eac90
JJ
38052013-07-06 Jakub Jelinek <jakub@redhat.com>
3806
3807 PR target/29776
3808 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3809
4ea3d774
JJ
38102013-06-28 Jakub Jelinek <jakub@redhat.com>
3811
3812 PR middle-end/36041
3813 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3814 Define.
3815 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3816 instead of table lookups.
3817 (__popcountDI2): Likewise.
3818
9d2cdf25
CJW
38192013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
3820
3821 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3822 correctly.
3823
fa1e55b0
JM
38242013-06-21 Joseph Myers <joseph@codesourcery.com>
3825
3826 PR other/53317
3827 * soft-fp/adddf3.c: Update from glibc.
3828 * soft-fp/addsf3.c: Likewise.
3829 * soft-fp/addtf3.c: Likewise.
3830 * soft-fp/divdf3.c: Likewise.
3831 * soft-fp/divsf3.c: Likewise.
3832 * soft-fp/divtf3.c: Likewise.
3833 * soft-fp/double.h: Likewise.
3834 * soft-fp/eqdf2.c: Likewise.
3835 * soft-fp/eqsf2.c: Likewise.
3836 * soft-fp/eqtf2.c: Likewise.
3837 * soft-fp/extenddftf2.c: Likewise.
3838 * soft-fp/extended.h: Likewise.
3839 * soft-fp/extendsfdf2.c: Likewise.
3840 * soft-fp/extendsftf2.c: Likewise.
3841 * soft-fp/fixdfdi.c: Likewise.
3842 * soft-fp/fixdfsi.c: Likewise.
3843 * soft-fp/fixsfdi.c: Likewise.
3844 * soft-fp/fixsfsi.c: Likewise.
3845 * soft-fp/fixtfdi.c: Likewise.
3846 * soft-fp/fixtfsi.c: Likewise.
3847 * soft-fp/fixunsdfdi.c: Likewise.
3848 * soft-fp/fixunsdfsi.c: Likewise.
3849 * soft-fp/fixunssfdi.c: Likewise.
3850 * soft-fp/fixunssfsi.c: Likewise.
3851 * soft-fp/fixunstfdi.c: Likewise.
3852 * soft-fp/fixunstfsi.c: Likewise.
3853 * soft-fp/floatdidf.c: Likewise.
3854 * soft-fp/floatdisf.c: Likewise.
3855 * soft-fp/floatditf.c: Likewise.
3856 * soft-fp/floatsidf.c: Likewise.
3857 * soft-fp/floatsisf.c: Likewise.
3858 * soft-fp/floatsitf.c: Likewise.
3859 * soft-fp/floatundidf.c: Likewise.
3860 * soft-fp/floatundisf.c: Likewise.
3861 * soft-fp/floatunditf.c: Likewise.
3862 * soft-fp/floatunsidf.c: Likewise.
3863 * soft-fp/floatunsisf.c: Likewise.
3864 * soft-fp/floatunsitf.c: Likewise.
3865 * soft-fp/gedf2.c: Likewise.
3866 * soft-fp/gesf2.c: Likewise.
3867 * soft-fp/getf2.c: Likewise.
3868 * soft-fp/ledf2.c: Likewise.
3869 * soft-fp/lesf2.c: Likewise.
3870 * soft-fp/letf2.c: Likewise.
3871 * soft-fp/muldf3.c: Likewise.
3872 * soft-fp/mulsf3.c: Likewise.
3873 * soft-fp/multf3.c: Likewise.
3874 * soft-fp/negdf2.c: Likewise.
3875 * soft-fp/negsf2.c: Likewise.
3876 * soft-fp/negtf2.c: Likewise.
3877 * soft-fp/op-1.h: Likewise.
3878 * soft-fp/op-2.h: Likewise.
3879 * soft-fp/op-4.h: Likewise.
3880 * soft-fp/op-8.h: Likewise.
3881 * soft-fp/op-common.h: Likewise.
3882 * soft-fp/quad.h: Likewise.
3883 * soft-fp/single.h: Likewise.
3884 * soft-fp/soft-fp.h: Likewise.
3885 * soft-fp/subdf3.c: Likewise.
3886 * soft-fp/subsf3.c: Likewise.
3887 * soft-fp/subtf3.c: Likewise.
3888 * soft-fp/truncdfsf2.c: Likewise.
3889 * soft-fp/trunctfdf2.c: Likewise.
3890 * soft-fp/trunctfsf2.c: Likewise.
3891 * soft-fp/unorddf2.c: Likewise.
3892 * soft-fp/unordsf2.c: Likewise.
3893 * soft-fp/unordtf2.c: Likewise.
3894 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3895 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3896 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3897 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3898 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3899 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3900 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3901 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3902 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3903 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3904 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3905 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3906
0de86a92
JU
39072013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
3908
3909 * config/mips/lib2funcs.c: New file.
3910 * config/mips/t-mips (LIB2ADD_ST): Add it.
3911
0d008882
OE
39122013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
3913
3914 PR target/6526
3915 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3916 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
3917
776434d1
WL
39182013-06-08 Walter Lee <walt@tilera.com>
3919
3920 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3921 Replace int64_t with long long. Add __extension__ where
3922 appropriate.
3923 * config/tilepro/atomic.c: Include config.h.
3924
6ab3ebb4
DR
39252013-06-06 Douglas B Rupp <rupp@adacore.com>
3926
3927 * config.host (arm-wrs-vxworks): Configure with other soft float.
3928
107eea2c
JU
39292013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
3930
3931 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3932 (mips64r5900el-*-elf*): New configurations.
3933
5cc19c62
AM
39342013-06-04 Alan Modra <amodra@gmail.com>
3935
3936 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3937
0f1d3965
YR
39382013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
3939
3940 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3941
0ba045df
EB
39422013-05-28 Eric Botcazou <ebotcazou@adacore.com>
3943
3944 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3945 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3946 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3947
49dcafd4
EB
39482013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3949
3950 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3951 (powerpc-wrs-vxworks): Likewise.
3952
4fcb5d87
EB
39532013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3954
3955 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3956 signal frames as well.
3957 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3958 STACK_BIAS to the CFA offset.
3959
0ec33224
RH
39602013-05-17 Richard Henderson <rth@redhat.com>
3961
3962 PR target/49146
3963 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3964 (execute_cfa_program): Use it when storing to fs->regs.
3965
492a8029
KT
39662013-05-08 Kai Tietz <ktietz@redhat.com>
3967
3968 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3969 (__deregister_frame_info): Likewise.
3970
701e2f0a
TS
39712013-05-06 Thomas Schwinge <thomas@codesourcery.com>
3972
e5123d08
TS
3973 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3974 NaN's payload.
3975
701e2f0a
TS
3976 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3977
b9a7eb5d
AM
39782013-04-25 Alan Modra <amodra@gmail.com>
3979
3980 * config.host: Match little-endian powerpc-linux.
3981
dfe192f5
YZ
39822013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
3983
3984 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3985 as 'unsigned long long' instead of 'unsigned long'.
3986 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3987 'signed long'.
3988
b6b9af2f
JB
39892013-04-10 Julian Brown <julian@codesourcery.com>
3990
3991 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3992 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3993 unsigned char/unsigned short.
3994 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3995
ecabdd00
JDA
39962013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3997
3998 PR other/55274
3999 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4000
34652576
MI
40012013-04-04 Meador Inge <meadori@codesourcery.com>
4002
4003 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4004 computing the location of the link register.
4005 (aeabi_uldivmod): Ditto.
4006
e9fd8c19
KT
40072013-03-27 Kai Tietz <ktietz@redhat.com>
4008
4009 * config.host: Add support for cygwin x64 target.
4010 * configure: Regenerated.
4011
a6406324
WL
40122013-03-26 Walter Lee <walt@tilera.com>
4013
4014 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4015 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4016
55446c7e
KT
40172013-03-25 Kai Tietz <ktietz@redhat.com>
4018
4019 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4020
d2ae19d9
RM
40212013-03-20 Robert Mason <rbmj@verizon.net>
4022
4023 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4024 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4025 (__gthread_leave_tsd_dtor_context): Add prototypes.
4026 (tls_delete_hook): Update.
4027
22c4c869
CM
40282013-03-20 Catherine Moore <clm@codesourcery.com>
4029 Joseph Myers <joseph@codesourcery.com>
4030 Chao-ying Fu <fu@mips.com>
4031
4032 * config/mips/mips16.S: Don't build for microMIPS.
4033 * config/mips/linux-unwind.h: Handle microMIPS frame.
4034 * config/mips/crtn.S (fini, init): New labels.
4035
fbd28bc3
JJ
40362013-03-14 Jakub Jelinek <jakub@redhat.com>
4037
4038 PR tree-optimization/53265
4039 * unwind-dw2.c (execute_cfa_program): Avoid
4040 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4041 on targets with DWARF_FRAME_REGISTERS < 32.
4042
decc676e
OE
40432013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4044
4045 PR target/49880
4046 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4047 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4048
84ea618a
ST
40492013-03-07 Sriraman Tallam <tmsriram@google.com>
4050
4051 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4052 sandybridge processors.
4053
8f6d1c86
OE
40542013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4055
4056 PR target/56529
4057 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4058 inclusion list.
4059
ecdbd01a 40602013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
4061
4062 * config/microblaze/crti.S: Setup stack protection at entry
4063
0b4ce21b
GJL
40642013-03-04 Georg-Johann Lay <avr@gjlay.de>
4065
4066 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4067 (__rotldi3): Shift bytewise if applicable.
4068
b7c3f1ca
JG
40692013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4070
4071 * config/aarch64/sync-cache.c
4072 (__aarch64_sync_cache_range): Silence warnings.
4073
6d65e8f1
CM
40742013-02-25 Catherine Moore <clm@codesourcery.com>
4075
4076 Revert:
4077 2013-02-24 Catherine Moore <clm@codesourcery.com>
4078 Joseph Myers <joseph@codesourcery.com>
4079 Chao-ying Fu <fu@mips.com>
4080
4081 * config/mips/mips16.S: Don't build for microMIPS.
4082 * config/mips/linux-unwind.h: Handle microMIPS frame.
4083 * config/mips/crtn.S (fini, init): New labels.
4084
6941b508
CM
40852013-02-24 Catherine Moore <clm@codesourcery.com>
4086 Joseph Myers <joseph@codesourcery.com>
4087 Chao-ying Fu <fu@mips.com>
4088
4089 * config/mips/mips16.S: Don't build for microMIPS.
4090 * config/mips/linux-unwind.h: Handle microMIPS frame.
4091 * config/mips/crtn.S (fini, init): New labels.
4092
7c422dbb 40932012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 4094 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
4095 as dividend.
4096
110207ad
AM
40972013-02-16 Alan Modra <amodra@gmail.com>
4098
4099 PR target/55431
4100 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4101 (ppc_fallback_frame_state): Always set up save locations for fp
4102 and altivec. Don't bother with non-callee-saved regs, r0-r13
4103 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4104
e68a4ef6
GJL
41052013-02-12 Georg-Johann Lay <avr@gjlay.de>
4106
4107 PR target/54222
4108 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4109 _ssmulHA, _ssmulSA.
4110 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4111 _ssmulha3, _usmulusa3, _ssmulsa3.
4112 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4113 (__muldi3): XCALL __muldi3_6 instead of rcall.
4114 (__umulsidi3, __mulsidi3): New functions.
4115 (do_prologue_saves, do_epilogue_restores): New .macros.
4116 (__divdi3_moddi3): Use them.
4117 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4118 (__usmulusa3, __ssmulsa3): New functions.
4119
6c59ffd1
IS
41202013-02-11 Iain Sandoe <iain@codesourcery.com>
4121 Jack Howarth <howarth@bromo.med.uc.edu>
4122 Patrick Marlier <patrick.marlier@gmail.com>
4123
4124 PR libitm/55693
4125 * config/darwin-crt-tm.c: Remove dummy functions hack.
4126
85d768f3
GJL
41272013-02-08 Georg-Johann Lay <avr@gjlay.de>
4128
4129 PR target/54222
4130 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4131 * config/avr/lib2-object.mk: New iterator to build objects from it.
4132 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4133 lib2funcs.c.
4134 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4135 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4136 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4137 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4138 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4139 * config/avr/lib1funcs-fixed.S: Implement them.
4140
5d5bf775
RS
41412013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4142
4143 Update copyright years.
4144
99113dff
DE
41452013-02-01 David Edelsohn <dje.gcc@gmail.com>
4146
4147 PR target/54601
4148 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4149 Add crtcxa to extra_parts.
4150 * config/rs6000/exit.h: New file.
4151 * config/rs6000/cxa_atexit.c: New file.
4152 * config/rs6000/cxa_finalize.c: New file.
4153 * config/rs6000/crtcxa.c: New file.
4154 * config/rs6000/t-aix-cxa: New file.
4155 * config/rs6000/libgcc-aix-cxa.ver: New file.
4156
dbdbd982
NC
41572013-01-31 Nick Clifton <nickc@redhat.com>
4158
4159 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4160 variant.
4161
5893f158
GJL
41622013-01-29 Georg-Johann Lay <avr@gjlay.de>
4163
4164 PR target/54222
4165 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4166 _mulQQ, _mulHQ, _mulHA, _mulSA,
4167 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4168 _divQQ, _divHQ, _divHA, _divSA,
4169 _divUQQ, _divUHQ, _divUHA, _divUSA.
4170
ecdbd01a 41712013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 4172
dbdbd982 4173 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
4174 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4175 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4176 to exclude functions from being built with libgcc.c and use
4177 the microblaze assembly.
4178
ecdbd01a 41792013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
4180
4181 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4182 extra_parts.
4183
922c57d1
YZ
41842013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
4185
4186 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4187 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4188 __UINTPTR_TYPE__; also cast 'base' to the same type before the
4189 alignment operation.
4190
e0f8b6a0
SN
41912013-01-15 Sofiane Naci <sofiane.naci@arm.com>
4192
4193 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4194 loop start address for cache clearing.
4195
00892272
GJL
41962013-01-14 Georg-Johann Lay <avr@gjlay.de>
4197
4198 * config/avr/lib1funcs.S: Remove trailing blanks.
4199 * config/avr/lib1funcs-fixed.S: Ditto.
4200
e59ec5fd
GJL
42012013-01-14 Georg-Johann Lay <avr@gjlay.de>
4202
4203 * config/avr/avr-lib.h: Add GPL copyright notice.
4204
3ffc1958
GJL
42052013-01-14 Georg-Johann Lay <avr@gjlay.de>
4206
4207 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4208 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4209 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4210 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4211
25c210f9
MK
42122013-01-07 Mark Kettenis <kettenis@openbsd.org>
4213
4214 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4215 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 4216
db59befb
NC
42172013-01-04 Nick Clifton <nickc@redhat.com>
4218
4219 * config/v850/lib1funcs.S: Only provide CALLT support functions if
4220 the CALLT instruction is supported.
4221
5aa12dbf
JW
42222012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4223
4224 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4225 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4226
65f14117
JT
42272012-12-13 John Tytgat <John@bass-software.com>
4228
4229 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4230 is 25.
4231
ee3ae4f7
JJ
42322012-12-12 Jakub Jelinek <jakub@redhat.com>
4233
4234 PR libgcc/55451
4235 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4236 undefined signed overflows.
4237
2fcfba3d
UB
42382012-12-09 Uros Bizjak <ubizjak@gmail.com>
4239
4240 PR target/55344
4241 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4242
4f2b3dc2
UB
42432012-12-06 Uros Bizjak <ubizjak@gmail.com>
4244
4245 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4246 (FP_TRAPPING_EXCEPTIONS): Define.
4247 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4248 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4249
066161a2
RH
42502012-12-04 Richard Henderson <rth@redhat.com>
4251
4252 PR bootstrap/55571
4253 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4254
7d296953 42552012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 4256
4f2b3dc2 4257 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
4258 (FP_EX_SHIFT): Define.
4259 (FP_TRAPPING_EXCEPTIONS): Define.
4260
7d296953 42612012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
4262
4263 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4264 (FP_ROUNDMODE): Use FP_RND_MASK.
4265 * config/aarch64/sfp-exceptions.c: New.
4266 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4267 Use __sfp_handle_exceptions.
4268
5005fe22
RE
42692012-12-04 Richard Earnshaw <rearnsha@arm.com>
4270
4271 * config.host: (arm*-*-freebsd*): Remove.
4272 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4273 (arm*-*-elf*): Remove.
4274 (arm*-*-wince-pe*): Remove.
4275 * arm/unwind-arm.c (struct fpa_reg): Delete.
4276 (struct fpa_regs): Delete.
4277 (phase1_vrs): Remove fpa element.
4278 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4279 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4280 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4281 * ieee754-sf.S (floatundisf): Remove FPA support.
4282 (floatdisf): Likewise.
4283 * ieee75f-df.S (floatundidf): Likewise.
4284 (floatdidf): Likewise.
4285
e5a81c8e
KT
42862012-11-29 Kai Tietz <ktietz@redhat.com>
4287
4288 PR target/55445
4289 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4290 * unwind-generic.h: Likewise.
4291 * unwind-seh.c: Likewise.
4292
f4919e4a
RH
42932012-11-28 Richard Henderson <rth@redhat.com>
4294
4295 PR libgcc/48076
4296 * emutls.c (__emutls_get_address): Avoid race condition between
4297 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 4298
e13d9d5a
GJL
42992012-11-22 Georg-Johann Lay <avr@gjlay.de>
4300
4301 Adjust decimal point of signed accum mode to GCC default.
4302
4303 PR target/54222
4304 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4305 _divqq_helper.
4306 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4307 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4308 (__mulha3, __mulsa3)
4309 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
4310 decimal point of signed accum types.
4311
e13d9d5a
GJL
4312 (__mulusa3_round): New function.
4313 (__mulusa3): Use it.
4314 (__divqq_helper): New function.
4315 (__udivuqq3): Use it.
4316
1b845c6e
JJ
43172012-11-20 Jakub Jelinek <jakub@redhat.com>
4318
4319 PR bootstrap/55370
4320 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4321
822a258a
TJ
43222012-11-18 Teresa Johnson <tejohnson@google.com>
4323
4324 PR bootstrap/55051
4325 * libgcov.c (gcov_exit): Remove merged program summary
4326 comparison unless !GCOV_LOCKED.
4327
7d296953 43282012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
4329
4330 * soft-fp: Updated from glibc upstream.
4331
e808687a
ILT
43322012-11-06 Ian Lance Taylor <iant@google.com>
4333
4334 * generic-morestack.c (__generic_morestack): Align the returned
4335 stack pointer to a 32 byte boundary.
4336 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4337 increment the return address until we have decided that we don't
4338 have a varargs function.
4339 (__morestack) [32-bit]: Align stack correctly when calling C
4340 functions.
4341 (__morestack) [64-bit]: Likewise.
4342
460277e0
TS
43432012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4344
4345 * configure: Regenerate.
4346
73edb277
UB
43472012-11-02 Uros Bizjak <ubizjak@gmail.com>
4348
4349 PR target/55175
4350 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4351 * config/i386/sfp-machine.h: Guard exception handling
4352 code with _SOFT_FLOAT.
4353 * config/i386/32/sfp-machine.h: Guard rounding handling
4354 code with _SOFT_FLOAT.
4355 * config/i386/64/sfp-machine.h: Ditto.
4356
c1d4fa04
JS
43572012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
4358
4359 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4360 as extra_parts.
4361
eff6ca85
UB
43622012-10-26 Uros Bizjak <ubizjak@gmail.com>
4363
4364 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4365 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
4366 when appropriate. Correct structure element types.
4367 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4368 -minline-all-stringops from compile flags.
4369
7d296953 43702012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
4371
4372 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4373
7d296953 43742012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 4375
eff6ca85 4376 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 4377
6f288860
SH
43782012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4379
4380 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4381 tmake_file.
4382
1e3d5096
IB
43832012-10-23 Ian Bolton <ian.bolton@arm.com>
4384 Jim MacArthur <jim.macarthur@arm.com>
4385 Marcus Shawcroft <marcus.shawcroft@arm.com>
4386 Nigel Stephens <nigel.stephens@arm.com>
4387 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4388 Richard Earnshaw <rearnsha@arm.com>
4389 Sofiane Naci <sofiane.naci@arm.com>
4390 Stephen Thomas <stephen.thomas@arm.com>
4391 Tejas Belagod <tejas.belagod@arm.com>
4392 Yufeng Zhang <yufeng.zhang@arm.com>
4393
4394 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4395 * config/aarch64/crti.S: New file.
4396 * config/aarch64/crtn.S: New file.
4397 * config/aarch64/linux-unwind.h: New file.
4398 * config/aarch64/sfp-machine.h: New file.
4399 * config/aarch64/sync-cache.c: New file.
4400 * config/aarch64/t-aarch64: New file.
4401 * config/aarch64/t-softfp: New file.
4402
8a740f07
HPN
44032012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
4404
4405 * config/mmix/crti.S: Mark program and data addresses using PRELD.
4406 Remove typo'd and unnecessary alignment-LOC for .data. Remove
4407 no-longer-needed LDBU insns.
4408
7d296953 44092012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
4410
4411 * config.host
4412 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4413 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4414
595fefee
MGD
44152012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4416
4417 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4418
9945a876
MK
44192012-10-15 Matthias Klose <doko@ubuntu.com>
4420
4421 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4422
1183dc2c
PC
44232012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
4424
4425 * configure: Regenerate.
4426 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4427
945a9c1f
UB
44282012-10-10 Uros Bizjak <ubizjak@gmail.com>
4429
4430 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4431 instructions for 64bit targets only.
4432
fb8bf47a
UB
44332012-10-10 Uros Bizjak <ubizjak@gmail.com>
4434
4435 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4436 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4437 * config/i386/32/sfp-machine.h: ... here.
4438 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4439 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4440 New defines.
4441
acb72498
MK
44422012-10-07 Matthias Klose <doko@ubuntu.com>
4443
4444 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4445 as unused.
4446 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4447
8eaee0f0
MK
44482012-10-06 Mark Kettenis <kettenis@openbsd.org>
4449
4450 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4451 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4452 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4453 (ElfW): Likewise.
4454
5e3e4fe8
JW
44552012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
4456
4457 PR other/53889
4458 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4459 Fix parameter names.
4460
86086376
OE
44612012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
4462
4463 PR target/33135
4464 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4465 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4466 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4467
9597375a
OE
44682012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
4469
4470 PR target/50457
4471 * config/sh/linux-atomic.S: Delete.
4472 * config/sh/linux-atomic.c: New.
4473 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4474 linux-atomic.c. Add cflags to disable warnings.
4475
1504e3e1
JW
44762012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4477
4478 PR other/53889
4479 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4480 function.
4481 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4482 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4483 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4484 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
4485 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4486 Likewise.
1504e3e1
JW
4487 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4488 Likewise.
4489 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4490 Likewise.
4491 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4492 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4493
17f293b0
MK
44942012-09-19 Mark Kettenis <kettenis@openbsd.org>
4495
9597375a
OE
4496 * config.host (hppa-*-openbsd*): New target.
4497 * config/pa/t-openbsd: New file.
17f293b0 4498
51526856
GJL
44992012-09-15 Georg-Johann Lay <avr@gjlay.de>
4500
4501 PR target/54222
4502 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4503 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4504 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4505 (__divsa3): Use __negsi2 to negate r_quoL.
4506 * config/avr/lib1funcs.S (FALIAS): New macro.
4507 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4508 (__negsi2): ...this new function.
4509 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4510 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4511 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4512 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4513 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4514 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4515
aadb5b43
OE
45162012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
4517
4518 PR target/54089
4519 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4520 (lshrsi3): Reimplement as lshrsi3_r0.
4521
d5d66749
AS
45222012-09-10 Andreas Schwab <schwab@linux-m68k.org>
4523
4524 PR target/46191
4525 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4526 of libgcc.a.
4527
c6c36e73
TJ
45282012-09-07 Teresa Johnson <tejohnson@google.com>
4529
9597375a 4530 PR gcov-profile/54487
c6c36e73 4531 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 4532 differences.
c6c36e73 4533
b588ae30
GJL
45342012-09-05 Georg-Johann Lay <avr@gjlay.de>
4535
4536 PR target/54461
4537 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4538 not configured --with-avrlibc=no.
4539 * config/avr/t-avrlibc: New file.
4540 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4541 (DPBIT_FUNCS): Ditto.
4542 (TPBIT_FUNCS): Ditto.
4543
abd16fb1
TJ
45442012-09-04 Teresa Johnson <tejohnson@google.com>
4545
4546 * libgcov.c (struct gcov_summary_buffer): New structure.
4547 (gcov_histogram_insert): New function.
4548 (gcov_compute_histogram): Ditto.
4549 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4550 histograms during summary merging.
4551
613061fd
MK
45522012-09-01 Mark Kettenis <kettenis@openbsd.org>
4553
4554 * config.host (x86_64-*-openbsd*): New target.
73edb277 4555
867a8345
CLT
45562012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4557
4558 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4559 attribute.
4560
4aeaaca3
GJL
45612012-08-24 Georg-Johann Lay <avr@gjlay.de>
4562
4563 PR target/54222
4564 * config/avr/t-avr (conv_X): Rename to func_X.
4565
e55e4056
GJL
45662012-08-24 Georg-Johann Lay <avr@gjlay.de>
4567
4568 PR target/54222
4569 * config/avr/lib1funcs-fixed.S: New file.
4570 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
4571 after they are used.
4572 (neg2, neg4): New macros.
4573 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4574 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4575 (__umulhisi3): Speed up MUL variant if there is enough flash.
4576 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4577 avr-modes.def.
4578 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4579 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4580 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4581 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4582 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4583 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4584 (LIB2FUNCS_EXCLUDE): Add supported functions.
4585
a147b6d2
GJL
45862012-08-22 Georg-Johann Lay <avr@gjlay.de>
4587
4588 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4589 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4590 libgcc-s-objects.
4591 * fixed-obj.mk: Only expand dependency if $o is not in
4592 LIB2FUNCS_EXCLUDE.
4593
c637141a
L
45942012-08-22 H.J. Lu <hongjiu.lu@intel.com>
4595
4596 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4597
130e00bd
JM
45982012-08-22 Joseph Myers <joseph@codesourcery.com>
4599
4600 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4601 depend on --enable-shared.
4602 ($(lib1asmfuncs-o)): Use %.vis files independent of
4603 --enable-shared.
4604 * static-object.mk ($(base)$(objext), $(base).vis)
4605 ($(base)_s$(objext)): Use same rules for visibility handling as in
4606 shared-object.mk.
4607
4b1b3788
ILT
46082012-08-21 Ian Lance Taylor <iant@google.com>
4609
4610 * config/i386/morestack.S (__morestack_non_split): Increase amount
4611 of space allocated for non-split code stack.
4612
d2468141
JM
46132012-08-19 Joseph Myers <joseph@codesourcery.com>
4614
4615 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4616 even if inhibit_libc.
4617
a508e1a8
JB
46182012-08-17 Julian Brown <julian@codesourcery.com>
4619
4620 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4621 -fexceptions -fnon-call-exceptions if not defined.
4622 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4623 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4624
5615a07d
AS
46252012-08-17 Andreas Schwab <schwab@linux-m68k.org>
4626
4627 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4628 type.
4629
138f5acd
DE
46302012-08-16 David Edelsohn <dje.gcc@gmail.com>
4631
4632 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4633 rs6000/t-slibgcc-aix.
4634
18efc0dd
SB
46352012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4636
4637 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4638
6b39bc38
SB
46392012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4640
4641 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4642
cd25dea0
L
46432012-08-03 H.J. Lu <hongjiu.lu@intel.com>
4644
4645 PR driver/54171
4646 * Makefile.in (version): Replace top_srcdir with srcdir.
4647
a3dda30b
JY
46482012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
4649
4650 * Makefile.in (version): set to BASE-VER file from gcc directory.
4651
d04aacfc
NC
46522012-08-01 Nick Clifton <nickc@redhat.com>
4653
4654 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4655 Implements __clrsb for an HImode argument.
4656
0d13c974
NC
46572012-07-31 Nick Clifton <nickc@redhat.com>
4658
4659 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4660 Implements __clrsb for an HImode argument.
4661 * config/stormy16/clrsbhi2.c: New file:
4662 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4663
efbb59b2
SB
46642012-07-22 Steven Bosscher <steven@gcc.gnu.org>
4665
4666 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4667
bf1431e3
TG
46682012-07-19 Tristan Gingold <gingold@adacore.com>
4669 Richard Henderson <rth@redhat.com>
4670
4671 * unwind-seh.c: New file.
4672 * unwind-generic.h: Include windows.h for SEH.
4673 (_Unwind_Exception): Use 6 private fields for SEH.
4674 (_GCC_specific_handler): Declare.
4675 * unwind-c.c (__gcc_personality_seh0): New function.
4676 Adjust for SEH.
4677 * config/i386/libgcc-cygming.ver: New file.
4678 * config/i386/t-seh-eh: New file.
4679 * config.host (x86_64-*-mingw*): Default to seh.
4680
659140c8
SB
46812012-07-14 Steven Bosscher <steven@gcc.gnu.org>
4682
4683 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4684
a20d08fd
UB
46852012-06-17 Uros Bizjak <ubizjak@gmail.com>
4686
4687 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4688 __builtin_expect when checking for exceptions.
4689 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4690
79261115
UB
46912012-06-13 Uros Bizjak <ubizjak@gmail.com>
4692
4a172156
UB
4693 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4694 function declaration.
4695 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4696 (FP_RND_MASK): New.
4697 * config/ia64/sfp-exceptions.c: New.
4698 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 4699
bb5c97d4
UB
47002012-06-13 Uros Bizjak <ubizjak@gmail.com>
4701
4702 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4703 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4704 * config/i386/64/sfp-machine: ... (delete here) ...
4705 * config/i386/sfp-machine.h: ... to here.
4706 (FP_EX_MASK): Remove.
4707 (FP_RND_MASK): New.
4708 (FP_INIT_ROUNDMODE): Declare asm as volatile.
4709
91fe5efb
ST
47102012-06-11 Sriraman Tallam <tmsriram@google.com>
4711
4712 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4713 * config/i386/libgcc-sol2.ver: Ditto.
4714 * config/i386/libgcc-glibc.ver: Ditto.
4715
67a218c5
RM
47162012-06-11 Roland McGrath <mcgrathr@google.com>
4717
4718 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4719 If __GLIBC__ is defined, refer to __pthread_key_create instead of
4720 pthread_cancel.
4721
492fbea1
UB
47222012-06-09 Uros Bizjak <ubizjak@gmail.com>
4723
4724 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4725 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4726 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4727 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4728 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4729 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4730 * config/i386/64/sfp-machine: ... (delete here) ...
4731 * config/i386/sfp-machine.h: ... to here.
4732 (FP_EX_MASK): New.
4733 (__sfp_handle_exceptions): New function declaration.
4734 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4735 * config/i386/sfp-exceptions.c: New.
4736 * config/i386/t-softfp: New.
4737 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4738 i386/t-softfp to tmake_file.
4739
7b4cf266
DM
47402012-06-03 David S. Miller <davem@davemloft.net>
4741
4742 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4743 change.
4744
0de0d5c6
DM
47452012-05-31 David S. Miller <davem@davemloft.net>
4746
4747 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4748 multiply and divide instructions on 32-bit when V9.
4749 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4750
d8c9d391
JM
47512012-05-29 Joseph Myers <joseph@codesourcery.com>
4752
4753 * config/arm/ieee754-df.S: Fix typos.
4754 * config/arm/ieee754-sf.S: Fix typos.
4755 * config/c6x/libunwind.S: Fix typos.
4756 * config/epiphany/udivsi3-float.c: Fix typos.
4757 * config/microblaze/muldi3_hard.S: Fix typos.
4758 * config/picochip/adddi3.S: Fix typos.
4759 * config/picochip/ashlsi3.S: Fix typos.
4760 * config/picochip/ashrsi3.S: Fix typos.
4761 * config/picochip/clzsi2.S: Fix typos.
4762 * config/picochip/cmpsi2.S: Fix typos.
4763 * config/picochip/divmod15.S: Fix typos.
4764 * config/picochip/divmodhi4.S: Fix typos.
4765 * config/picochip/divmodsi4.S: Fix typos.
4766 * config/picochip/longjmp.S: Fix typos.
4767 * config/picochip/lshrsi3.S: Fix typos.
4768 * config/picochip/parityhi2.S: Fix typos.
4769 * config/picochip/popcounthi2.S: Fix typos.
4770 * config/picochip/setjmp.S: Fix typos.
4771 * config/picochip/subdi3.S: Fix typos.
4772 * config/picochip/ucmpsi2.S: Fix typos.
4773 * config/picochip/udivmodhi4.S: Fix typos.
4774 * config/picochip/udivmodsi4.S: Fix typos.
4775 * config/spu/divv2df3.c: Fix typos.
4776 * config/spu/mfc_multi_tag_release.c: Fix typos.
4777 * config/spu/mfc_tag_release.c: Fix typos.
4778 * configure.ac: Fix typos.
4779 * configure: Regenerate.
4780
31a18a7e
ILT
47812012-05-25 Ian Lance Taylor <iant@google.com>
4782
4783 * config/i386/morestack.S (__morestack_non_split): Check whether
4784 caller is varargs and needs %bp to hold the stack frame on return.
4785
c5768510
OH
47862012-05-25 Olivier Hainque <hainque@adacore.com>
4787
4788 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4789 sequence in the non pic case on VxWorks.
4790
7c7c339b
OH
47912012-05-24 Olivier Hainque <hainque@adacore.com>
4792
73fb7630 4793 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
4794 "install-leaf" to "install".
4795
fdc1b7d3
OH
47962012-05-24 Olivier Hainque <hainque@adacore.com>
4797
4798 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4799 Use a separate command for stamp removals.
4800
07ba94b9
AP
48012012-05-21 Andrew Pinski <apinski@cavium.com>
4802
4803 PR bootstrap/53183
4804 * configure.ac: Define the default includes to being none.
4805 * configure: Regenerate.
4806
4677d2eb
OH
48072012-05-16 Olivier Hainque <hainque@adacore.com>
4808
4809 * Makefile.in (install-unwind_h): Rename into ...
4810 (install-unwind_h-forbuild): New target.
4811 (all): Use it instead of the former install-unwind_h.
4812 (install-unwind_h): Reinstate, copy to user install destination
4813 for include files, not to the internal gcc object directory one.
4814 (install-leaf): Depend on it.
4815
7d67c380
OH
48162012-05-15 Olivier Hainque <hainque@adacore.com>
4817
4818 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4819 register numbers. LR_REGNO replaces R_LR.
4820 (ucontext_for): New, helper for ...
4821 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4822 and 5.3 of ...
4823 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4824
aca06c90
RO
48252012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4826
4827 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4828 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4829 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4830 i386/t-cpuinfo ...
4831 (i[34567]86-*-*, x86_64-*-*): ... here.
4832
4833 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4834 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4835
4836 * config/i386/i386-cpuinfo.c: Rename to ...
4837 * config/i386/cpuinfo.c: ... this.
4838 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4839
4840 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4841 (libgcc_cv_init_priority): New test.
4842 * configure: Regenerate.
4843 * config.in: New file.
4844 * Makefile.in (clean): Rename config.h to auto-target.h.
4845 (config.h): Likewise.
4846 (stamp-h): Likewise.
4847
4848 * config/i386/cpuinfo.c (auto-target.h): Include.
4849 (CONSTRUCTOR_PRIORITY): Define.
4850 (__cpu_indicator_init): Use it.
4851
0d03ac1b
L
48522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4853
4854 * longlong.h: Use a URL instead of an FSF postal address.
4855 Replace spaces with tab.
4856
4a172156 48572012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
4858
4859 * libgcov.c (gcov_clear, __gcov_reset): New functions.
4860 (__gcov_dump): Ditto.
4861 (gcov_dump_complete): New global variable.
4862 (gcov_exit): Export hidden to enable use in L_gcov_dump.
4863 (__gcov_flush): Outline functionality now in gcov_clear.
4864 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4865
e4bb767e
AJ
48662012-04-28 Aurelien Jarno <aurelien@aurel32.net>
4867
31a18a7e
ILT
4868 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4869 (mips*-*-linux*): Include mips/t-tpbit when long double is
4870 16 bytes long.
e4bb767e 4871
5ddecff9
ST
48722012-04-25 Sriraman Tallam <tmsriram@google.com>
4873
4874 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4875 (get_available_features): New argument. Check for AVX2.
4876 (__cpu_indicator_init): Modify call to get_available_features.
4877
b427dd7a
AM
48782012-04-25 Alan Modra <amodra@gmail.com>
4879
4880 * config/rs6000/crtsavevr.S: New file.
4881 * config/rs6000/crtrestvr.S: New file.
4882 * config/rs6000/t-savresfgpr: Build the above.
4883 * config/rs6000/t-netbsd: Likewise.
4884
ad491329
ST
48852012-04-24 Sriraman Tallam <tmsriram@google.com>
4886
4887 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4888
792317cc
ST
48892012-04-24 Sriraman Tallam <tmsriram@google.com>
4890
4891 * libgcc/config/i386/i386-cpuinfo.c: New file.
4892 * libgcc/config/i386/t-cpuinfo: New file.
4893 * libgcc/config.host: Include t-cpuinfo.
4894 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4895
e1be98a4
CF
48962012-04-24 Chao-ying Fu <fu@mips.com>
4897
4898 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4899
1bde7dab
TS
49002012-04-20 Thomas Schwinge <thomas@codesourcery.com>
4901
4902 struct siginfo vs. siginfo_t
4903
4904 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4905 siginfo_t instead of struct siginfo.
4906 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4907 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4908 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4909 (ia64_handle_unwabi): Likewise.
4910 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4911 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4912 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4913 (sh_fallback_frame_state): Likewise.
4914 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4915 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4916
24590f66
L
49172012-04-02 H.J. Lu <hongjiu.lu@intel.com>
4918
4919 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4920 system call number.
4921
9a9dcce8
EB
49222012-03-31 Eric Botcazou <ebotcazou@adacore.com>
4923
4924 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4925 if it hasn't been previously saved.
4926
6401aaf5
L
49272012-03-29 H.J. Lu <hongjiu.lu@intel.com>
4928
4929 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4930 only for glibc.
4931
7fd6378e
GJL
49322012-03-28 Georg-Johann Lay <avr@gjlay.de>
4933
4934 PR target/52737
4935 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4936 instead of __AVR_HAVE_8BIT_SP__.
4937
9e916de7
TG
49382012-03-26 Tristan Gingold <gingold@adacore.com>
4939
4940 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4941 (unw_table_entry): Use unw_word instead of unsigned long.
4942 (_Unwind_FindTableEntry): Likewise.
4943 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4944 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4945 (_Unwind_FindTableEntry): Likewise.
4946 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4947 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4948 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4949 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4950 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4951 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4952 (uw_init_context_1, uw_install_context): Likewise.
4953 (unw_word): Move to unwind-ia64.h
4954
4b12e93d
TG
49552012-03-26 Tristan Gingold <gingold@adacore.com>
4956
4957 * config/vms/vms-ucrt0.c: Update copyright years.
4958 Add a sanity check.
4959 (___gcc_main_flags): Declare.
4960 (__main): Check flags to remap argv and exit code.
4961 * config.host (*-*-*vms*): Adjust extra_parts.
4962 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4963 (crt0.o): Add.
4964
06ea7371
RE
49652012-03-22 Richard Earnshaw <rearnsha@arm.com>
4966
4967 * arm/lib1funcs.asm (ctzsi2): New function.
4968 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4969 * arm/t-linux (LIB1ASMFUNCS): Likewise.
4970 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4971 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4972 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4973 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4974
d82ad50d
AT
49752012-03-21 Andreas Tobler <andreast@fgznet.ch>
4976
4977 * config.host: Add bits to support powerpc64-*-freebsd*.
4978 * config/rs6000/freebsd-unwind.h: New file.
4979 * config/rs6000/t-freebsd64: New file.
4980
b260a8c0
RG
49812012-03-20 Richard Guenther <rguenther@suse.de>
4982
4983 PR gcov-profile/52627
4984 * libgcov.c (init_mx): Fix mutex name.
4985
86286a8a
TG
49862012-03-16 Tristan Gingold <gingold@adacore.com>
4987
4988 * config/ia64/vms-unwind.h: Remove ulong (and replace
4989 it by unw_reg where used). Define unw_reg with __int64.
4990
7888f266
RO
49912012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4992
4993 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4994 Solaris 8 handling.
4995 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4996 Solaris 8 handling.
4997 (sparc_is_sighandler): Likewise.
4998
f155bc64
L
49992012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5000
5001 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5002 <= saved reg size.
5003
d47657bd
RO
50042012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5005
5006 * config/arm/crtn.S: Fix typo.
5007
5bef73a1
RG
50082012-03-13 Richard Guenther <rguenther@suse.de>
5009
5010 * libgcov.c: Remove stdio.h include and NULL un-define.
5011
9c4271f3
RG
50122012-03-13 Richard Guenther <rguenther@suse.de>
5013
5014 PR target/52569
5015 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5016
c6d10e7c
RG
50172012-03-13 Richard Guenther <rguenther@suse.de>
5018
5019 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5020
074a385f
RG
50212012-03-13 Richard Guenther <rguenther@suse.de>
5022
5023 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5024 and __gthread_mutex_init_function definitions.
5025
c4bc5c25
RO
50262012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5027
5028 * config.host (mips*-*-openbsd*): Remove.
5029
5c30094f
RO
50302012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5031
5032 * config.host: Remove alpha*-dec-osf5.1* handling.
5033 * config/alpha/gthr-posix.c: Remove.
5034 * config/alpha/libgcc-osf5.ver: Remove.
5035 * config/alpha/osf5-unwind.h: Remove.
5036 * config/alpha/t-osf-pthread: Remove.
5037 * config/alpha/t-slibgcc-osf: Remove.
5038 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5039 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5040 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5041 * mkmap-flat.awk: Remove osf_export handling.
5042
33e3e24d
RG
50432012-03-12 Richard Guenther <rguenther@suse.de>
5044
5045 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5046 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5047 (__gthread_mutex_init_function): New function.
5048 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5049
5050 PR gcov/49484
5051 * libgcov.c: Include gthr.h.
5052 (__gcov_flush_mx): New global variable.
5053 (init_mx, init_mx_once): New functions.
5054 (__gcov_flush): Protect self with a mutex.
5055 (__gcov_fork): Re-initialize mutex after forking.
5056 * unwind-dw2-fde.c: Change condition under which to use
5057 __GTHREAD_MUTEX_INIT_FUNCTION.
5058
d8aba32a
TG
50592012-03-12 Tristan Gingold <gingold@adacore.com>
5060
5061 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5062 * config/ia64/t-vms: Likewise.
5063
75ffafdc
MH
50642012-03-11 Michael Hope <michael.hope@linaro.org>
5065
4a172156
UB
5066 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5067 for Thumb-2.
75ffafdc 5068
ef6c2c53
WL
50692012-03-07 Walter Lee <walt@tilera.com>
5070
5071 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5072 "arch_atomic_".
5073 (atomic_xor): Rename and move definition to
5074 config/tilepro/atomic.h.
5075 (atomic_nand): Ditto.
5076 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5077 "arch_atomic_".
5078 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5079 (arch_atomic_nand): Ditto.
5080
4e30d980
GJL
50812012-03-07 Georg-Johann Lay <avr@gjlay.de>
5082
5083 PR target/52507
5084 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5085
61108225
GJL
50862012-03-07 Georg-Johann Lay <avr@gjlay.de>
5087
5088 PR target/52505
5089 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5090 from RAM.
5091
b30e10ab
GJL
50922012-03-07 Georg-Johann Lay <avr@gjlay.de>
5093
5094 PR target/52461
5095 PR target/52508
5096 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5097 if RAMPZ affects reading from RAM.
5098 (__tablejump_elpm__): Ditto.
5099 (.xload): Ditto.
5100 (__movmemx_hi): Ditto.
5101 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5102 (__do_global_dtors): Ditto.
5103 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5104 (__movmemx_hi): Ditto.
5105
8993fde4
RH
51062012-03-05 Richard Henderson <rth@redhat.com>
5107
5108 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5109 [ARM] (count_trailing_zeros): Use the builtin.
5110
b7633ee3
KT
51112012-03-01 Kai Tietz <ktietz@redhat.com>
5112
5113 * soft-fp: Imported from glibc upstream.
5114
fbd3340c
KT
51152012-02-28 Kai Tietz <ktietz@redhat.com>
5116
5117 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5118 for mingw-targets as attribute gcc_struct.
5119
e9e053eb
ILT
51202012-02-28 Ian Lance Taylor <iant@google.com>
5121
5122 * generic-morestack.c (__splitstack_releasecontext): Correct call
5123 to __morestack_release_segments.
5124
d80c632e
ST
51252012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5126
5127 PR target/52390
5128 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5129 for __linux__ when removing signals from __morestack_fullmask.
5130
0253a8b1
GJL
51312012-02-23 Georg-Johann Lay <avr@gjlay.de>
5132
5133 PR target/52261
5134 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5135
e10e461e
UW
51362012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5137
5138 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5139 instead of HAVE_INITFINI_ARRAY.
5140 * config/ia64/crtend.S: Likewise.
5141
0c0c6398
KT
51422012-02-20 Kai Tietz <ktietz@redhat.com>
5143
d7470374
KT
5144 PR libstdc++/52300
5145 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5146
0c0c6398
KT
5147 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5148 to w32-unwind.h header.
5149
78c27266
RS
51502012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5151
5152 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5153 (mips*-*-linux*): Remove t-slibgcc-libgcc.
5154 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5155 * config/mips/mips16.S (__mips16_rdhwr): Delete.
5156
5adeb246
RS
51572012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5158
5159 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5160
672ed313
IS
51612012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5162
5163 PR libitm/52220
5164 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 5165
e948a1fb
IS
51662012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5167 Patrick Marlier <patrick.marlier@gmail.com>
5168
5169 PR libitm/52220
5170 * config/darwin-crt-tm.c: Generate dummy functions.
5171
6017aed3
IS
51722012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5173 Patrick Marlier <patrick.marlier@gmail.com>
5174
5175 PR libitm/52042
5176 * config/darwin-crt-tm.c (getTMCloneTable): New function.
5177 (__doTMRegistrations): Call it.
e9e053eb 5178 (__doTMdeRegistrations): Likewise.
6017aed3 5179
2da8c1ad 51802012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
5181 Anatoly Sokolov <aesok@post.ru>
5182 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
5183
5184 PR target/52261
5185 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5186 (__epilogue_restores__): Ditto.
5187
0f952eb4
EB
51882012-02-15 Eric Botcazou <ebotcazou@adacore.com>
5189
5190 PR target/51921
5191 PR target/52205
5192 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5193 Solaris 11 and slightly reformat.
5194 (sparc_is_sighandler): Likewise.
5195
dd552284
WL
51962012-02-14 Walter Lee <walt@tilera.com>
5197
5198 * config.host: Handle tilegx and tilepro.
5199 * config/tilegx/sfp-machine.h: New file.
5200 * config/tilegx/sfp-machine32.h: New file.
5201 * config/tilegx/sfp-machine64.h: New file.
5202 * config/tilegx/t-crtstuff: New file.
5203 * config/tilegx/t-softfp: New file.
5204 * config/tilegx/t-tilegx: New file.
5205 * config/tilepro/atomic.c: New file.
5206 * config/tilepro/atomic.h: New file.
5207 * config/tilepro/linux-unwind.h: New file.
5208 * config/tilepro/sfp-machine.h: New file.
5209 * config/tilepro/softdivide.c: New file.
5210 * config/tilepro/softmpy.S: New file.
5211 * config/tilepro/t-crtstuff: New file.
5212 * config/tilepro/t-tilepro: New file.
5213
b59cbd50
JW
52142012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
5215
5216 PR libstdc++/51296
5217 PR libstdc++/51906
5218 * gthr-posix.h: Allow static initializer macros to be disabled.
5219 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5220
6caf807f
CLT
52212012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5222
5223 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5224 Add t-slibgcc-libgcc to tmake_file.
5225 * config/mips/libgcc-mips16.ver: Revert previous patch.
5226 * config/mips/mips16.S (__mips16_rdhwr): Hide.
5227
7d296953
JJ
52282012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5229 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
5230
5231 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5232 * config/cr16/crti.S: New file.
5233 * config/cr16/crtlibid.S: New file.
5234 * config/cr16/crtn.S: New file.
5235 * config/cr16/lib1funcs.S: New file.
5236 * config/cr16/t-cr16: New file.
5237 * config/cr16/t-crtlibid: New file.
5238 * config/cr16/unwind-dw2.h: New file.
5239 * config/cr16/unwind-cr16.c: New file.
5240 * config/cr16/divmodhi3.c: New file.
5241
8ef03aa7
AM
52422012-01-25 Alan Modra <amodra@gmail.com>
5243
5244 * config/rs6000/t-linux64: Delete. Move..
5245 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5246 * config/rs6000/t-linux: ..and libgcc flags to here.
5247
daecebc8
DR
52482012-01-22 Douglas B Rupp <rupp@gnat.com>
5249
5250 * config.host (i[34567]86-*-interix3*):
8ef03aa7 5251 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
5252 * configure: Regenerate.
5253
ddaf8125
RS
52542012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
5255 Richard Sandiford <rdsandiford@googlemail.com>
5256
5257 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5258 * config/mips/mips16.S (__mips16_rdhwr): New function.
5259 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5260
2cd8b32c
NS
52612012-01-11 Nathan Sidwell <nathan@acm.org>
5262
5263 * libgcov.c (__gcov_init): Ignore objects with no functions.
5264
cba300dd
GJL
52652012-01-10 Georg-Johann Lay <avr@gjlay.de>
5266
5267 PR target/49868
5268 Extend __pgmx semantics to linearize memory.
5269 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5270 * config/avr/lib1funcs.S (__xload_1): New function.
5271 (__movmemx_qi, __movmemx_hi): New functions.
5272 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5273 semantics.
9ffaf4bc 5274
3d137660
EB
52752012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5276
5277 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5278 purported sigacthandler address isn't null before dereferencing it.
5279 (sparc_is_sighandler): Likewise.
5280
bf4db96c
EB
52812012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5282
5283 PR ada/41929
5284 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5285 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
5286 (sparc_is_sighandler): Likewise.
5287 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5288
1ab3568b
TG
52892012-01-06 Tristan Gingold <gingold@adacore.com>
5290
5291 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5292 compatibility thunks...
5293 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5294 (crtbeginS.o, crtendS.o): ... and these to ...
5295 * config/ia64/t-ia64-elf: ... this new file.
5296 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5297 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5298
925b0ed8
AK
52992012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5300
5301 * configure: Regenerate.
5302 * config/s390/t-crtstuff: Remove -fPIC.
5303
a99ad737
JW
53042012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5305
5306 PR bootstrap/51006
5307 * enable-execute-stack-mprotect.c (getpagesize): Do not define
5308 for NetBSD.
5309
884f56d1
GJL
53102012-01-02 Georg-Johann Lay <avr@gjlay.de>
5311
5312 PR target/51345
5313 * config/avr/lib1funcs.S: Remove FIXME comments.
5314 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5315
8c57e547
GJL
53162012-01-02 Georg-Johann Lay <avr@gjlay.de>
5317
5318 Implement light-weight DImode support.
5319 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5320 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5321 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5322 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5323
04dbc287
NS
53242011-12-30 Nathan Sidwell <nathan@acm.org>
5325
5326 * libgcov.c (gcov_crc32): Remove global var.
5327 (free_fn_data): New function.
5328 (buffer_fn_data): Pass in filename, more robust error recovery.
5329 (crc32_unsigned): New function.
5330 (gcov_exit): More robust detection of new program. More robust
5331 error recovery.
5332 (__gcov_init): Do not update program's crc here.
5333
8e1d97d4
TG
53342011-12-21 Tristan Gingold <gingold@adacore.com>
5335
5336 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5337
9ffaf4bc
ILT
53382011-12-21 Ian Lance Taylor <iant@google.com>
5339
5340 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5341
a0c8d0c1
ILT
53422011-12-20 Ian Lance Taylor <iant@google.com>
5343
5344 * config/i386/morestack.S (__morestack_non_split): If there is
5345 enough stack space already, don't split. Ask for more stack space
5346 than we required.
5347
69048898
SDJ
53482011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
5349
5350 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5351 `sys/sdt.h'.
5352 (_Unwind_DebugHook): New function.
5353 (uw_restore_core_regs): New define.
5354 (unwind_phase2): Use uw_restore_core_regs instead of
5355 restore_core_regs.
5356 (unwind_phase2_forced): Likewise.
5357 (__gnu_Unwind_Resume): Likewise.
5358
1bb4b6a3
UB
53592011-12-20 Uros Bizjak <ubizjak@gmail.com>
5360
5361 * config/alpha/linux-unwind.h: Update copyright years.
5362 (MD_FROB_UPDATE_CONTEXT): New define.
5363 (alpha_frob_update_context): New function.
5364
eb028768
RS
53652011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
5366
5367 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5368 tmake_file rather replacing it.
5369
6a2045bf
IS
53702011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5371
5372 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 5373 function is not used for PPC64.
6a2045bf
IS
5374 (save_world): Amend comments. Update the VRsave mask to reflect the
5375 saved regs.
5376 (rest_world): Update comments, do not clobber r10, do not use r8.
5377 (eh_rest_world_r10): Amend comments, do not use r8.
5378 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5379 no longer used, move restore of CR and target address to the end of
5380 the routine.
5381
a13780a6
L
53822011-12-14 H.J. Lu <hongjiu.lu@intel.com>
5383
5384 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5385 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5386
d7288dfb
GJL
53872011-12-14 Georg-Johann Lay <avr@gjlay.de>
5388
5389 PR target/49313
5390 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5391 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5392
8d2c862d
EB
53932011-12-11 Eric Botcazou <ebotcazou@adacore.com>
5394
5395 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5396
3447cae6
GJL
53972011-12-09 Georg-Johann Lay <avr@gjlay.de>
5398
5399 PR target/49313
5400 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5401 * config/avr/lib1funcs.S (__muldi3): New function.
5402
806fc6aa
AP
54032011-12-06 Andrew Pinski <apinski@cavium.com>
5404
5405 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5406 size of func_ptr.
5407 (__frame_dummy_init_array_entry): Likewise.
5408
28c5e6b5
GJL
54092011-12-06 Georg-Johann Lay <avr@gjlay.de>
5410
5411 Forward-port from gcc-4_6-branch r181936 2011-12-02.
5412
5413 PR target/51345
5414 PR target/51002
5415 * config/avr/lib1funcs.S (__prologue_saves__,
5416 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5417 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
5418
8f90394a
IS
54192011-12-04 Iain Sandoe <iains@gcc.gnu.org>
5420
5421 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5422
06dd33ac
JDA
54232011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5424
5425 PR other/51272
5426 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5427 (_ITM_deregisterTMCloneTable): Likewise.
5428 (__register_frame_info): Fix unused warning.
5429 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5430 pthread_default_stacksize_np): Likewise.
5431 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 5432
85b8555e
DD
54332011-11-29 DJ Delorie <dj@redhat.com>
5434
5435 * config.host (rl78-*-elf): New case.
5436 * config/rl78: New directory for the Renesas RL78.
5437
4d5ae4ea
BS
54382011-11-29 Bernd Schmidt <bernds@codesourcery.com>
5439
5440 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
5441 formatting.
5442
f9c55897
RO
54432011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5444
5445 PR other/51022
5446 * config/rs6000/t-savresfgpr: New file.
5447 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5448 $(srcdir)/config/rs6000/eabi.S.
5449 * config/rs6000/t-ppccomm-ldbl: Remove.
5450 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5451 tmake_file.
5452 (powerpc-*-eabispe*): Likewise.
5453 (powerpc-*-eabi*): Likewise.
5454 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5455 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5456 to tmake_file, remove rs6000/t-ppccomm-ldbl.
5457 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5458 tmake_file.
5459 (powerpc-*-eabisim*): Likewise.
5460 (powerpc-*-elf*): Likewise.
5461 (powerpc-*-eabialtivec*): Likewise.
5462 (powerpc-xilinx-eabi*): Likewise.
5463 (powerpc-*-rtems*): Likewise.
5464 (powerpcle-*-elf*): Likewise.
5465 (powerpcle-*-eabisim*): Likewise.
5466 (powerpcle-*-eabi*): Likewise.
5467
a01207c4
ILT
54682011-11-27 Ian Lance Taylor <iant@google.com>
5469
5470 * generic-morestack.c (__splitstack_find): Check for NULL old
5471 stack value.
5472 (__splitstack_resetcontext): New function.
5473 (__splitstack_releasecontext): New function.
5474 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5475
2b0b8ab2
IS
54762011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5477
5478 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5479
c1d8101c
IS
54802011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5481
5482 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5483
8b281334
RH
54842011-11-26 Richard Henderson <rth@redhat.com>
5485
5486 * config/m68k/linux-atomic.c: New file.
5487 * config/m68k/t-linux: New file.
5488 * config.host (m68k-uclinux, m68k-linux): Use it.
5489
7546aa9d
RH
54902011-11-26 Richard Henderson <rth@redhat.com>
5491
5492 * crtstuff.c (__TMC_LIST__): Mark used not unused.
5493 (__TMC_END__): Only declare if hidden is available; in the definition,
5494 if hidden is unavailable add a null record.
5495 (deregister_tm_clones, register_tm_clones): New.
5496 (__do_global_dtors_aux, frame_dummy): Use them.
5497 (__do_global_dtors, __do_global_ctors_1): Likewise.
5498
e2362f5d
IS
54992011-11-22 Iain Sandoe <iains@gcc.gnu.org>
5500
5501 * config/darwin-crt-tm.c: New file.
5502 * config.host (darwin): Build crttms.o crttme.o to provide
5503 startup and shutdown for tm clones.
5504 * config/t-darwin (crttms.o): New build rule.
5505 (crttme.o): Likewise.
5506
6685dd96
HPN
55072011-11-21 Hans-Peter Nilsson <hp@axis.com>
5508
5509 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5510 et al.
5511
b0dc7e4c
RH
55122011-11-21 Richard Henderson <rth@redhat.com>
5513
5514 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5515 (__TMC_LIST__, __TMC_END__): New.
5516 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5517 (__do_global_dtors): Likewise.
5518 (frame_dummy): Call _ITM_registerTMCloneTable.
5519 (__do_global_ctors_1): Likewise.
5520
d4b4b542
RO
55212011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5522
5523 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5524 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5525 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5526 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5527 * config/i386/t-darwin64: Remove.
5528 * config/sh/t-netbsd (LIB2ADD): Remove.
5529
989bdb74
GJL
55302011-11-21 Georg-Johann Lay <avr@gjlay.de>
5531
5532 PR target/49313
5533 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5534 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5535 * config/avr/lib1funcs.S (wmov): New assembler macro.
5536 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5537 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5538 (__udivmod64): New function.
5539 (__negdi2): New function.
5540
515a0cfc
GP
55412011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5542
5543 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5544 *-*-freebsd*aout*): Remove.
5545
0115d17f
HPN
55462011-11-20 Hans-Peter Nilsson <hp@axis.com>
5547
5548 * static-object.mk (c_flags-$o): Save c_flags.
5549 ($(base)$(objext)): Use it.
5550
93aeb62b
SE
55512011-11-18 Steve Ellcey <sje@cup.hp.com>
5552
5553 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5554
7bc6df2c
GJL
55552011-11-18 Georg-Johann Lay <avr@gjlay.de>
5556
5557 PR target/49868
5558 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5559 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5560 New functions.
5561
425d737b
MGD
55622011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5563
5564 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5565 functions.
1bb4b6a3 5566 (aeabi_uidivmod): Likewise.
425d737b
MGD
5567 (umodsi3): Likewise.
5568 (divsi3): Likewise.
5569 (aeabi_idivmod): Likewise.
5570 (modsi3): Likewise.
5571
f2a176dc
TG
55722011-11-16 Tristan Gingold <gingold@adacore.com>
5573
5574 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5575
7c209481
GJL
55762011-11-15 Georg-Johann Lay <avr@gjlay.de>
5577
5578 PR target/49868
5579 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
5580 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5581
9dfd5832
JDA
55822011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5583
5584 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5585 tmake_file list.
5586 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5587 * config/pa/t-stublib64: Delete.
5588
f77dca5d
RH
55892011-11-12 Richard Henderson <rth@redhat.com>
5590
5591 * config/rs6000/linux-unwind.h (frob_update_context): Properly
5592 cast the pointer argument to _Unwind_SetGRPtr.
5593
902828f0
RO
55942011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5595
5596 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5597
e14304ef
ILT
55982011-11-09 Ian Lance Taylor <iant@google.com>
5599
5600 * generic-morestack.c: Include <string.h>.
5601 (uintptr_type): Define.
5602 (struct initial_sp): Add dont_block_signals field. Reduce size of
5603 extra array by 1.
5604 (allocate_segment): Set prev field to NULL. Don't set
5605 __morestack_current_segment or __morestack_segments.
5606 (__generic_morestack): Update current->prev and *pp after calling
5607 allocate_segment.
5608 (__morestack_block_signals): Don't do anything if
5609 dont_block_signals is set.
5610 (__morestack_unblock_signals): Likewise.
5611 (__generic_findstack): Check for initial_sp == NULL. Add casts to
5612 uintptr_type.
5613 (__splitstack_block_signals): New function.
5614 (enum __splitstack_content_offsets): Define.
5615 (__splitstack_getcontext, __splitstack_setcontext): New functions.
5616 (__splitstack_makecontext): New function.
5617 (__splitstack_block_signals_context): New function.
5618 (__splitstack_find_context): New function.
5619 * config/i386/morestack.S (__morestack_get_guard): New function.
5620 (__morestack_set_guard, __morestack_make_guard): New functions.
5621 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5622
e3d871e4
RO
56232011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5624
5625 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5626 (i[34567]86-*-mingw*): ... here.
5627 (x86_64-*-mingw*): ... here.
5628
e55cef40
RO
56292011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5630
5631 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5632
5366b186
NS
56332011-11-07 Nathan Sidwell <nathan@acm.org>
5634
5635 * libgcov.c (struct gcov_fn_buffer): New struct.
5636 (buffer_fn_data): New helper.
5637 (gcov_exit): Rework for new gcov data structures.
5638
74155a6f
GJL
56392011-11-07 Georg-Johann Lay <avr@gjlay.de>
5640
5641 PR target/49313
5642 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5643
200feb07
RO
56442011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5645
5646 * config.host (tmake_file): Correct comment.
5647 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5648 t-libgcc-pic.
5649 (bfin*-uclinux*): Likewise.
5650 (bfin*-linux-uclibc*): Likewise.
5651 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5652
5653 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5654 assigning.
5655 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5656 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5657 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5658 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5659 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5660 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5661 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5662 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5663 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5664 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5665 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5666 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5667 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5668
5669 * config/bfin/t-elf: Remove.
5670 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5671
c9cd1a07
RO
56722011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5673
5674 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5675 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5676 (lm32-*-elf*, lm32-*-rtems*): Split into ...
5677 (lm32-*-elf*): ... this.
5678 (lm32-*-rtems*): ... and this.
5679 Add to tmake_file.
5680 (m32r-*-rtems*): Add to tmake_file.
5681 (moxie-*-rtems*): Likewise.
5682 (sparc-*-rtems*): Likewise.
5683 Remove t-rtems from tmake_file.
5684 (sparc64-*-rtems*): Likewise.
5685 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5686 instead.
5687
9fbcc75d
RO
56882011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5689
5690 PR bootstrap/50982
5691 * config/gthr-posix.h: Move ...
5692 * gthr-posix.h: ... here.
5693 * config/gthr-lynx.h: Reflect this.
5694 * config/gthr-vxworks.h: Likewise.
5695 * config/rs6000/gthr-aix.h: Likewise.
5696 * configure.ac (target_thread_file): Likewise.
5697 * configure: Regenerate.
5698
76644b68
SH
56992011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
5700
5701 * config.host (arm*-*-rtemseabi*): New target.
5702
5e490f2a
JDA
57032011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5704
5705 PR other/50991
5706 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5707 extra-parts.
5708
feeeff5c
JR
57092011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
5710
5711 * config.host (epiphany-*-elf*): New configuration.
5712 * config/epiphany: New Directory.
5713
d618bb2c
RC
57142011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
5715
5716 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5717 * config/avr/t-rtems: New.
5718 Filter out _exit from LIB1ASMFUNCS.
5719
1bb6f778
DM
57202011-11-04 David S. Miller <davem@davemloft.net>
5721
5722 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5723 * configure: Rebuild.
5724
9a7f7422
AK
57252011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5726
5727 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5728 variable.
5729
e4fe948a
GJL
57302011-11-04 Georg-Johann Lay <avr@gjlay.de>
5731
5732 PR target/50931
5733 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5734 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5735
7084e037
JS
57362011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
5737
5738 PR target/50989
5739 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5740
1a032034
RO
57412011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5742
5743 * config/c6x/t-elf (LIB2ADDEH): Set.
5744 * config/c6x/t-c6x-elf: Remove.
5745
d385f772
RO
57462011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5747
5748 * config/i386/sol2-ci.S: Rename to ...
5749 * config/i386/crti.S: ... this.
5750 * config/i386/sol2-cn.S: Rename to ...
5751 * config/i386/crtn.S: ... this.
5752 * config/sparc/sol2-ci.S: Rename to ...
5753 * config/sparc/crti.S: ... this.
5754 * config/sparc/sol2-cn.S: Rename to ...
5755 * config/sparc/crtn.S: ... this.
5756 * config/t-sol2 (CUSTOM_CRTIN): Remove.
5757 (crti.o, crtn.o): Remove.
5758
1ba878a9
TG
57592011-11-04 Tristan Gingold <gingold@adacore.com>
5760
5761 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5762
02750c15
KK
57632011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
5764
5765 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5766
bf86b067
HPN
57672011-11-03 Hans-Peter Nilsson <hp@axis.com>
5768
5769 * config.host (crisv32-*-none, cris-*-none): Remove.
5770 (crisv32-*-elf): Append to tmake_file, don't just set it.
5771 (cris-*-elf): Add missing t-fdpbit to tmake_file.
5772
d0bc53bd
RO
57732011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5774
5775 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5776 (ecrtn$(objext)): Likewise.
5777 (ncrti$(objext)): Likewise.
5778 (ncrtn$(objext)): Likewise.
5779
036da830
AS
57802011-11-03 Andreas Schwab <schwab@redhat.com>
5781
5782 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5783
d2a7d041
DM
57842011-11-02 David S. Miller <davem@davemloft.net>
5785
5786 * configure.ac: Set host_address on sparc too.
5787 * configure: Regenerate.
5788 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5789 based upon host_address.
5790 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5791
af8ed618
JM
57922011-11-02 Jason Merrill <jason@redhat.com>
5793
5794 * config/rs6000/t-ppccomm: Add missing \.
5795
5d1c8e77
RO
57962011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5797
5798 * gthr-single.h, gthr.h: New files.
5799 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5800 config/gthr-vxworks.h, config/i386/gthr-win32.h,
5801 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5802 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5803 * config/i386/gthr-win32.c: Include "gthr-win32.h".
5804 * configure.ac (thread_header): New variable.
5805 Set it depending on target_thread_file.
5806 (gthr-default.h): Link from $thread_header.
5807 * configure: Regenerate.
5808 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5809
852b75ed
RO
58102011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5811
5812 * configure.ac (tm_file_): New variable.
5813 Determine from tm_file.
5814 (tm_file, tm_defines): Substitute.
5815 * configure: Regenerate.
5816 * mkheader.sh: New file.
5817 * Makefile.in (clean): Remove libgcc_tm.h.
5818 ($(objects)): Depend on libgcc_tm.h.
5819 (libgcc_tm_defines, libgcc_tm_file): New variables.
5820 (libgcc_tm.h, libgcc_tm.stamp): New targets.
5821 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5822 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5823 ($(extra-parts)): Depend on libgcc_tm.h.
5824 * config.host (tm_defines, tm_file): New variable.
5825 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5826 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5827 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5828 (avr-*-rtems*): Likewise.
5829 (avr-*-*): Likewise.
5830 (frv-*-elf): Likewise.
5831 (frv-*-*linux*): Likewise.
5832 (h8300-*-rtems*): Likewise.
5833 (h8300-*-elf*): Likewise.
5834 (i[34567]86-*-darwin*): Likewise.
5835 (x86_64-*-darwin*): Likewise.
5836 (rx-*-elf): Likewise.
5837 (tic6x-*-uclinux): Likewise.
5838 (tic6x-*-elf): Likewise.
5839 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5840 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5841 * config/i386/cygming-crtbegin.c: Likewise.
5842 * config/i386/cygming-crtend.c: Likewise.
5843 * config/ia64/fde-vms.c: Likewise.
5844 * config/ia64/unwind-ia64.c: Likewise.
5845 * config/libbid/bid_gcc_intrinsics.h: Likewise.
5846 * config/rs6000/darwin-fallback.c: Likewise.
5847 * config/stormy16/lib2funcs.c: Likewise.
5848 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5849 * crtstuff.c: Likewise.
5850 * dfp-bit.h: Likewise.
5851 * emutls.c: Likewise.
5852 * fixed-bit.c: Likewise.
5853 * fp-bit.c: Likewise.
5854 * generic-morestack-thread.c: Likewise.
5855 * generic-morestack.c: Likewise.
5856 * libgcc2.c: Likewise.
5857 * libgcov.c: Likewise.
5858 * unwind-dw2-fde-dip.c: Likewise.
5859 * unwind-dw2-fde.c: Likewise.
5860 * unwind-dw2.c: Likewise.
5861 * unwind-sjlj.c: Likewise.
5862
f9989b51
RO
58632011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5864
5865 * configure.ac: Include ../config/picflag.m4.
5866 (GCC_PICFLAG): Call it.
5867 Substitute.
5868 * configure: Regenerate.
5869 * Makefile.in (gcc_srcdir): Remove.
5870 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5871 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5872 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5873 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5874 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5875 Use $<.
5876 Remove comment.
5877 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5878 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5879 to refer to libgcc2.c.
5880 Use $<.
5881 * config/darwin-64.c: New file.
5882 * config/darwin-crt3.c: Remove comment.
5883 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5884 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5885 config/udivmodsi4.c: New files.
5886 * config/memcmp.c, config/memcpy.c, config/memmove.c,
5887 config/memset.c: New files.
5888 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5889 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5890 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5891 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5892 * config/t-openbsd-thread: New file.
5893 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5894 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5895 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5896 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5897 qrnnd.S.
5898 Adapt filename.
5899 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5900 to refer to gthr-posix.c.
5901 * config/alpha/t-vms (LIB2ADD): Set.
5902 * config/alpha/vms-gcc_shell_handler.c: New file.
5903 * config/arm/bpabi.c, config/arm/fp16.c,
5904 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5905 config/arm/unaligned-funcs.c: New files.
5906 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5907 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5908 * config/arm/t-linux: Likewise.
5909 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5910 * config/arm/t-netbsd: New file.
5911 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5912 * config/arm/t-symbian (LIB2ADD_ST): Set.
5913 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5914 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5915 * config/bfin/t-elf: New file.
5916 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5917 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5918 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5919 config/c6x/ltf.c: New files.
5920 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5921 (HOST_LIBGCC2_CFLAGS): Set.
5922 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5923 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5924 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5925 New files.
5926 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5927 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5928 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5929 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5930 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5931 files.
5932 * config/frv/t-frv (LIB2ADD): Set.
5933 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5934 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5935 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5936 config/h8300/popcounthi2.c: New files.
5937 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5938 * config/i386/gthr-win32.c: New file.
5939 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5940 * config/i386/t-cygwin: Likewise.
5941 * config/i386/t-darwin, config/i386/t-darwin64,
5942 config/i386/t-gthr-win32, config/i386/t-interix: New files.
5943 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5944 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5945 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5946 * config/ia64/quadlib.c: New file.
5947 * config/ia64/t-hpux (LIB2ADD): Set.
5948 * config/ia64/t-ia64: Add comment.
5949 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5950 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5951 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5952 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5953 * config/m32c/t-m32c (LIB2ADD): Set.
5954 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5955 * config/m32r/t-m32r: Likewise.
5956 * config/m68k/fpgnulib.c: New file.
5957 * config/m68k/t-floatlib (LIB2ADD): Set.
5958 (xfgnulib.c): New target.
5959 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5960 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5961 * config/mep/t-mep (LIB2ADD): Set.
5962 * config/microblaze/divsi3.asm: Rename to divsi3.S.
5963 * config/microblaze/moddi3.asm: Rename to moddi3.S.
5964 * config/microblaze/modsi3.asm: Rename to modsi3.S.
5965 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5966 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5967 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5968 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5969 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5970 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5971 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5972 New files.
5973 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5974 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5975 * config/pa/fptr.c, config/pa/lib2funcs.S,
5976 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5977 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5978 (LIB2ADD, LIB2ADD_ST): Set.
5979 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5980 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5981 Set.
5982 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5983 * config/pdp11/t-pdp11: New file.
5984 * config/picochip/libgccExtras/adddi3.S,
5985 config/picochip/libgccExtras/ashlsi3.S,
5986 config/picochip/libgccExtras/ashrsi3.S,
5987 config/picochip/libgccExtras/clzsi2.S,
5988 config/picochip/libgccExtras/cmpsi2.S,
5989 config/picochip/libgccExtras/divmod15.S,
5990 config/picochip/libgccExtras/divmodhi4.S,
5991 config/picochip/libgccExtras/divmodsi4.S,
5992 config/picochip/libgccExtras/lshrsi3.S,
5993 config/picochip/libgccExtras/parityhi2.S,
5994 config/picochip/libgccExtras/popcounthi2.S,
5995 config/picochip/libgccExtras/subdi3.S,
5996 config/picochip/libgccExtras/ucmpsi2.S,
5997 config/picochip/libgccExtras/udivmodhi4.S,
5998 config/picochip/libgccExtras/udivmodsi4.S: New files.
5999 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6000 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6001 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6002 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6003 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6004 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6005 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6006 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6007 files.
6008 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6009 (HOST_LIBGCC2_CFLAGS): Set.
6010 * config/rs6000/t-darwin64: New file.
6011 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6012 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6013 * config/rs6000/t-ppccomm (LIB2ADD): Add
6014 $(srcdir)/config/rs6000/tramp.S.
6015 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6016 Add $(srcdir)/config/rs6000/eabi.S.
6017 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6018 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6019 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6020 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6021 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6022 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6023 * config/rs6000/tramp.S: New file.
6024 * config/s390/t-tpf: Remove.
6025 * config/sh/linux-atomic.S: New file.
6026 * config/sh/t-linux (LIB2ADD): Set.
6027 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6028 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6029 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6030 to unwind-dw2.c.
6031 (HOST_LIBGCC2_CFLAGS): Set.
6032 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6033 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6034 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6035 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6036 config/spu/mfc_multi_tag_release.c,
6037 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6038 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6039 config/spu/multi3.c: New files.
6040 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6041 (HOST_LIBGCC2_CFLAGS): Set.
6042 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6043 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6044 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6045 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6046 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6047 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6048 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6049 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6050 config/stormy16/umodsi3.c: New files.
6051 * config/xtensa/lib2funcs.S: New file.
6052 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6053 * config/xtensa/t-xtensa (LIB2ADD): Set.
6054 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6055 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6056 Add t-freebsd-thread to tmake_file for posix threads.
6057 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6058 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6059 (*-*-lynxos*): Likewise.
6060 (*-*-netbsd*): Likewise.
6061 (*-*-openbsd*): Likewise.
6062 Add t-openbsd-thread to tmake_file for posix threads.
6063 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6064 (*-*-vxworks*): Set tmake_file.
6065 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6066 (alpha*-*-freebsd*): Likewise.
6067 (alpha*-*-netbsd*): Likewise.
6068 (alpha*-*-openbsd*): Likewise.
6069 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6070 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6071 (alpha*-dec-*vms*): Likewise.
6072 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6073 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6074 (bfin*-uclinux*): Likewise.
6075 (bfin*-linux-uclibc*): Likewise.
6076 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6077 (crisv32-*-none): Likewise.
6078 (cris-*-elf): Likewise.
6079 (cris-*-none): Likewise.
6080 (cris-*-linux*, crisv32-*-linux*): Likewise.
6081 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6082 tmake_file.
6083 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6084 tmake_file.
6085 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6086 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6087 (x86_64-*-elf*): Likewise.
6088 (i[34567]86-*-nto-qnx*): Likewise.
6089 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6090 win32 threads.
6091 (x86_64-*-mingw*): Likewise.
6092 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6093 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6094 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6095 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6096 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6097 tmake_file.
6098 (mipsisa64sr71k-*-elf*): Likewise.
6099 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6100 (mips-*-elf*, mipsel-*-elf*): Likewise.
6101 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6102 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6103 (mips*-*-rtems*): Likewise.
6104 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6105 to tmake_file.
6106 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6107 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6108 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6109 (spu-*-elf*): Likewise.
6110 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6111
45b86625
RO
61122011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6113
6114 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6115 $(srcdir) to refer to $(LIB1ASMSRC).
6116 Use $<.
6117 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6118 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6119 config/arm/lib1funcs.S: New files.
6120 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6121 * config/arm/t-arm: New file.
6122 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6123 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6124 config/arm/t-strongarm-elf: New files.
6125 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6126 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6127 * config/avr/lib1funcs.S: New file.
6128 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6129 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6130 * config/c6x/lib1funcs.S: New file.
6131 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6132 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6133 * config/frv/lib1funcs.S: New file.
6134 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6135 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6136 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6137 * config/ia64/__divxf3.asm: Rename to ...
6138 * config/ia64/__divxf3.S: ... this.
6139 Adapt lib1funcs.asm filename.
6140 * config/ia64/_fixtfdi.asm: Rename to ...
6141 * config/ia64/_fixtfdi.S: ... this.
6142 Adapt lib1funcs.asm filename.
6143 * config/ia64/_fixunstfdi.asm: Rename to ...
6144 * config/ia64/_fixunstfdi.S: ... this.
6145 Adapt lib1funcs.asm filename.
6146 * config/ia64/_floatditf.asm: Rename to ...
6147 * config/ia64/_floatditf.S: ... this.
6148 Adapt lib1funcs.asm filename.
6149 * config/ia64/lib1funcs.S: New file.
6150 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6151 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6152 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6153 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6154 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6155 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6156 * config/mep/lib1funcs.S: New file.
6157 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6158 * config/mips/mips16.S: New file.
6159 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6160 * config/pa/milli64.S: New file.
6161 * config/pa/t-linux, config/pa/t-linux64: New files.
6162 * config/picochip/lib1funcs.S: New file.
6163 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6164 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6165 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6166 * config/sh/t-netbsd: New file.
6167 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6168 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6169 * config/sh/t-sh64: New file.
6170 * config/sparc/lb1spc.S: New file.
6171 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6172 filename.
6173 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6174 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6175 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6176 config/xtensa/lib1funcs.S: New files.
6177 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6178 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6179 tmake_file.
6180 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6181 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6182 (arm*-*-linux*): Likewise.
6183 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6184 arm*-*-linux-*eabi, add arm/t-linux otherwise.
6185 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6186 (arm*-*-ecos-elf): Likewise.
6187 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6188 (arm*-*-rtems*): Likewise.
6189 (arm*-*-elf): Likewise.
6190 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6191 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6192 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6193 (bfin*-uclinux*): Likewise.
6194 (bfin*-linux-uclibc*): Likewise.
6195 (bfin*-rtems*): Likewise.
6196 (bfin*-*): Likewise.
6197 (fido-*-elf): Merge into m68k-*-elf*.
6198 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6199 (frv-*-*linux*): Add frv/t-frv to tmake_file.
6200 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6201 (h8300-*-elf*): Likewise.
6202 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6203 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6204 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6205 (i[34567]86-*-mingw*): Likewise.
6206 (x86_64-*-mingw*): Likewise.
6207 (i[34567]86-*-interix3*): Likewise.
6208 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6209 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6210 (m68k-*-elf*): Also handle fido-*-elf.
6211 Add m68k/t-floatlib to tmake_file.
6212 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6213 (m68k-*-linux*): Likewise.
6214 (m68k-*-rtems*): Likewise.
6215 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6216 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6217 sh64*-*-*.
6218 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6219 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6220 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6221 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6222 sh/t-netbsd to tmake_file.
6223 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6224 (sh-*-rtems*): Add sh/t-sh to tmake_file.
6225 (sh-wrs-vxworks): Likewise.
6226 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6227 *-leon[3-9]*.
6228 (v850*-*-*): Add v850/t-v850 to tmake_file.
6229 (vax-*-linux*): Add vax/t-linux to tmake_file.
6230 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6231
5f73c6cc
RO
62322011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6233
6234 * crtstuff.c: New file.
6235 * Makefile.in (CRTSTUFF_CFLAGS): Define.
6236 (CRTSTUFF_T_CFLAGS): Define.
6237 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6238 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6239 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6240 crtstuff.c.
6241 Use $<.
6242 (crtbeginT.o): Use $(objext).
6243 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6244 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6245 (gcc-extra-parts): Remove.
6246 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6247 Set extra_parts.
6248 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6249 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6250 Add t-crtstuff-pic to tmake_file.
6251 (*-*-lynxos*): New case.
6252 Set tmake_file, extra_parts.
6253 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6254 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6255 *-*-netbsdelf[2-9]*.
6256 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6257 (*-*-rtems*): Set extra_parts.
6258 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6259 (*-*-uclinux*): New case.
6260 Set extra_parts.
6261 (*-*-vms*): New case.
6262 Set tmake_file, extra_parts.
6263 (*-*-elf): Set extra_parts.
6264 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6265 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6266 vms/t-vms64.
6267 Set extra_parts.
6268 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6269 Set extra_parts.
6270 (arm*-*-freebsd*): Add t-crtin to tmake_file.
6271 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6272 (arm-wrs-vxworks): Append to tmake_file.
6273 Set extra_parts.
6274 (arm*-*-uclinux*): Set extra_parts.
6275 (arm*-*-ecos-elf): Likewise.
6276 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6277 arm*-*-eabi*.
6278 (arm*-*-rtems*): Set extra_parts.
6279 (arm*-*-elf): Likewise.
6280 (avr-*-rtems*): Clear extra_parts.
6281 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6282 Set extra_parts.
6283 (bfin*-uclinux*): Likewise.
6284 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6285 (bfin*-rtems*): Append to tmake_file.
6286 Set extra_parts.
6287 (bfin*-*): Likewise.
6288 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6289 (crisv32-*-elf): ... this.
6290 (crisv32-*-none): ... this.
6291 (cris-*-elf, cris-*-none): New cases.
6292 Add cris/t-elfmulti to tmake_file.
6293 (fr30-*-elf): Append to tmake_file.
6294 Set extra_parts.
6295 (frv-*-elf): Append to tmake_file, add frv/t-frv.
6296 Set extra_parts.
6297 (h8300-*-rtems*): Append to tmake_file.
6298 Set extra_parts.
6299 (h8300-*-elf*): Likewise.
6300 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6301 Set extra_parts.
6302 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6303 Set extra_parts.
6304 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6305 (x86_64-*-elf*): Likewise.
6306 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6307 (x86_64-*-freebsd*): Likewise.
6308 (x86_64-*-netbsd*): Likewise.
6309 (i[34567]86-*-linux*): Likewise.
6310 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6311 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6312 (x86_64-*-linux*): Likewise.
6313 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6314 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6315 tmake_file.
6316 Set extra_parts.
6317 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6318 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6319 Append to extra_parts, remove crtbegin.o, crtend.o.
6320 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6321 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6322 crtend.o, crtbeginS.o, crtendS.o.
6323 (ia64*-*-linux*): Comment extra_parts.
6324 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6325 Set extra_parts.
6326 (iq2000*-*-elf*): Clear extra_parts.
6327 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6328 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6329 (m32r-*-elf*, m32r-*-rtems*): Split off ...
6330 (m32r-*-rtems*): ... this.
6331 Add m32r/t-m32r to tmake_file.
6332 (m68k-*-elf*): Add t-crtin to tmake_file.
6333 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6334 (mcore-*-elf): Likewise.
6335 (microblaze*-*-*): Set extra_parts.
6336 (mips*-sde-elf*): New case.
6337 Set tmake_file, extra_parts.
6338 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6339 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6340 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6341 tmake_file.
6342 Set extra_parts.
6343 (mipsisa64sr71k-*-elf*): Likewise.
6344 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6345 (mips-*-elf*, mipsel-*-elf*): Likewise.
6346 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6347 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6348 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6349 (mips*-*-rtems*): Likewise.
6350 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6351 (moxie-*-*): Split into ...
6352 (moxie-*-elf, moxie-*-uclinux*): ... this.
6353 Add to extra_parts, remove crtbegin.o, crtend.o.
6354 (moxie-*-rtems*): New case.
6355 Set tmake_file.
6356 Clear extra_parts.
6357 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6358 Set extra_parts.
6359 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6360 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6361 tmake_file.
6362 Set extra_parts.
6363 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6364 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6365 Set extra_parts.
6366 (powerpc-*-eabisim*): Likewise.
6367 (powerpc-*-elf*): Likewise.
6368 (powerpc-*-eabialtivec*): Likewise.
6369 (powerpc-xilinx-eabi*): Likewise.
6370 (powerpc-*-eabi*): Likewise.
6371 (powerpc-*-rtems*): Likewise.
6372 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6373 tmake_file.
6374 Set extra_parts.
6375 (powerpc-*-lynxos*): Add to tmake_file.
6376 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6377 rs6000/t-crtstuff, t-crtstuff-pic.
6378 Set extra_parts.
6379 (powerpcle-*-eabisim*): Likewise.
6380 (powerpcle-*-eabi*): Likewise.
6381 (rx-*-elf): Remove extra_parts.
6382 (s390x-ibm-tpf*): Set extra_parts.
6383 (score-*-elf): Set extra_parts.
6384 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6385 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6386 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6387 (sh64l*-*-netbsd*): Split into ...
6388 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6389 Add t-crtstuff-pic to tmake_file.
6390 Set extra_parts.
6391 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6392 Set extra_parts.
6393 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6394 (sparc-*-elf*): Remove t-crtin from tmake_file.
6395 Add to extra_parts, remove crtbegin.o, crtend.o.
6396 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6397 (sparc64-*-linux*): Likewise.
6398 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6399 Add to extra_parts, remove crtbegin.o, crtend.o.
6400 (sparc64-*-elf*): Remove t-crtin from tmake_file.
6401 Add to extra_parts, remove crtbegin.o, crtend.o.
6402 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6403 Add to extra_parts, remove crtbegin.o, crtend.o.
6404 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6405 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6406 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6407 Set extra_parts.
6408 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6409 Set extra_parts.
6410 (tic6x-*-*): Change to ...
6411 (tic6x-*-elf): ... this.
6412 Set extra_parts.
6413 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6414 Set extra_parts.
6415 (am33_2.0-*-linux*): Add comment.
6416 (mep*-*-*): Add mep/t-mep to tmake_file.
6417 Set extra_parts.
6418 * config/alpha/t-vms: New file.
6419 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6420 * config/arm/crti.S, config/arm/crtn.S: New files.
6421 * config/bfin/crti.S, config/bfin/crtn.S: New files.
6422 * config/bfin/crtlibid.S: New file.
6423 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6424 * config/c6x/crti.S, config/c6x/crtn.S: New files.
6425 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6426 (crti.o, crtin.o): New rules.
6427 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6428 * config/c6x/t-uclinux: New file.
6429 * config/cris/t-elfmulti: New file.
6430 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6431 * config/fr30/crti.S, config/fr30/crtn.S: New files.
6432 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6433 * config/frv/t-frv: New file.
6434 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6435 * config/h8300/crti.S, config/h8300/crtn.S: New files.
6436 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6437 New files.
6438 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6439 refer to cygming-crtbegin.c, cygming-crtend.c.
6440 Use $<.
6441 * config/i386/t-nto: New file.
6442 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6443 * config/ia64/crti.S, config/ia64/crtn.S: New files.
6444 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6445 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6446 Use .S extension.
6447 Use $<.
6448 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6449 (crtinitS.o): New rule.
6450 * config/ia64/vms-crtinit.S: New file.
6451 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6452 * config/m32r/initfini.c: New file.
6453 * config/m32r/t-linux, config/m32r/t-m32r: New files.
6454 * config/m68k/crti.S, config/m68k/crtn.S: New files.
6455 * config/mcore/crti.S, config/mcore/crtn.S: New files.
6456 * config/mep/t-mep: New file.
6457 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6458 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6459 * config/mips/crti.S, config/mips/crtn.S: New files.
6460 * config/mips/t-crtstuff: New file.
6461 * config/mmix/crti.S, config/mmix/crtn.S: New files.
6462 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6463 (CUSTOM_CRTIN): Set.
6464 ($(T)crti.o, $(T)crtn.o): Remove $(T),
6465 dependencies.
6466 Use $(srcdir) to refer to crti.S, crtn.S.
6467 Use .S extension, $<.
6468 * config/moxie/crti.asm: Rename to ...
6469 * config/moxie/crti.S: ... this.
6470 * config/moxie/crtn.asm: Rename to ...
6471 * config/moxie/crtn.S: ... this.
6472 * config/moxie/t-moxie: Remove.
6473 * config/pa/stublib.c: New file.
6474 * config/pa/t-stublib, config/pa/t-stublib64: New files.
6475 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6476 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6477 * config/rs6000/t-crtstuff: New file.
6478 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6479 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6480 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6481 Make output file explicit.
6482 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6483 Make output file explicit.
6484 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6485 Make output file explicit.
6486 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6487 Make output file explicit.
6488 * config/score/crti.S, config/score/crtn.S: New files.
6489 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6490 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6491 files.
6492 * config/sh/t-sh, config/sh/t-superh: New files.
6493 * config/sparc/t-linux64: New file.
6494 * config/spu/cache.S, config/spu/cachemgr.c: New files.
6495 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6496 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6497 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6498 * config/t-crtin: Remove.
6499 * config/t-crtstuff-pic: New file.
6500 * config/t-sol2 (CUSTOM_CRTIN): Set.
6501 (crti.o, crtn.o): New rules.
6502 * config/vms/t-vms: New file.
6503 * config/vms/vms-ucrt0.c: New file.
6504 * config/xtensa/t-elf: New file.
6505
b040f2be
RO
65062011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6507
6508 * Makefile.in (SHLIB_NM_FLAGS): Set.
6509 * mkmap-flat.awk, mkmap-symver.awk: New files.
6510 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6511 exceptions.
6512 * configure: Regenerate.
6513 * config/libgcc-glibc.ver: New file.
6514 * config/libgcc-libsystem.ver: New file.
6515 * config/t-libunwind (SHLIB_LC): Set.
6516 * config/t-linux: New file.
6517 * config/t-slibgcc (INSTALL_SHLIB): New.
6518 (SHLIB_INSTALL): Use it.
6519 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6520 to mkmap-symver.awk.
6521 (SHLIB_MAPFILES): Don't append, adapt pathname.
6522 (SHLIB_VERPFX): Set.
6523 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6524 to mkmap-symver.awk.
6525 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6526 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6527 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6528 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6529 to mkmap-flat.awk.
6530 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6531 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6532 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6533 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6534 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6535 * config/i386/libgcc-darwin.10.4.ver,
6536 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6537 New files.
6538 * config/i386/t-darwin: Remove.
6539 * config/i386/t-darwin64: Likewise.
6540 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6541 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6542 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6543 * config/i386/t-linux: New file.
6544 * config/i386/t-mingw32: New file.
6545 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6546 * config/ia64/t-glibc: Rename to ...
6547 * config/ia64/t-linux: ... this.
6548 (SHLIB_MAPFILES): Set.
6549 * config/ia64/t-glibc-libunwind: Rename to ...
6550 * config/ia64/t-linux-libunwind: ... this.
6551 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6552 * config/ia64/t-slibgcc-hpux: New file.
6553 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6554 * config/m68k/t-slibgcc-elf-ver: New file.
6555 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6556 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6557 to mkmap-flat.awk.
6558 * config/pa/t-slibgcc-hpux: New file.
6559 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6560 files.
6561 * config/rs6000/libgcc-darwin.10.4.ver,
6562 config/rs6000/libgcc-darwin.10.5.ver: New files.
6563 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6564 config/rs6000/libgcc-glibc.ver.
6565 * config/rs6000/libgcc-ppc64.ver: Rename to
6566 config/rs6000/libgcc-ibm-ldouble.ver.
6567 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6568 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6569 * config/rs6000/t-ldbl128: Rename to ...
6570 * config/rs6000/t-linux: ... this.
6571 (SHLIB_MAPFILES): Adapt filename.
6572 * config/rs6000/t-slibgcc-aix: New file.
6573 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6574 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6575 libgcc-excl.ver, libgcc-glibc.ver.
6576 (SHLIB_LINK, SHLIB_INSTALL): Remove.
6577 * config/sparc/libgcc-glibc.ver: New file.
6578 * config/sparc/t-linux: New file.
6579 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6580 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6581 t-slibgcc-elf-ver to tmake_file.
6582 Add t-slibgcc-nolc-override to tmake_file for posix threads on
6583 *-*-freebsd[34].
6584 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6585 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6586 t-slibgcc-elf-ver, t-linux to tmake_file.
6587 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6588 tmake_file.
6589 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6590 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6591 (alpha*-dec-*vms*): Likewise.
6592 (arm*-*-freebsd*): Append to tmake_file.
6593 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6594 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6595 arm*-*-linux-*eabi.
6596 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6597 tmake_file for arm*-*-symbianelf*.
6598 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6599 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6600 cris/t-linux.
6601 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6602 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6603 pa/t-slibgcc-dwarf-ver to tmake_file.
6604 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6605 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6606 (hppa*64*-*-hpux11*): Likewise.
6607 (hppa[12]*-*-hpux11*): Likewise.
6608 (x86_64-*-darwin*): Don't override tmake_file, but only keep
6609 i386/t-crtpc, i386/t-crtfm.
6610 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6611 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6612 to tmake_file.
6613 Add i386/t-cygwin to tmake_file.
6614 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6615 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6616 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6617 to tmake_file.
6618 Add i386/t-mingw32 to tmake_file.
6619 (x86_64-*-mingw*): Likewise.
6620 (ia64*-*-freebsd*): Append to tmake_file.
6621 (ia64*-*-linux*): Append to tmake_file.
6622 Replace ia64/t-glibc by ia64/t-linux.
6623 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6624 system libunwind.
6625 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6626 t-slibgcc-hpux to tmake_file.
6627 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6628 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6629 (m32rle-*-linux*): Likewise.
6630 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6631 sjlj exceptions.
6632 (microblaze*-linux*): New case.
6633 Append to tmake_file, add t-slibgcc-nolc-override.
6634 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6635 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6636 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6637 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6638 rs6000/t-slibgcc-aix to tmake_file.
6639 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6640 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6641 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6642 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6643 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6644 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6645 sh*-*-linux*.
6646 (sparc-*-linux*): Append to tmake_file for *-leon*.
6647 Add sparc/t-linux to tmake_file for non-Leon targets.
6648 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6649 (tic6x-*-uclinux): New case.
6650 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6651 (tic6x-*-*): Add c6x/t-elf to tmake_file.
6652 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6653 (am33_2.0-*-linux*): Append to tmake_file.
6654 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6655 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6656 x86_64-*-kfreebsd*-gnu.
6657 Add i386/t-linux to tmake_file.
6658
18b4bd7b
ILT
66592011-10-28 Ian Lance Taylor <iant@google.com>
6660
6661 * config/i386/morestack.S: Correct CFI information to do proper
6662 returns throughout function. In 32-bit mode, save %ebx so that it
6663 is restored on unwind.
6664
5b2d9d90
BS
66652011-10-25 Bernd Schmidt <bernds@codesourcery.com>
6666
6667 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6668 case where B3 isn't the return register.
6669
0d53e346
BS
6670 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6671 logic for doubleword pops.
6672
cbffbd59
AT
66732011-10-25 Andreas Tobler <andreast@fgznet.ch>
6674
6675 * config/rs6000/t-freebsd: Add wildcard.
6676
56dc349e
PB
66772011-10-21 Paul Brook <paul@codesourcery.com>
6678
6679 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6680
1e06b07d
UB
66812011-10-16 Uros Bizjak <ubizjak@gmail.com>
6682 Eric Botcazou <ebotcazou@adacore.com>
6683
6684 PR target/50737
6685 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6686 fs->signal_frame to 1.
6687
b5204884
ILT
66882011-10-07 Ian Lance Taylor <iant@google.com>
6689
6690 * generic-morestack-thread.c: #include <errno.h>.
6691
91a639a1
ILT
66922011-10-07 Ian Lance Taylor <iant@google.com>
6693
6694 PR target/46093
6695 * generic-morestack.c (__generic_morestack): Make sure the segment
6696 is large enough for both the stack frame and the copied
6697 parameters.
6698
cc49116d
RO
66992011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6700
6701 PR bootstrap/49804
6702 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6703 extra_parts.
6704
2996d8c3
NC
67052011-09-28 Nick Clifton <nickc@redhat.com>
6706
6707 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6708 64-bit doubles are not enabled.
6709 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6710 and floatunsisf functions.
6711
1e874273 67122011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 6713
1e874273
PB
6714 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
6715 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6716 * unwind-arm-common.inc: New file.
6717 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6718 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6719 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6720 * config/c6x/libunwind.S: New file.
6721 * config/c6x/pr-support.c: New file.
6722 * config/c6x/unwind-c6x.c: New file.
6723 * config/c6x/unwind-c6x.h: New file.
6724 * config/c6x/t-c6x-elf: New file.
6725
f70c879a
UB
67262011-08-23 Uros Bizjak <ubizjak@gmail.com>
6727
6728 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6729 (ASM_DIVZERO): Ditto.
6730 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6731
c55b374b
RS
67322011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
6733
6734 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6735
1e138510
RS
67362011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
6737
6738 PR target/50090
6739 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6740 instead of an assembly one.
6741
1563503d
PB
67422011-08-12 Paolo Bonzini <bonzini@gnu.org>
6743
6744 PR bootstrap/50047
6745 * Makefile.in (install-unwind_h): Create
6746 $(gcc_objdir)/include/unwind.h atomically.
6747
3627ac1a
RO
67482011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6749
6750 * Makefile.in (install-unwind_h): Remove destination file first.
6751
c6412d86
RO
67522011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6753
6754 * sync.c: New file.
6755 * config/mips/t-mips16: New file.
6756 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6757 (mips*-*-linux*): Likewise.
6758 (mips*-sde-elf*): Likewise.
6759 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6760 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6761 Add mips/t-mips16 to tmake_file.
6762 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6763 (mips-*-elf*): Likewise.
6764 (mips64-*-elf*): Likewise.
6765 (mips64orion-*-elf*): Likewise.
6766 (mips*-*-rtems*): Likewise.
6767 (mipstx39-*-elf*): Likewise.
6768 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6769 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6770 LIBGCC_SYNC_CFLAGS.
6771 Use $(srcdir) to refer to sync.c.
6772 Use $<.
6773 ($(libgcc-sync-funcs-o)): Likewise.
6774 ($(libgcc-sync-size-funcs-s-o)): Likewise.
6775 ($(libgcc-sync-funcs-s-o)): Likewise.
6776
3cb6e5bd
AS
67772011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6778
6779 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6780 t-libunwind.
6781
cca2207a
L
67822011-08-08 H.J. Lu <hongjiu.lu@intel.com>
6783
6784 PR other/48007
6785 * config/i386/value-unwind.h: New.
6786
ed39fbad
RS
67872011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
6788
6789 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6790 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6791 Add to tmake_file rather than overriding it.
6792
aca0b0b3
RO
67932011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6794
6795 * config/t-softfp: Remove.
6796 * soft-fp: Moved from ../gcc/config.
6797 * soft-fp/README: Remove t-softfp reference.
6798 * soft-fp/t-softfp: Move to config/t-softfp.
6799 (softfp_machine_header): Remove.
6800 (softfp_file_list): Remove config subdir.
6801 (soft-fp-objects): New variable.
6802 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6803 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6804 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6805 * config/t-softfp-excl: New file.
6806 * config/t-softfp-sfdf: New file.
6807 * config/t-softfp-tf: New file.
6808 * config/no-sfp-machine.h: New file.
6809 * config/arm/sfp-machine.h: New file.
6810 * config/arm/t-softfp: New file.
6811 * config/c6x/sfp-machine.h: New file.
6812 * config/i386/32/t-fprules-softfp: Rename to ...
6813 * config/i386/32/t-softfp: ... this.
6814 (tifunctions, LIB2ADD): Remove.
6815 (softfp_int_modes): Override.
6816 * config/i386/64/t-softfp-compat (tf-functions): Remove config
6817 subdir.
6818 * config/i386/64/eqtf2.c: Likewise.
6819 * config/i386/64/getf2.c: Likewise.
6820 * config/i386/64/letf2.c: Likewise.
6821 * config/ia64/sft-machine.h: New file.
6822 * config/ia64/t-fprules-softfp: Rename to ...
6823 * config/ia64/t-softfp: ... this.
6824 * config/lm32/sfp-machine.h: New file.
6825 * config/moxie/t-moxie-softfp: Remove.
6826 * config/rs6000/ibm-ldouble-format: New file.
6827 * config/rs6000/ibm-ldouble.c: New file.
6828 * config/rs6000/libgcc-ppc-glibc.ver: New file
6829 * config/rs6000/libgcc-ppc64.ver: New file
6830 * config/rs6000/sfp-machine.h: New file.
6831 * config/rs6000/t-freebsd: New file.
6832 * config/rs6000/t-ibm-ldouble: New file.
6833 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6834 libgcc-ppc-glibc.ver.
6835 * config/rs6000/t-linux64: New file.
6836 * config/rs6000/t-ppccomm (LIB2ADD): Add
6837 $(srcdir)/config/rs6000/ibm-ldouble.c.
6838 * config/rs6000/t-ppccomm-ldbl: New file.
6839 * config/score/sfp-machine.h: New file.
6840 * config.host (sfp_machine_header): Explain.
6841 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6842 t-softfp to tmake_file.
6843 (arm*-*-uclinux*): Likewise.
6844 (arm*-*-ecos-elf): Likewise.
6845 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6846 (arm*-*-rtems*): Likewise.
6847 (arm*-*-elf): Likewise.
6848 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6849 in tmake_file.
6850 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6851 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6852 (lm32-*-uclinux*): Likewise.
6853 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6854 t-softfp-excl, t-softfp.
6855 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6856 (powerpc64-*-darwin*): Likewise.
6857 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6858 to tmake_file.
6859 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6860 tmake_file.
6861 (powerpc-*-eabisim*): Likewise.
6862 (powerpc-*-elf*): Likewise.
6863 (powerpc-*-eabialtivec*): Likewise.
6864 (powerpc-xilinx-eabi*): Likewise.
6865 (powerpc-*-rtems*): Likewise.
6866 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6867 t-softfp-excl, t-softfp to tmake_file.
6868 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6869 rs6000/t-ppccomm-ldbl to tmake_file.
6870 (powerpcle-*-elf*): Likewise.
6871 (powerpcle-*-eabisim*): Likewise.
6872 (powerpcle-*-eabi*): Likewise.
6873 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6874 rs6000/t-ibm-ldouble to tmake_file.
6875 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6876 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6877 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6878 (tic6x-*-*): Likewise.
6879 (i[34567]86-*-darwin*, x86_64-*-darwin*,
6880 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6881 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6882 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6883 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6884 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6885 t-softfp to tmake_file.
6886 * configure.ac (sfp_machine_header): Provide default if unset.
6887 Substitute.
6888 Link sfp-machine.h to config/$sfp_machine_header.
6889 * configure: Regenerate.
6890
569dc494
RO
68912011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6892
6893 * Makefile.in (double_type_size, long_double_type_size): Set.
6894 Remove $(fpbit-in-libgcc) support.
6895 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6896 (fpbit-src): New variable.
6897 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6898 Compile with -DFLOAT $(FPBIT_CFLAGS).
6899 Use $<.
6900 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6901 Compile with $(FPBIT_CFLAGS).
6902 Use $<.
6903 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6904 Compile with -DFLOAT $(TPBIT_CFLAGS).
6905 Use $<.
6906 * configure.ac (double_type_size, long_double_type_size):
6907 Determine and substitute.
6908 * configure: Regenerate.
6909 * fp-bit.c, fp-bit.h: New files.
6910 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6911 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6912 * config/mips/t-mips: New file.
6913 * config/mips/t-sdemtk: New file.
6914 * config/rs6000/ppc64-fp.c: New file.
6915 * config/rs6000/t-darwin (LIB2ADD): Add
6916 $(srcdir)/config/rs6000/ppc64-fp.c.
6917 * config/rs6000/t-ppc64-fp: New file.
6918 * config/rx/rx-lib.h: New file.
6919 * config/rx/t-rx (FPBIT): Set to true.
6920 ($(gcc_objdir)/fp-bit.c): Remove.
6921 (DPBIT): Set to true only with -m64bit-doubles.
6922 ($(gcc_objdir)/dp-bit.c): Remove.
6923 * config/sparc/t-softfp: Remove.
6924 * config/spu/t-elf: New file.
6925 * config/t-fdpbit, config/t-fpbit: New files.
6926 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6927 (mips*-*-*): Likewise.
6928 (arm-wrs-vxworks): Likewise.
6929 (arm*-*-freebsd*): Likewise.
6930 (avr-*-rtems*): Add t-fpbit to tmake_file.
6931 (avr-*-*): Likewise.
6932 (bfin*-elf*): Add t-fdpbit to tmake_file.
6933 (bfin*-uclinux*): Likewise.
6934 (bfin*-linux-uclibc*): Likewise.
6935 (bfin*-rtems*): New case.
6936 Add t-fdpbit to tmake_file.
6937 (bfin*-*): Add t-fdpbit to tmake_file.
6938 (crisv32-*-elf): Likewise.
6939 (cris-*-linux*): Likewise.
6940 (fr30-*-elf): Likewise.
6941 (frv-*-elf, frv-*-*linux*): Likewise.
6942 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6943 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6944 (m32r-*-elf*): Likewise.
6945 (m32rle-*-elf*): Likewise.
6946 (m32r-*-linux*): Likewise.
6947 (m32rle-*-linux*): Likewise.
6948 (mcore-*-elf): Add t-fdpbit to tmake_file.
6949 (microblaze*-*-*): Likewise.
6950 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6951 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6952 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6953 Fix typo.
6954 Add mips/t-tpbit to tmake-file.
6955 (mips*-*-linux*): Fix typo.
6956 (mips*-sde-elf*): New case
6957 Add mips/t-sdemtk unless using newlib.
6958 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6959 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6960 (mn10300-*-*): Likewise.
6961 (pdp11-*-*): Likewise.
6962 (picochip-*-*): Add t-fpbit to tmake_file.
6963 (powerpc-*-eabisimaltivec*): Likewise.
6964 (powerpc-*-eabisim*): Likewise.
6965 (powerpc-*-elf*): Likewise.
6966 (powerpc-*-eabialtivec*): Likewise.
6967 (powerpc-xilinx-eabi*): New case.
6968 Add t-fdpbit to tmake_file.
6969 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
6970 (powerpc-*-rtems*): Likewise.
6971 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6972 tmake_file.
6973 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6974 tmake_file.
6975 (powerpc-*-lynxos*): Likewise.
6976 (powerpcle-*-elf*): Likewise.
6977 (powerpcle-*-eabisim*): Likewise.
6978 (powerpcle-*-eabi*): Likewise.
6979 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6980 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6981 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6982 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6983 (rx-*-elf): Add t-fdpbit to tmake_file.
6984 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6985 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6986 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6987 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6988 sh*-*-netbsd*.
6989 (sh-*-rtems*): Add t-fdpbit to tmake_file.
6990 (sh-wrs-vxworks): Likewise.
6991 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6992 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6993 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6994 (sparc64-*-rtems*): ... new case.
6995 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6996 (spu-*-elf*): Likewise.
6997 Add spu/t-elf to tmake_file.
6998 (v850*-*-*): Add t-fdpbit to tmake_file.
6999 (xstormy16-*-elf): Likewise.
7000 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7001 (mep*-*-*): Likewise.
7002
201cdb74
RO
70032011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7004
7005 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7006 variables.
7007 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7008 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7009 (install-unwind_h): New target.
7010 (all): Depend on it.
7011 * config.host (unwind_header): New variable.
7012 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7013 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7014 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7015 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7016 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7017 Set unwind_header.
7018 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7019 Set unwind_header.
7020 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7021 arm*-*-eabi*.
7022 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7023 Set unwind_header.
7024 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7025 (ia64*-*-freebsd*): Likewise.
7026 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7027 tmake_file.
7028 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7029 $with_system_libunwind.
7030 (ia64*-*-hpux*): Set tmake_file.
7031 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7032 (picochip-*-*): Set tmake_file.
7033 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7034 md_unwind_header.
7035 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7036 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7037 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7038 (xtensa*-*-elf*): Set tmake_file.
7039 (xtensa*-*-linux*): Likewise.
7040 * configure.ac: Include ../config/unwind_ipinfo.m4.
7041 Call GCC_CHECK_UNWIND_GETIPINFO.
7042 Link unwind.h to $unwind_header.
7043 * configure: Regenerate.
7044 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7045 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7046 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7047 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7048 * config/unwind-dw2-fde-darwin.c: New file.
7049 * config/arm/libunwind.S, config/arm/pr-support.c,
7050 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7051 config/arm/unwind-arm.h,: New files.
7052 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7053 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7054 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7055 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7056 config/ia64/unwind-ia64.h: New files.
7057 * config/picochip/t-picochip: New file.
7058 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7059 files.
7060 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7061 * config/s390/t-tpf (LIB2ADDEH): Remove.
7062 * config/t-darwin (LIB2ADDEH): Set.
7063 * config/t-eh-dw2-dip: New file.
7064 * config/t-libunwind, config/t-libunwind-elf: New files.
7065 * config/t-sol2 (LIB2ADDEH): Remove.
7066 * config/xtensa/t-xtensa: New file.
7067
40f2f11f
L
70682011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7069
7070 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7071 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7072 long long to check rt_sigreturn syscall.
7073
bd15e32c
AM
70742011-08-02 Alan Modra <amodra@gmail.com>
7075
7076 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7077 Restore for indirect call bcrtl from correct stack slot, and only
7078 if cfa+40 isn't valid.
7079
655b30bf
JB
70802011-08-01 Julian Brown <julian@codesourcery.com>
7081
7082 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7083 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7084 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7085
247eb06f
JB
70862011-08-01 Julian Brown <julian@codesourcery.com>
7087
7088 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7089 (libgcc-std.ver.in): Use above.
7090 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7091 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7092 throughout file.
7093 * config/t-fixedpoint-gnu-prefix: New file.
7094 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7095 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7096 instead of __PFX__.
7097
02a8fe00
L
70982011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7099
7100 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7101 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7102 for x86-64. Properly check __x86_64__ and __LP64__.
7103
5fce9126
L
71042010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7105
7106 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7107 version.
7108 (_FP_WS_TYPE): Likewise.
7109 (_FP_I_TYPE): Likewise.
7110
2374a88a
AM
71112011-07-28 Alan Modra <amodra@gmail.com>
7112
7113 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7114 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7115 in a plt call stub. Do restore r2 if stopped on bctrl.
7116
e44dbbe1
RO
71172011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7118
7119 * config.host (i[3456x]86-*-netware*): Remove.
7120 * config/i386/netware-crt0.c, config/i386/t-nwld,
7121 config/i386/t-slibgcc-nwld: Remove.
7122
bcead286
BS
71232011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7124
7125 * config.host: Handle tic6x-*-*.
7126 * config/c6x/c6x-abi.h: New file.
7127
b3fe1584
RO
71282011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7129
7130 * config/i386/crtprec.c: New file.
7131 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7132 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7133 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7134 (x86_64-*-darwin*): Likewise.
7135 (i[34567]86-*-solaris2*: Likewise.
7136
35d8090d
RO
71372011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7138
7139 * config/alpha/crtfastmath.c: New file.
7140 * config/i386/crtfastmath.c: New file.
7141 * config/ia64/crtfastmath.c: New file.
7142 * config/mips/crtfastmath.c: New file.
7143 * config/sparc/crtfastmath.c: New file.
7144
7145 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7146 crtfastmath.c.
7147 Add -frandom-seed=gcc-crtfastmath.
7148 * config/alpha/t-crtfm: Remove.
7149 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7150 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7151
7152 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7153 (alpha*-dec-osf5.1*): Likewise.
7154 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7155 Add crtfastmath.o to extra_parts.
7156 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7157 Add crtfastmath.o to extra_parts.
7158 (x86_64-*-darwin*): Likewise.
7159 (x86_64-*-mingw*): Likewise.
7160 (ia64*-*-elf*): Add t-crtfm to tmake_file.
7161 (ia64*-*-freebsd*): Likewise.
7162 (ia64*-*-linux*): Likewise.
7163 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7164 Add crtfastmath.o to extra_parts.
7165
e141542e
RO
71662011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7167
7168 * config/darwin-crt3.o: New file.
7169 * config/rs6000/darwin-crt2.c: New file.
7170 * config/t-darwin: New file.
7171 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7172 (crt2.o): New rule.
7173 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7174 (powerpc-*-darwin*): Add crt2.o to extra_parts.
7175 (powerpc64-*-darwin*): Likewise.
7176
2d1efe2d
RO
71772011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7178
7179 * config/i386/netware-crt0.c: New file.
7180 * config/i386/t-nwld: Rename to ...
7181 * config/i386/t-slibgcc-nwld: ... this.
7182 * config/i386/t-nwld: New file.
7183 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7184 tmake_file.
7185 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7186 extra_parts.
7187
4a8bb046
RO
71882011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7189
7190 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7191 i386/t-crtstuff.
7192 * configure: Regenerate.
7193
2d8d5935
RO
71942011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7195
7196 * dfp-bit.c, dfp-bit.h: New files.
7197 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7198 variables.
7199 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7200 ($(d64pbit-o)): Likewise.
7201 ($(d128pbit-o)): Likewise.
7202 * config/t-dfprules: New file.
7203 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7204 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7205 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7206 (x86_64-*-linux*): Likewise.
7207 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7208 (i[34567]86-*-cygwin*): Likewise.
7209 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
7210 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7211
2c50b2c3
RO
72122011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7213
7214 * Makfile.in (LIBGCOV): New variable.
7215 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7216 * libgcov.c: New file.
7217
a039d7c2
RO
72182011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7219
7220 * fixed-bit.c, fixed-bit.h: New files.
7221 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7222 refer to fixed-bit.c.
7223
1e4b2746
JM
72242011-07-07 Joseph Myers <joseph@codesourcery.com>
7225
7226 * config.host (*local*): Remove.
7227
fbdd5d87
RO
72282011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7229
7230 PR target/39150
7231 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7232 like i?86-*-solaris2.1[0-9]*.
7233 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7234 * configure.ac (i?86-*-solaris2*): Likewise.
7235 * configure: Regenerate.
7236
9e7714f4
TS
72372011-07-06 Thomas Schwinge <thomas@schwinge.name>
7238
7239 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7240 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7241 md_unwind_header by splitting out of...
7242 (i[34567]86-*-linux*): ... this.
7243 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7244 Remove md_unwind_header by splitting out of...
7245 (x86_64-*-linux*): ... this.
7246
6dab9931
GJL
72472011-07-04 Georg-Johann Lay <avr@gjlay.de>
7248
7249 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7250
4be46d19
NC
72512011-06-28 Nick Clifton <nickc@redhat.com>
7252
7253 * config.host: Recognize all V850 variants.
7254
1da9434b
UB
72552011-06-22 Uros Bizjak <ubizjak@gmail.com>
7256
7257 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7258
e4d48a4d
RO
72592011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7260
7261 * shared-object.mk (c_flags-$o): Save c_flags.
7262 ($(base)$(objext)): Use it.
7263 ($(base)_s$(objext)): Likewise.
7264
3801c801
BS
72652011-06-21 Bernd Schmidt <bernds@codesourcery.com>
7266
7267 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7268 * libgcc-std.ver.in (GCC_4.7.0): New section.
7269
0ad8bb3b 72702011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 7271
0ad8bb3b
GJL
7272 PR target/49313
7273 PR target/29524
7274 * config/avr/t-avr: Fix line endings.
7275 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
7276 _parityXX2.
7277
ea963999
OH
72782011-06-14 Olivier Hainque <hainque@adacore.com>
7279 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7280
7281 * config/mips/irix6-unwind.h: New file.
7282 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7283
b11b0904
EB
72842011-06-10 Eric Botcazou <ebotcazou@adacore.com>
7285
7286 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7287 (sparc64_fallback_frame_state): Use it.
7288 (sparc64_frob_update_context): Further adjust context.
7289 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7290 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7291 * config/sparc/sol2-cn.S: Likewise.
7292
10e48e39
RO
72932011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7294
7295 * enable-execute-stack-empty.c: New file.
7296 * enable-execute-stack-mprotect.c: New file.
7297 * config/i386/enable-execute-stack-mingw32.c: New file.
7298 * config.host (enable_execute_stack): New variable.
7299 Select appropriate variants.
7300 * configure.ac: Link enable-execute-stack.c to
7301 $enable_execute_stack.
7302 * configure: Regenerate.
7303 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7304 (lib2funcs): Remove _enable_execute_stack.
7305
10c4cabc
DM
73062011-06-09 David S. Miller <davem@davemloft.net>
7307 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7308
7309 * config.host (sparc-*-linux*): Correct md_unwind_header
7310 filename.
7311 (s390x-ibm-tpf*): Fix typo.
7312
aa4203e7
RO
73132011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7314
7315 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7316 Add crtfastmath.o to extra_parts.
7317 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7318 mips/t-crtfm.
7319 * config/mips/t-crtfm: Remove.
7320
0defd786
JDA
73212011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7322
7323 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7324
82f247af
KK
73252011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7326
7327 * config.host (sh*-*-linux*): Fix typo.
7328
58cd1d70
RO
73292011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7330
7331 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7332 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7333 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7334 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7335 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7336 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7337 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7338 Wrap in !__MINGW64__.
7339 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7340 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7341 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7342 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7343 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7344 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7345 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7346 Wrap in !__LP64__.
7347 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7348 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7349 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7350 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7351 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7352 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7353 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7354 * config/no-unwind.h: New file.
7355 * config.host (md_unwind_header): Document.
7356 Define.
7357 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7358 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7359 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7360 hppa[12]*-*-hpux11*): Set md_unwind_header.
7361 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7362 Set md_unwind_header.
7363 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7364 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7365 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7366 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7367 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7368 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7369 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7370 md_unwind_header.
7371 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7372 * configure: Regenerate.
7373
737346fa
RO
73742011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7375
7376 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7377 Set tmake_file, extra_parts.
7378 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7379 Remove O32 support.
7380 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7381 Remove O32 support.
7382 * config/mips/t-irix6: New file.
7383 * config/mips/t-slibgcc-irix: New file.
7384
c192cee6
RO
73852011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7386
7387 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7388 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7389
ee33b5f0
RO
73902011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7391
7392 * configure.ac (target_thread_file): Determine thread model.
7393 * configure: Regenerate.
7394 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7395 * config/alpha/t-alpha: New file.
7396 * config/alpha/t-crtfm: Use $<.
7397 * config/alpha/t-ieee: New file.
7398 * config/alpha/t-osf-pthread: New file.
7399 * config/alpha/t-slibgcc-osf: New file.
7400 * config/alpha/libgcc-osf5.ver: New file.
7401
0699e415
RO
74022011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7403
7404 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7405 tmake_file.
7406 Add crtfastmath.o to extra_parts.
7407
a3fab9c2
RO
74082011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7409
7410 * config/gmon-sol2.c: Reindent.
7411 Cleanup comments.
7412 Remove, correct casts.
7413 Use STDERR_FILENO, NULL.
7414 (BASEADDRESS): Remove.
7415 (minbrk): Remove.
7416 (errno, sbrk): Remove declarations.
7417 (monstartup) [hp300]: Remove.
7418 (mcount): Remove.
7419
ca24c5ad
RO
74202011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7421
7422 * Makefile.in (cpu_type): Define.
7423 * config.host (i[34567]86-*-rtems*): Handle it.
7424 (i[34567]86-*-solaris2*): Move body ...
7425 (*-*-solaris2*): ... here.
7426 New case, generalize.
7427 (sparc-*-elf*): Handle it.
7428 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7429 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7430 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7431 Fold into ...
7432 (sparc*-*-solaris2*): ... this.
7433 New case.
7434 (sparc64-*-elf*): Handle it.
7435 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7436 Merge ../gcc/config/i386/gmon-sol2.c.
7437 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7438 Use C comments.
7439 Merge ../gcc/config/i386/sol2-gc1.asm.
7440 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7441 Use C comments.
7442 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7443 Use C comments.
7444 * config/i386/t-crtfm (crtfastmath.o): Use $<.
7445 * config/i386/t-crtstuff: New file.
7446 * config/i386/t-softfp: New file.
7447 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7448 $(T)crti.o, $(T)crtn.o): Remove.
7449 (gcrt1.o): New rule.
7450 (TARGET_LIBGCC2_CFLAGS): Remove.
7451 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7452 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7453 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7454 * config/sparc/t-sol2: New file.
7455 * config/sparc/t-crtfm: Move to ...
7456 * config/t-crtfm: ... this.
7457 Use $(cpu_type), $<.
7458 * config/t-crtin: New file.
7459 * config/sparc/t-softfp: New file.
7460 * config/sparc/t-softmul: New file.
7461 * config/t-rtems: New file.
7462 * config/t-slibgcc: New file.
7463 * config/t-slibgcc-elf-ver: New file.
7464 * config/t-slibgcc-gld: New file.
7465 * config/t-slibgcc-sld: New file.
7466 * config/t-sol2: New file.
7467 * configure.ac: Include ../config/lib-ld.m4.
7468 Call AC_LIB_PROG_LD_GNU.
7469 Substitute cpu_type.
7470 * configure: Regenerate.
7471
ad5f3d7b
BS
74722011-05-27 Bernd Schmidt <bernds@codesourcery.com>
7473
7474 PR bootstrap/49173
7475 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7476 libgcc-std.ver in the build directory.
7477 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7478 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7479
cdbf4541
BS
74802011-05-25 Bernd Schmidt <bernds@codesourcery.com>
7481
7482 * libgcc-std.ver.in: New file.
7483 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7484 variables.
7485 (libgcc-std.ver): New rule.
7486 * config/t-gnu-prefix: New file.
7487
c8028650
RO
74882011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7489
7490 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7491
4a68b4ca
JM
74922011-05-10 Joseph Myers <joseph@codesourcery.com>
7493
7494 * config/i386/darwin-lib.h: New file.
7495
80cf2e08
JM
74962011-05-10 Joseph Myers <joseph@codesourcery.com>
7497
7498 * config/arm/symbian-lib.h: New.
7499
a3330c9d
CD
75002011-05-04 Chris Demetriou <cgd@google.com>
7501
7502 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7503 (__x86.get_pc_thunk.bx): ...this.
7504 (__morestack): Adjust for rename, remove undef of __i686.
7505
6ace0756
CD
75062011-05-03 Chris Demetriou <cgd@google.com>
7507
7508 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7509
ebb9f8b0
JM
75102011-03-22 Joseph Myers <joseph@codesourcery.com>
7511
7512 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7513 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7514 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7515 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7516 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7517 Remove cases.
7518
9cfa1499
AT
75192011-03-14 Andreas Tobler <andreast@fgznet.ch>
7520
7521 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7522 Adjust copyright year.
7523
457186f6
ILT
75242011-03-07 Ian Lance Taylor <iant@google.com>
7525
7526 * generic-morestack.c (__splitstack_find): Adjust returned stack
7527 pointer to include all registers pushed by __morestack.
7528
58c741a6
DK
75292011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
7530
7531 PR target/40125
7532 * configure.ac: Call ACX_NONCANONICAL_TARGET.
7533 (toolexecdir): Calculate and AC_SUBST.
7534 (toolexeclibdir): Likewise.
7535 * Makefile.in (target_noncanonical): Import.
7536 (toolexecdir): Likewise.
7537 (toolexeclibdir): Likewise.
7538 * configure: Regenerate.
7539
26716c44
NF
75402010-12-13 Nathan Froyd <froydnj@codesourcery.com>
7541
7542 PR target/46040
7543 * config/arm/bpabi.h: Rename to...
7544 * config/arm/bpabi-lib.h: ...this.
7545
b595b1a1
RO
75462010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7547
7548 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7549 appropriate.
7550 * configure: Regenerate.
7551
a3abe41c
NF
75522010-11-24 Nathan Froyd <froydnj@codesourcery.com>
7553
7554 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7555 __FLOAT_WORD_ORDER__.
7556 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7557 Delete.
7558
455c8f48
RW
75592010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7560
7561 PR other/46202
7562 * Makefile.in (install-strip): New phony target.
7563
f3824a8b
ILT
75642010-11-07 Ian Lance Taylor <iant@google.com>
7565
7566 PR target/46089
7567 * config/i386/morestack.S (__morestack_large_model): New
7568 function.
7569
18ed6ee4
NF
75702010-10-23 Nathan Froyd <froydnj@codesourcery.com>
7571
7572 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7573 Delete.
7574 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7575
8ac7fdcb
NF
75762010-10-14 Nathan Froyd <froydnj@codesourcery.com>
7577
7578 * config/arm/bpabi.h: New file.
7579 * config/frv/frv-abi.h: New file.
7580
cdb388c2
ILT
75812010-10-01 Ian Lance Taylor <iant@google.com>
7582
7583 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7584 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7585
ef7c141c
L
75862010-10-01 H.J. Lu <hongjiu.lu@intel.com>
7587
7588 PR target/45858
7589 * config.host: Add the missing `$'.
7590
80920132
ME
75912010-09-30 Michael Eager <eager@eagercon.com>
7592
7593 * config.host: Add microblaze*-*-*.
7594 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7595 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7596 udivsi3.asm,umodsi3.asm}: New.
7597
6dace308
ILT
75982010-09-28 Ian Lance Taylor <iant@google.com>
7599
7600 * configure.ac: Adjust CFI test to test assembler directly rather
7601 than checking gcc preprocessor macro.
7602 * configure: Rebuild.
7603
b6110d6d
ILT
76042010-09-27 Ian Lance Taylor <iant@google.com>
7605
7606 * configure.ac: Test whether assembler supports CFI directives.
7607 * config.host: Only add t-stack and i386/t-stack-i386 to
7608 tmake_file if libgcc_cv_cfi is "yes".
7609 * configure: Rebuild.
7610
7458026b
ILT
76112010-09-27 Ian Lance Taylor <iant@google.com>
7612
7613 * generic-morestack.h: New file.
7614 * generic-morestack.c: New file.
7615 * generic-morestack-thread.c: New file.
7616 * config/i386/morestack.S: New file.
7617 * config/t-stack: New file.
7618 * config/i386/t-stack-i386: New file.
7619 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7620 i386/t-stack-i386 to tmake_file.
7621
5b50fc0c
IS
76222010-09-21 Iain Sandoe <iains@gcc.gnu.org>
7623
7624 * Makefile.in (libgcc-extra-parts): Check for static archives and
7625 invoke ranlib after installing them.
7626 (gcc-extra-parts): Likewise.
7627 (install-leaf): Likewise.
7628
b93cf342
L
76292010-09-14 H.J. Lu <hongjiu.lu@intel.com>
7630
7631 * configure: Regenerated.
7632
996b42ef
KT
76332010-09-10 Kai Tietz <kai.tietz@onevision.com>
7634
b93cf342 7635 * configure: Regenerated.
996b42ef 7636
be1c764e
GP
76372010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
7638 Andrew Pinski <pinskia@gmail.com>
7639
1da9434b 7640 PR target/40959
be1c764e
GP
7641 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
7642
cc0ae0ca
L
76432010-09-06 H.J. Lu <hongjiu.lu@intel.com>
7644
7645 PR target/45524
7646 * configure: Regenerated.
7647
84f47d20
AS
76482010-09-06 Andreas Schwab <schwab@redhat.com>
7649
7650 * configure: Regenerate.
7651
4159fb8d
UB
76522010-09-03 Uros Bizjak <ubizjak@gmail.com>
7653
7654 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7655 64bit targets.
7656 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7657 for 64bit targets.
7658
0df8fcc8
UB
76592010-09-03 Uros Bizjak <ubizjak@gmail.com>
7660 Iain Sandoe <iains@gcc.gnu.org>
7661
7662 PR target/45476
7663 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7664 LIB2FUNCS_EXCLUDE functions.
7665
3c39bca6
AK
76662010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7667
7668 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7669 Include dfp.m4.
7670 * configure: Regenerate.
7671
d78552bd
UB
76722010-09-01 Uros Bizjak <ubizjak@gmail.com>
7673
7674 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7675 i386/t-freebsd to tmake_file.
7676 * config/i386/t-freebsd: New file.
7677 * config/i386/libgcc-bsd.ver: New file.
7678
c5b79d4e
NF
76792010-07-23 Nathan Froyd <froydnj@codesourcery.com>
7680
7681 * config.host (powerpc*-eabispe*): Set tmake_file.
7682 (powerpc*-eabi*): Likewise.
7683 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7684 crtbeginS, crtendS, crtbeginT.
7685
48b09a92
KH
76862010-06-12 Kazu Hirata <kazu@codesourcery.com>
7687
7688 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7689 to tmake_file. Add crtfastmath.o to extra_parts.
7690 * config/mips/t-crtfm: New.
7691
7d296953 76922010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
7693
7694 * config.host (sparc64-*-rtems*): New target.
7695
ed104137
RO
76962010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7697
7698 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7699 assembler syntax.
7700
3f56ef8b
TS
77012010-04-15 Thomas Schwinge <tschwinge@gnu.org>
7702
7703 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7704
8c200350
RO
77052010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7706
7707 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7708 alpha-dec-osf5.0* support.
7709
7d296953 77102010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
7711
7712 * config.host: Add lm32-*-rtems*.
7713
f128db92 77142010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 7715 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
7716
7717 PR target/39048
7718 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7719 like other remaining 32-bit x86 OSes.
7720 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7721 assembler syntax.
7722 * config/i386/libgcc-sol2.ver: New file.
7723 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7724
7d296953 77252010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
7726
7727 PR c/43553
7728 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7729 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7730 is used and substitute set_use_emutls.
7731 * configure: Regenerated.
7732
15baf7f8
TG
77332010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
7734
7735 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7736
7f5441df
RO
77372010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7738
7739 PR target/38085
7740 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7741 MULTILIB_CFLAGS.
7742 ($(T)gcrt1.o): Likewise.
7743 ($(T)crt1.o): Likewise.
7744 ($(T)crti.o): Likewise.
7745 ($(T)crtn.o): Likewise.
7746
ef74edbd
RW
77472010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7748
7749 PR other/42980
7750 * Makefile.in (install): Use $(MAKE) string in rule, for
7751 parallel make.
7752
e7c914db
HPN
77532010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
7754
7755 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7756 * config/mmix/t-mmix: New file.
7757 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7758
1bcb71c4
JH
77592010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
7760
7761 PR java/41991
7762 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7763 SHLIB_MAPFILES.
7764
e6e50811
AG
77652010-01-04 Anthony Green <green@moxielogic.com>
7766
7767 * config/moxie/crti.asm, config/moxie/crtn.asm,
7768 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7769 config/moxie/t-moxie: New files.
7770 * config.host: Add t-moxie-softfp reference.
7771
7d296953 77722009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
7773
7774 PR other/39888
7775 * config/t-slibgcc-darwin: Fix embedded rpaths for
7776 --enable-version-specific-runtime-libs, build extension stub
7777 libs exposing features available from current libgcc_s.
7778
7d296953 77792009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 7780
d78552bd
UB
7781 * config.host: Add lm32 targets.
7782 * config/lm32: New directory.
7783 * config/lm32/libgcc_lm32.h: New file.
7784 * config/lm32/_mulsi3.c: New file.
7785 * config/lm32/_udivmodsi4.c: New file.
7786 * config/lm32/_divsi3.c: New file.
7787 * config/lm32/_modsi3.c: New file.
7788 * config/lm32/_udivsi3.c: New file.
7789 * config/lm32/_umodsi3.c: New file.
7790 * config/lm32/_lshrsi3.S: New file.
7791 * config/lm32/_ashrsi3.S: New file.
7792 * config/lm32/_ashlsi3.S: New file.
7793 * config/lm32/crti.S: New file.
7794 * config/lm32/crtn.S: New file.
7795 * config/lm32/t-lm32: New file.
7796 * config/lm32/t-elf: New file.
7797 * config/lm32/t-uclinux: New file.
aa4945c1 7798
65a324b4
NC
77992009-10-26 Nick Clifton <nickc@redhat.com>
7800
7801 * config.host: Add support for RX target.
7802 * config/rx: New directory.
7803 * config/rx/rx-abi-functions.c: New file. Supplementary
7804 functions for libgcc to support the RX ABI.
7805 * config/rx/rx-abi.h: New file. Supplementary header file for
7806 libgcc RX ABI functions.
7807 * config/rx/t-rx: New file: Makefile fragment for building
7808 libgcc for the RX.
7809
dfb3b0e3
UB
78102009-10-09 Uros Bizjak <ubizjak@gmail.com>
7811
7812 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7813 constraint of y0 to "g".
7814
81dd9fd7
AK
78152009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7816
7817 * config.host: Include the s390 makefile fragments.
7818 * config/s390/32/_fixdfdi.c: New file.
7819 * config/s390/32/_fixsfdi.c: New file.
7820 * config/s390/32/_fixtfdi.c: New file.
7821 * config/s390/32/_fixunsdfdi.c: New file.
7822 * config/s390/32/_fixunssfdi.c: New file.
7823 * config/s390/32/_fixunstfdi.c: New file.
7824 * config/s390/32/t-floattodi: New file.
7825 * config/s390/libgcc-glibc.ver: New file.
7826 * config/s390/t-crtstuff: New file.
7827 * config/s390/t-linux: New file.
7828 * config/s390/t-tpf: New file.
7829
df58e648
RW
78302009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7831
7832 * configure.ac (AC_PREREQ): Bump to 2.64.
7833
79052be3
KK
78342009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
7835
7836 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7837
5213506e
RW
78382009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7839
7840 * configure: Regenerate.
7841
a9a25daa
DR
78422009-08-09 Douglas B Rupp <rupp@gnat.com>
7843
7844 * config.host (ia64-hp-*vms*): New target.
7845 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7846 with ia64-hp-*vms*.
7847
6efbd53f
RW
78482009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7849
7850 * configure.ac: Add snippet for maintainer-mode.
7851 * configure: Regenerate.
7852 * Makefile.in (AUTOCONF, configure_deps): New variables.
7853 ($(srcdir)/configure)): New rule, active only with maintainer
7854 mode turned on.
7855
7acf4da6
DD
78562009-06-23 DJ Delorie <dj@redhat.com>
7857
7858 Add MeP port.
7859 * config.host: Add mep support.
7860
54f549af
KT
78612009-06-22 Kai Tietz <kai.tietz@onevision.com>
7862
34481f28 7863 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 7864 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
7865
7866 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7867 for mingw targets.
54f549af
KT
7868 * config/i386/64/_multc3.c: Likewise.
7869 * config/i386/64/_powitf2.c: Likewise.
7870 * config/i386/64/eqtf2.c: Likewise.
7871 * config/i386/64/getf2.c: Likewise.
7872 * config/i386/64/letf2.c: Likewise.
7873 * config/i386/64/letf2.c: Likewise.
34481f28
UB
7874 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7875 unsigned long long for x64 mingw targets.
7876 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7877 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 7878
fea96e25
MR
78792009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
7880
7881 * config.host (vax-*-linux*): New.
7882
cceb575c
AG
78832009-05-31 Anthony Green <green@moxielogic.com>
7884
7885 * config.host: Add moxie support.
7886 * config/moxie/t-moxie: New file.
7887
7d296953 78882009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
7889
7890 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 7891 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 7892
532bfb0a
AJ
78932009-04-17 Aurelien Jarno <aurelien@aurel32.net>
7894
7895 * config.host: Add i386/${host_address}/t-fprules-softfp to
7896 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7897
748086b7
JJ
78982009-04-09 Nick Clifton <nickc@redhat.com>
7899
7900 * config/ia64/tf-signs.c: Change copyright header to refer to
7901 version 3 of the GNU General Public License with version 3.1
7902 of the GCC Runtime Library Exception and to point readers at
7903 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7904 web page.
7905 * config/i386/32/tf-signs.c: Likewise.
7906 * config/libbid/_addsub_dd.c: Likewise.
7907 * config/libbid/_addsub_sd.c: Likewise.
7908 * config/libbid/_addsub_td.c: Likewise.
7909 * config/libbid/_dd_to_df.c: Likewise.
7910 * config/libbid/_dd_to_di.c: Likewise.
7911 * config/libbid/_dd_to_sd.c: Likewise.
7912 * config/libbid/_dd_to_sf.c: Likewise.
7913 * config/libbid/_dd_to_si.c: Likewise.
7914 * config/libbid/_dd_to_td.c: Likewise.
7915 * config/libbid/_dd_to_tf.c: Likewise.
7916 * config/libbid/_dd_to_udi.c: Likewise.
7917 * config/libbid/_dd_to_usi.c: Likewise.
7918 * config/libbid/_dd_to_xf.c: Likewise.
7919 * config/libbid/_df_to_dd.c: Likewise.
7920 * config/libbid/_df_to_sd.c: Likewise.
7921 * config/libbid/_df_to_td.c: Likewise.
7922 * config/libbid/_di_to_dd.c: Likewise.
7923 * config/libbid/_di_to_sd.c: Likewise.
7924 * config/libbid/_di_to_td.c: Likewise.
7925 * config/libbid/_div_dd.c: Likewise.
7926 * config/libbid/_div_sd.c: Likewise.
7927 * config/libbid/_div_td.c: Likewise.
7928 * config/libbid/_eq_dd.c: Likewise.
7929 * config/libbid/_eq_sd.c: Likewise.
7930 * config/libbid/_eq_td.c: Likewise.
7931 * config/libbid/_ge_dd.c: Likewise.
7932 * config/libbid/_ge_sd.c: Likewise.
7933 * config/libbid/_ge_td.c: Likewise.
7934 * config/libbid/_gt_dd.c: Likewise.
7935 * config/libbid/_gt_sd.c: Likewise.
7936 * config/libbid/_gt_td.c: Likewise.
7937 * config/libbid/_isinfd128.c: Likewise.
7938 * config/libbid/_isinfd32.c: Likewise.
7939 * config/libbid/_isinfd64.c: Likewise.
7940 * config/libbid/_le_dd.c: Likewise.
7941 * config/libbid/_le_sd.c: Likewise.
7942 * config/libbid/_le_td.c: Likewise.
7943 * config/libbid/_lt_dd.c: Likewise.
7944 * config/libbid/_lt_sd.c: Likewise.
7945 * config/libbid/_lt_td.c: Likewise.
7946 * config/libbid/_mul_dd.c: Likewise.
7947 * config/libbid/_mul_sd.c: Likewise.
7948 * config/libbid/_mul_td.c: Likewise.
7949 * config/libbid/_ne_dd.c: Likewise.
7950 * config/libbid/_ne_sd.c: Likewise.
7951 * config/libbid/_ne_td.c: Likewise.
7952 * config/libbid/_sd_to_dd.c: Likewise.
7953 * config/libbid/_sd_to_df.c: Likewise.
7954 * config/libbid/_sd_to_di.c: Likewise.
7955 * config/libbid/_sd_to_sf.c: Likewise.
7956 * config/libbid/_sd_to_si.c: Likewise.
7957 * config/libbid/_sd_to_td.c: Likewise.
7958 * config/libbid/_sd_to_tf.c: Likewise.
7959 * config/libbid/_sd_to_udi.c: Likewise.
7960 * config/libbid/_sd_to_usi.c: Likewise.
7961 * config/libbid/_sd_to_xf.c: Likewise.
7962 * config/libbid/_sf_to_dd.c: Likewise.
7963 * config/libbid/_sf_to_sd.c: Likewise.
7964 * config/libbid/_sf_to_td.c: Likewise.
7965 * config/libbid/_si_to_dd.c: Likewise.
7966 * config/libbid/_si_to_sd.c: Likewise.
7967 * config/libbid/_si_to_td.c: Likewise.
7968 * config/libbid/_td_to_dd.c: Likewise.
7969 * config/libbid/_td_to_df.c: Likewise.
7970 * config/libbid/_td_to_di.c: Likewise.
7971 * config/libbid/_td_to_sd.c: Likewise.
7972 * config/libbid/_td_to_sf.c: Likewise.
7973 * config/libbid/_td_to_si.c: Likewise.
7974 * config/libbid/_td_to_tf.c: Likewise.
7975 * config/libbid/_td_to_udi.c: Likewise.
7976 * config/libbid/_td_to_usi.c: Likewise.
7977 * config/libbid/_td_to_xf.c: Likewise.
7978 * config/libbid/_tf_to_dd.c: Likewise.
7979 * config/libbid/_tf_to_sd.c: Likewise.
7980 * config/libbid/_tf_to_td.c: Likewise.
7981 * config/libbid/_udi_to_dd.c: Likewise.
7982 * config/libbid/_udi_to_sd.c: Likewise.
7983 * config/libbid/_udi_to_td.c: Likewise.
7984 * config/libbid/_unord_dd.c: Likewise.
7985 * config/libbid/_unord_sd.c: Likewise.
7986 * config/libbid/_unord_td.c: Likewise.
7987 * config/libbid/_usi_to_dd.c: Likewise.
7988 * config/libbid/_usi_to_sd.c: Likewise.
7989 * config/libbid/_usi_to_td.c: Likewise.
7990 * config/libbid/_xf_to_dd.c: Likewise.
7991 * config/libbid/_xf_to_sd.c: Likewise.
7992 * config/libbid/_xf_to_td.c: Likewise.
7993 * config/libbid/bid128.c: Likewise.
7994 * config/libbid/bid128_2_str.h: Likewise.
7995 * config/libbid/bid128_2_str_macros.h: Likewise.
7996 * config/libbid/bid128_2_str_tables.c: Likewise.
7997 * config/libbid/bid128_add.c: Likewise.
7998 * config/libbid/bid128_compare.c: Likewise.
7999 * config/libbid/bid128_div.c: Likewise.
8000 * config/libbid/bid128_fma.c: Likewise.
8001 * config/libbid/bid128_logb.c: Likewise.
8002 * config/libbid/bid128_minmax.c: Likewise.
8003 * config/libbid/bid128_mul.c: Likewise.
8004 * config/libbid/bid128_next.c: Likewise.
8005 * config/libbid/bid128_noncomp.c: Likewise.
8006 * config/libbid/bid128_quantize.c: Likewise.
8007 * config/libbid/bid128_rem.c: Likewise.
8008 * config/libbid/bid128_round_integral.c: Likewise.
8009 * config/libbid/bid128_scalb.c: Likewise.
8010 * config/libbid/bid128_sqrt.c: Likewise.
8011 * config/libbid/bid128_string.c: Likewise.
8012 * config/libbid/bid128_to_int16.c: Likewise.
8013 * config/libbid/bid128_to_int32.c: Likewise.
8014 * config/libbid/bid128_to_int64.c: Likewise.
8015 * config/libbid/bid128_to_int8.c: Likewise.
8016 * config/libbid/bid128_to_uint16.c: Likewise.
8017 * config/libbid/bid128_to_uint32.c: Likewise.
8018 * config/libbid/bid128_to_uint64.c: Likewise.
8019 * config/libbid/bid128_to_uint8.c: Likewise.
8020 * config/libbid/bid32_to_bid128.c: Likewise.
8021 * config/libbid/bid32_to_bid64.c: Likewise.
8022 * config/libbid/bid64_add.c: Likewise.
8023 * config/libbid/bid64_compare.c: Likewise.
8024 * config/libbid/bid64_div.c: Likewise.
8025 * config/libbid/bid64_fma.c: Likewise.
8026 * config/libbid/bid64_logb.c: Likewise.
8027 * config/libbid/bid64_minmax.c: Likewise.
8028 * config/libbid/bid64_mul.c: Likewise.
8029 * config/libbid/bid64_next.c: Likewise.
8030 * config/libbid/bid64_noncomp.c: Likewise.
8031 * config/libbid/bid64_quantize.c: Likewise.
8032 * config/libbid/bid64_rem.c: Likewise.
8033 * config/libbid/bid64_round_integral.c: Likewise.
8034 * config/libbid/bid64_scalb.c: Likewise.
8035 * config/libbid/bid64_sqrt.c: Likewise.
8036 * config/libbid/bid64_string.c: Likewise.
8037 * config/libbid/bid64_to_bid128.c: Likewise.
8038 * config/libbid/bid64_to_int16.c: Likewise.
8039 * config/libbid/bid64_to_int32.c: Likewise.
8040 * config/libbid/bid64_to_int64.c: Likewise.
8041 * config/libbid/bid64_to_int8.c: Likewise.
8042 * config/libbid/bid64_to_uint16.c: Likewise.
8043 * config/libbid/bid64_to_uint32.c: Likewise.
8044 * config/libbid/bid64_to_uint64.c: Likewise.
8045 * config/libbid/bid64_to_uint8.c: Likewise.
8046 * config/libbid/bid_b2d.h: Likewise.
8047 * config/libbid/bid_binarydecimal.c: Likewise.
8048 * config/libbid/bid_conf.h: Likewise.
8049 * config/libbid/bid_convert_data.c: Likewise.
8050 * config/libbid/bid_decimal_data.c: Likewise.
8051 * config/libbid/bid_decimal_globals.c: Likewise.
8052 * config/libbid/bid_div_macros.h: Likewise.
8053 * config/libbid/bid_dpd.c: Likewise.
8054 * config/libbid/bid_flag_operations.c: Likewise.
8055 * config/libbid/bid_from_int.c: Likewise.
8056 * config/libbid/bid_functions.h: Likewise.
8057 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8058 * config/libbid/bid_inline_add.h: Likewise.
8059 * config/libbid/bid_internal.h: Likewise.
8060 * config/libbid/bid_round.c: Likewise.
8061 * config/libbid/bid_sqrt_macros.h: Likewise.
8062
80632009-04-09 Jakub Jelinek <jakub@redhat.com>
8064
8065 * Makefile.in: Change copyright header to refer to version
8066 3 of the GNU General Public License and to point readers at the
8067 COPYING3 file and the FSF's license web page.
8068 * config.host: Likewise.
8069
633dd061
AM
80702009-04-07 Alan Modra <amodra@bigpond.net.au>
8071
8072 * config.host: Reorder and merge to match config.gcc change.
8073
457d1d00
AM
80742009-04-03 Alan Modra <amodra@bigpond.net.au>
8075
8076 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8077
52c0e446
JM
80782009-03-28 Joseph Myers <joseph@codesourcery.com>
8079
8080 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8081 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8082 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8083 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8084
ba181049
UB
80852009-02-12 Uros Bizjak <ubizjak@gmail.com>
8086
8087 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8088 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8089
c252db20
L
80902009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8091
ba181049
UB
8092 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8093 ia64/t-softfp-compat to tmake_file.
c252db20
L
8094
8095 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8096
8097 * config/ia64/__divxf3.asm: New.
8098 * config/ia64/_fixtfdi.asm: Likewise.
8099 * config/ia64/_fixunstfdi.asm: Likewise.
8100 * config/ia64/_floatditf.asm: Likewise.
8101 * config/ia64/t-fprules-softfp: Likewise.
8102 * config/ia64/t-softfp-compat: Likewise.
8103 * config/ia64/tf-signs.c: Likewise.
8104
c60535f9
BE
81052009-01-18 Ben Elliston <bje@au.ibm.com>
8106
8107 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8108
ce16861e
BE
81092009-01-16 Ben Elliston <bje@au.ibm.com>
8110
8111 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8112 to tmake_file.
8113
bcf4713b
BE
81142009-01-13 Ben Elliston <bje@au.ibm.com>
8115
8116 * config/t-softfp: New file.
8117 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8118 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8119
7d296953 81202009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
8121
8122 * config.host: Add m32r*-*-rtems*.
8123
7d296953 81242008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
8125
8126 * config.host: Add m32c*-*-rtems*.
8127
19523300
RO
81282008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8129
8130 PR bootstrap/33100
8131 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8132 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8133 * configure: Regenerate.
8134 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8135 tmake_file here from gcc/config.gcc.
8136 Move extra_parts here from gcc/config.gcc.
8137 * config/i386/t-sol2: Move here from gcc/config/i386.
8138 Use gcc_srcdir instead of srcdir.
8139
0a4a51c7
AN
81402008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8141
8142 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8143 case.
8144
2a761e46
TS
81452008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8146
8147 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8148
c0451df7
TS
81492008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8150
8151 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8152
358da97e
HS
81532008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8154
8155 Add picoChip port.
8156 * config.host: Add picochip-*-*.
8157
c660f132
BW
81582008-08-06 Bob Wilson <bob.wilson@acm.org>
8159
8160 * config.host: Match more processor names for Xtensa.
8161
d1349557
L
81622008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8163
8164 * config/i386/64/t-softfp-compat: Update comments.
8165
dd7b73c0
L
81662008-07-07 H.J. Lu <hongjiu.lu@intel.com>
8167
8168 * config/i386/64/_divtc3-compat.c: Moved to ...
8169 * config/i386/64/_divtc3.c: Here.
8170
8171 * config/i386/64/_multc3-compat.c: Moved to ...
8172 * config/i386/64/_multc3.c: Here.
8173
8174 * config/i386/64/_powitf2-compat.c: Moved to ...
8175 * config/i386/64/_powitf2.c: Here.
8176
8177 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8178 .c suffix instead of -compat.c.
8179
6e1fab3d
UB
81802008-07-05 Uros Bizjak <ubizjak@gmail.com>
8181
8182 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8183 (_FP_MUL_MEAT_D): Ditto.
8184 (_FP_DIV_MEAT_S): Ditto.
8185 (_FP_DIV_MEAT_D): Ditto.
8186
f92518d7
RS
81872008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
8188
8189 * Makefile.in: Add support for __sync_* libgcc functions.
8190
d0aede14
L
81912008-07-03 H.J. Lu <hongjiu.lu@intel.com>
8192
8193 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8194
c174f11c
L
81952008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8196
8197 PR boostrap/36702
8198 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8199 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
8200
8201 * config/i386/64/t-fprules-softfp: Moved to ...
8202 * config/i386/64/t-softfp-compat: This. New.
8203
5f464fa2
UB
82042008-07-02 Uros Bizjak <ubizjak@gmail.com>
8205
8206 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8207 Initialize f with 0.0.
8208
ff473280
L
82092008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8210
8211 PR target/36669
8212 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8213
8214 * config/i386/64/_divtc3-compat.c: New.
8215 * config/i386/64/_multc3-compat.c: Likewise.
8216 * config/i386/64/_powitf2-compat.c: Likewise.
8217 * config/i386/64/eqtf2.c: Likewise.
8218 * config/i386/64/getf2.c: Likewise.
8219 * config/i386/64/letf2.c: Likewise.
8220 * config/i386/64/t-fprules-softfp: Likewise.
8221
82222008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8223
8224 * config.host: Add i386/${host_address}/t-fprules-softfp to
8225 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 8226 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
8227
8228 * configure.ac: Set host_address to 64 or 32 for x86.
8229 * configure: Regenerated.
8230
8231 * Makefile.in (config.status): Also depend on
8232 $(srcdir)/config.host.
8233
8234 * config/i386/32/t-fprules-softfp: New.
8235 * config/i386/32/tf-signs.c: Likewise.
8236
8237 * config/i386/64/sfp-machine.h: New. Moved from gcc.
8238
82392008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8240 Uros Bizjak <ubizjak@gmail.com>
8241
8242 * config/i386/32/sfp-machine.h: New.
8243
30551d99
NF
82442008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8245
8246 * config/rs6000/t-ppccomm: Remove rules that conflict with
8247 auto-generated rules.
8248
18c04407
RW
82492008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8250
8251 * configure.ac: sinclude override.m4.
8252 * configure: Regenerate.
8253
10fbe77a
BRF
82542008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
8255
8256 * configure: Regenerate.
8257
bc6d4c3f
JM
82582008-06-10 Joseph Myers <joseph@codesourcery.com>
8259
8260 * Makefile.in (DECNUMINC): Remove
8261 -I$(MULTIBUILDTOP)../../libdecnumber.
8262 * gstdint.h: New.
8263
cd985f66
JM
82642008-06-07 Joseph Myers <joseph@codesourcery.com>
8265
8266 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8267 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8268 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8269 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8270 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8271 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8272 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8273 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8274 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8275 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8276 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8277 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8278 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8279 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8280
93fea8d3
AL
82812008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
8282
8283 * config.host (sh2[lbe]*-*-linux*): Allow target.
8284
18724e30
NF
82852008-04-30 Nathan Froyd <froydnj@codesourcery.com>
8286
8287 * config/rs6000/t-ppccomm: Add build rules for new files.
8288 (LIB2ADD_ST): New variable.
8289
47583040
AH
82902008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
8291
8292 PR target/34210
8293 PR target/35508
8294 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8295 * config/t-avr: New file. Build 16bit libgcc functions.
8296
cf8e67fe
JJ
82972008-03-02 Jakub Jelinek <jakub@redhat.com>
8298
8299 PR target/35401
8300 * config/t-slibgcc-darwin: Make install-leaf dependent on
8301 install-darwin-libgcc-stubs instead of install.
8302
8d8da227
JM
83032008-01-25 Joseph Myers <joseph@codesourcery.com>
8304
8305 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8306 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8307 sh-*-rtemscoff*): Remove cases.
8308
edbf8b16
RS
83092007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
8310
8311 * Makefile.in (all): Use install-leaf rather than install.
8312 (install): Split most of the rule into...
8313 (install-leaf): ...this new one.
8314
89deeaff
EK
83152007-12-19 Etsushi Kato <ek.kato@gmail.com>
8316 Paolo Bonzini <bonzini@gnu.org>
8317
8318 PR target/30572
5f464fa2
UB
8319 * Makefile.in: Use @shlib_slibdir@ substitution to get
8320 correct install name on darwin.
89deeaff 8321 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 8322
4081d704
HPN
83232007-12-15 Hans-Peter Nilsson <hp@axis.com>
8324
8325 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8326 cris-*-elf and cris-*-none.
8327 (crisv32-*-linux*): Similar, as cris-*-linux*.
8328
f43e89a3
RIL
83292007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8330
8331 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8332
b4e9c2c6
L
83332007-10-27 H.J. Lu <hongjiu.lu@intel.com>
8334
8335 PR regression/33926
8336 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8337 * configure: Regenerated.
8338
b2a00c89
L
83392007-09-27 H.J. Lu <hongjiu.lu@intel.com>
8340
8341 * Makefile.in (dfp-filenames): Replace decimal_globals,
8342 decimal_data, binarydecimal and convert_data with
8343 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8344 and bid_convert_data, respectively.
8345
8d2a9e0e
CF
83462007-09-17 Chao-ying Fu <fu@mips.com>
8347 Nigel Stephens <nigel@mips.com>
8348
8349 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8350 * Makefile.in (fixed_point): Define.
8351 Check if fixed_point is yes to build support functions.
8352 * configure.ac: Check for fixed_point support.
8353 * configure: Regenerated.
8354 * gen-fixed.sh: New file to generate lists of fixed-point labels,
8355 funcs, modes, from, to.
8356
2b53935d
JJ
83572007-09-11 Janis Johnson <janis187@us.ibm.com
8358
8359 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8360
2533577f
JJ
83612007-09-10 Janis Johnson <janis187@us.ibm.com>
8362
8363 * Makefile.in (dfp-filenames): Remove decUtility, add
8364 decDouble, decPacked, decQuad, decSingle.
8365
3ae3dbd6
HK
83662007-08-27 Hans Kester <hans.kester@ellips.nl>
8367
8368 * config.host : Add x86_64-elf target.
8369
22867d02
L
83702007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8371
8372 * configure.ac (set_have_cc_tls): Add a missing =.
8373 * configure: Regenerated.
8374
6f461e76
L
83752007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8376
8377 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8378 and x86_64-*-linux*.
8379
8380 * config/t-tls: New file.
8381
dfb3b0e3 8382 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
8383
8384 * configure.ac: Include ../config/enable.m4 and
8385 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
8386 supports TLS and substitute set_have_cc_tls.
8387 * configure: Regenerated.
8388
200359e8
L
83892007-07-04 H.J. Lu <hongjiu.lu@intel.com>
8390
8391 * Makefile.in: Use libbid for DFP when BID is enabled.
8392
76f5e200
DS
83932007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
8394
8395 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 8396 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
8397 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8398
9bd196f0 83992007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 8400 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
8401
8402 PR target/29498
8403 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8404 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
8405 * config/i386/t-crtfm: Compile crtfastmath.o with
8406 -minline-all-stringops.
8407
1910440e
RS
84082007-05-10 Richard Sandiford <richard@codesourcery.com>
8409
8410 * config.host (sparc-wrs-vxworks): New target.
8411
7d33c31d
KH
84122007-04-14 Kazu Hirata <kazu@codesourcery.com>
8413
8414 * config.host: Recognize fido.
8415
96fccd0d
JJ
84162007-04-04 Janis Johnson <janis187@us.ibm.com>
8417
8418 * configure: Check host, not target, for decimal float support.
8419
577565f9
UB
84202007-04-03 Uros Bizjak <ubizjak@gmail.com>
8421
8422 * config/i386/t-crtpc: New file.
8423 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 8424 (x86_64-*-linux*): Ditto.
577565f9 8425
ccf8e764
RH
84262007-02-30 Kai Tietz <kai.tietz@onevision.com>
8427
8428 * config.host (x86_64-*-mingw*): New target.
8429
79b87c74
MM
84302007-03-23 Michael Meissner <michael.meissner@amd.com>
8431 H.J. Lu <hongjiu.lu@intel.com>
8432
8433 * Makefile.in (enable_decimal_float): New.
8434 (DECNUMINC): Add
8435 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8436 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8437 (decbits-filenames): This.
8438 (decbits-objects): New.
8439 (libgcc-objects): Add $(decbits-objects).
8440
8441 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8442 Substitute enable_decimal_float.
8443 * configure: Regenerated.
8444
8fce4e31
HPN
84452007-03-19 Hans-Peter Nilsson <hp@axis.com>
8446
8447 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8448
e8bb4597
BM
84492007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8450
8451 * Makefile.in (install-info): New dummy target.
8452
344189f9
BS
84532007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8454
8455 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8456
ac84c172
BM
84572007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8458
8459 * Makefile.in: Add install-html and install-pdf dummy
8460 targets.
8461
cd5c2357
RS
84622007-02-05 Roger Sayle <roger@eyesopen.com>
8463 Daniel Jacobowitz <dan@codesourcery.com>
8464
8465 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8466 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8467 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8468
d9a66f98
JJ
84692007-01-29 Janis Johnson <janis187@us.ibm.com>
8470
8471 * Makefile.in (dec-filenames): Add decExcept.
8472
9891ec5f
DJ
84732007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8474
8475 PR bootstrap/30469
8476 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8477 -fprofile-use.
8478
d6efbf5a
DJ
84792007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
8480
8481 * configure.ac: Add --enable-version-specific-runtime-libs.
8482 Correct $slibdir default.
8483 * configure: Regenerated.
8484
17caeff2
JM
84852007-01-23 Joseph Myers <joseph@codesourcery.com>
8486
8487 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8488
5ea41e3a
AP
84892007-01-21 Andrew Pinski <pinskia@gmail.com>
8490
8491 PR target/30519
8492 * config.host (alpha*-*-linux*): Set extra_parts.
8493
26900826
KK
84942007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8495
8496 * config/sh/t-linux: New.
8497 * config.host (sh*-*-linux*): Set tmake_file.
8498
97af925b
DJ
84992007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8500
8501 * Makefile.in (install): Handle multilibs.
8502
b0088af7
BM
85032007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8504
8505 * Makefile.in: Added .PHONY entry for documentation targets.
8506
e0a9456a
BM
85072007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8508
8509 * Makefile.in: Add empty info, html, dvi, pdf targets.
8510
7fd453b4
MS
85112007-01-04 Mike Stump <mrs@apple.com>
8512
8513 * Makefile.in (MAKEINFO): Remove.
8514 (PERL): Likewise.
8515
14e8fc8b
PB
85162007-01-04 Paolo Bonzini <bonzini@gnu.org>
8517
8518 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8519 * configure: Regenerate.
8520 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 8521 (gcc_objdir): Use it.
14e8fc8b 8522
1555beba
DJ
85232007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8524
8525 * config.host (ia64*-*-linux*): Set tmake_file.
8526
79e6eaeb
DJ
85272007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8528
8529 * Makefile.in (version): Define.
8530
fa958513
DJ
85312007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8532 Paolo Bonzini <bonzini@gnu.org>
8533
8534 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8535 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8536 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8537 config/sparc/t-crtfm, config/t-slibgcc-darwin,
8538 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8539 shared-object.mk, siditi-object.mk, static-object.mk: New files.
8540 * configure: Generated.
818ab71a 8541\f
cbe34bb5 8542Copyright (C) 2007-2017 Free Software Foundation, Inc.
818ab71a
JJ
8543
8544Copying and distribution of this file, with or without modification,
8545are permitted in any medium without royalty provided the copyright
8546notice and this notice are preserved.