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