]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
2
3 * unwind-arm-common.inc (abort): Remove.
4
5 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
6
7 * config/aarch64/value-unwind.h: Add missing runtime exception
8 paragraph.
9 * config/frv/frv-abi.h: Likewise.
10 * config/i386/value-unwind.h: Likewise.
11 * config/pa/pa64-hpux-lib.h: Likewise.
12
13 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
14
15 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
16 __gcc_qadd.
17 (__gcc_qadd): Call ldouble_qadd_internal.
18 (__gcc_qsub): Call ldouble_qadd_internal with second long double
19 argument negated.
20
21 2021-08-26 Jonathan Yong <10walls@gmail.com>
22
23 * config/i386/cygming-crtend.c: Fix register_frame_ctor
24 and register_frame_dtor warnings.
25
26 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
27
28 PR target/102035
29 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
30 Add vlldm erratum work-around.
31
32 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
33
34 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
35
36 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
37
38 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
39 (gcov_type_unsigned): Likewise.
40
41 2021-08-14 Stafford Horne <shorne@gmail.com>
42
43 PR target/99783
44 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
45 * config/or1k/t-crtstuff: New file.
46
47 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
48
49 * libgcov-driver.c (#include <stdint.h>): Remove.
50 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
51
52 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
53
54 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
55 * gcov.h (gcov_info): Declare.
56 (__gcov_info_to_gdca): Likewise.
57 * libgcov.h (gcov_write_counter): Remove.
58 (gcov_write_tag_length): Likewise.
59 * libgcov-driver.c (#include <stdint.h>): New.
60 (#include <string.h>): Remove.
61 (NEED_L_GCOV): Conditionally define.
62 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
63 (are_all_counters_zero): New.
64 (gcov_dump_handler): Likewise.
65 (gcov_allocate_handler): Likewise.
66 (dump_unsigned): Likewise.
67 (dump_counter): Likewise.
68 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
69 Use dump_unsigned() and dump_counter().
70 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
71 dump_unsigned(), dump_counter(), and are_all_counters_zero().
72 (__gcov_info_to_gcda): New.
73
74 2021-08-05 Jakub Jelinek <jakub@redhat.com>
75
76 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
77 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
78 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
79 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
80
81 2021-08-04 Jakub Jelinek <jakub@redhat.com>
82
83 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
84
85 2021-07-15 Alan Modra <amodra@gmail.com>
86
87 * config/rs6000/morestack.S (R2_SAVE): Define.
88 (__morestack): Save and restore r2. Set up r2 for called
89 functions.
90
91 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
92
93 * soft-fp/extendhfxf2.c: New file.
94 * soft-fp/truncxfhf2.c: Likewise.
95
96 2021-06-29 Julian Brown <julian@codesourcery.com>
97
98 * config/gcn/lib2-bswapti2.c: New file.
99 * config/gcn/lib2-divmod-di.c: New file.
100 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
101 typedefs.
102 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
103 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
104 lib2-bswapti2.c.
105
106 2021-06-29 Julian Brown <julian@codesourcery.com>
107
108 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
109 return types to USItype.
110 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
111
112 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
113
114 * configure: Regenerate.
115 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
116 typos among the name, CFLAGS and the test.
117 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
118 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
119 Remove.
120 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
121 macro FLOAT128_HW_INSNS_ISA3_1.
122 (FP128_3_1_CFLAGS_HW): Fix option typo.
123 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
124 FLOAT128_HW_INSNS_ISA3_1.
125 (__floattikf_resolve): Likewise.
126 (__floatuntikf_resolve): Likewise.
127 (__fixkfti_resolve): Likewise.
128 (__fixunskfti_resolve): Likewise.
129 (__floattikf): Likewise.
130 (__floatuntikf): Likewise.
131 (__fixkfti): Likewise.
132 (__fixunskfti): Likewise.
133
134 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
135
136 PR target/99939
137 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
138 macro.
139 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
140 on passing -mcmse option.
141
142 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
143
144 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
145 _ARCH_PPC64 .
146
147 2021-06-09 Carl Love <cel@us.ibm.com>
148
149 * config.host: Add if test and set for
150 libgcc_cv_powerpc_3_1_float128_hw.
151 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
152 Change calls of __fixkfti to __fixkfti_sw.
153 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
154 Change calls of __fixunskfti to __fixunskfti_sw.
155 * config/rs6000/float128-p10.c (__floattikf_hw,
156 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
157 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
158 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
159 __fixunskfti_resolve): Add resolve functions.
160 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
161 * config/rs6000/float128-sed (floattitf, __floatuntitf,
162 __fixtfti, __fixunstfti): Add editor commands to change names.
163 * config/rs6000/float128-sed-hw (__floattitf,
164 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
165 change names.
166 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
167 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
168 * config/rs6000/quad-float128.h (__floattikf_sw,
169 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
170 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
171 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
172 * config/rs6000/t-float128 (floattikf, floatuntikf,
173 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
174 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
175 file names to fp128_ppc_funcs.
176 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
177 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
178 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
179 * config/rs6000/t-float128-p10-hw: New file.
180 * configure: Update script for isa 3.1 128-bit float support.
181 * configure.ac: Add check for 128-bit float hardware support.
182 * config/rs6000/fixkfti-sw.c: New file.
183 * config/rs6000/fixunskfti-sw.c: New file.
184 * config/rs6000/floattikf-sw.c: New file.
185 * config/rs6000/floatuntikf-sw.c: New file.
186
187 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
188
189 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
190
191 2021-05-13 Martin Liska <mliska@suse.cz>
192
193 * libgcov-driver.c: Fix GNU coding style.
194
195 2021-05-10 Martin Liska <mliska@suse.cz>
196
197 * libgcov-driver.c (gcov_version): Use different name that does
198 not clash with newly introduced macro.
199
200 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
201
202 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
203 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
204 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
205
206 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
207
208 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
209 Define.
210 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
211 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
212 Define.
213 (__divkc3): Improve complex divide.
214
215 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
216
217 PR target/98952
218 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
219 trampoline size comparison in 32-bit by reversing test and
220 combining load immediate with compare.
221 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
222 in 32-bit by reversing test and combining load immediate with
223 compare.
224
225 2021-04-05 Florian Weimer <fweimer@redhat.com>
226 Michael Meissner <meissner@linux.ibm.com>
227
228 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
229 point functions for $(decimal_float) only.
230
231 2021-04-03 Jakub Jelinek <jakub@redhat.com>
232
233 PR target/97653
234 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
235 $(objext) instead of $(object). Use _floatunditf instead of
236 _floatunsditf. Add tf <-> ti conversion objects.
237 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
238
239 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
240
241 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
242 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
243 (fp128_decstr_objs): Delete.
244 * dfp-bit.h: Call __sprintfieee128 to do conversions from
245 _Float128 to a Decimal type. Call __strtoieee128 to do
246 conversions from a Decimal type to _Float128.
247 * config/rs6000/_sprintfkf.c: Delete file.
248 * config/rs6000/_sprintfkf.h: Delete file.
249 * config/rs6000/_strtokf.c: Delete file.
250 * config/rs6000/_strtokf.h: Delete file.
251
252 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
253
254 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
255 to __BYTE_ORDER__.
256
257 2021-03-06 Jakub Jelinek <jakub@redhat.com>
258
259 PR gcov-profile/99406
260 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
261 defined, define these macros if not defined already.
262
263 2021-03-04 Martin Liska <mliska@suse.cz>
264
265 PR gcov-profile/99105
266 * libgcov-driver.c (write_top_counters): Rename to ...
267 (write_topn_counters): ... this.
268 (write_one_data): Pre-allocate buffer for number of items
269 in the corresponding linked lists.
270 * libgcov.h (malloc_mmap): New function.
271 (allocate_gcov_kvp): Use it.
272
273 2021-03-04 Martin Liska <mliska@suse.cz>
274
275 PR gcov-profile/99385
276 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
277
278 2021-03-03 Martin Liska <mliska@suse.cz>
279
280 PR gcov-profile/97461
281 * config.in: Regenerate.
282 * configure: Likewise.
283 * configure.ac: Check sys/mman.h header file
284 * libgcov-driver.c (struct gcov_kvp): Remove static
285 pre-allocated pool and use a dynamic one.
286 * libgcov.h (MMAP_CHUNK_SIZE): New.
287 (gcov_counter_add): Use mmap to allocate pool for struct
288 gcov_kvp.
289
290 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
291
292 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
293 the function.
294 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
295
296 2021-02-24 Jakub Jelinek <jakub@redhat.com>
297
298 PR libgcc/99236
299 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
300 negation of m in unsigned type.
301
302 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
303 Hau Hsu <hsuhau617@gmail.com>
304
305 PR target/99157
306 * config/arm/t-arm: Fix cmse support detection.
307
308 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
309
310 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
311
312 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
313
314 * config/rs6000/_dd_to_kf.c: New file.
315 * config/rs6000/_kf_to_dd.c: New file.
316 * config/rs6000/_kf_to_sd.c: New file.
317 * config/rs6000/_kf_to_td.c: New file.
318 * config/rs6000/_sd_to_kf.c: New file.
319 * config/rs6000/_sprintfkf.c: New file.
320 * config/rs6000/_sprintfkf.h: New file.
321 * config/rs6000/_strtokf.h: New file.
322 * config/rs6000/_strtokf.c: New file.
323 * config/rs6000/_td_to_kf.c: New file.
324 * config/rs6000/quad-float128.h: Add new declarations.
325 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
326 (fp128_decstr_funcs): New macro.
327 (ibm128_dec_funcs): New macro.
328 (fp128_ppc_funcs): Add the new conversions.
329 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
330 compiled with -mabi=ieeelongdouble.
331 (fp128_decstr_objs): Force __float128 <-> string conversions to be
332 compiled with -mabi=ibmlongdouble.
333 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
334 compiled with -mabi=ieeelongdouble.
335 (FP128_CFLAGS_DECIMAL): New macro.
336 (IBM128_CFLAGS_DECIMAL): New macro.
337 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
338 (BFP_TO_DFP): Add PowerPC _Float128 support.
339 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
340 IEEE 128-bit floating point.
341 (DFP_TO_BFP): Add PowerPC _Float128 support.
342 (BFP_TO_DFP): Add PowerPC _Float128 support.
343 (BFP_SPRINTF): New macro.
344
345 2021-01-27 Jakub Jelinek <jakub@redhat.com>
346
347 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
348 * config/i386/savms64f.h: Likewise.
349 * config/i386/resms64.h: Likewise.
350 * config/i386/resms64f.h: Likewise.
351 * config/i386/resms64x.h: Likewise.
352 * config/i386/resms64fx.h: Likewise.
353
354 2021-01-26 Martin Liska <mliska@suse.cz>
355
356 PR gcov-profile/98739
357 * libgcov.h (gcov_topn_add_value): Do not train when
358 we have a merged profile with a negative number of total
359 value.
360
361 2021-01-25 Martin Liska <mliska@suse.cz>
362
363 PR gcov-profile/98739
364 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
365 ends with a dropped counter.
366 * libgcov.h (gcov_topn_add_value): Add return value.
367
368 2021-01-13 Stafford Horne <shorne@gmail.com>
369
370 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
371 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
372 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
373 FP_EX_ALL): New constant macros.
374 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
375 FP_HANDLE_EXCEPTIONS): New macros.
376 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
377
378 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
379
380 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
381 posix siginfo case to struct handler_args. Detect between legacy
382 and siginfo from the second parameter, which is a small sigcode in
383 the legacy case, and a pointer in the siginfo case.
384
385 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
386
387 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
388 functions.
389 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
390 _bswapdi2.
391
392 2020-12-08 Ian Lance Taylor <iant@golang.org>
393
394 * generic-morestack-thread.c (free_segments): Block signals during
395 thread exit.
396
397 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
398
399 PR libgcc/97543
400 PR libgcc/97643
401 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
402 (IBM128_SHARED_OBJS): New make variable.
403 (IBM128_OBJS): New make variable. Set all objects to use the
404 explicit IBM format, and disable gnu attributes.
405 (IBM128_CFLAGS): New make variable.
406 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
407 modules.
408
409 2020-12-03 Alexandre Oliva <oliva@adacore.com>
410
411 * config/t-vxworks (LIB2ADD): Drop.
412 * config/t-vxworks7 (LIB2ADD): Likewise.
413 * config/vxcache.c: Remove.
414
415 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
416
417 * libgcc2.c (bswapsi2): Make constants unsigned.
418
419 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
420
421 * libgcc2.c (absvSI2): Simplify/improve implementation by using
422 builtin_add_overflow.
423 (absvsi2, absvDI2): Likewise.
424
425 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
426
427 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
428 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
429
430 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
431
432 * config/msp430/lib2hw_mul.S (mult64_hw): New.
433 (if MUL_32): Use mult64_hw for __muldi3.
434 (if MUL_F5): Use mult64_hw for __muldi3.
435 * config/msp430/lib2mul.c (__muldi3): New.
436 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
437
438 2020-11-17 Alan Modra <amodra@gmail.com>
439
440 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
441 (LIB2_SIDITI_CONV_FUNCS): Define.
442 * config/rs6000/ppc64-fp.c: Delete file.
443
444 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
445
446 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
447 hwmult library functions.
448
449 2020-11-10 Jeff Law <law@redhat.com>
450
451 * libgcc2.c: Fix whitespace issues in most recent change.
452
453 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
454
455 * libgcc2.c (__addvSI3): Use overflow builtins.
456 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
457 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
458 (__negvsi2, __negvDI2): Likewise.
459 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
460 generated code.
461 * libgcc2.h (__ucmpdi2): Adjust prototype.
462
463 2020-11-03 Pat Bernardi <bernardi@adacore.com>
464 Olivier Hainque <hainque@adacore.com>
465
466 * config.host (aarch64-vxworks7*, tmake_file): Add
467 ${cpu_type}/t-lse and t-slibgcc-libgcc.
468
469 2020-11-03 Martin Storsjö <martin@martin.st>
470
471 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
472 before calling the callback.
473
474 2020-10-30 Olivier Hainque <hainque@adacore.com>
475 Douglas Rupp <rupp@adacore.com>
476 Pat Bernardi <bernardi@adacore.com>
477
478 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
479 to apply to VxWorks 7 as well.
480
481 2020-10-29 Olivier Hainque <hainque@adacore.com>
482
483 * config/gthr-vxworks-tls.c: Fix preprocessor logic
484 controlling the definition of VX_ENTER_TLS_DTOR and
485 VX_LEAVE_TLS_DTOR based on a version major check.
486
487 2020-10-29 Olivier Hainque <hainque@adacore.com>
488
489 * config/gthr-vxworks-thread.c: Fix name of macro used
490 to condition the inclusion of an actual implementation.
491
492 2020-10-27 Martin Liska <mliska@suse.cz>
493
494 PR gcov-profile/97461
495 * libgcov.h (gcov_counter_add): Use first static counters
496 as it should help to have malloc wrappers set up.
497
498 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
499
500 * config/gthr-vxworks-thread.c: #include gthr.h before
501 testing the guard defined there.
502 * config/gthr-vxworks-cond.c: Likewise.
503
504 2020-10-21 Douglas Rupp <rupp@adacore.com>
505 Olivier Hainque <hainque@adacore.com>
506
507 * config.host (powerpc*-wrs-vxworks7*): New case.
508 * configure.ac: Handle powerpc*-*-vxworks7* as
509 powerpc*-*-linux* for ppc-fp_type.
510 * configure: Regenerate.
511
512 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
513
514 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
515 section on VxWorks >= 6.
516 * config/gthr-vxworks-thread.c: Condition the entire
517 implementation on __GTHREAD_CXX0X.
518
519 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
520
521 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
522 section on VxWorks >= 6.
523 * config/gthr-vxworks-cond.c: Condition the entire
524 implementation on __GTHREAD_HAS_COND.
525
526 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
527
528 * config/gthr-vxworks.c: #include <taskLib.h>.
529
530 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
531
532 * config/gthr-vxworks.h: Rewrite remaining occurrence
533 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
534
535 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
536 Olivier Hainque <hainque@adacore.com>
537
538 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
539 except on VxWorks 6.
540
541 2020-10-16 Olivier Hainque <hainque@adacore.com>
542
543 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
544
545 2020-10-14 Alexandre Oliva <oliva@adacore.com>
546
547 * config/gthr-vxworks-thread.c: Include stdlib.h.
548 (tls_delete_hook): Prototype it.
549 (__gthread_cond_signal): Return early if no waiters. Consume
550 signal in case the semaphore got full. Use semInfoGet instead
551 of kernel-mode-only semInfo.
552 (__gthread_cond_timedwait): Use semExchange. Always take the
553 mutex again before returning.
554 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
555
556 2020-10-14 Olivier Hainque <hainque@adacore.com>
557
558 * config/t-vxworks (LIBGCC2_INCLUDES): Append
559 $(MULTISUBDIR) to the -I path for fixed headers, as we
560 arrange to have different sets of such headers for different
561 multilibs when they are activated.
562 * config/t-vxworks7: Likewise.
563
564 2020-10-14 Olivier Hainque <hainque@adacore.com>
565
566 * config/t-vxworks: Add include-fixed to include search
567 paths for libgcc on VxWorks.
568 * config/t-vxworks7: Likewise.
569
570 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
571
572 PR target/97148
573 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
574 instead of <cetintrin.h>.
575
576 2020-10-01 Alan Modra <amodra@gmail.com>
577
578 * config/rs6000/morestack.S,
579 * config/rs6000/tramp.S: Support __PCREL__ code.
580
581 2020-10-01 Alan Modra <amodra@gmail.com>
582
583 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
584
585 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
586
587 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
588 variable.
589
590 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
591
592 * config/aarch64/libgcc-softfp.ver: New file.
593 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
594
595 2020-09-27 Clement Chigot <clement.chigot@atos.net>
596
597 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
598
599 2020-09-22 Sergei Trofimovich <siarheit@google.com>
600
601 PR gcov-profile/96913
602 * libgcov-driver.c (write_one_data): Avoid function pointer
603 comparison in TOP streaming decision.
604
605 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
606 Christophe Lyon <christophe.lyon@linaro.org>
607
608 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
609 qualifier.
610 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
611 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
612 missing prototypes.
613
614 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
615
616 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
617 unused variable warning.
618
619 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
620
621 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
622
623 2020-09-09 Tom de Vries <tdevries@suse.de>
624
625 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
626 Wbuiltin-declaration-mismatch.
627
628 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
629
630 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
631 * config/msp430/srai.S (__gnu_mspabi_srap): New.
632 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
633
634 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
635
636 * config/nvptx/atomic.c: New.
637 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
638
639 2020-08-03 Ian Lance Taylor <iant@golang.org>
640
641 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
642
643 2020-08-03 Jakub Jelinek <jakub@redhat.com>
644
645 PR target/96402
646 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
647 of x(tmp0), x(tmp1) in STXP arguments.
648
649 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
650
651 * config/riscv/save-restore.S [__riscv_xlen == 64]
652 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
653 (__riscv_save_2): Replace negative immediates used for the final
654 stack pointer adjustment with positive ones, right-shifted by 4.
655
656 2020-07-31 Martin Liska <mliska@suse.cz>
657
658 * libgcov-driver.c: Add __gcov_kvp_pool
659 and __gcov_kvp_pool_index variables.
660 * libgcov.h (allocate_gcov_kvp): New.
661 (gcov_topn_add_value): Use it.
662
663 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
664
665 * config/aarch64/lse.S: Add PAC property note.
666
667 2020-07-23 Martin Liska <mliska@suse.cz>
668
669 PR gcov-profile/96035
670 * libgcov-driver-system.c: Create gcov folders with 0777
671 so that it respects a system umask.
672
673 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
674
675 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
676
677 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
678
679 PR target/94891
680 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
681 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
682 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
683 (MD_DEMANGLE_RETURN_ADDR): This.
684 (aarch64_post_extract_frame_addr): Rename to ...
685 (aarch64_demangle_return_addr): This.
686 (aarch64_post_frob_eh_handler_addr): Remove.
687 * unwind-dw2.c (uw_update_context): Demangle return address.
688 (uw_frob_return_addr): Remove.
689
690 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
691
692 PR target/96001
693 * config/aarch64/lse.S: Add BTI marking and related definitions,
694 and add BTI c to function entries.
695
696 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
697
698 * config/aarch64/lse.S: Add stack note.
699
700 2020-07-02 Martin Liska <mliska@suse.cz>
701
702 PR gcov-profile/95348
703 * libgcov-driver.c (merge_one_data): Merge only profiles
704 that are not of non-zero type.
705 (write_one_data): Write counters only if there's one non-zero
706 value.
707 * libgcov-util.c (tag_function): Change signature from unsigned
708 to int.
709 (tag_blocks): Likewise.
710 (tag_arcs): Likewise.
711 (tag_counters): Likewise.
712 (tag_summary): Likewise.
713 (tag_lines): Read only if COUNTERS is non-zero.
714 (read_gcda_file): Handle negative length for COUNTERS type.
715
716 2020-06-25 Martin Liska <mliska@suse.cz>
717
718 * libgcov-driver.c (merge_summary): Remove function as its name
719 is misleading and doing something different.
720 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
721 in gcov-tool.
722 * libgcov-util.c (curr_object_summary): Remove.
723 (read_gcda_file): Remove unused curr_object_summary.
724 (gcov_merge): Merge summaries.
725 * libgcov.h: Add summary argument for gcov_info struct.
726
727 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
728
729 PR target/95259
730 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
731 "common/config/i386/i386-cpuinfo.h" and
732 "common/config/i386/cpuinfo.h".
733 (__cpu_features2): Changed to array.
734 (get_amd_cpu): Removed.
735 (get_intel_cpu): Likewise.
736 (get_available_features): Likewise.
737 (__cpu_indicator_init): Call cpu_indicator_init.
738 * config/i386/cpuinfo.h: Removed.
739
740 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
741
742 * Makefile.in: Remove uses of empty.mk. Use -include.
743 * config/avr/t-avr: Use -include.
744 * empty.mk: Delete.
745
746 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
747
748 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
749 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
750 and 64 bit with -maix64.
751 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
752 Build and install AIX-style FAT libraries.
753
754 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
755
756 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
757 'i386/gnu-unwind.h'
758 * config/i386/gnu-unwind.h: New file.
759
760 2020-06-17 Martin Liska <mliska@suse.cz>
761
762 * libgcov-util.c (read_gcda_finalize): Remove const operator.
763 (merge_wrapper): Add both counts and use them properly.
764 (topn_to_memory_representation): New function.
765 (gcov_merge): Covert on disk representation to in memory
766 representation.
767 * libgcov.h: Remove const operator.
768
769 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
770
771 * configure: Regenerate.
772 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
773 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
774
775 2020-06-09 Martin Liska <mliska@suse.cz>
776
777 PR gcov-profile/95494
778 * libgcov-driver.c (write_top_counters): Cast first to
779 intptr_t as sizeof(*) != sizeof(gcov_type).
780 * libgcov.h (gcov_counter_set_if_null): Remove.
781 (gcov_topn_add_value): Cast first to intptr_t and update
782 linked list directly.
783
784 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
785
786 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
787 with uw_install_context_1.
788
789 2020-06-04 Andreas Schwab <schwab@suse.de>
790
791 PR target/59230
792 PR libfortran/59227
793 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
794 soft-fp/divtf3.c.
795 (LIB2ADD): Add config/ia64/divtf3.c.
796 * config/ia64/divtf3.c: New file.
797
798 2020-06-03 Martin Liska <mliska@suse.cz>
799
800 PR gcov-profile/95480
801 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
802 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
803 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
804 (gcov_counter_set_if_null): Likewise.
805
806 2020-06-02 Jim Wilson <jimw@sifive.com>
807
808 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
809 to bgtz.
810
811 2020-06-02 Martin Liska <mliska@suse.cz>
812
813 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
814 of xmalloc.
815
816 2020-06-02 Martin Liska <mliska@suse.cz>
817
818 * libgcov-driver.c (prune_topn_counter): Remove.
819 (prune_counters): Likewise.
820 (merge_one_data): Special case TOP N counters
821 as they have variable length.
822 (write_top_counters): New.
823 (write_one_data): Special case TOP N.
824 (dump_one_gcov): Do not prune TOP N counters.
825 * libgcov-merge.c (merge_topn_values_set): Remove.
826 (__gcov_merge_topn): Use gcov_topn_add_value.
827 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
828 Likewise here.
829 * libgcov.h (gcov_counter_add): New.
830 (gcov_counter_set_if_null): Likewise.
831 (gcov_topn_add_value): New.
832
833 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
834
835 * config/i386/sfp-exceptions.c (struct fenv):
836 Add __attribute__ ((gcc_struct)).
837
838 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
839
840 PR bootstrap/95413
841 * configure: Regenerated.
842
843 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
844
845 PR gcov-profile/95332
846 * libgcov-util.c (read_gcda_file): Call gcov_magic.
847 * libgcov.h (gcov_magic): Disable GCC poison.
848
849 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
850
851 PR target/95212
852 * config/i386/cpuinfo.h (processor_features): Move
853 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
854
855 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
856
857 PR target/91695
858 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
859 check.
860
861 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
862
863 PR target/95212
864 PR target/95220
865 * config/i386/cpuinfo.c (get_available_features): Fix
866 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
867 * config/i386/cpuinfo.h (processor_features): Add
868 FEATURE_AVX512VP2INTERSECT.
869
870 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
871
872 PR bootstrap/95147
873 * configure: Regenerated.
874
875 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
876
877 * configure: Regenerated.
878
879 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
880
881 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
882 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
883
884 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
885
886 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
887 (__math_force_eval_div): New define.
888 (__sfp_handle_exceptions): Use __math_force_eval_div to use
889 generic division to generate INVALID, DIVZERO and INEXACT
890 exceptions.
891
892 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
893
894 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
895 instead of getauxval.
896 (AT_HWCAP): Define.
897 (HWCAP_ATOMICS): Define.
898 Guard detection on __gnu_linux__.
899
900 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
901
902 * config.host: Delete changes meant for a private branch.
903 * config/rs6000/t-float128: Likewise.
904 * configure.ac: Likewise.
905 * configure: Likewise.
906
907 2020-05-05 Martin Liska <mliska@suse.cz>
908
909 PR gcov-profile/93623
910 * Makefile.in: Remove __gcov_flush.
911 * gcov.h (__gcov_flush): Remove.
912 * libgcov-interface.c (__gcov_flush): Remove.
913 (init_mx): Use renamed mutex.
914 (__gcov_lock): Likewise.
915 (__gcov_unlock): Likewise.
916 (__gcov_fork): Likewise.
917 (__gcov_flush): Remove.
918
919 2020-05-05 Martin Liska <mliska@suse.cz>
920
921 PR gcov-profile/93623
922 * libgcov-interface.c (__gcov_fork): Do not flush
923 and reset only in child process.
924 (__gcov_execl): Dump counters only and reset them
925 only if exec* fails.
926 (__gcov_execlp): Likewise.
927 (__gcov_execle): Likewise.
928 (__gcov_execv): Likewise.
929 (__gcov_execvp): Likewise.
930 (__gcov_execve): Likewise.
931
932 2020-05-05 Martin Liska <mliska@suse.cz>
933
934 PR gcov-profile/93623
935 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
936 * libgcov-interface.c (ALIAS_void_fn): Remove.
937 (__gcov_lock): New.
938 (__gcov_unlock): New.
939 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
940 (__gcov_reset): Likewise.
941 (__gcov_dump): Likewise.
942 * libgcov.h (__gcov_lock): New declaration.
943 (__gcov_unlock): Likewise.
944
945 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
946
947 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
948 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
949 generic division to generate INVALID and DIVZERO exceptions.
950
951 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
952
953 * config/rs6000/crtresfpr.S: Use .machine ppc.
954 * config/rs6000/crtresxfpr.S: Likewise.
955 * config/rs6000/crtsavfpr.S: Likewise.
956
957 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
958
959 PR target/94514
960 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
961 Update context->flags accroding to the frame state.
962
963 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
964
965 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
966 Remove unneeded assignments to volatile memory.
967
968 2020-04-15 Jakub Jelinek <jakub@redhat.com>
969
970 PR target/93053
971 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
972 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
973 is not defined, use just .arch armv8-a.
974 (B, M, N, OPN): Define.
975 (COMMENT): New .macro.
976 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
977 defined. Otherwise, move the operands right after the glue? and
978 comment out operands where the macros are used.
979 * configure: Regenerated.
980 * config.in: Regenerated.
981
982 2020-04-07 Ian Lance Taylor <iant@golang.org>
983
984 PR libgcc/94513
985 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
986 syscall instead.
987
988 2020-04-04 Ian Lance Taylor <iant@golang.org>
989
990 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
991
992 2020-04-03 Ian Lance Taylor <iant@golang.org>
993
994 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
995 than mmap/munmap, to avoid hooks.
996
997 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
998
999 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1000 (TPFRA_OFFSET): Macros removed.
1001 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1002 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1003 (PG3_SKIPPING_OFFSET): New macros.
1004 (__isPATrange): Use cinfc_fast for the check.
1005 (__isSkipResetAddr): New function.
1006 (s390_fallback_frame_state): Check for skip trace addresses. Use
1007 either ICST_CRET or ICST_SRET to calculate return address
1008 location.
1009 (__tpf_eh_return): Handle skip trace addresses.
1010
1011 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
1012
1013 PR target/94220
1014 * config/arm/lib1funcs.asm (COND): Use a single definition for
1015 unified syntax.
1016 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1017 (aeabi_idivmod): Likewise.
1018 (divsi3_skip_div0_test): Likewise.
1019
1020 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1021
1022 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1023
1024 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1025
1026 * config.host: Include the new makefile fragment.
1027 * config/s390/t-tpf: New file.
1028
1029 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
1030
1031 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1032 syntax.
1033 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1034 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1035 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1036 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1037 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1038 syntax.
1039 (divsi3, modsi3): Likewise.
1040 (clzdi2, ctzsi2): Likewise.
1041 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1042 unified syntax.
1043 (UNWIND_WRAPPER): Likewise.
1044
1045 2020-03-02 Martin Liska <mliska@suse.cz>
1046
1047 * libgcov-interface.c: Remove duplicate
1048 declaration of __gcov_flush_mx.
1049
1050 2020-02-18 Martin Liska <mliska@suse.cz>
1051
1052 PR ipa/92924
1053 * libgcov-merge.c (merge_topn_values_set): Record
1054 when a TOP N counter becomes invalid. When merging
1055 remove a smallest value if the space is needed.
1056
1057 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1058
1059 PR libstdc++/79193
1060 PR libstdc++/88999
1061
1062 * configure: Regenerated.
1063
1064 2020-02-10 Jeff Law <law@redhat.com>
1065
1066 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1067 sections.
1068 * config/frv/frvend.c: Similarly.
1069
1070 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1071
1072 PR libgcc/85334
1073 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1074 New.
1075
1076 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1077
1078 PR target/93615
1079 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1080 _Unwind_gnu_Find_got.
1081 * unwind-pe.h: Likewise.
1082
1083 2020-02-07 Jakub Jelinek <jakub@redhat.com>
1084
1085 PR target/93615
1086 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1087 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1088 trailing :s in asm. Formatting fixes.
1089 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1090
1091 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1092
1093 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1094
1095 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1096 * config/nios2-elf-lib.h: New.
1097 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1098 code for finding GOT base for nios2.
1099
1100 2020-01-27 Martin Liska <mliska@suse.cz>
1101
1102 PR gcov-profile/93403
1103 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1104 Call __gcov_indirect_call_profiler_body.
1105 (__gcov_indirect_call_profiler_body): New.
1106 (__gcov_indirect_call_profiler_v4_atomic): New.
1107 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1108 New declaration.
1109
1110 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1111
1112 * config/arc/crti.S: Add RF16 object attribute.
1113 * config/arc/crtn.S: Likewise.
1114 * config/arc/crttls.S: Likewise.
1115 * config/arc/lib1funcs.S: Likewise.
1116 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1117 * config/arc/lib2funcs.c: New file.
1118 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1119
1120 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
1121
1122 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1123 * configure.ac: Handle `--with-toolexeclibdir='.
1124 * configure: Regenerate.
1125
1126 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1127
1128 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1129
1130 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1131
1132 * config/mips/gnustack.h: New file.
1133 * config/mips/crti.S: Include gnustack.h.
1134 * config/mips/crtn.S: Likewise.
1135 * config/mips/mips16.S: Likewise.
1136 * config/mips/vr4120-div.S: Likewise.
1137
1138 2020-01-23 Martin Liska <mliska@suse.cz>
1139
1140 * libgcov-driver.c (prune_topn_counter): Remove
1141 check for -1 as we only prune run-time counters
1142 that do not generate an invalid state.
1143
1144 2020-01-22 Martin Liska <mliska@suse.cz>
1145
1146 PR tree-optimization/92924
1147 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1148 try to find an existing value, then find an empty slot
1149 if not found.
1150
1151 2020-01-22 Martin Liska <mliska@suse.cz>
1152
1153 PR tree-optimization/92924
1154 * libgcov-driver.c (prune_topn_counter): New.
1155 (prune_counters): Likewise.
1156 (dump_one_gcov): Prune a run-time counter.
1157 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1158 For a known value, add GCOV_TOPN_VALUES to value.
1159 Otherwise, decrement all counters by one.
1160
1161 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
1162
1163 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1164
1165 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
1166
1167 PR libgcc/92988
1168 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1169 DEFAULT_USE_CXA_ATEXIT is true.
1170
1171 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
1172 Thomas Preud'homme <thomas.preudhomme@arm.com>
1173
1174 * config/arm/t-arm: Check return value of gcc rather than lack of
1175 output.
1176
1177 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
1178
1179 * config/avr/lib1funcs.S (skip): Simplify.
1180
1181 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1182
1183 * config/gcn/atomic.c: Remove include of stdint.h.
1184 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1185 __UINTPTR_TYPE__.
1186
1187 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1188
1189 * config/gcn/atomic.c: New.
1190 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1191
1192 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
1193
1194 Implement 64-bit double functions.
1195
1196 PR target/92055
1197 * config.host (tmake_file) [target=avr]: Add t-libf7,
1198 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1199 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1200 depending on sizeof (double) or sizeof (long double).
1201 * config/avr/libf7: New folder.
1202
1203 2020-01-05 Olivier Hainque <hainque@adacore.com>
1204
1205 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1206 by IN_LIBGCC2.
1207
1208 2020-01-01 Jakub Jelinek <jakub@redhat.com>
1209
1210 Update copyright years.
1211
1212 2019-12-30 Olivier Hainque <hainque@adacore.com>
1213
1214 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1215 * config/gthr-vxworks-tls.c: Likewise.
1216
1217 2019-12-30 Olivier Hainque <hainque@adacore.com>
1218
1219 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1220 standard zero-initializer syntax.
1221
1222 2019-12-30 Olivier Hainque <hainque@adacore.com>
1223
1224 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1225 reference to the internal VX_GET_TLS_DATA interface.
1226
1227 2019-12-30 Olivier Hainque <hainque@adacore.com>
1228
1229 * config/vxcrtstuff.c: Fix incorrect spelling of
1230 USE_INITFINI_ARRAY in guard.
1231
1232 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1233
1234 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1235 Override default "extra_parts" variable.
1236 * configure: Regenerate.
1237 * configure.ac: Disable TM clone registry by default for
1238 msp430-elfbare.
1239
1240 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1241
1242 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1243 "extra_parts".
1244 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1245
1246 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1247
1248 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1249 true.
1250
1251 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1252
1253 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1254 defined instead of its value.
1255
1256 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1257
1258 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1259 if it will have contents.
1260
1261 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
1262
1263 PR target/92055
1264 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1265
1266 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1267
1268 PR libgcc/91737
1269 * config.host: Add t-gthr-noweak on *-*-musl*.
1270 * config/t-gthr-noweak: New file.
1271
1272 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
1273
1274 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1275 volatile void *. Remove trap check.
1276 (__kernel_cmpxchg2): Likewise.
1277 (FETCH_AND_OP_2): Adjust operand types.
1278 (OP_AND_FETCH_2): Likewise.
1279 (FETCH_AND_OP_WORD): Likewise.
1280 (OP_AND_FETCH_WORD): Likewise.
1281 (COMPARE_AND_SWAP_2): Likewise.
1282 (__sync_val_compare_and_swap_4): Likewise.
1283 (__sync_bool_compare_and_swap_4): Likewise.
1284 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1285 (__sync_lock_test_and_set_4): Likewise.
1286 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1287 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1288 for release.
1289 (__sync_lock_release_8): Remove.
1290
1291 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1292
1293 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1294 of __sigset_t.
1295
1296 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
1297 Doug Rupp <rupp@adacore.com>
1298 Olivier Hainque <hainque@adacore.com>
1299
1300 * config.host: Collapse the arm-vxworks entries into
1301 a single arm-wrs-vxworks7* one.
1302 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1303 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1304 kernel modules, to be overriden by libstdc++ when we link with
1305 it. Rely on externally provided __exidx_start/end.
1306
1307 2019-11-14 Doug Rupp <rupp@adacore.com>
1308 Olivier Hainque <hainque@adacore.com>
1309
1310 * config.host: Handle aarch64*-wrs-vxworks7*.
1311
1312 2019-11-12 Olivier Hainque <hainque@adacore.com>
1313
1314 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1315 sources except the cxx0x support to LIB2ADDEH. We don't support
1316 cxx0x on AE/653.
1317 * config/t-vxworksae: New file.
1318 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1319 Makefile fragment files at their expected position in the tmake_file
1320 list, in accordance with what is done for other VxWorks variants.
1321
1322 2019-11-12 Corentin Gay <gay@adacore.com>
1323 Jerome Lambourg <lambourg@adacore.com>
1324 Olivier Hainque <hainque@adacore.com>
1325
1326 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1327 sources to LIB2ADDEH.
1328 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1329 * config/t-vxworks7: Likewise.
1330
1331 * config.host: Append a block at the end of the file to add the
1332 t-gthr files to the tmake_file list for VxWorks after everything
1333 else.
1334
1335 * config/vxlib.c: Rename as gthr-vxworks.c.
1336 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1337
1338 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1339 API and a basic error checking API, both internal. Simplify the
1340 __gthread_once_t type definition and initializers. Add sections
1341 for condition variables support and for the C++0x thread support,
1342 conditioned against Vx653 for the latter.
1343
1344 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1345 implementation, leveraging the TAS internal API.
1346 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1347 API, leveraging the general availability of TLS services in VxWorks7
1348 post SR6xxx.
1349 (__gthread_setspecific, __gthread_setspecific): Use it.
1350 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1351 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1352 support based on VxWorks primitives.
1353 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1354 based on VxWorks primitives.
1355
1356 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
1357 Olivier Hainque <hainque@adacore.com>
1358
1359 * config/vxcrtstuff.c: New file.
1360 * config/t-vxcrtstuff: New Makefile fragment.
1361 * config.host: Append t-vxcrtstuff to the tmake_file list
1362 on all VxWorks ports using dwarf for table based EH.
1363
1364 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
1365
1366 Support 64-bit double and 64-bit long double configurations.
1367
1368 PR target/92055
1369 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1370 long double is a 32-bit type.
1371 * config/avr/t-avrlibc: Copy double64 and long-double64
1372 multilib(s) from the vanilla one.
1373 * config/avr/t-copy-libgcc: New Makefile snip.
1374
1375 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1376
1377 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1378 the target output object format is not ELF.
1379 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1380
1381 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1382
1383 PR libgcc/78804
1384 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1385 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1386 FLOAT_BIT_ORDER_MISMATCH.
1387 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1388
1389 2019-11-01 Jim Wilson <jimw@sifive.com>
1390
1391 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1392
1393 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1394
1395 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1396 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1397 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1398 Define symbols for 32-bit and f5series hardware multiply
1399 register addresses.
1400 Replace hard-coded register addresses with symbols.
1401 Fix "_mspabi*" typo.
1402 Fix whitespace.
1403 * config/msp430/lib2mul.c: Add comment.
1404
1405 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
1406
1407 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1408 unsigned int. Adjust callers.
1409 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1410 unsigned int *. Load relocation offset before function pointer.
1411 Add barrier to ensure ordering.
1412
1413 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
1414
1415 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1416 Load PIC register after branch target. Fix white space.
1417 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1418 implementations. Load PIC register after branch target. Don't
1419 clobber function pointer when it points to function descriptor.
1420 Use nullification instead of branch in LINUX implementation.
1421
1422 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
1423
1424 * config/pa/fptr.c: Disable -Warray-bounds warning.
1425
1426 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1427
1428 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1429 not the ubuntu modified 2.69.
1430
1431 PR target/91833
1432 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1433 initialization if !HAVE_SYS_AUXV_H.
1434 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1435 * config.in, configure: Rebuild.
1436
1437 PR target/91834
1438 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1439 overlap the inputs.
1440
1441 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1442
1443 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1444 CTR_EL0.IDC and CTR_EL0.DIC.
1445
1446 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1447
1448 Revert:
1449 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1450 Mickaël Guêné <mickael.guene@st.com>
1451
1452 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1453 architecture.
1454
1455 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1456
1457 * config/aarch64/lse-init.c: New file.
1458 * config/aarch64/lse.S: New file.
1459 * config/aarch64/t-lse: New file.
1460 * config.host: Add t-lse to all aarch64 tuples.
1461
1462 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1463 Mickaël Guêné <mickael.guene@st.com>
1464
1465 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1466 architecture.
1467
1468 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1469 Mickaël Guêné <mickael.guene@st.com>
1470
1471 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1472 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1473 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1474 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1475 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1476 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1477 (__gnu_personality_sigframe_fdpic): New.
1478 (get_eit_entry): Add FDPIC signal frame support.
1479
1480 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1481 Mickaël Guêné <mickael.guene@st.com>
1482
1483 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1484 (__kernel_dmb): Likewise.
1485 (__fdpic_cmpxchg): New function.
1486 (__fdpic_dmb): New function.
1487 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1488 (gnu_Unwind_Find_got): New function.
1489 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1490 * unwind-arm-common.inc (UCB_PR_GOT): New.
1491 (funcdesc_t): New struct.
1492 (get_eit_entry): Add FDPIC support.
1493 (unwind_phase2): Likewise.
1494 (unwind_phase2_forced): Likewise.
1495 (__gnu_Unwind_RaiseException): Likewise.
1496 (__gnu_Unwind_Resume): Likewise.
1497 (__gnu_Unwind_Backtrace): Likewise.
1498 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1499
1500 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1501 Mickaël Guêné <mickael.guene@st.com>
1502
1503 * libgcc/crtstuff.c: Add support for FDPIC.
1504
1505 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1506
1507 * config.host: Handle *-*-uclinuxfdpiceabi.
1508
1509 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1510
1511 * config.host: Set cpu_type for bpf-*-* targets.
1512 * config/bpf/t-bpf: Likewise.
1513 * config/bpf/crtn.S: Likewise.
1514 * config/bpf/crti.S: New file.
1515
1516 2019-09-06 Jim Wilson <jimw@sifive.com>
1517
1518 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1519 (riscv*-*-freebsd*): Likewise.
1520
1521 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1522
1523 * config.host: Remove references to spu.
1524 * config/spu/: Remove directory.
1525
1526 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1527
1528 PR target/91306
1529 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1530 element type, instead of "sizeof" the element type.
1531 (__DTOR_LIST__): Likewise.
1532 (__TMC_LIST__): Likewise.
1533 (__do_global_dtors_aux_fini_array_entry): Likewise.
1534 (__frame_dummy_init_array_entry): Likewise.
1535 (__CTOR_END__): Likewise.
1536 (__DTOR_END__): Likweise.
1537 (__FRAME_END__): Likewise.
1538 (__TMC_END__): Likewise.
1539
1540 2019-08-20 Lili Cui <lilicui@intel.com>
1541
1542 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1543 INTEL_COREI7_COOPERLAKE.
1544
1545 2019-07-31 Matt Thomas <matt@3am-software.com>
1546 Nick Hudson <nick@nthcliff.demon.co.uk>
1547 Matthew Green <mrg@eterna.com.au>
1548 Maya Rashish <coypu@sdf.org>
1549
1550 * config.host (hppa*-*-netbsd*): New case.
1551 * config/pa/t-netbsd: New file.
1552
1553 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1554
1555 * config/arm/cmse.c (cmse_check_address_range): Add
1556 warn_unused_result attribute.
1557
1558 2019-07-22 Martin Liska <mliska@suse.cz>
1559
1560 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1561 * config/pa/t-stublib: Likewise.
1562
1563 2019-07-22 Stafford Horne <shorne@gmail.com>
1564
1565 PR target/90362
1566 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1567 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1568 instructions are not available on every processor. Change a
1569 l.bnf to l.bf to fix logic issue.
1570
1571 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1572
1573 * config.host: Remove reference to t-darwin8.
1574
1575 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1576
1577 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1578 list.
1579 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1580 mmacosx-version-min for crts to run across all system versions.
1581 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1582 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1583 system versions >= 10.4.
1584
1585 2019-07-03 Martin Liska <mliska@suse.cz>
1586
1587 * Makefile.in: Use topn_values instead of one_value names.
1588 * libgcov-merge.c (__gcov_merge_single): Move to ...
1589 (__gcov_merge_topn): ... this.
1590 (merge_single_value_set): Move to ...
1591 (merge_topn_values_set): ... this.
1592 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1593 ...
1594 (__gcov_topn_values_profiler_body): ... this.
1595 (__gcov_one_value_profiler_v2): Move to ...
1596 (__gcov_topn_values_profiler): ... this.
1597 (__gcov_one_value_profiler_v2_atomic): Move to ...
1598 (__gcov_topn_values_profiler_atomic): ... this.
1599 (__gcov_indirect_call_profiler_v4): Remove.
1600 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1601 (__gcov_topn_counter_op): ... this.
1602 * libgcov.h (L_gcov_merge_single): Remove.
1603 (L_gcov_merge_topn): New.
1604 (__gcov_merge_single): Remove.
1605 (__gcov_merge_topn): New.
1606 (__gcov_one_value_profiler_v2): Move to ..
1607 (__gcov_topn_values_profiler): ... this.
1608 (__gcov_one_value_profiler_v2_atomic): Move to ...
1609 (__gcov_topn_values_profiler_atomic): ... this.
1610
1611 2019-07-03 Martin Liska <mliska@suse.cz>
1612
1613 * libgcov-merge.c (merge_single_value_set): Support N values.
1614 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1615
1616 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1617
1618 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1619 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1620 * configure.ac: Add --disable-tm-clone-registry option.
1621 * configure: Regenerate.
1622
1623 2019-06-27 Martin Liska <mliska@suse.cz>
1624
1625 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1626 dead assignments.
1627 * libgcov-util.c: Likewise.
1628
1629 2019-06-27 Martin Liska <mliska@suse.cz>
1630
1631 * libgcov-util.c (gcov_profile_merge): Release allocated
1632 memory.
1633 (calculate_overlap): Likewise.
1634
1635 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1636
1637 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1638 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1639 Build objects for the out of line save/restore register functions
1640 so that they can be used for any supported Darwin version.
1641 * config/t-darwin: Default the build Darwin version to Darwin8
1642 (MacOS 10.4).
1643
1644 2019-06-25 Martin Liska <mliska@suse.cz>
1645
1646 * libgcov-driver-system.c (replace_filename_variables): Do not
1647 call strlen with NULL argument.
1648
1649 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1650
1651 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1652 * config/gcn/unwind-gcn.c: New file.
1653
1654 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1655 Andrew Stubbs <ams@codesourcery.com>
1656
1657 * configure: Regenerate.
1658 * config/gcn/gthr-gcn.h: New.
1659
1660 2019-06-18 Tom de Vries <tdevries@suse.de>
1661
1662 * config/nvptx/crt0.c (__main): Declare.
1663
1664 2019-06-17 Matthew Green <mrg@eterna.com.au>
1665 Maya Rashish <coypu@sdf.org>
1666
1667 * config.host (aarch64*-*-netbsd*): New case.
1668
1669 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1670
1671 * config/msp430/slli.S (__mspabi_sllll): New library function for
1672 performing a logical left shift of a 64-bit value.
1673 * config/msp430/srai.S (__mspabi_srall): New library function for
1674 performing a arithmetic right shift of a 64-bit value.
1675 * config/msp430/srll.S (__mspabi_srlll): New library function for
1676 performing a logical right shift of a 64-bit value.
1677
1678 2019-06-14 Matt Thomas <matt@3am-software.com>
1679 Matthew Green <mrg@eterna.com.au>
1680 Nick Hudson <skrll@netbsd.org>
1681 Maya Rashish <coypu@sdf.org>
1682
1683 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1684 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1685 functions to build.
1686 * config/arm/t-netbsd-eabi: New file.
1687
1688 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1689
1690 * config.host: Add PRU target.
1691 * config/pru/asri.c: New file.
1692 * config/pru/eqd.c: New file.
1693 * config/pru/eqf.c: New file.
1694 * config/pru/ged.c: New file.
1695 * config/pru/gef.c: New file.
1696 * config/pru/gtd.c: New file.
1697 * config/pru/gtf.c: New file.
1698 * config/pru/led.c: New file.
1699 * config/pru/lef.c: New file.
1700 * config/pru/lib2bitcountHI.c: New file.
1701 * config/pru/lib2divHI.c: New file.
1702 * config/pru/lib2divQI.c: New file.
1703 * config/pru/lib2divSI.c: New file.
1704 * config/pru/libgcc-eabi.ver: New file.
1705 * config/pru/ltd.c: New file.
1706 * config/pru/ltf.c: New file.
1707 * config/pru/mpyll.S: New file.
1708 * config/pru/pru-abi.h: New file.
1709 * config/pru/pru-asm.h: New file.
1710 * config/pru/pru-divmod.h: New file.
1711 * config/pru/sfp-machine.h: New file.
1712 * config/pru/t-pru: New file.
1713
1714 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1715
1716 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1717
1718 2019-06-10 Martin Liska <mliska@suse.cz>
1719
1720 PR bootstrap/90808
1721 * libgcov.h: Add ATTRIBUTE_UNUSED.
1722
1723 2019-06-10 Martin Liska <mliska@suse.cz>
1724
1725 * Makefile.in: Add __gcov_one_value_profiler_v2,
1726 __gcov_one_value_profiler_v2_atomic and
1727 __gcov_indirect_call_profiler_v4.
1728 * libgcov-merge.c (__gcov_merge_single): Change
1729 function signature.
1730 (merge_single_value_set): New.
1731 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1732 Update functionality.
1733 (__gcov_one_value_profiler): Remove.
1734 (__gcov_one_value_profiler_v2): ... this.
1735 (__gcov_one_value_profiler_atomic): Rename to ...
1736 (__gcov_one_value_profiler_v2_atomic): this.
1737 (__gcov_indirect_call_profiler_v3): Rename to ...
1738 (__gcov_indirect_call_profiler_v4): ... this.
1739 * libgcov.h (__gcov_one_value_profiler): Remove.
1740 (__gcov_one_value_profiler_atomic): Remove.
1741 (__gcov_one_value_profiler_v2_atomic): New.
1742 (__gcov_indirect_call_profiler_v3): Remove.
1743 (__gcov_one_value_profiler_v2): New.
1744 (__gcov_indirect_call_profiler_v4): New.
1745 (gcov_get_counter_ignore_scaling): New function.
1746
1747 2019-06-07 Martin Liska <mliska@suse.cz>
1748
1749 * Makefile.in: Remove usage of
1750 _gcov_merge_icall_topn.
1751 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1752 (gcov_sort_icall_topn_counter): Likewise.
1753 (gcov_sort_topn_counter_arrays): Likewise.
1754 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1755 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1756 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1757 Likewise.
1758 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1759 (struct indirect_call_tuple): Remove.
1760 (__gcov_indirect_call_topn_profiler): Remove.
1761 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1762 * libgcov.h (gcov_sort_n_vals): Remove.
1763 (L_gcov_merge_icall_topn): Likewise.
1764 (__gcov_merge_icall_topn): Likewise.
1765 (__gcov_indirect_call_topn_profiler): Likewise.
1766
1767 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1768
1769 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1770 altivec enabled.
1771
1772 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1773
1774 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1775 section.
1776 (__mspabi_slli): Likewise.
1777 (__mspabi_slll_n): Likewise.
1778 (__mspabi_slll): Likewise.
1779 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1780 (__mspabi_srai): Likewise.
1781 (__mspabi_sral_n): Likewise.
1782 (__mspabi_sral): Likewise.
1783 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1784 (__mspabi_srli): Likewise.
1785 (__mspabi_srll_n): Likewise.
1786 (__mspabi_srll): Likewise.
1787
1788 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1789
1790 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1791 Add appropriate tm_file clause as well.
1792 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1793
1794 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1795
1796 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1797 rather than .data/.bss so it can be accessed via gp-relative
1798 addressing.
1799
1800 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1801
1802 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1803 (CR2_REGNO): Rename to R_CR2.
1804 (XER_REGNO): Rename to R_XER.
1805 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1806 (VRSAVE_REGNO): Rename to R_VRSAVE.
1807 (VSCR_REGNO): R_VSCR.
1808
1809 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1810
1811 * config.host (rx-*-linux*): Add new case.
1812 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1813
1814 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1815
1816 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1817 function.
1818 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1819 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1820 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1821 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1822 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1823 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1824 string.
1825 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1826 string.
1827 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1828
1829 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1830
1831 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1832 Remove Solaris 9 and 10 support.
1833 (sparc_is_sighandler): Likewise.
1834
1835 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1836
1837 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1838
1839 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1840
1841 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1842 4_FP_W_TYPEs are used for IEEE quad precision.
1843 * soft-fp/extendhftf2.c: Likewise.
1844 * soft-fp/extendsftf2.c: Likewise.
1845 * soft-fp/extendxftf2.c: Likewise.
1846 * soft-fp/trunctfdf2.c: Likewise.
1847 * soft-fp/trunctfhf2.c: Likewise.
1848 * soft-fp/trunctfsf2.c: Likewise.
1849 * soft-fp/trunctfxf2.c: Likewise.
1850 * config/rs6000/ibm-ldouble.c: Likewise.
1851
1852 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1853
1854 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1855 *-*-solaris2*.
1856 * configure.ac: Likewise.
1857 * configure: Regenerate.
1858
1859 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1860 Solaris 10 and Solaris 11 < snv_125 handling.
1861
1862 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1863
1864 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1865
1866 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1867
1868 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1869 * config/i386/cpuinfo.h (enum processor_features): Add
1870 FEATURE_AVX512BF16.
1871
1872 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1873 Bernd Edlinger <bernd.edlinger@hotmail.de>
1874 Jakub Jelinek <jakub@redhat.com>
1875
1876 PR target/89093
1877 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1878 * config/arm/unwind-arm.c: Likewise.
1879 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1880 attribute for ARM.
1881
1882 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1883
1884 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1885 (RT_SIGRETURN): Update.
1886 (nds32_fallback_frame_state): Update.
1887
1888 2019-02-21 Martin Sebor <msebor@redhat.com>
1889
1890 * libgcc2.h (__clear_cache): Correct signature.
1891 * libgcc2.c (__clear_cache): Same.
1892
1893 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1894
1895 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1896 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1897
1898 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1899
1900 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1901 regno instead of index to DWARF_ZERO_REG.
1902
1903 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1904
1905 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1906 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1907
1908 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1909
1910 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1911 to HOST_LIBGCC2_CFLAGS.
1912
1913 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1914
1915 PR libgcc/88931
1916 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1917
1918 2019-01-18 Martin Liska <mliska@suse.cz>
1919
1920 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1921 to ...
1922 (__gcov_indirect_call_profiler_v3): ... this.
1923 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1924 (__gcov_indirect_call_profiler_v3): Likewise.
1925 * Makefile.in: Bump function name.
1926
1927 2019-01-18 Martin Liska <mliska@suse.cz>
1928
1929 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1930 (gcov_version): Use in gcov_error.
1931 (merge_one_data): Likewise.
1932 (dump_one_gcov): Likewise.
1933
1934 2019-01-18 Martin Liska <mliska@suse.cz>
1935
1936 * libgcov-driver.c (gcov_version_string): New function.
1937 (gcov_version): Convert version integer into string.
1938
1939 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1940 Kwok Cheung Yeung <kcy@codesourcery.com>
1941 Julian Brown <julian@codesourcery.com>
1942 Tom de Vries <tom@codesourcery.com>
1943
1944 * config.host: Recognize amdgcn*-*-amdhsa.
1945 * config/gcn/crt0.c: New file.
1946 * config/gcn/lib2-divmod-hi.c: New file.
1947 * config/gcn/lib2-divmod.c: New file.
1948 * config/gcn/lib2-gcn.h: New file.
1949 * config/gcn/sfp-machine.h: New file.
1950 * config/gcn/t-amdgcn: New file.
1951
1952 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1953
1954 PR other/16615
1955
1956 * config/c6x/libunwind.S: Mechanically replace "can not" with
1957 "cannot".
1958 * config/tilepro/atomic.h: Likewise.
1959 * config/vxlib-tls.c: Likewise.
1960 * generic-morestack-thread.c: Likewise.
1961 * generic-morestack.c: Likewise.
1962 * mkmap-symver.awk: Likewise.
1963
1964 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1965
1966 Update copyright years.
1967
1968 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1969
1970 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1971 to ignore -Waddress-of-packed-member.
1972
1973 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1974
1975 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1976 parameter and corresponding code.
1977 (ARM_FUNC_START): Likewise in both definitions.
1978 Also update footer comment about condition that need to match with
1979 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1980 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1981 defined. Weakly define it in this case.
1982 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1983 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1984 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1985 comment to keep condition in sync with the one in
1986 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1987
1988 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1989
1990 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1991 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1992
1993 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1994
1995 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1996 and .cfi_endproc directives for VxWorks targets.
1997
1998 2018-12-05 Paul Koning <ni1d@arrl.net>
1999
2000 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2001
2002 2018-11-27 Alan Modra <amodra@gmail.com>
2003
2004 * config/rs6000/morestack.S (__stack_split_initialize),
2005 (__morestack_get_guard, __morestack_set_guard),
2006 (__morestack_make_guard): Provide CFI covering these functions.
2007 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2008
2009 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2010
2011 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2012 (sc_pt_regs_lr): Update for kernel.
2013 (sc_pt_regs_tls): Update for kernel.
2014
2015 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2016
2017 * config/csky/linux-unwind.h: Fix coding style.
2018
2019 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2020
2021 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2022 (csky_fallback_frame_state): Modify the check of the
2023 instructions to adapt to changes in the kernel
2024
2025 2018-11-09 Stafford Horne <shorne@gmail.com>
2026 Richard Henderson <rth@twiddle.net>
2027
2028 * config.host: Add OpenRISC support.
2029 * config/or1k/*: New.
2030
2031 2018-11-08 Kito Cheng <kito@andestech.com>
2032
2033 * soft-fp/adddf3.c: Update from glibc.
2034 * soft-fp/addsf3.c: Likewise.
2035 * soft-fp/addtf3.c: Likewise.
2036 * soft-fp/divdf3.c: Likewise.
2037 * soft-fp/divsf3.c: Likewise.
2038 * soft-fp/divtf3.c: Likewise.
2039 * soft-fp/double.h: Likewise.
2040 * soft-fp/eqdf2.c: Likewise.
2041 * soft-fp/eqsf2.c: Likewise.
2042 * soft-fp/eqtf2.c: Likewise.
2043 * soft-fp/extenddftf2.c: Likewise.
2044 * soft-fp/extended.h: Likewise.
2045 * soft-fp/extendhftf2.c: Likewise.
2046 * soft-fp/extendsfdf2.c: Likewise.
2047 * soft-fp/extendsftf2.c: Likewise.
2048 * soft-fp/extendxftf2.c: Likewise.
2049 * soft-fp/fixdfdi.c: Likewise.
2050 * soft-fp/fixdfsi.c: Likewise.
2051 * soft-fp/fixdfti.c: Likewise.
2052 * soft-fp/fixhfti.c: Likewise.
2053 * soft-fp/fixsfdi.c: Likewise.
2054 * soft-fp/fixsfsi.c: Likewise.
2055 * soft-fp/fixsfti.c: Likewise.
2056 * soft-fp/fixtfdi.c: Likewise.
2057 * soft-fp/fixtfsi.c: Likewise.
2058 * soft-fp/fixtfti.c: Likewise.
2059 * soft-fp/fixunsdfdi.c: Likewise.
2060 * soft-fp/fixunsdfsi.c: Likewise.
2061 * soft-fp/fixunsdfti.c: Likewise.
2062 * soft-fp/fixunshfti.c: Likewise.
2063 * soft-fp/fixunssfdi.c: Likewise.
2064 * soft-fp/fixunssfsi.c: Likewise.
2065 * soft-fp/fixunssfti.c: Likewise.
2066 * soft-fp/fixunstfdi.c: Likewise.
2067 * soft-fp/fixunstfsi.c: Likewise.
2068 * soft-fp/fixunstfti.c: Likewise.
2069 * soft-fp/floatdidf.c: Likewise.
2070 * soft-fp/floatdisf.c: Likewise.
2071 * soft-fp/floatditf.c: Likewise.
2072 * soft-fp/floatsidf.c: Likewise.
2073 * soft-fp/floatsisf.c: Likewise.
2074 * soft-fp/floatsitf.c: Likewise.
2075 * soft-fp/floattidf.c: Likewise.
2076 * soft-fp/floattihf.c: Likewise.
2077 * soft-fp/floattisf.c: Likewise.
2078 * soft-fp/floattitf.c: Likewise.
2079 * soft-fp/floatundidf.c: Likewise.
2080 * soft-fp/floatundisf.c: Likewise.
2081 * soft-fp/floatunditf.c: Likewise.
2082 * soft-fp/floatunsidf.c: Likewise.
2083 * soft-fp/floatunsisf.c: Likewise.
2084 * soft-fp/floatunsitf.c: Likewise.
2085 * soft-fp/floatuntidf.c: Likewise.
2086 * soft-fp/floatuntihf.c: Likewise.
2087 * soft-fp/floatuntisf.c: Likewise.
2088 * soft-fp/floatuntitf.c: Likewise.
2089 * soft-fp/gedf2.c: Likewise.
2090 * soft-fp/gesf2.c: Likewise.
2091 * soft-fp/getf2.c: Likewise.
2092 * soft-fp/half.h: Likewise.
2093 * soft-fp/ledf2.c: Likewise.
2094 * soft-fp/lesf2.c: Likewise.
2095 * soft-fp/letf2.c: Likewise.
2096 * soft-fp/muldf3.c: Likewise.
2097 * soft-fp/mulsf3.c: Likewise.
2098 * soft-fp/multf3.c: Likewise.
2099 * soft-fp/negdf2.c: Likewise.
2100 * soft-fp/negsf2.c: Likewise.
2101 * soft-fp/negtf2.c: Likewise.
2102 * soft-fp/op-1.h: Likewise.
2103 * soft-fp/op-2.h: Likewise.
2104 * soft-fp/op-4.h: Likewise.
2105 * soft-fp/op-8.h: Likewise.
2106 * soft-fp/op-common.h: Likewise.
2107 * soft-fp/quad.h: Likewise.
2108 * soft-fp/single.h: Likewise.
2109 * soft-fp/soft-fp.h: Likewise.
2110 * soft-fp/subdf3.c: Likewise.
2111 * soft-fp/subsf3.c: Likewise.
2112 * soft-fp/subtf3.c: Likewise.
2113 * soft-fp/truncdfsf2.c: Likewise.
2114 * soft-fp/trunctfdf2.c: Likewise.
2115 * soft-fp/trunctfhf2.c: Likewise.
2116 * soft-fp/trunctfsf2.c: Likewise.
2117 * soft-fp/trunctfxf2.c: Likewise.
2118 * soft-fp/unorddf2.c: Likewise.
2119 * soft-fp/unordsf2.c: Likewise.
2120 * soft-fp/unordtf2.c: Likewise.
2121
2122 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2123
2124 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2125 * config/i386/cpuinfo.h (processor_types): Add znver2.
2126
2127 2018-11-01 Paul Koning <ni1d@arrl.net>
2128
2129 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2130 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2131
2132 2018-10-31 Joseph Myers <joseph@codesourcery.com>
2133
2134 PR bootstrap/82856
2135 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2136 * configure: Regenerate.
2137
2138 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2139
2140 * config/arc/lib1funcs.S (_muldi3): New function.
2141 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2142
2143 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2144
2145 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2146
2147 2018-10-25 Martin Liska <mliska@suse.cz>
2148
2149 PR other/87735
2150 * libgcov-profiler.c: Revert.
2151
2152 2018-10-24 Martin Liska <mliska@suse.cz>
2153
2154 * libgcov-profiler.c: Start from 1 in order to distinguish
2155 functions which were seen and these that were not.
2156
2157 2018-10-18 Paul Koning <ni1d@arrl.net>
2158
2159 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2160 standard.
2161 * divmod.c: Update references to __udivmodsi4.
2162 * udivmod.c: Ditto.
2163 * udivhi3.c: New file.
2164 * udivmodhi4.c: New file.
2165 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2166
2167 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2168
2169 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2170
2171 2018-10-12 Olivier Hainque <hainque@adacore.com>
2172
2173 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2174 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2175
2176 2018-10-08 Paul Koning <ni1d@arrl.net>
2177
2178 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2179
2180 2018-10-04 Martin Liska <mliska@suse.cz>
2181
2182 PR gcov-profile/84107
2183 * libgcov-profiler.c (__gcov_indirect_call):
2184 Change type to indirect_call_tuple.
2185 (struct indirect_call_tuple): New struct.
2186 (__gcov_indirect_call_topn_profiler): Change type.
2187 (__gcov_indirect_call_profiler_v2): Use the new
2188 variables.
2189 * libgcov.h (struct indirect_call_tuple): New struct
2190 definition.
2191
2192 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
2193
2194 * libgcc2.c (isnan): Use __builtin_isnan.
2195 (isfinite): Use __builtin_isfinite.
2196 (isinf): Use __builtin_isinf.
2197
2198 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
2199
2200 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2201
2202 2018-09-21 Alexandre Oliva <oliva@adacore.com>
2203
2204 * config/vxcache.c: New file. Provide __clear_cache, based on
2205 the cacheTextUpdate VxWorks service.
2206 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2207 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2208 * config/t-vxwoks7: Likewise.
2209
2210 2018-09-21 Martin Liska <mliska@suse.cz>
2211
2212 * libgcov-driver.c (crc32_unsigned): Remove.
2213 (gcov_histogram_insert): Likewise.
2214 (gcov_compute_histogram): Likewise.
2215 (compute_summary): Simplify rapidly.
2216 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2217 (merge_summary): Rapidly simplify.
2218 (dump_one_gcov): Ignore gcov_summary.
2219 (gcov_do_dump): Do not handle program summary, it's not
2220 used.
2221 * libgcov-util.c (tag_summary): Remove.
2222 (read_gcda_finalize): Fix coding style.
2223 (read_gcda_file): Initialize curr_object_summary.
2224 (compute_summary): Remove.
2225 (calculate_overlap): Remove settings of run_max.
2226
2227 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2228
2229 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2230 ucontext_t type instead.
2231 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2232
2233 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
2234
2235 * config/nds32/t-nds32-glibc: New file.
2236
2237 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2238
2239 * configure.ac (solaris_ld_v2_maps): New test.
2240 * configure: Regenerate.
2241 * Makefile.in (solaris_ld_v2_maps): New variable.
2242 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2243 if supported.
2244
2245 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
2246
2247 PR target/86951
2248 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2249 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2250 to build.
2251
2252 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2253
2254 * config/unwind-dw2-fde-darwin.c
2255 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2256 * config/darwin10-unwind-find-enc-func.c: … to here.
2257 * config/t-darwin: Build Darwin10 unwinder shim crt.
2258 * libgcc/config.host: Add the Darwin10 unwinder shim.
2259
2260 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2261
2262 * config.host: Add crtbegin.o and crtend.o for
2263 powerpc-wrs-vxworks target.
2264
2265 2018-08-17 Jojo <jijie_rong@c-sky.com>
2266 Huibin Wang <huibin_wang@c-sky.com>
2267 Sandra Loosemore <sandra@codesourcery.com>
2268 Chung-Lin Tang <cltang@codesourcery.com>
2269
2270 C-SKY port: libgcc
2271
2272 * config.host: Add C-SKY support.
2273 * config/csky/*: New.
2274
2275 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2276
2277 * config/nds32/t-nds32-isr: Rearrange object dependency.
2278 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2279 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2280 and registers usage.
2281 * config/nds32/isr-library/excp_isr.S: Ditto.
2282 * config/nds32/isr-library/intr_isr.S: Ditto.
2283 * config/nds32/isr-library/reset.S: Ditto.
2284 * config/nds32/isr-library/restore_all.inc: Ditto.
2285 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2286 * config/nds32/isr-library/restore_partial.inc: Ditto.
2287 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2288 * config/nds32/isr-library/save_all.inc: Ditto.
2289 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2290 * config/nds32/isr-library/save_partial.inc: Ditto.
2291 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2292 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2293
2294 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
2295
2296 * config/pa/linux-atomic.c: Update comment.
2297 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2298 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2299 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2300 __ATOMIC_RELAXED for atomic loads.
2301 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2302 unordered store to release lock.
2303 (__sync_lock_release_8): Likewise.
2304 (SYNC_LOCK_RELEASE_2): Remove define.
2305
2306 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
2307
2308 PR libgcc/86512
2309 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2310 exponent goes negative. Update my email address.
2311 * config/arm/ieee754-sf.S: Likewise.
2312
2313 2018-08-01 Martin Liska <mliska@suse.cz>
2314
2315 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2316 check that __gcov_indirect_call_callee is non-null.
2317
2318 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2319
2320 * config/arm/ieee754-df.S: Fix comment for code working on
2321 architectures >= 4.
2322 * config/arm/ieee754-sf.S: Likewise.
2323
2324 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2325
2326 PR libgcc/85334
2327 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2328 Removed.
2329
2330 2018-07-05 James Clarke <jrtc27@jrtc27.com>
2331
2332 * configure: Regenerated.
2333
2334 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2335
2336 * Makefile.in (install_leaf): Use enable_gcov instead of
2337 enable_libgcov.
2338
2339 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2340
2341 * configure.ac: Add --disable-gcov option.
2342 * configure: Regenerate.
2343 * Makefile.in: Honour @enable_gcov@.
2344
2345 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2346
2347 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2348 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2349 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2350 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2351 __ARM_ARCH__.
2352 * config/arm/ieee754-sf.S: Likewise.
2353 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2354
2355 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2356
2357 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2358 longer supported.
2359 * config/arm/ieee754-sf.S: Likewise.
2360
2361 2018-06-20 Than McIntosh <thanm@google.com>
2362
2363 PR libgcc/86213
2364 * generic-morestack.c (allocate_segment): Move calls to getenv and
2365 getpagesize to __morestack_load_mmap.
2366 (__morestack_load_mmap) Initialize static_pagesize and
2367 use_guard_page here so as to avoid clobbering SSE regs during a
2368 __morestack call.
2369
2370 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
2371
2372 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2373 support modules with -mno-gnu-attribute.
2374 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2375
2376 2018-06-07 Olivier Hainque <hainque@adacore.com>
2377
2378 * config/t-vxworks (LIBGCC_INCLUDES): Add
2379 -I$(MULTIBUILDTOP)../../gcc/include.
2380 * config/t-vxworks7: Likewise. Reformat a bit to match
2381 the t-vxworks layout.
2382
2383 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2384
2385 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2386
2387 2018-06-07 Martin Liska <mliska@suse.cz>
2388
2389 * libgcov-driver.c: Rename cs_all to all and assign it from
2390 all_prg.
2391
2392 2018-06-07 Martin Liska <mliska@suse.cz>
2393
2394 PR bootstrap/86057
2395 * libgcov-driver-system.c (replace_filename_variables): Use
2396 memcpy instead of mempcpy.
2397 (allocate_filename_struct): Do not allocate filename, allocate
2398 prefix and set it.
2399 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2400 here and properly copy content into it.
2401 * libgcov-driver.c (struct gcov_filename): Remove max_length
2402 field, change prefix from size_t into char *.
2403 (compute_summary): Do not calculate longest filename.
2404 (gcov_do_dump): Release memory of gf.filename after each file.
2405 * libgcov-util.c (compute_summary): Use new signature of
2406 compute_summary.
2407 (calculate_overlap): Likewise.
2408
2409 2018-06-05 Martin Liska <mliska@suse.cz>
2410
2411 PR gcov-profile/47618
2412 * libgcov-driver-system.c (replace_filename_variables): New
2413 function.
2414 (gcov_exit_open_gcda_file): Use it.
2415
2416 2018-06-05 Martin Liska <mliska@suse.cz>
2417
2418 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2419 of gcov_ctr_summary.
2420 (compute_summary): Do it just for a single summary.
2421 (merge_one_data): Likewise.
2422 (merge_summary): Simplify as we read just single summary.
2423 (dump_one_gcov): Pass proper argument.
2424 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2425 single summary.
2426 (gcov_info_count_all_cold): Likewise.
2427 (calculate_overlap): Likewise.
2428
2429 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2430 Monk Chiang <sh.chiang04@gmail.com>
2431
2432 * config.host (nds32*-linux*): New.
2433 * config/nds32/linux-atomic.c: New file.
2434 * config/nds32/linux-unwind.h: New file.
2435
2436 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2437
2438 PR target/85591
2439 * config/i386/cpuinfo.c (get_amd_cpu): Return
2440 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2441
2442 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2443
2444 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2445
2446 2018-05-29 Martin Liska <mliska@suse.cz>
2447
2448 PR gcov-profile/85759
2449 * libgcov-driver-system.c (gcov_error): Introduce usage of
2450 GCOV_EXIT_AT_ERROR env. variable.
2451 * libgcov-driver.c (merge_one_data): Print error that we
2452 overwrite a gcov file with a different timestamp.
2453
2454 2018-05-23 Kalamatee <kalamatee@gmail.com>
2455
2456 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2457 path to Lf$finfty.
2458
2459 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2460 Monk Chiang <sh.chiang04@gmail.com>
2461 Jim Wilson <jimw@sifive.com>
2462
2463 * config/riscv/save-restore.S: Add support for rv32e.
2464
2465 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2466
2467 * config/arm/libunwind.S: Update comment relating to armv5.
2468
2469 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2470
2471 * config/arm/cmse.c (cmse_check_address_range): Replace
2472 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2473
2474 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2475
2476 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2477 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2478
2479 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2480
2481 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2482 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2483
2484 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2485
2486 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2487
2488 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2489 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2490
2491 PR libgcc/84292
2492 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2493 op_and_fetch to return the right result.
2494
2495 2018-04-27 Alan Modra <amodra@gmail.com>
2496
2497 PR libgcc/85532
2498 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2499 -fno-asynchronous-unwind-tables.
2500
2501 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2502
2503 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2504 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2505
2506 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2507
2508 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2509 when including "config/i386/shadow-stack-unwind.h".
2510
2511 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2512
2513 * configure: Regenerated.
2514
2515 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2516
2517 PR target/85456
2518 * config/rs6000/_powikf2.c: New file. Add support for the
2519 __builtin_powil function when long double is IEEE 128-bit floating
2520 point.
2521 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2522 __powikf2 support.
2523 (__powikf2): Likewise.
2524 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2525 (__powikf2_hw): Likewise.
2526 (__powikf2): Likewise.
2527 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2528 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2529 (_powikf2-hw.c): Likewise.
2530
2531 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2532
2533 PR libgcc/85334
2534 * unwind-generic.h (_Unwind_Frames_Increment): New.
2535 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2536 Likewise.
2537 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2538 count with _Unwind_Frames_Increment.
2539 (_Unwind_ForcedUnwind_Phase2): Likewise.
2540
2541 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2542
2543 PR libgcc/85379
2544 * config/i386/morestack.S (__stack_split_initialize): Add
2545 _CET_ENDBR.
2546
2547 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2548
2549 * configure: Regenerated.
2550
2551 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2552
2553 PR jit/85384
2554 * configure: Regenerate.
2555
2556 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2557
2558 PR target/84945
2559 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2560 -Wdangling-else warnings. Mask shift counts to avoid
2561 -Wshift-count-negative and -Wshift-count-overflow false positives.
2562
2563 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2564
2565 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2566
2567 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2568
2569 PR target/85100
2570 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2571 (XSTATE_FP): Likewise.
2572 (XSTATE_SSE): Likewise.
2573 (XSTATE_YMM): Likewise.
2574 (XSTATE_OPMASK): Likewise.
2575 (XSTATE_ZMM): Likewise.
2576 (XSTATE_HI_ZMM): Likewise.
2577 (XCR_AVX_ENABLED_MASK): Likewise.
2578 (XCR_AVX512F_ENABLED_MASK): Likewise.
2579 (get_available_features): Enable AVX and AVX512 features only
2580 if their states are supported by OSXSAVE.
2581
2582 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2583
2584 PR target/85025
2585 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2586 Fix a typo, tmp => 255.
2587
2588 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2589
2590 PR target/84945
2591 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2592 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2593 ifndef SHARED only.
2594 (set_feature): Define.
2595 (get_available_features): Use set_feature macro. Set __cpu_features2
2596 to the second word of features ifndef SHARED.
2597
2598 2018-03-15 Julia Koval <julia.koval@intel.com>
2599
2600 * config/i386/cpuinfo.c (get_available_features): Add
2601 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2602 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2603 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2604 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2605 FEATURE_AVX512BITALG.
2606
2607 2018-03-14 Julia Koval <julia.koval@intel.com>
2608
2609 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2610 icelake client and icelake server.
2611
2612 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2613
2614 * config/pa/fptr.c (_dl_read_access_allowed): New.
2615 (__canonicalize_funcptr_for_compare): Use it.
2616
2617 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2618
2619 PR debug/83917
2620 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2621 $asm_hidden_op if visibility ("hidden") attribute works.
2622 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2623 * config/i386/i386-asm.h: Don't include auto-host.h.
2624 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2625 PACKAGE_URL): Don't undefine.
2626 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2627 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2628 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2629 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2630 definition instead of hardcoded .hidden.
2631 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2632 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2633 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2634 (USE_GAS_CFI_DIRECTIVES): Don't define.
2635 * configure: Regenerated.
2636 * config.in: Likewise.
2637
2638 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2639
2640 PR debug/83917
2641 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2642 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2643 inclusion of auto-target.h and auto-host.h.
2644 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2645 __GCC_HAVE_DWARF2_CFI_ASM.
2646 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2647 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2648 cfi_pop): Define.
2649 * config/i386/cygwin.S: Don't include auto-host.h here, just
2650 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2651 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2652 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2653 * config/i386/resms64fx.h: Add cfi_* directives.
2654 * config/i386/resms64x.h: Likewise.
2655
2656 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2657
2658 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2659 .literal_position directive.
2660 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2661
2662 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2663
2664 PR target/84148
2665 * configure: Regenerate.
2666
2667 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2668
2669 PR target/84239
2670 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2671 Include cetintrin.h not x86intrin.h.
2672
2673 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2674
2675 PR target/84239
2676 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2677 Use new _get_ssp and _inc_ssp intrinsics.
2678
2679 2018-02-02 Julia Koval <julia.koval@intel.com>
2680
2681 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2682
2683 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2684
2685 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2686 option.
2687 (__divsi3): Use RF16 safe registers.
2688 (__modsi3): Likewise.
2689
2690 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2691
2692 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2693 (__divsf3): Make NaN return value quiet.
2694 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2695 (__divdf3): Make NaN return value quiet.
2696
2697 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2698
2699 * config/rl78/anddi3.S: New assembly file.
2700 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2701
2702 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2703
2704 * config/rl78/umindi3.S: New assembly file.
2705 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2706
2707 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2708
2709 * config/rl78/smindi3.S: New assembly file.
2710 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2711
2712 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2713
2714 * config/rl78/smaxdi3.S: New assembly file.
2715 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2716
2717 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2718
2719 * config/rl78/umaxdi3.S: New assembly file.
2720 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2721
2722 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2723
2724 PR lto/83452
2725 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2726 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2727
2728 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2729
2730 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2731 (DWARF_LAZY_REGISTER_VALUE): Define.
2732 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2733 to provide a fallback register value.
2734
2735 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2736
2737 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2738 __ibm128, instead of trying to use long double.
2739 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2740 accomidate -mabi=ieeelongdouble multilibs.
2741 (CVT_IBM128_TO_FLOAT128): Likewise.
2742 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2743 the appropriate IBM extended double type.
2744 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2745 (__gcc_qsub): Likewise.
2746 (__gcc_qmul): Likewise.
2747 (__gcc_qdiv): Likewise.
2748 (pack_ldouble): Likewise.
2749 (__gcc_qneg): Likewise.
2750 (__gcc_qeq): Likewise.
2751 (__gcc_qne): Likewise.
2752 (__gcc_qge): Likewise.
2753 (__gcc_qle): Likewise.
2754 (__gcc_stoq): Likewise.
2755 (__gcc_dtoq): Likewise.
2756 (__gcc_itoq): Likewise.
2757 (__gcc_utoq): Likewise.
2758 (__gcc_qunord): Likewise.
2759 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2760 quad-float128.h for the definitions.
2761 (COPYSIGN): Use the f128 version instead of the q version.
2762 (INFINITY): Likewise.
2763 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2764 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2765 quad-float128.h for the definitions.
2766 (COPYSIGN): Use the f128 version instead of the q version.
2767 (INFINITY): Likewise.
2768 (FABS): Likewise.
2769 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2770 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2771 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2772
2773 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2774
2775 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2776 configuration.
2777
2778 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2779
2780 Update copyright years.
2781
2782 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2783
2784 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2785 * config/riscv/multi3.c: New file.
2786 * config/riscv/multi3.S: Remove.
2787
2788 2017-12-08 Jim Wilson <jimw@sifive.com>
2789
2790 * config/riscv/div.S: Use FUNC_* macros.
2791 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2792 * config/riscv/save-restore.S: Likewise.
2793 * config/riscv/riscv-asm.h: New.
2794
2795 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2796
2797 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2798 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2799
2800 PR libgcc/83112
2801 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2802 correct type for all ifunc resolvers to silence -Wattribute-alias
2803 warnings. Eliminate the forward declaration of the resolver
2804 functions which is no longer needed.
2805 (__subkf3_resolve): Likewise.
2806 (__mulkf3_resolve): Likewise.
2807 (__divkf3_resolve): Likewise.
2808 (__negkf2_resolve): Likewise.
2809 (__eqkf2_resolve): Likewise.
2810 (__nekf2_resolve): Likewise.
2811 (__gekf2_resolve): Likewise.
2812 (__gtkf2_resolve): Likewise.
2813 (__lekf2_resolve): Likewise.
2814 (__ltkf2_resolve): Likewise.
2815 (__unordkf2_resolve): Likewise.
2816 (__extendsfkf2_resolve): Likewise.
2817 (__extenddfkf2_resolve): Likewise.
2818 (__trunckfsf2_resolve): Likewise.
2819 (__trunckfdf2_resolve): Likewise.
2820 (__fixkfsi_resolve): Likewise.
2821 (__fixkfdi_resolve): Likewise.
2822 (__fixunskfsi_resolve): Likewise.
2823 (__fixunskfdi_resolve): Likewise.
2824 (__floatsikf_resolve): Likewise.
2825 (__floatdikf_resolve): Likewise.
2826 (__floatunsikf_resolve): Likewise.
2827 (__floatundikf_resolve): Likewise.
2828 (__extendkftf2_resolve): Likewise.
2829 (__trunctfkf2_resolve): Likewise.
2830
2831 PR libgcc/83103
2832 * config/rs6000/quad-float128.h (TF): Don't define if long double
2833 is IEEE 128-bit floating point.
2834 (TCtype): Define as either TCmode or KCmode, depending on whether
2835 long double is IEEE 128-bit floating point.
2836 (__mulkc3_sw): Add declarations for software/hardware versions of
2837 complex multiply/divide.
2838 (__divkc3_sw): Likewise.
2839 (__mulkc3_hw): Likewise.
2840 (__divkc3_hw): Likewise.
2841 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2842 handlers to switch between using software emulation and hardware
2843 float128 instructions, build the complex multiply/divide functions
2844 for both software and hardware support.
2845 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2846 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2847 (__divkc3_resolve): Likewise.
2848 (__mulkc3): Likewise.
2849 (__divkc3): Likewise.
2850 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2851 (fp128_hw_src): Likewise.
2852 (fp128_hw_static_obj): Likewise.
2853 (fp128_hw_shared_obj): Likewise.
2854 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2855 _mulkc3.c and _divkc3.c, changing the function name.
2856 (_divkc3-hw.c): Likewise.
2857 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2858 and _divkc3-hw.c.
2859
2860 2017-11-26 Julia Koval <julia.koval@intel.com>
2861
2862 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2863 * config/i386/cpuinfo.h (processor_subtypes): Add
2864 INTEL_COREI7_CANNONLAKE.
2865
2866 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2867
2868 PR bootstrap/83015
2869 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2870 parameter.
2871 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2872 * config/ia64/unwind-ia64.c: Add frames parameter.
2873 * unwind-sjlj.c: Likewise.
2874
2875 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2876
2877 * config/i386/linux-unwind.h: Include
2878 config/i386/shadow-stack-unwind.h.
2879 * config/i386/shadow-stack-unwind.h: New file.
2880 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2881 pass it to _Unwind_Frames_Extra.
2882 * unwind-generic.h (_Unwind_Frames_Extra): New.
2883 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2884 parameter. Add local variable frames to count number of frames.
2885 (_Unwind_ForcedUnwind_Phase2): Likewise.
2886 (_Unwind_RaiseException): Add local variable frames to count
2887 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2888 uw_install_context.
2889 (_Unwind_ForcedUnwind): Likewise.
2890 (_Unwind_Resume): Likewise.
2891 (_Unwind_Resume_or_Rethrow): Likewise.
2892
2893 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2894
2895 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2896 (CET_FLAGS): New.
2897 * config/i386/morestack.S: Include <cet.h>.
2898 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2899 * config/i386/resms64.h: Include <cet.h>.
2900 * config/i386/resms64f.h: Likewise.
2901 * config/i386/resms64fx.h: Likewise.
2902 * config/i386/resms64x.h: Likewise.
2903 * config/i386/savms64.h: Likewise.
2904 * config/i386/savms64f.h: Likewise.
2905 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2906 (CRTSTUFF_T_CFLAGS): Likewise.
2907 * configure.ac: Include ../config/cet.m4.
2908 Set and substitute CET_FLAGS.
2909 * configure: Regenerated.
2910
2911 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2912
2913 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2914 renaming.
2915 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2916 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2917 * configure: Regenerate.
2918
2919 2017-11-07 Tom de Vries <tom@codesourcery.com>
2920
2921 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2922 after "do {} while (0)".
2923
2924 2017-11-07 Tom de Vries <tom@codesourcery.com>
2925
2926 PR other/82784
2927 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2928 semicolon after "do {} while (0)".
2929 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2930 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2931 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2932 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2933
2934 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2935
2936 PR libgcc/82635
2937 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2938 sysctl to determine whether we're in a trampoline.
2939 Keep the pattern matching method for systems without
2940 KERN_PROC_SIGTRAMP sysctl.
2941
2942 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2943 Vineet Gupta <vgupta@synopsys.com>
2944
2945 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2946 * config/arc/linux-unwind-reg.def: New file.
2947 * config/arc/linux-unwind-reg.h: Likewise.
2948
2949 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2950
2951 * config/rl78/subdi3.S: New assembly file.
2952 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2953
2954 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2955
2956 * config/rl78/adddi3.S: New assembly file.
2957 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2958
2959 2017-10-13 Jakub Jelinek <jakub@redhat.com>
2960
2961 PR target/82274
2962 * libgcc2.c (__mulvDI3): If both operands have
2963 the same highpart of -1 and the topmost bit of lowpart is 0,
2964 multiplication overflows even if both lowparts are 0.
2965
2966 2017-09-28 James Bowman <james.bowman@ftdichip.com>
2967
2968 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2969
2970 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2971
2972 * config/microblaze/crti.S, config/microblaze/crtn.S,
2973 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2974 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2975 config/microblaze/mulsi3.S,
2976 config/microblaze/stack_overflow_exit.S,
2977 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2978 config/pa/milli64.S: Add .note.GNU-stack section.
2979
2980 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
2981
2982 * configure.ac: Add Check for HAVE_AS_AVX.
2983 * config.in: Regenerate.
2984 * configure: Likewise.
2985 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2986 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2987 Correct out-of-date comments.
2988
2989 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2990
2991 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2992 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2993
2994 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2995
2996 * config/i386/i386-asm.h (PASTE2): New macro.
2997 (ASMNAME): Modify to use PASTE2.
2998 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2999 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3000 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3001 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3002 * config/i386/resms64f.S: Likewise.
3003 * config/i386/resms64fx.S: Likewise.
3004 * config/i386/resms64x.S: Likewise.
3005 * config/i386/savms64.S: Likewise.
3006 * config/i386/savms64f.S: Likewise.
3007 * config/i386/avx_resms64.S: New file that only defines a macro and
3008 includes it's corresponding header file.
3009 * config/i386/avx_resms64f.S: Likewise.
3010 * config/i386/avx_resms64fx.S: Likewise.
3011 * config/i386/avx_resms64x.S: Likewise.
3012 * config/i386/avx_savms64.S: Likewise.
3013 * config/i386/avx_savms64f.S: Likewise.
3014 * config/i386/sse_resms64.S: Likewise.
3015 * config/i386/sse_resms64f.S: Likewise.
3016 * config/i386/sse_resms64fx.S: Likewise.
3017 * config/i386/sse_resms64x.S: Likewise.
3018 * config/i386/sse_savms64.S: Likewise.
3019 * config/i386/sse_savms64f.S: Likewise.
3020 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3021
3022 2017-09-01 Olivier Hainque <hainque@adacore.com>
3023 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3024
3025 2017-08-31 Olivier Hainque <hainque@adacore.com>
3026
3027 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3028 match as powerpc-wrs-vxworks*.
3029
3030 2017-08-07 Jonathan Yong <10walls@gmail.com>
3031
3032 * config.host (*-cygwin): Include file from mingw
3033 config/i386/enable-execute-stack-mingw32.c
3034
3035 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
3036 Doug Rupp <rupp@adacore.com>
3037 Olivier Hainque <hainque@adacore.com>
3038
3039 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3040 as well as arm-wrs-vxworks.
3041 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3042 LIB2ADDEH.
3043 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3044 __exidx_start and __exidx_end for downloadable modules.
3045
3046 2017-08-01 Olivier Hainque <hainque@adacore.com>
3047
3048 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3049 * config/t-vxworks7: Likewise.
3050
3051 2017-08-01 Olivier Hainque <hainque@adacore.com>
3052
3053 * config/t-vxworks: Instead of redefining LIB2ADD,
3054 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3055
3056 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3057
3058 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3059
3060 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
3061
3062 PR testsuite/80759
3063 * config.host: include i386/t-msabi for darwin and solaris.
3064 * config/i386/i386-asm.h
3065 (ELFFN): Rename to FN_TYPE.
3066 (FN_SIZE): New macro.
3067 (FN_HIDDEN): Likewise.
3068 (ASMNAME): Likewise.
3069 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3070 .globl.
3071 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3072 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3073 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3074 .macro.
3075 * config/i386/resms64f.S: Likewise.
3076 * config/i386/resms64fx.S: Likewise.
3077 * config/i386/resms64x.S: Likewise.
3078 * config/i386/savms64.S: Likewise.
3079 * config/i386/savms64f.S: Likewise.
3080
3081 2017-07-19 John Marino <gnugcc@marino.st>
3082
3083 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3084
3085 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3086
3087 PR target/81193
3088 * configure.ac (PowerPC float128 hardware support): Test whether
3089 we can use __builtin_cpu_supports before enabling the ifunc
3090 handler.
3091 * configure: Regenerate.
3092
3093 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
3094
3095 * config.host: Remove uclibc from arc target spec.
3096
3097 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3098
3099 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3100
3101 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3102
3103 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3104 (have_ieee_hw_p): Delete function.
3105 (SW_OR_HW) Use __builtin_cpu_supports().
3106
3107 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3108
3109 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3110
3111 2017-07-03 Olivier Hainque <hainque@adacore.com>
3112
3113 * config/t-vxworks7: New file, really.
3114
3115 2017-06-28 Joseph Myers <joseph@codesourcery.com>
3116
3117 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3118 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3119 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3120 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3121 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3122 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3123 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3124 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3125 config/sh/linux-unwind.h (sh_fallback_frame_state),
3126 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3127 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3128 ucontext_t instead of struct ucontext.
3129
3130 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
3131
3132 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3133 (x86_64-wrs-vxworks7): Likewise.
3134
3135 2017-06-27 Olivier Hainque <hainque@adacore.com>
3136
3137 * config/t-vxworks7: New file.
3138 * config.host (*-*-vxworks7): Use it.
3139
3140 2017-06-22 Matt Turner <mattst88@gmail.com>
3141
3142 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3143 skylake case.
3144
3145 2017-06-21 Richard Biener <rguenther@suse.de>
3146
3147 PR gcov-profile/81080
3148 * configure.ac: Add AC_SYS_LARGEFILE.
3149 * libgcov.h: Include auto-target.h before tsystem.h to pick
3150 up _FILE_OFFSET_BITS which might differ for multilibs.
3151 * config.in: Regenerate.
3152 * configure: Likewise.
3153
3154 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
3155
3156 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3157
3158 2017-06-09 Martin Liska <mliska@suse.cz>
3159
3160 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3161 Reset __gcov_indirect_call_callee to NULL.
3162
3163 2017-06-08 Olivier Hainque <hainque@adacore.com>
3164
3165 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3166 the set of -I options, support for direct inclusions of net/uio.h
3167 by VxWorks header files via ioLib.h.
3168
3169 2017-06-07 Tony Reix <tony.reix@atos.net>
3170 Matthieu Sarter <matthieu.sarter.external@atos.net>
3171 David Edelsohn <dje.gcc@gmail.com>
3172
3173 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3174 unconditionally.
3175 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3176 AIX 7.2 support.
3177
3178 2017-06-02 Olivier Hainque <hainque@adacore.com>
3179
3180 * config/vxlib.c (__gthread_once): Add missing value to
3181 return statement.
3182
3183 2017-05-30 Olivier Hainque <hainque@adacore.com>
3184
3185 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3186 dollar sign before $(MULTIDIR).
3187
3188 2017-05-26 Richard Henderson <rth@redhat.com>
3189
3190 PR libgcc/80037
3191 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3192
3193 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3194
3195 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3196 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3197 * config/arm/unwind-arm.c: Implement the above.
3198
3199 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3200
3201 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3202 section for a non-executable stack.
3203
3204 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3205
3206 PR target/80600
3207 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3208
3209 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
3210
3211 * config.host: Add i386/t-msabi to i386/t-linux file list.
3212 * config/i386/i386-asm.h: New file.
3213 * config/i386/resms64.S: New file.
3214 * config/i386/resms64f.S: New file.
3215 * config/i386/resms64fx.S: New file.
3216 * config/i386/resms64x.S: New file.
3217 * config/i386/savms64.S: New file.
3218 * config/i386/savms64f.S: New file.
3219 * config/i386/t-msabi: New file.
3220
3221 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3222
3223 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3224 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3225
3226 2017-05-05 Joshua Conner <joshconner@google.com>
3227
3228 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3229 pc-relative indirect handling for fuchsia.
3230 * config/t-slibgcc-fuchsia: New file.
3231 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3232 x86_64-*-fuchsia*): Add definitions.
3233
3234 2017-04-19 Martin Liska <mliska@suse.cz>
3235
3236 PR gcov-profile/80435
3237 * Makefile.in: Install gcov.h.
3238 * gcov.h: New file.
3239 * libgcov.h: Use the header and make __gcov_flush publicly
3240 visible.
3241
3242 2017-04-18 Martin Liska <mliska@suse.cz>
3243
3244 PR gcov-profile/78783
3245 * libgcov-driver.c (gcov_get_filename): New function.
3246
3247 2017-04-07 Jeff Law <law@redhat.com>
3248
3249 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3250 target makefile fragment.
3251 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3252
3253 2017-04-07 Alan Modra <amodra@gmail.com>
3254
3255 PR target/45053
3256 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3257
3258 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
3259
3260 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3261
3262 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3263
3264 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3265
3266 2017-03-10 John Marino <gnugcc@marino.st>
3267
3268 * config/aarch64/freebsd-unwind.h: New file.
3269 * config.host: Add aarch64-*-freebsd unwinder.
3270
3271 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3272
3273 * config/rs6000/crtrestvr.s: Use .machine altivec.
3274 * config/rs6000/crtsavevr.s: Ditto.
3275
3276 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3277
3278 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3279 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3280 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3281 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3282 * configure: Regenerate.
3283 * config.in: Regenerate.
3284
3285 2017-03-02 Jonathan Yong <10walls@gmail.com>
3286
3287 * config/i386/gthr-win32.h: Define NOGDI before
3288 windows.h include to prevent w32api CC_NONE macro
3289 clash with libgfortran.
3290
3291 2017-03-02 Jonathan Yong <10walls@gmail.com>
3292
3293 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3294
3295 2017-02-16 Andrew Pinski <apinski@cavium.com>
3296
3297 * config/aarch64/value-unwind.h: New file.
3298 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3299 to tm_file.
3300
3301 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3302
3303 * config.host: Add RISC-V tuples.
3304 * config/riscv/atomic.c: New file.
3305 * config/riscv/crti.S: Likewise.
3306 * config/riscv/crtn.S: Likewise.
3307 * config/riscv/div.S: Likewise.
3308 * config/riscv/linux-unwind.h: Likewise.
3309 * config/riscv/muldi3.S: Likewise.
3310 * config/riscv/multi3.S: Likewise.
3311 * config/riscv/save-restore.S: Likewise.
3312 * config/riscv/sfp-machine.h: Likewise.
3313 * config/riscv/t-elf: Likewise.
3314 * config/riscv/t-elf32: Likewise.
3315 * config/riscv/t-elf64: Likewise.
3316 * config/riscv/t-softfp32: Likewise.
3317 * config/riscv/t-softfp64: Likewise.
3318
3319 2017-01-24 Jakub Jelinek <jakub@redhat.com>
3320
3321 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3322 /* FALLTHRU */ comments.
3323
3324 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3325
3326 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3327
3328 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3329
3330 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3331 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3332 DW_CFA_GNU_window_save for AArch64 and LP64.
3333
3334 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3335
3336 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3337
3338 2017-01-19 Jiong Wang <jiong.wang@arm.com>
3339
3340 * config/aarch64/aarch64-unwind.h: New file.
3341 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3342 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3343 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3344 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3345 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3346 (aarch64_post_extract_frame_addr): New function.
3347 (aarch64_post_frob_eh_handler_addr): New function.
3348 (aarch64_frob_update_context): New function.
3349 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3350 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3351 aarch64*-*-freebsd*):
3352 Initialize md_unwind_header to include aarch64-unwind.h.
3353 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3354 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3355 __aarch64__.
3356 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3357 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3358 (uw_frob_return_addr): New function.
3359 (uw_install_context): Use uw_frob_return_addr.
3360
3361 2017-01-17 Jakub Jelinek <jakub@redhat.com>
3362
3363 PR other/79046
3364 * configure.ac: Add GCC_BASE_VER.
3365 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3366 version from BASE-VER file.
3367 * configure: Regenerated.
3368
3369 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
3370
3371 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3372 libmul_f5.a): Filter archived prerequisites.
3373
3374 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3375
3376 * config/i386/cpuinfo.h (processor_features): Add
3377 FEATURE_AVX512VPOPCNTDQ.
3378 * config/i386/cpuinfo.c (get_available_features): Habdle new
3379 feature.
3380
3381 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3382
3383 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3384 payload if [__mips_nan2008].
3385
3386 2017-01-04 Alan Modra <amodra@gmail.com>
3387
3388 * Makefile.in (configure_deps): Update.
3389 * configure: Regenerate.
3390
3391 2017-01-01 Jakub Jelinek <jakub@redhat.com>
3392
3393 Update copyright years.
3394
3395 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3396
3397 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3398 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3399 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3400
3401 2016-12-17 Matthias Klose <doko@ubuntu.com>
3402
3403 * config/arc/gmon: Remove empty directory.
3404
3405 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3406
3407 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3408 crtgend.
3409 (arc*-*-elf*): Likewise.
3410 * config/arc/t-arc: Remove old gmon lib targets.
3411 * config/arc/crtg.S: Remove.
3412 * config/arc/crtgend.S: Likewise.
3413 * config/arc/gmon/atomic.h: Likewise.
3414 * config/arc/gmon/auxreg.h: Likewise.
3415 * config/arc/gmon/dcache_linesz.S: Likewise.
3416 * config/arc/gmon/gmon.c: Likewise.
3417 * config/arc/gmon/machine-gmon.h: Likewise.
3418 * config/arc/gmon/mcount.c: Likewise.
3419 * config/arc/gmon/prof-freq-stub.S: Likewise.
3420 * config/arc/gmon/prof-freq.c: Likewise.
3421 * config/arc/gmon/profil.S: Likewise.
3422 * config/arc/gmon/sys/gmon.h: Likewise.
3423 * config/arc/gmon/sys/gmon_out.h: Likewise.
3424 * config/arc/t-arc-newlib: Likewise.
3425 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3426
3427 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3428
3429 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3430
3431 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3432
3433 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3434 R16 instead of push + pop.
3435 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3436
3437 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3438
3439 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3440 tmake_file.
3441
3442 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3443
3444 * config.host (arc*-*-linux-uclibc*): Use default extra
3445 objects. Include linux-android header.
3446 * config/arc/crti.S (_init): Declare symbol as function.
3447 (_fini): Likewise.
3448
3449 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3450
3451 PR fortran/78379
3452 * config/i386/cpuinfo.c: Move denums for processor vendors,
3453 processor type, processor subtypes and declaration of
3454 struct __processor_model into
3455 * config/i386/cpuinfo.h: New header file.
3456
3457 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3458 Thomas Preud'homme <thomas.preudhomme@arm.com>
3459
3460 * config/arm/cmse_nonsecure_call.S: New.
3461 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3462
3463 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3464 Thomas Preud'homme <thomas.preudhomme@arm.com>
3465
3466 * config/arm/t-arm (HAVE_CMSE): New.
3467 * config/arm/cmse.c: New.
3468
3469 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3470
3471 PR gcc/74748
3472 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3473 use generic linker version information on Blackfin.
3474
3475 PR gcc/74748
3476 * libgcc/mkmap-symver.awk: add support for skip_underscore
3477
3478 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3479 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3480
3481 PR target/67710
3482 * config/t-darwin: Default builds to 10.5 codegen.
3483
3484 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3485
3486 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3487 (_FP_NANSIGN_H): Likewise.
3488 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3489 (softfp_truncations): Add tfhf.
3490 (softfp_extras): Add required conversion functions.
3491
3492 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3493 Matthew Wahab <matthew.wahab@arm.com>
3494
3495 * config/arm/fp16.c (binary64): New.
3496 (__gnu_d2h_internal): New.
3497 (__gnu_d2h_ieee): New.
3498 (__gnu_d2h_alternative): New.
3499
3500 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3501 Matthew Wahab <matthew.wahab@arm.com>
3502
3503 * config/arm/fp16.c (struct format): New.
3504 (binary32): New.
3505 (__gnu_float2h_internal): New. Body moved from
3506 __gnu_f2h_internal and generalize.
3507 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3508 Call it with binary32.
3509
3510 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3511
3512 * soft-fp/extendhftf2.c: Update from glibc.
3513 * soft-fp/fixhfti.c: Likewise.
3514 * soft-fp/fixunshfti.c: Likewise.
3515 * soft-fp/floattihf.c: Likewise.
3516 * soft-fp/floatuntihf.c: Likewise.
3517 * soft-fp/half.h: Likewise.
3518 * soft-fp/trunctfhf2.c: Likewise.
3519
3520 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3521
3522 PR libgcc/77813
3523 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3524 __TMC_END__ behind a passthrough asm.
3525
3526 2016-11-18 Walter Lee <walt@tilera.com>
3527
3528 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3529
3530 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3531
3532 * config/i386/cpuinfo.c (processor_features): Add
3533 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3534
3535 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3536
3537 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3538 (__ARC_NORM__): Use instead ARC_OPTFPE.
3539 * config/arc/fp-hack.h: Likewise.
3540 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3541 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3542
3543 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3544
3545 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3546 * config/nvptx/mgomp.c: New file.
3547 * config/nvptx/t-nvptx: Add mgomp.c
3548
3549 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3550
3551 PR libgcc/68468
3552 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3553
3554 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3555
3556 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3557 of checking for cpus.
3558 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3559 (__modsi3, __clzsi2): Likewise.
3560
3561 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3562
3563 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3564 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3565 * config/i386/t-cpuinfo-static: New.
3566
3567 2016-11-03 Martin Liska <mliska@suse.cz>
3568
3569 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3570 (__gcov_time_profiler_atomic): Likewise.
3571
3572 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3573
3574 PR libgcc/78067
3575 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3576 count_leading_zeros.
3577
3578 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3579
3580 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3581 * libgcc2.c (__divmoddi4): New function.
3582 * libgcc2.h (__divmoddi4): Declare.
3583 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3584 and __PFX_divmodti4.
3585
3586 2016-10-24 Florian Weimer <fweimer@redhat.com>
3587
3588 PR libgcc/78064
3589 * unwind-c.c: Include auto-target.h.
3590
3591 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3592
3593 * config/pa/pa64-hpux-lib.h: New file.
3594 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3595 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3596 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3597 hppa*64*-*-hpux11*.
3598
3599 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3600
3601 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3602 definition.
3603 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3604 definition.
3605 * config/xtensa/t-windowed (LIB2ADDEH): Use
3606 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3607 or xtensa/t-linux.
3608
3609 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3610
3611 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3612 __ieee754_sqrt): New functions.
3613 (__divdf3): Add implementation with new FPU instructions under
3614 #if XCHAL_HAVE_DFP_DIV.
3615 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3616 __ieee754_sqrtf): New functions.
3617 (__divsf3): Add implementation with new FPU instructions under
3618 #if XCHAL_HAVE_FP_DIV.
3619 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3620 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3621
3622 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3623
3624 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3625 equivalent.
3626 * config/tilepro/atomic.c: Likewise and stop casting model to
3627 enum memmodel.
3628
3629 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3630
3631 PR target/77586
3632 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3633 soft-fp.
3634
3635 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3636
3637 * config.host: Add support for aarch64-*-freebsd*.
3638
3639 2016-10-05 Andreas Schwab <schwab@suse.de>
3640
3641 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3642 (.section .init_array): Don't call __do_jv_register_classes.
3643 (.section .init): Likewise.
3644
3645 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3646
3647 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3648 (__JCR_LIST__): Remove.
3649 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3650 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3651 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3652 * config/ia64/crtend.S (__JCR_END__): Remove.
3653 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3654 conditionals.
3655 (__JCR_LIST__, __JCR_END__): Remove.
3656 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3657 (__do_global_ctors_1): Likewise.
3658
3659 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3660
3661 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3662 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3663
3664 2016-09-27 Martin Liska <mliska@suse.cz>
3665
3666 PR gcov-profile/7970
3667 PR gcov-profile/16855
3668 PR gcov-profile/44779
3669 * libgcov-driver.c (__gcov_init): Do not register a atexit
3670 handler.
3671 (__gcov_exit): Rename from gcov_exit.
3672 * libgcov.h (__gcov_exit): Declare.
3673
3674 2016-09-27 Martin Liska <mliska@suse.cz>
3675
3676 PR bootstrap/77749
3677 * Makefile.in: Remove _gcov_merge_delta.
3678 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3679 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3680 * libgcov.h: Remove declaration of __gcov_merge_delta.
3681
3682 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3683
3684 * configure.ac: Do not create links, only substitute the filenames.
3685 * configure: Regenerate.
3686 * Makefile.in: Assign the substitution results to variables.
3687 (LIBGCC_LINKS): Define.
3688 (enable-execute-stack.c): New rule.
3689 (unwind.h): Likewise.
3690 (md-unwind-support.h): Likewise.
3691 (sfp-machine.h): Likewise.
3692 (gthr-default.h): Likewise.
3693 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3694 unwind.h as prerequisite of install-unwind_h-forbuild.
3695
3696 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3697
3698 PR libgcc/71744
3699 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3700 is not the primary registry and atomics are available.
3701 (any_objects_registered): New variable.
3702 (__register_frame_info_bases, __register_frame_info_table_bases):
3703 Atomically store 1 to any_objects_registered after registering first
3704 unwind info.
3705 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3706
3707 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3708
3709 PR target/63250
3710 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3711 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3712 (HFtype): Likewise.
3713 (HCtype): Likewise.
3714 (__divhc3): Likewise.
3715 (__mulhc3): Likewise.
3716 * libgcc2.c: Support _mulhc3 and _divhc3.
3717
3718 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3719
3720 PR libgcc/77519
3721 * libgcc2.c (NOTRUNC): Invert settings.
3722
3723 2016-09-06 Martin Liska <mliska@suse.cz>
3724
3725 PR gcov-profile/77378
3726 PR gcov-profile/77466
3727 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3728 conditionaly enable/disable *_atomic functions.
3729
3730 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3731
3732 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3733 where not already enabled.
3734
3735 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3736
3737 * config/mips/linux-unwind.h: Use sys/syscall.h.
3738
3739 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3740
3741 PR libgcc/77265
3742 * soft-fp/adddf3.c: Update from glibc.
3743 * soft-fp/addsf3.c: Likewise.
3744 * soft-fp/addtf3.c: Likewise.
3745 * soft-fp/divdf3.c: Likewise.
3746 * soft-fp/divsf3.c: Likewise.
3747 * soft-fp/divtf3.c: Likewise.
3748 * soft-fp/double.h: Likewise.
3749 * soft-fp/eqdf2.c: Likewise.
3750 * soft-fp/eqsf2.c: Likewise.
3751 * soft-fp/eqtf2.c: Likewise.
3752 * soft-fp/extenddftf2.c: Likewise.
3753 * soft-fp/extended.h: Likewise.
3754 * soft-fp/extendsfdf2.c: Likewise.
3755 * soft-fp/extendsftf2.c: Likewise.
3756 * soft-fp/extendxftf2.c: Likewise.
3757 * soft-fp/fixdfdi.c: Likewise.
3758 * soft-fp/fixdfsi.c: Likewise.
3759 * soft-fp/fixdfti.c: Likewise.
3760 * soft-fp/fixsfdi.c: Likewise.
3761 * soft-fp/fixsfsi.c: Likewise.
3762 * soft-fp/fixsfti.c: Likewise.
3763 * soft-fp/fixtfdi.c: Likewise.
3764 * soft-fp/fixtfsi.c: Likewise.
3765 * soft-fp/fixtfti.c: Likewise.
3766 * soft-fp/fixunsdfdi.c: Likewise.
3767 * soft-fp/fixunsdfsi.c: Likewise.
3768 * soft-fp/fixunsdfti.c: Likewise.
3769 * soft-fp/fixunssfdi.c: Likewise.
3770 * soft-fp/fixunssfsi.c: Likewise.
3771 * soft-fp/fixunssfti.c: Likewise.
3772 * soft-fp/fixunstfdi.c: Likewise.
3773 * soft-fp/fixunstfsi.c: Likewise.
3774 * soft-fp/fixunstfti.c: Likewise.
3775 * soft-fp/floatdidf.c: Likewise.
3776 * soft-fp/floatdisf.c: Likewise.
3777 * soft-fp/floatditf.c: Likewise.
3778 * soft-fp/floatsidf.c: Likewise.
3779 * soft-fp/floatsisf.c: Likewise.
3780 * soft-fp/floatsitf.c: Likewise.
3781 * soft-fp/floattidf.c: Likewise.
3782 * soft-fp/floattisf.c: Likewise.
3783 * soft-fp/floattitf.c: Likewise.
3784 * soft-fp/floatundidf.c: Likewise.
3785 * soft-fp/floatundisf.c: Likewise.
3786 * soft-fp/floatunditf.c: Likewise.
3787 * soft-fp/floatunsidf.c: Likewise.
3788 * soft-fp/floatunsisf.c: Likewise.
3789 * soft-fp/floatunsitf.c: Likewise.
3790 * soft-fp/floatuntidf.c: Likewise.
3791 * soft-fp/floatuntisf.c: Likewise.
3792 * soft-fp/floatuntitf.c: Likewise.
3793 * soft-fp/gedf2.c: Likewise.
3794 * soft-fp/gesf2.c: Likewise.
3795 * soft-fp/getf2.c: Likewise.
3796 * soft-fp/ledf2.c: Likewise.
3797 * soft-fp/lesf2.c: Likewise.
3798 * soft-fp/letf2.c: Likewise.
3799 * soft-fp/muldf3.c: Likewise.
3800 * soft-fp/mulsf3.c: Likewise.
3801 * soft-fp/multf3.c: Likewise.
3802 * soft-fp/negdf2.c: Likewise.
3803 * soft-fp/negsf2.c: Likewise.
3804 * soft-fp/negtf2.c: Likewise.
3805 * soft-fp/op-1.h: Likewise.
3806 * soft-fp/op-2.h: Likewise.
3807 * soft-fp/op-4.h: Likewise.
3808 * soft-fp/op-8.h: Likewise.
3809 * soft-fp/op-common.h: Likewise.
3810 * soft-fp/quad.h: Likewise.
3811 * soft-fp/single.h: Likewise.
3812 * soft-fp/soft-fp.h: Likewise.
3813 * soft-fp/subdf3.c: Likewise.
3814 * soft-fp/subsf3.c: Likewise.
3815 * soft-fp/subtf3.c: Likewise.
3816 * soft-fp/truncdfsf2.c: Likewise.
3817 * soft-fp/trunctfdf2.c: Likewise.
3818 * soft-fp/trunctfsf2.c: Likewise.
3819 * soft-fp/trunctfxf2.c: Likewise.
3820 * soft-fp/unorddf2.c: Likewise.
3821 * soft-fp/unordsf2.c: Likewise.
3822 * soft-fp/unordtf2.c: Likewise.
3823
3824 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3825
3826 PR gcov-profile/67097
3827 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3828
3829 2016-08-10 Martin Liska <mliska@suse.cz>
3830
3831 PR gcov-profile/58306
3832 * Makefile.in: New functions (modules) are added.
3833 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3834 function.
3835 (__gcov_pow2_profiler_atomic): New function.
3836 (__gcov_one_value_profiler_body): New argument is instroduced.
3837 (__gcov_one_value_profiler): Call with the new argument.
3838 (__gcov_one_value_profiler_atomic): Likewise.
3839 (__gcov_indirect_call_profiler_v2): Likewise.
3840 (__gcov_time_profiler_atomic): New function.
3841 (__gcov_average_profiler_atomic): Likewise.
3842 (__gcov_ior_profiler_atomic): Likewise.
3843 * libgcov.h: Declare the aforementioned functions.
3844
3845 2016-08-09 Martin Liska <mliska@suse.cz>
3846
3847 * libgcov-util.c: Fix typo and GNU coding style.
3848
3849 2016-08-09 Martin Liska <mliska@suse.cz>
3850
3851 * Makefile.in: Remove __gcov_indirect_call_profiler.
3852 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3853 function.
3854 * libgcov.h: And the declaration of the function.
3855
3856 2016-08-09 Martin Liska <mliska@suse.cz>
3857
3858 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3859 power of two.
3860
3861 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3862
3863 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3864 * config/rs6000/_mulkc3.c: Likewise.
3865
3866 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3867
3868 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3869 zero_reg as previous call to __umulhisi3 already cleared it.
3870
3871 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3872
3873 PR target/59833
3874 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3875
3876 2016-07-19 Nick Clifton <nickc@redhat.com>
3877
3878 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3879 Add crtinit.o and crtfini.o to extra_parts.
3880
3881 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3882
3883 * config/rs6000/_divkc3.c: New.
3884 * config/rs6000/_mulkc3.c: New.
3885 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3886 and _divkc3.
3887 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3888 fp128_ppc_funcs.
3889
3890 2016-07-11 Hale Wang <hale.wang@arm.com>
3891 Andre Vieira <andre.simoesdiasvieira@arm.com>
3892
3893 * config/arm/lib1funcs.S: Add new wrapper.
3894
3895 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3896
3897 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3898
3899 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3900
3901 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3902 and ARMv5t* rather than for a fixed list of architectures.
3903
3904 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3905
3906 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3907 implementation suitable for.
3908 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3909 for all Thumb-1 only targets.
3910 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3911 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3912 __ARM_ARCH_6M__.
3913 (EQUIV): Likewise.
3914 (ARM_FUNC_ALIAS): Likewise.
3915 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3916 version.
3917 (modsi3): Likewise.
3918 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3919 (clzdi2): Likewise.
3920 (ctzsi2): Likewise.
3921 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3922 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3923 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3924 __ARM_ARCH_6M__ and add comment to indicate the connection between
3925 this condition and the one in gcc/config/arm/elf.h.
3926 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3927 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3928 * config/arm/t-softfp: Likewise.
3929
3930 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3931
3932 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3933 CTOR_LISTS_DEFINED_EXTERNALLY.
3934
3935 2016-06-28 Walter Lee <walt@tilera.com>
3936
3937 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3938 asm/unistd.h.
3939 (SPR_CMPEXCH_VALUE): Define for tilegx.
3940 (__NR_FAST_cmpxchg): Define for tilepro.
3941 (__NR_FAST_atomic_update): Define for tilepro.
3942 (__NR_FAST_cmpxchg64): Define for tilepro.
3943
3944 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3945
3946 * config.host: Add suport for arm*-*-phoenix* targets.
3947
3948 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3949
3950 * config.host: Remove support for mep-*.
3951 * config/mep/lib1funcs.S: Remove.
3952 * config/mep/lib2funcs.c: Remove.
3953 * config/mep/t-mep: Remove.
3954 * config/mep/tramp.c: Remove.
3955
3956 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3957
3958 * config.host: Remove support for avr-rtems.
3959 * config/avr/t-rtems: Remove.
3960
3961 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3962
3963 * config.host: Remove m32r-rtems support.
3964
3965 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3966
3967 * config.host: Remove h8300-rtems support.
3968
3969 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3970
3971 * config.host: Remove support for knetbsd.
3972
3973 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3974
3975 * config.host: Remove support for openbsd 2 and 3.
3976
3977 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3978
3979 * config.host: Remove interix support.
3980 * config/i386/t-interix: Remove.
3981
3982 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
3983
3984 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3985 least-significant bit in function pointer for fixup.
3986
3987 2016-06-05 Aaron Conole <aconole@redhat.com>
3988 Nathan Sidwell <nathan@acm.org>
3989
3990 PR libgcc/71400
3991 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3992 (get_gcov_error_file): Check __gcov_error_file before trying to
3993 initialize it.
3994 (gcov_error): Always use get_gcov_error_file.
3995
3996 2016-06-02 Aaron Conole <aconole@redhat.com>
3997
3998 * libgcov-driver-system.c (__gcov_error_file): New.
3999 (get_gcov_error_file): New.
4000 (gcov_error): Use and set __gcov_error_file.
4001 (gcov_error_exit): New.
4002 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4003
4004 2016-05-26 Nathan Sidwell <nathan@acm.org>
4005
4006 * config/nvptx/free.asm: Delete.
4007 * config/nvptx/malloc.asm: Delete.
4008 * config/nvptx/realloc.c: Delete.
4009 * t-nvptx: Update.
4010
4011 2016-05-25 Nathan Sidwell <nathan@acm.org>
4012
4013 * config/nvptx/crt0.s: Delete.
4014 * config/nvptx/crt0.c: New.
4015 * t-nvptx: Update.
4016
4017 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4018
4019 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4020 dw2/seh configuration.
4021 [x86_64-*-mingw*]: Likewise.
4022
4023 2016-05-10 Joel Sherrill <joel@rtems.org>
4024
4025 PR libgcc/70720
4026 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4027 targets so the same extra_parts are built. Also have tmake_file add
4028 on to its value rather than override.
4029
4030 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4031
4032 * config.host: Remove SH5 support.
4033 * configure: Likewise.
4034
4035 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4036
4037 * config/sh/crt1.S: Remove SH5 support.
4038 * config/sh/crti.S: Likewise.
4039 * config/sh/crtn.S: Likewise.
4040 * config/sh/lib1funcs-4-300.S: Likewise.
4041 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4042 * config/sh/lib1funcs.S: Likewise.
4043 * config/sh/linux-unwind.h: Likewise.
4044 * config/sh/t-sh64: Delete.
4045
4046 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4047
4048 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4049
4050 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4051 Joern Rennecke <joern.rennecke@embecosm.com>
4052
4053 * config/arc/crttls.S: New file.
4054 * config/arc/t-arc: New rule.
4055 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4056
4057 2016-04-25 Nick Clifton <nickc@redhat.com>
4058
4059 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4060 (__mspabi_cmpd): Likewise.
4061 * config/msp430/floathidf.c (__floathidf): Likewise.
4062 * config/msp430/floathisf.c (__floathisf): Likewise
4063 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4064 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4065 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4066 second parameter.
4067 (__ashrsi3): Likewise.
4068
4069 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4070
4071 * config/m68k/linux-atomic.c: Do not include unistd.h
4072
4073 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4074
4075 * config/arm/ieee754-df.S: Fix typos in comments.
4076
4077 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4078
4079 PR target/70381
4080 * configure.ac (powerpc*-*-linux*): Rework tests to build
4081 __float128 emulation routines to not depend on using #pragma GCC
4082 target to enable -mfloat128.
4083 * configure: Regnerate.
4084
4085 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4086
4087 PR target/67172
4088 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4089 __MINGW32__ is defined.
4090
4091 2016-03-28 James Bowman <james.bowman@ftdichip.com>
4092
4093 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4094
4095 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4096
4097 PR libgcc/70363
4098 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4099 built with an assembler that does not support ISA 3.0
4100 instructions, rename __extendkftf2_sw to __extendkftf2.
4101
4102 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4103
4104 PR target/38239
4105 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4106 call-clobbered registers.
4107 (internal_mcount): Remove __i386__ handling.
4108
4109 2016-02-26 Joel Sherrill <joel@rtems.org>
4110
4111 * config.host: Add x86_64-*-rtems*.
4112
4113 2016-02-26 Joel Sherrill <joel@rtems.org>
4114
4115 * libgcc/config.host: Add aarch64-*-rtems*.
4116
4117 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4118 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4119
4120 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4121 union of u64 and double.
4122 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4123 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4124 value.
4125 (FP_ROUNDMODE): Update the usage of _fpscr.
4126
4127 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4128
4129 PR driver/68463
4130 * Makefile.in (crtoffloadtable$(objext)): New rule.
4131 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4132 enable_offload_targets is not empty.
4133 * configure: Regenerate.
4134 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4135 crtoffloadtable.
4136
4137 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4138
4139 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4140 .literal_position before the function.
4141 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4142 Likewise.
4143
4144 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4145
4146 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4147 * config/s390/morestack.S: New file.
4148 * config/s390/t-stack-s390: New file.
4149 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4150
4151 2016-02-12 Walter Lee <walt@tilera.com>
4152
4153 * config.host (tilegx*-*-linux*): remove ti from
4154 softfp_int_modes for 32-bit configs.
4155
4156 2016-02-10 Ian Lance Taylor <iant@google.com>
4157
4158 PR go/68562
4159 * config/i386/morestack.S (__stack_split_initialize): Align
4160 stack.
4161
4162 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4163
4164 PR bootstrap/69611
4165 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4166 __FLOAT128__ to compile only for __float128 capable targets.
4167
4168 2016-01-25 Jakub Jelinek <jakub@redhat.com>
4169
4170 PR target/69444
4171 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4172 instead of ___NO_FPRS__.
4173
4174 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
4175 Steven Munroe <munroesj@linux.vnet.ibm.com>
4176 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4177
4178 * config/rs6000/float128-sed: New files to convert TF names to KF
4179 names for PowerPC IEEE 128-bit floating point support.
4180 * config/rs6000/float128-sed-hw: Likewise.
4181
4182 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4183 floating point hardware support.
4184
4185 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4186 128-bit floating point software emulation or use ISA 3.0 hardware
4187 support if it is available.
4188
4189 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4190 floating point.
4191
4192 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4193 floating point to IBM extended double.
4194
4195 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4196 double to IEEE 128-bit floating point.
4197
4198 * config/rs6000/t-float128: New Makefile fragments to enable
4199 building __float128 emulation support.
4200 * config/rs6000/t-float128-hw: Likewise.
4201
4202 * config/rs6000/sfp-exceptions.c: New file to provide exception
4203 support for IEEE 128-bit floating point.
4204
4205 * config/rs6000/floattikf.c: New files for converting between IEEE
4206 128-bit floating point and signed/unsigned 128-bit integers.
4207 * config/rs6000/fixunskfti.c: Likewise.
4208 * config/rs6000/fixkfti.c: Likewise.
4209 * config/rs6000/floatuntikf.c: Likewise.
4210
4211 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4212 when building on 64-bit systems, or when VSX is enabled.
4213 (_FP_W_TYPE): Likewise.
4214 (_FP_WS_TYPE): Likewise.
4215 (_FP_I_TYPE): Likewise.
4216 (TItype): Define on 64-bit systems.
4217 (UTItype): Likewise.
4218 (TI_BITS): Likewise.
4219 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4220 (_FP_MUL_MEAT_Q): Likewise.
4221 (_FP_DIV_MEAT_D): Likewise.
4222 (_FP_DIV_MEAT_Q): Likewise.
4223 (_FP_NANFRAC_D): Likewise.
4224 (_FP_NANFRAC_Q): Likewise.
4225 (ISA_BIT): Add exception support if we are being compiled on a
4226 machine with hardware floating point support to build the IEEE
4227 128-bit emulation functions.
4228 (FP_EX_INVALID): Likewise.
4229 (FP_EX_OVERFLOW): Likewise.
4230 (FP_EX_UNDERFLOW): Likewise.
4231 (FP_EX_DIVZERO): Likewise.
4232 (FP_EX_INEXACT): Likewise.
4233 (FP_EX_ALL): Likewise.
4234 (__sfp_handle_exceptions): Likewise.
4235 (FP_HANDLE_EXCEPTIONS): Likewise.
4236 (FP_RND_NEAREST): Likewise.
4237 (FP_RND_ZERO): Likewise.
4238 (FP_RND_PINF): Likewise.
4239 (FP_RND_MINF): Likewise.
4240 (FP_RND_MASK): Likewise.
4241 (_FP_DECL_EX): Likewise.
4242 (FP_INIT_ROUNDMODE): Likewise.
4243 (FP_ROUNDMODE): Likewise.
4244
4245 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4246 VSX code, enable IEEE 128-bit floating point. If the compiler can
4247 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4248 floating point hardware instructions and it supports declaring
4249 functions with the ifunc attribute, enable ifunc functions to
4250 switch between software and hardware support.
4251 * configure.ac (powerpc*-*-linux*): Likewise.
4252 * configure: Regenerate.
4253
4254 2016-01-15 Nick Clifton <nickc@redhat.com>
4255
4256 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4257 dependency as the source file to be compiled.
4258 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4259 (lib2hw_mul_f5.o): Likewise.
4260
4261 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4262
4263 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4264 * libgcc/config/rs6000/fixkfti.c: Likewise.
4265 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4266 * libgcc/config/rs6000/float128-hw.c: Likewise.
4267 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4268 * libgcc/config/rs6000/float128-sed: Likewise.
4269 * libgcc/config/rs6000/floattikf.c: Likewise.
4270 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4271 * libgcc/config/rs6000/quad-float128.h: Likewise.
4272 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4273 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4274 * libgcc/config/rs6000/t-float128: Likewise.
4275 * libgcc/config/rs6000/t-float128-hw: Likewise.
4276 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4277 * libgcc/config.host: Likewise.
4278 * libgcc/configure: Likewise.
4279 * libgcc/configure.ac: Likewise.
4280
4281 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4282 Steven Munroe <munroesj@linux.vnet.ibm.com>
4283 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4284
4285 * config/rs6000/sfp-exceptions.c: New file to provide exception
4286 support for IEEE 128-bit floating point.
4287
4288 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4289 floating point hardware support.
4290
4291 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4292 point conversions.
4293 * config/rs6000/fixunskfti.c: Likewise.
4294 * config/rs6000/fixkfti.c: Likewise.
4295 * config/rs6000/floatuntikf.c: Likewise.
4296 * config/rs6000/extendkftf2-sw.c: Likewise.
4297 * config/rs6000/trunctfkf2-sw.c: Likewise.
4298
4299 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4300 128-bit floating point software emulation or use ISA 3.0 hardware
4301 support if it is available.
4302
4303 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4304 floating point.
4305
4306 * config/rs6000/t-float128: New Makefile fragments to enable
4307 building __float128 emulation support.
4308 * config/rs6000/t-float128-hw: Likewise.
4309
4310 * config/rs6000/float128-sed: New file to convert TF names to KF
4311 names for PowerPC IEEE 128-bit floating point support.
4312
4313 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4314 when building on 64-bit systems, or when VSX is enabled.
4315 (_FP_W_TYPE): Likewise.
4316 (_FP_WS_TYPE): Likewise.
4317 (_FP_I_TYPE): Likewise.
4318 (TItype): Define on 64-bit systems.
4319 (UTItype): Likewise.
4320 (TI_BITS): Likewise.
4321 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4322 (_FP_MUL_MEAT_Q): Likewise.
4323 (_FP_DIV_MEAT_D): Likewise.
4324 (_FP_DIV_MEAT_Q): Likewise.
4325 (_FP_NANFRAC_D): Likewise.
4326 (_FP_NANFRAC_Q): Likewise.
4327 (ISA_BIT): Add exception support if we are being compiled on a
4328 machine with hardware floating point support to build the IEEE
4329 128-bit emulation functions.
4330 (FP_EX_INVALID): Likewise.
4331 (FP_EX_OVERFLOW): Likewise.
4332 (FP_EX_UNDERFLOW): Likewise.
4333 (FP_EX_DIVZERO): Likewise.
4334 (FP_EX_INEXACT): Likewise.
4335 (FP_EX_ALL): Likewise.
4336 (__sfp_handle_exceptions): Likewise.
4337 (FP_HANDLE_EXCEPTIONS): Likewise.
4338 (FP_RND_NEAREST): Likewise.
4339 (FP_RND_ZERO): Likewise.
4340 (FP_RND_PINF): Likewise.
4341 (FP_RND_MINF): Likewise.
4342 (FP_RND_MASK): Likewise.
4343 (_FP_DECL_EX): Likewise.
4344 (FP_INIT_ROUNDMODE): Likewise.
4345 (FP_ROUNDMODE): Likewise.
4346
4347 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4348 compiler can do __float128.
4349 * configure: Regenerate.
4350
4351 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4352 VSX code, enable IEEE 128-bit floating point.
4353
4354 2016-01-05 Olivier Hainque <hainque@adacore.com>
4355
4356 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4357 specificities.
4358
4359 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4360
4361 Update copyright years.
4362
4363 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4364
4365 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4366 soft-fp targets.
4367
4368 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4369
4370 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4371 instead of abort to avoid dependency on stdlib.h.
4372
4373 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
4374
4375 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4376 to initialize call to __dl_fixup once.
4377
4378 2015-12-04 Nick Clifton <nickc@redhat.com>
4379
4380 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4381 Allow for the second argument being negative.
4382 * config.host (extra_parts): Define for MSP430. Create separate
4383 libraries for each of the hardware multiply formats.
4384 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4385 that are needed.
4386 * config/msp430/lib2mul.c: Likewise.
4387 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4388 Add rules to build hardware multiply libraries.
4389 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4390 __mspabi_divul function.
4391 (__mspabi_divllu): New stub function.
4392
4393 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
4394
4395 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4396 fixup values if saved GOT address doesn't match runtime address.
4397 (fixup_branch_offset): Reorder list.
4398
4399 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4400
4401 * Makefile.in (VTV_CFLAGS): New variable.
4402 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4403 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4404 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4405 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4406 to extra_parts if $enable_vtable_verify = yes.
4407
4408 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4409
4410 PR target/68059
4411 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4412 (write): ...this and fix the return type.
4413
4414 2015-11-19 DJ Delorie <dj@redhat.com>
4415
4416 * config/msp430/lib2hw_mul.S: Fix alignment.
4417
4418 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4419
4420 * config/nvptx/reduction.c: New.
4421 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4422
4423 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4424
4425 * config/rs6000/on_exit.c: New file.
4426 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4427 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4428
4429 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4430
4431 * config/arc/dp-hack.h: Add support for ARCHS.
4432 * config/arc/ieee-754/divdf3.S: Likewise.
4433 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4434 * config/arc/ieee-754/muldf3.S: Likewise.
4435 * config/arc/ieee-754/mulsf3.S: Likewise
4436 * config/arc/lib1funcs.S: Likewise
4437 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4438 for ARCv2 cores.
4439 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4440 for ARCv2 cores.
4441 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4442 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4443 cores.
4444
4445 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4446
4447 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4448 value.
4449 * config/ia64/crtend.S: Likewise.
4450
4451 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4452
4453 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4454 __CHAR_BIT__ instead of BITS_PER_UNIT.
4455 * fixed-bit.h: Likewise.
4456 * fp-bit.h: Likewise.
4457 * libgcc2.c (__popcountSI2): Likewise.
4458 (__popcountDI2): Likewise.
4459 * libgcc2.h: Likewise.
4460 * libgcov.h: Likewise.
4461
4462 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4463
4464 * config/rs6000/atexit.c: New file.
4465 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4466 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4467 * config/rs6000/cxa_finalize.c
4468 (catomic_compare_and_exchange_bool_acq): Negate return value.
4469
4470 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4471
4472 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4473 (processor_subtypes): Add znver1.
4474 (get_amd_cpu): Detect znver1.
4475
4476 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4477
4478 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4479 Include crtfastmath.o.
4480
4481 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4482
4483 PR libgcc/66883
4484 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4485
4486 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4487
4488 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4489 * config/rl78/divmodsi.S: Update return register to r8.
4490 * config/rl78/divmodhi.S: Update return register to r8,r9.
4491 Branch to main_loop_done_himode to pop registers before return.
4492
4493 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4494
4495 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4496 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4497
4498 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4499
4500 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4501
4502 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4503
4504 * config.host (xtensa*-*-uclinux*): New configuration.
4505
4506 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4507
4508 * config/i386/cpuinfo.c (processor_features): Add
4509 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4510
4511 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4512
4513 * soft-fp/adddf3.c: Update from glibc.
4514 * soft-fp/addsf3.c: Likewise.
4515 * soft-fp/addtf3.c: Likewise.
4516 * soft-fp/divdf3.c: Likewise.
4517 * soft-fp/divsf3.c: Likewise.
4518 * soft-fp/divtf3.c: Likewise.
4519 * soft-fp/double.h: Likewise.
4520 * soft-fp/eqdf2.c: Likewise.
4521 * soft-fp/eqsf2.c: Likewise.
4522 * soft-fp/eqtf2.c: Likewise.
4523 * soft-fp/extenddftf2.c: Likewise.
4524 * soft-fp/extended.h: Likewise.
4525 * soft-fp/extendsfdf2.c: Likewise.
4526 * soft-fp/extendsftf2.c: Likewise.
4527 * soft-fp/extendxftf2.c: Likewise.
4528 * soft-fp/fixdfdi.c: Likewise.
4529 * soft-fp/fixdfsi.c: Likewise.
4530 * soft-fp/fixdfti.c: Likewise.
4531 * soft-fp/fixsfdi.c: Likewise.
4532 * soft-fp/fixsfsi.c: Likewise.
4533 * soft-fp/fixsfti.c: Likewise.
4534 * soft-fp/fixtfdi.c: Likewise.
4535 * soft-fp/fixtfsi.c: Likewise.
4536 * soft-fp/fixtfti.c: Likewise.
4537 * soft-fp/fixunsdfdi.c: Likewise.
4538 * soft-fp/fixunsdfsi.c: Likewise.
4539 * soft-fp/fixunsdfti.c: Likewise.
4540 * soft-fp/fixunssfdi.c: Likewise.
4541 * soft-fp/fixunssfsi.c: Likewise.
4542 * soft-fp/fixunssfti.c: Likewise.
4543 * soft-fp/fixunstfdi.c: Likewise.
4544 * soft-fp/fixunstfsi.c: Likewise.
4545 * soft-fp/fixunstfti.c: Likewise.
4546 * soft-fp/floatdidf.c: Likewise.
4547 * soft-fp/floatdisf.c: Likewise.
4548 * soft-fp/floatditf.c: Likewise.
4549 * soft-fp/floatsidf.c: Likewise.
4550 * soft-fp/floatsisf.c: Likewise.
4551 * soft-fp/floatsitf.c: Likewise.
4552 * soft-fp/floattidf.c: Likewise.
4553 * soft-fp/floattisf.c: Likewise.
4554 * soft-fp/floattitf.c: Likewise.
4555 * soft-fp/floatundidf.c: Likewise.
4556 * soft-fp/floatundisf.c: Likewise.
4557 * soft-fp/floatunditf.c: Likewise.
4558 * soft-fp/floatunsidf.c: Likewise.
4559 * soft-fp/floatunsisf.c: Likewise.
4560 * soft-fp/floatunsitf.c: Likewise.
4561 * soft-fp/floatuntidf.c: Likewise.
4562 * soft-fp/floatuntisf.c: Likewise.
4563 * soft-fp/floatuntitf.c: Likewise.
4564 * soft-fp/gedf2.c: Likewise.
4565 * soft-fp/gesf2.c: Likewise.
4566 * soft-fp/getf2.c: Likewise.
4567 * soft-fp/ledf2.c: Likewise.
4568 * soft-fp/lesf2.c: Likewise.
4569 * soft-fp/letf2.c: Likewise.
4570 * soft-fp/muldf3.c: Likewise.
4571 * soft-fp/mulsf3.c: Likewise.
4572 * soft-fp/multf3.c: Likewise.
4573 * soft-fp/negdf2.c: Likewise.
4574 * soft-fp/negsf2.c: Likewise.
4575 * soft-fp/negtf2.c: Likewise.
4576 * soft-fp/op-1.h: Likewise.
4577 * soft-fp/op-2.h: Likewise.
4578 * soft-fp/op-4.h: Likewise.
4579 * soft-fp/op-8.h: Likewise.
4580 * soft-fp/op-common.h: Likewise.
4581 * soft-fp/quad.h: Likewise.
4582 * soft-fp/single.h: Likewise.
4583 * soft-fp/soft-fp.h: Likewise.
4584 * soft-fp/subdf3.c: Likewise.
4585 * soft-fp/subsf3.c: Likewise.
4586 * soft-fp/subtf3.c: Likewise.
4587 * soft-fp/truncdfsf2.c: Likewise.
4588 * soft-fp/trunctfdf2.c: Likewise.
4589 * soft-fp/trunctfsf2.c: Likewise.
4590 * soft-fp/trunctfxf2.c: Likewise.
4591 * soft-fp/unorddf2.c: Likewise.
4592 * soft-fp/unordsf2.c: Likewise.
4593 * soft-fp/unordtf2.c: Likewise.
4594
4595 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4596
4597 PR libgcc/67624
4598 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4599
4600 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4601
4602 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4603 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4604 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4605 messages.
4606 (internal_mcount): Likewise.
4607 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4608 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4609
4610 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4611
4612 * configure.ac (libgcc_cv_solaris_crts): New test.
4613 * configure: Regenerate.
4614 * config.in: Regenerate.
4615 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4616 * config/gmon-sol2.c: Rename to ...
4617 * config/sol2/gmon.c: ... this.
4618 Include auto-target.h.
4619 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4620 * config/t-sol2: Rename to ...
4621 * config/sol2/t-sol2: ... this.
4622 (gmon.o): Reflect renaming.
4623 (crtp.o, crtpg.o): New rules.
4624 * config.host (*-*-solaris2*): Reflect renaming.
4625 Use system CRTs if present.
4626 Remove default CRT case.
4627
4628 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4629
4630 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4631 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4632 __kernel_cmpxchg2.
4633 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4634 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4635 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4636 (__sync_lock_test_and_set_##WIDTH): Likewise.
4637 (__sync_lock_release_##WIDTH): Likewise.
4638 (__sync_fetch_and_##OP##_4): Change result to match type of
4639 __kernel_cmpxchg.
4640 (__sync_##OP##_and_fetch_4): Likewise.
4641 (__sync_val_compare_and_swap_4): Likewise.
4642 (__sync_bool_compare_and_swap_4): likewise.
4643 (__sync_lock_test_and_set_4): Likewise.
4644 (__sync_lock_release_4): Likewise.
4645 (FETCH_AND_OP_2): Add long long variants.
4646 (OP_AND_FETCH_2): Likewise.
4647 (COMPARE_AND_SWAP_2 ): Likewise.
4648 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4649 (SYNC_LOCK_RELEASE_2): Likewise.
4650 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4651
4652 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4653
4654 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4655 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4656 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4657 (get_available_features): Habdle new features.
4658
4659 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4660
4661 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4662 memory layout. Deal correctly with BSS region larger than 32K.
4663 Handle a watchdog reset like a power-on reset. Clean up unused
4664 code.
4665
4666 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4667 David Edelsohn <dje.gcc@gmail.com>
4668
4669 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4670 * config/rs6000/crtdbase.S: New file.
4671 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4672
4673 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4674
4675 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4676 Add support for call0 ABI.
4677
4678 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4679
4680 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4681
4682 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4683
4684 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4685 (__GTHREAD_HAS_COND): Likewise.
4686 (__gthread_t): Likewise.
4687 (__gthread_cond_t): Likewise.
4688 (__gthread_time_t): Likewise.
4689 (__GTHREAD_MUTEX_INIT): Likewise.
4690 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4691 (__GTHREAD_COND_INIT): Likewise.
4692 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4693 (__GTHREAD_TIME_INIT): Likewise.
4694 (__gthread_create): Likewise.
4695 (__gthread_join): Likewise.
4696 (__gthread_detach): Likewise.
4697 (__gthread_equal): Likewise.
4698 (__gthread_self): Likewise.
4699 (__gthread_yield): Likewise.
4700 (__gthread_cond_broadcast): Likewise.
4701 (__gthread_cond_signal): Likewise.
4702 (__gthread_cond_wait): Likewise.
4703 (__gthread_cond_timedwait): Likewise.
4704 (__gthread_cond_wait_recursive): Likewise.
4705 (__gthread_cond_destroy): Likewise.
4706 (rtems_gxx_once): Delete.
4707 (rtems_gxx_key_create): Likewise.
4708 (rtems_gxx_key_delete): Likewise.
4709 (rtems_gxx_getspecific): Likewise.
4710 (rtems_gxx_setspecific): Likewise.
4711 (rtems_gxx_mutex_init): Likewise.
4712 (rtems_gxx_mutex_destroy): Likewise.
4713 (rtems_gxx_mutex_lock): Likewise.
4714 (rtems_gxx_mutex_trylock): Likewise.
4715 (rtems_gxx_mutex_unlock): Likewise.
4716 (rtems_gxx_recursive_mutex_init): Likewise.
4717 (rtems_gxx_recursive_mutex_lock): Likewise.
4718 (rtems_gxx_recursive_mutex_trylock): Likewise.
4719 (rtems_gxx_recursive_mutex_unlock): Likewise.
4720 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4721 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4722 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4723 (__gthread_once): Likewise.
4724 (__gthread_key_create): Likewise.
4725 (__gthread_key_delete): Likewise.
4726 (__gthread_getspecific): Likewise.
4727 (__gthread_setspecific): Likewise.
4728 (__gthread_key_t): Use <pthread.h> type.
4729 (__gthread_once_t): Likewise
4730 (__gthread_mutex_t): Use <sys/lock.h> type.
4731 (__gthread_recursive_mutex_t): Likewise
4732 (__gthread_mutex_lock): Use <sys/lock.h> function.
4733 (__gthread_mutex_trylock): Likewise.
4734 (__gthread_mutex_timedlock): Likewise.
4735 (__gthread_mutex_unlock): Likewise.
4736 (__gthread_mutex_destroy): Likewise.
4737 (__gthread_recursive_mutex_lock): Likewise.
4738 (__gthread_recursive_mutex_trylock): Likewise.
4739 (__gthread_recursive_mutex_timedlock): Likewise.
4740 (__gthread_recursive_mutex_unlock): Likewise.
4741 (__gthread_recursive_mutex_destroy): Likewise.
4742
4743 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4744
4745 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4746 context->sp instead of context->cfa.
4747
4748 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4749
4750 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4751 with unwind-dw2-fde-dip.
4752
4753 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4754
4755 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4756 CALL12 followed by series of ENTRY to spill windowed registers.
4757 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4758 instead of making linux spill syscall.
4759
4760 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4761
4762 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4763 (get_intel_cpu): Likewise.
4764
4765 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4766
4767 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4768 (get_intel_cpu): Add Knights Landing support.
4769
4770 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4771
4772 PR target/66954
4773 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4774 (get_available_features): Handle FEATURE_PCLMUL.
4775
4776 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4777
4778 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4779 Broadwell.
4780
4781 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4782
4783 PR target/66954
4784 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4785 (get_available_features): Handle FEATURE_AES.
4786
4787 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4788
4789 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4790 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4791
4792 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4793
4794 * offloadstuff.c: Constify host data.
4795
4796 2015-07-17 Jan Beulich <jbeulich@suse.com>
4797
4798 * config/t-softfp: Split up "else ifneq".
4799
4800 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4801 Cesar Philippidis <cesar@codesourcery.com>
4802 Chung-Lin Tang <cltang@codesourcery.com>
4803
4804 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4805 for __nios2_arch__ level.
4806
4807 2015-07-13 John Marino <gnugcc@marino.st>
4808
4809 * config/i386/t-dragonfly: New.
4810
4811 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4812
4813 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4814 better match light-weight syscall argument order.
4815 (__kernel_cmpxchg2): Likewise.
4816 Adjust callers.
4817
4818 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4819
4820 * config.host: Support i[34567]86-*-elfiamcu target.
4821 * config/t-softfp-sfdftf: New file.
4822 * config/i386/32/t-iamcu: Likewise.
4823 * configure: Regenerated.
4824
4825 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4826
4827 libgcc/config/arm/
4828 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4829
4830 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4831
4832 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4833
4834 2015-05-27 John Marino <gnugcc@marino.st>
4835
4836 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4837 md_unwind_header
4838 * config/i386/freebsd-unwind.h: New.
4839
4840 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4841
4842 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4843 i386/t-crtfm to tmake_file.
4844 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4845 (set_fast_math): Use set_fast_math_sse for SSE targets.
4846 * config/i386/t-crtfm: Remove.
4847
4848 2015-05-21 Alan Modra <amodra@gmail.com>
4849
4850 PR libgcc/66225
4851 * config/rs6000/morestack.S: Remove ".abiversion 1".
4852
4853 2015-05-20 Alan Modra <amodra@gmail.com>
4854
4855 * config/rs6000/morestack.S: New.
4856 * config/rs6000/t-stack-rs6000: New.
4857 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4858 to tmake_file.
4859 * generic-morestack.c: Don't build for powerpc 32-bit.
4860
4861 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4862
4863 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4864 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4865
4866 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4867
4868 * config.host: FT32 target added.
4869 * config/ft32/*: New files for FT32 target.
4870
4871 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4872
4873 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4874 New macros.
4875 * config/arm/ieee754-df.S: Add CFI directives.
4876 * config/arm/ieee754-sf.S: Add CFI directives.
4877
4878 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4879
4880 * configure.ac: Include config/sjlj.m4.
4881 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4882 * config.in: Regenerate.
4883 * configure: Likewise.
4884 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4885
4886 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4887
4888 * libgcov-util.c: Add space between string literal and macro name.
4889
4890 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4891 Chris Jones <chrisj@nvidia.com>
4892 Joshua Conner <jconner@nvidia.com>
4893
4894 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4895 (arm*-*-uclinux*): Likewise.
4896 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4897 * config/arm/crtfastmath.c: New file.
4898
4899 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4900
4901 * Makefile.in (real_host_noncanonical): New variable.
4902 (libsubdir): Use it.
4903 * configure.ac (real_host_noncanonical): Compute. Remove special
4904 case for intelmicemul.
4905 * configure: Regenerate.
4906
4907 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4908
4909 * config/frv/elf-lib.h: New file.
4910 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4911 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4912 to tm_file.
4913
4914 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4915
4916 * config/frv/frvbengin.c: Do not include defaults.h
4917 * config/frv/frvend.c: Ditto.
4918
4919 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4920
4921 * config.host: Add h8300-*-linux
4922 * config/h8300/t-linux: New file.
4923 * config/h8300/lib1funs.s: Change symbol prefix.
4924 * config/h8300/sfp-machine.h: 64bit double support.
4925
4926 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4927 Szabolcs Nagy <szabolcs.nagy@arm.com>
4928
4929 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4930 Linux if target provides dl_iterate_phdr.
4931
4932 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4933
4934 PR target/65612
4935 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4936 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4937 (__cpu_indicator_init@GCC_4.8.0): New.
4938 (__cpu_model@GCC_4.8.0): Likewise.
4939 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4940 -DUSE_ELF_SYMVER.
4941
4942 2015-04-16 Nick Clifton <nickc@redhat.com>
4943
4944 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4945 and __modhi3 functions.
4946 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4947 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4948
4949 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4950
4951 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4952 do-while loop as macro body to avoid warnings.
4953
4954 2015-04-10 Jakub Jelinek <jakub@redhat.com>
4955 Iain Sandoe <iain@codesourcery.com>
4956
4957 PR target/65351
4958 * configure: Regenerate.
4959
4960 2015-04-07 Jakub Jelinek <jakub@redhat.com>
4961 Iain Sandoe <iain@codesourcery.com>
4962
4963 PR target/65351
4964 * configure: Regenerate.
4965
4966 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4967
4968 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4969
4970 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
4971
4972 Implement call0 ABI for xtensa
4973 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4974 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4975 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4976 use ret in call0 ABI.
4977 * config/xtensa/t-windowed: New file.
4978 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4979 * libgcc/configure: Regenerated.
4980 * libgcc/configure.ac: Check if xtensa target is configured for
4981 windowed ABI and thus needs to use custom unwind code.
4982
4983 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
4984
4985 PR libgcc/64885
4986 * gthr-single.h: Use __unused__ attribute instead of unused.
4987 * config/gthr-vxworks.h: Likewise.
4988 * config/i386/gthr-win32.h: Likewise.
4989
4990 2015-02-27 Kai Tietz <ktietz@redhat.com>
4991
4992 PR target/65038
4993 * config.in: Regenerated.
4994 * configure: Likewise.
4995 * configure.ac (AC_HEADER_STDC): Added explicit.
4996 (AC_CHECK_HEADERS): Check for default headers plus
4997 for ftw.h header.
4998 * libgcov-util.c (gcov_read_profile_dir): Disable use
4999 of ftw-function, if header is not found.
5000 (ftw_read_file): Likewise.
5001
5002 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5003
5004 PR target/65181
5005 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5006 -Dinhibit_libc.
5007
5008 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5009
5010 * config/arm/bpabi.S (test_div_by_zero): Make label names
5011 consistent between thumb2 and arm mode cases. Separate the
5012 signed comparison on the high word of the numerator from the
5013 unsigned comparison on the low word.
5014 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5015 signed comparison.
5016
5017 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5018
5019 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5020 and <string.h>.
5021 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5022
5023 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5024
5025 PR gcov-profile/61889
5026 * libgcov-driver-system.c: undefine clashing macro for mkdir.
5027
5028 2015-02-02 Nick Clifton <nickc@redhat.com>
5029
5030 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5031 rounding up the fraction.
5032
5033 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
5034
5035 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5036 oldval and newval to const void *. Fix typo.
5037 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5038 (FETCH_AND_OP_WORD): Likewise.
5039 (OP_AND_FETCH_WORD): Likewise.
5040 (COMPARE_AND_SWAP_2): Likewise.
5041 (__sync_val_compare_and_swap_4): Likewise.
5042 (__sync_lock_test_and_set_4): Likewise.
5043 (SYNC_LOCK_RELEASE_2): Likewise.
5044 Remove support for long long atomic operations.
5045
5046 2015-01-27 Caroline Tice <cmtice@google.com>
5047
5048 Committing VTV Cywin/Ming patch for Patrick Wollgast
5049 * Makefile.in: Move rules to build vtv_*.o out of the check
5050 for CUSTOM_CRTSTUFF.
5051 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5052 i[34567]86-*-mingw*)
5053 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5054 enable_vtable_verify.
5055
5056 2015-01-27 Nick Clifton <nickc@redhat.com>
5057
5058 * config/rl78/cmpsi2.S: Use function start and end macros.
5059 (__gcc_bcmp): New function.
5060 * config/rl78/lshrsi3.S: Use function start and end macros.
5061 * config/rl78/mulsi3.S: Add support for G10.
5062 (__mulqi3): New function for G10.
5063 * config/rl78/signbit.S: Use function start and end macros.
5064 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5065 fpmath-sf.S.
5066 (LIB2FUNCS_EXCLUDE): Define.
5067 (LIB2FUNCS_ST): Define.
5068 * config/rl78/trampoline.S: Use function start and end macros.
5069 * config/rl78/vregs.h (START_FUNC): New macro.
5070 (START_ANOTHER_FUNC): New macro.
5071 (END_FUNC): New macro.
5072 (END_ANOTHER_FUNC): New macro.
5073 * config/rl78/bit-count.S: New file. Contains assembler
5074 implementations of the bit counting functions: ___clzhi2,
5075 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5076 __paritysi2, __popcounthi2 and __popcountsi2.
5077 * config/rl78/fpbit-sf.S: New file. Contains assembler
5078 implementationas of the math functions: __negsf2, __cmpsf2,
5079 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5080 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5081 * config/rl78/fpmath-sf.S: New file. Contains assembler
5082 implementations of the math functions: __subsf3, __addsf3,
5083 __mulsf3 and __divsf3
5084
5085 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5086
5087 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5088 Add i386/elf-lib.h to tm_file.
5089 * config/i386/elf-lib.h: Fix comment.
5090 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5091 && __sun__ && __svr4__]: Remove workaround.
5092
5093 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5094
5095 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5096 FEATURE_BMI2.
5097 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5098
5099 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5100
5101 * config/i386/cpuinfo.c (processor_subtypes): Add
5102 INTEL_COREI7_BROADWELL.
5103 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5104 model numbers.
5105
5106 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
5107
5108 * config/i386/elf-lib.h: New file.
5109 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5110 Wrap definition in #ifdef __i386__.
5111 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5112 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5113 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5114 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5115 to tm_file.
5116
5117 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5118
5119 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5120 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5121
5122 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5123
5124 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5125 Update rt_sigframe format and address for current Nios II
5126 Linux conventions.
5127
5128 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5129
5130 * config.host (arm*-*-freebsd*): Add new configuration for
5131 arm*-*-freebsd*.
5132 * config/arm/freebsd-atomic.c: New file.
5133 * config/arm/t-freebsd: Likewise.
5134 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5135 'PC-relative indirect' OS's.
5136
5137 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5138
5139 * config.host: Add Visium support.
5140 * config/visium: New directory.
5141
5142 2015-01-05 Jakub Jelinek <jakub@redhat.com>
5143
5144 Update copyright years.
5145
5146 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5147
5148 * config.host: Support mipsisa32r6 and mipsisa64r6.
5149 * config/mips/mips16.S: Do not build for R6.
5150
5151 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5152
5153 * config/sh/crt.h: New.
5154 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5155 symbols.
5156 * config/sh/crt1.S: Likewise.
5157
5158 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
5159
5160 PR libgcc/63832
5161 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5162 func_ptr *dtor_list temporary variable to avoid "array subscript
5163 is above array bounds" warnings.
5164
5165 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
5166
5167 * Makefile.in (with_aix_soname): Define.
5168 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5169 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5170 * configure: Recreate.
5171
5172 2014-12-05 Olivier Hainque <hainque@adacore.com>
5173
5174 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5175 now provided by defaults.h.
5176
5177 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5178
5179 PR target/55351
5180 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5181 whether it's defined.
5182
5183 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5184
5185 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5186 * config/i386/cpuinfo.c (get_available_features): Detect it.
5187
5188 2014-11-27 Tony Wang <tony.wang@arm.com>
5189
5190 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5191 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5192 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5193
5194 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5195
5196 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5197
5198 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
5199
5200 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5201 instead.
5202
5203 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5204 John David Anglin <danglin@gcc.gnu.org>
5205
5206 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5207 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5208 (OP_AND_FETCH_2): Likewise.
5209 (COMPARE_AND_SWAP_2): Likewise.
5210 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5211 (SYNC_LOCK_RELEASE_2): Likewise.
5212 (SUBWORD_SYNC_OP): Remove.
5213 (SUBWORD_VAL_CAS): Likewise.
5214 (SUBWORD_BOOL_CAS): Likewise.
5215 (FETCH_AND_OP_WORD): Update.
5216 Consistently use signed types.
5217
5218 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5219 Thomas Schwinge <thomas@codesourcery.com>
5220 Ilya Verbin <ilya.verbin@intel.com>
5221 Andrey Turetskiy <andrey.turetskiy@intel.com>
5222
5223 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5224 (crtoffloadend$(objext)): Likewise.
5225 * configure: Regenerate.
5226 * configure.ac (accel_dir_suffix): Compute new variable.
5227 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5228 if enable_offload_targets is not empty.
5229 * offloadstuff.c: New file.
5230
5231 2014-11-13 Nick Clifton <nickc@redhat.com>
5232
5233 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5234 Use START_FUNC and END_FUNC macros to enable linker garbage
5235 collection.
5236 * config/rl78/divmodqi.S: Likewise.
5237 * config/rl78/divmodsi.S: Likewise.
5238 * config/rl78/mulsi3.S: Likewise.
5239 * config/rl78/lib2div.c: Remove G10 functions.
5240 * config/rl78/lib2muls.c: Likewise.
5241 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5242 * config/rl78/vregs.h (START_FUNC): New macro.
5243 (END_FUNC): New macro.
5244
5245 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5246
5247 * config/mips/mips16.S: Set .module when supported. Update O32
5248 FP64 calling convention and use for FPXX when possible. Add FPXX
5249 calling convention fallback case.
5250
5251 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5252
5253 * config.host: Handle nvptx-*-*.
5254 * shared-object.mk (as-flags-$o): Define.
5255 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5256 -xassembler-with-cpp.
5257 * static-object.mk: Identical changes.
5258 * config/nvptx/t-nvptx: New file.
5259 * config/nvptx/crt0.s: New file.
5260 * config/nvptx/free.asm: New file.
5261 * config/nvptx/malloc.asm: New file.
5262 * config/nvptx/realloc.c: New file.
5263
5264 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5265
5266 * Makefile.in (libgcc.map.in): New target.
5267 (libgcc.map): Use libgcc.map.in.
5268 * config/t-softfp (softfp_compat): New variable to be set by
5269 users.
5270 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5271 variables.
5272 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5273 directory.
5274 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5275 that use compat symbols and disable all code unless [SHARED].
5276 * config/t-softfp-compat: New file.
5277 * find-symver.awk: New file.
5278 * configure.ac (--with-glibc-version): New configure option.
5279 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5280 * configure: Regenerate.
5281 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5282 soft-float and e500.
5283
5284 2014-10-29 Joseph Myers <joseph@codesourcery.com>
5285
5286 * config/t-hardfp (hardfp_exclusions): Document new variable for
5287 user to define.
5288 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5289 * config/t-softfp (softfp_extras): Document new variable for user
5290 to define.
5291 (softfp_func_list): Add functions from $(softfp_extras).
5292 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5293 * config.host (powerpc*-*-linux*): For e500v1, use
5294 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5295 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5296 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5297
5298 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
5299
5300 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5301 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5302 memory read accesses are ok.
5303
5304 2014-10-25 Joseph Myers <joseph@codesourcery.com>
5305
5306 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5307 * configure: Regenerate.
5308 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5309 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5310 of soft-fp for 32-bit classic hard float. Do not use
5311 t-softfp-excl for soft float.
5312
5313 2014-10-22 Joseph Myers <joseph@codesourcery.com>
5314
5315 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5316 configurations.
5317 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5318 Remove variables.
5319
5320 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
5321
5322 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5323 introduced with 2014-10-21 trunk r216525.
5324
5325 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
5326 Vidya Praveen <vidya.praveen@atmel.com>
5327 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5328 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5329 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
5330
5331 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5332 order.
5333
5334 Updated library functions for AVRTINY arch.
5335 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5336 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5337 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5338 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5339 wsubi/wadi macors.
5340 (__mulsi3_helper): Update stack, preserve callee saved regs and
5341 argument from stack. Restore callee save registers.
5342 (__mulpsi3): Likewise.
5343 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5344 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5345 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5346 AVRTINY.
5347 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5348 (__do_copy_data): Added new definition for AVRTINY.
5349 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5350 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5351 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5352 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5353 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5354 macors.
5355 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5356 AVRTINY.
5357
5358 Fix broken long multiplication on tiny arch.
5359
5360 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5361
5362 * soft-fp/double.h: Update from glibc.
5363 * soft-fp/eqdf2.c: Likewise.
5364 * soft-fp/eqsf2.c: Likewise.
5365 * soft-fp/eqtf2.c: Likewise.
5366 * soft-fp/extenddftf2.c: Likewise.
5367 * soft-fp/extended.h: Likewise.
5368 * soft-fp/extendsfdf2.c: Likewise.
5369 * soft-fp/extendsftf2.c: Likewise.
5370 * soft-fp/extendxftf2.c: Likewise.
5371 * soft-fp/gedf2.c: Likewise.
5372 * soft-fp/gesf2.c: Likewise.
5373 * soft-fp/getf2.c: Likewise.
5374 * soft-fp/ledf2.c: Likewise.
5375 * soft-fp/lesf2.c: Likewise.
5376 * soft-fp/letf2.c: Likewise.
5377 * soft-fp/op-1.h: Likewise.
5378 * soft-fp/op-2.h: Likewise.
5379 * soft-fp/op-4.h: Likewise.
5380 * soft-fp/op-8.h: Likewise.
5381 * soft-fp/op-common.h: Likewise.
5382 * soft-fp/quad.h: Likewise.
5383 * soft-fp/single.h: Likewise.
5384 * soft-fp/soft-fp.h: Likewise.
5385 * soft-fp/unorddf2.c: Likewise.
5386 * soft-fp/unordsf2.c: Likewise.
5387 * soft-fp/unordtf2.c: Likewise.
5388 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5389 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5390 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5391 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5392 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5393 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5394 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5395 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5396 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5397 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5398
5399 2014-10-08 Rong Xu <xur@google.com>
5400
5401 * libgcov-util.c (read_gcda_file): Fix format.
5402 (find_match_gcov_info): Ditto.
5403 (calculate_2_entries): New.
5404 (compute_one_gcov): Ditto.
5405 (gcov_info_count_all_cold): Ditto.
5406 (gcov_info_count_all_zero): Ditto.
5407 (extract_file_basename): Ditto.
5408 (get_file_basename): Ditto.
5409 (set_flag): Ditto.
5410 (matched_gcov_info): Ditto.
5411 (calculate_overlap): Ditto.
5412 (gcov_profile_overlap): Ditto.
5413 * libgcov-driver.c (compute_summary): Make
5414 it avavilable for external calls.
5415
5416 2014-10-06 Rong Xu <xur@google.com>
5417
5418 * Makefile.in: Ditto.
5419 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5420 (gcov_sort_icall_topn_counter): Ditto.
5421 (gcov_sort_topn_counter_arrays): Ditto.
5422 (dump_one_gcov): Sort indirect_call topn counters.
5423 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5424 function.
5425 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5426 utility function.
5427 (__gcov_indirect_call_topn_profiler): New profiler function.
5428 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5429 * libgcov.h: New decls.
5430
5431 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5432
5433 * config.host: Remove support for score-*.
5434
5435 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5436
5437 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5438 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5439 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5440 __LIBGCC_XF_MANT_DIG__.
5441 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5442 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5443 __LIBGCC_TF_MANT_DIG__.
5444 * libgcc2.c (NOTRUNC): Define in terms of
5445 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5446 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5447
5448 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5449
5450 PR target/63312
5451 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5452 New macros.
5453
5454 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5455
5456 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5457 override USE_PT_GNU_EH_FRAME.
5458 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5459 check USE_EH_FRAME_REGISTRY_ALWAYS against
5460 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5461 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5462 variable for substituted force_explicit_eh_registry.
5463 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5464 * configure.ac (explicit-exception-frame-registration):
5465 New AC_ARG_ENABLE.
5466 * configure: Regenerate.
5467
5468 2014-09-19 Olivier Hainque <hainque@adacore.com>
5469
5470 * config.host (powerpc-wrs-vxworksmils): New configuration,
5471 same as vxworksae.
5472
5473 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5474
5475 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5476
5477 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5478
5479 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5480 bits not set bits as indicating trapping exceptions.
5481
5482 2014-09-17 Nathan sidwell <nathan@acm.org>
5483
5484 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5485 (LIBGCOV_DRIVER): ... here.
5486 * libgcov-driver.c (gcov_master): New.
5487 (gcov_exit): Remove from master chain.
5488 (__gcov_init): Add to master chain if version compatible. Don't
5489 clear the version.
5490 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5491 (gcov_reset_int): Clear master chain, if compatible.
5492 (gcov_dump_int): New internal interface. Dump master chain, if
5493 compatible.
5494 (gcov_dump): Alias for gcov_dump_int.
5495 * libgcov.h (struct gcov_root): Add next and prev fields.
5496 (struct gcov_master): New struct.
5497 (__gcov_master): New.
5498 (gcov_dump_int): Declare.
5499
5500 2014-09-17 Olivier Hainque <hainque@adacore.com>
5501
5502 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5503 and crtbegin.o + crtend.o to extra_parts.
5504
5505 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5506
5507 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5508 __LIBGCC_HAS_SF_MODE__.
5509 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5510 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5511 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5512 * config/libbid/bid_gcc_intrinsics.h
5513 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5514 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5515 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5516 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5517 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5518 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5519
5520 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5521
5522 PR target/63223
5523 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5524 and R24 as needed. Make work for all devices and .text locations.
5525 (__do_global_ctors, __do_global_dtors): Use word addresses.
5526 (__tablejump__, __tablejump_elpm__): Remove functions.
5527 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5528 Add _tablejump2.
5529 (XICALL, XIJMP): New macros.
5530
5531 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5532 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5533
5534 * config.host (aarch64*): Include crtfastmath.o and
5535 t-crtfm.
5536 * config/aarch64/crtfastmath.c: New file.
5537
5538 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5539
5540 * config.host: Remove picochip support.
5541 * config/picochip/adddi3.S: Remove.
5542 * config/picochip/ashlsi3.S: Remove.
5543 * config/picochip/ashlsi3.c: Remove.
5544 * config/picochip/ashrsi3.S: Remove.
5545 * config/picochip/ashrsi3.c: Remove.
5546 * config/picochip/clzsi2.S: Remove.
5547 * config/picochip/cmpsi2.S: Remove.
5548 * config/picochip/divmod15.S: Remove.
5549 * config/picochip/divmodhi4.S: Remove.
5550 * config/picochip/divmodsi4.S: Remove.
5551 * config/picochip/lib1funcs.S: Remove.
5552 * config/picochip/longjmp.S: Remove.
5553 * config/picochip/lshrsi3.S: Remove.
5554 * config/picochip/lshrsi3.c: Remove.
5555 * config/picochip/parityhi2.S: Remove.
5556 * config/picochip/popcounthi2.S: Remove.
5557 * config/picochip/setjmp.S: Remove.
5558 * config/picochip/subdi3.S: Remove.
5559 * config/picochip/t-picochip: Remove.
5560 * config/picochip/ucmpsi2.S: Remove.
5561 * config/picochip/udivmodhi4.S: Remove.
5562 * config/picochip/udivmodsi4.S: Remove.
5563
5564 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5565
5566 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5567 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5568 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5569 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5570 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5571 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5572 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5573 defined and LIBGCC2_HAS_DF_MODE is defined.
5574 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5575 defined and LIBGCC2_HAS_XF_MODE is defined.
5576 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5577 defined and LIBGCC2_HAS_TF_MODE is defined.
5578
5579 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5580
5581 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5582 and ROUND_TOWARDS_ZERO conditionals.
5583
5584 2014-09-07 Nathan sidwell <nathan@acm.org>
5585
5586 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5587 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5588
5589 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5590
5591 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5592 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5593 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5594 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5595 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5596 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5597 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5598 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5599 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5600 (DWARF_FRAME_REGISTERS): Change all uses to
5601 __LIBGCC_DWARF_FRAME_REGISTERS__.
5602 (EH_RETURN_STACKADJ_RTX): Change all uses to
5603 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5604 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5605 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5606 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5607 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5608 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5609 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5610 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5611 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5612 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5613 __LIBGCC_STACK_POINTER_REGNUM__.
5614 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5615 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5616 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5617 to __LIBGCC_STACK_POINTER_REGNUM__.
5618 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5619 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5620 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5621 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5622 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5623 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5624 (STACK_POINTER_REGNUM): Change all uses to
5625 __LIBGCC_STACK_POINTER_REGNUM__.
5626 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5627 use to __LIBGCC_STACK_POINTER_REGNUM__.
5628 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5629 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5630 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5631 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5632 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5633 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5634 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5635 to __LIBGCC_STACK_POINTER_REGNUM__.
5636 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5637 Remove conditional definition.
5638 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5639 __LIBGCC_TEXT_SECTION_ASM_OP__.
5640 (EH_FRAME_SECTION_NAME): Change all uses to
5641 __LIBGCC_EH_FRAME_SECTION_NAME__.
5642 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5643 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5644 (CTORS_SECTION_ASM_OP): Change all uses to
5645 __LIBGCC_CTORS_SECTION_ASM_OP__.
5646 (DTORS_SECTION_ASM_OP): Change all uses to
5647 __LIBGCC_DTORS_SECTION_ASM_OP__.
5648 (JCR_SECTION_NAME): Change all uses to
5649 __LIBGCC_JCR_SECTION_NAME__.
5650 (INIT_SECTION_ASM_OP): Change all uses to
5651 __LIBGCC_INIT_SECTION_ASM_OP__.
5652 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5653 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5654 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5655 __LIBGCC_STACK_GROWS_DOWNWARD__.
5656 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5657 __LIBGCC_INIT_SECTION_ASM_OP__.
5658 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5659 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5660 (EH_FRAME_SECTION_NAME): Change all uses to
5661 __LIBGCC_EH_FRAME_SECTION_NAME__.
5662 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5663 definitions. Change all uses to
5664 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5665 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5666 __LIBGCC_STACK_GROWS_DOWNWARD__.
5667 (DWARF_FRAME_REGISTERS): Change all uses to
5668 __LIBGCC_DWARF_FRAME_REGISTERS__.
5669 (EH_RETURN_STACKADJ_RTX): Change all uses to
5670 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5671 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5672 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5673 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5674 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5675 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5676
5677 2014-09-02 Nathan sidwell <nathan@acm.org>
5678
5679 * libgcov-interface.c (STRONG_ALIAS): New.
5680 (__gcov_flush): Call __gcov_reset_int.
5681 (__gcov_reset): Strong alias for ...
5682 (__gcov_reset_ing): ... this renamed hidden version.
5683 * libgcov.h (__gcov_reset_int): New declaration.
5684
5685 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5686
5687 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5688 call from here...
5689 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5690 (__dso_handle): Define on Cygwin.
5691 * config/i386/t-cygming (crtbeginS.o): New rule.
5692 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5693
5694 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5695 declaration syntax.
5696
5697 2014-08-13 Steve Ellcey <sellcey@mips.com>
5698
5699 * crtstuff.c: Undef caddr_t.
5700
5701 2014-08-12 Steve Ellcey <sellcey@mips.com>
5702
5703 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5704
5705 2014-08-07 Nathan Sidwell <nathan@acm.org>
5706
5707 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5708 (LIBGCOV_DRIVER): ... to here.
5709 * libgcov.h (gcov_do_dump): New #define.
5710 (struct gcov_root): New.
5711 (__gcov_root): New declaration.
5712 (__gcov_dump_one): Declare.
5713 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5714 run_accounted): Delete.
5715 (gcov_compute_histogram): Add LIST argument, adjust.
5716 (compute_summary): Adjust gcov_compute_histogram call.
5717 (gcov_do_dump): Not hidden, static in libgcov.
5718 (gcov_clear): Move to interface.c.
5719 (__gcov_dump_one): New, broken out of ...
5720 (gcov_exit): ... here. Make static.
5721 (__gcov_root): New.
5722 (__gcov_init): Adjust.
5723 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5724 declarations.
5725 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5726 (gcov_clear): Moved from driver.c. Add LIST argument.
5727 (__gcov_reset): Adjust for changed interfaces.
5728 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5729
5730 2014-08-04 Rohit <rohitarulraj@freescale.com>
5731
5732 PR target/60102
5733 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5734 based on change in SPE high register numbers and 3 HTM registers.
5735
5736 2014-08-01 Nathan Sidwell <nathan@acm.org>
5737
5738 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5739 LIBGCOV_INTERFACE): Reformat.
5740 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5741 IN_GCOV_TOOL.
5742 * libgcov-interface.c: Reformat some comments.
5743 (__gcov_flush_mx): Add declaration. Tidy up definition.
5744
5745 2014-07-31 Alan Modra <amodra@gmail.com>
5746 Peter Bergner <bergner@vnet.ibm.com>
5747
5748 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5749 (pack_ldouble): New function.
5750 (__gcc_qadd): Use it.
5751 (__gcc_qmul): Likewise.
5752 (__gcc_qdiv): Likewise.
5753 (__gcc_qneg): Likewise.
5754 (__gcc_stoq): Likewise.
5755 (__gcc_dtoq): Likewise.
5756
5757 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5758
5759 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5760 (__tpf_eh_return): Add original return address as second parameter.
5761 Handle cases where unwinder routines were called directly, instead
5762 of from within the C++ library.
5763
5764 2014-07-29 Nathan Sidwell <nathan@acm.org>
5765
5766 * libgcov.h: Move renaming of entry points to lib gcov specific
5767 portion.
5768 (gcov_do_dump): New rename.
5769 (gcov_rewrite): Remove inline, make HIDDEN.
5770 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5771 (gcov_exit_compute_summary): Rename to ...
5772 (compute_summary): ... here. Add LIST argument.
5773 (gcov_exit_merge_gcda): Rename to ...
5774 (merge_one_data): ... here.
5775 (gcov_exit_write_gcda): Rename to ...
5776 (write_one_data): ... here.
5777 (gcov_exit_merge_summary): Rename to ...
5778 (merge_summary): Add RUN_COUNTED argument.
5779 (gcov_exit_dump_gcov): Rename to ...
5780 (dump_one_gcov): Add RUN_COUNTED argument.
5781 (gcov_do_dump): New function, broken out of ...
5782 (gcov_exit): ... here. Call it.
5783
5784 2014-07-27 Anthony Green <green@moxielogic.com>
5785
5786 * config.host: Add moxiebox configuration suppport.
5787
5788 2014-07-27 Nathan Sidwell <nathan@acm.org>
5789
5790 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5791 (struct gcov_filename): ... here. Include buffer and max length
5792 fields.
5793 (gcov_max_filename): Remove.
5794 (gi_filename): Remove.
5795 (gcov_exit_compute_summary): Compute max filename here.
5796 (gcov_exit_merge_gcda): Add filename parm, adjust.
5797 (gcov_exit_merge_summary): Likewise.
5798 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5799 (gcov_exit): Likewise.
5800 (__gcov_init): Don't calculate max length here.
5801 * libgcov_util.c (max_filename_len): Remove.
5802 (read_gcda_file): Don't calculate max length here.
5803 (gcov_read_profile_dir): Don't propagate here.
5804 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5805 struct gcov_filename changes.
5806 (gcov_exit_open_gcda_file): Likewise.
5807
5808 2014-07-25 Nathan Sidwell <nathan@acm.org>
5809
5810 * libgcov-driver.c (set_gcov_dump_complete,
5811 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5812 functions polluting user's namespace.
5813 (gcov_exit): Set variable directly.
5814 (gcov_clear): Reset variable directly.
5815 * libgcov-interface.c (get_gcov_dymp_complete,
5816 reset_gov_dump_complete): Remove declarations.
5817 (__gcov_reset, __gcov_dump): Don't call them.
5818
5819 2014-07-24 DJ Delorie <dj@redhat.com>
5820
5821 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5822 (__gcc_deregister_frame): Move logic to detect deregister function
5823 to ...
5824 (__gcc_register_frame): here, so it's consistent with the register
5825 logic.
5826
5827 2014-07-23 Nathan Sidwell <nathan@acm.org>
5828
5829 * libgcov-driver.c (set_gcov_list): Remove.
5830 (gcov_list): Make non-static in GCOV_TOOL.
5831 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5832
5833 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5834
5835 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5836 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5837 Don't use SYNC_LOCK_RELEASE for int type.
5838
5839 2014-07-14 Richard Biener <rguenther@suse.de>
5840
5841 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5842
5843 2014-07-11 Rong Xu <xur@google.com>
5844
5845 * libgcov-util.c (gcov_max_filename): Fix declartion.
5846
5847 2014-07-10 Rong Xu <xur@google.com>
5848
5849 Add gcov-tool: an offline gcda profile processing tool
5850 Support.
5851 * libgcov-driver.c (gcov_max_filename): Make available
5852 to gcov-tool.
5853 * libgcov-merge.c (__gcov_merge_add): Replace
5854 gcov_read_counter() with a Macro.
5855 (__gcov_merge_ior): Ditto.
5856 (__gcov_merge_time_profile): Ditto.
5857 (__gcov_merge_single): Ditto.
5858 (__gcov_merge_delta): Ditto.
5859 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5860 in the utility functions.
5861 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5862 gcov_list object link lists.
5863 (tag_function): Ditto.
5864 (tag_blocks): Ditto.
5865 (tag_arcs): Ditto.
5866 (tag_lines): Ditto.
5867 (tag_counters): Ditto.
5868 (tag_summary): Ditto.
5869 (read_gcda_finalize): Ditto.
5870 (read_gcda_file): Ditto.
5871 (ftw_read_file): Ditto.
5872 (read_profile_dir_init): Ditto.
5873 (gcov_read_profile_dir): Ditto.
5874 (gcov_read_counter_mem): Ditto.
5875 (gcov_get_merge_weight): Ditto.
5876 (merge_wrapper): A wrapper function that calls merging handler.
5877 (gcov_merge): Merge two gcov_info objects with weights.
5878 (find_match_gcov_info): Find the matched gcov_info in the list.
5879 (gcov_profile_merge): Merge two gcov_info object lists.
5880 (__gcov_add_counter_op): Process edge profile counter values.
5881 (__gcov_ior_counter_op): Process IOR profile counter values.
5882 (__gcov_delta_counter_op): Process delta profile counter values.
5883 (__gcov_single_counter_op): Process single profile counter values.
5884 (fp_scale): Callback function for float-point scaling.
5885 (int_scale): Callback function for integer fraction scaling.
5886 (gcov_profile_scale): Scaling profile counters.
5887 (gcov_profile_normalize): Normalize profile counters.
5888 * libgcov.h: Add headers and functions for gcov-tool use.
5889 (gcov_get_counter): New.
5890 (gcov_get_counter_target): Ditto.
5891 (struct gcov_info): Make the functions field mutable in gcov-tool
5892 compilation.
5893
5894 2014-06-23 Kai Tietz <ktietz@redhat.com>
5895
5896 PR libgcc/61585
5897 * unwind-seh.c (_Unwind_GetGR): Check for proper
5898 index range.
5899 (_Unwind_SetGR): Likewise.
5900
5901 2014-05-22 Nick Clifton <nickc@redhat.com>
5902
5903 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5904 -mhwmult=none.
5905
5906 2014-05-22 Teresa Johnson <tejohnson@google.com>
5907
5908 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5909 include.
5910
5911 2014-05-20 John Marino <gnugcc@marino.st>
5912
5913 * config.host (*-*-dragonfly*): New target.
5914 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5915 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5916 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5917 * config/i386/dragonfly-unwind.h: New.
5918
5919 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5920
5921 PR libgcc/60166
5922 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5923 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5924
5925 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5926
5927 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5928 implementation.
5929
5930 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5931
5932 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5933
5934 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5935
5936 PR libgcc/61097
5937 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5938 if --enable-shared.
5939
5940 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5941
5942 Work around for current cygwin32 build problems.
5943 * config/i386/cygming-crtbegin.c (__register_frame_info,
5944 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5945 functions only for 64-bit systems.
5946
5947 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5948
5949 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5950 (sigill_caught, sigill_hdlr): Remove.
5951
5952 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5953
5954 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5955 check.
5956 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5957 Solaris 9 single-threaded support.
5958 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5959 Solaris 9 single-threaded support. Add call_user_handler code
5960 sequences.
5961 (sparc_is_sighandler): Likewise.
5962
5963 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5964
5965 * config.host: Append t-floattodi to tmake_file depending on
5966 host_address.
5967
5968 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5969
5970 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5971
5972 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
5973
5974 PR libgcc/60472
5975 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5976 variable to avoid "array subscript is above array bounds" warnings.
5977 Use __builtin_expect when checking *jcr_list for NULL.
5978
5979 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5980
5981 PR libgcc/59339
5982 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5983 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5984 vtv_*.o to extra_parts if enable_vtable_verify.
5985
5986 2014-03-06 Nick Clifton <nickc@redhat.com>
5987
5988 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5989 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5990
5991 2014-02-28 Joey Ye <joey.ye@arm.com>
5992
5993 PR libgcc/60166
5994 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5995 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5996 Set to zero.
5997
5998 2014-02-24 Walter Lee <walt@tilera.com>
5999
6000 * config.host: Support "tilegx*" and "tilepro*" triplets.
6001 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6002 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6003
6004 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6005 Chung-Lin Tang <cltang@codesourcery.com>
6006
6007 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6008 * config/nios2/crti.S: Remove .file directive.
6009 * config/nios2/crtn.S: Likewise.
6010
6011 2014-02-18 Kai Tietz <ktietz@redhat.com>
6012 Jonathan Schleifer <js@webkeks.org>
6013
6014 PR objc/56870
6015 * unwind-seh.c (_GCC_specific_handler): Pass proper
6016 value to unwind-handler.
6017
6018 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6019
6020 * soft-fp/adddf3.c: Update from glibc.
6021 * soft-fp/addsf3.c: Likewise.
6022 * soft-fp/addtf3.c: Likewise.
6023 * soft-fp/divdf3.c: Likewise.
6024 * soft-fp/divsf3.c: Likewise.
6025 * soft-fp/divtf3.c: Likewise.
6026 * soft-fp/double.h: Likewise.
6027 * soft-fp/eqdf2.c: Likewise.
6028 * soft-fp/eqsf2.c: Likewise.
6029 * soft-fp/eqtf2.c: Likewise.
6030 * soft-fp/extenddftf2.c: Likewise.
6031 * soft-fp/extended.h: Likewise.
6032 * soft-fp/extendsfdf2.c: Likewise.
6033 * soft-fp/extendsftf2.c: Likewise.
6034 * soft-fp/extendxftf2.c: Likewise.
6035 * soft-fp/fixdfdi.c: Likewise.
6036 * soft-fp/fixdfsi.c: Likewise.
6037 * soft-fp/fixdfti.c: Likewise.
6038 * soft-fp/fixsfdi.c: Likewise.
6039 * soft-fp/fixsfsi.c: Likewise.
6040 * soft-fp/fixsfti.c: Likewise.
6041 * soft-fp/fixtfdi.c: Likewise.
6042 * soft-fp/fixtfsi.c: Likewise.
6043 * soft-fp/fixtfti.c: Likewise.
6044 * soft-fp/fixunsdfdi.c: Likewise.
6045 * soft-fp/fixunsdfsi.c: Likewise.
6046 * soft-fp/fixunsdfti.c: Likewise.
6047 * soft-fp/fixunssfdi.c: Likewise.
6048 * soft-fp/fixunssfsi.c: Likewise.
6049 * soft-fp/fixunssfti.c: Likewise.
6050 * soft-fp/fixunstfdi.c: Likewise.
6051 * soft-fp/fixunstfsi.c: Likewise.
6052 * soft-fp/fixunstfti.c: Likewise.
6053 * soft-fp/floatdidf.c: Likewise.
6054 * soft-fp/floatdisf.c: Likewise.
6055 * soft-fp/floatditf.c: Likewise.
6056 * soft-fp/floatsidf.c: Likewise.
6057 * soft-fp/floatsisf.c: Likewise.
6058 * soft-fp/floatsitf.c: Likewise.
6059 * soft-fp/floattidf.c: Likewise.
6060 * soft-fp/floattisf.c: Likewise.
6061 * soft-fp/floattitf.c: Likewise.
6062 * soft-fp/floatundidf.c: Likewise.
6063 * soft-fp/floatundisf.c: Likewise.
6064 * soft-fp/floatunditf.c: Likewise.
6065 * soft-fp/floatunsidf.c: Likewise.
6066 * soft-fp/floatunsisf.c: Likewise.
6067 * soft-fp/floatunsitf.c: Likewise.
6068 * soft-fp/floatuntidf.c: Likewise.
6069 * soft-fp/floatuntisf.c: Likewise.
6070 * soft-fp/floatuntitf.c: Likewise.
6071 * soft-fp/gedf2.c: Likewise.
6072 * soft-fp/gesf2.c: Likewise.
6073 * soft-fp/getf2.c: Likewise.
6074 * soft-fp/ledf2.c: Likewise.
6075 * soft-fp/lesf2.c: Likewise.
6076 * soft-fp/letf2.c: Likewise.
6077 * soft-fp/muldf3.c: Likewise.
6078 * soft-fp/mulsf3.c: Likewise.
6079 * soft-fp/multf3.c: Likewise.
6080 * soft-fp/negdf2.c: Likewise.
6081 * soft-fp/negsf2.c: Likewise.
6082 * soft-fp/negtf2.c: Likewise.
6083 * soft-fp/op-1.h: Likewise.
6084 * soft-fp/op-2.h: Likewise.
6085 * soft-fp/op-4.h: Likewise.
6086 * soft-fp/op-8.h: Likewise.
6087 * soft-fp/op-common.h: Likewise.
6088 * soft-fp/quad.h: Likewise.
6089 * soft-fp/single.h: Likewise.
6090 * soft-fp/soft-fp.h: Likewise.
6091 * soft-fp/subdf3.c: Likewise.
6092 * soft-fp/subsf3.c: Likewise.
6093 * soft-fp/subtf3.c: Likewise.
6094 * soft-fp/truncdfsf2.c: Likewise.
6095 * soft-fp/trunctfdf2.c: Likewise.
6096 * soft-fp/trunctfsf2.c: Likewise.
6097 * soft-fp/trunctfxf2.c: Likewise.
6098 * soft-fp/unorddf2.c: Likewise.
6099 * soft-fp/unordsf2.c: Likewise.
6100 * soft-fp/unordtf2.c: Likewise.
6101 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6102 macro.
6103 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6104 Likewise.
6105 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6106 Likewise.
6107 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6108 Likewise.
6109 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6110 Likewise.
6111 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6112 Likewise.
6113 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6114 Likewise.
6115 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6116 Likewise.
6117 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6118 Likewise.
6119 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6120 Likewise.
6121 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6122 Likewise.
6123 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6124 Likewise.
6125 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6126 Likewise.
6127 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6128 Likewise.
6129 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6130 Likewise.
6131 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6132 Likewise.
6133
6134 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6135
6136 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6137 cannot be represented.
6138 * config/s390/32/_fixsfdi.c: Likewise.
6139 * config/s390/32/_fixtfdi.c: Likewise.
6140 * config/s390/32/_fixunsdfdi.c: Likewise.
6141 * config/s390/32/_fixunssfdi.c: Likewise.
6142 * config/s390/32/_fixunstfdi.c: Likewise.
6143
6144 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6145
6146 * configure.ac (libgcc_cv_mips_hard_float): New.
6147 * configure: Regenerate.
6148 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6149 t-softfp-sfdf for hard-float targets.
6150 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6151 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6152 (softfp_truncations, softfp_exclude_libgcc2): New.
6153 * config/t-hardfp: New file.
6154 * config/t-hardfp-sfdf: Likewise.
6155 * config/hardfp.c: Likewise.
6156
6157 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6158
6159 * config.host: Include t-floattodi also for s390x.
6160 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6161 * config/s390/32/_fixsfdi.c: Likewise.
6162 * config/s390/32/_fixtfdi.c: Likewise.
6163 * config/s390/32/_fixunsdfdi.c: Likewise.
6164 * config/s390/32/_fixunssfdi.c: Likewise.
6165 * config/s390/32/_fixunstfdi.c: Likewise.
6166
6167 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6168
6169 PR target/59788
6170 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6171 (install-libgcc-unwind-map-forbuild): New target.
6172 (all): Depend on install-libgcc-unwind-map-forbuild.
6173 (install-libgcc-unwind-map): New target.
6174 (install): Depend on install-libgcc-unwind-map.
6175
6176 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6177
6178 * config/nios2/crti.S (_init): Initialize GOT pointer from
6179 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6180
6181 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6182
6183 * configure.ac: Check __mips64 when setting host_address.
6184 * configure: Regenerate.
6185 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6186 mips/t-mips64 and t-softfp.
6187 (mips*-*-linux*): Don't add mips/t-tpbit.
6188 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6189 (DPBIT, DPBIT_CFLAGS): Delete.
6190 * config/mips/sfp-machine.h: New file.
6191 * config/mips/t-mips64: Likewise.
6192 * config/mips/t-softfp-tf: Likewise.
6193 * config/mips/t-tpbit: Delete.
6194
6195 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6196
6197 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6198 as long long.
6199
6200 2014-01-25 Walter Lee <walt@tilera.com>
6201
6202 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6203 config.h or system.h.
6204 (bool) Define.
6205
6206 2014-01-25 Walter Lee <walt@tilera.com>
6207
6208 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6209 (post_atomic_barrier): Ditto.
6210 (__fetch_and_do): New macro.
6211 (__atomic_fetch_and_do): Use __fetch_and_do.
6212 (__sync_fetch_and_do): New macro.
6213 (__sync_fetch_and_add_4): New function.
6214 (__sync_fetch_and_sub_4): New function.
6215 (__sync_fetch_and_or_4): New function.
6216 (__sync_fetch_and_and_4): New function.
6217 (__sync_fetch_and_xor_4): New function.
6218 (__sync_fetch_and_nand_4): New function.
6219 (__sync_fetch_and_add_8): New function.
6220 (__sync_fetch_and_sub_8): New function.
6221 (__sync_fetch_and_or_8): New function.
6222 (__sync_fetch_and_and_8): New function.
6223 (__sync_fetch_and_xor_8): New function.
6224 (__sync_fetch_and_nand_8): New function.
6225 (__do_and_fetch): New macro.
6226 (__atomic_do_and_fetch): Use __do_and_fetch.
6227 (__sync_do_and_fetch): New macro.
6228 (__sync_add_and_fetch_4): New function.
6229 (__sync_sub_and_fetch_4): New function.
6230 (__sync_or_and_fetch_4): New function.
6231 (__sync_and_and_fetch_4): New function.
6232 (__sync_xor_and_fetch_4): New function.
6233 (__sync_nand_and_fetch_4): New function.
6234 (__sync_add_and_fetch_8): New function.
6235 (__sync_sub_and_fetch_8): New function.
6236 (__sync_or_and_fetch_8): New function.
6237 (__sync_and_and_fetch_8): New function.
6238 (__sync_xor_and_fetch_8): New function.
6239 (__sync_nand_and_fetch_8): New function.
6240 (__sync_exchange_methods): New macro.
6241 (__sync_val_compare_and_swap_4): New function.
6242 (__sync_bool_compare_and_swap_4): New function.
6243 (__sync_lock_test_and_test_4): New function.
6244 (__sync_val_compare_and_swap_8): New function.
6245 (__sync_bool_compare_and_swap_8): New function.
6246 (__sync_lock_test_and_test_8): New function.
6247 (__subword_cmpxchg_body): New macro.
6248 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6249 (__atomic_compare_exchange_2): Ditto.
6250 (__sync_subword_cmpxchg): New macro.
6251 (__sync_val_compare_and_swap_1): New function.
6252 (__sync_bool_compare_and_swap_1): New function.
6253 (__sync_val_compare_and_swap_2): New function.
6254 (__sync_bool_compare_and_swap_2): New function.
6255 (__atomic_subword): Rename to ...
6256 (__subword): ... New name.
6257 (__atomic_subword_fetch): Use __subword.
6258 (__sync_subword_fetch): New macro.
6259 (__sync_fetch_and_add_1): New function.
6260 (__sync_fetch_and_sub_1): New function.
6261 (__sync_fetch_and_or_1): New function.
6262 (__sync_fetch_and_and_1): New function.
6263 (__sync_fetch_and_xor_1): New function.
6264 (__sync_fetch_and_nand_1): New function.
6265 (__sync_fetch_and_add_2): New function.
6266 (__sync_fetch_and_sub_2): New function.
6267 (__sync_fetch_and_or_2): New function.
6268 (__sync_fetch_and_and_2): New function.
6269 (__sync_fetch_and_xor_2): New function.
6270 (__sync_fetch_and_nand_2): New function.
6271 (__sync_add_and_fetch_1): New function.
6272 (__sync_sub_and_fetch_1): New function.
6273 (__sync_or_and_fetch_1): New function.
6274 (__sync_and_and_fetch_1): New function.
6275 (__sync_xor_and_fetch_1): New function.
6276 (__sync_nand_and_fetch_1): New function.
6277 (__sync_add_and_fetch_2): New function.
6278 (__sync_sub_and_fetch_2): New function.
6279 (__sync_or_and_fetch_2): New function.
6280 (__sync_and_and_fetch_2): New function.
6281 (__sync_xor_and_fetch_2): New function.
6282 (__sync_nand_and_fetch_2): New function.
6283 (__atomic_subword_lock): Use __subword.
6284 (__sync_subword_lock): New macro.
6285 (__sync_lock_test_and_set_1): New function.
6286 (__sync_lock_test_and_set_2): New function.
6287
6288 2014-01-25 Walter Lee <walt@tilera.com>
6289
6290 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6291 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6292 (__atomic_subword): Ditto.
6293
6294 2014-01-25 Walter Lee <walt@tilera.com>
6295
6296 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6297 a prefix op argument.
6298 (__atomic_nand_fetch_4): Add prefix op.
6299 (__atomic_nand_fetch_8): Ditto.
6300
6301 2014-01-21 Baruch Siach <barch@tkos.co.il>
6302
6303 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6304
6305 2014-01-09 Rong Xu <xur@google.com>
6306
6307 * libgcov-driver.c (this_prg): make it local to save
6308 bss space.
6309 (gcov_exit_compute_summary): Ditto.
6310 (gcov_exit_merge_gcda): Ditto.
6311 (gcov_exit_merge_summary): Ditto.
6312 (gcov_exit_dump_gcov): Ditto.
6313
6314 2014-01-08 Rong Xu <xur@google.com>
6315
6316 * libgcov-driver.c: Use libgcov.h.
6317 (buffer_fn_data): Use xmalloc instead of malloc.
6318 (gcov_exit_merge_gcda): Ditto.
6319 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6320 * libgcov.h: New common header files for libgcov-*.h.
6321 * libgcov-interface.c: Use libgcov.h
6322 * libgcov-merge.c: Ditto.
6323 * libgcov-profiler.c: Ditto.
6324 * Makefile.in: Add dependence to libgcov.h
6325
6326 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6327
6328 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6329 case of small numerator and finite nonzero result.
6330
6331 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6332
6333 Update copyright years
6334
6335 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6336
6337 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6338 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6339 config/arc/dp-hack.h, config/arc/fp-hack.h,
6340 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6341 config/arc/ieee-754/arc600-dsp/divdf3.S,
6342 config/arc/ieee-754/arc600-dsp/divsf3.S,
6343 config/arc/ieee-754/arc600-dsp/muldf3.S,
6344 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6345 config/arc/ieee-754/arc600-mul64/divdf3.S,
6346 config/arc/ieee-754/arc600-mul64/divsf3.S,
6347 config/arc/ieee-754/arc600-mul64/muldf3.S,
6348 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6349 config/arc/ieee-754/arc600/divsf3.S,
6350 config/arc/ieee-754/arc600/mulsf3.S,
6351 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6352 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6353 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6354 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6355 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6356 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6357 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6358 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6359 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6360 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6361 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6362 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6363 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6364 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6365 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6366 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6367 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6368 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6369 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6370 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6371 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6372 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6373 vtv_start_preinit.c: Use the standard form for the copyright notice.
6374
6375 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6376 Chung-Lin Tang <cltang@codesourcery.com>
6377 Based on patches from Altera Corporation
6378
6379 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6380 * config/nios2/lib2-nios2.h: New file.
6381 * config/nios2/lib2-divmod-hi.c: New file.
6382 * config/nios2/linux-unwind.h: New file.
6383 * config/nios2/lib2-divmod.c: New file.
6384 * config/nios2/linux-atomic.c: New file.
6385 * config/nios2/t-nios2: New file.
6386 * config/nios2/crti.asm: New file.
6387 * config/nios2/t-linux: New file.
6388 * config/nios2/lib2-divtable.c: New file.
6389 * config/nios2/lib2-mul.c: New file.
6390 * config/nios2/tramp.c: New file.
6391 * config/nios2/crtn.asm: New file.
6392
6393 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
6394
6395 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6396 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6397 from cpuid.h to check vendor signatures.
6398
6399 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6400
6401 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6402 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6403 (get_amd_cpu): Likewise.
6404
6405 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6406
6407 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6408 Haswell.
6409
6410 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6411 H.J. Lu <hongjiu.lu@intel.com>
6412
6413 PR target/59422
6414 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
6415 and AMD_JAGUAR.
6416 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6417 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6418 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6419 FEATURE_XOP and FEATURE_FMA.
6420 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6421 AMDFAM15H_BDVER3.
6422 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6423 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6424 FEATURE_FMA4 and FEATURE_XOP.
6425
6426 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6427
6428 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6429 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6430 (get_intel_cpu): Updated.
6431
6432 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6433
6434 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6435
6436 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6437
6438 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6439 instructions when __SSE_MATH__ is defined.
6440
6441 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6442
6443 * config.host (microblaze-*-rtems*): New.
6444
6445 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6446
6447 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6448 architectures that do not have hardware divide instruction.
6449 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6450
6451 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6452
6453 * longlong.h: Delete (moved to include/).
6454
6455 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6456
6457 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6458 of normal number and qNaN to not raise an inexact exception.
6459
6460 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6461
6462 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6463
6464 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6465
6466 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6467 for correct opcodes on BE.
6468
6469 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6470
6471 * soft-fp/op-4.h: Update from glibc.
6472
6473 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6474
6475 * libgcc2.c (__udivmoddi4): Define new implementation when
6476 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6477 divide instructions.
6478
6479 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6480
6481 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6482
6483 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6484
6485 * config/t-softfp (soft-fp-objects-base): New variable.
6486 (soft-fp-objects): Use it.
6487
6488 2013-11-23 David Edelson <dje.gcc@gmail.com>
6489 Andrew Dixie <andrewd@gentrack.com>
6490
6491 PR target/33704
6492 * config/rs6000/aixinitfini.c: New file.
6493 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6494 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6495 symbols.
6496
6497 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6498
6499 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6500
6501 2013-11-18 Jan Hubicka <jh@suse.cz>
6502
6503 * libgcov-driver.c (run_accounted): Make global level static.
6504 (gcov_exit_merge_summary): Silence warning; do not clear
6505 run_accounted here.
6506 (gcov_exit): Clear it here.
6507
6508 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6509 run_accounted.
6510
6511 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6512 (all_prg, crc32): Remove static vars.
6513 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6514 all_prg.
6515 (gcov_exit_merge_gcda): Add crc32 parameter.
6516 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6517 do not account run if it was already accounted.
6518 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6519 (gcov_exit): Initialize all_prg; update.
6520
6521 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6522
6523 * configure: Regenerate.
6524
6525 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6526 Alan Modra <amodra@gmail.com>
6527
6528 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6529 (frob_update_context): Use it.
6530
6531 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6532 Alan Modra <amodra@gmail.com>
6533
6534 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6535 (trampoline_initial): Provide ELFv2 variant.
6536 (__trampoline_setup): Likewise.
6537
6538 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6539 check for AIX indirect function call sequence if _CALL_ELF == 2.
6540
6541 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6542 Alan Modra <amodra@gmail.com>
6543
6544 * config/rs6000/linux-unwind.h (get_regs): Do not support
6545 old kernel versions if _CALL_ELF == 2.
6546 (frob_update_context): Do not support PLT stub variants only
6547 generated by old linkers if _CALL_ELF == 2.
6548
6549 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6550 Alan Modra <amodra@gmail.com>
6551
6552 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6553 location of CR save area for 64-bit little-endian systems.
6554
6555 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6556
6557 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6558 in tmake_file.
6559 * config/arm/t-vxworks: Delete.
6560
6561 2013-11-10 Kai Tietz <ktietz@redhat.com>
6562
6563 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6564 Increment load-count on use of LIBGCC_SONAME DLL.
6565 (hmod_libgcc): New static variable to hold handle of
6566 LIBGCC_SONAME DLL.
6567 (__gcc_deregister_frame): Decrement load-count of
6568 LIBGCC_SONAME DLL.
6569
6570 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6571
6572 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6573 availability.
6574 * configure: Regenerate
6575
6576 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6577
6578 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6579 FP_EX_DENORM. Store result to volatile location after SSE division
6580 to close interrupt window. Remove unneeded fwait after x87
6581 division since interrupt window will be closed by emitted fstp.
6582 Rewrite FP_EX_INEXACT handling.
6583
6584 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6585
6586 * soft-fp/README: Update.
6587 * soft-fp/adddf3.c: Update from glibc.
6588 * soft-fp/addsf3.c: Likewise.
6589 * soft-fp/addtf3.c: Likewise.
6590 * soft-fp/divdf3.c: Likewise.
6591 * soft-fp/divsf3.c: Likewise.
6592 * soft-fp/divtf3.c: Likewise.
6593 * soft-fp/double.h: Likewise.
6594 * soft-fp/eqdf2.c: Likewise.
6595 * soft-fp/eqsf2.c: Likewise.
6596 * soft-fp/eqtf2.c: Likewise.
6597 * soft-fp/extenddftf2.c: Likewise.
6598 * soft-fp/extended.h: Likewise.
6599 * soft-fp/extendsfdf2.c: Likewise.
6600 * soft-fp/extendsftf2.c: Likewise.
6601 * soft-fp/extendxftf2.c: Likewise.
6602 * soft-fp/fixdfdi.c: Likewise.
6603 * soft-fp/fixdfsi.c: Likewise.
6604 * soft-fp/fixdfti.c: Likewise.
6605 * soft-fp/fixsfdi.c: Likewise.
6606 * soft-fp/fixsfsi.c: Likewise.
6607 * soft-fp/fixsfti.c: Likewise.
6608 * soft-fp/fixtfdi.c: Likewise.
6609 * soft-fp/fixtfsi.c: Likewise.
6610 * soft-fp/fixtfti.c: Likewise.
6611 * soft-fp/fixunsdfdi.c: Likewise.
6612 * soft-fp/fixunsdfsi.c: Likewise.
6613 * soft-fp/fixunsdfti.c: Likewise.
6614 * soft-fp/fixunssfdi.c: Likewise.
6615 * soft-fp/fixunssfsi.c: Likewise.
6616 * soft-fp/fixunssfti.c: Likewise.
6617 * soft-fp/fixunstfdi.c: Likewise.
6618 * soft-fp/fixunstfsi.c: Likewise.
6619 * soft-fp/fixunstfti.c: Likewise.
6620 * soft-fp/floatdidf.c: Likewise.
6621 * soft-fp/floatdisf.c: Likewise.
6622 * soft-fp/floatditf.c: Likewise.
6623 * soft-fp/floatsidf.c: Likewise.
6624 * soft-fp/floatsisf.c: Likewise.
6625 * soft-fp/floatsitf.c: Likewise.
6626 * soft-fp/floattidf.c: Likewise.
6627 * soft-fp/floattisf.c: Likewise.
6628 * soft-fp/floattitf.c: Likewise.
6629 * soft-fp/floatundidf.c: Likewise.
6630 * soft-fp/floatundisf.c: Likewise.
6631 * soft-fp/floatunditf.c: Likewise.
6632 * soft-fp/floatunsidf.c: Likewise.
6633 * soft-fp/floatunsisf.c: Likewise.
6634 * soft-fp/floatunsitf.c: Likewise.
6635 * soft-fp/floatuntidf.c: Likewise.
6636 * soft-fp/floatuntisf.c: Likewise.
6637 * soft-fp/floatuntitf.c: Likewise.
6638 * soft-fp/gedf2.c: Likewise.
6639 * soft-fp/gesf2.c: Likewise.
6640 * soft-fp/getf2.c: Likewise.
6641 * soft-fp/ledf2.c: Likewise.
6642 * soft-fp/lesf2.c: Likewise.
6643 * soft-fp/letf2.c: Likewise.
6644 * soft-fp/muldf3.c: Likewise.
6645 * soft-fp/mulsf3.c: Likewise.
6646 * soft-fp/multf3.c: Likewise.
6647 * soft-fp/negdf2.c: Likewise.
6648 * soft-fp/negsf2.c: Likewise.
6649 * soft-fp/negtf2.c: Likewise.
6650 * soft-fp/op-1.h: Likewise.
6651 * soft-fp/op-2.h: Likewise.
6652 * soft-fp/op-4.h: Likewise.
6653 * soft-fp/op-8.h: Likewise.
6654 * soft-fp/op-common.h: Likewise.
6655 * soft-fp/quad.h: Likewise.
6656 * soft-fp/single.h: Likewise.
6657 * soft-fp/soft-fp.h: Likewise.
6658 * soft-fp/subdf3.c: Likewise.
6659 * soft-fp/subsf3.c: Likewise.
6660 * soft-fp/subtf3.c: Likewise.
6661 * soft-fp/truncdfsf2.c: Likewise.
6662 * soft-fp/trunctfdf2.c: Likewise.
6663 * soft-fp/trunctfsf2.c: Likewise.
6664 * soft-fp/trunctfxf2.c: Likewise.
6665 * soft-fp/unorddf2.c: Likewise.
6666 * soft-fp/unordsf2.c: Likewise.
6667 * soft-fp/unordtf2.c: Likewise.
6668
6669 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6670
6671 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6672 (_FP_MUL_MEAT_D): Ditto.
6673 (_FP_DIV_MEAT_S): Ditto.
6674 (_FP_DIV_MEAT_D): Ditto.
6675 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6676 t-softfp-sfdf and t-softfp to tmake_file.
6677
6678 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6679
6680 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6681 * config/i386/crtprec.c: Ditto.
6682
6683 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6684 Shiva Chen <shiva0217@gmail.com>
6685
6686 * config.host (nds32*-elf*): Add nds32 target.
6687 * config/nds32 : New directory and files.
6688
6689 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6690
6691 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6692 * config.host (cpu_type) <Setting default>: Add entry for
6693 crisv32-*-*.
6694 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6695 <crisv32-*-linux*>: Adjust.
6696 * longlong.h: Wrap the whole CRIS section in a single
6697 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6698 and sub_ddmmss.
6699 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6700 defined.
6701 [__CRIS__] (__umulsidi3): Define.
6702 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6703 * config/cris/sfp-machine.h: New file.
6704 * config/cris/umulsidi3.S: New file.
6705 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6706 * config/cris/arit.c (SIGNMULT): New macro.
6707 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6708 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6709 saving 3 out of originally 33 cycles from the fastest
6710 path, 3 out of 54 from the medium path and one from the longest
6711 path. Improve comments.
6712
6713 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6714
6715 * sync.c: Remove static aliases and define each function directly
6716 under its real name.
6717
6718 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6719
6720 * config.host (hppa*64*-*-linux*): Define extra_parts.
6721 (hppa*-*-linux*): Likewise.
6722
6723 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6724
6725 * config/arc/crtgend.S: Add 2013 to Copyright years.
6726 * config/arc/gmon/atomic.h: Likewise.
6727 * config/arc/gmon/auxreg.h: Likewise.
6728 * config/arc/gmon/sys/gmon_out.h: Likewise.
6729 * config/arc/gmon/sys/gmon.h: Likewise.
6730 * config/arc/gmon/prof-freq.c: Likewise.
6731 * config/arc/gmon/mcount.c: Likewise.
6732 * config/arc/gmon/prof-freq-stub.S: Likewise.
6733 * config/arc/gmon/gmon.c: Likewise.
6734 * config/arc/gmon/machine-gmon.h: Likewise.
6735 * config/arc/gmon/profil.S: Likewise.
6736 * config/arc/gmon/dcache_linesz.S: Likewise.
6737 * config/arc/crtg.S: Likewise.
6738 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6739 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6740 * config/arc/ieee-754/adddf3.S: Likewise.
6741 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6742 * config/arc/ieee-754/fixsfsi.S: Likewise.
6743 * config/arc/ieee-754/gtsf2.S: Likewise.
6744 * config/arc/ieee-754/floatsisf.S: Likewise.
6745 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6746 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6747 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6748 * config/arc/ieee-754/fixdfsi.S: Likewise.
6749 * config/arc/ieee-754/addsf3.S: Likewise.
6750 * config/arc/ieee-754/gesf2.S: Likewise.
6751 * config/arc/ieee-754/floatsidf.S: Likewise.
6752 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6753 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6754 * config/arc/ieee-754/gtdf2.S: Likewise.
6755 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6756 * config/arc/ieee-754/uneqdf2.S: Likewise.
6757 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6758 * config/arc/ieee-754/uneqsf2.S: Likewise.
6759 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6760 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6761 * config/arc/ieee-754/eqdf2.S: Likewise.
6762 * config/arc/ieee-754/ordsf2.S: Likewise.
6763 * config/arc/ieee-754/divsf3.S: Likewise.
6764 * config/arc/ieee-754/divdf3.S: Likewise.
6765 * config/arc/ieee-754/floatunsidf.S: Likewise.
6766 * config/arc/ieee-754/orddf2.S: Likewise.
6767 * config/arc/ieee-754/eqsf2.S: Likewise.
6768 * config/arc/ieee-754/gedf2.S: Likewise.
6769 * config/arc/crtn.S: Likewise.
6770 * config/arc/crti.S: Likewise.
6771 * config/arc/t-arc700-uClibc: Likewise.
6772 * config/arc/asm.h: Likewise.
6773 * config/arc/libgcc-excl.ver: Likewise.
6774 * config/arc/t-arc-newlib: Likewise.
6775 * config/arc/divtab-arc700.c: Likewise.
6776 * config/arc/initfini.c: Likewise.
6777 * config/arc/fp-hack.h: Likewise.
6778
6779 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6780 Diego Novillo <dnovillo@google.com>
6781
6782 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6783 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6784 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6785 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6786
6787 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6788 Brendan Kehoe <brendan@zen.org>
6789 Simon Cook <simon.cook@embecosm.com>
6790
6791 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6792 * config/arc: New directory.
6793 * longlong.h [__arc__] (umul_ppmm): Remove.
6794 [__arc__] (__umulsidi3): Define.
6795 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6796 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6797
6798 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6799
6800 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6801 CreateSemaphoreA.
6802 * config/i386/gthr-win32.h: Likewise.
6803
6804 2013-09-16 DJ Delorie <dj@redhat.com>
6805
6806 * config/rl78/vregs.h: Add G10 register definitions.
6807 * config/rl78/lib2mul.c: Enable for RL78/G10.
6808 * config/rl78/lib2div.c: Likewise.
6809 * config/rl78/lshrsi3.S: Use vregs.h.
6810 * config/rl78/cmpsi2.S: Likewise.
6811 * config/rl78/trampoline.S: Likewise.
6812 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6813
6814 2013-09-14 DJ Delorie <dj@redhat.com>
6815 Nick Clifton <nickc@redhat.com>
6816
6817 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6818 * config/rl78/vregs.h: New.
6819 * config/rl78/signbit.S: New file. Implements signbit function.
6820 * config/rl78/divmodsi.S: New.
6821 * config/rl78/divmodhi.S: New.
6822 * config/rl78/divmodqi.S: New.
6823 * config/rl78/t-rl78: Build them here...
6824 * config/rl78/lib2div.c: ...but not here.
6825
6826 2013-09-12 DJ Delorie <dj@redhat.com>
6827
6828 * config.host (msp*-*-elf): New.
6829 * config/msp430/: New port.
6830
6831 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6832
6833 PR gcov-profile/58127
6834 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6835 __thread var for emulated TLS.
6836 (__gcov_indirect_call_counters): Likewise.
6837
6838 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6839 Catherine Moore <clm@codesourcery.com>
6840 Richard Sandiford <rdsandiford@googlemail.com>
6841
6842 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6843 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6844 (CALL_STUB_NO_RET): Likewise.
6845 (CALL_STUB_RET): Likewise.
6846 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6847 __mips16_ret call/return stub symbols.
6848 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6849 to tmake_file.
6850
6851 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6852
6853 * config.host <mips*-*-linux*>: Remove a stray comment.
6854
6855 2013-08-10 Jan Hubicka <jh@suse.cz>
6856
6857 Work around binutils PR14342
6858 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6859 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6860 (L_gcov_indirect_call_profiler_v2): New.
6861
6862 2013-08-06 Jan Hubicka <jh@suse.cz>
6863
6864 * libgcov.c (__gcov_indirect_call_callee,
6865 __gcov_indirect_call_counters): New global vars.
6866 (__gcov_indirect_call_profiler): replace by ...
6867 (__gcov_indirect_call_profiler_v2) ... this one.
6868
6869 2013-08-06 Caroline Tice <cmtice@google.com>
6870
6871 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6872 vtv_start_preinit.o and vtv_end_preinit.o.
6873 * configure.ac: Add code to check/set enable_vtable_verify.
6874 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6875 true.
6876 * vtv_start_preinit.c: New file.
6877 * vtv_end_preinit.c: New file.
6878 * vtv_start.c: New file.
6879 * vtv_end.c: New file.
6880 * configure: Regenerated.
6881
6882 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6883
6884 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6885 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6886 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6887 GPL-3.0-with-GCC-exception.
6888
6889 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6890
6891 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6892 ISA and up.
6893
6894 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6895
6896 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6897 mapping for FPRs when creating the fallback framestate.
6898
6899 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6900
6901 PR target/57516
6902 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6903 (__round_s2_const, __round_u2_const)
6904 (__round_s4_const, __round_u4_const, __round_x8):
6905 Saturate result if addition result cannot be represented.
6906
6907 2013-07-15 Matthias Klose <doko@ubuntu.com>
6908
6909 * libgcc2.c: Don't include <limits.h>.
6910
6911 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6912
6913 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6914
6915 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6916
6917 PR target/29776
6918 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6919
6920 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6921
6922 PR middle-end/36041
6923 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6924 Define.
6925 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6926 instead of table lookups.
6927 (__popcountDI2): Likewise.
6928
6929 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6930
6931 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6932 correctly.
6933
6934 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6935
6936 PR other/53317
6937 * soft-fp/adddf3.c: Update from glibc.
6938 * soft-fp/addsf3.c: Likewise.
6939 * soft-fp/addtf3.c: Likewise.
6940 * soft-fp/divdf3.c: Likewise.
6941 * soft-fp/divsf3.c: Likewise.
6942 * soft-fp/divtf3.c: Likewise.
6943 * soft-fp/double.h: Likewise.
6944 * soft-fp/eqdf2.c: Likewise.
6945 * soft-fp/eqsf2.c: Likewise.
6946 * soft-fp/eqtf2.c: Likewise.
6947 * soft-fp/extenddftf2.c: Likewise.
6948 * soft-fp/extended.h: Likewise.
6949 * soft-fp/extendsfdf2.c: Likewise.
6950 * soft-fp/extendsftf2.c: Likewise.
6951 * soft-fp/fixdfdi.c: Likewise.
6952 * soft-fp/fixdfsi.c: Likewise.
6953 * soft-fp/fixsfdi.c: Likewise.
6954 * soft-fp/fixsfsi.c: Likewise.
6955 * soft-fp/fixtfdi.c: Likewise.
6956 * soft-fp/fixtfsi.c: Likewise.
6957 * soft-fp/fixunsdfdi.c: Likewise.
6958 * soft-fp/fixunsdfsi.c: Likewise.
6959 * soft-fp/fixunssfdi.c: Likewise.
6960 * soft-fp/fixunssfsi.c: Likewise.
6961 * soft-fp/fixunstfdi.c: Likewise.
6962 * soft-fp/fixunstfsi.c: Likewise.
6963 * soft-fp/floatdidf.c: Likewise.
6964 * soft-fp/floatdisf.c: Likewise.
6965 * soft-fp/floatditf.c: Likewise.
6966 * soft-fp/floatsidf.c: Likewise.
6967 * soft-fp/floatsisf.c: Likewise.
6968 * soft-fp/floatsitf.c: Likewise.
6969 * soft-fp/floatundidf.c: Likewise.
6970 * soft-fp/floatundisf.c: Likewise.
6971 * soft-fp/floatunditf.c: Likewise.
6972 * soft-fp/floatunsidf.c: Likewise.
6973 * soft-fp/floatunsisf.c: Likewise.
6974 * soft-fp/floatunsitf.c: Likewise.
6975 * soft-fp/gedf2.c: Likewise.
6976 * soft-fp/gesf2.c: Likewise.
6977 * soft-fp/getf2.c: Likewise.
6978 * soft-fp/ledf2.c: Likewise.
6979 * soft-fp/lesf2.c: Likewise.
6980 * soft-fp/letf2.c: Likewise.
6981 * soft-fp/muldf3.c: Likewise.
6982 * soft-fp/mulsf3.c: Likewise.
6983 * soft-fp/multf3.c: Likewise.
6984 * soft-fp/negdf2.c: Likewise.
6985 * soft-fp/negsf2.c: Likewise.
6986 * soft-fp/negtf2.c: Likewise.
6987 * soft-fp/op-1.h: Likewise.
6988 * soft-fp/op-2.h: Likewise.
6989 * soft-fp/op-4.h: Likewise.
6990 * soft-fp/op-8.h: Likewise.
6991 * soft-fp/op-common.h: Likewise.
6992 * soft-fp/quad.h: Likewise.
6993 * soft-fp/single.h: Likewise.
6994 * soft-fp/soft-fp.h: Likewise.
6995 * soft-fp/subdf3.c: Likewise.
6996 * soft-fp/subsf3.c: Likewise.
6997 * soft-fp/subtf3.c: Likewise.
6998 * soft-fp/truncdfsf2.c: Likewise.
6999 * soft-fp/trunctfdf2.c: Likewise.
7000 * soft-fp/trunctfsf2.c: Likewise.
7001 * soft-fp/unorddf2.c: Likewise.
7002 * soft-fp/unordsf2.c: Likewise.
7003 * soft-fp/unordtf2.c: Likewise.
7004 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7005 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7006 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7007 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7008 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7009 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7010 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7011 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7012 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7013 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7014 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7015 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7016
7017 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7018
7019 * config/mips/lib2funcs.c: New file.
7020 * config/mips/t-mips (LIB2ADD_ST): Add it.
7021
7022 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7023
7024 PR target/6526
7025 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7026 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7027
7028 2013-06-08 Walter Lee <walt@tilera.com>
7029
7030 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7031 Replace int64_t with long long. Add __extension__ where
7032 appropriate.
7033 * config/tilepro/atomic.c: Include config.h.
7034
7035 2013-06-06 Douglas B Rupp <rupp@adacore.com>
7036
7037 * config.host (arm-wrs-vxworks): Configure with other soft float.
7038
7039 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7040
7041 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7042 (mips64r5900el-*-elf*): New configurations.
7043
7044 2013-06-04 Alan Modra <amodra@gmail.com>
7045
7046 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7047
7048 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7049
7050 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7051
7052 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7053
7054 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7055 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7056 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7057
7058 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7059
7060 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7061 (powerpc-wrs-vxworks): Likewise.
7062
7063 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7064
7065 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7066 signal frames as well.
7067 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7068 STACK_BIAS to the CFA offset.
7069
7070 2013-05-17 Richard Henderson <rth@redhat.com>
7071
7072 PR target/49146
7073 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7074 (execute_cfa_program): Use it when storing to fs->regs.
7075
7076 2013-05-08 Kai Tietz <ktietz@redhat.com>
7077
7078 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7079 (__deregister_frame_info): Likewise.
7080
7081 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7082
7083 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7084 NaN's payload.
7085
7086 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7087
7088 2013-04-25 Alan Modra <amodra@gmail.com>
7089
7090 * config.host: Match little-endian powerpc-linux.
7091
7092 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7093
7094 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7095 as 'unsigned long long' instead of 'unsigned long'.
7096 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7097 'signed long'.
7098
7099 2013-04-10 Julian Brown <julian@codesourcery.com>
7100
7101 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7102 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7103 unsigned char/unsigned short.
7104 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7105
7106 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7107
7108 PR other/55274
7109 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7110
7111 2013-04-04 Meador Inge <meadori@codesourcery.com>
7112
7113 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7114 computing the location of the link register.
7115 (aeabi_uldivmod): Ditto.
7116
7117 2013-03-27 Kai Tietz <ktietz@redhat.com>
7118
7119 * config.host: Add support for cygwin x64 target.
7120 * configure: Regenerated.
7121
7122 2013-03-26 Walter Lee <walt@tilera.com>
7123
7124 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7125 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7126
7127 2013-03-25 Kai Tietz <ktietz@redhat.com>
7128
7129 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7130
7131 2013-03-20 Robert Mason <rbmj@verizon.net>
7132
7133 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7134 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7135 (__gthread_leave_tsd_dtor_context): Add prototypes.
7136 (tls_delete_hook): Update.
7137
7138 2013-03-20 Catherine Moore <clm@codesourcery.com>
7139 Joseph Myers <joseph@codesourcery.com>
7140 Chao-ying Fu <fu@mips.com>
7141
7142 * config/mips/mips16.S: Don't build for microMIPS.
7143 * config/mips/linux-unwind.h: Handle microMIPS frame.
7144 * config/mips/crtn.S (fini, init): New labels.
7145
7146 2013-03-14 Jakub Jelinek <jakub@redhat.com>
7147
7148 PR tree-optimization/53265
7149 * unwind-dw2.c (execute_cfa_program): Avoid
7150 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7151 on targets with DWARF_FRAME_REGISTERS < 32.
7152
7153 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7154
7155 PR target/49880
7156 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7157 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7158
7159 2013-03-07 Sriraman Tallam <tmsriram@google.com>
7160
7161 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7162 sandybridge processors.
7163
7164 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7165
7166 PR target/56529
7167 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7168 inclusion list.
7169
7170 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7171
7172 * config/microblaze/crti.S: Setup stack protection at entry
7173
7174 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
7175
7176 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7177 (__rotldi3): Shift bytewise if applicable.
7178
7179 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7180
7181 * config/aarch64/sync-cache.c
7182 (__aarch64_sync_cache_range): Silence warnings.
7183
7184 2013-02-25 Catherine Moore <clm@codesourcery.com>
7185
7186 Revert:
7187 2013-02-24 Catherine Moore <clm@codesourcery.com>
7188 Joseph Myers <joseph@codesourcery.com>
7189 Chao-ying Fu <fu@mips.com>
7190
7191 * config/mips/mips16.S: Don't build for microMIPS.
7192 * config/mips/linux-unwind.h: Handle microMIPS frame.
7193 * config/mips/crtn.S (fini, init): New labels.
7194
7195 2013-02-24 Catherine Moore <clm@codesourcery.com>
7196 Joseph Myers <joseph@codesourcery.com>
7197 Chao-ying Fu <fu@mips.com>
7198
7199 * config/mips/mips16.S: Don't build for microMIPS.
7200 * config/mips/linux-unwind.h: Handle microMIPS frame.
7201 * config/mips/crtn.S (fini, init): New labels.
7202
7203 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7204 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7205 as dividend.
7206
7207 2013-02-16 Alan Modra <amodra@gmail.com>
7208
7209 PR target/55431
7210 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7211 (ppc_fallback_frame_state): Always set up save locations for fp
7212 and altivec. Don't bother with non-callee-saved regs, r0-r13
7213 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7214
7215 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
7216
7217 PR target/54222
7218 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7219 _ssmulHA, _ssmulSA.
7220 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7221 _ssmulha3, _usmulusa3, _ssmulsa3.
7222 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7223 (__muldi3): XCALL __muldi3_6 instead of rcall.
7224 (__umulsidi3, __mulsidi3): New functions.
7225 (do_prologue_saves, do_epilogue_restores): New .macros.
7226 (__divdi3_moddi3): Use them.
7227 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7228 (__usmulusa3, __ssmulsa3): New functions.
7229
7230 2013-02-11 Iain Sandoe <iain@codesourcery.com>
7231 Jack Howarth <howarth@bromo.med.uc.edu>
7232 Patrick Marlier <patrick.marlier@gmail.com>
7233
7234 PR libitm/55693
7235 * config/darwin-crt-tm.c: Remove dummy functions hack.
7236
7237 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
7238
7239 PR target/54222
7240 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7241 * config/avr/lib2-object.mk: New iterator to build objects from it.
7242 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7243 lib2funcs.c.
7244 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7245 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7246 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7247 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7248 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7249 * config/avr/lib1funcs-fixed.S: Implement them.
7250
7251 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7252
7253 Update copyright years.
7254
7255 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
7256
7257 PR target/54601
7258 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7259 Add crtcxa to extra_parts.
7260 * config/rs6000/exit.h: New file.
7261 * config/rs6000/cxa_atexit.c: New file.
7262 * config/rs6000/cxa_finalize.c: New file.
7263 * config/rs6000/crtcxa.c: New file.
7264 * config/rs6000/t-aix-cxa: New file.
7265 * config/rs6000/libgcc-aix-cxa.ver: New file.
7266
7267 2013-01-31 Nick Clifton <nickc@redhat.com>
7268
7269 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7270 variant.
7271
7272 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
7273
7274 PR target/54222
7275 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7276 _mulQQ, _mulHQ, _mulHA, _mulSA,
7277 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7278 _divQQ, _divHQ, _divHA, _divSA,
7279 _divUQQ, _divUHQ, _divUHA, _divUSA.
7280
7281 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
7282
7283 * config.host(microblaze*-linux*): tmake_file: Remove
7284 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7285 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7286 to exclude functions from being built with libgcc.c and use
7287 the microblaze assembly.
7288
7289 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7290
7291 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7292 extra_parts.
7293
7294 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7295
7296 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7297 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7298 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7299 alignment operation.
7300
7301 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7302
7303 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7304 loop start address for cache clearing.
7305
7306 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7307
7308 * config/avr/lib1funcs.S: Remove trailing blanks.
7309 * config/avr/lib1funcs-fixed.S: Ditto.
7310
7311 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7312
7313 * config/avr/avr-lib.h: Add GPL copyright notice.
7314
7315 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7316
7317 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7318 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7319 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7320 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7321
7322 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
7323
7324 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7325 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7326
7327 2013-01-04 Nick Clifton <nickc@redhat.com>
7328
7329 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7330 the CALLT instruction is supported.
7331
7332 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7333
7334 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7335 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7336
7337 2012-12-13 John Tytgat <John@bass-software.com>
7338
7339 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7340 is 25.
7341
7342 2012-12-12 Jakub Jelinek <jakub@redhat.com>
7343
7344 PR libgcc/55451
7345 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7346 undefined signed overflows.
7347
7348 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
7349
7350 PR target/55344
7351 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7352
7353 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
7354
7355 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7356 (FP_TRAPPING_EXCEPTIONS): Define.
7357 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7358 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7359
7360 2012-12-04 Richard Henderson <rth@redhat.com>
7361
7362 PR bootstrap/55571
7363 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7364
7365 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7366
7367 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7368 (FP_EX_SHIFT): Define.
7369 (FP_TRAPPING_EXCEPTIONS): Define.
7370
7371 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7372
7373 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7374 (FP_ROUNDMODE): Use FP_RND_MASK.
7375 * config/aarch64/sfp-exceptions.c: New.
7376 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7377 Use __sfp_handle_exceptions.
7378
7379 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
7380
7381 * config.host: (arm*-*-freebsd*): Remove.
7382 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7383 (arm*-*-elf*): Remove.
7384 (arm*-*-wince-pe*): Remove.
7385 * arm/unwind-arm.c (struct fpa_reg): Delete.
7386 (struct fpa_regs): Delete.
7387 (phase1_vrs): Remove fpa element.
7388 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7389 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7390 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7391 * ieee754-sf.S (floatundisf): Remove FPA support.
7392 (floatdisf): Likewise.
7393 * ieee75f-df.S (floatundidf): Likewise.
7394 (floatdidf): Likewise.
7395
7396 2012-11-29 Kai Tietz <ktietz@redhat.com>
7397
7398 PR target/55445
7399 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7400 * unwind-generic.h: Likewise.
7401 * unwind-seh.c: Likewise.
7402
7403 2012-11-28 Richard Henderson <rth@redhat.com>
7404
7405 PR libgcc/48076
7406 * emutls.c (__emutls_get_address): Avoid race condition between
7407 obj->loc.offset read and emutls_key initialization.
7408
7409 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
7410
7411 Adjust decimal point of signed accum mode to GCC default.
7412
7413 PR target/54222
7414 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7415 _divqq_helper.
7416 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7417 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7418 (__mulha3, __mulsa3)
7419 (__divqq3, __divha3, __divsa3): Adjust to new position of
7420 decimal point of signed accum types.
7421
7422 (__mulusa3_round): New function.
7423 (__mulusa3): Use it.
7424 (__divqq_helper): New function.
7425 (__udivuqq3): Use it.
7426
7427 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7428
7429 PR bootstrap/55370
7430 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7431
7432 2012-11-18 Teresa Johnson <tejohnson@google.com>
7433
7434 PR bootstrap/55051
7435 * libgcov.c (gcov_exit): Remove merged program summary
7436 comparison unless !GCOV_LOCKED.
7437
7438 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7439
7440 * soft-fp: Updated from glibc upstream.
7441
7442 2012-11-06 Ian Lance Taylor <iant@google.com>
7443
7444 * generic-morestack.c (__generic_morestack): Align the returned
7445 stack pointer to a 32 byte boundary.
7446 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7447 increment the return address until we have decided that we don't
7448 have a varargs function.
7449 (__morestack) [32-bit]: Align stack correctly when calling C
7450 functions.
7451 (__morestack) [64-bit]: Likewise.
7452
7453 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7454
7455 * configure: Regenerate.
7456
7457 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7458
7459 PR target/55175
7460 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7461 * config/i386/sfp-machine.h: Guard exception handling
7462 code with _SOFT_FLOAT.
7463 * config/i386/32/sfp-machine.h: Guard rounding handling
7464 code with _SOFT_FLOAT.
7465 * config/i386/64/sfp-machine.h: Ditto.
7466
7467 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7468
7469 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7470 as extra_parts.
7471
7472 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7473
7474 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7475 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7476 when appropriate. Correct structure element types.
7477 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7478 -minline-all-stringops from compile flags.
7479
7480 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7481
7482 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7483
7484 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7485
7486 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7487
7488 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7489
7490 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7491 tmake_file.
7492
7493 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7494 Jim MacArthur <jim.macarthur@arm.com>
7495 Marcus Shawcroft <marcus.shawcroft@arm.com>
7496 Nigel Stephens <nigel.stephens@arm.com>
7497 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7498 Richard Earnshaw <rearnsha@arm.com>
7499 Sofiane Naci <sofiane.naci@arm.com>
7500 Stephen Thomas <stephen.thomas@arm.com>
7501 Tejas Belagod <tejas.belagod@arm.com>
7502 Yufeng Zhang <yufeng.zhang@arm.com>
7503
7504 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7505 * config/aarch64/crti.S: New file.
7506 * config/aarch64/crtn.S: New file.
7507 * config/aarch64/linux-unwind.h: New file.
7508 * config/aarch64/sfp-machine.h: New file.
7509 * config/aarch64/sync-cache.c: New file.
7510 * config/aarch64/t-aarch64: New file.
7511 * config/aarch64/t-softfp: New file.
7512
7513 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7514
7515 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7516 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7517 no-longer-needed LDBU insns.
7518
7519 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7520
7521 * config.host
7522 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7523 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7524
7525 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7526
7527 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7528
7529 2012-10-15 Matthias Klose <doko@ubuntu.com>
7530
7531 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7532
7533 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7534
7535 * configure: Regenerate.
7536 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7537
7538 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7539
7540 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7541 instructions for 64bit targets only.
7542
7543 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7544
7545 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7546 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7547 * config/i386/32/sfp-machine.h: ... here.
7548 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7549 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7550 New defines.
7551
7552 2012-10-07 Matthias Klose <doko@ubuntu.com>
7553
7554 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7555 as unused.
7556 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7557
7558 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7559
7560 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7561 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7562 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7563 (ElfW): Likewise.
7564
7565 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7566
7567 PR other/53889
7568 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7569 Fix parameter names.
7570
7571 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7572
7573 PR target/33135
7574 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7575 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7576 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7577
7578 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7579
7580 PR target/50457
7581 * config/sh/linux-atomic.S: Delete.
7582 * config/sh/linux-atomic.c: New.
7583 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7584 linux-atomic.c. Add cflags to disable warnings.
7585
7586 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7587
7588 PR other/53889
7589 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7590 function.
7591 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7592 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7593 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7594 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7595 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7596 Likewise.
7597 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7598 Likewise.
7599 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7600 Likewise.
7601 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7602 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7603
7604 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7605
7606 * config.host (hppa-*-openbsd*): New target.
7607 * config/pa/t-openbsd: New file.
7608
7609 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7610
7611 PR target/54222
7612 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7613 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7614 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7615 (__divsa3): Use __negsi2 to negate r_quoL.
7616 * config/avr/lib1funcs.S (FALIAS): New macro.
7617 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7618 (__negsi2): ...this new function.
7619 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7620 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7621 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7622 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7623 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7624 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7625
7626 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7627
7628 PR target/54089
7629 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7630 (lshrsi3): Reimplement as lshrsi3_r0.
7631
7632 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7633
7634 PR target/46191
7635 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7636 of libgcc.a.
7637
7638 2012-09-07 Teresa Johnson <tejohnson@google.com>
7639
7640 PR gcov-profile/54487
7641 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7642 differences.
7643
7644 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7645
7646 PR target/54461
7647 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7648 not configured --with-avrlibc=no.
7649 * config/avr/t-avrlibc: New file.
7650 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7651 (DPBIT_FUNCS): Ditto.
7652 (TPBIT_FUNCS): Ditto.
7653
7654 2012-09-04 Teresa Johnson <tejohnson@google.com>
7655
7656 * libgcov.c (struct gcov_summary_buffer): New structure.
7657 (gcov_histogram_insert): New function.
7658 (gcov_compute_histogram): Ditto.
7659 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7660 histograms during summary merging.
7661
7662 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7663
7664 * config.host (x86_64-*-openbsd*): New target.
7665
7666 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7667
7668 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7669 attribute.
7670
7671 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7672
7673 PR target/54222
7674 * config/avr/t-avr (conv_X): Rename to func_X.
7675
7676 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7677
7678 PR target/54222
7679 * config/avr/lib1funcs-fixed.S: New file.
7680 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7681 after they are used.
7682 (neg2, neg4): New macros.
7683 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7684 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7685 (__umulhisi3): Speed up MUL variant if there is enough flash.
7686 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7687 avr-modes.def.
7688 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7689 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7690 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7691 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7692 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7693 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7694 (LIB2FUNCS_EXCLUDE): Add supported functions.
7695
7696 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7697
7698 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7699 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7700 libgcc-s-objects.
7701 * fixed-obj.mk: Only expand dependency if $o is not in
7702 LIB2FUNCS_EXCLUDE.
7703
7704 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7705
7706 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7707
7708 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7709
7710 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7711 depend on --enable-shared.
7712 ($(lib1asmfuncs-o)): Use %.vis files independent of
7713 --enable-shared.
7714 * static-object.mk ($(base)$(objext), $(base).vis)
7715 ($(base)_s$(objext)): Use same rules for visibility handling as in
7716 shared-object.mk.
7717
7718 2012-08-21 Ian Lance Taylor <iant@google.com>
7719
7720 * config/i386/morestack.S (__morestack_non_split): Increase amount
7721 of space allocated for non-split code stack.
7722
7723 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7724
7725 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7726 even if inhibit_libc.
7727
7728 2012-08-17 Julian Brown <julian@codesourcery.com>
7729
7730 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7731 -fexceptions -fnon-call-exceptions if not defined.
7732 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7733 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7734
7735 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7736
7737 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7738 type.
7739
7740 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7741
7742 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7743 rs6000/t-slibgcc-aix.
7744
7745 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7746
7747 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7748
7749 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7750
7751 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7752
7753 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7754
7755 PR driver/54171
7756 * Makefile.in (version): Replace top_srcdir with srcdir.
7757
7758 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7759
7760 * Makefile.in (version): set to BASE-VER file from gcc directory.
7761
7762 2012-08-01 Nick Clifton <nickc@redhat.com>
7763
7764 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7765 Implements __clrsb for an HImode argument.
7766
7767 2012-07-31 Nick Clifton <nickc@redhat.com>
7768
7769 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7770 Implements __clrsb for an HImode argument.
7771 * config/stormy16/clrsbhi2.c: New file:
7772 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7773
7774 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7775
7776 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7777
7778 2012-07-19 Tristan Gingold <gingold@adacore.com>
7779 Richard Henderson <rth@redhat.com>
7780
7781 * unwind-seh.c: New file.
7782 * unwind-generic.h: Include windows.h for SEH.
7783 (_Unwind_Exception): Use 6 private fields for SEH.
7784 (_GCC_specific_handler): Declare.
7785 * unwind-c.c (__gcc_personality_seh0): New function.
7786 Adjust for SEH.
7787 * config/i386/libgcc-cygming.ver: New file.
7788 * config/i386/t-seh-eh: New file.
7789 * config.host (x86_64-*-mingw*): Default to seh.
7790
7791 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7792
7793 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7794
7795 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7796
7797 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7798 __builtin_expect when checking for exceptions.
7799 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7800
7801 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7802
7803 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7804 function declaration.
7805 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7806 (FP_RND_MASK): New.
7807 * config/ia64/sfp-exceptions.c: New.
7808 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7809
7810 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7811
7812 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7813 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7814 * config/i386/64/sfp-machine: ... (delete here) ...
7815 * config/i386/sfp-machine.h: ... to here.
7816 (FP_EX_MASK): Remove.
7817 (FP_RND_MASK): New.
7818 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7819
7820 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7821
7822 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7823 * config/i386/libgcc-sol2.ver: Ditto.
7824 * config/i386/libgcc-glibc.ver: Ditto.
7825
7826 2012-06-11 Roland McGrath <mcgrathr@google.com>
7827
7828 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7829 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7830 pthread_cancel.
7831
7832 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7833
7834 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7835 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7836 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7837 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7838 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7839 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7840 * config/i386/64/sfp-machine: ... (delete here) ...
7841 * config/i386/sfp-machine.h: ... to here.
7842 (FP_EX_MASK): New.
7843 (__sfp_handle_exceptions): New function declaration.
7844 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7845 * config/i386/sfp-exceptions.c: New.
7846 * config/i386/t-softfp: New.
7847 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7848 i386/t-softfp to tmake_file.
7849
7850 2012-06-03 David S. Miller <davem@davemloft.net>
7851
7852 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7853 change.
7854
7855 2012-05-31 David S. Miller <davem@davemloft.net>
7856
7857 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7858 multiply and divide instructions on 32-bit when V9.
7859 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7860
7861 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7862
7863 * config/arm/ieee754-df.S: Fix typos.
7864 * config/arm/ieee754-sf.S: Fix typos.
7865 * config/c6x/libunwind.S: Fix typos.
7866 * config/epiphany/udivsi3-float.c: Fix typos.
7867 * config/microblaze/muldi3_hard.S: Fix typos.
7868 * config/picochip/adddi3.S: Fix typos.
7869 * config/picochip/ashlsi3.S: Fix typos.
7870 * config/picochip/ashrsi3.S: Fix typos.
7871 * config/picochip/clzsi2.S: Fix typos.
7872 * config/picochip/cmpsi2.S: Fix typos.
7873 * config/picochip/divmod15.S: Fix typos.
7874 * config/picochip/divmodhi4.S: Fix typos.
7875 * config/picochip/divmodsi4.S: Fix typos.
7876 * config/picochip/longjmp.S: Fix typos.
7877 * config/picochip/lshrsi3.S: Fix typos.
7878 * config/picochip/parityhi2.S: Fix typos.
7879 * config/picochip/popcounthi2.S: Fix typos.
7880 * config/picochip/setjmp.S: Fix typos.
7881 * config/picochip/subdi3.S: Fix typos.
7882 * config/picochip/ucmpsi2.S: Fix typos.
7883 * config/picochip/udivmodhi4.S: Fix typos.
7884 * config/picochip/udivmodsi4.S: Fix typos.
7885 * config/spu/divv2df3.c: Fix typos.
7886 * config/spu/mfc_multi_tag_release.c: Fix typos.
7887 * config/spu/mfc_tag_release.c: Fix typos.
7888 * configure.ac: Fix typos.
7889 * configure: Regenerate.
7890
7891 2012-05-25 Ian Lance Taylor <iant@google.com>
7892
7893 * config/i386/morestack.S (__morestack_non_split): Check whether
7894 caller is varargs and needs %bp to hold the stack frame on return.
7895
7896 2012-05-25 Olivier Hainque <hainque@adacore.com>
7897
7898 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7899 sequence in the non pic case on VxWorks.
7900
7901 2012-05-24 Olivier Hainque <hainque@adacore.com>
7902
7903 * Makefile.in: Move dependency on install-unwind_h from
7904 "install-leaf" to "install".
7905
7906 2012-05-24 Olivier Hainque <hainque@adacore.com>
7907
7908 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7909 Use a separate command for stamp removals.
7910
7911 2012-05-21 Andrew Pinski <apinski@cavium.com>
7912
7913 PR bootstrap/53183
7914 * configure.ac: Define the default includes to being none.
7915 * configure: Regenerate.
7916
7917 2012-05-16 Olivier Hainque <hainque@adacore.com>
7918
7919 * Makefile.in (install-unwind_h): Rename into ...
7920 (install-unwind_h-forbuild): New target.
7921 (all): Use it instead of the former install-unwind_h.
7922 (install-unwind_h): Reinstate, copy to user install destination
7923 for include files, not to the internal gcc object directory one.
7924 (install-leaf): Depend on it.
7925
7926 2012-05-15 Olivier Hainque <hainque@adacore.com>
7927
7928 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7929 register numbers. LR_REGNO replaces R_LR.
7930 (ucontext_for): New, helper for ...
7931 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7932 and 5.3 of ...
7933 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7934
7935 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7936
7937 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7938 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7939 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7940 i386/t-cpuinfo ...
7941 (i[34567]86-*-*, x86_64-*-*): ... here.
7942
7943 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7944 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7945
7946 * config/i386/i386-cpuinfo.c: Rename to ...
7947 * config/i386/cpuinfo.c: ... this.
7948 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7949
7950 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7951 (libgcc_cv_init_priority): New test.
7952 * configure: Regenerate.
7953 * config.in: New file.
7954 * Makefile.in (clean): Rename config.h to auto-target.h.
7955 (config.h): Likewise.
7956 (stamp-h): Likewise.
7957
7958 * config/i386/cpuinfo.c (auto-target.h): Include.
7959 (CONSTRUCTOR_PRIORITY): Define.
7960 (__cpu_indicator_init): Use it.
7961
7962 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7963
7964 * longlong.h: Use a URL instead of an FSF postal address.
7965 Replace spaces with tab.
7966
7967 2012-05-08 Teresa Johnson <tejohnson@google.com>
7968
7969 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7970 (__gcov_dump): Ditto.
7971 (gcov_dump_complete): New global variable.
7972 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7973 (__gcov_flush): Outline functionality now in gcov_clear.
7974 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7975
7976 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7977
7978 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7979 (mips*-*-linux*): Include mips/t-tpbit when long double is
7980 16 bytes long.
7981
7982 2012-04-25 Sriraman Tallam <tmsriram@google.com>
7983
7984 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7985 (get_available_features): New argument. Check for AVX2.
7986 (__cpu_indicator_init): Modify call to get_available_features.
7987
7988 2012-04-25 Alan Modra <amodra@gmail.com>
7989
7990 * config/rs6000/crtsavevr.S: New file.
7991 * config/rs6000/crtrestvr.S: New file.
7992 * config/rs6000/t-savresfgpr: Build the above.
7993 * config/rs6000/t-netbsd: Likewise.
7994
7995 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7996
7997 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7998
7999 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8000
8001 * libgcc/config/i386/i386-cpuinfo.c: New file.
8002 * libgcc/config/i386/t-cpuinfo: New file.
8003 * libgcc/config.host: Include t-cpuinfo.
8004 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8005
8006 2012-04-24 Chao-ying Fu <fu@mips.com>
8007
8008 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8009
8010 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8011
8012 struct siginfo vs. siginfo_t
8013
8014 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8015 siginfo_t instead of struct siginfo.
8016 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8017 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8018 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8019 (ia64_handle_unwabi): Likewise.
8020 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8021 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8022 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8023 (sh_fallback_frame_state): Likewise.
8024 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8025 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8026
8027 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8028
8029 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8030 system call number.
8031
8032 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8033
8034 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8035 if it hasn't been previously saved.
8036
8037 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8038
8039 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8040 only for glibc.
8041
8042 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
8043
8044 PR target/52737
8045 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8046 instead of __AVR_HAVE_8BIT_SP__.
8047
8048 2012-03-26 Tristan Gingold <gingold@adacore.com>
8049
8050 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8051 (unw_table_entry): Use unw_word instead of unsigned long.
8052 (_Unwind_FindTableEntry): Likewise.
8053 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8054 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8055 (_Unwind_FindTableEntry): Likewise.
8056 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8057 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8058 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8059 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8060 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8061 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8062 (uw_init_context_1, uw_install_context): Likewise.
8063 (unw_word): Move to unwind-ia64.h
8064
8065 2012-03-26 Tristan Gingold <gingold@adacore.com>
8066
8067 * config/vms/vms-ucrt0.c: Update copyright years.
8068 Add a sanity check.
8069 (___gcc_main_flags): Declare.
8070 (__main): Check flags to remap argv and exit code.
8071 * config.host (*-*-*vms*): Adjust extra_parts.
8072 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8073 (crt0.o): Add.
8074
8075 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
8076
8077 * arm/lib1funcs.asm (ctzsi2): New function.
8078 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8079 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8080 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8081 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8082 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8083 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8084
8085 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
8086
8087 * config.host: Add bits to support powerpc64-*-freebsd*.
8088 * config/rs6000/freebsd-unwind.h: New file.
8089 * config/rs6000/t-freebsd64: New file.
8090
8091 2012-03-20 Richard Guenther <rguenther@suse.de>
8092
8093 PR gcov-profile/52627
8094 * libgcov.c (init_mx): Fix mutex name.
8095
8096 2012-03-16 Tristan Gingold <gingold@adacore.com>
8097
8098 * config/ia64/vms-unwind.h: Remove ulong (and replace
8099 it by unw_reg where used). Define unw_reg with __int64.
8100
8101 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8102
8103 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8104 Solaris 8 handling.
8105 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8106 Solaris 8 handling.
8107 (sparc_is_sighandler): Likewise.
8108
8109 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8110
8111 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8112 <= saved reg size.
8113
8114 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8115
8116 * config/arm/crtn.S: Fix typo.
8117
8118 2012-03-13 Richard Guenther <rguenther@suse.de>
8119
8120 * libgcov.c: Remove stdio.h include and NULL un-define.
8121
8122 2012-03-13 Richard Guenther <rguenther@suse.de>
8123
8124 PR target/52569
8125 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8126
8127 2012-03-13 Richard Guenther <rguenther@suse.de>
8128
8129 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8130
8131 2012-03-13 Richard Guenther <rguenther@suse.de>
8132
8133 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8134 and __gthread_mutex_init_function definitions.
8135
8136 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8137
8138 * config.host (mips*-*-openbsd*): Remove.
8139
8140 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8141
8142 * config.host: Remove alpha*-dec-osf5.1* handling.
8143 * config/alpha/gthr-posix.c: Remove.
8144 * config/alpha/libgcc-osf5.ver: Remove.
8145 * config/alpha/osf5-unwind.h: Remove.
8146 * config/alpha/t-osf-pthread: Remove.
8147 * config/alpha/t-slibgcc-osf: Remove.
8148 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8149 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8150 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8151 * mkmap-flat.awk: Remove osf_export handling.
8152
8153 2012-03-12 Richard Guenther <rguenther@suse.de>
8154
8155 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8156 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8157 (__gthread_mutex_init_function): New function.
8158 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8159
8160 PR gcov/49484
8161 * libgcov.c: Include gthr.h.
8162 (__gcov_flush_mx): New global variable.
8163 (init_mx, init_mx_once): New functions.
8164 (__gcov_flush): Protect self with a mutex.
8165 (__gcov_fork): Re-initialize mutex after forking.
8166 * unwind-dw2-fde.c: Change condition under which to use
8167 __GTHREAD_MUTEX_INIT_FUNCTION.
8168
8169 2012-03-12 Tristan Gingold <gingold@adacore.com>
8170
8171 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8172 * config/ia64/t-vms: Likewise.
8173
8174 2012-03-11 Michael Hope <michael.hope@linaro.org>
8175
8176 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8177 for Thumb-2.
8178
8179 2012-03-07 Walter Lee <walt@tilera.com>
8180
8181 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8182 "arch_atomic_".
8183 (atomic_xor): Rename and move definition to
8184 config/tilepro/atomic.h.
8185 (atomic_nand): Ditto.
8186 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8187 "arch_atomic_".
8188 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8189 (arch_atomic_nand): Ditto.
8190
8191 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8192
8193 PR target/52507
8194 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8195
8196 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8197
8198 PR target/52505
8199 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8200 from RAM.
8201
8202 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8203
8204 PR target/52461
8205 PR target/52508
8206 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8207 if RAMPZ affects reading from RAM.
8208 (__tablejump_elpm__): Ditto.
8209 (.xload): Ditto.
8210 (__movmemx_hi): Ditto.
8211 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8212 (__do_global_dtors): Ditto.
8213 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8214 (__movmemx_hi): Ditto.
8215
8216 2012-03-05 Richard Henderson <rth@redhat.com>
8217
8218 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8219 [ARM] (count_trailing_zeros): Use the builtin.
8220
8221 2012-03-01 Kai Tietz <ktietz@redhat.com>
8222
8223 * soft-fp: Imported from glibc upstream.
8224
8225 2012-02-28 Kai Tietz <ktietz@redhat.com>
8226
8227 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8228 for mingw-targets as attribute gcc_struct.
8229
8230 2012-02-28 Ian Lance Taylor <iant@google.com>
8231
8232 * generic-morestack.c (__splitstack_releasecontext): Correct call
8233 to __morestack_release_segments.
8234
8235 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8236
8237 PR target/52390
8238 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8239 for __linux__ when removing signals from __morestack_fullmask.
8240
8241 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
8242
8243 PR target/52261
8244 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8245
8246 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8247
8248 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8249 instead of HAVE_INITFINI_ARRAY.
8250 * config/ia64/crtend.S: Likewise.
8251
8252 2012-02-20 Kai Tietz <ktietz@redhat.com>
8253
8254 PR libstdc++/52300
8255 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8256
8257 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8258 to w32-unwind.h header.
8259
8260 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8261
8262 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8263 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8264 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8265 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8266
8267 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8268
8269 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8270
8271 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8272
8273 PR libitm/52220
8274 * config/darwin-crt-tm.c: Correct typo.
8275
8276 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8277 Patrick Marlier <patrick.marlier@gmail.com>
8278
8279 PR libitm/52220
8280 * config/darwin-crt-tm.c: Generate dummy functions.
8281
8282 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8283 Patrick Marlier <patrick.marlier@gmail.com>
8284
8285 PR libitm/52042
8286 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8287 (__doTMRegistrations): Call it.
8288 (__doTMdeRegistrations): Likewise.
8289
8290 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
8291 Anatoly Sokolov <aesok@post.ru>
8292 Eric Weddington <eric.weddington@atmel.com>
8293
8294 PR target/52261
8295 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8296 (__epilogue_restores__): Ditto.
8297
8298 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8299
8300 PR target/51921
8301 PR target/52205
8302 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8303 Solaris 11 and slightly reformat.
8304 (sparc_is_sighandler): Likewise.
8305
8306 2012-02-14 Walter Lee <walt@tilera.com>
8307
8308 * config.host: Handle tilegx and tilepro.
8309 * config/tilegx/sfp-machine.h: New file.
8310 * config/tilegx/sfp-machine32.h: New file.
8311 * config/tilegx/sfp-machine64.h: New file.
8312 * config/tilegx/t-crtstuff: New file.
8313 * config/tilegx/t-softfp: New file.
8314 * config/tilegx/t-tilegx: New file.
8315 * config/tilepro/atomic.c: New file.
8316 * config/tilepro/atomic.h: New file.
8317 * config/tilepro/linux-unwind.h: New file.
8318 * config/tilepro/sfp-machine.h: New file.
8319 * config/tilepro/softdivide.c: New file.
8320 * config/tilepro/softmpy.S: New file.
8321 * config/tilepro/t-crtstuff: New file.
8322 * config/tilepro/t-tilepro: New file.
8323
8324 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8325
8326 PR libstdc++/51296
8327 PR libstdc++/51906
8328 * gthr-posix.h: Allow static initializer macros to be disabled.
8329 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8330
8331 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8332
8333 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8334 Add t-slibgcc-libgcc to tmake_file.
8335 * config/mips/libgcc-mips16.ver: Revert previous patch.
8336 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8337
8338 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8339 Jayant R Sonar <jayant.sonar@kpitcummins.com>
8340
8341 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8342 * config/cr16/crti.S: New file.
8343 * config/cr16/crtlibid.S: New file.
8344 * config/cr16/crtn.S: New file.
8345 * config/cr16/lib1funcs.S: New file.
8346 * config/cr16/t-cr16: New file.
8347 * config/cr16/t-crtlibid: New file.
8348 * config/cr16/unwind-dw2.h: New file.
8349 * config/cr16/unwind-cr16.c: New file.
8350 * config/cr16/divmodhi3.c: New file.
8351
8352 2012-01-25 Alan Modra <amodra@gmail.com>
8353
8354 * config/rs6000/t-linux64: Delete. Move..
8355 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8356 * config/rs6000/t-linux: ..and libgcc flags to here.
8357
8358 2012-01-22 Douglas B Rupp <rupp@gnat.com>
8359
8360 * config.host (i[34567]86-*-interix3*):
8361 Change triplet to i[34567]86-*-interix[3-9]*.
8362 * configure: Regenerate.
8363
8364 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8365 Richard Sandiford <rdsandiford@googlemail.com>
8366
8367 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8368 * config/mips/mips16.S (__mips16_rdhwr): New function.
8369 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8370
8371 2012-01-11 Nathan Sidwell <nathan@acm.org>
8372
8373 * libgcov.c (__gcov_init): Ignore objects with no functions.
8374
8375 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
8376
8377 PR target/49868
8378 Extend __pgmx semantics to linearize memory.
8379 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8380 * config/avr/lib1funcs.S (__xload_1): New function.
8381 (__movmemx_qi, __movmemx_hi): New functions.
8382 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8383 semantics.
8384
8385 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8386
8387 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8388 purported sigacthandler address isn't null before dereferencing it.
8389 (sparc_is_sighandler): Likewise.
8390
8391 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8392
8393 PR ada/41929
8394 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8395 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8396 (sparc_is_sighandler): Likewise.
8397 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8398
8399 2012-01-06 Tristan Gingold <gingold@adacore.com>
8400
8401 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8402 compatibility thunks...
8403 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8404 (crtbeginS.o, crtendS.o): ... and these to ...
8405 * config/ia64/t-ia64-elf: ... this new file.
8406 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8407 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8408
8409 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8410
8411 * configure: Regenerate.
8412 * config/s390/t-crtstuff: Remove -fPIC.
8413
8414 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8415
8416 PR bootstrap/51006
8417 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8418 for NetBSD.
8419
8420 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8421
8422 PR target/51345
8423 * config/avr/lib1funcs.S: Remove FIXME comments.
8424 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8425
8426 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8427
8428 Implement light-weight DImode support.
8429 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8430 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8431 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8432 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8433
8434 2011-12-30 Nathan Sidwell <nathan@acm.org>
8435
8436 * libgcov.c (gcov_crc32): Remove global var.
8437 (free_fn_data): New function.
8438 (buffer_fn_data): Pass in filename, more robust error recovery.
8439 (crc32_unsigned): New function.
8440 (gcov_exit): More robust detection of new program. More robust
8441 error recovery.
8442 (__gcov_init): Do not update program's crc here.
8443
8444 2011-12-21 Tristan Gingold <gingold@adacore.com>
8445
8446 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8447
8448 2011-12-21 Ian Lance Taylor <iant@google.com>
8449
8450 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8451
8452 2011-12-20 Ian Lance Taylor <iant@google.com>
8453
8454 * config/i386/morestack.S (__morestack_non_split): If there is
8455 enough stack space already, don't split. Ask for more stack space
8456 than we required.
8457
8458 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8459
8460 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8461 `sys/sdt.h'.
8462 (_Unwind_DebugHook): New function.
8463 (uw_restore_core_regs): New define.
8464 (unwind_phase2): Use uw_restore_core_regs instead of
8465 restore_core_regs.
8466 (unwind_phase2_forced): Likewise.
8467 (__gnu_Unwind_Resume): Likewise.
8468
8469 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8470
8471 * config/alpha/linux-unwind.h: Update copyright years.
8472 (MD_FROB_UPDATE_CONTEXT): New define.
8473 (alpha_frob_update_context): New function.
8474
8475 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8476
8477 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8478 tmake_file rather replacing it.
8479
8480 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8481
8482 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8483 function is not used for PPC64.
8484 (save_world): Amend comments. Update the VRsave mask to reflect the
8485 saved regs.
8486 (rest_world): Update comments, do not clobber r10, do not use r8.
8487 (eh_rest_world_r10): Amend comments, do not use r8.
8488 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8489 no longer used, move restore of CR and target address to the end of
8490 the routine.
8491
8492 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8495 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8496
8497 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8498
8499 PR target/49313
8500 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8501 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8502
8503 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8504
8505 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8506
8507 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8508
8509 PR target/49313
8510 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8511 * config/avr/lib1funcs.S (__muldi3): New function.
8512
8513 2011-12-06 Andrew Pinski <apinski@cavium.com>
8514
8515 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8516 size of func_ptr.
8517 (__frame_dummy_init_array_entry): Likewise.
8518
8519 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8520
8521 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8522
8523 PR target/51345
8524 PR target/51002
8525 * config/avr/lib1funcs.S (__prologue_saves__,
8526 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8527 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8528
8529 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8530
8531 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8532
8533 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8534
8535 PR other/51272
8536 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8537 (_ITM_deregisterTMCloneTable): Likewise.
8538 (__register_frame_info): Fix unused warning.
8539 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8540 pthread_default_stacksize_np): Likewise.
8541 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8542
8543 2011-11-29 DJ Delorie <dj@redhat.com>
8544
8545 * config.host (rl78-*-elf): New case.
8546 * config/rl78: New directory for the Renesas RL78.
8547
8548 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8549
8550 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8551 formatting.
8552
8553 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8554
8555 PR other/51022
8556 * config/rs6000/t-savresfgpr: New file.
8557 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8558 $(srcdir)/config/rs6000/eabi.S.
8559 * config/rs6000/t-ppccomm-ldbl: Remove.
8560 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8561 tmake_file.
8562 (powerpc-*-eabispe*): Likewise.
8563 (powerpc-*-eabi*): Likewise.
8564 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8565 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8566 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8567 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8568 tmake_file.
8569 (powerpc-*-eabisim*): Likewise.
8570 (powerpc-*-elf*): Likewise.
8571 (powerpc-*-eabialtivec*): Likewise.
8572 (powerpc-xilinx-eabi*): Likewise.
8573 (powerpc-*-rtems*): Likewise.
8574 (powerpcle-*-elf*): Likewise.
8575 (powerpcle-*-eabisim*): Likewise.
8576 (powerpcle-*-eabi*): Likewise.
8577
8578 2011-11-27 Ian Lance Taylor <iant@google.com>
8579
8580 * generic-morestack.c (__splitstack_find): Check for NULL old
8581 stack value.
8582 (__splitstack_resetcontext): New function.
8583 (__splitstack_releasecontext): New function.
8584 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8585
8586 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8587
8588 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8589
8590 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8591
8592 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8593
8594 2011-11-26 Richard Henderson <rth@redhat.com>
8595
8596 * config/m68k/linux-atomic.c: New file.
8597 * config/m68k/t-linux: New file.
8598 * config.host (m68k-uclinux, m68k-linux): Use it.
8599
8600 2011-11-26 Richard Henderson <rth@redhat.com>
8601
8602 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8603 (__TMC_END__): Only declare if hidden is available; in the definition,
8604 if hidden is unavailable add a null record.
8605 (deregister_tm_clones, register_tm_clones): New.
8606 (__do_global_dtors_aux, frame_dummy): Use them.
8607 (__do_global_dtors, __do_global_ctors_1): Likewise.
8608
8609 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8610
8611 * config/darwin-crt-tm.c: New file.
8612 * config.host (darwin): Build crttms.o crttme.o to provide
8613 startup and shutdown for tm clones.
8614 * config/t-darwin (crttms.o): New build rule.
8615 (crttme.o): Likewise.
8616
8617 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8618
8619 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8620 et al.
8621
8622 2011-11-21 Richard Henderson <rth@redhat.com>
8623
8624 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8625 (__TMC_LIST__, __TMC_END__): New.
8626 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8627 (__do_global_dtors): Likewise.
8628 (frame_dummy): Call _ITM_registerTMCloneTable.
8629 (__do_global_ctors_1): Likewise.
8630
8631 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8632
8633 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8634 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8635 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8636 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8637 * config/i386/t-darwin64: Remove.
8638 * config/sh/t-netbsd (LIB2ADD): Remove.
8639
8640 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8641
8642 PR target/49313
8643 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8644 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8645 * config/avr/lib1funcs.S (wmov): New assembler macro.
8646 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8647 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8648 (__udivmod64): New function.
8649 (__negdi2): New function.
8650
8651 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8652
8653 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8654 *-*-freebsd*aout*): Remove.
8655
8656 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8657
8658 * static-object.mk (c_flags-$o): Save c_flags.
8659 ($(base)$(objext)): Use it.
8660
8661 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8662
8663 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8664
8665 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8666
8667 PR target/49868
8668 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8669 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8670 New functions.
8671
8672 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8673
8674 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8675 functions.
8676 (aeabi_uidivmod): Likewise.
8677 (umodsi3): Likewise.
8678 (divsi3): Likewise.
8679 (aeabi_idivmod): Likewise.
8680 (modsi3): Likewise.
8681
8682 2011-11-16 Tristan Gingold <gingold@adacore.com>
8683
8684 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8685
8686 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8687
8688 PR target/49868
8689 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8690 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8691
8692 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8693
8694 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8695 tmake_file list.
8696 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8697 * config/pa/t-stublib64: Delete.
8698
8699 2011-11-12 Richard Henderson <rth@redhat.com>
8700
8701 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8702 cast the pointer argument to _Unwind_SetGRPtr.
8703
8704 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8705
8706 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8707
8708 2011-11-09 Ian Lance Taylor <iant@google.com>
8709
8710 * generic-morestack.c: Include <string.h>.
8711 (uintptr_type): Define.
8712 (struct initial_sp): Add dont_block_signals field. Reduce size of
8713 extra array by 1.
8714 (allocate_segment): Set prev field to NULL. Don't set
8715 __morestack_current_segment or __morestack_segments.
8716 (__generic_morestack): Update current->prev and *pp after calling
8717 allocate_segment.
8718 (__morestack_block_signals): Don't do anything if
8719 dont_block_signals is set.
8720 (__morestack_unblock_signals): Likewise.
8721 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8722 uintptr_type.
8723 (__splitstack_block_signals): New function.
8724 (enum __splitstack_content_offsets): Define.
8725 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8726 (__splitstack_makecontext): New function.
8727 (__splitstack_block_signals_context): New function.
8728 (__splitstack_find_context): New function.
8729 * config/i386/morestack.S (__morestack_get_guard): New function.
8730 (__morestack_set_guard, __morestack_make_guard): New functions.
8731 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8732
8733 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8734
8735 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8736 (i[34567]86-*-mingw*): ... here.
8737 (x86_64-*-mingw*): ... here.
8738
8739 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8740
8741 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8742
8743 2011-11-07 Nathan Sidwell <nathan@acm.org>
8744
8745 * libgcov.c (struct gcov_fn_buffer): New struct.
8746 (buffer_fn_data): New helper.
8747 (gcov_exit): Rework for new gcov data structures.
8748
8749 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8750
8751 PR target/49313
8752 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8753
8754 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8755
8756 * config.host (tmake_file): Correct comment.
8757 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8758 t-libgcc-pic.
8759 (bfin*-uclinux*): Likewise.
8760 (bfin*-linux-uclibc*): Likewise.
8761 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8762
8763 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8764 assigning.
8765 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8766 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8767 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8768 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8769 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8770 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8771 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8772 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8773 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8774 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8775 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8776 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8777 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8778
8779 * config/bfin/t-elf: Remove.
8780 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8781
8782 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8783
8784 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8785 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8786 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8787 (lm32-*-elf*): ... this.
8788 (lm32-*-rtems*): ... and this.
8789 Add to tmake_file.
8790 (m32r-*-rtems*): Add to tmake_file.
8791 (moxie-*-rtems*): Likewise.
8792 (sparc-*-rtems*): Likewise.
8793 Remove t-rtems from tmake_file.
8794 (sparc64-*-rtems*): Likewise.
8795 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8796 instead.
8797
8798 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8799
8800 PR bootstrap/50982
8801 * config/gthr-posix.h: Move ...
8802 * gthr-posix.h: ... here.
8803 * config/gthr-lynx.h: Reflect this.
8804 * config/gthr-vxworks.h: Likewise.
8805 * config/rs6000/gthr-aix.h: Likewise.
8806 * configure.ac (target_thread_file): Likewise.
8807 * configure: Regenerate.
8808
8809 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8810
8811 * config.host (arm*-*-rtemseabi*): New target.
8812
8813 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8814
8815 PR other/50991
8816 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8817 extra-parts.
8818
8819 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8820
8821 * config.host (epiphany-*-elf*): New configuration.
8822 * config/epiphany: New Directory.
8823
8824 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8825
8826 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8827 * config/avr/t-rtems: New.
8828 Filter out _exit from LIB1ASMFUNCS.
8829
8830 2011-11-04 David S. Miller <davem@davemloft.net>
8831
8832 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8833 * configure: Rebuild.
8834
8835 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8836
8837 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8838 variable.
8839
8840 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8841
8842 PR target/50931
8843 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8844 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8845
8846 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8847
8848 PR target/50989
8849 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8850
8851 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8852
8853 * config/c6x/t-elf (LIB2ADDEH): Set.
8854 * config/c6x/t-c6x-elf: Remove.
8855
8856 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8857
8858 * config/i386/sol2-ci.S: Rename to ...
8859 * config/i386/crti.S: ... this.
8860 * config/i386/sol2-cn.S: Rename to ...
8861 * config/i386/crtn.S: ... this.
8862 * config/sparc/sol2-ci.S: Rename to ...
8863 * config/sparc/crti.S: ... this.
8864 * config/sparc/sol2-cn.S: Rename to ...
8865 * config/sparc/crtn.S: ... this.
8866 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8867 (crti.o, crtn.o): Remove.
8868
8869 2011-11-04 Tristan Gingold <gingold@adacore.com>
8870
8871 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8872
8873 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8874
8875 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8876
8877 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8878
8879 * config.host (crisv32-*-none, cris-*-none): Remove.
8880 (crisv32-*-elf): Append to tmake_file, don't just set it.
8881 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8882
8883 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8884
8885 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8886 (ecrtn$(objext)): Likewise.
8887 (ncrti$(objext)): Likewise.
8888 (ncrtn$(objext)): Likewise.
8889
8890 2011-11-03 Andreas Schwab <schwab@redhat.com>
8891
8892 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8893
8894 2011-11-02 David S. Miller <davem@davemloft.net>
8895
8896 * configure.ac: Set host_address on sparc too.
8897 * configure: Regenerate.
8898 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8899 based upon host_address.
8900 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8901
8902 2011-11-02 Jason Merrill <jason@redhat.com>
8903
8904 * config/rs6000/t-ppccomm: Add missing \.
8905
8906 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8907
8908 * gthr-single.h, gthr.h: New files.
8909 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8910 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8911 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8912 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8913 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8914 * configure.ac (thread_header): New variable.
8915 Set it depending on target_thread_file.
8916 (gthr-default.h): Link from $thread_header.
8917 * configure: Regenerate.
8918 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8919
8920 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8921
8922 * configure.ac (tm_file_): New variable.
8923 Determine from tm_file.
8924 (tm_file, tm_defines): Substitute.
8925 * configure: Regenerate.
8926 * mkheader.sh: New file.
8927 * Makefile.in (clean): Remove libgcc_tm.h.
8928 ($(objects)): Depend on libgcc_tm.h.
8929 (libgcc_tm_defines, libgcc_tm_file): New variables.
8930 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8931 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8932 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8933 ($(extra-parts)): Depend on libgcc_tm.h.
8934 * config.host (tm_defines, tm_file): New variable.
8935 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8936 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8937 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8938 (avr-*-rtems*): Likewise.
8939 (avr-*-*): Likewise.
8940 (frv-*-elf): Likewise.
8941 (frv-*-*linux*): Likewise.
8942 (h8300-*-rtems*): Likewise.
8943 (h8300-*-elf*): Likewise.
8944 (i[34567]86-*-darwin*): Likewise.
8945 (x86_64-*-darwin*): Likewise.
8946 (rx-*-elf): Likewise.
8947 (tic6x-*-uclinux): Likewise.
8948 (tic6x-*-elf): Likewise.
8949 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8950 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8951 * config/i386/cygming-crtbegin.c: Likewise.
8952 * config/i386/cygming-crtend.c: Likewise.
8953 * config/ia64/fde-vms.c: Likewise.
8954 * config/ia64/unwind-ia64.c: Likewise.
8955 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8956 * config/rs6000/darwin-fallback.c: Likewise.
8957 * config/stormy16/lib2funcs.c: Likewise.
8958 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8959 * crtstuff.c: Likewise.
8960 * dfp-bit.h: Likewise.
8961 * emutls.c: Likewise.
8962 * fixed-bit.c: Likewise.
8963 * fp-bit.c: Likewise.
8964 * generic-morestack-thread.c: Likewise.
8965 * generic-morestack.c: Likewise.
8966 * libgcc2.c: Likewise.
8967 * libgcov.c: Likewise.
8968 * unwind-dw2-fde-dip.c: Likewise.
8969 * unwind-dw2-fde.c: Likewise.
8970 * unwind-dw2.c: Likewise.
8971 * unwind-sjlj.c: Likewise.
8972
8973 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8974
8975 * configure.ac: Include ../config/picflag.m4.
8976 (GCC_PICFLAG): Call it.
8977 Substitute.
8978 * configure: Regenerate.
8979 * Makefile.in (gcc_srcdir): Remove.
8980 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8981 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8982 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8983 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8984 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8985 Use $<.
8986 Remove comment.
8987 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8988 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8989 to refer to libgcc2.c.
8990 Use $<.
8991 * config/darwin-64.c: New file.
8992 * config/darwin-crt3.c: Remove comment.
8993 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8994 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8995 config/udivmodsi4.c: New files.
8996 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8997 config/memset.c: New files.
8998 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8999 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9000 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9001 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9002 * config/t-openbsd-thread: New file.
9003 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9004 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9005 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9006 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9007 qrnnd.S.
9008 Adapt filename.
9009 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9010 to refer to gthr-posix.c.
9011 * config/alpha/t-vms (LIB2ADD): Set.
9012 * config/alpha/vms-gcc_shell_handler.c: New file.
9013 * config/arm/bpabi.c, config/arm/fp16.c,
9014 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9015 config/arm/unaligned-funcs.c: New files.
9016 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9017 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9018 * config/arm/t-linux: Likewise.
9019 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9020 * config/arm/t-netbsd: New file.
9021 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9022 * config/arm/t-symbian (LIB2ADD_ST): Set.
9023 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9024 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9025 * config/bfin/t-elf: New file.
9026 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9027 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9028 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9029 config/c6x/ltf.c: New files.
9030 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9031 (HOST_LIBGCC2_CFLAGS): Set.
9032 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9033 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9034 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9035 New files.
9036 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9037 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9038 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9039 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9040 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9041 files.
9042 * config/frv/t-frv (LIB2ADD): Set.
9043 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9044 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9045 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9046 config/h8300/popcounthi2.c: New files.
9047 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9048 * config/i386/gthr-win32.c: New file.
9049 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9050 * config/i386/t-cygwin: Likewise.
9051 * config/i386/t-darwin, config/i386/t-darwin64,
9052 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9053 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9054 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9055 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9056 * config/ia64/quadlib.c: New file.
9057 * config/ia64/t-hpux (LIB2ADD): Set.
9058 * config/ia64/t-ia64: Add comment.
9059 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9060 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9061 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9062 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9063 * config/m32c/t-m32c (LIB2ADD): Set.
9064 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9065 * config/m32r/t-m32r: Likewise.
9066 * config/m68k/fpgnulib.c: New file.
9067 * config/m68k/t-floatlib (LIB2ADD): Set.
9068 (xfgnulib.c): New target.
9069 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9070 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9071 * config/mep/t-mep (LIB2ADD): Set.
9072 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9073 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9074 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9075 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9076 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9077 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9078 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9079 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9080 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9081 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9082 New files.
9083 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9084 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9085 * config/pa/fptr.c, config/pa/lib2funcs.S,
9086 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9087 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9088 (LIB2ADD, LIB2ADD_ST): Set.
9089 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9090 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9091 Set.
9092 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9093 * config/pdp11/t-pdp11: New file.
9094 * config/picochip/libgccExtras/adddi3.S,
9095 config/picochip/libgccExtras/ashlsi3.S,
9096 config/picochip/libgccExtras/ashrsi3.S,
9097 config/picochip/libgccExtras/clzsi2.S,
9098 config/picochip/libgccExtras/cmpsi2.S,
9099 config/picochip/libgccExtras/divmod15.S,
9100 config/picochip/libgccExtras/divmodhi4.S,
9101 config/picochip/libgccExtras/divmodsi4.S,
9102 config/picochip/libgccExtras/lshrsi3.S,
9103 config/picochip/libgccExtras/parityhi2.S,
9104 config/picochip/libgccExtras/popcounthi2.S,
9105 config/picochip/libgccExtras/subdi3.S,
9106 config/picochip/libgccExtras/ucmpsi2.S,
9107 config/picochip/libgccExtras/udivmodhi4.S,
9108 config/picochip/libgccExtras/udivmodsi4.S: New files.
9109 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9110 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9111 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9112 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9113 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9114 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9115 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9116 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9117 files.
9118 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9119 (HOST_LIBGCC2_CFLAGS): Set.
9120 * config/rs6000/t-darwin64: New file.
9121 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9122 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9123 * config/rs6000/t-ppccomm (LIB2ADD): Add
9124 $(srcdir)/config/rs6000/tramp.S.
9125 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9126 Add $(srcdir)/config/rs6000/eabi.S.
9127 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9128 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9129 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9130 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9131 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9132 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9133 * config/rs6000/tramp.S: New file.
9134 * config/s390/t-tpf: Remove.
9135 * config/sh/linux-atomic.S: New file.
9136 * config/sh/t-linux (LIB2ADD): Set.
9137 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9138 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9139 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9140 to unwind-dw2.c.
9141 (HOST_LIBGCC2_CFLAGS): Set.
9142 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9143 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9144 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9145 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9146 config/spu/mfc_multi_tag_release.c,
9147 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9148 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9149 config/spu/multi3.c: New files.
9150 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9151 (HOST_LIBGCC2_CFLAGS): Set.
9152 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9153 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9154 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9155 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9156 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9157 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9158 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9159 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9160 config/stormy16/umodsi3.c: New files.
9161 * config/xtensa/lib2funcs.S: New file.
9162 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9163 * config/xtensa/t-xtensa (LIB2ADD): Set.
9164 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9165 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9166 Add t-freebsd-thread to tmake_file for posix threads.
9167 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9168 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9169 (*-*-lynxos*): Likewise.
9170 (*-*-netbsd*): Likewise.
9171 (*-*-openbsd*): Likewise.
9172 Add t-openbsd-thread to tmake_file for posix threads.
9173 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9174 (*-*-vxworks*): Set tmake_file.
9175 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9176 (alpha*-*-freebsd*): Likewise.
9177 (alpha*-*-netbsd*): Likewise.
9178 (alpha*-*-openbsd*): Likewise.
9179 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9180 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9181 (alpha*-dec-*vms*): Likewise.
9182 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9183 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9184 (bfin*-uclinux*): Likewise.
9185 (bfin*-linux-uclibc*): Likewise.
9186 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9187 (crisv32-*-none): Likewise.
9188 (cris-*-elf): Likewise.
9189 (cris-*-none): Likewise.
9190 (cris-*-linux*, crisv32-*-linux*): Likewise.
9191 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9192 tmake_file.
9193 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9194 tmake_file.
9195 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9196 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9197 (x86_64-*-elf*): Likewise.
9198 (i[34567]86-*-nto-qnx*): Likewise.
9199 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9200 win32 threads.
9201 (x86_64-*-mingw*): Likewise.
9202 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9203 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9204 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9205 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9206 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9207 tmake_file.
9208 (mipsisa64sr71k-*-elf*): Likewise.
9209 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9210 (mips-*-elf*, mipsel-*-elf*): Likewise.
9211 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9212 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9213 (mips*-*-rtems*): Likewise.
9214 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9215 to tmake_file.
9216 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9217 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9218 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9219 (spu-*-elf*): Likewise.
9220 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9221
9222 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9223
9224 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9225 $(srcdir) to refer to $(LIB1ASMSRC).
9226 Use $<.
9227 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9228 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9229 config/arm/lib1funcs.S: New files.
9230 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9231 * config/arm/t-arm: New file.
9232 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9233 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9234 config/arm/t-strongarm-elf: New files.
9235 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9236 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9237 * config/avr/lib1funcs.S: New file.
9238 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9239 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9240 * config/c6x/lib1funcs.S: New file.
9241 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9242 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9243 * config/frv/lib1funcs.S: New file.
9244 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9245 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9246 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9247 * config/ia64/__divxf3.asm: Rename to ...
9248 * config/ia64/__divxf3.S: ... this.
9249 Adapt lib1funcs.asm filename.
9250 * config/ia64/_fixtfdi.asm: Rename to ...
9251 * config/ia64/_fixtfdi.S: ... this.
9252 Adapt lib1funcs.asm filename.
9253 * config/ia64/_fixunstfdi.asm: Rename to ...
9254 * config/ia64/_fixunstfdi.S: ... this.
9255 Adapt lib1funcs.asm filename.
9256 * config/ia64/_floatditf.asm: Rename to ...
9257 * config/ia64/_floatditf.S: ... this.
9258 Adapt lib1funcs.asm filename.
9259 * config/ia64/lib1funcs.S: New file.
9260 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9261 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9262 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9263 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9264 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9265 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9266 * config/mep/lib1funcs.S: New file.
9267 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9268 * config/mips/mips16.S: New file.
9269 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9270 * config/pa/milli64.S: New file.
9271 * config/pa/t-linux, config/pa/t-linux64: New files.
9272 * config/picochip/lib1funcs.S: New file.
9273 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9274 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9275 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9276 * config/sh/t-netbsd: New file.
9277 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9278 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9279 * config/sh/t-sh64: New file.
9280 * config/sparc/lb1spc.S: New file.
9281 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9282 filename.
9283 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9284 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9285 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9286 config/xtensa/lib1funcs.S: New files.
9287 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9288 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9289 tmake_file.
9290 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9291 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9292 (arm*-*-linux*): Likewise.
9293 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9294 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9295 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9296 (arm*-*-ecos-elf): Likewise.
9297 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9298 (arm*-*-rtems*): Likewise.
9299 (arm*-*-elf): Likewise.
9300 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9301 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9302 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9303 (bfin*-uclinux*): Likewise.
9304 (bfin*-linux-uclibc*): Likewise.
9305 (bfin*-rtems*): Likewise.
9306 (bfin*-*): Likewise.
9307 (fido-*-elf): Merge into m68k-*-elf*.
9308 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9309 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9310 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9311 (h8300-*-elf*): Likewise.
9312 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9313 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9314 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9315 (i[34567]86-*-mingw*): Likewise.
9316 (x86_64-*-mingw*): Likewise.
9317 (i[34567]86-*-interix3*): Likewise.
9318 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9319 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9320 (m68k-*-elf*): Also handle fido-*-elf.
9321 Add m68k/t-floatlib to tmake_file.
9322 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9323 (m68k-*-linux*): Likewise.
9324 (m68k-*-rtems*): Likewise.
9325 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9326 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9327 sh64*-*-*.
9328 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9329 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9330 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9331 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9332 sh/t-netbsd to tmake_file.
9333 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9334 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9335 (sh-wrs-vxworks): Likewise.
9336 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9337 *-leon[3-9]*.
9338 (v850*-*-*): Add v850/t-v850 to tmake_file.
9339 (vax-*-linux*): Add vax/t-linux to tmake_file.
9340 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9341
9342 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9343
9344 * crtstuff.c: New file.
9345 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9346 (CRTSTUFF_T_CFLAGS): Define.
9347 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9348 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9349 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9350 crtstuff.c.
9351 Use $<.
9352 (crtbeginT.o): Use $(objext).
9353 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9354 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9355 (gcc-extra-parts): Remove.
9356 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9357 Set extra_parts.
9358 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9359 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9360 Add t-crtstuff-pic to tmake_file.
9361 (*-*-lynxos*): New case.
9362 Set tmake_file, extra_parts.
9363 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9364 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9365 *-*-netbsdelf[2-9]*.
9366 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9367 (*-*-rtems*): Set extra_parts.
9368 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9369 (*-*-uclinux*): New case.
9370 Set extra_parts.
9371 (*-*-vms*): New case.
9372 Set tmake_file, extra_parts.
9373 (*-*-elf): Set extra_parts.
9374 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9375 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9376 vms/t-vms64.
9377 Set extra_parts.
9378 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9379 Set extra_parts.
9380 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9381 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9382 (arm-wrs-vxworks): Append to tmake_file.
9383 Set extra_parts.
9384 (arm*-*-uclinux*): Set extra_parts.
9385 (arm*-*-ecos-elf): Likewise.
9386 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9387 arm*-*-eabi*.
9388 (arm*-*-rtems*): Set extra_parts.
9389 (arm*-*-elf): Likewise.
9390 (avr-*-rtems*): Clear extra_parts.
9391 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9392 Set extra_parts.
9393 (bfin*-uclinux*): Likewise.
9394 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9395 (bfin*-rtems*): Append to tmake_file.
9396 Set extra_parts.
9397 (bfin*-*): Likewise.
9398 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9399 (crisv32-*-elf): ... this.
9400 (crisv32-*-none): ... this.
9401 (cris-*-elf, cris-*-none): New cases.
9402 Add cris/t-elfmulti to tmake_file.
9403 (fr30-*-elf): Append to tmake_file.
9404 Set extra_parts.
9405 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9406 Set extra_parts.
9407 (h8300-*-rtems*): Append to tmake_file.
9408 Set extra_parts.
9409 (h8300-*-elf*): Likewise.
9410 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9411 Set extra_parts.
9412 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9413 Set extra_parts.
9414 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9415 (x86_64-*-elf*): Likewise.
9416 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9417 (x86_64-*-freebsd*): Likewise.
9418 (x86_64-*-netbsd*): Likewise.
9419 (i[34567]86-*-linux*): Likewise.
9420 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9421 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9422 (x86_64-*-linux*): Likewise.
9423 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9424 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9425 tmake_file.
9426 Set extra_parts.
9427 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9428 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9429 Append to extra_parts, remove crtbegin.o, crtend.o.
9430 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9431 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9432 crtend.o, crtbeginS.o, crtendS.o.
9433 (ia64*-*-linux*): Comment extra_parts.
9434 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9435 Set extra_parts.
9436 (iq2000*-*-elf*): Clear extra_parts.
9437 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9438 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9439 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9440 (m32r-*-rtems*): ... this.
9441 Add m32r/t-m32r to tmake_file.
9442 (m68k-*-elf*): Add t-crtin to tmake_file.
9443 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9444 (mcore-*-elf): Likewise.
9445 (microblaze*-*-*): Set extra_parts.
9446 (mips*-sde-elf*): New case.
9447 Set tmake_file, extra_parts.
9448 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9449 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9450 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9451 tmake_file.
9452 Set extra_parts.
9453 (mipsisa64sr71k-*-elf*): Likewise.
9454 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9455 (mips-*-elf*, mipsel-*-elf*): Likewise.
9456 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9457 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9458 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9459 (mips*-*-rtems*): Likewise.
9460 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9461 (moxie-*-*): Split into ...
9462 (moxie-*-elf, moxie-*-uclinux*): ... this.
9463 Add to extra_parts, remove crtbegin.o, crtend.o.
9464 (moxie-*-rtems*): New case.
9465 Set tmake_file.
9466 Clear extra_parts.
9467 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9468 Set extra_parts.
9469 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9470 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9471 tmake_file.
9472 Set extra_parts.
9473 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9474 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9475 Set extra_parts.
9476 (powerpc-*-eabisim*): Likewise.
9477 (powerpc-*-elf*): Likewise.
9478 (powerpc-*-eabialtivec*): Likewise.
9479 (powerpc-xilinx-eabi*): Likewise.
9480 (powerpc-*-eabi*): Likewise.
9481 (powerpc-*-rtems*): Likewise.
9482 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9483 tmake_file.
9484 Set extra_parts.
9485 (powerpc-*-lynxos*): Add to tmake_file.
9486 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9487 rs6000/t-crtstuff, t-crtstuff-pic.
9488 Set extra_parts.
9489 (powerpcle-*-eabisim*): Likewise.
9490 (powerpcle-*-eabi*): Likewise.
9491 (rx-*-elf): Remove extra_parts.
9492 (s390x-ibm-tpf*): Set extra_parts.
9493 (score-*-elf): Set extra_parts.
9494 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9495 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9496 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9497 (sh64l*-*-netbsd*): Split into ...
9498 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9499 Add t-crtstuff-pic to tmake_file.
9500 Set extra_parts.
9501 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9502 Set extra_parts.
9503 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9504 (sparc-*-elf*): Remove t-crtin from tmake_file.
9505 Add to extra_parts, remove crtbegin.o, crtend.o.
9506 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9507 (sparc64-*-linux*): Likewise.
9508 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9509 Add to extra_parts, remove crtbegin.o, crtend.o.
9510 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9511 Add to extra_parts, remove crtbegin.o, crtend.o.
9512 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9513 Add to extra_parts, remove crtbegin.o, crtend.o.
9514 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9515 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9516 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9517 Set extra_parts.
9518 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9519 Set extra_parts.
9520 (tic6x-*-*): Change to ...
9521 (tic6x-*-elf): ... this.
9522 Set extra_parts.
9523 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9524 Set extra_parts.
9525 (am33_2.0-*-linux*): Add comment.
9526 (mep*-*-*): Add mep/t-mep to tmake_file.
9527 Set extra_parts.
9528 * config/alpha/t-vms: New file.
9529 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9530 * config/arm/crti.S, config/arm/crtn.S: New files.
9531 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9532 * config/bfin/crtlibid.S: New file.
9533 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9534 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9535 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9536 (crti.o, crtin.o): New rules.
9537 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9538 * config/c6x/t-uclinux: New file.
9539 * config/cris/t-elfmulti: New file.
9540 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9541 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9542 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9543 * config/frv/t-frv: New file.
9544 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9545 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9546 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9547 New files.
9548 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9549 refer to cygming-crtbegin.c, cygming-crtend.c.
9550 Use $<.
9551 * config/i386/t-nto: New file.
9552 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9553 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9554 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9555 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9556 Use .S extension.
9557 Use $<.
9558 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9559 (crtinitS.o): New rule.
9560 * config/ia64/vms-crtinit.S: New file.
9561 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9562 * config/m32r/initfini.c: New file.
9563 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9564 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9565 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9566 * config/mep/t-mep: New file.
9567 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9568 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9569 * config/mips/crti.S, config/mips/crtn.S: New files.
9570 * config/mips/t-crtstuff: New file.
9571 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9572 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9573 (CUSTOM_CRTIN): Set.
9574 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9575 dependencies.
9576 Use $(srcdir) to refer to crti.S, crtn.S.
9577 Use .S extension, $<.
9578 * config/moxie/crti.asm: Rename to ...
9579 * config/moxie/crti.S: ... this.
9580 * config/moxie/crtn.asm: Rename to ...
9581 * config/moxie/crtn.S: ... this.
9582 * config/moxie/t-moxie: Remove.
9583 * config/pa/stublib.c: New file.
9584 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9585 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9586 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9587 * config/rs6000/t-crtstuff: New file.
9588 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9589 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9590 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9591 Make output file explicit.
9592 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9593 Make output file explicit.
9594 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9595 Make output file explicit.
9596 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9597 Make output file explicit.
9598 * config/score/crti.S, config/score/crtn.S: New files.
9599 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9600 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9601 files.
9602 * config/sh/t-sh, config/sh/t-superh: New files.
9603 * config/sparc/t-linux64: New file.
9604 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9605 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9606 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9607 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9608 * config/t-crtin: Remove.
9609 * config/t-crtstuff-pic: New file.
9610 * config/t-sol2 (CUSTOM_CRTIN): Set.
9611 (crti.o, crtn.o): New rules.
9612 * config/vms/t-vms: New file.
9613 * config/vms/vms-ucrt0.c: New file.
9614 * config/xtensa/t-elf: New file.
9615
9616 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9617
9618 * Makefile.in (SHLIB_NM_FLAGS): Set.
9619 * mkmap-flat.awk, mkmap-symver.awk: New files.
9620 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9621 exceptions.
9622 * configure: Regenerate.
9623 * config/libgcc-glibc.ver: New file.
9624 * config/libgcc-libsystem.ver: New file.
9625 * config/t-libunwind (SHLIB_LC): Set.
9626 * config/t-linux: New file.
9627 * config/t-slibgcc (INSTALL_SHLIB): New.
9628 (SHLIB_INSTALL): Use it.
9629 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9630 to mkmap-symver.awk.
9631 (SHLIB_MAPFILES): Don't append, adapt pathname.
9632 (SHLIB_VERPFX): Set.
9633 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9634 to mkmap-symver.awk.
9635 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9636 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9637 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9638 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9639 to mkmap-flat.awk.
9640 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9641 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9642 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9643 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9644 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9645 * config/i386/libgcc-darwin.10.4.ver,
9646 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9647 New files.
9648 * config/i386/t-darwin: Remove.
9649 * config/i386/t-darwin64: Likewise.
9650 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9651 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9652 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9653 * config/i386/t-linux: New file.
9654 * config/i386/t-mingw32: New file.
9655 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9656 * config/ia64/t-glibc: Rename to ...
9657 * config/ia64/t-linux: ... this.
9658 (SHLIB_MAPFILES): Set.
9659 * config/ia64/t-glibc-libunwind: Rename to ...
9660 * config/ia64/t-linux-libunwind: ... this.
9661 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9662 * config/ia64/t-slibgcc-hpux: New file.
9663 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9664 * config/m68k/t-slibgcc-elf-ver: New file.
9665 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9666 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9667 to mkmap-flat.awk.
9668 * config/pa/t-slibgcc-hpux: New file.
9669 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9670 files.
9671 * config/rs6000/libgcc-darwin.10.4.ver,
9672 config/rs6000/libgcc-darwin.10.5.ver: New files.
9673 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9674 config/rs6000/libgcc-glibc.ver.
9675 * config/rs6000/libgcc-ppc64.ver: Rename to
9676 config/rs6000/libgcc-ibm-ldouble.ver.
9677 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9678 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9679 * config/rs6000/t-ldbl128: Rename to ...
9680 * config/rs6000/t-linux: ... this.
9681 (SHLIB_MAPFILES): Adapt filename.
9682 * config/rs6000/t-slibgcc-aix: New file.
9683 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9684 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9685 libgcc-excl.ver, libgcc-glibc.ver.
9686 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9687 * config/sparc/libgcc-glibc.ver: New file.
9688 * config/sparc/t-linux: New file.
9689 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9690 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9691 t-slibgcc-elf-ver to tmake_file.
9692 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9693 *-*-freebsd[34].
9694 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9695 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9696 t-slibgcc-elf-ver, t-linux to tmake_file.
9697 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9698 tmake_file.
9699 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9700 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9701 (alpha*-dec-*vms*): Likewise.
9702 (arm*-*-freebsd*): Append to tmake_file.
9703 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9704 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9705 arm*-*-linux-*eabi.
9706 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9707 tmake_file for arm*-*-symbianelf*.
9708 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9709 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9710 cris/t-linux.
9711 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9712 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9713 pa/t-slibgcc-dwarf-ver to tmake_file.
9714 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9715 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9716 (hppa*64*-*-hpux11*): Likewise.
9717 (hppa[12]*-*-hpux11*): Likewise.
9718 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9719 i386/t-crtpc, i386/t-crtfm.
9720 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9721 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9722 to tmake_file.
9723 Add i386/t-cygwin to tmake_file.
9724 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9725 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9726 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9727 to tmake_file.
9728 Add i386/t-mingw32 to tmake_file.
9729 (x86_64-*-mingw*): Likewise.
9730 (ia64*-*-freebsd*): Append to tmake_file.
9731 (ia64*-*-linux*): Append to tmake_file.
9732 Replace ia64/t-glibc by ia64/t-linux.
9733 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9734 system libunwind.
9735 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9736 t-slibgcc-hpux to tmake_file.
9737 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9738 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9739 (m32rle-*-linux*): Likewise.
9740 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9741 sjlj exceptions.
9742 (microblaze*-linux*): New case.
9743 Append to tmake_file, add t-slibgcc-nolc-override.
9744 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9745 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9746 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9747 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9748 rs6000/t-slibgcc-aix to tmake_file.
9749 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9750 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9751 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9752 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9753 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9754 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9755 sh*-*-linux*.
9756 (sparc-*-linux*): Append to tmake_file for *-leon*.
9757 Add sparc/t-linux to tmake_file for non-Leon targets.
9758 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9759 (tic6x-*-uclinux): New case.
9760 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9761 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9762 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9763 (am33_2.0-*-linux*): Append to tmake_file.
9764 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9765 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9766 x86_64-*-kfreebsd*-gnu.
9767 Add i386/t-linux to tmake_file.
9768
9769 2011-10-28 Ian Lance Taylor <iant@google.com>
9770
9771 * config/i386/morestack.S: Correct CFI information to do proper
9772 returns throughout function. In 32-bit mode, save %ebx so that it
9773 is restored on unwind.
9774
9775 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9776
9777 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9778 case where B3 isn't the return register.
9779
9780 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9781 logic for doubleword pops.
9782
9783 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9784
9785 * config/rs6000/t-freebsd: Add wildcard.
9786
9787 2011-10-21 Paul Brook <paul@codesourcery.com>
9788
9789 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9790
9791 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9792 Eric Botcazou <ebotcazou@adacore.com>
9793
9794 PR target/50737
9795 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9796 fs->signal_frame to 1.
9797
9798 2011-10-07 Ian Lance Taylor <iant@google.com>
9799
9800 * generic-morestack-thread.c: #include <errno.h>.
9801
9802 2011-10-07 Ian Lance Taylor <iant@google.com>
9803
9804 PR target/46093
9805 * generic-morestack.c (__generic_morestack): Make sure the segment
9806 is large enough for both the stack frame and the copied
9807 parameters.
9808
9809 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9810
9811 PR bootstrap/49804
9812 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9813 extra_parts.
9814
9815 2011-09-28 Nick Clifton <nickc@redhat.com>
9816
9817 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9818 64-bit doubles are not enabled.
9819 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9820 and floatunsisf functions.
9821
9822 2011-09-13 Paul Brook <paul@codesourcery.com>
9823
9824 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9825 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9826 * unwind-arm-common.inc: New file.
9827 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9828 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9829 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9830 * config/c6x/libunwind.S: New file.
9831 * config/c6x/pr-support.c: New file.
9832 * config/c6x/unwind-c6x.c: New file.
9833 * config/c6x/unwind-c6x.h: New file.
9834 * config/c6x/t-c6x-elf: New file.
9835
9836 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9837
9838 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9839 (ASM_DIVZERO): Ditto.
9840 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9841
9842 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9843
9844 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9845
9846 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9847
9848 PR target/50090
9849 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9850 instead of an assembly one.
9851
9852 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9853
9854 PR bootstrap/50047
9855 * Makefile.in (install-unwind_h): Create
9856 $(gcc_objdir)/include/unwind.h atomically.
9857
9858 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9859
9860 * Makefile.in (install-unwind_h): Remove destination file first.
9861
9862 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9863
9864 * sync.c: New file.
9865 * config/mips/t-mips16: New file.
9866 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9867 (mips*-*-linux*): Likewise.
9868 (mips*-sde-elf*): Likewise.
9869 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9870 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9871 Add mips/t-mips16 to tmake_file.
9872 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9873 (mips-*-elf*): Likewise.
9874 (mips64-*-elf*): Likewise.
9875 (mips64orion-*-elf*): Likewise.
9876 (mips*-*-rtems*): Likewise.
9877 (mipstx39-*-elf*): Likewise.
9878 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9879 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9880 LIBGCC_SYNC_CFLAGS.
9881 Use $(srcdir) to refer to sync.c.
9882 Use $<.
9883 ($(libgcc-sync-funcs-o)): Likewise.
9884 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9885 ($(libgcc-sync-funcs-s-o)): Likewise.
9886
9887 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9888
9889 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9890 t-libunwind.
9891
9892 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9893
9894 PR other/48007
9895 * config/i386/value-unwind.h: New.
9896
9897 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9898
9899 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9900 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9901 Add to tmake_file rather than overriding it.
9902
9903 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9904
9905 * config/t-softfp: Remove.
9906 * soft-fp: Moved from ../gcc/config.
9907 * soft-fp/README: Remove t-softfp reference.
9908 * soft-fp/t-softfp: Move to config/t-softfp.
9909 (softfp_machine_header): Remove.
9910 (softfp_file_list): Remove config subdir.
9911 (soft-fp-objects): New variable.
9912 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9913 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9914 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9915 * config/t-softfp-excl: New file.
9916 * config/t-softfp-sfdf: New file.
9917 * config/t-softfp-tf: New file.
9918 * config/no-sfp-machine.h: New file.
9919 * config/arm/sfp-machine.h: New file.
9920 * config/arm/t-softfp: New file.
9921 * config/c6x/sfp-machine.h: New file.
9922 * config/i386/32/t-fprules-softfp: Rename to ...
9923 * config/i386/32/t-softfp: ... this.
9924 (tifunctions, LIB2ADD): Remove.
9925 (softfp_int_modes): Override.
9926 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9927 subdir.
9928 * config/i386/64/eqtf2.c: Likewise.
9929 * config/i386/64/getf2.c: Likewise.
9930 * config/i386/64/letf2.c: Likewise.
9931 * config/ia64/sft-machine.h: New file.
9932 * config/ia64/t-fprules-softfp: Rename to ...
9933 * config/ia64/t-softfp: ... this.
9934 * config/lm32/sfp-machine.h: New file.
9935 * config/moxie/t-moxie-softfp: Remove.
9936 * config/rs6000/ibm-ldouble-format: New file.
9937 * config/rs6000/ibm-ldouble.c: New file.
9938 * config/rs6000/libgcc-ppc-glibc.ver: New file
9939 * config/rs6000/libgcc-ppc64.ver: New file
9940 * config/rs6000/sfp-machine.h: New file.
9941 * config/rs6000/t-freebsd: New file.
9942 * config/rs6000/t-ibm-ldouble: New file.
9943 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9944 libgcc-ppc-glibc.ver.
9945 * config/rs6000/t-linux64: New file.
9946 * config/rs6000/t-ppccomm (LIB2ADD): Add
9947 $(srcdir)/config/rs6000/ibm-ldouble.c.
9948 * config/rs6000/t-ppccomm-ldbl: New file.
9949 * config/score/sfp-machine.h: New file.
9950 * config.host (sfp_machine_header): Explain.
9951 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9952 t-softfp to tmake_file.
9953 (arm*-*-uclinux*): Likewise.
9954 (arm*-*-ecos-elf): Likewise.
9955 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9956 (arm*-*-rtems*): Likewise.
9957 (arm*-*-elf): Likewise.
9958 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9959 in tmake_file.
9960 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9961 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9962 (lm32-*-uclinux*): Likewise.
9963 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9964 t-softfp-excl, t-softfp.
9965 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9966 (powerpc64-*-darwin*): Likewise.
9967 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9968 to tmake_file.
9969 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9970 tmake_file.
9971 (powerpc-*-eabisim*): Likewise.
9972 (powerpc-*-elf*): Likewise.
9973 (powerpc-*-eabialtivec*): Likewise.
9974 (powerpc-xilinx-eabi*): Likewise.
9975 (powerpc-*-rtems*): Likewise.
9976 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9977 t-softfp-excl, t-softfp to tmake_file.
9978 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9979 rs6000/t-ppccomm-ldbl to tmake_file.
9980 (powerpcle-*-elf*): Likewise.
9981 (powerpcle-*-eabisim*): Likewise.
9982 (powerpcle-*-eabi*): Likewise.
9983 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9984 rs6000/t-ibm-ldouble to tmake_file.
9985 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9986 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9987 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9988 (tic6x-*-*): Likewise.
9989 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9990 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9991 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9992 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9993 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9994 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9995 t-softfp to tmake_file.
9996 * configure.ac (sfp_machine_header): Provide default if unset.
9997 Substitute.
9998 Link sfp-machine.h to config/$sfp_machine_header.
9999 * configure: Regenerate.
10000
10001 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10002
10003 * Makefile.in (double_type_size, long_double_type_size): Set.
10004 Remove $(fpbit-in-libgcc) support.
10005 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10006 (fpbit-src): New variable.
10007 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10008 Compile with -DFLOAT $(FPBIT_CFLAGS).
10009 Use $<.
10010 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10011 Compile with $(FPBIT_CFLAGS).
10012 Use $<.
10013 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10014 Compile with -DFLOAT $(TPBIT_CFLAGS).
10015 Use $<.
10016 * configure.ac (double_type_size, long_double_type_size):
10017 Determine and substitute.
10018 * configure: Regenerate.
10019 * fp-bit.c, fp-bit.h: New files.
10020 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10021 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10022 * config/mips/t-mips: New file.
10023 * config/mips/t-sdemtk: New file.
10024 * config/rs6000/ppc64-fp.c: New file.
10025 * config/rs6000/t-darwin (LIB2ADD): Add
10026 $(srcdir)/config/rs6000/ppc64-fp.c.
10027 * config/rs6000/t-ppc64-fp: New file.
10028 * config/rx/rx-lib.h: New file.
10029 * config/rx/t-rx (FPBIT): Set to true.
10030 ($(gcc_objdir)/fp-bit.c): Remove.
10031 (DPBIT): Set to true only with -m64bit-doubles.
10032 ($(gcc_objdir)/dp-bit.c): Remove.
10033 * config/sparc/t-softfp: Remove.
10034 * config/spu/t-elf: New file.
10035 * config/t-fdpbit, config/t-fpbit: New files.
10036 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10037 (mips*-*-*): Likewise.
10038 (arm-wrs-vxworks): Likewise.
10039 (arm*-*-freebsd*): Likewise.
10040 (avr-*-rtems*): Add t-fpbit to tmake_file.
10041 (avr-*-*): Likewise.
10042 (bfin*-elf*): Add t-fdpbit to tmake_file.
10043 (bfin*-uclinux*): Likewise.
10044 (bfin*-linux-uclibc*): Likewise.
10045 (bfin*-rtems*): New case.
10046 Add t-fdpbit to tmake_file.
10047 (bfin*-*): Add t-fdpbit to tmake_file.
10048 (crisv32-*-elf): Likewise.
10049 (cris-*-linux*): Likewise.
10050 (fr30-*-elf): Likewise.
10051 (frv-*-elf, frv-*-*linux*): Likewise.
10052 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10053 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10054 (m32r-*-elf*): Likewise.
10055 (m32rle-*-elf*): Likewise.
10056 (m32r-*-linux*): Likewise.
10057 (m32rle-*-linux*): Likewise.
10058 (mcore-*-elf): Add t-fdpbit to tmake_file.
10059 (microblaze*-*-*): Likewise.
10060 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10061 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10062 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10063 Fix typo.
10064 Add mips/t-tpbit to tmake-file.
10065 (mips*-*-linux*): Fix typo.
10066 (mips*-sde-elf*): New case
10067 Add mips/t-sdemtk unless using newlib.
10068 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10069 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10070 (mn10300-*-*): Likewise.
10071 (pdp11-*-*): Likewise.
10072 (picochip-*-*): Add t-fpbit to tmake_file.
10073 (powerpc-*-eabisimaltivec*): Likewise.
10074 (powerpc-*-eabisim*): Likewise.
10075 (powerpc-*-elf*): Likewise.
10076 (powerpc-*-eabialtivec*): Likewise.
10077 (powerpc-xilinx-eabi*): New case.
10078 Add t-fdpbit to tmake_file.
10079 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10080 (powerpc-*-rtems*): Likewise.
10081 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10082 tmake_file.
10083 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10084 tmake_file.
10085 (powerpc-*-lynxos*): Likewise.
10086 (powerpcle-*-elf*): Likewise.
10087 (powerpcle-*-eabisim*): Likewise.
10088 (powerpcle-*-eabi*): Likewise.
10089 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10090 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10091 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10092 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10093 (rx-*-elf): Add t-fdpbit to tmake_file.
10094 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10095 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10096 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10097 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10098 sh*-*-netbsd*.
10099 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10100 (sh-wrs-vxworks): Likewise.
10101 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10102 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10103 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10104 (sparc64-*-rtems*): ... new case.
10105 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10106 (spu-*-elf*): Likewise.
10107 Add spu/t-elf to tmake_file.
10108 (v850*-*-*): Add t-fdpbit to tmake_file.
10109 (xstormy16-*-elf): Likewise.
10110 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10111 (mep*-*-*): Likewise.
10112
10113 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10114
10115 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10116 variables.
10117 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10118 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10119 (install-unwind_h): New target.
10120 (all): Depend on it.
10121 * config.host (unwind_header): New variable.
10122 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10123 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10124 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10125 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10126 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10127 Set unwind_header.
10128 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10129 Set unwind_header.
10130 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10131 arm*-*-eabi*.
10132 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10133 Set unwind_header.
10134 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10135 (ia64*-*-freebsd*): Likewise.
10136 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10137 tmake_file.
10138 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10139 $with_system_libunwind.
10140 (ia64*-*-hpux*): Set tmake_file.
10141 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10142 (picochip-*-*): Set tmake_file.
10143 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10144 md_unwind_header.
10145 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10146 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10147 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10148 (xtensa*-*-elf*): Set tmake_file.
10149 (xtensa*-*-linux*): Likewise.
10150 * configure.ac: Include ../config/unwind_ipinfo.m4.
10151 Call GCC_CHECK_UNWIND_GETIPINFO.
10152 Link unwind.h to $unwind_header.
10153 * configure: Regenerate.
10154 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10155 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10156 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10157 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10158 * config/unwind-dw2-fde-darwin.c: New file.
10159 * config/arm/libunwind.S, config/arm/pr-support.c,
10160 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10161 config/arm/unwind-arm.h,: New files.
10162 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10163 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10164 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10165 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10166 config/ia64/unwind-ia64.h: New files.
10167 * config/picochip/t-picochip: New file.
10168 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10169 files.
10170 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10171 * config/s390/t-tpf (LIB2ADDEH): Remove.
10172 * config/t-darwin (LIB2ADDEH): Set.
10173 * config/t-eh-dw2-dip: New file.
10174 * config/t-libunwind, config/t-libunwind-elf: New files.
10175 * config/t-sol2 (LIB2ADDEH): Remove.
10176 * config/xtensa/t-xtensa: New file.
10177
10178 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10179
10180 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10181 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10182 long long to check rt_sigreturn syscall.
10183
10184 2011-08-02 Alan Modra <amodra@gmail.com>
10185
10186 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10187 Restore for indirect call bcrtl from correct stack slot, and only
10188 if cfa+40 isn't valid.
10189
10190 2011-08-01 Julian Brown <julian@codesourcery.com>
10191
10192 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10193 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10194 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10195
10196 2011-08-01 Julian Brown <julian@codesourcery.com>
10197
10198 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10199 (libgcc-std.ver.in): Use above.
10200 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10201 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10202 throughout file.
10203 * config/t-fixedpoint-gnu-prefix: New file.
10204 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10205 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10206 instead of __PFX__.
10207
10208 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10209
10210 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10211 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10212 for x86-64. Properly check __x86_64__ and __LP64__.
10213
10214 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10215
10216 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10217 version.
10218 (_FP_WS_TYPE): Likewise.
10219 (_FP_I_TYPE): Likewise.
10220
10221 2011-07-28 Alan Modra <amodra@gmail.com>
10222
10223 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10224 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10225 in a plt call stub. Do restore r2 if stopped on bctrl.
10226
10227 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10228
10229 * config.host (i[3456x]86-*-netware*): Remove.
10230 * config/i386/netware-crt0.c, config/i386/t-nwld,
10231 config/i386/t-slibgcc-nwld: Remove.
10232
10233 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10234
10235 * config.host: Handle tic6x-*-*.
10236 * config/c6x/c6x-abi.h: New file.
10237
10238 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10239
10240 * config/i386/crtprec.c: New file.
10241 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10242 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10243 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10244 (x86_64-*-darwin*): Likewise.
10245 (i[34567]86-*-solaris2*: Likewise.
10246
10247 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10248
10249 * config/alpha/crtfastmath.c: New file.
10250 * config/i386/crtfastmath.c: New file.
10251 * config/ia64/crtfastmath.c: New file.
10252 * config/mips/crtfastmath.c: New file.
10253 * config/sparc/crtfastmath.c: New file.
10254
10255 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10256 crtfastmath.c.
10257 Add -frandom-seed=gcc-crtfastmath.
10258 * config/alpha/t-crtfm: Remove.
10259 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10260 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10261
10262 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10263 (alpha*-dec-osf5.1*): Likewise.
10264 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10265 Add crtfastmath.o to extra_parts.
10266 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10267 Add crtfastmath.o to extra_parts.
10268 (x86_64-*-darwin*): Likewise.
10269 (x86_64-*-mingw*): Likewise.
10270 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10271 (ia64*-*-freebsd*): Likewise.
10272 (ia64*-*-linux*): Likewise.
10273 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10274 Add crtfastmath.o to extra_parts.
10275
10276 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10277
10278 * config/darwin-crt3.o: New file.
10279 * config/rs6000/darwin-crt2.c: New file.
10280 * config/t-darwin: New file.
10281 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10282 (crt2.o): New rule.
10283 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10284 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10285 (powerpc64-*-darwin*): Likewise.
10286
10287 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10288
10289 * config/i386/netware-crt0.c: New file.
10290 * config/i386/t-nwld: Rename to ...
10291 * config/i386/t-slibgcc-nwld: ... this.
10292 * config/i386/t-nwld: New file.
10293 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10294 tmake_file.
10295 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10296 extra_parts.
10297
10298 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10299
10300 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10301 i386/t-crtstuff.
10302 * configure: Regenerate.
10303
10304 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10305
10306 * dfp-bit.c, dfp-bit.h: New files.
10307 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10308 variables.
10309 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10310 ($(d64pbit-o)): Likewise.
10311 ($(d128pbit-o)): Likewise.
10312 * config/t-dfprules: New file.
10313 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10314 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10315 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10316 (x86_64-*-linux*): Likewise.
10317 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10318 (i[34567]86-*-cygwin*): Likewise.
10319 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10320 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10321
10322 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10323
10324 * Makfile.in (LIBGCOV): New variable.
10325 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10326 * libgcov.c: New file.
10327
10328 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10329
10330 * fixed-bit.c, fixed-bit.h: New files.
10331 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10332 refer to fixed-bit.c.
10333
10334 2011-07-07 Joseph Myers <joseph@codesourcery.com>
10335
10336 * config.host (*local*): Remove.
10337
10338 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10339
10340 PR target/39150
10341 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10342 like i?86-*-solaris2.1[0-9]*.
10343 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10344 * configure.ac (i?86-*-solaris2*): Likewise.
10345 * configure: Regenerate.
10346
10347 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
10348
10349 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10350 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10351 md_unwind_header by splitting out of...
10352 (i[34567]86-*-linux*): ... this.
10353 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10354 Remove md_unwind_header by splitting out of...
10355 (x86_64-*-linux*): ... this.
10356
10357 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
10358
10359 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10360
10361 2011-06-28 Nick Clifton <nickc@redhat.com>
10362
10363 * config.host: Recognize all V850 variants.
10364
10365 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
10366
10367 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10368
10369 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10370
10371 * shared-object.mk (c_flags-$o): Save c_flags.
10372 ($(base)$(objext)): Use it.
10373 ($(base)_s$(objext)): Likewise.
10374
10375 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10376
10377 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10378 * libgcc-std.ver.in (GCC_4.7.0): New section.
10379
10380 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
10381
10382 PR target/49313
10383 PR target/29524
10384 * config/avr/t-avr: Fix line endings.
10385 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10386 _parityXX2.
10387
10388 2011-06-14 Olivier Hainque <hainque@adacore.com>
10389 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10390
10391 * config/mips/irix6-unwind.h: New file.
10392 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10393
10394 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10395
10396 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10397 (sparc64_fallback_frame_state): Use it.
10398 (sparc64_frob_update_context): Further adjust context.
10399 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10400 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10401 * config/sparc/sol2-cn.S: Likewise.
10402
10403 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10404
10405 * enable-execute-stack-empty.c: New file.
10406 * enable-execute-stack-mprotect.c: New file.
10407 * config/i386/enable-execute-stack-mingw32.c: New file.
10408 * config.host (enable_execute_stack): New variable.
10409 Select appropriate variants.
10410 * configure.ac: Link enable-execute-stack.c to
10411 $enable_execute_stack.
10412 * configure: Regenerate.
10413 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10414 (lib2funcs): Remove _enable_execute_stack.
10415
10416 2011-06-09 David S. Miller <davem@davemloft.net>
10417 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10418
10419 * config.host (sparc-*-linux*): Correct md_unwind_header
10420 filename.
10421 (s390x-ibm-tpf*): Fix typo.
10422
10423 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10424
10425 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10426 Add crtfastmath.o to extra_parts.
10427 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10428 mips/t-crtfm.
10429 * config/mips/t-crtfm: Remove.
10430
10431 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10432
10433 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10434
10435 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10436
10437 * config.host (sh*-*-linux*): Fix typo.
10438
10439 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10440
10441 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10442 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10443 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10444 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10445 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10446 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10447 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10448 Wrap in !__MINGW64__.
10449 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10450 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10451 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10452 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10453 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10454 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10455 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10456 Wrap in !__LP64__.
10457 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10458 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10459 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10460 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10461 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10462 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10463 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10464 * config/no-unwind.h: New file.
10465 * config.host (md_unwind_header): Document.
10466 Define.
10467 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10468 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10469 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10470 hppa[12]*-*-hpux11*): Set md_unwind_header.
10471 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10472 Set md_unwind_header.
10473 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10474 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10475 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10476 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10477 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10478 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10479 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10480 md_unwind_header.
10481 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10482 * configure: Regenerate.
10483
10484 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10485
10486 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10487 Set tmake_file, extra_parts.
10488 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10489 Remove O32 support.
10490 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10491 Remove O32 support.
10492 * config/mips/t-irix6: New file.
10493 * config/mips/t-slibgcc-irix: New file.
10494
10495 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10496
10497 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10498 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10499
10500 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10501
10502 * configure.ac (target_thread_file): Determine thread model.
10503 * configure: Regenerate.
10504 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10505 * config/alpha/t-alpha: New file.
10506 * config/alpha/t-crtfm: Use $<.
10507 * config/alpha/t-ieee: New file.
10508 * config/alpha/t-osf-pthread: New file.
10509 * config/alpha/t-slibgcc-osf: New file.
10510 * config/alpha/libgcc-osf5.ver: New file.
10511
10512 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10513
10514 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10515 tmake_file.
10516 Add crtfastmath.o to extra_parts.
10517
10518 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10519
10520 * config/gmon-sol2.c: Reindent.
10521 Cleanup comments.
10522 Remove, correct casts.
10523 Use STDERR_FILENO, NULL.
10524 (BASEADDRESS): Remove.
10525 (minbrk): Remove.
10526 (errno, sbrk): Remove declarations.
10527 (monstartup) [hp300]: Remove.
10528 (mcount): Remove.
10529
10530 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10531
10532 * Makefile.in (cpu_type): Define.
10533 * config.host (i[34567]86-*-rtems*): Handle it.
10534 (i[34567]86-*-solaris2*): Move body ...
10535 (*-*-solaris2*): ... here.
10536 New case, generalize.
10537 (sparc-*-elf*): Handle it.
10538 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10539 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10540 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10541 Fold into ...
10542 (sparc*-*-solaris2*): ... this.
10543 New case.
10544 (sparc64-*-elf*): Handle it.
10545 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10546 Merge ../gcc/config/i386/gmon-sol2.c.
10547 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10548 Use C comments.
10549 Merge ../gcc/config/i386/sol2-gc1.asm.
10550 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10551 Use C comments.
10552 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10553 Use C comments.
10554 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10555 * config/i386/t-crtstuff: New file.
10556 * config/i386/t-softfp: New file.
10557 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10558 $(T)crti.o, $(T)crtn.o): Remove.
10559 (gcrt1.o): New rule.
10560 (TARGET_LIBGCC2_CFLAGS): Remove.
10561 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10562 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10563 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10564 * config/sparc/t-sol2: New file.
10565 * config/sparc/t-crtfm: Move to ...
10566 * config/t-crtfm: ... this.
10567 Use $(cpu_type), $<.
10568 * config/t-crtin: New file.
10569 * config/sparc/t-softfp: New file.
10570 * config/sparc/t-softmul: New file.
10571 * config/t-rtems: New file.
10572 * config/t-slibgcc: New file.
10573 * config/t-slibgcc-elf-ver: New file.
10574 * config/t-slibgcc-gld: New file.
10575 * config/t-slibgcc-sld: New file.
10576 * config/t-sol2: New file.
10577 * configure.ac: Include ../config/lib-ld.m4.
10578 Call AC_LIB_PROG_LD_GNU.
10579 Substitute cpu_type.
10580 * configure: Regenerate.
10581
10582 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10583
10584 PR bootstrap/49173
10585 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10586 libgcc-std.ver in the build directory.
10587 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10588 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10589
10590 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10591
10592 * libgcc-std.ver.in: New file.
10593 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10594 variables.
10595 (libgcc-std.ver): New rule.
10596 * config/t-gnu-prefix: New file.
10597
10598 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10599
10600 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10601
10602 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10603
10604 * config/i386/darwin-lib.h: New file.
10605
10606 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10607
10608 * config/arm/symbian-lib.h: New.
10609
10610 2011-05-04 Chris Demetriou <cgd@google.com>
10611
10612 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10613 (__x86.get_pc_thunk.bx): ...this.
10614 (__morestack): Adjust for rename, remove undef of __i686.
10615
10616 2011-05-03 Chris Demetriou <cgd@google.com>
10617
10618 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10619
10620 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10621
10622 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10623 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10624 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10625 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10626 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10627 Remove cases.
10628
10629 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10630
10631 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10632 Adjust copyright year.
10633
10634 2011-03-07 Ian Lance Taylor <iant@google.com>
10635
10636 * generic-morestack.c (__splitstack_find): Adjust returned stack
10637 pointer to include all registers pushed by __morestack.
10638
10639 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10640
10641 PR target/40125
10642 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10643 (toolexecdir): Calculate and AC_SUBST.
10644 (toolexeclibdir): Likewise.
10645 * Makefile.in (target_noncanonical): Import.
10646 (toolexecdir): Likewise.
10647 (toolexeclibdir): Likewise.
10648 * configure: Regenerate.
10649
10650 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10651
10652 PR target/46040
10653 * config/arm/bpabi.h: Rename to...
10654 * config/arm/bpabi-lib.h: ...this.
10655
10656 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10657
10658 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10659 appropriate.
10660 * configure: Regenerate.
10661
10662 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10663
10664 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10665 __FLOAT_WORD_ORDER__.
10666 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10667 Delete.
10668
10669 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10670
10671 PR other/46202
10672 * Makefile.in (install-strip): New phony target.
10673
10674 2010-11-07 Ian Lance Taylor <iant@google.com>
10675
10676 PR target/46089
10677 * config/i386/morestack.S (__morestack_large_model): New
10678 function.
10679
10680 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10681
10682 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10683 Delete.
10684 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10685
10686 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10687
10688 * config/arm/bpabi.h: New file.
10689 * config/frv/frv-abi.h: New file.
10690
10691 2010-10-01 Ian Lance Taylor <iant@google.com>
10692
10693 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10694 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10695
10696 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10697
10698 PR target/45858
10699 * config.host: Add the missing `$'.
10700
10701 2010-09-30 Michael Eager <eager@eagercon.com>
10702
10703 * config.host: Add microblaze*-*-*.
10704 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10705 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10706 udivsi3.asm,umodsi3.asm}: New.
10707
10708 2010-09-28 Ian Lance Taylor <iant@google.com>
10709
10710 * configure.ac: Adjust CFI test to test assembler directly rather
10711 than checking gcc preprocessor macro.
10712 * configure: Rebuild.
10713
10714 2010-09-27 Ian Lance Taylor <iant@google.com>
10715
10716 * configure.ac: Test whether assembler supports CFI directives.
10717 * config.host: Only add t-stack and i386/t-stack-i386 to
10718 tmake_file if libgcc_cv_cfi is "yes".
10719 * configure: Rebuild.
10720
10721 2010-09-27 Ian Lance Taylor <iant@google.com>
10722
10723 * generic-morestack.h: New file.
10724 * generic-morestack.c: New file.
10725 * generic-morestack-thread.c: New file.
10726 * config/i386/morestack.S: New file.
10727 * config/t-stack: New file.
10728 * config/i386/t-stack-i386: New file.
10729 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10730 i386/t-stack-i386 to tmake_file.
10731
10732 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10733
10734 * Makefile.in (libgcc-extra-parts): Check for static archives and
10735 invoke ranlib after installing them.
10736 (gcc-extra-parts): Likewise.
10737 (install-leaf): Likewise.
10738
10739 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10740
10741 * configure: Regenerated.
10742
10743 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10744
10745 * configure: Regenerated.
10746
10747 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10748 Andrew Pinski <pinskia@gmail.com>
10749
10750 PR target/40959
10751 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10752
10753 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10754
10755 PR target/45524
10756 * configure: Regenerated.
10757
10758 2010-09-06 Andreas Schwab <schwab@redhat.com>
10759
10760 * configure: Regenerate.
10761
10762 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10763
10764 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10765 64bit targets.
10766 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10767 for 64bit targets.
10768
10769 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10770 Iain Sandoe <iains@gcc.gnu.org>
10771
10772 PR target/45476
10773 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10774 LIB2FUNCS_EXCLUDE functions.
10775
10776 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10777
10778 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10779 Include dfp.m4.
10780 * configure: Regenerate.
10781
10782 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10783
10784 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10785 i386/t-freebsd to tmake_file.
10786 * config/i386/t-freebsd: New file.
10787 * config/i386/libgcc-bsd.ver: New file.
10788
10789 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10790
10791 * config.host (powerpc*-eabispe*): Set tmake_file.
10792 (powerpc*-eabi*): Likewise.
10793 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10794 crtbeginS, crtendS, crtbeginT.
10795
10796 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10797
10798 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10799 to tmake_file. Add crtfastmath.o to extra_parts.
10800 * config/mips/t-crtfm: New.
10801
10802 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10803
10804 * config.host (sparc64-*-rtems*): New target.
10805
10806 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10807
10808 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10809 assembler syntax.
10810
10811 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10812
10813 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10814
10815 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10816
10817 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10818 alpha-dec-osf5.0* support.
10819
10820 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10821
10822 * config.host: Add lm32-*-rtems*.
10823
10824 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10825 Uros Bizjak <ubizjak@gmail.com>
10826
10827 PR target/39048
10828 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10829 like other remaining 32-bit x86 OSes.
10830 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10831 assembler syntax.
10832 * config/i386/libgcc-sol2.ver: New file.
10833 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10834
10835 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10836
10837 PR c/43553
10838 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10839 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10840 is used and substitute set_use_emutls.
10841 * configure: Regenerated.
10842
10843 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10844
10845 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10846
10847 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10848
10849 PR target/38085
10850 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10851 MULTILIB_CFLAGS.
10852 ($(T)gcrt1.o): Likewise.
10853 ($(T)crt1.o): Likewise.
10854 ($(T)crti.o): Likewise.
10855 ($(T)crtn.o): Likewise.
10856
10857 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10858
10859 PR other/42980
10860 * Makefile.in (install): Use $(MAKE) string in rule, for
10861 parallel make.
10862
10863 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10864
10865 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10866 * config/mmix/t-mmix: New file.
10867 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10868
10869 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10870
10871 PR java/41991
10872 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10873 SHLIB_MAPFILES.
10874
10875 2010-01-04 Anthony Green <green@moxielogic.com>
10876
10877 * config/moxie/crti.asm, config/moxie/crtn.asm,
10878 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10879 config/moxie/t-moxie: New files.
10880 * config.host: Add t-moxie-softfp reference.
10881
10882 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10883
10884 PR other/39888
10885 * config/t-slibgcc-darwin: Fix embedded rpaths for
10886 --enable-version-specific-runtime-libs, build extension stub
10887 libs exposing features available from current libgcc_s.
10888
10889 2009-11-11 Jon Beniston <jon@beniston.com>
10890
10891 * config.host: Add lm32 targets.
10892 * config/lm32: New directory.
10893 * config/lm32/libgcc_lm32.h: New file.
10894 * config/lm32/_mulsi3.c: New file.
10895 * config/lm32/_udivmodsi4.c: New file.
10896 * config/lm32/_divsi3.c: New file.
10897 * config/lm32/_modsi3.c: New file.
10898 * config/lm32/_udivsi3.c: New file.
10899 * config/lm32/_umodsi3.c: New file.
10900 * config/lm32/_lshrsi3.S: New file.
10901 * config/lm32/_ashrsi3.S: New file.
10902 * config/lm32/_ashlsi3.S: New file.
10903 * config/lm32/crti.S: New file.
10904 * config/lm32/crtn.S: New file.
10905 * config/lm32/t-lm32: New file.
10906 * config/lm32/t-elf: New file.
10907 * config/lm32/t-uclinux: New file.
10908
10909 2009-10-26 Nick Clifton <nickc@redhat.com>
10910
10911 * config.host: Add support for RX target.
10912 * config/rx: New directory.
10913 * config/rx/rx-abi-functions.c: New file. Supplementary
10914 functions for libgcc to support the RX ABI.
10915 * config/rx/rx-abi.h: New file. Supplementary header file for
10916 libgcc RX ABI functions.
10917 * config/rx/t-rx: New file: Makefile fragment for building
10918 libgcc for the RX.
10919
10920 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10921
10922 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10923 constraint of y0 to "g".
10924
10925 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10926
10927 * config.host: Include the s390 makefile fragments.
10928 * config/s390/32/_fixdfdi.c: New file.
10929 * config/s390/32/_fixsfdi.c: New file.
10930 * config/s390/32/_fixtfdi.c: New file.
10931 * config/s390/32/_fixunsdfdi.c: New file.
10932 * config/s390/32/_fixunssfdi.c: New file.
10933 * config/s390/32/_fixunstfdi.c: New file.
10934 * config/s390/32/t-floattodi: New file.
10935 * config/s390/libgcc-glibc.ver: New file.
10936 * config/s390/t-crtstuff: New file.
10937 * config/s390/t-linux: New file.
10938 * config/s390/t-tpf: New file.
10939
10940 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10941
10942 * configure.ac (AC_PREREQ): Bump to 2.64.
10943
10944 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10945
10946 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10947
10948 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10949
10950 * configure: Regenerate.
10951
10952 2009-08-09 Douglas B Rupp <rupp@gnat.com>
10953
10954 * config.host (ia64-hp-*vms*): New target.
10955 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10956 with ia64-hp-*vms*.
10957
10958 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10959
10960 * configure.ac: Add snippet for maintainer-mode.
10961 * configure: Regenerate.
10962 * Makefile.in (AUTOCONF, configure_deps): New variables.
10963 ($(srcdir)/configure)): New rule, active only with maintainer
10964 mode turned on.
10965
10966 2009-06-23 DJ Delorie <dj@redhat.com>
10967
10968 Add MeP port.
10969 * config.host: Add mep support.
10970
10971 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
10972
10973 * config.host: Add i386/${host_address}/t-fprules-softfp and
10974 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10975
10976 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10977 for mingw targets.
10978 * config/i386/64/_multc3.c: Likewise.
10979 * config/i386/64/_powitf2.c: Likewise.
10980 * config/i386/64/eqtf2.c: Likewise.
10981 * config/i386/64/getf2.c: Likewise.
10982 * config/i386/64/letf2.c: Likewise.
10983 * config/i386/64/letf2.c: Likewise.
10984 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10985 unsigned long long for x64 mingw targets.
10986 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10987 (_FP_I_TYPE): Define as long long for x64 mingw target.
10988
10989 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10990
10991 * config.host (vax-*-linux*): New.
10992
10993 2009-05-31 Anthony Green <green@moxielogic.com>
10994
10995 * config.host: Add moxie support.
10996 * config/moxie/t-moxie: New file.
10997
10998 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10999
11000 * config.host: Add i386/${host_address}/t-fprules-softfp and
11001 t-softfp to tmake_file for i[34567]86-*-cygwin*.
11002
11003 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11004
11005 * config.host: Add i386/${host_address}/t-fprules-softfp to
11006 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11007
11008 2009-04-09 Nick Clifton <nickc@redhat.com>
11009
11010 * config/ia64/tf-signs.c: Change copyright header to refer to
11011 version 3 of the GNU General Public License with version 3.1
11012 of the GCC Runtime Library Exception and to point readers at
11013 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11014 web page.
11015 * config/i386/32/tf-signs.c: Likewise.
11016 * config/libbid/_addsub_dd.c: Likewise.
11017 * config/libbid/_addsub_sd.c: Likewise.
11018 * config/libbid/_addsub_td.c: Likewise.
11019 * config/libbid/_dd_to_df.c: Likewise.
11020 * config/libbid/_dd_to_di.c: Likewise.
11021 * config/libbid/_dd_to_sd.c: Likewise.
11022 * config/libbid/_dd_to_sf.c: Likewise.
11023 * config/libbid/_dd_to_si.c: Likewise.
11024 * config/libbid/_dd_to_td.c: Likewise.
11025 * config/libbid/_dd_to_tf.c: Likewise.
11026 * config/libbid/_dd_to_udi.c: Likewise.
11027 * config/libbid/_dd_to_usi.c: Likewise.
11028 * config/libbid/_dd_to_xf.c: Likewise.
11029 * config/libbid/_df_to_dd.c: Likewise.
11030 * config/libbid/_df_to_sd.c: Likewise.
11031 * config/libbid/_df_to_td.c: Likewise.
11032 * config/libbid/_di_to_dd.c: Likewise.
11033 * config/libbid/_di_to_sd.c: Likewise.
11034 * config/libbid/_di_to_td.c: Likewise.
11035 * config/libbid/_div_dd.c: Likewise.
11036 * config/libbid/_div_sd.c: Likewise.
11037 * config/libbid/_div_td.c: Likewise.
11038 * config/libbid/_eq_dd.c: Likewise.
11039 * config/libbid/_eq_sd.c: Likewise.
11040 * config/libbid/_eq_td.c: Likewise.
11041 * config/libbid/_ge_dd.c: Likewise.
11042 * config/libbid/_ge_sd.c: Likewise.
11043 * config/libbid/_ge_td.c: Likewise.
11044 * config/libbid/_gt_dd.c: Likewise.
11045 * config/libbid/_gt_sd.c: Likewise.
11046 * config/libbid/_gt_td.c: Likewise.
11047 * config/libbid/_isinfd128.c: Likewise.
11048 * config/libbid/_isinfd32.c: Likewise.
11049 * config/libbid/_isinfd64.c: Likewise.
11050 * config/libbid/_le_dd.c: Likewise.
11051 * config/libbid/_le_sd.c: Likewise.
11052 * config/libbid/_le_td.c: Likewise.
11053 * config/libbid/_lt_dd.c: Likewise.
11054 * config/libbid/_lt_sd.c: Likewise.
11055 * config/libbid/_lt_td.c: Likewise.
11056 * config/libbid/_mul_dd.c: Likewise.
11057 * config/libbid/_mul_sd.c: Likewise.
11058 * config/libbid/_mul_td.c: Likewise.
11059 * config/libbid/_ne_dd.c: Likewise.
11060 * config/libbid/_ne_sd.c: Likewise.
11061 * config/libbid/_ne_td.c: Likewise.
11062 * config/libbid/_sd_to_dd.c: Likewise.
11063 * config/libbid/_sd_to_df.c: Likewise.
11064 * config/libbid/_sd_to_di.c: Likewise.
11065 * config/libbid/_sd_to_sf.c: Likewise.
11066 * config/libbid/_sd_to_si.c: Likewise.
11067 * config/libbid/_sd_to_td.c: Likewise.
11068 * config/libbid/_sd_to_tf.c: Likewise.
11069 * config/libbid/_sd_to_udi.c: Likewise.
11070 * config/libbid/_sd_to_usi.c: Likewise.
11071 * config/libbid/_sd_to_xf.c: Likewise.
11072 * config/libbid/_sf_to_dd.c: Likewise.
11073 * config/libbid/_sf_to_sd.c: Likewise.
11074 * config/libbid/_sf_to_td.c: Likewise.
11075 * config/libbid/_si_to_dd.c: Likewise.
11076 * config/libbid/_si_to_sd.c: Likewise.
11077 * config/libbid/_si_to_td.c: Likewise.
11078 * config/libbid/_td_to_dd.c: Likewise.
11079 * config/libbid/_td_to_df.c: Likewise.
11080 * config/libbid/_td_to_di.c: Likewise.
11081 * config/libbid/_td_to_sd.c: Likewise.
11082 * config/libbid/_td_to_sf.c: Likewise.
11083 * config/libbid/_td_to_si.c: Likewise.
11084 * config/libbid/_td_to_tf.c: Likewise.
11085 * config/libbid/_td_to_udi.c: Likewise.
11086 * config/libbid/_td_to_usi.c: Likewise.
11087 * config/libbid/_td_to_xf.c: Likewise.
11088 * config/libbid/_tf_to_dd.c: Likewise.
11089 * config/libbid/_tf_to_sd.c: Likewise.
11090 * config/libbid/_tf_to_td.c: Likewise.
11091 * config/libbid/_udi_to_dd.c: Likewise.
11092 * config/libbid/_udi_to_sd.c: Likewise.
11093 * config/libbid/_udi_to_td.c: Likewise.
11094 * config/libbid/_unord_dd.c: Likewise.
11095 * config/libbid/_unord_sd.c: Likewise.
11096 * config/libbid/_unord_td.c: Likewise.
11097 * config/libbid/_usi_to_dd.c: Likewise.
11098 * config/libbid/_usi_to_sd.c: Likewise.
11099 * config/libbid/_usi_to_td.c: Likewise.
11100 * config/libbid/_xf_to_dd.c: Likewise.
11101 * config/libbid/_xf_to_sd.c: Likewise.
11102 * config/libbid/_xf_to_td.c: Likewise.
11103 * config/libbid/bid128.c: Likewise.
11104 * config/libbid/bid128_2_str.h: Likewise.
11105 * config/libbid/bid128_2_str_macros.h: Likewise.
11106 * config/libbid/bid128_2_str_tables.c: Likewise.
11107 * config/libbid/bid128_add.c: Likewise.
11108 * config/libbid/bid128_compare.c: Likewise.
11109 * config/libbid/bid128_div.c: Likewise.
11110 * config/libbid/bid128_fma.c: Likewise.
11111 * config/libbid/bid128_logb.c: Likewise.
11112 * config/libbid/bid128_minmax.c: Likewise.
11113 * config/libbid/bid128_mul.c: Likewise.
11114 * config/libbid/bid128_next.c: Likewise.
11115 * config/libbid/bid128_noncomp.c: Likewise.
11116 * config/libbid/bid128_quantize.c: Likewise.
11117 * config/libbid/bid128_rem.c: Likewise.
11118 * config/libbid/bid128_round_integral.c: Likewise.
11119 * config/libbid/bid128_scalb.c: Likewise.
11120 * config/libbid/bid128_sqrt.c: Likewise.
11121 * config/libbid/bid128_string.c: Likewise.
11122 * config/libbid/bid128_to_int16.c: Likewise.
11123 * config/libbid/bid128_to_int32.c: Likewise.
11124 * config/libbid/bid128_to_int64.c: Likewise.
11125 * config/libbid/bid128_to_int8.c: Likewise.
11126 * config/libbid/bid128_to_uint16.c: Likewise.
11127 * config/libbid/bid128_to_uint32.c: Likewise.
11128 * config/libbid/bid128_to_uint64.c: Likewise.
11129 * config/libbid/bid128_to_uint8.c: Likewise.
11130 * config/libbid/bid32_to_bid128.c: Likewise.
11131 * config/libbid/bid32_to_bid64.c: Likewise.
11132 * config/libbid/bid64_add.c: Likewise.
11133 * config/libbid/bid64_compare.c: Likewise.
11134 * config/libbid/bid64_div.c: Likewise.
11135 * config/libbid/bid64_fma.c: Likewise.
11136 * config/libbid/bid64_logb.c: Likewise.
11137 * config/libbid/bid64_minmax.c: Likewise.
11138 * config/libbid/bid64_mul.c: Likewise.
11139 * config/libbid/bid64_next.c: Likewise.
11140 * config/libbid/bid64_noncomp.c: Likewise.
11141 * config/libbid/bid64_quantize.c: Likewise.
11142 * config/libbid/bid64_rem.c: Likewise.
11143 * config/libbid/bid64_round_integral.c: Likewise.
11144 * config/libbid/bid64_scalb.c: Likewise.
11145 * config/libbid/bid64_sqrt.c: Likewise.
11146 * config/libbid/bid64_string.c: Likewise.
11147 * config/libbid/bid64_to_bid128.c: Likewise.
11148 * config/libbid/bid64_to_int16.c: Likewise.
11149 * config/libbid/bid64_to_int32.c: Likewise.
11150 * config/libbid/bid64_to_int64.c: Likewise.
11151 * config/libbid/bid64_to_int8.c: Likewise.
11152 * config/libbid/bid64_to_uint16.c: Likewise.
11153 * config/libbid/bid64_to_uint32.c: Likewise.
11154 * config/libbid/bid64_to_uint64.c: Likewise.
11155 * config/libbid/bid64_to_uint8.c: Likewise.
11156 * config/libbid/bid_b2d.h: Likewise.
11157 * config/libbid/bid_binarydecimal.c: Likewise.
11158 * config/libbid/bid_conf.h: Likewise.
11159 * config/libbid/bid_convert_data.c: Likewise.
11160 * config/libbid/bid_decimal_data.c: Likewise.
11161 * config/libbid/bid_decimal_globals.c: Likewise.
11162 * config/libbid/bid_div_macros.h: Likewise.
11163 * config/libbid/bid_dpd.c: Likewise.
11164 * config/libbid/bid_flag_operations.c: Likewise.
11165 * config/libbid/bid_from_int.c: Likewise.
11166 * config/libbid/bid_functions.h: Likewise.
11167 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11168 * config/libbid/bid_inline_add.h: Likewise.
11169 * config/libbid/bid_internal.h: Likewise.
11170 * config/libbid/bid_round.c: Likewise.
11171 * config/libbid/bid_sqrt_macros.h: Likewise.
11172
11173 2009-04-09 Jakub Jelinek <jakub@redhat.com>
11174
11175 * Makefile.in: Change copyright header to refer to version
11176 3 of the GNU General Public License and to point readers at the
11177 COPYING3 file and the FSF's license web page.
11178 * config.host: Likewise.
11179
11180 2009-04-07 Alan Modra <amodra@bigpond.net.au>
11181
11182 * config.host: Reorder and merge to match config.gcc change.
11183
11184 2009-04-03 Alan Modra <amodra@bigpond.net.au>
11185
11186 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11187
11188 2009-03-28 Joseph Myers <joseph@codesourcery.com>
11189
11190 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11191 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11192 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11193 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11194
11195 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
11196
11197 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11198 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11199
11200 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11201
11202 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11203 ia64/t-softfp-compat to tmake_file.
11204
11205 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11206
11207 * config/ia64/__divxf3.asm: New.
11208 * config/ia64/_fixtfdi.asm: Likewise.
11209 * config/ia64/_fixunstfdi.asm: Likewise.
11210 * config/ia64/_floatditf.asm: Likewise.
11211 * config/ia64/t-fprules-softfp: Likewise.
11212 * config/ia64/t-softfp-compat: Likewise.
11213 * config/ia64/tf-signs.c: Likewise.
11214
11215 2009-01-18 Ben Elliston <bje@au.ibm.com>
11216
11217 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11218
11219 2009-01-16 Ben Elliston <bje@au.ibm.com>
11220
11221 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11222 to tmake_file.
11223
11224 2009-01-13 Ben Elliston <bje@au.ibm.com>
11225
11226 * config/t-softfp: New file.
11227 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11228 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11229
11230 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
11231
11232 * config.host: Add m32r*-*-rtems*.
11233
11234 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
11235
11236 * config.host: Add m32c*-*-rtems*.
11237
11238 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11239
11240 PR bootstrap/33100
11241 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11242 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11243 * configure: Regenerate.
11244 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11245 tmake_file here from gcc/config.gcc.
11246 Move extra_parts here from gcc/config.gcc.
11247 * config/i386/t-sol2: Move here from gcc/config/i386.
11248 Use gcc_srcdir instead of srcdir.
11249
11250 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11251
11252 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11253 case.
11254
11255 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11256
11257 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11258
11259 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11260
11261 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11262
11263 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11264
11265 Add picoChip port.
11266 * config.host: Add picochip-*-*.
11267
11268 2008-08-06 Bob Wilson <bob.wilson@acm.org>
11269
11270 * config.host: Match more processor names for Xtensa.
11271
11272 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11273
11274 * config/i386/64/t-softfp-compat: Update comments.
11275
11276 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11277
11278 * config/i386/64/_divtc3-compat.c: Moved to ...
11279 * config/i386/64/_divtc3.c: Here.
11280
11281 * config/i386/64/_multc3-compat.c: Moved to ...
11282 * config/i386/64/_multc3.c: Here.
11283
11284 * config/i386/64/_powitf2-compat.c: Moved to ...
11285 * config/i386/64/_powitf2.c: Here.
11286
11287 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11288 .c suffix instead of -compat.c.
11289
11290 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
11291
11292 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11293 (_FP_MUL_MEAT_D): Ditto.
11294 (_FP_DIV_MEAT_S): Ditto.
11295 (_FP_DIV_MEAT_D): Ditto.
11296
11297 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11298
11299 * Makefile.in: Add support for __sync_* libgcc functions.
11300
11301 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11304
11305 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11306
11307 PR boostrap/36702
11308 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11309 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11310
11311 * config/i386/64/t-fprules-softfp: Moved to ...
11312 * config/i386/64/t-softfp-compat: This. New.
11313
11314 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
11315
11316 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11317 Initialize f with 0.0.
11318
11319 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11320
11321 PR target/36669
11322 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11323
11324 * config/i386/64/_divtc3-compat.c: New.
11325 * config/i386/64/_multc3-compat.c: Likewise.
11326 * config/i386/64/_powitf2-compat.c: Likewise.
11327 * config/i386/64/eqtf2.c: Likewise.
11328 * config/i386/64/getf2.c: Likewise.
11329 * config/i386/64/letf2.c: Likewise.
11330 * config/i386/64/t-fprules-softfp: Likewise.
11331
11332 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11333
11334 * config.host: Add i386/${host_address}/t-fprules-softfp to
11335 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11336 i[34567]86-*-linux*, x86_64-*-linux*.
11337
11338 * configure.ac: Set host_address to 64 or 32 for x86.
11339 * configure: Regenerated.
11340
11341 * Makefile.in (config.status): Also depend on
11342 $(srcdir)/config.host.
11343
11344 * config/i386/32/t-fprules-softfp: New.
11345 * config/i386/32/tf-signs.c: Likewise.
11346
11347 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11348
11349 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11350 Uros Bizjak <ubizjak@gmail.com>
11351
11352 * config/i386/32/sfp-machine.h: New.
11353
11354 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11355
11356 * config/rs6000/t-ppccomm: Remove rules that conflict with
11357 auto-generated rules.
11358
11359 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11360
11361 * configure.ac: sinclude override.m4.
11362 * configure: Regenerate.
11363
11364 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11365
11366 * configure: Regenerate.
11367
11368 2008-06-10 Joseph Myers <joseph@codesourcery.com>
11369
11370 * Makefile.in (DECNUMINC): Remove
11371 -I$(MULTIBUILDTOP)../../libdecnumber.
11372 * gstdint.h: New.
11373
11374 2008-06-07 Joseph Myers <joseph@codesourcery.com>
11375
11376 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11377 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11378 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11379 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11380 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11381 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11382 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11383 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11384 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11385 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11386 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11387 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11388 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11389 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11390
11391 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11392
11393 * config.host (sh2[lbe]*-*-linux*): Allow target.
11394
11395 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11396
11397 * config/rs6000/t-ppccomm: Add build rules for new files.
11398 (LIB2ADD_ST): New variable.
11399
11400 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11401
11402 PR target/34210
11403 PR target/35508
11404 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11405 * config/t-avr: New file. Build 16bit libgcc functions.
11406
11407 2008-03-02 Jakub Jelinek <jakub@redhat.com>
11408
11409 PR target/35401
11410 * config/t-slibgcc-darwin: Make install-leaf dependent on
11411 install-darwin-libgcc-stubs instead of install.
11412
11413 2008-01-25 Joseph Myers <joseph@codesourcery.com>
11414
11415 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11416 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11417 sh-*-rtemscoff*): Remove cases.
11418
11419 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11420
11421 * Makefile.in (all): Use install-leaf rather than install.
11422 (install): Split most of the rule into...
11423 (install-leaf): ...this new one.
11424
11425 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11426 Paolo Bonzini <bonzini@gnu.org>
11427
11428 PR target/30572
11429 * Makefile.in: Use @shlib_slibdir@ substitution to get
11430 correct install name on darwin.
11431 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11432
11433 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11434
11435 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11436 cris-*-elf and cris-*-none.
11437 (crisv32-*-linux*): Similar, as cris-*-linux*.
11438
11439 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11440
11441 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11442
11443 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11444
11445 PR regression/33926
11446 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11447 * configure: Regenerated.
11448
11449 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11450
11451 * Makefile.in (dfp-filenames): Replace decimal_globals,
11452 decimal_data, binarydecimal and convert_data with
11453 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11454 and bid_convert_data, respectively.
11455
11456 2007-09-17 Chao-ying Fu <fu@mips.com>
11457 Nigel Stephens <nigel@mips.com>
11458
11459 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11460 * Makefile.in (fixed_point): Define.
11461 Check if fixed_point is yes to build support functions.
11462 * configure.ac: Check for fixed_point support.
11463 * configure: Regenerated.
11464 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11465 funcs, modes, from, to.
11466
11467 2007-09-11 Janis Johnson <janis187@us.ibm.com
11468
11469 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11470
11471 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11472
11473 * Makefile.in (dfp-filenames): Remove decUtility, add
11474 decDouble, decPacked, decQuad, decSingle.
11475
11476 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11477
11478 * config.host : Add x86_64-elf target.
11479
11480 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11481
11482 * configure.ac (set_have_cc_tls): Add a missing =.
11483 * configure: Regenerated.
11484
11485 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11486
11487 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11488 and x86_64-*-linux*.
11489
11490 * config/t-tls: New file.
11491
11492 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11493
11494 * configure.ac: Include ../config/enable.m4 and
11495 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11496 supports TLS and substitute set_have_cc_tls.
11497 * configure: Regenerated.
11498
11499 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11500
11501 * Makefile.in: Use libbid for DFP when BID is enabled.
11502
11503 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11504
11505 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11506 extra_parts. Add config/i386/t-cygming to tmake_file.
11507 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11508
11509 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11510 Danny Smith <dannysmith@users.sourceforge.net>
11511
11512 PR target/29498
11513 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11514 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11515 * config/i386/t-crtfm: Compile crtfastmath.o with
11516 -minline-all-stringops.
11517
11518 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11519
11520 * config.host (sparc-wrs-vxworks): New target.
11521
11522 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11523
11524 * config.host: Recognize fido.
11525
11526 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11527
11528 * configure: Check host, not target, for decimal float support.
11529
11530 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11531
11532 * config/i386/t-crtpc: New file.
11533 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11534 (x86_64-*-linux*): Ditto.
11535
11536 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11537
11538 * config.host (x86_64-*-mingw*): New target.
11539
11540 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11541 H.J. Lu <hongjiu.lu@intel.com>
11542
11543 * Makefile.in (enable_decimal_float): New.
11544 (DECNUMINC): Add
11545 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11546 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11547 (decbits-filenames): This.
11548 (decbits-objects): New.
11549 (libgcc-objects): Add $(decbits-objects).
11550
11551 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11552 Substitute enable_decimal_float.
11553 * configure: Regenerated.
11554
11555 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11556
11557 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11558
11559 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11560
11561 * Makefile.in (install-info): New dummy target.
11562
11563 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11564
11565 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11566
11567 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11568
11569 * Makefile.in: Add install-html and install-pdf dummy
11570 targets.
11571
11572 2007-02-05 Roger Sayle <roger@eyesopen.com>
11573 Daniel Jacobowitz <dan@codesourcery.com>
11574
11575 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11576 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11577 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11578
11579 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11580
11581 * Makefile.in (dec-filenames): Add decExcept.
11582
11583 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11584
11585 PR bootstrap/30469
11586 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11587 -fprofile-use.
11588
11589 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11590
11591 * configure.ac: Add --enable-version-specific-runtime-libs.
11592 Correct $slibdir default.
11593 * configure: Regenerated.
11594
11595 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11596
11597 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11598
11599 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11600
11601 PR target/30519
11602 * config.host (alpha*-*-linux*): Set extra_parts.
11603
11604 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11605
11606 * config/sh/t-linux: New.
11607 * config.host (sh*-*-linux*): Set tmake_file.
11608
11609 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11610
11611 * Makefile.in (install): Handle multilibs.
11612
11613 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11614
11615 * Makefile.in: Added .PHONY entry for documentation targets.
11616
11617 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11618
11619 * Makefile.in: Add empty info, html, dvi, pdf targets.
11620
11621 2007-01-04 Mike Stump <mrs@apple.com>
11622
11623 * Makefile.in (MAKEINFO): Remove.
11624 (PERL): Likewise.
11625
11626 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11627
11628 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11629 * configure: Regenerate.
11630 * Makefile.in (host_subdir): Substitute it.
11631 (gcc_objdir): Use it.
11632
11633 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11634
11635 * config.host (ia64*-*-linux*): Set tmake_file.
11636
11637 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11638
11639 * Makefile.in (version): Define.
11640
11641 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11642 Paolo Bonzini <bonzini@gnu.org>
11643
11644 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11645 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11646 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11647 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11648 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11649 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11650 * configure: Generated.
11651 \f
11652 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11653
11654 Copying and distribution of this file, with or without modification,
11655 are permitted in any medium without royalty provided the copyright
11656 notice and this notice are preserved.