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