]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
re PR other/79046 (g++ -print-file-name=plugin uses full version number in path)
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
a876231c
JW
12017-01-20 Jiong Wang <jiong.wang@arm.com>
2
3 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4 * unwind-dw2.c (execute_cfa_program): Only multiplexing
5 DW_CFA_GNU_window_save for AArch64 and LP64.
6
aa348be2
JW
72017-01-20 Jiong Wang <jiong.wang@arm.com>
8
9 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
10
5636faf2
JW
112017-01-19 Jiong Wang <jiong.wang@arm.com>
12
13 * config/aarch64/aarch64-unwind.h: New file.
14 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
15 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
16 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
17 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
18 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
19 (aarch64_post_extract_frame_addr): New function.
20 (aarch64_post_frob_eh_handler_addr): New function.
21 (aarch64_frob_update_context): New function.
22 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
23 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
24 aarch64*-*-freebsd*):
25 Initialize md_unwind_header to include aarch64-unwind.h.
26 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
27 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
28 __aarch64__.
29 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
30 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
31 (uw_frob_return_addr): New function.
32 (uw_install_context): Use uw_frob_return_addr.
33
3c36aa6b
JJ
342017-01-17 Jakub Jelinek <jakub@redhat.com>
35
36 PR other/79046
37 * configure.ac: Add GCC_BASE_VER.
38 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
39 version from BASE-VER file.
40 * configure: Regenerated.
41
829afb8f
JS
422017-01-13 Joe Seymour <joe.s@somniumtech.com>
43
44 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
45 libmul_f5.a): Filter archived prerequisites.
46
79fc8ffe
AS
472017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
48
49 * config/i386/cpuinfo.h (processor_features): Add
50 FEATURE_AVX512VPOPCNTDQ.
51 * config/i386/cpuinfo.c (get_available_features): Habdle new
52 feature.
53
fec5f4e0
JM
542017-01-04 Joseph Myers <joseph@codesourcery.com>
55
56 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
57 payload if [__mips_nan2008].
58
8f56cb51
AM
592017-01-04 Alan Modra <amodra@gmail.com>
60
61 * Makefile.in (configure_deps): Update.
62 * configure: Regenerate.
63
cbe34bb5
JJ
642017-01-01 Jakub Jelinek <jakub@redhat.com>
65
66 Update copyright years.
67
ab955692
KW
682016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
69
70 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
71 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
72 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
73
de34320f
MK
742016-12-17 Matthias Klose <doko@ubuntu.com>
75
76 * config/arc/gmon: Remove empty directory.
77
e04ea1da
CZ
782016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
79
80 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
81 crtgend.
82 (arc*-*-elf*): Likewise.
83 * config/arc/t-arc: Remove old gmon lib targets.
84 * config/arc/crtg.S: Remove.
85 * config/arc/crtgend.S: Likewise.
86 * config/arc/gmon/atomic.h: Likewise.
87 * config/arc/gmon/auxreg.h: Likewise.
88 * config/arc/gmon/dcache_linesz.S: Likewise.
89 * config/arc/gmon/gmon.c: Likewise.
90 * config/arc/gmon/machine-gmon.h: Likewise.
91 * config/arc/gmon/mcount.c: Likewise.
92 * config/arc/gmon/prof-freq-stub.S: Likewise.
93 * config/arc/gmon/prof-freq.c: Likewise.
94 * config/arc/gmon/profil.S: Likewise.
95 * config/arc/gmon/sys/gmon.h: Likewise.
96 * config/arc/gmon/sys/gmon_out.h: Likewise.
97 * config/arc/t-arc-newlib: Likewise.
98 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
99
8ae1c2c1
GS
1002016-12-12 George Spelvin <linux@sciencehorizons.net>
101
102 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
103
a5b947fa
GS
1042016-12-12 George Spelvin <linux@sciencehorizons.net>
105
106 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
107 R16 instead of push + pop.
108 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
109
d6574dd1
KW
1102016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
111
112 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
113 tmake_file.
114
62440b4f
CM
1152016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
116
117 * config.host (arc*-*-linux-uclibc*): Use default extra
118 objects. Include linux-android header.
119 * config/arc/crti.S (_init): Declare symbol as function.
120 (_fini): Likewise.
121
31cfd832
TK
1222016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
123
124 PR fortran/78379
125 * config/i386/cpuinfo.c: Move denums for processor vendors,
126 processor type, processor subtypes and declaration of
127 struct __processor_model into
128 * config/i386/cpuinfo.h: New header file.
129
c92e08e3
AV
1302016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
131 Thomas Preud'homme <thomas.preudhomme@arm.com>
132
133 * config/arm/cmse_nonsecure_call.S: New.
134 * config/arm/t-arm: Compile cmse_nonsecure_call.S
135
de7b5723
AV
1362016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
137 Thomas Preud'homme <thomas.preudhomme@arm.com>
138
139 * config/arm/t-arm (HAVE_CMSE): New.
140 * config/arm/cmse.c: New.
141
7a0d2bce
TP
1422016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
143
b3a5bff4
TP
144 PR gcc/74748
145 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
146 use generic linker version information on Blackfin.
147
7a0d2bce
TP
148 PR gcc/74748
149 * libgcc/mkmap-symver.awk: add support for skip_underscore
150
b410cf1d
IS
1512016-11-27 Iain Sandoe <iain@codesourcery.com>
152 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
153
154 PR target/67710
155 * config/t-darwin: Default builds to 10.5 codegen.
156
2e5f8203
JG
1572016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
158
159 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
160 (_FP_NANSIGN_H): Likewise.
161 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
162 (softfp_truncations): Add tfhf.
163 (softfp_extras): Add required conversion functions.
164
bea64ca3
JG
1652016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
166 Matthew Wahab <matthew.wahab@arm.com>
167
168 * config/arm/fp16.c (binary64): New.
169 (__gnu_d2h_internal): New.
170 (__gnu_d2h_ieee): New.
171 (__gnu_d2h_alternative): New.
172
8630cadb
JG
1732016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
174 Matthew Wahab <matthew.wahab@arm.com>
175
176 * config/arm/fp16.c (struct format): New.
177 (binary32): New.
178 (__gnu_float2h_internal): New. Body moved from
179 __gnu_f2h_internal and generalize.
180 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
181 Call it with binary32.
182
5823ef23
JG
1832016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
184
185 * soft-fp/extendhftf2.c: Update from glibc.
186 * soft-fp/fixhfti.c: Likewise.
187 * soft-fp/fixunshfti.c: Likewise.
188 * soft-fp/floattihf.c: Likewise.
189 * soft-fp/floatuntihf.c: Likewise.
190 * soft-fp/half.h: Likewise.
191 * soft-fp/trunctfhf2.c: Likewise.
192
62a7df9f
MG
1932016-11-20 Marc Glisse <marc.glisse@inria.fr>
194
195 PR libgcc/77813
196 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
197 __TMC_END__ behind a passthrough asm.
198
7a384912
WL
1992016-11-18 Walter Lee <walt@tilera.com>
200
62a7df9f 201 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 202
9775c1a5
L
2032016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
204
205 * config/i386/cpuinfo.c (processor_features): Add
206 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
207
48c842ab
CZ
2082016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
209
210 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
211 (__ARC_NORM__): Use instead ARC_OPTFPE.
212 * config/arc/fp-hack.h: Likewise.
213 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
214 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
215
5012919d
AM
2162016-11-16 Alexander Monakov <amonakov@ispras.ru>
217
218 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
219 * config/nvptx/mgomp.c: New file.
220 * config/nvptx/t-nvptx: Add mgomp.c
221
00178b98
WB
2222016-11-16 Waldemar Brodkorb <wbx@openadk.org>
223
224 PR libgcc/68468
225 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
226
d64af69f
CZ
2272016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
228
229 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
230 of checking for cpus.
231 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
232 (__modsi3, __clzsi2): Likewise.
233
9d8f95de
SN
2342016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
235
236 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
237 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
238 * config/i386/t-cpuinfo-static: New.
239
7d29f8e3
ML
2402016-11-03 Martin Liska <mliska@suse.cz>
241
242 * libgcov-profiler.c (__gcov_time_profiler): Remove.
243 (__gcov_time_profiler_atomic): Likewise.
244
5de3e2d8
BE
2452016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
246
247 PR libgcc/78067
248 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
249 count_leading_zeros.
250
18362447
UB
2512016-11-02 Uros Bizjak <ubizjak@gmail.com>
252
253 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
254 * libgcc2.c (__divmoddi4): New function.
255 * libgcc2.h (__divmoddi4): Declare.
256 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
257 and __PFX_divmodti4.
258
33107571
FW
2592016-10-24 Florian Weimer <fweimer@redhat.com>
260
261 PR libgcc/78064
262 * unwind-c.c: Include auto-target.h.
263
4c6d7494
JDA
2642016-10-19 John David Anglin <danglin@gcc.gnu.org>
265
18362447 266 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
267 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
268 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
269 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
270 hppa*64*-*-hpux11*.
271
2a26adf1
MF
2722016-10-18 Max Filippov <jcmvbkbc@gmail.com>
273
274 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
275 definition.
276 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
277 definition.
278 * config/xtensa/t-windowed (LIB2ADDEH): Use
279 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
280 or xtensa/t-linux.
281
66192aa1
DKC
2822016-10-18 Ding-Kai Chen <dkchen@cadence.com>
283
284 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
285 __ieee754_sqrt): New functions.
286 (__divdf3): Add implementation with new FPU instructions under
287 #if XCHAL_HAVE_DFP_DIV.
288 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
289 __ieee754_sqrtf): New functions.
290 (__divsf3): Add implementation with new FPU instructions under
291 #if XCHAL_HAVE_FP_DIV.
292 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
293 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
294
4d0cdd0c
TP
2952016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
296
297 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
298 equivalent.
299 * config/tilepro/atomic.c: Likewise and stop casting model to
300 enum memmodel.
301
73f01cca
JM
3022016-10-10 Joseph Myers <joseph@codesourcery.com>
303
304 PR target/77586
305 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
306 soft-fp.
307
b20e7532
AT
3082016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
309
310 * config.host: Add support for aarch64-*-freebsd*.
311
a786cec4
AS
3122016-10-05 Andreas Schwab <schwab@suse.de>
313
314 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
315 (.section .init_array): Don't call __do_jv_register_classes.
316 (.section .init): Likewise.
317
5a79befb
JJ
3182016-10-04 Jakub Jelinek <jakub@redhat.com>
319
320 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
321 (__JCR_LIST__): Remove.
322 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
323 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
324 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
325 * config/ia64/crtend.S (__JCR_END__): Remove.
326 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
327 conditionals.
328 (__JCR_LIST__, __JCR_END__): Remove.
329 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
330 (__do_global_ctors_1): Likewise.
331
e0ab3753
UB
3322015-09-28 Uros Bizjak <ubizjak@gmail.com>
333
334 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
335 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
336
8c9434c2
ML
3372016-09-27 Martin Liska <mliska@suse.cz>
338
339 PR gcov-profile/7970
340 PR gcov-profile/16855
341 PR gcov-profile/44779
342 * libgcov-driver.c (__gcov_init): Do not register a atexit
343 handler.
344 (__gcov_exit): Rename from gcov_exit.
345 * libgcov.h (__gcov_exit): Declare.
346
56b653f1
ML
3472016-09-27 Martin Liska <mliska@suse.cz>
348
349 PR bootstrap/77749
350 * Makefile.in: Remove _gcov_merge_delta.
351 * libgcov-merge.c (void __gcov_merge_delta): Remove.
352 * libgcov-util.c (__gcov_delta_counter_op): Remove.
353 * libgcov.h: Remove declaration of __gcov_merge_delta.
354
7e02fd1b
EB
3552016-09-21 Eric Botcazou <ebotcazou@adacore.com>
356
357 * configure.ac: Do not create links, only substitute the filenames.
358 * configure: Regenerate.
359 * Makefile.in: Assign the substitution results to variables.
360 (LIBGCC_LINKS): Define.
361 (enable-execute-stack.c): New rule.
362 (unwind.h): Likewise.
363 (md-unwind-support.h): Likewise.
364 (sfp-machine.h): Likewise.
365 (gthr-default.h): Likewise.
366 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
367 unwind.h as prerequisite of install-unwind_h-forbuild.
368
29991048
JJ
3692016-09-16 Jakub Jelinek <jakub@redhat.com>
370
371 PR libgcc/71744
372 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
373 is not the primary registry and atomics are available.
374 (any_objects_registered): New variable.
375 (__register_frame_info_bases, __register_frame_info_table_bases):
376 Atomically store 1 to any_objects_registered after registering first
377 unwind info.
378 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
379
0abcd6cc
JG
3802016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
381
382 PR target/63250
383 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
384 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
385 (HFtype): Likewise.
386 (HCtype): Likewise.
387 (__divhc3): Likewise.
388 (__mulhc3): Likewise.
389 * libgcc2.c: Support _mulhc3 and _divhc3.
390
d758aeb5
JM
3912016-09-07 Joseph Myers <joseph@codesourcery.com>
392
393 PR libgcc/77519
394 * libgcc2.c (NOTRUNC): Invert settings.
395
7fe76f6a
ML
3962016-09-06 Martin Liska <mliska@suse.cz>
397
398 PR gcov-profile/77378
399 PR gcov-profile/77466
400 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
401 conditionaly enable/disable *_atomic functions.
402
21184026
JM
4032016-08-26 Joseph Myers <joseph@codesourcery.com>
404
405 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
406 where not already enabled.
407
726f49c3
SN
4082016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
409
410 * config/mips/linux-unwind.h: Use sys/syscall.h.
411
feeb6268
JM
4122016-08-16 Joseph Myers <joseph@codesourcery.com>
413
414 PR libgcc/77265
415 * soft-fp/adddf3.c: Update from glibc.
416 * soft-fp/addsf3.c: Likewise.
417 * soft-fp/addtf3.c: Likewise.
418 * soft-fp/divdf3.c: Likewise.
419 * soft-fp/divsf3.c: Likewise.
420 * soft-fp/divtf3.c: Likewise.
421 * soft-fp/double.h: Likewise.
422 * soft-fp/eqdf2.c: Likewise.
423 * soft-fp/eqsf2.c: Likewise.
424 * soft-fp/eqtf2.c: Likewise.
425 * soft-fp/extenddftf2.c: Likewise.
426 * soft-fp/extended.h: Likewise.
427 * soft-fp/extendsfdf2.c: Likewise.
428 * soft-fp/extendsftf2.c: Likewise.
429 * soft-fp/extendxftf2.c: Likewise.
430 * soft-fp/fixdfdi.c: Likewise.
431 * soft-fp/fixdfsi.c: Likewise.
432 * soft-fp/fixdfti.c: Likewise.
433 * soft-fp/fixsfdi.c: Likewise.
434 * soft-fp/fixsfsi.c: Likewise.
435 * soft-fp/fixsfti.c: Likewise.
436 * soft-fp/fixtfdi.c: Likewise.
437 * soft-fp/fixtfsi.c: Likewise.
438 * soft-fp/fixtfti.c: Likewise.
439 * soft-fp/fixunsdfdi.c: Likewise.
440 * soft-fp/fixunsdfsi.c: Likewise.
441 * soft-fp/fixunsdfti.c: Likewise.
442 * soft-fp/fixunssfdi.c: Likewise.
443 * soft-fp/fixunssfsi.c: Likewise.
444 * soft-fp/fixunssfti.c: Likewise.
445 * soft-fp/fixunstfdi.c: Likewise.
446 * soft-fp/fixunstfsi.c: Likewise.
447 * soft-fp/fixunstfti.c: Likewise.
448 * soft-fp/floatdidf.c: Likewise.
449 * soft-fp/floatdisf.c: Likewise.
450 * soft-fp/floatditf.c: Likewise.
451 * soft-fp/floatsidf.c: Likewise.
452 * soft-fp/floatsisf.c: Likewise.
453 * soft-fp/floatsitf.c: Likewise.
454 * soft-fp/floattidf.c: Likewise.
455 * soft-fp/floattisf.c: Likewise.
456 * soft-fp/floattitf.c: Likewise.
457 * soft-fp/floatundidf.c: Likewise.
458 * soft-fp/floatundisf.c: Likewise.
459 * soft-fp/floatunditf.c: Likewise.
460 * soft-fp/floatunsidf.c: Likewise.
461 * soft-fp/floatunsisf.c: Likewise.
462 * soft-fp/floatunsitf.c: Likewise.
463 * soft-fp/floatuntidf.c: Likewise.
464 * soft-fp/floatuntisf.c: Likewise.
465 * soft-fp/floatuntitf.c: Likewise.
466 * soft-fp/gedf2.c: Likewise.
467 * soft-fp/gesf2.c: Likewise.
468 * soft-fp/getf2.c: Likewise.
469 * soft-fp/ledf2.c: Likewise.
470 * soft-fp/lesf2.c: Likewise.
471 * soft-fp/letf2.c: Likewise.
472 * soft-fp/muldf3.c: Likewise.
473 * soft-fp/mulsf3.c: Likewise.
474 * soft-fp/multf3.c: Likewise.
475 * soft-fp/negdf2.c: Likewise.
476 * soft-fp/negsf2.c: Likewise.
477 * soft-fp/negtf2.c: Likewise.
478 * soft-fp/op-1.h: Likewise.
479 * soft-fp/op-2.h: Likewise.
480 * soft-fp/op-4.h: Likewise.
481 * soft-fp/op-8.h: Likewise.
482 * soft-fp/op-common.h: Likewise.
483 * soft-fp/quad.h: Likewise.
484 * soft-fp/single.h: Likewise.
485 * soft-fp/soft-fp.h: Likewise.
486 * soft-fp/subdf3.c: Likewise.
487 * soft-fp/subsf3.c: Likewise.
488 * soft-fp/subtf3.c: Likewise.
489 * soft-fp/truncdfsf2.c: Likewise.
490 * soft-fp/trunctfdf2.c: Likewise.
491 * soft-fp/trunctfsf2.c: Likewise.
492 * soft-fp/trunctfxf2.c: Likewise.
493 * soft-fp/unorddf2.c: Likewise.
494 * soft-fp/unordsf2.c: Likewise.
495 * soft-fp/unordtf2.c: Likewise.
496
2e6fc1ac
GG
4972016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
498
499 PR gcov-profile/67097
500 * libgcov-util.c (gcov_profile_merge): Skip missing files.
501
a266236e
ML
5022016-08-10 Martin Liska <mliska@suse.cz>
503
504 PR gcov-profile/58306
505 * Makefile.in: New functions (modules) are added.
506 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
507 function.
508 (__gcov_pow2_profiler_atomic): New function.
509 (__gcov_one_value_profiler_body): New argument is instroduced.
510 (__gcov_one_value_profiler): Call with the new argument.
511 (__gcov_one_value_profiler_atomic): Likewise.
512 (__gcov_indirect_call_profiler_v2): Likewise.
513 (__gcov_time_profiler_atomic): New function.
514 (__gcov_average_profiler_atomic): Likewise.
515 (__gcov_ior_profiler_atomic): Likewise.
516 * libgcov.h: Declare the aforementioned functions.
517
e0c8eebf
ML
5182016-08-09 Martin Liska <mliska@suse.cz>
519
520 * libgcov-util.c: Fix typo and GNU coding style.
521
6dce6418
ML
5222016-08-09 Martin Liska <mliska@suse.cz>
523
524 * Makefile.in: Remove __gcov_indirect_call_profiler.
525 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
526 function.
527 * libgcov.h: And the declaration of the function.
528
dcb1e137
ML
5292016-08-09 Martin Liska <mliska@suse.cz>
530
531 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
532 power of two.
533
d6e69705
BS
5342016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
535
536 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
537 * config/rs6000/_mulkc3.c: Likewise.
538
96aa1f95
GJL
5392016-07-29 Georg-Johann Lay <avr@gjlay.de>
540
541 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
542 zero_reg as previous call to __umulhisi3 already cleared it.
543
a1b01d34
AJ
5442016-07-21 Aurelien Jarno <aurelien@aurel32.net>
545
546 PR target/59833
547 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
548
985a47b2
NC
5492016-07-19 Nick Clifton <nickc@redhat.com>
550
551 * config.host (m32r): Add m32r/t-m32r to tmake_file.
552 Add crtinit.o and crtfini.o to extra_parts.
553
f906f5ed
BS
5542016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
555
556 * config/rs6000/_divkc3.c: New.
557 * config/rs6000/_mulkc3.c: New.
558 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
559 and _divkc3.
560 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
561 fp128_ppc_funcs.
562
82742404
HW
5632016-07-11 Hale Wang <hale.wang@arm.com>
564 Andre Vieira <andre.simoesdiasvieira@arm.com>
565
566 * config/arm/lib1funcs.S: Add new wrapper.
567
05a437c1
TP
5682016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
569
570 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
571
3d16d9ec
TP
5722016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
573
574 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
575 and ARMv5t* rather than for a fixed list of architectures.
576
6f493951
TP
5772016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
578
579 * config/arm/bpabi-v6m.S: Clarify what architectures is the
580 implementation suitable for.
581 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
582 for all Thumb-1 only targets.
583 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
584 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
585 __ARM_ARCH_6M__.
586 (EQUIV): Likewise.
587 (ARM_FUNC_ALIAS): Likewise.
588 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
589 version.
590 (modsi3): Likewise.
591 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
592 (clzdi2): Likewise.
593 (ctzsi2): Likewise.
594 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
595 __ARM_ARCH_6M__ in guard for checking whether it is defined.
596 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
597 __ARM_ARCH_6M__ and add comment to indicate the connection between
598 this condition and the one in gcc/config/arm/elf.h.
599 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
600 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
601 * config/arm/t-softfp: Likewise.
602
1770511a
TS
6032016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
604
605 * libgcc2.c (SYMBOL__MAIN): Remove checks for
606 CTOR_LISTS_DEFINED_EXTERNALLY.
607
ba6be749
WL
6082016-06-28 Walter Lee <walt@tilera.com>
609
610 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
611 asm/unistd.h.
612 (SPR_CMPEXCH_VALUE): Define for tilegx.
613 (__NR_FAST_cmpxchg): Define for tilepro.
614 (__NR_FAST_atomic_update): Define for tilepro.
615 (__NR_FAST_cmpxchg64): Define for tilepro.
616
a34c0db5
JS
6172016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
618
18362447 619 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 620
0609abda
TS
6212016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
622
623 * config.host: Remove support for mep-*.
624 * config/mep/lib1funcs.S: Remove.
625 * config/mep/lib2funcs.c: Remove.
626 * config/mep/t-mep: Remove.
627 * config/mep/tramp.c: Remove.
628
3e326935
TS
6292016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
630
631 * config.host: Remove support for avr-rtems.
632 * config/avr/t-rtems: Remove.
633
914b155c
TS
6342016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
635
636 * config.host: Remove m32r-rtems support.
637
5ebf89bd
TS
6382016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
639
640 * config.host: Remove h8300-rtems support.
641
8466af06
TS
6422016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
643
644 * config.host: Remove support for knetbsd.
645
d980e738
TS
6462016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
647
648 * config.host: Remove support for openbsd 2 and 3.
649
ee2499b4
TS
6502016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
651
652 * config.host: Remove interix support.
653 * config/i386/t-interix: Remove.
654
9f92937b
JDA
6552016-06-18 John David Anglin <danglin@gcc.gnu.org>
656
657 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
658 least-significant bit in function pointer for fixup.
659
0a0ec53d
AC
6602016-06-05 Aaron Conole <aconole@redhat.com>
661 Nathan Sidwell <nathan@acm.org>
662
663 PR libgcc/71400
664 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
665 (get_gcov_error_file): Check __gcov_error_file before trying to
666 initialize it.
667 (gcov_error): Always use get_gcov_error_file.
668
8aa5bdd6
AC
6692016-06-02 Aaron Conole <aconole@redhat.com>
670
671 * libgcov-driver-system.c (__gcov_error_file): New.
672 (get_gcov_error_file): New.
673 (gcov_error): Use and set __gcov_error_file.
674 (gcov_error_exit): New.
675 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
676
40774faf
NS
6772016-05-26 Nathan Sidwell <nathan@acm.org>
678
679 * config/nvptx/free.asm: Delete.
680 * config/nvptx/malloc.asm: Delete.
681 * config/nvptx/realloc.c: Delete.
682 * t-nvptx: Update.
683
69a6d5ad
NS
6842016-05-25 Nathan Sidwell <nathan@acm.org>
685
686 * config/nvptx/crt0.s: Delete.
687 * config/nvptx/crt0.c: New.
688 * t-nvptx: Update.
689
6befaff6
SL
6902016-05-19 Sandra Loosemore <sandra@codesourcery.com>
691
385c7747 692 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
693 dw2/seh configuration.
694 [x86_64-*-mingw*]: Likewise.
695
ad251dfd
JS
6962016-05-10 Joel Sherrill <joel@rtems.org>
697
698 PR libgcc/70720
699 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
700 targets so the same extra_parts are built. Also have tmake_file add
701 on to its value rather than override.
702
bc6d9014
OE
7032016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
704
705 * config.host: Remove SH5 support.
706 * configure: Likewise.
707
9129c8cf
OE
7082016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
709
710 * config/sh/crt1.S: Remove SH5 support.
711 * config/sh/crti.S: Likewise.
712 * config/sh/crtn.S: Likewise.
713 * config/sh/lib1funcs-4-300.S: Likewise.
714 * config/sh/lib1funcs-Os-4-200.S: Likewise.
715 * config/sh/lib1funcs.S: Likewise.
716 * config/sh/linux-unwind.h: Likewise.
717 * config/sh/t-sh64: Delete.
718
39d50464
CZ
7192016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
720
721 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
722
8b48923b
CZ
7232016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
724 Joern Rennecke <joern.rennecke@embecosm.com>
725
726 * config/arc/crttls.S: New file.
727 * config/arc/t-arc: New rule.
728 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
729
2de1cf8c
NC
7302016-04-25 Nick Clifton <nickc@redhat.com>
731
732 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
733 (__mspabi_cmpd): Likewise.
734 * config/msp430/floathidf.c (__floathidf): Likewise.
735 * config/msp430/floathisf.c (__floathisf): Likewise
736 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
737 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
738 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
739 second parameter.
740 (__ashrsi3): Likewise.
741
b8ce3fe2
WB
7422016-04-21 Waldemar Brodkorb <wbx@openadk.org>
743
744 * config/m68k/linux-atomic.c: Do not include unistd.h
745
4986f823
MG
7462016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
747
748 * config/arm/ieee754-df.S: Fix typos in comments.
749
35fbda43
MM
7502016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
751
752 PR target/70381
753 * configure.ac (powerpc*-*-linux*): Rework tests to build
754 __float128 emulation routines to not depend on using #pragma GCC
755 target to enable -mfloat128.
756 * configure: Regnerate.
757
72d1a48d
EB
7582016-04-04 Eric Botcazou <ebotcazou@adacore.com>
759
760 PR target/67172
761 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
762 __MINGW32__ is defined.
763
dc2e8995
JB
7642016-03-28 James Bowman <james.bowman@ftdichip.com>
765
385c7747 766 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 767
104cdaf1
MM
7682016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
769
770 PR libgcc/70363
771 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
772 built with an assembler that does not support ISA 3.0
773 instructions, rename __extendkftf2_sw to __extendkftf2.
774
a5046f48
RO
7752016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
776
777 PR target/38239
778 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
779 call-clobbered registers.
780 (internal_mcount): Remove __i386__ handling.
781
df674f74
JS
7822016-02-26 Joel Sherrill <joel@rtems.org>
783
784 * config.host: Add x86_64-*-rtems*.
785
7cb065d6
JS
7862016-02-26 Joel Sherrill <joel@rtems.org>
787
788 * libgcc/config.host: Add aarch64-*-rtems*.
789
47dfdc53
PM
7902016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
791 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
792
793 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
794 union of u64 and double.
795 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
796 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
797 value.
798 (FP_ROUNDMODE): Update the usage of _fpscr.
799
e6861a99
IV
8002016-02-25 Ilya Verbin <ilya.verbin@intel.com>
801
802 PR driver/68463
803 * Makefile.in (crtoffloadtable$(objext)): New rule.
804 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
805 enable_offload_targets is not empty.
806 * configure: Regenerate.
807 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
808 crtoffloadtable.
809
9bfcbdee
MF
8102016-02-17 Max Filippov <jcmvbkbc@gmail.com>
811
812 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
813 .literal_position before the function.
814 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
815 Likewise.
816
4cb4721f
MK
8172016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
818
819 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
820 * config/s390/morestack.S: New file.
821 * config/s390/t-stack-s390: New file.
822 * generic-morestack.c (__splitstack_find): Add s390-specific code.
823
b29d9a29
WL
8242016-02-12 Walter Lee <walt@tilera.com>
825
826 * config.host (tilegx*-*-linux*): remove ti from
827 softfp_int_modes for 32-bit configs.
828
03a0ae7d
ILT
8292016-02-10 Ian Lance Taylor <iant@google.com>
830
831 PR go/68562
832 * config/i386/morestack.S (__stack_split_initialize): Align
833 stack.
834
68750bce
AT
8352016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
836
837 PR bootstrap/69611
838 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
839 __FLOAT128__ to compile only for __float128 capable targets.
840
7d296953
JJ
8412016-01-25 Jakub Jelinek <jakub@redhat.com>
842
843 PR target/69444
844 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
845 instead of ___NO_FPRS__.
846
a71c0334 8472016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
848 Steven Munroe <munroesj@linux.vnet.ibm.com>
849 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
850
851 * config/rs6000/float128-sed: New files to convert TF names to KF
852 names for PowerPC IEEE 128-bit floating point support.
853 * config/rs6000/float128-sed-hw: Likewise.
854
855 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
856 floating point hardware support.
857
858 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
859 128-bit floating point software emulation or use ISA 3.0 hardware
860 support if it is available.
861
862 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
863 floating point.
864
865 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
866 floating point to IBM extended double.
867
868 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
869 double to IEEE 128-bit floating point.
870
871 * config/rs6000/t-float128: New Makefile fragments to enable
872 building __float128 emulation support.
873 * config/rs6000/t-float128-hw: Likewise.
874
875 * config/rs6000/sfp-exceptions.c: New file to provide exception
876 support for IEEE 128-bit floating point.
877
878 * config/rs6000/floattikf.c: New files for converting between IEEE
879 128-bit floating point and signed/unsigned 128-bit integers.
880 * config/rs6000/fixunskfti.c: Likewise.
881 * config/rs6000/fixkfti.c: Likewise.
882 * config/rs6000/floatuntikf.c: Likewise.
883
884 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
885 when building on 64-bit systems, or when VSX is enabled.
886 (_FP_W_TYPE): Likewise.
887 (_FP_WS_TYPE): Likewise.
888 (_FP_I_TYPE): Likewise.
889 (TItype): Define on 64-bit systems.
890 (UTItype): Likewise.
891 (TI_BITS): Likewise.
892 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
893 (_FP_MUL_MEAT_Q): Likewise.
894 (_FP_DIV_MEAT_D): Likewise.
895 (_FP_DIV_MEAT_Q): Likewise.
896 (_FP_NANFRAC_D): Likewise.
897 (_FP_NANFRAC_Q): Likewise.
898 (ISA_BIT): Add exception support if we are being compiled on a
899 machine with hardware floating point support to build the IEEE
900 128-bit emulation functions.
901 (FP_EX_INVALID): Likewise.
902 (FP_EX_OVERFLOW): Likewise.
903 (FP_EX_UNDERFLOW): Likewise.
904 (FP_EX_DIVZERO): Likewise.
905 (FP_EX_INEXACT): Likewise.
906 (FP_EX_ALL): Likewise.
907 (__sfp_handle_exceptions): Likewise.
908 (FP_HANDLE_EXCEPTIONS): Likewise.
909 (FP_RND_NEAREST): Likewise.
910 (FP_RND_ZERO): Likewise.
911 (FP_RND_PINF): Likewise.
912 (FP_RND_MINF): Likewise.
913 (FP_RND_MASK): Likewise.
914 (_FP_DECL_EX): Likewise.
915 (FP_INIT_ROUNDMODE): Likewise.
916 (FP_ROUNDMODE): Likewise.
917
918 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
919 VSX code, enable IEEE 128-bit floating point. If the compiler can
920 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
921 floating point hardware instructions and it supports declaring
922 functions with the ifunc attribute, enable ifunc functions to
923 switch between software and hardware support.
924 * configure.ac (powerpc*-*-linux*): Likewise.
925 * configure: Regenerate.
926
bdc27e50
NC
9272016-01-15 Nick Clifton <nickc@redhat.com>
928
929 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
930 dependency as the source file to be compiled.
931 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
932 (lib2hw_mul_f5.o): Likewise.
933
006df05d
MM
9342016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
935
936 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
937 * libgcc/config/rs6000/fixkfti.c: Likewise.
938 * libgcc/config/rs6000/fixunskfti.c: Likewise.
939 * libgcc/config/rs6000/float128-hw.c: Likewise.
940 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
941 * libgcc/config/rs6000/float128-sed: Likewise.
942 * libgcc/config/rs6000/floattikf.c: Likewise.
943 * libgcc/config/rs6000/floatuntikf.c: Likewise.
944 * libgcc/config/rs6000/quad-float128.h: Likewise.
945 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
946 * libgcc/config/rs6000/sfp-machine.h: Likewise.
947 * libgcc/config/rs6000/t-float128: Likewise.
948 * libgcc/config/rs6000/t-float128-hw: Likewise.
949 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
950 * libgcc/config.host: Likewise.
951 * libgcc/configure: Likewise.
952 * libgcc/configure.ac: Likewise.
953
29176d57 9542016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
955 Steven Munroe <munroesj@linux.vnet.ibm.com>
956 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
957
958 * config/rs6000/sfp-exceptions.c: New file to provide exception
959 support for IEEE 128-bit floating point.
960
961 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
962 floating point hardware support.
963
964 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
965 point conversions.
966 * config/rs6000/fixunskfti.c: Likewise.
967 * config/rs6000/fixkfti.c: Likewise.
968 * config/rs6000/floatuntikf.c: Likewise.
969 * config/rs6000/extendkftf2-sw.c: Likewise.
970 * config/rs6000/trunctfkf2-sw.c: Likewise.
971
972 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
973 128-bit floating point software emulation or use ISA 3.0 hardware
974 support if it is available.
975
976 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
977 floating point.
978
979 * config/rs6000/t-float128: New Makefile fragments to enable
980 building __float128 emulation support.
981 * config/rs6000/t-float128-hw: Likewise.
982
983 * config/rs6000/float128-sed: New file to convert TF names to KF
984 names for PowerPC IEEE 128-bit floating point support.
985
986 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
987 when building on 64-bit systems, or when VSX is enabled.
988 (_FP_W_TYPE): Likewise.
989 (_FP_WS_TYPE): Likewise.
990 (_FP_I_TYPE): Likewise.
991 (TItype): Define on 64-bit systems.
992 (UTItype): Likewise.
993 (TI_BITS): Likewise.
994 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
995 (_FP_MUL_MEAT_Q): Likewise.
996 (_FP_DIV_MEAT_D): Likewise.
997 (_FP_DIV_MEAT_Q): Likewise.
998 (_FP_NANFRAC_D): Likewise.
999 (_FP_NANFRAC_Q): Likewise.
1000 (ISA_BIT): Add exception support if we are being compiled on a
1001 machine with hardware floating point support to build the IEEE
1002 128-bit emulation functions.
1003 (FP_EX_INVALID): Likewise.
1004 (FP_EX_OVERFLOW): Likewise.
1005 (FP_EX_UNDERFLOW): Likewise.
1006 (FP_EX_DIVZERO): Likewise.
1007 (FP_EX_INEXACT): Likewise.
1008 (FP_EX_ALL): Likewise.
1009 (__sfp_handle_exceptions): Likewise.
1010 (FP_HANDLE_EXCEPTIONS): Likewise.
1011 (FP_RND_NEAREST): Likewise.
1012 (FP_RND_ZERO): Likewise.
1013 (FP_RND_PINF): Likewise.
1014 (FP_RND_MINF): Likewise.
1015 (FP_RND_MASK): Likewise.
1016 (_FP_DECL_EX): Likewise.
1017 (FP_INIT_ROUNDMODE): Likewise.
1018 (FP_ROUNDMODE): Likewise.
1019
1020 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1021 compiler can do __float128.
1022 * configure: Regenerate.
1023
1024 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1025 VSX code, enable IEEE 128-bit floating point.
1026
a2218983
OH
10272016-01-05 Olivier Hainque <hainque@adacore.com>
1028
1029 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 1030 specificities.
a2218983 1031
818ab71a
JJ
10322016-01-04 Jakub Jelinek <jakub@redhat.com>
1033
1034 Update copyright years.
1035
5a6c8ffa
AP
10362015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
1037
1038 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 1039 soft-fp targets.
5a6c8ffa 1040
077067a5
BE
10412015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1042
1043 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1044 instead of abort to avoid dependency on stdlib.h.
1045
787c1027
JDA
10462015-12-09 John David Anglin <danglin@gcc.gnu.org>
1047
1048 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1049 to initialize call to __dl_fixup once.
1050
04a9ae28
NC
10512015-12-04 Nick Clifton <nickc@redhat.com>
1052
1053 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1054 Allow for the second argument being negative.
1055 * config.host (extra_parts): Define for MSP430. Create separate
1056 libraries for each of the hardware multiply formats.
1057 * config/msp430/lib2hw_mul.S: Build only the multiply routines
1058 that are needed.
1059 * config/msp430/lib2mul.c: Likewise.
1060 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1061 Add rules to build hardware multiply libraries.
1062 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1063 __mspabi_divul function.
1064 (__mspabi_divllu): New stub function.
1065
9a32d437
JDA
10662015-12-01 John David Anglin <danglin@gcc.gnu.org>
1067
1068 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1069 fixup values if saved GOT address doesn't match runtime address.
1070 (fixup_branch_offset): Reorder list.
1071
e5ef217c
RO
10722015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1073
1074 * Makefile.in (VTV_CFLAGS): New variable.
1075 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1076 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1077 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1078 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1079 to extra_parts if $enable_vtable_verify = yes.
1080
78cc43a2
SN
10812015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
1082
1083 PR target/68059
1084 * config/arm/linux-atomic-64bit.c (__write): Rename to...
1085 (write): ...this and fix the return type.
1086
9afebea2
DD
10872015-11-19 DJ Delorie <dj@redhat.com>
1088
1089 * config/msp430/lib2hw_mul.S: Fix alignment.
1090
33f47f42
NS
10912015-11-18 Nathan Sidwell <nathan@codesourcery.com>
1092
1093 * config/nvptx/reduction.c: New.
1094 * config/nvptx/t-nvptx (LIB2ADD): Add it.
1095
d9adb476
DE
10962015-11-15 David Edelsohn <dje.gcc@gmail.com>
1097
1098 * config/rs6000/on_exit.c: New file.
1099 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1100 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1101
c0ab1970
CZ
11022015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
1103
1104 * config/arc/dp-hack.h: Add support for ARCHS.
1105 * config/arc/ieee-754/divdf3.S: Likewise.
1106 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1107 * config/arc/ieee-754/muldf3.S: Likewise.
1108 * config/arc/ieee-754/mulsf3.S: Likewise
1109 * config/arc/lib1funcs.S: Likewise
1110 * config/arc/gmon/dcache_linesz.S: Don't read the build register
1111 for ARCv2 cores.
1112 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1113 for ARCv2 cores.
1114 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1115 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1116 cores.
1117
e6b6bf09
RO
11182015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1119
1120 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1121 value.
1122 * config/ia64/crtend.S: Likewise.
1123
a153644f
TS
11242015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1125
1126 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1127 __CHAR_BIT__ instead of BITS_PER_UNIT.
1128 * fixed-bit.h: Likewise.
1129 * fp-bit.h: Likewise.
1130 * libgcc2.c (__popcountSI2): Likewise.
1131 (__popcountDI2): Likewise.
1132 * libgcc2.h: Likewise.
1133 * libgcov.h: Likewise.
1134
3dee689d
DE
11352015-11-07 David Edelsohn <dje.gcc@gmail.com>
1136
1137 * config/rs6000/atexit.c: New file.
1138 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1139 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1140 * config/rs6000/cxa_finalize.c
1141 (catomic_compare_and_exchange_bool_acq): Negate return value.
1142
2ef543e4
VK
11432015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1144
1145 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1146 (processor_subtypes): Add znver1.
1147 (get_amd_cpu): Detect znver1.
1148
1300f017
CL
11492015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1150
1151 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1152 Include crtfastmath.o.
1153
3e5bb7ee
JR
11542015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
1155
1156 PR libgcc/66883
1157 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 1158
793aa938
KP
11592015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
1160
1161 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1162 * config/rl78/divmodsi.S: Update return register to r8.
1163 * config/rl78/divmodhi.S: Update return register to r8,r9.
1164 Branch to main_loop_done_himode to pop registers before return.
1165
7d296953 11662015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
1167
1168 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1169 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1170
6a192b5a
KY
11712015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
1172
1173 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1174
4a0a9457
MF
11752015-10-03 Max Filippov <jcmvbkbc@gmail.com>
1176
1177 * config.host (xtensa*-*-uclinux*): New configuration.
1178
ab91c076
KY
11792015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
1180
385c7747 1181 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
1182 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1183
30954527
JM
11842015-09-28 Joseph Myers <joseph@codesourcery.com>
1185
1186 * soft-fp/adddf3.c: Update from glibc.
1187 * soft-fp/addsf3.c: Likewise.
1188 * soft-fp/addtf3.c: Likewise.
1189 * soft-fp/divdf3.c: Likewise.
1190 * soft-fp/divsf3.c: Likewise.
1191 * soft-fp/divtf3.c: Likewise.
1192 * soft-fp/double.h: Likewise.
1193 * soft-fp/eqdf2.c: Likewise.
1194 * soft-fp/eqsf2.c: Likewise.
1195 * soft-fp/eqtf2.c: Likewise.
1196 * soft-fp/extenddftf2.c: Likewise.
1197 * soft-fp/extended.h: Likewise.
1198 * soft-fp/extendsfdf2.c: Likewise.
1199 * soft-fp/extendsftf2.c: Likewise.
1200 * soft-fp/extendxftf2.c: Likewise.
1201 * soft-fp/fixdfdi.c: Likewise.
1202 * soft-fp/fixdfsi.c: Likewise.
1203 * soft-fp/fixdfti.c: Likewise.
1204 * soft-fp/fixsfdi.c: Likewise.
1205 * soft-fp/fixsfsi.c: Likewise.
1206 * soft-fp/fixsfti.c: Likewise.
1207 * soft-fp/fixtfdi.c: Likewise.
1208 * soft-fp/fixtfsi.c: Likewise.
1209 * soft-fp/fixtfti.c: Likewise.
1210 * soft-fp/fixunsdfdi.c: Likewise.
1211 * soft-fp/fixunsdfsi.c: Likewise.
1212 * soft-fp/fixunsdfti.c: Likewise.
1213 * soft-fp/fixunssfdi.c: Likewise.
1214 * soft-fp/fixunssfsi.c: Likewise.
1215 * soft-fp/fixunssfti.c: Likewise.
1216 * soft-fp/fixunstfdi.c: Likewise.
1217 * soft-fp/fixunstfsi.c: Likewise.
1218 * soft-fp/fixunstfti.c: Likewise.
1219 * soft-fp/floatdidf.c: Likewise.
1220 * soft-fp/floatdisf.c: Likewise.
1221 * soft-fp/floatditf.c: Likewise.
1222 * soft-fp/floatsidf.c: Likewise.
1223 * soft-fp/floatsisf.c: Likewise.
1224 * soft-fp/floatsitf.c: Likewise.
1225 * soft-fp/floattidf.c: Likewise.
1226 * soft-fp/floattisf.c: Likewise.
1227 * soft-fp/floattitf.c: Likewise.
1228 * soft-fp/floatundidf.c: Likewise.
1229 * soft-fp/floatundisf.c: Likewise.
1230 * soft-fp/floatunditf.c: Likewise.
1231 * soft-fp/floatunsidf.c: Likewise.
1232 * soft-fp/floatunsisf.c: Likewise.
1233 * soft-fp/floatunsitf.c: Likewise.
1234 * soft-fp/floatuntidf.c: Likewise.
1235 * soft-fp/floatuntisf.c: Likewise.
1236 * soft-fp/floatuntitf.c: Likewise.
1237 * soft-fp/gedf2.c: Likewise.
1238 * soft-fp/gesf2.c: Likewise.
1239 * soft-fp/getf2.c: Likewise.
1240 * soft-fp/ledf2.c: Likewise.
1241 * soft-fp/lesf2.c: Likewise.
1242 * soft-fp/letf2.c: Likewise.
1243 * soft-fp/muldf3.c: Likewise.
1244 * soft-fp/mulsf3.c: Likewise.
1245 * soft-fp/multf3.c: Likewise.
1246 * soft-fp/negdf2.c: Likewise.
1247 * soft-fp/negsf2.c: Likewise.
1248 * soft-fp/negtf2.c: Likewise.
1249 * soft-fp/op-1.h: Likewise.
1250 * soft-fp/op-2.h: Likewise.
1251 * soft-fp/op-4.h: Likewise.
1252 * soft-fp/op-8.h: Likewise.
1253 * soft-fp/op-common.h: Likewise.
1254 * soft-fp/quad.h: Likewise.
1255 * soft-fp/single.h: Likewise.
1256 * soft-fp/soft-fp.h: Likewise.
1257 * soft-fp/subdf3.c: Likewise.
1258 * soft-fp/subsf3.c: Likewise.
1259 * soft-fp/subtf3.c: Likewise.
1260 * soft-fp/truncdfsf2.c: Likewise.
1261 * soft-fp/trunctfdf2.c: Likewise.
1262 * soft-fp/trunctfsf2.c: Likewise.
1263 * soft-fp/trunctfxf2.c: Likewise.
1264 * soft-fp/unorddf2.c: Likewise.
1265 * soft-fp/unordsf2.c: Likewise.
1266 * soft-fp/unordtf2.c: Likewise.
1267
4dfe21ac
RE
12682015-09-24 Richard Earnshaw <rearnsha@arm.com>
1269
1270 PR libgcc/67624
1271 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1272
df2a1cc4
RO
12732015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1274
1275 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1276 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1277 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1278 messages.
1279 (internal_mcount): Likewise.
1280 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1281 crt_compile, add CRTSTUFF_T_CFLAGS_S.
1282
2d110442
RO
12832015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1284
1285 * configure.ac (libgcc_cv_solaris_crts): New test.
1286 * configure: Regenerate.
1287 * config.in: Regenerate.
1288 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1289 * config/gmon-sol2.c: Rename to ...
1290 * config/sol2/gmon.c: ... this.
1291 Include auto-target.h.
1292 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1293 * config/t-sol2: Rename to ...
1294 * config/sol2/t-sol2: ... this.
1295 (gmon.o): Reflect renaming.
1296 (crtp.o, crtpg.o): New rules.
1297 * config.host (*-*-solaris2*): Reflect renaming.
1298 Use system CRTs if present.
1299 Remove default CRT case.
1300
d572e439
JDA
13012015-09-23 John David Anglin <danglin@gcc.gnu.org>
1302
1303 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1304 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1305 __kernel_cmpxchg2.
1306 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1307 (__sync_val_compare_and_swap_##WIDTH): Likewise.
1308 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1309 (__sync_lock_test_and_set_##WIDTH): Likewise.
1310 (__sync_lock_release_##WIDTH): Likewise.
1311 (__sync_fetch_and_##OP##_4): Change result to match type of
1312 __kernel_cmpxchg.
1313 (__sync_##OP##_and_fetch_4): Likewise.
1314 (__sync_val_compare_and_swap_4): Likewise.
1315 (__sync_bool_compare_and_swap_4): likewise.
1316 (__sync_lock_test_and_set_4): Likewise.
1317 (__sync_lock_release_4): Likewise.
1318 (FETCH_AND_OP_2): Add long long variants.
1319 (OP_AND_FETCH_2): Likewise.
1320 (COMPARE_AND_SWAP_2 ): Likewise.
1321 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1322 (SYNC_LOCK_RELEASE_2): Likewise.
1323 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1324
7d296953 13252015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
1326
1327 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1328 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1329 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1330 (get_available_features): Habdle new features.
1331
131314e1
JB
13322015-09-21 James Bowman <james.bowman@ftdichip.com>
1333
1334 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1335 memory layout. Deal correctly with BSS region larger than 32K.
1336 Handle a watchdog reset like a power-on reset. Clean up unused
1337 code.
1338
04218b35
AD
13392015-09-18 Andrew Dixie <andrewd@gentrack.com>
1340 David Edelsohn <dje.gcc@gmail.com>
1341
1342 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1343 * config/rs6000/crtdbase.S: New file.
1344 * config/rs6000/t-aix-cxa: Build crtdbase.o.
1345
c8338173
MF
13462015-09-15 Max Filippov <jcmvbkbc@gmail.com>
1347
1348 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1349 Add support for call0 ABI.
1350
7a84bf71
JDA
13512015-09-13 John David Anglin <danglin@gcc.gnu.org>
1352
1353 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1354
4efab402
SH
13552015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
1356
1357 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1358 (__GTHREAD_HAS_COND): Likewise.
1359 (__gthread_t): Likewise.
1360 (__gthread_cond_t): Likewise.
1361 (__gthread_time_t): Likewise.
1362 (__GTHREAD_MUTEX_INIT): Likewise.
1363 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1364 (__GTHREAD_COND_INIT): Likewise.
1365 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1366 (__GTHREAD_TIME_INIT): Likewise.
1367 (__gthread_create): Likewise.
1368 (__gthread_join): Likewise.
1369 (__gthread_detach): Likewise.
1370 (__gthread_equal): Likewise.
1371 (__gthread_self): Likewise.
1372 (__gthread_yield): Likewise.
1373 (__gthread_cond_broadcast): Likewise.
1374 (__gthread_cond_signal): Likewise.
1375 (__gthread_cond_wait): Likewise.
1376 (__gthread_cond_timedwait): Likewise.
1377 (__gthread_cond_wait_recursive): Likewise.
1378 (__gthread_cond_destroy): Likewise.
1379 (rtems_gxx_once): Delete.
1380 (rtems_gxx_key_create): Likewise.
1381 (rtems_gxx_key_delete): Likewise.
1382 (rtems_gxx_getspecific): Likewise.
1383 (rtems_gxx_setspecific): Likewise.
1384 (rtems_gxx_mutex_init): Likewise.
1385 (rtems_gxx_mutex_destroy): Likewise.
1386 (rtems_gxx_mutex_lock): Likewise.
1387 (rtems_gxx_mutex_trylock): Likewise.
1388 (rtems_gxx_mutex_unlock): Likewise.
1389 (rtems_gxx_recursive_mutex_init): Likewise.
1390 (rtems_gxx_recursive_mutex_lock): Likewise.
1391 (rtems_gxx_recursive_mutex_trylock): Likewise.
1392 (rtems_gxx_recursive_mutex_unlock): Likewise.
1393 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1394 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1395 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1396 (__gthread_once): Likewise.
1397 (__gthread_key_create): Likewise.
1398 (__gthread_key_delete): Likewise.
1399 (__gthread_getspecific): Likewise.
1400 (__gthread_setspecific): Likewise.
1401 (__gthread_key_t): Use <pthread.h> type.
1402 (__gthread_once_t): Likewise
1403 (__gthread_mutex_t): Use <sys/lock.h> type.
1404 (__gthread_recursive_mutex_t): Likewise
1405 (__gthread_mutex_lock): Use <sys/lock.h> function.
1406 (__gthread_mutex_trylock): Likewise.
1407 (__gthread_mutex_timedlock): Likewise.
1408 (__gthread_mutex_unlock): Likewise.
1409 (__gthread_mutex_destroy): Likewise.
1410 (__gthread_recursive_mutex_lock): Likewise.
1411 (__gthread_recursive_mutex_trylock): Likewise.
1412 (__gthread_recursive_mutex_timedlock): Likewise.
1413 (__gthread_recursive_mutex_unlock): Likewise.
1414 (__gthread_recursive_mutex_destroy): Likewise.
1415
991995c4
MF
14162015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1417
1418 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1419 context->sp instead of context->cfa.
1420
0e19db59
MF
14212015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1422
1423 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1424 with unwind-dw2-fde-dip.
1425
b6ac5f62
MF
14262015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1427
1428 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1429 CALL12 followed by series of ENTRY to spill windowed registers.
1430 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1431 instead of making linux spill syscall.
1432
3e0f3349
YR
14332015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
1434
1435 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1436 (get_intel_cpu): Likewise.
1437
51c728b1
L
14382015-08-12 H.J. Lu <hongjiu.lu@intel.com>
1439
1440 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1441 (get_intel_cpu): Add Knights Landing support.
1442
aff4eeac
UB
14432015-08-11 Uros Bizjak <ubizjak@gmail.com>
1444
1445 PR target/66954
1446 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1447 (get_available_features): Handle FEATURE_PCLMUL.
1448
736e56da
L
14492015-08-10 H.J. Lu <hongjiu.lu@intel.com>
1450
1451 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1452 Broadwell.
1453
54d22142
UB
14542015-07-22 Uros Bizjak <ubizjak@gmail.com>
1455
1456 PR target/66954
1457 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1458 (get_available_features): Handle FEATURE_AES.
1459
20ca17e4
CLT
14602015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
1461
1462 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1463 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1464
ebe4a560
NS
14652015-07-17 Nathan Sidwell <nathan@codesourcery.com>
1466
1467 * offloadstuff.c: Constify host data.
1468
180744c0
JB
14692015-07-17 Jan Beulich <jbeulich@suse.com>
1470
1471 * config/t-softfp: Split up "else ifneq".
1472
a03c6ae3
SL
14732015-07-14 Sandra Loosemore <sandra@codesourcery.com>
1474 Cesar Philippidis <cesar@codesourcery.com>
1475 Chung-Lin Tang <cltang@codesourcery.com>
1476
1477 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1478 for __nios2_arch__ level.
1479
73358db5
JM
14802015-07-13 John Marino <gnugcc@marino.st>
1481
1482 * config/i386/t-dragonfly: New.
1483
f9a12f7b
JDA
14842015-07-01 John David Anglin <danglin@gcc.gnu.org>
1485
1486 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1487 better match light-weight syscall argument order.
1488 (__kernel_cmpxchg2): Likewise.
1489 Adjust callers.
1490
cb78b51c
L
14912015-06-30 H.J. Lu <hongjiu.lu@intel.com>
1492
1493 * config.host: Support i[34567]86-*-elfiamcu target.
1494 * config/t-softfp-sfdftf: New file.
1495 * config/i386/32/t-iamcu: Likewise.
1496 * configure: Regenerated.
1497
4fa0f9ea
JL
14982015-06-23 James Lemke <jwlemke@codesourcery.com>
1499
1500 libgcc/config/arm/
1501 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1502
428b3812
L
15032015-05-27 H.J. Lu <hongjiu.lu@intel.com>
1504
1505 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1506
7d296953 15072015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
1508
1509 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1510 md_unwind_header
1511 * config/i386/freebsd-unwind.h: New.
1512
9b789cc1
UB
15132015-05-22 Uros Bizjak <ubizjak@gmail.com>
1514
1515 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1516 i386/t-crtfm to tmake_file.
1517 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1518 (set_fast_math): Use set_fast_math_sse for SSE targets.
1519 * config/i386/t-crtfm: Remove.
1520
3dafb220
AM
15212015-05-21 Alan Modra <amodra@gmail.com>
1522
1523 PR libgcc/66225
1524 * config/rs6000/morestack.S: Remove ".abiversion 1".
1525
0f0fd745
AM
15262015-05-20 Alan Modra <amodra@gmail.com>
1527
1528 * config/rs6000/morestack.S: New.
1529 * config/rs6000/t-stack-rs6000: New.
1530 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1531 to tmake_file.
1532 * generic-morestack.c: Don't build for powerpc 32-bit.
1533
515ae71b
EB
15342015-05-19 Eric Botcazou <ebotcazou@adacore.com>
1535
1536 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1537 Remove useless endif/ifneq ($(enable_shared),yes) pair.
1538
36805406
JL
15392015-05-16 James Bowman <james.bowman@ftdichip.com>
1540
1541 * config.host: FT32 target added.
1542 * config/ft32/*: New files for FT32 target.
1543
ff935d0c
MG
15442015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
1545
385c7747
UB
1546 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1547 New macros.
1548 * config/arm/ieee754-df.S: Add CFI directives.
1549 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 1550
9b92a9f3
EB
15512015-05-13 Eric Botcazou <ebotcazou@adacore.com>
1552
1553 * configure.ac: Include config/sjlj.m4.
1554 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1555 * config.in: Regenerate.
1556 * configure: Likewise.
1557 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1558
98b5dc61
UB
15592015-05-12 Uros Bizjak <ubizjak@gmail.com>
1560
1561 * libgcov-util.c: Add space between string literal and macro name.
1562
5a0ff57c
SL
15632015-05-06 Sandra Loosemore <sandra@codesourcery.com>
1564 Chris Jones <chrisj@nvidia.com>
1565 Joshua Conner <jconner@nvidia.com>
1566
1567 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1568 (arm*-*-uclinux*): Likewise.
1569 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1570 * config/arm/crtfastmath.c: New file.
1571
d28ad5d4
BS
15722014-04-29 Bernd Schmidt <bernds@codesourcery.com>
1573
1574 * Makefile.in (real_host_noncanonical): New variable.
1575 (libsubdir): Use it.
1576 * configure.ac (real_host_noncanonical): Compute. Remove special
1577 case for intelmicemul.
1578 * configure: Regenerate.
1579
cc86234f
UB
15802015-04-28 Uros Bizjak <ubizjak@gmail.com>
1581
1582 * config/frv/elf-lib.h: New file.
1583 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1584 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1585 to tm_file.
1586
15872015-04-28 Uros Bizjak <ubizjak@gmail.com>
1588
1589 * config/frv/frvbengin.c: Do not include defaults.h
1590 * config/frv/frvend.c: Ditto.
1591
2f6bd6eb
YS
15922015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
1593
1594 * config.host: Add h8300-*-linux
1595 * config/h8300/t-linux: New file.
1596 * config/h8300/lib1funs.s: Change symbol prefix.
1597 * config/h8300/sfp-machine.h: 64bit double support.
1598
15aa7b44
GR
15992015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
1600 Szabolcs Nagy <szabolcs.nagy@arm.com>
1601
1602 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1603 Linux if target provides dl_iterate_phdr.
1604
abd0cdc9
L
16052015-04-17 H.J. Lu <hongjiu.lu@intel.com>
1606
1607 PR target/65612
1608 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1609 * config/i386/cpuinfo.c (__cpu_model): Initialize.
1610 (__cpu_indicator_init@GCC_4.8.0): New.
1611 (__cpu_model@GCC_4.8.0): Likewise.
1612 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1613 -DUSE_ELF_SYMVER.
1614
72ed1126
NC
16152015-04-16 Nick Clifton <nickc@redhat.com>
1616
1617 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1618 and __modhi3 functions.
1619 * config/rl78/divmodso.S: Add G14 and G13 versions of the
1620 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1621
d26b2237
CG
16222015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
1623
1624 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1625 do-while loop as macro body to avoid warnings.
1626
cacf1f59
JJ
16272015-04-10 Jakub Jelinek <jakub@redhat.com>
1628 Iain Sandoe <iain@codesourcery.com>
1629
1630 PR target/65351
1631 * configure: Regenerate.
1632
e8a4ed3b
JJ
16332015-04-07 Jakub Jelinek <jakub@redhat.com>
1634 Iain Sandoe <iain@codesourcery.com>
1635
1636 PR target/65351
1637 * configure: Regenerate.
1638
0341335e
CLT
16392015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
1640
1641 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1642
590e2636 16432015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 1644
590e2636
MF
1645 Implement call0 ABI for xtensa
1646 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1647 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1648 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1649 use ret in call0 ABI.
1650 * config/xtensa/t-windowed: New file.
1651 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1652 * libgcc/configure: Regenerated.
1653 * libgcc/configure.ac: Check if xtensa target is configured for
1654 windowed ABI and thus needs to use custom unwind code.
1655
7727f8f2
JW
16562015-02-12 Jonathan Wakely <jwakely@redhat.com>
1657
1658 PR libgcc/64885
1659 * gthr-single.h: Use __unused__ attribute instead of unused.
1660 * config/gthr-vxworks.h: Likewise.
1661 * config/i386/gthr-win32.h: Likewise.
1662
0e4a0def
KT
16632015-02-27 Kai Tietz <ktietz@redhat.com>
1664
1665 PR target/65038
1666 * config.in: Regenerated.
1667 * configure: Likewise.
1668 * configure.ac (AC_HEADER_STDC): Added explicit.
1669 (AC_CHECK_HEADERS): Check for default headers plus
1670 for ftw.h header.
1671 * libgcov-util.c (gcov_read_profile_dir): Disable use
1672 of ftw-function, if header is not found.
1673 (ftw_read_file): Likewise.
1674
b6530d0a
TS
16752015-02-23 Thomas Schwinge <thomas@codesourcery.com>
1676
1677 PR target/65181
1678 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1679 -Dinhibit_libc.
1680
53cfb467
SL
16812015-02-17 Sandra Loosemore <sandra@codesourcery.com>
1682
1683 * config/arm/bpabi.S (test_div_by_zero): Make label names
1684 consistent between thumb2 and arm mode cases. Separate the
1685 signed comparison on the high word of the numerator from the
1686 unsigned comparison on the low word.
1687 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1688 signed comparison.
1689
77d10a1b
JM
16902015-02-17 Joseph Myers <joseph@codesourcery.com>
1691
1692 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1693 and <string.h>.
1694 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1695
98174188
RE
16962015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
1697
1698 PR gcov-profile/61889
471274de 1699 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 1700
771bef14
NC
17012015-02-02 Nick Clifton <nickc@redhat.com>
1702
1703 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1704 rounding up the fraction.
1705
40702893
JDA
17062015-01-31 John David Anglin <danglin@gcc.gnu.org>
1707
1708 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1709 oldval and newval to const void *. Fix typo.
1710 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1711 (FETCH_AND_OP_WORD): Likewise.
1712 (OP_AND_FETCH_WORD): Likewise.
1713 (COMPARE_AND_SWAP_2): Likewise.
1714 (__sync_val_compare_and_swap_4): Likewise.
1715 (__sync_lock_test_and_set_4): Likewise.
1716 (SYNC_LOCK_RELEASE_2): Likewise.
1717 Remove support for long long atomic operations.
1718
f7f049fa
CT
17192015-01-27 Caroline Tice <cmtice@google.com>
1720
1721 Committing VTV Cywin/Ming patch for Patrick Wollgast
1722 * Makefile.in: Move rules to build vtv_*.o out of the check
1723 for CUSTOM_CRTSTUFF.
1724 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1725 i[34567]86-*-mingw*)
1726 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1727 enable_vtable_verify.
1728
8410904a
NC
17292015-01-27 Nick Clifton <nickc@redhat.com>
1730
1731 * config/rl78/cmpsi2.S: Use function start and end macros.
1732 (__gcc_bcmp): New function.
1733 * config/rl78/lshrsi3.S: Use function start and end macros.
1734 * config/rl78/mulsi3.S: Add support for G10.
1735 (__mulqi3): New function for G10.
1736 * config/rl78/signbit.S: Use function start and end macros.
1737 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1738 fpmath-sf.S.
1739 (LIB2FUNCS_EXCLUDE): Define.
1740 (LIB2FUNCS_ST): Define.
1741 * config/rl78/trampoline.S: Use function start and end macros.
1742 * config/rl78/vregs.h (START_FUNC): New macro.
1743 (START_ANOTHER_FUNC): New macro.
1744 (END_FUNC): New macro.
1745 (END_ANOTHER_FUNC): New macro.
1746 * config/rl78/bit-count.S: New file. Contains assembler
1747 implementations of the bit counting functions: ___clzhi2,
1748 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1749 __paritysi2, __popcounthi2 and __popcountsi2.
1750 * config/rl78/fpbit-sf.S: New file. Contains assembler
1751 implementationas of the math functions: __negsf2, __cmpsf2,
1752 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1753 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
1754 * config/rl78/fpmath-sf.S: New file. Contains assembler
1755 implementations of the math functions: __subsf3, __addsf3,
1756 __mulsf3 and __divsf3
1757
f962fbf1
RO
17582015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1759
1760 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1761 Add i386/elf-lib.h to tm_file.
1762 * config/i386/elf-lib.h: Fix comment.
1763 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1764 && __sun__ && __svr4__]: Remove workaround.
1765
939911c5
ASJ
17662015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
1767
1768 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1769 FEATURE_BMI2.
1770 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1771
c8f2dff2
L
17722015-01-24 H.J. Lu <hongjiu.lu@intel.com>
1773
1774 * config/i386/cpuinfo.c (processor_subtypes): Add
1775 INTEL_COREI7_BROADWELL.
1776 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1777 model numbers.
1778
7bbf9734
UB
17792015-01-23 Uros Bizjak <ubizjak@gmail.com>
1780
1781 * config/i386/elf-lib.h: New file.
1782 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1783 Wrap definition in #ifdef __i386__.
1784 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1785 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1786 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1787 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1788 to tm_file.
1789
324820f1
CG
17902015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
1791
1792 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1793 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1794
a9ce4e4a
CLT
17952015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
1796
1797 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1798 Update rt_sigframe format and address for current Nios II
1799 Linux conventions.
1800
82a19768
AT
18012015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1802
1803 * config.host (arm*-*-freebsd*): Add new configuration for
1804 arm*-*-freebsd*.
1805 * config/arm/freebsd-atomic.c: New file.
1806 * config/arm/t-freebsd: Likewise.
1807 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1808 'PC-relative indirect' OS's.
1809
0969ec7d
EB
18102015-01-06 Eric Botcazou <ebotcazou@adacore.com>
1811
1812 * config.host: Add Visium support.
1813 * config/visium: New directory.
1814
5624e564
JJ
18152015-01-05 Jakub Jelinek <jakub@redhat.com>
1816
1817 Update copyright years.
1818
82f84ecb
MF
18192014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
1820
1821 * config.host: Support mipsisa32r6 and mipsisa64r6.
1822 * config/mips/mips16.S: Do not build for R6.
1823
69044fa9
OE
18242014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
1825
1826 * config/sh/crt.h: New.
1827 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
1828 symbols.
1829 * config/sh/crt1.S: Likewise.
1830
2405e0ea
UB
18312014-12-15 Uros Bizjak <ubizjak@gmail.com>
1832
1833 PR libgcc/63832
1834 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
1835 func_ptr *dtor_list temporary variable to avoid "array subscript
1836 is above array bounds" warnings.
1837
7d296953 18382014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
1839
1840 * Makefile.in (with_aix_soname): Define.
1841 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
1842 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
1843 * configure: Recreate.
1844
a66272f6
OH
18452014-12-05 Olivier Hainque <hainque@adacore.com>
1846
1847 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
1848 now provided by defaults.h.
1849
6342b2c5
OE
18502014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
1851
7d0ee249 1852 PR target/55351
6342b2c5
OE
1853 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
1854 whether it's defined.
1855
c17eac85
IT
18562014-11-27 Ilya Tocar <ilya.tocar@intel.com>
1857
1858 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
1859 * config/i386/cpuinfo.c (get_available_features): Detect it.
1860
1025cb6c
TW
18612014-11-27 Tony Wang <tony.wang@arm.com>
1862
1863 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
1864 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
1865 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
1866
d19f2e38
SB
18672014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
1868
1869 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
1870
17f6e9a3
JDA
18712014-11-24 John David Anglin <danglin@gcc.gnu.org>
1872
1873 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
1874 instead.
1875
0cd7c672
GM
18762014-11-21 Guy Martin <gmsoft@tuxicoman.be>
1877 John David Anglin <danglin@gcc.gnu.org>
1878
1879 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
1880 (FETCH_AND_OP_2): New. Use for subword and double word operations.
1881 (OP_AND_FETCH_2): Likewise.
1882 (COMPARE_AND_SWAP_2): Likewise.
1883 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1884 (SYNC_LOCK_RELEASE_2): Likewise.
1885 (SUBWORD_SYNC_OP): Remove.
1886 (SUBWORD_VAL_CAS): Likewise.
1887 (SUBWORD_BOOL_CAS): Likewise.
1888 (FETCH_AND_OP_WORD): Update.
1889 Consistently use signed types.
cc86234f 1890
85c64bbe
BS
18912014-11-13 Bernd Schmidt <bernds@codesourcery.com>
1892 Thomas Schwinge <thomas@codesourcery.com>
1893 Ilya Verbin <ilya.verbin@intel.com>
1894 Andrey Turetskiy <andrey.turetskiy@intel.com>
1895
1896 * Makefile.in (crtoffloadbegin$(objext)): New rule.
1897 (crtoffloadend$(objext)): Likewise.
1898 * configure: Regenerate.
1899 * configure.ac (accel_dir_suffix): Compute new variable.
1900 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
1901 if enable_offload_targets is not empty.
1902 * offloadstuff.c: New file.
1903
52a1ff8b
NC
19042014-11-13 Nick Clifton <nickc@redhat.com>
1905
1906 * config/rl78/divmodhi.S: Add support for the G10 architecture.
1907 Use START_FUNC and END_FUNC macros to enable linker garbage
1908 collection.
1909 * config/rl78/divmodqi.S: Likewise.
1910 * config/rl78/divmodsi.S: Likewise.
1911 * config/rl78/mulsi3.S: Likewise.
1912 * config/rl78/lib2div.c: Remove G10 functions.
1913 * config/rl78/lib2muls.c: Likewise.
1914 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
1915 * config/rl78/vregs.h (START_FUNC): New macro.
1916 (END_FUNC): New macro.
1917
050af144
MF
19182014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
1919
1920 * config/mips/mips16.S: Set .module when supported. Update O32
1921 FP64 calling convention and use for FPXX when possible. Add FPXX
1922 calling convention fallback case.
1923
738f2522
BS
19242014-11-06 Bernd Schmidt <bernds@codesourcery.com>
1925
1926 * config.host: Handle nvptx-*-*.
1927 * shared-object.mk (as-flags-$o): Define.
1928 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
1929 -xassembler-with-cpp.
1930 * static-object.mk: Identical changes.
1931 * config/nvptx/t-nvptx: New file.
1932 * config/nvptx/crt0.s: New file.
1933 * config/nvptx/free.asm: New file.
1934 * config/nvptx/malloc.asm: New file.
1935 * config/nvptx/realloc.c: New file.
1936
e610393c
JM
19372014-10-30 Joseph Myers <joseph@codesourcery.com>
1938
1939 * Makefile.in (libgcc.map.in): New target.
1940 (libgcc.map): Use libgcc.map.in.
1941 * config/t-softfp (softfp_compat): New variable to be set by
1942 users.
1943 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
1944 variables.
1945 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
1946 directory.
1947 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
1948 that use compat symbols and disable all code unless [SHARED].
1949 * config/t-softfp-compat: New file.
1950 * find-symver.awk: New file.
1951 * configure.ac (--with-glibc-version): New configure option.
1952 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
1953 * configure: Regenerate.
1954 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
1955 soft-float and e500.
1956
bc1b3a88
JM
19572014-10-29 Joseph Myers <joseph@codesourcery.com>
1958
1959 * config/t-hardfp (hardfp_exclusions): Document new variable for
1960 user to define.
1961 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
1962 * config/t-softfp (softfp_extras): Document new variable for user
1963 to define.
1964 (softfp_func_list): Add functions from $(softfp_extras).
1965 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
1966 * config.host (powerpc*-*-linux*): For e500v1, use
1967 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
1968 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
1969 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
1970
ef2810c1
JDA
19712014-10-26 John David Anglin <danglin@gcc.gnu.org>
1972
1973 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
1974 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
1975 memory read accesses are ok.
1976
d80c2bea
JM
19772014-10-25 Joseph Myers <joseph@codesourcery.com>
1978
1979 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
1980 * configure: Regenerate.
1981 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
1982 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
1983 of soft-fp for 32-bit classic hard float. Do not use
1984 t-softfp-excl for soft float.
1985
693b297b
JM
19862014-10-22 Joseph Myers <joseph@codesourcery.com>
1987
1988 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
1989 configurations.
1990 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
1991 Remove variables.
1992
18a3415e
GJL
19932014-10-22 Georg-Johann Lay <avr@gjlay.de>
1994
1995 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
1996 introduced with 2014-10-21 trunk r216525.
1997
c1dd9790 19982014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
1999 Vidya Praveen <vidya.praveen@atmel.com>
2000 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
2001 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
2002 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
2003
2004 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2005 order.
2006
2007 Updated library functions for AVRTINY arch.
2008 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2009 Replaced occurrences of r0/r1 with tmp/zero reg macros.
2010 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2011 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2012 wsubi/wadi macors.
2013 (__mulsi3_helper): Update stack, preserve callee saved regs and
2014 argument from stack. Restore callee save registers.
2015 (__mulpsi3): Likewise.
2016 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2017 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 2018 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
2019 AVRTINY.
2020 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2021 (__do_copy_data): Added new definition for AVRTINY.
2022 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2023 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2024 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2025 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2026 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2027 macors.
18a3415e 2028 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
2029 AVRTINY.
2030
18a3415e 2031 Fix broken long multiplication on tiny arch.
c1dd9790 2032
5f606431
JM
20332014-10-09 Joseph Myers <joseph@codesourcery.com>
2034
2035 * soft-fp/double.h: Update from glibc.
2036 * soft-fp/eqdf2.c: Likewise.
2037 * soft-fp/eqsf2.c: Likewise.
2038 * soft-fp/eqtf2.c: Likewise.
2039 * soft-fp/extenddftf2.c: Likewise.
2040 * soft-fp/extended.h: Likewise.
2041 * soft-fp/extendsfdf2.c: Likewise.
2042 * soft-fp/extendsftf2.c: Likewise.
2043 * soft-fp/extendxftf2.c: Likewise.
2044 * soft-fp/gedf2.c: Likewise.
2045 * soft-fp/gesf2.c: Likewise.
2046 * soft-fp/getf2.c: Likewise.
2047 * soft-fp/ledf2.c: Likewise.
2048 * soft-fp/lesf2.c: Likewise.
2049 * soft-fp/letf2.c: Likewise.
2050 * soft-fp/op-1.h: Likewise.
2051 * soft-fp/op-2.h: Likewise.
2052 * soft-fp/op-4.h: Likewise.
2053 * soft-fp/op-8.h: Likewise.
2054 * soft-fp/op-common.h: Likewise.
2055 * soft-fp/quad.h: Likewise.
2056 * soft-fp/single.h: Likewise.
2057 * soft-fp/soft-fp.h: Likewise.
2058 * soft-fp/unorddf2.c: Likewise.
2059 * soft-fp/unordsf2.c: Likewise.
2060 * soft-fp/unordtf2.c: Likewise.
2061 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2062 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2063 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2064 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2065 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2066 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2067 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2068 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2069 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2070 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2071
9b84e7a8
RX
20722014-10-08 Rong Xu <xur@google.com>
2073
2074 * libgcov-util.c (read_gcda_file): Fix format.
2075 (find_match_gcov_info): Ditto.
2076 (calculate_2_entries): New.
2077 (compute_one_gcov): Ditto.
2078 (gcov_info_count_all_cold): Ditto.
2079 (gcov_info_count_all_zero): Ditto.
2080 (extract_file_basename): Ditto.
2081 (get_file_basename): Ditto.
2082 (set_flag): Ditto.
2083 (matched_gcov_info): Ditto.
2084 (calculate_overlap): Ditto.
2085 (gcov_profile_overlap): Ditto.
2086 * libgcov-driver.c (compute_summary): Make
2087 it avavilable for external calls.
2088
fe1090c1
RX
20892014-10-06 Rong Xu <xur@google.com>
2090
2091 * Makefile.in: Ditto.
2092 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2093 (gcov_sort_icall_topn_counter): Ditto.
2094 (gcov_sort_topn_counter_arrays): Ditto.
2095 (dump_one_gcov): Sort indirect_call topn counters.
2096 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2097 function.
2098 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2099 utility function.
2100 (__gcov_indirect_call_topn_profiler): New profiler function.
2101 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2102 * libgcov.h: New decls.
2103
3daa7bbf
TS
21042014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2105
2106 * config.host: Remove support for score-*.
2107
9a79452d
JM
21082014-09-22 Joseph Myers <joseph@codesourcery.com>
2109
2110 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2111 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2112 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2113 __LIBGCC_XF_MANT_DIG__.
2114 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2115 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2116 __LIBGCC_TF_MANT_DIG__.
2117 * libgcc2.c (NOTRUNC): Define in terms of
2118 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2119 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2120
1a849e50
JM
21212014-09-22 Joseph Myers <joseph@codesourcery.com>
2122
2123 PR target/63312
2124 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2125 New macros.
2126
598a1586
HPN
21272014-09-22 Hans-Peter Nilsson <hp@axis.com>
2128
2129 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2130 override USE_PT_GNU_EH_FRAME.
2131 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2132 check USE_EH_FRAME_REGISTRY_ALWAYS against
2133 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2134 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2135 variable for substituted force_explicit_eh_registry.
2136 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2137 * configure.ac (explicit-exception-frame-registration):
2138 New AC_ARG_ENABLE.
2139 * configure: Regenerate.
2140
3a8fe7c6
OH
21412014-09-19 Olivier Hainque <hainque@adacore.com>
2142
2143 * config.host (powerpc-wrs-vxworksmils): New configuration,
2144 same as vxworksae.
2145
dd69f047
JM
21462014-09-18 Joseph Myers <joseph@codesourcery.com>
2147
2148 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2149
e770bfd9
JM
21502014-09-18 Joseph Myers <joseph@codesourcery.com>
2151
2152 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2153 bits not set bits as indicating trapping exceptions.
2154
cadb2b96
NS
21552014-09-17 Nathan sidwell <nathan@acm.org>
2156
2157 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2158 (LIBGCOV_DRIVER): ... here.
2159 * libgcov-driver.c (gcov_master): New.
2160 (gcov_exit): Remove from master chain.
2161 (__gcov_init): Add to master chain if version compatible. Don't
2162 clear the version.
2163 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2164 (gcov_reset_int): Clear master chain, if compatible.
2165 (gcov_dump_int): New internal interface. Dump master chain, if
2166 compatible.
2167 (gcov_dump): Alias for gcov_dump_int.
2168 * libgcov.h (struct gcov_root): Add next and prev fields.
2169 (struct gcov_master): New struct.
2170 (__gcov_master): New.
2171 (gcov_dump_int): Declare.
2172
580d22a3
OH
21732014-09-17 Olivier Hainque <hainque@adacore.com>
2174
2175 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2176 and crtbegin.o + crtend.o to extra_parts.
2177
8cc4b7a2
JM
21782014-09-12 Joseph Myers <joseph@codesourcery.com>
2179
2180 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2181 __LIBGCC_HAS_SF_MODE__.
2182 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2183 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2184 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2185 * config/libbid/bid_gcc_intrinsics.h
2186 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2187 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2188 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2189 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2190 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2191 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2192
ea3f2b24
GJL
21932014-09-11 Georg-Johann Lay <avr@gjlay.de>
2194
2195 PR target/63223
2196 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2197 and R24 as needed. Make work for all devices and .text locations.
2198 (__do_global_ctors, __do_global_dtors): Use word addresses.
2199 (__tablejump__, __tablejump_elpm__): Remove functions.
2200 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2201 Add _tablejump2.
2202 (XICALL, XIJMP): New macros.
2203
b677236a
MS
22042014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
2205 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2206
2207 * config.host (aarch64*): Include crtfastmath.o and
2208 t-crtfm.
2209 * config/aarch64/crtfastmath.c: New file.
2210
157e859f
TS
22112014-09-08 Trevor Saunders <tsaunders@mozilla.com>
2212
2213 * config.host: Remove picochip support.
2214 * config/picochip/adddi3.S: Remove.
2215 * config/picochip/ashlsi3.S: Remove.
2216 * config/picochip/ashlsi3.c: Remove.
2217 * config/picochip/ashrsi3.S: Remove.
2218 * config/picochip/ashrsi3.c: Remove.
2219 * config/picochip/clzsi2.S: Remove.
2220 * config/picochip/cmpsi2.S: Remove.
2221 * config/picochip/divmod15.S: Remove.
2222 * config/picochip/divmodhi4.S: Remove.
2223 * config/picochip/divmodsi4.S: Remove.
2224 * config/picochip/lib1funcs.S: Remove.
2225 * config/picochip/longjmp.S: Remove.
2226 * config/picochip/lshrsi3.S: Remove.
2227 * config/picochip/lshrsi3.c: Remove.
2228 * config/picochip/parityhi2.S: Remove.
2229 * config/picochip/popcounthi2.S: Remove.
2230 * config/picochip/setjmp.S: Remove.
2231 * config/picochip/subdi3.S: Remove.
2232 * config/picochip/t-picochip: Remove.
2233 * config/picochip/ucmpsi2.S: Remove.
2234 * config/picochip/udivmodhi4.S: Remove.
2235 * config/picochip/udivmodsi4.S: Remove.
2236
66bb34c0
JM
22372014-09-08 Joseph Myers <joseph@codesourcery.com>
2238
2239 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2240 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2241 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2242 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2243 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
2244 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2245 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
2246 defined and LIBGCC2_HAS_DF_MODE is defined.
2247 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
2248 defined and LIBGCC2_HAS_XF_MODE is defined.
2249 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
2250 defined and LIBGCC2_HAS_TF_MODE is defined.
2251
9686a2e6
JM
22522014-09-08 Joseph Myers <joseph@codesourcery.com>
2253
2254 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2255 and ROUND_TOWARDS_ZERO conditionals.
2256
71c3e2ef
NS
22572014-09-07 Nathan sidwell <nathan@acm.org>
2258
2259 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2260 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
2261
53d68b9f
JM
22622014-09-05 Joseph Myers <joseph@codesourcery.com>
2263
2264 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2265 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2266 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2267 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2268 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2269 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2270 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2271 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2272 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2273 (DWARF_FRAME_REGISTERS): Change all uses to
2274 __LIBGCC_DWARF_FRAME_REGISTERS__.
2275 (EH_RETURN_STACKADJ_RTX): Change all uses to
2276 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2277 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2278 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
2279 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2280 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2281 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2282 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2283 to __LIBGCC_EH_FRAME_SECTION_NAME__.
2284 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2285 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2286 __LIBGCC_STACK_POINTER_REGNUM__.
2287 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2288 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2289 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2290 to __LIBGCC_STACK_POINTER_REGNUM__.
2291 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2292 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2293 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2294 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2295 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2296 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2297 (STACK_POINTER_REGNUM): Change all uses to
2298 __LIBGCC_STACK_POINTER_REGNUM__.
2299 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2300 use to __LIBGCC_STACK_POINTER_REGNUM__.
2301 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2302 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2303 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2304 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2305 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2306 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2307 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2308 to __LIBGCC_STACK_POINTER_REGNUM__.
2309 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2310 Remove conditional definition.
2311 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2312 __LIBGCC_TEXT_SECTION_ASM_OP__.
2313 (EH_FRAME_SECTION_NAME): Change all uses to
2314 __LIBGCC_EH_FRAME_SECTION_NAME__.
2315 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2316 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2317 (CTORS_SECTION_ASM_OP): Change all uses to
2318 __LIBGCC_CTORS_SECTION_ASM_OP__.
2319 (DTORS_SECTION_ASM_OP): Change all uses to
2320 __LIBGCC_DTORS_SECTION_ASM_OP__.
2321 (JCR_SECTION_NAME): Change all uses to
2322 __LIBGCC_JCR_SECTION_NAME__.
2323 (INIT_SECTION_ASM_OP): Change all uses to
2324 __LIBGCC_INIT_SECTION_ASM_OP__.
2325 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2326 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2327 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2328 __LIBGCC_STACK_GROWS_DOWNWARD__.
2329 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2330 __LIBGCC_INIT_SECTION_ASM_OP__.
2331 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2332 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2333 (EH_FRAME_SECTION_NAME): Change all uses to
2334 __LIBGCC_EH_FRAME_SECTION_NAME__.
2335 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2336 definitions. Change all uses to
2337 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2338 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2339 __LIBGCC_STACK_GROWS_DOWNWARD__.
2340 (DWARF_FRAME_REGISTERS): Change all uses to
2341 __LIBGCC_DWARF_FRAME_REGISTERS__.
2342 (EH_RETURN_STACKADJ_RTX): Change all uses to
2343 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2344 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2345 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2346 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2347 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2348 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2349
b20ee094
NS
23502014-09-02 Nathan sidwell <nathan@acm.org>
2351
2352 * libgcov-interface.c (STRONG_ALIAS): New.
2353 (__gcov_flush): Call __gcov_reset_int.
2354 (__gcov_reset): Strong alias for ...
2355 (__gcov_reset_ing): ... this renamed hidden version.
2356 * libgcov.h (__gcov_reset_int): New declaration.
2357
1ac83976
YS
23582014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2359
25efdb9f
YS
2360 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2361 call from here...
2362 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2363 (__dso_handle): Define on Cygwin.
2364 * config/i386/t-cygming (crtbeginS.o): New rule.
2365 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2366
1ac83976
YS
2367 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2368 declaration syntax.
2369
c6f9ea3b
SE
23702014-08-13 Steve Ellcey <sellcey@mips.com>
2371
2372 * crtstuff.c: Undef caddr_t.
2373
5b1ea7c5
SE
23742014-08-12 Steve Ellcey <sellcey@mips.com>
2375
2376 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
2377
4303c581
NS
23782014-08-07 Nathan Sidwell <nathan@acm.org>
2379
2380 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2381 (LIBGCOV_DRIVER): ... to here.
2382 * libgcov.h (gcov_do_dump): New #define.
2383 (struct gcov_root): New.
2384 (__gcov_root): New declaration.
2385 (__gcov_dump_one): Declare.
2386 * libgcov-driver.c (gcov_list, gcov_dump_complete,
2387 run_accounted): Delete.
2388 (gcov_compute_histogram): Add LIST argument, adjust.
2389 (compute_summary): Adjust gcov_compute_histogram call.
2390 (gcov_do_dump): Not hidden, static in libgcov.
2391 (gcov_clear): Move to interface.c.
2392 (__gcov_dump_one): New, broken out of ...
2393 (gcov_exit): ... here. Make static.
2394 (__gcov_root): New.
2395 (__gcov_init): Adjust.
2396 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2397 declarations.
2398 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2399 (gcov_clear): Moved from driver.c. Add LIST argument.
2400 (__gcov_reset): Adjust for changed interfaces.
2401 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2402
23742a9e
RAR
24032014-08-04 Rohit <rohitarulraj@freescale.com>
2404
2405 PR target/60102
2406 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 2407 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 2408
b98a872b
NS
24092014-08-01 Nathan Sidwell <nathan@acm.org>
2410
2411 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2412 LIBGCOV_INTERFACE): Reformat.
2413 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2414 IN_GCOV_TOOL.
2415 * libgcov-interface.c: Reformat some comments.
2416 (__gcov_flush_mx): Add declaration. Tidy up definition.
2417
6adaaa1d
AM
24182014-07-31 Alan Modra <amodra@gmail.com>
2419 Peter Bergner <bergner@vnet.ibm.com>
2420
2421 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2422 (pack_ldouble): New function.
2423 (__gcc_qadd): Use it.
2424 (__gcc_qmul): Likewise.
2425 (__gcc_qdiv): Likewise.
2426 (__gcc_qneg): Likewise.
2427 (__gcc_stoq): Likewise.
2428 (__gcc_dtoq): Likewise.
2429
87cb0c0c
UW
24302014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
2431
2432 * config/s390/tpf-unwind.h: Include <stdbool.h>.
2433 (__tpf_eh_return): Add original return address as second parameter.
2434 Handle cases where unwinder routines were called directly, instead
2435 of from within the C++ library.
2436
19926161
NS
24372014-07-29 Nathan Sidwell <nathan@acm.org>
2438
2439 * libgcov.h: Move renaming of entry points to lib gcov specific
2440 portion.
2441 (gcov_do_dump): New rename.
2442 (gcov_rewrite): Remove inline, make HIDDEN.
2443 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2444 (gcov_exit_compute_summary): Rename to ...
2445 (compute_summary): ... here. Add LIST argument.
2446 (gcov_exit_merge_gcda): Rename to ...
2447 (merge_one_data): ... here.
2448 (gcov_exit_write_gcda): Rename to ...
2449 (write_one_data): ... here.
2450 (gcov_exit_merge_summary): Rename to ...
2451 (merge_summary): Add RUN_COUNTED argument.
2452 (gcov_exit_dump_gcov): Rename to ...
2453 (dump_one_gcov): Add RUN_COUNTED argument.
2454 (gcov_do_dump): New function, broken out of ...
2455 (gcov_exit): ... here. Call it.
2456
17522262
AG
24572014-07-27 Anthony Green <green@moxielogic.com>
2458
2459 * config.host: Add moxiebox configuration suppport.
2460
6dc33097
NS
24612014-07-27 Nathan Sidwell <nathan@acm.org>
2462
2463 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2464 (struct gcov_filename): ... here. Include buffer and max length
2465 fields.
2466 (gcov_max_filename): Remove.
2467 (gi_filename): Remove.
2468 (gcov_exit_compute_summary): Compute max filename here.
2469 (gcov_exit_merge_gcda): Add filename parm, adjust.
2470 (gcov_exit_merge_summary): Likewise.
2471 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2472 (gcov_exit): Likewise.
2473 (__gcov_init): Don't calculate max length here.
2474 * libgcov_util.c (max_filename_len): Remove.
2475 (read_gcda_file): Don't calculate max length here.
2476 (gcov_read_profile_dir): Don't propagate here.
2477 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2478 struct gcov_filename changes.
2479 (gcov_exit_open_gcda_file): Likewise.
2480
770f687d
NS
24812014-07-25 Nathan Sidwell <nathan@acm.org>
2482
2483 * libgcov-driver.c (set_gcov_dump_complete,
2484 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2485 functions polluting user's namespace.
2486 (gcov_exit): Set variable directly.
2487 (gcov_clear): Reset variable directly.
2488 * libgcov-interface.c (get_gcov_dymp_complete,
2489 reset_gov_dump_complete): Remove declarations.
2490 (__gcov_reset, __gcov_dump): Don't call them.
2491
fabf71ba
DD
24922014-07-24 DJ Delorie <dj@redhat.com>
2493
2494 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
2495 (__gcc_deregister_frame): Move logic to detect deregister function
2496 to ...
2497 (__gcc_register_frame): here, so it's consistent with the register
2498 logic.
fabf71ba 2499
d10ee722
NS
25002014-07-23 Nathan Sidwell <nathan@acm.org>
2501
2502 * libgcov-driver.c (set_gcov_list): Remove.
2503 (gcov_list): Make non-static in GCOV_TOOL.
2504 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2505
a4137090
JDA
25062014-07-17 John David Anglin <danglin@gcc.gnu.org>
2507
2508 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2509 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2510 Don't use SYNC_LOCK_RELEASE for int type.
2511
72602c6c
RB
25122014-07-14 Richard Biener <rguenther@suse.de>
2513
2514 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2515
d5313205
RX
25162014-07-11 Rong Xu <xur@google.com>
2517
2518 * libgcov-util.c (gcov_max_filename): Fix declartion.
2519
c77556a5
RX
25202014-07-10 Rong Xu <xur@google.com>
2521
2522 Add gcov-tool: an offline gcda profile processing tool
2523 Support.
2524 * libgcov-driver.c (gcov_max_filename): Make available
2525 to gcov-tool.
2526 * libgcov-merge.c (__gcov_merge_add): Replace
2527 gcov_read_counter() with a Macro.
2528 (__gcov_merge_ior): Ditto.
2529 (__gcov_merge_time_profile): Ditto.
2530 (__gcov_merge_single): Ditto.
2531 (__gcov_merge_delta): Ditto.
2532 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2533 in the utility functions.
2534 (set_fn_ctrs): Utility function for reading gcda files to in-memory
2535 gcov_list object link lists.
2536 (tag_function): Ditto.
2537 (tag_blocks): Ditto.
2538 (tag_arcs): Ditto.
2539 (tag_lines): Ditto.
2540 (tag_counters): Ditto.
2541 (tag_summary): Ditto.
2542 (read_gcda_finalize): Ditto.
2543 (read_gcda_file): Ditto.
2544 (ftw_read_file): Ditto.
2545 (read_profile_dir_init): Ditto.
2546 (gcov_read_profile_dir): Ditto.
2547 (gcov_read_counter_mem): Ditto.
2548 (gcov_get_merge_weight): Ditto.
2549 (merge_wrapper): A wrapper function that calls merging handler.
2550 (gcov_merge): Merge two gcov_info objects with weights.
2551 (find_match_gcov_info): Find the matched gcov_info in the list.
2552 (gcov_profile_merge): Merge two gcov_info object lists.
2553 (__gcov_add_counter_op): Process edge profile counter values.
2554 (__gcov_ior_counter_op): Process IOR profile counter values.
2555 (__gcov_delta_counter_op): Process delta profile counter values.
2556 (__gcov_single_counter_op): Process single profile counter values.
2557 (fp_scale): Callback function for float-point scaling.
cc86234f 2558 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
2559 (gcov_profile_scale): Scaling profile counters.
2560 (gcov_profile_normalize): Normalize profile counters.
2561 * libgcov.h: Add headers and functions for gcov-tool use.
2562 (gcov_get_counter): New.
2563 (gcov_get_counter_target): Ditto.
2564 (struct gcov_info): Make the functions field mutable in gcov-tool
2565 compilation.
2566
5c7dac8a
KT
25672014-06-23 Kai Tietz <ktietz@redhat.com>
2568
2569 PR libgcc/61585
2570 * unwind-seh.c (_Unwind_GetGR): Check for proper
2571 index range.
2572 (_Unwind_SetGR): Likewise.
2573
161c9312
NC
25742014-05-22 Nick Clifton <nickc@redhat.com>
2575
2576 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2577 -mhwmult=none.
2578
e3f0315f
TJ
25792014-05-22 Teresa Johnson <tejohnson@google.com>
2580
2581 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2582 include.
2583
dbed5a9b
JM
25842014-05-20 John Marino <gnugcc@marino.st>
2585
2586 * config.host (*-*-dragonfly*): New target.
2587 * crtstuff.c: Make dl_iterate_support generic on *bsd.
2588 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2589 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2590 * config/i386/dragonfly-unwind.h: New.
2591
1ec380e5
MR
25922014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2593
2594 PR libgcc/60166
2595 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2596 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2597
54fde020
BE
25982014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
2599
2600 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2601 implementation.
2602
999db125
GJL
26032014-05-12 Georg-Johann Lay <avr@gjlay.de>
2604
2605 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2606
cceaf54a
RO
26072014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2608
2609 PR libgcc/61097
2610 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2611 if --enable-shared.
2612
e3fe9b5b
BE
26132014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
2614
2615 Work around for current cygwin32 build problems.
2616 * config/i386/cygming-crtbegin.c (__register_frame_info,
2617 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2618 functions only for 64-bit systems.
2619
54cf37e9
RO
26202014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2621
2622 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2623 (sigill_caught, sigill_hdlr): Remove.
2624
d9f069ab
RO
26252014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2626
2627 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2628 check.
2629 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2630 Solaris 9 single-threaded support.
2631 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2632 Solaris 9 single-threaded support. Add call_user_handler code
2633 sequences.
2634 (sparc_is_sighandler): Likewise.
2635
59976ef8
AK
26362014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2637
2638 * config.host: Append t-floattodi to tmake_file depending on
2639 host_address.
2640
d02bbcf3
JS
26412014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
2642
31466bc0 2643 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 2644
c2e7e597
UB
26452014-03-10 Uros Bizjak <ubizjak@gmail.com>
2646
2647 PR libgcc/60472
2648 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 2649 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
2650 Use __builtin_expect when checking *jcr_list for NULL.
2651
227a7dc8
RO
26522014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2653
2654 PR libgcc/59339
2655 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2656 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2657 vtv_*.o to extra_parts if enable_vtable_verify.
2658
df2b279c
NC
26592014-03-06 Nick Clifton <nickc@redhat.com>
2660
2661 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2662 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2663
dc11d79b
JY
26642014-02-28 Joey Ye <joey.ye@arm.com>
2665
2666 PR libgcc/60166
2667 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2668 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2669 Set to zero.
2670
341c653c
WL
26712014-02-24 Walter Lee <walt@tilera.com>
2672
2673 * config.host: Support "tilegx*" and "tilepro*" triplets.
2674 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2675 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2676
95ce7613
CLT
26772014-02-20 Sandra Loosemore <sandra@codesourcery.com>
2678 Chung-Lin Tang <cltang@codesourcery.com>
2679
2680 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2681 * config/nios2/crti.S: Remove .file directive.
2682 * config/nios2/crtn.S: Likewise.
2683
0bb4fc05
KT
26842014-02-18 Kai Tietz <ktietz@redhat.com>
2685 Jonathan Schleifer <js@webkeks.org>
2686
2687 PR objc/56870
2688 * unwind-seh.c (_GCC_specific_handler): Pass proper
2689 value to unwind-handler.
2690
9acf28f1
JM
26912014-02-12 Joseph Myers <joseph@codesourcery.com>
2692
2693 * soft-fp/adddf3.c: Update from glibc.
2694 * soft-fp/addsf3.c: Likewise.
2695 * soft-fp/addtf3.c: Likewise.
2696 * soft-fp/divdf3.c: Likewise.
2697 * soft-fp/divsf3.c: Likewise.
2698 * soft-fp/divtf3.c: Likewise.
2699 * soft-fp/double.h: Likewise.
2700 * soft-fp/eqdf2.c: Likewise.
2701 * soft-fp/eqsf2.c: Likewise.
2702 * soft-fp/eqtf2.c: Likewise.
2703 * soft-fp/extenddftf2.c: Likewise.
2704 * soft-fp/extended.h: Likewise.
2705 * soft-fp/extendsfdf2.c: Likewise.
2706 * soft-fp/extendsftf2.c: Likewise.
2707 * soft-fp/extendxftf2.c: Likewise.
2708 * soft-fp/fixdfdi.c: Likewise.
2709 * soft-fp/fixdfsi.c: Likewise.
2710 * soft-fp/fixdfti.c: Likewise.
2711 * soft-fp/fixsfdi.c: Likewise.
2712 * soft-fp/fixsfsi.c: Likewise.
2713 * soft-fp/fixsfti.c: Likewise.
2714 * soft-fp/fixtfdi.c: Likewise.
2715 * soft-fp/fixtfsi.c: Likewise.
2716 * soft-fp/fixtfti.c: Likewise.
2717 * soft-fp/fixunsdfdi.c: Likewise.
2718 * soft-fp/fixunsdfsi.c: Likewise.
2719 * soft-fp/fixunsdfti.c: Likewise.
2720 * soft-fp/fixunssfdi.c: Likewise.
2721 * soft-fp/fixunssfsi.c: Likewise.
2722 * soft-fp/fixunssfti.c: Likewise.
2723 * soft-fp/fixunstfdi.c: Likewise.
2724 * soft-fp/fixunstfsi.c: Likewise.
2725 * soft-fp/fixunstfti.c: Likewise.
2726 * soft-fp/floatdidf.c: Likewise.
2727 * soft-fp/floatdisf.c: Likewise.
2728 * soft-fp/floatditf.c: Likewise.
2729 * soft-fp/floatsidf.c: Likewise.
2730 * soft-fp/floatsisf.c: Likewise.
2731 * soft-fp/floatsitf.c: Likewise.
2732 * soft-fp/floattidf.c: Likewise.
2733 * soft-fp/floattisf.c: Likewise.
2734 * soft-fp/floattitf.c: Likewise.
2735 * soft-fp/floatundidf.c: Likewise.
2736 * soft-fp/floatundisf.c: Likewise.
2737 * soft-fp/floatunditf.c: Likewise.
2738 * soft-fp/floatunsidf.c: Likewise.
2739 * soft-fp/floatunsisf.c: Likewise.
2740 * soft-fp/floatunsitf.c: Likewise.
2741 * soft-fp/floatuntidf.c: Likewise.
2742 * soft-fp/floatuntisf.c: Likewise.
2743 * soft-fp/floatuntitf.c: Likewise.
2744 * soft-fp/gedf2.c: Likewise.
2745 * soft-fp/gesf2.c: Likewise.
2746 * soft-fp/getf2.c: Likewise.
2747 * soft-fp/ledf2.c: Likewise.
2748 * soft-fp/lesf2.c: Likewise.
2749 * soft-fp/letf2.c: Likewise.
2750 * soft-fp/muldf3.c: Likewise.
2751 * soft-fp/mulsf3.c: Likewise.
2752 * soft-fp/multf3.c: Likewise.
2753 * soft-fp/negdf2.c: Likewise.
2754 * soft-fp/negsf2.c: Likewise.
2755 * soft-fp/negtf2.c: Likewise.
2756 * soft-fp/op-1.h: Likewise.
2757 * soft-fp/op-2.h: Likewise.
2758 * soft-fp/op-4.h: Likewise.
2759 * soft-fp/op-8.h: Likewise.
2760 * soft-fp/op-common.h: Likewise.
2761 * soft-fp/quad.h: Likewise.
2762 * soft-fp/single.h: Likewise.
2763 * soft-fp/soft-fp.h: Likewise.
2764 * soft-fp/subdf3.c: Likewise.
2765 * soft-fp/subsf3.c: Likewise.
2766 * soft-fp/subtf3.c: Likewise.
2767 * soft-fp/truncdfsf2.c: Likewise.
2768 * soft-fp/trunctfdf2.c: Likewise.
2769 * soft-fp/trunctfsf2.c: Likewise.
2770 * soft-fp/trunctfxf2.c: Likewise.
2771 * soft-fp/unorddf2.c: Likewise.
2772 * soft-fp/unordsf2.c: Likewise.
2773 * soft-fp/unordtf2.c: Likewise.
2774 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2775 macro.
2776 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2777 Likewise.
2778 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2779 Likewise.
2780 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2781 Likewise.
2782 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2783 Likewise.
2784 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2785 Likewise.
2786 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2787 Likewise.
2788 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2789 Likewise.
2790 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2791 Likewise.
2792 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2793 Likewise.
2794 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2795 Likewise.
2796 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2797 Likewise.
2798 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2799 Likewise.
2800 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2801 Likewise.
2802 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2803 Likewise.
2804 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2805 Likewise.
2806
ce245ec6
AK
28072014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2808
2809 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2810 cannot be represented.
2811 * config/s390/32/_fixsfdi.c: Likewise.
2812 * config/s390/32/_fixtfdi.c: Likewise.
2813 * config/s390/32/_fixunsdfdi.c: Likewise.
2814 * config/s390/32/_fixunssfdi.c: Likewise.
2815 * config/s390/32/_fixunstfdi.c: Likewise.
2816
1c51d688
RS
28172014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
2818
2819 * configure.ac (libgcc_cv_mips_hard_float): New.
2820 * configure: Regenerate.
2821 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2822 t-softfp-sfdf for hard-float targets.
2823 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
2824 (softfp_float_modes, softfp_int_modes, softfp_extensions)
2825 (softfp_truncations, softfp_exclude_libgcc2): New.
2826 * config/t-hardfp: New file.
2827 * config/t-hardfp-sfdf: Likewise.
2828 * config/hardfp.c: Likewise.
2829
bbf391db
AK
28302014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2831
2832 * config.host: Include t-floattodi also for s390x.
2833 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
2834 * config/s390/32/_fixsfdi.c: Likewise.
2835 * config/s390/32/_fixtfdi.c: Likewise.
2836 * config/s390/32/_fixunsdfdi.c: Likewise.
2837 * config/s390/32/_fixunssfdi.c: Likewise.
2838 * config/s390/32/_fixunstfdi.c: Likewise.
2839
91da0481
RO
28402014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2841
2842 PR target/59788
2843 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
2844 (install-libgcc-unwind-map-forbuild): New target.
2845 (all): Depend on install-libgcc-unwind-map-forbuild.
2846 (install-libgcc-unwind-map): New target.
2847 (install): Depend on install-libgcc-unwind-map.
2848
02b67731
SL
28492014-02-02 Sandra Loosemore <sandra@codesourcery.com>
2850
2851 * config/nios2/crti.S (_init): Initialize GOT pointer from
2852 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
2853
1ea0a651
RS
28542014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
2855
2856 * configure.ac: Check __mips64 when setting host_address.
2857 * configure: Regenerate.
2858 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
2859 mips/t-mips64 and t-softfp.
2860 (mips*-*-linux*): Don't add mips/t-tpbit.
2861 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
2862 (DPBIT, DPBIT_CFLAGS): Delete.
2863 * config/mips/sfp-machine.h: New file.
2864 * config/mips/t-mips64: Likewise.
2865 * config/mips/t-softfp-tf: Likewise.
2866 * config/mips/t-tpbit: Delete.
2867
f32b0061
MS
28682014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
2869
2870 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
2871 as long long.
2872
a5420aa4
WL
28732014-01-25 Walter Lee <walt@tilera.com>
2874
2875 * config/tilepro/atomic.c: Include tconfig.h. Don't include
2876 config.h or system.h.
2877 (bool) Define.
2878
24534912
WL
28792014-01-25 Walter Lee <walt@tilera.com>
2880
2881 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
2882 (post_atomic_barrier): Ditto.
2883 (__fetch_and_do): New macro.
2884 (__atomic_fetch_and_do): Use __fetch_and_do.
2885 (__sync_fetch_and_do): New macro.
2886 (__sync_fetch_and_add_4): New function.
2887 (__sync_fetch_and_sub_4): New function.
2888 (__sync_fetch_and_or_4): New function.
2889 (__sync_fetch_and_and_4): New function.
2890 (__sync_fetch_and_xor_4): New function.
2891 (__sync_fetch_and_nand_4): New function.
2892 (__sync_fetch_and_add_8): New function.
2893 (__sync_fetch_and_sub_8): New function.
2894 (__sync_fetch_and_or_8): New function.
2895 (__sync_fetch_and_and_8): New function.
2896 (__sync_fetch_and_xor_8): New function.
2897 (__sync_fetch_and_nand_8): New function.
2898 (__do_and_fetch): New macro.
2899 (__atomic_do_and_fetch): Use __do_and_fetch.
2900 (__sync_do_and_fetch): New macro.
2901 (__sync_add_and_fetch_4): New function.
2902 (__sync_sub_and_fetch_4): New function.
2903 (__sync_or_and_fetch_4): New function.
2904 (__sync_and_and_fetch_4): New function.
2905 (__sync_xor_and_fetch_4): New function.
2906 (__sync_nand_and_fetch_4): New function.
2907 (__sync_add_and_fetch_8): New function.
2908 (__sync_sub_and_fetch_8): New function.
2909 (__sync_or_and_fetch_8): New function.
2910 (__sync_and_and_fetch_8): New function.
2911 (__sync_xor_and_fetch_8): New function.
2912 (__sync_nand_and_fetch_8): New function.
2913 (__sync_exchange_methods): New macro.
2914 (__sync_val_compare_and_swap_4): New function.
2915 (__sync_bool_compare_and_swap_4): New function.
2916 (__sync_lock_test_and_test_4): New function.
2917 (__sync_val_compare_and_swap_8): New function.
2918 (__sync_bool_compare_and_swap_8): New function.
2919 (__sync_lock_test_and_test_8): New function.
2920 (__subword_cmpxchg_body): New macro.
2921 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
2922 (__atomic_compare_exchange_2): Ditto.
2923 (__sync_subword_cmpxchg): New macro.
2924 (__sync_val_compare_and_swap_1): New function.
2925 (__sync_bool_compare_and_swap_1): New function.
2926 (__sync_val_compare_and_swap_2): New function.
2927 (__sync_bool_compare_and_swap_2): New function.
2928 (__atomic_subword): Rename to ...
2929 (__subword): ... New name.
2930 (__atomic_subword_fetch): Use __subword.
2931 (__sync_subword_fetch): New macro.
2932 (__sync_fetch_and_add_1): New function.
2933 (__sync_fetch_and_sub_1): New function.
2934 (__sync_fetch_and_or_1): New function.
2935 (__sync_fetch_and_and_1): New function.
2936 (__sync_fetch_and_xor_1): New function.
2937 (__sync_fetch_and_nand_1): New function.
2938 (__sync_fetch_and_add_2): New function.
2939 (__sync_fetch_and_sub_2): New function.
2940 (__sync_fetch_and_or_2): New function.
2941 (__sync_fetch_and_and_2): New function.
2942 (__sync_fetch_and_xor_2): New function.
2943 (__sync_fetch_and_nand_2): New function.
2944 (__sync_add_and_fetch_1): New function.
2945 (__sync_sub_and_fetch_1): New function.
2946 (__sync_or_and_fetch_1): New function.
2947 (__sync_and_and_fetch_1): New function.
2948 (__sync_xor_and_fetch_1): New function.
2949 (__sync_nand_and_fetch_1): New function.
2950 (__sync_add_and_fetch_2): New function.
2951 (__sync_sub_and_fetch_2): New function.
2952 (__sync_or_and_fetch_2): New function.
2953 (__sync_and_and_fetch_2): New function.
2954 (__sync_xor_and_fetch_2): New function.
2955 (__sync_nand_and_fetch_2): New function.
2956 (__atomic_subword_lock): Use __subword.
2957 (__sync_subword_lock): New macro.
2958 (__sync_lock_test_and_set_1): New function.
2959 (__sync_lock_test_and_set_2): New function.
2960
4d6d3bc5
WL
29612014-01-25 Walter Lee <walt@tilera.com>
2962
2963 * config/tilepro/atomic.c (BIT_OFFSET): Define.
2964 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
2965 (__atomic_subword): Ditto.
2966
cbd9890e
WL
29672014-01-25 Walter Lee <walt@tilera.com>
2968
2969 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
2970 a prefix op argument.
2971 (__atomic_nand_fetch_4): Add prefix op.
2972 (__atomic_nand_fetch_8): Ditto.
2973
7d296953 29742014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
2975
2976 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
2977
46dd1242
L
29782014-01-09 Rong Xu <xur@google.com>
2979
2980 * libgcov-driver.c (this_prg): make it local to save
2981 bss space.
2982 (gcov_exit_compute_summary): Ditto.
2983 (gcov_exit_merge_gcda): Ditto.
2984 (gcov_exit_merge_summary): Ditto.
2985 (gcov_exit_dump_gcov): Ditto.
2986
cc86234f 29872014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
2988
2989 * libgcov-driver.c: Use libgcov.h.
2990 (buffer_fn_data): Use xmalloc instead of malloc.
2991 (gcov_exit_merge_gcda): Ditto.
2992 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
2993 * libgcov.h: New common header files for libgcov-*.h.
2994 * libgcov-interface.c: Use libgcov.h
2995 * libgcov-merge.c: Ditto.
2996 * libgcov-profiler.c: Ditto.
2997 * Makefile.in: Add dependence to libgcov.h
2998
a02e7bdd
JM
29992014-01-02 Joseph Myers <joseph@codesourcery.com>
3000
3001 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3002 case of small numerator and finite nonzero result.
3003
ac1dca3c
RS
30042014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3005
3006 Update copyright years
3007
f9030485
RS
30082014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3009
3010 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3011 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3012 config/arc/dp-hack.h, config/arc/fp-hack.h,
3013 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3014 config/arc/ieee-754/arc600-dsp/divdf3.S,
3015 config/arc/ieee-754/arc600-dsp/divsf3.S,
3016 config/arc/ieee-754/arc600-dsp/muldf3.S,
3017 config/arc/ieee-754/arc600-dsp/mulsf3.S,
3018 config/arc/ieee-754/arc600-mul64/divdf3.S,
3019 config/arc/ieee-754/arc600-mul64/divsf3.S,
3020 config/arc/ieee-754/arc600-mul64/muldf3.S,
3021 config/arc/ieee-754/arc600-mul64/mulsf3.S,
3022 config/arc/ieee-754/arc600/divsf3.S,
3023 config/arc/ieee-754/arc600/mulsf3.S,
3024 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3025 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3026 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3027 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3028 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3029 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3030 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3031 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3032 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3033 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3034 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3035 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3036 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3037 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3038 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3039 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3040 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3041 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3042 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3043 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3044 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3045 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3046 vtv_start_preinit.c: Use the standard form for the copyright notice.
3047
e430824f
CLT
30482013-12-31 Sandra Loosemore <sandra@codesourcery.com>
3049 Chung-Lin Tang <cltang@codesourcery.com>
3050 Based on patches from Altera Corporation
3051
3052 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3053 * config/nios2/lib2-nios2.h: New file.
3054 * config/nios2/lib2-divmod-hi.c: New file.
3055 * config/nios2/linux-unwind.h: New file.
3056 * config/nios2/lib2-divmod.c: New file.
3057 * config/nios2/linux-atomic.c: New file.
3058 * config/nios2/t-nios2: New file.
3059 * config/nios2/crti.asm: New file.
3060 * config/nios2/t-linux: New file.
3061 * config/nios2/lib2-divtable.c: New file.
3062 * config/nios2/lib2-mul.c: New file.
3063 * config/nios2/tramp.c: New file.
3064 * config/nios2/crtn.asm: New file.
3065
1879e97f
UB
30662013-12-26 Uros Bizjak <ubizjak@gmail.com>
3067
3068 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3069 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3070 from cpuid.h to check vendor signatures.
3071
f4a4bdbb
GG
30722013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3073
c2e7e597 3074 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
3075 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3076 (get_amd_cpu): Likewise.
3077
8d2ae544
L
30782013-12-25 H.J. Lu <hongjiu.lu@intel.com>
3079
3080 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3081 Haswell.
3082
74924838
ASJ
30832013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3084 H.J. Lu <hongjiu.lu@intel.com>
3085
0bb52f25
L
3086 PR target/59422
3087 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
3088 and AMD_JAGUAR.
3089 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3090 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3091 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
3092 FEATURE_XOP and FEATURE_FMA.
3093 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3094 AMDFAM15H_BDVER3.
3095 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 3096 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
3097 FEATURE_FMA4 and FEATURE_XOP.
3098
d3c11974
L
30992013-12-23 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3102 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3103 (get_intel_cpu): Updated.
3104
064c4ff2
ZC
31052013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3106
3107 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3108
8b02e720
UB
31092013-12-09 Uros Bizjak <ubizjak@gmail.com>
3110
3111 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 3112 instructions when __SSE_MATH__ is defined.
8b02e720 3113
3fa2ccb4
RC
31142013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3115
3116 * config.host (microblaze-*-rtems*): New.
3117
ecd78fc9
KV
31182013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
3119
3120 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3121 architectures that do not have hardware divide instruction.
3122 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3123
b21fbbd2
RS
31242013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3125
3126 * longlong.h: Delete (moved to include/).
3127
b03fb8c9
AZ
31282013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3129
3130 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3131 of normal number and qNaN to not raise an inexact exception.
3132
3c716922
UB
31332013-11-28 Uros Bizjak <ubizjak@gmail.com>
3134
3135 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3136
31372013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
3138
3139 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3140 for correct opcodes on BE.
3141
a3458d22
UB
31422013-11-27 Uros Bizjak <ubizjak@gmail.com>
3143
3144 * soft-fp/op-4.h: Update from glibc.
3145
30b8f78b
KV
31462013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
3147
3148 * libgcc2.c (__udivmoddi4): Define new implementation when
3149 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3150 divide instructions.
3151
82552a29
OE
31522013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3153
3154 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3155
80e87457
RO
31562013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3157
3158 * config/t-softfp (soft-fp-objects-base): New variable.
3159 (soft-fp-objects): Use it.
3160
44178879
DE
31612013-11-23 David Edelson <dje.gcc@gmail.com>
3162 Andrew Dixie <andrewd@gentrack.com>
3163
3164 PR target/33704
3165 * config/rs6000/aixinitfini.c: New file.
3166 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3167 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3168 symbols.
3169
e5287671
YR
31702013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3171
a3458d22 3172 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 3173
867c8b03
JH
31742013-11-18 Jan Hubicka <jh@suse.cz>
3175
7f369373
JH
3176 * libgcov-driver.c (run_accounted): Make global level static.
3177 (gcov_exit_merge_summary): Silence warning; do not clear
3178 run_accounted here.
3179 (gcov_exit): Clear it here.
3180
1d0b3334
JH
3181 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3182 run_accounted.
3183
867c8b03
JH
3184 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3185 (all_prg, crc32): Remove static vars.
3186 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3187 all_prg.
3188 (gcov_exit_merge_gcda): Add crc32 parameter.
3189 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3190 do not account run if it was already accounted.
3191 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3192 (gcov_exit): Initialize all_prg; update.
3193
66204992
AS
31942013-11-15 Andreas Schwab <schwab@linux-m68k.org>
3195
3196 * configure: Regenerate.
3197
b54214fe
UW
31982013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3199 Alan Modra <amodra@gmail.com>
3200
3201 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3202 (frob_update_context): Use it.
3203
32042013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3205 Alan Modra <amodra@gmail.com>
3206
3207 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3208 (trampoline_initial): Provide ELFv2 variant.
3209 (__trampoline_setup): Likewise.
3210
3211 * config/rs6000/linux-unwind.h (frob_update_context): Do not
3212 check for AIX indirect function call sequence if _CALL_ELF == 2.
3213
32142013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3215 Alan Modra <amodra@gmail.com>
3216
3217 * config/rs6000/linux-unwind.h (get_regs): Do not support
3218 old kernel versions if _CALL_ELF == 2.
3219 (frob_update_context): Do not support PLT stub variants only
3220 generated by old linkers if _CALL_ELF == 2.
3221
13e0981a
UW
32222013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3223 Alan Modra <amodra@gmail.com>
3224
3225 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3226 location of CR save area for 64-bit little-endian systems.
3227
1a80085d
EB
32282013-11-11 Eric Botcazou <ebotcazou@adacore.com>
3229
3230 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3231 in tmake_file.
3232 * config/arm/t-vxworks: Delete.
3233
cabeea52
KT
32342013-11-10 Kai Tietz <ktietz@redhat.com>
3235
3236 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3237 Increment load-count on use of LIBGCC_SONAME DLL.
3238 (hmod_libgcc): New static variable to hold handle of
3239 LIBGCC_SONAME DLL.
3240 (__gcc_deregister_frame): Decrement load-count of
3241 LIBGCC_SONAME DLL.
3242
ac088ba1
BRF
32432013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3244
3245 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3246 availability.
3247 * configure: Regenerate
3248
d59a8fcc
UB
32492013-11-07 Uros Bizjak <ubizjak@gmail.com>
3250
3251 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3252 FP_EX_DENORM. Store result to volatile location after SSE division
3253 to close interrupt window. Remove unneeded fwait after x87
3254 division since interrupt window will be closed by emitted fstp.
9de84e84 3255 Rewrite FP_EX_INEXACT handling.
d59a8fcc 3256
9954c743
JM
32572013-11-06 Joseph Myers <joseph@codesourcery.com>
3258
3259 * soft-fp/README: Update.
3260 * soft-fp/adddf3.c: Update from glibc.
3261 * soft-fp/addsf3.c: Likewise.
3262 * soft-fp/addtf3.c: Likewise.
3263 * soft-fp/divdf3.c: Likewise.
3264 * soft-fp/divsf3.c: Likewise.
3265 * soft-fp/divtf3.c: Likewise.
3266 * soft-fp/double.h: Likewise.
3267 * soft-fp/eqdf2.c: Likewise.
3268 * soft-fp/eqsf2.c: Likewise.
3269 * soft-fp/eqtf2.c: Likewise.
3270 * soft-fp/extenddftf2.c: Likewise.
3271 * soft-fp/extended.h: Likewise.
3272 * soft-fp/extendsfdf2.c: Likewise.
3273 * soft-fp/extendsftf2.c: Likewise.
3274 * soft-fp/extendxftf2.c: Likewise.
3275 * soft-fp/fixdfdi.c: Likewise.
3276 * soft-fp/fixdfsi.c: Likewise.
3277 * soft-fp/fixdfti.c: Likewise.
3278 * soft-fp/fixsfdi.c: Likewise.
3279 * soft-fp/fixsfsi.c: Likewise.
3280 * soft-fp/fixsfti.c: Likewise.
3281 * soft-fp/fixtfdi.c: Likewise.
3282 * soft-fp/fixtfsi.c: Likewise.
3283 * soft-fp/fixtfti.c: Likewise.
3284 * soft-fp/fixunsdfdi.c: Likewise.
3285 * soft-fp/fixunsdfsi.c: Likewise.
3286 * soft-fp/fixunsdfti.c: Likewise.
3287 * soft-fp/fixunssfdi.c: Likewise.
3288 * soft-fp/fixunssfsi.c: Likewise.
3289 * soft-fp/fixunssfti.c: Likewise.
3290 * soft-fp/fixunstfdi.c: Likewise.
3291 * soft-fp/fixunstfsi.c: Likewise.
3292 * soft-fp/fixunstfti.c: Likewise.
3293 * soft-fp/floatdidf.c: Likewise.
3294 * soft-fp/floatdisf.c: Likewise.
3295 * soft-fp/floatditf.c: Likewise.
3296 * soft-fp/floatsidf.c: Likewise.
3297 * soft-fp/floatsisf.c: Likewise.
3298 * soft-fp/floatsitf.c: Likewise.
3299 * soft-fp/floattidf.c: Likewise.
3300 * soft-fp/floattisf.c: Likewise.
3301 * soft-fp/floattitf.c: Likewise.
3302 * soft-fp/floatundidf.c: Likewise.
3303 * soft-fp/floatundisf.c: Likewise.
3304 * soft-fp/floatunditf.c: Likewise.
3305 * soft-fp/floatunsidf.c: Likewise.
3306 * soft-fp/floatunsisf.c: Likewise.
3307 * soft-fp/floatunsitf.c: Likewise.
3308 * soft-fp/floatuntidf.c: Likewise.
3309 * soft-fp/floatuntisf.c: Likewise.
3310 * soft-fp/floatuntitf.c: Likewise.
3311 * soft-fp/gedf2.c: Likewise.
3312 * soft-fp/gesf2.c: Likewise.
3313 * soft-fp/getf2.c: Likewise.
3314 * soft-fp/ledf2.c: Likewise.
3315 * soft-fp/lesf2.c: Likewise.
3316 * soft-fp/letf2.c: Likewise.
3317 * soft-fp/muldf3.c: Likewise.
3318 * soft-fp/mulsf3.c: Likewise.
3319 * soft-fp/multf3.c: Likewise.
3320 * soft-fp/negdf2.c: Likewise.
3321 * soft-fp/negsf2.c: Likewise.
3322 * soft-fp/negtf2.c: Likewise.
3323 * soft-fp/op-1.h: Likewise.
3324 * soft-fp/op-2.h: Likewise.
3325 * soft-fp/op-4.h: Likewise.
3326 * soft-fp/op-8.h: Likewise.
3327 * soft-fp/op-common.h: Likewise.
3328 * soft-fp/quad.h: Likewise.
3329 * soft-fp/single.h: Likewise.
3330 * soft-fp/soft-fp.h: Likewise.
3331 * soft-fp/subdf3.c: Likewise.
3332 * soft-fp/subsf3.c: Likewise.
3333 * soft-fp/subtf3.c: Likewise.
3334 * soft-fp/truncdfsf2.c: Likewise.
3335 * soft-fp/trunctfdf2.c: Likewise.
3336 * soft-fp/trunctfsf2.c: Likewise.
3337 * soft-fp/trunctfxf2.c: Likewise.
3338 * soft-fp/unorddf2.c: Likewise.
3339 * soft-fp/unordsf2.c: Likewise.
3340 * soft-fp/unordtf2.c: Likewise.
3341
02ac9503
UB
33422013-11-05 Uros Bizjak <ubizjak@gmail.com>
3343
3344 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3345 (_FP_MUL_MEAT_D): Ditto.
3346 (_FP_DIV_MEAT_S): Ditto.
3347 (_FP_DIV_MEAT_D): Ditto.
3348 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3349 t-softfp-sfdf and t-softfp to tmake_file.
3350
61221141
UB
33512013-11-03 Uros Bizjak <ubizjak@gmail.com>
3352
3353 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3354 * config/i386/crtprec.c: Ditto.
3355
9304f876
CJW
33562013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
3357 Shiva Chen <shiva0217@gmail.com>
3358
3359 * config.host (nds32*-elf*): Add nds32 target.
3360 * config/nds32 : New directory and files.
3361
0e499e75
HPN
33622013-10-16 Hans-Peter Nilsson <hp@axis.com>
3363
3364 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
3365 * config.host (cpu_type) <Setting default>: Add entry for
3366 crisv32-*-*.
3367 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3368 <crisv32-*-linux*>: Adjust.
3369 * longlong.h: Wrap the whole CRIS section in a single
3370 defined(__CRIS__) conditional. Add comment about add_ssaaaa
3371 and sub_ddmmss.
3372 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3373 defined.
3374 [__CRIS__] (__umulsidi3): Define.
3375 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3376 * config/cris/sfp-machine.h: New file.
3377 * config/cris/umulsidi3.S: New file.
3378 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3379 * config/cris/arit.c (SIGNMULT): New macro.
3380 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3381 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3382 saving 3 out of originally 33 cycles from the fastest
3383 path, 3 out of 54 from the medium path and one from the longest
3384 path. Improve comments.
3385
16022041
RS
33862013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
3387
3388 * sync.c: Remove static aliases and define each function directly
3389 under its real name.
3390
69778659
JDA
33912013-10-02 John David Anglin <danglin@gcc.gnu.org>
3392
3393 * config.host (hppa*64*-*-linux*): Define extra_parts.
3394 (hppa*-*-linux*): Likewise.
3395
2deaf8b0
JR
33962013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
3397
3398 * config/arc/crtgend.S: Add 2013 to Copyright years.
3399 * config/arc/gmon/atomic.h: Likewise.
3400 * config/arc/gmon/auxreg.h: Likewise.
3401 * config/arc/gmon/sys/gmon_out.h: Likewise.
3402 * config/arc/gmon/sys/gmon.h: Likewise.
3403 * config/arc/gmon/prof-freq.c: Likewise.
3404 * config/arc/gmon/mcount.c: Likewise.
3405 * config/arc/gmon/prof-freq-stub.S: Likewise.
3406 * config/arc/gmon/gmon.c: Likewise.
3407 * config/arc/gmon/machine-gmon.h: Likewise.
3408 * config/arc/gmon/profil.S: Likewise.
3409 * config/arc/gmon/dcache_linesz.S: Likewise.
3410 * config/arc/crtg.S: Likewise.
3411 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3412 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3413 * config/arc/ieee-754/adddf3.S: Likewise.
3414 * config/arc/ieee-754/truncdfsf2.S: Likewise.
3415 * config/arc/ieee-754/fixsfsi.S: Likewise.
3416 * config/arc/ieee-754/gtsf2.S: Likewise.
3417 * config/arc/ieee-754/floatsisf.S: Likewise.
3418 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3419 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3420 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3421 * config/arc/ieee-754/fixdfsi.S: Likewise.
3422 * config/arc/ieee-754/addsf3.S: Likewise.
3423 * config/arc/ieee-754/gesf2.S: Likewise.
3424 * config/arc/ieee-754/floatsidf.S: Likewise.
3425 * config/arc/ieee-754/extendsfdf2.S: Likewise.
3426 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3427 * config/arc/ieee-754/gtdf2.S: Likewise.
3428 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3429 * config/arc/ieee-754/uneqdf2.S: Likewise.
3430 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3431 * config/arc/ieee-754/uneqsf2.S: Likewise.
3432 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3433 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3434 * config/arc/ieee-754/eqdf2.S: Likewise.
3435 * config/arc/ieee-754/ordsf2.S: Likewise.
3436 * config/arc/ieee-754/divsf3.S: Likewise.
3437 * config/arc/ieee-754/divdf3.S: Likewise.
3438 * config/arc/ieee-754/floatunsidf.S: Likewise.
3439 * config/arc/ieee-754/orddf2.S: Likewise.
3440 * config/arc/ieee-754/eqsf2.S: Likewise.
3441 * config/arc/ieee-754/gedf2.S: Likewise.
3442 * config/arc/crtn.S: Likewise.
3443 * config/arc/crti.S: Likewise.
3444 * config/arc/t-arc700-uClibc: Likewise.
3445 * config/arc/asm.h: Likewise.
3446 * config/arc/libgcc-excl.ver: Likewise.
3447 * config/arc/t-arc-newlib: Likewise.
3448 * config/arc/divtab-arc700.c: Likewise.
3449 * config/arc/initfini.c: Likewise.
3450 * config/arc/fp-hack.h: Likewise.
3451
c8e318b0
JR
34522013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3453 Diego Novillo <dnovillo@google.com>
3454
3455 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
3456 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3457 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3458 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 3459
d38a64b4
JR
34602013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3461 Brendan Kehoe <brendan@zen.org>
3462 Simon Cook <simon.cook@embecosm.com>
3463
3464 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3465 * config/arc: New directory.
3466 * longlong.h [__arc__] (umul_ppmm): Remove.
3467 [__arc__] (__umulsidi3): Define.
3468 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3469 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3470
dff717d2
JC
34712013-09-17 Jacek Caban <jacek@codeweavers.com>
3472
3473 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3474 CreateSemaphoreA.
3475 * config/i386/gthr-win32.h: Likewise.
3476
5c0029de
DD
34772013-09-16 DJ Delorie <dj@redhat.com>
3478
844ad6c6 3479 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
3480 * config/rl78/lib2mul.c: Enable for RL78/G10.
3481 * config/rl78/lib2div.c: Likewise.
3482 * config/rl78/lshrsi3.S: Use vregs.h.
3483 * config/rl78/cmpsi2.S: Likewise.
3484 * config/rl78/trampoline.S: Likewise.
3485 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
3486
ceb2fc49
DD
34872013-09-14 DJ Delorie <dj@redhat.com>
3488 Nick Clifton <nickc@redhat.com>
3489
3490 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3491 * config/rl78/vregs.h: New.
3492 * config/rl78/signbit.S: New file. Implements signbit function.
3493 * config/rl78/divmodsi.S: New.
3494 * config/rl78/divmodhi.S: New.
3495 * config/rl78/divmodqi.S: New.
3496 * config/rl78/t-rl78: Build them here...
3497 * config/rl78/lib2div.c: ...but not here.
3498
f6a83b4a
DD
34992013-09-12 DJ Delorie <dj@redhat.com>
3500
3501 * config.host (msp*-*-elf): New.
3502 * config/msp430/: New port.
3503
9107b096
IS
35042013-08-18 Iain Sandoe <iain@codesourcery.com>
3505
3506 PR gcov-profile/58127
3507 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3508 __thread var for emulated TLS.
3509 (__gcov_indirect_call_counters): Likewise.
3510
0f9bde1f 35112013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 3512 Catherine Moore <clm@codesourcery.com>
7d296953 3513 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
3514
3515 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3516 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3517 (CALL_STUB_NO_RET): Likewise.
3518 (CALL_STUB_RET): Likewise.
3519 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3520 __mips16_ret call/return stub symbols.
3521 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3522 to tmake_file.
3523
2dc14aac
MR
35242013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
3525
3526 * config.host <mips*-*-linux*>: Remove a stray comment.
3527
748d71f3
JH
35282013-08-10 Jan Hubicka <jh@suse.cz>
3529
3530 Work around binutils PR14342
3531 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3532 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3533 (L_gcov_indirect_call_profiler_v2): New.
3534
2fa3d31b
JH
35352013-08-06 Jan Hubicka <jh@suse.cz>
3536
3537 * libgcov.c (__gcov_indirect_call_callee,
3538 __gcov_indirect_call_counters): New global vars.
3539 (__gcov_indirect_call_profiler): replace by ...
3540 (__gcov_indirect_call_profiler_v2) ... this one.
3541
2077db1b
CT
35422013-08-06 Caroline Tice <cmtice@google.com>
3543
d0595b65 3544 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 3545 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
3546 * configure.ac: Add code to check/set enable_vtable_verify.
3547 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 3548 true.
d0595b65
CT
3549 * vtv_start_preinit.c: New file.
3550 * vtv_end_preinit.c: New file.
3551 * vtv_start.c: New file.
3552 * vtv_end.c: New file.
3553 * configure: Regenerated.
2077db1b 3554
46549c20
MK
35552013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
3556
3557 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3558 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3559 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3560 GPL-3.0-with-GCC-exception.
3561
72be589b
MR
35622013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
3563
3564 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3565 ISA and up.
3566
902a3faf
AK
35672013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3568
3569 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3570 mapping for FPRs when creating the fallback framestate.
3571
02371798
GJL
35722013-07-19 Georg-Johann Lay <avr@gjlay.de>
3573
3574 PR target/57516
3575 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3576 (__round_s2_const, __round_u2_const)
3577 (__round_s4_const, __round_u4_const, __round_x8):
3578 Saturate result if addition result cannot be represented.
3579
ab0e8379
MK
35802013-07-15 Matthias Klose <doko@ubuntu.com>
3581
3582 * libgcc2.c: Don't include <limits.h>.
3583
7da38058
JJ
35842013-07-09 Janis Johnson <janisjo@codesourcery.com>
3585
3586 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3587
1f6eac90
JJ
35882013-07-06 Jakub Jelinek <jakub@redhat.com>
3589
3590 PR target/29776
3591 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3592
4ea3d774
JJ
35932013-06-28 Jakub Jelinek <jakub@redhat.com>
3594
3595 PR middle-end/36041
3596 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3597 Define.
3598 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3599 instead of table lookups.
3600 (__popcountDI2): Likewise.
3601
9d2cdf25
CJW
36022013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
3603
3604 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3605 correctly.
3606
fa1e55b0
JM
36072013-06-21 Joseph Myers <joseph@codesourcery.com>
3608
3609 PR other/53317
3610 * soft-fp/adddf3.c: Update from glibc.
3611 * soft-fp/addsf3.c: Likewise.
3612 * soft-fp/addtf3.c: Likewise.
3613 * soft-fp/divdf3.c: Likewise.
3614 * soft-fp/divsf3.c: Likewise.
3615 * soft-fp/divtf3.c: Likewise.
3616 * soft-fp/double.h: Likewise.
3617 * soft-fp/eqdf2.c: Likewise.
3618 * soft-fp/eqsf2.c: Likewise.
3619 * soft-fp/eqtf2.c: Likewise.
3620 * soft-fp/extenddftf2.c: Likewise.
3621 * soft-fp/extended.h: Likewise.
3622 * soft-fp/extendsfdf2.c: Likewise.
3623 * soft-fp/extendsftf2.c: Likewise.
3624 * soft-fp/fixdfdi.c: Likewise.
3625 * soft-fp/fixdfsi.c: Likewise.
3626 * soft-fp/fixsfdi.c: Likewise.
3627 * soft-fp/fixsfsi.c: Likewise.
3628 * soft-fp/fixtfdi.c: Likewise.
3629 * soft-fp/fixtfsi.c: Likewise.
3630 * soft-fp/fixunsdfdi.c: Likewise.
3631 * soft-fp/fixunsdfsi.c: Likewise.
3632 * soft-fp/fixunssfdi.c: Likewise.
3633 * soft-fp/fixunssfsi.c: Likewise.
3634 * soft-fp/fixunstfdi.c: Likewise.
3635 * soft-fp/fixunstfsi.c: Likewise.
3636 * soft-fp/floatdidf.c: Likewise.
3637 * soft-fp/floatdisf.c: Likewise.
3638 * soft-fp/floatditf.c: Likewise.
3639 * soft-fp/floatsidf.c: Likewise.
3640 * soft-fp/floatsisf.c: Likewise.
3641 * soft-fp/floatsitf.c: Likewise.
3642 * soft-fp/floatundidf.c: Likewise.
3643 * soft-fp/floatundisf.c: Likewise.
3644 * soft-fp/floatunditf.c: Likewise.
3645 * soft-fp/floatunsidf.c: Likewise.
3646 * soft-fp/floatunsisf.c: Likewise.
3647 * soft-fp/floatunsitf.c: Likewise.
3648 * soft-fp/gedf2.c: Likewise.
3649 * soft-fp/gesf2.c: Likewise.
3650 * soft-fp/getf2.c: Likewise.
3651 * soft-fp/ledf2.c: Likewise.
3652 * soft-fp/lesf2.c: Likewise.
3653 * soft-fp/letf2.c: Likewise.
3654 * soft-fp/muldf3.c: Likewise.
3655 * soft-fp/mulsf3.c: Likewise.
3656 * soft-fp/multf3.c: Likewise.
3657 * soft-fp/negdf2.c: Likewise.
3658 * soft-fp/negsf2.c: Likewise.
3659 * soft-fp/negtf2.c: Likewise.
3660 * soft-fp/op-1.h: Likewise.
3661 * soft-fp/op-2.h: Likewise.
3662 * soft-fp/op-4.h: Likewise.
3663 * soft-fp/op-8.h: Likewise.
3664 * soft-fp/op-common.h: Likewise.
3665 * soft-fp/quad.h: Likewise.
3666 * soft-fp/single.h: Likewise.
3667 * soft-fp/soft-fp.h: Likewise.
3668 * soft-fp/subdf3.c: Likewise.
3669 * soft-fp/subsf3.c: Likewise.
3670 * soft-fp/subtf3.c: Likewise.
3671 * soft-fp/truncdfsf2.c: Likewise.
3672 * soft-fp/trunctfdf2.c: Likewise.
3673 * soft-fp/trunctfsf2.c: Likewise.
3674 * soft-fp/unorddf2.c: Likewise.
3675 * soft-fp/unordsf2.c: Likewise.
3676 * soft-fp/unordtf2.c: Likewise.
3677 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3678 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3679 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3680 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3681 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3682 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3683 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3684 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3685 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3686 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3687 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3688 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3689
0de86a92
JU
36902013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
3691
3692 * config/mips/lib2funcs.c: New file.
3693 * config/mips/t-mips (LIB2ADD_ST): Add it.
3694
0d008882
OE
36952013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
3696
3697 PR target/6526
3698 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3699 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
3700
776434d1
WL
37012013-06-08 Walter Lee <walt@tilera.com>
3702
3703 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3704 Replace int64_t with long long. Add __extension__ where
3705 appropriate.
3706 * config/tilepro/atomic.c: Include config.h.
3707
6ab3ebb4
DR
37082013-06-06 Douglas B Rupp <rupp@adacore.com>
3709
3710 * config.host (arm-wrs-vxworks): Configure with other soft float.
3711
107eea2c
JU
37122013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
3713
3714 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3715 (mips64r5900el-*-elf*): New configurations.
3716
5cc19c62
AM
37172013-06-04 Alan Modra <amodra@gmail.com>
3718
3719 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3720
0f1d3965
YR
37212013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
3722
3723 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3724
0ba045df
EB
37252013-05-28 Eric Botcazou <ebotcazou@adacore.com>
3726
3727 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3728 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3729 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3730
49dcafd4
EB
37312013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3732
3733 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3734 (powerpc-wrs-vxworks): Likewise.
3735
4fcb5d87
EB
37362013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3737
3738 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3739 signal frames as well.
3740 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3741 STACK_BIAS to the CFA offset.
3742
0ec33224
RH
37432013-05-17 Richard Henderson <rth@redhat.com>
3744
3745 PR target/49146
3746 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3747 (execute_cfa_program): Use it when storing to fs->regs.
3748
492a8029
KT
37492013-05-08 Kai Tietz <ktietz@redhat.com>
3750
3751 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3752 (__deregister_frame_info): Likewise.
3753
701e2f0a
TS
37542013-05-06 Thomas Schwinge <thomas@codesourcery.com>
3755
e5123d08
TS
3756 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3757 NaN's payload.
3758
701e2f0a
TS
3759 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3760
b9a7eb5d
AM
37612013-04-25 Alan Modra <amodra@gmail.com>
3762
3763 * config.host: Match little-endian powerpc-linux.
3764
dfe192f5
YZ
37652013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
3766
3767 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3768 as 'unsigned long long' instead of 'unsigned long'.
3769 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3770 'signed long'.
3771
b6b9af2f
JB
37722013-04-10 Julian Brown <julian@codesourcery.com>
3773
3774 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3775 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3776 unsigned char/unsigned short.
3777 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3778
ecabdd00
JDA
37792013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3780
3781 PR other/55274
3782 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3783
34652576
MI
37842013-04-04 Meador Inge <meadori@codesourcery.com>
3785
3786 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3787 computing the location of the link register.
3788 (aeabi_uldivmod): Ditto.
3789
e9fd8c19
KT
37902013-03-27 Kai Tietz <ktietz@redhat.com>
3791
3792 * config.host: Add support for cygwin x64 target.
3793 * configure: Regenerated.
3794
a6406324
WL
37952013-03-26 Walter Lee <walt@tilera.com>
3796
3797 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3798 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3799
55446c7e
KT
38002013-03-25 Kai Tietz <ktietz@redhat.com>
3801
3802 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3803
d2ae19d9
RM
38042013-03-20 Robert Mason <rbmj@verizon.net>
3805
3806 * config/vxlib-tls.c (__gthread_get_tsd_data,)
3807 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3808 (__gthread_leave_tsd_dtor_context): Add prototypes.
3809 (tls_delete_hook): Update.
3810
22c4c869
CM
38112013-03-20 Catherine Moore <clm@codesourcery.com>
3812 Joseph Myers <joseph@codesourcery.com>
3813 Chao-ying Fu <fu@mips.com>
3814
3815 * config/mips/mips16.S: Don't build for microMIPS.
3816 * config/mips/linux-unwind.h: Handle microMIPS frame.
3817 * config/mips/crtn.S (fini, init): New labels.
3818
fbd28bc3
JJ
38192013-03-14 Jakub Jelinek <jakub@redhat.com>
3820
3821 PR tree-optimization/53265
3822 * unwind-dw2.c (execute_cfa_program): Avoid
3823 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
3824 on targets with DWARF_FRAME_REGISTERS < 32.
3825
decc676e
OE
38262013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
3827
3828 PR target/49880
3829 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
3830 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
3831
84ea618a
ST
38322013-03-07 Sriraman Tallam <tmsriram@google.com>
3833
3834 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
3835 sandybridge processors.
3836
8f6d1c86
OE
38372013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
3838
3839 PR target/56529
3840 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
3841 inclusion list.
3842
ecdbd01a 38432013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
3844
3845 * config/microblaze/crti.S: Setup stack protection at entry
3846
0b4ce21b
GJL
38472013-03-04 Georg-Johann Lay <avr@gjlay.de>
3848
3849 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
3850 (__rotldi3): Shift bytewise if applicable.
3851
b7c3f1ca
JG
38522013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
3853
3854 * config/aarch64/sync-cache.c
3855 (__aarch64_sync_cache_range): Silence warnings.
3856
6d65e8f1
CM
38572013-02-25 Catherine Moore <clm@codesourcery.com>
3858
3859 Revert:
3860 2013-02-24 Catherine Moore <clm@codesourcery.com>
3861 Joseph Myers <joseph@codesourcery.com>
3862 Chao-ying Fu <fu@mips.com>
3863
3864 * config/mips/mips16.S: Don't build for microMIPS.
3865 * config/mips/linux-unwind.h: Handle microMIPS frame.
3866 * config/mips/crtn.S (fini, init): New labels.
3867
6941b508
CM
38682013-02-24 Catherine Moore <clm@codesourcery.com>
3869 Joseph Myers <joseph@codesourcery.com>
3870 Chao-ying Fu <fu@mips.com>
3871
3872 * config/mips/mips16.S: Don't build for microMIPS.
3873 * config/mips/linux-unwind.h: Handle microMIPS frame.
3874 * config/mips/crtn.S (fini, init): New labels.
3875
7c422dbb 38762012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 3877 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
3878 as dividend.
3879
110207ad
AM
38802013-02-16 Alan Modra <amodra@gmail.com>
3881
3882 PR target/55431
3883 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
3884 (ppc_fallback_frame_state): Always set up save locations for fp
3885 and altivec. Don't bother with non-callee-saved regs, r0-r13
3886 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
3887
e68a4ef6
GJL
38882013-02-12 Georg-Johann Lay <avr@gjlay.de>
3889
3890 PR target/54222
3891 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
3892 _ssmulHA, _ssmulSA.
3893 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
3894 _ssmulha3, _usmulusa3, _ssmulsa3.
3895 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
3896 (__muldi3): XCALL __muldi3_6 instead of rcall.
3897 (__umulsidi3, __mulsidi3): New functions.
3898 (do_prologue_saves, do_epilogue_restores): New .macros.
3899 (__divdi3_moddi3): Use them.
3900 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
3901 (__usmulusa3, __ssmulsa3): New functions.
3902
6c59ffd1
IS
39032013-02-11 Iain Sandoe <iain@codesourcery.com>
3904 Jack Howarth <howarth@bromo.med.uc.edu>
3905 Patrick Marlier <patrick.marlier@gmail.com>
3906
3907 PR libitm/55693
3908 * config/darwin-crt-tm.c: Remove dummy functions hack.
3909
85d768f3
GJL
39102013-02-08 Georg-Johann Lay <avr@gjlay.de>
3911
3912 PR target/54222
3913 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
3914 * config/avr/lib2-object.mk: New iterator to build objects from it.
3915 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
3916 lib2funcs.c.
3917 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
3918 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
3919 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
3920 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
3921 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
3922 * config/avr/lib1funcs-fixed.S: Implement them.
3923
5d5bf775
RS
39242013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
3925
3926 Update copyright years.
3927
99113dff
DE
39282013-02-01 David Edelsohn <dje.gcc@gmail.com>
3929
3930 PR target/54601
3931 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
3932 Add crtcxa to extra_parts.
3933 * config/rs6000/exit.h: New file.
3934 * config/rs6000/cxa_atexit.c: New file.
3935 * config/rs6000/cxa_finalize.c: New file.
3936 * config/rs6000/crtcxa.c: New file.
3937 * config/rs6000/t-aix-cxa: New file.
3938 * config/rs6000/libgcc-aix-cxa.ver: New file.
3939
dbdbd982
NC
39402013-01-31 Nick Clifton <nickc@redhat.com>
3941
3942 * config/v850/lib1funcs.S: Add support for e3v5 architecture
3943 variant.
3944
5893f158
GJL
39452013-01-29 Georg-Johann Lay <avr@gjlay.de>
3946
3947 PR target/54222
3948 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
3949 _mulQQ, _mulHQ, _mulHA, _mulSA,
3950 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
3951 _divQQ, _divHQ, _divHA, _divSA,
3952 _divUQQ, _divUHQ, _divUHA, _divUSA.
3953
ecdbd01a 39542013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 3955
dbdbd982 3956 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
3957 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
3958 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
3959 to exclude functions from being built with libgcc.c and use
3960 the microblaze assembly.
3961
ecdbd01a 39622013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
3963
3964 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
3965 extra_parts.
3966
922c57d1
YZ
39672013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
3968
3969 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
3970 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
3971 __UINTPTR_TYPE__; also cast 'base' to the same type before the
3972 alignment operation.
3973
e0f8b6a0
SN
39742013-01-15 Sofiane Naci <sofiane.naci@arm.com>
3975
3976 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
3977 loop start address for cache clearing.
3978
00892272
GJL
39792013-01-14 Georg-Johann Lay <avr@gjlay.de>
3980
3981 * config/avr/lib1funcs.S: Remove trailing blanks.
3982 * config/avr/lib1funcs-fixed.S: Ditto.
3983
e59ec5fd
GJL
39842013-01-14 Georg-Johann Lay <avr@gjlay.de>
3985
3986 * config/avr/avr-lib.h: Add GPL copyright notice.
3987
3ffc1958
GJL
39882013-01-14 Georg-Johann Lay <avr@gjlay.de>
3989
3990 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
3991 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
3992 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
3993 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
3994
25c210f9
MK
39952013-01-07 Mark Kettenis <kettenis@openbsd.org>
3996
3997 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
3998 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 3999
db59befb
NC
40002013-01-04 Nick Clifton <nickc@redhat.com>
4001
4002 * config/v850/lib1funcs.S: Only provide CALLT support functions if
4003 the CALLT instruction is supported.
4004
5aa12dbf
JW
40052012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4006
4007 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4008 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4009
65f14117
JT
40102012-12-13 John Tytgat <John@bass-software.com>
4011
4012 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4013 is 25.
4014
ee3ae4f7
JJ
40152012-12-12 Jakub Jelinek <jakub@redhat.com>
4016
4017 PR libgcc/55451
4018 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4019 undefined signed overflows.
4020
2fcfba3d
UB
40212012-12-09 Uros Bizjak <ubizjak@gmail.com>
4022
4023 PR target/55344
4024 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4025
4f2b3dc2
UB
40262012-12-06 Uros Bizjak <ubizjak@gmail.com>
4027
4028 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4029 (FP_TRAPPING_EXCEPTIONS): Define.
4030 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4031 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4032
066161a2
RH
40332012-12-04 Richard Henderson <rth@redhat.com>
4034
4035 PR bootstrap/55571
4036 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4037
7d296953 40382012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 4039
4f2b3dc2 4040 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
4041 (FP_EX_SHIFT): Define.
4042 (FP_TRAPPING_EXCEPTIONS): Define.
4043
7d296953 40442012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
4045
4046 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4047 (FP_ROUNDMODE): Use FP_RND_MASK.
4048 * config/aarch64/sfp-exceptions.c: New.
4049 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4050 Use __sfp_handle_exceptions.
4051
5005fe22
RE
40522012-12-04 Richard Earnshaw <rearnsha@arm.com>
4053
4054 * config.host: (arm*-*-freebsd*): Remove.
4055 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4056 (arm*-*-elf*): Remove.
4057 (arm*-*-wince-pe*): Remove.
4058 * arm/unwind-arm.c (struct fpa_reg): Delete.
4059 (struct fpa_regs): Delete.
4060 (phase1_vrs): Remove fpa element.
4061 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4062 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4063 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4064 * ieee754-sf.S (floatundisf): Remove FPA support.
4065 (floatdisf): Likewise.
4066 * ieee75f-df.S (floatundidf): Likewise.
4067 (floatdidf): Likewise.
4068
e5a81c8e
KT
40692012-11-29 Kai Tietz <ktietz@redhat.com>
4070
4071 PR target/55445
4072 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4073 * unwind-generic.h: Likewise.
4074 * unwind-seh.c: Likewise.
4075
f4919e4a
RH
40762012-11-28 Richard Henderson <rth@redhat.com>
4077
4078 PR libgcc/48076
4079 * emutls.c (__emutls_get_address): Avoid race condition between
4080 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 4081
e13d9d5a
GJL
40822012-11-22 Georg-Johann Lay <avr@gjlay.de>
4083
4084 Adjust decimal point of signed accum mode to GCC default.
4085
4086 PR target/54222
4087 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4088 _divqq_helper.
4089 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4090 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4091 (__mulha3, __mulsa3)
4092 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
4093 decimal point of signed accum types.
4094
e13d9d5a
GJL
4095 (__mulusa3_round): New function.
4096 (__mulusa3): Use it.
4097 (__divqq_helper): New function.
4098 (__udivuqq3): Use it.
4099
1b845c6e
JJ
41002012-11-20 Jakub Jelinek <jakub@redhat.com>
4101
4102 PR bootstrap/55370
4103 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4104
822a258a
TJ
41052012-11-18 Teresa Johnson <tejohnson@google.com>
4106
4107 PR bootstrap/55051
4108 * libgcov.c (gcov_exit): Remove merged program summary
4109 comparison unless !GCOV_LOCKED.
4110
7d296953 41112012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
4112
4113 * soft-fp: Updated from glibc upstream.
4114
e808687a
ILT
41152012-11-06 Ian Lance Taylor <iant@google.com>
4116
4117 * generic-morestack.c (__generic_morestack): Align the returned
4118 stack pointer to a 32 byte boundary.
4119 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4120 increment the return address until we have decided that we don't
4121 have a varargs function.
4122 (__morestack) [32-bit]: Align stack correctly when calling C
4123 functions.
4124 (__morestack) [64-bit]: Likewise.
4125
460277e0
TS
41262012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4127
4128 * configure: Regenerate.
4129
73edb277
UB
41302012-11-02 Uros Bizjak <ubizjak@gmail.com>
4131
4132 PR target/55175
4133 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4134 * config/i386/sfp-machine.h: Guard exception handling
4135 code with _SOFT_FLOAT.
4136 * config/i386/32/sfp-machine.h: Guard rounding handling
4137 code with _SOFT_FLOAT.
4138 * config/i386/64/sfp-machine.h: Ditto.
4139
c1d4fa04
JS
41402012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
4141
4142 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4143 as extra_parts.
4144
eff6ca85
UB
41452012-10-26 Uros Bizjak <ubizjak@gmail.com>
4146
4147 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4148 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
4149 when appropriate. Correct structure element types.
4150 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4151 -minline-all-stringops from compile flags.
4152
7d296953 41532012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
4154
4155 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4156
7d296953 41572012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 4158
eff6ca85 4159 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 4160
6f288860
SH
41612012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4162
4163 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4164 tmake_file.
4165
1e3d5096
IB
41662012-10-23 Ian Bolton <ian.bolton@arm.com>
4167 Jim MacArthur <jim.macarthur@arm.com>
4168 Marcus Shawcroft <marcus.shawcroft@arm.com>
4169 Nigel Stephens <nigel.stephens@arm.com>
4170 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4171 Richard Earnshaw <rearnsha@arm.com>
4172 Sofiane Naci <sofiane.naci@arm.com>
4173 Stephen Thomas <stephen.thomas@arm.com>
4174 Tejas Belagod <tejas.belagod@arm.com>
4175 Yufeng Zhang <yufeng.zhang@arm.com>
4176
4177 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4178 * config/aarch64/crti.S: New file.
4179 * config/aarch64/crtn.S: New file.
4180 * config/aarch64/linux-unwind.h: New file.
4181 * config/aarch64/sfp-machine.h: New file.
4182 * config/aarch64/sync-cache.c: New file.
4183 * config/aarch64/t-aarch64: New file.
4184 * config/aarch64/t-softfp: New file.
4185
8a740f07
HPN
41862012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
4187
4188 * config/mmix/crti.S: Mark program and data addresses using PRELD.
4189 Remove typo'd and unnecessary alignment-LOC for .data. Remove
4190 no-longer-needed LDBU insns.
4191
7d296953 41922012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
4193
4194 * config.host
4195 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4196 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4197
595fefee
MGD
41982012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4199
4200 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4201
9945a876
MK
42022012-10-15 Matthias Klose <doko@ubuntu.com>
4203
4204 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4205
1183dc2c
PC
42062012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
4207
4208 * configure: Regenerate.
4209 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4210
945a9c1f
UB
42112012-10-10 Uros Bizjak <ubizjak@gmail.com>
4212
4213 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4214 instructions for 64bit targets only.
4215
fb8bf47a
UB
42162012-10-10 Uros Bizjak <ubizjak@gmail.com>
4217
4218 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4219 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4220 * config/i386/32/sfp-machine.h: ... here.
4221 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4222 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4223 New defines.
4224
acb72498
MK
42252012-10-07 Matthias Klose <doko@ubuntu.com>
4226
4227 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4228 as unused.
4229 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4230
8eaee0f0
MK
42312012-10-06 Mark Kettenis <kettenis@openbsd.org>
4232
4233 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4234 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4235 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4236 (ElfW): Likewise.
4237
5e3e4fe8
JW
42382012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
4239
4240 PR other/53889
4241 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4242 Fix parameter names.
4243
86086376
OE
42442012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
4245
4246 PR target/33135
4247 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4248 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4249 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4250
9597375a
OE
42512012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
4252
4253 PR target/50457
4254 * config/sh/linux-atomic.S: Delete.
4255 * config/sh/linux-atomic.c: New.
4256 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4257 linux-atomic.c. Add cflags to disable warnings.
4258
1504e3e1
JW
42592012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4260
4261 PR other/53889
4262 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4263 function.
4264 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4265 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4266 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4267 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
4268 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4269 Likewise.
1504e3e1
JW
4270 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4271 Likewise.
4272 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4273 Likewise.
4274 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4275 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4276
17f293b0
MK
42772012-09-19 Mark Kettenis <kettenis@openbsd.org>
4278
9597375a
OE
4279 * config.host (hppa-*-openbsd*): New target.
4280 * config/pa/t-openbsd: New file.
17f293b0 4281
51526856
GJL
42822012-09-15 Georg-Johann Lay <avr@gjlay.de>
4283
4284 PR target/54222
4285 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4286 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4287 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4288 (__divsa3): Use __negsi2 to negate r_quoL.
4289 * config/avr/lib1funcs.S (FALIAS): New macro.
4290 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4291 (__negsi2): ...this new function.
4292 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4293 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4294 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4295 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4296 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4297 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4298
aadb5b43
OE
42992012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
4300
4301 PR target/54089
4302 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4303 (lshrsi3): Reimplement as lshrsi3_r0.
4304
d5d66749
AS
43052012-09-10 Andreas Schwab <schwab@linux-m68k.org>
4306
4307 PR target/46191
4308 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4309 of libgcc.a.
4310
c6c36e73
TJ
43112012-09-07 Teresa Johnson <tejohnson@google.com>
4312
9597375a 4313 PR gcov-profile/54487
c6c36e73 4314 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 4315 differences.
c6c36e73 4316
b588ae30
GJL
43172012-09-05 Georg-Johann Lay <avr@gjlay.de>
4318
4319 PR target/54461
4320 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4321 not configured --with-avrlibc=no.
4322 * config/avr/t-avrlibc: New file.
4323 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4324 (DPBIT_FUNCS): Ditto.
4325 (TPBIT_FUNCS): Ditto.
4326
abd16fb1
TJ
43272012-09-04 Teresa Johnson <tejohnson@google.com>
4328
4329 * libgcov.c (struct gcov_summary_buffer): New structure.
4330 (gcov_histogram_insert): New function.
4331 (gcov_compute_histogram): Ditto.
4332 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4333 histograms during summary merging.
4334
613061fd
MK
43352012-09-01 Mark Kettenis <kettenis@openbsd.org>
4336
4337 * config.host (x86_64-*-openbsd*): New target.
73edb277 4338
867a8345
CLT
43392012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4340
4341 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4342 attribute.
4343
4aeaaca3
GJL
43442012-08-24 Georg-Johann Lay <avr@gjlay.de>
4345
4346 PR target/54222
4347 * config/avr/t-avr (conv_X): Rename to func_X.
4348
e55e4056
GJL
43492012-08-24 Georg-Johann Lay <avr@gjlay.de>
4350
4351 PR target/54222
4352 * config/avr/lib1funcs-fixed.S: New file.
4353 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
4354 after they are used.
4355 (neg2, neg4): New macros.
4356 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4357 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4358 (__umulhisi3): Speed up MUL variant if there is enough flash.
4359 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4360 avr-modes.def.
4361 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4362 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4363 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4364 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4365 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4366 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4367 (LIB2FUNCS_EXCLUDE): Add supported functions.
4368
a147b6d2
GJL
43692012-08-22 Georg-Johann Lay <avr@gjlay.de>
4370
4371 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4372 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4373 libgcc-s-objects.
4374 * fixed-obj.mk: Only expand dependency if $o is not in
4375 LIB2FUNCS_EXCLUDE.
4376
c637141a
L
43772012-08-22 H.J. Lu <hongjiu.lu@intel.com>
4378
4379 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4380
130e00bd
JM
43812012-08-22 Joseph Myers <joseph@codesourcery.com>
4382
4383 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4384 depend on --enable-shared.
4385 ($(lib1asmfuncs-o)): Use %.vis files independent of
4386 --enable-shared.
4387 * static-object.mk ($(base)$(objext), $(base).vis)
4388 ($(base)_s$(objext)): Use same rules for visibility handling as in
4389 shared-object.mk.
4390
4b1b3788
ILT
43912012-08-21 Ian Lance Taylor <iant@google.com>
4392
4393 * config/i386/morestack.S (__morestack_non_split): Increase amount
4394 of space allocated for non-split code stack.
4395
d2468141
JM
43962012-08-19 Joseph Myers <joseph@codesourcery.com>
4397
4398 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4399 even if inhibit_libc.
4400
a508e1a8
JB
44012012-08-17 Julian Brown <julian@codesourcery.com>
4402
4403 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4404 -fexceptions -fnon-call-exceptions if not defined.
4405 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4406 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4407
5615a07d
AS
44082012-08-17 Andreas Schwab <schwab@linux-m68k.org>
4409
4410 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4411 type.
4412
138f5acd
DE
44132012-08-16 David Edelsohn <dje.gcc@gmail.com>
4414
4415 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4416 rs6000/t-slibgcc-aix.
4417
18efc0dd
SB
44182012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4419
4420 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4421
6b39bc38
SB
44222012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4423
4424 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4425
cd25dea0
L
44262012-08-03 H.J. Lu <hongjiu.lu@intel.com>
4427
4428 PR driver/54171
4429 * Makefile.in (version): Replace top_srcdir with srcdir.
4430
a3dda30b
JY
44312012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
4432
4433 * Makefile.in (version): set to BASE-VER file from gcc directory.
4434
d04aacfc
NC
44352012-08-01 Nick Clifton <nickc@redhat.com>
4436
4437 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4438 Implements __clrsb for an HImode argument.
4439
0d13c974
NC
44402012-07-31 Nick Clifton <nickc@redhat.com>
4441
4442 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4443 Implements __clrsb for an HImode argument.
4444 * config/stormy16/clrsbhi2.c: New file:
4445 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4446
efbb59b2
SB
44472012-07-22 Steven Bosscher <steven@gcc.gnu.org>
4448
4449 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4450
bf1431e3
TG
44512012-07-19 Tristan Gingold <gingold@adacore.com>
4452 Richard Henderson <rth@redhat.com>
4453
4454 * unwind-seh.c: New file.
4455 * unwind-generic.h: Include windows.h for SEH.
4456 (_Unwind_Exception): Use 6 private fields for SEH.
4457 (_GCC_specific_handler): Declare.
4458 * unwind-c.c (__gcc_personality_seh0): New function.
4459 Adjust for SEH.
4460 * config/i386/libgcc-cygming.ver: New file.
4461 * config/i386/t-seh-eh: New file.
4462 * config.host (x86_64-*-mingw*): Default to seh.
4463
659140c8
SB
44642012-07-14 Steven Bosscher <steven@gcc.gnu.org>
4465
4466 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4467
a20d08fd
UB
44682012-06-17 Uros Bizjak <ubizjak@gmail.com>
4469
4470 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4471 __builtin_expect when checking for exceptions.
4472 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4473
79261115
UB
44742012-06-13 Uros Bizjak <ubizjak@gmail.com>
4475
4a172156
UB
4476 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4477 function declaration.
4478 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4479 (FP_RND_MASK): New.
4480 * config/ia64/sfp-exceptions.c: New.
4481 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 4482
bb5c97d4
UB
44832012-06-13 Uros Bizjak <ubizjak@gmail.com>
4484
4485 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4486 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4487 * config/i386/64/sfp-machine: ... (delete here) ...
4488 * config/i386/sfp-machine.h: ... to here.
4489 (FP_EX_MASK): Remove.
4490 (FP_RND_MASK): New.
4491 (FP_INIT_ROUNDMODE): Declare asm as volatile.
4492
91fe5efb
ST
44932012-06-11 Sriraman Tallam <tmsriram@google.com>
4494
4495 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4496 * config/i386/libgcc-sol2.ver: Ditto.
4497 * config/i386/libgcc-glibc.ver: Ditto.
4498
67a218c5
RM
44992012-06-11 Roland McGrath <mcgrathr@google.com>
4500
4501 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4502 If __GLIBC__ is defined, refer to __pthread_key_create instead of
4503 pthread_cancel.
4504
492fbea1
UB
45052012-06-09 Uros Bizjak <ubizjak@gmail.com>
4506
4507 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4508 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4509 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4510 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4511 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4512 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4513 * config/i386/64/sfp-machine: ... (delete here) ...
4514 * config/i386/sfp-machine.h: ... to here.
4515 (FP_EX_MASK): New.
4516 (__sfp_handle_exceptions): New function declaration.
4517 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4518 * config/i386/sfp-exceptions.c: New.
4519 * config/i386/t-softfp: New.
4520 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4521 i386/t-softfp to tmake_file.
4522
7b4cf266
DM
45232012-06-03 David S. Miller <davem@davemloft.net>
4524
4525 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4526 change.
4527
0de0d5c6
DM
45282012-05-31 David S. Miller <davem@davemloft.net>
4529
4530 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4531 multiply and divide instructions on 32-bit when V9.
4532 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4533
d8c9d391
JM
45342012-05-29 Joseph Myers <joseph@codesourcery.com>
4535
4536 * config/arm/ieee754-df.S: Fix typos.
4537 * config/arm/ieee754-sf.S: Fix typos.
4538 * config/c6x/libunwind.S: Fix typos.
4539 * config/epiphany/udivsi3-float.c: Fix typos.
4540 * config/microblaze/muldi3_hard.S: Fix typos.
4541 * config/picochip/adddi3.S: Fix typos.
4542 * config/picochip/ashlsi3.S: Fix typos.
4543 * config/picochip/ashrsi3.S: Fix typos.
4544 * config/picochip/clzsi2.S: Fix typos.
4545 * config/picochip/cmpsi2.S: Fix typos.
4546 * config/picochip/divmod15.S: Fix typos.
4547 * config/picochip/divmodhi4.S: Fix typos.
4548 * config/picochip/divmodsi4.S: Fix typos.
4549 * config/picochip/longjmp.S: Fix typos.
4550 * config/picochip/lshrsi3.S: Fix typos.
4551 * config/picochip/parityhi2.S: Fix typos.
4552 * config/picochip/popcounthi2.S: Fix typos.
4553 * config/picochip/setjmp.S: Fix typos.
4554 * config/picochip/subdi3.S: Fix typos.
4555 * config/picochip/ucmpsi2.S: Fix typos.
4556 * config/picochip/udivmodhi4.S: Fix typos.
4557 * config/picochip/udivmodsi4.S: Fix typos.
4558 * config/spu/divv2df3.c: Fix typos.
4559 * config/spu/mfc_multi_tag_release.c: Fix typos.
4560 * config/spu/mfc_tag_release.c: Fix typos.
4561 * configure.ac: Fix typos.
4562 * configure: Regenerate.
4563
31a18a7e
ILT
45642012-05-25 Ian Lance Taylor <iant@google.com>
4565
4566 * config/i386/morestack.S (__morestack_non_split): Check whether
4567 caller is varargs and needs %bp to hold the stack frame on return.
4568
c5768510
OH
45692012-05-25 Olivier Hainque <hainque@adacore.com>
4570
4571 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4572 sequence in the non pic case on VxWorks.
4573
7c7c339b
OH
45742012-05-24 Olivier Hainque <hainque@adacore.com>
4575
73fb7630 4576 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
4577 "install-leaf" to "install".
4578
fdc1b7d3
OH
45792012-05-24 Olivier Hainque <hainque@adacore.com>
4580
4581 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4582 Use a separate command for stamp removals.
4583
07ba94b9
AP
45842012-05-21 Andrew Pinski <apinski@cavium.com>
4585
4586 PR bootstrap/53183
4587 * configure.ac: Define the default includes to being none.
4588 * configure: Regenerate.
4589
4677d2eb
OH
45902012-05-16 Olivier Hainque <hainque@adacore.com>
4591
4592 * Makefile.in (install-unwind_h): Rename into ...
4593 (install-unwind_h-forbuild): New target.
4594 (all): Use it instead of the former install-unwind_h.
4595 (install-unwind_h): Reinstate, copy to user install destination
4596 for include files, not to the internal gcc object directory one.
4597 (install-leaf): Depend on it.
4598
7d67c380
OH
45992012-05-15 Olivier Hainque <hainque@adacore.com>
4600
4601 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4602 register numbers. LR_REGNO replaces R_LR.
4603 (ucontext_for): New, helper for ...
4604 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4605 and 5.3 of ...
4606 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4607
aca06c90
RO
46082012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4609
4610 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4611 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4612 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4613 i386/t-cpuinfo ...
4614 (i[34567]86-*-*, x86_64-*-*): ... here.
4615
4616 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4617 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4618
4619 * config/i386/i386-cpuinfo.c: Rename to ...
4620 * config/i386/cpuinfo.c: ... this.
4621 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4622
4623 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4624 (libgcc_cv_init_priority): New test.
4625 * configure: Regenerate.
4626 * config.in: New file.
4627 * Makefile.in (clean): Rename config.h to auto-target.h.
4628 (config.h): Likewise.
4629 (stamp-h): Likewise.
4630
4631 * config/i386/cpuinfo.c (auto-target.h): Include.
4632 (CONSTRUCTOR_PRIORITY): Define.
4633 (__cpu_indicator_init): Use it.
4634
0d03ac1b
L
46352012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4636
4637 * longlong.h: Use a URL instead of an FSF postal address.
4638 Replace spaces with tab.
4639
4a172156 46402012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
4641
4642 * libgcov.c (gcov_clear, __gcov_reset): New functions.
4643 (__gcov_dump): Ditto.
4644 (gcov_dump_complete): New global variable.
4645 (gcov_exit): Export hidden to enable use in L_gcov_dump.
4646 (__gcov_flush): Outline functionality now in gcov_clear.
4647 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4648
e4bb767e
AJ
46492012-04-28 Aurelien Jarno <aurelien@aurel32.net>
4650
31a18a7e
ILT
4651 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4652 (mips*-*-linux*): Include mips/t-tpbit when long double is
4653 16 bytes long.
e4bb767e 4654
5ddecff9
ST
46552012-04-25 Sriraman Tallam <tmsriram@google.com>
4656
4657 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4658 (get_available_features): New argument. Check for AVX2.
4659 (__cpu_indicator_init): Modify call to get_available_features.
4660
b427dd7a
AM
46612012-04-25 Alan Modra <amodra@gmail.com>
4662
4663 * config/rs6000/crtsavevr.S: New file.
4664 * config/rs6000/crtrestvr.S: New file.
4665 * config/rs6000/t-savresfgpr: Build the above.
4666 * config/rs6000/t-netbsd: Likewise.
4667
ad491329
ST
46682012-04-24 Sriraman Tallam <tmsriram@google.com>
4669
4670 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4671
792317cc
ST
46722012-04-24 Sriraman Tallam <tmsriram@google.com>
4673
4674 * libgcc/config/i386/i386-cpuinfo.c: New file.
4675 * libgcc/config/i386/t-cpuinfo: New file.
4676 * libgcc/config.host: Include t-cpuinfo.
4677 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4678
e1be98a4
CF
46792012-04-24 Chao-ying Fu <fu@mips.com>
4680
4681 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4682
1bde7dab
TS
46832012-04-20 Thomas Schwinge <thomas@codesourcery.com>
4684
4685 struct siginfo vs. siginfo_t
4686
4687 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4688 siginfo_t instead of struct siginfo.
4689 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4690 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4691 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4692 (ia64_handle_unwabi): Likewise.
4693 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4694 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4695 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4696 (sh_fallback_frame_state): Likewise.
4697 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4698 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4699
24590f66
L
47002012-04-02 H.J. Lu <hongjiu.lu@intel.com>
4701
4702 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4703 system call number.
4704
9a9dcce8
EB
47052012-03-31 Eric Botcazou <ebotcazou@adacore.com>
4706
4707 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4708 if it hasn't been previously saved.
4709
6401aaf5
L
47102012-03-29 H.J. Lu <hongjiu.lu@intel.com>
4711
4712 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4713 only for glibc.
4714
7fd6378e
GJL
47152012-03-28 Georg-Johann Lay <avr@gjlay.de>
4716
4717 PR target/52737
4718 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4719 instead of __AVR_HAVE_8BIT_SP__.
4720
9e916de7
TG
47212012-03-26 Tristan Gingold <gingold@adacore.com>
4722
4723 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4724 (unw_table_entry): Use unw_word instead of unsigned long.
4725 (_Unwind_FindTableEntry): Likewise.
4726 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4727 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4728 (_Unwind_FindTableEntry): Likewise.
4729 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4730 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4731 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4732 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4733 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4734 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4735 (uw_init_context_1, uw_install_context): Likewise.
4736 (unw_word): Move to unwind-ia64.h
4737
4b12e93d
TG
47382012-03-26 Tristan Gingold <gingold@adacore.com>
4739
4740 * config/vms/vms-ucrt0.c: Update copyright years.
4741 Add a sanity check.
4742 (___gcc_main_flags): Declare.
4743 (__main): Check flags to remap argv and exit code.
4744 * config.host (*-*-*vms*): Adjust extra_parts.
4745 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4746 (crt0.o): Add.
4747
06ea7371
RE
47482012-03-22 Richard Earnshaw <rearnsha@arm.com>
4749
4750 * arm/lib1funcs.asm (ctzsi2): New function.
4751 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4752 * arm/t-linux (LIB1ASMFUNCS): Likewise.
4753 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4754 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4755 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4756 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4757
d82ad50d
AT
47582012-03-21 Andreas Tobler <andreast@fgznet.ch>
4759
4760 * config.host: Add bits to support powerpc64-*-freebsd*.
4761 * config/rs6000/freebsd-unwind.h: New file.
4762 * config/rs6000/t-freebsd64: New file.
4763
b260a8c0
RG
47642012-03-20 Richard Guenther <rguenther@suse.de>
4765
4766 PR gcov-profile/52627
4767 * libgcov.c (init_mx): Fix mutex name.
4768
86286a8a
TG
47692012-03-16 Tristan Gingold <gingold@adacore.com>
4770
4771 * config/ia64/vms-unwind.h: Remove ulong (and replace
4772 it by unw_reg where used). Define unw_reg with __int64.
4773
7888f266
RO
47742012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4775
4776 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4777 Solaris 8 handling.
4778 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4779 Solaris 8 handling.
4780 (sparc_is_sighandler): Likewise.
4781
f155bc64
L
47822012-03-13 H.J. Lu <hongjiu.lu@intel.com>
4783
4784 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4785 <= saved reg size.
4786
d47657bd
RO
47872012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4788
4789 * config/arm/crtn.S: Fix typo.
4790
5bef73a1
RG
47912012-03-13 Richard Guenther <rguenther@suse.de>
4792
4793 * libgcov.c: Remove stdio.h include and NULL un-define.
4794
9c4271f3
RG
47952012-03-13 Richard Guenther <rguenther@suse.de>
4796
4797 PR target/52569
4798 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4799
c6d10e7c
RG
48002012-03-13 Richard Guenther <rguenther@suse.de>
4801
4802 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4803
074a385f
RG
48042012-03-13 Richard Guenther <rguenther@suse.de>
4805
4806 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4807 and __gthread_mutex_init_function definitions.
4808
c4bc5c25
RO
48092012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4810
4811 * config.host (mips*-*-openbsd*): Remove.
4812
5c30094f
RO
48132012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4814
4815 * config.host: Remove alpha*-dec-osf5.1* handling.
4816 * config/alpha/gthr-posix.c: Remove.
4817 * config/alpha/libgcc-osf5.ver: Remove.
4818 * config/alpha/osf5-unwind.h: Remove.
4819 * config/alpha/t-osf-pthread: Remove.
4820 * config/alpha/t-slibgcc-osf: Remove.
4821 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4822 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4823 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
4824 * mkmap-flat.awk: Remove osf_export handling.
4825
33e3e24d
RG
48262012-03-12 Richard Guenther <rguenther@suse.de>
4827
4828 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
4829 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4830 (__gthread_mutex_init_function): New function.
4831 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4832
4833 PR gcov/49484
4834 * libgcov.c: Include gthr.h.
4835 (__gcov_flush_mx): New global variable.
4836 (init_mx, init_mx_once): New functions.
4837 (__gcov_flush): Protect self with a mutex.
4838 (__gcov_fork): Re-initialize mutex after forking.
4839 * unwind-dw2-fde.c: Change condition under which to use
4840 __GTHREAD_MUTEX_INIT_FUNCTION.
4841
d8aba32a
TG
48422012-03-12 Tristan Gingold <gingold@adacore.com>
4843
4844 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
4845 * config/ia64/t-vms: Likewise.
4846
75ffafdc
MH
48472012-03-11 Michael Hope <michael.hope@linaro.org>
4848
4a172156
UB
4849 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
4850 for Thumb-2.
75ffafdc 4851
ef6c2c53
WL
48522012-03-07 Walter Lee <walt@tilera.com>
4853
4854 * config/tilepro/atomic.c: Rename "atomic_" prefix to
4855 "arch_atomic_".
4856 (atomic_xor): Rename and move definition to
4857 config/tilepro/atomic.h.
4858 (atomic_nand): Ditto.
4859 * config/tilepro/atomic.h: Rename "atomic_" prefix to
4860 "arch_atomic_".
4861 (arch_atomic_xor): Move from config/tilepro/atomic.c.
4862 (arch_atomic_nand): Ditto.
4863
4e30d980
GJL
48642012-03-07 Georg-Johann Lay <avr@gjlay.de>
4865
4866 PR target/52507
4867 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
4868
61108225
GJL
48692012-03-07 Georg-Johann Lay <avr@gjlay.de>
4870
4871 PR target/52505
4872 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
4873 from RAM.
4874
b30e10ab
GJL
48752012-03-07 Georg-Johann Lay <avr@gjlay.de>
4876
4877 PR target/52461
4878 PR target/52508
4879 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
4880 if RAMPZ affects reading from RAM.
4881 (__tablejump_elpm__): Ditto.
4882 (.xload): Ditto.
4883 (__movmemx_hi): Ditto.
4884 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
4885 (__do_global_dtors): Ditto.
4886 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
4887 (__movmemx_hi): Ditto.
4888
8993fde4
RH
48892012-03-05 Richard Henderson <rth@redhat.com>
4890
4891 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
4892 [ARM] (count_trailing_zeros): Use the builtin.
4893
b7633ee3
KT
48942012-03-01 Kai Tietz <ktietz@redhat.com>
4895
4896 * soft-fp: Imported from glibc upstream.
4897
fbd3340c
KT
48982012-02-28 Kai Tietz <ktietz@redhat.com>
4899
4900 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
4901 for mingw-targets as attribute gcc_struct.
4902
e9e053eb
ILT
49032012-02-28 Ian Lance Taylor <iant@google.com>
4904
4905 * generic-morestack.c (__splitstack_releasecontext): Correct call
4906 to __morestack_release_segments.
4907
d80c632e
ST
49082012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4909
4910 PR target/52390
4911 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
4912 for __linux__ when removing signals from __morestack_fullmask.
4913
0253a8b1
GJL
49142012-02-23 Georg-Johann Lay <avr@gjlay.de>
4915
4916 PR target/52261
4917 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
4918
e10e461e
UW
49192012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4920
4921 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
4922 instead of HAVE_INITFINI_ARRAY.
4923 * config/ia64/crtend.S: Likewise.
4924
0c0c6398
KT
49252012-02-20 Kai Tietz <ktietz@redhat.com>
4926
d7470374
KT
4927 PR libstdc++/52300
4928 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
4929
0c0c6398
KT
4930 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
4931 to w32-unwind.h header.
4932
78c27266
RS
49332012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
4934
4935 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
4936 (mips*-*-linux*): Remove t-slibgcc-libgcc.
4937 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
4938 * config/mips/mips16.S (__mips16_rdhwr): Delete.
4939
5adeb246
RS
49402012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
4941
4942 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
4943
672ed313
IS
49442012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4945
4946 PR libitm/52220
4947 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 4948
e948a1fb
IS
49492012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4950 Patrick Marlier <patrick.marlier@gmail.com>
4951
4952 PR libitm/52220
4953 * config/darwin-crt-tm.c: Generate dummy functions.
4954
6017aed3
IS
49552012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4956 Patrick Marlier <patrick.marlier@gmail.com>
4957
4958 PR libitm/52042
4959 * config/darwin-crt-tm.c (getTMCloneTable): New function.
4960 (__doTMRegistrations): Call it.
e9e053eb 4961 (__doTMdeRegistrations): Likewise.
6017aed3 4962
2da8c1ad 49632012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
4964 Anatoly Sokolov <aesok@post.ru>
4965 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
4966
4967 PR target/52261
4968 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
4969 (__epilogue_restores__): Ditto.
4970
0f952eb4
EB
49712012-02-15 Eric Botcazou <ebotcazou@adacore.com>
4972
4973 PR target/51921
4974 PR target/52205
4975 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
4976 Solaris 11 and slightly reformat.
4977 (sparc_is_sighandler): Likewise.
4978
dd552284
WL
49792012-02-14 Walter Lee <walt@tilera.com>
4980
4981 * config.host: Handle tilegx and tilepro.
4982 * config/tilegx/sfp-machine.h: New file.
4983 * config/tilegx/sfp-machine32.h: New file.
4984 * config/tilegx/sfp-machine64.h: New file.
4985 * config/tilegx/t-crtstuff: New file.
4986 * config/tilegx/t-softfp: New file.
4987 * config/tilegx/t-tilegx: New file.
4988 * config/tilepro/atomic.c: New file.
4989 * config/tilepro/atomic.h: New file.
4990 * config/tilepro/linux-unwind.h: New file.
4991 * config/tilepro/sfp-machine.h: New file.
4992 * config/tilepro/softdivide.c: New file.
4993 * config/tilepro/softmpy.S: New file.
4994 * config/tilepro/t-crtstuff: New file.
4995 * config/tilepro/t-tilepro: New file.
4996
b59cbd50
JW
49972012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
4998
4999 PR libstdc++/51296
5000 PR libstdc++/51906
5001 * gthr-posix.h: Allow static initializer macros to be disabled.
5002 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5003
6caf807f
CLT
50042012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5005
5006 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5007 Add t-slibgcc-libgcc to tmake_file.
5008 * config/mips/libgcc-mips16.ver: Revert previous patch.
5009 * config/mips/mips16.S (__mips16_rdhwr): Hide.
5010
7d296953
JJ
50112012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5012 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
5013
5014 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5015 * config/cr16/crti.S: New file.
5016 * config/cr16/crtlibid.S: New file.
5017 * config/cr16/crtn.S: New file.
5018 * config/cr16/lib1funcs.S: New file.
5019 * config/cr16/t-cr16: New file.
5020 * config/cr16/t-crtlibid: New file.
5021 * config/cr16/unwind-dw2.h: New file.
5022 * config/cr16/unwind-cr16.c: New file.
5023 * config/cr16/divmodhi3.c: New file.
5024
8ef03aa7
AM
50252012-01-25 Alan Modra <amodra@gmail.com>
5026
5027 * config/rs6000/t-linux64: Delete. Move..
5028 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5029 * config/rs6000/t-linux: ..and libgcc flags to here.
5030
daecebc8
DR
50312012-01-22 Douglas B Rupp <rupp@gnat.com>
5032
5033 * config.host (i[34567]86-*-interix3*):
8ef03aa7 5034 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
5035 * configure: Regenerate.
5036
ddaf8125
RS
50372012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
5038 Richard Sandiford <rdsandiford@googlemail.com>
5039
5040 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5041 * config/mips/mips16.S (__mips16_rdhwr): New function.
5042 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5043
2cd8b32c
NS
50442012-01-11 Nathan Sidwell <nathan@acm.org>
5045
5046 * libgcov.c (__gcov_init): Ignore objects with no functions.
5047
cba300dd
GJL
50482012-01-10 Georg-Johann Lay <avr@gjlay.de>
5049
5050 PR target/49868
5051 Extend __pgmx semantics to linearize memory.
5052 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5053 * config/avr/lib1funcs.S (__xload_1): New function.
5054 (__movmemx_qi, __movmemx_hi): New functions.
5055 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5056 semantics.
9ffaf4bc 5057
3d137660
EB
50582012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5059
5060 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5061 purported sigacthandler address isn't null before dereferencing it.
5062 (sparc_is_sighandler): Likewise.
5063
bf4db96c
EB
50642012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5065
5066 PR ada/41929
5067 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5068 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
5069 (sparc_is_sighandler): Likewise.
5070 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5071
1ab3568b
TG
50722012-01-06 Tristan Gingold <gingold@adacore.com>
5073
5074 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5075 compatibility thunks...
5076 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5077 (crtbeginS.o, crtendS.o): ... and these to ...
5078 * config/ia64/t-ia64-elf: ... this new file.
5079 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5080 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5081
925b0ed8
AK
50822012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5083
5084 * configure: Regenerate.
5085 * config/s390/t-crtstuff: Remove -fPIC.
5086
a99ad737
JW
50872012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5088
5089 PR bootstrap/51006
5090 * enable-execute-stack-mprotect.c (getpagesize): Do not define
5091 for NetBSD.
5092
884f56d1
GJL
50932012-01-02 Georg-Johann Lay <avr@gjlay.de>
5094
5095 PR target/51345
5096 * config/avr/lib1funcs.S: Remove FIXME comments.
5097 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5098
8c57e547
GJL
50992012-01-02 Georg-Johann Lay <avr@gjlay.de>
5100
5101 Implement light-weight DImode support.
5102 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5103 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5104 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5105 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5106
04dbc287
NS
51072011-12-30 Nathan Sidwell <nathan@acm.org>
5108
5109 * libgcov.c (gcov_crc32): Remove global var.
5110 (free_fn_data): New function.
5111 (buffer_fn_data): Pass in filename, more robust error recovery.
5112 (crc32_unsigned): New function.
5113 (gcov_exit): More robust detection of new program. More robust
5114 error recovery.
5115 (__gcov_init): Do not update program's crc here.
5116
8e1d97d4
TG
51172011-12-21 Tristan Gingold <gingold@adacore.com>
5118
5119 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5120
9ffaf4bc
ILT
51212011-12-21 Ian Lance Taylor <iant@google.com>
5122
5123 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5124
a0c8d0c1
ILT
51252011-12-20 Ian Lance Taylor <iant@google.com>
5126
5127 * config/i386/morestack.S (__morestack_non_split): If there is
5128 enough stack space already, don't split. Ask for more stack space
5129 than we required.
5130
69048898
SDJ
51312011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
5132
5133 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5134 `sys/sdt.h'.
5135 (_Unwind_DebugHook): New function.
5136 (uw_restore_core_regs): New define.
5137 (unwind_phase2): Use uw_restore_core_regs instead of
5138 restore_core_regs.
5139 (unwind_phase2_forced): Likewise.
5140 (__gnu_Unwind_Resume): Likewise.
5141
1bb4b6a3
UB
51422011-12-20 Uros Bizjak <ubizjak@gmail.com>
5143
5144 * config/alpha/linux-unwind.h: Update copyright years.
5145 (MD_FROB_UPDATE_CONTEXT): New define.
5146 (alpha_frob_update_context): New function.
5147
eb028768
RS
51482011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
5149
5150 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5151 tmake_file rather replacing it.
5152
6a2045bf
IS
51532011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5154
5155 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 5156 function is not used for PPC64.
6a2045bf
IS
5157 (save_world): Amend comments. Update the VRsave mask to reflect the
5158 saved regs.
5159 (rest_world): Update comments, do not clobber r10, do not use r8.
5160 (eh_rest_world_r10): Amend comments, do not use r8.
5161 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5162 no longer used, move restore of CR and target address to the end of
5163 the routine.
5164
a13780a6
L
51652011-12-14 H.J. Lu <hongjiu.lu@intel.com>
5166
5167 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5168 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5169
d7288dfb
GJL
51702011-12-14 Georg-Johann Lay <avr@gjlay.de>
5171
5172 PR target/49313
5173 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5174 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5175
8d2c862d
EB
51762011-12-11 Eric Botcazou <ebotcazou@adacore.com>
5177
5178 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5179
3447cae6
GJL
51802011-12-09 Georg-Johann Lay <avr@gjlay.de>
5181
5182 PR target/49313
5183 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5184 * config/avr/lib1funcs.S (__muldi3): New function.
5185
806fc6aa
AP
51862011-12-06 Andrew Pinski <apinski@cavium.com>
5187
5188 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5189 size of func_ptr.
5190 (__frame_dummy_init_array_entry): Likewise.
5191
28c5e6b5
GJL
51922011-12-06 Georg-Johann Lay <avr@gjlay.de>
5193
5194 Forward-port from gcc-4_6-branch r181936 2011-12-02.
5195
5196 PR target/51345
5197 PR target/51002
5198 * config/avr/lib1funcs.S (__prologue_saves__,
5199 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5200 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
5201
8f90394a
IS
52022011-12-04 Iain Sandoe <iains@gcc.gnu.org>
5203
5204 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5205
06dd33ac
JDA
52062011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5207
5208 PR other/51272
5209 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5210 (_ITM_deregisterTMCloneTable): Likewise.
5211 (__register_frame_info): Fix unused warning.
5212 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5213 pthread_default_stacksize_np): Likewise.
5214 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 5215
85b8555e
DD
52162011-11-29 DJ Delorie <dj@redhat.com>
5217
5218 * config.host (rl78-*-elf): New case.
5219 * config/rl78: New directory for the Renesas RL78.
5220
4d5ae4ea
BS
52212011-11-29 Bernd Schmidt <bernds@codesourcery.com>
5222
5223 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
5224 formatting.
5225
f9c55897
RO
52262011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5227
5228 PR other/51022
5229 * config/rs6000/t-savresfgpr: New file.
5230 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5231 $(srcdir)/config/rs6000/eabi.S.
5232 * config/rs6000/t-ppccomm-ldbl: Remove.
5233 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5234 tmake_file.
5235 (powerpc-*-eabispe*): Likewise.
5236 (powerpc-*-eabi*): Likewise.
5237 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5238 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5239 to tmake_file, remove rs6000/t-ppccomm-ldbl.
5240 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5241 tmake_file.
5242 (powerpc-*-eabisim*): Likewise.
5243 (powerpc-*-elf*): Likewise.
5244 (powerpc-*-eabialtivec*): Likewise.
5245 (powerpc-xilinx-eabi*): Likewise.
5246 (powerpc-*-rtems*): Likewise.
5247 (powerpcle-*-elf*): Likewise.
5248 (powerpcle-*-eabisim*): Likewise.
5249 (powerpcle-*-eabi*): Likewise.
5250
a01207c4
ILT
52512011-11-27 Ian Lance Taylor <iant@google.com>
5252
5253 * generic-morestack.c (__splitstack_find): Check for NULL old
5254 stack value.
5255 (__splitstack_resetcontext): New function.
5256 (__splitstack_releasecontext): New function.
5257 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5258
2b0b8ab2
IS
52592011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5260
5261 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5262
c1d8101c
IS
52632011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5264
5265 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5266
8b281334
RH
52672011-11-26 Richard Henderson <rth@redhat.com>
5268
5269 * config/m68k/linux-atomic.c: New file.
5270 * config/m68k/t-linux: New file.
5271 * config.host (m68k-uclinux, m68k-linux): Use it.
5272
7546aa9d
RH
52732011-11-26 Richard Henderson <rth@redhat.com>
5274
5275 * crtstuff.c (__TMC_LIST__): Mark used not unused.
5276 (__TMC_END__): Only declare if hidden is available; in the definition,
5277 if hidden is unavailable add a null record.
5278 (deregister_tm_clones, register_tm_clones): New.
5279 (__do_global_dtors_aux, frame_dummy): Use them.
5280 (__do_global_dtors, __do_global_ctors_1): Likewise.
5281
e2362f5d
IS
52822011-11-22 Iain Sandoe <iains@gcc.gnu.org>
5283
5284 * config/darwin-crt-tm.c: New file.
5285 * config.host (darwin): Build crttms.o crttme.o to provide
5286 startup and shutdown for tm clones.
5287 * config/t-darwin (crttms.o): New build rule.
5288 (crttme.o): Likewise.
5289
6685dd96
HPN
52902011-11-21 Hans-Peter Nilsson <hp@axis.com>
5291
5292 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5293 et al.
5294
b0dc7e4c
RH
52952011-11-21 Richard Henderson <rth@redhat.com>
5296
5297 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5298 (__TMC_LIST__, __TMC_END__): New.
5299 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5300 (__do_global_dtors): Likewise.
5301 (frame_dummy): Call _ITM_registerTMCloneTable.
5302 (__do_global_ctors_1): Likewise.
5303
d4b4b542
RO
53042011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5305
5306 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5307 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5308 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5309 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5310 * config/i386/t-darwin64: Remove.
5311 * config/sh/t-netbsd (LIB2ADD): Remove.
5312
989bdb74
GJL
53132011-11-21 Georg-Johann Lay <avr@gjlay.de>
5314
5315 PR target/49313
5316 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5317 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5318 * config/avr/lib1funcs.S (wmov): New assembler macro.
5319 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5320 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5321 (__udivmod64): New function.
5322 (__negdi2): New function.
5323
515a0cfc
GP
53242011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5325
5326 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5327 *-*-freebsd*aout*): Remove.
5328
0115d17f
HPN
53292011-11-20 Hans-Peter Nilsson <hp@axis.com>
5330
5331 * static-object.mk (c_flags-$o): Save c_flags.
5332 ($(base)$(objext)): Use it.
5333
93aeb62b
SE
53342011-11-18 Steve Ellcey <sje@cup.hp.com>
5335
5336 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5337
7bc6df2c
GJL
53382011-11-18 Georg-Johann Lay <avr@gjlay.de>
5339
5340 PR target/49868
5341 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5342 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5343 New functions.
5344
425d737b
MGD
53452011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5346
5347 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5348 functions.
1bb4b6a3 5349 (aeabi_uidivmod): Likewise.
425d737b
MGD
5350 (umodsi3): Likewise.
5351 (divsi3): Likewise.
5352 (aeabi_idivmod): Likewise.
5353 (modsi3): Likewise.
5354
f2a176dc
TG
53552011-11-16 Tristan Gingold <gingold@adacore.com>
5356
5357 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5358
7c209481
GJL
53592011-11-15 Georg-Johann Lay <avr@gjlay.de>
5360
5361 PR target/49868
5362 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
5363 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5364
9dfd5832
JDA
53652011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5366
5367 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5368 tmake_file list.
5369 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5370 * config/pa/t-stublib64: Delete.
5371
f77dca5d
RH
53722011-11-12 Richard Henderson <rth@redhat.com>
5373
5374 * config/rs6000/linux-unwind.h (frob_update_context): Properly
5375 cast the pointer argument to _Unwind_SetGRPtr.
5376
902828f0
RO
53772011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5378
5379 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5380
e14304ef
ILT
53812011-11-09 Ian Lance Taylor <iant@google.com>
5382
5383 * generic-morestack.c: Include <string.h>.
5384 (uintptr_type): Define.
5385 (struct initial_sp): Add dont_block_signals field. Reduce size of
5386 extra array by 1.
5387 (allocate_segment): Set prev field to NULL. Don't set
5388 __morestack_current_segment or __morestack_segments.
5389 (__generic_morestack): Update current->prev and *pp after calling
5390 allocate_segment.
5391 (__morestack_block_signals): Don't do anything if
5392 dont_block_signals is set.
5393 (__morestack_unblock_signals): Likewise.
5394 (__generic_findstack): Check for initial_sp == NULL. Add casts to
5395 uintptr_type.
5396 (__splitstack_block_signals): New function.
5397 (enum __splitstack_content_offsets): Define.
5398 (__splitstack_getcontext, __splitstack_setcontext): New functions.
5399 (__splitstack_makecontext): New function.
5400 (__splitstack_block_signals_context): New function.
5401 (__splitstack_find_context): New function.
5402 * config/i386/morestack.S (__morestack_get_guard): New function.
5403 (__morestack_set_guard, __morestack_make_guard): New functions.
5404 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5405
e3d871e4
RO
54062011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5407
5408 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5409 (i[34567]86-*-mingw*): ... here.
5410 (x86_64-*-mingw*): ... here.
5411
e55cef40
RO
54122011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5413
5414 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5415
5366b186
NS
54162011-11-07 Nathan Sidwell <nathan@acm.org>
5417
5418 * libgcov.c (struct gcov_fn_buffer): New struct.
5419 (buffer_fn_data): New helper.
5420 (gcov_exit): Rework for new gcov data structures.
5421
74155a6f
GJL
54222011-11-07 Georg-Johann Lay <avr@gjlay.de>
5423
5424 PR target/49313
5425 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5426
200feb07
RO
54272011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5428
5429 * config.host (tmake_file): Correct comment.
5430 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5431 t-libgcc-pic.
5432 (bfin*-uclinux*): Likewise.
5433 (bfin*-linux-uclibc*): Likewise.
5434 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5435
5436 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5437 assigning.
5438 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5439 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5440 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5441 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5442 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5443 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5444 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5445 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5446 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5447 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5448 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5449 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5450 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5451
5452 * config/bfin/t-elf: Remove.
5453 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5454
c9cd1a07
RO
54552011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5456
5457 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5458 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5459 (lm32-*-elf*, lm32-*-rtems*): Split into ...
5460 (lm32-*-elf*): ... this.
5461 (lm32-*-rtems*): ... and this.
5462 Add to tmake_file.
5463 (m32r-*-rtems*): Add to tmake_file.
5464 (moxie-*-rtems*): Likewise.
5465 (sparc-*-rtems*): Likewise.
5466 Remove t-rtems from tmake_file.
5467 (sparc64-*-rtems*): Likewise.
5468 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5469 instead.
5470
9fbcc75d
RO
54712011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5472
5473 PR bootstrap/50982
5474 * config/gthr-posix.h: Move ...
5475 * gthr-posix.h: ... here.
5476 * config/gthr-lynx.h: Reflect this.
5477 * config/gthr-vxworks.h: Likewise.
5478 * config/rs6000/gthr-aix.h: Likewise.
5479 * configure.ac (target_thread_file): Likewise.
5480 * configure: Regenerate.
5481
76644b68
SH
54822011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
5483
5484 * config.host (arm*-*-rtemseabi*): New target.
5485
5e490f2a
JDA
54862011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5487
5488 PR other/50991
5489 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5490 extra-parts.
5491
feeeff5c
JR
54922011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
5493
5494 * config.host (epiphany-*-elf*): New configuration.
5495 * config/epiphany: New Directory.
5496
d618bb2c
RC
54972011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
5498
5499 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5500 * config/avr/t-rtems: New.
5501 Filter out _exit from LIB1ASMFUNCS.
5502
1bb6f778
DM
55032011-11-04 David S. Miller <davem@davemloft.net>
5504
5505 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5506 * configure: Rebuild.
5507
9a7f7422
AK
55082011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5509
5510 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5511 variable.
5512
e4fe948a
GJL
55132011-11-04 Georg-Johann Lay <avr@gjlay.de>
5514
5515 PR target/50931
5516 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5517 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5518
7084e037
JS
55192011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
5520
5521 PR target/50989
5522 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5523
1a032034
RO
55242011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5525
5526 * config/c6x/t-elf (LIB2ADDEH): Set.
5527 * config/c6x/t-c6x-elf: Remove.
5528
d385f772
RO
55292011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5530
5531 * config/i386/sol2-ci.S: Rename to ...
5532 * config/i386/crti.S: ... this.
5533 * config/i386/sol2-cn.S: Rename to ...
5534 * config/i386/crtn.S: ... this.
5535 * config/sparc/sol2-ci.S: Rename to ...
5536 * config/sparc/crti.S: ... this.
5537 * config/sparc/sol2-cn.S: Rename to ...
5538 * config/sparc/crtn.S: ... this.
5539 * config/t-sol2 (CUSTOM_CRTIN): Remove.
5540 (crti.o, crtn.o): Remove.
5541
1ba878a9
TG
55422011-11-04 Tristan Gingold <gingold@adacore.com>
5543
5544 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5545
02750c15
KK
55462011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
5547
5548 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5549
bf86b067
HPN
55502011-11-03 Hans-Peter Nilsson <hp@axis.com>
5551
5552 * config.host (crisv32-*-none, cris-*-none): Remove.
5553 (crisv32-*-elf): Append to tmake_file, don't just set it.
5554 (cris-*-elf): Add missing t-fdpbit to tmake_file.
5555
d0bc53bd
RO
55562011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5557
5558 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5559 (ecrtn$(objext)): Likewise.
5560 (ncrti$(objext)): Likewise.
5561 (ncrtn$(objext)): Likewise.
5562
036da830
AS
55632011-11-03 Andreas Schwab <schwab@redhat.com>
5564
5565 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5566
d2a7d041
DM
55672011-11-02 David S. Miller <davem@davemloft.net>
5568
5569 * configure.ac: Set host_address on sparc too.
5570 * configure: Regenerate.
5571 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5572 based upon host_address.
5573 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5574
af8ed618
JM
55752011-11-02 Jason Merrill <jason@redhat.com>
5576
5577 * config/rs6000/t-ppccomm: Add missing \.
5578
5d1c8e77
RO
55792011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5580
5581 * gthr-single.h, gthr.h: New files.
5582 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5583 config/gthr-vxworks.h, config/i386/gthr-win32.h,
5584 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5585 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5586 * config/i386/gthr-win32.c: Include "gthr-win32.h".
5587 * configure.ac (thread_header): New variable.
5588 Set it depending on target_thread_file.
5589 (gthr-default.h): Link from $thread_header.
5590 * configure: Regenerate.
5591 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5592
852b75ed
RO
55932011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5594
5595 * configure.ac (tm_file_): New variable.
5596 Determine from tm_file.
5597 (tm_file, tm_defines): Substitute.
5598 * configure: Regenerate.
5599 * mkheader.sh: New file.
5600 * Makefile.in (clean): Remove libgcc_tm.h.
5601 ($(objects)): Depend on libgcc_tm.h.
5602 (libgcc_tm_defines, libgcc_tm_file): New variables.
5603 (libgcc_tm.h, libgcc_tm.stamp): New targets.
5604 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5605 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5606 ($(extra-parts)): Depend on libgcc_tm.h.
5607 * config.host (tm_defines, tm_file): New variable.
5608 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5609 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5610 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5611 (avr-*-rtems*): Likewise.
5612 (avr-*-*): Likewise.
5613 (frv-*-elf): Likewise.
5614 (frv-*-*linux*): Likewise.
5615 (h8300-*-rtems*): Likewise.
5616 (h8300-*-elf*): Likewise.
5617 (i[34567]86-*-darwin*): Likewise.
5618 (x86_64-*-darwin*): Likewise.
5619 (rx-*-elf): Likewise.
5620 (tic6x-*-uclinux): Likewise.
5621 (tic6x-*-elf): Likewise.
5622 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5623 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5624 * config/i386/cygming-crtbegin.c: Likewise.
5625 * config/i386/cygming-crtend.c: Likewise.
5626 * config/ia64/fde-vms.c: Likewise.
5627 * config/ia64/unwind-ia64.c: Likewise.
5628 * config/libbid/bid_gcc_intrinsics.h: Likewise.
5629 * config/rs6000/darwin-fallback.c: Likewise.
5630 * config/stormy16/lib2funcs.c: Likewise.
5631 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5632 * crtstuff.c: Likewise.
5633 * dfp-bit.h: Likewise.
5634 * emutls.c: Likewise.
5635 * fixed-bit.c: Likewise.
5636 * fp-bit.c: Likewise.
5637 * generic-morestack-thread.c: Likewise.
5638 * generic-morestack.c: Likewise.
5639 * libgcc2.c: Likewise.
5640 * libgcov.c: Likewise.
5641 * unwind-dw2-fde-dip.c: Likewise.
5642 * unwind-dw2-fde.c: Likewise.
5643 * unwind-dw2.c: Likewise.
5644 * unwind-sjlj.c: Likewise.
5645
f9989b51
RO
56462011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5647
5648 * configure.ac: Include ../config/picflag.m4.
5649 (GCC_PICFLAG): Call it.
5650 Substitute.
5651 * configure: Regenerate.
5652 * Makefile.in (gcc_srcdir): Remove.
5653 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5654 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5655 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5656 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5657 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5658 Use $<.
5659 Remove comment.
5660 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5661 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5662 to refer to libgcc2.c.
5663 Use $<.
5664 * config/darwin-64.c: New file.
5665 * config/darwin-crt3.c: Remove comment.
5666 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5667 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5668 config/udivmodsi4.c: New files.
5669 * config/memcmp.c, config/memcpy.c, config/memmove.c,
5670 config/memset.c: New files.
5671 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5672 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5673 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5674 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5675 * config/t-openbsd-thread: New file.
5676 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5677 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5678 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5679 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5680 qrnnd.S.
5681 Adapt filename.
5682 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5683 to refer to gthr-posix.c.
5684 * config/alpha/t-vms (LIB2ADD): Set.
5685 * config/alpha/vms-gcc_shell_handler.c: New file.
5686 * config/arm/bpabi.c, config/arm/fp16.c,
5687 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5688 config/arm/unaligned-funcs.c: New files.
5689 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5690 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5691 * config/arm/t-linux: Likewise.
5692 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5693 * config/arm/t-netbsd: New file.
5694 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5695 * config/arm/t-symbian (LIB2ADD_ST): Set.
5696 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5697 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5698 * config/bfin/t-elf: New file.
5699 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5700 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5701 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5702 config/c6x/ltf.c: New files.
5703 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5704 (HOST_LIBGCC2_CFLAGS): Set.
5705 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5706 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5707 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5708 New files.
5709 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5710 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5711 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5712 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5713 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5714 files.
5715 * config/frv/t-frv (LIB2ADD): Set.
5716 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5717 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5718 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5719 config/h8300/popcounthi2.c: New files.
5720 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5721 * config/i386/gthr-win32.c: New file.
5722 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5723 * config/i386/t-cygwin: Likewise.
5724 * config/i386/t-darwin, config/i386/t-darwin64,
5725 config/i386/t-gthr-win32, config/i386/t-interix: New files.
5726 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5727 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5728 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5729 * config/ia64/quadlib.c: New file.
5730 * config/ia64/t-hpux (LIB2ADD): Set.
5731 * config/ia64/t-ia64: Add comment.
5732 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5733 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5734 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5735 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5736 * config/m32c/t-m32c (LIB2ADD): Set.
5737 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5738 * config/m32r/t-m32r: Likewise.
5739 * config/m68k/fpgnulib.c: New file.
5740 * config/m68k/t-floatlib (LIB2ADD): Set.
5741 (xfgnulib.c): New target.
5742 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5743 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5744 * config/mep/t-mep (LIB2ADD): Set.
5745 * config/microblaze/divsi3.asm: Rename to divsi3.S.
5746 * config/microblaze/moddi3.asm: Rename to moddi3.S.
5747 * config/microblaze/modsi3.asm: Rename to modsi3.S.
5748 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5749 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5750 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5751 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5752 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5753 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5754 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5755 New files.
5756 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5757 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5758 * config/pa/fptr.c, config/pa/lib2funcs.S,
5759 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5760 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5761 (LIB2ADD, LIB2ADD_ST): Set.
5762 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5763 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5764 Set.
5765 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5766 * config/pdp11/t-pdp11: New file.
5767 * config/picochip/libgccExtras/adddi3.S,
5768 config/picochip/libgccExtras/ashlsi3.S,
5769 config/picochip/libgccExtras/ashrsi3.S,
5770 config/picochip/libgccExtras/clzsi2.S,
5771 config/picochip/libgccExtras/cmpsi2.S,
5772 config/picochip/libgccExtras/divmod15.S,
5773 config/picochip/libgccExtras/divmodhi4.S,
5774 config/picochip/libgccExtras/divmodsi4.S,
5775 config/picochip/libgccExtras/lshrsi3.S,
5776 config/picochip/libgccExtras/parityhi2.S,
5777 config/picochip/libgccExtras/popcounthi2.S,
5778 config/picochip/libgccExtras/subdi3.S,
5779 config/picochip/libgccExtras/ucmpsi2.S,
5780 config/picochip/libgccExtras/udivmodhi4.S,
5781 config/picochip/libgccExtras/udivmodsi4.S: New files.
5782 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5783 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5784 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5785 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5786 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5787 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5788 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
5789 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5790 files.
5791 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5792 (HOST_LIBGCC2_CFLAGS): Set.
5793 * config/rs6000/t-darwin64: New file.
5794 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5795 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5796 * config/rs6000/t-ppccomm (LIB2ADD): Add
5797 $(srcdir)/config/rs6000/tramp.S.
5798 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5799 Add $(srcdir)/config/rs6000/eabi.S.
5800 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5801 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5802 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5803 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5804 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5805 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5806 * config/rs6000/tramp.S: New file.
5807 * config/s390/t-tpf: Remove.
5808 * config/sh/linux-atomic.S: New file.
5809 * config/sh/t-linux (LIB2ADD): Set.
5810 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5811 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5812 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5813 to unwind-dw2.c.
5814 (HOST_LIBGCC2_CFLAGS): Set.
5815 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5816 * config/spu/divmodti4.c, config/spu/divv2df3.c,
5817 config/spu/float_disf.c, config/spu/float_unsdidf.c,
5818 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5819 config/spu/mfc_multi_tag_release.c,
5820 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5821 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5822 config/spu/multi3.c: New files.
5823 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
5824 (HOST_LIBGCC2_CFLAGS): Set.
5825 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
5826 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
5827 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
5828 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
5829 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
5830 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
5831 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
5832 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
5833 config/stormy16/umodsi3.c: New files.
5834 * config/xtensa/lib2funcs.S: New file.
5835 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5836 * config/xtensa/t-xtensa (LIB2ADD): Set.
5837 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
5838 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
5839 Add t-freebsd-thread to tmake_file for posix threads.
5840 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
5841 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
5842 (*-*-lynxos*): Likewise.
5843 (*-*-netbsd*): Likewise.
5844 (*-*-openbsd*): Likewise.
5845 Add t-openbsd-thread to tmake_file for posix threads.
5846 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
5847 (*-*-vxworks*): Set tmake_file.
5848 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5849 (alpha*-*-freebsd*): Likewise.
5850 (alpha*-*-netbsd*): Likewise.
5851 (alpha*-*-openbsd*): Likewise.
5852 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
5853 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5854 (alpha*-dec-*vms*): Likewise.
5855 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
5856 (bfin*-elf*): Add bfin/t-elf to tmake_file.
5857 (bfin*-uclinux*): Likewise.
5858 (bfin*-linux-uclibc*): Likewise.
5859 (crisv32-*-elf): Add cris/t-cris to tmake_file.
5860 (crisv32-*-none): Likewise.
5861 (cris-*-elf): Likewise.
5862 (cris-*-none): Likewise.
5863 (cris-*-linux*, crisv32-*-linux*): Likewise.
5864 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
5865 tmake_file.
5866 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
5867 tmake_file.
5868 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
5869 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
5870 (x86_64-*-elf*): Likewise.
5871 (i[34567]86-*-nto-qnx*): Likewise.
5872 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
5873 win32 threads.
5874 (x86_64-*-mingw*): Likewise.
5875 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
5876 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
5877 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5878 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5879 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
5880 tmake_file.
5881 (mipsisa64sr71k-*-elf*): Likewise.
5882 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5883 (mips-*-elf*, mipsel-*-elf*): Likewise.
5884 (mips64-*-elf*, mips64el-*-elf*): Likewise.
5885 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5886 (mips*-*-rtems*): Likewise.
5887 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
5888 to tmake_file.
5889 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
5890 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
5891 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
5892 (spu-*-elf*): Likewise.
5893 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
5894
45b86625
RO
58952011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5896
5897 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
5898 $(srcdir) to refer to $(LIB1ASMSRC).
5899 Use $<.
5900 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
5901 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
5902 config/arm/lib1funcs.S: New files.
5903 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
5904 * config/arm/t-arm: New file.
5905 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
5906 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
5907 config/arm/t-strongarm-elf: New files.
5908 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
5909 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
5910 * config/avr/lib1funcs.S: New file.
5911 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5912 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
5913 * config/c6x/lib1funcs.S: New file.
5914 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5915 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
5916 * config/frv/lib1funcs.S: New file.
5917 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5918 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
5919 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
5920 * config/ia64/__divxf3.asm: Rename to ...
5921 * config/ia64/__divxf3.S: ... this.
5922 Adapt lib1funcs.asm filename.
5923 * config/ia64/_fixtfdi.asm: Rename to ...
5924 * config/ia64/_fixtfdi.S: ... this.
5925 Adapt lib1funcs.asm filename.
5926 * config/ia64/_fixunstfdi.asm: Rename to ...
5927 * config/ia64/_fixunstfdi.S: ... this.
5928 Adapt lib1funcs.asm filename.
5929 * config/ia64/_floatditf.asm: Rename to ...
5930 * config/ia64/_floatditf.S: ... this.
5931 Adapt lib1funcs.asm filename.
5932 * config/ia64/lib1funcs.S: New file.
5933 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
5934 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5935 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
5936 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
5937 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
5938 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
5939 * config/mep/lib1funcs.S: New file.
5940 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5941 * config/mips/mips16.S: New file.
5942 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5943 * config/pa/milli64.S: New file.
5944 * config/pa/t-linux, config/pa/t-linux64: New files.
5945 * config/picochip/lib1funcs.S: New file.
5946 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5947 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
5948 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
5949 * config/sh/t-netbsd: New file.
5950 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
5951 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
5952 * config/sh/t-sh64: New file.
5953 * config/sparc/lb1spc.S: New file.
5954 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
5955 filename.
5956 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
5957 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
5958 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
5959 config/xtensa/lib1funcs.S: New files.
5960 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5961 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
5962 tmake_file.
5963 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
5964 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
5965 (arm*-*-linux*): Likewise.
5966 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
5967 arm*-*-linux-*eabi, add arm/t-linux otherwise.
5968 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
5969 (arm*-*-ecos-elf): Likewise.
5970 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5971 (arm*-*-rtems*): Likewise.
5972 (arm*-*-elf): Likewise.
5973 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
5974 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
5975 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
5976 (bfin*-uclinux*): Likewise.
5977 (bfin*-linux-uclibc*): Likewise.
5978 (bfin*-rtems*): Likewise.
5979 (bfin*-*): Likewise.
5980 (fido-*-elf): Merge into m68k-*-elf*.
5981 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
5982 (frv-*-*linux*): Add frv/t-frv to tmake_file.
5983 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
5984 (h8300-*-elf*): Likewise.
5985 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
5986 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
5987 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
5988 (i[34567]86-*-mingw*): Likewise.
5989 (x86_64-*-mingw*): Likewise.
5990 (i[34567]86-*-interix3*): Likewise.
5991 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
5992 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
5993 (m68k-*-elf*): Also handle fido-*-elf.
5994 Add m68k/t-floatlib to tmake_file.
5995 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
5996 (m68k-*-linux*): Likewise.
5997 (m68k-*-rtems*): Likewise.
5998 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
5999 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6000 sh64*-*-*.
6001 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6002 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6003 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6004 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6005 sh/t-netbsd to tmake_file.
6006 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6007 (sh-*-rtems*): Add sh/t-sh to tmake_file.
6008 (sh-wrs-vxworks): Likewise.
6009 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6010 *-leon[3-9]*.
6011 (v850*-*-*): Add v850/t-v850 to tmake_file.
6012 (vax-*-linux*): Add vax/t-linux to tmake_file.
6013 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6014
5f73c6cc
RO
60152011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6016
6017 * crtstuff.c: New file.
6018 * Makefile.in (CRTSTUFF_CFLAGS): Define.
6019 (CRTSTUFF_T_CFLAGS): Define.
6020 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6021 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6022 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6023 crtstuff.c.
6024 Use $<.
6025 (crtbeginT.o): Use $(objext).
6026 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6027 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6028 (gcc-extra-parts): Remove.
6029 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6030 Set extra_parts.
6031 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6032 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6033 Add t-crtstuff-pic to tmake_file.
6034 (*-*-lynxos*): New case.
6035 Set tmake_file, extra_parts.
6036 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6037 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6038 *-*-netbsdelf[2-9]*.
6039 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6040 (*-*-rtems*): Set extra_parts.
6041 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6042 (*-*-uclinux*): New case.
6043 Set extra_parts.
6044 (*-*-vms*): New case.
6045 Set tmake_file, extra_parts.
6046 (*-*-elf): Set extra_parts.
6047 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6048 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6049 vms/t-vms64.
6050 Set extra_parts.
6051 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6052 Set extra_parts.
6053 (arm*-*-freebsd*): Add t-crtin to tmake_file.
6054 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6055 (arm-wrs-vxworks): Append to tmake_file.
6056 Set extra_parts.
6057 (arm*-*-uclinux*): Set extra_parts.
6058 (arm*-*-ecos-elf): Likewise.
6059 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6060 arm*-*-eabi*.
6061 (arm*-*-rtems*): Set extra_parts.
6062 (arm*-*-elf): Likewise.
6063 (avr-*-rtems*): Clear extra_parts.
6064 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6065 Set extra_parts.
6066 (bfin*-uclinux*): Likewise.
6067 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6068 (bfin*-rtems*): Append to tmake_file.
6069 Set extra_parts.
6070 (bfin*-*): Likewise.
6071 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6072 (crisv32-*-elf): ... this.
6073 (crisv32-*-none): ... this.
6074 (cris-*-elf, cris-*-none): New cases.
6075 Add cris/t-elfmulti to tmake_file.
6076 (fr30-*-elf): Append to tmake_file.
6077 Set extra_parts.
6078 (frv-*-elf): Append to tmake_file, add frv/t-frv.
6079 Set extra_parts.
6080 (h8300-*-rtems*): Append to tmake_file.
6081 Set extra_parts.
6082 (h8300-*-elf*): Likewise.
6083 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6084 Set extra_parts.
6085 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6086 Set extra_parts.
6087 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6088 (x86_64-*-elf*): Likewise.
6089 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6090 (x86_64-*-freebsd*): Likewise.
6091 (x86_64-*-netbsd*): Likewise.
6092 (i[34567]86-*-linux*): Likewise.
6093 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6094 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6095 (x86_64-*-linux*): Likewise.
6096 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6097 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6098 tmake_file.
6099 Set extra_parts.
6100 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6101 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6102 Append to extra_parts, remove crtbegin.o, crtend.o.
6103 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6104 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6105 crtend.o, crtbeginS.o, crtendS.o.
6106 (ia64*-*-linux*): Comment extra_parts.
6107 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6108 Set extra_parts.
6109 (iq2000*-*-elf*): Clear extra_parts.
6110 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6111 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6112 (m32r-*-elf*, m32r-*-rtems*): Split off ...
6113 (m32r-*-rtems*): ... this.
6114 Add m32r/t-m32r to tmake_file.
6115 (m68k-*-elf*): Add t-crtin to tmake_file.
6116 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6117 (mcore-*-elf): Likewise.
6118 (microblaze*-*-*): Set extra_parts.
6119 (mips*-sde-elf*): New case.
6120 Set tmake_file, extra_parts.
6121 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6122 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6123 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6124 tmake_file.
6125 Set extra_parts.
6126 (mipsisa64sr71k-*-elf*): Likewise.
6127 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6128 (mips-*-elf*, mipsel-*-elf*): Likewise.
6129 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6130 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6131 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6132 (mips*-*-rtems*): Likewise.
6133 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6134 (moxie-*-*): Split into ...
6135 (moxie-*-elf, moxie-*-uclinux*): ... this.
6136 Add to extra_parts, remove crtbegin.o, crtend.o.
6137 (moxie-*-rtems*): New case.
6138 Set tmake_file.
6139 Clear extra_parts.
6140 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6141 Set extra_parts.
6142 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6143 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6144 tmake_file.
6145 Set extra_parts.
6146 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6147 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6148 Set extra_parts.
6149 (powerpc-*-eabisim*): Likewise.
6150 (powerpc-*-elf*): Likewise.
6151 (powerpc-*-eabialtivec*): Likewise.
6152 (powerpc-xilinx-eabi*): Likewise.
6153 (powerpc-*-eabi*): Likewise.
6154 (powerpc-*-rtems*): Likewise.
6155 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6156 tmake_file.
6157 Set extra_parts.
6158 (powerpc-*-lynxos*): Add to tmake_file.
6159 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6160 rs6000/t-crtstuff, t-crtstuff-pic.
6161 Set extra_parts.
6162 (powerpcle-*-eabisim*): Likewise.
6163 (powerpcle-*-eabi*): Likewise.
6164 (rx-*-elf): Remove extra_parts.
6165 (s390x-ibm-tpf*): Set extra_parts.
6166 (score-*-elf): Set extra_parts.
6167 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6168 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6169 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6170 (sh64l*-*-netbsd*): Split into ...
6171 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6172 Add t-crtstuff-pic to tmake_file.
6173 Set extra_parts.
6174 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6175 Set extra_parts.
6176 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6177 (sparc-*-elf*): Remove t-crtin from tmake_file.
6178 Add to extra_parts, remove crtbegin.o, crtend.o.
6179 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6180 (sparc64-*-linux*): Likewise.
6181 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6182 Add to extra_parts, remove crtbegin.o, crtend.o.
6183 (sparc64-*-elf*): Remove t-crtin from tmake_file.
6184 Add to extra_parts, remove crtbegin.o, crtend.o.
6185 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6186 Add to extra_parts, remove crtbegin.o, crtend.o.
6187 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6188 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6189 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6190 Set extra_parts.
6191 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6192 Set extra_parts.
6193 (tic6x-*-*): Change to ...
6194 (tic6x-*-elf): ... this.
6195 Set extra_parts.
6196 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6197 Set extra_parts.
6198 (am33_2.0-*-linux*): Add comment.
6199 (mep*-*-*): Add mep/t-mep to tmake_file.
6200 Set extra_parts.
6201 * config/alpha/t-vms: New file.
6202 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6203 * config/arm/crti.S, config/arm/crtn.S: New files.
6204 * config/bfin/crti.S, config/bfin/crtn.S: New files.
6205 * config/bfin/crtlibid.S: New file.
6206 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6207 * config/c6x/crti.S, config/c6x/crtn.S: New files.
6208 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6209 (crti.o, crtin.o): New rules.
6210 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6211 * config/c6x/t-uclinux: New file.
6212 * config/cris/t-elfmulti: New file.
6213 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6214 * config/fr30/crti.S, config/fr30/crtn.S: New files.
6215 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6216 * config/frv/t-frv: New file.
6217 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6218 * config/h8300/crti.S, config/h8300/crtn.S: New files.
6219 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6220 New files.
6221 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6222 refer to cygming-crtbegin.c, cygming-crtend.c.
6223 Use $<.
6224 * config/i386/t-nto: New file.
6225 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6226 * config/ia64/crti.S, config/ia64/crtn.S: New files.
6227 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6228 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6229 Use .S extension.
6230 Use $<.
6231 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6232 (crtinitS.o): New rule.
6233 * config/ia64/vms-crtinit.S: New file.
6234 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6235 * config/m32r/initfini.c: New file.
6236 * config/m32r/t-linux, config/m32r/t-m32r: New files.
6237 * config/m68k/crti.S, config/m68k/crtn.S: New files.
6238 * config/mcore/crti.S, config/mcore/crtn.S: New files.
6239 * config/mep/t-mep: New file.
6240 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6241 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6242 * config/mips/crti.S, config/mips/crtn.S: New files.
6243 * config/mips/t-crtstuff: New file.
6244 * config/mmix/crti.S, config/mmix/crtn.S: New files.
6245 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6246 (CUSTOM_CRTIN): Set.
6247 ($(T)crti.o, $(T)crtn.o): Remove $(T),
6248 dependencies.
6249 Use $(srcdir) to refer to crti.S, crtn.S.
6250 Use .S extension, $<.
6251 * config/moxie/crti.asm: Rename to ...
6252 * config/moxie/crti.S: ... this.
6253 * config/moxie/crtn.asm: Rename to ...
6254 * config/moxie/crtn.S: ... this.
6255 * config/moxie/t-moxie: Remove.
6256 * config/pa/stublib.c: New file.
6257 * config/pa/t-stublib, config/pa/t-stublib64: New files.
6258 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6259 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6260 * config/rs6000/t-crtstuff: New file.
6261 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6262 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6263 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6264 Make output file explicit.
6265 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6266 Make output file explicit.
6267 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6268 Make output file explicit.
6269 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6270 Make output file explicit.
6271 * config/score/crti.S, config/score/crtn.S: New files.
6272 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6273 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6274 files.
6275 * config/sh/t-sh, config/sh/t-superh: New files.
6276 * config/sparc/t-linux64: New file.
6277 * config/spu/cache.S, config/spu/cachemgr.c: New files.
6278 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6279 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6280 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6281 * config/t-crtin: Remove.
6282 * config/t-crtstuff-pic: New file.
6283 * config/t-sol2 (CUSTOM_CRTIN): Set.
6284 (crti.o, crtn.o): New rules.
6285 * config/vms/t-vms: New file.
6286 * config/vms/vms-ucrt0.c: New file.
6287 * config/xtensa/t-elf: New file.
6288
b040f2be
RO
62892011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6290
6291 * Makefile.in (SHLIB_NM_FLAGS): Set.
6292 * mkmap-flat.awk, mkmap-symver.awk: New files.
6293 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6294 exceptions.
6295 * configure: Regenerate.
6296 * config/libgcc-glibc.ver: New file.
6297 * config/libgcc-libsystem.ver: New file.
6298 * config/t-libunwind (SHLIB_LC): Set.
6299 * config/t-linux: New file.
6300 * config/t-slibgcc (INSTALL_SHLIB): New.
6301 (SHLIB_INSTALL): Use it.
6302 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6303 to mkmap-symver.awk.
6304 (SHLIB_MAPFILES): Don't append, adapt pathname.
6305 (SHLIB_VERPFX): Set.
6306 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6307 to mkmap-symver.awk.
6308 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6309 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6310 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6311 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6312 to mkmap-flat.awk.
6313 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6314 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6315 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6316 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6317 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6318 * config/i386/libgcc-darwin.10.4.ver,
6319 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6320 New files.
6321 * config/i386/t-darwin: Remove.
6322 * config/i386/t-darwin64: Likewise.
6323 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6324 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6325 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6326 * config/i386/t-linux: New file.
6327 * config/i386/t-mingw32: New file.
6328 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6329 * config/ia64/t-glibc: Rename to ...
6330 * config/ia64/t-linux: ... this.
6331 (SHLIB_MAPFILES): Set.
6332 * config/ia64/t-glibc-libunwind: Rename to ...
6333 * config/ia64/t-linux-libunwind: ... this.
6334 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6335 * config/ia64/t-slibgcc-hpux: New file.
6336 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6337 * config/m68k/t-slibgcc-elf-ver: New file.
6338 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6339 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6340 to mkmap-flat.awk.
6341 * config/pa/t-slibgcc-hpux: New file.
6342 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6343 files.
6344 * config/rs6000/libgcc-darwin.10.4.ver,
6345 config/rs6000/libgcc-darwin.10.5.ver: New files.
6346 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6347 config/rs6000/libgcc-glibc.ver.
6348 * config/rs6000/libgcc-ppc64.ver: Rename to
6349 config/rs6000/libgcc-ibm-ldouble.ver.
6350 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6351 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6352 * config/rs6000/t-ldbl128: Rename to ...
6353 * config/rs6000/t-linux: ... this.
6354 (SHLIB_MAPFILES): Adapt filename.
6355 * config/rs6000/t-slibgcc-aix: New file.
6356 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6357 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6358 libgcc-excl.ver, libgcc-glibc.ver.
6359 (SHLIB_LINK, SHLIB_INSTALL): Remove.
6360 * config/sparc/libgcc-glibc.ver: New file.
6361 * config/sparc/t-linux: New file.
6362 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6363 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6364 t-slibgcc-elf-ver to tmake_file.
6365 Add t-slibgcc-nolc-override to tmake_file for posix threads on
6366 *-*-freebsd[34].
6367 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6368 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6369 t-slibgcc-elf-ver, t-linux to tmake_file.
6370 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6371 tmake_file.
6372 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6373 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6374 (alpha*-dec-*vms*): Likewise.
6375 (arm*-*-freebsd*): Append to tmake_file.
6376 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6377 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6378 arm*-*-linux-*eabi.
6379 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6380 tmake_file for arm*-*-symbianelf*.
6381 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6382 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6383 cris/t-linux.
6384 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6385 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6386 pa/t-slibgcc-dwarf-ver to tmake_file.
6387 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6388 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6389 (hppa*64*-*-hpux11*): Likewise.
6390 (hppa[12]*-*-hpux11*): Likewise.
6391 (x86_64-*-darwin*): Don't override tmake_file, but only keep
6392 i386/t-crtpc, i386/t-crtfm.
6393 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6394 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6395 to tmake_file.
6396 Add i386/t-cygwin to tmake_file.
6397 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6398 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6399 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6400 to tmake_file.
6401 Add i386/t-mingw32 to tmake_file.
6402 (x86_64-*-mingw*): Likewise.
6403 (ia64*-*-freebsd*): Append to tmake_file.
6404 (ia64*-*-linux*): Append to tmake_file.
6405 Replace ia64/t-glibc by ia64/t-linux.
6406 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6407 system libunwind.
6408 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6409 t-slibgcc-hpux to tmake_file.
6410 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6411 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6412 (m32rle-*-linux*): Likewise.
6413 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6414 sjlj exceptions.
6415 (microblaze*-linux*): New case.
6416 Append to tmake_file, add t-slibgcc-nolc-override.
6417 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6418 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6419 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6420 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6421 rs6000/t-slibgcc-aix to tmake_file.
6422 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6423 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6424 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6425 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6426 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6427 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6428 sh*-*-linux*.
6429 (sparc-*-linux*): Append to tmake_file for *-leon*.
6430 Add sparc/t-linux to tmake_file for non-Leon targets.
6431 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6432 (tic6x-*-uclinux): New case.
6433 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6434 (tic6x-*-*): Add c6x/t-elf to tmake_file.
6435 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6436 (am33_2.0-*-linux*): Append to tmake_file.
6437 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6438 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6439 x86_64-*-kfreebsd*-gnu.
6440 Add i386/t-linux to tmake_file.
6441
18b4bd7b
ILT
64422011-10-28 Ian Lance Taylor <iant@google.com>
6443
6444 * config/i386/morestack.S: Correct CFI information to do proper
6445 returns throughout function. In 32-bit mode, save %ebx so that it
6446 is restored on unwind.
6447
5b2d9d90
BS
64482011-10-25 Bernd Schmidt <bernds@codesourcery.com>
6449
6450 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6451 case where B3 isn't the return register.
6452
0d53e346
BS
6453 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6454 logic for doubleword pops.
6455
cbffbd59
AT
64562011-10-25 Andreas Tobler <andreast@fgznet.ch>
6457
6458 * config/rs6000/t-freebsd: Add wildcard.
6459
56dc349e
PB
64602011-10-21 Paul Brook <paul@codesourcery.com>
6461
6462 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6463
1e06b07d
UB
64642011-10-16 Uros Bizjak <ubizjak@gmail.com>
6465 Eric Botcazou <ebotcazou@adacore.com>
6466
6467 PR target/50737
6468 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6469 fs->signal_frame to 1.
6470
b5204884
ILT
64712011-10-07 Ian Lance Taylor <iant@google.com>
6472
6473 * generic-morestack-thread.c: #include <errno.h>.
6474
91a639a1
ILT
64752011-10-07 Ian Lance Taylor <iant@google.com>
6476
6477 PR target/46093
6478 * generic-morestack.c (__generic_morestack): Make sure the segment
6479 is large enough for both the stack frame and the copied
6480 parameters.
6481
cc49116d
RO
64822011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6483
6484 PR bootstrap/49804
6485 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6486 extra_parts.
6487
2996d8c3
NC
64882011-09-28 Nick Clifton <nickc@redhat.com>
6489
6490 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6491 64-bit doubles are not enabled.
6492 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6493 and floatunsisf functions.
6494
1e874273 64952011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 6496
1e874273
PB
6497 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
6498 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6499 * unwind-arm-common.inc: New file.
6500 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6501 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6502 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6503 * config/c6x/libunwind.S: New file.
6504 * config/c6x/pr-support.c: New file.
6505 * config/c6x/unwind-c6x.c: New file.
6506 * config/c6x/unwind-c6x.h: New file.
6507 * config/c6x/t-c6x-elf: New file.
6508
f70c879a
UB
65092011-08-23 Uros Bizjak <ubizjak@gmail.com>
6510
6511 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6512 (ASM_DIVZERO): Ditto.
6513 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6514
c55b374b
RS
65152011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
6516
6517 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6518
1e138510
RS
65192011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
6520
6521 PR target/50090
6522 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6523 instead of an assembly one.
6524
1563503d
PB
65252011-08-12 Paolo Bonzini <bonzini@gnu.org>
6526
6527 PR bootstrap/50047
6528 * Makefile.in (install-unwind_h): Create
6529 $(gcc_objdir)/include/unwind.h atomically.
6530
3627ac1a
RO
65312011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6532
6533 * Makefile.in (install-unwind_h): Remove destination file first.
6534
c6412d86
RO
65352011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6536
6537 * sync.c: New file.
6538 * config/mips/t-mips16: New file.
6539 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6540 (mips*-*-linux*): Likewise.
6541 (mips*-sde-elf*): Likewise.
6542 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6543 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6544 Add mips/t-mips16 to tmake_file.
6545 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6546 (mips-*-elf*): Likewise.
6547 (mips64-*-elf*): Likewise.
6548 (mips64orion-*-elf*): Likewise.
6549 (mips*-*-rtems*): Likewise.
6550 (mipstx39-*-elf*): Likewise.
6551 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6552 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6553 LIBGCC_SYNC_CFLAGS.
6554 Use $(srcdir) to refer to sync.c.
6555 Use $<.
6556 ($(libgcc-sync-funcs-o)): Likewise.
6557 ($(libgcc-sync-size-funcs-s-o)): Likewise.
6558 ($(libgcc-sync-funcs-s-o)): Likewise.
6559
3cb6e5bd
AS
65602011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6561
6562 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6563 t-libunwind.
6564
cca2207a
L
65652011-08-08 H.J. Lu <hongjiu.lu@intel.com>
6566
6567 PR other/48007
6568 * config/i386/value-unwind.h: New.
6569
ed39fbad
RS
65702011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
6571
6572 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6573 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6574 Add to tmake_file rather than overriding it.
6575
aca0b0b3
RO
65762011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6577
6578 * config/t-softfp: Remove.
6579 * soft-fp: Moved from ../gcc/config.
6580 * soft-fp/README: Remove t-softfp reference.
6581 * soft-fp/t-softfp: Move to config/t-softfp.
6582 (softfp_machine_header): Remove.
6583 (softfp_file_list): Remove config subdir.
6584 (soft-fp-objects): New variable.
6585 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6586 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6587 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6588 * config/t-softfp-excl: New file.
6589 * config/t-softfp-sfdf: New file.
6590 * config/t-softfp-tf: New file.
6591 * config/no-sfp-machine.h: New file.
6592 * config/arm/sfp-machine.h: New file.
6593 * config/arm/t-softfp: New file.
6594 * config/c6x/sfp-machine.h: New file.
6595 * config/i386/32/t-fprules-softfp: Rename to ...
6596 * config/i386/32/t-softfp: ... this.
6597 (tifunctions, LIB2ADD): Remove.
6598 (softfp_int_modes): Override.
6599 * config/i386/64/t-softfp-compat (tf-functions): Remove config
6600 subdir.
6601 * config/i386/64/eqtf2.c: Likewise.
6602 * config/i386/64/getf2.c: Likewise.
6603 * config/i386/64/letf2.c: Likewise.
6604 * config/ia64/sft-machine.h: New file.
6605 * config/ia64/t-fprules-softfp: Rename to ...
6606 * config/ia64/t-softfp: ... this.
6607 * config/lm32/sfp-machine.h: New file.
6608 * config/moxie/t-moxie-softfp: Remove.
6609 * config/rs6000/ibm-ldouble-format: New file.
6610 * config/rs6000/ibm-ldouble.c: New file.
6611 * config/rs6000/libgcc-ppc-glibc.ver: New file
6612 * config/rs6000/libgcc-ppc64.ver: New file
6613 * config/rs6000/sfp-machine.h: New file.
6614 * config/rs6000/t-freebsd: New file.
6615 * config/rs6000/t-ibm-ldouble: New file.
6616 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6617 libgcc-ppc-glibc.ver.
6618 * config/rs6000/t-linux64: New file.
6619 * config/rs6000/t-ppccomm (LIB2ADD): Add
6620 $(srcdir)/config/rs6000/ibm-ldouble.c.
6621 * config/rs6000/t-ppccomm-ldbl: New file.
6622 * config/score/sfp-machine.h: New file.
6623 * config.host (sfp_machine_header): Explain.
6624 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6625 t-softfp to tmake_file.
6626 (arm*-*-uclinux*): Likewise.
6627 (arm*-*-ecos-elf): Likewise.
6628 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6629 (arm*-*-rtems*): Likewise.
6630 (arm*-*-elf): Likewise.
6631 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6632 in tmake_file.
6633 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6634 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6635 (lm32-*-uclinux*): Likewise.
6636 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6637 t-softfp-excl, t-softfp.
6638 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6639 (powerpc64-*-darwin*): Likewise.
6640 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6641 to tmake_file.
6642 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6643 tmake_file.
6644 (powerpc-*-eabisim*): Likewise.
6645 (powerpc-*-elf*): Likewise.
6646 (powerpc-*-eabialtivec*): Likewise.
6647 (powerpc-xilinx-eabi*): Likewise.
6648 (powerpc-*-rtems*): Likewise.
6649 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6650 t-softfp-excl, t-softfp to tmake_file.
6651 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6652 rs6000/t-ppccomm-ldbl to tmake_file.
6653 (powerpcle-*-elf*): Likewise.
6654 (powerpcle-*-eabisim*): Likewise.
6655 (powerpcle-*-eabi*): Likewise.
6656 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6657 rs6000/t-ibm-ldouble to tmake_file.
6658 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6659 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6660 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6661 (tic6x-*-*): Likewise.
6662 (i[34567]86-*-darwin*, x86_64-*-darwin*,
6663 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6664 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6665 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6666 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6667 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6668 t-softfp to tmake_file.
6669 * configure.ac (sfp_machine_header): Provide default if unset.
6670 Substitute.
6671 Link sfp-machine.h to config/$sfp_machine_header.
6672 * configure: Regenerate.
6673
569dc494
RO
66742011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6675
6676 * Makefile.in (double_type_size, long_double_type_size): Set.
6677 Remove $(fpbit-in-libgcc) support.
6678 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6679 (fpbit-src): New variable.
6680 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6681 Compile with -DFLOAT $(FPBIT_CFLAGS).
6682 Use $<.
6683 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6684 Compile with $(FPBIT_CFLAGS).
6685 Use $<.
6686 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6687 Compile with -DFLOAT $(TPBIT_CFLAGS).
6688 Use $<.
6689 * configure.ac (double_type_size, long_double_type_size):
6690 Determine and substitute.
6691 * configure: Regenerate.
6692 * fp-bit.c, fp-bit.h: New files.
6693 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6694 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6695 * config/mips/t-mips: New file.
6696 * config/mips/t-sdemtk: New file.
6697 * config/rs6000/ppc64-fp.c: New file.
6698 * config/rs6000/t-darwin (LIB2ADD): Add
6699 $(srcdir)/config/rs6000/ppc64-fp.c.
6700 * config/rs6000/t-ppc64-fp: New file.
6701 * config/rx/rx-lib.h: New file.
6702 * config/rx/t-rx (FPBIT): Set to true.
6703 ($(gcc_objdir)/fp-bit.c): Remove.
6704 (DPBIT): Set to true only with -m64bit-doubles.
6705 ($(gcc_objdir)/dp-bit.c): Remove.
6706 * config/sparc/t-softfp: Remove.
6707 * config/spu/t-elf: New file.
6708 * config/t-fdpbit, config/t-fpbit: New files.
6709 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6710 (mips*-*-*): Likewise.
6711 (arm-wrs-vxworks): Likewise.
6712 (arm*-*-freebsd*): Likewise.
6713 (avr-*-rtems*): Add t-fpbit to tmake_file.
6714 (avr-*-*): Likewise.
6715 (bfin*-elf*): Add t-fdpbit to tmake_file.
6716 (bfin*-uclinux*): Likewise.
6717 (bfin*-linux-uclibc*): Likewise.
6718 (bfin*-rtems*): New case.
6719 Add t-fdpbit to tmake_file.
6720 (bfin*-*): Add t-fdpbit to tmake_file.
6721 (crisv32-*-elf): Likewise.
6722 (cris-*-linux*): Likewise.
6723 (fr30-*-elf): Likewise.
6724 (frv-*-elf, frv-*-*linux*): Likewise.
6725 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6726 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6727 (m32r-*-elf*): Likewise.
6728 (m32rle-*-elf*): Likewise.
6729 (m32r-*-linux*): Likewise.
6730 (m32rle-*-linux*): Likewise.
6731 (mcore-*-elf): Add t-fdpbit to tmake_file.
6732 (microblaze*-*-*): Likewise.
6733 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6734 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6735 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6736 Fix typo.
6737 Add mips/t-tpbit to tmake-file.
6738 (mips*-*-linux*): Fix typo.
6739 (mips*-sde-elf*): New case
6740 Add mips/t-sdemtk unless using newlib.
6741 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6742 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6743 (mn10300-*-*): Likewise.
6744 (pdp11-*-*): Likewise.
6745 (picochip-*-*): Add t-fpbit to tmake_file.
6746 (powerpc-*-eabisimaltivec*): Likewise.
6747 (powerpc-*-eabisim*): Likewise.
6748 (powerpc-*-elf*): Likewise.
6749 (powerpc-*-eabialtivec*): Likewise.
6750 (powerpc-xilinx-eabi*): New case.
6751 Add t-fdpbit to tmake_file.
6752 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
6753 (powerpc-*-rtems*): Likewise.
6754 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6755 tmake_file.
6756 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6757 tmake_file.
6758 (powerpc-*-lynxos*): Likewise.
6759 (powerpcle-*-elf*): Likewise.
6760 (powerpcle-*-eabisim*): Likewise.
6761 (powerpcle-*-eabi*): Likewise.
6762 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6763 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6764 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6765 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6766 (rx-*-elf): Add t-fdpbit to tmake_file.
6767 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6768 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6769 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6770 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6771 sh*-*-netbsd*.
6772 (sh-*-rtems*): Add t-fdpbit to tmake_file.
6773 (sh-wrs-vxworks): Likewise.
6774 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6775 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6776 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6777 (sparc64-*-rtems*): ... new case.
6778 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6779 (spu-*-elf*): Likewise.
6780 Add spu/t-elf to tmake_file.
6781 (v850*-*-*): Add t-fdpbit to tmake_file.
6782 (xstormy16-*-elf): Likewise.
6783 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6784 (mep*-*-*): Likewise.
6785
201cdb74
RO
67862011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6787
6788 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6789 variables.
6790 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6791 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6792 (install-unwind_h): New target.
6793 (all): Depend on it.
6794 * config.host (unwind_header): New variable.
6795 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6796 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6797 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6798 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6799 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6800 Set unwind_header.
6801 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6802 Set unwind_header.
6803 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6804 arm*-*-eabi*.
6805 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6806 Set unwind_header.
6807 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6808 (ia64*-*-freebsd*): Likewise.
6809 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6810 tmake_file.
6811 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6812 $with_system_libunwind.
6813 (ia64*-*-hpux*): Set tmake_file.
6814 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6815 (picochip-*-*): Set tmake_file.
6816 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6817 md_unwind_header.
6818 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6819 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6820 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6821 (xtensa*-*-elf*): Set tmake_file.
6822 (xtensa*-*-linux*): Likewise.
6823 * configure.ac: Include ../config/unwind_ipinfo.m4.
6824 Call GCC_CHECK_UNWIND_GETIPINFO.
6825 Link unwind.h to $unwind_header.
6826 * configure: Regenerate.
6827 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
6828 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
6829 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
6830 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
6831 * config/unwind-dw2-fde-darwin.c: New file.
6832 * config/arm/libunwind.S, config/arm/pr-support.c,
6833 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
6834 config/arm/unwind-arm.h,: New files.
6835 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
6836 config/ia64/t-eh-ia64, config/ia64/t-glibc,
6837 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
6838 config/ia64/t-vms, config/ia64/unwind-ia64.c,
6839 config/ia64/unwind-ia64.h: New files.
6840 * config/picochip/t-picochip: New file.
6841 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
6842 files.
6843 * config/rs6000/t-darwin (LIB2ADDEH): Set.
6844 * config/s390/t-tpf (LIB2ADDEH): Remove.
6845 * config/t-darwin (LIB2ADDEH): Set.
6846 * config/t-eh-dw2-dip: New file.
6847 * config/t-libunwind, config/t-libunwind-elf: New files.
6848 * config/t-sol2 (LIB2ADDEH): Remove.
6849 * config/xtensa/t-xtensa: New file.
6850
40f2f11f
L
68512011-08-02 H.J. Lu <hongjiu.lu@intel.com>
6852
6853 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
6854 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
6855 long long to check rt_sigreturn syscall.
6856
bd15e32c
AM
68572011-08-02 Alan Modra <amodra@gmail.com>
6858
6859 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6860 Restore for indirect call bcrtl from correct stack slot, and only
6861 if cfa+40 isn't valid.
6862
655b30bf
JB
68632011-08-01 Julian Brown <julian@codesourcery.com>
6864
6865 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
6866 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
6867 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
6868
247eb06f
JB
68692011-08-01 Julian Brown <julian@codesourcery.com>
6870
6871 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
6872 (libgcc-std.ver.in): Use above.
6873 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
6874 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
6875 throughout file.
6876 * config/t-fixedpoint-gnu-prefix: New file.
6877 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
6878 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
6879 instead of __PFX__.
6880
02a8fe00
L
68812011-07-28 H.J. Lu <hongjiu.lu@intel.com>
6882
6883 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
6884 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
6885 for x86-64. Properly check __x86_64__ and __LP64__.
6886
5fce9126
L
68872010-07-28 H.J. Lu <hongjiu.lu@intel.com>
6888
6889 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
6890 version.
6891 (_FP_WS_TYPE): Likewise.
6892 (_FP_I_TYPE): Likewise.
6893
2374a88a
AM
68942011-07-28 Alan Modra <amodra@gmail.com>
6895
6896 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6897 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
6898 in a plt call stub. Do restore r2 if stopped on bctrl.
6899
e44dbbe1
RO
69002011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6901
6902 * config.host (i[3456x]86-*-netware*): Remove.
6903 * config/i386/netware-crt0.c, config/i386/t-nwld,
6904 config/i386/t-slibgcc-nwld: Remove.
6905
bcead286
BS
69062011-07-15 Bernd Schmidt <bernds@codesourcery.com>
6907
6908 * config.host: Handle tic6x-*-*.
6909 * config/c6x/c6x-abi.h: New file.
6910
b3fe1584
RO
69112011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6912
6913 * config/i386/crtprec.c: New file.
6914 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
6915 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
6916 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
6917 (x86_64-*-darwin*): Likewise.
6918 (i[34567]86-*-solaris2*: Likewise.
6919
35d8090d
RO
69202011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6921
6922 * config/alpha/crtfastmath.c: New file.
6923 * config/i386/crtfastmath.c: New file.
6924 * config/ia64/crtfastmath.c: New file.
6925 * config/mips/crtfastmath.c: New file.
6926 * config/sparc/crtfastmath.c: New file.
6927
6928 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
6929 crtfastmath.c.
6930 Add -frandom-seed=gcc-crtfastmath.
6931 * config/alpha/t-crtfm: Remove.
6932 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
6933 * config/ia64/t-ia64 (crtfastmath.o): Remove.
6934
6935 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
6936 (alpha*-dec-osf5.1*): Likewise.
6937 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
6938 Add crtfastmath.o to extra_parts.
6939 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
6940 Add crtfastmath.o to extra_parts.
6941 (x86_64-*-darwin*): Likewise.
6942 (x86_64-*-mingw*): Likewise.
6943 (ia64*-*-elf*): Add t-crtfm to tmake_file.
6944 (ia64*-*-freebsd*): Likewise.
6945 (ia64*-*-linux*): Likewise.
6946 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
6947 Add crtfastmath.o to extra_parts.
6948
e141542e
RO
69492011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6950
6951 * config/darwin-crt3.o: New file.
6952 * config/rs6000/darwin-crt2.c: New file.
6953 * config/t-darwin: New file.
6954 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
6955 (crt2.o): New rule.
6956 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
6957 (powerpc-*-darwin*): Add crt2.o to extra_parts.
6958 (powerpc64-*-darwin*): Likewise.
6959
2d1efe2d
RO
69602011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6961
6962 * config/i386/netware-crt0.c: New file.
6963 * config/i386/t-nwld: Rename to ...
6964 * config/i386/t-slibgcc-nwld: ... this.
6965 * config/i386/t-nwld: New file.
6966 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
6967 tmake_file.
6968 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
6969 extra_parts.
6970
4a8bb046
RO
69712011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6972
6973 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
6974 i386/t-crtstuff.
6975 * configure: Regenerate.
6976
2d8d5935
RO
69772011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6978
6979 * dfp-bit.c, dfp-bit.h: New files.
6980 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
6981 variables.
6982 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
6983 ($(d64pbit-o)): Likewise.
6984 ($(d128pbit-o)): Likewise.
6985 * config/t-dfprules: New file.
6986 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
6987 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
6988 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6989 (x86_64-*-linux*): Likewise.
6990 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6991 (i[34567]86-*-cygwin*): Likewise.
6992 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
6993 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6994
2c50b2c3
RO
69952011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6996
6997 * Makfile.in (LIBGCOV): New variable.
6998 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
6999 * libgcov.c: New file.
7000
a039d7c2
RO
70012011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7002
7003 * fixed-bit.c, fixed-bit.h: New files.
7004 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7005 refer to fixed-bit.c.
7006
1e4b2746
JM
70072011-07-07 Joseph Myers <joseph@codesourcery.com>
7008
7009 * config.host (*local*): Remove.
7010
fbdd5d87
RO
70112011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7012
7013 PR target/39150
7014 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7015 like i?86-*-solaris2.1[0-9]*.
7016 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7017 * configure.ac (i?86-*-solaris2*): Likewise.
7018 * configure: Regenerate.
7019
9e7714f4
TS
70202011-07-06 Thomas Schwinge <thomas@schwinge.name>
7021
7022 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7023 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7024 md_unwind_header by splitting out of...
7025 (i[34567]86-*-linux*): ... this.
7026 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7027 Remove md_unwind_header by splitting out of...
7028 (x86_64-*-linux*): ... this.
7029
6dab9931
GJL
70302011-07-04 Georg-Johann Lay <avr@gjlay.de>
7031
7032 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7033
4be46d19
NC
70342011-06-28 Nick Clifton <nickc@redhat.com>
7035
7036 * config.host: Recognize all V850 variants.
7037
1da9434b
UB
70382011-06-22 Uros Bizjak <ubizjak@gmail.com>
7039
7040 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7041
e4d48a4d
RO
70422011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7043
7044 * shared-object.mk (c_flags-$o): Save c_flags.
7045 ($(base)$(objext)): Use it.
7046 ($(base)_s$(objext)): Likewise.
7047
3801c801
BS
70482011-06-21 Bernd Schmidt <bernds@codesourcery.com>
7049
7050 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7051 * libgcc-std.ver.in (GCC_4.7.0): New section.
7052
0ad8bb3b 70532011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 7054
0ad8bb3b
GJL
7055 PR target/49313
7056 PR target/29524
7057 * config/avr/t-avr: Fix line endings.
7058 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
7059 _parityXX2.
7060
ea963999
OH
70612011-06-14 Olivier Hainque <hainque@adacore.com>
7062 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7063
7064 * config/mips/irix6-unwind.h: New file.
7065 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7066
b11b0904
EB
70672011-06-10 Eric Botcazou <ebotcazou@adacore.com>
7068
7069 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7070 (sparc64_fallback_frame_state): Use it.
7071 (sparc64_frob_update_context): Further adjust context.
7072 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7073 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7074 * config/sparc/sol2-cn.S: Likewise.
7075
10e48e39
RO
70762011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7077
7078 * enable-execute-stack-empty.c: New file.
7079 * enable-execute-stack-mprotect.c: New file.
7080 * config/i386/enable-execute-stack-mingw32.c: New file.
7081 * config.host (enable_execute_stack): New variable.
7082 Select appropriate variants.
7083 * configure.ac: Link enable-execute-stack.c to
7084 $enable_execute_stack.
7085 * configure: Regenerate.
7086 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7087 (lib2funcs): Remove _enable_execute_stack.
7088
10c4cabc
DM
70892011-06-09 David S. Miller <davem@davemloft.net>
7090 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7091
7092 * config.host (sparc-*-linux*): Correct md_unwind_header
7093 filename.
7094 (s390x-ibm-tpf*): Fix typo.
7095
aa4203e7
RO
70962011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7097
7098 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7099 Add crtfastmath.o to extra_parts.
7100 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7101 mips/t-crtfm.
7102 * config/mips/t-crtfm: Remove.
7103
0defd786
JDA
71042011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7105
7106 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7107
82f247af
KK
71082011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7109
7110 * config.host (sh*-*-linux*): Fix typo.
7111
58cd1d70
RO
71122011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7113
7114 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7115 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7116 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7117 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7118 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7119 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7120 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7121 Wrap in !__MINGW64__.
7122 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7123 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7124 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7125 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7126 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7127 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7128 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7129 Wrap in !__LP64__.
7130 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7131 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7132 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7133 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7134 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7135 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7136 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7137 * config/no-unwind.h: New file.
7138 * config.host (md_unwind_header): Document.
7139 Define.
7140 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7141 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7142 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7143 hppa[12]*-*-hpux11*): Set md_unwind_header.
7144 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7145 Set md_unwind_header.
7146 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7147 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7148 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7149 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7150 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7151 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7152 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7153 md_unwind_header.
7154 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7155 * configure: Regenerate.
7156
737346fa
RO
71572011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7158
7159 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7160 Set tmake_file, extra_parts.
7161 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7162 Remove O32 support.
7163 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7164 Remove O32 support.
7165 * config/mips/t-irix6: New file.
7166 * config/mips/t-slibgcc-irix: New file.
7167
c192cee6
RO
71682011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7169
7170 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7171 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7172
ee33b5f0
RO
71732011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7174
7175 * configure.ac (target_thread_file): Determine thread model.
7176 * configure: Regenerate.
7177 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7178 * config/alpha/t-alpha: New file.
7179 * config/alpha/t-crtfm: Use $<.
7180 * config/alpha/t-ieee: New file.
7181 * config/alpha/t-osf-pthread: New file.
7182 * config/alpha/t-slibgcc-osf: New file.
7183 * config/alpha/libgcc-osf5.ver: New file.
7184
0699e415
RO
71852011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7186
7187 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7188 tmake_file.
7189 Add crtfastmath.o to extra_parts.
7190
a3fab9c2
RO
71912011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7192
7193 * config/gmon-sol2.c: Reindent.
7194 Cleanup comments.
7195 Remove, correct casts.
7196 Use STDERR_FILENO, NULL.
7197 (BASEADDRESS): Remove.
7198 (minbrk): Remove.
7199 (errno, sbrk): Remove declarations.
7200 (monstartup) [hp300]: Remove.
7201 (mcount): Remove.
7202
ca24c5ad
RO
72032011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7204
7205 * Makefile.in (cpu_type): Define.
7206 * config.host (i[34567]86-*-rtems*): Handle it.
7207 (i[34567]86-*-solaris2*): Move body ...
7208 (*-*-solaris2*): ... here.
7209 New case, generalize.
7210 (sparc-*-elf*): Handle it.
7211 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7212 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7213 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7214 Fold into ...
7215 (sparc*-*-solaris2*): ... this.
7216 New case.
7217 (sparc64-*-elf*): Handle it.
7218 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7219 Merge ../gcc/config/i386/gmon-sol2.c.
7220 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7221 Use C comments.
7222 Merge ../gcc/config/i386/sol2-gc1.asm.
7223 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7224 Use C comments.
7225 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7226 Use C comments.
7227 * config/i386/t-crtfm (crtfastmath.o): Use $<.
7228 * config/i386/t-crtstuff: New file.
7229 * config/i386/t-softfp: New file.
7230 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7231 $(T)crti.o, $(T)crtn.o): Remove.
7232 (gcrt1.o): New rule.
7233 (TARGET_LIBGCC2_CFLAGS): Remove.
7234 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7235 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7236 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7237 * config/sparc/t-sol2: New file.
7238 * config/sparc/t-crtfm: Move to ...
7239 * config/t-crtfm: ... this.
7240 Use $(cpu_type), $<.
7241 * config/t-crtin: New file.
7242 * config/sparc/t-softfp: New file.
7243 * config/sparc/t-softmul: New file.
7244 * config/t-rtems: New file.
7245 * config/t-slibgcc: New file.
7246 * config/t-slibgcc-elf-ver: New file.
7247 * config/t-slibgcc-gld: New file.
7248 * config/t-slibgcc-sld: New file.
7249 * config/t-sol2: New file.
7250 * configure.ac: Include ../config/lib-ld.m4.
7251 Call AC_LIB_PROG_LD_GNU.
7252 Substitute cpu_type.
7253 * configure: Regenerate.
7254
ad5f3d7b
BS
72552011-05-27 Bernd Schmidt <bernds@codesourcery.com>
7256
7257 PR bootstrap/49173
7258 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7259 libgcc-std.ver in the build directory.
7260 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7261 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7262
cdbf4541
BS
72632011-05-25 Bernd Schmidt <bernds@codesourcery.com>
7264
7265 * libgcc-std.ver.in: New file.
7266 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7267 variables.
7268 (libgcc-std.ver): New rule.
7269 * config/t-gnu-prefix: New file.
7270
c8028650
RO
72712011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7272
7273 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7274
4a68b4ca
JM
72752011-05-10 Joseph Myers <joseph@codesourcery.com>
7276
7277 * config/i386/darwin-lib.h: New file.
7278
80cf2e08
JM
72792011-05-10 Joseph Myers <joseph@codesourcery.com>
7280
7281 * config/arm/symbian-lib.h: New.
7282
a3330c9d
CD
72832011-05-04 Chris Demetriou <cgd@google.com>
7284
7285 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7286 (__x86.get_pc_thunk.bx): ...this.
7287 (__morestack): Adjust for rename, remove undef of __i686.
7288
6ace0756
CD
72892011-05-03 Chris Demetriou <cgd@google.com>
7290
7291 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7292
ebb9f8b0
JM
72932011-03-22 Joseph Myers <joseph@codesourcery.com>
7294
7295 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7296 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7297 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7298 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7299 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7300 Remove cases.
7301
9cfa1499
AT
73022011-03-14 Andreas Tobler <andreast@fgznet.ch>
7303
7304 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7305 Adjust copyright year.
7306
457186f6
ILT
73072011-03-07 Ian Lance Taylor <iant@google.com>
7308
7309 * generic-morestack.c (__splitstack_find): Adjust returned stack
7310 pointer to include all registers pushed by __morestack.
7311
58c741a6
DK
73122011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
7313
7314 PR target/40125
7315 * configure.ac: Call ACX_NONCANONICAL_TARGET.
7316 (toolexecdir): Calculate and AC_SUBST.
7317 (toolexeclibdir): Likewise.
7318 * Makefile.in (target_noncanonical): Import.
7319 (toolexecdir): Likewise.
7320 (toolexeclibdir): Likewise.
7321 * configure: Regenerate.
7322
26716c44
NF
73232010-12-13 Nathan Froyd <froydnj@codesourcery.com>
7324
7325 PR target/46040
7326 * config/arm/bpabi.h: Rename to...
7327 * config/arm/bpabi-lib.h: ...this.
7328
b595b1a1
RO
73292010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7330
7331 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7332 appropriate.
7333 * configure: Regenerate.
7334
a3abe41c
NF
73352010-11-24 Nathan Froyd <froydnj@codesourcery.com>
7336
7337 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7338 __FLOAT_WORD_ORDER__.
7339 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7340 Delete.
7341
455c8f48
RW
73422010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7343
7344 PR other/46202
7345 * Makefile.in (install-strip): New phony target.
7346
f3824a8b
ILT
73472010-11-07 Ian Lance Taylor <iant@google.com>
7348
7349 PR target/46089
7350 * config/i386/morestack.S (__morestack_large_model): New
7351 function.
7352
18ed6ee4
NF
73532010-10-23 Nathan Froyd <froydnj@codesourcery.com>
7354
7355 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7356 Delete.
7357 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7358
8ac7fdcb
NF
73592010-10-14 Nathan Froyd <froydnj@codesourcery.com>
7360
7361 * config/arm/bpabi.h: New file.
7362 * config/frv/frv-abi.h: New file.
7363
cdb388c2
ILT
73642010-10-01 Ian Lance Taylor <iant@google.com>
7365
7366 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7367 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7368
ef7c141c
L
73692010-10-01 H.J. Lu <hongjiu.lu@intel.com>
7370
7371 PR target/45858
7372 * config.host: Add the missing `$'.
7373
80920132
ME
73742010-09-30 Michael Eager <eager@eagercon.com>
7375
7376 * config.host: Add microblaze*-*-*.
7377 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7378 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7379 udivsi3.asm,umodsi3.asm}: New.
7380
6dace308
ILT
73812010-09-28 Ian Lance Taylor <iant@google.com>
7382
7383 * configure.ac: Adjust CFI test to test assembler directly rather
7384 than checking gcc preprocessor macro.
7385 * configure: Rebuild.
7386
b6110d6d
ILT
73872010-09-27 Ian Lance Taylor <iant@google.com>
7388
7389 * configure.ac: Test whether assembler supports CFI directives.
7390 * config.host: Only add t-stack and i386/t-stack-i386 to
7391 tmake_file if libgcc_cv_cfi is "yes".
7392 * configure: Rebuild.
7393
7458026b
ILT
73942010-09-27 Ian Lance Taylor <iant@google.com>
7395
7396 * generic-morestack.h: New file.
7397 * generic-morestack.c: New file.
7398 * generic-morestack-thread.c: New file.
7399 * config/i386/morestack.S: New file.
7400 * config/t-stack: New file.
7401 * config/i386/t-stack-i386: New file.
7402 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7403 i386/t-stack-i386 to tmake_file.
7404
5b50fc0c
IS
74052010-09-21 Iain Sandoe <iains@gcc.gnu.org>
7406
7407 * Makefile.in (libgcc-extra-parts): Check for static archives and
7408 invoke ranlib after installing them.
7409 (gcc-extra-parts): Likewise.
7410 (install-leaf): Likewise.
7411
b93cf342
L
74122010-09-14 H.J. Lu <hongjiu.lu@intel.com>
7413
7414 * configure: Regenerated.
7415
996b42ef
KT
74162010-09-10 Kai Tietz <kai.tietz@onevision.com>
7417
b93cf342 7418 * configure: Regenerated.
996b42ef 7419
be1c764e
GP
74202010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
7421 Andrew Pinski <pinskia@gmail.com>
7422
1da9434b 7423 PR target/40959
be1c764e
GP
7424 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
7425
cc0ae0ca
L
74262010-09-06 H.J. Lu <hongjiu.lu@intel.com>
7427
7428 PR target/45524
7429 * configure: Regenerated.
7430
84f47d20
AS
74312010-09-06 Andreas Schwab <schwab@redhat.com>
7432
7433 * configure: Regenerate.
7434
4159fb8d
UB
74352010-09-03 Uros Bizjak <ubizjak@gmail.com>
7436
7437 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7438 64bit targets.
7439 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7440 for 64bit targets.
7441
0df8fcc8
UB
74422010-09-03 Uros Bizjak <ubizjak@gmail.com>
7443 Iain Sandoe <iains@gcc.gnu.org>
7444
7445 PR target/45476
7446 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7447 LIB2FUNCS_EXCLUDE functions.
7448
3c39bca6
AK
74492010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7450
7451 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7452 Include dfp.m4.
7453 * configure: Regenerate.
7454
d78552bd
UB
74552010-09-01 Uros Bizjak <ubizjak@gmail.com>
7456
7457 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7458 i386/t-freebsd to tmake_file.
7459 * config/i386/t-freebsd: New file.
7460 * config/i386/libgcc-bsd.ver: New file.
7461
c5b79d4e
NF
74622010-07-23 Nathan Froyd <froydnj@codesourcery.com>
7463
7464 * config.host (powerpc*-eabispe*): Set tmake_file.
7465 (powerpc*-eabi*): Likewise.
7466 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7467 crtbeginS, crtendS, crtbeginT.
7468
48b09a92
KH
74692010-06-12 Kazu Hirata <kazu@codesourcery.com>
7470
7471 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7472 to tmake_file. Add crtfastmath.o to extra_parts.
7473 * config/mips/t-crtfm: New.
7474
7d296953 74752010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
7476
7477 * config.host (sparc64-*-rtems*): New target.
7478
ed104137
RO
74792010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7480
7481 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7482 assembler syntax.
7483
3f56ef8b
TS
74842010-04-15 Thomas Schwinge <tschwinge@gnu.org>
7485
7486 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7487
8c200350
RO
74882010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7489
7490 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7491 alpha-dec-osf5.0* support.
7492
7d296953 74932010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
7494
7495 * config.host: Add lm32-*-rtems*.
7496
f128db92 74972010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 7498 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
7499
7500 PR target/39048
7501 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7502 like other remaining 32-bit x86 OSes.
7503 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7504 assembler syntax.
7505 * config/i386/libgcc-sol2.ver: New file.
7506 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7507
7d296953 75082010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
7509
7510 PR c/43553
7511 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7512 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7513 is used and substitute set_use_emutls.
7514 * configure: Regenerated.
7515
15baf7f8
TG
75162010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
7517
7518 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7519
7f5441df
RO
75202010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7521
7522 PR target/38085
7523 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7524 MULTILIB_CFLAGS.
7525 ($(T)gcrt1.o): Likewise.
7526 ($(T)crt1.o): Likewise.
7527 ($(T)crti.o): Likewise.
7528 ($(T)crtn.o): Likewise.
7529
ef74edbd
RW
75302010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7531
7532 PR other/42980
7533 * Makefile.in (install): Use $(MAKE) string in rule, for
7534 parallel make.
7535
e7c914db
HPN
75362010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
7537
7538 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7539 * config/mmix/t-mmix: New file.
7540 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7541
1bcb71c4
JH
75422010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
7543
7544 PR java/41991
7545 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7546 SHLIB_MAPFILES.
7547
e6e50811
AG
75482010-01-04 Anthony Green <green@moxielogic.com>
7549
7550 * config/moxie/crti.asm, config/moxie/crtn.asm,
7551 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7552 config/moxie/t-moxie: New files.
7553 * config.host: Add t-moxie-softfp reference.
7554
7d296953 75552009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
7556
7557 PR other/39888
7558 * config/t-slibgcc-darwin: Fix embedded rpaths for
7559 --enable-version-specific-runtime-libs, build extension stub
7560 libs exposing features available from current libgcc_s.
7561
7d296953 75622009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 7563
d78552bd
UB
7564 * config.host: Add lm32 targets.
7565 * config/lm32: New directory.
7566 * config/lm32/libgcc_lm32.h: New file.
7567 * config/lm32/_mulsi3.c: New file.
7568 * config/lm32/_udivmodsi4.c: New file.
7569 * config/lm32/_divsi3.c: New file.
7570 * config/lm32/_modsi3.c: New file.
7571 * config/lm32/_udivsi3.c: New file.
7572 * config/lm32/_umodsi3.c: New file.
7573 * config/lm32/_lshrsi3.S: New file.
7574 * config/lm32/_ashrsi3.S: New file.
7575 * config/lm32/_ashlsi3.S: New file.
7576 * config/lm32/crti.S: New file.
7577 * config/lm32/crtn.S: New file.
7578 * config/lm32/t-lm32: New file.
7579 * config/lm32/t-elf: New file.
7580 * config/lm32/t-uclinux: New file.
aa4945c1 7581
65a324b4
NC
75822009-10-26 Nick Clifton <nickc@redhat.com>
7583
7584 * config.host: Add support for RX target.
7585 * config/rx: New directory.
7586 * config/rx/rx-abi-functions.c: New file. Supplementary
7587 functions for libgcc to support the RX ABI.
7588 * config/rx/rx-abi.h: New file. Supplementary header file for
7589 libgcc RX ABI functions.
7590 * config/rx/t-rx: New file: Makefile fragment for building
7591 libgcc for the RX.
7592
dfb3b0e3
UB
75932009-10-09 Uros Bizjak <ubizjak@gmail.com>
7594
7595 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7596 constraint of y0 to "g".
7597
81dd9fd7
AK
75982009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7599
7600 * config.host: Include the s390 makefile fragments.
7601 * config/s390/32/_fixdfdi.c: New file.
7602 * config/s390/32/_fixsfdi.c: New file.
7603 * config/s390/32/_fixtfdi.c: New file.
7604 * config/s390/32/_fixunsdfdi.c: New file.
7605 * config/s390/32/_fixunssfdi.c: New file.
7606 * config/s390/32/_fixunstfdi.c: New file.
7607 * config/s390/32/t-floattodi: New file.
7608 * config/s390/libgcc-glibc.ver: New file.
7609 * config/s390/t-crtstuff: New file.
7610 * config/s390/t-linux: New file.
7611 * config/s390/t-tpf: New file.
7612
df58e648
RW
76132009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7614
7615 * configure.ac (AC_PREREQ): Bump to 2.64.
7616
79052be3
KK
76172009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
7618
7619 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7620
5213506e
RW
76212009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7622
7623 * configure: Regenerate.
7624
a9a25daa
DR
76252009-08-09 Douglas B Rupp <rupp@gnat.com>
7626
7627 * config.host (ia64-hp-*vms*): New target.
7628 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7629 with ia64-hp-*vms*.
7630
6efbd53f
RW
76312009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7632
7633 * configure.ac: Add snippet for maintainer-mode.
7634 * configure: Regenerate.
7635 * Makefile.in (AUTOCONF, configure_deps): New variables.
7636 ($(srcdir)/configure)): New rule, active only with maintainer
7637 mode turned on.
7638
7acf4da6
DD
76392009-06-23 DJ Delorie <dj@redhat.com>
7640
7641 Add MeP port.
7642 * config.host: Add mep support.
7643
54f549af
KT
76442009-06-22 Kai Tietz <kai.tietz@onevision.com>
7645
34481f28 7646 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 7647 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
7648
7649 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7650 for mingw targets.
54f549af
KT
7651 * config/i386/64/_multc3.c: Likewise.
7652 * config/i386/64/_powitf2.c: Likewise.
7653 * config/i386/64/eqtf2.c: Likewise.
7654 * config/i386/64/getf2.c: Likewise.
7655 * config/i386/64/letf2.c: Likewise.
7656 * config/i386/64/letf2.c: Likewise.
34481f28
UB
7657 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7658 unsigned long long for x64 mingw targets.
7659 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7660 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 7661
fea96e25
MR
76622009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
7663
7664 * config.host (vax-*-linux*): New.
7665
cceb575c
AG
76662009-05-31 Anthony Green <green@moxielogic.com>
7667
7668 * config.host: Add moxie support.
7669 * config/moxie/t-moxie: New file.
7670
7d296953 76712009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
7672
7673 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 7674 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 7675
532bfb0a
AJ
76762009-04-17 Aurelien Jarno <aurelien@aurel32.net>
7677
7678 * config.host: Add i386/${host_address}/t-fprules-softfp to
7679 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7680
748086b7
JJ
76812009-04-09 Nick Clifton <nickc@redhat.com>
7682
7683 * config/ia64/tf-signs.c: Change copyright header to refer to
7684 version 3 of the GNU General Public License with version 3.1
7685 of the GCC Runtime Library Exception and to point readers at
7686 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7687 web page.
7688 * config/i386/32/tf-signs.c: Likewise.
7689 * config/libbid/_addsub_dd.c: Likewise.
7690 * config/libbid/_addsub_sd.c: Likewise.
7691 * config/libbid/_addsub_td.c: Likewise.
7692 * config/libbid/_dd_to_df.c: Likewise.
7693 * config/libbid/_dd_to_di.c: Likewise.
7694 * config/libbid/_dd_to_sd.c: Likewise.
7695 * config/libbid/_dd_to_sf.c: Likewise.
7696 * config/libbid/_dd_to_si.c: Likewise.
7697 * config/libbid/_dd_to_td.c: Likewise.
7698 * config/libbid/_dd_to_tf.c: Likewise.
7699 * config/libbid/_dd_to_udi.c: Likewise.
7700 * config/libbid/_dd_to_usi.c: Likewise.
7701 * config/libbid/_dd_to_xf.c: Likewise.
7702 * config/libbid/_df_to_dd.c: Likewise.
7703 * config/libbid/_df_to_sd.c: Likewise.
7704 * config/libbid/_df_to_td.c: Likewise.
7705 * config/libbid/_di_to_dd.c: Likewise.
7706 * config/libbid/_di_to_sd.c: Likewise.
7707 * config/libbid/_di_to_td.c: Likewise.
7708 * config/libbid/_div_dd.c: Likewise.
7709 * config/libbid/_div_sd.c: Likewise.
7710 * config/libbid/_div_td.c: Likewise.
7711 * config/libbid/_eq_dd.c: Likewise.
7712 * config/libbid/_eq_sd.c: Likewise.
7713 * config/libbid/_eq_td.c: Likewise.
7714 * config/libbid/_ge_dd.c: Likewise.
7715 * config/libbid/_ge_sd.c: Likewise.
7716 * config/libbid/_ge_td.c: Likewise.
7717 * config/libbid/_gt_dd.c: Likewise.
7718 * config/libbid/_gt_sd.c: Likewise.
7719 * config/libbid/_gt_td.c: Likewise.
7720 * config/libbid/_isinfd128.c: Likewise.
7721 * config/libbid/_isinfd32.c: Likewise.
7722 * config/libbid/_isinfd64.c: Likewise.
7723 * config/libbid/_le_dd.c: Likewise.
7724 * config/libbid/_le_sd.c: Likewise.
7725 * config/libbid/_le_td.c: Likewise.
7726 * config/libbid/_lt_dd.c: Likewise.
7727 * config/libbid/_lt_sd.c: Likewise.
7728 * config/libbid/_lt_td.c: Likewise.
7729 * config/libbid/_mul_dd.c: Likewise.
7730 * config/libbid/_mul_sd.c: Likewise.
7731 * config/libbid/_mul_td.c: Likewise.
7732 * config/libbid/_ne_dd.c: Likewise.
7733 * config/libbid/_ne_sd.c: Likewise.
7734 * config/libbid/_ne_td.c: Likewise.
7735 * config/libbid/_sd_to_dd.c: Likewise.
7736 * config/libbid/_sd_to_df.c: Likewise.
7737 * config/libbid/_sd_to_di.c: Likewise.
7738 * config/libbid/_sd_to_sf.c: Likewise.
7739 * config/libbid/_sd_to_si.c: Likewise.
7740 * config/libbid/_sd_to_td.c: Likewise.
7741 * config/libbid/_sd_to_tf.c: Likewise.
7742 * config/libbid/_sd_to_udi.c: Likewise.
7743 * config/libbid/_sd_to_usi.c: Likewise.
7744 * config/libbid/_sd_to_xf.c: Likewise.
7745 * config/libbid/_sf_to_dd.c: Likewise.
7746 * config/libbid/_sf_to_sd.c: Likewise.
7747 * config/libbid/_sf_to_td.c: Likewise.
7748 * config/libbid/_si_to_dd.c: Likewise.
7749 * config/libbid/_si_to_sd.c: Likewise.
7750 * config/libbid/_si_to_td.c: Likewise.
7751 * config/libbid/_td_to_dd.c: Likewise.
7752 * config/libbid/_td_to_df.c: Likewise.
7753 * config/libbid/_td_to_di.c: Likewise.
7754 * config/libbid/_td_to_sd.c: Likewise.
7755 * config/libbid/_td_to_sf.c: Likewise.
7756 * config/libbid/_td_to_si.c: Likewise.
7757 * config/libbid/_td_to_tf.c: Likewise.
7758 * config/libbid/_td_to_udi.c: Likewise.
7759 * config/libbid/_td_to_usi.c: Likewise.
7760 * config/libbid/_td_to_xf.c: Likewise.
7761 * config/libbid/_tf_to_dd.c: Likewise.
7762 * config/libbid/_tf_to_sd.c: Likewise.
7763 * config/libbid/_tf_to_td.c: Likewise.
7764 * config/libbid/_udi_to_dd.c: Likewise.
7765 * config/libbid/_udi_to_sd.c: Likewise.
7766 * config/libbid/_udi_to_td.c: Likewise.
7767 * config/libbid/_unord_dd.c: Likewise.
7768 * config/libbid/_unord_sd.c: Likewise.
7769 * config/libbid/_unord_td.c: Likewise.
7770 * config/libbid/_usi_to_dd.c: Likewise.
7771 * config/libbid/_usi_to_sd.c: Likewise.
7772 * config/libbid/_usi_to_td.c: Likewise.
7773 * config/libbid/_xf_to_dd.c: Likewise.
7774 * config/libbid/_xf_to_sd.c: Likewise.
7775 * config/libbid/_xf_to_td.c: Likewise.
7776 * config/libbid/bid128.c: Likewise.
7777 * config/libbid/bid128_2_str.h: Likewise.
7778 * config/libbid/bid128_2_str_macros.h: Likewise.
7779 * config/libbid/bid128_2_str_tables.c: Likewise.
7780 * config/libbid/bid128_add.c: Likewise.
7781 * config/libbid/bid128_compare.c: Likewise.
7782 * config/libbid/bid128_div.c: Likewise.
7783 * config/libbid/bid128_fma.c: Likewise.
7784 * config/libbid/bid128_logb.c: Likewise.
7785 * config/libbid/bid128_minmax.c: Likewise.
7786 * config/libbid/bid128_mul.c: Likewise.
7787 * config/libbid/bid128_next.c: Likewise.
7788 * config/libbid/bid128_noncomp.c: Likewise.
7789 * config/libbid/bid128_quantize.c: Likewise.
7790 * config/libbid/bid128_rem.c: Likewise.
7791 * config/libbid/bid128_round_integral.c: Likewise.
7792 * config/libbid/bid128_scalb.c: Likewise.
7793 * config/libbid/bid128_sqrt.c: Likewise.
7794 * config/libbid/bid128_string.c: Likewise.
7795 * config/libbid/bid128_to_int16.c: Likewise.
7796 * config/libbid/bid128_to_int32.c: Likewise.
7797 * config/libbid/bid128_to_int64.c: Likewise.
7798 * config/libbid/bid128_to_int8.c: Likewise.
7799 * config/libbid/bid128_to_uint16.c: Likewise.
7800 * config/libbid/bid128_to_uint32.c: Likewise.
7801 * config/libbid/bid128_to_uint64.c: Likewise.
7802 * config/libbid/bid128_to_uint8.c: Likewise.
7803 * config/libbid/bid32_to_bid128.c: Likewise.
7804 * config/libbid/bid32_to_bid64.c: Likewise.
7805 * config/libbid/bid64_add.c: Likewise.
7806 * config/libbid/bid64_compare.c: Likewise.
7807 * config/libbid/bid64_div.c: Likewise.
7808 * config/libbid/bid64_fma.c: Likewise.
7809 * config/libbid/bid64_logb.c: Likewise.
7810 * config/libbid/bid64_minmax.c: Likewise.
7811 * config/libbid/bid64_mul.c: Likewise.
7812 * config/libbid/bid64_next.c: Likewise.
7813 * config/libbid/bid64_noncomp.c: Likewise.
7814 * config/libbid/bid64_quantize.c: Likewise.
7815 * config/libbid/bid64_rem.c: Likewise.
7816 * config/libbid/bid64_round_integral.c: Likewise.
7817 * config/libbid/bid64_scalb.c: Likewise.
7818 * config/libbid/bid64_sqrt.c: Likewise.
7819 * config/libbid/bid64_string.c: Likewise.
7820 * config/libbid/bid64_to_bid128.c: Likewise.
7821 * config/libbid/bid64_to_int16.c: Likewise.
7822 * config/libbid/bid64_to_int32.c: Likewise.
7823 * config/libbid/bid64_to_int64.c: Likewise.
7824 * config/libbid/bid64_to_int8.c: Likewise.
7825 * config/libbid/bid64_to_uint16.c: Likewise.
7826 * config/libbid/bid64_to_uint32.c: Likewise.
7827 * config/libbid/bid64_to_uint64.c: Likewise.
7828 * config/libbid/bid64_to_uint8.c: Likewise.
7829 * config/libbid/bid_b2d.h: Likewise.
7830 * config/libbid/bid_binarydecimal.c: Likewise.
7831 * config/libbid/bid_conf.h: Likewise.
7832 * config/libbid/bid_convert_data.c: Likewise.
7833 * config/libbid/bid_decimal_data.c: Likewise.
7834 * config/libbid/bid_decimal_globals.c: Likewise.
7835 * config/libbid/bid_div_macros.h: Likewise.
7836 * config/libbid/bid_dpd.c: Likewise.
7837 * config/libbid/bid_flag_operations.c: Likewise.
7838 * config/libbid/bid_from_int.c: Likewise.
7839 * config/libbid/bid_functions.h: Likewise.
7840 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7841 * config/libbid/bid_inline_add.h: Likewise.
7842 * config/libbid/bid_internal.h: Likewise.
7843 * config/libbid/bid_round.c: Likewise.
7844 * config/libbid/bid_sqrt_macros.h: Likewise.
7845
78462009-04-09 Jakub Jelinek <jakub@redhat.com>
7847
7848 * Makefile.in: Change copyright header to refer to version
7849 3 of the GNU General Public License and to point readers at the
7850 COPYING3 file and the FSF's license web page.
7851 * config.host: Likewise.
7852
633dd061
AM
78532009-04-07 Alan Modra <amodra@bigpond.net.au>
7854
7855 * config.host: Reorder and merge to match config.gcc change.
7856
457d1d00
AM
78572009-04-03 Alan Modra <amodra@bigpond.net.au>
7858
7859 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
7860
52c0e446
JM
78612009-03-28 Joseph Myers <joseph@codesourcery.com>
7862
7863 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
7864 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
7865 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
7866 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
7867
ba181049
UB
78682009-02-12 Uros Bizjak <ubizjak@gmail.com>
7869
7870 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
7871 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7872
c252db20
L
78732009-02-12 H.J. Lu <hongjiu.lu@intel.com>
7874
ba181049
UB
7875 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
7876 ia64/t-softfp-compat to tmake_file.
c252db20
L
7877
7878 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
7879
7880 * config/ia64/__divxf3.asm: New.
7881 * config/ia64/_fixtfdi.asm: Likewise.
7882 * config/ia64/_fixunstfdi.asm: Likewise.
7883 * config/ia64/_floatditf.asm: Likewise.
7884 * config/ia64/t-fprules-softfp: Likewise.
7885 * config/ia64/t-softfp-compat: Likewise.
7886 * config/ia64/tf-signs.c: Likewise.
7887
c60535f9
BE
78882009-01-18 Ben Elliston <bje@au.ibm.com>
7889
7890 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7891
ce16861e
BE
78922009-01-16 Ben Elliston <bje@au.ibm.com>
7893
7894 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
7895 to tmake_file.
7896
bcf4713b
BE
78972009-01-13 Ben Elliston <bje@au.ibm.com>
7898
7899 * config/t-softfp: New file.
7900 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
7901 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
7902
7d296953 79032009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
7904
7905 * config.host: Add m32r*-*-rtems*.
7906
7d296953 79072008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
7908
7909 * config.host: Add m32c*-*-rtems*.
7910
19523300
RO
79112008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7912
7913 PR bootstrap/33100
7914 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
7915 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
7916 * configure: Regenerate.
7917 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
7918 tmake_file here from gcc/config.gcc.
7919 Move extra_parts here from gcc/config.gcc.
7920 * config/i386/t-sol2: Move here from gcc/config/i386.
7921 Use gcc_srcdir instead of srcdir.
7922
0a4a51c7
AN
79232008-11-18 Adam Nemet <anemet@caviumnetworks.com>
7924
7925 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
7926 case.
7927
2a761e46
TS
79282008-11-09 Thomas Schwinge <tschwinge@gnu.org>
7929
7930 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
7931
c0451df7
TS
79322008-10-08 Thomas Schwinge <tschwinge@gnu.org>
7933
7934 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
7935
358da97e
HS
79362008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
7937
7938 Add picoChip port.
7939 * config.host: Add picochip-*-*.
7940
c660f132
BW
79412008-08-06 Bob Wilson <bob.wilson@acm.org>
7942
7943 * config.host: Match more processor names for Xtensa.
7944
d1349557
L
79452008-07-08 H.J. Lu <hongjiu.lu@intel.com>
7946
7947 * config/i386/64/t-softfp-compat: Update comments.
7948
dd7b73c0
L
79492008-07-07 H.J. Lu <hongjiu.lu@intel.com>
7950
7951 * config/i386/64/_divtc3-compat.c: Moved to ...
7952 * config/i386/64/_divtc3.c: Here.
7953
7954 * config/i386/64/_multc3-compat.c: Moved to ...
7955 * config/i386/64/_multc3.c: Here.
7956
7957 * config/i386/64/_powitf2-compat.c: Moved to ...
7958 * config/i386/64/_powitf2.c: Here.
7959
7960 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
7961 .c suffix instead of -compat.c.
7962
6e1fab3d
UB
79632008-07-05 Uros Bizjak <ubizjak@gmail.com>
7964
7965 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
7966 (_FP_MUL_MEAT_D): Ditto.
7967 (_FP_DIV_MEAT_S): Ditto.
7968 (_FP_DIV_MEAT_D): Ditto.
7969
f92518d7
RS
79702008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
7971
7972 * Makefile.in: Add support for __sync_* libgcc functions.
7973
d0aede14
L
79742008-07-03 H.J. Lu <hongjiu.lu@intel.com>
7975
7976 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
7977
c174f11c
L
79782008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7979
7980 PR boostrap/36702
7981 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
7982 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
7983
7984 * config/i386/64/t-fprules-softfp: Moved to ...
7985 * config/i386/64/t-softfp-compat: This. New.
7986
5f464fa2
UB
79872008-07-02 Uros Bizjak <ubizjak@gmail.com>
7988
7989 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
7990 Initialize f with 0.0.
7991
ff473280
L
79922008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7993
7994 PR target/36669
7995 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
7996
7997 * config/i386/64/_divtc3-compat.c: New.
7998 * config/i386/64/_multc3-compat.c: Likewise.
7999 * config/i386/64/_powitf2-compat.c: Likewise.
8000 * config/i386/64/eqtf2.c: Likewise.
8001 * config/i386/64/getf2.c: Likewise.
8002 * config/i386/64/letf2.c: Likewise.
8003 * config/i386/64/t-fprules-softfp: Likewise.
8004
80052008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8006
8007 * config.host: Add i386/${host_address}/t-fprules-softfp to
8008 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 8009 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
8010
8011 * configure.ac: Set host_address to 64 or 32 for x86.
8012 * configure: Regenerated.
8013
8014 * Makefile.in (config.status): Also depend on
8015 $(srcdir)/config.host.
8016
8017 * config/i386/32/t-fprules-softfp: New.
8018 * config/i386/32/tf-signs.c: Likewise.
8019
8020 * config/i386/64/sfp-machine.h: New. Moved from gcc.
8021
80222008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8023 Uros Bizjak <ubizjak@gmail.com>
8024
8025 * config/i386/32/sfp-machine.h: New.
8026
30551d99
NF
80272008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8028
8029 * config/rs6000/t-ppccomm: Remove rules that conflict with
8030 auto-generated rules.
8031
18c04407
RW
80322008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8033
8034 * configure.ac: sinclude override.m4.
8035 * configure: Regenerate.
8036
10fbe77a
BRF
80372008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
8038
8039 * configure: Regenerate.
8040
bc6d4c3f
JM
80412008-06-10 Joseph Myers <joseph@codesourcery.com>
8042
8043 * Makefile.in (DECNUMINC): Remove
8044 -I$(MULTIBUILDTOP)../../libdecnumber.
8045 * gstdint.h: New.
8046
cd985f66
JM
80472008-06-07 Joseph Myers <joseph@codesourcery.com>
8048
8049 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8050 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8051 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8052 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8053 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8054 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8055 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8056 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8057 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8058 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8059 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8060 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8061 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8062 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8063
93fea8d3
AL
80642008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
8065
8066 * config.host (sh2[lbe]*-*-linux*): Allow target.
8067
18724e30
NF
80682008-04-30 Nathan Froyd <froydnj@codesourcery.com>
8069
8070 * config/rs6000/t-ppccomm: Add build rules for new files.
8071 (LIB2ADD_ST): New variable.
8072
47583040
AH
80732008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
8074
8075 PR target/34210
8076 PR target/35508
8077 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8078 * config/t-avr: New file. Build 16bit libgcc functions.
8079
cf8e67fe
JJ
80802008-03-02 Jakub Jelinek <jakub@redhat.com>
8081
8082 PR target/35401
8083 * config/t-slibgcc-darwin: Make install-leaf dependent on
8084 install-darwin-libgcc-stubs instead of install.
8085
8d8da227
JM
80862008-01-25 Joseph Myers <joseph@codesourcery.com>
8087
8088 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8089 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8090 sh-*-rtemscoff*): Remove cases.
8091
edbf8b16
RS
80922007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
8093
8094 * Makefile.in (all): Use install-leaf rather than install.
8095 (install): Split most of the rule into...
8096 (install-leaf): ...this new one.
8097
89deeaff
EK
80982007-12-19 Etsushi Kato <ek.kato@gmail.com>
8099 Paolo Bonzini <bonzini@gnu.org>
8100
8101 PR target/30572
5f464fa2
UB
8102 * Makefile.in: Use @shlib_slibdir@ substitution to get
8103 correct install name on darwin.
89deeaff 8104 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 8105
4081d704
HPN
81062007-12-15 Hans-Peter Nilsson <hp@axis.com>
8107
8108 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8109 cris-*-elf and cris-*-none.
8110 (crisv32-*-linux*): Similar, as cris-*-linux*.
8111
f43e89a3
RIL
81122007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8113
8114 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8115
b4e9c2c6
L
81162007-10-27 H.J. Lu <hongjiu.lu@intel.com>
8117
8118 PR regression/33926
8119 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8120 * configure: Regenerated.
8121
b2a00c89
L
81222007-09-27 H.J. Lu <hongjiu.lu@intel.com>
8123
8124 * Makefile.in (dfp-filenames): Replace decimal_globals,
8125 decimal_data, binarydecimal and convert_data with
8126 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8127 and bid_convert_data, respectively.
8128
8d2a9e0e
CF
81292007-09-17 Chao-ying Fu <fu@mips.com>
8130 Nigel Stephens <nigel@mips.com>
8131
8132 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8133 * Makefile.in (fixed_point): Define.
8134 Check if fixed_point is yes to build support functions.
8135 * configure.ac: Check for fixed_point support.
8136 * configure: Regenerated.
8137 * gen-fixed.sh: New file to generate lists of fixed-point labels,
8138 funcs, modes, from, to.
8139
2b53935d
JJ
81402007-09-11 Janis Johnson <janis187@us.ibm.com
8141
8142 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8143
2533577f
JJ
81442007-09-10 Janis Johnson <janis187@us.ibm.com>
8145
8146 * Makefile.in (dfp-filenames): Remove decUtility, add
8147 decDouble, decPacked, decQuad, decSingle.
8148
3ae3dbd6
HK
81492007-08-27 Hans Kester <hans.kester@ellips.nl>
8150
8151 * config.host : Add x86_64-elf target.
8152
22867d02
L
81532007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8154
8155 * configure.ac (set_have_cc_tls): Add a missing =.
8156 * configure: Regenerated.
8157
6f461e76
L
81582007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8159
8160 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8161 and x86_64-*-linux*.
8162
8163 * config/t-tls: New file.
8164
dfb3b0e3 8165 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
8166
8167 * configure.ac: Include ../config/enable.m4 and
8168 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
8169 supports TLS and substitute set_have_cc_tls.
8170 * configure: Regenerated.
8171
200359e8
L
81722007-07-04 H.J. Lu <hongjiu.lu@intel.com>
8173
8174 * Makefile.in: Use libbid for DFP when BID is enabled.
8175
76f5e200
DS
81762007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
8177
8178 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 8179 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
8180 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8181
9bd196f0 81822007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 8183 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
8184
8185 PR target/29498
8186 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8187 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
8188 * config/i386/t-crtfm: Compile crtfastmath.o with
8189 -minline-all-stringops.
8190
1910440e
RS
81912007-05-10 Richard Sandiford <richard@codesourcery.com>
8192
8193 * config.host (sparc-wrs-vxworks): New target.
8194
7d33c31d
KH
81952007-04-14 Kazu Hirata <kazu@codesourcery.com>
8196
8197 * config.host: Recognize fido.
8198
96fccd0d
JJ
81992007-04-04 Janis Johnson <janis187@us.ibm.com>
8200
8201 * configure: Check host, not target, for decimal float support.
8202
577565f9
UB
82032007-04-03 Uros Bizjak <ubizjak@gmail.com>
8204
8205 * config/i386/t-crtpc: New file.
8206 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 8207 (x86_64-*-linux*): Ditto.
577565f9 8208
ccf8e764
RH
82092007-02-30 Kai Tietz <kai.tietz@onevision.com>
8210
8211 * config.host (x86_64-*-mingw*): New target.
8212
79b87c74
MM
82132007-03-23 Michael Meissner <michael.meissner@amd.com>
8214 H.J. Lu <hongjiu.lu@intel.com>
8215
8216 * Makefile.in (enable_decimal_float): New.
8217 (DECNUMINC): Add
8218 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8219 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8220 (decbits-filenames): This.
8221 (decbits-objects): New.
8222 (libgcc-objects): Add $(decbits-objects).
8223
8224 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8225 Substitute enable_decimal_float.
8226 * configure: Regenerated.
8227
8fce4e31
HPN
82282007-03-19 Hans-Peter Nilsson <hp@axis.com>
8229
8230 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8231
e8bb4597
BM
82322007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8233
8234 * Makefile.in (install-info): New dummy target.
8235
344189f9
BS
82362007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8237
8238 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8239
ac84c172
BM
82402007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8241
8242 * Makefile.in: Add install-html and install-pdf dummy
8243 targets.
8244
cd5c2357
RS
82452007-02-05 Roger Sayle <roger@eyesopen.com>
8246 Daniel Jacobowitz <dan@codesourcery.com>
8247
8248 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8249 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8250 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8251
d9a66f98
JJ
82522007-01-29 Janis Johnson <janis187@us.ibm.com>
8253
8254 * Makefile.in (dec-filenames): Add decExcept.
8255
9891ec5f
DJ
82562007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8257
8258 PR bootstrap/30469
8259 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8260 -fprofile-use.
8261
d6efbf5a
DJ
82622007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
8263
8264 * configure.ac: Add --enable-version-specific-runtime-libs.
8265 Correct $slibdir default.
8266 * configure: Regenerated.
8267
17caeff2
JM
82682007-01-23 Joseph Myers <joseph@codesourcery.com>
8269
8270 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8271
5ea41e3a
AP
82722007-01-21 Andrew Pinski <pinskia@gmail.com>
8273
8274 PR target/30519
8275 * config.host (alpha*-*-linux*): Set extra_parts.
8276
26900826
KK
82772007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8278
8279 * config/sh/t-linux: New.
8280 * config.host (sh*-*-linux*): Set tmake_file.
8281
97af925b
DJ
82822007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8283
8284 * Makefile.in (install): Handle multilibs.
8285
b0088af7
BM
82862007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8287
8288 * Makefile.in: Added .PHONY entry for documentation targets.
8289
e0a9456a
BM
82902007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8291
8292 * Makefile.in: Add empty info, html, dvi, pdf targets.
8293
7fd453b4
MS
82942007-01-04 Mike Stump <mrs@apple.com>
8295
8296 * Makefile.in (MAKEINFO): Remove.
8297 (PERL): Likewise.
8298
14e8fc8b
PB
82992007-01-04 Paolo Bonzini <bonzini@gnu.org>
8300
8301 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8302 * configure: Regenerate.
8303 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 8304 (gcc_objdir): Use it.
14e8fc8b 8305
1555beba
DJ
83062007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8307
8308 * config.host (ia64*-*-linux*): Set tmake_file.
8309
79e6eaeb
DJ
83102007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8311
8312 * Makefile.in (version): Define.
8313
fa958513
DJ
83142007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8315 Paolo Bonzini <bonzini@gnu.org>
8316
8317 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8318 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8319 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8320 config/sparc/t-crtfm, config/t-slibgcc-darwin,
8321 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8322 shared-object.mk, siditi-object.mk, static-object.mk: New files.
8323 * configure: Generated.
818ab71a 8324\f
cbe34bb5 8325Copyright (C) 2007-2017 Free Software Foundation, Inc.
818ab71a
JJ
8326
8327Copying and distribution of this file, with or without modification,
8328are permitted in any medium without royalty provided the copyright
8329notice and this notice are preserved.