]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
[ARC] Add support for QuarkSE processor.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
5012919d
AM
12016-11-16 Alexander Monakov <amonakov@ispras.ru>
2
3 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4 * config/nvptx/mgomp.c: New file.
5 * config/nvptx/t-nvptx: Add mgomp.c
6
00178b98
WB
72016-11-16 Waldemar Brodkorb <wbx@openadk.org>
8
9 PR libgcc/68468
10 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
11
d64af69f
CZ
122016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
13
14 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
15 of checking for cpus.
16 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
17 (__modsi3, __clzsi2): Likewise.
18
9d8f95de
SN
192016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
20
21 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
22 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
23 * config/i386/t-cpuinfo-static: New.
24
7d29f8e3
ML
252016-11-03 Martin Liska <mliska@suse.cz>
26
27 * libgcov-profiler.c (__gcov_time_profiler): Remove.
28 (__gcov_time_profiler_atomic): Likewise.
29
5de3e2d8
BE
302016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
31
32 PR libgcc/78067
33 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
34 count_leading_zeros.
35
18362447
UB
362016-11-02 Uros Bizjak <ubizjak@gmail.com>
37
38 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
39 * libgcc2.c (__divmoddi4): New function.
40 * libgcc2.h (__divmoddi4): Declare.
41 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
42 and __PFX_divmodti4.
43
33107571
FW
442016-10-24 Florian Weimer <fweimer@redhat.com>
45
46 PR libgcc/78064
47 * unwind-c.c: Include auto-target.h.
48
4c6d7494
JDA
492016-10-19 John David Anglin <danglin@gcc.gnu.org>
50
18362447 51 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
52 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
53 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
54 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
55 hppa*64*-*-hpux11*.
56
2a26adf1
MF
572016-10-18 Max Filippov <jcmvbkbc@gmail.com>
58
59 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
60 definition.
61 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
62 definition.
63 * config/xtensa/t-windowed (LIB2ADDEH): Use
64 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
65 or xtensa/t-linux.
66
66192aa1
DKC
672016-10-18 Ding-Kai Chen <dkchen@cadence.com>
68
69 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
70 __ieee754_sqrt): New functions.
71 (__divdf3): Add implementation with new FPU instructions under
72 #if XCHAL_HAVE_DFP_DIV.
73 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
74 __ieee754_sqrtf): New functions.
75 (__divsf3): Add implementation with new FPU instructions under
76 #if XCHAL_HAVE_FP_DIV.
77 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
78 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
79
4d0cdd0c
TP
802016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
81
82 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
83 equivalent.
84 * config/tilepro/atomic.c: Likewise and stop casting model to
85 enum memmodel.
86
73f01cca
JM
872016-10-10 Joseph Myers <joseph@codesourcery.com>
88
89 PR target/77586
90 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
91 soft-fp.
92
b20e7532
AT
932016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
94
95 * config.host: Add support for aarch64-*-freebsd*.
96
a786cec4
AS
972016-10-05 Andreas Schwab <schwab@suse.de>
98
99 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
100 (.section .init_array): Don't call __do_jv_register_classes.
101 (.section .init): Likewise.
102
5a79befb
JJ
1032016-10-04 Jakub Jelinek <jakub@redhat.com>
104
105 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
106 (__JCR_LIST__): Remove.
107 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
108 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
109 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
110 * config/ia64/crtend.S (__JCR_END__): Remove.
111 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
112 conditionals.
113 (__JCR_LIST__, __JCR_END__): Remove.
114 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
115 (__do_global_ctors_1): Likewise.
116
e0ab3753
UB
1172015-09-28 Uros Bizjak <ubizjak@gmail.com>
118
119 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
120 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
121
8c9434c2
ML
1222016-09-27 Martin Liska <mliska@suse.cz>
123
124 PR gcov-profile/7970
125 PR gcov-profile/16855
126 PR gcov-profile/44779
127 * libgcov-driver.c (__gcov_init): Do not register a atexit
128 handler.
129 (__gcov_exit): Rename from gcov_exit.
130 * libgcov.h (__gcov_exit): Declare.
131
56b653f1
ML
1322016-09-27 Martin Liska <mliska@suse.cz>
133
134 PR bootstrap/77749
135 * Makefile.in: Remove _gcov_merge_delta.
136 * libgcov-merge.c (void __gcov_merge_delta): Remove.
137 * libgcov-util.c (__gcov_delta_counter_op): Remove.
138 * libgcov.h: Remove declaration of __gcov_merge_delta.
139
7e02fd1b
EB
1402016-09-21 Eric Botcazou <ebotcazou@adacore.com>
141
142 * configure.ac: Do not create links, only substitute the filenames.
143 * configure: Regenerate.
144 * Makefile.in: Assign the substitution results to variables.
145 (LIBGCC_LINKS): Define.
146 (enable-execute-stack.c): New rule.
147 (unwind.h): Likewise.
148 (md-unwind-support.h): Likewise.
149 (sfp-machine.h): Likewise.
150 (gthr-default.h): Likewise.
151 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
152 unwind.h as prerequisite of install-unwind_h-forbuild.
153
29991048
JJ
1542016-09-16 Jakub Jelinek <jakub@redhat.com>
155
156 PR libgcc/71744
157 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
158 is not the primary registry and atomics are available.
159 (any_objects_registered): New variable.
160 (__register_frame_info_bases, __register_frame_info_table_bases):
161 Atomically store 1 to any_objects_registered after registering first
162 unwind info.
163 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
164
0abcd6cc
JG
1652016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
166
167 PR target/63250
168 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
169 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
170 (HFtype): Likewise.
171 (HCtype): Likewise.
172 (__divhc3): Likewise.
173 (__mulhc3): Likewise.
174 * libgcc2.c: Support _mulhc3 and _divhc3.
175
d758aeb5
JM
1762016-09-07 Joseph Myers <joseph@codesourcery.com>
177
178 PR libgcc/77519
179 * libgcc2.c (NOTRUNC): Invert settings.
180
7fe76f6a
ML
1812016-09-06 Martin Liska <mliska@suse.cz>
182
183 PR gcov-profile/77378
184 PR gcov-profile/77466
185 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
186 conditionaly enable/disable *_atomic functions.
187
21184026
JM
1882016-08-26 Joseph Myers <joseph@codesourcery.com>
189
190 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
191 where not already enabled.
192
726f49c3
SN
1932016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
194
195 * config/mips/linux-unwind.h: Use sys/syscall.h.
196
feeb6268
JM
1972016-08-16 Joseph Myers <joseph@codesourcery.com>
198
199 PR libgcc/77265
200 * soft-fp/adddf3.c: Update from glibc.
201 * soft-fp/addsf3.c: Likewise.
202 * soft-fp/addtf3.c: Likewise.
203 * soft-fp/divdf3.c: Likewise.
204 * soft-fp/divsf3.c: Likewise.
205 * soft-fp/divtf3.c: Likewise.
206 * soft-fp/double.h: Likewise.
207 * soft-fp/eqdf2.c: Likewise.
208 * soft-fp/eqsf2.c: Likewise.
209 * soft-fp/eqtf2.c: Likewise.
210 * soft-fp/extenddftf2.c: Likewise.
211 * soft-fp/extended.h: Likewise.
212 * soft-fp/extendsfdf2.c: Likewise.
213 * soft-fp/extendsftf2.c: Likewise.
214 * soft-fp/extendxftf2.c: Likewise.
215 * soft-fp/fixdfdi.c: Likewise.
216 * soft-fp/fixdfsi.c: Likewise.
217 * soft-fp/fixdfti.c: Likewise.
218 * soft-fp/fixsfdi.c: Likewise.
219 * soft-fp/fixsfsi.c: Likewise.
220 * soft-fp/fixsfti.c: Likewise.
221 * soft-fp/fixtfdi.c: Likewise.
222 * soft-fp/fixtfsi.c: Likewise.
223 * soft-fp/fixtfti.c: Likewise.
224 * soft-fp/fixunsdfdi.c: Likewise.
225 * soft-fp/fixunsdfsi.c: Likewise.
226 * soft-fp/fixunsdfti.c: Likewise.
227 * soft-fp/fixunssfdi.c: Likewise.
228 * soft-fp/fixunssfsi.c: Likewise.
229 * soft-fp/fixunssfti.c: Likewise.
230 * soft-fp/fixunstfdi.c: Likewise.
231 * soft-fp/fixunstfsi.c: Likewise.
232 * soft-fp/fixunstfti.c: Likewise.
233 * soft-fp/floatdidf.c: Likewise.
234 * soft-fp/floatdisf.c: Likewise.
235 * soft-fp/floatditf.c: Likewise.
236 * soft-fp/floatsidf.c: Likewise.
237 * soft-fp/floatsisf.c: Likewise.
238 * soft-fp/floatsitf.c: Likewise.
239 * soft-fp/floattidf.c: Likewise.
240 * soft-fp/floattisf.c: Likewise.
241 * soft-fp/floattitf.c: Likewise.
242 * soft-fp/floatundidf.c: Likewise.
243 * soft-fp/floatundisf.c: Likewise.
244 * soft-fp/floatunditf.c: Likewise.
245 * soft-fp/floatunsidf.c: Likewise.
246 * soft-fp/floatunsisf.c: Likewise.
247 * soft-fp/floatunsitf.c: Likewise.
248 * soft-fp/floatuntidf.c: Likewise.
249 * soft-fp/floatuntisf.c: Likewise.
250 * soft-fp/floatuntitf.c: Likewise.
251 * soft-fp/gedf2.c: Likewise.
252 * soft-fp/gesf2.c: Likewise.
253 * soft-fp/getf2.c: Likewise.
254 * soft-fp/ledf2.c: Likewise.
255 * soft-fp/lesf2.c: Likewise.
256 * soft-fp/letf2.c: Likewise.
257 * soft-fp/muldf3.c: Likewise.
258 * soft-fp/mulsf3.c: Likewise.
259 * soft-fp/multf3.c: Likewise.
260 * soft-fp/negdf2.c: Likewise.
261 * soft-fp/negsf2.c: Likewise.
262 * soft-fp/negtf2.c: Likewise.
263 * soft-fp/op-1.h: Likewise.
264 * soft-fp/op-2.h: Likewise.
265 * soft-fp/op-4.h: Likewise.
266 * soft-fp/op-8.h: Likewise.
267 * soft-fp/op-common.h: Likewise.
268 * soft-fp/quad.h: Likewise.
269 * soft-fp/single.h: Likewise.
270 * soft-fp/soft-fp.h: Likewise.
271 * soft-fp/subdf3.c: Likewise.
272 * soft-fp/subsf3.c: Likewise.
273 * soft-fp/subtf3.c: Likewise.
274 * soft-fp/truncdfsf2.c: Likewise.
275 * soft-fp/trunctfdf2.c: Likewise.
276 * soft-fp/trunctfsf2.c: Likewise.
277 * soft-fp/trunctfxf2.c: Likewise.
278 * soft-fp/unorddf2.c: Likewise.
279 * soft-fp/unordsf2.c: Likewise.
280 * soft-fp/unordtf2.c: Likewise.
281
2e6fc1ac
GG
2822016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
283
284 PR gcov-profile/67097
285 * libgcov-util.c (gcov_profile_merge): Skip missing files.
286
a266236e
ML
2872016-08-10 Martin Liska <mliska@suse.cz>
288
289 PR gcov-profile/58306
290 * Makefile.in: New functions (modules) are added.
291 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
292 function.
293 (__gcov_pow2_profiler_atomic): New function.
294 (__gcov_one_value_profiler_body): New argument is instroduced.
295 (__gcov_one_value_profiler): Call with the new argument.
296 (__gcov_one_value_profiler_atomic): Likewise.
297 (__gcov_indirect_call_profiler_v2): Likewise.
298 (__gcov_time_profiler_atomic): New function.
299 (__gcov_average_profiler_atomic): Likewise.
300 (__gcov_ior_profiler_atomic): Likewise.
301 * libgcov.h: Declare the aforementioned functions.
302
e0c8eebf
ML
3032016-08-09 Martin Liska <mliska@suse.cz>
304
305 * libgcov-util.c: Fix typo and GNU coding style.
306
6dce6418
ML
3072016-08-09 Martin Liska <mliska@suse.cz>
308
309 * Makefile.in: Remove __gcov_indirect_call_profiler.
310 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
311 function.
312 * libgcov.h: And the declaration of the function.
313
dcb1e137
ML
3142016-08-09 Martin Liska <mliska@suse.cz>
315
316 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
317 power of two.
318
d6e69705
BS
3192016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
320
321 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
322 * config/rs6000/_mulkc3.c: Likewise.
323
96aa1f95
GJL
3242016-07-29 Georg-Johann Lay <avr@gjlay.de>
325
326 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
327 zero_reg as previous call to __umulhisi3 already cleared it.
328
a1b01d34
AJ
3292016-07-21 Aurelien Jarno <aurelien@aurel32.net>
330
331 PR target/59833
332 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
333
985a47b2
NC
3342016-07-19 Nick Clifton <nickc@redhat.com>
335
336 * config.host (m32r): Add m32r/t-m32r to tmake_file.
337 Add crtinit.o and crtfini.o to extra_parts.
338
f906f5ed
BS
3392016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
340
341 * config/rs6000/_divkc3.c: New.
342 * config/rs6000/_mulkc3.c: New.
343 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
344 and _divkc3.
345 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
346 fp128_ppc_funcs.
347
82742404
HW
3482016-07-11 Hale Wang <hale.wang@arm.com>
349 Andre Vieira <andre.simoesdiasvieira@arm.com>
350
351 * config/arm/lib1funcs.S: Add new wrapper.
352
05a437c1
TP
3532016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
354
355 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
356
3d16d9ec
TP
3572016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
358
359 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
360 and ARMv5t* rather than for a fixed list of architectures.
361
6f493951
TP
3622016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
363
364 * config/arm/bpabi-v6m.S: Clarify what architectures is the
365 implementation suitable for.
366 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
367 for all Thumb-1 only targets.
368 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
369 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
370 __ARM_ARCH_6M__.
371 (EQUIV): Likewise.
372 (ARM_FUNC_ALIAS): Likewise.
373 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
374 version.
375 (modsi3): Likewise.
376 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
377 (clzdi2): Likewise.
378 (ctzsi2): Likewise.
379 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
380 __ARM_ARCH_6M__ in guard for checking whether it is defined.
381 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
382 __ARM_ARCH_6M__ and add comment to indicate the connection between
383 this condition and the one in gcc/config/arm/elf.h.
384 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
385 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
386 * config/arm/t-softfp: Likewise.
387
1770511a
TS
3882016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
389
390 * libgcc2.c (SYMBOL__MAIN): Remove checks for
391 CTOR_LISTS_DEFINED_EXTERNALLY.
392
ba6be749
WL
3932016-06-28 Walter Lee <walt@tilera.com>
394
395 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
396 asm/unistd.h.
397 (SPR_CMPEXCH_VALUE): Define for tilegx.
398 (__NR_FAST_cmpxchg): Define for tilepro.
399 (__NR_FAST_atomic_update): Define for tilepro.
400 (__NR_FAST_cmpxchg64): Define for tilepro.
401
a34c0db5
JS
4022016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
403
18362447 404 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 405
0609abda
TS
4062016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
407
408 * config.host: Remove support for mep-*.
409 * config/mep/lib1funcs.S: Remove.
410 * config/mep/lib2funcs.c: Remove.
411 * config/mep/t-mep: Remove.
412 * config/mep/tramp.c: Remove.
413
3e326935
TS
4142016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
415
416 * config.host: Remove support for avr-rtems.
417 * config/avr/t-rtems: Remove.
418
914b155c
TS
4192016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
420
421 * config.host: Remove m32r-rtems support.
422
5ebf89bd
TS
4232016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
424
425 * config.host: Remove h8300-rtems support.
426
8466af06
TS
4272016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
428
429 * config.host: Remove support for knetbsd.
430
d980e738
TS
4312016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
432
433 * config.host: Remove support for openbsd 2 and 3.
434
ee2499b4
TS
4352016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
436
437 * config.host: Remove interix support.
438 * config/i386/t-interix: Remove.
439
9f92937b
JDA
4402016-06-18 John David Anglin <danglin@gcc.gnu.org>
441
442 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
443 least-significant bit in function pointer for fixup.
444
0a0ec53d
AC
4452016-06-05 Aaron Conole <aconole@redhat.com>
446 Nathan Sidwell <nathan@acm.org>
447
448 PR libgcc/71400
449 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
450 (get_gcov_error_file): Check __gcov_error_file before trying to
451 initialize it.
452 (gcov_error): Always use get_gcov_error_file.
453
8aa5bdd6
AC
4542016-06-02 Aaron Conole <aconole@redhat.com>
455
456 * libgcov-driver-system.c (__gcov_error_file): New.
457 (get_gcov_error_file): New.
458 (gcov_error): Use and set __gcov_error_file.
459 (gcov_error_exit): New.
460 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
461
40774faf
NS
4622016-05-26 Nathan Sidwell <nathan@acm.org>
463
464 * config/nvptx/free.asm: Delete.
465 * config/nvptx/malloc.asm: Delete.
466 * config/nvptx/realloc.c: Delete.
467 * t-nvptx: Update.
468
69a6d5ad
NS
4692016-05-25 Nathan Sidwell <nathan@acm.org>
470
471 * config/nvptx/crt0.s: Delete.
472 * config/nvptx/crt0.c: New.
473 * t-nvptx: Update.
474
6befaff6
SL
4752016-05-19 Sandra Loosemore <sandra@codesourcery.com>
476
385c7747 477 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
478 dw2/seh configuration.
479 [x86_64-*-mingw*]: Likewise.
480
ad251dfd
JS
4812016-05-10 Joel Sherrill <joel@rtems.org>
482
483 PR libgcc/70720
484 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
485 targets so the same extra_parts are built. Also have tmake_file add
486 on to its value rather than override.
487
bc6d9014
OE
4882016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
489
490 * config.host: Remove SH5 support.
491 * configure: Likewise.
492
9129c8cf
OE
4932016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
494
495 * config/sh/crt1.S: Remove SH5 support.
496 * config/sh/crti.S: Likewise.
497 * config/sh/crtn.S: Likewise.
498 * config/sh/lib1funcs-4-300.S: Likewise.
499 * config/sh/lib1funcs-Os-4-200.S: Likewise.
500 * config/sh/lib1funcs.S: Likewise.
501 * config/sh/linux-unwind.h: Likewise.
502 * config/sh/t-sh64: Delete.
503
39d50464
CZ
5042016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
505
506 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
507
8b48923b
CZ
5082016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
509 Joern Rennecke <joern.rennecke@embecosm.com>
510
511 * config/arc/crttls.S: New file.
512 * config/arc/t-arc: New rule.
513 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
514
2de1cf8c
NC
5152016-04-25 Nick Clifton <nickc@redhat.com>
516
517 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
518 (__mspabi_cmpd): Likewise.
519 * config/msp430/floathidf.c (__floathidf): Likewise.
520 * config/msp430/floathisf.c (__floathisf): Likewise
521 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
522 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
523 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
524 second parameter.
525 (__ashrsi3): Likewise.
526
b8ce3fe2
WB
5272016-04-21 Waldemar Brodkorb <wbx@openadk.org>
528
529 * config/m68k/linux-atomic.c: Do not include unistd.h
530
4986f823
MG
5312016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
532
533 * config/arm/ieee754-df.S: Fix typos in comments.
534
35fbda43
MM
5352016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
536
537 PR target/70381
538 * configure.ac (powerpc*-*-linux*): Rework tests to build
539 __float128 emulation routines to not depend on using #pragma GCC
540 target to enable -mfloat128.
541 * configure: Regnerate.
542
72d1a48d
EB
5432016-04-04 Eric Botcazou <ebotcazou@adacore.com>
544
545 PR target/67172
546 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
547 __MINGW32__ is defined.
548
dc2e8995
JB
5492016-03-28 James Bowman <james.bowman@ftdichip.com>
550
385c7747 551 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 552
104cdaf1
MM
5532016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
554
555 PR libgcc/70363
556 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
557 built with an assembler that does not support ISA 3.0
558 instructions, rename __extendkftf2_sw to __extendkftf2.
559
a5046f48
RO
5602016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
561
562 PR target/38239
563 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
564 call-clobbered registers.
565 (internal_mcount): Remove __i386__ handling.
566
df674f74
JS
5672016-02-26 Joel Sherrill <joel@rtems.org>
568
569 * config.host: Add x86_64-*-rtems*.
570
7cb065d6
JS
5712016-02-26 Joel Sherrill <joel@rtems.org>
572
573 * libgcc/config.host: Add aarch64-*-rtems*.
574
47dfdc53
PM
5752016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
576 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
577
578 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
579 union of u64 and double.
580 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
581 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
582 value.
583 (FP_ROUNDMODE): Update the usage of _fpscr.
584
e6861a99
IV
5852016-02-25 Ilya Verbin <ilya.verbin@intel.com>
586
587 PR driver/68463
588 * Makefile.in (crtoffloadtable$(objext)): New rule.
589 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
590 enable_offload_targets is not empty.
591 * configure: Regenerate.
592 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
593 crtoffloadtable.
594
9bfcbdee
MF
5952016-02-17 Max Filippov <jcmvbkbc@gmail.com>
596
597 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
598 .literal_position before the function.
599 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
600 Likewise.
601
4cb4721f
MK
6022016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
603
604 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
605 * config/s390/morestack.S: New file.
606 * config/s390/t-stack-s390: New file.
607 * generic-morestack.c (__splitstack_find): Add s390-specific code.
608
b29d9a29
WL
6092016-02-12 Walter Lee <walt@tilera.com>
610
611 * config.host (tilegx*-*-linux*): remove ti from
612 softfp_int_modes for 32-bit configs.
613
03a0ae7d
ILT
6142016-02-10 Ian Lance Taylor <iant@google.com>
615
616 PR go/68562
617 * config/i386/morestack.S (__stack_split_initialize): Align
618 stack.
619
68750bce
AT
6202016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
621
622 PR bootstrap/69611
623 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
624 __FLOAT128__ to compile only for __float128 capable targets.
625
7d296953
JJ
6262016-01-25 Jakub Jelinek <jakub@redhat.com>
627
628 PR target/69444
629 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
630 instead of ___NO_FPRS__.
631
a71c0334 6322016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
633 Steven Munroe <munroesj@linux.vnet.ibm.com>
634 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
635
636 * config/rs6000/float128-sed: New files to convert TF names to KF
637 names for PowerPC IEEE 128-bit floating point support.
638 * config/rs6000/float128-sed-hw: Likewise.
639
640 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
641 floating point hardware support.
642
643 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
644 128-bit floating point software emulation or use ISA 3.0 hardware
645 support if it is available.
646
647 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
648 floating point.
649
650 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
651 floating point to IBM extended double.
652
653 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
654 double to IEEE 128-bit floating point.
655
656 * config/rs6000/t-float128: New Makefile fragments to enable
657 building __float128 emulation support.
658 * config/rs6000/t-float128-hw: Likewise.
659
660 * config/rs6000/sfp-exceptions.c: New file to provide exception
661 support for IEEE 128-bit floating point.
662
663 * config/rs6000/floattikf.c: New files for converting between IEEE
664 128-bit floating point and signed/unsigned 128-bit integers.
665 * config/rs6000/fixunskfti.c: Likewise.
666 * config/rs6000/fixkfti.c: Likewise.
667 * config/rs6000/floatuntikf.c: Likewise.
668
669 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
670 when building on 64-bit systems, or when VSX is enabled.
671 (_FP_W_TYPE): Likewise.
672 (_FP_WS_TYPE): Likewise.
673 (_FP_I_TYPE): Likewise.
674 (TItype): Define on 64-bit systems.
675 (UTItype): Likewise.
676 (TI_BITS): Likewise.
677 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
678 (_FP_MUL_MEAT_Q): Likewise.
679 (_FP_DIV_MEAT_D): Likewise.
680 (_FP_DIV_MEAT_Q): Likewise.
681 (_FP_NANFRAC_D): Likewise.
682 (_FP_NANFRAC_Q): Likewise.
683 (ISA_BIT): Add exception support if we are being compiled on a
684 machine with hardware floating point support to build the IEEE
685 128-bit emulation functions.
686 (FP_EX_INVALID): Likewise.
687 (FP_EX_OVERFLOW): Likewise.
688 (FP_EX_UNDERFLOW): Likewise.
689 (FP_EX_DIVZERO): Likewise.
690 (FP_EX_INEXACT): Likewise.
691 (FP_EX_ALL): Likewise.
692 (__sfp_handle_exceptions): Likewise.
693 (FP_HANDLE_EXCEPTIONS): Likewise.
694 (FP_RND_NEAREST): Likewise.
695 (FP_RND_ZERO): Likewise.
696 (FP_RND_PINF): Likewise.
697 (FP_RND_MINF): Likewise.
698 (FP_RND_MASK): Likewise.
699 (_FP_DECL_EX): Likewise.
700 (FP_INIT_ROUNDMODE): Likewise.
701 (FP_ROUNDMODE): Likewise.
702
703 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
704 VSX code, enable IEEE 128-bit floating point. If the compiler can
705 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
706 floating point hardware instructions and it supports declaring
707 functions with the ifunc attribute, enable ifunc functions to
708 switch between software and hardware support.
709 * configure.ac (powerpc*-*-linux*): Likewise.
710 * configure: Regenerate.
711
bdc27e50
NC
7122016-01-15 Nick Clifton <nickc@redhat.com>
713
714 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
715 dependency as the source file to be compiled.
716 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
717 (lib2hw_mul_f5.o): Likewise.
718
006df05d
MM
7192016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
720
721 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
722 * libgcc/config/rs6000/fixkfti.c: Likewise.
723 * libgcc/config/rs6000/fixunskfti.c: Likewise.
724 * libgcc/config/rs6000/float128-hw.c: Likewise.
725 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
726 * libgcc/config/rs6000/float128-sed: Likewise.
727 * libgcc/config/rs6000/floattikf.c: Likewise.
728 * libgcc/config/rs6000/floatuntikf.c: Likewise.
729 * libgcc/config/rs6000/quad-float128.h: Likewise.
730 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
731 * libgcc/config/rs6000/sfp-machine.h: Likewise.
732 * libgcc/config/rs6000/t-float128: Likewise.
733 * libgcc/config/rs6000/t-float128-hw: Likewise.
734 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
735 * libgcc/config.host: Likewise.
736 * libgcc/configure: Likewise.
737 * libgcc/configure.ac: Likewise.
738
29176d57 7392016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
740 Steven Munroe <munroesj@linux.vnet.ibm.com>
741 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
742
743 * config/rs6000/sfp-exceptions.c: New file to provide exception
744 support for IEEE 128-bit floating point.
745
746 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
747 floating point hardware support.
748
749 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
750 point conversions.
751 * config/rs6000/fixunskfti.c: Likewise.
752 * config/rs6000/fixkfti.c: Likewise.
753 * config/rs6000/floatuntikf.c: Likewise.
754 * config/rs6000/extendkftf2-sw.c: Likewise.
755 * config/rs6000/trunctfkf2-sw.c: Likewise.
756
757 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
758 128-bit floating point software emulation or use ISA 3.0 hardware
759 support if it is available.
760
761 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
762 floating point.
763
764 * config/rs6000/t-float128: New Makefile fragments to enable
765 building __float128 emulation support.
766 * config/rs6000/t-float128-hw: Likewise.
767
768 * config/rs6000/float128-sed: New file to convert TF names to KF
769 names for PowerPC IEEE 128-bit floating point support.
770
771 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
772 when building on 64-bit systems, or when VSX is enabled.
773 (_FP_W_TYPE): Likewise.
774 (_FP_WS_TYPE): Likewise.
775 (_FP_I_TYPE): Likewise.
776 (TItype): Define on 64-bit systems.
777 (UTItype): Likewise.
778 (TI_BITS): Likewise.
779 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
780 (_FP_MUL_MEAT_Q): Likewise.
781 (_FP_DIV_MEAT_D): Likewise.
782 (_FP_DIV_MEAT_Q): Likewise.
783 (_FP_NANFRAC_D): Likewise.
784 (_FP_NANFRAC_Q): Likewise.
785 (ISA_BIT): Add exception support if we are being compiled on a
786 machine with hardware floating point support to build the IEEE
787 128-bit emulation functions.
788 (FP_EX_INVALID): Likewise.
789 (FP_EX_OVERFLOW): Likewise.
790 (FP_EX_UNDERFLOW): Likewise.
791 (FP_EX_DIVZERO): Likewise.
792 (FP_EX_INEXACT): Likewise.
793 (FP_EX_ALL): Likewise.
794 (__sfp_handle_exceptions): Likewise.
795 (FP_HANDLE_EXCEPTIONS): Likewise.
796 (FP_RND_NEAREST): Likewise.
797 (FP_RND_ZERO): Likewise.
798 (FP_RND_PINF): Likewise.
799 (FP_RND_MINF): Likewise.
800 (FP_RND_MASK): Likewise.
801 (_FP_DECL_EX): Likewise.
802 (FP_INIT_ROUNDMODE): Likewise.
803 (FP_ROUNDMODE): Likewise.
804
805 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
806 compiler can do __float128.
807 * configure: Regenerate.
808
809 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
810 VSX code, enable IEEE 128-bit floating point.
811
a2218983
OH
8122016-01-05 Olivier Hainque <hainque@adacore.com>
813
814 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 815 specificities.
a2218983 816
818ab71a
JJ
8172016-01-04 Jakub Jelinek <jakub@redhat.com>
818
819 Update copyright years.
820
5a6c8ffa
AP
8212015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
822
823 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 824 soft-fp targets.
5a6c8ffa 825
077067a5
BE
8262015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
827
828 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
829 instead of abort to avoid dependency on stdlib.h.
830
787c1027
JDA
8312015-12-09 John David Anglin <danglin@gcc.gnu.org>
832
833 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
834 to initialize call to __dl_fixup once.
835
04a9ae28
NC
8362015-12-04 Nick Clifton <nickc@redhat.com>
837
838 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
839 Allow for the second argument being negative.
840 * config.host (extra_parts): Define for MSP430. Create separate
841 libraries for each of the hardware multiply formats.
842 * config/msp430/lib2hw_mul.S: Build only the multiply routines
843 that are needed.
844 * config/msp430/lib2mul.c: Likewise.
845 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
846 Add rules to build hardware multiply libraries.
847 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
848 __mspabi_divul function.
849 (__mspabi_divllu): New stub function.
850
9a32d437
JDA
8512015-12-01 John David Anglin <danglin@gcc.gnu.org>
852
853 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
854 fixup values if saved GOT address doesn't match runtime address.
855 (fixup_branch_offset): Reorder list.
856
e5ef217c
RO
8572015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
858
859 * Makefile.in (VTV_CFLAGS): New variable.
860 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
861 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
862 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
863 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
864 to extra_parts if $enable_vtable_verify = yes.
865
78cc43a2
SN
8662015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
867
868 PR target/68059
869 * config/arm/linux-atomic-64bit.c (__write): Rename to...
870 (write): ...this and fix the return type.
871
9afebea2
DD
8722015-11-19 DJ Delorie <dj@redhat.com>
873
874 * config/msp430/lib2hw_mul.S: Fix alignment.
875
33f47f42
NS
8762015-11-18 Nathan Sidwell <nathan@codesourcery.com>
877
878 * config/nvptx/reduction.c: New.
879 * config/nvptx/t-nvptx (LIB2ADD): Add it.
880
d9adb476
DE
8812015-11-15 David Edelsohn <dje.gcc@gmail.com>
882
883 * config/rs6000/on_exit.c: New file.
884 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
885 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
886
c0ab1970
CZ
8872015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
888
889 * config/arc/dp-hack.h: Add support for ARCHS.
890 * config/arc/ieee-754/divdf3.S: Likewise.
891 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
892 * config/arc/ieee-754/muldf3.S: Likewise.
893 * config/arc/ieee-754/mulsf3.S: Likewise
894 * config/arc/lib1funcs.S: Likewise
895 * config/arc/gmon/dcache_linesz.S: Don't read the build register
896 for ARCv2 cores.
897 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
898 for ARCv2 cores.
899 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
900 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
901 cores.
902
e6b6bf09
RO
9032015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
904
905 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
906 value.
907 * config/ia64/crtend.S: Likewise.
908
a153644f
TS
9092015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
910
911 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
912 __CHAR_BIT__ instead of BITS_PER_UNIT.
913 * fixed-bit.h: Likewise.
914 * fp-bit.h: Likewise.
915 * libgcc2.c (__popcountSI2): Likewise.
916 (__popcountDI2): Likewise.
917 * libgcc2.h: Likewise.
918 * libgcov.h: Likewise.
919
3dee689d
DE
9202015-11-07 David Edelsohn <dje.gcc@gmail.com>
921
922 * config/rs6000/atexit.c: New file.
923 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
924 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
925 * config/rs6000/cxa_finalize.c
926 (catomic_compare_and_exchange_bool_acq): Negate return value.
927
2ef543e4
VK
9282015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
929
930 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
931 (processor_subtypes): Add znver1.
932 (get_amd_cpu): Detect znver1.
933
1300f017
CL
9342015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
935
936 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
937 Include crtfastmath.o.
938
3e5bb7ee
JR
9392015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
940
941 PR libgcc/66883
942 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 943
793aa938
KP
9442015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
945
946 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
947 * config/rl78/divmodsi.S: Update return register to r8.
948 * config/rl78/divmodhi.S: Update return register to r8,r9.
949 Branch to main_loop_done_himode to pop registers before return.
950
7d296953 9512015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
952
953 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
954 (__cpu_indicator_init): Fix model selection for AMD CPUs.
955
6a192b5a
KY
9562015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
957
958 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
959
4a0a9457
MF
9602015-10-03 Max Filippov <jcmvbkbc@gmail.com>
961
962 * config.host (xtensa*-*-uclinux*): New configuration.
963
ab91c076
KY
9642015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
965
385c7747 966 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
967 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
968
30954527
JM
9692015-09-28 Joseph Myers <joseph@codesourcery.com>
970
971 * soft-fp/adddf3.c: Update from glibc.
972 * soft-fp/addsf3.c: Likewise.
973 * soft-fp/addtf3.c: Likewise.
974 * soft-fp/divdf3.c: Likewise.
975 * soft-fp/divsf3.c: Likewise.
976 * soft-fp/divtf3.c: Likewise.
977 * soft-fp/double.h: Likewise.
978 * soft-fp/eqdf2.c: Likewise.
979 * soft-fp/eqsf2.c: Likewise.
980 * soft-fp/eqtf2.c: Likewise.
981 * soft-fp/extenddftf2.c: Likewise.
982 * soft-fp/extended.h: Likewise.
983 * soft-fp/extendsfdf2.c: Likewise.
984 * soft-fp/extendsftf2.c: Likewise.
985 * soft-fp/extendxftf2.c: Likewise.
986 * soft-fp/fixdfdi.c: Likewise.
987 * soft-fp/fixdfsi.c: Likewise.
988 * soft-fp/fixdfti.c: Likewise.
989 * soft-fp/fixsfdi.c: Likewise.
990 * soft-fp/fixsfsi.c: Likewise.
991 * soft-fp/fixsfti.c: Likewise.
992 * soft-fp/fixtfdi.c: Likewise.
993 * soft-fp/fixtfsi.c: Likewise.
994 * soft-fp/fixtfti.c: Likewise.
995 * soft-fp/fixunsdfdi.c: Likewise.
996 * soft-fp/fixunsdfsi.c: Likewise.
997 * soft-fp/fixunsdfti.c: Likewise.
998 * soft-fp/fixunssfdi.c: Likewise.
999 * soft-fp/fixunssfsi.c: Likewise.
1000 * soft-fp/fixunssfti.c: Likewise.
1001 * soft-fp/fixunstfdi.c: Likewise.
1002 * soft-fp/fixunstfsi.c: Likewise.
1003 * soft-fp/fixunstfti.c: Likewise.
1004 * soft-fp/floatdidf.c: Likewise.
1005 * soft-fp/floatdisf.c: Likewise.
1006 * soft-fp/floatditf.c: Likewise.
1007 * soft-fp/floatsidf.c: Likewise.
1008 * soft-fp/floatsisf.c: Likewise.
1009 * soft-fp/floatsitf.c: Likewise.
1010 * soft-fp/floattidf.c: Likewise.
1011 * soft-fp/floattisf.c: Likewise.
1012 * soft-fp/floattitf.c: Likewise.
1013 * soft-fp/floatundidf.c: Likewise.
1014 * soft-fp/floatundisf.c: Likewise.
1015 * soft-fp/floatunditf.c: Likewise.
1016 * soft-fp/floatunsidf.c: Likewise.
1017 * soft-fp/floatunsisf.c: Likewise.
1018 * soft-fp/floatunsitf.c: Likewise.
1019 * soft-fp/floatuntidf.c: Likewise.
1020 * soft-fp/floatuntisf.c: Likewise.
1021 * soft-fp/floatuntitf.c: Likewise.
1022 * soft-fp/gedf2.c: Likewise.
1023 * soft-fp/gesf2.c: Likewise.
1024 * soft-fp/getf2.c: Likewise.
1025 * soft-fp/ledf2.c: Likewise.
1026 * soft-fp/lesf2.c: Likewise.
1027 * soft-fp/letf2.c: Likewise.
1028 * soft-fp/muldf3.c: Likewise.
1029 * soft-fp/mulsf3.c: Likewise.
1030 * soft-fp/multf3.c: Likewise.
1031 * soft-fp/negdf2.c: Likewise.
1032 * soft-fp/negsf2.c: Likewise.
1033 * soft-fp/negtf2.c: Likewise.
1034 * soft-fp/op-1.h: Likewise.
1035 * soft-fp/op-2.h: Likewise.
1036 * soft-fp/op-4.h: Likewise.
1037 * soft-fp/op-8.h: Likewise.
1038 * soft-fp/op-common.h: Likewise.
1039 * soft-fp/quad.h: Likewise.
1040 * soft-fp/single.h: Likewise.
1041 * soft-fp/soft-fp.h: Likewise.
1042 * soft-fp/subdf3.c: Likewise.
1043 * soft-fp/subsf3.c: Likewise.
1044 * soft-fp/subtf3.c: Likewise.
1045 * soft-fp/truncdfsf2.c: Likewise.
1046 * soft-fp/trunctfdf2.c: Likewise.
1047 * soft-fp/trunctfsf2.c: Likewise.
1048 * soft-fp/trunctfxf2.c: Likewise.
1049 * soft-fp/unorddf2.c: Likewise.
1050 * soft-fp/unordsf2.c: Likewise.
1051 * soft-fp/unordtf2.c: Likewise.
1052
4dfe21ac
RE
10532015-09-24 Richard Earnshaw <rearnsha@arm.com>
1054
1055 PR libgcc/67624
1056 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1057
df2a1cc4
RO
10582015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1059
1060 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1061 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1062 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1063 messages.
1064 (internal_mcount): Likewise.
1065 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1066 crt_compile, add CRTSTUFF_T_CFLAGS_S.
1067
2d110442
RO
10682015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1069
1070 * configure.ac (libgcc_cv_solaris_crts): New test.
1071 * configure: Regenerate.
1072 * config.in: Regenerate.
1073 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1074 * config/gmon-sol2.c: Rename to ...
1075 * config/sol2/gmon.c: ... this.
1076 Include auto-target.h.
1077 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1078 * config/t-sol2: Rename to ...
1079 * config/sol2/t-sol2: ... this.
1080 (gmon.o): Reflect renaming.
1081 (crtp.o, crtpg.o): New rules.
1082 * config.host (*-*-solaris2*): Reflect renaming.
1083 Use system CRTs if present.
1084 Remove default CRT case.
1085
d572e439
JDA
10862015-09-23 John David Anglin <danglin@gcc.gnu.org>
1087
1088 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1089 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1090 __kernel_cmpxchg2.
1091 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1092 (__sync_val_compare_and_swap_##WIDTH): Likewise.
1093 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1094 (__sync_lock_test_and_set_##WIDTH): Likewise.
1095 (__sync_lock_release_##WIDTH): Likewise.
1096 (__sync_fetch_and_##OP##_4): Change result to match type of
1097 __kernel_cmpxchg.
1098 (__sync_##OP##_and_fetch_4): Likewise.
1099 (__sync_val_compare_and_swap_4): Likewise.
1100 (__sync_bool_compare_and_swap_4): likewise.
1101 (__sync_lock_test_and_set_4): Likewise.
1102 (__sync_lock_release_4): Likewise.
1103 (FETCH_AND_OP_2): Add long long variants.
1104 (OP_AND_FETCH_2): Likewise.
1105 (COMPARE_AND_SWAP_2 ): Likewise.
1106 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1107 (SYNC_LOCK_RELEASE_2): Likewise.
1108 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1109
7d296953 11102015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
1111
1112 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1113 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1114 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1115 (get_available_features): Habdle new features.
1116
131314e1
JB
11172015-09-21 James Bowman <james.bowman@ftdichip.com>
1118
1119 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1120 memory layout. Deal correctly with BSS region larger than 32K.
1121 Handle a watchdog reset like a power-on reset. Clean up unused
1122 code.
1123
04218b35
AD
11242015-09-18 Andrew Dixie <andrewd@gentrack.com>
1125 David Edelsohn <dje.gcc@gmail.com>
1126
1127 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1128 * config/rs6000/crtdbase.S: New file.
1129 * config/rs6000/t-aix-cxa: Build crtdbase.o.
1130
c8338173
MF
11312015-09-15 Max Filippov <jcmvbkbc@gmail.com>
1132
1133 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1134 Add support for call0 ABI.
1135
7a84bf71
JDA
11362015-09-13 John David Anglin <danglin@gcc.gnu.org>
1137
1138 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1139
4efab402
SH
11402015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
1141
1142 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1143 (__GTHREAD_HAS_COND): Likewise.
1144 (__gthread_t): Likewise.
1145 (__gthread_cond_t): Likewise.
1146 (__gthread_time_t): Likewise.
1147 (__GTHREAD_MUTEX_INIT): Likewise.
1148 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1149 (__GTHREAD_COND_INIT): Likewise.
1150 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1151 (__GTHREAD_TIME_INIT): Likewise.
1152 (__gthread_create): Likewise.
1153 (__gthread_join): Likewise.
1154 (__gthread_detach): Likewise.
1155 (__gthread_equal): Likewise.
1156 (__gthread_self): Likewise.
1157 (__gthread_yield): Likewise.
1158 (__gthread_cond_broadcast): Likewise.
1159 (__gthread_cond_signal): Likewise.
1160 (__gthread_cond_wait): Likewise.
1161 (__gthread_cond_timedwait): Likewise.
1162 (__gthread_cond_wait_recursive): Likewise.
1163 (__gthread_cond_destroy): Likewise.
1164 (rtems_gxx_once): Delete.
1165 (rtems_gxx_key_create): Likewise.
1166 (rtems_gxx_key_delete): Likewise.
1167 (rtems_gxx_getspecific): Likewise.
1168 (rtems_gxx_setspecific): Likewise.
1169 (rtems_gxx_mutex_init): Likewise.
1170 (rtems_gxx_mutex_destroy): Likewise.
1171 (rtems_gxx_mutex_lock): Likewise.
1172 (rtems_gxx_mutex_trylock): Likewise.
1173 (rtems_gxx_mutex_unlock): Likewise.
1174 (rtems_gxx_recursive_mutex_init): Likewise.
1175 (rtems_gxx_recursive_mutex_lock): Likewise.
1176 (rtems_gxx_recursive_mutex_trylock): Likewise.
1177 (rtems_gxx_recursive_mutex_unlock): Likewise.
1178 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1179 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1180 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1181 (__gthread_once): Likewise.
1182 (__gthread_key_create): Likewise.
1183 (__gthread_key_delete): Likewise.
1184 (__gthread_getspecific): Likewise.
1185 (__gthread_setspecific): Likewise.
1186 (__gthread_key_t): Use <pthread.h> type.
1187 (__gthread_once_t): Likewise
1188 (__gthread_mutex_t): Use <sys/lock.h> type.
1189 (__gthread_recursive_mutex_t): Likewise
1190 (__gthread_mutex_lock): Use <sys/lock.h> function.
1191 (__gthread_mutex_trylock): Likewise.
1192 (__gthread_mutex_timedlock): Likewise.
1193 (__gthread_mutex_unlock): Likewise.
1194 (__gthread_mutex_destroy): Likewise.
1195 (__gthread_recursive_mutex_lock): Likewise.
1196 (__gthread_recursive_mutex_trylock): Likewise.
1197 (__gthread_recursive_mutex_timedlock): Likewise.
1198 (__gthread_recursive_mutex_unlock): Likewise.
1199 (__gthread_recursive_mutex_destroy): Likewise.
1200
991995c4
MF
12012015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1202
1203 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1204 context->sp instead of context->cfa.
1205
0e19db59
MF
12062015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1207
1208 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1209 with unwind-dw2-fde-dip.
1210
b6ac5f62
MF
12112015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1212
1213 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1214 CALL12 followed by series of ENTRY to spill windowed registers.
1215 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1216 instead of making linux spill syscall.
1217
3e0f3349
YR
12182015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
1219
1220 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1221 (get_intel_cpu): Likewise.
1222
51c728b1
L
12232015-08-12 H.J. Lu <hongjiu.lu@intel.com>
1224
1225 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1226 (get_intel_cpu): Add Knights Landing support.
1227
aff4eeac
UB
12282015-08-11 Uros Bizjak <ubizjak@gmail.com>
1229
1230 PR target/66954
1231 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1232 (get_available_features): Handle FEATURE_PCLMUL.
1233
736e56da
L
12342015-08-10 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1237 Broadwell.
1238
54d22142
UB
12392015-07-22 Uros Bizjak <ubizjak@gmail.com>
1240
1241 PR target/66954
1242 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1243 (get_available_features): Handle FEATURE_AES.
1244
20ca17e4
CLT
12452015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
1246
1247 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1248 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1249
ebe4a560
NS
12502015-07-17 Nathan Sidwell <nathan@codesourcery.com>
1251
1252 * offloadstuff.c: Constify host data.
1253
180744c0
JB
12542015-07-17 Jan Beulich <jbeulich@suse.com>
1255
1256 * config/t-softfp: Split up "else ifneq".
1257
a03c6ae3
SL
12582015-07-14 Sandra Loosemore <sandra@codesourcery.com>
1259 Cesar Philippidis <cesar@codesourcery.com>
1260 Chung-Lin Tang <cltang@codesourcery.com>
1261
1262 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1263 for __nios2_arch__ level.
1264
73358db5
JM
12652015-07-13 John Marino <gnugcc@marino.st>
1266
1267 * config/i386/t-dragonfly: New.
1268
f9a12f7b
JDA
12692015-07-01 John David Anglin <danglin@gcc.gnu.org>
1270
1271 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1272 better match light-weight syscall argument order.
1273 (__kernel_cmpxchg2): Likewise.
1274 Adjust callers.
1275
cb78b51c
L
12762015-06-30 H.J. Lu <hongjiu.lu@intel.com>
1277
1278 * config.host: Support i[34567]86-*-elfiamcu target.
1279 * config/t-softfp-sfdftf: New file.
1280 * config/i386/32/t-iamcu: Likewise.
1281 * configure: Regenerated.
1282
4fa0f9ea
JL
12832015-06-23 James Lemke <jwlemke@codesourcery.com>
1284
1285 libgcc/config/arm/
1286 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1287
428b3812
L
12882015-05-27 H.J. Lu <hongjiu.lu@intel.com>
1289
1290 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1291
7d296953 12922015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
1293
1294 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1295 md_unwind_header
1296 * config/i386/freebsd-unwind.h: New.
1297
9b789cc1
UB
12982015-05-22 Uros Bizjak <ubizjak@gmail.com>
1299
1300 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1301 i386/t-crtfm to tmake_file.
1302 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1303 (set_fast_math): Use set_fast_math_sse for SSE targets.
1304 * config/i386/t-crtfm: Remove.
1305
3dafb220
AM
13062015-05-21 Alan Modra <amodra@gmail.com>
1307
1308 PR libgcc/66225
1309 * config/rs6000/morestack.S: Remove ".abiversion 1".
1310
0f0fd745
AM
13112015-05-20 Alan Modra <amodra@gmail.com>
1312
1313 * config/rs6000/morestack.S: New.
1314 * config/rs6000/t-stack-rs6000: New.
1315 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1316 to tmake_file.
1317 * generic-morestack.c: Don't build for powerpc 32-bit.
1318
515ae71b
EB
13192015-05-19 Eric Botcazou <ebotcazou@adacore.com>
1320
1321 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1322 Remove useless endif/ifneq ($(enable_shared),yes) pair.
1323
36805406
JL
13242015-05-16 James Bowman <james.bowman@ftdichip.com>
1325
1326 * config.host: FT32 target added.
1327 * config/ft32/*: New files for FT32 target.
1328
ff935d0c
MG
13292015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
1330
385c7747
UB
1331 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1332 New macros.
1333 * config/arm/ieee754-df.S: Add CFI directives.
1334 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 1335
9b92a9f3
EB
13362015-05-13 Eric Botcazou <ebotcazou@adacore.com>
1337
1338 * configure.ac: Include config/sjlj.m4.
1339 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1340 * config.in: Regenerate.
1341 * configure: Likewise.
1342 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1343
98b5dc61
UB
13442015-05-12 Uros Bizjak <ubizjak@gmail.com>
1345
1346 * libgcov-util.c: Add space between string literal and macro name.
1347
5a0ff57c
SL
13482015-05-06 Sandra Loosemore <sandra@codesourcery.com>
1349 Chris Jones <chrisj@nvidia.com>
1350 Joshua Conner <jconner@nvidia.com>
1351
1352 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1353 (arm*-*-uclinux*): Likewise.
1354 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1355 * config/arm/crtfastmath.c: New file.
1356
d28ad5d4
BS
13572014-04-29 Bernd Schmidt <bernds@codesourcery.com>
1358
1359 * Makefile.in (real_host_noncanonical): New variable.
1360 (libsubdir): Use it.
1361 * configure.ac (real_host_noncanonical): Compute. Remove special
1362 case for intelmicemul.
1363 * configure: Regenerate.
1364
cc86234f
UB
13652015-04-28 Uros Bizjak <ubizjak@gmail.com>
1366
1367 * config/frv/elf-lib.h: New file.
1368 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1369 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1370 to tm_file.
1371
13722015-04-28 Uros Bizjak <ubizjak@gmail.com>
1373
1374 * config/frv/frvbengin.c: Do not include defaults.h
1375 * config/frv/frvend.c: Ditto.
1376
2f6bd6eb
YS
13772015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
1378
1379 * config.host: Add h8300-*-linux
1380 * config/h8300/t-linux: New file.
1381 * config/h8300/lib1funs.s: Change symbol prefix.
1382 * config/h8300/sfp-machine.h: 64bit double support.
1383
15aa7b44
GR
13842015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
1385 Szabolcs Nagy <szabolcs.nagy@arm.com>
1386
1387 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1388 Linux if target provides dl_iterate_phdr.
1389
abd0cdc9
L
13902015-04-17 H.J. Lu <hongjiu.lu@intel.com>
1391
1392 PR target/65612
1393 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1394 * config/i386/cpuinfo.c (__cpu_model): Initialize.
1395 (__cpu_indicator_init@GCC_4.8.0): New.
1396 (__cpu_model@GCC_4.8.0): Likewise.
1397 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1398 -DUSE_ELF_SYMVER.
1399
72ed1126
NC
14002015-04-16 Nick Clifton <nickc@redhat.com>
1401
1402 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1403 and __modhi3 functions.
1404 * config/rl78/divmodso.S: Add G14 and G13 versions of the
1405 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1406
d26b2237
CG
14072015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
1408
1409 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1410 do-while loop as macro body to avoid warnings.
1411
cacf1f59
JJ
14122015-04-10 Jakub Jelinek <jakub@redhat.com>
1413 Iain Sandoe <iain@codesourcery.com>
1414
1415 PR target/65351
1416 * configure: Regenerate.
1417
e8a4ed3b
JJ
14182015-04-07 Jakub Jelinek <jakub@redhat.com>
1419 Iain Sandoe <iain@codesourcery.com>
1420
1421 PR target/65351
1422 * configure: Regenerate.
1423
0341335e
CLT
14242015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
1425
1426 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1427
590e2636 14282015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 1429
590e2636
MF
1430 Implement call0 ABI for xtensa
1431 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1432 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1433 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1434 use ret in call0 ABI.
1435 * config/xtensa/t-windowed: New file.
1436 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1437 * libgcc/configure: Regenerated.
1438 * libgcc/configure.ac: Check if xtensa target is configured for
1439 windowed ABI and thus needs to use custom unwind code.
1440
7727f8f2
JW
14412015-02-12 Jonathan Wakely <jwakely@redhat.com>
1442
1443 PR libgcc/64885
1444 * gthr-single.h: Use __unused__ attribute instead of unused.
1445 * config/gthr-vxworks.h: Likewise.
1446 * config/i386/gthr-win32.h: Likewise.
1447
0e4a0def
KT
14482015-02-27 Kai Tietz <ktietz@redhat.com>
1449
1450 PR target/65038
1451 * config.in: Regenerated.
1452 * configure: Likewise.
1453 * configure.ac (AC_HEADER_STDC): Added explicit.
1454 (AC_CHECK_HEADERS): Check for default headers plus
1455 for ftw.h header.
1456 * libgcov-util.c (gcov_read_profile_dir): Disable use
1457 of ftw-function, if header is not found.
1458 (ftw_read_file): Likewise.
1459
b6530d0a
TS
14602015-02-23 Thomas Schwinge <thomas@codesourcery.com>
1461
1462 PR target/65181
1463 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1464 -Dinhibit_libc.
1465
53cfb467
SL
14662015-02-17 Sandra Loosemore <sandra@codesourcery.com>
1467
1468 * config/arm/bpabi.S (test_div_by_zero): Make label names
1469 consistent between thumb2 and arm mode cases. Separate the
1470 signed comparison on the high word of the numerator from the
1471 unsigned comparison on the low word.
1472 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1473 signed comparison.
1474
77d10a1b
JM
14752015-02-17 Joseph Myers <joseph@codesourcery.com>
1476
1477 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1478 and <string.h>.
1479 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1480
98174188
RE
14812015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
1482
1483 PR gcov-profile/61889
471274de 1484 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 1485
771bef14
NC
14862015-02-02 Nick Clifton <nickc@redhat.com>
1487
1488 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1489 rounding up the fraction.
1490
40702893
JDA
14912015-01-31 John David Anglin <danglin@gcc.gnu.org>
1492
1493 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1494 oldval and newval to const void *. Fix typo.
1495 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1496 (FETCH_AND_OP_WORD): Likewise.
1497 (OP_AND_FETCH_WORD): Likewise.
1498 (COMPARE_AND_SWAP_2): Likewise.
1499 (__sync_val_compare_and_swap_4): Likewise.
1500 (__sync_lock_test_and_set_4): Likewise.
1501 (SYNC_LOCK_RELEASE_2): Likewise.
1502 Remove support for long long atomic operations.
1503
f7f049fa
CT
15042015-01-27 Caroline Tice <cmtice@google.com>
1505
1506 Committing VTV Cywin/Ming patch for Patrick Wollgast
1507 * Makefile.in: Move rules to build vtv_*.o out of the check
1508 for CUSTOM_CRTSTUFF.
1509 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1510 i[34567]86-*-mingw*)
1511 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1512 enable_vtable_verify.
1513
8410904a
NC
15142015-01-27 Nick Clifton <nickc@redhat.com>
1515
1516 * config/rl78/cmpsi2.S: Use function start and end macros.
1517 (__gcc_bcmp): New function.
1518 * config/rl78/lshrsi3.S: Use function start and end macros.
1519 * config/rl78/mulsi3.S: Add support for G10.
1520 (__mulqi3): New function for G10.
1521 * config/rl78/signbit.S: Use function start and end macros.
1522 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1523 fpmath-sf.S.
1524 (LIB2FUNCS_EXCLUDE): Define.
1525 (LIB2FUNCS_ST): Define.
1526 * config/rl78/trampoline.S: Use function start and end macros.
1527 * config/rl78/vregs.h (START_FUNC): New macro.
1528 (START_ANOTHER_FUNC): New macro.
1529 (END_FUNC): New macro.
1530 (END_ANOTHER_FUNC): New macro.
1531 * config/rl78/bit-count.S: New file. Contains assembler
1532 implementations of the bit counting functions: ___clzhi2,
1533 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1534 __paritysi2, __popcounthi2 and __popcountsi2.
1535 * config/rl78/fpbit-sf.S: New file. Contains assembler
1536 implementationas of the math functions: __negsf2, __cmpsf2,
1537 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1538 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
1539 * config/rl78/fpmath-sf.S: New file. Contains assembler
1540 implementations of the math functions: __subsf3, __addsf3,
1541 __mulsf3 and __divsf3
1542
f962fbf1
RO
15432015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1544
1545 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1546 Add i386/elf-lib.h to tm_file.
1547 * config/i386/elf-lib.h: Fix comment.
1548 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1549 && __sun__ && __svr4__]: Remove workaround.
1550
939911c5
ASJ
15512015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
1552
1553 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1554 FEATURE_BMI2.
1555 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1556
c8f2dff2
L
15572015-01-24 H.J. Lu <hongjiu.lu@intel.com>
1558
1559 * config/i386/cpuinfo.c (processor_subtypes): Add
1560 INTEL_COREI7_BROADWELL.
1561 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1562 model numbers.
1563
7bbf9734
UB
15642015-01-23 Uros Bizjak <ubizjak@gmail.com>
1565
1566 * config/i386/elf-lib.h: New file.
1567 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1568 Wrap definition in #ifdef __i386__.
1569 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1570 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1571 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1572 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1573 to tm_file.
1574
324820f1
CG
15752015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
1576
1577 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1578 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1579
a9ce4e4a
CLT
15802015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
1581
1582 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1583 Update rt_sigframe format and address for current Nios II
1584 Linux conventions.
1585
82a19768
AT
15862015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1587
1588 * config.host (arm*-*-freebsd*): Add new configuration for
1589 arm*-*-freebsd*.
1590 * config/arm/freebsd-atomic.c: New file.
1591 * config/arm/t-freebsd: Likewise.
1592 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1593 'PC-relative indirect' OS's.
1594
0969ec7d
EB
15952015-01-06 Eric Botcazou <ebotcazou@adacore.com>
1596
1597 * config.host: Add Visium support.
1598 * config/visium: New directory.
1599
5624e564
JJ
16002015-01-05 Jakub Jelinek <jakub@redhat.com>
1601
1602 Update copyright years.
1603
82f84ecb
MF
16042014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
1605
1606 * config.host: Support mipsisa32r6 and mipsisa64r6.
1607 * config/mips/mips16.S: Do not build for R6.
1608
69044fa9
OE
16092014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
1610
1611 * config/sh/crt.h: New.
1612 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
1613 symbols.
1614 * config/sh/crt1.S: Likewise.
1615
2405e0ea
UB
16162014-12-15 Uros Bizjak <ubizjak@gmail.com>
1617
1618 PR libgcc/63832
1619 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
1620 func_ptr *dtor_list temporary variable to avoid "array subscript
1621 is above array bounds" warnings.
1622
7d296953 16232014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
1624
1625 * Makefile.in (with_aix_soname): Define.
1626 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
1627 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
1628 * configure: Recreate.
1629
a66272f6
OH
16302014-12-05 Olivier Hainque <hainque@adacore.com>
1631
1632 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
1633 now provided by defaults.h.
1634
6342b2c5
OE
16352014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
1636
7d0ee249 1637 PR target/55351
6342b2c5
OE
1638 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
1639 whether it's defined.
1640
c17eac85
IT
16412014-11-27 Ilya Tocar <ilya.tocar@intel.com>
1642
1643 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
1644 * config/i386/cpuinfo.c (get_available_features): Detect it.
1645
1025cb6c
TW
16462014-11-27 Tony Wang <tony.wang@arm.com>
1647
1648 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
1649 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
1650 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
1651
d19f2e38
SB
16522014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
1653
1654 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
1655
17f6e9a3
JDA
16562014-11-24 John David Anglin <danglin@gcc.gnu.org>
1657
1658 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
1659 instead.
1660
0cd7c672
GM
16612014-11-21 Guy Martin <gmsoft@tuxicoman.be>
1662 John David Anglin <danglin@gcc.gnu.org>
1663
1664 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
1665 (FETCH_AND_OP_2): New. Use for subword and double word operations.
1666 (OP_AND_FETCH_2): Likewise.
1667 (COMPARE_AND_SWAP_2): Likewise.
1668 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1669 (SYNC_LOCK_RELEASE_2): Likewise.
1670 (SUBWORD_SYNC_OP): Remove.
1671 (SUBWORD_VAL_CAS): Likewise.
1672 (SUBWORD_BOOL_CAS): Likewise.
1673 (FETCH_AND_OP_WORD): Update.
1674 Consistently use signed types.
cc86234f 1675
85c64bbe
BS
16762014-11-13 Bernd Schmidt <bernds@codesourcery.com>
1677 Thomas Schwinge <thomas@codesourcery.com>
1678 Ilya Verbin <ilya.verbin@intel.com>
1679 Andrey Turetskiy <andrey.turetskiy@intel.com>
1680
1681 * Makefile.in (crtoffloadbegin$(objext)): New rule.
1682 (crtoffloadend$(objext)): Likewise.
1683 * configure: Regenerate.
1684 * configure.ac (accel_dir_suffix): Compute new variable.
1685 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
1686 if enable_offload_targets is not empty.
1687 * offloadstuff.c: New file.
1688
52a1ff8b
NC
16892014-11-13 Nick Clifton <nickc@redhat.com>
1690
1691 * config/rl78/divmodhi.S: Add support for the G10 architecture.
1692 Use START_FUNC and END_FUNC macros to enable linker garbage
1693 collection.
1694 * config/rl78/divmodqi.S: Likewise.
1695 * config/rl78/divmodsi.S: Likewise.
1696 * config/rl78/mulsi3.S: Likewise.
1697 * config/rl78/lib2div.c: Remove G10 functions.
1698 * config/rl78/lib2muls.c: Likewise.
1699 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
1700 * config/rl78/vregs.h (START_FUNC): New macro.
1701 (END_FUNC): New macro.
1702
050af144
MF
17032014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
1704
1705 * config/mips/mips16.S: Set .module when supported. Update O32
1706 FP64 calling convention and use for FPXX when possible. Add FPXX
1707 calling convention fallback case.
1708
738f2522
BS
17092014-11-06 Bernd Schmidt <bernds@codesourcery.com>
1710
1711 * config.host: Handle nvptx-*-*.
1712 * shared-object.mk (as-flags-$o): Define.
1713 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
1714 -xassembler-with-cpp.
1715 * static-object.mk: Identical changes.
1716 * config/nvptx/t-nvptx: New file.
1717 * config/nvptx/crt0.s: New file.
1718 * config/nvptx/free.asm: New file.
1719 * config/nvptx/malloc.asm: New file.
1720 * config/nvptx/realloc.c: New file.
1721
e610393c
JM
17222014-10-30 Joseph Myers <joseph@codesourcery.com>
1723
1724 * Makefile.in (libgcc.map.in): New target.
1725 (libgcc.map): Use libgcc.map.in.
1726 * config/t-softfp (softfp_compat): New variable to be set by
1727 users.
1728 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
1729 variables.
1730 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
1731 directory.
1732 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
1733 that use compat symbols and disable all code unless [SHARED].
1734 * config/t-softfp-compat: New file.
1735 * find-symver.awk: New file.
1736 * configure.ac (--with-glibc-version): New configure option.
1737 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
1738 * configure: Regenerate.
1739 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
1740 soft-float and e500.
1741
bc1b3a88
JM
17422014-10-29 Joseph Myers <joseph@codesourcery.com>
1743
1744 * config/t-hardfp (hardfp_exclusions): Document new variable for
1745 user to define.
1746 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
1747 * config/t-softfp (softfp_extras): Document new variable for user
1748 to define.
1749 (softfp_func_list): Add functions from $(softfp_extras).
1750 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
1751 * config.host (powerpc*-*-linux*): For e500v1, use
1752 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
1753 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
1754 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
1755
ef2810c1
JDA
17562014-10-26 John David Anglin <danglin@gcc.gnu.org>
1757
1758 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
1759 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
1760 memory read accesses are ok.
1761
d80c2bea
JM
17622014-10-25 Joseph Myers <joseph@codesourcery.com>
1763
1764 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
1765 * configure: Regenerate.
1766 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
1767 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
1768 of soft-fp for 32-bit classic hard float. Do not use
1769 t-softfp-excl for soft float.
1770
693b297b
JM
17712014-10-22 Joseph Myers <joseph@codesourcery.com>
1772
1773 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
1774 configurations.
1775 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
1776 Remove variables.
1777
18a3415e
GJL
17782014-10-22 Georg-Johann Lay <avr@gjlay.de>
1779
1780 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
1781 introduced with 2014-10-21 trunk r216525.
1782
c1dd9790 17832014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
1784 Vidya Praveen <vidya.praveen@atmel.com>
1785 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
1786 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
1787 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
1788
1789 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
1790 order.
1791
1792 Updated library functions for AVRTINY arch.
1793 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
1794 Replaced occurrences of r0/r1 with tmp/zero reg macros.
1795 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
1796 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
1797 wsubi/wadi macors.
1798 (__mulsi3_helper): Update stack, preserve callee saved regs and
1799 argument from stack. Restore callee save registers.
1800 (__mulpsi3): Likewise.
1801 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
1802 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 1803 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
1804 AVRTINY.
1805 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
1806 (__do_copy_data): Added new definition for AVRTINY.
1807 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
1808 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
1809 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
1810 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
1811 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
1812 macors.
18a3415e 1813 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
1814 AVRTINY.
1815
18a3415e 1816 Fix broken long multiplication on tiny arch.
c1dd9790 1817
5f606431
JM
18182014-10-09 Joseph Myers <joseph@codesourcery.com>
1819
1820 * soft-fp/double.h: Update from glibc.
1821 * soft-fp/eqdf2.c: Likewise.
1822 * soft-fp/eqsf2.c: Likewise.
1823 * soft-fp/eqtf2.c: Likewise.
1824 * soft-fp/extenddftf2.c: Likewise.
1825 * soft-fp/extended.h: Likewise.
1826 * soft-fp/extendsfdf2.c: Likewise.
1827 * soft-fp/extendsftf2.c: Likewise.
1828 * soft-fp/extendxftf2.c: Likewise.
1829 * soft-fp/gedf2.c: Likewise.
1830 * soft-fp/gesf2.c: Likewise.
1831 * soft-fp/getf2.c: Likewise.
1832 * soft-fp/ledf2.c: Likewise.
1833 * soft-fp/lesf2.c: Likewise.
1834 * soft-fp/letf2.c: Likewise.
1835 * soft-fp/op-1.h: Likewise.
1836 * soft-fp/op-2.h: Likewise.
1837 * soft-fp/op-4.h: Likewise.
1838 * soft-fp/op-8.h: Likewise.
1839 * soft-fp/op-common.h: Likewise.
1840 * soft-fp/quad.h: Likewise.
1841 * soft-fp/single.h: Likewise.
1842 * soft-fp/soft-fp.h: Likewise.
1843 * soft-fp/unorddf2.c: Likewise.
1844 * soft-fp/unordsf2.c: Likewise.
1845 * soft-fp/unordtf2.c: Likewise.
1846 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
1847 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
1848 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
1849 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
1850 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
1851 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
1852 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
1853 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
1854 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
1855 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
1856
9b84e7a8
RX
18572014-10-08 Rong Xu <xur@google.com>
1858
1859 * libgcov-util.c (read_gcda_file): Fix format.
1860 (find_match_gcov_info): Ditto.
1861 (calculate_2_entries): New.
1862 (compute_one_gcov): Ditto.
1863 (gcov_info_count_all_cold): Ditto.
1864 (gcov_info_count_all_zero): Ditto.
1865 (extract_file_basename): Ditto.
1866 (get_file_basename): Ditto.
1867 (set_flag): Ditto.
1868 (matched_gcov_info): Ditto.
1869 (calculate_overlap): Ditto.
1870 (gcov_profile_overlap): Ditto.
1871 * libgcov-driver.c (compute_summary): Make
1872 it avavilable for external calls.
1873
fe1090c1
RX
18742014-10-06 Rong Xu <xur@google.com>
1875
1876 * Makefile.in: Ditto.
1877 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
1878 (gcov_sort_icall_topn_counter): Ditto.
1879 (gcov_sort_topn_counter_arrays): Ditto.
1880 (dump_one_gcov): Sort indirect_call topn counters.
1881 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
1882 function.
1883 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
1884 utility function.
1885 (__gcov_indirect_call_topn_profiler): New profiler function.
1886 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
1887 * libgcov.h: New decls.
1888
3daa7bbf
TS
18892014-10-04 Trevor Saunders <tsaunders@mozilla.com>
1890
1891 * config.host: Remove support for score-*.
1892
9a79452d
JM
18932014-09-22 Joseph Myers <joseph@codesourcery.com>
1894
1895 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1896 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
1897 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
1898 __LIBGCC_XF_MANT_DIG__.
1899 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
1900 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
1901 __LIBGCC_TF_MANT_DIG__.
1902 * libgcc2.c (NOTRUNC): Define in terms of
1903 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
1904 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1905
1a849e50
JM
19062014-09-22 Joseph Myers <joseph@codesourcery.com>
1907
1908 PR target/63312
1909 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
1910 New macros.
1911
598a1586
HPN
19122014-09-22 Hans-Peter Nilsson <hp@axis.com>
1913
1914 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
1915 override USE_PT_GNU_EH_FRAME.
1916 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
1917 check USE_EH_FRAME_REGISTRY_ALWAYS against
1918 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
1919 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
1920 variable for substituted force_explicit_eh_registry.
1921 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
1922 * configure.ac (explicit-exception-frame-registration):
1923 New AC_ARG_ENABLE.
1924 * configure: Regenerate.
1925
3a8fe7c6
OH
19262014-09-19 Olivier Hainque <hainque@adacore.com>
1927
1928 * config.host (powerpc-wrs-vxworksmils): New configuration,
1929 same as vxworksae.
1930
dd69f047
JM
19312014-09-18 Joseph Myers <joseph@codesourcery.com>
1932
1933 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
1934
e770bfd9
JM
19352014-09-18 Joseph Myers <joseph@codesourcery.com>
1936
1937 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
1938 bits not set bits as indicating trapping exceptions.
1939
cadb2b96
NS
19402014-09-17 Nathan sidwell <nathan@acm.org>
1941
1942 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
1943 (LIBGCOV_DRIVER): ... here.
1944 * libgcov-driver.c (gcov_master): New.
1945 (gcov_exit): Remove from master chain.
1946 (__gcov_init): Add to master chain if version compatible. Don't
1947 clear the version.
1948 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
1949 (gcov_reset_int): Clear master chain, if compatible.
1950 (gcov_dump_int): New internal interface. Dump master chain, if
1951 compatible.
1952 (gcov_dump): Alias for gcov_dump_int.
1953 * libgcov.h (struct gcov_root): Add next and prev fields.
1954 (struct gcov_master): New struct.
1955 (__gcov_master): New.
1956 (gcov_dump_int): Declare.
1957
580d22a3
OH
19582014-09-17 Olivier Hainque <hainque@adacore.com>
1959
1960 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
1961 and crtbegin.o + crtend.o to extra_parts.
1962
8cc4b7a2
JM
19632014-09-12 Joseph Myers <joseph@codesourcery.com>
1964
1965 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
1966 __LIBGCC_HAS_SF_MODE__.
1967 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1968 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1969 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1970 * config/libbid/bid_gcc_intrinsics.h
1971 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1972 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1973 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1974 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1975 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
1976 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1977
ea3f2b24
GJL
19782014-09-11 Georg-Johann Lay <avr@gjlay.de>
1979
1980 PR target/63223
1981 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
1982 and R24 as needed. Make work for all devices and .text locations.
1983 (__do_global_ctors, __do_global_dtors): Use word addresses.
1984 (__tablejump__, __tablejump_elpm__): Remove functions.
1985 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
1986 Add _tablejump2.
1987 (XICALL, XIJMP): New macros.
1988
b677236a
MS
19892014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
1990 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1991
1992 * config.host (aarch64*): Include crtfastmath.o and
1993 t-crtfm.
1994 * config/aarch64/crtfastmath.c: New file.
1995
157e859f
TS
19962014-09-08 Trevor Saunders <tsaunders@mozilla.com>
1997
1998 * config.host: Remove picochip support.
1999 * config/picochip/adddi3.S: Remove.
2000 * config/picochip/ashlsi3.S: Remove.
2001 * config/picochip/ashlsi3.c: Remove.
2002 * config/picochip/ashrsi3.S: Remove.
2003 * config/picochip/ashrsi3.c: Remove.
2004 * config/picochip/clzsi2.S: Remove.
2005 * config/picochip/cmpsi2.S: Remove.
2006 * config/picochip/divmod15.S: Remove.
2007 * config/picochip/divmodhi4.S: Remove.
2008 * config/picochip/divmodsi4.S: Remove.
2009 * config/picochip/lib1funcs.S: Remove.
2010 * config/picochip/longjmp.S: Remove.
2011 * config/picochip/lshrsi3.S: Remove.
2012 * config/picochip/lshrsi3.c: Remove.
2013 * config/picochip/parityhi2.S: Remove.
2014 * config/picochip/popcounthi2.S: Remove.
2015 * config/picochip/setjmp.S: Remove.
2016 * config/picochip/subdi3.S: Remove.
2017 * config/picochip/t-picochip: Remove.
2018 * config/picochip/ucmpsi2.S: Remove.
2019 * config/picochip/udivmodhi4.S: Remove.
2020 * config/picochip/udivmodsi4.S: Remove.
2021
66bb34c0
JM
20222014-09-08 Joseph Myers <joseph@codesourcery.com>
2023
2024 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2025 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2026 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2027 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2028 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
2029 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2030 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
2031 defined and LIBGCC2_HAS_DF_MODE is defined.
2032 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
2033 defined and LIBGCC2_HAS_XF_MODE is defined.
2034 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
2035 defined and LIBGCC2_HAS_TF_MODE is defined.
2036
9686a2e6
JM
20372014-09-08 Joseph Myers <joseph@codesourcery.com>
2038
2039 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2040 and ROUND_TOWARDS_ZERO conditionals.
2041
71c3e2ef
NS
20422014-09-07 Nathan sidwell <nathan@acm.org>
2043
2044 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2045 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
2046
53d68b9f
JM
20472014-09-05 Joseph Myers <joseph@codesourcery.com>
2048
2049 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2050 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2051 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2052 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2053 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2054 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2055 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2056 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2057 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2058 (DWARF_FRAME_REGISTERS): Change all uses to
2059 __LIBGCC_DWARF_FRAME_REGISTERS__.
2060 (EH_RETURN_STACKADJ_RTX): Change all uses to
2061 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2062 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2063 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
2064 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2065 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2066 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2067 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2068 to __LIBGCC_EH_FRAME_SECTION_NAME__.
2069 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2070 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2071 __LIBGCC_STACK_POINTER_REGNUM__.
2072 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2073 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2074 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2075 to __LIBGCC_STACK_POINTER_REGNUM__.
2076 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2077 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2078 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2079 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2080 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2081 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2082 (STACK_POINTER_REGNUM): Change all uses to
2083 __LIBGCC_STACK_POINTER_REGNUM__.
2084 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2085 use to __LIBGCC_STACK_POINTER_REGNUM__.
2086 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2087 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2088 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2089 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2090 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2091 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2092 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2093 to __LIBGCC_STACK_POINTER_REGNUM__.
2094 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2095 Remove conditional definition.
2096 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2097 __LIBGCC_TEXT_SECTION_ASM_OP__.
2098 (EH_FRAME_SECTION_NAME): Change all uses to
2099 __LIBGCC_EH_FRAME_SECTION_NAME__.
2100 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2101 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2102 (CTORS_SECTION_ASM_OP): Change all uses to
2103 __LIBGCC_CTORS_SECTION_ASM_OP__.
2104 (DTORS_SECTION_ASM_OP): Change all uses to
2105 __LIBGCC_DTORS_SECTION_ASM_OP__.
2106 (JCR_SECTION_NAME): Change all uses to
2107 __LIBGCC_JCR_SECTION_NAME__.
2108 (INIT_SECTION_ASM_OP): Change all uses to
2109 __LIBGCC_INIT_SECTION_ASM_OP__.
2110 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2111 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2112 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2113 __LIBGCC_STACK_GROWS_DOWNWARD__.
2114 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2115 __LIBGCC_INIT_SECTION_ASM_OP__.
2116 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2117 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2118 (EH_FRAME_SECTION_NAME): Change all uses to
2119 __LIBGCC_EH_FRAME_SECTION_NAME__.
2120 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2121 definitions. Change all uses to
2122 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2123 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2124 __LIBGCC_STACK_GROWS_DOWNWARD__.
2125 (DWARF_FRAME_REGISTERS): Change all uses to
2126 __LIBGCC_DWARF_FRAME_REGISTERS__.
2127 (EH_RETURN_STACKADJ_RTX): Change all uses to
2128 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2129 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2130 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2131 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2132 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2133 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2134
b20ee094
NS
21352014-09-02 Nathan sidwell <nathan@acm.org>
2136
2137 * libgcov-interface.c (STRONG_ALIAS): New.
2138 (__gcov_flush): Call __gcov_reset_int.
2139 (__gcov_reset): Strong alias for ...
2140 (__gcov_reset_ing): ... this renamed hidden version.
2141 * libgcov.h (__gcov_reset_int): New declaration.
2142
1ac83976
YS
21432014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2144
25efdb9f
YS
2145 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2146 call from here...
2147 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2148 (__dso_handle): Define on Cygwin.
2149 * config/i386/t-cygming (crtbeginS.o): New rule.
2150 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2151
1ac83976
YS
2152 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2153 declaration syntax.
2154
c6f9ea3b
SE
21552014-08-13 Steve Ellcey <sellcey@mips.com>
2156
2157 * crtstuff.c: Undef caddr_t.
2158
5b1ea7c5
SE
21592014-08-12 Steve Ellcey <sellcey@mips.com>
2160
2161 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
2162
4303c581
NS
21632014-08-07 Nathan Sidwell <nathan@acm.org>
2164
2165 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2166 (LIBGCOV_DRIVER): ... to here.
2167 * libgcov.h (gcov_do_dump): New #define.
2168 (struct gcov_root): New.
2169 (__gcov_root): New declaration.
2170 (__gcov_dump_one): Declare.
2171 * libgcov-driver.c (gcov_list, gcov_dump_complete,
2172 run_accounted): Delete.
2173 (gcov_compute_histogram): Add LIST argument, adjust.
2174 (compute_summary): Adjust gcov_compute_histogram call.
2175 (gcov_do_dump): Not hidden, static in libgcov.
2176 (gcov_clear): Move to interface.c.
2177 (__gcov_dump_one): New, broken out of ...
2178 (gcov_exit): ... here. Make static.
2179 (__gcov_root): New.
2180 (__gcov_init): Adjust.
2181 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2182 declarations.
2183 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2184 (gcov_clear): Moved from driver.c. Add LIST argument.
2185 (__gcov_reset): Adjust for changed interfaces.
2186 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2187
23742a9e
RAR
21882014-08-04 Rohit <rohitarulraj@freescale.com>
2189
2190 PR target/60102
2191 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 2192 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 2193
b98a872b
NS
21942014-08-01 Nathan Sidwell <nathan@acm.org>
2195
2196 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2197 LIBGCOV_INTERFACE): Reformat.
2198 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2199 IN_GCOV_TOOL.
2200 * libgcov-interface.c: Reformat some comments.
2201 (__gcov_flush_mx): Add declaration. Tidy up definition.
2202
6adaaa1d
AM
22032014-07-31 Alan Modra <amodra@gmail.com>
2204 Peter Bergner <bergner@vnet.ibm.com>
2205
2206 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2207 (pack_ldouble): New function.
2208 (__gcc_qadd): Use it.
2209 (__gcc_qmul): Likewise.
2210 (__gcc_qdiv): Likewise.
2211 (__gcc_qneg): Likewise.
2212 (__gcc_stoq): Likewise.
2213 (__gcc_dtoq): Likewise.
2214
87cb0c0c
UW
22152014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
2216
2217 * config/s390/tpf-unwind.h: Include <stdbool.h>.
2218 (__tpf_eh_return): Add original return address as second parameter.
2219 Handle cases where unwinder routines were called directly, instead
2220 of from within the C++ library.
2221
19926161
NS
22222014-07-29 Nathan Sidwell <nathan@acm.org>
2223
2224 * libgcov.h: Move renaming of entry points to lib gcov specific
2225 portion.
2226 (gcov_do_dump): New rename.
2227 (gcov_rewrite): Remove inline, make HIDDEN.
2228 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2229 (gcov_exit_compute_summary): Rename to ...
2230 (compute_summary): ... here. Add LIST argument.
2231 (gcov_exit_merge_gcda): Rename to ...
2232 (merge_one_data): ... here.
2233 (gcov_exit_write_gcda): Rename to ...
2234 (write_one_data): ... here.
2235 (gcov_exit_merge_summary): Rename to ...
2236 (merge_summary): Add RUN_COUNTED argument.
2237 (gcov_exit_dump_gcov): Rename to ...
2238 (dump_one_gcov): Add RUN_COUNTED argument.
2239 (gcov_do_dump): New function, broken out of ...
2240 (gcov_exit): ... here. Call it.
2241
17522262
AG
22422014-07-27 Anthony Green <green@moxielogic.com>
2243
2244 * config.host: Add moxiebox configuration suppport.
2245
6dc33097
NS
22462014-07-27 Nathan Sidwell <nathan@acm.org>
2247
2248 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2249 (struct gcov_filename): ... here. Include buffer and max length
2250 fields.
2251 (gcov_max_filename): Remove.
2252 (gi_filename): Remove.
2253 (gcov_exit_compute_summary): Compute max filename here.
2254 (gcov_exit_merge_gcda): Add filename parm, adjust.
2255 (gcov_exit_merge_summary): Likewise.
2256 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2257 (gcov_exit): Likewise.
2258 (__gcov_init): Don't calculate max length here.
2259 * libgcov_util.c (max_filename_len): Remove.
2260 (read_gcda_file): Don't calculate max length here.
2261 (gcov_read_profile_dir): Don't propagate here.
2262 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2263 struct gcov_filename changes.
2264 (gcov_exit_open_gcda_file): Likewise.
2265
770f687d
NS
22662014-07-25 Nathan Sidwell <nathan@acm.org>
2267
2268 * libgcov-driver.c (set_gcov_dump_complete,
2269 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2270 functions polluting user's namespace.
2271 (gcov_exit): Set variable directly.
2272 (gcov_clear): Reset variable directly.
2273 * libgcov-interface.c (get_gcov_dymp_complete,
2274 reset_gov_dump_complete): Remove declarations.
2275 (__gcov_reset, __gcov_dump): Don't call them.
2276
fabf71ba
DD
22772014-07-24 DJ Delorie <dj@redhat.com>
2278
2279 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
2280 (__gcc_deregister_frame): Move logic to detect deregister function
2281 to ...
2282 (__gcc_register_frame): here, so it's consistent with the register
2283 logic.
fabf71ba 2284
d10ee722
NS
22852014-07-23 Nathan Sidwell <nathan@acm.org>
2286
2287 * libgcov-driver.c (set_gcov_list): Remove.
2288 (gcov_list): Make non-static in GCOV_TOOL.
2289 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2290
a4137090
JDA
22912014-07-17 John David Anglin <danglin@gcc.gnu.org>
2292
2293 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2294 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2295 Don't use SYNC_LOCK_RELEASE for int type.
2296
72602c6c
RB
22972014-07-14 Richard Biener <rguenther@suse.de>
2298
2299 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2300
d5313205
RX
23012014-07-11 Rong Xu <xur@google.com>
2302
2303 * libgcov-util.c (gcov_max_filename): Fix declartion.
2304
c77556a5
RX
23052014-07-10 Rong Xu <xur@google.com>
2306
2307 Add gcov-tool: an offline gcda profile processing tool
2308 Support.
2309 * libgcov-driver.c (gcov_max_filename): Make available
2310 to gcov-tool.
2311 * libgcov-merge.c (__gcov_merge_add): Replace
2312 gcov_read_counter() with a Macro.
2313 (__gcov_merge_ior): Ditto.
2314 (__gcov_merge_time_profile): Ditto.
2315 (__gcov_merge_single): Ditto.
2316 (__gcov_merge_delta): Ditto.
2317 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2318 in the utility functions.
2319 (set_fn_ctrs): Utility function for reading gcda files to in-memory
2320 gcov_list object link lists.
2321 (tag_function): Ditto.
2322 (tag_blocks): Ditto.
2323 (tag_arcs): Ditto.
2324 (tag_lines): Ditto.
2325 (tag_counters): Ditto.
2326 (tag_summary): Ditto.
2327 (read_gcda_finalize): Ditto.
2328 (read_gcda_file): Ditto.
2329 (ftw_read_file): Ditto.
2330 (read_profile_dir_init): Ditto.
2331 (gcov_read_profile_dir): Ditto.
2332 (gcov_read_counter_mem): Ditto.
2333 (gcov_get_merge_weight): Ditto.
2334 (merge_wrapper): A wrapper function that calls merging handler.
2335 (gcov_merge): Merge two gcov_info objects with weights.
2336 (find_match_gcov_info): Find the matched gcov_info in the list.
2337 (gcov_profile_merge): Merge two gcov_info object lists.
2338 (__gcov_add_counter_op): Process edge profile counter values.
2339 (__gcov_ior_counter_op): Process IOR profile counter values.
2340 (__gcov_delta_counter_op): Process delta profile counter values.
2341 (__gcov_single_counter_op): Process single profile counter values.
2342 (fp_scale): Callback function for float-point scaling.
cc86234f 2343 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
2344 (gcov_profile_scale): Scaling profile counters.
2345 (gcov_profile_normalize): Normalize profile counters.
2346 * libgcov.h: Add headers and functions for gcov-tool use.
2347 (gcov_get_counter): New.
2348 (gcov_get_counter_target): Ditto.
2349 (struct gcov_info): Make the functions field mutable in gcov-tool
2350 compilation.
2351
5c7dac8a
KT
23522014-06-23 Kai Tietz <ktietz@redhat.com>
2353
2354 PR libgcc/61585
2355 * unwind-seh.c (_Unwind_GetGR): Check for proper
2356 index range.
2357 (_Unwind_SetGR): Likewise.
2358
161c9312
NC
23592014-05-22 Nick Clifton <nickc@redhat.com>
2360
2361 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2362 -mhwmult=none.
2363
e3f0315f
TJ
23642014-05-22 Teresa Johnson <tejohnson@google.com>
2365
2366 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2367 include.
2368
dbed5a9b
JM
23692014-05-20 John Marino <gnugcc@marino.st>
2370
2371 * config.host (*-*-dragonfly*): New target.
2372 * crtstuff.c: Make dl_iterate_support generic on *bsd.
2373 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2374 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2375 * config/i386/dragonfly-unwind.h: New.
2376
1ec380e5
MR
23772014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2378
2379 PR libgcc/60166
2380 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2381 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2382
54fde020
BE
23832014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
2384
2385 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2386 implementation.
2387
999db125
GJL
23882014-05-12 Georg-Johann Lay <avr@gjlay.de>
2389
2390 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2391
cceaf54a
RO
23922014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2393
2394 PR libgcc/61097
2395 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2396 if --enable-shared.
2397
e3fe9b5b
BE
23982014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
2399
2400 Work around for current cygwin32 build problems.
2401 * config/i386/cygming-crtbegin.c (__register_frame_info,
2402 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2403 functions only for 64-bit systems.
2404
54cf37e9
RO
24052014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2406
2407 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2408 (sigill_caught, sigill_hdlr): Remove.
2409
d9f069ab
RO
24102014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2411
2412 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2413 check.
2414 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2415 Solaris 9 single-threaded support.
2416 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2417 Solaris 9 single-threaded support. Add call_user_handler code
2418 sequences.
2419 (sparc_is_sighandler): Likewise.
2420
59976ef8
AK
24212014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2422
2423 * config.host: Append t-floattodi to tmake_file depending on
2424 host_address.
2425
d02bbcf3
JS
24262014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
2427
31466bc0 2428 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 2429
c2e7e597
UB
24302014-03-10 Uros Bizjak <ubizjak@gmail.com>
2431
2432 PR libgcc/60472
2433 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 2434 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
2435 Use __builtin_expect when checking *jcr_list for NULL.
2436
227a7dc8
RO
24372014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2438
2439 PR libgcc/59339
2440 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2441 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2442 vtv_*.o to extra_parts if enable_vtable_verify.
2443
df2b279c
NC
24442014-03-06 Nick Clifton <nickc@redhat.com>
2445
2446 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2447 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2448
dc11d79b
JY
24492014-02-28 Joey Ye <joey.ye@arm.com>
2450
2451 PR libgcc/60166
2452 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2453 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2454 Set to zero.
2455
341c653c
WL
24562014-02-24 Walter Lee <walt@tilera.com>
2457
2458 * config.host: Support "tilegx*" and "tilepro*" triplets.
2459 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2460 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2461
95ce7613
CLT
24622014-02-20 Sandra Loosemore <sandra@codesourcery.com>
2463 Chung-Lin Tang <cltang@codesourcery.com>
2464
2465 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2466 * config/nios2/crti.S: Remove .file directive.
2467 * config/nios2/crtn.S: Likewise.
2468
0bb4fc05
KT
24692014-02-18 Kai Tietz <ktietz@redhat.com>
2470 Jonathan Schleifer <js@webkeks.org>
2471
2472 PR objc/56870
2473 * unwind-seh.c (_GCC_specific_handler): Pass proper
2474 value to unwind-handler.
2475
9acf28f1
JM
24762014-02-12 Joseph Myers <joseph@codesourcery.com>
2477
2478 * soft-fp/adddf3.c: Update from glibc.
2479 * soft-fp/addsf3.c: Likewise.
2480 * soft-fp/addtf3.c: Likewise.
2481 * soft-fp/divdf3.c: Likewise.
2482 * soft-fp/divsf3.c: Likewise.
2483 * soft-fp/divtf3.c: Likewise.
2484 * soft-fp/double.h: Likewise.
2485 * soft-fp/eqdf2.c: Likewise.
2486 * soft-fp/eqsf2.c: Likewise.
2487 * soft-fp/eqtf2.c: Likewise.
2488 * soft-fp/extenddftf2.c: Likewise.
2489 * soft-fp/extended.h: Likewise.
2490 * soft-fp/extendsfdf2.c: Likewise.
2491 * soft-fp/extendsftf2.c: Likewise.
2492 * soft-fp/extendxftf2.c: Likewise.
2493 * soft-fp/fixdfdi.c: Likewise.
2494 * soft-fp/fixdfsi.c: Likewise.
2495 * soft-fp/fixdfti.c: Likewise.
2496 * soft-fp/fixsfdi.c: Likewise.
2497 * soft-fp/fixsfsi.c: Likewise.
2498 * soft-fp/fixsfti.c: Likewise.
2499 * soft-fp/fixtfdi.c: Likewise.
2500 * soft-fp/fixtfsi.c: Likewise.
2501 * soft-fp/fixtfti.c: Likewise.
2502 * soft-fp/fixunsdfdi.c: Likewise.
2503 * soft-fp/fixunsdfsi.c: Likewise.
2504 * soft-fp/fixunsdfti.c: Likewise.
2505 * soft-fp/fixunssfdi.c: Likewise.
2506 * soft-fp/fixunssfsi.c: Likewise.
2507 * soft-fp/fixunssfti.c: Likewise.
2508 * soft-fp/fixunstfdi.c: Likewise.
2509 * soft-fp/fixunstfsi.c: Likewise.
2510 * soft-fp/fixunstfti.c: Likewise.
2511 * soft-fp/floatdidf.c: Likewise.
2512 * soft-fp/floatdisf.c: Likewise.
2513 * soft-fp/floatditf.c: Likewise.
2514 * soft-fp/floatsidf.c: Likewise.
2515 * soft-fp/floatsisf.c: Likewise.
2516 * soft-fp/floatsitf.c: Likewise.
2517 * soft-fp/floattidf.c: Likewise.
2518 * soft-fp/floattisf.c: Likewise.
2519 * soft-fp/floattitf.c: Likewise.
2520 * soft-fp/floatundidf.c: Likewise.
2521 * soft-fp/floatundisf.c: Likewise.
2522 * soft-fp/floatunditf.c: Likewise.
2523 * soft-fp/floatunsidf.c: Likewise.
2524 * soft-fp/floatunsisf.c: Likewise.
2525 * soft-fp/floatunsitf.c: Likewise.
2526 * soft-fp/floatuntidf.c: Likewise.
2527 * soft-fp/floatuntisf.c: Likewise.
2528 * soft-fp/floatuntitf.c: Likewise.
2529 * soft-fp/gedf2.c: Likewise.
2530 * soft-fp/gesf2.c: Likewise.
2531 * soft-fp/getf2.c: Likewise.
2532 * soft-fp/ledf2.c: Likewise.
2533 * soft-fp/lesf2.c: Likewise.
2534 * soft-fp/letf2.c: Likewise.
2535 * soft-fp/muldf3.c: Likewise.
2536 * soft-fp/mulsf3.c: Likewise.
2537 * soft-fp/multf3.c: Likewise.
2538 * soft-fp/negdf2.c: Likewise.
2539 * soft-fp/negsf2.c: Likewise.
2540 * soft-fp/negtf2.c: Likewise.
2541 * soft-fp/op-1.h: Likewise.
2542 * soft-fp/op-2.h: Likewise.
2543 * soft-fp/op-4.h: Likewise.
2544 * soft-fp/op-8.h: Likewise.
2545 * soft-fp/op-common.h: Likewise.
2546 * soft-fp/quad.h: Likewise.
2547 * soft-fp/single.h: Likewise.
2548 * soft-fp/soft-fp.h: Likewise.
2549 * soft-fp/subdf3.c: Likewise.
2550 * soft-fp/subsf3.c: Likewise.
2551 * soft-fp/subtf3.c: Likewise.
2552 * soft-fp/truncdfsf2.c: Likewise.
2553 * soft-fp/trunctfdf2.c: Likewise.
2554 * soft-fp/trunctfsf2.c: Likewise.
2555 * soft-fp/trunctfxf2.c: Likewise.
2556 * soft-fp/unorddf2.c: Likewise.
2557 * soft-fp/unordsf2.c: Likewise.
2558 * soft-fp/unordtf2.c: Likewise.
2559 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2560 macro.
2561 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2562 Likewise.
2563 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2564 Likewise.
2565 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2566 Likewise.
2567 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2568 Likewise.
2569 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2570 Likewise.
2571 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2572 Likewise.
2573 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2574 Likewise.
2575 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2576 Likewise.
2577 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2578 Likewise.
2579 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2580 Likewise.
2581 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2582 Likewise.
2583 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2584 Likewise.
2585 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2586 Likewise.
2587 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2588 Likewise.
2589 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2590 Likewise.
2591
ce245ec6
AK
25922014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2593
2594 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2595 cannot be represented.
2596 * config/s390/32/_fixsfdi.c: Likewise.
2597 * config/s390/32/_fixtfdi.c: Likewise.
2598 * config/s390/32/_fixunsdfdi.c: Likewise.
2599 * config/s390/32/_fixunssfdi.c: Likewise.
2600 * config/s390/32/_fixunstfdi.c: Likewise.
2601
1c51d688
RS
26022014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
2603
2604 * configure.ac (libgcc_cv_mips_hard_float): New.
2605 * configure: Regenerate.
2606 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2607 t-softfp-sfdf for hard-float targets.
2608 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
2609 (softfp_float_modes, softfp_int_modes, softfp_extensions)
2610 (softfp_truncations, softfp_exclude_libgcc2): New.
2611 * config/t-hardfp: New file.
2612 * config/t-hardfp-sfdf: Likewise.
2613 * config/hardfp.c: Likewise.
2614
bbf391db
AK
26152014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2616
2617 * config.host: Include t-floattodi also for s390x.
2618 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
2619 * config/s390/32/_fixsfdi.c: Likewise.
2620 * config/s390/32/_fixtfdi.c: Likewise.
2621 * config/s390/32/_fixunsdfdi.c: Likewise.
2622 * config/s390/32/_fixunssfdi.c: Likewise.
2623 * config/s390/32/_fixunstfdi.c: Likewise.
2624
91da0481
RO
26252014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2626
2627 PR target/59788
2628 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
2629 (install-libgcc-unwind-map-forbuild): New target.
2630 (all): Depend on install-libgcc-unwind-map-forbuild.
2631 (install-libgcc-unwind-map): New target.
2632 (install): Depend on install-libgcc-unwind-map.
2633
02b67731
SL
26342014-02-02 Sandra Loosemore <sandra@codesourcery.com>
2635
2636 * config/nios2/crti.S (_init): Initialize GOT pointer from
2637 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
2638
1ea0a651
RS
26392014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
2640
2641 * configure.ac: Check __mips64 when setting host_address.
2642 * configure: Regenerate.
2643 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
2644 mips/t-mips64 and t-softfp.
2645 (mips*-*-linux*): Don't add mips/t-tpbit.
2646 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
2647 (DPBIT, DPBIT_CFLAGS): Delete.
2648 * config/mips/sfp-machine.h: New file.
2649 * config/mips/t-mips64: Likewise.
2650 * config/mips/t-softfp-tf: Likewise.
2651 * config/mips/t-tpbit: Delete.
2652
f32b0061
MS
26532014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
2654
2655 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
2656 as long long.
2657
a5420aa4
WL
26582014-01-25 Walter Lee <walt@tilera.com>
2659
2660 * config/tilepro/atomic.c: Include tconfig.h. Don't include
2661 config.h or system.h.
2662 (bool) Define.
2663
24534912
WL
26642014-01-25 Walter Lee <walt@tilera.com>
2665
2666 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
2667 (post_atomic_barrier): Ditto.
2668 (__fetch_and_do): New macro.
2669 (__atomic_fetch_and_do): Use __fetch_and_do.
2670 (__sync_fetch_and_do): New macro.
2671 (__sync_fetch_and_add_4): New function.
2672 (__sync_fetch_and_sub_4): New function.
2673 (__sync_fetch_and_or_4): New function.
2674 (__sync_fetch_and_and_4): New function.
2675 (__sync_fetch_and_xor_4): New function.
2676 (__sync_fetch_and_nand_4): New function.
2677 (__sync_fetch_and_add_8): New function.
2678 (__sync_fetch_and_sub_8): New function.
2679 (__sync_fetch_and_or_8): New function.
2680 (__sync_fetch_and_and_8): New function.
2681 (__sync_fetch_and_xor_8): New function.
2682 (__sync_fetch_and_nand_8): New function.
2683 (__do_and_fetch): New macro.
2684 (__atomic_do_and_fetch): Use __do_and_fetch.
2685 (__sync_do_and_fetch): New macro.
2686 (__sync_add_and_fetch_4): New function.
2687 (__sync_sub_and_fetch_4): New function.
2688 (__sync_or_and_fetch_4): New function.
2689 (__sync_and_and_fetch_4): New function.
2690 (__sync_xor_and_fetch_4): New function.
2691 (__sync_nand_and_fetch_4): New function.
2692 (__sync_add_and_fetch_8): New function.
2693 (__sync_sub_and_fetch_8): New function.
2694 (__sync_or_and_fetch_8): New function.
2695 (__sync_and_and_fetch_8): New function.
2696 (__sync_xor_and_fetch_8): New function.
2697 (__sync_nand_and_fetch_8): New function.
2698 (__sync_exchange_methods): New macro.
2699 (__sync_val_compare_and_swap_4): New function.
2700 (__sync_bool_compare_and_swap_4): New function.
2701 (__sync_lock_test_and_test_4): New function.
2702 (__sync_val_compare_and_swap_8): New function.
2703 (__sync_bool_compare_and_swap_8): New function.
2704 (__sync_lock_test_and_test_8): New function.
2705 (__subword_cmpxchg_body): New macro.
2706 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
2707 (__atomic_compare_exchange_2): Ditto.
2708 (__sync_subword_cmpxchg): New macro.
2709 (__sync_val_compare_and_swap_1): New function.
2710 (__sync_bool_compare_and_swap_1): New function.
2711 (__sync_val_compare_and_swap_2): New function.
2712 (__sync_bool_compare_and_swap_2): New function.
2713 (__atomic_subword): Rename to ...
2714 (__subword): ... New name.
2715 (__atomic_subword_fetch): Use __subword.
2716 (__sync_subword_fetch): New macro.
2717 (__sync_fetch_and_add_1): New function.
2718 (__sync_fetch_and_sub_1): New function.
2719 (__sync_fetch_and_or_1): New function.
2720 (__sync_fetch_and_and_1): New function.
2721 (__sync_fetch_and_xor_1): New function.
2722 (__sync_fetch_and_nand_1): New function.
2723 (__sync_fetch_and_add_2): New function.
2724 (__sync_fetch_and_sub_2): New function.
2725 (__sync_fetch_and_or_2): New function.
2726 (__sync_fetch_and_and_2): New function.
2727 (__sync_fetch_and_xor_2): New function.
2728 (__sync_fetch_and_nand_2): New function.
2729 (__sync_add_and_fetch_1): New function.
2730 (__sync_sub_and_fetch_1): New function.
2731 (__sync_or_and_fetch_1): New function.
2732 (__sync_and_and_fetch_1): New function.
2733 (__sync_xor_and_fetch_1): New function.
2734 (__sync_nand_and_fetch_1): New function.
2735 (__sync_add_and_fetch_2): New function.
2736 (__sync_sub_and_fetch_2): New function.
2737 (__sync_or_and_fetch_2): New function.
2738 (__sync_and_and_fetch_2): New function.
2739 (__sync_xor_and_fetch_2): New function.
2740 (__sync_nand_and_fetch_2): New function.
2741 (__atomic_subword_lock): Use __subword.
2742 (__sync_subword_lock): New macro.
2743 (__sync_lock_test_and_set_1): New function.
2744 (__sync_lock_test_and_set_2): New function.
2745
4d6d3bc5
WL
27462014-01-25 Walter Lee <walt@tilera.com>
2747
2748 * config/tilepro/atomic.c (BIT_OFFSET): Define.
2749 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
2750 (__atomic_subword): Ditto.
2751
cbd9890e
WL
27522014-01-25 Walter Lee <walt@tilera.com>
2753
2754 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
2755 a prefix op argument.
2756 (__atomic_nand_fetch_4): Add prefix op.
2757 (__atomic_nand_fetch_8): Ditto.
2758
7d296953 27592014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
2760
2761 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
2762
46dd1242
L
27632014-01-09 Rong Xu <xur@google.com>
2764
2765 * libgcov-driver.c (this_prg): make it local to save
2766 bss space.
2767 (gcov_exit_compute_summary): Ditto.
2768 (gcov_exit_merge_gcda): Ditto.
2769 (gcov_exit_merge_summary): Ditto.
2770 (gcov_exit_dump_gcov): Ditto.
2771
cc86234f 27722014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
2773
2774 * libgcov-driver.c: Use libgcov.h.
2775 (buffer_fn_data): Use xmalloc instead of malloc.
2776 (gcov_exit_merge_gcda): Ditto.
2777 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
2778 * libgcov.h: New common header files for libgcov-*.h.
2779 * libgcov-interface.c: Use libgcov.h
2780 * libgcov-merge.c: Ditto.
2781 * libgcov-profiler.c: Ditto.
2782 * Makefile.in: Add dependence to libgcov.h
2783
a02e7bdd
JM
27842014-01-02 Joseph Myers <joseph@codesourcery.com>
2785
2786 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
2787 case of small numerator and finite nonzero result.
2788
ac1dca3c
RS
27892014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
2790
2791 Update copyright years
2792
f9030485
RS
27932014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
2794
2795 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
2796 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
2797 config/arc/dp-hack.h, config/arc/fp-hack.h,
2798 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
2799 config/arc/ieee-754/arc600-dsp/divdf3.S,
2800 config/arc/ieee-754/arc600-dsp/divsf3.S,
2801 config/arc/ieee-754/arc600-dsp/muldf3.S,
2802 config/arc/ieee-754/arc600-dsp/mulsf3.S,
2803 config/arc/ieee-754/arc600-mul64/divdf3.S,
2804 config/arc/ieee-754/arc600-mul64/divsf3.S,
2805 config/arc/ieee-754/arc600-mul64/muldf3.S,
2806 config/arc/ieee-754/arc600-mul64/mulsf3.S,
2807 config/arc/ieee-754/arc600/divsf3.S,
2808 config/arc/ieee-754/arc600/mulsf3.S,
2809 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
2810 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
2811 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
2812 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
2813 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
2814 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
2815 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
2816 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
2817 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
2818 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
2819 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
2820 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
2821 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
2822 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
2823 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
2824 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
2825 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
2826 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
2827 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
2828 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
2829 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
2830 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
2831 vtv_start_preinit.c: Use the standard form for the copyright notice.
2832
e430824f
CLT
28332013-12-31 Sandra Loosemore <sandra@codesourcery.com>
2834 Chung-Lin Tang <cltang@codesourcery.com>
2835 Based on patches from Altera Corporation
2836
2837 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
2838 * config/nios2/lib2-nios2.h: New file.
2839 * config/nios2/lib2-divmod-hi.c: New file.
2840 * config/nios2/linux-unwind.h: New file.
2841 * config/nios2/lib2-divmod.c: New file.
2842 * config/nios2/linux-atomic.c: New file.
2843 * config/nios2/t-nios2: New file.
2844 * config/nios2/crti.asm: New file.
2845 * config/nios2/t-linux: New file.
2846 * config/nios2/lib2-divtable.c: New file.
2847 * config/nios2/lib2-mul.c: New file.
2848 * config/nios2/tramp.c: New file.
2849 * config/nios2/crtn.asm: New file.
2850
1879e97f
UB
28512013-12-26 Uros Bizjak <ubizjak@gmail.com>
2852
2853 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
2854 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
2855 from cpuid.h to check vendor signatures.
2856
f4a4bdbb
GG
28572013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
2858
c2e7e597 2859 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
2860 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
2861 (get_amd_cpu): Likewise.
2862
8d2ae544
L
28632013-12-25 H.J. Lu <hongjiu.lu@intel.com>
2864
2865 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
2866 Haswell.
2867
74924838
ASJ
28682013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2869 H.J. Lu <hongjiu.lu@intel.com>
2870
0bb52f25
L
2871 PR target/59422
2872 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
2873 and AMD_JAGUAR.
2874 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
2875 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
2876 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
2877 FEATURE_XOP and FEATURE_FMA.
2878 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
2879 AMDFAM15H_BDVER3.
2880 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 2881 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
2882 FEATURE_FMA4 and FEATURE_XOP.
2883
d3c11974
L
28842013-12-23 H.J. Lu <hongjiu.lu@intel.com>
2885
2886 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
2887 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
2888 (get_intel_cpu): Updated.
2889
064c4ff2
ZC
28902013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
2891
2892 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
2893
8b02e720
UB
28942013-12-09 Uros Bizjak <ubizjak@gmail.com>
2895
2896 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 2897 instructions when __SSE_MATH__ is defined.
8b02e720 2898
3fa2ccb4
RC
28992013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
2900
2901 * config.host (microblaze-*-rtems*): New.
2902
ecd78fc9
KV
29032013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
2904
2905 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
2906 architectures that do not have hardware divide instruction.
2907 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
2908
b21fbbd2
RS
29092013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
2910
2911 * longlong.h: Delete (moved to include/).
2912
b03fb8c9
AZ
29132013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2914
2915 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
2916 of normal number and qNaN to not raise an inexact exception.
2917
3c716922
UB
29182013-11-28 Uros Bizjak <ubizjak@gmail.com>
2919
2920 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
2921
29222013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
2923
2924 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
2925 for correct opcodes on BE.
2926
a3458d22
UB
29272013-11-27 Uros Bizjak <ubizjak@gmail.com>
2928
2929 * soft-fp/op-4.h: Update from glibc.
2930
30b8f78b
KV
29312013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
2932
2933 * libgcc2.c (__udivmoddi4): Define new implementation when
2934 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
2935 divide instructions.
2936
82552a29
OE
29372013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
2938
2939 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
2940
80e87457
RO
29412013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2942
2943 * config/t-softfp (soft-fp-objects-base): New variable.
2944 (soft-fp-objects): Use it.
2945
44178879
DE
29462013-11-23 David Edelson <dje.gcc@gmail.com>
2947 Andrew Dixie <andrewd@gentrack.com>
2948
2949 PR target/33704
2950 * config/rs6000/aixinitfini.c: New file.
2951 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
2952 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
2953 symbols.
2954
e5287671
YR
29552013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
2956
a3458d22 2957 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 2958
867c8b03
JH
29592013-11-18 Jan Hubicka <jh@suse.cz>
2960
7f369373
JH
2961 * libgcov-driver.c (run_accounted): Make global level static.
2962 (gcov_exit_merge_summary): Silence warning; do not clear
2963 run_accounted here.
2964 (gcov_exit): Clear it here.
2965
1d0b3334
JH
2966 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
2967 run_accounted.
2968
867c8b03
JH
2969 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
2970 (all_prg, crc32): Remove static vars.
2971 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
2972 all_prg.
2973 (gcov_exit_merge_gcda): Add crc32 parameter.
2974 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
2975 do not account run if it was already accounted.
2976 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
2977 (gcov_exit): Initialize all_prg; update.
2978
66204992
AS
29792013-11-15 Andreas Schwab <schwab@linux-m68k.org>
2980
2981 * configure: Regenerate.
2982
b54214fe
UW
29832013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2984 Alan Modra <amodra@gmail.com>
2985
2986 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
2987 (frob_update_context): Use it.
2988
29892013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2990 Alan Modra <amodra@gmail.com>
2991
2992 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
2993 (trampoline_initial): Provide ELFv2 variant.
2994 (__trampoline_setup): Likewise.
2995
2996 * config/rs6000/linux-unwind.h (frob_update_context): Do not
2997 check for AIX indirect function call sequence if _CALL_ELF == 2.
2998
29992013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3000 Alan Modra <amodra@gmail.com>
3001
3002 * config/rs6000/linux-unwind.h (get_regs): Do not support
3003 old kernel versions if _CALL_ELF == 2.
3004 (frob_update_context): Do not support PLT stub variants only
3005 generated by old linkers if _CALL_ELF == 2.
3006
13e0981a
UW
30072013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3008 Alan Modra <amodra@gmail.com>
3009
3010 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3011 location of CR save area for 64-bit little-endian systems.
3012
1a80085d
EB
30132013-11-11 Eric Botcazou <ebotcazou@adacore.com>
3014
3015 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3016 in tmake_file.
3017 * config/arm/t-vxworks: Delete.
3018
cabeea52
KT
30192013-11-10 Kai Tietz <ktietz@redhat.com>
3020
3021 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3022 Increment load-count on use of LIBGCC_SONAME DLL.
3023 (hmod_libgcc): New static variable to hold handle of
3024 LIBGCC_SONAME DLL.
3025 (__gcc_deregister_frame): Decrement load-count of
3026 LIBGCC_SONAME DLL.
3027
ac088ba1
BRF
30282013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3029
3030 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3031 availability.
3032 * configure: Regenerate
3033
d59a8fcc
UB
30342013-11-07 Uros Bizjak <ubizjak@gmail.com>
3035
3036 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3037 FP_EX_DENORM. Store result to volatile location after SSE division
3038 to close interrupt window. Remove unneeded fwait after x87
3039 division since interrupt window will be closed by emitted fstp.
9de84e84 3040 Rewrite FP_EX_INEXACT handling.
d59a8fcc 3041
9954c743
JM
30422013-11-06 Joseph Myers <joseph@codesourcery.com>
3043
3044 * soft-fp/README: Update.
3045 * soft-fp/adddf3.c: Update from glibc.
3046 * soft-fp/addsf3.c: Likewise.
3047 * soft-fp/addtf3.c: Likewise.
3048 * soft-fp/divdf3.c: Likewise.
3049 * soft-fp/divsf3.c: Likewise.
3050 * soft-fp/divtf3.c: Likewise.
3051 * soft-fp/double.h: Likewise.
3052 * soft-fp/eqdf2.c: Likewise.
3053 * soft-fp/eqsf2.c: Likewise.
3054 * soft-fp/eqtf2.c: Likewise.
3055 * soft-fp/extenddftf2.c: Likewise.
3056 * soft-fp/extended.h: Likewise.
3057 * soft-fp/extendsfdf2.c: Likewise.
3058 * soft-fp/extendsftf2.c: Likewise.
3059 * soft-fp/extendxftf2.c: Likewise.
3060 * soft-fp/fixdfdi.c: Likewise.
3061 * soft-fp/fixdfsi.c: Likewise.
3062 * soft-fp/fixdfti.c: Likewise.
3063 * soft-fp/fixsfdi.c: Likewise.
3064 * soft-fp/fixsfsi.c: Likewise.
3065 * soft-fp/fixsfti.c: Likewise.
3066 * soft-fp/fixtfdi.c: Likewise.
3067 * soft-fp/fixtfsi.c: Likewise.
3068 * soft-fp/fixtfti.c: Likewise.
3069 * soft-fp/fixunsdfdi.c: Likewise.
3070 * soft-fp/fixunsdfsi.c: Likewise.
3071 * soft-fp/fixunsdfti.c: Likewise.
3072 * soft-fp/fixunssfdi.c: Likewise.
3073 * soft-fp/fixunssfsi.c: Likewise.
3074 * soft-fp/fixunssfti.c: Likewise.
3075 * soft-fp/fixunstfdi.c: Likewise.
3076 * soft-fp/fixunstfsi.c: Likewise.
3077 * soft-fp/fixunstfti.c: Likewise.
3078 * soft-fp/floatdidf.c: Likewise.
3079 * soft-fp/floatdisf.c: Likewise.
3080 * soft-fp/floatditf.c: Likewise.
3081 * soft-fp/floatsidf.c: Likewise.
3082 * soft-fp/floatsisf.c: Likewise.
3083 * soft-fp/floatsitf.c: Likewise.
3084 * soft-fp/floattidf.c: Likewise.
3085 * soft-fp/floattisf.c: Likewise.
3086 * soft-fp/floattitf.c: Likewise.
3087 * soft-fp/floatundidf.c: Likewise.
3088 * soft-fp/floatundisf.c: Likewise.
3089 * soft-fp/floatunditf.c: Likewise.
3090 * soft-fp/floatunsidf.c: Likewise.
3091 * soft-fp/floatunsisf.c: Likewise.
3092 * soft-fp/floatunsitf.c: Likewise.
3093 * soft-fp/floatuntidf.c: Likewise.
3094 * soft-fp/floatuntisf.c: Likewise.
3095 * soft-fp/floatuntitf.c: Likewise.
3096 * soft-fp/gedf2.c: Likewise.
3097 * soft-fp/gesf2.c: Likewise.
3098 * soft-fp/getf2.c: Likewise.
3099 * soft-fp/ledf2.c: Likewise.
3100 * soft-fp/lesf2.c: Likewise.
3101 * soft-fp/letf2.c: Likewise.
3102 * soft-fp/muldf3.c: Likewise.
3103 * soft-fp/mulsf3.c: Likewise.
3104 * soft-fp/multf3.c: Likewise.
3105 * soft-fp/negdf2.c: Likewise.
3106 * soft-fp/negsf2.c: Likewise.
3107 * soft-fp/negtf2.c: Likewise.
3108 * soft-fp/op-1.h: Likewise.
3109 * soft-fp/op-2.h: Likewise.
3110 * soft-fp/op-4.h: Likewise.
3111 * soft-fp/op-8.h: Likewise.
3112 * soft-fp/op-common.h: Likewise.
3113 * soft-fp/quad.h: Likewise.
3114 * soft-fp/single.h: Likewise.
3115 * soft-fp/soft-fp.h: Likewise.
3116 * soft-fp/subdf3.c: Likewise.
3117 * soft-fp/subsf3.c: Likewise.
3118 * soft-fp/subtf3.c: Likewise.
3119 * soft-fp/truncdfsf2.c: Likewise.
3120 * soft-fp/trunctfdf2.c: Likewise.
3121 * soft-fp/trunctfsf2.c: Likewise.
3122 * soft-fp/trunctfxf2.c: Likewise.
3123 * soft-fp/unorddf2.c: Likewise.
3124 * soft-fp/unordsf2.c: Likewise.
3125 * soft-fp/unordtf2.c: Likewise.
3126
02ac9503
UB
31272013-11-05 Uros Bizjak <ubizjak@gmail.com>
3128
3129 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3130 (_FP_MUL_MEAT_D): Ditto.
3131 (_FP_DIV_MEAT_S): Ditto.
3132 (_FP_DIV_MEAT_D): Ditto.
3133 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3134 t-softfp-sfdf and t-softfp to tmake_file.
3135
61221141
UB
31362013-11-03 Uros Bizjak <ubizjak@gmail.com>
3137
3138 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3139 * config/i386/crtprec.c: Ditto.
3140
9304f876
CJW
31412013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
3142 Shiva Chen <shiva0217@gmail.com>
3143
3144 * config.host (nds32*-elf*): Add nds32 target.
3145 * config/nds32 : New directory and files.
3146
0e499e75
HPN
31472013-10-16 Hans-Peter Nilsson <hp@axis.com>
3148
3149 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
3150 * config.host (cpu_type) <Setting default>: Add entry for
3151 crisv32-*-*.
3152 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3153 <crisv32-*-linux*>: Adjust.
3154 * longlong.h: Wrap the whole CRIS section in a single
3155 defined(__CRIS__) conditional. Add comment about add_ssaaaa
3156 and sub_ddmmss.
3157 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3158 defined.
3159 [__CRIS__] (__umulsidi3): Define.
3160 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3161 * config/cris/sfp-machine.h: New file.
3162 * config/cris/umulsidi3.S: New file.
3163 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3164 * config/cris/arit.c (SIGNMULT): New macro.
3165 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3166 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3167 saving 3 out of originally 33 cycles from the fastest
3168 path, 3 out of 54 from the medium path and one from the longest
3169 path. Improve comments.
3170
16022041
RS
31712013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
3172
3173 * sync.c: Remove static aliases and define each function directly
3174 under its real name.
3175
69778659
JDA
31762013-10-02 John David Anglin <danglin@gcc.gnu.org>
3177
3178 * config.host (hppa*64*-*-linux*): Define extra_parts.
3179 (hppa*-*-linux*): Likewise.
3180
2deaf8b0
JR
31812013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
3182
3183 * config/arc/crtgend.S: Add 2013 to Copyright years.
3184 * config/arc/gmon/atomic.h: Likewise.
3185 * config/arc/gmon/auxreg.h: Likewise.
3186 * config/arc/gmon/sys/gmon_out.h: Likewise.
3187 * config/arc/gmon/sys/gmon.h: Likewise.
3188 * config/arc/gmon/prof-freq.c: Likewise.
3189 * config/arc/gmon/mcount.c: Likewise.
3190 * config/arc/gmon/prof-freq-stub.S: Likewise.
3191 * config/arc/gmon/gmon.c: Likewise.
3192 * config/arc/gmon/machine-gmon.h: Likewise.
3193 * config/arc/gmon/profil.S: Likewise.
3194 * config/arc/gmon/dcache_linesz.S: Likewise.
3195 * config/arc/crtg.S: Likewise.
3196 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3197 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3198 * config/arc/ieee-754/adddf3.S: Likewise.
3199 * config/arc/ieee-754/truncdfsf2.S: Likewise.
3200 * config/arc/ieee-754/fixsfsi.S: Likewise.
3201 * config/arc/ieee-754/gtsf2.S: Likewise.
3202 * config/arc/ieee-754/floatsisf.S: Likewise.
3203 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3204 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3205 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3206 * config/arc/ieee-754/fixdfsi.S: Likewise.
3207 * config/arc/ieee-754/addsf3.S: Likewise.
3208 * config/arc/ieee-754/gesf2.S: Likewise.
3209 * config/arc/ieee-754/floatsidf.S: Likewise.
3210 * config/arc/ieee-754/extendsfdf2.S: Likewise.
3211 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3212 * config/arc/ieee-754/gtdf2.S: Likewise.
3213 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3214 * config/arc/ieee-754/uneqdf2.S: Likewise.
3215 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3216 * config/arc/ieee-754/uneqsf2.S: Likewise.
3217 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3218 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3219 * config/arc/ieee-754/eqdf2.S: Likewise.
3220 * config/arc/ieee-754/ordsf2.S: Likewise.
3221 * config/arc/ieee-754/divsf3.S: Likewise.
3222 * config/arc/ieee-754/divdf3.S: Likewise.
3223 * config/arc/ieee-754/floatunsidf.S: Likewise.
3224 * config/arc/ieee-754/orddf2.S: Likewise.
3225 * config/arc/ieee-754/eqsf2.S: Likewise.
3226 * config/arc/ieee-754/gedf2.S: Likewise.
3227 * config/arc/crtn.S: Likewise.
3228 * config/arc/crti.S: Likewise.
3229 * config/arc/t-arc700-uClibc: Likewise.
3230 * config/arc/asm.h: Likewise.
3231 * config/arc/libgcc-excl.ver: Likewise.
3232 * config/arc/t-arc-newlib: Likewise.
3233 * config/arc/divtab-arc700.c: Likewise.
3234 * config/arc/initfini.c: Likewise.
3235 * config/arc/fp-hack.h: Likewise.
3236
c8e318b0
JR
32372013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3238 Diego Novillo <dnovillo@google.com>
3239
3240 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
3241 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3242 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3243 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 3244
d38a64b4
JR
32452013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3246 Brendan Kehoe <brendan@zen.org>
3247 Simon Cook <simon.cook@embecosm.com>
3248
3249 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3250 * config/arc: New directory.
3251 * longlong.h [__arc__] (umul_ppmm): Remove.
3252 [__arc__] (__umulsidi3): Define.
3253 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3254 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3255
dff717d2
JC
32562013-09-17 Jacek Caban <jacek@codeweavers.com>
3257
3258 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3259 CreateSemaphoreA.
3260 * config/i386/gthr-win32.h: Likewise.
3261
5c0029de
DD
32622013-09-16 DJ Delorie <dj@redhat.com>
3263
844ad6c6 3264 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
3265 * config/rl78/lib2mul.c: Enable for RL78/G10.
3266 * config/rl78/lib2div.c: Likewise.
3267 * config/rl78/lshrsi3.S: Use vregs.h.
3268 * config/rl78/cmpsi2.S: Likewise.
3269 * config/rl78/trampoline.S: Likewise.
3270 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
3271
ceb2fc49
DD
32722013-09-14 DJ Delorie <dj@redhat.com>
3273 Nick Clifton <nickc@redhat.com>
3274
3275 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3276 * config/rl78/vregs.h: New.
3277 * config/rl78/signbit.S: New file. Implements signbit function.
3278 * config/rl78/divmodsi.S: New.
3279 * config/rl78/divmodhi.S: New.
3280 * config/rl78/divmodqi.S: New.
3281 * config/rl78/t-rl78: Build them here...
3282 * config/rl78/lib2div.c: ...but not here.
3283
f6a83b4a
DD
32842013-09-12 DJ Delorie <dj@redhat.com>
3285
3286 * config.host (msp*-*-elf): New.
3287 * config/msp430/: New port.
3288
9107b096
IS
32892013-08-18 Iain Sandoe <iain@codesourcery.com>
3290
3291 PR gcov-profile/58127
3292 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3293 __thread var for emulated TLS.
3294 (__gcov_indirect_call_counters): Likewise.
3295
0f9bde1f 32962013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 3297 Catherine Moore <clm@codesourcery.com>
7d296953 3298 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
3299
3300 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3301 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3302 (CALL_STUB_NO_RET): Likewise.
3303 (CALL_STUB_RET): Likewise.
3304 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3305 __mips16_ret call/return stub symbols.
3306 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3307 to tmake_file.
3308
2dc14aac
MR
33092013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
3310
3311 * config.host <mips*-*-linux*>: Remove a stray comment.
3312
748d71f3
JH
33132013-08-10 Jan Hubicka <jh@suse.cz>
3314
3315 Work around binutils PR14342
3316 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3317 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3318 (L_gcov_indirect_call_profiler_v2): New.
3319
2fa3d31b
JH
33202013-08-06 Jan Hubicka <jh@suse.cz>
3321
3322 * libgcov.c (__gcov_indirect_call_callee,
3323 __gcov_indirect_call_counters): New global vars.
3324 (__gcov_indirect_call_profiler): replace by ...
3325 (__gcov_indirect_call_profiler_v2) ... this one.
3326
2077db1b
CT
33272013-08-06 Caroline Tice <cmtice@google.com>
3328
d0595b65 3329 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 3330 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
3331 * configure.ac: Add code to check/set enable_vtable_verify.
3332 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 3333 true.
d0595b65
CT
3334 * vtv_start_preinit.c: New file.
3335 * vtv_end_preinit.c: New file.
3336 * vtv_start.c: New file.
3337 * vtv_end.c: New file.
3338 * configure: Regenerated.
2077db1b 3339
46549c20
MK
33402013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
3341
3342 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3343 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3344 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3345 GPL-3.0-with-GCC-exception.
3346
72be589b
MR
33472013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
3348
3349 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3350 ISA and up.
3351
902a3faf
AK
33522013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3353
3354 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3355 mapping for FPRs when creating the fallback framestate.
3356
02371798
GJL
33572013-07-19 Georg-Johann Lay <avr@gjlay.de>
3358
3359 PR target/57516
3360 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3361 (__round_s2_const, __round_u2_const)
3362 (__round_s4_const, __round_u4_const, __round_x8):
3363 Saturate result if addition result cannot be represented.
3364
ab0e8379
MK
33652013-07-15 Matthias Klose <doko@ubuntu.com>
3366
3367 * libgcc2.c: Don't include <limits.h>.
3368
7da38058
JJ
33692013-07-09 Janis Johnson <janisjo@codesourcery.com>
3370
3371 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3372
1f6eac90
JJ
33732013-07-06 Jakub Jelinek <jakub@redhat.com>
3374
3375 PR target/29776
3376 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3377
4ea3d774
JJ
33782013-06-28 Jakub Jelinek <jakub@redhat.com>
3379
3380 PR middle-end/36041
3381 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3382 Define.
3383 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3384 instead of table lookups.
3385 (__popcountDI2): Likewise.
3386
9d2cdf25
CJW
33872013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
3388
3389 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3390 correctly.
3391
fa1e55b0
JM
33922013-06-21 Joseph Myers <joseph@codesourcery.com>
3393
3394 PR other/53317
3395 * soft-fp/adddf3.c: Update from glibc.
3396 * soft-fp/addsf3.c: Likewise.
3397 * soft-fp/addtf3.c: Likewise.
3398 * soft-fp/divdf3.c: Likewise.
3399 * soft-fp/divsf3.c: Likewise.
3400 * soft-fp/divtf3.c: Likewise.
3401 * soft-fp/double.h: Likewise.
3402 * soft-fp/eqdf2.c: Likewise.
3403 * soft-fp/eqsf2.c: Likewise.
3404 * soft-fp/eqtf2.c: Likewise.
3405 * soft-fp/extenddftf2.c: Likewise.
3406 * soft-fp/extended.h: Likewise.
3407 * soft-fp/extendsfdf2.c: Likewise.
3408 * soft-fp/extendsftf2.c: Likewise.
3409 * soft-fp/fixdfdi.c: Likewise.
3410 * soft-fp/fixdfsi.c: Likewise.
3411 * soft-fp/fixsfdi.c: Likewise.
3412 * soft-fp/fixsfsi.c: Likewise.
3413 * soft-fp/fixtfdi.c: Likewise.
3414 * soft-fp/fixtfsi.c: Likewise.
3415 * soft-fp/fixunsdfdi.c: Likewise.
3416 * soft-fp/fixunsdfsi.c: Likewise.
3417 * soft-fp/fixunssfdi.c: Likewise.
3418 * soft-fp/fixunssfsi.c: Likewise.
3419 * soft-fp/fixunstfdi.c: Likewise.
3420 * soft-fp/fixunstfsi.c: Likewise.
3421 * soft-fp/floatdidf.c: Likewise.
3422 * soft-fp/floatdisf.c: Likewise.
3423 * soft-fp/floatditf.c: Likewise.
3424 * soft-fp/floatsidf.c: Likewise.
3425 * soft-fp/floatsisf.c: Likewise.
3426 * soft-fp/floatsitf.c: Likewise.
3427 * soft-fp/floatundidf.c: Likewise.
3428 * soft-fp/floatundisf.c: Likewise.
3429 * soft-fp/floatunditf.c: Likewise.
3430 * soft-fp/floatunsidf.c: Likewise.
3431 * soft-fp/floatunsisf.c: Likewise.
3432 * soft-fp/floatunsitf.c: Likewise.
3433 * soft-fp/gedf2.c: Likewise.
3434 * soft-fp/gesf2.c: Likewise.
3435 * soft-fp/getf2.c: Likewise.
3436 * soft-fp/ledf2.c: Likewise.
3437 * soft-fp/lesf2.c: Likewise.
3438 * soft-fp/letf2.c: Likewise.
3439 * soft-fp/muldf3.c: Likewise.
3440 * soft-fp/mulsf3.c: Likewise.
3441 * soft-fp/multf3.c: Likewise.
3442 * soft-fp/negdf2.c: Likewise.
3443 * soft-fp/negsf2.c: Likewise.
3444 * soft-fp/negtf2.c: Likewise.
3445 * soft-fp/op-1.h: Likewise.
3446 * soft-fp/op-2.h: Likewise.
3447 * soft-fp/op-4.h: Likewise.
3448 * soft-fp/op-8.h: Likewise.
3449 * soft-fp/op-common.h: Likewise.
3450 * soft-fp/quad.h: Likewise.
3451 * soft-fp/single.h: Likewise.
3452 * soft-fp/soft-fp.h: Likewise.
3453 * soft-fp/subdf3.c: Likewise.
3454 * soft-fp/subsf3.c: Likewise.
3455 * soft-fp/subtf3.c: Likewise.
3456 * soft-fp/truncdfsf2.c: Likewise.
3457 * soft-fp/trunctfdf2.c: Likewise.
3458 * soft-fp/trunctfsf2.c: Likewise.
3459 * soft-fp/unorddf2.c: Likewise.
3460 * soft-fp/unordsf2.c: Likewise.
3461 * soft-fp/unordtf2.c: Likewise.
3462 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3463 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3464 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3465 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3466 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3467 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3468 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3469 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3470 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3471 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3472 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3473 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3474
0de86a92
JU
34752013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
3476
3477 * config/mips/lib2funcs.c: New file.
3478 * config/mips/t-mips (LIB2ADD_ST): Add it.
3479
0d008882
OE
34802013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
3481
3482 PR target/6526
3483 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3484 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
3485
776434d1
WL
34862013-06-08 Walter Lee <walt@tilera.com>
3487
3488 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3489 Replace int64_t with long long. Add __extension__ where
3490 appropriate.
3491 * config/tilepro/atomic.c: Include config.h.
3492
6ab3ebb4
DR
34932013-06-06 Douglas B Rupp <rupp@adacore.com>
3494
3495 * config.host (arm-wrs-vxworks): Configure with other soft float.
3496
107eea2c
JU
34972013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
3498
3499 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3500 (mips64r5900el-*-elf*): New configurations.
3501
5cc19c62
AM
35022013-06-04 Alan Modra <amodra@gmail.com>
3503
3504 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3505
0f1d3965
YR
35062013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
3507
3508 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3509
0ba045df
EB
35102013-05-28 Eric Botcazou <ebotcazou@adacore.com>
3511
3512 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3513 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3514 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3515
49dcafd4
EB
35162013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3517
3518 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3519 (powerpc-wrs-vxworks): Likewise.
3520
4fcb5d87
EB
35212013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3522
3523 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3524 signal frames as well.
3525 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3526 STACK_BIAS to the CFA offset.
3527
0ec33224
RH
35282013-05-17 Richard Henderson <rth@redhat.com>
3529
3530 PR target/49146
3531 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3532 (execute_cfa_program): Use it when storing to fs->regs.
3533
492a8029
KT
35342013-05-08 Kai Tietz <ktietz@redhat.com>
3535
3536 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3537 (__deregister_frame_info): Likewise.
3538
701e2f0a
TS
35392013-05-06 Thomas Schwinge <thomas@codesourcery.com>
3540
e5123d08
TS
3541 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3542 NaN's payload.
3543
701e2f0a
TS
3544 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3545
b9a7eb5d
AM
35462013-04-25 Alan Modra <amodra@gmail.com>
3547
3548 * config.host: Match little-endian powerpc-linux.
3549
dfe192f5
YZ
35502013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
3551
3552 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3553 as 'unsigned long long' instead of 'unsigned long'.
3554 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3555 'signed long'.
3556
b6b9af2f
JB
35572013-04-10 Julian Brown <julian@codesourcery.com>
3558
3559 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3560 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3561 unsigned char/unsigned short.
3562 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3563
ecabdd00
JDA
35642013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3565
3566 PR other/55274
3567 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3568
34652576
MI
35692013-04-04 Meador Inge <meadori@codesourcery.com>
3570
3571 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3572 computing the location of the link register.
3573 (aeabi_uldivmod): Ditto.
3574
e9fd8c19
KT
35752013-03-27 Kai Tietz <ktietz@redhat.com>
3576
3577 * config.host: Add support for cygwin x64 target.
3578 * configure: Regenerated.
3579
a6406324
WL
35802013-03-26 Walter Lee <walt@tilera.com>
3581
3582 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3583 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3584
55446c7e
KT
35852013-03-25 Kai Tietz <ktietz@redhat.com>
3586
3587 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3588
d2ae19d9
RM
35892013-03-20 Robert Mason <rbmj@verizon.net>
3590
3591 * config/vxlib-tls.c (__gthread_get_tsd_data,)
3592 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3593 (__gthread_leave_tsd_dtor_context): Add prototypes.
3594 (tls_delete_hook): Update.
3595
22c4c869
CM
35962013-03-20 Catherine Moore <clm@codesourcery.com>
3597 Joseph Myers <joseph@codesourcery.com>
3598 Chao-ying Fu <fu@mips.com>
3599
3600 * config/mips/mips16.S: Don't build for microMIPS.
3601 * config/mips/linux-unwind.h: Handle microMIPS frame.
3602 * config/mips/crtn.S (fini, init): New labels.
3603
fbd28bc3
JJ
36042013-03-14 Jakub Jelinek <jakub@redhat.com>
3605
3606 PR tree-optimization/53265
3607 * unwind-dw2.c (execute_cfa_program): Avoid
3608 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
3609 on targets with DWARF_FRAME_REGISTERS < 32.
3610
decc676e
OE
36112013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
3612
3613 PR target/49880
3614 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
3615 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
3616
84ea618a
ST
36172013-03-07 Sriraman Tallam <tmsriram@google.com>
3618
3619 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
3620 sandybridge processors.
3621
8f6d1c86
OE
36222013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
3623
3624 PR target/56529
3625 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
3626 inclusion list.
3627
ecdbd01a 36282013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
3629
3630 * config/microblaze/crti.S: Setup stack protection at entry
3631
0b4ce21b
GJL
36322013-03-04 Georg-Johann Lay <avr@gjlay.de>
3633
3634 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
3635 (__rotldi3): Shift bytewise if applicable.
3636
b7c3f1ca
JG
36372013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
3638
3639 * config/aarch64/sync-cache.c
3640 (__aarch64_sync_cache_range): Silence warnings.
3641
6d65e8f1
CM
36422013-02-25 Catherine Moore <clm@codesourcery.com>
3643
3644 Revert:
3645 2013-02-24 Catherine Moore <clm@codesourcery.com>
3646 Joseph Myers <joseph@codesourcery.com>
3647 Chao-ying Fu <fu@mips.com>
3648
3649 * config/mips/mips16.S: Don't build for microMIPS.
3650 * config/mips/linux-unwind.h: Handle microMIPS frame.
3651 * config/mips/crtn.S (fini, init): New labels.
3652
6941b508
CM
36532013-02-24 Catherine Moore <clm@codesourcery.com>
3654 Joseph Myers <joseph@codesourcery.com>
3655 Chao-ying Fu <fu@mips.com>
3656
3657 * config/mips/mips16.S: Don't build for microMIPS.
3658 * config/mips/linux-unwind.h: Handle microMIPS frame.
3659 * config/mips/crtn.S (fini, init): New labels.
3660
7c422dbb 36612012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 3662 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
3663 as dividend.
3664
110207ad
AM
36652013-02-16 Alan Modra <amodra@gmail.com>
3666
3667 PR target/55431
3668 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
3669 (ppc_fallback_frame_state): Always set up save locations for fp
3670 and altivec. Don't bother with non-callee-saved regs, r0-r13
3671 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
3672
e68a4ef6
GJL
36732013-02-12 Georg-Johann Lay <avr@gjlay.de>
3674
3675 PR target/54222
3676 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
3677 _ssmulHA, _ssmulSA.
3678 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
3679 _ssmulha3, _usmulusa3, _ssmulsa3.
3680 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
3681 (__muldi3): XCALL __muldi3_6 instead of rcall.
3682 (__umulsidi3, __mulsidi3): New functions.
3683 (do_prologue_saves, do_epilogue_restores): New .macros.
3684 (__divdi3_moddi3): Use them.
3685 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
3686 (__usmulusa3, __ssmulsa3): New functions.
3687
6c59ffd1
IS
36882013-02-11 Iain Sandoe <iain@codesourcery.com>
3689 Jack Howarth <howarth@bromo.med.uc.edu>
3690 Patrick Marlier <patrick.marlier@gmail.com>
3691
3692 PR libitm/55693
3693 * config/darwin-crt-tm.c: Remove dummy functions hack.
3694
85d768f3
GJL
36952013-02-08 Georg-Johann Lay <avr@gjlay.de>
3696
3697 PR target/54222
3698 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
3699 * config/avr/lib2-object.mk: New iterator to build objects from it.
3700 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
3701 lib2funcs.c.
3702 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
3703 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
3704 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
3705 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
3706 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
3707 * config/avr/lib1funcs-fixed.S: Implement them.
3708
5d5bf775
RS
37092013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
3710
3711 Update copyright years.
3712
99113dff
DE
37132013-02-01 David Edelsohn <dje.gcc@gmail.com>
3714
3715 PR target/54601
3716 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
3717 Add crtcxa to extra_parts.
3718 * config/rs6000/exit.h: New file.
3719 * config/rs6000/cxa_atexit.c: New file.
3720 * config/rs6000/cxa_finalize.c: New file.
3721 * config/rs6000/crtcxa.c: New file.
3722 * config/rs6000/t-aix-cxa: New file.
3723 * config/rs6000/libgcc-aix-cxa.ver: New file.
3724
dbdbd982
NC
37252013-01-31 Nick Clifton <nickc@redhat.com>
3726
3727 * config/v850/lib1funcs.S: Add support for e3v5 architecture
3728 variant.
3729
5893f158
GJL
37302013-01-29 Georg-Johann Lay <avr@gjlay.de>
3731
3732 PR target/54222
3733 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
3734 _mulQQ, _mulHQ, _mulHA, _mulSA,
3735 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
3736 _divQQ, _divHQ, _divHA, _divSA,
3737 _divUQQ, _divUHQ, _divUHA, _divUSA.
3738
ecdbd01a 37392013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 3740
dbdbd982 3741 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
3742 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
3743 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
3744 to exclude functions from being built with libgcc.c and use
3745 the microblaze assembly.
3746
ecdbd01a 37472013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
3748
3749 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
3750 extra_parts.
3751
922c57d1
YZ
37522013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
3753
3754 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
3755 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
3756 __UINTPTR_TYPE__; also cast 'base' to the same type before the
3757 alignment operation.
3758
e0f8b6a0
SN
37592013-01-15 Sofiane Naci <sofiane.naci@arm.com>
3760
3761 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
3762 loop start address for cache clearing.
3763
00892272
GJL
37642013-01-14 Georg-Johann Lay <avr@gjlay.de>
3765
3766 * config/avr/lib1funcs.S: Remove trailing blanks.
3767 * config/avr/lib1funcs-fixed.S: Ditto.
3768
e59ec5fd
GJL
37692013-01-14 Georg-Johann Lay <avr@gjlay.de>
3770
3771 * config/avr/avr-lib.h: Add GPL copyright notice.
3772
3ffc1958
GJL
37732013-01-14 Georg-Johann Lay <avr@gjlay.de>
3774
3775 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
3776 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
3777 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
3778 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
3779
25c210f9
MK
37802013-01-07 Mark Kettenis <kettenis@openbsd.org>
3781
3782 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
3783 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 3784
db59befb
NC
37852013-01-04 Nick Clifton <nickc@redhat.com>
3786
3787 * config/v850/lib1funcs.S: Only provide CALLT support functions if
3788 the CALLT instruction is supported.
3789
5aa12dbf
JW
37902012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3791
3792 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
3793 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
3794
65f14117
JT
37952012-12-13 John Tytgat <John@bass-software.com>
3796
3797 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
3798 is 25.
3799
ee3ae4f7
JJ
38002012-12-12 Jakub Jelinek <jakub@redhat.com>
3801
3802 PR libgcc/55451
3803 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
3804 undefined signed overflows.
3805
2fcfba3d
UB
38062012-12-09 Uros Bizjak <ubizjak@gmail.com>
3807
3808 PR target/55344
3809 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
3810
4f2b3dc2
UB
38112012-12-06 Uros Bizjak <ubizjak@gmail.com>
3812
3813 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
3814 (FP_TRAPPING_EXCEPTIONS): Define.
3815 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
3816 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
3817
066161a2
RH
38182012-12-04 Richard Henderson <rth@redhat.com>
3819
3820 PR bootstrap/55571
3821 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
3822
7d296953 38232012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 3824
4f2b3dc2 3825 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
3826 (FP_EX_SHIFT): Define.
3827 (FP_TRAPPING_EXCEPTIONS): Define.
3828
7d296953 38292012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
3830
3831 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
3832 (FP_ROUNDMODE): Use FP_RND_MASK.
3833 * config/aarch64/sfp-exceptions.c: New.
3834 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3835 Use __sfp_handle_exceptions.
3836
5005fe22
RE
38372012-12-04 Richard Earnshaw <rearnsha@arm.com>
3838
3839 * config.host: (arm*-*-freebsd*): Remove.
3840 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
3841 (arm*-*-elf*): Remove.
3842 (arm*-*-wince-pe*): Remove.
3843 * arm/unwind-arm.c (struct fpa_reg): Delete.
3844 (struct fpa_regs): Delete.
3845 (phase1_vrs): Remove fpa element.
3846 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
3847 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
3848 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
3849 * ieee754-sf.S (floatundisf): Remove FPA support.
3850 (floatdisf): Likewise.
3851 * ieee75f-df.S (floatundidf): Likewise.
3852 (floatdidf): Likewise.
3853
e5a81c8e
KT
38542012-11-29 Kai Tietz <ktietz@redhat.com>
3855
3856 PR target/55445
3857 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
3858 * unwind-generic.h: Likewise.
3859 * unwind-seh.c: Likewise.
3860
f4919e4a
RH
38612012-11-28 Richard Henderson <rth@redhat.com>
3862
3863 PR libgcc/48076
3864 * emutls.c (__emutls_get_address): Avoid race condition between
3865 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 3866
e13d9d5a
GJL
38672012-11-22 Georg-Johann Lay <avr@gjlay.de>
3868
3869 Adjust decimal point of signed accum mode to GCC default.
3870
3871 PR target/54222
3872 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
3873 _divqq_helper.
3874 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
3875 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
3876 (__mulha3, __mulsa3)
3877 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
3878 decimal point of signed accum types.
3879
e13d9d5a
GJL
3880 (__mulusa3_round): New function.
3881 (__mulusa3): Use it.
3882 (__divqq_helper): New function.
3883 (__udivuqq3): Use it.
3884
1b845c6e
JJ
38852012-11-20 Jakub Jelinek <jakub@redhat.com>
3886
3887 PR bootstrap/55370
3888 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
3889
822a258a
TJ
38902012-11-18 Teresa Johnson <tejohnson@google.com>
3891
3892 PR bootstrap/55051
3893 * libgcov.c (gcov_exit): Remove merged program summary
3894 comparison unless !GCOV_LOCKED.
3895
7d296953 38962012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
3897
3898 * soft-fp: Updated from glibc upstream.
3899
e808687a
ILT
39002012-11-06 Ian Lance Taylor <iant@google.com>
3901
3902 * generic-morestack.c (__generic_morestack): Align the returned
3903 stack pointer to a 32 byte boundary.
3904 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
3905 increment the return address until we have decided that we don't
3906 have a varargs function.
3907 (__morestack) [32-bit]: Align stack correctly when calling C
3908 functions.
3909 (__morestack) [64-bit]: Likewise.
3910
460277e0
TS
39112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3912
3913 * configure: Regenerate.
3914
73edb277
UB
39152012-11-02 Uros Bizjak <ubizjak@gmail.com>
3916
3917 PR target/55175
3918 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
3919 * config/i386/sfp-machine.h: Guard exception handling
3920 code with _SOFT_FLOAT.
3921 * config/i386/32/sfp-machine.h: Guard rounding handling
3922 code with _SOFT_FLOAT.
3923 * config/i386/64/sfp-machine.h: Ditto.
3924
c1d4fa04
JS
39252012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
3926
3927 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
3928 as extra_parts.
3929
eff6ca85
UB
39302012-10-26 Uros Bizjak <ubizjak@gmail.com>
3931
3932 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
3933 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
3934 when appropriate. Correct structure element types.
3935 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
3936 -minline-all-stringops from compile flags.
3937
7d296953 39382012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
3939
3940 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
3941
7d296953 39422012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 3943
eff6ca85 3944 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 3945
6f288860
SH
39462012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3947
3948 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
3949 tmake_file.
3950
1e3d5096
IB
39512012-10-23 Ian Bolton <ian.bolton@arm.com>
3952 Jim MacArthur <jim.macarthur@arm.com>
3953 Marcus Shawcroft <marcus.shawcroft@arm.com>
3954 Nigel Stephens <nigel.stephens@arm.com>
3955 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3956 Richard Earnshaw <rearnsha@arm.com>
3957 Sofiane Naci <sofiane.naci@arm.com>
3958 Stephen Thomas <stephen.thomas@arm.com>
3959 Tejas Belagod <tejas.belagod@arm.com>
3960 Yufeng Zhang <yufeng.zhang@arm.com>
3961
3962 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
3963 * config/aarch64/crti.S: New file.
3964 * config/aarch64/crtn.S: New file.
3965 * config/aarch64/linux-unwind.h: New file.
3966 * config/aarch64/sfp-machine.h: New file.
3967 * config/aarch64/sync-cache.c: New file.
3968 * config/aarch64/t-aarch64: New file.
3969 * config/aarch64/t-softfp: New file.
3970
8a740f07
HPN
39712012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
3972
3973 * config/mmix/crti.S: Mark program and data addresses using PRELD.
3974 Remove typo'd and unnecessary alignment-LOC for .data. Remove
3975 no-longer-needed LDBU insns.
3976
7d296953 39772012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
3978
3979 * config.host
3980 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
3981 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
3982
595fefee
MGD
39832012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3984
3985 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
3986
9945a876
MK
39872012-10-15 Matthias Klose <doko@ubuntu.com>
3988
3989 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
3990
1183dc2c
PC
39912012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
3992
3993 * configure: Regenerate.
3994 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
3995
945a9c1f
UB
39962012-10-10 Uros Bizjak <ubizjak@gmail.com>
3997
3998 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3999 instructions for 64bit targets only.
4000
fb8bf47a
UB
40012012-10-10 Uros Bizjak <ubizjak@gmail.com>
4002
4003 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4004 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4005 * config/i386/32/sfp-machine.h: ... here.
4006 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4007 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4008 New defines.
4009
acb72498
MK
40102012-10-07 Matthias Klose <doko@ubuntu.com>
4011
4012 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4013 as unused.
4014 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4015
8eaee0f0
MK
40162012-10-06 Mark Kettenis <kettenis@openbsd.org>
4017
4018 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4019 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4020 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4021 (ElfW): Likewise.
4022
5e3e4fe8
JW
40232012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
4024
4025 PR other/53889
4026 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4027 Fix parameter names.
4028
86086376
OE
40292012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
4030
4031 PR target/33135
4032 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4033 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4034 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4035
9597375a
OE
40362012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
4037
4038 PR target/50457
4039 * config/sh/linux-atomic.S: Delete.
4040 * config/sh/linux-atomic.c: New.
4041 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4042 linux-atomic.c. Add cflags to disable warnings.
4043
1504e3e1
JW
40442012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4045
4046 PR other/53889
4047 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4048 function.
4049 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4050 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4051 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4052 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
4053 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4054 Likewise.
1504e3e1
JW
4055 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4056 Likewise.
4057 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4058 Likewise.
4059 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4060 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4061
17f293b0
MK
40622012-09-19 Mark Kettenis <kettenis@openbsd.org>
4063
9597375a
OE
4064 * config.host (hppa-*-openbsd*): New target.
4065 * config/pa/t-openbsd: New file.
17f293b0 4066
51526856
GJL
40672012-09-15 Georg-Johann Lay <avr@gjlay.de>
4068
4069 PR target/54222
4070 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4071 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4072 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4073 (__divsa3): Use __negsi2 to negate r_quoL.
4074 * config/avr/lib1funcs.S (FALIAS): New macro.
4075 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4076 (__negsi2): ...this new function.
4077 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4078 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4079 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4080 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4081 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4082 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4083
aadb5b43
OE
40842012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
4085
4086 PR target/54089
4087 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4088 (lshrsi3): Reimplement as lshrsi3_r0.
4089
d5d66749
AS
40902012-09-10 Andreas Schwab <schwab@linux-m68k.org>
4091
4092 PR target/46191
4093 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4094 of libgcc.a.
4095
c6c36e73
TJ
40962012-09-07 Teresa Johnson <tejohnson@google.com>
4097
9597375a 4098 PR gcov-profile/54487
c6c36e73 4099 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 4100 differences.
c6c36e73 4101
b588ae30
GJL
41022012-09-05 Georg-Johann Lay <avr@gjlay.de>
4103
4104 PR target/54461
4105 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4106 not configured --with-avrlibc=no.
4107 * config/avr/t-avrlibc: New file.
4108 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4109 (DPBIT_FUNCS): Ditto.
4110 (TPBIT_FUNCS): Ditto.
4111
abd16fb1
TJ
41122012-09-04 Teresa Johnson <tejohnson@google.com>
4113
4114 * libgcov.c (struct gcov_summary_buffer): New structure.
4115 (gcov_histogram_insert): New function.
4116 (gcov_compute_histogram): Ditto.
4117 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4118 histograms during summary merging.
4119
613061fd
MK
41202012-09-01 Mark Kettenis <kettenis@openbsd.org>
4121
4122 * config.host (x86_64-*-openbsd*): New target.
73edb277 4123
867a8345
CLT
41242012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4125
4126 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4127 attribute.
4128
4aeaaca3
GJL
41292012-08-24 Georg-Johann Lay <avr@gjlay.de>
4130
4131 PR target/54222
4132 * config/avr/t-avr (conv_X): Rename to func_X.
4133
e55e4056
GJL
41342012-08-24 Georg-Johann Lay <avr@gjlay.de>
4135
4136 PR target/54222
4137 * config/avr/lib1funcs-fixed.S: New file.
4138 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
4139 after they are used.
4140 (neg2, neg4): New macros.
4141 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4142 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4143 (__umulhisi3): Speed up MUL variant if there is enough flash.
4144 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4145 avr-modes.def.
4146 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4147 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4148 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4149 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4150 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4151 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4152 (LIB2FUNCS_EXCLUDE): Add supported functions.
4153
a147b6d2
GJL
41542012-08-22 Georg-Johann Lay <avr@gjlay.de>
4155
4156 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4157 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4158 libgcc-s-objects.
4159 * fixed-obj.mk: Only expand dependency if $o is not in
4160 LIB2FUNCS_EXCLUDE.
4161
c637141a
L
41622012-08-22 H.J. Lu <hongjiu.lu@intel.com>
4163
4164 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4165
130e00bd
JM
41662012-08-22 Joseph Myers <joseph@codesourcery.com>
4167
4168 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4169 depend on --enable-shared.
4170 ($(lib1asmfuncs-o)): Use %.vis files independent of
4171 --enable-shared.
4172 * static-object.mk ($(base)$(objext), $(base).vis)
4173 ($(base)_s$(objext)): Use same rules for visibility handling as in
4174 shared-object.mk.
4175
4b1b3788
ILT
41762012-08-21 Ian Lance Taylor <iant@google.com>
4177
4178 * config/i386/morestack.S (__morestack_non_split): Increase amount
4179 of space allocated for non-split code stack.
4180
d2468141
JM
41812012-08-19 Joseph Myers <joseph@codesourcery.com>
4182
4183 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4184 even if inhibit_libc.
4185
a508e1a8
JB
41862012-08-17 Julian Brown <julian@codesourcery.com>
4187
4188 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4189 -fexceptions -fnon-call-exceptions if not defined.
4190 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4191 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4192
5615a07d
AS
41932012-08-17 Andreas Schwab <schwab@linux-m68k.org>
4194
4195 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4196 type.
4197
138f5acd
DE
41982012-08-16 David Edelsohn <dje.gcc@gmail.com>
4199
4200 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4201 rs6000/t-slibgcc-aix.
4202
18efc0dd
SB
42032012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4204
4205 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4206
6b39bc38
SB
42072012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4208
4209 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4210
cd25dea0
L
42112012-08-03 H.J. Lu <hongjiu.lu@intel.com>
4212
4213 PR driver/54171
4214 * Makefile.in (version): Replace top_srcdir with srcdir.
4215
a3dda30b
JY
42162012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
4217
4218 * Makefile.in (version): set to BASE-VER file from gcc directory.
4219
d04aacfc
NC
42202012-08-01 Nick Clifton <nickc@redhat.com>
4221
4222 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4223 Implements __clrsb for an HImode argument.
4224
0d13c974
NC
42252012-07-31 Nick Clifton <nickc@redhat.com>
4226
4227 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4228 Implements __clrsb for an HImode argument.
4229 * config/stormy16/clrsbhi2.c: New file:
4230 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4231
efbb59b2
SB
42322012-07-22 Steven Bosscher <steven@gcc.gnu.org>
4233
4234 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4235
bf1431e3
TG
42362012-07-19 Tristan Gingold <gingold@adacore.com>
4237 Richard Henderson <rth@redhat.com>
4238
4239 * unwind-seh.c: New file.
4240 * unwind-generic.h: Include windows.h for SEH.
4241 (_Unwind_Exception): Use 6 private fields for SEH.
4242 (_GCC_specific_handler): Declare.
4243 * unwind-c.c (__gcc_personality_seh0): New function.
4244 Adjust for SEH.
4245 * config/i386/libgcc-cygming.ver: New file.
4246 * config/i386/t-seh-eh: New file.
4247 * config.host (x86_64-*-mingw*): Default to seh.
4248
659140c8
SB
42492012-07-14 Steven Bosscher <steven@gcc.gnu.org>
4250
4251 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4252
a20d08fd
UB
42532012-06-17 Uros Bizjak <ubizjak@gmail.com>
4254
4255 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4256 __builtin_expect when checking for exceptions.
4257 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4258
79261115
UB
42592012-06-13 Uros Bizjak <ubizjak@gmail.com>
4260
4a172156
UB
4261 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4262 function declaration.
4263 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4264 (FP_RND_MASK): New.
4265 * config/ia64/sfp-exceptions.c: New.
4266 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 4267
bb5c97d4
UB
42682012-06-13 Uros Bizjak <ubizjak@gmail.com>
4269
4270 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4271 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4272 * config/i386/64/sfp-machine: ... (delete here) ...
4273 * config/i386/sfp-machine.h: ... to here.
4274 (FP_EX_MASK): Remove.
4275 (FP_RND_MASK): New.
4276 (FP_INIT_ROUNDMODE): Declare asm as volatile.
4277
91fe5efb
ST
42782012-06-11 Sriraman Tallam <tmsriram@google.com>
4279
4280 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4281 * config/i386/libgcc-sol2.ver: Ditto.
4282 * config/i386/libgcc-glibc.ver: Ditto.
4283
67a218c5
RM
42842012-06-11 Roland McGrath <mcgrathr@google.com>
4285
4286 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4287 If __GLIBC__ is defined, refer to __pthread_key_create instead of
4288 pthread_cancel.
4289
492fbea1
UB
42902012-06-09 Uros Bizjak <ubizjak@gmail.com>
4291
4292 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4293 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4294 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4295 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4296 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4297 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4298 * config/i386/64/sfp-machine: ... (delete here) ...
4299 * config/i386/sfp-machine.h: ... to here.
4300 (FP_EX_MASK): New.
4301 (__sfp_handle_exceptions): New function declaration.
4302 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4303 * config/i386/sfp-exceptions.c: New.
4304 * config/i386/t-softfp: New.
4305 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4306 i386/t-softfp to tmake_file.
4307
7b4cf266
DM
43082012-06-03 David S. Miller <davem@davemloft.net>
4309
4310 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4311 change.
4312
0de0d5c6
DM
43132012-05-31 David S. Miller <davem@davemloft.net>
4314
4315 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4316 multiply and divide instructions on 32-bit when V9.
4317 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4318
d8c9d391
JM
43192012-05-29 Joseph Myers <joseph@codesourcery.com>
4320
4321 * config/arm/ieee754-df.S: Fix typos.
4322 * config/arm/ieee754-sf.S: Fix typos.
4323 * config/c6x/libunwind.S: Fix typos.
4324 * config/epiphany/udivsi3-float.c: Fix typos.
4325 * config/microblaze/muldi3_hard.S: Fix typos.
4326 * config/picochip/adddi3.S: Fix typos.
4327 * config/picochip/ashlsi3.S: Fix typos.
4328 * config/picochip/ashrsi3.S: Fix typos.
4329 * config/picochip/clzsi2.S: Fix typos.
4330 * config/picochip/cmpsi2.S: Fix typos.
4331 * config/picochip/divmod15.S: Fix typos.
4332 * config/picochip/divmodhi4.S: Fix typos.
4333 * config/picochip/divmodsi4.S: Fix typos.
4334 * config/picochip/longjmp.S: Fix typos.
4335 * config/picochip/lshrsi3.S: Fix typos.
4336 * config/picochip/parityhi2.S: Fix typos.
4337 * config/picochip/popcounthi2.S: Fix typos.
4338 * config/picochip/setjmp.S: Fix typos.
4339 * config/picochip/subdi3.S: Fix typos.
4340 * config/picochip/ucmpsi2.S: Fix typos.
4341 * config/picochip/udivmodhi4.S: Fix typos.
4342 * config/picochip/udivmodsi4.S: Fix typos.
4343 * config/spu/divv2df3.c: Fix typos.
4344 * config/spu/mfc_multi_tag_release.c: Fix typos.
4345 * config/spu/mfc_tag_release.c: Fix typos.
4346 * configure.ac: Fix typos.
4347 * configure: Regenerate.
4348
31a18a7e
ILT
43492012-05-25 Ian Lance Taylor <iant@google.com>
4350
4351 * config/i386/morestack.S (__morestack_non_split): Check whether
4352 caller is varargs and needs %bp to hold the stack frame on return.
4353
c5768510
OH
43542012-05-25 Olivier Hainque <hainque@adacore.com>
4355
4356 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4357 sequence in the non pic case on VxWorks.
4358
7c7c339b
OH
43592012-05-24 Olivier Hainque <hainque@adacore.com>
4360
73fb7630 4361 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
4362 "install-leaf" to "install".
4363
fdc1b7d3
OH
43642012-05-24 Olivier Hainque <hainque@adacore.com>
4365
4366 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4367 Use a separate command for stamp removals.
4368
07ba94b9
AP
43692012-05-21 Andrew Pinski <apinski@cavium.com>
4370
4371 PR bootstrap/53183
4372 * configure.ac: Define the default includes to being none.
4373 * configure: Regenerate.
4374
4677d2eb
OH
43752012-05-16 Olivier Hainque <hainque@adacore.com>
4376
4377 * Makefile.in (install-unwind_h): Rename into ...
4378 (install-unwind_h-forbuild): New target.
4379 (all): Use it instead of the former install-unwind_h.
4380 (install-unwind_h): Reinstate, copy to user install destination
4381 for include files, not to the internal gcc object directory one.
4382 (install-leaf): Depend on it.
4383
7d67c380
OH
43842012-05-15 Olivier Hainque <hainque@adacore.com>
4385
4386 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4387 register numbers. LR_REGNO replaces R_LR.
4388 (ucontext_for): New, helper for ...
4389 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4390 and 5.3 of ...
4391 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4392
aca06c90
RO
43932012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4394
4395 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4396 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4397 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4398 i386/t-cpuinfo ...
4399 (i[34567]86-*-*, x86_64-*-*): ... here.
4400
4401 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4402 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4403
4404 * config/i386/i386-cpuinfo.c: Rename to ...
4405 * config/i386/cpuinfo.c: ... this.
4406 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4407
4408 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4409 (libgcc_cv_init_priority): New test.
4410 * configure: Regenerate.
4411 * config.in: New file.
4412 * Makefile.in (clean): Rename config.h to auto-target.h.
4413 (config.h): Likewise.
4414 (stamp-h): Likewise.
4415
4416 * config/i386/cpuinfo.c (auto-target.h): Include.
4417 (CONSTRUCTOR_PRIORITY): Define.
4418 (__cpu_indicator_init): Use it.
4419
0d03ac1b
L
44202012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4421
4422 * longlong.h: Use a URL instead of an FSF postal address.
4423 Replace spaces with tab.
4424
4a172156 44252012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
4426
4427 * libgcov.c (gcov_clear, __gcov_reset): New functions.
4428 (__gcov_dump): Ditto.
4429 (gcov_dump_complete): New global variable.
4430 (gcov_exit): Export hidden to enable use in L_gcov_dump.
4431 (__gcov_flush): Outline functionality now in gcov_clear.
4432 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4433
e4bb767e
AJ
44342012-04-28 Aurelien Jarno <aurelien@aurel32.net>
4435
31a18a7e
ILT
4436 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4437 (mips*-*-linux*): Include mips/t-tpbit when long double is
4438 16 bytes long.
e4bb767e 4439
5ddecff9
ST
44402012-04-25 Sriraman Tallam <tmsriram@google.com>
4441
4442 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4443 (get_available_features): New argument. Check for AVX2.
4444 (__cpu_indicator_init): Modify call to get_available_features.
4445
b427dd7a
AM
44462012-04-25 Alan Modra <amodra@gmail.com>
4447
4448 * config/rs6000/crtsavevr.S: New file.
4449 * config/rs6000/crtrestvr.S: New file.
4450 * config/rs6000/t-savresfgpr: Build the above.
4451 * config/rs6000/t-netbsd: Likewise.
4452
ad491329
ST
44532012-04-24 Sriraman Tallam <tmsriram@google.com>
4454
4455 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4456
792317cc
ST
44572012-04-24 Sriraman Tallam <tmsriram@google.com>
4458
4459 * libgcc/config/i386/i386-cpuinfo.c: New file.
4460 * libgcc/config/i386/t-cpuinfo: New file.
4461 * libgcc/config.host: Include t-cpuinfo.
4462 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4463
e1be98a4
CF
44642012-04-24 Chao-ying Fu <fu@mips.com>
4465
4466 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4467
1bde7dab
TS
44682012-04-20 Thomas Schwinge <thomas@codesourcery.com>
4469
4470 struct siginfo vs. siginfo_t
4471
4472 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4473 siginfo_t instead of struct siginfo.
4474 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4475 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4476 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4477 (ia64_handle_unwabi): Likewise.
4478 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4479 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4480 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4481 (sh_fallback_frame_state): Likewise.
4482 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4483 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4484
24590f66
L
44852012-04-02 H.J. Lu <hongjiu.lu@intel.com>
4486
4487 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4488 system call number.
4489
9a9dcce8
EB
44902012-03-31 Eric Botcazou <ebotcazou@adacore.com>
4491
4492 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4493 if it hasn't been previously saved.
4494
6401aaf5
L
44952012-03-29 H.J. Lu <hongjiu.lu@intel.com>
4496
4497 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4498 only for glibc.
4499
7fd6378e
GJL
45002012-03-28 Georg-Johann Lay <avr@gjlay.de>
4501
4502 PR target/52737
4503 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4504 instead of __AVR_HAVE_8BIT_SP__.
4505
9e916de7
TG
45062012-03-26 Tristan Gingold <gingold@adacore.com>
4507
4508 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4509 (unw_table_entry): Use unw_word instead of unsigned long.
4510 (_Unwind_FindTableEntry): Likewise.
4511 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4512 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4513 (_Unwind_FindTableEntry): Likewise.
4514 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4515 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4516 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4517 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4518 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4519 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4520 (uw_init_context_1, uw_install_context): Likewise.
4521 (unw_word): Move to unwind-ia64.h
4522
4b12e93d
TG
45232012-03-26 Tristan Gingold <gingold@adacore.com>
4524
4525 * config/vms/vms-ucrt0.c: Update copyright years.
4526 Add a sanity check.
4527 (___gcc_main_flags): Declare.
4528 (__main): Check flags to remap argv and exit code.
4529 * config.host (*-*-*vms*): Adjust extra_parts.
4530 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4531 (crt0.o): Add.
4532
06ea7371
RE
45332012-03-22 Richard Earnshaw <rearnsha@arm.com>
4534
4535 * arm/lib1funcs.asm (ctzsi2): New function.
4536 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4537 * arm/t-linux (LIB1ASMFUNCS): Likewise.
4538 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4539 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4540 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4541 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4542
d82ad50d
AT
45432012-03-21 Andreas Tobler <andreast@fgznet.ch>
4544
4545 * config.host: Add bits to support powerpc64-*-freebsd*.
4546 * config/rs6000/freebsd-unwind.h: New file.
4547 * config/rs6000/t-freebsd64: New file.
4548
b260a8c0
RG
45492012-03-20 Richard Guenther <rguenther@suse.de>
4550
4551 PR gcov-profile/52627
4552 * libgcov.c (init_mx): Fix mutex name.
4553
86286a8a
TG
45542012-03-16 Tristan Gingold <gingold@adacore.com>
4555
4556 * config/ia64/vms-unwind.h: Remove ulong (and replace
4557 it by unw_reg where used). Define unw_reg with __int64.
4558
7888f266
RO
45592012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4560
4561 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4562 Solaris 8 handling.
4563 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4564 Solaris 8 handling.
4565 (sparc_is_sighandler): Likewise.
4566
f155bc64
L
45672012-03-13 H.J. Lu <hongjiu.lu@intel.com>
4568
4569 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4570 <= saved reg size.
4571
d47657bd
RO
45722012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4573
4574 * config/arm/crtn.S: Fix typo.
4575
5bef73a1
RG
45762012-03-13 Richard Guenther <rguenther@suse.de>
4577
4578 * libgcov.c: Remove stdio.h include and NULL un-define.
4579
9c4271f3
RG
45802012-03-13 Richard Guenther <rguenther@suse.de>
4581
4582 PR target/52569
4583 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4584
c6d10e7c
RG
45852012-03-13 Richard Guenther <rguenther@suse.de>
4586
4587 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4588
074a385f
RG
45892012-03-13 Richard Guenther <rguenther@suse.de>
4590
4591 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4592 and __gthread_mutex_init_function definitions.
4593
c4bc5c25
RO
45942012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4595
4596 * config.host (mips*-*-openbsd*): Remove.
4597
5c30094f
RO
45982012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4599
4600 * config.host: Remove alpha*-dec-osf5.1* handling.
4601 * config/alpha/gthr-posix.c: Remove.
4602 * config/alpha/libgcc-osf5.ver: Remove.
4603 * config/alpha/osf5-unwind.h: Remove.
4604 * config/alpha/t-osf-pthread: Remove.
4605 * config/alpha/t-slibgcc-osf: Remove.
4606 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4607 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4608 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
4609 * mkmap-flat.awk: Remove osf_export handling.
4610
33e3e24d
RG
46112012-03-12 Richard Guenther <rguenther@suse.de>
4612
4613 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
4614 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4615 (__gthread_mutex_init_function): New function.
4616 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4617
4618 PR gcov/49484
4619 * libgcov.c: Include gthr.h.
4620 (__gcov_flush_mx): New global variable.
4621 (init_mx, init_mx_once): New functions.
4622 (__gcov_flush): Protect self with a mutex.
4623 (__gcov_fork): Re-initialize mutex after forking.
4624 * unwind-dw2-fde.c: Change condition under which to use
4625 __GTHREAD_MUTEX_INIT_FUNCTION.
4626
d8aba32a
TG
46272012-03-12 Tristan Gingold <gingold@adacore.com>
4628
4629 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
4630 * config/ia64/t-vms: Likewise.
4631
75ffafdc
MH
46322012-03-11 Michael Hope <michael.hope@linaro.org>
4633
4a172156
UB
4634 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
4635 for Thumb-2.
75ffafdc 4636
ef6c2c53
WL
46372012-03-07 Walter Lee <walt@tilera.com>
4638
4639 * config/tilepro/atomic.c: Rename "atomic_" prefix to
4640 "arch_atomic_".
4641 (atomic_xor): Rename and move definition to
4642 config/tilepro/atomic.h.
4643 (atomic_nand): Ditto.
4644 * config/tilepro/atomic.h: Rename "atomic_" prefix to
4645 "arch_atomic_".
4646 (arch_atomic_xor): Move from config/tilepro/atomic.c.
4647 (arch_atomic_nand): Ditto.
4648
4e30d980
GJL
46492012-03-07 Georg-Johann Lay <avr@gjlay.de>
4650
4651 PR target/52507
4652 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
4653
61108225
GJL
46542012-03-07 Georg-Johann Lay <avr@gjlay.de>
4655
4656 PR target/52505
4657 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
4658 from RAM.
4659
b30e10ab
GJL
46602012-03-07 Georg-Johann Lay <avr@gjlay.de>
4661
4662 PR target/52461
4663 PR target/52508
4664 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
4665 if RAMPZ affects reading from RAM.
4666 (__tablejump_elpm__): Ditto.
4667 (.xload): Ditto.
4668 (__movmemx_hi): Ditto.
4669 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
4670 (__do_global_dtors): Ditto.
4671 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
4672 (__movmemx_hi): Ditto.
4673
8993fde4
RH
46742012-03-05 Richard Henderson <rth@redhat.com>
4675
4676 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
4677 [ARM] (count_trailing_zeros): Use the builtin.
4678
b7633ee3
KT
46792012-03-01 Kai Tietz <ktietz@redhat.com>
4680
4681 * soft-fp: Imported from glibc upstream.
4682
fbd3340c
KT
46832012-02-28 Kai Tietz <ktietz@redhat.com>
4684
4685 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
4686 for mingw-targets as attribute gcc_struct.
4687
e9e053eb
ILT
46882012-02-28 Ian Lance Taylor <iant@google.com>
4689
4690 * generic-morestack.c (__splitstack_releasecontext): Correct call
4691 to __morestack_release_segments.
4692
d80c632e
ST
46932012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4694
4695 PR target/52390
4696 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
4697 for __linux__ when removing signals from __morestack_fullmask.
4698
0253a8b1
GJL
46992012-02-23 Georg-Johann Lay <avr@gjlay.de>
4700
4701 PR target/52261
4702 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
4703
e10e461e
UW
47042012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4705
4706 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
4707 instead of HAVE_INITFINI_ARRAY.
4708 * config/ia64/crtend.S: Likewise.
4709
0c0c6398
KT
47102012-02-20 Kai Tietz <ktietz@redhat.com>
4711
d7470374
KT
4712 PR libstdc++/52300
4713 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
4714
0c0c6398
KT
4715 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
4716 to w32-unwind.h header.
4717
78c27266
RS
47182012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
4719
4720 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
4721 (mips*-*-linux*): Remove t-slibgcc-libgcc.
4722 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
4723 * config/mips/mips16.S (__mips16_rdhwr): Delete.
4724
5adeb246
RS
47252012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
4726
4727 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
4728
672ed313
IS
47292012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4730
4731 PR libitm/52220
4732 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 4733
e948a1fb
IS
47342012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4735 Patrick Marlier <patrick.marlier@gmail.com>
4736
4737 PR libitm/52220
4738 * config/darwin-crt-tm.c: Generate dummy functions.
4739
6017aed3
IS
47402012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4741 Patrick Marlier <patrick.marlier@gmail.com>
4742
4743 PR libitm/52042
4744 * config/darwin-crt-tm.c (getTMCloneTable): New function.
4745 (__doTMRegistrations): Call it.
e9e053eb 4746 (__doTMdeRegistrations): Likewise.
6017aed3 4747
2da8c1ad 47482012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
4749 Anatoly Sokolov <aesok@post.ru>
4750 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
4751
4752 PR target/52261
4753 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
4754 (__epilogue_restores__): Ditto.
4755
0f952eb4
EB
47562012-02-15 Eric Botcazou <ebotcazou@adacore.com>
4757
4758 PR target/51921
4759 PR target/52205
4760 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
4761 Solaris 11 and slightly reformat.
4762 (sparc_is_sighandler): Likewise.
4763
dd552284
WL
47642012-02-14 Walter Lee <walt@tilera.com>
4765
4766 * config.host: Handle tilegx and tilepro.
4767 * config/tilegx/sfp-machine.h: New file.
4768 * config/tilegx/sfp-machine32.h: New file.
4769 * config/tilegx/sfp-machine64.h: New file.
4770 * config/tilegx/t-crtstuff: New file.
4771 * config/tilegx/t-softfp: New file.
4772 * config/tilegx/t-tilegx: New file.
4773 * config/tilepro/atomic.c: New file.
4774 * config/tilepro/atomic.h: New file.
4775 * config/tilepro/linux-unwind.h: New file.
4776 * config/tilepro/sfp-machine.h: New file.
4777 * config/tilepro/softdivide.c: New file.
4778 * config/tilepro/softmpy.S: New file.
4779 * config/tilepro/t-crtstuff: New file.
4780 * config/tilepro/t-tilepro: New file.
4781
b59cbd50
JW
47822012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
4783
4784 PR libstdc++/51296
4785 PR libstdc++/51906
4786 * gthr-posix.h: Allow static initializer macros to be disabled.
4787 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
4788
6caf807f
CLT
47892012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4790
4791 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
4792 Add t-slibgcc-libgcc to tmake_file.
4793 * config/mips/libgcc-mips16.ver: Revert previous patch.
4794 * config/mips/mips16.S (__mips16_rdhwr): Hide.
4795
7d296953
JJ
47962012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
4797 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
4798
4799 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
4800 * config/cr16/crti.S: New file.
4801 * config/cr16/crtlibid.S: New file.
4802 * config/cr16/crtn.S: New file.
4803 * config/cr16/lib1funcs.S: New file.
4804 * config/cr16/t-cr16: New file.
4805 * config/cr16/t-crtlibid: New file.
4806 * config/cr16/unwind-dw2.h: New file.
4807 * config/cr16/unwind-cr16.c: New file.
4808 * config/cr16/divmodhi3.c: New file.
4809
8ef03aa7
AM
48102012-01-25 Alan Modra <amodra@gmail.com>
4811
4812 * config/rs6000/t-linux64: Delete. Move..
4813 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
4814 * config/rs6000/t-linux: ..and libgcc flags to here.
4815
daecebc8
DR
48162012-01-22 Douglas B Rupp <rupp@gnat.com>
4817
4818 * config.host (i[34567]86-*-interix3*):
8ef03aa7 4819 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
4820 * configure: Regenerate.
4821
ddaf8125
RS
48222012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
4823 Richard Sandiford <rdsandiford@googlemail.com>
4824
4825 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
4826 * config/mips/mips16.S (__mips16_rdhwr): New function.
4827 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
4828
2cd8b32c
NS
48292012-01-11 Nathan Sidwell <nathan@acm.org>
4830
4831 * libgcov.c (__gcov_init): Ignore objects with no functions.
4832
cba300dd
GJL
48332012-01-10 Georg-Johann Lay <avr@gjlay.de>
4834
4835 PR target/49868
4836 Extend __pgmx semantics to linearize memory.
4837 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
4838 * config/avr/lib1funcs.S (__xload_1): New function.
4839 (__movmemx_qi, __movmemx_hi): New functions.
4840 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
4841 semantics.
9ffaf4bc 4842
3d137660
EB
48432012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4844
4845 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
4846 purported sigacthandler address isn't null before dereferencing it.
4847 (sparc_is_sighandler): Likewise.
4848
bf4db96c
EB
48492012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4850
4851 PR ada/41929
4852 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
4853 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
4854 (sparc_is_sighandler): Likewise.
4855 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
4856
1ab3568b
TG
48572012-01-06 Tristan Gingold <gingold@adacore.com>
4858
4859 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
4860 compatibility thunks...
4861 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
4862 (crtbeginS.o, crtendS.o): ... and these to ...
4863 * config/ia64/t-ia64-elf: ... this new file.
4864 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
4865 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
4866
925b0ed8
AK
48672012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4868
4869 * configure: Regenerate.
4870 * config/s390/t-crtstuff: Remove -fPIC.
4871
a99ad737
JW
48722012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4873
4874 PR bootstrap/51006
4875 * enable-execute-stack-mprotect.c (getpagesize): Do not define
4876 for NetBSD.
4877
884f56d1
GJL
48782012-01-02 Georg-Johann Lay <avr@gjlay.de>
4879
4880 PR target/51345
4881 * config/avr/lib1funcs.S: Remove FIXME comments.
4882 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
4883
8c57e547
GJL
48842012-01-02 Georg-Johann Lay <avr@gjlay.de>
4885
4886 Implement light-weight DImode support.
4887 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
4888 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
4889 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
4890 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
4891
04dbc287
NS
48922011-12-30 Nathan Sidwell <nathan@acm.org>
4893
4894 * libgcov.c (gcov_crc32): Remove global var.
4895 (free_fn_data): New function.
4896 (buffer_fn_data): Pass in filename, more robust error recovery.
4897 (crc32_unsigned): New function.
4898 (gcov_exit): More robust detection of new program. More robust
4899 error recovery.
4900 (__gcov_init): Do not update program's crc here.
4901
8e1d97d4
TG
49022011-12-21 Tristan Gingold <gingold@adacore.com>
4903
4904 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
4905
9ffaf4bc
ILT
49062011-12-21 Ian Lance Taylor <iant@google.com>
4907
4908 * config/i386/morestack.S: Simplify CFI opcodes throughout.
4909
a0c8d0c1
ILT
49102011-12-20 Ian Lance Taylor <iant@google.com>
4911
4912 * config/i386/morestack.S (__morestack_non_split): If there is
4913 enough stack space already, don't split. Ask for more stack space
4914 than we required.
4915
69048898
SDJ
49162011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
4917
4918 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
4919 `sys/sdt.h'.
4920 (_Unwind_DebugHook): New function.
4921 (uw_restore_core_regs): New define.
4922 (unwind_phase2): Use uw_restore_core_regs instead of
4923 restore_core_regs.
4924 (unwind_phase2_forced): Likewise.
4925 (__gnu_Unwind_Resume): Likewise.
4926
1bb4b6a3
UB
49272011-12-20 Uros Bizjak <ubizjak@gmail.com>
4928
4929 * config/alpha/linux-unwind.h: Update copyright years.
4930 (MD_FROB_UPDATE_CONTEXT): New define.
4931 (alpha_frob_update_context): New function.
4932
eb028768
RS
49332011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
4934
4935 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
4936 tmake_file rather replacing it.
4937
6a2045bf
IS
49382011-12-15 Iain Sandoe <iains@gcc.gnu.org>
4939
4940 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 4941 function is not used for PPC64.
6a2045bf
IS
4942 (save_world): Amend comments. Update the VRsave mask to reflect the
4943 saved regs.
4944 (rest_world): Update comments, do not clobber r10, do not use r8.
4945 (eh_rest_world_r10): Amend comments, do not use r8.
4946 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
4947 no longer used, move restore of CR and target address to the end of
4948 the routine.
4949
a13780a6
L
49502011-12-14 H.J. Lu <hongjiu.lu@intel.com>
4951
4952 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
4953 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
4954
d7288dfb
GJL
49552011-12-14 Georg-Johann Lay <avr@gjlay.de>
4956
4957 PR target/49313
4958 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
4959 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
4960
8d2c862d
EB
49612011-12-11 Eric Botcazou <ebotcazou@adacore.com>
4962
4963 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
4964
3447cae6
GJL
49652011-12-09 Georg-Johann Lay <avr@gjlay.de>
4966
4967 PR target/49313
4968 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
4969 * config/avr/lib1funcs.S (__muldi3): New function.
4970
806fc6aa
AP
49712011-12-06 Andrew Pinski <apinski@cavium.com>
4972
4973 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
4974 size of func_ptr.
4975 (__frame_dummy_init_array_entry): Likewise.
4976
28c5e6b5
GJL
49772011-12-06 Georg-Johann Lay <avr@gjlay.de>
4978
4979 Forward-port from gcc-4_6-branch r181936 2011-12-02.
4980
4981 PR target/51345
4982 PR target/51002
4983 * config/avr/lib1funcs.S (__prologue_saves__,
4984 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
4985 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
4986
8f90394a
IS
49872011-12-04 Iain Sandoe <iains@gcc.gnu.org>
4988
4989 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
4990
06dd33ac
JDA
49912011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4992
4993 PR other/51272
4994 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
4995 (_ITM_deregisterTMCloneTable): Likewise.
4996 (__register_frame_info): Fix unused warning.
4997 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
4998 pthread_default_stacksize_np): Likewise.
4999 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 5000
85b8555e
DD
50012011-11-29 DJ Delorie <dj@redhat.com>
5002
5003 * config.host (rl78-*-elf): New case.
5004 * config/rl78: New directory for the Renesas RL78.
5005
4d5ae4ea
BS
50062011-11-29 Bernd Schmidt <bernds@codesourcery.com>
5007
5008 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
5009 formatting.
5010
f9c55897
RO
50112011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5012
5013 PR other/51022
5014 * config/rs6000/t-savresfgpr: New file.
5015 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5016 $(srcdir)/config/rs6000/eabi.S.
5017 * config/rs6000/t-ppccomm-ldbl: Remove.
5018 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5019 tmake_file.
5020 (powerpc-*-eabispe*): Likewise.
5021 (powerpc-*-eabi*): Likewise.
5022 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5023 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5024 to tmake_file, remove rs6000/t-ppccomm-ldbl.
5025 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5026 tmake_file.
5027 (powerpc-*-eabisim*): Likewise.
5028 (powerpc-*-elf*): Likewise.
5029 (powerpc-*-eabialtivec*): Likewise.
5030 (powerpc-xilinx-eabi*): Likewise.
5031 (powerpc-*-rtems*): Likewise.
5032 (powerpcle-*-elf*): Likewise.
5033 (powerpcle-*-eabisim*): Likewise.
5034 (powerpcle-*-eabi*): Likewise.
5035
a01207c4
ILT
50362011-11-27 Ian Lance Taylor <iant@google.com>
5037
5038 * generic-morestack.c (__splitstack_find): Check for NULL old
5039 stack value.
5040 (__splitstack_resetcontext): New function.
5041 (__splitstack_releasecontext): New function.
5042 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5043
2b0b8ab2
IS
50442011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5045
5046 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5047
c1d8101c
IS
50482011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5049
5050 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5051
8b281334
RH
50522011-11-26 Richard Henderson <rth@redhat.com>
5053
5054 * config/m68k/linux-atomic.c: New file.
5055 * config/m68k/t-linux: New file.
5056 * config.host (m68k-uclinux, m68k-linux): Use it.
5057
7546aa9d
RH
50582011-11-26 Richard Henderson <rth@redhat.com>
5059
5060 * crtstuff.c (__TMC_LIST__): Mark used not unused.
5061 (__TMC_END__): Only declare if hidden is available; in the definition,
5062 if hidden is unavailable add a null record.
5063 (deregister_tm_clones, register_tm_clones): New.
5064 (__do_global_dtors_aux, frame_dummy): Use them.
5065 (__do_global_dtors, __do_global_ctors_1): Likewise.
5066
e2362f5d
IS
50672011-11-22 Iain Sandoe <iains@gcc.gnu.org>
5068
5069 * config/darwin-crt-tm.c: New file.
5070 * config.host (darwin): Build crttms.o crttme.o to provide
5071 startup and shutdown for tm clones.
5072 * config/t-darwin (crttms.o): New build rule.
5073 (crttme.o): Likewise.
5074
6685dd96
HPN
50752011-11-21 Hans-Peter Nilsson <hp@axis.com>
5076
5077 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5078 et al.
5079
b0dc7e4c
RH
50802011-11-21 Richard Henderson <rth@redhat.com>
5081
5082 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5083 (__TMC_LIST__, __TMC_END__): New.
5084 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5085 (__do_global_dtors): Likewise.
5086 (frame_dummy): Call _ITM_registerTMCloneTable.
5087 (__do_global_ctors_1): Likewise.
5088
d4b4b542
RO
50892011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5090
5091 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5092 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5093 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5094 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5095 * config/i386/t-darwin64: Remove.
5096 * config/sh/t-netbsd (LIB2ADD): Remove.
5097
989bdb74
GJL
50982011-11-21 Georg-Johann Lay <avr@gjlay.de>
5099
5100 PR target/49313
5101 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5102 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5103 * config/avr/lib1funcs.S (wmov): New assembler macro.
5104 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5105 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5106 (__udivmod64): New function.
5107 (__negdi2): New function.
5108
515a0cfc
GP
51092011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5110
5111 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5112 *-*-freebsd*aout*): Remove.
5113
0115d17f
HPN
51142011-11-20 Hans-Peter Nilsson <hp@axis.com>
5115
5116 * static-object.mk (c_flags-$o): Save c_flags.
5117 ($(base)$(objext)): Use it.
5118
93aeb62b
SE
51192011-11-18 Steve Ellcey <sje@cup.hp.com>
5120
5121 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5122
7bc6df2c
GJL
51232011-11-18 Georg-Johann Lay <avr@gjlay.de>
5124
5125 PR target/49868
5126 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5127 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5128 New functions.
5129
425d737b
MGD
51302011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5131
5132 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5133 functions.
1bb4b6a3 5134 (aeabi_uidivmod): Likewise.
425d737b
MGD
5135 (umodsi3): Likewise.
5136 (divsi3): Likewise.
5137 (aeabi_idivmod): Likewise.
5138 (modsi3): Likewise.
5139
f2a176dc
TG
51402011-11-16 Tristan Gingold <gingold@adacore.com>
5141
5142 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5143
7c209481
GJL
51442011-11-15 Georg-Johann Lay <avr@gjlay.de>
5145
5146 PR target/49868
5147 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
5148 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5149
9dfd5832
JDA
51502011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5151
5152 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5153 tmake_file list.
5154 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5155 * config/pa/t-stublib64: Delete.
5156
f77dca5d
RH
51572011-11-12 Richard Henderson <rth@redhat.com>
5158
5159 * config/rs6000/linux-unwind.h (frob_update_context): Properly
5160 cast the pointer argument to _Unwind_SetGRPtr.
5161
902828f0
RO
51622011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5163
5164 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5165
e14304ef
ILT
51662011-11-09 Ian Lance Taylor <iant@google.com>
5167
5168 * generic-morestack.c: Include <string.h>.
5169 (uintptr_type): Define.
5170 (struct initial_sp): Add dont_block_signals field. Reduce size of
5171 extra array by 1.
5172 (allocate_segment): Set prev field to NULL. Don't set
5173 __morestack_current_segment or __morestack_segments.
5174 (__generic_morestack): Update current->prev and *pp after calling
5175 allocate_segment.
5176 (__morestack_block_signals): Don't do anything if
5177 dont_block_signals is set.
5178 (__morestack_unblock_signals): Likewise.
5179 (__generic_findstack): Check for initial_sp == NULL. Add casts to
5180 uintptr_type.
5181 (__splitstack_block_signals): New function.
5182 (enum __splitstack_content_offsets): Define.
5183 (__splitstack_getcontext, __splitstack_setcontext): New functions.
5184 (__splitstack_makecontext): New function.
5185 (__splitstack_block_signals_context): New function.
5186 (__splitstack_find_context): New function.
5187 * config/i386/morestack.S (__morestack_get_guard): New function.
5188 (__morestack_set_guard, __morestack_make_guard): New functions.
5189 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5190
e3d871e4
RO
51912011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5192
5193 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5194 (i[34567]86-*-mingw*): ... here.
5195 (x86_64-*-mingw*): ... here.
5196
e55cef40
RO
51972011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5198
5199 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5200
5366b186
NS
52012011-11-07 Nathan Sidwell <nathan@acm.org>
5202
5203 * libgcov.c (struct gcov_fn_buffer): New struct.
5204 (buffer_fn_data): New helper.
5205 (gcov_exit): Rework for new gcov data structures.
5206
74155a6f
GJL
52072011-11-07 Georg-Johann Lay <avr@gjlay.de>
5208
5209 PR target/49313
5210 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5211
200feb07
RO
52122011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5213
5214 * config.host (tmake_file): Correct comment.
5215 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5216 t-libgcc-pic.
5217 (bfin*-uclinux*): Likewise.
5218 (bfin*-linux-uclibc*): Likewise.
5219 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5220
5221 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5222 assigning.
5223 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5224 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5225 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5226 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5227 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5228 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5229 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5230 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5231 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5232 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5233 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5234 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5235 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5236
5237 * config/bfin/t-elf: Remove.
5238 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5239
c9cd1a07
RO
52402011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5241
5242 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5243 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5244 (lm32-*-elf*, lm32-*-rtems*): Split into ...
5245 (lm32-*-elf*): ... this.
5246 (lm32-*-rtems*): ... and this.
5247 Add to tmake_file.
5248 (m32r-*-rtems*): Add to tmake_file.
5249 (moxie-*-rtems*): Likewise.
5250 (sparc-*-rtems*): Likewise.
5251 Remove t-rtems from tmake_file.
5252 (sparc64-*-rtems*): Likewise.
5253 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5254 instead.
5255
9fbcc75d
RO
52562011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5257
5258 PR bootstrap/50982
5259 * config/gthr-posix.h: Move ...
5260 * gthr-posix.h: ... here.
5261 * config/gthr-lynx.h: Reflect this.
5262 * config/gthr-vxworks.h: Likewise.
5263 * config/rs6000/gthr-aix.h: Likewise.
5264 * configure.ac (target_thread_file): Likewise.
5265 * configure: Regenerate.
5266
76644b68
SH
52672011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
5268
5269 * config.host (arm*-*-rtemseabi*): New target.
5270
5e490f2a
JDA
52712011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5272
5273 PR other/50991
5274 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5275 extra-parts.
5276
feeeff5c
JR
52772011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
5278
5279 * config.host (epiphany-*-elf*): New configuration.
5280 * config/epiphany: New Directory.
5281
d618bb2c
RC
52822011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
5283
5284 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5285 * config/avr/t-rtems: New.
5286 Filter out _exit from LIB1ASMFUNCS.
5287
1bb6f778
DM
52882011-11-04 David S. Miller <davem@davemloft.net>
5289
5290 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5291 * configure: Rebuild.
5292
9a7f7422
AK
52932011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5294
5295 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5296 variable.
5297
e4fe948a
GJL
52982011-11-04 Georg-Johann Lay <avr@gjlay.de>
5299
5300 PR target/50931
5301 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5302 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5303
7084e037
JS
53042011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
5305
5306 PR target/50989
5307 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5308
1a032034
RO
53092011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5310
5311 * config/c6x/t-elf (LIB2ADDEH): Set.
5312 * config/c6x/t-c6x-elf: Remove.
5313
d385f772
RO
53142011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5315
5316 * config/i386/sol2-ci.S: Rename to ...
5317 * config/i386/crti.S: ... this.
5318 * config/i386/sol2-cn.S: Rename to ...
5319 * config/i386/crtn.S: ... this.
5320 * config/sparc/sol2-ci.S: Rename to ...
5321 * config/sparc/crti.S: ... this.
5322 * config/sparc/sol2-cn.S: Rename to ...
5323 * config/sparc/crtn.S: ... this.
5324 * config/t-sol2 (CUSTOM_CRTIN): Remove.
5325 (crti.o, crtn.o): Remove.
5326
1ba878a9
TG
53272011-11-04 Tristan Gingold <gingold@adacore.com>
5328
5329 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5330
02750c15
KK
53312011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
5332
5333 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5334
bf86b067
HPN
53352011-11-03 Hans-Peter Nilsson <hp@axis.com>
5336
5337 * config.host (crisv32-*-none, cris-*-none): Remove.
5338 (crisv32-*-elf): Append to tmake_file, don't just set it.
5339 (cris-*-elf): Add missing t-fdpbit to tmake_file.
5340
d0bc53bd
RO
53412011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5342
5343 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5344 (ecrtn$(objext)): Likewise.
5345 (ncrti$(objext)): Likewise.
5346 (ncrtn$(objext)): Likewise.
5347
036da830
AS
53482011-11-03 Andreas Schwab <schwab@redhat.com>
5349
5350 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5351
d2a7d041
DM
53522011-11-02 David S. Miller <davem@davemloft.net>
5353
5354 * configure.ac: Set host_address on sparc too.
5355 * configure: Regenerate.
5356 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5357 based upon host_address.
5358 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5359
af8ed618
JM
53602011-11-02 Jason Merrill <jason@redhat.com>
5361
5362 * config/rs6000/t-ppccomm: Add missing \.
5363
5d1c8e77
RO
53642011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5365
5366 * gthr-single.h, gthr.h: New files.
5367 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5368 config/gthr-vxworks.h, config/i386/gthr-win32.h,
5369 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5370 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5371 * config/i386/gthr-win32.c: Include "gthr-win32.h".
5372 * configure.ac (thread_header): New variable.
5373 Set it depending on target_thread_file.
5374 (gthr-default.h): Link from $thread_header.
5375 * configure: Regenerate.
5376 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5377
852b75ed
RO
53782011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5379
5380 * configure.ac (tm_file_): New variable.
5381 Determine from tm_file.
5382 (tm_file, tm_defines): Substitute.
5383 * configure: Regenerate.
5384 * mkheader.sh: New file.
5385 * Makefile.in (clean): Remove libgcc_tm.h.
5386 ($(objects)): Depend on libgcc_tm.h.
5387 (libgcc_tm_defines, libgcc_tm_file): New variables.
5388 (libgcc_tm.h, libgcc_tm.stamp): New targets.
5389 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5390 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5391 ($(extra-parts)): Depend on libgcc_tm.h.
5392 * config.host (tm_defines, tm_file): New variable.
5393 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5394 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5395 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5396 (avr-*-rtems*): Likewise.
5397 (avr-*-*): Likewise.
5398 (frv-*-elf): Likewise.
5399 (frv-*-*linux*): Likewise.
5400 (h8300-*-rtems*): Likewise.
5401 (h8300-*-elf*): Likewise.
5402 (i[34567]86-*-darwin*): Likewise.
5403 (x86_64-*-darwin*): Likewise.
5404 (rx-*-elf): Likewise.
5405 (tic6x-*-uclinux): Likewise.
5406 (tic6x-*-elf): Likewise.
5407 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5408 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5409 * config/i386/cygming-crtbegin.c: Likewise.
5410 * config/i386/cygming-crtend.c: Likewise.
5411 * config/ia64/fde-vms.c: Likewise.
5412 * config/ia64/unwind-ia64.c: Likewise.
5413 * config/libbid/bid_gcc_intrinsics.h: Likewise.
5414 * config/rs6000/darwin-fallback.c: Likewise.
5415 * config/stormy16/lib2funcs.c: Likewise.
5416 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5417 * crtstuff.c: Likewise.
5418 * dfp-bit.h: Likewise.
5419 * emutls.c: Likewise.
5420 * fixed-bit.c: Likewise.
5421 * fp-bit.c: Likewise.
5422 * generic-morestack-thread.c: Likewise.
5423 * generic-morestack.c: Likewise.
5424 * libgcc2.c: Likewise.
5425 * libgcov.c: Likewise.
5426 * unwind-dw2-fde-dip.c: Likewise.
5427 * unwind-dw2-fde.c: Likewise.
5428 * unwind-dw2.c: Likewise.
5429 * unwind-sjlj.c: Likewise.
5430
f9989b51
RO
54312011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5432
5433 * configure.ac: Include ../config/picflag.m4.
5434 (GCC_PICFLAG): Call it.
5435 Substitute.
5436 * configure: Regenerate.
5437 * Makefile.in (gcc_srcdir): Remove.
5438 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5439 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5440 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5441 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5442 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5443 Use $<.
5444 Remove comment.
5445 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5446 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5447 to refer to libgcc2.c.
5448 Use $<.
5449 * config/darwin-64.c: New file.
5450 * config/darwin-crt3.c: Remove comment.
5451 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5452 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5453 config/udivmodsi4.c: New files.
5454 * config/memcmp.c, config/memcpy.c, config/memmove.c,
5455 config/memset.c: New files.
5456 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5457 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5458 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5459 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5460 * config/t-openbsd-thread: New file.
5461 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5462 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5463 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5464 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5465 qrnnd.S.
5466 Adapt filename.
5467 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5468 to refer to gthr-posix.c.
5469 * config/alpha/t-vms (LIB2ADD): Set.
5470 * config/alpha/vms-gcc_shell_handler.c: New file.
5471 * config/arm/bpabi.c, config/arm/fp16.c,
5472 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5473 config/arm/unaligned-funcs.c: New files.
5474 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5475 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5476 * config/arm/t-linux: Likewise.
5477 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5478 * config/arm/t-netbsd: New file.
5479 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5480 * config/arm/t-symbian (LIB2ADD_ST): Set.
5481 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5482 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5483 * config/bfin/t-elf: New file.
5484 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5485 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5486 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5487 config/c6x/ltf.c: New files.
5488 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5489 (HOST_LIBGCC2_CFLAGS): Set.
5490 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5491 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5492 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5493 New files.
5494 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5495 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5496 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5497 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5498 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5499 files.
5500 * config/frv/t-frv (LIB2ADD): Set.
5501 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5502 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5503 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5504 config/h8300/popcounthi2.c: New files.
5505 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5506 * config/i386/gthr-win32.c: New file.
5507 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5508 * config/i386/t-cygwin: Likewise.
5509 * config/i386/t-darwin, config/i386/t-darwin64,
5510 config/i386/t-gthr-win32, config/i386/t-interix: New files.
5511 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5512 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5513 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5514 * config/ia64/quadlib.c: New file.
5515 * config/ia64/t-hpux (LIB2ADD): Set.
5516 * config/ia64/t-ia64: Add comment.
5517 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5518 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5519 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5520 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5521 * config/m32c/t-m32c (LIB2ADD): Set.
5522 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5523 * config/m32r/t-m32r: Likewise.
5524 * config/m68k/fpgnulib.c: New file.
5525 * config/m68k/t-floatlib (LIB2ADD): Set.
5526 (xfgnulib.c): New target.
5527 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5528 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5529 * config/mep/t-mep (LIB2ADD): Set.
5530 * config/microblaze/divsi3.asm: Rename to divsi3.S.
5531 * config/microblaze/moddi3.asm: Rename to moddi3.S.
5532 * config/microblaze/modsi3.asm: Rename to modsi3.S.
5533 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5534 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5535 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5536 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5537 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5538 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5539 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5540 New files.
5541 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5542 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5543 * config/pa/fptr.c, config/pa/lib2funcs.S,
5544 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5545 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5546 (LIB2ADD, LIB2ADD_ST): Set.
5547 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5548 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5549 Set.
5550 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5551 * config/pdp11/t-pdp11: New file.
5552 * config/picochip/libgccExtras/adddi3.S,
5553 config/picochip/libgccExtras/ashlsi3.S,
5554 config/picochip/libgccExtras/ashrsi3.S,
5555 config/picochip/libgccExtras/clzsi2.S,
5556 config/picochip/libgccExtras/cmpsi2.S,
5557 config/picochip/libgccExtras/divmod15.S,
5558 config/picochip/libgccExtras/divmodhi4.S,
5559 config/picochip/libgccExtras/divmodsi4.S,
5560 config/picochip/libgccExtras/lshrsi3.S,
5561 config/picochip/libgccExtras/parityhi2.S,
5562 config/picochip/libgccExtras/popcounthi2.S,
5563 config/picochip/libgccExtras/subdi3.S,
5564 config/picochip/libgccExtras/ucmpsi2.S,
5565 config/picochip/libgccExtras/udivmodhi4.S,
5566 config/picochip/libgccExtras/udivmodsi4.S: New files.
5567 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5568 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5569 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5570 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5571 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5572 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5573 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
5574 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5575 files.
5576 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5577 (HOST_LIBGCC2_CFLAGS): Set.
5578 * config/rs6000/t-darwin64: New file.
5579 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5580 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5581 * config/rs6000/t-ppccomm (LIB2ADD): Add
5582 $(srcdir)/config/rs6000/tramp.S.
5583 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5584 Add $(srcdir)/config/rs6000/eabi.S.
5585 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5586 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5587 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5588 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5589 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5590 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5591 * config/rs6000/tramp.S: New file.
5592 * config/s390/t-tpf: Remove.
5593 * config/sh/linux-atomic.S: New file.
5594 * config/sh/t-linux (LIB2ADD): Set.
5595 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5596 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5597 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5598 to unwind-dw2.c.
5599 (HOST_LIBGCC2_CFLAGS): Set.
5600 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5601 * config/spu/divmodti4.c, config/spu/divv2df3.c,
5602 config/spu/float_disf.c, config/spu/float_unsdidf.c,
5603 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5604 config/spu/mfc_multi_tag_release.c,
5605 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5606 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5607 config/spu/multi3.c: New files.
5608 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
5609 (HOST_LIBGCC2_CFLAGS): Set.
5610 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
5611 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
5612 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
5613 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
5614 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
5615 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
5616 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
5617 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
5618 config/stormy16/umodsi3.c: New files.
5619 * config/xtensa/lib2funcs.S: New file.
5620 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5621 * config/xtensa/t-xtensa (LIB2ADD): Set.
5622 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
5623 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
5624 Add t-freebsd-thread to tmake_file for posix threads.
5625 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
5626 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
5627 (*-*-lynxos*): Likewise.
5628 (*-*-netbsd*): Likewise.
5629 (*-*-openbsd*): Likewise.
5630 Add t-openbsd-thread to tmake_file for posix threads.
5631 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
5632 (*-*-vxworks*): Set tmake_file.
5633 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5634 (alpha*-*-freebsd*): Likewise.
5635 (alpha*-*-netbsd*): Likewise.
5636 (alpha*-*-openbsd*): Likewise.
5637 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
5638 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5639 (alpha*-dec-*vms*): Likewise.
5640 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
5641 (bfin*-elf*): Add bfin/t-elf to tmake_file.
5642 (bfin*-uclinux*): Likewise.
5643 (bfin*-linux-uclibc*): Likewise.
5644 (crisv32-*-elf): Add cris/t-cris to tmake_file.
5645 (crisv32-*-none): Likewise.
5646 (cris-*-elf): Likewise.
5647 (cris-*-none): Likewise.
5648 (cris-*-linux*, crisv32-*-linux*): Likewise.
5649 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
5650 tmake_file.
5651 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
5652 tmake_file.
5653 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
5654 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
5655 (x86_64-*-elf*): Likewise.
5656 (i[34567]86-*-nto-qnx*): Likewise.
5657 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
5658 win32 threads.
5659 (x86_64-*-mingw*): Likewise.
5660 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
5661 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
5662 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5663 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5664 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
5665 tmake_file.
5666 (mipsisa64sr71k-*-elf*): Likewise.
5667 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5668 (mips-*-elf*, mipsel-*-elf*): Likewise.
5669 (mips64-*-elf*, mips64el-*-elf*): Likewise.
5670 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5671 (mips*-*-rtems*): Likewise.
5672 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
5673 to tmake_file.
5674 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
5675 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
5676 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
5677 (spu-*-elf*): Likewise.
5678 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
5679
45b86625
RO
56802011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5681
5682 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
5683 $(srcdir) to refer to $(LIB1ASMSRC).
5684 Use $<.
5685 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
5686 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
5687 config/arm/lib1funcs.S: New files.
5688 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
5689 * config/arm/t-arm: New file.
5690 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
5691 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
5692 config/arm/t-strongarm-elf: New files.
5693 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
5694 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
5695 * config/avr/lib1funcs.S: New file.
5696 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5697 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
5698 * config/c6x/lib1funcs.S: New file.
5699 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5700 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
5701 * config/frv/lib1funcs.S: New file.
5702 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5703 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
5704 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
5705 * config/ia64/__divxf3.asm: Rename to ...
5706 * config/ia64/__divxf3.S: ... this.
5707 Adapt lib1funcs.asm filename.
5708 * config/ia64/_fixtfdi.asm: Rename to ...
5709 * config/ia64/_fixtfdi.S: ... this.
5710 Adapt lib1funcs.asm filename.
5711 * config/ia64/_fixunstfdi.asm: Rename to ...
5712 * config/ia64/_fixunstfdi.S: ... this.
5713 Adapt lib1funcs.asm filename.
5714 * config/ia64/_floatditf.asm: Rename to ...
5715 * config/ia64/_floatditf.S: ... this.
5716 Adapt lib1funcs.asm filename.
5717 * config/ia64/lib1funcs.S: New file.
5718 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
5719 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5720 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
5721 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
5722 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
5723 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
5724 * config/mep/lib1funcs.S: New file.
5725 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5726 * config/mips/mips16.S: New file.
5727 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5728 * config/pa/milli64.S: New file.
5729 * config/pa/t-linux, config/pa/t-linux64: New files.
5730 * config/picochip/lib1funcs.S: New file.
5731 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5732 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
5733 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
5734 * config/sh/t-netbsd: New file.
5735 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
5736 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
5737 * config/sh/t-sh64: New file.
5738 * config/sparc/lb1spc.S: New file.
5739 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
5740 filename.
5741 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
5742 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
5743 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
5744 config/xtensa/lib1funcs.S: New files.
5745 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5746 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
5747 tmake_file.
5748 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
5749 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
5750 (arm*-*-linux*): Likewise.
5751 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
5752 arm*-*-linux-*eabi, add arm/t-linux otherwise.
5753 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
5754 (arm*-*-ecos-elf): Likewise.
5755 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5756 (arm*-*-rtems*): Likewise.
5757 (arm*-*-elf): Likewise.
5758 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
5759 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
5760 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
5761 (bfin*-uclinux*): Likewise.
5762 (bfin*-linux-uclibc*): Likewise.
5763 (bfin*-rtems*): Likewise.
5764 (bfin*-*): Likewise.
5765 (fido-*-elf): Merge into m68k-*-elf*.
5766 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
5767 (frv-*-*linux*): Add frv/t-frv to tmake_file.
5768 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
5769 (h8300-*-elf*): Likewise.
5770 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
5771 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
5772 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
5773 (i[34567]86-*-mingw*): Likewise.
5774 (x86_64-*-mingw*): Likewise.
5775 (i[34567]86-*-interix3*): Likewise.
5776 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
5777 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
5778 (m68k-*-elf*): Also handle fido-*-elf.
5779 Add m68k/t-floatlib to tmake_file.
5780 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
5781 (m68k-*-linux*): Likewise.
5782 (m68k-*-rtems*): Likewise.
5783 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
5784 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
5785 sh64*-*-*.
5786 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
5787 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
5788 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
5789 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
5790 sh/t-netbsd to tmake_file.
5791 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
5792 (sh-*-rtems*): Add sh/t-sh to tmake_file.
5793 (sh-wrs-vxworks): Likewise.
5794 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
5795 *-leon[3-9]*.
5796 (v850*-*-*): Add v850/t-v850 to tmake_file.
5797 (vax-*-linux*): Add vax/t-linux to tmake_file.
5798 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
5799
5f73c6cc
RO
58002011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5801
5802 * crtstuff.c: New file.
5803 * Makefile.in (CRTSTUFF_CFLAGS): Define.
5804 (CRTSTUFF_T_CFLAGS): Define.
5805 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
5806 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
5807 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
5808 crtstuff.c.
5809 Use $<.
5810 (crtbeginT.o): Use $(objext).
5811 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
5812 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
5813 (gcc-extra-parts): Remove.
5814 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
5815 Set extra_parts.
5816 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5817 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
5818 Add t-crtstuff-pic to tmake_file.
5819 (*-*-lynxos*): New case.
5820 Set tmake_file, extra_parts.
5821 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
5822 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
5823 *-*-netbsdelf[2-9]*.
5824 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
5825 (*-*-rtems*): Set extra_parts.
5826 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
5827 (*-*-uclinux*): New case.
5828 Set extra_parts.
5829 (*-*-vms*): New case.
5830 Set tmake_file, extra_parts.
5831 (*-*-elf): Set extra_parts.
5832 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
5833 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
5834 vms/t-vms64.
5835 Set extra_parts.
5836 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
5837 Set extra_parts.
5838 (arm*-*-freebsd*): Add t-crtin to tmake_file.
5839 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
5840 (arm-wrs-vxworks): Append to tmake_file.
5841 Set extra_parts.
5842 (arm*-*-uclinux*): Set extra_parts.
5843 (arm*-*-ecos-elf): Likewise.
5844 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
5845 arm*-*-eabi*.
5846 (arm*-*-rtems*): Set extra_parts.
5847 (arm*-*-elf): Likewise.
5848 (avr-*-rtems*): Clear extra_parts.
5849 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
5850 Set extra_parts.
5851 (bfin*-uclinux*): Likewise.
5852 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
5853 (bfin*-rtems*): Append to tmake_file.
5854 Set extra_parts.
5855 (bfin*-*): Likewise.
5856 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
5857 (crisv32-*-elf): ... this.
5858 (crisv32-*-none): ... this.
5859 (cris-*-elf, cris-*-none): New cases.
5860 Add cris/t-elfmulti to tmake_file.
5861 (fr30-*-elf): Append to tmake_file.
5862 Set extra_parts.
5863 (frv-*-elf): Append to tmake_file, add frv/t-frv.
5864 Set extra_parts.
5865 (h8300-*-rtems*): Append to tmake_file.
5866 Set extra_parts.
5867 (h8300-*-elf*): Likewise.
5868 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
5869 Set extra_parts.
5870 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
5871 Set extra_parts.
5872 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
5873 (x86_64-*-elf*): Likewise.
5874 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
5875 (x86_64-*-freebsd*): Likewise.
5876 (x86_64-*-netbsd*): Likewise.
5877 (i[34567]86-*-linux*): Likewise.
5878 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5879 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5880 (x86_64-*-linux*): Likewise.
5881 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5882 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
5883 tmake_file.
5884 Set extra_parts.
5885 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
5886 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
5887 Append to extra_parts, remove crtbegin.o, crtend.o.
5888 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
5889 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
5890 crtend.o, crtbeginS.o, crtendS.o.
5891 (ia64*-*-linux*): Comment extra_parts.
5892 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
5893 Set extra_parts.
5894 (iq2000*-*-elf*): Clear extra_parts.
5895 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
5896 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
5897 (m32r-*-elf*, m32r-*-rtems*): Split off ...
5898 (m32r-*-rtems*): ... this.
5899 Add m32r/t-m32r to tmake_file.
5900 (m68k-*-elf*): Add t-crtin to tmake_file.
5901 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
5902 (mcore-*-elf): Likewise.
5903 (microblaze*-*-*): Set extra_parts.
5904 (mips*-sde-elf*): New case.
5905 Set tmake_file, extra_parts.
5906 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5907 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5908 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
5909 tmake_file.
5910 Set extra_parts.
5911 (mipsisa64sr71k-*-elf*): Likewise.
5912 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5913 (mips-*-elf*, mipsel-*-elf*): Likewise.
5914 (mips64-*-elf*, mips64el-*-elf*): Likewise.
5915 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
5916 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5917 (mips*-*-rtems*): Likewise.
5918 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
5919 (moxie-*-*): Split into ...
5920 (moxie-*-elf, moxie-*-uclinux*): ... this.
5921 Add to extra_parts, remove crtbegin.o, crtend.o.
5922 (moxie-*-rtems*): New case.
5923 Set tmake_file.
5924 Clear extra_parts.
5925 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
5926 Set extra_parts.
5927 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5928 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
5929 tmake_file.
5930 Set extra_parts.
5931 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
5932 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
5933 Set extra_parts.
5934 (powerpc-*-eabisim*): Likewise.
5935 (powerpc-*-elf*): Likewise.
5936 (powerpc-*-eabialtivec*): Likewise.
5937 (powerpc-xilinx-eabi*): Likewise.
5938 (powerpc-*-eabi*): Likewise.
5939 (powerpc-*-rtems*): Likewise.
5940 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
5941 tmake_file.
5942 Set extra_parts.
5943 (powerpc-*-lynxos*): Add to tmake_file.
5944 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
5945 rs6000/t-crtstuff, t-crtstuff-pic.
5946 Set extra_parts.
5947 (powerpcle-*-eabisim*): Likewise.
5948 (powerpcle-*-eabi*): Likewise.
5949 (rx-*-elf): Remove extra_parts.
5950 (s390x-ibm-tpf*): Set extra_parts.
5951 (score-*-elf): Set extra_parts.
5952 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5953 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5954 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5955 (sh64l*-*-netbsd*): Split into ...
5956 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
5957 Add t-crtstuff-pic to tmake_file.
5958 Set extra_parts.
5959 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
5960 Set extra_parts.
5961 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
5962 (sparc-*-elf*): Remove t-crtin from tmake_file.
5963 Add to extra_parts, remove crtbegin.o, crtend.o.
5964 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
5965 (sparc64-*-linux*): Likewise.
5966 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
5967 Add to extra_parts, remove crtbegin.o, crtend.o.
5968 (sparc64-*-elf*): Remove t-crtin from tmake_file.
5969 Add to extra_parts, remove crtbegin.o, crtend.o.
5970 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
5971 Add to extra_parts, remove crtbegin.o, crtend.o.
5972 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
5973 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
5974 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
5975 Set extra_parts.
5976 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
5977 Set extra_parts.
5978 (tic6x-*-*): Change to ...
5979 (tic6x-*-elf): ... this.
5980 Set extra_parts.
5981 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
5982 Set extra_parts.
5983 (am33_2.0-*-linux*): Add comment.
5984 (mep*-*-*): Add mep/t-mep to tmake_file.
5985 Set extra_parts.
5986 * config/alpha/t-vms: New file.
5987 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
5988 * config/arm/crti.S, config/arm/crtn.S: New files.
5989 * config/bfin/crti.S, config/bfin/crtn.S: New files.
5990 * config/bfin/crtlibid.S: New file.
5991 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
5992 * config/c6x/crti.S, config/c6x/crtn.S: New files.
5993 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
5994 (crti.o, crtin.o): New rules.
5995 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5996 * config/c6x/t-uclinux: New file.
5997 * config/cris/t-elfmulti: New file.
5998 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
5999 * config/fr30/crti.S, config/fr30/crtn.S: New files.
6000 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6001 * config/frv/t-frv: New file.
6002 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6003 * config/h8300/crti.S, config/h8300/crtn.S: New files.
6004 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6005 New files.
6006 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6007 refer to cygming-crtbegin.c, cygming-crtend.c.
6008 Use $<.
6009 * config/i386/t-nto: New file.
6010 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6011 * config/ia64/crti.S, config/ia64/crtn.S: New files.
6012 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6013 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6014 Use .S extension.
6015 Use $<.
6016 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6017 (crtinitS.o): New rule.
6018 * config/ia64/vms-crtinit.S: New file.
6019 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6020 * config/m32r/initfini.c: New file.
6021 * config/m32r/t-linux, config/m32r/t-m32r: New files.
6022 * config/m68k/crti.S, config/m68k/crtn.S: New files.
6023 * config/mcore/crti.S, config/mcore/crtn.S: New files.
6024 * config/mep/t-mep: New file.
6025 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6026 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6027 * config/mips/crti.S, config/mips/crtn.S: New files.
6028 * config/mips/t-crtstuff: New file.
6029 * config/mmix/crti.S, config/mmix/crtn.S: New files.
6030 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6031 (CUSTOM_CRTIN): Set.
6032 ($(T)crti.o, $(T)crtn.o): Remove $(T),
6033 dependencies.
6034 Use $(srcdir) to refer to crti.S, crtn.S.
6035 Use .S extension, $<.
6036 * config/moxie/crti.asm: Rename to ...
6037 * config/moxie/crti.S: ... this.
6038 * config/moxie/crtn.asm: Rename to ...
6039 * config/moxie/crtn.S: ... this.
6040 * config/moxie/t-moxie: Remove.
6041 * config/pa/stublib.c: New file.
6042 * config/pa/t-stublib, config/pa/t-stublib64: New files.
6043 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6044 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6045 * config/rs6000/t-crtstuff: New file.
6046 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6047 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6048 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6049 Make output file explicit.
6050 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6051 Make output file explicit.
6052 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6053 Make output file explicit.
6054 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6055 Make output file explicit.
6056 * config/score/crti.S, config/score/crtn.S: New files.
6057 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6058 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6059 files.
6060 * config/sh/t-sh, config/sh/t-superh: New files.
6061 * config/sparc/t-linux64: New file.
6062 * config/spu/cache.S, config/spu/cachemgr.c: New files.
6063 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6064 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6065 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6066 * config/t-crtin: Remove.
6067 * config/t-crtstuff-pic: New file.
6068 * config/t-sol2 (CUSTOM_CRTIN): Set.
6069 (crti.o, crtn.o): New rules.
6070 * config/vms/t-vms: New file.
6071 * config/vms/vms-ucrt0.c: New file.
6072 * config/xtensa/t-elf: New file.
6073
b040f2be
RO
60742011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6075
6076 * Makefile.in (SHLIB_NM_FLAGS): Set.
6077 * mkmap-flat.awk, mkmap-symver.awk: New files.
6078 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6079 exceptions.
6080 * configure: Regenerate.
6081 * config/libgcc-glibc.ver: New file.
6082 * config/libgcc-libsystem.ver: New file.
6083 * config/t-libunwind (SHLIB_LC): Set.
6084 * config/t-linux: New file.
6085 * config/t-slibgcc (INSTALL_SHLIB): New.
6086 (SHLIB_INSTALL): Use it.
6087 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6088 to mkmap-symver.awk.
6089 (SHLIB_MAPFILES): Don't append, adapt pathname.
6090 (SHLIB_VERPFX): Set.
6091 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6092 to mkmap-symver.awk.
6093 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6094 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6095 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6096 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6097 to mkmap-flat.awk.
6098 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6099 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6100 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6101 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6102 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6103 * config/i386/libgcc-darwin.10.4.ver,
6104 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6105 New files.
6106 * config/i386/t-darwin: Remove.
6107 * config/i386/t-darwin64: Likewise.
6108 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6109 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6110 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6111 * config/i386/t-linux: New file.
6112 * config/i386/t-mingw32: New file.
6113 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6114 * config/ia64/t-glibc: Rename to ...
6115 * config/ia64/t-linux: ... this.
6116 (SHLIB_MAPFILES): Set.
6117 * config/ia64/t-glibc-libunwind: Rename to ...
6118 * config/ia64/t-linux-libunwind: ... this.
6119 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6120 * config/ia64/t-slibgcc-hpux: New file.
6121 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6122 * config/m68k/t-slibgcc-elf-ver: New file.
6123 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6124 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6125 to mkmap-flat.awk.
6126 * config/pa/t-slibgcc-hpux: New file.
6127 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6128 files.
6129 * config/rs6000/libgcc-darwin.10.4.ver,
6130 config/rs6000/libgcc-darwin.10.5.ver: New files.
6131 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6132 config/rs6000/libgcc-glibc.ver.
6133 * config/rs6000/libgcc-ppc64.ver: Rename to
6134 config/rs6000/libgcc-ibm-ldouble.ver.
6135 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6136 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6137 * config/rs6000/t-ldbl128: Rename to ...
6138 * config/rs6000/t-linux: ... this.
6139 (SHLIB_MAPFILES): Adapt filename.
6140 * config/rs6000/t-slibgcc-aix: New file.
6141 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6142 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6143 libgcc-excl.ver, libgcc-glibc.ver.
6144 (SHLIB_LINK, SHLIB_INSTALL): Remove.
6145 * config/sparc/libgcc-glibc.ver: New file.
6146 * config/sparc/t-linux: New file.
6147 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6148 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6149 t-slibgcc-elf-ver to tmake_file.
6150 Add t-slibgcc-nolc-override to tmake_file for posix threads on
6151 *-*-freebsd[34].
6152 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6153 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6154 t-slibgcc-elf-ver, t-linux to tmake_file.
6155 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6156 tmake_file.
6157 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6158 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6159 (alpha*-dec-*vms*): Likewise.
6160 (arm*-*-freebsd*): Append to tmake_file.
6161 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6162 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6163 arm*-*-linux-*eabi.
6164 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6165 tmake_file for arm*-*-symbianelf*.
6166 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6167 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6168 cris/t-linux.
6169 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6170 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6171 pa/t-slibgcc-dwarf-ver to tmake_file.
6172 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6173 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6174 (hppa*64*-*-hpux11*): Likewise.
6175 (hppa[12]*-*-hpux11*): Likewise.
6176 (x86_64-*-darwin*): Don't override tmake_file, but only keep
6177 i386/t-crtpc, i386/t-crtfm.
6178 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6179 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6180 to tmake_file.
6181 Add i386/t-cygwin to tmake_file.
6182 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6183 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6184 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6185 to tmake_file.
6186 Add i386/t-mingw32 to tmake_file.
6187 (x86_64-*-mingw*): Likewise.
6188 (ia64*-*-freebsd*): Append to tmake_file.
6189 (ia64*-*-linux*): Append to tmake_file.
6190 Replace ia64/t-glibc by ia64/t-linux.
6191 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6192 system libunwind.
6193 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6194 t-slibgcc-hpux to tmake_file.
6195 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6196 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6197 (m32rle-*-linux*): Likewise.
6198 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6199 sjlj exceptions.
6200 (microblaze*-linux*): New case.
6201 Append to tmake_file, add t-slibgcc-nolc-override.
6202 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6203 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6204 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6205 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6206 rs6000/t-slibgcc-aix to tmake_file.
6207 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6208 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6209 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6210 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6211 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6212 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6213 sh*-*-linux*.
6214 (sparc-*-linux*): Append to tmake_file for *-leon*.
6215 Add sparc/t-linux to tmake_file for non-Leon targets.
6216 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6217 (tic6x-*-uclinux): New case.
6218 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6219 (tic6x-*-*): Add c6x/t-elf to tmake_file.
6220 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6221 (am33_2.0-*-linux*): Append to tmake_file.
6222 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6223 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6224 x86_64-*-kfreebsd*-gnu.
6225 Add i386/t-linux to tmake_file.
6226
18b4bd7b
ILT
62272011-10-28 Ian Lance Taylor <iant@google.com>
6228
6229 * config/i386/morestack.S: Correct CFI information to do proper
6230 returns throughout function. In 32-bit mode, save %ebx so that it
6231 is restored on unwind.
6232
5b2d9d90
BS
62332011-10-25 Bernd Schmidt <bernds@codesourcery.com>
6234
6235 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6236 case where B3 isn't the return register.
6237
0d53e346
BS
6238 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6239 logic for doubleword pops.
6240
cbffbd59
AT
62412011-10-25 Andreas Tobler <andreast@fgznet.ch>
6242
6243 * config/rs6000/t-freebsd: Add wildcard.
6244
56dc349e
PB
62452011-10-21 Paul Brook <paul@codesourcery.com>
6246
6247 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6248
1e06b07d
UB
62492011-10-16 Uros Bizjak <ubizjak@gmail.com>
6250 Eric Botcazou <ebotcazou@adacore.com>
6251
6252 PR target/50737
6253 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6254 fs->signal_frame to 1.
6255
b5204884
ILT
62562011-10-07 Ian Lance Taylor <iant@google.com>
6257
6258 * generic-morestack-thread.c: #include <errno.h>.
6259
91a639a1
ILT
62602011-10-07 Ian Lance Taylor <iant@google.com>
6261
6262 PR target/46093
6263 * generic-morestack.c (__generic_morestack): Make sure the segment
6264 is large enough for both the stack frame and the copied
6265 parameters.
6266
cc49116d
RO
62672011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6268
6269 PR bootstrap/49804
6270 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6271 extra_parts.
6272
2996d8c3
NC
62732011-09-28 Nick Clifton <nickc@redhat.com>
6274
6275 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6276 64-bit doubles are not enabled.
6277 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6278 and floatunsisf functions.
6279
1e874273 62802011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 6281
1e874273
PB
6282 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
6283 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6284 * unwind-arm-common.inc: New file.
6285 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6286 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6287 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6288 * config/c6x/libunwind.S: New file.
6289 * config/c6x/pr-support.c: New file.
6290 * config/c6x/unwind-c6x.c: New file.
6291 * config/c6x/unwind-c6x.h: New file.
6292 * config/c6x/t-c6x-elf: New file.
6293
f70c879a
UB
62942011-08-23 Uros Bizjak <ubizjak@gmail.com>
6295
6296 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6297 (ASM_DIVZERO): Ditto.
6298 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6299
c55b374b
RS
63002011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
6301
6302 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6303
1e138510
RS
63042011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
6305
6306 PR target/50090
6307 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6308 instead of an assembly one.
6309
1563503d
PB
63102011-08-12 Paolo Bonzini <bonzini@gnu.org>
6311
6312 PR bootstrap/50047
6313 * Makefile.in (install-unwind_h): Create
6314 $(gcc_objdir)/include/unwind.h atomically.
6315
3627ac1a
RO
63162011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6317
6318 * Makefile.in (install-unwind_h): Remove destination file first.
6319
c6412d86
RO
63202011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6321
6322 * sync.c: New file.
6323 * config/mips/t-mips16: New file.
6324 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6325 (mips*-*-linux*): Likewise.
6326 (mips*-sde-elf*): Likewise.
6327 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6328 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6329 Add mips/t-mips16 to tmake_file.
6330 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6331 (mips-*-elf*): Likewise.
6332 (mips64-*-elf*): Likewise.
6333 (mips64orion-*-elf*): Likewise.
6334 (mips*-*-rtems*): Likewise.
6335 (mipstx39-*-elf*): Likewise.
6336 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6337 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6338 LIBGCC_SYNC_CFLAGS.
6339 Use $(srcdir) to refer to sync.c.
6340 Use $<.
6341 ($(libgcc-sync-funcs-o)): Likewise.
6342 ($(libgcc-sync-size-funcs-s-o)): Likewise.
6343 ($(libgcc-sync-funcs-s-o)): Likewise.
6344
3cb6e5bd
AS
63452011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6346
6347 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6348 t-libunwind.
6349
cca2207a
L
63502011-08-08 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 PR other/48007
6353 * config/i386/value-unwind.h: New.
6354
ed39fbad
RS
63552011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
6356
6357 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6358 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6359 Add to tmake_file rather than overriding it.
6360
aca0b0b3
RO
63612011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6362
6363 * config/t-softfp: Remove.
6364 * soft-fp: Moved from ../gcc/config.
6365 * soft-fp/README: Remove t-softfp reference.
6366 * soft-fp/t-softfp: Move to config/t-softfp.
6367 (softfp_machine_header): Remove.
6368 (softfp_file_list): Remove config subdir.
6369 (soft-fp-objects): New variable.
6370 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6371 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6372 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6373 * config/t-softfp-excl: New file.
6374 * config/t-softfp-sfdf: New file.
6375 * config/t-softfp-tf: New file.
6376 * config/no-sfp-machine.h: New file.
6377 * config/arm/sfp-machine.h: New file.
6378 * config/arm/t-softfp: New file.
6379 * config/c6x/sfp-machine.h: New file.
6380 * config/i386/32/t-fprules-softfp: Rename to ...
6381 * config/i386/32/t-softfp: ... this.
6382 (tifunctions, LIB2ADD): Remove.
6383 (softfp_int_modes): Override.
6384 * config/i386/64/t-softfp-compat (tf-functions): Remove config
6385 subdir.
6386 * config/i386/64/eqtf2.c: Likewise.
6387 * config/i386/64/getf2.c: Likewise.
6388 * config/i386/64/letf2.c: Likewise.
6389 * config/ia64/sft-machine.h: New file.
6390 * config/ia64/t-fprules-softfp: Rename to ...
6391 * config/ia64/t-softfp: ... this.
6392 * config/lm32/sfp-machine.h: New file.
6393 * config/moxie/t-moxie-softfp: Remove.
6394 * config/rs6000/ibm-ldouble-format: New file.
6395 * config/rs6000/ibm-ldouble.c: New file.
6396 * config/rs6000/libgcc-ppc-glibc.ver: New file
6397 * config/rs6000/libgcc-ppc64.ver: New file
6398 * config/rs6000/sfp-machine.h: New file.
6399 * config/rs6000/t-freebsd: New file.
6400 * config/rs6000/t-ibm-ldouble: New file.
6401 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6402 libgcc-ppc-glibc.ver.
6403 * config/rs6000/t-linux64: New file.
6404 * config/rs6000/t-ppccomm (LIB2ADD): Add
6405 $(srcdir)/config/rs6000/ibm-ldouble.c.
6406 * config/rs6000/t-ppccomm-ldbl: New file.
6407 * config/score/sfp-machine.h: New file.
6408 * config.host (sfp_machine_header): Explain.
6409 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6410 t-softfp to tmake_file.
6411 (arm*-*-uclinux*): Likewise.
6412 (arm*-*-ecos-elf): Likewise.
6413 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6414 (arm*-*-rtems*): Likewise.
6415 (arm*-*-elf): Likewise.
6416 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6417 in tmake_file.
6418 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6419 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6420 (lm32-*-uclinux*): Likewise.
6421 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6422 t-softfp-excl, t-softfp.
6423 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6424 (powerpc64-*-darwin*): Likewise.
6425 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6426 to tmake_file.
6427 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6428 tmake_file.
6429 (powerpc-*-eabisim*): Likewise.
6430 (powerpc-*-elf*): Likewise.
6431 (powerpc-*-eabialtivec*): Likewise.
6432 (powerpc-xilinx-eabi*): Likewise.
6433 (powerpc-*-rtems*): Likewise.
6434 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6435 t-softfp-excl, t-softfp to tmake_file.
6436 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6437 rs6000/t-ppccomm-ldbl to tmake_file.
6438 (powerpcle-*-elf*): Likewise.
6439 (powerpcle-*-eabisim*): Likewise.
6440 (powerpcle-*-eabi*): Likewise.
6441 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6442 rs6000/t-ibm-ldouble to tmake_file.
6443 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6444 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6445 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6446 (tic6x-*-*): Likewise.
6447 (i[34567]86-*-darwin*, x86_64-*-darwin*,
6448 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6449 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6450 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6451 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6452 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6453 t-softfp to tmake_file.
6454 * configure.ac (sfp_machine_header): Provide default if unset.
6455 Substitute.
6456 Link sfp-machine.h to config/$sfp_machine_header.
6457 * configure: Regenerate.
6458
569dc494
RO
64592011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6460
6461 * Makefile.in (double_type_size, long_double_type_size): Set.
6462 Remove $(fpbit-in-libgcc) support.
6463 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6464 (fpbit-src): New variable.
6465 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6466 Compile with -DFLOAT $(FPBIT_CFLAGS).
6467 Use $<.
6468 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6469 Compile with $(FPBIT_CFLAGS).
6470 Use $<.
6471 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6472 Compile with -DFLOAT $(TPBIT_CFLAGS).
6473 Use $<.
6474 * configure.ac (double_type_size, long_double_type_size):
6475 Determine and substitute.
6476 * configure: Regenerate.
6477 * fp-bit.c, fp-bit.h: New files.
6478 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6479 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6480 * config/mips/t-mips: New file.
6481 * config/mips/t-sdemtk: New file.
6482 * config/rs6000/ppc64-fp.c: New file.
6483 * config/rs6000/t-darwin (LIB2ADD): Add
6484 $(srcdir)/config/rs6000/ppc64-fp.c.
6485 * config/rs6000/t-ppc64-fp: New file.
6486 * config/rx/rx-lib.h: New file.
6487 * config/rx/t-rx (FPBIT): Set to true.
6488 ($(gcc_objdir)/fp-bit.c): Remove.
6489 (DPBIT): Set to true only with -m64bit-doubles.
6490 ($(gcc_objdir)/dp-bit.c): Remove.
6491 * config/sparc/t-softfp: Remove.
6492 * config/spu/t-elf: New file.
6493 * config/t-fdpbit, config/t-fpbit: New files.
6494 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6495 (mips*-*-*): Likewise.
6496 (arm-wrs-vxworks): Likewise.
6497 (arm*-*-freebsd*): Likewise.
6498 (avr-*-rtems*): Add t-fpbit to tmake_file.
6499 (avr-*-*): Likewise.
6500 (bfin*-elf*): Add t-fdpbit to tmake_file.
6501 (bfin*-uclinux*): Likewise.
6502 (bfin*-linux-uclibc*): Likewise.
6503 (bfin*-rtems*): New case.
6504 Add t-fdpbit to tmake_file.
6505 (bfin*-*): Add t-fdpbit to tmake_file.
6506 (crisv32-*-elf): Likewise.
6507 (cris-*-linux*): Likewise.
6508 (fr30-*-elf): Likewise.
6509 (frv-*-elf, frv-*-*linux*): Likewise.
6510 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6511 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6512 (m32r-*-elf*): Likewise.
6513 (m32rle-*-elf*): Likewise.
6514 (m32r-*-linux*): Likewise.
6515 (m32rle-*-linux*): Likewise.
6516 (mcore-*-elf): Add t-fdpbit to tmake_file.
6517 (microblaze*-*-*): Likewise.
6518 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6519 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6520 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6521 Fix typo.
6522 Add mips/t-tpbit to tmake-file.
6523 (mips*-*-linux*): Fix typo.
6524 (mips*-sde-elf*): New case
6525 Add mips/t-sdemtk unless using newlib.
6526 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6527 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6528 (mn10300-*-*): Likewise.
6529 (pdp11-*-*): Likewise.
6530 (picochip-*-*): Add t-fpbit to tmake_file.
6531 (powerpc-*-eabisimaltivec*): Likewise.
6532 (powerpc-*-eabisim*): Likewise.
6533 (powerpc-*-elf*): Likewise.
6534 (powerpc-*-eabialtivec*): Likewise.
6535 (powerpc-xilinx-eabi*): New case.
6536 Add t-fdpbit to tmake_file.
6537 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
6538 (powerpc-*-rtems*): Likewise.
6539 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6540 tmake_file.
6541 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6542 tmake_file.
6543 (powerpc-*-lynxos*): Likewise.
6544 (powerpcle-*-elf*): Likewise.
6545 (powerpcle-*-eabisim*): Likewise.
6546 (powerpcle-*-eabi*): Likewise.
6547 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6548 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6549 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6550 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6551 (rx-*-elf): Add t-fdpbit to tmake_file.
6552 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6553 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6554 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6555 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6556 sh*-*-netbsd*.
6557 (sh-*-rtems*): Add t-fdpbit to tmake_file.
6558 (sh-wrs-vxworks): Likewise.
6559 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6560 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6561 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6562 (sparc64-*-rtems*): ... new case.
6563 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6564 (spu-*-elf*): Likewise.
6565 Add spu/t-elf to tmake_file.
6566 (v850*-*-*): Add t-fdpbit to tmake_file.
6567 (xstormy16-*-elf): Likewise.
6568 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6569 (mep*-*-*): Likewise.
6570
201cdb74
RO
65712011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6572
6573 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6574 variables.
6575 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6576 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6577 (install-unwind_h): New target.
6578 (all): Depend on it.
6579 * config.host (unwind_header): New variable.
6580 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6581 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6582 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6583 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6584 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6585 Set unwind_header.
6586 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6587 Set unwind_header.
6588 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6589 arm*-*-eabi*.
6590 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6591 Set unwind_header.
6592 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6593 (ia64*-*-freebsd*): Likewise.
6594 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6595 tmake_file.
6596 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6597 $with_system_libunwind.
6598 (ia64*-*-hpux*): Set tmake_file.
6599 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6600 (picochip-*-*): Set tmake_file.
6601 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6602 md_unwind_header.
6603 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6604 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6605 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6606 (xtensa*-*-elf*): Set tmake_file.
6607 (xtensa*-*-linux*): Likewise.
6608 * configure.ac: Include ../config/unwind_ipinfo.m4.
6609 Call GCC_CHECK_UNWIND_GETIPINFO.
6610 Link unwind.h to $unwind_header.
6611 * configure: Regenerate.
6612 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
6613 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
6614 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
6615 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
6616 * config/unwind-dw2-fde-darwin.c: New file.
6617 * config/arm/libunwind.S, config/arm/pr-support.c,
6618 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
6619 config/arm/unwind-arm.h,: New files.
6620 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
6621 config/ia64/t-eh-ia64, config/ia64/t-glibc,
6622 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
6623 config/ia64/t-vms, config/ia64/unwind-ia64.c,
6624 config/ia64/unwind-ia64.h: New files.
6625 * config/picochip/t-picochip: New file.
6626 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
6627 files.
6628 * config/rs6000/t-darwin (LIB2ADDEH): Set.
6629 * config/s390/t-tpf (LIB2ADDEH): Remove.
6630 * config/t-darwin (LIB2ADDEH): Set.
6631 * config/t-eh-dw2-dip: New file.
6632 * config/t-libunwind, config/t-libunwind-elf: New files.
6633 * config/t-sol2 (LIB2ADDEH): Remove.
6634 * config/xtensa/t-xtensa: New file.
6635
40f2f11f
L
66362011-08-02 H.J. Lu <hongjiu.lu@intel.com>
6637
6638 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
6639 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
6640 long long to check rt_sigreturn syscall.
6641
bd15e32c
AM
66422011-08-02 Alan Modra <amodra@gmail.com>
6643
6644 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6645 Restore for indirect call bcrtl from correct stack slot, and only
6646 if cfa+40 isn't valid.
6647
655b30bf
JB
66482011-08-01 Julian Brown <julian@codesourcery.com>
6649
6650 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
6651 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
6652 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
6653
247eb06f
JB
66542011-08-01 Julian Brown <julian@codesourcery.com>
6655
6656 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
6657 (libgcc-std.ver.in): Use above.
6658 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
6659 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
6660 throughout file.
6661 * config/t-fixedpoint-gnu-prefix: New file.
6662 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
6663 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
6664 instead of __PFX__.
6665
02a8fe00
L
66662011-07-28 H.J. Lu <hongjiu.lu@intel.com>
6667
6668 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
6669 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
6670 for x86-64. Properly check __x86_64__ and __LP64__.
6671
5fce9126
L
66722010-07-28 H.J. Lu <hongjiu.lu@intel.com>
6673
6674 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
6675 version.
6676 (_FP_WS_TYPE): Likewise.
6677 (_FP_I_TYPE): Likewise.
6678
2374a88a
AM
66792011-07-28 Alan Modra <amodra@gmail.com>
6680
6681 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6682 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
6683 in a plt call stub. Do restore r2 if stopped on bctrl.
6684
e44dbbe1
RO
66852011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6686
6687 * config.host (i[3456x]86-*-netware*): Remove.
6688 * config/i386/netware-crt0.c, config/i386/t-nwld,
6689 config/i386/t-slibgcc-nwld: Remove.
6690
bcead286
BS
66912011-07-15 Bernd Schmidt <bernds@codesourcery.com>
6692
6693 * config.host: Handle tic6x-*-*.
6694 * config/c6x/c6x-abi.h: New file.
6695
b3fe1584
RO
66962011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6697
6698 * config/i386/crtprec.c: New file.
6699 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
6700 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
6701 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
6702 (x86_64-*-darwin*): Likewise.
6703 (i[34567]86-*-solaris2*: Likewise.
6704
35d8090d
RO
67052011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6706
6707 * config/alpha/crtfastmath.c: New file.
6708 * config/i386/crtfastmath.c: New file.
6709 * config/ia64/crtfastmath.c: New file.
6710 * config/mips/crtfastmath.c: New file.
6711 * config/sparc/crtfastmath.c: New file.
6712
6713 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
6714 crtfastmath.c.
6715 Add -frandom-seed=gcc-crtfastmath.
6716 * config/alpha/t-crtfm: Remove.
6717 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
6718 * config/ia64/t-ia64 (crtfastmath.o): Remove.
6719
6720 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
6721 (alpha*-dec-osf5.1*): Likewise.
6722 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
6723 Add crtfastmath.o to extra_parts.
6724 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
6725 Add crtfastmath.o to extra_parts.
6726 (x86_64-*-darwin*): Likewise.
6727 (x86_64-*-mingw*): Likewise.
6728 (ia64*-*-elf*): Add t-crtfm to tmake_file.
6729 (ia64*-*-freebsd*): Likewise.
6730 (ia64*-*-linux*): Likewise.
6731 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
6732 Add crtfastmath.o to extra_parts.
6733
e141542e
RO
67342011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6735
6736 * config/darwin-crt3.o: New file.
6737 * config/rs6000/darwin-crt2.c: New file.
6738 * config/t-darwin: New file.
6739 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
6740 (crt2.o): New rule.
6741 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
6742 (powerpc-*-darwin*): Add crt2.o to extra_parts.
6743 (powerpc64-*-darwin*): Likewise.
6744
2d1efe2d
RO
67452011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6746
6747 * config/i386/netware-crt0.c: New file.
6748 * config/i386/t-nwld: Rename to ...
6749 * config/i386/t-slibgcc-nwld: ... this.
6750 * config/i386/t-nwld: New file.
6751 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
6752 tmake_file.
6753 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
6754 extra_parts.
6755
4a8bb046
RO
67562011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6757
6758 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
6759 i386/t-crtstuff.
6760 * configure: Regenerate.
6761
2d8d5935
RO
67622011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6763
6764 * dfp-bit.c, dfp-bit.h: New files.
6765 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
6766 variables.
6767 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
6768 ($(d64pbit-o)): Likewise.
6769 ($(d128pbit-o)): Likewise.
6770 * config/t-dfprules: New file.
6771 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
6772 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
6773 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6774 (x86_64-*-linux*): Likewise.
6775 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6776 (i[34567]86-*-cygwin*): Likewise.
6777 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
6778 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6779
2c50b2c3
RO
67802011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6781
6782 * Makfile.in (LIBGCOV): New variable.
6783 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
6784 * libgcov.c: New file.
6785
a039d7c2
RO
67862011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6787
6788 * fixed-bit.c, fixed-bit.h: New files.
6789 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
6790 refer to fixed-bit.c.
6791
1e4b2746
JM
67922011-07-07 Joseph Myers <joseph@codesourcery.com>
6793
6794 * config.host (*local*): Remove.
6795
fbdd5d87
RO
67962011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6797
6798 PR target/39150
6799 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
6800 like i?86-*-solaris2.1[0-9]*.
6801 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
6802 * configure.ac (i?86-*-solaris2*): Likewise.
6803 * configure: Regenerate.
6804
9e7714f4
TS
68052011-07-06 Thomas Schwinge <thomas@schwinge.name>
6806
6807 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6808 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
6809 md_unwind_header by splitting out of...
6810 (i[34567]86-*-linux*): ... this.
6811 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
6812 Remove md_unwind_header by splitting out of...
6813 (x86_64-*-linux*): ... this.
6814
6dab9931
GJL
68152011-07-04 Georg-Johann Lay <avr@gjlay.de>
6816
6817 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
6818
4be46d19
NC
68192011-06-28 Nick Clifton <nickc@redhat.com>
6820
6821 * config.host: Recognize all V850 variants.
6822
1da9434b
UB
68232011-06-22 Uros Bizjak <ubizjak@gmail.com>
6824
6825 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
6826
e4d48a4d
RO
68272011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6828
6829 * shared-object.mk (c_flags-$o): Save c_flags.
6830 ($(base)$(objext)): Use it.
6831 ($(base)_s$(objext)): Likewise.
6832
3801c801
BS
68332011-06-21 Bernd Schmidt <bernds@codesourcery.com>
6834
6835 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
6836 * libgcc-std.ver.in (GCC_4.7.0): New section.
6837
0ad8bb3b 68382011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 6839
0ad8bb3b
GJL
6840 PR target/49313
6841 PR target/29524
6842 * config/avr/t-avr: Fix line endings.
6843 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
6844 _parityXX2.
6845
ea963999
OH
68462011-06-14 Olivier Hainque <hainque@adacore.com>
6847 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6848
6849 * config/mips/irix6-unwind.h: New file.
6850 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
6851
b11b0904
EB
68522011-06-10 Eric Botcazou <ebotcazou@adacore.com>
6853
6854 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
6855 (sparc64_fallback_frame_state): Use it.
6856 (sparc64_frob_update_context): Further adjust context.
6857 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
6858 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
6859 * config/sparc/sol2-cn.S: Likewise.
6860
10e48e39
RO
68612011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6862
6863 * enable-execute-stack-empty.c: New file.
6864 * enable-execute-stack-mprotect.c: New file.
6865 * config/i386/enable-execute-stack-mingw32.c: New file.
6866 * config.host (enable_execute_stack): New variable.
6867 Select appropriate variants.
6868 * configure.ac: Link enable-execute-stack.c to
6869 $enable_execute_stack.
6870 * configure: Regenerate.
6871 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
6872 (lib2funcs): Remove _enable_execute_stack.
6873
10c4cabc
DM
68742011-06-09 David S. Miller <davem@davemloft.net>
6875 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6876
6877 * config.host (sparc-*-linux*): Correct md_unwind_header
6878 filename.
6879 (s390x-ibm-tpf*): Fix typo.
6880
aa4203e7
RO
68812011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6882
6883 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
6884 Add crtfastmath.o to extra_parts.
6885 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
6886 mips/t-crtfm.
6887 * config/mips/t-crtfm: Remove.
6888
0defd786
JDA
68892011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6890
6891 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
6892
82f247af
KK
68932011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
6894
6895 * config.host (sh*-*-linux*): Fix typo.
6896
58cd1d70
RO
68972011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6898
6899 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
6900 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
6901 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
6902 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
6903 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
6904 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
6905 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
6906 Wrap in !__MINGW64__.
6907 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
6908 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
6909 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
6910 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
6911 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
6912 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
6913 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
6914 Wrap in !__LP64__.
6915 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
6916 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
6917 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
6918 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
6919 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
6920 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
6921 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
6922 * config/no-unwind.h: New file.
6923 * config.host (md_unwind_header): Document.
6924 Define.
6925 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
6926 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
6927 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
6928 hppa[12]*-*-hpux11*): Set md_unwind_header.
6929 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
6930 Set md_unwind_header.
6931 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
6932 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
6933 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
6934 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
6935 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
6936 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
6937 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
6938 md_unwind_header.
6939 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
6940 * configure: Regenerate.
6941
737346fa
RO
69422011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6943
6944 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
6945 Set tmake_file, extra_parts.
6946 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
6947 Remove O32 support.
6948 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
6949 Remove O32 support.
6950 * config/mips/t-irix6: New file.
6951 * config/mips/t-slibgcc-irix: New file.
6952
c192cee6
RO
69532011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6954
6955 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
6956 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
6957
ee33b5f0
RO
69582011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6959
6960 * configure.ac (target_thread_file): Determine thread model.
6961 * configure: Regenerate.
6962 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
6963 * config/alpha/t-alpha: New file.
6964 * config/alpha/t-crtfm: Use $<.
6965 * config/alpha/t-ieee: New file.
6966 * config/alpha/t-osf-pthread: New file.
6967 * config/alpha/t-slibgcc-osf: New file.
6968 * config/alpha/libgcc-osf5.ver: New file.
6969
0699e415
RO
69702011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6971
6972 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
6973 tmake_file.
6974 Add crtfastmath.o to extra_parts.
6975
a3fab9c2
RO
69762011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6977
6978 * config/gmon-sol2.c: Reindent.
6979 Cleanup comments.
6980 Remove, correct casts.
6981 Use STDERR_FILENO, NULL.
6982 (BASEADDRESS): Remove.
6983 (minbrk): Remove.
6984 (errno, sbrk): Remove declarations.
6985 (monstartup) [hp300]: Remove.
6986 (mcount): Remove.
6987
ca24c5ad
RO
69882011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6989
6990 * Makefile.in (cpu_type): Define.
6991 * config.host (i[34567]86-*-rtems*): Handle it.
6992 (i[34567]86-*-solaris2*): Move body ...
6993 (*-*-solaris2*): ... here.
6994 New case, generalize.
6995 (sparc-*-elf*): Handle it.
6996 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
6997 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
6998 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
6999 Fold into ...
7000 (sparc*-*-solaris2*): ... this.
7001 New case.
7002 (sparc64-*-elf*): Handle it.
7003 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7004 Merge ../gcc/config/i386/gmon-sol2.c.
7005 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7006 Use C comments.
7007 Merge ../gcc/config/i386/sol2-gc1.asm.
7008 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7009 Use C comments.
7010 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7011 Use C comments.
7012 * config/i386/t-crtfm (crtfastmath.o): Use $<.
7013 * config/i386/t-crtstuff: New file.
7014 * config/i386/t-softfp: New file.
7015 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7016 $(T)crti.o, $(T)crtn.o): Remove.
7017 (gcrt1.o): New rule.
7018 (TARGET_LIBGCC2_CFLAGS): Remove.
7019 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7020 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7021 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7022 * config/sparc/t-sol2: New file.
7023 * config/sparc/t-crtfm: Move to ...
7024 * config/t-crtfm: ... this.
7025 Use $(cpu_type), $<.
7026 * config/t-crtin: New file.
7027 * config/sparc/t-softfp: New file.
7028 * config/sparc/t-softmul: New file.
7029 * config/t-rtems: New file.
7030 * config/t-slibgcc: New file.
7031 * config/t-slibgcc-elf-ver: New file.
7032 * config/t-slibgcc-gld: New file.
7033 * config/t-slibgcc-sld: New file.
7034 * config/t-sol2: New file.
7035 * configure.ac: Include ../config/lib-ld.m4.
7036 Call AC_LIB_PROG_LD_GNU.
7037 Substitute cpu_type.
7038 * configure: Regenerate.
7039
ad5f3d7b
BS
70402011-05-27 Bernd Schmidt <bernds@codesourcery.com>
7041
7042 PR bootstrap/49173
7043 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7044 libgcc-std.ver in the build directory.
7045 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7046 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7047
cdbf4541
BS
70482011-05-25 Bernd Schmidt <bernds@codesourcery.com>
7049
7050 * libgcc-std.ver.in: New file.
7051 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7052 variables.
7053 (libgcc-std.ver): New rule.
7054 * config/t-gnu-prefix: New file.
7055
c8028650
RO
70562011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7057
7058 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7059
4a68b4ca
JM
70602011-05-10 Joseph Myers <joseph@codesourcery.com>
7061
7062 * config/i386/darwin-lib.h: New file.
7063
80cf2e08
JM
70642011-05-10 Joseph Myers <joseph@codesourcery.com>
7065
7066 * config/arm/symbian-lib.h: New.
7067
a3330c9d
CD
70682011-05-04 Chris Demetriou <cgd@google.com>
7069
7070 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7071 (__x86.get_pc_thunk.bx): ...this.
7072 (__morestack): Adjust for rename, remove undef of __i686.
7073
6ace0756
CD
70742011-05-03 Chris Demetriou <cgd@google.com>
7075
7076 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7077
ebb9f8b0
JM
70782011-03-22 Joseph Myers <joseph@codesourcery.com>
7079
7080 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7081 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7082 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7083 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7084 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7085 Remove cases.
7086
9cfa1499
AT
70872011-03-14 Andreas Tobler <andreast@fgznet.ch>
7088
7089 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7090 Adjust copyright year.
7091
457186f6
ILT
70922011-03-07 Ian Lance Taylor <iant@google.com>
7093
7094 * generic-morestack.c (__splitstack_find): Adjust returned stack
7095 pointer to include all registers pushed by __morestack.
7096
58c741a6
DK
70972011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
7098
7099 PR target/40125
7100 * configure.ac: Call ACX_NONCANONICAL_TARGET.
7101 (toolexecdir): Calculate and AC_SUBST.
7102 (toolexeclibdir): Likewise.
7103 * Makefile.in (target_noncanonical): Import.
7104 (toolexecdir): Likewise.
7105 (toolexeclibdir): Likewise.
7106 * configure: Regenerate.
7107
26716c44
NF
71082010-12-13 Nathan Froyd <froydnj@codesourcery.com>
7109
7110 PR target/46040
7111 * config/arm/bpabi.h: Rename to...
7112 * config/arm/bpabi-lib.h: ...this.
7113
b595b1a1
RO
71142010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7115
7116 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7117 appropriate.
7118 * configure: Regenerate.
7119
a3abe41c
NF
71202010-11-24 Nathan Froyd <froydnj@codesourcery.com>
7121
7122 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7123 __FLOAT_WORD_ORDER__.
7124 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7125 Delete.
7126
455c8f48
RW
71272010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7128
7129 PR other/46202
7130 * Makefile.in (install-strip): New phony target.
7131
f3824a8b
ILT
71322010-11-07 Ian Lance Taylor <iant@google.com>
7133
7134 PR target/46089
7135 * config/i386/morestack.S (__morestack_large_model): New
7136 function.
7137
18ed6ee4
NF
71382010-10-23 Nathan Froyd <froydnj@codesourcery.com>
7139
7140 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7141 Delete.
7142 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7143
8ac7fdcb
NF
71442010-10-14 Nathan Froyd <froydnj@codesourcery.com>
7145
7146 * config/arm/bpabi.h: New file.
7147 * config/frv/frv-abi.h: New file.
7148
cdb388c2
ILT
71492010-10-01 Ian Lance Taylor <iant@google.com>
7150
7151 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7152 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7153
ef7c141c
L
71542010-10-01 H.J. Lu <hongjiu.lu@intel.com>
7155
7156 PR target/45858
7157 * config.host: Add the missing `$'.
7158
80920132
ME
71592010-09-30 Michael Eager <eager@eagercon.com>
7160
7161 * config.host: Add microblaze*-*-*.
7162 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7163 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7164 udivsi3.asm,umodsi3.asm}: New.
7165
6dace308
ILT
71662010-09-28 Ian Lance Taylor <iant@google.com>
7167
7168 * configure.ac: Adjust CFI test to test assembler directly rather
7169 than checking gcc preprocessor macro.
7170 * configure: Rebuild.
7171
b6110d6d
ILT
71722010-09-27 Ian Lance Taylor <iant@google.com>
7173
7174 * configure.ac: Test whether assembler supports CFI directives.
7175 * config.host: Only add t-stack and i386/t-stack-i386 to
7176 tmake_file if libgcc_cv_cfi is "yes".
7177 * configure: Rebuild.
7178
7458026b
ILT
71792010-09-27 Ian Lance Taylor <iant@google.com>
7180
7181 * generic-morestack.h: New file.
7182 * generic-morestack.c: New file.
7183 * generic-morestack-thread.c: New file.
7184 * config/i386/morestack.S: New file.
7185 * config/t-stack: New file.
7186 * config/i386/t-stack-i386: New file.
7187 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7188 i386/t-stack-i386 to tmake_file.
7189
5b50fc0c
IS
71902010-09-21 Iain Sandoe <iains@gcc.gnu.org>
7191
7192 * Makefile.in (libgcc-extra-parts): Check for static archives and
7193 invoke ranlib after installing them.
7194 (gcc-extra-parts): Likewise.
7195 (install-leaf): Likewise.
7196
b93cf342
L
71972010-09-14 H.J. Lu <hongjiu.lu@intel.com>
7198
7199 * configure: Regenerated.
7200
996b42ef
KT
72012010-09-10 Kai Tietz <kai.tietz@onevision.com>
7202
b93cf342 7203 * configure: Regenerated.
996b42ef 7204
be1c764e
GP
72052010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
7206 Andrew Pinski <pinskia@gmail.com>
7207
1da9434b 7208 PR target/40959
be1c764e
GP
7209 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
7210
cc0ae0ca
L
72112010-09-06 H.J. Lu <hongjiu.lu@intel.com>
7212
7213 PR target/45524
7214 * configure: Regenerated.
7215
84f47d20
AS
72162010-09-06 Andreas Schwab <schwab@redhat.com>
7217
7218 * configure: Regenerate.
7219
4159fb8d
UB
72202010-09-03 Uros Bizjak <ubizjak@gmail.com>
7221
7222 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7223 64bit targets.
7224 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7225 for 64bit targets.
7226
0df8fcc8
UB
72272010-09-03 Uros Bizjak <ubizjak@gmail.com>
7228 Iain Sandoe <iains@gcc.gnu.org>
7229
7230 PR target/45476
7231 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7232 LIB2FUNCS_EXCLUDE functions.
7233
3c39bca6
AK
72342010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7235
7236 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7237 Include dfp.m4.
7238 * configure: Regenerate.
7239
d78552bd
UB
72402010-09-01 Uros Bizjak <ubizjak@gmail.com>
7241
7242 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7243 i386/t-freebsd to tmake_file.
7244 * config/i386/t-freebsd: New file.
7245 * config/i386/libgcc-bsd.ver: New file.
7246
c5b79d4e
NF
72472010-07-23 Nathan Froyd <froydnj@codesourcery.com>
7248
7249 * config.host (powerpc*-eabispe*): Set tmake_file.
7250 (powerpc*-eabi*): Likewise.
7251 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7252 crtbeginS, crtendS, crtbeginT.
7253
48b09a92
KH
72542010-06-12 Kazu Hirata <kazu@codesourcery.com>
7255
7256 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7257 to tmake_file. Add crtfastmath.o to extra_parts.
7258 * config/mips/t-crtfm: New.
7259
7d296953 72602010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
7261
7262 * config.host (sparc64-*-rtems*): New target.
7263
ed104137
RO
72642010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7265
7266 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7267 assembler syntax.
7268
3f56ef8b
TS
72692010-04-15 Thomas Schwinge <tschwinge@gnu.org>
7270
7271 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7272
8c200350
RO
72732010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7274
7275 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7276 alpha-dec-osf5.0* support.
7277
7d296953 72782010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
7279
7280 * config.host: Add lm32-*-rtems*.
7281
f128db92 72822010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 7283 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
7284
7285 PR target/39048
7286 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7287 like other remaining 32-bit x86 OSes.
7288 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7289 assembler syntax.
7290 * config/i386/libgcc-sol2.ver: New file.
7291 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7292
7d296953 72932010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
7294
7295 PR c/43553
7296 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7297 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7298 is used and substitute set_use_emutls.
7299 * configure: Regenerated.
7300
15baf7f8
TG
73012010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
7302
7303 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7304
7f5441df
RO
73052010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7306
7307 PR target/38085
7308 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7309 MULTILIB_CFLAGS.
7310 ($(T)gcrt1.o): Likewise.
7311 ($(T)crt1.o): Likewise.
7312 ($(T)crti.o): Likewise.
7313 ($(T)crtn.o): Likewise.
7314
ef74edbd
RW
73152010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7316
7317 PR other/42980
7318 * Makefile.in (install): Use $(MAKE) string in rule, for
7319 parallel make.
7320
e7c914db
HPN
73212010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
7322
7323 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7324 * config/mmix/t-mmix: New file.
7325 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7326
1bcb71c4
JH
73272010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
7328
7329 PR java/41991
7330 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7331 SHLIB_MAPFILES.
7332
e6e50811
AG
73332010-01-04 Anthony Green <green@moxielogic.com>
7334
7335 * config/moxie/crti.asm, config/moxie/crtn.asm,
7336 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7337 config/moxie/t-moxie: New files.
7338 * config.host: Add t-moxie-softfp reference.
7339
7d296953 73402009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
7341
7342 PR other/39888
7343 * config/t-slibgcc-darwin: Fix embedded rpaths for
7344 --enable-version-specific-runtime-libs, build extension stub
7345 libs exposing features available from current libgcc_s.
7346
7d296953 73472009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 7348
d78552bd
UB
7349 * config.host: Add lm32 targets.
7350 * config/lm32: New directory.
7351 * config/lm32/libgcc_lm32.h: New file.
7352 * config/lm32/_mulsi3.c: New file.
7353 * config/lm32/_udivmodsi4.c: New file.
7354 * config/lm32/_divsi3.c: New file.
7355 * config/lm32/_modsi3.c: New file.
7356 * config/lm32/_udivsi3.c: New file.
7357 * config/lm32/_umodsi3.c: New file.
7358 * config/lm32/_lshrsi3.S: New file.
7359 * config/lm32/_ashrsi3.S: New file.
7360 * config/lm32/_ashlsi3.S: New file.
7361 * config/lm32/crti.S: New file.
7362 * config/lm32/crtn.S: New file.
7363 * config/lm32/t-lm32: New file.
7364 * config/lm32/t-elf: New file.
7365 * config/lm32/t-uclinux: New file.
aa4945c1 7366
65a324b4
NC
73672009-10-26 Nick Clifton <nickc@redhat.com>
7368
7369 * config.host: Add support for RX target.
7370 * config/rx: New directory.
7371 * config/rx/rx-abi-functions.c: New file. Supplementary
7372 functions for libgcc to support the RX ABI.
7373 * config/rx/rx-abi.h: New file. Supplementary header file for
7374 libgcc RX ABI functions.
7375 * config/rx/t-rx: New file: Makefile fragment for building
7376 libgcc for the RX.
7377
dfb3b0e3
UB
73782009-10-09 Uros Bizjak <ubizjak@gmail.com>
7379
7380 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7381 constraint of y0 to "g".
7382
81dd9fd7
AK
73832009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7384
7385 * config.host: Include the s390 makefile fragments.
7386 * config/s390/32/_fixdfdi.c: New file.
7387 * config/s390/32/_fixsfdi.c: New file.
7388 * config/s390/32/_fixtfdi.c: New file.
7389 * config/s390/32/_fixunsdfdi.c: New file.
7390 * config/s390/32/_fixunssfdi.c: New file.
7391 * config/s390/32/_fixunstfdi.c: New file.
7392 * config/s390/32/t-floattodi: New file.
7393 * config/s390/libgcc-glibc.ver: New file.
7394 * config/s390/t-crtstuff: New file.
7395 * config/s390/t-linux: New file.
7396 * config/s390/t-tpf: New file.
7397
df58e648
RW
73982009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7399
7400 * configure.ac (AC_PREREQ): Bump to 2.64.
7401
79052be3
KK
74022009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
7403
7404 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7405
5213506e
RW
74062009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7407
7408 * configure: Regenerate.
7409
a9a25daa
DR
74102009-08-09 Douglas B Rupp <rupp@gnat.com>
7411
7412 * config.host (ia64-hp-*vms*): New target.
7413 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7414 with ia64-hp-*vms*.
7415
6efbd53f
RW
74162009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7417
7418 * configure.ac: Add snippet for maintainer-mode.
7419 * configure: Regenerate.
7420 * Makefile.in (AUTOCONF, configure_deps): New variables.
7421 ($(srcdir)/configure)): New rule, active only with maintainer
7422 mode turned on.
7423
7acf4da6
DD
74242009-06-23 DJ Delorie <dj@redhat.com>
7425
7426 Add MeP port.
7427 * config.host: Add mep support.
7428
54f549af
KT
74292009-06-22 Kai Tietz <kai.tietz@onevision.com>
7430
34481f28 7431 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 7432 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
7433
7434 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7435 for mingw targets.
54f549af
KT
7436 * config/i386/64/_multc3.c: Likewise.
7437 * config/i386/64/_powitf2.c: Likewise.
7438 * config/i386/64/eqtf2.c: Likewise.
7439 * config/i386/64/getf2.c: Likewise.
7440 * config/i386/64/letf2.c: Likewise.
7441 * config/i386/64/letf2.c: Likewise.
34481f28
UB
7442 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7443 unsigned long long for x64 mingw targets.
7444 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7445 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 7446
fea96e25
MR
74472009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
7448
7449 * config.host (vax-*-linux*): New.
7450
cceb575c
AG
74512009-05-31 Anthony Green <green@moxielogic.com>
7452
7453 * config.host: Add moxie support.
7454 * config/moxie/t-moxie: New file.
7455
7d296953 74562009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
7457
7458 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 7459 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 7460
532bfb0a
AJ
74612009-04-17 Aurelien Jarno <aurelien@aurel32.net>
7462
7463 * config.host: Add i386/${host_address}/t-fprules-softfp to
7464 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7465
748086b7
JJ
74662009-04-09 Nick Clifton <nickc@redhat.com>
7467
7468 * config/ia64/tf-signs.c: Change copyright header to refer to
7469 version 3 of the GNU General Public License with version 3.1
7470 of the GCC Runtime Library Exception and to point readers at
7471 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7472 web page.
7473 * config/i386/32/tf-signs.c: Likewise.
7474 * config/libbid/_addsub_dd.c: Likewise.
7475 * config/libbid/_addsub_sd.c: Likewise.
7476 * config/libbid/_addsub_td.c: Likewise.
7477 * config/libbid/_dd_to_df.c: Likewise.
7478 * config/libbid/_dd_to_di.c: Likewise.
7479 * config/libbid/_dd_to_sd.c: Likewise.
7480 * config/libbid/_dd_to_sf.c: Likewise.
7481 * config/libbid/_dd_to_si.c: Likewise.
7482 * config/libbid/_dd_to_td.c: Likewise.
7483 * config/libbid/_dd_to_tf.c: Likewise.
7484 * config/libbid/_dd_to_udi.c: Likewise.
7485 * config/libbid/_dd_to_usi.c: Likewise.
7486 * config/libbid/_dd_to_xf.c: Likewise.
7487 * config/libbid/_df_to_dd.c: Likewise.
7488 * config/libbid/_df_to_sd.c: Likewise.
7489 * config/libbid/_df_to_td.c: Likewise.
7490 * config/libbid/_di_to_dd.c: Likewise.
7491 * config/libbid/_di_to_sd.c: Likewise.
7492 * config/libbid/_di_to_td.c: Likewise.
7493 * config/libbid/_div_dd.c: Likewise.
7494 * config/libbid/_div_sd.c: Likewise.
7495 * config/libbid/_div_td.c: Likewise.
7496 * config/libbid/_eq_dd.c: Likewise.
7497 * config/libbid/_eq_sd.c: Likewise.
7498 * config/libbid/_eq_td.c: Likewise.
7499 * config/libbid/_ge_dd.c: Likewise.
7500 * config/libbid/_ge_sd.c: Likewise.
7501 * config/libbid/_ge_td.c: Likewise.
7502 * config/libbid/_gt_dd.c: Likewise.
7503 * config/libbid/_gt_sd.c: Likewise.
7504 * config/libbid/_gt_td.c: Likewise.
7505 * config/libbid/_isinfd128.c: Likewise.
7506 * config/libbid/_isinfd32.c: Likewise.
7507 * config/libbid/_isinfd64.c: Likewise.
7508 * config/libbid/_le_dd.c: Likewise.
7509 * config/libbid/_le_sd.c: Likewise.
7510 * config/libbid/_le_td.c: Likewise.
7511 * config/libbid/_lt_dd.c: Likewise.
7512 * config/libbid/_lt_sd.c: Likewise.
7513 * config/libbid/_lt_td.c: Likewise.
7514 * config/libbid/_mul_dd.c: Likewise.
7515 * config/libbid/_mul_sd.c: Likewise.
7516 * config/libbid/_mul_td.c: Likewise.
7517 * config/libbid/_ne_dd.c: Likewise.
7518 * config/libbid/_ne_sd.c: Likewise.
7519 * config/libbid/_ne_td.c: Likewise.
7520 * config/libbid/_sd_to_dd.c: Likewise.
7521 * config/libbid/_sd_to_df.c: Likewise.
7522 * config/libbid/_sd_to_di.c: Likewise.
7523 * config/libbid/_sd_to_sf.c: Likewise.
7524 * config/libbid/_sd_to_si.c: Likewise.
7525 * config/libbid/_sd_to_td.c: Likewise.
7526 * config/libbid/_sd_to_tf.c: Likewise.
7527 * config/libbid/_sd_to_udi.c: Likewise.
7528 * config/libbid/_sd_to_usi.c: Likewise.
7529 * config/libbid/_sd_to_xf.c: Likewise.
7530 * config/libbid/_sf_to_dd.c: Likewise.
7531 * config/libbid/_sf_to_sd.c: Likewise.
7532 * config/libbid/_sf_to_td.c: Likewise.
7533 * config/libbid/_si_to_dd.c: Likewise.
7534 * config/libbid/_si_to_sd.c: Likewise.
7535 * config/libbid/_si_to_td.c: Likewise.
7536 * config/libbid/_td_to_dd.c: Likewise.
7537 * config/libbid/_td_to_df.c: Likewise.
7538 * config/libbid/_td_to_di.c: Likewise.
7539 * config/libbid/_td_to_sd.c: Likewise.
7540 * config/libbid/_td_to_sf.c: Likewise.
7541 * config/libbid/_td_to_si.c: Likewise.
7542 * config/libbid/_td_to_tf.c: Likewise.
7543 * config/libbid/_td_to_udi.c: Likewise.
7544 * config/libbid/_td_to_usi.c: Likewise.
7545 * config/libbid/_td_to_xf.c: Likewise.
7546 * config/libbid/_tf_to_dd.c: Likewise.
7547 * config/libbid/_tf_to_sd.c: Likewise.
7548 * config/libbid/_tf_to_td.c: Likewise.
7549 * config/libbid/_udi_to_dd.c: Likewise.
7550 * config/libbid/_udi_to_sd.c: Likewise.
7551 * config/libbid/_udi_to_td.c: Likewise.
7552 * config/libbid/_unord_dd.c: Likewise.
7553 * config/libbid/_unord_sd.c: Likewise.
7554 * config/libbid/_unord_td.c: Likewise.
7555 * config/libbid/_usi_to_dd.c: Likewise.
7556 * config/libbid/_usi_to_sd.c: Likewise.
7557 * config/libbid/_usi_to_td.c: Likewise.
7558 * config/libbid/_xf_to_dd.c: Likewise.
7559 * config/libbid/_xf_to_sd.c: Likewise.
7560 * config/libbid/_xf_to_td.c: Likewise.
7561 * config/libbid/bid128.c: Likewise.
7562 * config/libbid/bid128_2_str.h: Likewise.
7563 * config/libbid/bid128_2_str_macros.h: Likewise.
7564 * config/libbid/bid128_2_str_tables.c: Likewise.
7565 * config/libbid/bid128_add.c: Likewise.
7566 * config/libbid/bid128_compare.c: Likewise.
7567 * config/libbid/bid128_div.c: Likewise.
7568 * config/libbid/bid128_fma.c: Likewise.
7569 * config/libbid/bid128_logb.c: Likewise.
7570 * config/libbid/bid128_minmax.c: Likewise.
7571 * config/libbid/bid128_mul.c: Likewise.
7572 * config/libbid/bid128_next.c: Likewise.
7573 * config/libbid/bid128_noncomp.c: Likewise.
7574 * config/libbid/bid128_quantize.c: Likewise.
7575 * config/libbid/bid128_rem.c: Likewise.
7576 * config/libbid/bid128_round_integral.c: Likewise.
7577 * config/libbid/bid128_scalb.c: Likewise.
7578 * config/libbid/bid128_sqrt.c: Likewise.
7579 * config/libbid/bid128_string.c: Likewise.
7580 * config/libbid/bid128_to_int16.c: Likewise.
7581 * config/libbid/bid128_to_int32.c: Likewise.
7582 * config/libbid/bid128_to_int64.c: Likewise.
7583 * config/libbid/bid128_to_int8.c: Likewise.
7584 * config/libbid/bid128_to_uint16.c: Likewise.
7585 * config/libbid/bid128_to_uint32.c: Likewise.
7586 * config/libbid/bid128_to_uint64.c: Likewise.
7587 * config/libbid/bid128_to_uint8.c: Likewise.
7588 * config/libbid/bid32_to_bid128.c: Likewise.
7589 * config/libbid/bid32_to_bid64.c: Likewise.
7590 * config/libbid/bid64_add.c: Likewise.
7591 * config/libbid/bid64_compare.c: Likewise.
7592 * config/libbid/bid64_div.c: Likewise.
7593 * config/libbid/bid64_fma.c: Likewise.
7594 * config/libbid/bid64_logb.c: Likewise.
7595 * config/libbid/bid64_minmax.c: Likewise.
7596 * config/libbid/bid64_mul.c: Likewise.
7597 * config/libbid/bid64_next.c: Likewise.
7598 * config/libbid/bid64_noncomp.c: Likewise.
7599 * config/libbid/bid64_quantize.c: Likewise.
7600 * config/libbid/bid64_rem.c: Likewise.
7601 * config/libbid/bid64_round_integral.c: Likewise.
7602 * config/libbid/bid64_scalb.c: Likewise.
7603 * config/libbid/bid64_sqrt.c: Likewise.
7604 * config/libbid/bid64_string.c: Likewise.
7605 * config/libbid/bid64_to_bid128.c: Likewise.
7606 * config/libbid/bid64_to_int16.c: Likewise.
7607 * config/libbid/bid64_to_int32.c: Likewise.
7608 * config/libbid/bid64_to_int64.c: Likewise.
7609 * config/libbid/bid64_to_int8.c: Likewise.
7610 * config/libbid/bid64_to_uint16.c: Likewise.
7611 * config/libbid/bid64_to_uint32.c: Likewise.
7612 * config/libbid/bid64_to_uint64.c: Likewise.
7613 * config/libbid/bid64_to_uint8.c: Likewise.
7614 * config/libbid/bid_b2d.h: Likewise.
7615 * config/libbid/bid_binarydecimal.c: Likewise.
7616 * config/libbid/bid_conf.h: Likewise.
7617 * config/libbid/bid_convert_data.c: Likewise.
7618 * config/libbid/bid_decimal_data.c: Likewise.
7619 * config/libbid/bid_decimal_globals.c: Likewise.
7620 * config/libbid/bid_div_macros.h: Likewise.
7621 * config/libbid/bid_dpd.c: Likewise.
7622 * config/libbid/bid_flag_operations.c: Likewise.
7623 * config/libbid/bid_from_int.c: Likewise.
7624 * config/libbid/bid_functions.h: Likewise.
7625 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7626 * config/libbid/bid_inline_add.h: Likewise.
7627 * config/libbid/bid_internal.h: Likewise.
7628 * config/libbid/bid_round.c: Likewise.
7629 * config/libbid/bid_sqrt_macros.h: Likewise.
7630
76312009-04-09 Jakub Jelinek <jakub@redhat.com>
7632
7633 * Makefile.in: Change copyright header to refer to version
7634 3 of the GNU General Public License and to point readers at the
7635 COPYING3 file and the FSF's license web page.
7636 * config.host: Likewise.
7637
633dd061
AM
76382009-04-07 Alan Modra <amodra@bigpond.net.au>
7639
7640 * config.host: Reorder and merge to match config.gcc change.
7641
457d1d00
AM
76422009-04-03 Alan Modra <amodra@bigpond.net.au>
7643
7644 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
7645
52c0e446
JM
76462009-03-28 Joseph Myers <joseph@codesourcery.com>
7647
7648 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
7649 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
7650 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
7651 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
7652
ba181049
UB
76532009-02-12 Uros Bizjak <ubizjak@gmail.com>
7654
7655 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
7656 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7657
c252db20
L
76582009-02-12 H.J. Lu <hongjiu.lu@intel.com>
7659
ba181049
UB
7660 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
7661 ia64/t-softfp-compat to tmake_file.
c252db20
L
7662
7663 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
7664
7665 * config/ia64/__divxf3.asm: New.
7666 * config/ia64/_fixtfdi.asm: Likewise.
7667 * config/ia64/_fixunstfdi.asm: Likewise.
7668 * config/ia64/_floatditf.asm: Likewise.
7669 * config/ia64/t-fprules-softfp: Likewise.
7670 * config/ia64/t-softfp-compat: Likewise.
7671 * config/ia64/tf-signs.c: Likewise.
7672
c60535f9
BE
76732009-01-18 Ben Elliston <bje@au.ibm.com>
7674
7675 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7676
ce16861e
BE
76772009-01-16 Ben Elliston <bje@au.ibm.com>
7678
7679 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
7680 to tmake_file.
7681
bcf4713b
BE
76822009-01-13 Ben Elliston <bje@au.ibm.com>
7683
7684 * config/t-softfp: New file.
7685 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
7686 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
7687
7d296953 76882009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
7689
7690 * config.host: Add m32r*-*-rtems*.
7691
7d296953 76922008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
7693
7694 * config.host: Add m32c*-*-rtems*.
7695
19523300
RO
76962008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7697
7698 PR bootstrap/33100
7699 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
7700 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
7701 * configure: Regenerate.
7702 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
7703 tmake_file here from gcc/config.gcc.
7704 Move extra_parts here from gcc/config.gcc.
7705 * config/i386/t-sol2: Move here from gcc/config/i386.
7706 Use gcc_srcdir instead of srcdir.
7707
0a4a51c7
AN
77082008-11-18 Adam Nemet <anemet@caviumnetworks.com>
7709
7710 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
7711 case.
7712
2a761e46
TS
77132008-11-09 Thomas Schwinge <tschwinge@gnu.org>
7714
7715 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
7716
c0451df7
TS
77172008-10-08 Thomas Schwinge <tschwinge@gnu.org>
7718
7719 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
7720
358da97e
HS
77212008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
7722
7723 Add picoChip port.
7724 * config.host: Add picochip-*-*.
7725
c660f132
BW
77262008-08-06 Bob Wilson <bob.wilson@acm.org>
7727
7728 * config.host: Match more processor names for Xtensa.
7729
d1349557
L
77302008-07-08 H.J. Lu <hongjiu.lu@intel.com>
7731
7732 * config/i386/64/t-softfp-compat: Update comments.
7733
dd7b73c0
L
77342008-07-07 H.J. Lu <hongjiu.lu@intel.com>
7735
7736 * config/i386/64/_divtc3-compat.c: Moved to ...
7737 * config/i386/64/_divtc3.c: Here.
7738
7739 * config/i386/64/_multc3-compat.c: Moved to ...
7740 * config/i386/64/_multc3.c: Here.
7741
7742 * config/i386/64/_powitf2-compat.c: Moved to ...
7743 * config/i386/64/_powitf2.c: Here.
7744
7745 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
7746 .c suffix instead of -compat.c.
7747
6e1fab3d
UB
77482008-07-05 Uros Bizjak <ubizjak@gmail.com>
7749
7750 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
7751 (_FP_MUL_MEAT_D): Ditto.
7752 (_FP_DIV_MEAT_S): Ditto.
7753 (_FP_DIV_MEAT_D): Ditto.
7754
f92518d7
RS
77552008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
7756
7757 * Makefile.in: Add support for __sync_* libgcc functions.
7758
d0aede14
L
77592008-07-03 H.J. Lu <hongjiu.lu@intel.com>
7760
7761 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
7762
c174f11c
L
77632008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7764
7765 PR boostrap/36702
7766 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
7767 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
7768
7769 * config/i386/64/t-fprules-softfp: Moved to ...
7770 * config/i386/64/t-softfp-compat: This. New.
7771
5f464fa2
UB
77722008-07-02 Uros Bizjak <ubizjak@gmail.com>
7773
7774 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
7775 Initialize f with 0.0.
7776
ff473280
L
77772008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7778
7779 PR target/36669
7780 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
7781
7782 * config/i386/64/_divtc3-compat.c: New.
7783 * config/i386/64/_multc3-compat.c: Likewise.
7784 * config/i386/64/_powitf2-compat.c: Likewise.
7785 * config/i386/64/eqtf2.c: Likewise.
7786 * config/i386/64/getf2.c: Likewise.
7787 * config/i386/64/letf2.c: Likewise.
7788 * config/i386/64/t-fprules-softfp: Likewise.
7789
77902008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7791
7792 * config.host: Add i386/${host_address}/t-fprules-softfp to
7793 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 7794 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
7795
7796 * configure.ac: Set host_address to 64 or 32 for x86.
7797 * configure: Regenerated.
7798
7799 * Makefile.in (config.status): Also depend on
7800 $(srcdir)/config.host.
7801
7802 * config/i386/32/t-fprules-softfp: New.
7803 * config/i386/32/tf-signs.c: Likewise.
7804
7805 * config/i386/64/sfp-machine.h: New. Moved from gcc.
7806
78072008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7808 Uros Bizjak <ubizjak@gmail.com>
7809
7810 * config/i386/32/sfp-machine.h: New.
7811
30551d99
NF
78122008-06-26 Nathan Froyd <froydnj@codesourcery.com>
7813
7814 * config/rs6000/t-ppccomm: Remove rules that conflict with
7815 auto-generated rules.
7816
18c04407
RW
78172008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7818
7819 * configure.ac: sinclude override.m4.
7820 * configure: Regenerate.
7821
10fbe77a
BRF
78222008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
7823
7824 * configure: Regenerate.
7825
bc6d4c3f
JM
78262008-06-10 Joseph Myers <joseph@codesourcery.com>
7827
7828 * Makefile.in (DECNUMINC): Remove
7829 -I$(MULTIBUILDTOP)../../libdecnumber.
7830 * gstdint.h: New.
7831
cd985f66
JM
78322008-06-07 Joseph Myers <joseph@codesourcery.com>
7833
7834 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
7835 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
7836 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
7837 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
7838 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
7839 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7840 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
7841 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
7842 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
7843 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
7844 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
7845 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
7846 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
7847 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
7848
93fea8d3
AL
78492008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
7850
7851 * config.host (sh2[lbe]*-*-linux*): Allow target.
7852
18724e30
NF
78532008-04-30 Nathan Froyd <froydnj@codesourcery.com>
7854
7855 * config/rs6000/t-ppccomm: Add build rules for new files.
7856 (LIB2ADD_ST): New variable.
7857
47583040
AH
78582008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
7859
7860 PR target/34210
7861 PR target/35508
7862 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
7863 * config/t-avr: New file. Build 16bit libgcc functions.
7864
cf8e67fe
JJ
78652008-03-02 Jakub Jelinek <jakub@redhat.com>
7866
7867 PR target/35401
7868 * config/t-slibgcc-darwin: Make install-leaf dependent on
7869 install-darwin-libgcc-stubs instead of install.
7870
8d8da227
JM
78712008-01-25 Joseph Myers <joseph@codesourcery.com>
7872
7873 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
7874 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
7875 sh-*-rtemscoff*): Remove cases.
7876
edbf8b16
RS
78772007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
7878
7879 * Makefile.in (all): Use install-leaf rather than install.
7880 (install): Split most of the rule into...
7881 (install-leaf): ...this new one.
7882
89deeaff
EK
78832007-12-19 Etsushi Kato <ek.kato@gmail.com>
7884 Paolo Bonzini <bonzini@gnu.org>
7885
7886 PR target/30572
5f464fa2
UB
7887 * Makefile.in: Use @shlib_slibdir@ substitution to get
7888 correct install name on darwin.
89deeaff 7889 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 7890
4081d704
HPN
78912007-12-15 Hans-Peter Nilsson <hp@axis.com>
7892
7893 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
7894 cris-*-elf and cris-*-none.
7895 (crisv32-*-linux*): Similar, as cris-*-linux*.
7896
f43e89a3
RIL
78972007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
7898
7899 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
7900
b4e9c2c6
L
79012007-10-27 H.J. Lu <hongjiu.lu@intel.com>
7902
7903 PR regression/33926
7904 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
7905 * configure: Regenerated.
7906
b2a00c89
L
79072007-09-27 H.J. Lu <hongjiu.lu@intel.com>
7908
7909 * Makefile.in (dfp-filenames): Replace decimal_globals,
7910 decimal_data, binarydecimal and convert_data with
7911 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
7912 and bid_convert_data, respectively.
7913
8d2a9e0e
CF
79142007-09-17 Chao-ying Fu <fu@mips.com>
7915 Nigel Stephens <nigel@mips.com>
7916
7917 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
7918 * Makefile.in (fixed_point): Define.
7919 Check if fixed_point is yes to build support functions.
7920 * configure.ac: Check for fixed_point support.
7921 * configure: Regenerated.
7922 * gen-fixed.sh: New file to generate lists of fixed-point labels,
7923 funcs, modes, from, to.
7924
2b53935d
JJ
79252007-09-11 Janis Johnson <janis187@us.ibm.com
7926
7927 * Makefile.in (dfp-filenames): Add bid128_noncomp.
7928
2533577f
JJ
79292007-09-10 Janis Johnson <janis187@us.ibm.com>
7930
7931 * Makefile.in (dfp-filenames): Remove decUtility, add
7932 decDouble, decPacked, decQuad, decSingle.
7933
3ae3dbd6
HK
79342007-08-27 Hans Kester <hans.kester@ellips.nl>
7935
7936 * config.host : Add x86_64-elf target.
7937
22867d02
L
79382007-07-06 H.J. Lu <hongjiu.lu@intel.com>
7939
7940 * configure.ac (set_have_cc_tls): Add a missing =.
7941 * configure: Regenerated.
7942
6f461e76
L
79432007-07-06 H.J. Lu <hongjiu.lu@intel.com>
7944
7945 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
7946 and x86_64-*-linux*.
7947
7948 * config/t-tls: New file.
7949
dfb3b0e3 7950 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
7951
7952 * configure.ac: Include ../config/enable.m4 and
7953 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
7954 supports TLS and substitute set_have_cc_tls.
7955 * configure: Regenerated.
7956
200359e8
L
79572007-07-04 H.J. Lu <hongjiu.lu@intel.com>
7958
7959 * Makefile.in: Use libbid for DFP when BID is enabled.
7960
76f5e200
DS
79612007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
7962
7963 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 7964 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
7965 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
7966
9bd196f0 79672007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 7968 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
7969
7970 PR target/29498
7971 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
7972 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
7973 * config/i386/t-crtfm: Compile crtfastmath.o with
7974 -minline-all-stringops.
7975
1910440e
RS
79762007-05-10 Richard Sandiford <richard@codesourcery.com>
7977
7978 * config.host (sparc-wrs-vxworks): New target.
7979
7d33c31d
KH
79802007-04-14 Kazu Hirata <kazu@codesourcery.com>
7981
7982 * config.host: Recognize fido.
7983
96fccd0d
JJ
79842007-04-04 Janis Johnson <janis187@us.ibm.com>
7985
7986 * configure: Check host, not target, for decimal float support.
7987
577565f9
UB
79882007-04-03 Uros Bizjak <ubizjak@gmail.com>
7989
7990 * config/i386/t-crtpc: New file.
7991 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 7992 (x86_64-*-linux*): Ditto.
577565f9 7993
ccf8e764
RH
79942007-02-30 Kai Tietz <kai.tietz@onevision.com>
7995
7996 * config.host (x86_64-*-mingw*): New target.
7997
79b87c74
MM
79982007-03-23 Michael Meissner <michael.meissner@amd.com>
7999 H.J. Lu <hongjiu.lu@intel.com>
8000
8001 * Makefile.in (enable_decimal_float): New.
8002 (DECNUMINC): Add
8003 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8004 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8005 (decbits-filenames): This.
8006 (decbits-objects): New.
8007 (libgcc-objects): Add $(decbits-objects).
8008
8009 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8010 Substitute enable_decimal_float.
8011 * configure: Regenerated.
8012
8fce4e31
HPN
80132007-03-19 Hans-Peter Nilsson <hp@axis.com>
8014
8015 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8016
e8bb4597
BM
80172007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8018
8019 * Makefile.in (install-info): New dummy target.
8020
344189f9
BS
80212007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8022
8023 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8024
ac84c172
BM
80252007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8026
8027 * Makefile.in: Add install-html and install-pdf dummy
8028 targets.
8029
cd5c2357
RS
80302007-02-05 Roger Sayle <roger@eyesopen.com>
8031 Daniel Jacobowitz <dan@codesourcery.com>
8032
8033 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8034 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8035 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8036
d9a66f98
JJ
80372007-01-29 Janis Johnson <janis187@us.ibm.com>
8038
8039 * Makefile.in (dec-filenames): Add decExcept.
8040
9891ec5f
DJ
80412007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8042
8043 PR bootstrap/30469
8044 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8045 -fprofile-use.
8046
d6efbf5a
DJ
80472007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
8048
8049 * configure.ac: Add --enable-version-specific-runtime-libs.
8050 Correct $slibdir default.
8051 * configure: Regenerated.
8052
17caeff2
JM
80532007-01-23 Joseph Myers <joseph@codesourcery.com>
8054
8055 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8056
5ea41e3a
AP
80572007-01-21 Andrew Pinski <pinskia@gmail.com>
8058
8059 PR target/30519
8060 * config.host (alpha*-*-linux*): Set extra_parts.
8061
26900826
KK
80622007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8063
8064 * config/sh/t-linux: New.
8065 * config.host (sh*-*-linux*): Set tmake_file.
8066
97af925b
DJ
80672007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8068
8069 * Makefile.in (install): Handle multilibs.
8070
b0088af7
BM
80712007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8072
8073 * Makefile.in: Added .PHONY entry for documentation targets.
8074
e0a9456a
BM
80752007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8076
8077 * Makefile.in: Add empty info, html, dvi, pdf targets.
8078
7fd453b4
MS
80792007-01-04 Mike Stump <mrs@apple.com>
8080
8081 * Makefile.in (MAKEINFO): Remove.
8082 (PERL): Likewise.
8083
14e8fc8b
PB
80842007-01-04 Paolo Bonzini <bonzini@gnu.org>
8085
8086 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8087 * configure: Regenerate.
8088 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 8089 (gcc_objdir): Use it.
14e8fc8b 8090
1555beba
DJ
80912007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8092
8093 * config.host (ia64*-*-linux*): Set tmake_file.
8094
79e6eaeb
DJ
80952007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8096
8097 * Makefile.in (version): Define.
8098
fa958513
DJ
80992007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8100 Paolo Bonzini <bonzini@gnu.org>
8101
8102 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8103 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8104 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8105 config/sparc/t-crtfm, config/t-slibgcc-darwin,
8106 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8107 shared-object.mk, siditi-object.mk, static-object.mk: New files.
8108 * configure: Generated.
818ab71a
JJ
8109\f
8110Copyright (C) 2007-2016 Free Software Foundation, Inc.
8111
8112Copying and distribution of this file, with or without modification,
8113are permitted in any medium without royalty provided the copyright
8114notice and this notice are preserved.