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