]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
* g++.dg/cpp1z/init-statement6.C: Rename a function.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
44618e46 12016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2
3 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4 of checking for cpus.
5 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
6 (__modsi3, __clzsi2): Likewise.
7
6e6c7fc1 82016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9
10 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
11 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
12 * config/i386/t-cpuinfo-static: New.
13
36ffeeaf 142016-11-03 Martin Liska <mliska@suse.cz>
15
16 * libgcov-profiler.c (__gcov_time_profiler): Remove.
17 (__gcov_time_profiler_atomic): Likewise.
18
9769a02b 192016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
20
21 PR libgcc/78067
22 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
23 count_leading_zeros.
24
2743281b 252016-11-02 Uros Bizjak <ubizjak@gmail.com>
26
27 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
28 * libgcc2.c (__divmoddi4): New function.
29 * libgcc2.h (__divmoddi4): Declare.
30 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
31 and __PFX_divmodti4.
32
7829b1ae 332016-10-24 Florian Weimer <fweimer@redhat.com>
34
35 PR libgcc/78064
36 * unwind-c.c: Include auto-target.h.
37
677e8b73 382016-10-19 John David Anglin <danglin@gcc.gnu.org>
39
2743281b 40 * config/pa/pa64-hpux-lib.h: New file.
677e8b73 41 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
42 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
43 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
44 hppa*64*-*-hpux11*.
45
5dc8060e 462016-10-18 Max Filippov <jcmvbkbc@gmail.com>
47
48 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
49 definition.
50 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
51 definition.
52 * config/xtensa/t-windowed (LIB2ADDEH): Use
53 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
54 or xtensa/t-linux.
55
2b7e7fc4 562016-10-18 Ding-Kai Chen <dkchen@cadence.com>
57
58 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
59 __ieee754_sqrt): New functions.
60 (__divdf3): Add implementation with new FPU instructions under
61 #if XCHAL_HAVE_DFP_DIV.
62 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
63 __ieee754_sqrtf): New functions.
64 (__divsf3): Add implementation with new FPU instructions under
65 #if XCHAL_HAVE_FP_DIV.
66 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
67 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
68
ad7b10a2 692016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
70
71 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
72 equivalent.
73 * config/tilepro/atomic.c: Likewise and stop casting model to
74 enum memmodel.
75
dff001ee 762016-10-10 Joseph Myers <joseph@codesourcery.com>
77
78 PR target/77586
79 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
80 soft-fp.
81
88afddbc 822016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
83
84 * config.host: Add support for aarch64-*-freebsd*.
85
7667e10d 862016-10-05 Andreas Schwab <schwab@suse.de>
87
88 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
89 (.section .init_array): Don't call __do_jv_register_classes.
90 (.section .init): Likewise.
91
bc6b11a7 922016-10-04 Jakub Jelinek <jakub@redhat.com>
93
94 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
95 (__JCR_LIST__): Remove.
96 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
97 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
98 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
99 * config/ia64/crtend.S (__JCR_END__): Remove.
100 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
101 conditionals.
102 (__JCR_LIST__, __JCR_END__): Remove.
103 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
104 (__do_global_ctors_1): Likewise.
105
4785ab74 1062015-09-28 Uros Bizjak <ubizjak@gmail.com>
107
108 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
109 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
110
db46bcd3 1112016-09-27 Martin Liska <mliska@suse.cz>
112
113 PR gcov-profile/7970
114 PR gcov-profile/16855
115 PR gcov-profile/44779
116 * libgcov-driver.c (__gcov_init): Do not register a atexit
117 handler.
118 (__gcov_exit): Rename from gcov_exit.
119 * libgcov.h (__gcov_exit): Declare.
120
1e849229 1212016-09-27 Martin Liska <mliska@suse.cz>
122
123 PR bootstrap/77749
124 * Makefile.in: Remove _gcov_merge_delta.
125 * libgcov-merge.c (void __gcov_merge_delta): Remove.
126 * libgcov-util.c (__gcov_delta_counter_op): Remove.
127 * libgcov.h: Remove declaration of __gcov_merge_delta.
128
c678023a 1292016-09-21 Eric Botcazou <ebotcazou@adacore.com>
130
131 * configure.ac: Do not create links, only substitute the filenames.
132 * configure: Regenerate.
133 * Makefile.in: Assign the substitution results to variables.
134 (LIBGCC_LINKS): Define.
135 (enable-execute-stack.c): New rule.
136 (unwind.h): Likewise.
137 (md-unwind-support.h): Likewise.
138 (sfp-machine.h): Likewise.
139 (gthr-default.h): Likewise.
140 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
141 unwind.h as prerequisite of install-unwind_h-forbuild.
142
69ea9908 1432016-09-16 Jakub Jelinek <jakub@redhat.com>
144
145 PR libgcc/71744
146 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
147 is not the primary registry and atomics are available.
148 (any_objects_registered): New variable.
149 (__register_frame_info_bases, __register_frame_info_table_bases):
150 Atomically store 1 to any_objects_registered after registering first
151 unwind info.
152 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
153
d1c9b60c 1542016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
155
156 PR target/63250
157 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
158 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
159 (HFtype): Likewise.
160 (HCtype): Likewise.
161 (__divhc3): Likewise.
162 (__mulhc3): Likewise.
163 * libgcc2.c: Support _mulhc3 and _divhc3.
164
86d9b5ed 1652016-09-07 Joseph Myers <joseph@codesourcery.com>
166
167 PR libgcc/77519
168 * libgcc2.c (NOTRUNC): Invert settings.
169
4c790ba8 1702016-09-06 Martin Liska <mliska@suse.cz>
171
172 PR gcov-profile/77378
173 PR gcov-profile/77466
174 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
175 conditionaly enable/disable *_atomic functions.
176
ac34f4bd 1772016-08-26 Joseph Myers <joseph@codesourcery.com>
178
179 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
180 where not already enabled.
181
9cd45037 1822016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
183
184 * config/mips/linux-unwind.h: Use sys/syscall.h.
185
de41fc22 1862016-08-16 Joseph Myers <joseph@codesourcery.com>
187
188 PR libgcc/77265
189 * soft-fp/adddf3.c: Update from glibc.
190 * soft-fp/addsf3.c: Likewise.
191 * soft-fp/addtf3.c: Likewise.
192 * soft-fp/divdf3.c: Likewise.
193 * soft-fp/divsf3.c: Likewise.
194 * soft-fp/divtf3.c: Likewise.
195 * soft-fp/double.h: Likewise.
196 * soft-fp/eqdf2.c: Likewise.
197 * soft-fp/eqsf2.c: Likewise.
198 * soft-fp/eqtf2.c: Likewise.
199 * soft-fp/extenddftf2.c: Likewise.
200 * soft-fp/extended.h: Likewise.
201 * soft-fp/extendsfdf2.c: Likewise.
202 * soft-fp/extendsftf2.c: Likewise.
203 * soft-fp/extendxftf2.c: Likewise.
204 * soft-fp/fixdfdi.c: Likewise.
205 * soft-fp/fixdfsi.c: Likewise.
206 * soft-fp/fixdfti.c: Likewise.
207 * soft-fp/fixsfdi.c: Likewise.
208 * soft-fp/fixsfsi.c: Likewise.
209 * soft-fp/fixsfti.c: Likewise.
210 * soft-fp/fixtfdi.c: Likewise.
211 * soft-fp/fixtfsi.c: Likewise.
212 * soft-fp/fixtfti.c: Likewise.
213 * soft-fp/fixunsdfdi.c: Likewise.
214 * soft-fp/fixunsdfsi.c: Likewise.
215 * soft-fp/fixunsdfti.c: Likewise.
216 * soft-fp/fixunssfdi.c: Likewise.
217 * soft-fp/fixunssfsi.c: Likewise.
218 * soft-fp/fixunssfti.c: Likewise.
219 * soft-fp/fixunstfdi.c: Likewise.
220 * soft-fp/fixunstfsi.c: Likewise.
221 * soft-fp/fixunstfti.c: Likewise.
222 * soft-fp/floatdidf.c: Likewise.
223 * soft-fp/floatdisf.c: Likewise.
224 * soft-fp/floatditf.c: Likewise.
225 * soft-fp/floatsidf.c: Likewise.
226 * soft-fp/floatsisf.c: Likewise.
227 * soft-fp/floatsitf.c: Likewise.
228 * soft-fp/floattidf.c: Likewise.
229 * soft-fp/floattisf.c: Likewise.
230 * soft-fp/floattitf.c: Likewise.
231 * soft-fp/floatundidf.c: Likewise.
232 * soft-fp/floatundisf.c: Likewise.
233 * soft-fp/floatunditf.c: Likewise.
234 * soft-fp/floatunsidf.c: Likewise.
235 * soft-fp/floatunsisf.c: Likewise.
236 * soft-fp/floatunsitf.c: Likewise.
237 * soft-fp/floatuntidf.c: Likewise.
238 * soft-fp/floatuntisf.c: Likewise.
239 * soft-fp/floatuntitf.c: Likewise.
240 * soft-fp/gedf2.c: Likewise.
241 * soft-fp/gesf2.c: Likewise.
242 * soft-fp/getf2.c: Likewise.
243 * soft-fp/ledf2.c: Likewise.
244 * soft-fp/lesf2.c: Likewise.
245 * soft-fp/letf2.c: Likewise.
246 * soft-fp/muldf3.c: Likewise.
247 * soft-fp/mulsf3.c: Likewise.
248 * soft-fp/multf3.c: Likewise.
249 * soft-fp/negdf2.c: Likewise.
250 * soft-fp/negsf2.c: Likewise.
251 * soft-fp/negtf2.c: Likewise.
252 * soft-fp/op-1.h: Likewise.
253 * soft-fp/op-2.h: Likewise.
254 * soft-fp/op-4.h: Likewise.
255 * soft-fp/op-8.h: Likewise.
256 * soft-fp/op-common.h: Likewise.
257 * soft-fp/quad.h: Likewise.
258 * soft-fp/single.h: Likewise.
259 * soft-fp/soft-fp.h: Likewise.
260 * soft-fp/subdf3.c: Likewise.
261 * soft-fp/subsf3.c: Likewise.
262 * soft-fp/subtf3.c: Likewise.
263 * soft-fp/truncdfsf2.c: Likewise.
264 * soft-fp/trunctfdf2.c: Likewise.
265 * soft-fp/trunctfsf2.c: Likewise.
266 * soft-fp/trunctfxf2.c: Likewise.
267 * soft-fp/unorddf2.c: Likewise.
268 * soft-fp/unordsf2.c: Likewise.
269 * soft-fp/unordtf2.c: Likewise.
270
196b8968 2712016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
272
273 PR gcov-profile/67097
274 * libgcov-util.c (gcov_profile_merge): Skip missing files.
275
2d2b4107 2762016-08-10 Martin Liska <mliska@suse.cz>
277
278 PR gcov-profile/58306
279 * Makefile.in: New functions (modules) are added.
280 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
281 function.
282 (__gcov_pow2_profiler_atomic): New function.
283 (__gcov_one_value_profiler_body): New argument is instroduced.
284 (__gcov_one_value_profiler): Call with the new argument.
285 (__gcov_one_value_profiler_atomic): Likewise.
286 (__gcov_indirect_call_profiler_v2): Likewise.
287 (__gcov_time_profiler_atomic): New function.
288 (__gcov_average_profiler_atomic): Likewise.
289 (__gcov_ior_profiler_atomic): Likewise.
290 * libgcov.h: Declare the aforementioned functions.
291
ba662a81 2922016-08-09 Martin Liska <mliska@suse.cz>
293
294 * libgcov-util.c: Fix typo and GNU coding style.
295
2d917abb 2962016-08-09 Martin Liska <mliska@suse.cz>
297
298 * Makefile.in: Remove __gcov_indirect_call_profiler.
299 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
300 function.
301 * libgcov.h: And the declaration of the function.
302
defa7026 3032016-08-09 Martin Liska <mliska@suse.cz>
304
305 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
306 power of two.
307
cc308618 3082016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
309
310 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
311 * config/rs6000/_mulkc3.c: Likewise.
312
33d428f0 3132016-07-29 Georg-Johann Lay <avr@gjlay.de>
314
315 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
316 zero_reg as previous call to __umulhisi3 already cleared it.
317
04aca775 3182016-07-21 Aurelien Jarno <aurelien@aurel32.net>
319
320 PR target/59833
321 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
322
78c81e30 3232016-07-19 Nick Clifton <nickc@redhat.com>
324
325 * config.host (m32r): Add m32r/t-m32r to tmake_file.
326 Add crtinit.o and crtfini.o to extra_parts.
327
244f142f 3282016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
329
330 * config/rs6000/_divkc3.c: New.
331 * config/rs6000/_mulkc3.c: New.
332 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
333 and _divkc3.
334 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
335 fp128_ppc_funcs.
336
4623d929 3372016-07-11 Hale Wang <hale.wang@arm.com>
338 Andre Vieira <andre.simoesdiasvieira@arm.com>
339
340 * config/arm/lib1funcs.S: Add new wrapper.
341
2d079cbf 3422016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
343
344 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
345
baea7c0c 3462016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
347
348 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
349 and ARMv5t* rather than for a fixed list of architectures.
350
9e6f4af4 3512016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
352
353 * config/arm/bpabi-v6m.S: Clarify what architectures is the
354 implementation suitable for.
355 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
356 for all Thumb-1 only targets.
357 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
358 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
359 __ARM_ARCH_6M__.
360 (EQUIV): Likewise.
361 (ARM_FUNC_ALIAS): Likewise.
362 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
363 version.
364 (modsi3): Likewise.
365 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
366 (clzdi2): Likewise.
367 (ctzsi2): Likewise.
368 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
369 __ARM_ARCH_6M__ in guard for checking whether it is defined.
370 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
371 __ARM_ARCH_6M__ and add comment to indicate the connection between
372 this condition and the one in gcc/config/arm/elf.h.
373 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
374 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
375 * config/arm/t-softfp: Likewise.
376
286a203d 3772016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
378
379 * libgcc2.c (SYMBOL__MAIN): Remove checks for
380 CTOR_LISTS_DEFINED_EXTERNALLY.
381
dabe3026 3822016-06-28 Walter Lee <walt@tilera.com>
383
384 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
385 asm/unistd.h.
386 (SPR_CMPEXCH_VALUE): Define for tilegx.
387 (__NR_FAST_cmpxchg): Define for tilepro.
388 (__NR_FAST_atomic_update): Define for tilepro.
389 (__NR_FAST_cmpxchg64): Define for tilepro.
390
21ecea39 3912016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
392
2743281b 393 * config.host: Add suport for arm*-*-phoenix* targets.
21ecea39 394
03fee1f8 3952016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
396
397 * config.host: Remove support for mep-*.
398 * config/mep/lib1funcs.S: Remove.
399 * config/mep/lib2funcs.c: Remove.
400 * config/mep/t-mep: Remove.
401 * config/mep/tramp.c: Remove.
402
0f7d9ee5 4032016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
404
405 * config.host: Remove support for avr-rtems.
406 * config/avr/t-rtems: Remove.
407
13c64cbf 4082016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
409
410 * config.host: Remove m32r-rtems support.
411
dac5da06 4122016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
413
414 * config.host: Remove h8300-rtems support.
415
79573034 4162016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
417
418 * config.host: Remove support for knetbsd.
419
b79c0f5e 4202016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
421
422 * config.host: Remove support for openbsd 2 and 3.
423
6905db52 4242016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
425
426 * config.host: Remove interix support.
427 * config/i386/t-interix: Remove.
428
433e4812 4292016-06-18 John David Anglin <danglin@gcc.gnu.org>
430
431 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
432 least-significant bit in function pointer for fixup.
433
5d4123dc 4342016-06-05 Aaron Conole <aconole@redhat.com>
435 Nathan Sidwell <nathan@acm.org>
436
437 PR libgcc/71400
438 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
439 (get_gcov_error_file): Check __gcov_error_file before trying to
440 initialize it.
441 (gcov_error): Always use get_gcov_error_file.
442
3237fc56 4432016-06-02 Aaron Conole <aconole@redhat.com>
444
445 * libgcov-driver-system.c (__gcov_error_file): New.
446 (get_gcov_error_file): New.
447 (gcov_error): Use and set __gcov_error_file.
448 (gcov_error_exit): New.
449 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
450
16dbe651 4512016-05-26 Nathan Sidwell <nathan@acm.org>
452
453 * config/nvptx/free.asm: Delete.
454 * config/nvptx/malloc.asm: Delete.
455 * config/nvptx/realloc.c: Delete.
456 * t-nvptx: Update.
457
f6871bbd 4582016-05-25 Nathan Sidwell <nathan@acm.org>
459
460 * config/nvptx/crt0.s: Delete.
461 * config/nvptx/crt0.c: New.
462 * t-nvptx: Update.
463
51d42eb1 4642016-05-19 Sandra Loosemore <sandra@codesourcery.com>
465
61958e92 466 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
51d42eb1 467 dw2/seh configuration.
468 [x86_64-*-mingw*]: Likewise.
469
ffdf58db 4702016-05-10 Joel Sherrill <joel@rtems.org>
471
472 PR libgcc/70720
473 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
474 targets so the same extra_parts are built. Also have tmake_file add
475 on to its value rather than override.
476
9a9b5abf 4772016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
478
479 * config.host: Remove SH5 support.
480 * configure: Likewise.
481
f6fac0a1 4822016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
483
484 * config/sh/crt1.S: Remove SH5 support.
485 * config/sh/crti.S: Likewise.
486 * config/sh/crtn.S: Likewise.
487 * config/sh/lib1funcs-4-300.S: Likewise.
488 * config/sh/lib1funcs-Os-4-200.S: Likewise.
489 * config/sh/lib1funcs.S: Likewise.
490 * config/sh/linux-unwind.h: Likewise.
491 * config/sh/t-sh64: Delete.
492
7238c72c 4932016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
494
495 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
496
5caa55b9 4972016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
498 Joern Rennecke <joern.rennecke@embecosm.com>
499
500 * config/arc/crttls.S: New file.
501 * config/arc/t-arc: New rule.
502 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
503
10dd6506 5042016-04-25 Nick Clifton <nickc@redhat.com>
505
506 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
507 (__mspabi_cmpd): Likewise.
508 * config/msp430/floathidf.c (__floathidf): Likewise.
509 * config/msp430/floathisf.c (__floathisf): Likewise
510 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
511 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
512 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
513 second parameter.
514 (__ashrsi3): Likewise.
515
1701058d 5162016-04-21 Waldemar Brodkorb <wbx@openadk.org>
517
518 * config/m68k/linux-atomic.c: Do not include unistd.h
519
9703b760 5202016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
521
522 * config/arm/ieee754-df.S: Fix typos in comments.
523
62735984 5242016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
525
526 PR target/70381
527 * configure.ac (powerpc*-*-linux*): Rework tests to build
528 __float128 emulation routines to not depend on using #pragma GCC
529 target to enable -mfloat128.
530 * configure: Regnerate.
531
1c934c58 5322016-04-04 Eric Botcazou <ebotcazou@adacore.com>
533
534 PR target/67172
535 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
536 __MINGW32__ is defined.
537
28a5f334 5382016-03-28 James Bowman <james.bowman@ftdichip.com>
539
61958e92 540 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
28a5f334 541
88a2143c 5422016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
543
544 PR libgcc/70363
545 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
546 built with an assembler that does not support ISA 3.0
547 instructions, rename __extendkftf2_sw to __extendkftf2.
548
ed3d624c 5492016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
550
551 PR target/38239
552 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
553 call-clobbered registers.
554 (internal_mcount): Remove __i386__ handling.
555
1e085786 5562016-02-26 Joel Sherrill <joel@rtems.org>
557
558 * config.host: Add x86_64-*-rtems*.
559
05ea12a2 5602016-02-26 Joel Sherrill <joel@rtems.org>
561
562 * libgcc/config.host: Add aarch64-*-rtems*.
563
9b71efb9 5642016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
565 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
566
567 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
568 union of u64 and double.
569 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
570 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
571 value.
572 (FP_ROUNDMODE): Update the usage of _fpscr.
573
e59c8b12 5742016-02-25 Ilya Verbin <ilya.verbin@intel.com>
575
576 PR driver/68463
577 * Makefile.in (crtoffloadtable$(objext)): New rule.
578 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
579 enable_offload_targets is not empty.
580 * configure: Regenerate.
581 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
582 crtoffloadtable.
583
1fa780ac 5842016-02-17 Max Filippov <jcmvbkbc@gmail.com>
585
586 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
587 .literal_position before the function.
588 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
589 Likewise.
590
c6d481f7 5912016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
592
593 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
594 * config/s390/morestack.S: New file.
595 * config/s390/t-stack-s390: New file.
596 * generic-morestack.c (__splitstack_find): Add s390-specific code.
597
d58f7073 5982016-02-12 Walter Lee <walt@tilera.com>
599
600 * config.host (tilegx*-*-linux*): remove ti from
601 softfp_int_modes for 32-bit configs.
602
43cfc88a 6032016-02-10 Ian Lance Taylor <iant@google.com>
604
605 PR go/68562
606 * config/i386/morestack.S (__stack_split_initialize): Align
607 stack.
608
ad2fe514 6092016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
610
611 PR bootstrap/69611
612 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
613 __FLOAT128__ to compile only for __float128 capable targets.
614
92e91d03 6152016-01-25 Jakub Jelinek <jakub@redhat.com>
616
617 PR target/69444
618 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
619 instead of ___NO_FPRS__.
620
d99eec2c 6212016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 622 Steven Munroe <munroesj@linux.vnet.ibm.com>
623 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
d99eec2c 624
625 * config/rs6000/float128-sed: New files to convert TF names to KF
626 names for PowerPC IEEE 128-bit floating point support.
627 * config/rs6000/float128-sed-hw: Likewise.
628
629 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
630 floating point hardware support.
631
632 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
633 128-bit floating point software emulation or use ISA 3.0 hardware
634 support if it is available.
635
636 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
637 floating point.
638
639 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
640 floating point to IBM extended double.
641
642 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
643 double to IEEE 128-bit floating point.
644
645 * config/rs6000/t-float128: New Makefile fragments to enable
646 building __float128 emulation support.
647 * config/rs6000/t-float128-hw: Likewise.
648
649 * config/rs6000/sfp-exceptions.c: New file to provide exception
650 support for IEEE 128-bit floating point.
651
652 * config/rs6000/floattikf.c: New files for converting between IEEE
653 128-bit floating point and signed/unsigned 128-bit integers.
654 * config/rs6000/fixunskfti.c: Likewise.
655 * config/rs6000/fixkfti.c: Likewise.
656 * config/rs6000/floatuntikf.c: Likewise.
657
658 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
659 when building on 64-bit systems, or when VSX is enabled.
660 (_FP_W_TYPE): Likewise.
661 (_FP_WS_TYPE): Likewise.
662 (_FP_I_TYPE): Likewise.
663 (TItype): Define on 64-bit systems.
664 (UTItype): Likewise.
665 (TI_BITS): Likewise.
666 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
667 (_FP_MUL_MEAT_Q): Likewise.
668 (_FP_DIV_MEAT_D): Likewise.
669 (_FP_DIV_MEAT_Q): Likewise.
670 (_FP_NANFRAC_D): Likewise.
671 (_FP_NANFRAC_Q): Likewise.
672 (ISA_BIT): Add exception support if we are being compiled on a
673 machine with hardware floating point support to build the IEEE
674 128-bit emulation functions.
675 (FP_EX_INVALID): Likewise.
676 (FP_EX_OVERFLOW): Likewise.
677 (FP_EX_UNDERFLOW): Likewise.
678 (FP_EX_DIVZERO): Likewise.
679 (FP_EX_INEXACT): Likewise.
680 (FP_EX_ALL): Likewise.
681 (__sfp_handle_exceptions): Likewise.
682 (FP_HANDLE_EXCEPTIONS): Likewise.
683 (FP_RND_NEAREST): Likewise.
684 (FP_RND_ZERO): Likewise.
685 (FP_RND_PINF): Likewise.
686 (FP_RND_MINF): Likewise.
687 (FP_RND_MASK): Likewise.
688 (_FP_DECL_EX): Likewise.
689 (FP_INIT_ROUNDMODE): Likewise.
690 (FP_ROUNDMODE): Likewise.
691
692 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
693 VSX code, enable IEEE 128-bit floating point. If the compiler can
694 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
695 floating point hardware instructions and it supports declaring
696 functions with the ifunc attribute, enable ifunc functions to
697 switch between software and hardware support.
698 * configure.ac (powerpc*-*-linux*): Likewise.
699 * configure: Regenerate.
700
f557f14d 7012016-01-15 Nick Clifton <nickc@redhat.com>
702
703 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
704 dependency as the source file to be compiled.
705 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
706 (lib2hw_mul_f5.o): Likewise.
707
0e0d3ecb 7082016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
709
710 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
711 * libgcc/config/rs6000/fixkfti.c: Likewise.
712 * libgcc/config/rs6000/fixunskfti.c: Likewise.
713 * libgcc/config/rs6000/float128-hw.c: Likewise.
714 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
715 * libgcc/config/rs6000/float128-sed: Likewise.
716 * libgcc/config/rs6000/floattikf.c: Likewise.
717 * libgcc/config/rs6000/floatuntikf.c: Likewise.
718 * libgcc/config/rs6000/quad-float128.h: Likewise.
719 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
720 * libgcc/config/rs6000/sfp-machine.h: Likewise.
721 * libgcc/config/rs6000/t-float128: Likewise.
722 * libgcc/config/rs6000/t-float128-hw: Likewise.
723 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
724 * libgcc/config.host: Likewise.
725 * libgcc/configure: Likewise.
726 * libgcc/configure.ac: Likewise.
727
398368d8 7282016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 729 Steven Munroe <munroesj@linux.vnet.ibm.com>
730 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
398368d8 731
732 * config/rs6000/sfp-exceptions.c: New file to provide exception
733 support for IEEE 128-bit floating point.
734
735 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
736 floating point hardware support.
737
738 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
739 point conversions.
740 * config/rs6000/fixunskfti.c: Likewise.
741 * config/rs6000/fixkfti.c: Likewise.
742 * config/rs6000/floatuntikf.c: Likewise.
743 * config/rs6000/extendkftf2-sw.c: Likewise.
744 * config/rs6000/trunctfkf2-sw.c: Likewise.
745
746 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
747 128-bit floating point software emulation or use ISA 3.0 hardware
748 support if it is available.
749
750 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
751 floating point.
752
753 * config/rs6000/t-float128: New Makefile fragments to enable
754 building __float128 emulation support.
755 * config/rs6000/t-float128-hw: Likewise.
756
757 * config/rs6000/float128-sed: New file to convert TF names to KF
758 names for PowerPC IEEE 128-bit floating point support.
759
760 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
761 when building on 64-bit systems, or when VSX is enabled.
762 (_FP_W_TYPE): Likewise.
763 (_FP_WS_TYPE): Likewise.
764 (_FP_I_TYPE): Likewise.
765 (TItype): Define on 64-bit systems.
766 (UTItype): Likewise.
767 (TI_BITS): Likewise.
768 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
769 (_FP_MUL_MEAT_Q): Likewise.
770 (_FP_DIV_MEAT_D): Likewise.
771 (_FP_DIV_MEAT_Q): Likewise.
772 (_FP_NANFRAC_D): Likewise.
773 (_FP_NANFRAC_Q): Likewise.
774 (ISA_BIT): Add exception support if we are being compiled on a
775 machine with hardware floating point support to build the IEEE
776 128-bit emulation functions.
777 (FP_EX_INVALID): Likewise.
778 (FP_EX_OVERFLOW): Likewise.
779 (FP_EX_UNDERFLOW): Likewise.
780 (FP_EX_DIVZERO): Likewise.
781 (FP_EX_INEXACT): Likewise.
782 (FP_EX_ALL): Likewise.
783 (__sfp_handle_exceptions): Likewise.
784 (FP_HANDLE_EXCEPTIONS): Likewise.
785 (FP_RND_NEAREST): Likewise.
786 (FP_RND_ZERO): Likewise.
787 (FP_RND_PINF): Likewise.
788 (FP_RND_MINF): Likewise.
789 (FP_RND_MASK): Likewise.
790 (_FP_DECL_EX): Likewise.
791 (FP_INIT_ROUNDMODE): Likewise.
792 (FP_ROUNDMODE): Likewise.
793
794 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
795 compiler can do __float128.
796 * configure: Regenerate.
797
798 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
799 VSX code, enable IEEE 128-bit floating point.
800
25cbccba 8012016-01-05 Olivier Hainque <hainque@adacore.com>
802
803 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
398368d8 804 specificities.
25cbccba 805
f1717362 8062016-01-04 Jakub Jelinek <jakub@redhat.com>
807
808 Update copyright years.
809
444b6906 8102015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
811
812 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
398368d8 813 soft-fp targets.
444b6906 814
9ff93578 8152015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
816
817 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
818 instead of abort to avoid dependency on stdlib.h.
819
a59e6fa6 8202015-12-09 John David Anglin <danglin@gcc.gnu.org>
821
822 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
823 to initialize call to __dl_fixup once.
824
7ed86ba5 8252015-12-04 Nick Clifton <nickc@redhat.com>
826
827 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
828 Allow for the second argument being negative.
829 * config.host (extra_parts): Define for MSP430. Create separate
830 libraries for each of the hardware multiply formats.
831 * config/msp430/lib2hw_mul.S: Build only the multiply routines
832 that are needed.
833 * config/msp430/lib2mul.c: Likewise.
834 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
835 Add rules to build hardware multiply libraries.
836 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
837 __mspabi_divul function.
838 (__mspabi_divllu): New stub function.
839
2ec62878 8402015-12-01 John David Anglin <danglin@gcc.gnu.org>
841
842 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
843 fixup values if saved GOT address doesn't match runtime address.
844 (fixup_branch_offset): Reorder list.
845
08de21a4 8462015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
847
848 * Makefile.in (VTV_CFLAGS): New variable.
849 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
850 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
851 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
852 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
853 to extra_parts if $enable_vtable_verify = yes.
854
7824e89a 8552015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
856
857 PR target/68059
858 * config/arm/linux-atomic-64bit.c (__write): Rename to...
859 (write): ...this and fix the return type.
860
c0b6819e 8612015-11-19 DJ Delorie <dj@redhat.com>
862
863 * config/msp430/lib2hw_mul.S: Fix alignment.
864
1927fff5 8652015-11-18 Nathan Sidwell <nathan@codesourcery.com>
866
867 * config/nvptx/reduction.c: New.
868 * config/nvptx/t-nvptx (LIB2ADD): Add it.
869
5bbad880 8702015-11-15 David Edelsohn <dje.gcc@gmail.com>
871
872 * config/rs6000/on_exit.c: New file.
873 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
874 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
875
0c4d7986 8762015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
877
878 * config/arc/dp-hack.h: Add support for ARCHS.
879 * config/arc/ieee-754/divdf3.S: Likewise.
880 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
881 * config/arc/ieee-754/muldf3.S: Likewise.
882 * config/arc/ieee-754/mulsf3.S: Likewise
883 * config/arc/lib1funcs.S: Likewise
884 * config/arc/gmon/dcache_linesz.S: Don't read the build register
885 for ARCv2 cores.
886 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
887 for ARCv2 cores.
888 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
889 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
890 cores.
891
4fa8daf5 8922015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
893
894 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
895 value.
896 * config/ia64/crtend.S: Likewise.
897
d2dc729f 8982015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
899
900 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
901 __CHAR_BIT__ instead of BITS_PER_UNIT.
902 * fixed-bit.h: Likewise.
903 * fp-bit.h: Likewise.
904 * libgcc2.c (__popcountSI2): Likewise.
905 (__popcountDI2): Likewise.
906 * libgcc2.h: Likewise.
907 * libgcov.h: Likewise.
908
69de5ea9 9092015-11-07 David Edelsohn <dje.gcc@gmail.com>
910
911 * config/rs6000/atexit.c: New file.
912 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
913 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
914 * config/rs6000/cxa_finalize.c
915 (catomic_compare_and_exchange_bool_acq): Negate return value.
916
47ce082f 9172015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
918
919 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
920 (processor_subtypes): Add znver1.
921 (get_amd_cpu): Detect znver1.
922
18e98669 9232015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
924
925 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
926 Include crtfastmath.o.
927
9003096f 9282015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
929
930 PR libgcc/66883
931 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
18e98669 932
2ee6cfdb 9332015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
934
935 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
936 * config/rl78/divmodsi.S: Update return register to r8.
937 * config/rl78/divmodhi.S: Update return register to r8,r9.
938 Branch to main_loop_done_himode to pop registers before return.
939
92e91d03 9402015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5814084e 941
942 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
943 (__cpu_indicator_init): Fix model selection for AMD CPUs.
944
6c1b774a 9452015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
946
947 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
948
e3c15dbe 9492015-10-03 Max Filippov <jcmvbkbc@gmail.com>
950
951 * config.host (xtensa*-*-uclinux*): New configuration.
952
767110dd 9532015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
954
61958e92 955 * config/i386/cpuinfo.c (processor_features): Add
767110dd 956 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
957
b576f5d8 9582015-09-28 Joseph Myers <joseph@codesourcery.com>
959
960 * soft-fp/adddf3.c: Update from glibc.
961 * soft-fp/addsf3.c: Likewise.
962 * soft-fp/addtf3.c: Likewise.
963 * soft-fp/divdf3.c: Likewise.
964 * soft-fp/divsf3.c: Likewise.
965 * soft-fp/divtf3.c: Likewise.
966 * soft-fp/double.h: Likewise.
967 * soft-fp/eqdf2.c: Likewise.
968 * soft-fp/eqsf2.c: Likewise.
969 * soft-fp/eqtf2.c: Likewise.
970 * soft-fp/extenddftf2.c: Likewise.
971 * soft-fp/extended.h: Likewise.
972 * soft-fp/extendsfdf2.c: Likewise.
973 * soft-fp/extendsftf2.c: Likewise.
974 * soft-fp/extendxftf2.c: Likewise.
975 * soft-fp/fixdfdi.c: Likewise.
976 * soft-fp/fixdfsi.c: Likewise.
977 * soft-fp/fixdfti.c: Likewise.
978 * soft-fp/fixsfdi.c: Likewise.
979 * soft-fp/fixsfsi.c: Likewise.
980 * soft-fp/fixsfti.c: Likewise.
981 * soft-fp/fixtfdi.c: Likewise.
982 * soft-fp/fixtfsi.c: Likewise.
983 * soft-fp/fixtfti.c: Likewise.
984 * soft-fp/fixunsdfdi.c: Likewise.
985 * soft-fp/fixunsdfsi.c: Likewise.
986 * soft-fp/fixunsdfti.c: Likewise.
987 * soft-fp/fixunssfdi.c: Likewise.
988 * soft-fp/fixunssfsi.c: Likewise.
989 * soft-fp/fixunssfti.c: Likewise.
990 * soft-fp/fixunstfdi.c: Likewise.
991 * soft-fp/fixunstfsi.c: Likewise.
992 * soft-fp/fixunstfti.c: Likewise.
993 * soft-fp/floatdidf.c: Likewise.
994 * soft-fp/floatdisf.c: Likewise.
995 * soft-fp/floatditf.c: Likewise.
996 * soft-fp/floatsidf.c: Likewise.
997 * soft-fp/floatsisf.c: Likewise.
998 * soft-fp/floatsitf.c: Likewise.
999 * soft-fp/floattidf.c: Likewise.
1000 * soft-fp/floattisf.c: Likewise.
1001 * soft-fp/floattitf.c: Likewise.
1002 * soft-fp/floatundidf.c: Likewise.
1003 * soft-fp/floatundisf.c: Likewise.
1004 * soft-fp/floatunditf.c: Likewise.
1005 * soft-fp/floatunsidf.c: Likewise.
1006 * soft-fp/floatunsisf.c: Likewise.
1007 * soft-fp/floatunsitf.c: Likewise.
1008 * soft-fp/floatuntidf.c: Likewise.
1009 * soft-fp/floatuntisf.c: Likewise.
1010 * soft-fp/floatuntitf.c: Likewise.
1011 * soft-fp/gedf2.c: Likewise.
1012 * soft-fp/gesf2.c: Likewise.
1013 * soft-fp/getf2.c: Likewise.
1014 * soft-fp/ledf2.c: Likewise.
1015 * soft-fp/lesf2.c: Likewise.
1016 * soft-fp/letf2.c: Likewise.
1017 * soft-fp/muldf3.c: Likewise.
1018 * soft-fp/mulsf3.c: Likewise.
1019 * soft-fp/multf3.c: Likewise.
1020 * soft-fp/negdf2.c: Likewise.
1021 * soft-fp/negsf2.c: Likewise.
1022 * soft-fp/negtf2.c: Likewise.
1023 * soft-fp/op-1.h: Likewise.
1024 * soft-fp/op-2.h: Likewise.
1025 * soft-fp/op-4.h: Likewise.
1026 * soft-fp/op-8.h: Likewise.
1027 * soft-fp/op-common.h: Likewise.
1028 * soft-fp/quad.h: Likewise.
1029 * soft-fp/single.h: Likewise.
1030 * soft-fp/soft-fp.h: Likewise.
1031 * soft-fp/subdf3.c: Likewise.
1032 * soft-fp/subsf3.c: Likewise.
1033 * soft-fp/subtf3.c: Likewise.
1034 * soft-fp/truncdfsf2.c: Likewise.
1035 * soft-fp/trunctfdf2.c: Likewise.
1036 * soft-fp/trunctfsf2.c: Likewise.
1037 * soft-fp/trunctfxf2.c: Likewise.
1038 * soft-fp/unorddf2.c: Likewise.
1039 * soft-fp/unordsf2.c: Likewise.
1040 * soft-fp/unordtf2.c: Likewise.
1041
0ed0ef69 10422015-09-24 Richard Earnshaw <rearnsha@arm.com>
1043
1044 PR libgcc/67624
1045 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1046
80fc7cb7 10472015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1048
1049 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1050 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1051 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1052 messages.
1053 (internal_mcount): Likewise.
1054 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1055 crt_compile, add CRTSTUFF_T_CFLAGS_S.
1056
ba24ad38 10572015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1058
1059 * configure.ac (libgcc_cv_solaris_crts): New test.
1060 * configure: Regenerate.
1061 * config.in: Regenerate.
1062 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1063 * config/gmon-sol2.c: Rename to ...
1064 * config/sol2/gmon.c: ... this.
1065 Include auto-target.h.
1066 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1067 * config/t-sol2: Rename to ...
1068 * config/sol2/t-sol2: ... this.
1069 (gmon.o): Reflect renaming.
1070 (crtp.o, crtpg.o): New rules.
1071 * config.host (*-*-solaris2*): Reflect renaming.
1072 Use system CRTs if present.
1073 Remove default CRT case.
1074
c2ab7513 10752015-09-23 John David Anglin <danglin@gcc.gnu.org>
1076
1077 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1078 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1079 __kernel_cmpxchg2.
1080 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1081 (__sync_val_compare_and_swap_##WIDTH): Likewise.
1082 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1083 (__sync_lock_test_and_set_##WIDTH): Likewise.
1084 (__sync_lock_release_##WIDTH): Likewise.
1085 (__sync_fetch_and_##OP##_4): Change result to match type of
1086 __kernel_cmpxchg.
1087 (__sync_##OP##_and_fetch_4): Likewise.
1088 (__sync_val_compare_and_swap_4): Likewise.
1089 (__sync_bool_compare_and_swap_4): likewise.
1090 (__sync_lock_test_and_set_4): Likewise.
1091 (__sync_lock_release_4): Likewise.
1092 (FETCH_AND_OP_2): Add long long variants.
1093 (OP_AND_FETCH_2): Likewise.
1094 (COMPARE_AND_SWAP_2 ): Likewise.
1095 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1096 (SYNC_LOCK_RELEASE_2): Likewise.
1097 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1098
92e91d03 10992015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
f96d88a8 1100
1101 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1102 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1103 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1104 (get_available_features): Habdle new features.
1105
672cc719 11062015-09-21 James Bowman <james.bowman@ftdichip.com>
1107
1108 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1109 memory layout. Deal correctly with BSS region larger than 32K.
1110 Handle a watchdog reset like a power-on reset. Clean up unused
1111 code.
1112
552a60d3 11132015-09-18 Andrew Dixie <andrewd@gentrack.com>
1114 David Edelsohn <dje.gcc@gmail.com>
1115
1116 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1117 * config/rs6000/crtdbase.S: New file.
1118 * config/rs6000/t-aix-cxa: Build crtdbase.o.
1119
f12cf9f4 11202015-09-15 Max Filippov <jcmvbkbc@gmail.com>
1121
1122 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1123 Add support for call0 ABI.
1124
9d8ce924 11252015-09-13 John David Anglin <danglin@gcc.gnu.org>
1126
1127 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1128
196c8383 11292015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
1130
1131 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1132 (__GTHREAD_HAS_COND): Likewise.
1133 (__gthread_t): Likewise.
1134 (__gthread_cond_t): Likewise.
1135 (__gthread_time_t): Likewise.
1136 (__GTHREAD_MUTEX_INIT): Likewise.
1137 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1138 (__GTHREAD_COND_INIT): Likewise.
1139 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1140 (__GTHREAD_TIME_INIT): Likewise.
1141 (__gthread_create): Likewise.
1142 (__gthread_join): Likewise.
1143 (__gthread_detach): Likewise.
1144 (__gthread_equal): Likewise.
1145 (__gthread_self): Likewise.
1146 (__gthread_yield): Likewise.
1147 (__gthread_cond_broadcast): Likewise.
1148 (__gthread_cond_signal): Likewise.
1149 (__gthread_cond_wait): Likewise.
1150 (__gthread_cond_timedwait): Likewise.
1151 (__gthread_cond_wait_recursive): Likewise.
1152 (__gthread_cond_destroy): Likewise.
1153 (rtems_gxx_once): Delete.
1154 (rtems_gxx_key_create): Likewise.
1155 (rtems_gxx_key_delete): Likewise.
1156 (rtems_gxx_getspecific): Likewise.
1157 (rtems_gxx_setspecific): Likewise.
1158 (rtems_gxx_mutex_init): Likewise.
1159 (rtems_gxx_mutex_destroy): Likewise.
1160 (rtems_gxx_mutex_lock): Likewise.
1161 (rtems_gxx_mutex_trylock): Likewise.
1162 (rtems_gxx_mutex_unlock): Likewise.
1163 (rtems_gxx_recursive_mutex_init): Likewise.
1164 (rtems_gxx_recursive_mutex_lock): Likewise.
1165 (rtems_gxx_recursive_mutex_trylock): Likewise.
1166 (rtems_gxx_recursive_mutex_unlock): Likewise.
1167 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1168 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1169 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1170 (__gthread_once): Likewise.
1171 (__gthread_key_create): Likewise.
1172 (__gthread_key_delete): Likewise.
1173 (__gthread_getspecific): Likewise.
1174 (__gthread_setspecific): Likewise.
1175 (__gthread_key_t): Use <pthread.h> type.
1176 (__gthread_once_t): Likewise
1177 (__gthread_mutex_t): Use <sys/lock.h> type.
1178 (__gthread_recursive_mutex_t): Likewise
1179 (__gthread_mutex_lock): Use <sys/lock.h> function.
1180 (__gthread_mutex_trylock): Likewise.
1181 (__gthread_mutex_timedlock): Likewise.
1182 (__gthread_mutex_unlock): Likewise.
1183 (__gthread_mutex_destroy): Likewise.
1184 (__gthread_recursive_mutex_lock): Likewise.
1185 (__gthread_recursive_mutex_trylock): Likewise.
1186 (__gthread_recursive_mutex_timedlock): Likewise.
1187 (__gthread_recursive_mutex_unlock): Likewise.
1188 (__gthread_recursive_mutex_destroy): Likewise.
1189
15b21d23 11902015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1191
1192 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1193 context->sp instead of context->cfa.
1194
8a596a77 11952015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1196
1197 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1198 with unwind-dw2-fde-dip.
1199
863356ea 12002015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1201
1202 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1203 CALL12 followed by series of ENTRY to spill windowed registers.
1204 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1205 instead of making linux spill syscall.
1206
58bb1dbe 12072015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
1208
1209 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1210 (get_intel_cpu): Likewise.
1211
cba3f034 12122015-08-12 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1215 (get_intel_cpu): Add Knights Landing support.
1216
aca0ff16 12172015-08-11 Uros Bizjak <ubizjak@gmail.com>
1218
1219 PR target/66954
1220 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1221 (get_available_features): Handle FEATURE_PCLMUL.
1222
71b19c56 12232015-08-10 H.J. Lu <hongjiu.lu@intel.com>
1224
1225 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1226 Broadwell.
1227
ff285c74 12282015-07-22 Uros Bizjak <ubizjak@gmail.com>
1229
1230 PR target/66954
1231 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1232 (get_available_features): Handle FEATURE_AES.
1233
a46441d0 12342015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
1235
1236 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1237 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1238
4e985e0f 12392015-07-17 Nathan Sidwell <nathan@codesourcery.com>
1240
1241 * offloadstuff.c: Constify host data.
1242
c780eb05 12432015-07-17 Jan Beulich <jbeulich@suse.com>
1244
1245 * config/t-softfp: Split up "else ifneq".
1246
70425b26 12472015-07-14 Sandra Loosemore <sandra@codesourcery.com>
1248 Cesar Philippidis <cesar@codesourcery.com>
1249 Chung-Lin Tang <cltang@codesourcery.com>
1250
1251 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1252 for __nios2_arch__ level.
1253
6c8a3242 12542015-07-13 John Marino <gnugcc@marino.st>
1255
1256 * config/i386/t-dragonfly: New.
1257
d277282f 12582015-07-01 John David Anglin <danglin@gcc.gnu.org>
1259
1260 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1261 better match light-weight syscall argument order.
1262 (__kernel_cmpxchg2): Likewise.
1263 Adjust callers.
1264
146896ec 12652015-06-30 H.J. Lu <hongjiu.lu@intel.com>
1266
1267 * config.host: Support i[34567]86-*-elfiamcu target.
1268 * config/t-softfp-sfdftf: New file.
1269 * config/i386/32/t-iamcu: Likewise.
1270 * configure: Regenerated.
1271
58ddcdad 12722015-06-23 James Lemke <jwlemke@codesourcery.com>
1273
1274 libgcc/config/arm/
1275 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1276
e9abca4f 12772015-05-27 H.J. Lu <hongjiu.lu@intel.com>
1278
1279 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1280
92e91d03 12812015-05-27 John Marino <gnugcc@marino.st>
328976ed 1282
1283 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1284 md_unwind_header
1285 * config/i386/freebsd-unwind.h: New.
1286
2a8549e0 12872015-05-22 Uros Bizjak <ubizjak@gmail.com>
1288
1289 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1290 i386/t-crtfm to tmake_file.
1291 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1292 (set_fast_math): Use set_fast_math_sse for SSE targets.
1293 * config/i386/t-crtfm: Remove.
1294
b5d18737 12952015-05-21 Alan Modra <amodra@gmail.com>
1296
1297 PR libgcc/66225
1298 * config/rs6000/morestack.S: Remove ".abiversion 1".
1299
ec3f28c9 13002015-05-20 Alan Modra <amodra@gmail.com>
1301
1302 * config/rs6000/morestack.S: New.
1303 * config/rs6000/t-stack-rs6000: New.
1304 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1305 to tmake_file.
1306 * generic-morestack.c: Don't build for powerpc 32-bit.
1307
11087c28 13082015-05-19 Eric Botcazou <ebotcazou@adacore.com>
1309
1310 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1311 Remove useless endif/ifneq ($(enable_shared),yes) pair.
1312
f29929b5 13132015-05-16 James Bowman <james.bowman@ftdichip.com>
1314
1315 * config.host: FT32 target added.
1316 * config/ft32/*: New files for FT32 target.
1317
ce86a36a 13182015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
1319
61958e92 1320 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1321 New macros.
1322 * config/arm/ieee754-df.S: Add CFI directives.
1323 * config/arm/ieee754-sf.S: Add CFI directives.
ce86a36a 1324
177cc56c 13252015-05-13 Eric Botcazou <ebotcazou@adacore.com>
1326
1327 * configure.ac: Include config/sjlj.m4.
1328 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1329 * config.in: Regenerate.
1330 * configure: Likewise.
1331 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1332
a8a5046c 13332015-05-12 Uros Bizjak <ubizjak@gmail.com>
1334
1335 * libgcov-util.c: Add space between string literal and macro name.
1336
1ddaa252 13372015-05-06 Sandra Loosemore <sandra@codesourcery.com>
1338 Chris Jones <chrisj@nvidia.com>
1339 Joshua Conner <jconner@nvidia.com>
1340
1341 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1342 (arm*-*-uclinux*): Likewise.
1343 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1344 * config/arm/crtfastmath.c: New file.
1345
162f9d1e 13462014-04-29 Bernd Schmidt <bernds@codesourcery.com>
1347
1348 * Makefile.in (real_host_noncanonical): New variable.
1349 (libsubdir): Use it.
1350 * configure.ac (real_host_noncanonical): Compute. Remove special
1351 case for intelmicemul.
1352 * configure: Regenerate.
1353
005a5ef5 13542015-04-28 Uros Bizjak <ubizjak@gmail.com>
1355
1356 * config/frv/elf-lib.h: New file.
1357 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1358 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1359 to tm_file.
1360
13612015-04-28 Uros Bizjak <ubizjak@gmail.com>
1362
1363 * config/frv/frvbengin.c: Do not include defaults.h
1364 * config/frv/frvend.c: Ditto.
1365
acff2768 13662015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
1367
1368 * config.host: Add h8300-*-linux
1369 * config/h8300/t-linux: New file.
1370 * config/h8300/lib1funs.s: Change symbol prefix.
1371 * config/h8300/sfp-machine.h: 64bit double support.
1372
a2e31d06 13732015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
1374 Szabolcs Nagy <szabolcs.nagy@arm.com>
1375
1376 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1377 Linux if target provides dl_iterate_phdr.
1378
4b5fb32a 13792015-04-17 H.J. Lu <hongjiu.lu@intel.com>
1380
1381 PR target/65612
1382 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1383 * config/i386/cpuinfo.c (__cpu_model): Initialize.
1384 (__cpu_indicator_init@GCC_4.8.0): New.
1385 (__cpu_model@GCC_4.8.0): Likewise.
1386 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1387 -DUSE_ELF_SYMVER.
1388
e98e1692 13892015-04-16 Nick Clifton <nickc@redhat.com>
1390
1391 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1392 and __modhi3 functions.
1393 * config/rl78/divmodso.S: Add G14 and G13 versions of the
1394 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1395
a0093a4f 13962015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
1397
1398 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1399 do-while loop as macro body to avoid warnings.
1400
fb5ccd6d 14012015-04-10 Jakub Jelinek <jakub@redhat.com>
1402 Iain Sandoe <iain@codesourcery.com>
1403
1404 PR target/65351
1405 * configure: Regenerate.
1406
b1b085e0 14072015-04-07 Jakub Jelinek <jakub@redhat.com>
1408 Iain Sandoe <iain@codesourcery.com>
1409
1410 PR target/65351
1411 * configure: Regenerate.
1412
7ca58a65 14132015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
1414
1415 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1416
b89c671b 14172015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7ca58a65 1418
b89c671b 1419 Implement call0 ABI for xtensa
1420 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1421 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1422 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1423 use ret in call0 ABI.
1424 * config/xtensa/t-windowed: New file.
1425 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1426 * libgcc/configure: Regenerated.
1427 * libgcc/configure.ac: Check if xtensa target is configured for
1428 windowed ABI and thus needs to use custom unwind code.
1429
69831bb2 14302015-02-12 Jonathan Wakely <jwakely@redhat.com>
1431
1432 PR libgcc/64885
1433 * gthr-single.h: Use __unused__ attribute instead of unused.
1434 * config/gthr-vxworks.h: Likewise.
1435 * config/i386/gthr-win32.h: Likewise.
1436
c905381f 14372015-02-27 Kai Tietz <ktietz@redhat.com>
1438
1439 PR target/65038
1440 * config.in: Regenerated.
1441 * configure: Likewise.
1442 * configure.ac (AC_HEADER_STDC): Added explicit.
1443 (AC_CHECK_HEADERS): Check for default headers plus
1444 for ftw.h header.
1445 * libgcov-util.c (gcov_read_profile_dir): Disable use
1446 of ftw-function, if header is not found.
1447 (ftw_read_file): Likewise.
1448
0853f8db 14492015-02-23 Thomas Schwinge <thomas@codesourcery.com>
1450
1451 PR target/65181
1452 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1453 -Dinhibit_libc.
1454
1c55a862 14552015-02-17 Sandra Loosemore <sandra@codesourcery.com>
1456
1457 * config/arm/bpabi.S (test_div_by_zero): Make label names
1458 consistent between thumb2 and arm mode cases. Separate the
1459 signed comparison on the high word of the numerator from the
1460 unsigned comparison on the low word.
1461 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1462 signed comparison.
1463
6014aff2 14642015-02-17 Joseph Myers <joseph@codesourcery.com>
1465
1466 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1467 and <string.h>.
1468 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1469
a698bcaa 14702015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
1471
1472 PR gcov-profile/61889
3083dd2f 1473 * libgcov-driver-system.c: undefine clashing macro for mkdir.
a698bcaa 1474
889a65e7 14752015-02-02 Nick Clifton <nickc@redhat.com>
1476
1477 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1478 rounding up the fraction.
1479
f3b68f27 14802015-01-31 John David Anglin <danglin@gcc.gnu.org>
1481
1482 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1483 oldval and newval to const void *. Fix typo.
1484 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1485 (FETCH_AND_OP_WORD): Likewise.
1486 (OP_AND_FETCH_WORD): Likewise.
1487 (COMPARE_AND_SWAP_2): Likewise.
1488 (__sync_val_compare_and_swap_4): Likewise.
1489 (__sync_lock_test_and_set_4): Likewise.
1490 (SYNC_LOCK_RELEASE_2): Likewise.
1491 Remove support for long long atomic operations.
1492
5be42fa9 14932015-01-27 Caroline Tice <cmtice@google.com>
1494
1495 Committing VTV Cywin/Ming patch for Patrick Wollgast
1496 * Makefile.in: Move rules to build vtv_*.o out of the check
1497 for CUSTOM_CRTSTUFF.
1498 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1499 i[34567]86-*-mingw*)
1500 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1501 enable_vtable_verify.
1502
45e05b5a 15032015-01-27 Nick Clifton <nickc@redhat.com>
1504
1505 * config/rl78/cmpsi2.S: Use function start and end macros.
1506 (__gcc_bcmp): New function.
1507 * config/rl78/lshrsi3.S: Use function start and end macros.
1508 * config/rl78/mulsi3.S: Add support for G10.
1509 (__mulqi3): New function for G10.
1510 * config/rl78/signbit.S: Use function start and end macros.
1511 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1512 fpmath-sf.S.
1513 (LIB2FUNCS_EXCLUDE): Define.
1514 (LIB2FUNCS_ST): Define.
1515 * config/rl78/trampoline.S: Use function start and end macros.
1516 * config/rl78/vregs.h (START_FUNC): New macro.
1517 (START_ANOTHER_FUNC): New macro.
1518 (END_FUNC): New macro.
1519 (END_ANOTHER_FUNC): New macro.
1520 * config/rl78/bit-count.S: New file. Contains assembler
1521 implementations of the bit counting functions: ___clzhi2,
1522 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1523 __paritysi2, __popcounthi2 and __popcountsi2.
1524 * config/rl78/fpbit-sf.S: New file. Contains assembler
1525 implementationas of the math functions: __negsf2, __cmpsf2,
1526 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1527 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
1528 * config/rl78/fpmath-sf.S: New file. Contains assembler
1529 implementations of the math functions: __subsf3, __addsf3,
1530 __mulsf3 and __divsf3
1531
43cbcd84 15322015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1533
1534 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1535 Add i386/elf-lib.h to tm_file.
1536 * config/i386/elf-lib.h: Fix comment.
1537 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1538 && __sun__ && __svr4__]: Remove workaround.
1539
f8956357 15402015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
1541
1542 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1543 FEATURE_BMI2.
1544 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1545
1b738d4d 15462015-01-24 H.J. Lu <hongjiu.lu@intel.com>
1547
1548 * config/i386/cpuinfo.c (processor_subtypes): Add
1549 INTEL_COREI7_BROADWELL.
1550 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1551 model numbers.
1552
58ca7445 15532015-01-23 Uros Bizjak <ubizjak@gmail.com>
1554
1555 * config/i386/elf-lib.h: New file.
1556 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1557 Wrap definition in #ifdef __i386__.
1558 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1559 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1560 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1561 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1562 to tm_file.
1563
d4c9c88d 15642015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
1565
1566 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1567 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1568
c46389f0 15692015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
1570
1571 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1572 Update rt_sigframe format and address for current Nios II
1573 Linux conventions.
1574
275d0a7c 15752015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1576
1577 * config.host (arm*-*-freebsd*): Add new configuration for
1578 arm*-*-freebsd*.
1579 * config/arm/freebsd-atomic.c: New file.
1580 * config/arm/t-freebsd: Likewise.
1581 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1582 'PC-relative indirect' OS's.
1583
8992df51 15842015-01-06 Eric Botcazou <ebotcazou@adacore.com>
1585
1586 * config.host: Add Visium support.
1587 * config/visium: New directory.
1588
d353bf18 15892015-01-05 Jakub Jelinek <jakub@redhat.com>
1590
1591 Update copyright years.
1592
78645e70 15932014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
1594
1595 * config.host: Support mipsisa32r6 and mipsisa64r6.
1596 * config/mips/mips16.S: Do not build for R6.
1597
14cc370b 15982014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
1599
1600 * config/sh/crt.h: New.
1601 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
1602 symbols.
1603 * config/sh/crt1.S: Likewise.
1604
06f29f53 16052014-12-15 Uros Bizjak <ubizjak@gmail.com>
1606
1607 PR libgcc/63832
1608 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
1609 func_ptr *dtor_list temporary variable to avoid "array subscript
1610 is above array bounds" warnings.
1611
92e91d03 16122014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4c87b50c 1613
1614 * Makefile.in (with_aix_soname): Define.
1615 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
1616 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
1617 * configure: Recreate.
1618
c0235a33 16192014-12-05 Olivier Hainque <hainque@adacore.com>
1620
1621 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
1622 now provided by defaults.h.
1623
273fffd6 16242014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
1625
84cf4824 1626 PR target/55351
273fffd6 1627 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
1628 whether it's defined.
1629
ffbfc7c5 16302014-11-27 Ilya Tocar <ilya.tocar@intel.com>
1631
1632 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
1633 * config/i386/cpuinfo.c (get_available_features): Detect it.
1634
ae22ef60 16352014-11-27 Tony Wang <tony.wang@arm.com>
1636
1637 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
1638 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
1639 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
1640
a532bc30 16412014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
1642
1643 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
1644
e88ebd91 16452014-11-24 John David Anglin <danglin@gcc.gnu.org>
1646
1647 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
1648 instead.
1649
422aeca3 16502014-11-21 Guy Martin <gmsoft@tuxicoman.be>
1651 John David Anglin <danglin@gcc.gnu.org>
1652
1653 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
1654 (FETCH_AND_OP_2): New. Use for subword and double word operations.
1655 (OP_AND_FETCH_2): Likewise.
1656 (COMPARE_AND_SWAP_2): Likewise.
1657 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1658 (SYNC_LOCK_RELEASE_2): Likewise.
1659 (SUBWORD_SYNC_OP): Remove.
1660 (SUBWORD_VAL_CAS): Likewise.
1661 (SUBWORD_BOOL_CAS): Likewise.
1662 (FETCH_AND_OP_WORD): Update.
1663 Consistently use signed types.
005a5ef5 1664
a3d93be3 16652014-11-13 Bernd Schmidt <bernds@codesourcery.com>
1666 Thomas Schwinge <thomas@codesourcery.com>
1667 Ilya Verbin <ilya.verbin@intel.com>
1668 Andrey Turetskiy <andrey.turetskiy@intel.com>
1669
1670 * Makefile.in (crtoffloadbegin$(objext)): New rule.
1671 (crtoffloadend$(objext)): Likewise.
1672 * configure: Regenerate.
1673 * configure.ac (accel_dir_suffix): Compute new variable.
1674 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
1675 if enable_offload_targets is not empty.
1676 * offloadstuff.c: New file.
1677
97a36a5b 16782014-11-13 Nick Clifton <nickc@redhat.com>
1679
1680 * config/rl78/divmodhi.S: Add support for the G10 architecture.
1681 Use START_FUNC and END_FUNC macros to enable linker garbage
1682 collection.
1683 * config/rl78/divmodqi.S: Likewise.
1684 * config/rl78/divmodsi.S: Likewise.
1685 * config/rl78/mulsi3.S: Likewise.
1686 * config/rl78/lib2div.c: Remove G10 functions.
1687 * config/rl78/lib2muls.c: Likewise.
1688 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
1689 * config/rl78/vregs.h (START_FUNC): New macro.
1690 (END_FUNC): New macro.
1691
f2b55aea 16922014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
1693
1694 * config/mips/mips16.S: Set .module when supported. Update O32
1695 FP64 calling convention and use for FPXX when possible. Add FPXX
1696 calling convention fallback case.
1697
8ce80784 16982014-11-06 Bernd Schmidt <bernds@codesourcery.com>
1699
1700 * config.host: Handle nvptx-*-*.
1701 * shared-object.mk (as-flags-$o): Define.
1702 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
1703 -xassembler-with-cpp.
1704 * static-object.mk: Identical changes.
1705 * config/nvptx/t-nvptx: New file.
1706 * config/nvptx/crt0.s: New file.
1707 * config/nvptx/free.asm: New file.
1708 * config/nvptx/malloc.asm: New file.
1709 * config/nvptx/realloc.c: New file.
1710
0e36a0d7 17112014-10-30 Joseph Myers <joseph@codesourcery.com>
1712
1713 * Makefile.in (libgcc.map.in): New target.
1714 (libgcc.map): Use libgcc.map.in.
1715 * config/t-softfp (softfp_compat): New variable to be set by
1716 users.
1717 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
1718 variables.
1719 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
1720 directory.
1721 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
1722 that use compat symbols and disable all code unless [SHARED].
1723 * config/t-softfp-compat: New file.
1724 * find-symver.awk: New file.
1725 * configure.ac (--with-glibc-version): New configure option.
1726 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
1727 * configure: Regenerate.
1728 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
1729 soft-float and e500.
1730
d9b5cf5c 17312014-10-29 Joseph Myers <joseph@codesourcery.com>
1732
1733 * config/t-hardfp (hardfp_exclusions): Document new variable for
1734 user to define.
1735 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
1736 * config/t-softfp (softfp_extras): Document new variable for user
1737 to define.
1738 (softfp_func_list): Add functions from $(softfp_extras).
1739 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
1740 * config.host (powerpc*-*-linux*): For e500v1, use
1741 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
1742 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
1743 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
1744
2de51200 17452014-10-26 John David Anglin <danglin@gcc.gnu.org>
1746
1747 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
1748 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
1749 memory read accesses are ok.
1750
fd1eaa27 17512014-10-25 Joseph Myers <joseph@codesourcery.com>
1752
1753 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
1754 * configure: Regenerate.
1755 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
1756 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
1757 of soft-fp for 32-bit classic hard float. Do not use
1758 t-softfp-excl for soft float.
1759
e707b8cc 17602014-10-22 Joseph Myers <joseph@codesourcery.com>
1761
1762 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
1763 configurations.
1764 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
1765 Remove variables.
1766
6ce12a35 17672014-10-22 Georg-Johann Lay <avr@gjlay.de>
1768
1769 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
1770 introduced with 2014-10-21 trunk r216525.
1771
b4e6d2e2 17722014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
92e91d03 1773 Vidya Praveen <vidya.praveen@atmel.com>
1774 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
1775 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
1776 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
b4e6d2e2 1777
1778 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
1779 order.
1780
1781 Updated library functions for AVRTINY arch.
1782 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
1783 Replaced occurrences of r0/r1 with tmp/zero reg macros.
1784 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
1785 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
1786 wsubi/wadi macors.
1787 (__mulsi3_helper): Update stack, preserve callee saved regs and
1788 argument from stack. Restore callee save registers.
1789 (__mulpsi3): Likewise.
1790 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
1791 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6ce12a35 1792 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
b4e6d2e2 1793 AVRTINY.
1794 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
1795 (__do_copy_data): Added new definition for AVRTINY.
1796 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
1797 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
1798 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
1799 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
1800 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
1801 macors.
6ce12a35 1802 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
b4e6d2e2 1803 AVRTINY.
1804
6ce12a35 1805 Fix broken long multiplication on tiny arch.
b4e6d2e2 1806
d9bbc5ef 18072014-10-09 Joseph Myers <joseph@codesourcery.com>
1808
1809 * soft-fp/double.h: Update from glibc.
1810 * soft-fp/eqdf2.c: Likewise.
1811 * soft-fp/eqsf2.c: Likewise.
1812 * soft-fp/eqtf2.c: Likewise.
1813 * soft-fp/extenddftf2.c: Likewise.
1814 * soft-fp/extended.h: Likewise.
1815 * soft-fp/extendsfdf2.c: Likewise.
1816 * soft-fp/extendsftf2.c: Likewise.
1817 * soft-fp/extendxftf2.c: Likewise.
1818 * soft-fp/gedf2.c: Likewise.
1819 * soft-fp/gesf2.c: Likewise.
1820 * soft-fp/getf2.c: Likewise.
1821 * soft-fp/ledf2.c: Likewise.
1822 * soft-fp/lesf2.c: Likewise.
1823 * soft-fp/letf2.c: Likewise.
1824 * soft-fp/op-1.h: Likewise.
1825 * soft-fp/op-2.h: Likewise.
1826 * soft-fp/op-4.h: Likewise.
1827 * soft-fp/op-8.h: Likewise.
1828 * soft-fp/op-common.h: Likewise.
1829 * soft-fp/quad.h: Likewise.
1830 * soft-fp/single.h: Likewise.
1831 * soft-fp/soft-fp.h: Likewise.
1832 * soft-fp/unorddf2.c: Likewise.
1833 * soft-fp/unordsf2.c: Likewise.
1834 * soft-fp/unordtf2.c: Likewise.
1835 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
1836 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
1837 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
1838 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
1839 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
1840 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
1841 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
1842 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
1843 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
1844 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
1845
26054e0b 18462014-10-08 Rong Xu <xur@google.com>
1847
1848 * libgcov-util.c (read_gcda_file): Fix format.
1849 (find_match_gcov_info): Ditto.
1850 (calculate_2_entries): New.
1851 (compute_one_gcov): Ditto.
1852 (gcov_info_count_all_cold): Ditto.
1853 (gcov_info_count_all_zero): Ditto.
1854 (extract_file_basename): Ditto.
1855 (get_file_basename): Ditto.
1856 (set_flag): Ditto.
1857 (matched_gcov_info): Ditto.
1858 (calculate_overlap): Ditto.
1859 (gcov_profile_overlap): Ditto.
1860 * libgcov-driver.c (compute_summary): Make
1861 it avavilable for external calls.
1862
8a8f3988 18632014-10-06 Rong Xu <xur@google.com>
1864
1865 * Makefile.in: Ditto.
1866 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
1867 (gcov_sort_icall_topn_counter): Ditto.
1868 (gcov_sort_topn_counter_arrays): Ditto.
1869 (dump_one_gcov): Sort indirect_call topn counters.
1870 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
1871 function.
1872 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
1873 utility function.
1874 (__gcov_indirect_call_topn_profiler): New profiler function.
1875 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
1876 * libgcov.h: New decls.
1877
f230ef81 18782014-10-04 Trevor Saunders <tsaunders@mozilla.com>
1879
1880 * config.host: Remove support for score-*.
1881
0cb69d12 18822014-09-22 Joseph Myers <joseph@codesourcery.com>
1883
1884 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1885 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
1886 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
1887 __LIBGCC_XF_MANT_DIG__.
1888 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
1889 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
1890 __LIBGCC_TF_MANT_DIG__.
1891 * libgcc2.c (NOTRUNC): Define in terms of
1892 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
1893 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1894
acbb28e9 18952014-09-22 Joseph Myers <joseph@codesourcery.com>
1896
1897 PR target/63312
1898 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
1899 New macros.
1900
d0eb4a95 19012014-09-22 Hans-Peter Nilsson <hp@axis.com>
1902
1903 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
1904 override USE_PT_GNU_EH_FRAME.
1905 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
1906 check USE_EH_FRAME_REGISTRY_ALWAYS against
1907 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
1908 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
1909 variable for substituted force_explicit_eh_registry.
1910 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
1911 * configure.ac (explicit-exception-frame-registration):
1912 New AC_ARG_ENABLE.
1913 * configure: Regenerate.
1914
6c352a95 19152014-09-19 Olivier Hainque <hainque@adacore.com>
1916
1917 * config.host (powerpc-wrs-vxworksmils): New configuration,
1918 same as vxworksae.
1919
168dfbf0 19202014-09-18 Joseph Myers <joseph@codesourcery.com>
1921
1922 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
1923
ca6c7c2e 19242014-09-18 Joseph Myers <joseph@codesourcery.com>
1925
1926 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
1927 bits not set bits as indicating trapping exceptions.
1928
bc587267 19292014-09-17 Nathan sidwell <nathan@acm.org>
1930
1931 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
1932 (LIBGCOV_DRIVER): ... here.
1933 * libgcov-driver.c (gcov_master): New.
1934 (gcov_exit): Remove from master chain.
1935 (__gcov_init): Add to master chain if version compatible. Don't
1936 clear the version.
1937 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
1938 (gcov_reset_int): Clear master chain, if compatible.
1939 (gcov_dump_int): New internal interface. Dump master chain, if
1940 compatible.
1941 (gcov_dump): Alias for gcov_dump_int.
1942 * libgcov.h (struct gcov_root): Add next and prev fields.
1943 (struct gcov_master): New struct.
1944 (__gcov_master): New.
1945 (gcov_dump_int): Declare.
1946
0624d0c7 19472014-09-17 Olivier Hainque <hainque@adacore.com>
1948
1949 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
1950 and crtbegin.o + crtend.o to extra_parts.
1951
d5957f0d 19522014-09-12 Joseph Myers <joseph@codesourcery.com>
1953
1954 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
1955 __LIBGCC_HAS_SF_MODE__.
1956 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1957 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1958 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1959 * config/libbid/bid_gcc_intrinsics.h
1960 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1961 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1962 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1963 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1964 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
1965 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1966
986b9a67 19672014-09-11 Georg-Johann Lay <avr@gjlay.de>
1968
1969 PR target/63223
1970 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
1971 and R24 as needed. Make work for all devices and .text locations.
1972 (__do_global_ctors, __do_global_dtors): Use word addresses.
1973 (__tablejump__, __tablejump_elpm__): Remove functions.
1974 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
1975 Add _tablejump2.
1976 (XICALL, XIJMP): New macros.
1977
8f908dc5 19782014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
1979 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1980
1981 * config.host (aarch64*): Include crtfastmath.o and
1982 t-crtfm.
1983 * config/aarch64/crtfastmath.c: New file.
1984
f67c2dde 19852014-09-08 Trevor Saunders <tsaunders@mozilla.com>
1986
1987 * config.host: Remove picochip support.
1988 * config/picochip/adddi3.S: Remove.
1989 * config/picochip/ashlsi3.S: Remove.
1990 * config/picochip/ashlsi3.c: Remove.
1991 * config/picochip/ashrsi3.S: Remove.
1992 * config/picochip/ashrsi3.c: Remove.
1993 * config/picochip/clzsi2.S: Remove.
1994 * config/picochip/cmpsi2.S: Remove.
1995 * config/picochip/divmod15.S: Remove.
1996 * config/picochip/divmodhi4.S: Remove.
1997 * config/picochip/divmodsi4.S: Remove.
1998 * config/picochip/lib1funcs.S: Remove.
1999 * config/picochip/longjmp.S: Remove.
2000 * config/picochip/lshrsi3.S: Remove.
2001 * config/picochip/lshrsi3.c: Remove.
2002 * config/picochip/parityhi2.S: Remove.
2003 * config/picochip/popcounthi2.S: Remove.
2004 * config/picochip/setjmp.S: Remove.
2005 * config/picochip/subdi3.S: Remove.
2006 * config/picochip/t-picochip: Remove.
2007 * config/picochip/ucmpsi2.S: Remove.
2008 * config/picochip/udivmodhi4.S: Remove.
2009 * config/picochip/udivmodsi4.S: Remove.
2010
b660d3c6 20112014-09-08 Joseph Myers <joseph@codesourcery.com>
2012
2013 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2014 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2015 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2016 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2017 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
2018 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2019 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
2020 defined and LIBGCC2_HAS_DF_MODE is defined.
2021 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
2022 defined and LIBGCC2_HAS_XF_MODE is defined.
2023 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
2024 defined and LIBGCC2_HAS_TF_MODE is defined.
2025
2aeea855 20262014-09-08 Joseph Myers <joseph@codesourcery.com>
2027
2028 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2029 and ROUND_TOWARDS_ZERO conditionals.
2030
a91625a6 20312014-09-07 Nathan sidwell <nathan@acm.org>
2032
2033 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2034 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
2035
325b8c3c 20362014-09-05 Joseph Myers <joseph@codesourcery.com>
2037
2038 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2039 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2040 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2041 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2042 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2043 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2044 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2045 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2046 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2047 (DWARF_FRAME_REGISTERS): Change all uses to
2048 __LIBGCC_DWARF_FRAME_REGISTERS__.
2049 (EH_RETURN_STACKADJ_RTX): Change all uses to
2050 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2051 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2052 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
2053 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2054 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2055 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2056 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2057 to __LIBGCC_EH_FRAME_SECTION_NAME__.
2058 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2059 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2060 __LIBGCC_STACK_POINTER_REGNUM__.
2061 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2062 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2063 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2064 to __LIBGCC_STACK_POINTER_REGNUM__.
2065 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2066 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2067 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2068 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2069 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2070 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2071 (STACK_POINTER_REGNUM): Change all uses to
2072 __LIBGCC_STACK_POINTER_REGNUM__.
2073 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2074 use to __LIBGCC_STACK_POINTER_REGNUM__.
2075 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2076 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2077 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2078 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2079 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2080 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2081 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2082 to __LIBGCC_STACK_POINTER_REGNUM__.
2083 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2084 Remove conditional definition.
2085 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2086 __LIBGCC_TEXT_SECTION_ASM_OP__.
2087 (EH_FRAME_SECTION_NAME): Change all uses to
2088 __LIBGCC_EH_FRAME_SECTION_NAME__.
2089 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2090 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2091 (CTORS_SECTION_ASM_OP): Change all uses to
2092 __LIBGCC_CTORS_SECTION_ASM_OP__.
2093 (DTORS_SECTION_ASM_OP): Change all uses to
2094 __LIBGCC_DTORS_SECTION_ASM_OP__.
2095 (JCR_SECTION_NAME): Change all uses to
2096 __LIBGCC_JCR_SECTION_NAME__.
2097 (INIT_SECTION_ASM_OP): Change all uses to
2098 __LIBGCC_INIT_SECTION_ASM_OP__.
2099 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2100 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2101 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2102 __LIBGCC_STACK_GROWS_DOWNWARD__.
2103 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2104 __LIBGCC_INIT_SECTION_ASM_OP__.
2105 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2106 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2107 (EH_FRAME_SECTION_NAME): Change all uses to
2108 __LIBGCC_EH_FRAME_SECTION_NAME__.
2109 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2110 definitions. Change all uses to
2111 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2112 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2113 __LIBGCC_STACK_GROWS_DOWNWARD__.
2114 (DWARF_FRAME_REGISTERS): Change all uses to
2115 __LIBGCC_DWARF_FRAME_REGISTERS__.
2116 (EH_RETURN_STACKADJ_RTX): Change all uses to
2117 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2118 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2119 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2120 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2121 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2122 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2123
b12d2330 21242014-09-02 Nathan sidwell <nathan@acm.org>
2125
2126 * libgcov-interface.c (STRONG_ALIAS): New.
2127 (__gcov_flush): Call __gcov_reset_int.
2128 (__gcov_reset): Strong alias for ...
2129 (__gcov_reset_ing): ... this renamed hidden version.
2130 * libgcov.h (__gcov_reset_int): New declaration.
2131
827d5daf 21322014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2133
1db4f54b 2134 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2135 call from here...
2136 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2137 (__dso_handle): Define on Cygwin.
2138 * config/i386/t-cygming (crtbeginS.o): New rule.
2139 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2140
827d5daf 2141 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2142 declaration syntax.
2143
e3108d46 21442014-08-13 Steve Ellcey <sellcey@mips.com>
2145
2146 * crtstuff.c: Undef caddr_t.
2147
0898fffa 21482014-08-12 Steve Ellcey <sellcey@mips.com>
2149
2150 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
2151
859fa1a9 21522014-08-07 Nathan Sidwell <nathan@acm.org>
2153
2154 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2155 (LIBGCOV_DRIVER): ... to here.
2156 * libgcov.h (gcov_do_dump): New #define.
2157 (struct gcov_root): New.
2158 (__gcov_root): New declaration.
2159 (__gcov_dump_one): Declare.
2160 * libgcov-driver.c (gcov_list, gcov_dump_complete,
2161 run_accounted): Delete.
2162 (gcov_compute_histogram): Add LIST argument, adjust.
2163 (compute_summary): Adjust gcov_compute_histogram call.
2164 (gcov_do_dump): Not hidden, static in libgcov.
2165 (gcov_clear): Move to interface.c.
2166 (__gcov_dump_one): New, broken out of ...
2167 (gcov_exit): ... here. Make static.
2168 (__gcov_root): New.
2169 (__gcov_init): Adjust.
2170 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2171 declarations.
2172 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2173 (gcov_clear): Moved from driver.c. Add LIST argument.
2174 (__gcov_reset): Adjust for changed interfaces.
2175 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2176
3fa2798a 21772014-08-04 Rohit <rohitarulraj@freescale.com>
2178
2179 PR target/60102
2180 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6d88799a 2181 based on change in SPE high register numbers and 3 HTM registers.
3fa2798a 2182
cb3ea3de 21832014-08-01 Nathan Sidwell <nathan@acm.org>
2184
2185 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2186 LIBGCOV_INTERFACE): Reformat.
2187 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2188 IN_GCOV_TOOL.
2189 * libgcov-interface.c: Reformat some comments.
2190 (__gcov_flush_mx): Add declaration. Tidy up definition.
2191
bfd88f52 21922014-07-31 Alan Modra <amodra@gmail.com>
2193 Peter Bergner <bergner@vnet.ibm.com>
2194
2195 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2196 (pack_ldouble): New function.
2197 (__gcc_qadd): Use it.
2198 (__gcc_qmul): Likewise.
2199 (__gcc_qdiv): Likewise.
2200 (__gcc_qneg): Likewise.
2201 (__gcc_stoq): Likewise.
2202 (__gcc_dtoq): Likewise.
2203
bcd3133e 22042014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
2205
2206 * config/s390/tpf-unwind.h: Include <stdbool.h>.
2207 (__tpf_eh_return): Add original return address as second parameter.
2208 Handle cases where unwinder routines were called directly, instead
2209 of from within the C++ library.
2210
1186f97a 22112014-07-29 Nathan Sidwell <nathan@acm.org>
2212
2213 * libgcov.h: Move renaming of entry points to lib gcov specific
2214 portion.
2215 (gcov_do_dump): New rename.
2216 (gcov_rewrite): Remove inline, make HIDDEN.
2217 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2218 (gcov_exit_compute_summary): Rename to ...
2219 (compute_summary): ... here. Add LIST argument.
2220 (gcov_exit_merge_gcda): Rename to ...
2221 (merge_one_data): ... here.
2222 (gcov_exit_write_gcda): Rename to ...
2223 (write_one_data): ... here.
2224 (gcov_exit_merge_summary): Rename to ...
2225 (merge_summary): Add RUN_COUNTED argument.
2226 (gcov_exit_dump_gcov): Rename to ...
2227 (dump_one_gcov): Add RUN_COUNTED argument.
2228 (gcov_do_dump): New function, broken out of ...
2229 (gcov_exit): ... here. Call it.
2230
ab0c4d2e 22312014-07-27 Anthony Green <green@moxielogic.com>
2232
2233 * config.host: Add moxiebox configuration suppport.
2234
6401b74d 22352014-07-27 Nathan Sidwell <nathan@acm.org>
2236
2237 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2238 (struct gcov_filename): ... here. Include buffer and max length
2239 fields.
2240 (gcov_max_filename): Remove.
2241 (gi_filename): Remove.
2242 (gcov_exit_compute_summary): Compute max filename here.
2243 (gcov_exit_merge_gcda): Add filename parm, adjust.
2244 (gcov_exit_merge_summary): Likewise.
2245 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2246 (gcov_exit): Likewise.
2247 (__gcov_init): Don't calculate max length here.
2248 * libgcov_util.c (max_filename_len): Remove.
2249 (read_gcda_file): Don't calculate max length here.
2250 (gcov_read_profile_dir): Don't propagate here.
2251 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2252 struct gcov_filename changes.
2253 (gcov_exit_open_gcda_file): Likewise.
2254
0f768e5f 22552014-07-25 Nathan Sidwell <nathan@acm.org>
2256
2257 * libgcov-driver.c (set_gcov_dump_complete,
2258 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2259 functions polluting user's namespace.
2260 (gcov_exit): Set variable directly.
2261 (gcov_clear): Reset variable directly.
2262 * libgcov-interface.c (get_gcov_dymp_complete,
2263 reset_gov_dump_complete): Remove declarations.
2264 (__gcov_reset, __gcov_dump): Don't call them.
2265
2b333d82 22662014-07-24 DJ Delorie <dj@redhat.com>
2267
2268 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
0f768e5f 2269 (__gcc_deregister_frame): Move logic to detect deregister function
2270 to ...
2271 (__gcc_register_frame): here, so it's consistent with the register
2272 logic.
2b333d82 2273
145d88ea 22742014-07-23 Nathan Sidwell <nathan@acm.org>
2275
2276 * libgcov-driver.c (set_gcov_list): Remove.
2277 (gcov_list): Make non-static in GCOV_TOOL.
2278 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2279
307c2567 22802014-07-17 John David Anglin <danglin@gcc.gnu.org>
2281
2282 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2283 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2284 Don't use SYNC_LOCK_RELEASE for int type.
2285
3dc22a01 22862014-07-14 Richard Biener <rguenther@suse.de>
2287
2288 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2289
a60d8a99 22902014-07-11 Rong Xu <xur@google.com>
2291
2292 * libgcov-util.c (gcov_max_filename): Fix declartion.
2293
e76f6040 22942014-07-10 Rong Xu <xur@google.com>
2295
2296 Add gcov-tool: an offline gcda profile processing tool
2297 Support.
2298 * libgcov-driver.c (gcov_max_filename): Make available
2299 to gcov-tool.
2300 * libgcov-merge.c (__gcov_merge_add): Replace
2301 gcov_read_counter() with a Macro.
2302 (__gcov_merge_ior): Ditto.
2303 (__gcov_merge_time_profile): Ditto.
2304 (__gcov_merge_single): Ditto.
2305 (__gcov_merge_delta): Ditto.
2306 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2307 in the utility functions.
2308 (set_fn_ctrs): Utility function for reading gcda files to in-memory
2309 gcov_list object link lists.
2310 (tag_function): Ditto.
2311 (tag_blocks): Ditto.
2312 (tag_arcs): Ditto.
2313 (tag_lines): Ditto.
2314 (tag_counters): Ditto.
2315 (tag_summary): Ditto.
2316 (read_gcda_finalize): Ditto.
2317 (read_gcda_file): Ditto.
2318 (ftw_read_file): Ditto.
2319 (read_profile_dir_init): Ditto.
2320 (gcov_read_profile_dir): Ditto.
2321 (gcov_read_counter_mem): Ditto.
2322 (gcov_get_merge_weight): Ditto.
2323 (merge_wrapper): A wrapper function that calls merging handler.
2324 (gcov_merge): Merge two gcov_info objects with weights.
2325 (find_match_gcov_info): Find the matched gcov_info in the list.
2326 (gcov_profile_merge): Merge two gcov_info object lists.
2327 (__gcov_add_counter_op): Process edge profile counter values.
2328 (__gcov_ior_counter_op): Process IOR profile counter values.
2329 (__gcov_delta_counter_op): Process delta profile counter values.
2330 (__gcov_single_counter_op): Process single profile counter values.
2331 (fp_scale): Callback function for float-point scaling.
005a5ef5 2332 (int_scale): Callback function for integer fraction scaling.
e76f6040 2333 (gcov_profile_scale): Scaling profile counters.
2334 (gcov_profile_normalize): Normalize profile counters.
2335 * libgcov.h: Add headers and functions for gcov-tool use.
2336 (gcov_get_counter): New.
2337 (gcov_get_counter_target): Ditto.
2338 (struct gcov_info): Make the functions field mutable in gcov-tool
2339 compilation.
2340
761d3cae 23412014-06-23 Kai Tietz <ktietz@redhat.com>
2342
2343 PR libgcc/61585
2344 * unwind-seh.c (_Unwind_GetGR): Check for proper
2345 index range.
2346 (_Unwind_SetGR): Likewise.
2347
b4187486 23482014-05-22 Nick Clifton <nickc@redhat.com>
2349
2350 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2351 -mhwmult=none.
2352
f1919901 23532014-05-22 Teresa Johnson <tejohnson@google.com>
2354
2355 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2356 include.
2357
463553db 23582014-05-20 John Marino <gnugcc@marino.st>
2359
2360 * config.host (*-*-dragonfly*): New target.
2361 * crtstuff.c: Make dl_iterate_support generic on *bsd.
2362 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2363 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2364 * config/i386/dragonfly-unwind.h: New.
2365
17611fd9 23662014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2367
2368 PR libgcc/60166
2369 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2370 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2371
b061dab2 23722014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
2373
2374 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2375 implementation.
2376
b81ef88d 23772014-05-12 Georg-Johann Lay <avr@gjlay.de>
2378
2379 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2380
d71975a6 23812014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2382
2383 PR libgcc/61097
2384 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2385 if --enable-shared.
2386
d3c4b980 23872014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
2388
2389 Work around for current cygwin32 build problems.
2390 * config/i386/cygming-crtbegin.c (__register_frame_info,
2391 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2392 functions only for 64-bit systems.
2393
1f912f03 23942014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2395
2396 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2397 (sigill_caught, sigill_hdlr): Remove.
2398
3efb5d22 23992014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2400
2401 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2402 check.
2403 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2404 Solaris 9 single-threaded support.
2405 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2406 Solaris 9 single-threaded support. Add call_user_handler code
2407 sequences.
2408 (sparc_is_sighandler): Likewise.
2409
368b5b2c 24102014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2411
2412 * config.host: Append t-floattodi to tmake_file depending on
2413 host_address.
2414
0cdefccf 24152014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
2416
c7285b71 2417 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
0cdefccf 2418
e5d692d7 24192014-03-10 Uros Bizjak <ubizjak@gmail.com>
2420
2421 PR libgcc/60472
2422 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
06f29f53 2423 variable to avoid "array subscript is above array bounds" warnings.
e5d692d7 2424 Use __builtin_expect when checking *jcr_list for NULL.
2425
ec5f5503 24262014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2427
2428 PR libgcc/59339
2429 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2430 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2431 vtv_*.o to extra_parts if enable_vtable_verify.
2432
6dd4126d 24332014-03-06 Nick Clifton <nickc@redhat.com>
2434
2435 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2436 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2437
c63fabc4 24382014-02-28 Joey Ye <joey.ye@arm.com>
2439
2440 PR libgcc/60166
2441 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2442 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2443 Set to zero.
2444
2da35515 24452014-02-24 Walter Lee <walt@tilera.com>
2446
2447 * config.host: Support "tilegx*" and "tilepro*" triplets.
2448 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2449 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2450
73e15dfc 24512014-02-20 Sandra Loosemore <sandra@codesourcery.com>
2452 Chung-Lin Tang <cltang@codesourcery.com>
2453
2454 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2455 * config/nios2/crti.S: Remove .file directive.
2456 * config/nios2/crtn.S: Likewise.
2457
db5ce3d9 24582014-02-18 Kai Tietz <ktietz@redhat.com>
2459 Jonathan Schleifer <js@webkeks.org>
2460
2461 PR objc/56870
2462 * unwind-seh.c (_GCC_specific_handler): Pass proper
2463 value to unwind-handler.
2464
8f687340 24652014-02-12 Joseph Myers <joseph@codesourcery.com>
2466
2467 * soft-fp/adddf3.c: Update from glibc.
2468 * soft-fp/addsf3.c: Likewise.
2469 * soft-fp/addtf3.c: Likewise.
2470 * soft-fp/divdf3.c: Likewise.
2471 * soft-fp/divsf3.c: Likewise.
2472 * soft-fp/divtf3.c: Likewise.
2473 * soft-fp/double.h: Likewise.
2474 * soft-fp/eqdf2.c: Likewise.
2475 * soft-fp/eqsf2.c: Likewise.
2476 * soft-fp/eqtf2.c: Likewise.
2477 * soft-fp/extenddftf2.c: Likewise.
2478 * soft-fp/extended.h: Likewise.
2479 * soft-fp/extendsfdf2.c: Likewise.
2480 * soft-fp/extendsftf2.c: Likewise.
2481 * soft-fp/extendxftf2.c: Likewise.
2482 * soft-fp/fixdfdi.c: Likewise.
2483 * soft-fp/fixdfsi.c: Likewise.
2484 * soft-fp/fixdfti.c: Likewise.
2485 * soft-fp/fixsfdi.c: Likewise.
2486 * soft-fp/fixsfsi.c: Likewise.
2487 * soft-fp/fixsfti.c: Likewise.
2488 * soft-fp/fixtfdi.c: Likewise.
2489 * soft-fp/fixtfsi.c: Likewise.
2490 * soft-fp/fixtfti.c: Likewise.
2491 * soft-fp/fixunsdfdi.c: Likewise.
2492 * soft-fp/fixunsdfsi.c: Likewise.
2493 * soft-fp/fixunsdfti.c: Likewise.
2494 * soft-fp/fixunssfdi.c: Likewise.
2495 * soft-fp/fixunssfsi.c: Likewise.
2496 * soft-fp/fixunssfti.c: Likewise.
2497 * soft-fp/fixunstfdi.c: Likewise.
2498 * soft-fp/fixunstfsi.c: Likewise.
2499 * soft-fp/fixunstfti.c: Likewise.
2500 * soft-fp/floatdidf.c: Likewise.
2501 * soft-fp/floatdisf.c: Likewise.
2502 * soft-fp/floatditf.c: Likewise.
2503 * soft-fp/floatsidf.c: Likewise.
2504 * soft-fp/floatsisf.c: Likewise.
2505 * soft-fp/floatsitf.c: Likewise.
2506 * soft-fp/floattidf.c: Likewise.
2507 * soft-fp/floattisf.c: Likewise.
2508 * soft-fp/floattitf.c: Likewise.
2509 * soft-fp/floatundidf.c: Likewise.
2510 * soft-fp/floatundisf.c: Likewise.
2511 * soft-fp/floatunditf.c: Likewise.
2512 * soft-fp/floatunsidf.c: Likewise.
2513 * soft-fp/floatunsisf.c: Likewise.
2514 * soft-fp/floatunsitf.c: Likewise.
2515 * soft-fp/floatuntidf.c: Likewise.
2516 * soft-fp/floatuntisf.c: Likewise.
2517 * soft-fp/floatuntitf.c: Likewise.
2518 * soft-fp/gedf2.c: Likewise.
2519 * soft-fp/gesf2.c: Likewise.
2520 * soft-fp/getf2.c: Likewise.
2521 * soft-fp/ledf2.c: Likewise.
2522 * soft-fp/lesf2.c: Likewise.
2523 * soft-fp/letf2.c: Likewise.
2524 * soft-fp/muldf3.c: Likewise.
2525 * soft-fp/mulsf3.c: Likewise.
2526 * soft-fp/multf3.c: Likewise.
2527 * soft-fp/negdf2.c: Likewise.
2528 * soft-fp/negsf2.c: Likewise.
2529 * soft-fp/negtf2.c: Likewise.
2530 * soft-fp/op-1.h: Likewise.
2531 * soft-fp/op-2.h: Likewise.
2532 * soft-fp/op-4.h: Likewise.
2533 * soft-fp/op-8.h: Likewise.
2534 * soft-fp/op-common.h: Likewise.
2535 * soft-fp/quad.h: Likewise.
2536 * soft-fp/single.h: Likewise.
2537 * soft-fp/soft-fp.h: Likewise.
2538 * soft-fp/subdf3.c: Likewise.
2539 * soft-fp/subsf3.c: Likewise.
2540 * soft-fp/subtf3.c: Likewise.
2541 * soft-fp/truncdfsf2.c: Likewise.
2542 * soft-fp/trunctfdf2.c: Likewise.
2543 * soft-fp/trunctfsf2.c: Likewise.
2544 * soft-fp/trunctfxf2.c: Likewise.
2545 * soft-fp/unorddf2.c: Likewise.
2546 * soft-fp/unordsf2.c: Likewise.
2547 * soft-fp/unordtf2.c: Likewise.
2548 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2549 macro.
2550 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2551 Likewise.
2552 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2553 Likewise.
2554 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2555 Likewise.
2556 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2557 Likewise.
2558 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2559 Likewise.
2560 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2561 Likewise.
2562 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2563 Likewise.
2564 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2565 Likewise.
2566 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2567 Likewise.
2568 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2569 Likewise.
2570 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2571 Likewise.
2572 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2573 Likewise.
2574 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2575 Likewise.
2576 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2577 Likewise.
2578 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2579 Likewise.
2580
fc1cd012 25812014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2582
2583 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2584 cannot be represented.
2585 * config/s390/32/_fixsfdi.c: Likewise.
2586 * config/s390/32/_fixtfdi.c: Likewise.
2587 * config/s390/32/_fixunsdfdi.c: Likewise.
2588 * config/s390/32/_fixunssfdi.c: Likewise.
2589 * config/s390/32/_fixunstfdi.c: Likewise.
2590
4b366ca9 25912014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
2592
2593 * configure.ac (libgcc_cv_mips_hard_float): New.
2594 * configure: Regenerate.
2595 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2596 t-softfp-sfdf for hard-float targets.
2597 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
2598 (softfp_float_modes, softfp_int_modes, softfp_extensions)
2599 (softfp_truncations, softfp_exclude_libgcc2): New.
2600 * config/t-hardfp: New file.
2601 * config/t-hardfp-sfdf: Likewise.
2602 * config/hardfp.c: Likewise.
2603
896dc54c 26042014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2605
2606 * config.host: Include t-floattodi also for s390x.
2607 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
2608 * config/s390/32/_fixsfdi.c: Likewise.
2609 * config/s390/32/_fixtfdi.c: Likewise.
2610 * config/s390/32/_fixunsdfdi.c: Likewise.
2611 * config/s390/32/_fixunssfdi.c: Likewise.
2612 * config/s390/32/_fixunstfdi.c: Likewise.
2613
48118d02 26142014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2615
2616 PR target/59788
2617 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
2618 (install-libgcc-unwind-map-forbuild): New target.
2619 (all): Depend on install-libgcc-unwind-map-forbuild.
2620 (install-libgcc-unwind-map): New target.
2621 (install): Depend on install-libgcc-unwind-map.
2622
1fa97c89 26232014-02-02 Sandra Loosemore <sandra@codesourcery.com>
2624
2625 * config/nios2/crti.S (_init): Initialize GOT pointer from
2626 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
2627
9bcbf352 26282014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
2629
2630 * configure.ac: Check __mips64 when setting host_address.
2631 * configure: Regenerate.
2632 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
2633 mips/t-mips64 and t-softfp.
2634 (mips*-*-linux*): Don't add mips/t-tpbit.
2635 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
2636 (DPBIT, DPBIT_CFLAGS): Delete.
2637 * config/mips/sfp-machine.h: New file.
2638 * config/mips/t-mips64: Likewise.
2639 * config/mips/t-softfp-tf: Likewise.
2640 * config/mips/t-tpbit: Delete.
2641
81b83e46 26422014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
2643
2644 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
2645 as long long.
2646
41766a5f 26472014-01-25 Walter Lee <walt@tilera.com>
2648
2649 * config/tilepro/atomic.c: Include tconfig.h. Don't include
2650 config.h or system.h.
2651 (bool) Define.
2652
c8d04645 26532014-01-25 Walter Lee <walt@tilera.com>
2654
2655 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
2656 (post_atomic_barrier): Ditto.
2657 (__fetch_and_do): New macro.
2658 (__atomic_fetch_and_do): Use __fetch_and_do.
2659 (__sync_fetch_and_do): New macro.
2660 (__sync_fetch_and_add_4): New function.
2661 (__sync_fetch_and_sub_4): New function.
2662 (__sync_fetch_and_or_4): New function.
2663 (__sync_fetch_and_and_4): New function.
2664 (__sync_fetch_and_xor_4): New function.
2665 (__sync_fetch_and_nand_4): New function.
2666 (__sync_fetch_and_add_8): New function.
2667 (__sync_fetch_and_sub_8): New function.
2668 (__sync_fetch_and_or_8): New function.
2669 (__sync_fetch_and_and_8): New function.
2670 (__sync_fetch_and_xor_8): New function.
2671 (__sync_fetch_and_nand_8): New function.
2672 (__do_and_fetch): New macro.
2673 (__atomic_do_and_fetch): Use __do_and_fetch.
2674 (__sync_do_and_fetch): New macro.
2675 (__sync_add_and_fetch_4): New function.
2676 (__sync_sub_and_fetch_4): New function.
2677 (__sync_or_and_fetch_4): New function.
2678 (__sync_and_and_fetch_4): New function.
2679 (__sync_xor_and_fetch_4): New function.
2680 (__sync_nand_and_fetch_4): New function.
2681 (__sync_add_and_fetch_8): New function.
2682 (__sync_sub_and_fetch_8): New function.
2683 (__sync_or_and_fetch_8): New function.
2684 (__sync_and_and_fetch_8): New function.
2685 (__sync_xor_and_fetch_8): New function.
2686 (__sync_nand_and_fetch_8): New function.
2687 (__sync_exchange_methods): New macro.
2688 (__sync_val_compare_and_swap_4): New function.
2689 (__sync_bool_compare_and_swap_4): New function.
2690 (__sync_lock_test_and_test_4): New function.
2691 (__sync_val_compare_and_swap_8): New function.
2692 (__sync_bool_compare_and_swap_8): New function.
2693 (__sync_lock_test_and_test_8): New function.
2694 (__subword_cmpxchg_body): New macro.
2695 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
2696 (__atomic_compare_exchange_2): Ditto.
2697 (__sync_subword_cmpxchg): New macro.
2698 (__sync_val_compare_and_swap_1): New function.
2699 (__sync_bool_compare_and_swap_1): New function.
2700 (__sync_val_compare_and_swap_2): New function.
2701 (__sync_bool_compare_and_swap_2): New function.
2702 (__atomic_subword): Rename to ...
2703 (__subword): ... New name.
2704 (__atomic_subword_fetch): Use __subword.
2705 (__sync_subword_fetch): New macro.
2706 (__sync_fetch_and_add_1): New function.
2707 (__sync_fetch_and_sub_1): New function.
2708 (__sync_fetch_and_or_1): New function.
2709 (__sync_fetch_and_and_1): New function.
2710 (__sync_fetch_and_xor_1): New function.
2711 (__sync_fetch_and_nand_1): New function.
2712 (__sync_fetch_and_add_2): New function.
2713 (__sync_fetch_and_sub_2): New function.
2714 (__sync_fetch_and_or_2): New function.
2715 (__sync_fetch_and_and_2): New function.
2716 (__sync_fetch_and_xor_2): New function.
2717 (__sync_fetch_and_nand_2): New function.
2718 (__sync_add_and_fetch_1): New function.
2719 (__sync_sub_and_fetch_1): New function.
2720 (__sync_or_and_fetch_1): New function.
2721 (__sync_and_and_fetch_1): New function.
2722 (__sync_xor_and_fetch_1): New function.
2723 (__sync_nand_and_fetch_1): New function.
2724 (__sync_add_and_fetch_2): New function.
2725 (__sync_sub_and_fetch_2): New function.
2726 (__sync_or_and_fetch_2): New function.
2727 (__sync_and_and_fetch_2): New function.
2728 (__sync_xor_and_fetch_2): New function.
2729 (__sync_nand_and_fetch_2): New function.
2730 (__atomic_subword_lock): Use __subword.
2731 (__sync_subword_lock): New macro.
2732 (__sync_lock_test_and_set_1): New function.
2733 (__sync_lock_test_and_set_2): New function.
2734
47bfa8ec 27352014-01-25 Walter Lee <walt@tilera.com>
2736
2737 * config/tilepro/atomic.c (BIT_OFFSET): Define.
2738 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
2739 (__atomic_subword): Ditto.
2740
fcb4fe71 27412014-01-25 Walter Lee <walt@tilera.com>
2742
2743 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
2744 a prefix op argument.
2745 (__atomic_nand_fetch_4): Add prefix op.
2746 (__atomic_nand_fetch_8): Ditto.
2747
92e91d03 27482014-01-21 Baruch Siach <barch@tkos.co.il>
382e1a72 2749
2750 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
2751
9c50d275 27522014-01-09 Rong Xu <xur@google.com>
2753
2754 * libgcov-driver.c (this_prg): make it local to save
2755 bss space.
2756 (gcov_exit_compute_summary): Ditto.
2757 (gcov_exit_merge_gcda): Ditto.
2758 (gcov_exit_merge_summary): Ditto.
2759 (gcov_exit_dump_gcov): Ditto.
2760
005a5ef5 27612014-01-08 Rong Xu <xur@google.com>
67745126 2762
2763 * libgcov-driver.c: Use libgcov.h.
2764 (buffer_fn_data): Use xmalloc instead of malloc.
2765 (gcov_exit_merge_gcda): Ditto.
2766 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
2767 * libgcov.h: New common header files for libgcov-*.h.
2768 * libgcov-interface.c: Use libgcov.h
2769 * libgcov-merge.c: Ditto.
2770 * libgcov-profiler.c: Ditto.
2771 * Makefile.in: Add dependence to libgcov.h
2772
acf40e7e 27732014-01-02 Joseph Myers <joseph@codesourcery.com>
2774
2775 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
2776 case of small numerator and finite nonzero result.
2777
f9fb6ba0 27782014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
2779
2780 Update copyright years
2781
e4f22041 27822014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
2783
2784 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
2785 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
2786 config/arc/dp-hack.h, config/arc/fp-hack.h,
2787 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
2788 config/arc/ieee-754/arc600-dsp/divdf3.S,
2789 config/arc/ieee-754/arc600-dsp/divsf3.S,
2790 config/arc/ieee-754/arc600-dsp/muldf3.S,
2791 config/arc/ieee-754/arc600-dsp/mulsf3.S,
2792 config/arc/ieee-754/arc600-mul64/divdf3.S,
2793 config/arc/ieee-754/arc600-mul64/divsf3.S,
2794 config/arc/ieee-754/arc600-mul64/muldf3.S,
2795 config/arc/ieee-754/arc600-mul64/mulsf3.S,
2796 config/arc/ieee-754/arc600/divsf3.S,
2797 config/arc/ieee-754/arc600/mulsf3.S,
2798 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
2799 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
2800 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
2801 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
2802 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
2803 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
2804 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
2805 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
2806 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
2807 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
2808 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
2809 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
2810 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
2811 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
2812 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
2813 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
2814 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
2815 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
2816 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
2817 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
2818 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
2819 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
2820 vtv_start_preinit.c: Use the standard form for the copyright notice.
2821
de65406d 28222013-12-31 Sandra Loosemore <sandra@codesourcery.com>
2823 Chung-Lin Tang <cltang@codesourcery.com>
2824 Based on patches from Altera Corporation
2825
2826 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
2827 * config/nios2/lib2-nios2.h: New file.
2828 * config/nios2/lib2-divmod-hi.c: New file.
2829 * config/nios2/linux-unwind.h: New file.
2830 * config/nios2/lib2-divmod.c: New file.
2831 * config/nios2/linux-atomic.c: New file.
2832 * config/nios2/t-nios2: New file.
2833 * config/nios2/crti.asm: New file.
2834 * config/nios2/t-linux: New file.
2835 * config/nios2/lib2-divtable.c: New file.
2836 * config/nios2/lib2-mul.c: New file.
2837 * config/nios2/tramp.c: New file.
2838 * config/nios2/crtn.asm: New file.
2839
a0f1278f 28402013-12-26 Uros Bizjak <ubizjak@gmail.com>
2841
2842 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
2843 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
2844 from cpuid.h to check vendor signatures.
2845
0337c8ef 28462013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
2847
e5d692d7 2848 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
0337c8ef 2849 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
2850 (get_amd_cpu): Likewise.
2851
03797e66 28522013-12-25 H.J. Lu <hongjiu.lu@intel.com>
2853
2854 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
2855 Haswell.
2856
8a5280dc 28572013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2858 H.J. Lu <hongjiu.lu@intel.com>
2859
ed1bc9a4 2860 PR target/59422
2861 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8a5280dc 2862 and AMD_JAGUAR.
2863 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
2864 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
2865 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
2866 FEATURE_XOP and FEATURE_FMA.
2867 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
2868 AMDFAM15H_BDVER3.
2869 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
ed1bc9a4 2870 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8a5280dc 2871 FEATURE_FMA4 and FEATURE_XOP.
2872
ccc305ff 28732013-12-23 H.J. Lu <hongjiu.lu@intel.com>
2874
2875 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
2876 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
2877 (get_intel_cpu): Updated.
2878
4ef5912a 28792013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
2880
2881 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
2882
62f068c6 28832013-12-09 Uros Bizjak <ubizjak@gmail.com>
2884
2885 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2cc02024 2886 instructions when __SSE_MATH__ is defined.
62f068c6 2887
d742e92d 28882013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
2889
2890 * config.host (microblaze-*-rtems*): New.
2891
706d62f5 28922013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
2893
2894 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
2895 architectures that do not have hardware divide instruction.
2896 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
2897
81927967 28982013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
2899
2900 * longlong.h: Delete (moved to include/).
2901
085d03cc 29022013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2903
2904 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
2905 of normal number and qNaN to not raise an inexact exception.
2906
1f88bc79 29072013-11-28 Uros Bizjak <ubizjak@gmail.com>
2908
2909 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
2910
29112013-11-28 Matthew Leach <matthew.leach@arm.com>
de12de96 2912
2913 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
2914 for correct opcodes on BE.
2915
ea9697c4 29162013-11-27 Uros Bizjak <ubizjak@gmail.com>
2917
2918 * soft-fp/op-4.h: Update from glibc.
2919
b214253d 29202013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
2921
2922 * libgcc2.c (__udivmoddi4): Define new implementation when
2923 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
2924 divide instructions.
2925
334819e8 29262013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
2927
2928 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
2929
2b8d95bc 29302013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2931
2932 * config/t-softfp (soft-fp-objects-base): New variable.
2933 (soft-fp-objects): Use it.
2934
39da7440 29352013-11-23 David Edelson <dje.gcc@gmail.com>
2936 Andrew Dixie <andrewd@gentrack.com>
2937
2938 PR target/33704
2939 * config/rs6000/aixinitfini.c: New file.
2940 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
2941 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
2942 symbols.
2943
b848ffcd 29442013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
2945
ea9697c4 2946 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
b848ffcd 2947
f75db2a8 29482013-11-18 Jan Hubicka <jh@suse.cz>
2949
5dbddbd9 2950 * libgcov-driver.c (run_accounted): Make global level static.
2951 (gcov_exit_merge_summary): Silence warning; do not clear
2952 run_accounted here.
2953 (gcov_exit): Clear it here.
2954
7a45fd9b 2955 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
2956 run_accounted.
2957
f75db2a8 2958 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
2959 (all_prg, crc32): Remove static vars.
2960 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
2961 all_prg.
2962 (gcov_exit_merge_gcda): Add crc32 parameter.
2963 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
2964 do not account run if it was already accounted.
2965 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
2966 (gcov_exit): Initialize all_prg; update.
2967
822f2c1b 29682013-11-15 Andreas Schwab <schwab@linux-m68k.org>
2969
2970 * configure: Regenerate.
2971
238f342d 29722013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2973 Alan Modra <amodra@gmail.com>
2974
2975 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
2976 (frob_update_context): Use it.
2977
29782013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2979 Alan Modra <amodra@gmail.com>
2980
2981 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
2982 (trampoline_initial): Provide ELFv2 variant.
2983 (__trampoline_setup): Likewise.
2984
2985 * config/rs6000/linux-unwind.h (frob_update_context): Do not
2986 check for AIX indirect function call sequence if _CALL_ELF == 2.
2987
29882013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2989 Alan Modra <amodra@gmail.com>
2990
2991 * config/rs6000/linux-unwind.h (get_regs): Do not support
2992 old kernel versions if _CALL_ELF == 2.
2993 (frob_update_context): Do not support PLT stub variants only
2994 generated by old linkers if _CALL_ELF == 2.
2995
771a5362 29962013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2997 Alan Modra <amodra@gmail.com>
2998
2999 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3000 location of CR save area for 64-bit little-endian systems.
3001
f4f176bd 30022013-11-11 Eric Botcazou <ebotcazou@adacore.com>
3003
3004 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3005 in tmake_file.
3006 * config/arm/t-vxworks: Delete.
3007
024d645a 30082013-11-10 Kai Tietz <ktietz@redhat.com>
3009
3010 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3011 Increment load-count on use of LIBGCC_SONAME DLL.
3012 (hmod_libgcc): New static variable to hold handle of
3013 LIBGCC_SONAME DLL.
3014 (__gcc_deregister_frame): Decrement load-count of
3015 LIBGCC_SONAME DLL.
3016
96ddb284 30172013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3018
3019 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3020 availability.
3021 * configure: Regenerate
3022
b4ad80db 30232013-11-07 Uros Bizjak <ubizjak@gmail.com>
3024
3025 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3026 FP_EX_DENORM. Store result to volatile location after SSE division
3027 to close interrupt window. Remove unneeded fwait after x87
3028 division since interrupt window will be closed by emitted fstp.
dc1dacdf 3029 Rewrite FP_EX_INEXACT handling.
b4ad80db 3030
589468a6 30312013-11-06 Joseph Myers <joseph@codesourcery.com>
3032
3033 * soft-fp/README: Update.
3034 * soft-fp/adddf3.c: Update from glibc.
3035 * soft-fp/addsf3.c: Likewise.
3036 * soft-fp/addtf3.c: Likewise.
3037 * soft-fp/divdf3.c: Likewise.
3038 * soft-fp/divsf3.c: Likewise.
3039 * soft-fp/divtf3.c: Likewise.
3040 * soft-fp/double.h: Likewise.
3041 * soft-fp/eqdf2.c: Likewise.
3042 * soft-fp/eqsf2.c: Likewise.
3043 * soft-fp/eqtf2.c: Likewise.
3044 * soft-fp/extenddftf2.c: Likewise.
3045 * soft-fp/extended.h: Likewise.
3046 * soft-fp/extendsfdf2.c: Likewise.
3047 * soft-fp/extendsftf2.c: Likewise.
3048 * soft-fp/extendxftf2.c: Likewise.
3049 * soft-fp/fixdfdi.c: Likewise.
3050 * soft-fp/fixdfsi.c: Likewise.
3051 * soft-fp/fixdfti.c: Likewise.
3052 * soft-fp/fixsfdi.c: Likewise.
3053 * soft-fp/fixsfsi.c: Likewise.
3054 * soft-fp/fixsfti.c: Likewise.
3055 * soft-fp/fixtfdi.c: Likewise.
3056 * soft-fp/fixtfsi.c: Likewise.
3057 * soft-fp/fixtfti.c: Likewise.
3058 * soft-fp/fixunsdfdi.c: Likewise.
3059 * soft-fp/fixunsdfsi.c: Likewise.
3060 * soft-fp/fixunsdfti.c: Likewise.
3061 * soft-fp/fixunssfdi.c: Likewise.
3062 * soft-fp/fixunssfsi.c: Likewise.
3063 * soft-fp/fixunssfti.c: Likewise.
3064 * soft-fp/fixunstfdi.c: Likewise.
3065 * soft-fp/fixunstfsi.c: Likewise.
3066 * soft-fp/fixunstfti.c: Likewise.
3067 * soft-fp/floatdidf.c: Likewise.
3068 * soft-fp/floatdisf.c: Likewise.
3069 * soft-fp/floatditf.c: Likewise.
3070 * soft-fp/floatsidf.c: Likewise.
3071 * soft-fp/floatsisf.c: Likewise.
3072 * soft-fp/floatsitf.c: Likewise.
3073 * soft-fp/floattidf.c: Likewise.
3074 * soft-fp/floattisf.c: Likewise.
3075 * soft-fp/floattitf.c: Likewise.
3076 * soft-fp/floatundidf.c: Likewise.
3077 * soft-fp/floatundisf.c: Likewise.
3078 * soft-fp/floatunditf.c: Likewise.
3079 * soft-fp/floatunsidf.c: Likewise.
3080 * soft-fp/floatunsisf.c: Likewise.
3081 * soft-fp/floatunsitf.c: Likewise.
3082 * soft-fp/floatuntidf.c: Likewise.
3083 * soft-fp/floatuntisf.c: Likewise.
3084 * soft-fp/floatuntitf.c: Likewise.
3085 * soft-fp/gedf2.c: Likewise.
3086 * soft-fp/gesf2.c: Likewise.
3087 * soft-fp/getf2.c: Likewise.
3088 * soft-fp/ledf2.c: Likewise.
3089 * soft-fp/lesf2.c: Likewise.
3090 * soft-fp/letf2.c: Likewise.
3091 * soft-fp/muldf3.c: Likewise.
3092 * soft-fp/mulsf3.c: Likewise.
3093 * soft-fp/multf3.c: Likewise.
3094 * soft-fp/negdf2.c: Likewise.
3095 * soft-fp/negsf2.c: Likewise.
3096 * soft-fp/negtf2.c: Likewise.
3097 * soft-fp/op-1.h: Likewise.
3098 * soft-fp/op-2.h: Likewise.
3099 * soft-fp/op-4.h: Likewise.
3100 * soft-fp/op-8.h: Likewise.
3101 * soft-fp/op-common.h: Likewise.
3102 * soft-fp/quad.h: Likewise.
3103 * soft-fp/single.h: Likewise.
3104 * soft-fp/soft-fp.h: Likewise.
3105 * soft-fp/subdf3.c: Likewise.
3106 * soft-fp/subsf3.c: Likewise.
3107 * soft-fp/subtf3.c: Likewise.
3108 * soft-fp/truncdfsf2.c: Likewise.
3109 * soft-fp/trunctfdf2.c: Likewise.
3110 * soft-fp/trunctfsf2.c: Likewise.
3111 * soft-fp/trunctfxf2.c: Likewise.
3112 * soft-fp/unorddf2.c: Likewise.
3113 * soft-fp/unordsf2.c: Likewise.
3114 * soft-fp/unordtf2.c: Likewise.
3115
8a3edb33 31162013-11-05 Uros Bizjak <ubizjak@gmail.com>
3117
3118 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3119 (_FP_MUL_MEAT_D): Ditto.
3120 (_FP_DIV_MEAT_S): Ditto.
3121 (_FP_DIV_MEAT_D): Ditto.
3122 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3123 t-softfp-sfdf and t-softfp to tmake_file.
3124
ea151fae 31252013-11-03 Uros Bizjak <ubizjak@gmail.com>
3126
3127 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3128 * config/i386/crtprec.c: Ditto.
3129
eae21ed1 31302013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
3131 Shiva Chen <shiva0217@gmail.com>
3132
3133 * config.host (nds32*-elf*): Add nds32 target.
3134 * config/nds32 : New directory and files.
3135
b4294f67 31362013-10-16 Hans-Peter Nilsson <hp@axis.com>
3137
3138 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
3139 * config.host (cpu_type) <Setting default>: Add entry for
3140 crisv32-*-*.
3141 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3142 <crisv32-*-linux*>: Adjust.
3143 * longlong.h: Wrap the whole CRIS section in a single
3144 defined(__CRIS__) conditional. Add comment about add_ssaaaa
3145 and sub_ddmmss.
3146 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3147 defined.
3148 [__CRIS__] (__umulsidi3): Define.
3149 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3150 * config/cris/sfp-machine.h: New file.
3151 * config/cris/umulsidi3.S: New file.
3152 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3153 * config/cris/arit.c (SIGNMULT): New macro.
3154 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3155 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3156 saving 3 out of originally 33 cycles from the fastest
3157 path, 3 out of 54 from the medium path and one from the longest
3158 path. Improve comments.
3159
89432048 31602013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
3161
3162 * sync.c: Remove static aliases and define each function directly
3163 under its real name.
3164
a99f9d91 31652013-10-02 John David Anglin <danglin@gcc.gnu.org>
3166
3167 * config.host (hppa*64*-*-linux*): Define extra_parts.
3168 (hppa*-*-linux*): Likewise.
3169
c6e92c43 31702013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
3171
3172 * config/arc/crtgend.S: Add 2013 to Copyright years.
3173 * config/arc/gmon/atomic.h: Likewise.
3174 * config/arc/gmon/auxreg.h: Likewise.
3175 * config/arc/gmon/sys/gmon_out.h: Likewise.
3176 * config/arc/gmon/sys/gmon.h: Likewise.
3177 * config/arc/gmon/prof-freq.c: Likewise.
3178 * config/arc/gmon/mcount.c: Likewise.
3179 * config/arc/gmon/prof-freq-stub.S: Likewise.
3180 * config/arc/gmon/gmon.c: Likewise.
3181 * config/arc/gmon/machine-gmon.h: Likewise.
3182 * config/arc/gmon/profil.S: Likewise.
3183 * config/arc/gmon/dcache_linesz.S: Likewise.
3184 * config/arc/crtg.S: Likewise.
3185 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3186 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3187 * config/arc/ieee-754/adddf3.S: Likewise.
3188 * config/arc/ieee-754/truncdfsf2.S: Likewise.
3189 * config/arc/ieee-754/fixsfsi.S: Likewise.
3190 * config/arc/ieee-754/gtsf2.S: Likewise.
3191 * config/arc/ieee-754/floatsisf.S: Likewise.
3192 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3193 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3194 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3195 * config/arc/ieee-754/fixdfsi.S: Likewise.
3196 * config/arc/ieee-754/addsf3.S: Likewise.
3197 * config/arc/ieee-754/gesf2.S: Likewise.
3198 * config/arc/ieee-754/floatsidf.S: Likewise.
3199 * config/arc/ieee-754/extendsfdf2.S: Likewise.
3200 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3201 * config/arc/ieee-754/gtdf2.S: Likewise.
3202 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3203 * config/arc/ieee-754/uneqdf2.S: Likewise.
3204 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3205 * config/arc/ieee-754/uneqsf2.S: Likewise.
3206 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3207 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3208 * config/arc/ieee-754/eqdf2.S: Likewise.
3209 * config/arc/ieee-754/ordsf2.S: Likewise.
3210 * config/arc/ieee-754/divsf3.S: Likewise.
3211 * config/arc/ieee-754/divdf3.S: Likewise.
3212 * config/arc/ieee-754/floatunsidf.S: Likewise.
3213 * config/arc/ieee-754/orddf2.S: Likewise.
3214 * config/arc/ieee-754/eqsf2.S: Likewise.
3215 * config/arc/ieee-754/gedf2.S: Likewise.
3216 * config/arc/crtn.S: Likewise.
3217 * config/arc/crti.S: Likewise.
3218 * config/arc/t-arc700-uClibc: Likewise.
3219 * config/arc/asm.h: Likewise.
3220 * config/arc/libgcc-excl.ver: Likewise.
3221 * config/arc/t-arc-newlib: Likewise.
3222 * config/arc/divtab-arc700.c: Likewise.
3223 * config/arc/initfini.c: Likewise.
3224 * config/arc/fp-hack.h: Likewise.
3225
8abf21c0 32262013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3227 Diego Novillo <dnovillo@google.com>
3228
3229 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
29941397 3230 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3231 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3232 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8abf21c0 3233
8eaaaea3 32342013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3235 Brendan Kehoe <brendan@zen.org>
3236 Simon Cook <simon.cook@embecosm.com>
3237
3238 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3239 * config/arc: New directory.
3240 * longlong.h [__arc__] (umul_ppmm): Remove.
3241 [__arc__] (__umulsidi3): Define.
3242 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3243 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3244
5d7073ff 32452013-09-17 Jacek Caban <jacek@codeweavers.com>
3246
3247 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3248 CreateSemaphoreA.
3249 * config/i386/gthr-win32.h: Likewise.
3250
c5a0ae5e 32512013-09-16 DJ Delorie <dj@redhat.com>
3252
3feee9ae 3253 * config/rl78/vregs.h: Add G10 register definitions.
c5a0ae5e 3254 * config/rl78/lib2mul.c: Enable for RL78/G10.
3255 * config/rl78/lib2div.c: Likewise.
3256 * config/rl78/lshrsi3.S: Use vregs.h.
3257 * config/rl78/cmpsi2.S: Likewise.
3258 * config/rl78/trampoline.S: Likewise.
3259 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
3260
03223f89 32612013-09-14 DJ Delorie <dj@redhat.com>
3262 Nick Clifton <nickc@redhat.com>
3263
3264 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3265 * config/rl78/vregs.h: New.
3266 * config/rl78/signbit.S: New file. Implements signbit function.
3267 * config/rl78/divmodsi.S: New.
3268 * config/rl78/divmodhi.S: New.
3269 * config/rl78/divmodqi.S: New.
3270 * config/rl78/t-rl78: Build them here...
3271 * config/rl78/lib2div.c: ...but not here.
3272
e4a25868 32732013-09-12 DJ Delorie <dj@redhat.com>
3274
3275 * config.host (msp*-*-elf): New.
3276 * config/msp430/: New port.
3277
f5f1a747 32782013-08-18 Iain Sandoe <iain@codesourcery.com>
3279
3280 PR gcov-profile/58127
3281 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3282 __thread var for emulated TLS.
3283 (__gcov_indirect_call_counters): Likewise.
3284
272552a3 32852013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
ea151fae 3286 Catherine Moore <clm@codesourcery.com>
92e91d03 3287 Richard Sandiford <rdsandiford@googlemail.com>
272552a3 3288
3289 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3290 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3291 (CALL_STUB_NO_RET): Likewise.
3292 (CALL_STUB_RET): Likewise.
3293 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3294 __mips16_ret call/return stub symbols.
3295 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3296 to tmake_file.
3297
26865d30 32982013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
3299
3300 * config.host <mips*-*-linux*>: Remove a stray comment.
3301
4771c0ac 33022013-08-10 Jan Hubicka <jh@suse.cz>
3303
3304 Work around binutils PR14342
3305 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3306 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3307 (L_gcov_indirect_call_profiler_v2): New.
3308
fe37be54 33092013-08-06 Jan Hubicka <jh@suse.cz>
3310
3311 * libgcov.c (__gcov_indirect_call_callee,
3312 __gcov_indirect_call_counters): New global vars.
3313 (__gcov_indirect_call_profiler): replace by ...
3314 (__gcov_indirect_call_profiler_v2) ... this one.
3315
b710ec85 33162013-08-06 Caroline Tice <cmtice@google.com>
3317
62257207 3318 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
b710ec85 3319 vtv_start_preinit.o and vtv_end_preinit.o.
62257207 3320 * configure.ac: Add code to check/set enable_vtable_verify.
3321 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
b710ec85 3322 true.
62257207 3323 * vtv_start_preinit.c: New file.
3324 * vtv_end_preinit.c: New file.
3325 * vtv_start.c: New file.
3326 * vtv_end.c: New file.
3327 * configure: Regenerated.
b710ec85 3328
98997678 33292013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
3330
3331 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3332 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3333 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3334 GPL-3.0-with-GCC-exception.
3335
b26b6f0d 33362013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
3337
3338 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3339 ISA and up.
3340
e6270f6f 33412013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3342
3343 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3344 mapping for FPRs when creating the fallback framestate.
3345
fdbf5b19 33462013-07-19 Georg-Johann Lay <avr@gjlay.de>
3347
3348 PR target/57516
3349 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3350 (__round_s2_const, __round_u2_const)
3351 (__round_s4_const, __round_u4_const, __round_x8):
3352 Saturate result if addition result cannot be represented.
3353
6dcb849c 33542013-07-15 Matthias Klose <doko@ubuntu.com>
3355
3356 * libgcc2.c: Don't include <limits.h>.
3357
16348e18 33582013-07-09 Janis Johnson <janisjo@codesourcery.com>
3359
3360 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3361
64b5be08 33622013-07-06 Jakub Jelinek <jakub@redhat.com>
3363
3364 PR target/29776
3365 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3366
68a09193 33672013-06-28 Jakub Jelinek <jakub@redhat.com>
3368
3369 PR middle-end/36041
3370 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3371 Define.
3372 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3373 instead of table lookups.
3374 (__popcountDI2): Likewise.
3375
5fe358df 33762013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
3377
3378 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3379 correctly.
3380
2511e9f1 33812013-06-21 Joseph Myers <joseph@codesourcery.com>
3382
3383 PR other/53317
3384 * soft-fp/adddf3.c: Update from glibc.
3385 * soft-fp/addsf3.c: Likewise.
3386 * soft-fp/addtf3.c: Likewise.
3387 * soft-fp/divdf3.c: Likewise.
3388 * soft-fp/divsf3.c: Likewise.
3389 * soft-fp/divtf3.c: Likewise.
3390 * soft-fp/double.h: Likewise.
3391 * soft-fp/eqdf2.c: Likewise.
3392 * soft-fp/eqsf2.c: Likewise.
3393 * soft-fp/eqtf2.c: Likewise.
3394 * soft-fp/extenddftf2.c: Likewise.
3395 * soft-fp/extended.h: Likewise.
3396 * soft-fp/extendsfdf2.c: Likewise.
3397 * soft-fp/extendsftf2.c: Likewise.
3398 * soft-fp/fixdfdi.c: Likewise.
3399 * soft-fp/fixdfsi.c: Likewise.
3400 * soft-fp/fixsfdi.c: Likewise.
3401 * soft-fp/fixsfsi.c: Likewise.
3402 * soft-fp/fixtfdi.c: Likewise.
3403 * soft-fp/fixtfsi.c: Likewise.
3404 * soft-fp/fixunsdfdi.c: Likewise.
3405 * soft-fp/fixunsdfsi.c: Likewise.
3406 * soft-fp/fixunssfdi.c: Likewise.
3407 * soft-fp/fixunssfsi.c: Likewise.
3408 * soft-fp/fixunstfdi.c: Likewise.
3409 * soft-fp/fixunstfsi.c: Likewise.
3410 * soft-fp/floatdidf.c: Likewise.
3411 * soft-fp/floatdisf.c: Likewise.
3412 * soft-fp/floatditf.c: Likewise.
3413 * soft-fp/floatsidf.c: Likewise.
3414 * soft-fp/floatsisf.c: Likewise.
3415 * soft-fp/floatsitf.c: Likewise.
3416 * soft-fp/floatundidf.c: Likewise.
3417 * soft-fp/floatundisf.c: Likewise.
3418 * soft-fp/floatunditf.c: Likewise.
3419 * soft-fp/floatunsidf.c: Likewise.
3420 * soft-fp/floatunsisf.c: Likewise.
3421 * soft-fp/floatunsitf.c: Likewise.
3422 * soft-fp/gedf2.c: Likewise.
3423 * soft-fp/gesf2.c: Likewise.
3424 * soft-fp/getf2.c: Likewise.
3425 * soft-fp/ledf2.c: Likewise.
3426 * soft-fp/lesf2.c: Likewise.
3427 * soft-fp/letf2.c: Likewise.
3428 * soft-fp/muldf3.c: Likewise.
3429 * soft-fp/mulsf3.c: Likewise.
3430 * soft-fp/multf3.c: Likewise.
3431 * soft-fp/negdf2.c: Likewise.
3432 * soft-fp/negsf2.c: Likewise.
3433 * soft-fp/negtf2.c: Likewise.
3434 * soft-fp/op-1.h: Likewise.
3435 * soft-fp/op-2.h: Likewise.
3436 * soft-fp/op-4.h: Likewise.
3437 * soft-fp/op-8.h: Likewise.
3438 * soft-fp/op-common.h: Likewise.
3439 * soft-fp/quad.h: Likewise.
3440 * soft-fp/single.h: Likewise.
3441 * soft-fp/soft-fp.h: Likewise.
3442 * soft-fp/subdf3.c: Likewise.
3443 * soft-fp/subsf3.c: Likewise.
3444 * soft-fp/subtf3.c: Likewise.
3445 * soft-fp/truncdfsf2.c: Likewise.
3446 * soft-fp/trunctfdf2.c: Likewise.
3447 * soft-fp/trunctfsf2.c: Likewise.
3448 * soft-fp/unorddf2.c: Likewise.
3449 * soft-fp/unordsf2.c: Likewise.
3450 * soft-fp/unordtf2.c: Likewise.
3451 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3452 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3453 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3454 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3455 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3456 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3457 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3458 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3459 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3460 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3461 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3462 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3463
0b4e9fcd 34642013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
3465
3466 * config/mips/lib2funcs.c: New file.
3467 * config/mips/t-mips (LIB2ADD_ST): Add it.
3468
fe9c9e23 34692013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
3470
3471 PR target/6526
3472 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3473 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
3474
1c229e23 34752013-06-08 Walter Lee <walt@tilera.com>
3476
3477 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3478 Replace int64_t with long long. Add __extension__ where
3479 appropriate.
3480 * config/tilepro/atomic.c: Include config.h.
3481
1a7dfb13 34822013-06-06 Douglas B Rupp <rupp@adacore.com>
3483
3484 * config.host (arm-wrs-vxworks): Configure with other soft float.
3485
60b34f30 34862013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
3487
3488 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3489 (mips64r5900el-*-elf*): New configurations.
3490
ebe9cbdb 34912013-06-04 Alan Modra <amodra@gmail.com>
3492
3493 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3494
fbcee6d1 34952013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
3496
3497 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3498
aad33226 34992013-05-28 Eric Botcazou <ebotcazou@adacore.com>
3500
3501 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3502 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3503 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3504
47ab8c10 35052013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3506
3507 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3508 (powerpc-wrs-vxworks): Likewise.
3509
34a60aa2 35102013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3511
3512 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3513 signal frames as well.
3514 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3515 STACK_BIAS to the CFA offset.
3516
be82f7a8 35172013-05-17 Richard Henderson <rth@redhat.com>
3518
3519 PR target/49146
3520 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3521 (execute_cfa_program): Use it when storing to fs->regs.
3522
bd89d2b6 35232013-05-08 Kai Tietz <ktietz@redhat.com>
3524
3525 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3526 (__deregister_frame_info): Likewise.
3527
9e849aff 35282013-05-06 Thomas Schwinge <thomas@codesourcery.com>
3529
dfa9a36a 3530 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3531 NaN's payload.
3532
9e849aff 3533 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3534
d80dc920 35352013-04-25 Alan Modra <amodra@gmail.com>
3536
3537 * config.host: Match little-endian powerpc-linux.
3538
d359df0c 35392013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
3540
3541 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3542 as 'unsigned long long' instead of 'unsigned long'.
3543 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3544 'signed long'.
3545
912507e5 35462013-04-10 Julian Brown <julian@codesourcery.com>
3547
3548 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3549 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3550 unsigned char/unsigned short.
3551 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3552
9dafcef4 35532013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3554
3555 PR other/55274
3556 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3557
11bec6e6 35582013-04-04 Meador Inge <meadori@codesourcery.com>
3559
3560 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3561 computing the location of the link register.
3562 (aeabi_uldivmod): Ditto.
3563
45d13ef4 35642013-03-27 Kai Tietz <ktietz@redhat.com>
3565
3566 * config.host: Add support for cygwin x64 target.
3567 * configure: Regenerated.
3568
cad8262b 35692013-03-26 Walter Lee <walt@tilera.com>
3570
3571 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3572 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3573
d2adc174 35742013-03-25 Kai Tietz <ktietz@redhat.com>
3575
3576 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3577
a5487e41 35782013-03-20 Robert Mason <rbmj@verizon.net>
3579
3580 * config/vxlib-tls.c (__gthread_get_tsd_data,)
3581 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3582 (__gthread_leave_tsd_dtor_context): Add prototypes.
3583 (tls_delete_hook): Update.
3584
ff9c1bc1 35852013-03-20 Catherine Moore <clm@codesourcery.com>
3586 Joseph Myers <joseph@codesourcery.com>
3587 Chao-ying Fu <fu@mips.com>
3588
3589 * config/mips/mips16.S: Don't build for microMIPS.
3590 * config/mips/linux-unwind.h: Handle microMIPS frame.
3591 * config/mips/crtn.S (fini, init): New labels.
3592
228bf2b8 35932013-03-14 Jakub Jelinek <jakub@redhat.com>
3594
3595 PR tree-optimization/53265
3596 * unwind-dw2.c (execute_cfa_program): Avoid
3597 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
3598 on targets with DWARF_FRAME_REGISTERS < 32.
3599
bb057878 36002013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
3601
3602 PR target/49880
3603 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
3604 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
3605
a1b2a524 36062013-03-07 Sriraman Tallam <tmsriram@google.com>
3607
3608 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
3609 sandybridge processors.
3610
9fe603c3 36112013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
3612
3613 PR target/56529
3614 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
3615 inclusion list.
3616
21ebaa24 36172013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
02f4bd0d 3618
3619 * config/microblaze/crti.S: Setup stack protection at entry
3620
958069e9 36212013-03-04 Georg-Johann Lay <avr@gjlay.de>
3622
3623 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
3624 (__rotldi3): Shift bytewise if applicable.
3625
49be16da 36262013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
3627
3628 * config/aarch64/sync-cache.c
3629 (__aarch64_sync_cache_range): Silence warnings.
3630
ca7a473f 36312013-02-25 Catherine Moore <clm@codesourcery.com>
3632
3633 Revert:
3634 2013-02-24 Catherine Moore <clm@codesourcery.com>
3635 Joseph Myers <joseph@codesourcery.com>
3636 Chao-ying Fu <fu@mips.com>
3637
3638 * config/mips/mips16.S: Don't build for microMIPS.
3639 * config/mips/linux-unwind.h: Handle microMIPS frame.
3640 * config/mips/crtn.S (fini, init): New labels.
3641
7fd93f9c 36422013-02-24 Catherine Moore <clm@codesourcery.com>
3643 Joseph Myers <joseph@codesourcery.com>
3644 Chao-ying Fu <fu@mips.com>
3645
3646 * config/mips/mips16.S: Don't build for microMIPS.
3647 * config/mips/linux-unwind.h: Handle microMIPS frame.
3648 * config/mips/crtn.S (fini, init): New labels.
3649
1859244f 36502012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
005a5ef5 3651 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1859244f 3652 as dividend.
3653
2a0bfd56 36542013-02-16 Alan Modra <amodra@gmail.com>
3655
3656 PR target/55431
3657 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
3658 (ppc_fallback_frame_state): Always set up save locations for fp
3659 and altivec. Don't bother with non-callee-saved regs, r0-r13
3660 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
3661
cfbcb7d5 36622013-02-12 Georg-Johann Lay <avr@gjlay.de>
3663
3664 PR target/54222
3665 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
3666 _ssmulHA, _ssmulSA.
3667 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
3668 _ssmulha3, _usmulusa3, _ssmulsa3.
3669 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
3670 (__muldi3): XCALL __muldi3_6 instead of rcall.
3671 (__umulsidi3, __mulsidi3): New functions.
3672 (do_prologue_saves, do_epilogue_restores): New .macros.
3673 (__divdi3_moddi3): Use them.
3674 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
3675 (__usmulusa3, __ssmulsa3): New functions.
3676
48b8e70a 36772013-02-11 Iain Sandoe <iain@codesourcery.com>
3678 Jack Howarth <howarth@bromo.med.uc.edu>
3679 Patrick Marlier <patrick.marlier@gmail.com>
3680
3681 PR libitm/55693
3682 * config/darwin-crt-tm.c: Remove dummy functions hack.
3683
eafea251 36842013-02-08 Georg-Johann Lay <avr@gjlay.de>
3685
3686 PR target/54222
3687 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
3688 * config/avr/lib2-object.mk: New iterator to build objects from it.
3689 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
3690 lib2funcs.c.
3691 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
3692 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
3693 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
3694 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
3695 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
3696 * config/avr/lib1funcs-fixed.S: Implement them.
3697
64b7b462 36982013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
3699
3700 Update copyright years.
3701
a8af2dd5 37022013-02-01 David Edelsohn <dje.gcc@gmail.com>
3703
3704 PR target/54601
3705 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
3706 Add crtcxa to extra_parts.
3707 * config/rs6000/exit.h: New file.
3708 * config/rs6000/cxa_atexit.c: New file.
3709 * config/rs6000/cxa_finalize.c: New file.
3710 * config/rs6000/crtcxa.c: New file.
3711 * config/rs6000/t-aix-cxa: New file.
3712 * config/rs6000/libgcc-aix-cxa.ver: New file.
3713
9a5788ea 37142013-01-31 Nick Clifton <nickc@redhat.com>
3715
3716 * config/v850/lib1funcs.S: Add support for e3v5 architecture
3717 variant.
3718
63c85bd5 37192013-01-29 Georg-Johann Lay <avr@gjlay.de>
3720
3721 PR target/54222
3722 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
3723 _mulQQ, _mulHQ, _mulHA, _mulSA,
3724 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
3725 _divQQ, _divHQ, _divHA, _divSA,
3726 _divUQQ, _divUHQ, _divUHA, _divUSA.
3727
21ebaa24 37282013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
c48df545 3729
9a5788ea 3730 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 3731 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
3732 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
3733 to exclude functions from being built with libgcc.c and use
3734 the microblaze assembly.
3735
21ebaa24 37362013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
98f2ac05 3737
3738 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
3739 extra_parts.
3740
ee4d7d9e 37412013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
3742
3743 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
3744 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
3745 __UINTPTR_TYPE__; also cast 'base' to the same type before the
3746 alignment operation.
3747
7deea711 37482013-01-15 Sofiane Naci <sofiane.naci@arm.com>
3749
3750 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
3751 loop start address for cache clearing.
3752
0dff9558 37532013-01-14 Georg-Johann Lay <avr@gjlay.de>
3754
3755 * config/avr/lib1funcs.S: Remove trailing blanks.
3756 * config/avr/lib1funcs-fixed.S: Ditto.
3757
d8ff1e9a 37582013-01-14 Georg-Johann Lay <avr@gjlay.de>
3759
3760 * config/avr/avr-lib.h: Add GPL copyright notice.
3761
dd509879 37622013-01-14 Georg-Johann Lay <avr@gjlay.de>
3763
3764 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
3765 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
3766 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
3767 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
3768
6e029611 37692013-01-07 Mark Kettenis <kettenis@openbsd.org>
3770
3771 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
3772 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
51918e06 3773
409ad634 37742013-01-04 Nick Clifton <nickc@redhat.com>
3775
3776 * config/v850/lib1funcs.S: Only provide CALLT support functions if
3777 the CALLT instruction is supported.
3778
1d384e02 37792012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3780
3781 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
3782 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
3783
cc4b03ac 37842012-12-13 John Tytgat <John@bass-software.com>
3785
3786 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
3787 is 25.
3788
990457e2 37892012-12-12 Jakub Jelinek <jakub@redhat.com>
3790
3791 PR libgcc/55451
3792 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
3793 undefined signed overflows.
3794
db6a9a70 37952012-12-09 Uros Bizjak <ubizjak@gmail.com>
3796
3797 PR target/55344
3798 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
3799
038a6cd9 38002012-12-06 Uros Bizjak <ubizjak@gmail.com>
3801
3802 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
3803 (FP_TRAPPING_EXCEPTIONS): Define.
3804 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
3805 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
3806
ef5f15fb 38072012-12-04 Richard Henderson <rth@redhat.com>
3808
3809 PR bootstrap/55571
3810 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
3811
92e91d03 38122012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
09ef8b8d 3813
038a6cd9 3814 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 3815 (FP_EX_SHIFT): Define.
3816 (FP_TRAPPING_EXCEPTIONS): Define.
3817
92e91d03 38182012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1caca546 3819
3820 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
3821 (FP_ROUNDMODE): Use FP_RND_MASK.
3822 * config/aarch64/sfp-exceptions.c: New.
3823 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3824 Use __sfp_handle_exceptions.
3825
6a11e52b 38262012-12-04 Richard Earnshaw <rearnsha@arm.com>
3827
3828 * config.host: (arm*-*-freebsd*): Remove.
3829 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
3830 (arm*-*-elf*): Remove.
3831 (arm*-*-wince-pe*): Remove.
3832 * arm/unwind-arm.c (struct fpa_reg): Delete.
3833 (struct fpa_regs): Delete.
3834 (phase1_vrs): Remove fpa element.
3835 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
3836 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
3837 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
3838 * ieee754-sf.S (floatundisf): Remove FPA support.
3839 (floatdisf): Likewise.
3840 * ieee75f-df.S (floatundidf): Likewise.
3841 (floatdidf): Likewise.
3842
a92cf445 38432012-11-29 Kai Tietz <ktietz@redhat.com>
3844
3845 PR target/55445
3846 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
3847 * unwind-generic.h: Likewise.
3848 * unwind-seh.c: Likewise.
3849
f0b6dfa6 38502012-11-28 Richard Henderson <rth@redhat.com>
3851
3852 PR libgcc/48076
3853 * emutls.c (__emutls_get_address): Avoid race condition between
3854 obj->loc.offset read and emutls_key initialization.
038a6cd9 3855
c8ec4eb6 38562012-11-22 Georg-Johann Lay <avr@gjlay.de>
3857
3858 Adjust decimal point of signed accum mode to GCC default.
3859
3860 PR target/54222
3861 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
3862 _divqq_helper.
3863 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
3864 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
3865 (__mulha3, __mulsa3)
3866 (__divqq3, __divha3, __divsa3): Adjust to new position of
038a6cd9 3867 decimal point of signed accum types.
3868
c8ec4eb6 3869 (__mulusa3_round): New function.
3870 (__mulusa3): Use it.
3871 (__divqq_helper): New function.
3872 (__udivuqq3): Use it.
3873
ca8c4cb9 38742012-11-20 Jakub Jelinek <jakub@redhat.com>
3875
3876 PR bootstrap/55370
3877 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
3878
5d2fca09 38792012-11-18 Teresa Johnson <tejohnson@google.com>
3880
3881 PR bootstrap/55051
3882 * libgcov.c (gcov_exit): Remove merged program summary
3883 comparison unless !GCOV_LOCKED.
3884
92e91d03 38852012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
bfc20a3e 3886
3887 * soft-fp: Updated from glibc upstream.
3888
20f6e7a3 38892012-11-06 Ian Lance Taylor <iant@google.com>
3890
3891 * generic-morestack.c (__generic_morestack): Align the returned
3892 stack pointer to a 32 byte boundary.
3893 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
3894 increment the return address until we have decided that we don't
3895 have a varargs function.
3896 (__morestack) [32-bit]: Align stack correctly when calling C
3897 functions.
3898 (__morestack) [64-bit]: Likewise.
3899
97bd2465 39002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3901
3902 * configure: Regenerate.
3903
d152ae90 39042012-11-02 Uros Bizjak <ubizjak@gmail.com>
3905
3906 PR target/55175
3907 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
3908 * config/i386/sfp-machine.h: Guard exception handling
3909 code with _SOFT_FLOAT.
3910 * config/i386/32/sfp-machine.h: Guard rounding handling
3911 code with _SOFT_FLOAT.
3912 * config/i386/64/sfp-machine.h: Ditto.
3913
0cd8c088 39142012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
3915
3916 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
3917 as extra_parts.
3918
113702f6 39192012-10-26 Uros Bizjak <ubizjak@gmail.com>
3920
3921 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
3922 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
3923 when appropriate. Correct structure element types.
3924 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
3925 -minline-all-stringops from compile flags.
3926
92e91d03 39272012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
00b706f9 3928
3929 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
3930
92e91d03 39312012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
57380e33 3932
113702f6 3933 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 3934
a2397d15 39352012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3936
3937 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
3938 tmake_file.
3939
1b3d2097 39402012-10-23 Ian Bolton <ian.bolton@arm.com>
3941 Jim MacArthur <jim.macarthur@arm.com>
3942 Marcus Shawcroft <marcus.shawcroft@arm.com>
3943 Nigel Stephens <nigel.stephens@arm.com>
3944 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3945 Richard Earnshaw <rearnsha@arm.com>
3946 Sofiane Naci <sofiane.naci@arm.com>
3947 Stephen Thomas <stephen.thomas@arm.com>
3948 Tejas Belagod <tejas.belagod@arm.com>
3949 Yufeng Zhang <yufeng.zhang@arm.com>
3950
3951 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
3952 * config/aarch64/crti.S: New file.
3953 * config/aarch64/crtn.S: New file.
3954 * config/aarch64/linux-unwind.h: New file.
3955 * config/aarch64/sfp-machine.h: New file.
3956 * config/aarch64/sync-cache.c: New file.
3957 * config/aarch64/t-aarch64: New file.
3958 * config/aarch64/t-softfp: New file.
3959
cfdcf688 39602012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
3961
3962 * config/mmix/crti.S: Mark program and data addresses using PRELD.
3963 Remove typo'd and unnecessary alignment-LOC for .data. Remove
3964 no-longer-needed LDBU insns.
3965
92e91d03 39662012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
598ebe3d 3967
3968 * config.host
3969 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
3970 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
3971
530c2b2e 39722012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3973
3974 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
3975
f49eb158 39762012-10-15 Matthias Klose <doko@ubuntu.com>
3977
3978 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
3979
017f22df 39802012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
3981
3982 * configure: Regenerate.
3983 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
3984
da8b7497 39852012-10-10 Uros Bizjak <ubizjak@gmail.com>
3986
3987 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3988 instructions for 64bit targets only.
3989
19a23012 39902012-10-10 Uros Bizjak <ubizjak@gmail.com>
3991
3992 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3993 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
3994 * config/i386/32/sfp-machine.h: ... here.
3995 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
3996 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
3997 New defines.
3998
a32dc74a 39992012-10-07 Matthias Klose <doko@ubuntu.com>
4000
4001 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4002 as unused.
4003 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4004
81ae3d37 40052012-10-06 Mark Kettenis <kettenis@openbsd.org>
4006
4007 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4008 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4009 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4010 (ElfW): Likewise.
4011
4e6a7cfc 40122012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
4013
4014 PR other/53889
4015 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4016 Fix parameter names.
4017
7cc401e3 40182012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
4019
4020 PR target/33135
4021 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4022 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4023 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4024
cfaba078 40252012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
4026
4027 PR target/50457
4028 * config/sh/linux-atomic.S: Delete.
4029 * config/sh/linux-atomic.c: New.
4030 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4031 linux-atomic.c. Add cflags to disable warnings.
4032
4854adab 40332012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4034
4035 PR other/53889
4036 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4037 function.
4038 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4039 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4040 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4041 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4e6a7cfc 4042 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4043 Likewise.
4854adab 4044 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4045 Likewise.
4046 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4047 Likewise.
4048 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4049 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4050
07cf7615 40512012-09-19 Mark Kettenis <kettenis@openbsd.org>
4052
cfaba078 4053 * config.host (hppa-*-openbsd*): New target.
4054 * config/pa/t-openbsd: New file.
07cf7615 4055
b4ebb666 40562012-09-15 Georg-Johann Lay <avr@gjlay.de>
4057
4058 PR target/54222
4059 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4060 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4061 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4062 (__divsa3): Use __negsi2 to negate r_quoL.
4063 * config/avr/lib1funcs.S (FALIAS): New macro.
4064 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4065 (__negsi2): ...this new function.
4066 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4067 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4068 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4069 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4070 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4071 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4072
6e7c6395 40732012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
4074
4075 PR target/54089
4076 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4077 (lshrsi3): Reimplement as lshrsi3_r0.
4078
5e847ded 40792012-09-10 Andreas Schwab <schwab@linux-m68k.org>
4080
4081 PR target/46191
4082 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4083 of libgcc.a.
4084
7995ce5f 40852012-09-07 Teresa Johnson <tejohnson@google.com>
4086
cfaba078 4087 PR gcov-profile/54487
7995ce5f 4088 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 4089 differences.
7995ce5f 4090
fd28e216 40912012-09-05 Georg-Johann Lay <avr@gjlay.de>
4092
4093 PR target/54461
4094 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4095 not configured --with-avrlibc=no.
4096 * config/avr/t-avrlibc: New file.
4097 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4098 (DPBIT_FUNCS): Ditto.
4099 (TPBIT_FUNCS): Ditto.
4100
2688cb90 41012012-09-04 Teresa Johnson <tejohnson@google.com>
4102
4103 * libgcov.c (struct gcov_summary_buffer): New structure.
4104 (gcov_histogram_insert): New function.
4105 (gcov_compute_histogram): Ditto.
4106 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4107 histograms during summary merging.
4108
51796b3a 41092012-09-01 Mark Kettenis <kettenis@openbsd.org>
4110
4111 * config.host (x86_64-*-openbsd*): New target.
d152ae90 4112
d36db932 41132012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4114
4115 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4116 attribute.
4117
d87654c8 41182012-08-24 Georg-Johann Lay <avr@gjlay.de>
4119
4120 PR target/54222
4121 * config/avr/t-avr (conv_X): Rename to func_X.
4122
017c5b98 41232012-08-24 Georg-Johann Lay <avr@gjlay.de>
4124
4125 PR target/54222
4126 * config/avr/lib1funcs-fixed.S: New file.
4127 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
4128 after they are used.
4129 (neg2, neg4): New macros.
4130 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4131 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4132 (__umulhisi3): Speed up MUL variant if there is enough flash.
4133 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4134 avr-modes.def.
4135 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4136 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4137 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4138 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4139 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4140 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4141 (LIB2FUNCS_EXCLUDE): Add supported functions.
4142
65bcd545 41432012-08-22 Georg-Johann Lay <avr@gjlay.de>
4144
4145 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4146 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4147 libgcc-s-objects.
4148 * fixed-obj.mk: Only expand dependency if $o is not in
4149 LIB2FUNCS_EXCLUDE.
4150
39166195 41512012-08-22 H.J. Lu <hongjiu.lu@intel.com>
4152
4153 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4154
b78f422e 41552012-08-22 Joseph Myers <joseph@codesourcery.com>
4156
4157 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4158 depend on --enable-shared.
4159 ($(lib1asmfuncs-o)): Use %.vis files independent of
4160 --enable-shared.
4161 * static-object.mk ($(base)$(objext), $(base).vis)
4162 ($(base)_s$(objext)): Use same rules for visibility handling as in
4163 shared-object.mk.
4164
66ef0f44 41652012-08-21 Ian Lance Taylor <iant@google.com>
4166
4167 * config/i386/morestack.S (__morestack_non_split): Increase amount
4168 of space allocated for non-split code stack.
4169
93547515 41702012-08-19 Joseph Myers <joseph@codesourcery.com>
4171
4172 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4173 even if inhibit_libc.
4174
98d22b3c 41752012-08-17 Julian Brown <julian@codesourcery.com>
4176
4177 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4178 -fexceptions -fnon-call-exceptions if not defined.
4179 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4180 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4181
2076ec4b 41822012-08-17 Andreas Schwab <schwab@linux-m68k.org>
4183
4184 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4185 type.
4186
c1420b84 41872012-08-16 David Edelsohn <dje.gcc@gmail.com>
4188
4189 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4190 rs6000/t-slibgcc-aix.
4191
ae5b70d0 41922012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4193
4194 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4195
4ff70f1c 41962012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4197
4198 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4199
464810a0 42002012-08-03 H.J. Lu <hongjiu.lu@intel.com>
4201
4202 PR driver/54171
4203 * Makefile.in (version): Replace top_srcdir with srcdir.
4204
d2c6da38 42052012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
4206
4207 * Makefile.in (version): set to BASE-VER file from gcc directory.
4208
a575acb2 42092012-08-01 Nick Clifton <nickc@redhat.com>
4210
4211 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4212 Implements __clrsb for an HImode argument.
4213
3a44f5e6 42142012-07-31 Nick Clifton <nickc@redhat.com>
4215
4216 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4217 Implements __clrsb for an HImode argument.
4218 * config/stormy16/clrsbhi2.c: New file:
4219 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4220
56b17dd7 42212012-07-22 Steven Bosscher <steven@gcc.gnu.org>
4222
4223 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4224
8ad0b530 42252012-07-19 Tristan Gingold <gingold@adacore.com>
4226 Richard Henderson <rth@redhat.com>
4227
4228 * unwind-seh.c: New file.
4229 * unwind-generic.h: Include windows.h for SEH.
4230 (_Unwind_Exception): Use 6 private fields for SEH.
4231 (_GCC_specific_handler): Declare.
4232 * unwind-c.c (__gcc_personality_seh0): New function.
4233 Adjust for SEH.
4234 * config/i386/libgcc-cygming.ver: New file.
4235 * config/i386/t-seh-eh: New file.
4236 * config.host (x86_64-*-mingw*): Default to seh.
4237
017bf976 42382012-07-14 Steven Bosscher <steven@gcc.gnu.org>
4239
4240 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4241
6f24586e 42422012-06-17 Uros Bizjak <ubizjak@gmail.com>
4243
4244 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4245 __builtin_expect when checking for exceptions.
4246 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4247
1927db1f 42482012-06-13 Uros Bizjak <ubizjak@gmail.com>
4249
7b9088d5 4250 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4251 function declaration.
4252 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4253 (FP_RND_MASK): New.
4254 * config/ia64/sfp-exceptions.c: New.
4255 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1927db1f 4256
c3576308 42572012-06-13 Uros Bizjak <ubizjak@gmail.com>
4258
4259 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4260 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4261 * config/i386/64/sfp-machine: ... (delete here) ...
4262 * config/i386/sfp-machine.h: ... to here.
4263 (FP_EX_MASK): Remove.
4264 (FP_RND_MASK): New.
4265 (FP_INIT_ROUNDMODE): Declare asm as volatile.
4266
725b956c 42672012-06-11 Sriraman Tallam <tmsriram@google.com>
4268
4269 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4270 * config/i386/libgcc-sol2.ver: Ditto.
4271 * config/i386/libgcc-glibc.ver: Ditto.
4272
026e608e 42732012-06-11 Roland McGrath <mcgrathr@google.com>
4274
4275 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4276 If __GLIBC__ is defined, refer to __pthread_key_create instead of
4277 pthread_cancel.
4278
2c223cf2 42792012-06-09 Uros Bizjak <ubizjak@gmail.com>
4280
4281 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4282 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4283 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4284 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4285 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4286 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4287 * config/i386/64/sfp-machine: ... (delete here) ...
4288 * config/i386/sfp-machine.h: ... to here.
4289 (FP_EX_MASK): New.
4290 (__sfp_handle_exceptions): New function declaration.
4291 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4292 * config/i386/sfp-exceptions.c: New.
4293 * config/i386/t-softfp: New.
4294 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4295 i386/t-softfp to tmake_file.
4296
620803f2 42972012-06-03 David S. Miller <davem@davemloft.net>
4298
4299 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4300 change.
4301
38ef0978 43022012-05-31 David S. Miller <davem@davemloft.net>
4303
4304 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4305 multiply and divide instructions on 32-bit when V9.
4306 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4307
e1c346e5 43082012-05-29 Joseph Myers <joseph@codesourcery.com>
4309
4310 * config/arm/ieee754-df.S: Fix typos.
4311 * config/arm/ieee754-sf.S: Fix typos.
4312 * config/c6x/libunwind.S: Fix typos.
4313 * config/epiphany/udivsi3-float.c: Fix typos.
4314 * config/microblaze/muldi3_hard.S: Fix typos.
4315 * config/picochip/adddi3.S: Fix typos.
4316 * config/picochip/ashlsi3.S: Fix typos.
4317 * config/picochip/ashrsi3.S: Fix typos.
4318 * config/picochip/clzsi2.S: Fix typos.
4319 * config/picochip/cmpsi2.S: Fix typos.
4320 * config/picochip/divmod15.S: Fix typos.
4321 * config/picochip/divmodhi4.S: Fix typos.
4322 * config/picochip/divmodsi4.S: Fix typos.
4323 * config/picochip/longjmp.S: Fix typos.
4324 * config/picochip/lshrsi3.S: Fix typos.
4325 * config/picochip/parityhi2.S: Fix typos.
4326 * config/picochip/popcounthi2.S: Fix typos.
4327 * config/picochip/setjmp.S: Fix typos.
4328 * config/picochip/subdi3.S: Fix typos.
4329 * config/picochip/ucmpsi2.S: Fix typos.
4330 * config/picochip/udivmodhi4.S: Fix typos.
4331 * config/picochip/udivmodsi4.S: Fix typos.
4332 * config/spu/divv2df3.c: Fix typos.
4333 * config/spu/mfc_multi_tag_release.c: Fix typos.
4334 * config/spu/mfc_tag_release.c: Fix typos.
4335 * configure.ac: Fix typos.
4336 * configure: Regenerate.
4337
4bb0c596 43382012-05-25 Ian Lance Taylor <iant@google.com>
4339
4340 * config/i386/morestack.S (__morestack_non_split): Check whether
4341 caller is varargs and needs %bp to hold the stack frame on return.
4342
05b6028a 43432012-05-25 Olivier Hainque <hainque@adacore.com>
4344
4345 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4346 sequence in the non pic case on VxWorks.
4347
de055a8b 43482012-05-24 Olivier Hainque <hainque@adacore.com>
4349
05c265fe 4350 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 4351 "install-leaf" to "install".
4352
511797dd 43532012-05-24 Olivier Hainque <hainque@adacore.com>
4354
4355 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4356 Use a separate command for stamp removals.
4357
c05436a7 43582012-05-21 Andrew Pinski <apinski@cavium.com>
4359
4360 PR bootstrap/53183
4361 * configure.ac: Define the default includes to being none.
4362 * configure: Regenerate.
4363
0e0bcebd 43642012-05-16 Olivier Hainque <hainque@adacore.com>
4365
4366 * Makefile.in (install-unwind_h): Rename into ...
4367 (install-unwind_h-forbuild): New target.
4368 (all): Use it instead of the former install-unwind_h.
4369 (install-unwind_h): Reinstate, copy to user install destination
4370 for include files, not to the internal gcc object directory one.
4371 (install-leaf): Depend on it.
4372
4ea72f7b 43732012-05-15 Olivier Hainque <hainque@adacore.com>
4374
4375 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4376 register numbers. LR_REGNO replaces R_LR.
4377 (ucontext_for): New, helper for ...
4378 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4379 and 5.3 of ...
4380 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4381
98c9b52b 43822012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4383
4384 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4385 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4386 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4387 i386/t-cpuinfo ...
4388 (i[34567]86-*-*, x86_64-*-*): ... here.
4389
4390 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4391 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4392
4393 * config/i386/i386-cpuinfo.c: Rename to ...
4394 * config/i386/cpuinfo.c: ... this.
4395 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4396
4397 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4398 (libgcc_cv_init_priority): New test.
4399 * configure: Regenerate.
4400 * config.in: New file.
4401 * Makefile.in (clean): Rename config.h to auto-target.h.
4402 (config.h): Likewise.
4403 (stamp-h): Likewise.
4404
4405 * config/i386/cpuinfo.c (auto-target.h): Include.
4406 (CONSTRUCTOR_PRIORITY): Define.
4407 (__cpu_indicator_init): Use it.
4408
a7534247 44092012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4410
4411 * longlong.h: Use a URL instead of an FSF postal address.
4412 Replace spaces with tab.
4413
7b9088d5 44142012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 4415
4416 * libgcov.c (gcov_clear, __gcov_reset): New functions.
4417 (__gcov_dump): Ditto.
4418 (gcov_dump_complete): New global variable.
4419 (gcov_exit): Export hidden to enable use in L_gcov_dump.
4420 (__gcov_flush): Outline functionality now in gcov_clear.
4421 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4422
416e60e6 44232012-04-28 Aurelien Jarno <aurelien@aurel32.net>
4424
4bb0c596 4425 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4426 (mips*-*-linux*): Include mips/t-tpbit when long double is
4427 16 bytes long.
416e60e6 4428
d79cfc15 44292012-04-25 Sriraman Tallam <tmsriram@google.com>
4430
4431 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4432 (get_available_features): New argument. Check for AVX2.
4433 (__cpu_indicator_init): Modify call to get_available_features.
4434
cef20746 44352012-04-25 Alan Modra <amodra@gmail.com>
4436
4437 * config/rs6000/crtsavevr.S: New file.
4438 * config/rs6000/crtrestvr.S: New file.
4439 * config/rs6000/t-savresfgpr: Build the above.
4440 * config/rs6000/t-netbsd: Likewise.
4441
0a166714 44422012-04-24 Sriraman Tallam <tmsriram@google.com>
4443
4444 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4445
f0fd108f 44462012-04-24 Sriraman Tallam <tmsriram@google.com>
4447
4448 * libgcc/config/i386/i386-cpuinfo.c: New file.
4449 * libgcc/config/i386/t-cpuinfo: New file.
4450 * libgcc/config.host: Include t-cpuinfo.
4451 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4452
394bef3f 44532012-04-24 Chao-ying Fu <fu@mips.com>
4454
4455 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4456
5617a3db 44572012-04-20 Thomas Schwinge <thomas@codesourcery.com>
4458
4459 struct siginfo vs. siginfo_t
4460
4461 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4462 siginfo_t instead of struct siginfo.
4463 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4464 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4465 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4466 (ia64_handle_unwabi): Likewise.
4467 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4468 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4469 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4470 (sh_fallback_frame_state): Likewise.
4471 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4472 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4473
49a280b5 44742012-04-02 H.J. Lu <hongjiu.lu@intel.com>
4475
4476 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4477 system call number.
4478
6c760a69 44792012-03-31 Eric Botcazou <ebotcazou@adacore.com>
4480
4481 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4482 if it hasn't been previously saved.
4483
59e4072c 44842012-03-29 H.J. Lu <hongjiu.lu@intel.com>
4485
4486 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4487 only for glibc.
4488
d32d7e3a 44892012-03-28 Georg-Johann Lay <avr@gjlay.de>
4490
4491 PR target/52737
4492 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4493 instead of __AVR_HAVE_8BIT_SP__.
4494
6aadb6e2 44952012-03-26 Tristan Gingold <gingold@adacore.com>
4496
4497 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4498 (unw_table_entry): Use unw_word instead of unsigned long.
4499 (_Unwind_FindTableEntry): Likewise.
4500 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4501 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4502 (_Unwind_FindTableEntry): Likewise.
4503 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4504 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4505 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4506 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4507 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4508 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4509 (uw_init_context_1, uw_install_context): Likewise.
4510 (unw_word): Move to unwind-ia64.h
4511
784576c7 45122012-03-26 Tristan Gingold <gingold@adacore.com>
4513
4514 * config/vms/vms-ucrt0.c: Update copyright years.
4515 Add a sanity check.
4516 (___gcc_main_flags): Declare.
4517 (__main): Check flags to remap argv and exit code.
4518 * config.host (*-*-*vms*): Adjust extra_parts.
4519 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4520 (crt0.o): Add.
4521
483ac460 45222012-03-22 Richard Earnshaw <rearnsha@arm.com>
4523
4524 * arm/lib1funcs.asm (ctzsi2): New function.
4525 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4526 * arm/t-linux (LIB1ASMFUNCS): Likewise.
4527 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4528 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4529 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4530 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4531
bdd1ee48 45322012-03-21 Andreas Tobler <andreast@fgznet.ch>
4533
4534 * config.host: Add bits to support powerpc64-*-freebsd*.
4535 * config/rs6000/freebsd-unwind.h: New file.
4536 * config/rs6000/t-freebsd64: New file.
4537
df85f61c 45382012-03-20 Richard Guenther <rguenther@suse.de>
4539
4540 PR gcov-profile/52627
4541 * libgcov.c (init_mx): Fix mutex name.
4542
46da3ce5 45432012-03-16 Tristan Gingold <gingold@adacore.com>
4544
4545 * config/ia64/vms-unwind.h: Remove ulong (and replace
4546 it by unw_reg where used). Define unw_reg with __int64.
4547
264a5d11 45482012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4549
4550 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4551 Solaris 8 handling.
4552 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4553 Solaris 8 handling.
4554 (sparc_is_sighandler): Likewise.
4555
42b3e3d6 45562012-03-13 H.J. Lu <hongjiu.lu@intel.com>
4557
4558 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4559 <= saved reg size.
4560
c2c4377d 45612012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4562
4563 * config/arm/crtn.S: Fix typo.
4564
3f2da048 45652012-03-13 Richard Guenther <rguenther@suse.de>
4566
4567 * libgcov.c: Remove stdio.h include and NULL un-define.
4568
b4e1521f 45692012-03-13 Richard Guenther <rguenther@suse.de>
4570
4571 PR target/52569
4572 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4573
1d110375 45742012-03-13 Richard Guenther <rguenther@suse.de>
4575
4576 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4577
0e6ad699 45782012-03-13 Richard Guenther <rguenther@suse.de>
4579
4580 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4581 and __gthread_mutex_init_function definitions.
4582
1f7e141e 45832012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4584
4585 * config.host (mips*-*-openbsd*): Remove.
4586
126b6848 45872012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4588
4589 * config.host: Remove alpha*-dec-osf5.1* handling.
4590 * config/alpha/gthr-posix.c: Remove.
4591 * config/alpha/libgcc-osf5.ver: Remove.
4592 * config/alpha/osf5-unwind.h: Remove.
4593 * config/alpha/t-osf-pthread: Remove.
4594 * config/alpha/t-slibgcc-osf: Remove.
4595 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4596 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4597 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
4598 * mkmap-flat.awk: Remove osf_export handling.
4599
2e7d9be1 46002012-03-12 Richard Guenther <rguenther@suse.de>
4601
4602 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
4603 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4604 (__gthread_mutex_init_function): New function.
4605 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4606
4607 PR gcov/49484
4608 * libgcov.c: Include gthr.h.
4609 (__gcov_flush_mx): New global variable.
4610 (init_mx, init_mx_once): New functions.
4611 (__gcov_flush): Protect self with a mutex.
4612 (__gcov_fork): Re-initialize mutex after forking.
4613 * unwind-dw2-fde.c: Change condition under which to use
4614 __GTHREAD_MUTEX_INIT_FUNCTION.
4615
8f852c44 46162012-03-12 Tristan Gingold <gingold@adacore.com>
4617
4618 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
4619 * config/ia64/t-vms: Likewise.
4620
04d5d0ad 46212012-03-11 Michael Hope <michael.hope@linaro.org>
4622
7b9088d5 4623 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
4624 for Thumb-2.
04d5d0ad 4625
3d14844b 46262012-03-07 Walter Lee <walt@tilera.com>
4627
4628 * config/tilepro/atomic.c: Rename "atomic_" prefix to
4629 "arch_atomic_".
4630 (atomic_xor): Rename and move definition to
4631 config/tilepro/atomic.h.
4632 (atomic_nand): Ditto.
4633 * config/tilepro/atomic.h: Rename "atomic_" prefix to
4634 "arch_atomic_".
4635 (arch_atomic_xor): Move from config/tilepro/atomic.c.
4636 (arch_atomic_nand): Ditto.
4637
3abce231 46382012-03-07 Georg-Johann Lay <avr@gjlay.de>
4639
4640 PR target/52507
4641 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
4642
ee3ce577 46432012-03-07 Georg-Johann Lay <avr@gjlay.de>
4644
4645 PR target/52505
4646 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
4647 from RAM.
4648
be20cbdd 46492012-03-07 Georg-Johann Lay <avr@gjlay.de>
4650
4651 PR target/52461
4652 PR target/52508
4653 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
4654 if RAMPZ affects reading from RAM.
4655 (__tablejump_elpm__): Ditto.
4656 (.xload): Ditto.
4657 (__movmemx_hi): Ditto.
4658 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
4659 (__do_global_dtors): Ditto.
4660 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
4661 (__movmemx_hi): Ditto.
4662
e9b46b49 46632012-03-05 Richard Henderson <rth@redhat.com>
4664
4665 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
4666 [ARM] (count_trailing_zeros): Use the builtin.
4667
2da7d23a 46682012-03-01 Kai Tietz <ktietz@redhat.com>
4669
4670 * soft-fp: Imported from glibc upstream.
4671
ed67de04 46722012-02-28 Kai Tietz <ktietz@redhat.com>
4673
4674 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
4675 for mingw-targets as attribute gcc_struct.
4676
154b49cd 46772012-02-28 Ian Lance Taylor <iant@google.com>
4678
4679 * generic-morestack.c (__splitstack_releasecontext): Correct call
4680 to __morestack_release_segments.
4681
8d2259c8 46822012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4683
4684 PR target/52390
4685 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
4686 for __linux__ when removing signals from __morestack_fullmask.
4687
97e18ae2 46882012-02-23 Georg-Johann Lay <avr@gjlay.de>
4689
4690 PR target/52261
4691 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
4692
c3dd2023 46932012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4694
4695 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
4696 instead of HAVE_INITFINI_ARRAY.
4697 * config/ia64/crtend.S: Likewise.
4698
7ed6dbef 46992012-02-20 Kai Tietz <ktietz@redhat.com>
4700
52cec843 4701 PR libstdc++/52300
4702 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
4703
7ed6dbef 4704 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
4705 to w32-unwind.h header.
4706
6a8f7b8b 47072012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
4708
4709 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
4710 (mips*-*-linux*): Remove t-slibgcc-libgcc.
4711 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
4712 * config/mips/mips16.S (__mips16_rdhwr): Delete.
4713
7db87803 47142012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
4715
4716 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
4717
d114e642 47182012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4719
4720 PR libitm/52220
4721 * config/darwin-crt-tm.c: Correct typo.
154b49cd 4722
b8f45854 47232012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4724 Patrick Marlier <patrick.marlier@gmail.com>
4725
4726 PR libitm/52220
4727 * config/darwin-crt-tm.c: Generate dummy functions.
4728
621d0dd2 47292012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4730 Patrick Marlier <patrick.marlier@gmail.com>
4731
4732 PR libitm/52042
4733 * config/darwin-crt-tm.c (getTMCloneTable): New function.
4734 (__doTMRegistrations): Call it.
154b49cd 4735 (__doTMdeRegistrations): Likewise.
621d0dd2 4736
0b6cf66f 47372012-01-15 Georg-Johann Lay <avr@gjlay.de>
92e91d03 4738 Anatoly Sokolov <aesok@post.ru>
4739 Eric Weddington <eric.weddington@atmel.com>
0b6cf66f 4740
4741 PR target/52261
4742 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
4743 (__epilogue_restores__): Ditto.
4744
99e0a0ad 47452012-02-15 Eric Botcazou <ebotcazou@adacore.com>
4746
4747 PR target/51921
4748 PR target/52205
4749 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
4750 Solaris 11 and slightly reformat.
4751 (sparc_is_sighandler): Likewise.
4752
7ce78e23 47532012-02-14 Walter Lee <walt@tilera.com>
4754
4755 * config.host: Handle tilegx and tilepro.
4756 * config/tilegx/sfp-machine.h: New file.
4757 * config/tilegx/sfp-machine32.h: New file.
4758 * config/tilegx/sfp-machine64.h: New file.
4759 * config/tilegx/t-crtstuff: New file.
4760 * config/tilegx/t-softfp: New file.
4761 * config/tilegx/t-tilegx: New file.
4762 * config/tilepro/atomic.c: New file.
4763 * config/tilepro/atomic.h: New file.
4764 * config/tilepro/linux-unwind.h: New file.
4765 * config/tilepro/sfp-machine.h: New file.
4766 * config/tilepro/softdivide.c: New file.
4767 * config/tilepro/softmpy.S: New file.
4768 * config/tilepro/t-crtstuff: New file.
4769 * config/tilepro/t-tilepro: New file.
4770
f47763a6 47712012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
4772
4773 PR libstdc++/51296
4774 PR libstdc++/51906
4775 * gthr-posix.h: Allow static initializer macros to be disabled.
4776 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
4777
674cb359 47782012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4779
4780 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
4781 Add t-slibgcc-libgcc to tmake_file.
4782 * config/mips/libgcc-mips16.ver: Revert previous patch.
4783 * config/mips/mips16.S (__mips16_rdhwr): Hide.
4784
92e91d03 47852012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
4786 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b9fdd12b 4787
4788 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
4789 * config/cr16/crti.S: New file.
4790 * config/cr16/crtlibid.S: New file.
4791 * config/cr16/crtn.S: New file.
4792 * config/cr16/lib1funcs.S: New file.
4793 * config/cr16/t-cr16: New file.
4794 * config/cr16/t-crtlibid: New file.
4795 * config/cr16/unwind-dw2.h: New file.
4796 * config/cr16/unwind-cr16.c: New file.
4797 * config/cr16/divmodhi3.c: New file.
4798
01cdc5b2 47992012-01-25 Alan Modra <amodra@gmail.com>
4800
4801 * config/rs6000/t-linux64: Delete. Move..
4802 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
4803 * config/rs6000/t-linux: ..and libgcc flags to here.
4804
af8e12d0 48052012-01-22 Douglas B Rupp <rupp@gnat.com>
4806
4807 * config.host (i[34567]86-*-interix3*):
01cdc5b2 4808 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 4809 * configure: Regenerate.
4810
a657080a 48112012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
4812 Richard Sandiford <rdsandiford@googlemail.com>
4813
4814 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
4815 * config/mips/mips16.S (__mips16_rdhwr): New function.
4816 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
4817
72e76fa0 48182012-01-11 Nathan Sidwell <nathan@acm.org>
4819
4820 * libgcov.c (__gcov_init): Ignore objects with no functions.
4821
ed2541ea 48222012-01-10 Georg-Johann Lay <avr@gjlay.de>
4823
4824 PR target/49868
4825 Extend __pgmx semantics to linearize memory.
4826 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
4827 * config/avr/lib1funcs.S (__xload_1): New function.
4828 (__movmemx_qi, __movmemx_hi): New functions.
4829 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
4830 semantics.
ddf97006 4831
6e647e51 48322012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4833
4834 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
4835 purported sigacthandler address isn't null before dereferencing it.
4836 (sparc_is_sighandler): Likewise.
4837
af185b18 48382012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4839
4840 PR ada/41929
4841 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
4842 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
4843 (sparc_is_sighandler): Likewise.
4844 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
4845
2ff958e6 48462012-01-06 Tristan Gingold <gingold@adacore.com>
4847
4848 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
4849 compatibility thunks...
4850 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
4851 (crtbeginS.o, crtendS.o): ... and these to ...
4852 * config/ia64/t-ia64-elf: ... this new file.
4853 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
4854 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
4855
ce94380e 48562012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4857
4858 * configure: Regenerate.
4859 * config/s390/t-crtstuff: Remove -fPIC.
4860
ca4c7704 48612012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4862
4863 PR bootstrap/51006
4864 * enable-execute-stack-mprotect.c (getpagesize): Do not define
4865 for NetBSD.
4866
b32bc361 48672012-01-02 Georg-Johann Lay <avr@gjlay.de>
4868
4869 PR target/51345
4870 * config/avr/lib1funcs.S: Remove FIXME comments.
4871 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
4872
83921eda 48732012-01-02 Georg-Johann Lay <avr@gjlay.de>
4874
4875 Implement light-weight DImode support.
4876 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
4877 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
4878 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
4879 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
4880
6071b85b 48812011-12-30 Nathan Sidwell <nathan@acm.org>
4882
4883 * libgcov.c (gcov_crc32): Remove global var.
4884 (free_fn_data): New function.
4885 (buffer_fn_data): Pass in filename, more robust error recovery.
4886 (crc32_unsigned): New function.
4887 (gcov_exit): More robust detection of new program. More robust
4888 error recovery.
4889 (__gcov_init): Do not update program's crc here.
4890
611b540a 48912011-12-21 Tristan Gingold <gingold@adacore.com>
4892
4893 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
4894
ddf97006 48952011-12-21 Ian Lance Taylor <iant@google.com>
4896
4897 * config/i386/morestack.S: Simplify CFI opcodes throughout.
4898
0d84f164 48992011-12-20 Ian Lance Taylor <iant@google.com>
4900
4901 * config/i386/morestack.S (__morestack_non_split): If there is
4902 enough stack space already, don't split. Ask for more stack space
4903 than we required.
4904
d77ac56d 49052011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
4906
4907 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
4908 `sys/sdt.h'.
4909 (_Unwind_DebugHook): New function.
4910 (uw_restore_core_regs): New define.
4911 (unwind_phase2): Use uw_restore_core_regs instead of
4912 restore_core_regs.
4913 (unwind_phase2_forced): Likewise.
4914 (__gnu_Unwind_Resume): Likewise.
4915
80898d14 49162011-12-20 Uros Bizjak <ubizjak@gmail.com>
4917
4918 * config/alpha/linux-unwind.h: Update copyright years.
4919 (MD_FROB_UPDATE_CONTEXT): New define.
4920 (alpha_frob_update_context): New function.
4921
20dbbfaf 49222011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
4923
4924 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
4925 tmake_file rather replacing it.
4926
d42ef213 49272011-12-15 Iain Sandoe <iains@gcc.gnu.org>
4928
4929 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 4930 function is not used for PPC64.
d42ef213 4931 (save_world): Amend comments. Update the VRsave mask to reflect the
4932 saved regs.
4933 (rest_world): Update comments, do not clobber r10, do not use r8.
4934 (eh_rest_world_r10): Amend comments, do not use r8.
4935 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
4936 no longer used, move restore of CR and target address to the end of
4937 the routine.
4938
3efc00f6 49392011-12-14 H.J. Lu <hongjiu.lu@intel.com>
4940
4941 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
4942 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
4943
fa0431fa 49442011-12-14 Georg-Johann Lay <avr@gjlay.de>
4945
4946 PR target/49313
4947 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
4948 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
4949
18e6a060 49502011-12-11 Eric Botcazou <ebotcazou@adacore.com>
4951
4952 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
4953
0dcd7d21 49542011-12-09 Georg-Johann Lay <avr@gjlay.de>
4955
4956 PR target/49313
4957 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
4958 * config/avr/lib1funcs.S (__muldi3): New function.
4959
a41e0f2d 49602011-12-06 Andrew Pinski <apinski@cavium.com>
4961
4962 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
4963 size of func_ptr.
4964 (__frame_dummy_init_array_entry): Likewise.
4965
8c8193e1 49662011-12-06 Georg-Johann Lay <avr@gjlay.de>
4967
4968 Forward-port from gcc-4_6-branch r181936 2011-12-02.
4969
4970 PR target/51345
4971 PR target/51002
4972 * config/avr/lib1funcs.S (__prologue_saves__,
4973 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
4974 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
4975
e2306166 49762011-12-04 Iain Sandoe <iains@gcc.gnu.org>
4977
4978 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
4979
61437698 49802011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4981
4982 PR other/51272
4983 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
4984 (_ITM_deregisterTMCloneTable): Likewise.
4985 (__register_frame_info): Fix unused warning.
4986 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
4987 pthread_default_stacksize_np): Likewise.
4988 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
80898d14 4989
78e515f7 49902011-11-29 DJ Delorie <dj@redhat.com>
4991
4992 * config.host (rl78-*-elf): New case.
4993 * config/rl78: New directory for the Renesas RL78.
4994
adce431d 49952011-11-29 Bernd Schmidt <bernds@codesourcery.com>
4996
4997 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
4998 formatting.
4999
738c50b8 50002011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5001
5002 PR other/51022
5003 * config/rs6000/t-savresfgpr: New file.
5004 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5005 $(srcdir)/config/rs6000/eabi.S.
5006 * config/rs6000/t-ppccomm-ldbl: Remove.
5007 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5008 tmake_file.
5009 (powerpc-*-eabispe*): Likewise.
5010 (powerpc-*-eabi*): Likewise.
5011 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5012 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5013 to tmake_file, remove rs6000/t-ppccomm-ldbl.
5014 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5015 tmake_file.
5016 (powerpc-*-eabisim*): Likewise.
5017 (powerpc-*-elf*): Likewise.
5018 (powerpc-*-eabialtivec*): Likewise.
5019 (powerpc-xilinx-eabi*): Likewise.
5020 (powerpc-*-rtems*): Likewise.
5021 (powerpcle-*-elf*): Likewise.
5022 (powerpcle-*-eabisim*): Likewise.
5023 (powerpcle-*-eabi*): Likewise.
5024
bda4944f 50252011-11-27 Ian Lance Taylor <iant@google.com>
5026
5027 * generic-morestack.c (__splitstack_find): Check for NULL old
5028 stack value.
5029 (__splitstack_resetcontext): New function.
5030 (__splitstack_releasecontext): New function.
5031 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5032
00b708da 50332011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5034
5035 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5036
7c66781a 50372011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5038
5039 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5040
5bb27b7c 50412011-11-26 Richard Henderson <rth@redhat.com>
5042
5043 * config/m68k/linux-atomic.c: New file.
5044 * config/m68k/t-linux: New file.
5045 * config.host (m68k-uclinux, m68k-linux): Use it.
5046
d9ca835b 50472011-11-26 Richard Henderson <rth@redhat.com>
5048
5049 * crtstuff.c (__TMC_LIST__): Mark used not unused.
5050 (__TMC_END__): Only declare if hidden is available; in the definition,
5051 if hidden is unavailable add a null record.
5052 (deregister_tm_clones, register_tm_clones): New.
5053 (__do_global_dtors_aux, frame_dummy): Use them.
5054 (__do_global_dtors, __do_global_ctors_1): Likewise.
5055
8f8ba4fc 50562011-11-22 Iain Sandoe <iains@gcc.gnu.org>
5057
5058 * config/darwin-crt-tm.c: New file.
5059 * config.host (darwin): Build crttms.o crttme.o to provide
5060 startup and shutdown for tm clones.
5061 * config/t-darwin (crttms.o): New build rule.
5062 (crttme.o): Likewise.
5063
e426aa2b 50642011-11-21 Hans-Peter Nilsson <hp@axis.com>
5065
5066 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5067 et al.
5068
2d171408 50692011-11-21 Richard Henderson <rth@redhat.com>
5070
5071 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5072 (__TMC_LIST__, __TMC_END__): New.
5073 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5074 (__do_global_dtors): Likewise.
5075 (frame_dummy): Call _ITM_registerTMCloneTable.
5076 (__do_global_ctors_1): Likewise.
5077
08417926 50782011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5079
5080 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5081 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5082 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5083 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5084 * config/i386/t-darwin64: Remove.
5085 * config/sh/t-netbsd (LIB2ADD): Remove.
5086
cde39152 50872011-11-21 Georg-Johann Lay <avr@gjlay.de>
5088
5089 PR target/49313
5090 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5091 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5092 * config/avr/lib1funcs.S (wmov): New assembler macro.
5093 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5094 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5095 (__udivmod64): New function.
5096 (__negdi2): New function.
5097
30957bde 50982011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5099
5100 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5101 *-*-freebsd*aout*): Remove.
5102
a504f092 51032011-11-20 Hans-Peter Nilsson <hp@axis.com>
5104
5105 * static-object.mk (c_flags-$o): Save c_flags.
5106 ($(base)$(objext)): Use it.
5107
31da0b3d 51082011-11-18 Steve Ellcey <sje@cup.hp.com>
5109
5110 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5111
5bd39e93 51122011-11-18 Georg-Johann Lay <avr@gjlay.de>
5113
5114 PR target/49868
5115 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5116 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5117 New functions.
5118
a3bfd5b2 51192011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5120
5121 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5122 functions.
80898d14 5123 (aeabi_uidivmod): Likewise.
a3bfd5b2 5124 (umodsi3): Likewise.
5125 (divsi3): Likewise.
5126 (aeabi_idivmod): Likewise.
5127 (modsi3): Likewise.
5128
3512ee5b 51292011-11-16 Tristan Gingold <gingold@adacore.com>
5130
5131 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5132
4202ef11 51332011-11-15 Georg-Johann Lay <avr@gjlay.de>
5134
5135 PR target/49868
5136 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
5137 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5138
ab4fdb3d 51392011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5140
5141 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5142 tmake_file list.
5143 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5144 * config/pa/t-stublib64: Delete.
5145
eee57ca7 51462011-11-12 Richard Henderson <rth@redhat.com>
5147
5148 * config/rs6000/linux-unwind.h (frob_update_context): Properly
5149 cast the pointer argument to _Unwind_SetGRPtr.
5150
0c74e0e8 51512011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5152
5153 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5154
23371076 51552011-11-09 Ian Lance Taylor <iant@google.com>
5156
5157 * generic-morestack.c: Include <string.h>.
5158 (uintptr_type): Define.
5159 (struct initial_sp): Add dont_block_signals field. Reduce size of
5160 extra array by 1.
5161 (allocate_segment): Set prev field to NULL. Don't set
5162 __morestack_current_segment or __morestack_segments.
5163 (__generic_morestack): Update current->prev and *pp after calling
5164 allocate_segment.
5165 (__morestack_block_signals): Don't do anything if
5166 dont_block_signals is set.
5167 (__morestack_unblock_signals): Likewise.
5168 (__generic_findstack): Check for initial_sp == NULL. Add casts to
5169 uintptr_type.
5170 (__splitstack_block_signals): New function.
5171 (enum __splitstack_content_offsets): Define.
5172 (__splitstack_getcontext, __splitstack_setcontext): New functions.
5173 (__splitstack_makecontext): New function.
5174 (__splitstack_block_signals_context): New function.
5175 (__splitstack_find_context): New function.
5176 * config/i386/morestack.S (__morestack_get_guard): New function.
5177 (__morestack_set_guard, __morestack_make_guard): New functions.
5178 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5179
2d00fffd 51802011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5181
5182 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5183 (i[34567]86-*-mingw*): ... here.
5184 (x86_64-*-mingw*): ... here.
5185
6886ca41 51862011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5187
5188 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5189
5014df5d 51902011-11-07 Nathan Sidwell <nathan@acm.org>
5191
5192 * libgcov.c (struct gcov_fn_buffer): New struct.
5193 (buffer_fn_data): New helper.
5194 (gcov_exit): Rework for new gcov data structures.
5195
702a5eec 51962011-11-07 Georg-Johann Lay <avr@gjlay.de>
5197
5198 PR target/49313
5199 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5200
2219274c 52012011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5202
5203 * config.host (tmake_file): Correct comment.
5204 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5205 t-libgcc-pic.
5206 (bfin*-uclinux*): Likewise.
5207 (bfin*-linux-uclibc*): Likewise.
5208 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5209
5210 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5211 assigning.
5212 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5213 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5214 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5215 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5216 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5217 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5218 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5219 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5220 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5221 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5222 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5223 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5224 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5225
5226 * config/bfin/t-elf: Remove.
5227 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5228
fbb6f195 52292011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5230
5231 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5232 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5233 (lm32-*-elf*, lm32-*-rtems*): Split into ...
5234 (lm32-*-elf*): ... this.
5235 (lm32-*-rtems*): ... and this.
5236 Add to tmake_file.
5237 (m32r-*-rtems*): Add to tmake_file.
5238 (moxie-*-rtems*): Likewise.
5239 (sparc-*-rtems*): Likewise.
5240 Remove t-rtems from tmake_file.
5241 (sparc64-*-rtems*): Likewise.
5242 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5243 instead.
5244
7336fab9 52452011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5246
5247 PR bootstrap/50982
5248 * config/gthr-posix.h: Move ...
5249 * gthr-posix.h: ... here.
5250 * config/gthr-lynx.h: Reflect this.
5251 * config/gthr-vxworks.h: Likewise.
5252 * config/rs6000/gthr-aix.h: Likewise.
5253 * configure.ac (target_thread_file): Likewise.
5254 * configure: Regenerate.
5255
6c10eb68 52562011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
5257
5258 * config.host (arm*-*-rtemseabi*): New target.
5259
3fe1f35b 52602011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5261
5262 PR other/50991
5263 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5264 extra-parts.
5265
d19f5793 52662011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
5267
5268 * config.host (epiphany-*-elf*): New configuration.
5269 * config/epiphany: New Directory.
5270
02c5dcd9 52712011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
5272
5273 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5274 * config/avr/t-rtems: New.
5275 Filter out _exit from LIB1ASMFUNCS.
5276
f3223c0b 52772011-11-04 David S. Miller <davem@davemloft.net>
5278
5279 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5280 * configure: Rebuild.
5281
994652ec 52822011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5283
5284 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5285 variable.
5286
02d9a2c3 52872011-11-04 Georg-Johann Lay <avr@gjlay.de>
5288
5289 PR target/50931
5290 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5291 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5292
81b973fe 52932011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
5294
5295 PR target/50989
5296 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5297
ae1b140e 52982011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5299
5300 * config/c6x/t-elf (LIB2ADDEH): Set.
5301 * config/c6x/t-c6x-elf: Remove.
5302
0a76a5ff 53032011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5304
5305 * config/i386/sol2-ci.S: Rename to ...
5306 * config/i386/crti.S: ... this.
5307 * config/i386/sol2-cn.S: Rename to ...
5308 * config/i386/crtn.S: ... this.
5309 * config/sparc/sol2-ci.S: Rename to ...
5310 * config/sparc/crti.S: ... this.
5311 * config/sparc/sol2-cn.S: Rename to ...
5312 * config/sparc/crtn.S: ... this.
5313 * config/t-sol2 (CUSTOM_CRTIN): Remove.
5314 (crti.o, crtn.o): Remove.
5315
26f2feff 53162011-11-04 Tristan Gingold <gingold@adacore.com>
5317
5318 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5319
131667b5 53202011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
5321
5322 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5323
af64ed6f 53242011-11-03 Hans-Peter Nilsson <hp@axis.com>
5325
5326 * config.host (crisv32-*-none, cris-*-none): Remove.
5327 (crisv32-*-elf): Append to tmake_file, don't just set it.
5328 (cris-*-elf): Add missing t-fdpbit to tmake_file.
5329
4dad46bd 53302011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5331
5332 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5333 (ecrtn$(objext)): Likewise.
5334 (ncrti$(objext)): Likewise.
5335 (ncrtn$(objext)): Likewise.
5336
37626bf8 53372011-11-03 Andreas Schwab <schwab@redhat.com>
5338
5339 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5340
95de80bc 53412011-11-02 David S. Miller <davem@davemloft.net>
5342
5343 * configure.ac: Set host_address on sparc too.
5344 * configure: Regenerate.
5345 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5346 based upon host_address.
5347 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5348
b5347955 53492011-11-02 Jason Merrill <jason@redhat.com>
5350
5351 * config/rs6000/t-ppccomm: Add missing \.
5352
630d52ca 53532011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5354
5355 * gthr-single.h, gthr.h: New files.
5356 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5357 config/gthr-vxworks.h, config/i386/gthr-win32.h,
5358 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5359 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5360 * config/i386/gthr-win32.c: Include "gthr-win32.h".
5361 * configure.ac (thread_header): New variable.
5362 Set it depending on target_thread_file.
5363 (gthr-default.h): Link from $thread_header.
5364 * configure: Regenerate.
5365 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5366
022a2799 53672011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5368
5369 * configure.ac (tm_file_): New variable.
5370 Determine from tm_file.
5371 (tm_file, tm_defines): Substitute.
5372 * configure: Regenerate.
5373 * mkheader.sh: New file.
5374 * Makefile.in (clean): Remove libgcc_tm.h.
5375 ($(objects)): Depend on libgcc_tm.h.
5376 (libgcc_tm_defines, libgcc_tm_file): New variables.
5377 (libgcc_tm.h, libgcc_tm.stamp): New targets.
5378 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5379 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5380 ($(extra-parts)): Depend on libgcc_tm.h.
5381 * config.host (tm_defines, tm_file): New variable.
5382 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5383 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5384 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5385 (avr-*-rtems*): Likewise.
5386 (avr-*-*): Likewise.
5387 (frv-*-elf): Likewise.
5388 (frv-*-*linux*): Likewise.
5389 (h8300-*-rtems*): Likewise.
5390 (h8300-*-elf*): Likewise.
5391 (i[34567]86-*-darwin*): Likewise.
5392 (x86_64-*-darwin*): Likewise.
5393 (rx-*-elf): Likewise.
5394 (tic6x-*-uclinux): Likewise.
5395 (tic6x-*-elf): Likewise.
5396 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5397 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5398 * config/i386/cygming-crtbegin.c: Likewise.
5399 * config/i386/cygming-crtend.c: Likewise.
5400 * config/ia64/fde-vms.c: Likewise.
5401 * config/ia64/unwind-ia64.c: Likewise.
5402 * config/libbid/bid_gcc_intrinsics.h: Likewise.
5403 * config/rs6000/darwin-fallback.c: Likewise.
5404 * config/stormy16/lib2funcs.c: Likewise.
5405 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5406 * crtstuff.c: Likewise.
5407 * dfp-bit.h: Likewise.
5408 * emutls.c: Likewise.
5409 * fixed-bit.c: Likewise.
5410 * fp-bit.c: Likewise.
5411 * generic-morestack-thread.c: Likewise.
5412 * generic-morestack.c: Likewise.
5413 * libgcc2.c: Likewise.
5414 * libgcov.c: Likewise.
5415 * unwind-dw2-fde-dip.c: Likewise.
5416 * unwind-dw2-fde.c: Likewise.
5417 * unwind-dw2.c: Likewise.
5418 * unwind-sjlj.c: Likewise.
5419
4dc4ff49 54202011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5421
5422 * configure.ac: Include ../config/picflag.m4.
5423 (GCC_PICFLAG): Call it.
5424 Substitute.
5425 * configure: Regenerate.
5426 * Makefile.in (gcc_srcdir): Remove.
5427 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5428 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5429 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5430 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5431 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5432 Use $<.
5433 Remove comment.
5434 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5435 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5436 to refer to libgcc2.c.
5437 Use $<.
5438 * config/darwin-64.c: New file.
5439 * config/darwin-crt3.c: Remove comment.
5440 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5441 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5442 config/udivmodsi4.c: New files.
5443 * config/memcmp.c, config/memcpy.c, config/memmove.c,
5444 config/memset.c: New files.
5445 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5446 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5447 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5448 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5449 * config/t-openbsd-thread: New file.
5450 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5451 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5452 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5453 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5454 qrnnd.S.
5455 Adapt filename.
5456 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5457 to refer to gthr-posix.c.
5458 * config/alpha/t-vms (LIB2ADD): Set.
5459 * config/alpha/vms-gcc_shell_handler.c: New file.
5460 * config/arm/bpabi.c, config/arm/fp16.c,
5461 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5462 config/arm/unaligned-funcs.c: New files.
5463 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5464 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5465 * config/arm/t-linux: Likewise.
5466 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5467 * config/arm/t-netbsd: New file.
5468 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5469 * config/arm/t-symbian (LIB2ADD_ST): Set.
5470 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5471 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5472 * config/bfin/t-elf: New file.
5473 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5474 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5475 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5476 config/c6x/ltf.c: New files.
5477 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5478 (HOST_LIBGCC2_CFLAGS): Set.
5479 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5480 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5481 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5482 New files.
5483 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5484 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5485 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5486 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5487 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5488 files.
5489 * config/frv/t-frv (LIB2ADD): Set.
5490 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5491 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5492 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5493 config/h8300/popcounthi2.c: New files.
5494 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5495 * config/i386/gthr-win32.c: New file.
5496 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5497 * config/i386/t-cygwin: Likewise.
5498 * config/i386/t-darwin, config/i386/t-darwin64,
5499 config/i386/t-gthr-win32, config/i386/t-interix: New files.
5500 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5501 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5502 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5503 * config/ia64/quadlib.c: New file.
5504 * config/ia64/t-hpux (LIB2ADD): Set.
5505 * config/ia64/t-ia64: Add comment.
5506 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5507 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5508 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5509 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5510 * config/m32c/t-m32c (LIB2ADD): Set.
5511 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5512 * config/m32r/t-m32r: Likewise.
5513 * config/m68k/fpgnulib.c: New file.
5514 * config/m68k/t-floatlib (LIB2ADD): Set.
5515 (xfgnulib.c): New target.
5516 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5517 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5518 * config/mep/t-mep (LIB2ADD): Set.
5519 * config/microblaze/divsi3.asm: Rename to divsi3.S.
5520 * config/microblaze/moddi3.asm: Rename to moddi3.S.
5521 * config/microblaze/modsi3.asm: Rename to modsi3.S.
5522 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5523 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5524 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5525 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5526 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5527 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5528 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5529 New files.
5530 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5531 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5532 * config/pa/fptr.c, config/pa/lib2funcs.S,
5533 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5534 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5535 (LIB2ADD, LIB2ADD_ST): Set.
5536 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5537 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5538 Set.
5539 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5540 * config/pdp11/t-pdp11: New file.
5541 * config/picochip/libgccExtras/adddi3.S,
5542 config/picochip/libgccExtras/ashlsi3.S,
5543 config/picochip/libgccExtras/ashrsi3.S,
5544 config/picochip/libgccExtras/clzsi2.S,
5545 config/picochip/libgccExtras/cmpsi2.S,
5546 config/picochip/libgccExtras/divmod15.S,
5547 config/picochip/libgccExtras/divmodhi4.S,
5548 config/picochip/libgccExtras/divmodsi4.S,
5549 config/picochip/libgccExtras/lshrsi3.S,
5550 config/picochip/libgccExtras/parityhi2.S,
5551 config/picochip/libgccExtras/popcounthi2.S,
5552 config/picochip/libgccExtras/subdi3.S,
5553 config/picochip/libgccExtras/ucmpsi2.S,
5554 config/picochip/libgccExtras/udivmodhi4.S,
5555 config/picochip/libgccExtras/udivmodsi4.S: New files.
5556 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5557 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5558 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5559 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5560 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5561 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5562 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
5563 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5564 files.
5565 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5566 (HOST_LIBGCC2_CFLAGS): Set.
5567 * config/rs6000/t-darwin64: New file.
5568 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5569 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5570 * config/rs6000/t-ppccomm (LIB2ADD): Add
5571 $(srcdir)/config/rs6000/tramp.S.
5572 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5573 Add $(srcdir)/config/rs6000/eabi.S.
5574 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5575 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5576 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5577 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5578 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5579 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5580 * config/rs6000/tramp.S: New file.
5581 * config/s390/t-tpf: Remove.
5582 * config/sh/linux-atomic.S: New file.
5583 * config/sh/t-linux (LIB2ADD): Set.
5584 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5585 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5586 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5587 to unwind-dw2.c.
5588 (HOST_LIBGCC2_CFLAGS): Set.
5589 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5590 * config/spu/divmodti4.c, config/spu/divv2df3.c,
5591 config/spu/float_disf.c, config/spu/float_unsdidf.c,
5592 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5593 config/spu/mfc_multi_tag_release.c,
5594 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5595 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5596 config/spu/multi3.c: New files.
5597 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
5598 (HOST_LIBGCC2_CFLAGS): Set.
5599 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
5600 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
5601 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
5602 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
5603 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
5604 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
5605 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
5606 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
5607 config/stormy16/umodsi3.c: New files.
5608 * config/xtensa/lib2funcs.S: New file.
5609 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5610 * config/xtensa/t-xtensa (LIB2ADD): Set.
5611 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
5612 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
5613 Add t-freebsd-thread to tmake_file for posix threads.
5614 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
5615 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
5616 (*-*-lynxos*): Likewise.
5617 (*-*-netbsd*): Likewise.
5618 (*-*-openbsd*): Likewise.
5619 Add t-openbsd-thread to tmake_file for posix threads.
5620 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
5621 (*-*-vxworks*): Set tmake_file.
5622 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5623 (alpha*-*-freebsd*): Likewise.
5624 (alpha*-*-netbsd*): Likewise.
5625 (alpha*-*-openbsd*): Likewise.
5626 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
5627 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5628 (alpha*-dec-*vms*): Likewise.
5629 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
5630 (bfin*-elf*): Add bfin/t-elf to tmake_file.
5631 (bfin*-uclinux*): Likewise.
5632 (bfin*-linux-uclibc*): Likewise.
5633 (crisv32-*-elf): Add cris/t-cris to tmake_file.
5634 (crisv32-*-none): Likewise.
5635 (cris-*-elf): Likewise.
5636 (cris-*-none): Likewise.
5637 (cris-*-linux*, crisv32-*-linux*): Likewise.
5638 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
5639 tmake_file.
5640 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
5641 tmake_file.
5642 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
5643 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
5644 (x86_64-*-elf*): Likewise.
5645 (i[34567]86-*-nto-qnx*): Likewise.
5646 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
5647 win32 threads.
5648 (x86_64-*-mingw*): Likewise.
5649 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
5650 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
5651 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5652 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5653 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
5654 tmake_file.
5655 (mipsisa64sr71k-*-elf*): Likewise.
5656 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5657 (mips-*-elf*, mipsel-*-elf*): Likewise.
5658 (mips64-*-elf*, mips64el-*-elf*): Likewise.
5659 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5660 (mips*-*-rtems*): Likewise.
5661 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
5662 to tmake_file.
5663 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
5664 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
5665 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
5666 (spu-*-elf*): Likewise.
5667 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
5668
9213d2eb 56692011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5670
5671 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
5672 $(srcdir) to refer to $(LIB1ASMSRC).
5673 Use $<.
5674 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
5675 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
5676 config/arm/lib1funcs.S: New files.
5677 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
5678 * config/arm/t-arm: New file.
5679 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
5680 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
5681 config/arm/t-strongarm-elf: New files.
5682 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
5683 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
5684 * config/avr/lib1funcs.S: New file.
5685 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5686 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
5687 * config/c6x/lib1funcs.S: New file.
5688 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5689 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
5690 * config/frv/lib1funcs.S: New file.
5691 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5692 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
5693 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
5694 * config/ia64/__divxf3.asm: Rename to ...
5695 * config/ia64/__divxf3.S: ... this.
5696 Adapt lib1funcs.asm filename.
5697 * config/ia64/_fixtfdi.asm: Rename to ...
5698 * config/ia64/_fixtfdi.S: ... this.
5699 Adapt lib1funcs.asm filename.
5700 * config/ia64/_fixunstfdi.asm: Rename to ...
5701 * config/ia64/_fixunstfdi.S: ... this.
5702 Adapt lib1funcs.asm filename.
5703 * config/ia64/_floatditf.asm: Rename to ...
5704 * config/ia64/_floatditf.S: ... this.
5705 Adapt lib1funcs.asm filename.
5706 * config/ia64/lib1funcs.S: New file.
5707 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
5708 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5709 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
5710 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
5711 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
5712 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
5713 * config/mep/lib1funcs.S: New file.
5714 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5715 * config/mips/mips16.S: New file.
5716 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5717 * config/pa/milli64.S: New file.
5718 * config/pa/t-linux, config/pa/t-linux64: New files.
5719 * config/picochip/lib1funcs.S: New file.
5720 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5721 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
5722 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
5723 * config/sh/t-netbsd: New file.
5724 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
5725 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
5726 * config/sh/t-sh64: New file.
5727 * config/sparc/lb1spc.S: New file.
5728 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
5729 filename.
5730 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
5731 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
5732 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
5733 config/xtensa/lib1funcs.S: New files.
5734 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5735 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
5736 tmake_file.
5737 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
5738 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
5739 (arm*-*-linux*): Likewise.
5740 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
5741 arm*-*-linux-*eabi, add arm/t-linux otherwise.
5742 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
5743 (arm*-*-ecos-elf): Likewise.
5744 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5745 (arm*-*-rtems*): Likewise.
5746 (arm*-*-elf): Likewise.
5747 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
5748 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
5749 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
5750 (bfin*-uclinux*): Likewise.
5751 (bfin*-linux-uclibc*): Likewise.
5752 (bfin*-rtems*): Likewise.
5753 (bfin*-*): Likewise.
5754 (fido-*-elf): Merge into m68k-*-elf*.
5755 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
5756 (frv-*-*linux*): Add frv/t-frv to tmake_file.
5757 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
5758 (h8300-*-elf*): Likewise.
5759 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
5760 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
5761 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
5762 (i[34567]86-*-mingw*): Likewise.
5763 (x86_64-*-mingw*): Likewise.
5764 (i[34567]86-*-interix3*): Likewise.
5765 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
5766 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
5767 (m68k-*-elf*): Also handle fido-*-elf.
5768 Add m68k/t-floatlib to tmake_file.
5769 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
5770 (m68k-*-linux*): Likewise.
5771 (m68k-*-rtems*): Likewise.
5772 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
5773 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
5774 sh64*-*-*.
5775 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
5776 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
5777 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
5778 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
5779 sh/t-netbsd to tmake_file.
5780 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
5781 (sh-*-rtems*): Add sh/t-sh to tmake_file.
5782 (sh-wrs-vxworks): Likewise.
5783 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
5784 *-leon[3-9]*.
5785 (v850*-*-*): Add v850/t-v850 to tmake_file.
5786 (vax-*-linux*): Add vax/t-linux to tmake_file.
5787 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
5788
237490bf 57892011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5790
5791 * crtstuff.c: New file.
5792 * Makefile.in (CRTSTUFF_CFLAGS): Define.
5793 (CRTSTUFF_T_CFLAGS): Define.
5794 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
5795 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
5796 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
5797 crtstuff.c.
5798 Use $<.
5799 (crtbeginT.o): Use $(objext).
5800 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
5801 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
5802 (gcc-extra-parts): Remove.
5803 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
5804 Set extra_parts.
5805 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5806 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
5807 Add t-crtstuff-pic to tmake_file.
5808 (*-*-lynxos*): New case.
5809 Set tmake_file, extra_parts.
5810 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
5811 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
5812 *-*-netbsdelf[2-9]*.
5813 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
5814 (*-*-rtems*): Set extra_parts.
5815 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
5816 (*-*-uclinux*): New case.
5817 Set extra_parts.
5818 (*-*-vms*): New case.
5819 Set tmake_file, extra_parts.
5820 (*-*-elf): Set extra_parts.
5821 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
5822 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
5823 vms/t-vms64.
5824 Set extra_parts.
5825 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
5826 Set extra_parts.
5827 (arm*-*-freebsd*): Add t-crtin to tmake_file.
5828 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
5829 (arm-wrs-vxworks): Append to tmake_file.
5830 Set extra_parts.
5831 (arm*-*-uclinux*): Set extra_parts.
5832 (arm*-*-ecos-elf): Likewise.
5833 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
5834 arm*-*-eabi*.
5835 (arm*-*-rtems*): Set extra_parts.
5836 (arm*-*-elf): Likewise.
5837 (avr-*-rtems*): Clear extra_parts.
5838 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
5839 Set extra_parts.
5840 (bfin*-uclinux*): Likewise.
5841 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
5842 (bfin*-rtems*): Append to tmake_file.
5843 Set extra_parts.
5844 (bfin*-*): Likewise.
5845 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
5846 (crisv32-*-elf): ... this.
5847 (crisv32-*-none): ... this.
5848 (cris-*-elf, cris-*-none): New cases.
5849 Add cris/t-elfmulti to tmake_file.
5850 (fr30-*-elf): Append to tmake_file.
5851 Set extra_parts.
5852 (frv-*-elf): Append to tmake_file, add frv/t-frv.
5853 Set extra_parts.
5854 (h8300-*-rtems*): Append to tmake_file.
5855 Set extra_parts.
5856 (h8300-*-elf*): Likewise.
5857 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
5858 Set extra_parts.
5859 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
5860 Set extra_parts.
5861 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
5862 (x86_64-*-elf*): Likewise.
5863 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
5864 (x86_64-*-freebsd*): Likewise.
5865 (x86_64-*-netbsd*): Likewise.
5866 (i[34567]86-*-linux*): Likewise.
5867 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5868 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5869 (x86_64-*-linux*): Likewise.
5870 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5871 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
5872 tmake_file.
5873 Set extra_parts.
5874 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
5875 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
5876 Append to extra_parts, remove crtbegin.o, crtend.o.
5877 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
5878 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
5879 crtend.o, crtbeginS.o, crtendS.o.
5880 (ia64*-*-linux*): Comment extra_parts.
5881 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
5882 Set extra_parts.
5883 (iq2000*-*-elf*): Clear extra_parts.
5884 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
5885 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
5886 (m32r-*-elf*, m32r-*-rtems*): Split off ...
5887 (m32r-*-rtems*): ... this.
5888 Add m32r/t-m32r to tmake_file.
5889 (m68k-*-elf*): Add t-crtin to tmake_file.
5890 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
5891 (mcore-*-elf): Likewise.
5892 (microblaze*-*-*): Set extra_parts.
5893 (mips*-sde-elf*): New case.
5894 Set tmake_file, extra_parts.
5895 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5896 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5897 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
5898 tmake_file.
5899 Set extra_parts.
5900 (mipsisa64sr71k-*-elf*): Likewise.
5901 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5902 (mips-*-elf*, mipsel-*-elf*): Likewise.
5903 (mips64-*-elf*, mips64el-*-elf*): Likewise.
5904 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
5905 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5906 (mips*-*-rtems*): Likewise.
5907 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
5908 (moxie-*-*): Split into ...
5909 (moxie-*-elf, moxie-*-uclinux*): ... this.
5910 Add to extra_parts, remove crtbegin.o, crtend.o.
5911 (moxie-*-rtems*): New case.
5912 Set tmake_file.
5913 Clear extra_parts.
5914 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
5915 Set extra_parts.
5916 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5917 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
5918 tmake_file.
5919 Set extra_parts.
5920 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
5921 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
5922 Set extra_parts.
5923 (powerpc-*-eabisim*): Likewise.
5924 (powerpc-*-elf*): Likewise.
5925 (powerpc-*-eabialtivec*): Likewise.
5926 (powerpc-xilinx-eabi*): Likewise.
5927 (powerpc-*-eabi*): Likewise.
5928 (powerpc-*-rtems*): Likewise.
5929 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
5930 tmake_file.
5931 Set extra_parts.
5932 (powerpc-*-lynxos*): Add to tmake_file.
5933 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
5934 rs6000/t-crtstuff, t-crtstuff-pic.
5935 Set extra_parts.
5936 (powerpcle-*-eabisim*): Likewise.
5937 (powerpcle-*-eabi*): Likewise.
5938 (rx-*-elf): Remove extra_parts.
5939 (s390x-ibm-tpf*): Set extra_parts.
5940 (score-*-elf): Set extra_parts.
5941 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5942 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5943 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5944 (sh64l*-*-netbsd*): Split into ...
5945 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
5946 Add t-crtstuff-pic to tmake_file.
5947 Set extra_parts.
5948 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
5949 Set extra_parts.
5950 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
5951 (sparc-*-elf*): Remove t-crtin from tmake_file.
5952 Add to extra_parts, remove crtbegin.o, crtend.o.
5953 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
5954 (sparc64-*-linux*): Likewise.
5955 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
5956 Add to extra_parts, remove crtbegin.o, crtend.o.
5957 (sparc64-*-elf*): Remove t-crtin from tmake_file.
5958 Add to extra_parts, remove crtbegin.o, crtend.o.
5959 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
5960 Add to extra_parts, remove crtbegin.o, crtend.o.
5961 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
5962 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
5963 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
5964 Set extra_parts.
5965 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
5966 Set extra_parts.
5967 (tic6x-*-*): Change to ...
5968 (tic6x-*-elf): ... this.
5969 Set extra_parts.
5970 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
5971 Set extra_parts.
5972 (am33_2.0-*-linux*): Add comment.
5973 (mep*-*-*): Add mep/t-mep to tmake_file.
5974 Set extra_parts.
5975 * config/alpha/t-vms: New file.
5976 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
5977 * config/arm/crti.S, config/arm/crtn.S: New files.
5978 * config/bfin/crti.S, config/bfin/crtn.S: New files.
5979 * config/bfin/crtlibid.S: New file.
5980 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
5981 * config/c6x/crti.S, config/c6x/crtn.S: New files.
5982 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
5983 (crti.o, crtin.o): New rules.
5984 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5985 * config/c6x/t-uclinux: New file.
5986 * config/cris/t-elfmulti: New file.
5987 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
5988 * config/fr30/crti.S, config/fr30/crtn.S: New files.
5989 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
5990 * config/frv/t-frv: New file.
5991 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
5992 * config/h8300/crti.S, config/h8300/crtn.S: New files.
5993 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
5994 New files.
5995 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
5996 refer to cygming-crtbegin.c, cygming-crtend.c.
5997 Use $<.
5998 * config/i386/t-nto: New file.
5999 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6000 * config/ia64/crti.S, config/ia64/crtn.S: New files.
6001 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6002 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6003 Use .S extension.
6004 Use $<.
6005 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6006 (crtinitS.o): New rule.
6007 * config/ia64/vms-crtinit.S: New file.
6008 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6009 * config/m32r/initfini.c: New file.
6010 * config/m32r/t-linux, config/m32r/t-m32r: New files.
6011 * config/m68k/crti.S, config/m68k/crtn.S: New files.
6012 * config/mcore/crti.S, config/mcore/crtn.S: New files.
6013 * config/mep/t-mep: New file.
6014 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6015 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6016 * config/mips/crti.S, config/mips/crtn.S: New files.
6017 * config/mips/t-crtstuff: New file.
6018 * config/mmix/crti.S, config/mmix/crtn.S: New files.
6019 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6020 (CUSTOM_CRTIN): Set.
6021 ($(T)crti.o, $(T)crtn.o): Remove $(T),
6022 dependencies.
6023 Use $(srcdir) to refer to crti.S, crtn.S.
6024 Use .S extension, $<.
6025 * config/moxie/crti.asm: Rename to ...
6026 * config/moxie/crti.S: ... this.
6027 * config/moxie/crtn.asm: Rename to ...
6028 * config/moxie/crtn.S: ... this.
6029 * config/moxie/t-moxie: Remove.
6030 * config/pa/stublib.c: New file.
6031 * config/pa/t-stublib, config/pa/t-stublib64: New files.
6032 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6033 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6034 * config/rs6000/t-crtstuff: New file.
6035 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6036 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6037 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6038 Make output file explicit.
6039 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6040 Make output file explicit.
6041 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6042 Make output file explicit.
6043 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6044 Make output file explicit.
6045 * config/score/crti.S, config/score/crtn.S: New files.
6046 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6047 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6048 files.
6049 * config/sh/t-sh, config/sh/t-superh: New files.
6050 * config/sparc/t-linux64: New file.
6051 * config/spu/cache.S, config/spu/cachemgr.c: New files.
6052 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6053 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6054 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6055 * config/t-crtin: Remove.
6056 * config/t-crtstuff-pic: New file.
6057 * config/t-sol2 (CUSTOM_CRTIN): Set.
6058 (crti.o, crtn.o): New rules.
6059 * config/vms/t-vms: New file.
6060 * config/vms/vms-ucrt0.c: New file.
6061 * config/xtensa/t-elf: New file.
6062
a997b0d8 60632011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6064
6065 * Makefile.in (SHLIB_NM_FLAGS): Set.
6066 * mkmap-flat.awk, mkmap-symver.awk: New files.
6067 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6068 exceptions.
6069 * configure: Regenerate.
6070 * config/libgcc-glibc.ver: New file.
6071 * config/libgcc-libsystem.ver: New file.
6072 * config/t-libunwind (SHLIB_LC): Set.
6073 * config/t-linux: New file.
6074 * config/t-slibgcc (INSTALL_SHLIB): New.
6075 (SHLIB_INSTALL): Use it.
6076 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6077 to mkmap-symver.awk.
6078 (SHLIB_MAPFILES): Don't append, adapt pathname.
6079 (SHLIB_VERPFX): Set.
6080 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6081 to mkmap-symver.awk.
6082 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6083 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6084 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6085 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6086 to mkmap-flat.awk.
6087 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6088 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6089 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6090 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6091 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6092 * config/i386/libgcc-darwin.10.4.ver,
6093 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6094 New files.
6095 * config/i386/t-darwin: Remove.
6096 * config/i386/t-darwin64: Likewise.
6097 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6098 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6099 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6100 * config/i386/t-linux: New file.
6101 * config/i386/t-mingw32: New file.
6102 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6103 * config/ia64/t-glibc: Rename to ...
6104 * config/ia64/t-linux: ... this.
6105 (SHLIB_MAPFILES): Set.
6106 * config/ia64/t-glibc-libunwind: Rename to ...
6107 * config/ia64/t-linux-libunwind: ... this.
6108 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6109 * config/ia64/t-slibgcc-hpux: New file.
6110 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6111 * config/m68k/t-slibgcc-elf-ver: New file.
6112 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6113 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6114 to mkmap-flat.awk.
6115 * config/pa/t-slibgcc-hpux: New file.
6116 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6117 files.
6118 * config/rs6000/libgcc-darwin.10.4.ver,
6119 config/rs6000/libgcc-darwin.10.5.ver: New files.
6120 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6121 config/rs6000/libgcc-glibc.ver.
6122 * config/rs6000/libgcc-ppc64.ver: Rename to
6123 config/rs6000/libgcc-ibm-ldouble.ver.
6124 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6125 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6126 * config/rs6000/t-ldbl128: Rename to ...
6127 * config/rs6000/t-linux: ... this.
6128 (SHLIB_MAPFILES): Adapt filename.
6129 * config/rs6000/t-slibgcc-aix: New file.
6130 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6131 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6132 libgcc-excl.ver, libgcc-glibc.ver.
6133 (SHLIB_LINK, SHLIB_INSTALL): Remove.
6134 * config/sparc/libgcc-glibc.ver: New file.
6135 * config/sparc/t-linux: New file.
6136 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6137 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6138 t-slibgcc-elf-ver to tmake_file.
6139 Add t-slibgcc-nolc-override to tmake_file for posix threads on
6140 *-*-freebsd[34].
6141 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6142 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6143 t-slibgcc-elf-ver, t-linux to tmake_file.
6144 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6145 tmake_file.
6146 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6147 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6148 (alpha*-dec-*vms*): Likewise.
6149 (arm*-*-freebsd*): Append to tmake_file.
6150 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6151 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6152 arm*-*-linux-*eabi.
6153 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6154 tmake_file for arm*-*-symbianelf*.
6155 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6156 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6157 cris/t-linux.
6158 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6159 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6160 pa/t-slibgcc-dwarf-ver to tmake_file.
6161 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6162 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6163 (hppa*64*-*-hpux11*): Likewise.
6164 (hppa[12]*-*-hpux11*): Likewise.
6165 (x86_64-*-darwin*): Don't override tmake_file, but only keep
6166 i386/t-crtpc, i386/t-crtfm.
6167 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6168 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6169 to tmake_file.
6170 Add i386/t-cygwin to tmake_file.
6171 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6172 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6173 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6174 to tmake_file.
6175 Add i386/t-mingw32 to tmake_file.
6176 (x86_64-*-mingw*): Likewise.
6177 (ia64*-*-freebsd*): Append to tmake_file.
6178 (ia64*-*-linux*): Append to tmake_file.
6179 Replace ia64/t-glibc by ia64/t-linux.
6180 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6181 system libunwind.
6182 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6183 t-slibgcc-hpux to tmake_file.
6184 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6185 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6186 (m32rle-*-linux*): Likewise.
6187 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6188 sjlj exceptions.
6189 (microblaze*-linux*): New case.
6190 Append to tmake_file, add t-slibgcc-nolc-override.
6191 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6192 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6193 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6194 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6195 rs6000/t-slibgcc-aix to tmake_file.
6196 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6197 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6198 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6199 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6200 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6201 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6202 sh*-*-linux*.
6203 (sparc-*-linux*): Append to tmake_file for *-leon*.
6204 Add sparc/t-linux to tmake_file for non-Leon targets.
6205 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6206 (tic6x-*-uclinux): New case.
6207 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6208 (tic6x-*-*): Add c6x/t-elf to tmake_file.
6209 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6210 (am33_2.0-*-linux*): Append to tmake_file.
6211 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6212 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6213 x86_64-*-kfreebsd*-gnu.
6214 Add i386/t-linux to tmake_file.
6215
638a95a0 62162011-10-28 Ian Lance Taylor <iant@google.com>
6217
6218 * config/i386/morestack.S: Correct CFI information to do proper
6219 returns throughout function. In 32-bit mode, save %ebx so that it
6220 is restored on unwind.
6221
ef785e44 62222011-10-25 Bernd Schmidt <bernds@codesourcery.com>
6223
6224 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6225 case where B3 isn't the return register.
6226
19b85223 6227 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6228 logic for doubleword pops.
6229
70f50eb0 62302011-10-25 Andreas Tobler <andreast@fgznet.ch>
6231
6232 * config/rs6000/t-freebsd: Add wildcard.
6233
ec2b386c 62342011-10-21 Paul Brook <paul@codesourcery.com>
6235
6236 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6237
b09a3f46 62382011-10-16 Uros Bizjak <ubizjak@gmail.com>
6239 Eric Botcazou <ebotcazou@adacore.com>
6240
6241 PR target/50737
6242 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6243 fs->signal_frame to 1.
6244
8acdf7c6 62452011-10-07 Ian Lance Taylor <iant@google.com>
6246
6247 * generic-morestack-thread.c: #include <errno.h>.
6248
1780e36e 62492011-10-07 Ian Lance Taylor <iant@google.com>
6250
6251 PR target/46093
6252 * generic-morestack.c (__generic_morestack): Make sure the segment
6253 is large enough for both the stack frame and the copied
6254 parameters.
6255
f57fac72 62562011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6257
6258 PR bootstrap/49804
6259 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6260 extra_parts.
6261
6ef008f9 62622011-09-28 Nick Clifton <nickc@redhat.com>
6263
6264 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6265 64-bit doubles are not enabled.
6266 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6267 and floatunsisf functions.
6268
7e5fc0c4 62692011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 6270
7e5fc0c4 6271 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
6272 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6273 * unwind-arm-common.inc: New file.
6274 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6275 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6276 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6277 * config/c6x/libunwind.S: New file.
6278 * config/c6x/pr-support.c: New file.
6279 * config/c6x/unwind-c6x.c: New file.
6280 * config/c6x/unwind-c6x.h: New file.
6281 * config/c6x/t-c6x-elf: New file.
6282
047a5c56 62832011-08-23 Uros Bizjak <ubizjak@gmail.com>
6284
6285 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6286 (ASM_DIVZERO): Ditto.
6287 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6288
985e908e 62892011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
6290
6291 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6292
c1c81358 62932011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
6294
6295 PR target/50090
6296 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6297 instead of an assembly one.
6298
7642fc98 62992011-08-12 Paolo Bonzini <bonzini@gnu.org>
6300
6301 PR bootstrap/50047
6302 * Makefile.in (install-unwind_h): Create
6303 $(gcc_objdir)/include/unwind.h atomically.
6304
392bda6f 63052011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6306
6307 * Makefile.in (install-unwind_h): Remove destination file first.
6308
21889c08 63092011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6310
6311 * sync.c: New file.
6312 * config/mips/t-mips16: New file.
6313 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6314 (mips*-*-linux*): Likewise.
6315 (mips*-sde-elf*): Likewise.
6316 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6317 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6318 Add mips/t-mips16 to tmake_file.
6319 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6320 (mips-*-elf*): Likewise.
6321 (mips64-*-elf*): Likewise.
6322 (mips64orion-*-elf*): Likewise.
6323 (mips*-*-rtems*): Likewise.
6324 (mipstx39-*-elf*): Likewise.
6325 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6326 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6327 LIBGCC_SYNC_CFLAGS.
6328 Use $(srcdir) to refer to sync.c.
6329 Use $<.
6330 ($(libgcc-sync-funcs-o)): Likewise.
6331 ($(libgcc-sync-size-funcs-s-o)): Likewise.
6332 ($(libgcc-sync-funcs-s-o)): Likewise.
6333
3569d462 63342011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6335
6336 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6337 t-libunwind.
6338
e451a093 63392011-08-08 H.J. Lu <hongjiu.lu@intel.com>
6340
6341 PR other/48007
6342 * config/i386/value-unwind.h: New.
6343
ab3bed33 63442011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
6345
6346 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6347 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6348 Add to tmake_file rather than overriding it.
6349
84600db5 63502011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6351
6352 * config/t-softfp: Remove.
6353 * soft-fp: Moved from ../gcc/config.
6354 * soft-fp/README: Remove t-softfp reference.
6355 * soft-fp/t-softfp: Move to config/t-softfp.
6356 (softfp_machine_header): Remove.
6357 (softfp_file_list): Remove config subdir.
6358 (soft-fp-objects): New variable.
6359 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6360 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6361 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6362 * config/t-softfp-excl: New file.
6363 * config/t-softfp-sfdf: New file.
6364 * config/t-softfp-tf: New file.
6365 * config/no-sfp-machine.h: New file.
6366 * config/arm/sfp-machine.h: New file.
6367 * config/arm/t-softfp: New file.
6368 * config/c6x/sfp-machine.h: New file.
6369 * config/i386/32/t-fprules-softfp: Rename to ...
6370 * config/i386/32/t-softfp: ... this.
6371 (tifunctions, LIB2ADD): Remove.
6372 (softfp_int_modes): Override.
6373 * config/i386/64/t-softfp-compat (tf-functions): Remove config
6374 subdir.
6375 * config/i386/64/eqtf2.c: Likewise.
6376 * config/i386/64/getf2.c: Likewise.
6377 * config/i386/64/letf2.c: Likewise.
6378 * config/ia64/sft-machine.h: New file.
6379 * config/ia64/t-fprules-softfp: Rename to ...
6380 * config/ia64/t-softfp: ... this.
6381 * config/lm32/sfp-machine.h: New file.
6382 * config/moxie/t-moxie-softfp: Remove.
6383 * config/rs6000/ibm-ldouble-format: New file.
6384 * config/rs6000/ibm-ldouble.c: New file.
6385 * config/rs6000/libgcc-ppc-glibc.ver: New file
6386 * config/rs6000/libgcc-ppc64.ver: New file
6387 * config/rs6000/sfp-machine.h: New file.
6388 * config/rs6000/t-freebsd: New file.
6389 * config/rs6000/t-ibm-ldouble: New file.
6390 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6391 libgcc-ppc-glibc.ver.
6392 * config/rs6000/t-linux64: New file.
6393 * config/rs6000/t-ppccomm (LIB2ADD): Add
6394 $(srcdir)/config/rs6000/ibm-ldouble.c.
6395 * config/rs6000/t-ppccomm-ldbl: New file.
6396 * config/score/sfp-machine.h: New file.
6397 * config.host (sfp_machine_header): Explain.
6398 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6399 t-softfp to tmake_file.
6400 (arm*-*-uclinux*): Likewise.
6401 (arm*-*-ecos-elf): Likewise.
6402 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6403 (arm*-*-rtems*): Likewise.
6404 (arm*-*-elf): Likewise.
6405 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6406 in tmake_file.
6407 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6408 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6409 (lm32-*-uclinux*): Likewise.
6410 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6411 t-softfp-excl, t-softfp.
6412 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6413 (powerpc64-*-darwin*): Likewise.
6414 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6415 to tmake_file.
6416 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6417 tmake_file.
6418 (powerpc-*-eabisim*): Likewise.
6419 (powerpc-*-elf*): Likewise.
6420 (powerpc-*-eabialtivec*): Likewise.
6421 (powerpc-xilinx-eabi*): Likewise.
6422 (powerpc-*-rtems*): Likewise.
6423 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6424 t-softfp-excl, t-softfp to tmake_file.
6425 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6426 rs6000/t-ppccomm-ldbl to tmake_file.
6427 (powerpcle-*-elf*): Likewise.
6428 (powerpcle-*-eabisim*): Likewise.
6429 (powerpcle-*-eabi*): Likewise.
6430 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6431 rs6000/t-ibm-ldouble to tmake_file.
6432 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6433 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6434 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6435 (tic6x-*-*): Likewise.
6436 (i[34567]86-*-darwin*, x86_64-*-darwin*,
6437 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6438 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6439 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6440 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6441 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6442 t-softfp to tmake_file.
6443 * configure.ac (sfp_machine_header): Provide default if unset.
6444 Substitute.
6445 Link sfp-machine.h to config/$sfp_machine_header.
6446 * configure: Regenerate.
6447
a23b9c51 64482011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6449
6450 * Makefile.in (double_type_size, long_double_type_size): Set.
6451 Remove $(fpbit-in-libgcc) support.
6452 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6453 (fpbit-src): New variable.
6454 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6455 Compile with -DFLOAT $(FPBIT_CFLAGS).
6456 Use $<.
6457 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6458 Compile with $(FPBIT_CFLAGS).
6459 Use $<.
6460 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6461 Compile with -DFLOAT $(TPBIT_CFLAGS).
6462 Use $<.
6463 * configure.ac (double_type_size, long_double_type_size):
6464 Determine and substitute.
6465 * configure: Regenerate.
6466 * fp-bit.c, fp-bit.h: New files.
6467 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6468 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6469 * config/mips/t-mips: New file.
6470 * config/mips/t-sdemtk: New file.
6471 * config/rs6000/ppc64-fp.c: New file.
6472 * config/rs6000/t-darwin (LIB2ADD): Add
6473 $(srcdir)/config/rs6000/ppc64-fp.c.
6474 * config/rs6000/t-ppc64-fp: New file.
6475 * config/rx/rx-lib.h: New file.
6476 * config/rx/t-rx (FPBIT): Set to true.
6477 ($(gcc_objdir)/fp-bit.c): Remove.
6478 (DPBIT): Set to true only with -m64bit-doubles.
6479 ($(gcc_objdir)/dp-bit.c): Remove.
6480 * config/sparc/t-softfp: Remove.
6481 * config/spu/t-elf: New file.
6482 * config/t-fdpbit, config/t-fpbit: New files.
6483 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6484 (mips*-*-*): Likewise.
6485 (arm-wrs-vxworks): Likewise.
6486 (arm*-*-freebsd*): Likewise.
6487 (avr-*-rtems*): Add t-fpbit to tmake_file.
6488 (avr-*-*): Likewise.
6489 (bfin*-elf*): Add t-fdpbit to tmake_file.
6490 (bfin*-uclinux*): Likewise.
6491 (bfin*-linux-uclibc*): Likewise.
6492 (bfin*-rtems*): New case.
6493 Add t-fdpbit to tmake_file.
6494 (bfin*-*): Add t-fdpbit to tmake_file.
6495 (crisv32-*-elf): Likewise.
6496 (cris-*-linux*): Likewise.
6497 (fr30-*-elf): Likewise.
6498 (frv-*-elf, frv-*-*linux*): Likewise.
6499 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6500 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6501 (m32r-*-elf*): Likewise.
6502 (m32rle-*-elf*): Likewise.
6503 (m32r-*-linux*): Likewise.
6504 (m32rle-*-linux*): Likewise.
6505 (mcore-*-elf): Add t-fdpbit to tmake_file.
6506 (microblaze*-*-*): Likewise.
6507 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6508 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6509 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6510 Fix typo.
6511 Add mips/t-tpbit to tmake-file.
6512 (mips*-*-linux*): Fix typo.
6513 (mips*-sde-elf*): New case
6514 Add mips/t-sdemtk unless using newlib.
6515 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6516 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6517 (mn10300-*-*): Likewise.
6518 (pdp11-*-*): Likewise.
6519 (picochip-*-*): Add t-fpbit to tmake_file.
6520 (powerpc-*-eabisimaltivec*): Likewise.
6521 (powerpc-*-eabisim*): Likewise.
6522 (powerpc-*-elf*): Likewise.
6523 (powerpc-*-eabialtivec*): Likewise.
6524 (powerpc-xilinx-eabi*): New case.
6525 Add t-fdpbit to tmake_file.
6526 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
6527 (powerpc-*-rtems*): Likewise.
6528 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6529 tmake_file.
6530 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6531 tmake_file.
6532 (powerpc-*-lynxos*): Likewise.
6533 (powerpcle-*-elf*): Likewise.
6534 (powerpcle-*-eabisim*): Likewise.
6535 (powerpcle-*-eabi*): Likewise.
6536 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6537 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6538 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6539 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6540 (rx-*-elf): Add t-fdpbit to tmake_file.
6541 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6542 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6543 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6544 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6545 sh*-*-netbsd*.
6546 (sh-*-rtems*): Add t-fdpbit to tmake_file.
6547 (sh-wrs-vxworks): Likewise.
6548 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6549 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6550 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6551 (sparc64-*-rtems*): ... new case.
6552 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6553 (spu-*-elf*): Likewise.
6554 Add spu/t-elf to tmake_file.
6555 (v850*-*-*): Add t-fdpbit to tmake_file.
6556 (xstormy16-*-elf): Likewise.
6557 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6558 (mep*-*-*): Likewise.
6559
e59be7e3 65602011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6561
6562 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6563 variables.
6564 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6565 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6566 (install-unwind_h): New target.
6567 (all): Depend on it.
6568 * config.host (unwind_header): New variable.
6569 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6570 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6571 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6572 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6573 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6574 Set unwind_header.
6575 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6576 Set unwind_header.
6577 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6578 arm*-*-eabi*.
6579 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6580 Set unwind_header.
6581 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6582 (ia64*-*-freebsd*): Likewise.
6583 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6584 tmake_file.
6585 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6586 $with_system_libunwind.
6587 (ia64*-*-hpux*): Set tmake_file.
6588 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6589 (picochip-*-*): Set tmake_file.
6590 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6591 md_unwind_header.
6592 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6593 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6594 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6595 (xtensa*-*-elf*): Set tmake_file.
6596 (xtensa*-*-linux*): Likewise.
6597 * configure.ac: Include ../config/unwind_ipinfo.m4.
6598 Call GCC_CHECK_UNWIND_GETIPINFO.
6599 Link unwind.h to $unwind_header.
6600 * configure: Regenerate.
6601 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
6602 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
6603 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
6604 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
6605 * config/unwind-dw2-fde-darwin.c: New file.
6606 * config/arm/libunwind.S, config/arm/pr-support.c,
6607 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
6608 config/arm/unwind-arm.h,: New files.
6609 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
6610 config/ia64/t-eh-ia64, config/ia64/t-glibc,
6611 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
6612 config/ia64/t-vms, config/ia64/unwind-ia64.c,
6613 config/ia64/unwind-ia64.h: New files.
6614 * config/picochip/t-picochip: New file.
6615 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
6616 files.
6617 * config/rs6000/t-darwin (LIB2ADDEH): Set.
6618 * config/s390/t-tpf (LIB2ADDEH): Remove.
6619 * config/t-darwin (LIB2ADDEH): Set.
6620 * config/t-eh-dw2-dip: New file.
6621 * config/t-libunwind, config/t-libunwind-elf: New files.
6622 * config/t-sol2 (LIB2ADDEH): Remove.
6623 * config/xtensa/t-xtensa: New file.
6624
b57de711 66252011-08-02 H.J. Lu <hongjiu.lu@intel.com>
6626
6627 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
6628 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
6629 long long to check rt_sigreturn syscall.
6630
9a4af446 66312011-08-02 Alan Modra <amodra@gmail.com>
6632
6633 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6634 Restore for indirect call bcrtl from correct stack slot, and only
6635 if cfa+40 isn't valid.
6636
bbbe4599 66372011-08-01 Julian Brown <julian@codesourcery.com>
6638
6639 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
6640 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
6641 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
6642
ac34b7db 66432011-08-01 Julian Brown <julian@codesourcery.com>
6644
6645 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
6646 (libgcc-std.ver.in): Use above.
6647 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
6648 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
6649 throughout file.
6650 * config/t-fixedpoint-gnu-prefix: New file.
6651 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
6652 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
6653 instead of __PFX__.
6654
2a7dfa04 66552011-07-28 H.J. Lu <hongjiu.lu@intel.com>
6656
6657 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
6658 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
6659 for x86-64. Properly check __x86_64__ and __LP64__.
6660
a232cb08 66612010-07-28 H.J. Lu <hongjiu.lu@intel.com>
6662
6663 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
6664 version.
6665 (_FP_WS_TYPE): Likewise.
6666 (_FP_I_TYPE): Likewise.
6667
c54e2746 66682011-07-28 Alan Modra <amodra@gmail.com>
6669
6670 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6671 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
6672 in a plt call stub. Do restore r2 if stopped on bctrl.
6673
4d72c922 66742011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6675
6676 * config.host (i[3456x]86-*-netware*): Remove.
6677 * config/i386/netware-crt0.c, config/i386/t-nwld,
6678 config/i386/t-slibgcc-nwld: Remove.
6679
5aa04b01 66802011-07-15 Bernd Schmidt <bernds@codesourcery.com>
6681
6682 * config.host: Handle tic6x-*-*.
6683 * config/c6x/c6x-abi.h: New file.
6684
ba079bc9 66852011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6686
6687 * config/i386/crtprec.c: New file.
6688 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
6689 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
6690 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
6691 (x86_64-*-darwin*): Likewise.
6692 (i[34567]86-*-solaris2*: Likewise.
6693
1125ba83 66942011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6695
6696 * config/alpha/crtfastmath.c: New file.
6697 * config/i386/crtfastmath.c: New file.
6698 * config/ia64/crtfastmath.c: New file.
6699 * config/mips/crtfastmath.c: New file.
6700 * config/sparc/crtfastmath.c: New file.
6701
6702 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
6703 crtfastmath.c.
6704 Add -frandom-seed=gcc-crtfastmath.
6705 * config/alpha/t-crtfm: Remove.
6706 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
6707 * config/ia64/t-ia64 (crtfastmath.o): Remove.
6708
6709 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
6710 (alpha*-dec-osf5.1*): Likewise.
6711 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
6712 Add crtfastmath.o to extra_parts.
6713 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
6714 Add crtfastmath.o to extra_parts.
6715 (x86_64-*-darwin*): Likewise.
6716 (x86_64-*-mingw*): Likewise.
6717 (ia64*-*-elf*): Add t-crtfm to tmake_file.
6718 (ia64*-*-freebsd*): Likewise.
6719 (ia64*-*-linux*): Likewise.
6720 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
6721 Add crtfastmath.o to extra_parts.
6722
1a4a11f3 67232011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6724
6725 * config/darwin-crt3.o: New file.
6726 * config/rs6000/darwin-crt2.c: New file.
6727 * config/t-darwin: New file.
6728 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
6729 (crt2.o): New rule.
6730 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
6731 (powerpc-*-darwin*): Add crt2.o to extra_parts.
6732 (powerpc64-*-darwin*): Likewise.
6733
ef3ab47f 67342011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6735
6736 * config/i386/netware-crt0.c: New file.
6737 * config/i386/t-nwld: Rename to ...
6738 * config/i386/t-slibgcc-nwld: ... this.
6739 * config/i386/t-nwld: New file.
6740 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
6741 tmake_file.
6742 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
6743 extra_parts.
6744
367b55f3 67452011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6746
6747 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
6748 i386/t-crtstuff.
6749 * configure: Regenerate.
6750
17aa03f5 67512011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6752
6753 * dfp-bit.c, dfp-bit.h: New files.
6754 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
6755 variables.
6756 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
6757 ($(d64pbit-o)): Likewise.
6758 ($(d128pbit-o)): Likewise.
6759 * config/t-dfprules: New file.
6760 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
6761 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
6762 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6763 (x86_64-*-linux*): Likewise.
6764 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6765 (i[34567]86-*-cygwin*): Likewise.
6766 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
6767 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6768
2bc72a9f 67692011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6770
6771 * Makfile.in (LIBGCOV): New variable.
6772 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
6773 * libgcov.c: New file.
6774
36a5227d 67752011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6776
6777 * fixed-bit.c, fixed-bit.h: New files.
6778 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
6779 refer to fixed-bit.c.
6780
689a8077 67812011-07-07 Joseph Myers <joseph@codesourcery.com>
6782
6783 * config.host (*local*): Remove.
6784
14f27bc6 67852011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6786
6787 PR target/39150
6788 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
6789 like i?86-*-solaris2.1[0-9]*.
6790 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
6791 * configure.ac (i?86-*-solaris2*): Likewise.
6792 * configure: Regenerate.
6793
fe27820f 67942011-07-06 Thomas Schwinge <thomas@schwinge.name>
6795
6796 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6797 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
6798 md_unwind_header by splitting out of...
6799 (i[34567]86-*-linux*): ... this.
6800 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
6801 Remove md_unwind_header by splitting out of...
6802 (x86_64-*-linux*): ... this.
6803
934ca5fd 68042011-07-04 Georg-Johann Lay <avr@gjlay.de>
6805
6806 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
6807
707238af 68082011-06-28 Nick Clifton <nickc@redhat.com>
6809
6810 * config.host: Recognize all V850 variants.
6811
5125dcef 68122011-06-22 Uros Bizjak <ubizjak@gmail.com>
6813
6814 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
6815
f92b36a5 68162011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6817
6818 * shared-object.mk (c_flags-$o): Save c_flags.
6819 ($(base)$(objext)): Use it.
6820 ($(base)_s$(objext)): Likewise.
6821
d8492bd3 68222011-06-21 Bernd Schmidt <bernds@codesourcery.com>
6823
6824 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
6825 * libgcc-std.ver.in (GCC_4.7.0): New section.
6826
fa72efb7 68272011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 6828
fa72efb7 6829 PR target/49313
6830 PR target/29524
6831 * config/avr/t-avr: Fix line endings.
6832 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
6833 _parityXX2.
6834
adf7c0a1 68352011-06-14 Olivier Hainque <hainque@adacore.com>
6836 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6837
6838 * config/mips/irix6-unwind.h: New file.
6839 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
6840
47529489 68412011-06-10 Eric Botcazou <ebotcazou@adacore.com>
6842
6843 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
6844 (sparc64_fallback_frame_state): Use it.
6845 (sparc64_frob_update_context): Further adjust context.
6846 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
6847 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
6848 * config/sparc/sol2-cn.S: Likewise.
6849
a6f06169 68502011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6851
6852 * enable-execute-stack-empty.c: New file.
6853 * enable-execute-stack-mprotect.c: New file.
6854 * config/i386/enable-execute-stack-mingw32.c: New file.
6855 * config.host (enable_execute_stack): New variable.
6856 Select appropriate variants.
6857 * configure.ac: Link enable-execute-stack.c to
6858 $enable_execute_stack.
6859 * configure: Regenerate.
6860 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
6861 (lib2funcs): Remove _enable_execute_stack.
6862
f9cccfac 68632011-06-09 David S. Miller <davem@davemloft.net>
6864 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6865
6866 * config.host (sparc-*-linux*): Correct md_unwind_header
6867 filename.
6868 (s390x-ibm-tpf*): Fix typo.
6869
ee884cfb 68702011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6871
6872 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
6873 Add crtfastmath.o to extra_parts.
6874 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
6875 mips/t-crtfm.
6876 * config/mips/t-crtfm: Remove.
6877
01cb8ad1 68782011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6879
6880 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
6881
73956a0d 68822011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
6883
6884 * config.host (sh*-*-linux*): Fix typo.
6885
1e53920f 68862011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6887
6888 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
6889 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
6890 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
6891 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
6892 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
6893 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
6894 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
6895 Wrap in !__MINGW64__.
6896 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
6897 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
6898 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
6899 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
6900 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
6901 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
6902 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
6903 Wrap in !__LP64__.
6904 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
6905 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
6906 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
6907 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
6908 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
6909 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
6910 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
6911 * config/no-unwind.h: New file.
6912 * config.host (md_unwind_header): Document.
6913 Define.
6914 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
6915 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
6916 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
6917 hppa[12]*-*-hpux11*): Set md_unwind_header.
6918 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
6919 Set md_unwind_header.
6920 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
6921 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
6922 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
6923 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
6924 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
6925 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
6926 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
6927 md_unwind_header.
6928 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
6929 * configure: Regenerate.
6930
8087ae75 69312011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6932
6933 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
6934 Set tmake_file, extra_parts.
6935 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
6936 Remove O32 support.
6937 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
6938 Remove O32 support.
6939 * config/mips/t-irix6: New file.
6940 * config/mips/t-slibgcc-irix: New file.
6941
506cfbc8 69422011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6943
6944 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
6945 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
6946
541346b9 69472011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6948
6949 * configure.ac (target_thread_file): Determine thread model.
6950 * configure: Regenerate.
6951 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
6952 * config/alpha/t-alpha: New file.
6953 * config/alpha/t-crtfm: Use $<.
6954 * config/alpha/t-ieee: New file.
6955 * config/alpha/t-osf-pthread: New file.
6956 * config/alpha/t-slibgcc-osf: New file.
6957 * config/alpha/libgcc-osf5.ver: New file.
6958
43ae7603 69592011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6960
6961 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
6962 tmake_file.
6963 Add crtfastmath.o to extra_parts.
6964
f0d9a626 69652011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6966
6967 * config/gmon-sol2.c: Reindent.
6968 Cleanup comments.
6969 Remove, correct casts.
6970 Use STDERR_FILENO, NULL.
6971 (BASEADDRESS): Remove.
6972 (minbrk): Remove.
6973 (errno, sbrk): Remove declarations.
6974 (monstartup) [hp300]: Remove.
6975 (mcount): Remove.
6976
63abf89e 69772011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6978
6979 * Makefile.in (cpu_type): Define.
6980 * config.host (i[34567]86-*-rtems*): Handle it.
6981 (i[34567]86-*-solaris2*): Move body ...
6982 (*-*-solaris2*): ... here.
6983 New case, generalize.
6984 (sparc-*-elf*): Handle it.
6985 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
6986 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
6987 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
6988 Fold into ...
6989 (sparc*-*-solaris2*): ... this.
6990 New case.
6991 (sparc64-*-elf*): Handle it.
6992 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
6993 Merge ../gcc/config/i386/gmon-sol2.c.
6994 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
6995 Use C comments.
6996 Merge ../gcc/config/i386/sol2-gc1.asm.
6997 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
6998 Use C comments.
6999 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7000 Use C comments.
7001 * config/i386/t-crtfm (crtfastmath.o): Use $<.
7002 * config/i386/t-crtstuff: New file.
7003 * config/i386/t-softfp: New file.
7004 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7005 $(T)crti.o, $(T)crtn.o): Remove.
7006 (gcrt1.o): New rule.
7007 (TARGET_LIBGCC2_CFLAGS): Remove.
7008 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7009 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7010 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7011 * config/sparc/t-sol2: New file.
7012 * config/sparc/t-crtfm: Move to ...
7013 * config/t-crtfm: ... this.
7014 Use $(cpu_type), $<.
7015 * config/t-crtin: New file.
7016 * config/sparc/t-softfp: New file.
7017 * config/sparc/t-softmul: New file.
7018 * config/t-rtems: New file.
7019 * config/t-slibgcc: New file.
7020 * config/t-slibgcc-elf-ver: New file.
7021 * config/t-slibgcc-gld: New file.
7022 * config/t-slibgcc-sld: New file.
7023 * config/t-sol2: New file.
7024 * configure.ac: Include ../config/lib-ld.m4.
7025 Call AC_LIB_PROG_LD_GNU.
7026 Substitute cpu_type.
7027 * configure: Regenerate.
7028
b1da9d72 70292011-05-27 Bernd Schmidt <bernds@codesourcery.com>
7030
7031 PR bootstrap/49173
7032 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7033 libgcc-std.ver in the build directory.
7034 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7035 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7036
f308a9b2 70372011-05-25 Bernd Schmidt <bernds@codesourcery.com>
7038
7039 * libgcc-std.ver.in: New file.
7040 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7041 variables.
7042 (libgcc-std.ver): New rule.
7043 * config/t-gnu-prefix: New file.
7044
c177b341 70452011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7046
7047 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7048
8633828c 70492011-05-10 Joseph Myers <joseph@codesourcery.com>
7050
7051 * config/i386/darwin-lib.h: New file.
7052
3be74046 70532011-05-10 Joseph Myers <joseph@codesourcery.com>
7054
7055 * config/arm/symbian-lib.h: New.
7056
5e1a494e 70572011-05-04 Chris Demetriou <cgd@google.com>
7058
7059 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7060 (__x86.get_pc_thunk.bx): ...this.
7061 (__morestack): Adjust for rename, remove undef of __i686.
7062
0bb50d04 70632011-05-03 Chris Demetriou <cgd@google.com>
7064
7065 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7066
17b3d2a8 70672011-03-22 Joseph Myers <joseph@codesourcery.com>
7068
7069 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7070 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7071 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7072 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7073 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7074 Remove cases.
7075
95525c17 70762011-03-14 Andreas Tobler <andreast@fgznet.ch>
7077
7078 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7079 Adjust copyright year.
7080
82c96609 70812011-03-07 Ian Lance Taylor <iant@google.com>
7082
7083 * generic-morestack.c (__splitstack_find): Adjust returned stack
7084 pointer to include all registers pushed by __morestack.
7085
abfe0c5b 70862011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
7087
7088 PR target/40125
7089 * configure.ac: Call ACX_NONCANONICAL_TARGET.
7090 (toolexecdir): Calculate and AC_SUBST.
7091 (toolexeclibdir): Likewise.
7092 * Makefile.in (target_noncanonical): Import.
7093 (toolexecdir): Likewise.
7094 (toolexeclibdir): Likewise.
7095 * configure: Regenerate.
7096
48f93ee5 70972010-12-13 Nathan Froyd <froydnj@codesourcery.com>
7098
7099 PR target/46040
7100 * config/arm/bpabi.h: Rename to...
7101 * config/arm/bpabi-lib.h: ...this.
7102
76aa642f 71032010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7104
7105 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7106 appropriate.
7107 * configure: Regenerate.
7108
e8b06528 71092010-11-24 Nathan Froyd <froydnj@codesourcery.com>
7110
7111 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7112 __FLOAT_WORD_ORDER__.
7113 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7114 Delete.
7115
2b7a4d59 71162010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7117
7118 PR other/46202
7119 * Makefile.in (install-strip): New phony target.
7120
457123d6 71212010-11-07 Ian Lance Taylor <iant@google.com>
7122
7123 PR target/46089
7124 * config/i386/morestack.S (__morestack_large_model): New
7125 function.
7126
f6e5e456 71272010-10-23 Nathan Froyd <froydnj@codesourcery.com>
7128
7129 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7130 Delete.
7131 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7132
faf175ae 71332010-10-14 Nathan Froyd <froydnj@codesourcery.com>
7134
7135 * config/arm/bpabi.h: New file.
7136 * config/frv/frv-abi.h: New file.
7137
9266176d 71382010-10-01 Ian Lance Taylor <iant@google.com>
7139
7140 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7141 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7142
13ba4217 71432010-10-01 H.J. Lu <hongjiu.lu@intel.com>
7144
7145 PR target/45858
7146 * config.host: Add the missing `$'.
7147
d34b0d1e 71482010-09-30 Michael Eager <eager@eagercon.com>
7149
7150 * config.host: Add microblaze*-*-*.
7151 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7152 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7153 udivsi3.asm,umodsi3.asm}: New.
7154
78ca2689 71552010-09-28 Ian Lance Taylor <iant@google.com>
7156
7157 * configure.ac: Adjust CFI test to test assembler directly rather
7158 than checking gcc preprocessor macro.
7159 * configure: Rebuild.
7160
c9b3ebc5 71612010-09-27 Ian Lance Taylor <iant@google.com>
7162
7163 * configure.ac: Test whether assembler supports CFI directives.
7164 * config.host: Only add t-stack and i386/t-stack-i386 to
7165 tmake_file if libgcc_cv_cfi is "yes".
7166 * configure: Rebuild.
7167
48b14f50 71682010-09-27 Ian Lance Taylor <iant@google.com>
7169
7170 * generic-morestack.h: New file.
7171 * generic-morestack.c: New file.
7172 * generic-morestack-thread.c: New file.
7173 * config/i386/morestack.S: New file.
7174 * config/t-stack: New file.
7175 * config/i386/t-stack-i386: New file.
7176 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7177 i386/t-stack-i386 to tmake_file.
7178
fd80c7a1 71792010-09-21 Iain Sandoe <iains@gcc.gnu.org>
7180
7181 * Makefile.in (libgcc-extra-parts): Check for static archives and
7182 invoke ranlib after installing them.
7183 (gcc-extra-parts): Likewise.
7184 (install-leaf): Likewise.
7185
70fbcd6d 71862010-09-14 H.J. Lu <hongjiu.lu@intel.com>
7187
7188 * configure: Regenerated.
7189
19aace05 71902010-09-10 Kai Tietz <kai.tietz@onevision.com>
7191
70fbcd6d 7192 * configure: Regenerated.
19aace05 7193
279dadf5 71942010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
7195 Andrew Pinski <pinskia@gmail.com>
7196
5125dcef 7197 PR target/40959
279dadf5 7198 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
7199
a87eb011 72002010-09-06 H.J. Lu <hongjiu.lu@intel.com>
7201
7202 PR target/45524
7203 * configure: Regenerated.
7204
e6425baf 72052010-09-06 Andreas Schwab <schwab@redhat.com>
7206
7207 * configure: Regenerate.
7208
e88f4c66 72092010-09-03 Uros Bizjak <ubizjak@gmail.com>
7210
7211 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7212 64bit targets.
7213 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7214 for 64bit targets.
7215
1d8139cc 72162010-09-03 Uros Bizjak <ubizjak@gmail.com>
7217 Iain Sandoe <iains@gcc.gnu.org>
7218
7219 PR target/45476
7220 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7221 LIB2FUNCS_EXCLUDE functions.
7222
23340821 72232010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7224
7225 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7226 Include dfp.m4.
7227 * configure: Regenerate.
7228
278afeb5 72292010-09-01 Uros Bizjak <ubizjak@gmail.com>
7230
7231 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7232 i386/t-freebsd to tmake_file.
7233 * config/i386/t-freebsd: New file.
7234 * config/i386/libgcc-bsd.ver: New file.
7235
952bf8bb 72362010-07-23 Nathan Froyd <froydnj@codesourcery.com>
7237
7238 * config.host (powerpc*-eabispe*): Set tmake_file.
7239 (powerpc*-eabi*): Likewise.
7240 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7241 crtbeginS, crtendS, crtbeginT.
7242
283681bb 72432010-06-12 Kazu Hirata <kazu@codesourcery.com>
7244
7245 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7246 to tmake_file. Add crtfastmath.o to extra_parts.
7247 * config/mips/t-crtfm: New.
7248
92e91d03 72492010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a6180b96 7250
7251 * config.host (sparc64-*-rtems*): New target.
7252
05157f42 72532010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7254
7255 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7256 assembler syntax.
7257
8a84c748 72582010-04-15 Thomas Schwinge <tschwinge@gnu.org>
7259
7260 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7261
ed3e1bbc 72622010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7263
7264 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7265 alpha-dec-osf5.0* support.
7266
92e91d03 72672010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 7268
7269 * config.host: Add lm32-*-rtems*.
7270
20be3c56 72712010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
92e91d03 7272 Uros Bizjak <ubizjak@gmail.com>
20be3c56 7273
7274 PR target/39048
7275 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7276 like other remaining 32-bit x86 OSes.
7277 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7278 assembler syntax.
7279 * config/i386/libgcc-sol2.ver: New file.
7280 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7281
92e91d03 72822010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8f0f72c0 7283
7284 PR c/43553
7285 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7286 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7287 is used and substitute set_use_emutls.
7288 * configure: Regenerated.
7289
cf842d6a 72902010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
7291
7292 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7293
4dcd7ab3 72942010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7295
7296 PR target/38085
7297 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7298 MULTILIB_CFLAGS.
7299 ($(T)gcrt1.o): Likewise.
7300 ($(T)crt1.o): Likewise.
7301 ($(T)crti.o): Likewise.
7302 ($(T)crtn.o): Likewise.
7303
a426f025 73042010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7305
7306 PR other/42980
7307 * Makefile.in (install): Use $(MAKE) string in rule, for
7308 parallel make.
7309
8525326e 73102010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
7311
7312 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7313 * config/mmix/t-mmix: New file.
7314 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7315
14a10763 73162010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
7317
7318 PR java/41991
7319 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7320 SHLIB_MAPFILES.
7321
00301a1a 73222010-01-04 Anthony Green <green@moxielogic.com>
7323
7324 * config/moxie/crti.asm, config/moxie/crtn.asm,
7325 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7326 config/moxie/t-moxie: New files.
7327 * config.host: Add t-moxie-softfp reference.
7328
92e91d03 73292009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
d2b1aa3d 7330
7331 PR other/39888
7332 * config/t-slibgcc-darwin: Fix embedded rpaths for
7333 --enable-version-specific-runtime-libs, build extension stub
7334 libs exposing features available from current libgcc_s.
7335
92e91d03 73362009-11-11 Jon Beniston <jon@beniston.com>
f6fe91e8 7337
278afeb5 7338 * config.host: Add lm32 targets.
7339 * config/lm32: New directory.
7340 * config/lm32/libgcc_lm32.h: New file.
7341 * config/lm32/_mulsi3.c: New file.
7342 * config/lm32/_udivmodsi4.c: New file.
7343 * config/lm32/_divsi3.c: New file.
7344 * config/lm32/_modsi3.c: New file.
7345 * config/lm32/_udivsi3.c: New file.
7346 * config/lm32/_umodsi3.c: New file.
7347 * config/lm32/_lshrsi3.S: New file.
7348 * config/lm32/_ashrsi3.S: New file.
7349 * config/lm32/_ashlsi3.S: New file.
7350 * config/lm32/crti.S: New file.
7351 * config/lm32/crtn.S: New file.
7352 * config/lm32/t-lm32: New file.
7353 * config/lm32/t-elf: New file.
7354 * config/lm32/t-uclinux: New file.
f6fe91e8 7355
24833e1a 73562009-10-26 Nick Clifton <nickc@redhat.com>
7357
7358 * config.host: Add support for RX target.
7359 * config/rx: New directory.
7360 * config/rx/rx-abi-functions.c: New file. Supplementary
7361 functions for libgcc to support the RX ABI.
7362 * config/rx/rx-abi.h: New file. Supplementary header file for
7363 libgcc RX ABI functions.
7364 * config/rx/t-rx: New file: Makefile fragment for building
7365 libgcc for the RX.
7366
1d7e299f 73672009-10-09 Uros Bizjak <ubizjak@gmail.com>
7368
7369 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7370 constraint of y0 to "g".
7371
e38fe738 73722009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7373
7374 * config.host: Include the s390 makefile fragments.
7375 * config/s390/32/_fixdfdi.c: New file.
7376 * config/s390/32/_fixsfdi.c: New file.
7377 * config/s390/32/_fixtfdi.c: New file.
7378 * config/s390/32/_fixunsdfdi.c: New file.
7379 * config/s390/32/_fixunssfdi.c: New file.
7380 * config/s390/32/_fixunstfdi.c: New file.
7381 * config/s390/32/t-floattodi: New file.
7382 * config/s390/libgcc-glibc.ver: New file.
7383 * config/s390/t-crtstuff: New file.
7384 * config/s390/t-linux: New file.
7385 * config/s390/t-tpf: New file.
7386
81a71e2b 73872009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7388
7389 * configure.ac (AC_PREREQ): Bump to 2.64.
7390
a1ef431d 73912009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
7392
7393 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7394
cd9a469c 73952009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7396
7397 * configure: Regenerate.
7398
9b9a2528 73992009-08-09 Douglas B Rupp <rupp@gnat.com>
7400
7401 * config.host (ia64-hp-*vms*): New target.
7402 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7403 with ia64-hp-*vms*.
7404
a2655af1 74052009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7406
7407 * configure.ac: Add snippet for maintainer-mode.
7408 * configure: Regenerate.
7409 * Makefile.in (AUTOCONF, configure_deps): New variables.
7410 ($(srcdir)/configure)): New rule, active only with maintainer
7411 mode turned on.
7412
46222c18 74132009-06-23 DJ Delorie <dj@redhat.com>
7414
7415 Add MeP port.
7416 * config.host: Add mep support.
7417
13dc7657 74182009-06-22 Kai Tietz <kai.tietz@onevision.com>
7419
82a3cc73 7420 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 7421 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 7422
7423 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7424 for mingw targets.
13dc7657 7425 * config/i386/64/_multc3.c: Likewise.
7426 * config/i386/64/_powitf2.c: Likewise.
7427 * config/i386/64/eqtf2.c: Likewise.
7428 * config/i386/64/getf2.c: Likewise.
7429 * config/i386/64/letf2.c: Likewise.
7430 * config/i386/64/letf2.c: Likewise.
82a3cc73 7431 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7432 unsigned long long for x64 mingw targets.
7433 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7434 (_FP_I_TYPE): Define as long long for x64 mingw target.
13dc7657 7435
63bfd172 74362009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
7437
7438 * config.host (vax-*-linux*): New.
7439
be52b6d8 74402009-05-31 Anthony Green <green@moxielogic.com>
7441
7442 * config.host: Add moxie support.
7443 * config/moxie/t-moxie: New file.
7444
92e91d03 74452009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6471e33b 7446
7447 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 7448 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 7449
09ec66c8 74502009-04-17 Aurelien Jarno <aurelien@aurel32.net>
7451
7452 * config.host: Add i386/${host_address}/t-fprules-softfp to
7453 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7454
6bc9506f 74552009-04-09 Nick Clifton <nickc@redhat.com>
7456
7457 * config/ia64/tf-signs.c: Change copyright header to refer to
7458 version 3 of the GNU General Public License with version 3.1
7459 of the GCC Runtime Library Exception and to point readers at
7460 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7461 web page.
7462 * config/i386/32/tf-signs.c: Likewise.
7463 * config/libbid/_addsub_dd.c: Likewise.
7464 * config/libbid/_addsub_sd.c: Likewise.
7465 * config/libbid/_addsub_td.c: Likewise.
7466 * config/libbid/_dd_to_df.c: Likewise.
7467 * config/libbid/_dd_to_di.c: Likewise.
7468 * config/libbid/_dd_to_sd.c: Likewise.
7469 * config/libbid/_dd_to_sf.c: Likewise.
7470 * config/libbid/_dd_to_si.c: Likewise.
7471 * config/libbid/_dd_to_td.c: Likewise.
7472 * config/libbid/_dd_to_tf.c: Likewise.
7473 * config/libbid/_dd_to_udi.c: Likewise.
7474 * config/libbid/_dd_to_usi.c: Likewise.
7475 * config/libbid/_dd_to_xf.c: Likewise.
7476 * config/libbid/_df_to_dd.c: Likewise.
7477 * config/libbid/_df_to_sd.c: Likewise.
7478 * config/libbid/_df_to_td.c: Likewise.
7479 * config/libbid/_di_to_dd.c: Likewise.
7480 * config/libbid/_di_to_sd.c: Likewise.
7481 * config/libbid/_di_to_td.c: Likewise.
7482 * config/libbid/_div_dd.c: Likewise.
7483 * config/libbid/_div_sd.c: Likewise.
7484 * config/libbid/_div_td.c: Likewise.
7485 * config/libbid/_eq_dd.c: Likewise.
7486 * config/libbid/_eq_sd.c: Likewise.
7487 * config/libbid/_eq_td.c: Likewise.
7488 * config/libbid/_ge_dd.c: Likewise.
7489 * config/libbid/_ge_sd.c: Likewise.
7490 * config/libbid/_ge_td.c: Likewise.
7491 * config/libbid/_gt_dd.c: Likewise.
7492 * config/libbid/_gt_sd.c: Likewise.
7493 * config/libbid/_gt_td.c: Likewise.
7494 * config/libbid/_isinfd128.c: Likewise.
7495 * config/libbid/_isinfd32.c: Likewise.
7496 * config/libbid/_isinfd64.c: Likewise.
7497 * config/libbid/_le_dd.c: Likewise.
7498 * config/libbid/_le_sd.c: Likewise.
7499 * config/libbid/_le_td.c: Likewise.
7500 * config/libbid/_lt_dd.c: Likewise.
7501 * config/libbid/_lt_sd.c: Likewise.
7502 * config/libbid/_lt_td.c: Likewise.
7503 * config/libbid/_mul_dd.c: Likewise.
7504 * config/libbid/_mul_sd.c: Likewise.
7505 * config/libbid/_mul_td.c: Likewise.
7506 * config/libbid/_ne_dd.c: Likewise.
7507 * config/libbid/_ne_sd.c: Likewise.
7508 * config/libbid/_ne_td.c: Likewise.
7509 * config/libbid/_sd_to_dd.c: Likewise.
7510 * config/libbid/_sd_to_df.c: Likewise.
7511 * config/libbid/_sd_to_di.c: Likewise.
7512 * config/libbid/_sd_to_sf.c: Likewise.
7513 * config/libbid/_sd_to_si.c: Likewise.
7514 * config/libbid/_sd_to_td.c: Likewise.
7515 * config/libbid/_sd_to_tf.c: Likewise.
7516 * config/libbid/_sd_to_udi.c: Likewise.
7517 * config/libbid/_sd_to_usi.c: Likewise.
7518 * config/libbid/_sd_to_xf.c: Likewise.
7519 * config/libbid/_sf_to_dd.c: Likewise.
7520 * config/libbid/_sf_to_sd.c: Likewise.
7521 * config/libbid/_sf_to_td.c: Likewise.
7522 * config/libbid/_si_to_dd.c: Likewise.
7523 * config/libbid/_si_to_sd.c: Likewise.
7524 * config/libbid/_si_to_td.c: Likewise.
7525 * config/libbid/_td_to_dd.c: Likewise.
7526 * config/libbid/_td_to_df.c: Likewise.
7527 * config/libbid/_td_to_di.c: Likewise.
7528 * config/libbid/_td_to_sd.c: Likewise.
7529 * config/libbid/_td_to_sf.c: Likewise.
7530 * config/libbid/_td_to_si.c: Likewise.
7531 * config/libbid/_td_to_tf.c: Likewise.
7532 * config/libbid/_td_to_udi.c: Likewise.
7533 * config/libbid/_td_to_usi.c: Likewise.
7534 * config/libbid/_td_to_xf.c: Likewise.
7535 * config/libbid/_tf_to_dd.c: Likewise.
7536 * config/libbid/_tf_to_sd.c: Likewise.
7537 * config/libbid/_tf_to_td.c: Likewise.
7538 * config/libbid/_udi_to_dd.c: Likewise.
7539 * config/libbid/_udi_to_sd.c: Likewise.
7540 * config/libbid/_udi_to_td.c: Likewise.
7541 * config/libbid/_unord_dd.c: Likewise.
7542 * config/libbid/_unord_sd.c: Likewise.
7543 * config/libbid/_unord_td.c: Likewise.
7544 * config/libbid/_usi_to_dd.c: Likewise.
7545 * config/libbid/_usi_to_sd.c: Likewise.
7546 * config/libbid/_usi_to_td.c: Likewise.
7547 * config/libbid/_xf_to_dd.c: Likewise.
7548 * config/libbid/_xf_to_sd.c: Likewise.
7549 * config/libbid/_xf_to_td.c: Likewise.
7550 * config/libbid/bid128.c: Likewise.
7551 * config/libbid/bid128_2_str.h: Likewise.
7552 * config/libbid/bid128_2_str_macros.h: Likewise.
7553 * config/libbid/bid128_2_str_tables.c: Likewise.
7554 * config/libbid/bid128_add.c: Likewise.
7555 * config/libbid/bid128_compare.c: Likewise.
7556 * config/libbid/bid128_div.c: Likewise.
7557 * config/libbid/bid128_fma.c: Likewise.
7558 * config/libbid/bid128_logb.c: Likewise.
7559 * config/libbid/bid128_minmax.c: Likewise.
7560 * config/libbid/bid128_mul.c: Likewise.
7561 * config/libbid/bid128_next.c: Likewise.
7562 * config/libbid/bid128_noncomp.c: Likewise.
7563 * config/libbid/bid128_quantize.c: Likewise.
7564 * config/libbid/bid128_rem.c: Likewise.
7565 * config/libbid/bid128_round_integral.c: Likewise.
7566 * config/libbid/bid128_scalb.c: Likewise.
7567 * config/libbid/bid128_sqrt.c: Likewise.
7568 * config/libbid/bid128_string.c: Likewise.
7569 * config/libbid/bid128_to_int16.c: Likewise.
7570 * config/libbid/bid128_to_int32.c: Likewise.
7571 * config/libbid/bid128_to_int64.c: Likewise.
7572 * config/libbid/bid128_to_int8.c: Likewise.
7573 * config/libbid/bid128_to_uint16.c: Likewise.
7574 * config/libbid/bid128_to_uint32.c: Likewise.
7575 * config/libbid/bid128_to_uint64.c: Likewise.
7576 * config/libbid/bid128_to_uint8.c: Likewise.
7577 * config/libbid/bid32_to_bid128.c: Likewise.
7578 * config/libbid/bid32_to_bid64.c: Likewise.
7579 * config/libbid/bid64_add.c: Likewise.
7580 * config/libbid/bid64_compare.c: Likewise.
7581 * config/libbid/bid64_div.c: Likewise.
7582 * config/libbid/bid64_fma.c: Likewise.
7583 * config/libbid/bid64_logb.c: Likewise.
7584 * config/libbid/bid64_minmax.c: Likewise.
7585 * config/libbid/bid64_mul.c: Likewise.
7586 * config/libbid/bid64_next.c: Likewise.
7587 * config/libbid/bid64_noncomp.c: Likewise.
7588 * config/libbid/bid64_quantize.c: Likewise.
7589 * config/libbid/bid64_rem.c: Likewise.
7590 * config/libbid/bid64_round_integral.c: Likewise.
7591 * config/libbid/bid64_scalb.c: Likewise.
7592 * config/libbid/bid64_sqrt.c: Likewise.
7593 * config/libbid/bid64_string.c: Likewise.
7594 * config/libbid/bid64_to_bid128.c: Likewise.
7595 * config/libbid/bid64_to_int16.c: Likewise.
7596 * config/libbid/bid64_to_int32.c: Likewise.
7597 * config/libbid/bid64_to_int64.c: Likewise.
7598 * config/libbid/bid64_to_int8.c: Likewise.
7599 * config/libbid/bid64_to_uint16.c: Likewise.
7600 * config/libbid/bid64_to_uint32.c: Likewise.
7601 * config/libbid/bid64_to_uint64.c: Likewise.
7602 * config/libbid/bid64_to_uint8.c: Likewise.
7603 * config/libbid/bid_b2d.h: Likewise.
7604 * config/libbid/bid_binarydecimal.c: Likewise.
7605 * config/libbid/bid_conf.h: Likewise.
7606 * config/libbid/bid_convert_data.c: Likewise.
7607 * config/libbid/bid_decimal_data.c: Likewise.
7608 * config/libbid/bid_decimal_globals.c: Likewise.
7609 * config/libbid/bid_div_macros.h: Likewise.
7610 * config/libbid/bid_dpd.c: Likewise.
7611 * config/libbid/bid_flag_operations.c: Likewise.
7612 * config/libbid/bid_from_int.c: Likewise.
7613 * config/libbid/bid_functions.h: Likewise.
7614 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7615 * config/libbid/bid_inline_add.h: Likewise.
7616 * config/libbid/bid_internal.h: Likewise.
7617 * config/libbid/bid_round.c: Likewise.
7618 * config/libbid/bid_sqrt_macros.h: Likewise.
7619
76202009-04-09 Jakub Jelinek <jakub@redhat.com>
7621
7622 * Makefile.in: Change copyright header to refer to version
7623 3 of the GNU General Public License and to point readers at the
7624 COPYING3 file and the FSF's license web page.
7625 * config.host: Likewise.
7626
4e5e2802 76272009-04-07 Alan Modra <amodra@bigpond.net.au>
7628
7629 * config.host: Reorder and merge to match config.gcc change.
7630
8d40ea45 76312009-04-03 Alan Modra <amodra@bigpond.net.au>
7632
7633 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
7634
f2397fc4 76352009-03-28 Joseph Myers <joseph@codesourcery.com>
7636
7637 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
7638 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
7639 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
7640 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
7641
24200b28 76422009-02-12 Uros Bizjak <ubizjak@gmail.com>
7643
7644 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
7645 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7646
8b21beb2 76472009-02-12 H.J. Lu <hongjiu.lu@intel.com>
7648
24200b28 7649 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
7650 ia64/t-softfp-compat to tmake_file.
8b21beb2 7651
7652 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
7653
7654 * config/ia64/__divxf3.asm: New.
7655 * config/ia64/_fixtfdi.asm: Likewise.
7656 * config/ia64/_fixunstfdi.asm: Likewise.
7657 * config/ia64/_floatditf.asm: Likewise.
7658 * config/ia64/t-fprules-softfp: Likewise.
7659 * config/ia64/t-softfp-compat: Likewise.
7660 * config/ia64/tf-signs.c: Likewise.
7661
9df8be69 76622009-01-18 Ben Elliston <bje@au.ibm.com>
7663
7664 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7665
f2b540ae 76662009-01-16 Ben Elliston <bje@au.ibm.com>
7667
7668 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
7669 to tmake_file.
7670
5790f80a 76712009-01-13 Ben Elliston <bje@au.ibm.com>
7672
7673 * config/t-softfp: New file.
7674 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
7675 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
7676
92e91d03 76772009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
b8138586 7678
7679 * config.host: Add m32r*-*-rtems*.
7680
92e91d03 76812008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
7eac0a4e 7682
7683 * config.host: Add m32c*-*-rtems*.
7684
03150a33 76852008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7686
7687 PR bootstrap/33100
7688 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
7689 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
7690 * configure: Regenerate.
7691 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
7692 tmake_file here from gcc/config.gcc.
7693 Move extra_parts here from gcc/config.gcc.
7694 * config/i386/t-sol2: Move here from gcc/config/i386.
7695 Use gcc_srcdir instead of srcdir.
7696
77a32a8e 76972008-11-18 Adam Nemet <anemet@caviumnetworks.com>
7698
7699 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
7700 case.
7701
1eab96a6 77022008-11-09 Thomas Schwinge <tschwinge@gnu.org>
7703
7704 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
7705
74cd9df8 77062008-10-08 Thomas Schwinge <tschwinge@gnu.org>
7707
7708 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
7709
8372e9ea 77102008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
7711
7712 Add picoChip port.
7713 * config.host: Add picochip-*-*.
7714
75c7ffbc 77152008-08-06 Bob Wilson <bob.wilson@acm.org>
7716
7717 * config.host: Match more processor names for Xtensa.
7718
fb4830c6 77192008-07-08 H.J. Lu <hongjiu.lu@intel.com>
7720
7721 * config/i386/64/t-softfp-compat: Update comments.
7722
7c92db45 77232008-07-07 H.J. Lu <hongjiu.lu@intel.com>
7724
7725 * config/i386/64/_divtc3-compat.c: Moved to ...
7726 * config/i386/64/_divtc3.c: Here.
7727
7728 * config/i386/64/_multc3-compat.c: Moved to ...
7729 * config/i386/64/_multc3.c: Here.
7730
7731 * config/i386/64/_powitf2-compat.c: Moved to ...
7732 * config/i386/64/_powitf2.c: Here.
7733
7734 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
7735 .c suffix instead of -compat.c.
7736
ec2e6a4e 77372008-07-05 Uros Bizjak <ubizjak@gmail.com>
7738
7739 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
7740 (_FP_MUL_MEAT_D): Ditto.
7741 (_FP_DIV_MEAT_S): Ditto.
7742 (_FP_DIV_MEAT_D): Ditto.
7743
fdbb505a 77442008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
7745
7746 * Makefile.in: Add support for __sync_* libgcc functions.
7747
310c48f2 77482008-07-03 H.J. Lu <hongjiu.lu@intel.com>
7749
7750 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
7751
144633f4 77522008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7753
7754 PR boostrap/36702
7755 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
7756 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
7757
7758 * config/i386/64/t-fprules-softfp: Moved to ...
7759 * config/i386/64/t-softfp-compat: This. New.
7760
e25ffafe 77612008-07-02 Uros Bizjak <ubizjak@gmail.com>
7762
7763 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
7764 Initialize f with 0.0.
7765
b3fd46a0 77662008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7767
7768 PR target/36669
7769 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
7770
7771 * config/i386/64/_divtc3-compat.c: New.
7772 * config/i386/64/_multc3-compat.c: Likewise.
7773 * config/i386/64/_powitf2-compat.c: Likewise.
7774 * config/i386/64/eqtf2.c: Likewise.
7775 * config/i386/64/getf2.c: Likewise.
7776 * config/i386/64/letf2.c: Likewise.
7777 * config/i386/64/t-fprules-softfp: Likewise.
7778
77792008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7780
7781 * config.host: Add i386/${host_address}/t-fprules-softfp to
7782 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
1d7e299f 7783 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 7784
7785 * configure.ac: Set host_address to 64 or 32 for x86.
7786 * configure: Regenerated.
7787
7788 * Makefile.in (config.status): Also depend on
7789 $(srcdir)/config.host.
7790
7791 * config/i386/32/t-fprules-softfp: New.
7792 * config/i386/32/tf-signs.c: Likewise.
7793
7794 * config/i386/64/sfp-machine.h: New. Moved from gcc.
7795
77962008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7797 Uros Bizjak <ubizjak@gmail.com>
7798
7799 * config/i386/32/sfp-machine.h: New.
7800
eaef9489 78012008-06-26 Nathan Froyd <froydnj@codesourcery.com>
7802
7803 * config/rs6000/t-ppccomm: Remove rules that conflict with
7804 auto-generated rules.
7805
5b2c7553 78062008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7807
7808 * configure.ac: sinclude override.m4.
7809 * configure: Regenerate.
7810
dde02e56 78112008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
7812
7813 * configure: Regenerate.
7814
4d6f3aad 78152008-06-10 Joseph Myers <joseph@codesourcery.com>
7816
7817 * Makefile.in (DECNUMINC): Remove
7818 -I$(MULTIBUILDTOP)../../libdecnumber.
7819 * gstdint.h: New.
7820
6af9f7ea 78212008-06-07 Joseph Myers <joseph@codesourcery.com>
7822
7823 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
7824 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
7825 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
7826 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
7827 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
7828 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7829 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
7830 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
7831 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
7832 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
7833 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
7834 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
7835 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
7836 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
7837
ccf1c0f1 78382008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
7839
7840 * config.host (sh2[lbe]*-*-linux*): Allow target.
7841
19872d0b 78422008-04-30 Nathan Froyd <froydnj@codesourcery.com>
7843
7844 * config/rs6000/t-ppccomm: Add build rules for new files.
7845 (LIB2ADD_ST): New variable.
7846
38dd5584 78472008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
7848
7849 PR target/34210
7850 PR target/35508
7851 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
7852 * config/t-avr: New file. Build 16bit libgcc functions.
7853
8e5da69c 78542008-03-02 Jakub Jelinek <jakub@redhat.com>
7855
7856 PR target/35401
7857 * config/t-slibgcc-darwin: Make install-leaf dependent on
7858 install-darwin-libgcc-stubs instead of install.
7859
99c77e32 78602008-01-25 Joseph Myers <joseph@codesourcery.com>
7861
7862 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
7863 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
7864 sh-*-rtemscoff*): Remove cases.
7865
8237872e 78662007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
7867
7868 * Makefile.in (all): Use install-leaf rather than install.
7869 (install): Split most of the rule into...
7870 (install-leaf): ...this new one.
7871
00a05b87 78722007-12-19 Etsushi Kato <ek.kato@gmail.com>
7873 Paolo Bonzini <bonzini@gnu.org>
7874
7875 PR target/30572
e25ffafe 7876 * Makefile.in: Use @shlib_slibdir@ substitution to get
7877 correct install name on darwin.
00a05b87 7878 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 7879
877d7f12 78802007-12-15 Hans-Peter Nilsson <hp@axis.com>
7881
7882 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
7883 cris-*-elf and cris-*-none.
7884 (crisv32-*-linux*): Similar, as cris-*-linux*.
7885
75612461 78862007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
7887
7888 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
7889
f11b4169 78902007-10-27 H.J. Lu <hongjiu.lu@intel.com>
7891
7892 PR regression/33926
7893 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
7894 * configure: Regenerated.
7895
84d1fc49 78962007-09-27 H.J. Lu <hongjiu.lu@intel.com>
7897
7898 * Makefile.in (dfp-filenames): Replace decimal_globals,
7899 decimal_data, binarydecimal and convert_data with
7900 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
7901 and bid_convert_data, respectively.
7902
3ac0842f 79032007-09-17 Chao-ying Fu <fu@mips.com>
7904 Nigel Stephens <nigel@mips.com>
7905
7906 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
7907 * Makefile.in (fixed_point): Define.
7908 Check if fixed_point is yes to build support functions.
7909 * configure.ac: Check for fixed_point support.
7910 * configure: Regenerated.
7911 * gen-fixed.sh: New file to generate lists of fixed-point labels,
7912 funcs, modes, from, to.
7913
8c72b2f9 79142007-09-11 Janis Johnson <janis187@us.ibm.com
7915
7916 * Makefile.in (dfp-filenames): Add bid128_noncomp.
7917
c8ac5d9a 79182007-09-10 Janis Johnson <janis187@us.ibm.com>
7919
7920 * Makefile.in (dfp-filenames): Remove decUtility, add
7921 decDouble, decPacked, decQuad, decSingle.
7922
cc8ebe39 79232007-08-27 Hans Kester <hans.kester@ellips.nl>
7924
7925 * config.host : Add x86_64-elf target.
7926
db1c99de 79272007-07-06 H.J. Lu <hongjiu.lu@intel.com>
7928
7929 * configure.ac (set_have_cc_tls): Add a missing =.
7930 * configure: Regenerated.
7931
e4cbe54f 79322007-07-06 H.J. Lu <hongjiu.lu@intel.com>
7933
7934 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
7935 and x86_64-*-linux*.
7936
7937 * config/t-tls: New file.
7938
1d7e299f 7939 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 7940
7941 * configure.ac: Include ../config/enable.m4 and
7942 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
7943 supports TLS and substitute set_have_cc_tls.
7944 * configure: Regenerated.
7945
9b6b0236 79462007-07-04 H.J. Lu <hongjiu.lu@intel.com>
7947
7948 * Makefile.in: Use libbid for DFP when BID is enabled.
7949
9e51385b 79502007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
7951
7952 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 7953 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 7954 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
7955
8f433c51 79562007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 7957 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 7958
7959 PR target/29498
7960 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
7961 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
7962 * config/i386/t-crtfm: Compile crtfastmath.o with
7963 -minline-all-stringops.
7964
723e1902 79652007-05-10 Richard Sandiford <richard@codesourcery.com>
7966
7967 * config.host (sparc-wrs-vxworks): New target.
7968
278e2fd1 79692007-04-14 Kazu Hirata <kazu@codesourcery.com>
7970
7971 * config.host: Recognize fido.
7972
2968d68c 79732007-04-04 Janis Johnson <janis187@us.ibm.com>
7974
7975 * configure: Check host, not target, for decimal float support.
7976
6d057ce8 79772007-04-03 Uros Bizjak <ubizjak@gmail.com>
7978
7979 * config/i386/t-crtpc: New file.
7980 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
e25ffafe 7981 (x86_64-*-linux*): Ditto.
6d057ce8 7982
0bbe9142 79832007-02-30 Kai Tietz <kai.tietz@onevision.com>
7984
7985 * config.host (x86_64-*-mingw*): New target.
7986
10de71e1 79872007-03-23 Michael Meissner <michael.meissner@amd.com>
7988 H.J. Lu <hongjiu.lu@intel.com>
7989
7990 * Makefile.in (enable_decimal_float): New.
7991 (DECNUMINC): Add
7992 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
7993 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
7994 (decbits-filenames): This.
7995 (decbits-objects): New.
7996 (libgcc-objects): Add $(decbits-objects).
7997
7998 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
7999 Substitute enable_decimal_float.
8000 * configure: Regenerated.
8001
7a9b9c95 80022007-03-19 Hans-Peter Nilsson <hp@axis.com>
8003
8004 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8005
37decb40 80062007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8007
8008 * Makefile.in (install-info): New dummy target.
8009
bce94ab5 80102007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8011
8012 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8013
1403bdd1 80142007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8015
8016 * Makefile.in: Add install-html and install-pdf dummy
8017 targets.
8018
fce64ed4 80192007-02-05 Roger Sayle <roger@eyesopen.com>
8020 Daniel Jacobowitz <dan@codesourcery.com>
8021
8022 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8023 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8024 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8025
4d863ca5 80262007-01-29 Janis Johnson <janis187@us.ibm.com>
8027
8028 * Makefile.in (dec-filenames): Add decExcept.
8029
f0356913 80302007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8031
8032 PR bootstrap/30469
8033 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8034 -fprofile-use.
8035
bbdcab13 80362007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
8037
8038 * configure.ac: Add --enable-version-specific-runtime-libs.
8039 Correct $slibdir default.
8040 * configure: Regenerated.
8041
3da0fdbc 80422007-01-23 Joseph Myers <joseph@codesourcery.com>
8043
8044 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8045
cdca0ab7 80462007-01-21 Andrew Pinski <pinskia@gmail.com>
8047
8048 PR target/30519
8049 * config.host (alpha*-*-linux*): Set extra_parts.
8050
97f1a704 80512007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8052
8053 * config/sh/t-linux: New.
8054 * config.host (sh*-*-linux*): Set tmake_file.
8055
52617116 80562007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8057
8058 * Makefile.in (install): Handle multilibs.
8059
c0e5c948 80602007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8061
8062 * Makefile.in: Added .PHONY entry for documentation targets.
8063
d62e2f2f 80642007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8065
8066 * Makefile.in: Add empty info, html, dvi, pdf targets.
8067
68cf2994 80682007-01-04 Mike Stump <mrs@apple.com>
8069
8070 * Makefile.in (MAKEINFO): Remove.
8071 (PERL): Likewise.
8072
f534b3b3 80732007-01-04 Paolo Bonzini <bonzini@gnu.org>
8074
8075 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8076 * configure: Regenerate.
8077 * Makefile.in (host_subdir): Substitute it.
1d7e299f 8078 (gcc_objdir): Use it.
f534b3b3 8079
c11c6ae3 80802007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8081
8082 * config.host (ia64*-*-linux*): Set tmake_file.
8083
d272bed8 80842007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8085
8086 * Makefile.in (version): Define.
8087
894a47b4 80882007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8089 Paolo Bonzini <bonzini@gnu.org>
8090
8091 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8092 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8093 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8094 config/sparc/t-crtfm, config/t-slibgcc-darwin,
8095 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8096 shared-object.mk, siditi-object.mk, static-object.mk: New files.
8097 * configure: Generated.
f1717362 8098\f
8099Copyright (C) 2007-2016 Free Software Foundation, Inc.
8100
8101Copying and distribution of this file, with or without modification,
8102are permitted in any medium without royalty provided the copyright
8103notice and this notice are preserved.