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