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