]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
2
3 * config/t-slibgcc-darwin: Delete unused code.
4
5 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
6
7 * config/i386/t-darwin: Add in a vers file for X86-specific
8 symbols.
9 * config/t-darwin: Add the generic symbol maps here...
10 * config/t-slibgcc-darwin: ... removing from here.
11 * config/i386/libgcc-darwin.ver: New file.
12
13 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
14
15 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
16 and __mulhc3.
17
18 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
19
20 * config.host: Use convenience library for Darwin10
21 unwinder shim.
22 * config/t-darwin: Build Darwin10 unwinder shim as a
23 convenience library.
24
25 2021-09-13 Andrew Pinski <apinski@marvell.com>
26
27 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
28 * config/m32r/libgcc-glibc.ver: Removed.
29 * config/m32r/t-linux: Removed.
30
31 2021-09-08 liuhongt <hongtao.liu@intel.com>
32
33 * config/i386/t-softfp: Compile __{mul,div}hc3 into
34 libgcc_s.so.1.
35
36 2021-09-08 Jakub Jelinek <jakub@redhat.com>
37 Iain Sandoe <iain@sandoe.co.uk>
38
39 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
40 and export *hf* and *hc* functions at GCC_12.0.0.
41
42 2021-09-06 liuhongt <hongtao.liu@intel.com>
43
44 * Makefile.in: Adjust to support specific CFLAGS for each
45 libgcc source file.
46 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
47 related libgcc source files.
48 * config/i386/t-softfp: Ditto.
49 * config/i386/_divhc3.c: New file.
50 * config/i386/_mulhc3.c: New file.
51
52 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
53
54 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
55 alias_DFtype, alias_TFtype): New.
56 (ALIAS_SELECTOR): New.
57 (strong_alias): Use __typeof and a _Generic selector to
58 provide the type to the synthesized function.
59
60 2021-09-02 liuhongt <hongtao.liu@intel.com>
61
62 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
63 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
64 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
65 * config/i386/t-softfp: Add hf soft-fp.
66 * config.host: Add i386/64/t-softfp.
67 * config/i386/64/t-softfp: New file.
68
69 2021-09-02 liuhongt <hongtao.liu@intel.com>
70
71 * soft-fp/eqhf2.c: New file.
72 * soft-fp/extendhfdf2.c: New file.
73 * soft-fp/extendhfsf2.c: New file.
74 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
75 * soft-fp/truncdfhf2.c: New file
76 * soft-fp/truncsfhf2.c: New file
77
78 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
79
80 * unwind-arm-common.inc (abort): Remove.
81
82 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
83
84 * config/aarch64/value-unwind.h: Add missing runtime exception
85 paragraph.
86 * config/frv/frv-abi.h: Likewise.
87 * config/i386/value-unwind.h: Likewise.
88 * config/pa/pa64-hpux-lib.h: Likewise.
89
90 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
91
92 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
93 __gcc_qadd.
94 (__gcc_qadd): Call ldouble_qadd_internal.
95 (__gcc_qsub): Call ldouble_qadd_internal with second long double
96 argument negated.
97
98 2021-08-26 Jonathan Yong <10walls@gmail.com>
99
100 * config/i386/cygming-crtend.c: Fix register_frame_ctor
101 and register_frame_dtor warnings.
102
103 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
104
105 PR target/102035
106 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
107 Add vlldm erratum work-around.
108
109 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
110
111 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
112
113 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
114
115 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
116 (gcov_type_unsigned): Likewise.
117
118 2021-08-14 Stafford Horne <shorne@gmail.com>
119
120 PR target/99783
121 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
122 * config/or1k/t-crtstuff: New file.
123
124 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
125
126 * libgcov-driver.c (#include <stdint.h>): Remove.
127 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
128
129 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
130
131 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
132 * gcov.h (gcov_info): Declare.
133 (__gcov_info_to_gdca): Likewise.
134 * libgcov.h (gcov_write_counter): Remove.
135 (gcov_write_tag_length): Likewise.
136 * libgcov-driver.c (#include <stdint.h>): New.
137 (#include <string.h>): Remove.
138 (NEED_L_GCOV): Conditionally define.
139 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
140 (are_all_counters_zero): New.
141 (gcov_dump_handler): Likewise.
142 (gcov_allocate_handler): Likewise.
143 (dump_unsigned): Likewise.
144 (dump_counter): Likewise.
145 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
146 Use dump_unsigned() and dump_counter().
147 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
148 dump_unsigned(), dump_counter(), and are_all_counters_zero().
149 (__gcov_info_to_gcda): New.
150
151 2021-08-05 Jakub Jelinek <jakub@redhat.com>
152
153 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
154 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
155 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
156 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
157
158 2021-08-04 Jakub Jelinek <jakub@redhat.com>
159
160 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
161
162 2021-07-15 Alan Modra <amodra@gmail.com>
163
164 * config/rs6000/morestack.S (R2_SAVE): Define.
165 (__morestack): Save and restore r2. Set up r2 for called
166 functions.
167
168 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
169
170 * soft-fp/extendhfxf2.c: New file.
171 * soft-fp/truncxfhf2.c: Likewise.
172
173 2021-06-29 Julian Brown <julian@codesourcery.com>
174
175 * config/gcn/lib2-bswapti2.c: New file.
176 * config/gcn/lib2-divmod-di.c: New file.
177 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
178 typedefs.
179 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
180 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
181 lib2-bswapti2.c.
182
183 2021-06-29 Julian Brown <julian@codesourcery.com>
184
185 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
186 return types to USItype.
187 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
188
189 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
190
191 * configure: Regenerate.
192 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
193 typos among the name, CFLAGS and the test.
194 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
195 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
196 Remove.
197 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
198 macro FLOAT128_HW_INSNS_ISA3_1.
199 (FP128_3_1_CFLAGS_HW): Fix option typo.
200 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
201 FLOAT128_HW_INSNS_ISA3_1.
202 (__floattikf_resolve): Likewise.
203 (__floatuntikf_resolve): Likewise.
204 (__fixkfti_resolve): Likewise.
205 (__fixunskfti_resolve): Likewise.
206 (__floattikf): Likewise.
207 (__floatuntikf): Likewise.
208 (__fixkfti): Likewise.
209 (__fixunskfti): Likewise.
210
211 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
212
213 PR target/99939
214 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
215 macro.
216 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
217 on passing -mcmse option.
218
219 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
220
221 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
222 _ARCH_PPC64 .
223
224 2021-06-09 Carl Love <cel@us.ibm.com>
225
226 * config.host: Add if test and set for
227 libgcc_cv_powerpc_3_1_float128_hw.
228 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
229 Change calls of __fixkfti to __fixkfti_sw.
230 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
231 Change calls of __fixunskfti to __fixunskfti_sw.
232 * config/rs6000/float128-p10.c (__floattikf_hw,
233 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
234 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
235 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
236 __fixunskfti_resolve): Add resolve functions.
237 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
238 * config/rs6000/float128-sed (floattitf, __floatuntitf,
239 __fixtfti, __fixunstfti): Add editor commands to change names.
240 * config/rs6000/float128-sed-hw (__floattitf,
241 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
242 change names.
243 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
244 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
245 * config/rs6000/quad-float128.h (__floattikf_sw,
246 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
247 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
248 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
249 * config/rs6000/t-float128 (floattikf, floatuntikf,
250 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
251 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
252 file names to fp128_ppc_funcs.
253 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
254 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
255 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
256 * config/rs6000/t-float128-p10-hw: New file.
257 * configure: Update script for isa 3.1 128-bit float support.
258 * configure.ac: Add check for 128-bit float hardware support.
259 * config/rs6000/fixkfti-sw.c: New file.
260 * config/rs6000/fixunskfti-sw.c: New file.
261 * config/rs6000/floattikf-sw.c: New file.
262 * config/rs6000/floatuntikf-sw.c: New file.
263
264 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
265
266 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
267
268 2021-05-13 Martin Liska <mliska@suse.cz>
269
270 * libgcov-driver.c: Fix GNU coding style.
271
272 2021-05-10 Martin Liska <mliska@suse.cz>
273
274 * libgcov-driver.c (gcov_version): Use different name that does
275 not clash with newly introduced macro.
276
277 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
278
279 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
280 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
281 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
282
283 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
284
285 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
286 Define.
287 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
288 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
289 Define.
290 (__divkc3): Improve complex divide.
291
292 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
293
294 PR target/98952
295 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
296 trampoline size comparison in 32-bit by reversing test and
297 combining load immediate with compare.
298 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
299 in 32-bit by reversing test and combining load immediate with
300 compare.
301
302 2021-04-05 Florian Weimer <fweimer@redhat.com>
303 Michael Meissner <meissner@linux.ibm.com>
304
305 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
306 point functions for $(decimal_float) only.
307
308 2021-04-03 Jakub Jelinek <jakub@redhat.com>
309
310 PR target/97653
311 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
312 $(objext) instead of $(object). Use _floatunditf instead of
313 _floatunsditf. Add tf <-> ti conversion objects.
314 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
315
316 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
317
318 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
319 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
320 (fp128_decstr_objs): Delete.
321 * dfp-bit.h: Call __sprintfieee128 to do conversions from
322 _Float128 to a Decimal type. Call __strtoieee128 to do
323 conversions from a Decimal type to _Float128.
324 * config/rs6000/_sprintfkf.c: Delete file.
325 * config/rs6000/_sprintfkf.h: Delete file.
326 * config/rs6000/_strtokf.c: Delete file.
327 * config/rs6000/_strtokf.h: Delete file.
328
329 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
330
331 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
332 to __BYTE_ORDER__.
333
334 2021-03-06 Jakub Jelinek <jakub@redhat.com>
335
336 PR gcov-profile/99406
337 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
338 defined, define these macros if not defined already.
339
340 2021-03-04 Martin Liska <mliska@suse.cz>
341
342 PR gcov-profile/99105
343 * libgcov-driver.c (write_top_counters): Rename to ...
344 (write_topn_counters): ... this.
345 (write_one_data): Pre-allocate buffer for number of items
346 in the corresponding linked lists.
347 * libgcov.h (malloc_mmap): New function.
348 (allocate_gcov_kvp): Use it.
349
350 2021-03-04 Martin Liska <mliska@suse.cz>
351
352 PR gcov-profile/99385
353 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
354
355 2021-03-03 Martin Liska <mliska@suse.cz>
356
357 PR gcov-profile/97461
358 * config.in: Regenerate.
359 * configure: Likewise.
360 * configure.ac: Check sys/mman.h header file
361 * libgcov-driver.c (struct gcov_kvp): Remove static
362 pre-allocated pool and use a dynamic one.
363 * libgcov.h (MMAP_CHUNK_SIZE): New.
364 (gcov_counter_add): Use mmap to allocate pool for struct
365 gcov_kvp.
366
367 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
368
369 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
370 the function.
371 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
372
373 2021-02-24 Jakub Jelinek <jakub@redhat.com>
374
375 PR libgcc/99236
376 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
377 negation of m in unsigned type.
378
379 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
380 Hau Hsu <hsuhau617@gmail.com>
381
382 PR target/99157
383 * config/arm/t-arm: Fix cmse support detection.
384
385 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
386
387 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
388
389 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
390
391 * config/rs6000/_dd_to_kf.c: New file.
392 * config/rs6000/_kf_to_dd.c: New file.
393 * config/rs6000/_kf_to_sd.c: New file.
394 * config/rs6000/_kf_to_td.c: New file.
395 * config/rs6000/_sd_to_kf.c: New file.
396 * config/rs6000/_sprintfkf.c: New file.
397 * config/rs6000/_sprintfkf.h: New file.
398 * config/rs6000/_strtokf.h: New file.
399 * config/rs6000/_strtokf.c: New file.
400 * config/rs6000/_td_to_kf.c: New file.
401 * config/rs6000/quad-float128.h: Add new declarations.
402 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
403 (fp128_decstr_funcs): New macro.
404 (ibm128_dec_funcs): New macro.
405 (fp128_ppc_funcs): Add the new conversions.
406 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
407 compiled with -mabi=ieeelongdouble.
408 (fp128_decstr_objs): Force __float128 <-> string conversions to be
409 compiled with -mabi=ibmlongdouble.
410 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
411 compiled with -mabi=ieeelongdouble.
412 (FP128_CFLAGS_DECIMAL): New macro.
413 (IBM128_CFLAGS_DECIMAL): New macro.
414 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
415 (BFP_TO_DFP): Add PowerPC _Float128 support.
416 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
417 IEEE 128-bit floating point.
418 (DFP_TO_BFP): Add PowerPC _Float128 support.
419 (BFP_TO_DFP): Add PowerPC _Float128 support.
420 (BFP_SPRINTF): New macro.
421
422 2021-01-27 Jakub Jelinek <jakub@redhat.com>
423
424 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
425 * config/i386/savms64f.h: Likewise.
426 * config/i386/resms64.h: Likewise.
427 * config/i386/resms64f.h: Likewise.
428 * config/i386/resms64x.h: Likewise.
429 * config/i386/resms64fx.h: Likewise.
430
431 2021-01-26 Martin Liska <mliska@suse.cz>
432
433 PR gcov-profile/98739
434 * libgcov.h (gcov_topn_add_value): Do not train when
435 we have a merged profile with a negative number of total
436 value.
437
438 2021-01-25 Martin Liska <mliska@suse.cz>
439
440 PR gcov-profile/98739
441 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
442 ends with a dropped counter.
443 * libgcov.h (gcov_topn_add_value): Add return value.
444
445 2021-01-13 Stafford Horne <shorne@gmail.com>
446
447 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
448 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
449 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
450 FP_EX_ALL): New constant macros.
451 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
452 FP_HANDLE_EXCEPTIONS): New macros.
453 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
454
455 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
456
457 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
458 posix siginfo case to struct handler_args. Detect between legacy
459 and siginfo from the second parameter, which is a small sigcode in
460 the legacy case, and a pointer in the siginfo case.
461
462 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
463
464 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
465 functions.
466 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
467 _bswapdi2.
468
469 2020-12-08 Ian Lance Taylor <iant@golang.org>
470
471 * generic-morestack-thread.c (free_segments): Block signals during
472 thread exit.
473
474 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
475
476 PR libgcc/97543
477 PR libgcc/97643
478 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
479 (IBM128_SHARED_OBJS): New make variable.
480 (IBM128_OBJS): New make variable. Set all objects to use the
481 explicit IBM format, and disable gnu attributes.
482 (IBM128_CFLAGS): New make variable.
483 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
484 modules.
485
486 2020-12-03 Alexandre Oliva <oliva@adacore.com>
487
488 * config/t-vxworks (LIB2ADD): Drop.
489 * config/t-vxworks7 (LIB2ADD): Likewise.
490 * config/vxcache.c: Remove.
491
492 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
493
494 * libgcc2.c (bswapsi2): Make constants unsigned.
495
496 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
497
498 * libgcc2.c (absvSI2): Simplify/improve implementation by using
499 builtin_add_overflow.
500 (absvsi2, absvDI2): Likewise.
501
502 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
503
504 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
505 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
506
507 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
508
509 * config/msp430/lib2hw_mul.S (mult64_hw): New.
510 (if MUL_32): Use mult64_hw for __muldi3.
511 (if MUL_F5): Use mult64_hw for __muldi3.
512 * config/msp430/lib2mul.c (__muldi3): New.
513 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
514
515 2020-11-17 Alan Modra <amodra@gmail.com>
516
517 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
518 (LIB2_SIDITI_CONV_FUNCS): Define.
519 * config/rs6000/ppc64-fp.c: Delete file.
520
521 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
522
523 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
524 hwmult library functions.
525
526 2020-11-10 Jeff Law <law@redhat.com>
527
528 * libgcc2.c: Fix whitespace issues in most recent change.
529
530 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
531
532 * libgcc2.c (__addvSI3): Use overflow builtins.
533 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
534 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
535 (__negvsi2, __negvDI2): Likewise.
536 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
537 generated code.
538 * libgcc2.h (__ucmpdi2): Adjust prototype.
539
540 2020-11-03 Pat Bernardi <bernardi@adacore.com>
541 Olivier Hainque <hainque@adacore.com>
542
543 * config.host (aarch64-vxworks7*, tmake_file): Add
544 ${cpu_type}/t-lse and t-slibgcc-libgcc.
545
546 2020-11-03 Martin Storsjö <martin@martin.st>
547
548 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
549 before calling the callback.
550
551 2020-10-30 Olivier Hainque <hainque@adacore.com>
552 Douglas Rupp <rupp@adacore.com>
553 Pat Bernardi <bernardi@adacore.com>
554
555 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
556 to apply to VxWorks 7 as well.
557
558 2020-10-29 Olivier Hainque <hainque@adacore.com>
559
560 * config/gthr-vxworks-tls.c: Fix preprocessor logic
561 controlling the definition of VX_ENTER_TLS_DTOR and
562 VX_LEAVE_TLS_DTOR based on a version major check.
563
564 2020-10-29 Olivier Hainque <hainque@adacore.com>
565
566 * config/gthr-vxworks-thread.c: Fix name of macro used
567 to condition the inclusion of an actual implementation.
568
569 2020-10-27 Martin Liska <mliska@suse.cz>
570
571 PR gcov-profile/97461
572 * libgcov.h (gcov_counter_add): Use first static counters
573 as it should help to have malloc wrappers set up.
574
575 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
576
577 * config/gthr-vxworks-thread.c: #include gthr.h before
578 testing the guard defined there.
579 * config/gthr-vxworks-cond.c: Likewise.
580
581 2020-10-21 Douglas Rupp <rupp@adacore.com>
582 Olivier Hainque <hainque@adacore.com>
583
584 * config.host (powerpc*-wrs-vxworks7*): New case.
585 * configure.ac: Handle powerpc*-*-vxworks7* as
586 powerpc*-*-linux* for ppc-fp_type.
587 * configure: Regenerate.
588
589 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
590
591 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
592 section on VxWorks >= 6.
593 * config/gthr-vxworks-thread.c: Condition the entire
594 implementation on __GTHREAD_CXX0X.
595
596 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
597
598 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
599 section on VxWorks >= 6.
600 * config/gthr-vxworks-cond.c: Condition the entire
601 implementation on __GTHREAD_HAS_COND.
602
603 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
604
605 * config/gthr-vxworks.c: #include <taskLib.h>.
606
607 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
608
609 * config/gthr-vxworks.h: Rewrite remaining occurrence
610 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
611
612 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
613 Olivier Hainque <hainque@adacore.com>
614
615 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
616 except on VxWorks 6.
617
618 2020-10-16 Olivier Hainque <hainque@adacore.com>
619
620 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
621
622 2020-10-14 Alexandre Oliva <oliva@adacore.com>
623
624 * config/gthr-vxworks-thread.c: Include stdlib.h.
625 (tls_delete_hook): Prototype it.
626 (__gthread_cond_signal): Return early if no waiters. Consume
627 signal in case the semaphore got full. Use semInfoGet instead
628 of kernel-mode-only semInfo.
629 (__gthread_cond_timedwait): Use semExchange. Always take the
630 mutex again before returning.
631 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
632
633 2020-10-14 Olivier Hainque <hainque@adacore.com>
634
635 * config/t-vxworks (LIBGCC2_INCLUDES): Append
636 $(MULTISUBDIR) to the -I path for fixed headers, as we
637 arrange to have different sets of such headers for different
638 multilibs when they are activated.
639 * config/t-vxworks7: Likewise.
640
641 2020-10-14 Olivier Hainque <hainque@adacore.com>
642
643 * config/t-vxworks: Add include-fixed to include search
644 paths for libgcc on VxWorks.
645 * config/t-vxworks7: Likewise.
646
647 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
648
649 PR target/97148
650 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
651 instead of <cetintrin.h>.
652
653 2020-10-01 Alan Modra <amodra@gmail.com>
654
655 * config/rs6000/morestack.S,
656 * config/rs6000/tramp.S: Support __PCREL__ code.
657
658 2020-10-01 Alan Modra <amodra@gmail.com>
659
660 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
661
662 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
663
664 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
665 variable.
666
667 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
668
669 * config/aarch64/libgcc-softfp.ver: New file.
670 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
671
672 2020-09-27 Clement Chigot <clement.chigot@atos.net>
673
674 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
675
676 2020-09-22 Sergei Trofimovich <siarheit@google.com>
677
678 PR gcov-profile/96913
679 * libgcov-driver.c (write_one_data): Avoid function pointer
680 comparison in TOP streaming decision.
681
682 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
683 Christophe Lyon <christophe.lyon@linaro.org>
684
685 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
686 qualifier.
687 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
688 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
689 missing prototypes.
690
691 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
692
693 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
694 unused variable warning.
695
696 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
697
698 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
699
700 2020-09-09 Tom de Vries <tdevries@suse.de>
701
702 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
703 Wbuiltin-declaration-mismatch.
704
705 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
706
707 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
708 * config/msp430/srai.S (__gnu_mspabi_srap): New.
709 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
710
711 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
712
713 * config/nvptx/atomic.c: New.
714 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
715
716 2020-08-03 Ian Lance Taylor <iant@golang.org>
717
718 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
719
720 2020-08-03 Jakub Jelinek <jakub@redhat.com>
721
722 PR target/96402
723 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
724 of x(tmp0), x(tmp1) in STXP arguments.
725
726 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
727
728 * config/riscv/save-restore.S [__riscv_xlen == 64]
729 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
730 (__riscv_save_2): Replace negative immediates used for the final
731 stack pointer adjustment with positive ones, right-shifted by 4.
732
733 2020-07-31 Martin Liska <mliska@suse.cz>
734
735 * libgcov-driver.c: Add __gcov_kvp_pool
736 and __gcov_kvp_pool_index variables.
737 * libgcov.h (allocate_gcov_kvp): New.
738 (gcov_topn_add_value): Use it.
739
740 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
741
742 * config/aarch64/lse.S: Add PAC property note.
743
744 2020-07-23 Martin Liska <mliska@suse.cz>
745
746 PR gcov-profile/96035
747 * libgcov-driver-system.c: Create gcov folders with 0777
748 so that it respects a system umask.
749
750 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
751
752 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
753
754 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
755
756 PR target/94891
757 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
758 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
759 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
760 (MD_DEMANGLE_RETURN_ADDR): This.
761 (aarch64_post_extract_frame_addr): Rename to ...
762 (aarch64_demangle_return_addr): This.
763 (aarch64_post_frob_eh_handler_addr): Remove.
764 * unwind-dw2.c (uw_update_context): Demangle return address.
765 (uw_frob_return_addr): Remove.
766
767 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
768
769 PR target/96001
770 * config/aarch64/lse.S: Add BTI marking and related definitions,
771 and add BTI c to function entries.
772
773 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
774
775 * config/aarch64/lse.S: Add stack note.
776
777 2020-07-02 Martin Liska <mliska@suse.cz>
778
779 PR gcov-profile/95348
780 * libgcov-driver.c (merge_one_data): Merge only profiles
781 that are not of non-zero type.
782 (write_one_data): Write counters only if there's one non-zero
783 value.
784 * libgcov-util.c (tag_function): Change signature from unsigned
785 to int.
786 (tag_blocks): Likewise.
787 (tag_arcs): Likewise.
788 (tag_counters): Likewise.
789 (tag_summary): Likewise.
790 (tag_lines): Read only if COUNTERS is non-zero.
791 (read_gcda_file): Handle negative length for COUNTERS type.
792
793 2020-06-25 Martin Liska <mliska@suse.cz>
794
795 * libgcov-driver.c (merge_summary): Remove function as its name
796 is misleading and doing something different.
797 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
798 in gcov-tool.
799 * libgcov-util.c (curr_object_summary): Remove.
800 (read_gcda_file): Remove unused curr_object_summary.
801 (gcov_merge): Merge summaries.
802 * libgcov.h: Add summary argument for gcov_info struct.
803
804 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
805
806 PR target/95259
807 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
808 "common/config/i386/i386-cpuinfo.h" and
809 "common/config/i386/cpuinfo.h".
810 (__cpu_features2): Changed to array.
811 (get_amd_cpu): Removed.
812 (get_intel_cpu): Likewise.
813 (get_available_features): Likewise.
814 (__cpu_indicator_init): Call cpu_indicator_init.
815 * config/i386/cpuinfo.h: Removed.
816
817 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
818
819 * Makefile.in: Remove uses of empty.mk. Use -include.
820 * config/avr/t-avr: Use -include.
821 * empty.mk: Delete.
822
823 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
824
825 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
826 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
827 and 64 bit with -maix64.
828 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
829 Build and install AIX-style FAT libraries.
830
831 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
832
833 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
834 'i386/gnu-unwind.h'
835 * config/i386/gnu-unwind.h: New file.
836
837 2020-06-17 Martin Liska <mliska@suse.cz>
838
839 * libgcov-util.c (read_gcda_finalize): Remove const operator.
840 (merge_wrapper): Add both counts and use them properly.
841 (topn_to_memory_representation): New function.
842 (gcov_merge): Covert on disk representation to in memory
843 representation.
844 * libgcov.h: Remove const operator.
845
846 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
847
848 * configure: Regenerate.
849 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
850 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
851
852 2020-06-09 Martin Liska <mliska@suse.cz>
853
854 PR gcov-profile/95494
855 * libgcov-driver.c (write_top_counters): Cast first to
856 intptr_t as sizeof(*) != sizeof(gcov_type).
857 * libgcov.h (gcov_counter_set_if_null): Remove.
858 (gcov_topn_add_value): Cast first to intptr_t and update
859 linked list directly.
860
861 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
862
863 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
864 with uw_install_context_1.
865
866 2020-06-04 Andreas Schwab <schwab@suse.de>
867
868 PR target/59230
869 PR libfortran/59227
870 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
871 soft-fp/divtf3.c.
872 (LIB2ADD): Add config/ia64/divtf3.c.
873 * config/ia64/divtf3.c: New file.
874
875 2020-06-03 Martin Liska <mliska@suse.cz>
876
877 PR gcov-profile/95480
878 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
879 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
880 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
881 (gcov_counter_set_if_null): Likewise.
882
883 2020-06-02 Jim Wilson <jimw@sifive.com>
884
885 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
886 to bgtz.
887
888 2020-06-02 Martin Liska <mliska@suse.cz>
889
890 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
891 of xmalloc.
892
893 2020-06-02 Martin Liska <mliska@suse.cz>
894
895 * libgcov-driver.c (prune_topn_counter): Remove.
896 (prune_counters): Likewise.
897 (merge_one_data): Special case TOP N counters
898 as they have variable length.
899 (write_top_counters): New.
900 (write_one_data): Special case TOP N.
901 (dump_one_gcov): Do not prune TOP N counters.
902 * libgcov-merge.c (merge_topn_values_set): Remove.
903 (__gcov_merge_topn): Use gcov_topn_add_value.
904 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
905 Likewise here.
906 * libgcov.h (gcov_counter_add): New.
907 (gcov_counter_set_if_null): Likewise.
908 (gcov_topn_add_value): New.
909
910 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
911
912 * config/i386/sfp-exceptions.c (struct fenv):
913 Add __attribute__ ((gcc_struct)).
914
915 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
916
917 PR bootstrap/95413
918 * configure: Regenerated.
919
920 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
921
922 PR gcov-profile/95332
923 * libgcov-util.c (read_gcda_file): Call gcov_magic.
924 * libgcov.h (gcov_magic): Disable GCC poison.
925
926 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
927
928 PR target/95212
929 * config/i386/cpuinfo.h (processor_features): Move
930 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
931
932 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
933
934 PR target/91695
935 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
936 check.
937
938 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
939
940 PR target/95212
941 PR target/95220
942 * config/i386/cpuinfo.c (get_available_features): Fix
943 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
944 * config/i386/cpuinfo.h (processor_features): Add
945 FEATURE_AVX512VP2INTERSECT.
946
947 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
948
949 PR bootstrap/95147
950 * configure: Regenerated.
951
952 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
953
954 * configure: Regenerated.
955
956 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
957
958 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
959 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
960
961 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
962
963 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
964 (__math_force_eval_div): New define.
965 (__sfp_handle_exceptions): Use __math_force_eval_div to use
966 generic division to generate INVALID, DIVZERO and INEXACT
967 exceptions.
968
969 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
970
971 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
972 instead of getauxval.
973 (AT_HWCAP): Define.
974 (HWCAP_ATOMICS): Define.
975 Guard detection on __gnu_linux__.
976
977 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
978
979 * config.host: Delete changes meant for a private branch.
980 * config/rs6000/t-float128: Likewise.
981 * configure.ac: Likewise.
982 * configure: Likewise.
983
984 2020-05-05 Martin Liska <mliska@suse.cz>
985
986 PR gcov-profile/93623
987 * Makefile.in: Remove __gcov_flush.
988 * gcov.h (__gcov_flush): Remove.
989 * libgcov-interface.c (__gcov_flush): Remove.
990 (init_mx): Use renamed mutex.
991 (__gcov_lock): Likewise.
992 (__gcov_unlock): Likewise.
993 (__gcov_fork): Likewise.
994 (__gcov_flush): Remove.
995
996 2020-05-05 Martin Liska <mliska@suse.cz>
997
998 PR gcov-profile/93623
999 * libgcov-interface.c (__gcov_fork): Do not flush
1000 and reset only in child process.
1001 (__gcov_execl): Dump counters only and reset them
1002 only if exec* fails.
1003 (__gcov_execlp): Likewise.
1004 (__gcov_execle): Likewise.
1005 (__gcov_execv): Likewise.
1006 (__gcov_execvp): Likewise.
1007 (__gcov_execve): Likewise.
1008
1009 2020-05-05 Martin Liska <mliska@suse.cz>
1010
1011 PR gcov-profile/93623
1012 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1013 * libgcov-interface.c (ALIAS_void_fn): Remove.
1014 (__gcov_lock): New.
1015 (__gcov_unlock): New.
1016 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1017 (__gcov_reset): Likewise.
1018 (__gcov_dump): Likewise.
1019 * libgcov.h (__gcov_lock): New declaration.
1020 (__gcov_unlock): Likewise.
1021
1022 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1023
1024 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1025 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1026 generic division to generate INVALID and DIVZERO exceptions.
1027
1028 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1029
1030 * config/rs6000/crtresfpr.S: Use .machine ppc.
1031 * config/rs6000/crtresxfpr.S: Likewise.
1032 * config/rs6000/crtsavfpr.S: Likewise.
1033
1034 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1035
1036 PR target/94514
1037 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1038 Update context->flags accroding to the frame state.
1039
1040 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1041
1042 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1043 Remove unneeded assignments to volatile memory.
1044
1045 2020-04-15 Jakub Jelinek <jakub@redhat.com>
1046
1047 PR target/93053
1048 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1049 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1050 is not defined, use just .arch armv8-a.
1051 (B, M, N, OPN): Define.
1052 (COMMENT): New .macro.
1053 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1054 defined. Otherwise, move the operands right after the glue? and
1055 comment out operands where the macros are used.
1056 * configure: Regenerated.
1057 * config.in: Regenerated.
1058
1059 2020-04-07 Ian Lance Taylor <iant@golang.org>
1060
1061 PR libgcc/94513
1062 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1063 syscall instead.
1064
1065 2020-04-04 Ian Lance Taylor <iant@golang.org>
1066
1067 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1068
1069 2020-04-03 Ian Lance Taylor <iant@golang.org>
1070
1071 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1072 than mmap/munmap, to avoid hooks.
1073
1074 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1075
1076 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1077 (TPFRA_OFFSET): Macros removed.
1078 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1079 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1080 (PG3_SKIPPING_OFFSET): New macros.
1081 (__isPATrange): Use cinfc_fast for the check.
1082 (__isSkipResetAddr): New function.
1083 (s390_fallback_frame_state): Check for skip trace addresses. Use
1084 either ICST_CRET or ICST_SRET to calculate return address
1085 location.
1086 (__tpf_eh_return): Handle skip trace addresses.
1087
1088 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
1089
1090 PR target/94220
1091 * config/arm/lib1funcs.asm (COND): Use a single definition for
1092 unified syntax.
1093 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1094 (aeabi_idivmod): Likewise.
1095 (divsi3_skip_div0_test): Likewise.
1096
1097 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1098
1099 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1100
1101 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1102
1103 * config.host: Include the new makefile fragment.
1104 * config/s390/t-tpf: New file.
1105
1106 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
1107
1108 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1109 syntax.
1110 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1111 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1112 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1113 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1114 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1115 syntax.
1116 (divsi3, modsi3): Likewise.
1117 (clzdi2, ctzsi2): Likewise.
1118 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1119 unified syntax.
1120 (UNWIND_WRAPPER): Likewise.
1121
1122 2020-03-02 Martin Liska <mliska@suse.cz>
1123
1124 * libgcov-interface.c: Remove duplicate
1125 declaration of __gcov_flush_mx.
1126
1127 2020-02-18 Martin Liska <mliska@suse.cz>
1128
1129 PR ipa/92924
1130 * libgcov-merge.c (merge_topn_values_set): Record
1131 when a TOP N counter becomes invalid. When merging
1132 remove a smallest value if the space is needed.
1133
1134 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1135
1136 PR libstdc++/79193
1137 PR libstdc++/88999
1138
1139 * configure: Regenerated.
1140
1141 2020-02-10 Jeff Law <law@redhat.com>
1142
1143 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1144 sections.
1145 * config/frv/frvend.c: Similarly.
1146
1147 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 PR libgcc/85334
1150 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1151 New.
1152
1153 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1154
1155 PR target/93615
1156 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1157 _Unwind_gnu_Find_got.
1158 * unwind-pe.h: Likewise.
1159
1160 2020-02-07 Jakub Jelinek <jakub@redhat.com>
1161
1162 PR target/93615
1163 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1164 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1165 trailing :s in asm. Formatting fixes.
1166 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1167
1168 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1169
1170 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1171
1172 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1173 * config/nios2-elf-lib.h: New.
1174 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1175 code for finding GOT base for nios2.
1176
1177 2020-01-27 Martin Liska <mliska@suse.cz>
1178
1179 PR gcov-profile/93403
1180 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1181 Call __gcov_indirect_call_profiler_body.
1182 (__gcov_indirect_call_profiler_body): New.
1183 (__gcov_indirect_call_profiler_v4_atomic): New.
1184 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1185 New declaration.
1186
1187 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1188
1189 * config/arc/crti.S: Add RF16 object attribute.
1190 * config/arc/crtn.S: Likewise.
1191 * config/arc/crttls.S: Likewise.
1192 * config/arc/lib1funcs.S: Likewise.
1193 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1194 * config/arc/lib2funcs.c: New file.
1195 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1196
1197 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
1198
1199 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1200 * configure.ac: Handle `--with-toolexeclibdir='.
1201 * configure: Regenerate.
1202
1203 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1204
1205 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1206
1207 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1208
1209 * config/mips/gnustack.h: New file.
1210 * config/mips/crti.S: Include gnustack.h.
1211 * config/mips/crtn.S: Likewise.
1212 * config/mips/mips16.S: Likewise.
1213 * config/mips/vr4120-div.S: Likewise.
1214
1215 2020-01-23 Martin Liska <mliska@suse.cz>
1216
1217 * libgcov-driver.c (prune_topn_counter): Remove
1218 check for -1 as we only prune run-time counters
1219 that do not generate an invalid state.
1220
1221 2020-01-22 Martin Liska <mliska@suse.cz>
1222
1223 PR tree-optimization/92924
1224 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1225 try to find an existing value, then find an empty slot
1226 if not found.
1227
1228 2020-01-22 Martin Liska <mliska@suse.cz>
1229
1230 PR tree-optimization/92924
1231 * libgcov-driver.c (prune_topn_counter): New.
1232 (prune_counters): Likewise.
1233 (dump_one_gcov): Prune a run-time counter.
1234 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1235 For a known value, add GCOV_TOPN_VALUES to value.
1236 Otherwise, decrement all counters by one.
1237
1238 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
1239
1240 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1241
1242 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
1243
1244 PR libgcc/92988
1245 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1246 DEFAULT_USE_CXA_ATEXIT is true.
1247
1248 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
1249 Thomas Preud'homme <thomas.preudhomme@arm.com>
1250
1251 * config/arm/t-arm: Check return value of gcc rather than lack of
1252 output.
1253
1254 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
1255
1256 * config/avr/lib1funcs.S (skip): Simplify.
1257
1258 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1259
1260 * config/gcn/atomic.c: Remove include of stdint.h.
1261 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1262 __UINTPTR_TYPE__.
1263
1264 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1265
1266 * config/gcn/atomic.c: New.
1267 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1268
1269 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
1270
1271 Implement 64-bit double functions.
1272
1273 PR target/92055
1274 * config.host (tmake_file) [target=avr]: Add t-libf7,
1275 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1276 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1277 depending on sizeof (double) or sizeof (long double).
1278 * config/avr/libf7: New folder.
1279
1280 2020-01-05 Olivier Hainque <hainque@adacore.com>
1281
1282 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1283 by IN_LIBGCC2.
1284
1285 2020-01-01 Jakub Jelinek <jakub@redhat.com>
1286
1287 Update copyright years.
1288
1289 2019-12-30 Olivier Hainque <hainque@adacore.com>
1290
1291 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1292 * config/gthr-vxworks-tls.c: Likewise.
1293
1294 2019-12-30 Olivier Hainque <hainque@adacore.com>
1295
1296 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1297 standard zero-initializer syntax.
1298
1299 2019-12-30 Olivier Hainque <hainque@adacore.com>
1300
1301 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1302 reference to the internal VX_GET_TLS_DATA interface.
1303
1304 2019-12-30 Olivier Hainque <hainque@adacore.com>
1305
1306 * config/vxcrtstuff.c: Fix incorrect spelling of
1307 USE_INITFINI_ARRAY in guard.
1308
1309 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1310
1311 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1312 Override default "extra_parts" variable.
1313 * configure: Regenerate.
1314 * configure.ac: Disable TM clone registry by default for
1315 msp430-elfbare.
1316
1317 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1318
1319 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1320 "extra_parts".
1321 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1322
1323 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1324
1325 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1326 true.
1327
1328 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1329
1330 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1331 defined instead of its value.
1332
1333 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1334
1335 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1336 if it will have contents.
1337
1338 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
1339
1340 PR target/92055
1341 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1342
1343 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1344
1345 PR libgcc/91737
1346 * config.host: Add t-gthr-noweak on *-*-musl*.
1347 * config/t-gthr-noweak: New file.
1348
1349 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
1350
1351 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1352 volatile void *. Remove trap check.
1353 (__kernel_cmpxchg2): Likewise.
1354 (FETCH_AND_OP_2): Adjust operand types.
1355 (OP_AND_FETCH_2): Likewise.
1356 (FETCH_AND_OP_WORD): Likewise.
1357 (OP_AND_FETCH_WORD): Likewise.
1358 (COMPARE_AND_SWAP_2): Likewise.
1359 (__sync_val_compare_and_swap_4): Likewise.
1360 (__sync_bool_compare_and_swap_4): Likewise.
1361 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1362 (__sync_lock_test_and_set_4): Likewise.
1363 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1364 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1365 for release.
1366 (__sync_lock_release_8): Remove.
1367
1368 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1369
1370 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1371 of __sigset_t.
1372
1373 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
1374 Doug Rupp <rupp@adacore.com>
1375 Olivier Hainque <hainque@adacore.com>
1376
1377 * config.host: Collapse the arm-vxworks entries into
1378 a single arm-wrs-vxworks7* one.
1379 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1380 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1381 kernel modules, to be overriden by libstdc++ when we link with
1382 it. Rely on externally provided __exidx_start/end.
1383
1384 2019-11-14 Doug Rupp <rupp@adacore.com>
1385 Olivier Hainque <hainque@adacore.com>
1386
1387 * config.host: Handle aarch64*-wrs-vxworks7*.
1388
1389 2019-11-12 Olivier Hainque <hainque@adacore.com>
1390
1391 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1392 sources except the cxx0x support to LIB2ADDEH. We don't support
1393 cxx0x on AE/653.
1394 * config/t-vxworksae: New file.
1395 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1396 Makefile fragment files at their expected position in the tmake_file
1397 list, in accordance with what is done for other VxWorks variants.
1398
1399 2019-11-12 Corentin Gay <gay@adacore.com>
1400 Jerome Lambourg <lambourg@adacore.com>
1401 Olivier Hainque <hainque@adacore.com>
1402
1403 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1404 sources to LIB2ADDEH.
1405 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1406 * config/t-vxworks7: Likewise.
1407
1408 * config.host: Append a block at the end of the file to add the
1409 t-gthr files to the tmake_file list for VxWorks after everything
1410 else.
1411
1412 * config/vxlib.c: Rename as gthr-vxworks.c.
1413 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1414
1415 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1416 API and a basic error checking API, both internal. Simplify the
1417 __gthread_once_t type definition and initializers. Add sections
1418 for condition variables support and for the C++0x thread support,
1419 conditioned against Vx653 for the latter.
1420
1421 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1422 implementation, leveraging the TAS internal API.
1423 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1424 API, leveraging the general availability of TLS services in VxWorks7
1425 post SR6xxx.
1426 (__gthread_setspecific, __gthread_setspecific): Use it.
1427 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1428 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1429 support based on VxWorks primitives.
1430 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1431 based on VxWorks primitives.
1432
1433 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
1434 Olivier Hainque <hainque@adacore.com>
1435
1436 * config/vxcrtstuff.c: New file.
1437 * config/t-vxcrtstuff: New Makefile fragment.
1438 * config.host: Append t-vxcrtstuff to the tmake_file list
1439 on all VxWorks ports using dwarf for table based EH.
1440
1441 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
1442
1443 Support 64-bit double and 64-bit long double configurations.
1444
1445 PR target/92055
1446 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1447 long double is a 32-bit type.
1448 * config/avr/t-avrlibc: Copy double64 and long-double64
1449 multilib(s) from the vanilla one.
1450 * config/avr/t-copy-libgcc: New Makefile snip.
1451
1452 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1453
1454 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1455 the target output object format is not ELF.
1456 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1457
1458 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1459
1460 PR libgcc/78804
1461 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1462 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1463 FLOAT_BIT_ORDER_MISMATCH.
1464 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1465
1466 2019-11-01 Jim Wilson <jimw@sifive.com>
1467
1468 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1469
1470 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1471
1472 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1473 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1474 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1475 Define symbols for 32-bit and f5series hardware multiply
1476 register addresses.
1477 Replace hard-coded register addresses with symbols.
1478 Fix "_mspabi*" typo.
1479 Fix whitespace.
1480 * config/msp430/lib2mul.c: Add comment.
1481
1482 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
1483
1484 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1485 unsigned int. Adjust callers.
1486 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1487 unsigned int *. Load relocation offset before function pointer.
1488 Add barrier to ensure ordering.
1489
1490 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
1491
1492 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1493 Load PIC register after branch target. Fix white space.
1494 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1495 implementations. Load PIC register after branch target. Don't
1496 clobber function pointer when it points to function descriptor.
1497 Use nullification instead of branch in LINUX implementation.
1498
1499 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
1500
1501 * config/pa/fptr.c: Disable -Warray-bounds warning.
1502
1503 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1504
1505 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1506 not the ubuntu modified 2.69.
1507
1508 PR target/91833
1509 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1510 initialization if !HAVE_SYS_AUXV_H.
1511 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1512 * config.in, configure: Rebuild.
1513
1514 PR target/91834
1515 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1516 overlap the inputs.
1517
1518 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1519
1520 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1521 CTR_EL0.IDC and CTR_EL0.DIC.
1522
1523 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1524
1525 Revert:
1526 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1527 Mickaël Guêné <mickael.guene@st.com>
1528
1529 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1530 architecture.
1531
1532 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1533
1534 * config/aarch64/lse-init.c: New file.
1535 * config/aarch64/lse.S: New file.
1536 * config/aarch64/t-lse: New file.
1537 * config.host: Add t-lse to all aarch64 tuples.
1538
1539 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1540 Mickaël Guêné <mickael.guene@st.com>
1541
1542 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1543 architecture.
1544
1545 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1546 Mickaël Guêné <mickael.guene@st.com>
1547
1548 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1549 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1550 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1551 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1552 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1553 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1554 (__gnu_personality_sigframe_fdpic): New.
1555 (get_eit_entry): Add FDPIC signal frame support.
1556
1557 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1558 Mickaël Guêné <mickael.guene@st.com>
1559
1560 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1561 (__kernel_dmb): Likewise.
1562 (__fdpic_cmpxchg): New function.
1563 (__fdpic_dmb): New function.
1564 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1565 (gnu_Unwind_Find_got): New function.
1566 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1567 * unwind-arm-common.inc (UCB_PR_GOT): New.
1568 (funcdesc_t): New struct.
1569 (get_eit_entry): Add FDPIC support.
1570 (unwind_phase2): Likewise.
1571 (unwind_phase2_forced): Likewise.
1572 (__gnu_Unwind_RaiseException): Likewise.
1573 (__gnu_Unwind_Resume): Likewise.
1574 (__gnu_Unwind_Backtrace): Likewise.
1575 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1576
1577 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1578 Mickaël Guêné <mickael.guene@st.com>
1579
1580 * libgcc/crtstuff.c: Add support for FDPIC.
1581
1582 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1583
1584 * config.host: Handle *-*-uclinuxfdpiceabi.
1585
1586 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1587
1588 * config.host: Set cpu_type for bpf-*-* targets.
1589 * config/bpf/t-bpf: Likewise.
1590 * config/bpf/crtn.S: Likewise.
1591 * config/bpf/crti.S: New file.
1592
1593 2019-09-06 Jim Wilson <jimw@sifive.com>
1594
1595 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1596 (riscv*-*-freebsd*): Likewise.
1597
1598 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1599
1600 * config.host: Remove references to spu.
1601 * config/spu/: Remove directory.
1602
1603 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1604
1605 PR target/91306
1606 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1607 element type, instead of "sizeof" the element type.
1608 (__DTOR_LIST__): Likewise.
1609 (__TMC_LIST__): Likewise.
1610 (__do_global_dtors_aux_fini_array_entry): Likewise.
1611 (__frame_dummy_init_array_entry): Likewise.
1612 (__CTOR_END__): Likewise.
1613 (__DTOR_END__): Likweise.
1614 (__FRAME_END__): Likewise.
1615 (__TMC_END__): Likewise.
1616
1617 2019-08-20 Lili Cui <lilicui@intel.com>
1618
1619 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1620 INTEL_COREI7_COOPERLAKE.
1621
1622 2019-07-31 Matt Thomas <matt@3am-software.com>
1623 Nick Hudson <nick@nthcliff.demon.co.uk>
1624 Matthew Green <mrg@eterna.com.au>
1625 Maya Rashish <coypu@sdf.org>
1626
1627 * config.host (hppa*-*-netbsd*): New case.
1628 * config/pa/t-netbsd: New file.
1629
1630 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1631
1632 * config/arm/cmse.c (cmse_check_address_range): Add
1633 warn_unused_result attribute.
1634
1635 2019-07-22 Martin Liska <mliska@suse.cz>
1636
1637 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1638 * config/pa/t-stublib: Likewise.
1639
1640 2019-07-22 Stafford Horne <shorne@gmail.com>
1641
1642 PR target/90362
1643 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1644 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1645 instructions are not available on every processor. Change a
1646 l.bnf to l.bf to fix logic issue.
1647
1648 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1649
1650 * config.host: Remove reference to t-darwin8.
1651
1652 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1653
1654 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1655 list.
1656 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1657 mmacosx-version-min for crts to run across all system versions.
1658 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1659 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1660 system versions >= 10.4.
1661
1662 2019-07-03 Martin Liska <mliska@suse.cz>
1663
1664 * Makefile.in: Use topn_values instead of one_value names.
1665 * libgcov-merge.c (__gcov_merge_single): Move to ...
1666 (__gcov_merge_topn): ... this.
1667 (merge_single_value_set): Move to ...
1668 (merge_topn_values_set): ... this.
1669 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1670 ...
1671 (__gcov_topn_values_profiler_body): ... this.
1672 (__gcov_one_value_profiler_v2): Move to ...
1673 (__gcov_topn_values_profiler): ... this.
1674 (__gcov_one_value_profiler_v2_atomic): Move to ...
1675 (__gcov_topn_values_profiler_atomic): ... this.
1676 (__gcov_indirect_call_profiler_v4): Remove.
1677 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1678 (__gcov_topn_counter_op): ... this.
1679 * libgcov.h (L_gcov_merge_single): Remove.
1680 (L_gcov_merge_topn): New.
1681 (__gcov_merge_single): Remove.
1682 (__gcov_merge_topn): New.
1683 (__gcov_one_value_profiler_v2): Move to ..
1684 (__gcov_topn_values_profiler): ... this.
1685 (__gcov_one_value_profiler_v2_atomic): Move to ...
1686 (__gcov_topn_values_profiler_atomic): ... this.
1687
1688 2019-07-03 Martin Liska <mliska@suse.cz>
1689
1690 * libgcov-merge.c (merge_single_value_set): Support N values.
1691 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1692
1693 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1694
1695 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1696 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1697 * configure.ac: Add --disable-tm-clone-registry option.
1698 * configure: Regenerate.
1699
1700 2019-06-27 Martin Liska <mliska@suse.cz>
1701
1702 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1703 dead assignments.
1704 * libgcov-util.c: Likewise.
1705
1706 2019-06-27 Martin Liska <mliska@suse.cz>
1707
1708 * libgcov-util.c (gcov_profile_merge): Release allocated
1709 memory.
1710 (calculate_overlap): Likewise.
1711
1712 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1713
1714 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1715 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1716 Build objects for the out of line save/restore register functions
1717 so that they can be used for any supported Darwin version.
1718 * config/t-darwin: Default the build Darwin version to Darwin8
1719 (MacOS 10.4).
1720
1721 2019-06-25 Martin Liska <mliska@suse.cz>
1722
1723 * libgcov-driver-system.c (replace_filename_variables): Do not
1724 call strlen with NULL argument.
1725
1726 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1727
1728 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1729 * config/gcn/unwind-gcn.c: New file.
1730
1731 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1732 Andrew Stubbs <ams@codesourcery.com>
1733
1734 * configure: Regenerate.
1735 * config/gcn/gthr-gcn.h: New.
1736
1737 2019-06-18 Tom de Vries <tdevries@suse.de>
1738
1739 * config/nvptx/crt0.c (__main): Declare.
1740
1741 2019-06-17 Matthew Green <mrg@eterna.com.au>
1742 Maya Rashish <coypu@sdf.org>
1743
1744 * config.host (aarch64*-*-netbsd*): New case.
1745
1746 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1747
1748 * config/msp430/slli.S (__mspabi_sllll): New library function for
1749 performing a logical left shift of a 64-bit value.
1750 * config/msp430/srai.S (__mspabi_srall): New library function for
1751 performing a arithmetic right shift of a 64-bit value.
1752 * config/msp430/srll.S (__mspabi_srlll): New library function for
1753 performing a logical right shift of a 64-bit value.
1754
1755 2019-06-14 Matt Thomas <matt@3am-software.com>
1756 Matthew Green <mrg@eterna.com.au>
1757 Nick Hudson <skrll@netbsd.org>
1758 Maya Rashish <coypu@sdf.org>
1759
1760 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1761 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1762 functions to build.
1763 * config/arm/t-netbsd-eabi: New file.
1764
1765 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1766
1767 * config.host: Add PRU target.
1768 * config/pru/asri.c: New file.
1769 * config/pru/eqd.c: New file.
1770 * config/pru/eqf.c: New file.
1771 * config/pru/ged.c: New file.
1772 * config/pru/gef.c: New file.
1773 * config/pru/gtd.c: New file.
1774 * config/pru/gtf.c: New file.
1775 * config/pru/led.c: New file.
1776 * config/pru/lef.c: New file.
1777 * config/pru/lib2bitcountHI.c: New file.
1778 * config/pru/lib2divHI.c: New file.
1779 * config/pru/lib2divQI.c: New file.
1780 * config/pru/lib2divSI.c: New file.
1781 * config/pru/libgcc-eabi.ver: New file.
1782 * config/pru/ltd.c: New file.
1783 * config/pru/ltf.c: New file.
1784 * config/pru/mpyll.S: New file.
1785 * config/pru/pru-abi.h: New file.
1786 * config/pru/pru-asm.h: New file.
1787 * config/pru/pru-divmod.h: New file.
1788 * config/pru/sfp-machine.h: New file.
1789 * config/pru/t-pru: New file.
1790
1791 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1792
1793 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1794
1795 2019-06-10 Martin Liska <mliska@suse.cz>
1796
1797 PR bootstrap/90808
1798 * libgcov.h: Add ATTRIBUTE_UNUSED.
1799
1800 2019-06-10 Martin Liska <mliska@suse.cz>
1801
1802 * Makefile.in: Add __gcov_one_value_profiler_v2,
1803 __gcov_one_value_profiler_v2_atomic and
1804 __gcov_indirect_call_profiler_v4.
1805 * libgcov-merge.c (__gcov_merge_single): Change
1806 function signature.
1807 (merge_single_value_set): New.
1808 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1809 Update functionality.
1810 (__gcov_one_value_profiler): Remove.
1811 (__gcov_one_value_profiler_v2): ... this.
1812 (__gcov_one_value_profiler_atomic): Rename to ...
1813 (__gcov_one_value_profiler_v2_atomic): this.
1814 (__gcov_indirect_call_profiler_v3): Rename to ...
1815 (__gcov_indirect_call_profiler_v4): ... this.
1816 * libgcov.h (__gcov_one_value_profiler): Remove.
1817 (__gcov_one_value_profiler_atomic): Remove.
1818 (__gcov_one_value_profiler_v2_atomic): New.
1819 (__gcov_indirect_call_profiler_v3): Remove.
1820 (__gcov_one_value_profiler_v2): New.
1821 (__gcov_indirect_call_profiler_v4): New.
1822 (gcov_get_counter_ignore_scaling): New function.
1823
1824 2019-06-07 Martin Liska <mliska@suse.cz>
1825
1826 * Makefile.in: Remove usage of
1827 _gcov_merge_icall_topn.
1828 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1829 (gcov_sort_icall_topn_counter): Likewise.
1830 (gcov_sort_topn_counter_arrays): Likewise.
1831 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1832 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1833 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1834 Likewise.
1835 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1836 (struct indirect_call_tuple): Remove.
1837 (__gcov_indirect_call_topn_profiler): Remove.
1838 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1839 * libgcov.h (gcov_sort_n_vals): Remove.
1840 (L_gcov_merge_icall_topn): Likewise.
1841 (__gcov_merge_icall_topn): Likewise.
1842 (__gcov_indirect_call_topn_profiler): Likewise.
1843
1844 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1845
1846 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1847 altivec enabled.
1848
1849 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1850
1851 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1852 section.
1853 (__mspabi_slli): Likewise.
1854 (__mspabi_slll_n): Likewise.
1855 (__mspabi_slll): Likewise.
1856 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1857 (__mspabi_srai): Likewise.
1858 (__mspabi_sral_n): Likewise.
1859 (__mspabi_sral): Likewise.
1860 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1861 (__mspabi_srli): Likewise.
1862 (__mspabi_srll_n): Likewise.
1863 (__mspabi_srll): Likewise.
1864
1865 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1866
1867 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1868 Add appropriate tm_file clause as well.
1869 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1870
1871 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1872
1873 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1874 rather than .data/.bss so it can be accessed via gp-relative
1875 addressing.
1876
1877 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1878
1879 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1880 (CR2_REGNO): Rename to R_CR2.
1881 (XER_REGNO): Rename to R_XER.
1882 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1883 (VRSAVE_REGNO): Rename to R_VRSAVE.
1884 (VSCR_REGNO): R_VSCR.
1885
1886 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1887
1888 * config.host (rx-*-linux*): Add new case.
1889 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1890
1891 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1892
1893 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1894 function.
1895 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1896 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1897 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1898 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1899 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1900 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1901 string.
1902 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1903 string.
1904 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1905
1906 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1907
1908 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1909 Remove Solaris 9 and 10 support.
1910 (sparc_is_sighandler): Likewise.
1911
1912 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1913
1914 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1915
1916 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1917
1918 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1919 4_FP_W_TYPEs are used for IEEE quad precision.
1920 * soft-fp/extendhftf2.c: Likewise.
1921 * soft-fp/extendsftf2.c: Likewise.
1922 * soft-fp/extendxftf2.c: Likewise.
1923 * soft-fp/trunctfdf2.c: Likewise.
1924 * soft-fp/trunctfhf2.c: Likewise.
1925 * soft-fp/trunctfsf2.c: Likewise.
1926 * soft-fp/trunctfxf2.c: Likewise.
1927 * config/rs6000/ibm-ldouble.c: Likewise.
1928
1929 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1930
1931 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1932 *-*-solaris2*.
1933 * configure.ac: Likewise.
1934 * configure: Regenerate.
1935
1936 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1937 Solaris 10 and Solaris 11 < snv_125 handling.
1938
1939 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1940
1941 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1942
1943 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1944
1945 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1946 * config/i386/cpuinfo.h (enum processor_features): Add
1947 FEATURE_AVX512BF16.
1948
1949 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1950 Bernd Edlinger <bernd.edlinger@hotmail.de>
1951 Jakub Jelinek <jakub@redhat.com>
1952
1953 PR target/89093
1954 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1955 * config/arm/unwind-arm.c: Likewise.
1956 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1957 attribute for ARM.
1958
1959 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1960
1961 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1962 (RT_SIGRETURN): Update.
1963 (nds32_fallback_frame_state): Update.
1964
1965 2019-02-21 Martin Sebor <msebor@redhat.com>
1966
1967 * libgcc2.h (__clear_cache): Correct signature.
1968 * libgcc2.c (__clear_cache): Same.
1969
1970 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1971
1972 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1973 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1974
1975 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1976
1977 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1978 regno instead of index to DWARF_ZERO_REG.
1979
1980 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1981
1982 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1983 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1984
1985 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1986
1987 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1988 to HOST_LIBGCC2_CFLAGS.
1989
1990 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1991
1992 PR libgcc/88931
1993 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1994
1995 2019-01-18 Martin Liska <mliska@suse.cz>
1996
1997 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1998 to ...
1999 (__gcov_indirect_call_profiler_v3): ... this.
2000 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2001 (__gcov_indirect_call_profiler_v3): Likewise.
2002 * Makefile.in: Bump function name.
2003
2004 2019-01-18 Martin Liska <mliska@suse.cz>
2005
2006 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2007 (gcov_version): Use in gcov_error.
2008 (merge_one_data): Likewise.
2009 (dump_one_gcov): Likewise.
2010
2011 2019-01-18 Martin Liska <mliska@suse.cz>
2012
2013 * libgcov-driver.c (gcov_version_string): New function.
2014 (gcov_version): Convert version integer into string.
2015
2016 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
2017 Kwok Cheung Yeung <kcy@codesourcery.com>
2018 Julian Brown <julian@codesourcery.com>
2019 Tom de Vries <tom@codesourcery.com>
2020
2021 * config.host: Recognize amdgcn*-*-amdhsa.
2022 * config/gcn/crt0.c: New file.
2023 * config/gcn/lib2-divmod-hi.c: New file.
2024 * config/gcn/lib2-divmod.c: New file.
2025 * config/gcn/lib2-gcn.h: New file.
2026 * config/gcn/sfp-machine.h: New file.
2027 * config/gcn/t-amdgcn: New file.
2028
2029 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2030
2031 PR other/16615
2032
2033 * config/c6x/libunwind.S: Mechanically replace "can not" with
2034 "cannot".
2035 * config/tilepro/atomic.h: Likewise.
2036 * config/vxlib-tls.c: Likewise.
2037 * generic-morestack-thread.c: Likewise.
2038 * generic-morestack.c: Likewise.
2039 * mkmap-symver.awk: Likewise.
2040
2041 2019-01-01 Jakub Jelinek <jakub@redhat.com>
2042
2043 Update copyright years.
2044
2045 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2046
2047 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2048 to ignore -Waddress-of-packed-member.
2049
2050 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2051
2052 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2053 parameter and corresponding code.
2054 (ARM_FUNC_START): Likewise in both definitions.
2055 Also update footer comment about condition that need to match with
2056 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2057 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2058 defined. Weakly define it in this case.
2059 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2060 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2061 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2062 comment to keep condition in sync with the one in
2063 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2064
2065 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
2066
2067 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2068 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2069
2070 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2071
2072 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2073 and .cfi_endproc directives for VxWorks targets.
2074
2075 2018-12-05 Paul Koning <ni1d@arrl.net>
2076
2077 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2078
2079 2018-11-27 Alan Modra <amodra@gmail.com>
2080
2081 * config/rs6000/morestack.S (__stack_split_initialize),
2082 (__morestack_get_guard, __morestack_set_guard),
2083 (__morestack_make_guard): Provide CFI covering these functions.
2084 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2085
2086 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2087
2088 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2089 (sc_pt_regs_lr): Update for kernel.
2090 (sc_pt_regs_tls): Update for kernel.
2091
2092 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2093
2094 * config/csky/linux-unwind.h: Fix coding style.
2095
2096 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2097
2098 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2099 (csky_fallback_frame_state): Modify the check of the
2100 instructions to adapt to changes in the kernel
2101
2102 2018-11-09 Stafford Horne <shorne@gmail.com>
2103 Richard Henderson <rth@twiddle.net>
2104
2105 * config.host: Add OpenRISC support.
2106 * config/or1k/*: New.
2107
2108 2018-11-08 Kito Cheng <kito@andestech.com>
2109
2110 * soft-fp/adddf3.c: Update from glibc.
2111 * soft-fp/addsf3.c: Likewise.
2112 * soft-fp/addtf3.c: Likewise.
2113 * soft-fp/divdf3.c: Likewise.
2114 * soft-fp/divsf3.c: Likewise.
2115 * soft-fp/divtf3.c: Likewise.
2116 * soft-fp/double.h: Likewise.
2117 * soft-fp/eqdf2.c: Likewise.
2118 * soft-fp/eqsf2.c: Likewise.
2119 * soft-fp/eqtf2.c: Likewise.
2120 * soft-fp/extenddftf2.c: Likewise.
2121 * soft-fp/extended.h: Likewise.
2122 * soft-fp/extendhftf2.c: Likewise.
2123 * soft-fp/extendsfdf2.c: Likewise.
2124 * soft-fp/extendsftf2.c: Likewise.
2125 * soft-fp/extendxftf2.c: Likewise.
2126 * soft-fp/fixdfdi.c: Likewise.
2127 * soft-fp/fixdfsi.c: Likewise.
2128 * soft-fp/fixdfti.c: Likewise.
2129 * soft-fp/fixhfti.c: Likewise.
2130 * soft-fp/fixsfdi.c: Likewise.
2131 * soft-fp/fixsfsi.c: Likewise.
2132 * soft-fp/fixsfti.c: Likewise.
2133 * soft-fp/fixtfdi.c: Likewise.
2134 * soft-fp/fixtfsi.c: Likewise.
2135 * soft-fp/fixtfti.c: Likewise.
2136 * soft-fp/fixunsdfdi.c: Likewise.
2137 * soft-fp/fixunsdfsi.c: Likewise.
2138 * soft-fp/fixunsdfti.c: Likewise.
2139 * soft-fp/fixunshfti.c: Likewise.
2140 * soft-fp/fixunssfdi.c: Likewise.
2141 * soft-fp/fixunssfsi.c: Likewise.
2142 * soft-fp/fixunssfti.c: Likewise.
2143 * soft-fp/fixunstfdi.c: Likewise.
2144 * soft-fp/fixunstfsi.c: Likewise.
2145 * soft-fp/fixunstfti.c: Likewise.
2146 * soft-fp/floatdidf.c: Likewise.
2147 * soft-fp/floatdisf.c: Likewise.
2148 * soft-fp/floatditf.c: Likewise.
2149 * soft-fp/floatsidf.c: Likewise.
2150 * soft-fp/floatsisf.c: Likewise.
2151 * soft-fp/floatsitf.c: Likewise.
2152 * soft-fp/floattidf.c: Likewise.
2153 * soft-fp/floattihf.c: Likewise.
2154 * soft-fp/floattisf.c: Likewise.
2155 * soft-fp/floattitf.c: Likewise.
2156 * soft-fp/floatundidf.c: Likewise.
2157 * soft-fp/floatundisf.c: Likewise.
2158 * soft-fp/floatunditf.c: Likewise.
2159 * soft-fp/floatunsidf.c: Likewise.
2160 * soft-fp/floatunsisf.c: Likewise.
2161 * soft-fp/floatunsitf.c: Likewise.
2162 * soft-fp/floatuntidf.c: Likewise.
2163 * soft-fp/floatuntihf.c: Likewise.
2164 * soft-fp/floatuntisf.c: Likewise.
2165 * soft-fp/floatuntitf.c: Likewise.
2166 * soft-fp/gedf2.c: Likewise.
2167 * soft-fp/gesf2.c: Likewise.
2168 * soft-fp/getf2.c: Likewise.
2169 * soft-fp/half.h: Likewise.
2170 * soft-fp/ledf2.c: Likewise.
2171 * soft-fp/lesf2.c: Likewise.
2172 * soft-fp/letf2.c: Likewise.
2173 * soft-fp/muldf3.c: Likewise.
2174 * soft-fp/mulsf3.c: Likewise.
2175 * soft-fp/multf3.c: Likewise.
2176 * soft-fp/negdf2.c: Likewise.
2177 * soft-fp/negsf2.c: Likewise.
2178 * soft-fp/negtf2.c: Likewise.
2179 * soft-fp/op-1.h: Likewise.
2180 * soft-fp/op-2.h: Likewise.
2181 * soft-fp/op-4.h: Likewise.
2182 * soft-fp/op-8.h: Likewise.
2183 * soft-fp/op-common.h: Likewise.
2184 * soft-fp/quad.h: Likewise.
2185 * soft-fp/single.h: Likewise.
2186 * soft-fp/soft-fp.h: Likewise.
2187 * soft-fp/subdf3.c: Likewise.
2188 * soft-fp/subsf3.c: Likewise.
2189 * soft-fp/subtf3.c: Likewise.
2190 * soft-fp/truncdfsf2.c: Likewise.
2191 * soft-fp/trunctfdf2.c: Likewise.
2192 * soft-fp/trunctfhf2.c: Likewise.
2193 * soft-fp/trunctfsf2.c: Likewise.
2194 * soft-fp/trunctfxf2.c: Likewise.
2195 * soft-fp/unorddf2.c: Likewise.
2196 * soft-fp/unordsf2.c: Likewise.
2197 * soft-fp/unordtf2.c: Likewise.
2198
2199 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2200
2201 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2202 * config/i386/cpuinfo.h (processor_types): Add znver2.
2203
2204 2018-11-01 Paul Koning <ni1d@arrl.net>
2205
2206 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2207 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2208
2209 2018-10-31 Joseph Myers <joseph@codesourcery.com>
2210
2211 PR bootstrap/82856
2212 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2213 * configure: Regenerate.
2214
2215 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2216
2217 * config/arc/lib1funcs.S (_muldi3): New function.
2218 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2219
2220 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2221
2222 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2223
2224 2018-10-25 Martin Liska <mliska@suse.cz>
2225
2226 PR other/87735
2227 * libgcov-profiler.c: Revert.
2228
2229 2018-10-24 Martin Liska <mliska@suse.cz>
2230
2231 * libgcov-profiler.c: Start from 1 in order to distinguish
2232 functions which were seen and these that were not.
2233
2234 2018-10-18 Paul Koning <ni1d@arrl.net>
2235
2236 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2237 standard.
2238 * divmod.c: Update references to __udivmodsi4.
2239 * udivmod.c: Ditto.
2240 * udivhi3.c: New file.
2241 * udivmodhi4.c: New file.
2242 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2243
2244 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2245
2246 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2247
2248 2018-10-12 Olivier Hainque <hainque@adacore.com>
2249
2250 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2251 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2252
2253 2018-10-08 Paul Koning <ni1d@arrl.net>
2254
2255 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2256
2257 2018-10-04 Martin Liska <mliska@suse.cz>
2258
2259 PR gcov-profile/84107
2260 * libgcov-profiler.c (__gcov_indirect_call):
2261 Change type to indirect_call_tuple.
2262 (struct indirect_call_tuple): New struct.
2263 (__gcov_indirect_call_topn_profiler): Change type.
2264 (__gcov_indirect_call_profiler_v2): Use the new
2265 variables.
2266 * libgcov.h (struct indirect_call_tuple): New struct
2267 definition.
2268
2269 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
2270
2271 * libgcc2.c (isnan): Use __builtin_isnan.
2272 (isfinite): Use __builtin_isfinite.
2273 (isinf): Use __builtin_isinf.
2274
2275 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
2276
2277 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2278
2279 2018-09-21 Alexandre Oliva <oliva@adacore.com>
2280
2281 * config/vxcache.c: New file. Provide __clear_cache, based on
2282 the cacheTextUpdate VxWorks service.
2283 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2284 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2285 * config/t-vxwoks7: Likewise.
2286
2287 2018-09-21 Martin Liska <mliska@suse.cz>
2288
2289 * libgcov-driver.c (crc32_unsigned): Remove.
2290 (gcov_histogram_insert): Likewise.
2291 (gcov_compute_histogram): Likewise.
2292 (compute_summary): Simplify rapidly.
2293 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2294 (merge_summary): Rapidly simplify.
2295 (dump_one_gcov): Ignore gcov_summary.
2296 (gcov_do_dump): Do not handle program summary, it's not
2297 used.
2298 * libgcov-util.c (tag_summary): Remove.
2299 (read_gcda_finalize): Fix coding style.
2300 (read_gcda_file): Initialize curr_object_summary.
2301 (compute_summary): Remove.
2302 (calculate_overlap): Remove settings of run_max.
2303
2304 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2305
2306 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2307 ucontext_t type instead.
2308 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2309
2310 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
2311
2312 * config/nds32/t-nds32-glibc: New file.
2313
2314 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2315
2316 * configure.ac (solaris_ld_v2_maps): New test.
2317 * configure: Regenerate.
2318 * Makefile.in (solaris_ld_v2_maps): New variable.
2319 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2320 if supported.
2321
2322 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
2323
2324 PR target/86951
2325 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2326 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2327 to build.
2328
2329 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2330
2331 * config/unwind-dw2-fde-darwin.c
2332 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2333 * config/darwin10-unwind-find-enc-func.c: … to here.
2334 * config/t-darwin: Build Darwin10 unwinder shim crt.
2335 * libgcc/config.host: Add the Darwin10 unwinder shim.
2336
2337 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2338
2339 * config.host: Add crtbegin.o and crtend.o for
2340 powerpc-wrs-vxworks target.
2341
2342 2018-08-17 Jojo <jijie_rong@c-sky.com>
2343 Huibin Wang <huibin_wang@c-sky.com>
2344 Sandra Loosemore <sandra@codesourcery.com>
2345 Chung-Lin Tang <cltang@codesourcery.com>
2346
2347 C-SKY port: libgcc
2348
2349 * config.host: Add C-SKY support.
2350 * config/csky/*: New.
2351
2352 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2353
2354 * config/nds32/t-nds32-isr: Rearrange object dependency.
2355 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2356 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2357 and registers usage.
2358 * config/nds32/isr-library/excp_isr.S: Ditto.
2359 * config/nds32/isr-library/intr_isr.S: Ditto.
2360 * config/nds32/isr-library/reset.S: Ditto.
2361 * config/nds32/isr-library/restore_all.inc: Ditto.
2362 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2363 * config/nds32/isr-library/restore_partial.inc: Ditto.
2364 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2365 * config/nds32/isr-library/save_all.inc: Ditto.
2366 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2367 * config/nds32/isr-library/save_partial.inc: Ditto.
2368 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2369 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2370
2371 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
2372
2373 * config/pa/linux-atomic.c: Update comment.
2374 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2375 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2376 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2377 __ATOMIC_RELAXED for atomic loads.
2378 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2379 unordered store to release lock.
2380 (__sync_lock_release_8): Likewise.
2381 (SYNC_LOCK_RELEASE_2): Remove define.
2382
2383 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
2384
2385 PR libgcc/86512
2386 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2387 exponent goes negative. Update my email address.
2388 * config/arm/ieee754-sf.S: Likewise.
2389
2390 2018-08-01 Martin Liska <mliska@suse.cz>
2391
2392 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2393 check that __gcov_indirect_call_callee is non-null.
2394
2395 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2396
2397 * config/arm/ieee754-df.S: Fix comment for code working on
2398 architectures >= 4.
2399 * config/arm/ieee754-sf.S: Likewise.
2400
2401 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2402
2403 PR libgcc/85334
2404 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2405 Removed.
2406
2407 2018-07-05 James Clarke <jrtc27@jrtc27.com>
2408
2409 * configure: Regenerated.
2410
2411 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2412
2413 * Makefile.in (install_leaf): Use enable_gcov instead of
2414 enable_libgcov.
2415
2416 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2417
2418 * configure.ac: Add --disable-gcov option.
2419 * configure: Regenerate.
2420 * Makefile.in: Honour @enable_gcov@.
2421
2422 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2423
2424 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2425 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2426 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2427 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2428 __ARM_ARCH__.
2429 * config/arm/ieee754-sf.S: Likewise.
2430 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2431
2432 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2433
2434 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2435 longer supported.
2436 * config/arm/ieee754-sf.S: Likewise.
2437
2438 2018-06-20 Than McIntosh <thanm@google.com>
2439
2440 PR libgcc/86213
2441 * generic-morestack.c (allocate_segment): Move calls to getenv and
2442 getpagesize to __morestack_load_mmap.
2443 (__morestack_load_mmap) Initialize static_pagesize and
2444 use_guard_page here so as to avoid clobbering SSE regs during a
2445 __morestack call.
2446
2447 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
2448
2449 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2450 support modules with -mno-gnu-attribute.
2451 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2452
2453 2018-06-07 Olivier Hainque <hainque@adacore.com>
2454
2455 * config/t-vxworks (LIBGCC_INCLUDES): Add
2456 -I$(MULTIBUILDTOP)../../gcc/include.
2457 * config/t-vxworks7: Likewise. Reformat a bit to match
2458 the t-vxworks layout.
2459
2460 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2461
2462 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2463
2464 2018-06-07 Martin Liska <mliska@suse.cz>
2465
2466 * libgcov-driver.c: Rename cs_all to all and assign it from
2467 all_prg.
2468
2469 2018-06-07 Martin Liska <mliska@suse.cz>
2470
2471 PR bootstrap/86057
2472 * libgcov-driver-system.c (replace_filename_variables): Use
2473 memcpy instead of mempcpy.
2474 (allocate_filename_struct): Do not allocate filename, allocate
2475 prefix and set it.
2476 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2477 here and properly copy content into it.
2478 * libgcov-driver.c (struct gcov_filename): Remove max_length
2479 field, change prefix from size_t into char *.
2480 (compute_summary): Do not calculate longest filename.
2481 (gcov_do_dump): Release memory of gf.filename after each file.
2482 * libgcov-util.c (compute_summary): Use new signature of
2483 compute_summary.
2484 (calculate_overlap): Likewise.
2485
2486 2018-06-05 Martin Liska <mliska@suse.cz>
2487
2488 PR gcov-profile/47618
2489 * libgcov-driver-system.c (replace_filename_variables): New
2490 function.
2491 (gcov_exit_open_gcda_file): Use it.
2492
2493 2018-06-05 Martin Liska <mliska@suse.cz>
2494
2495 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2496 of gcov_ctr_summary.
2497 (compute_summary): Do it just for a single summary.
2498 (merge_one_data): Likewise.
2499 (merge_summary): Simplify as we read just single summary.
2500 (dump_one_gcov): Pass proper argument.
2501 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2502 single summary.
2503 (gcov_info_count_all_cold): Likewise.
2504 (calculate_overlap): Likewise.
2505
2506 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2507 Monk Chiang <sh.chiang04@gmail.com>
2508
2509 * config.host (nds32*-linux*): New.
2510 * config/nds32/linux-atomic.c: New file.
2511 * config/nds32/linux-unwind.h: New file.
2512
2513 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2514
2515 PR target/85591
2516 * config/i386/cpuinfo.c (get_amd_cpu): Return
2517 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2518
2519 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2520
2521 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2522
2523 2018-05-29 Martin Liska <mliska@suse.cz>
2524
2525 PR gcov-profile/85759
2526 * libgcov-driver-system.c (gcov_error): Introduce usage of
2527 GCOV_EXIT_AT_ERROR env. variable.
2528 * libgcov-driver.c (merge_one_data): Print error that we
2529 overwrite a gcov file with a different timestamp.
2530
2531 2018-05-23 Kalamatee <kalamatee@gmail.com>
2532
2533 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2534 path to Lf$finfty.
2535
2536 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2537 Monk Chiang <sh.chiang04@gmail.com>
2538 Jim Wilson <jimw@sifive.com>
2539
2540 * config/riscv/save-restore.S: Add support for rv32e.
2541
2542 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2543
2544 * config/arm/libunwind.S: Update comment relating to armv5.
2545
2546 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2547
2548 * config/arm/cmse.c (cmse_check_address_range): Replace
2549 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2550
2551 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2552
2553 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2554 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2555
2556 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2557
2558 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2559 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2560
2561 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2562
2563 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2564
2565 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2566 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2567
2568 PR libgcc/84292
2569 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2570 op_and_fetch to return the right result.
2571
2572 2018-04-27 Alan Modra <amodra@gmail.com>
2573
2574 PR libgcc/85532
2575 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2576 -fno-asynchronous-unwind-tables.
2577
2578 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2579
2580 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2581 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2582
2583 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2586 when including "config/i386/shadow-stack-unwind.h".
2587
2588 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2589
2590 * configure: Regenerated.
2591
2592 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2593
2594 PR target/85456
2595 * config/rs6000/_powikf2.c: New file. Add support for the
2596 __builtin_powil function when long double is IEEE 128-bit floating
2597 point.
2598 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2599 __powikf2 support.
2600 (__powikf2): Likewise.
2601 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2602 (__powikf2_hw): Likewise.
2603 (__powikf2): Likewise.
2604 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2605 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2606 (_powikf2-hw.c): Likewise.
2607
2608 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2609
2610 PR libgcc/85334
2611 * unwind-generic.h (_Unwind_Frames_Increment): New.
2612 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2613 Likewise.
2614 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2615 count with _Unwind_Frames_Increment.
2616 (_Unwind_ForcedUnwind_Phase2): Likewise.
2617
2618 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2619
2620 PR libgcc/85379
2621 * config/i386/morestack.S (__stack_split_initialize): Add
2622 _CET_ENDBR.
2623
2624 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2625
2626 * configure: Regenerated.
2627
2628 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2629
2630 PR jit/85384
2631 * configure: Regenerate.
2632
2633 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2634
2635 PR target/84945
2636 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2637 -Wdangling-else warnings. Mask shift counts to avoid
2638 -Wshift-count-negative and -Wshift-count-overflow false positives.
2639
2640 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2641
2642 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2643
2644 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2645
2646 PR target/85100
2647 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2648 (XSTATE_FP): Likewise.
2649 (XSTATE_SSE): Likewise.
2650 (XSTATE_YMM): Likewise.
2651 (XSTATE_OPMASK): Likewise.
2652 (XSTATE_ZMM): Likewise.
2653 (XSTATE_HI_ZMM): Likewise.
2654 (XCR_AVX_ENABLED_MASK): Likewise.
2655 (XCR_AVX512F_ENABLED_MASK): Likewise.
2656 (get_available_features): Enable AVX and AVX512 features only
2657 if their states are supported by OSXSAVE.
2658
2659 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2660
2661 PR target/85025
2662 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2663 Fix a typo, tmp => 255.
2664
2665 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2666
2667 PR target/84945
2668 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2669 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2670 ifndef SHARED only.
2671 (set_feature): Define.
2672 (get_available_features): Use set_feature macro. Set __cpu_features2
2673 to the second word of features ifndef SHARED.
2674
2675 2018-03-15 Julia Koval <julia.koval@intel.com>
2676
2677 * config/i386/cpuinfo.c (get_available_features): Add
2678 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2679 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2680 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2681 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2682 FEATURE_AVX512BITALG.
2683
2684 2018-03-14 Julia Koval <julia.koval@intel.com>
2685
2686 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2687 icelake client and icelake server.
2688
2689 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2690
2691 * config/pa/fptr.c (_dl_read_access_allowed): New.
2692 (__canonicalize_funcptr_for_compare): Use it.
2693
2694 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2695
2696 PR debug/83917
2697 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2698 $asm_hidden_op if visibility ("hidden") attribute works.
2699 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2700 * config/i386/i386-asm.h: Don't include auto-host.h.
2701 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2702 PACKAGE_URL): Don't undefine.
2703 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2704 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2705 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2706 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2707 definition instead of hardcoded .hidden.
2708 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2709 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2710 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2711 (USE_GAS_CFI_DIRECTIVES): Don't define.
2712 * configure: Regenerated.
2713 * config.in: Likewise.
2714
2715 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2716
2717 PR debug/83917
2718 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2719 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2720 inclusion of auto-target.h and auto-host.h.
2721 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2722 __GCC_HAVE_DWARF2_CFI_ASM.
2723 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2724 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2725 cfi_pop): Define.
2726 * config/i386/cygwin.S: Don't include auto-host.h here, just
2727 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2728 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2729 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2730 * config/i386/resms64fx.h: Add cfi_* directives.
2731 * config/i386/resms64x.h: Likewise.
2732
2733 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2734
2735 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2736 .literal_position directive.
2737 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2738
2739 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2740
2741 PR target/84148
2742 * configure: Regenerate.
2743
2744 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2745
2746 PR target/84239
2747 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2748 Include cetintrin.h not x86intrin.h.
2749
2750 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2751
2752 PR target/84239
2753 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2754 Use new _get_ssp and _inc_ssp intrinsics.
2755
2756 2018-02-02 Julia Koval <julia.koval@intel.com>
2757
2758 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2759
2760 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2761
2762 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2763 option.
2764 (__divsi3): Use RF16 safe registers.
2765 (__modsi3): Likewise.
2766
2767 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2768
2769 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2770 (__divsf3): Make NaN return value quiet.
2771 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2772 (__divdf3): Make NaN return value quiet.
2773
2774 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2775
2776 * config/rl78/anddi3.S: New assembly file.
2777 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2778
2779 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2780
2781 * config/rl78/umindi3.S: New assembly file.
2782 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2783
2784 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2785
2786 * config/rl78/smindi3.S: New assembly file.
2787 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2788
2789 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2790
2791 * config/rl78/smaxdi3.S: New assembly file.
2792 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2793
2794 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2795
2796 * config/rl78/umaxdi3.S: New assembly file.
2797 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2798
2799 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2800
2801 PR lto/83452
2802 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2803 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2804
2805 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2806
2807 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2808 (DWARF_LAZY_REGISTER_VALUE): Define.
2809 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2810 to provide a fallback register value.
2811
2812 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2813
2814 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2815 __ibm128, instead of trying to use long double.
2816 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2817 accomidate -mabi=ieeelongdouble multilibs.
2818 (CVT_IBM128_TO_FLOAT128): Likewise.
2819 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2820 the appropriate IBM extended double type.
2821 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2822 (__gcc_qsub): Likewise.
2823 (__gcc_qmul): Likewise.
2824 (__gcc_qdiv): Likewise.
2825 (pack_ldouble): Likewise.
2826 (__gcc_qneg): Likewise.
2827 (__gcc_qeq): Likewise.
2828 (__gcc_qne): Likewise.
2829 (__gcc_qge): Likewise.
2830 (__gcc_qle): Likewise.
2831 (__gcc_stoq): Likewise.
2832 (__gcc_dtoq): Likewise.
2833 (__gcc_itoq): Likewise.
2834 (__gcc_utoq): Likewise.
2835 (__gcc_qunord): Likewise.
2836 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2837 quad-float128.h for the definitions.
2838 (COPYSIGN): Use the f128 version instead of the q version.
2839 (INFINITY): Likewise.
2840 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2841 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2842 quad-float128.h for the definitions.
2843 (COPYSIGN): Use the f128 version instead of the q version.
2844 (INFINITY): Likewise.
2845 (FABS): Likewise.
2846 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2847 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2848 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2849
2850 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2851
2852 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2853 configuration.
2854
2855 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2856
2857 Update copyright years.
2858
2859 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2860
2861 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2862 * config/riscv/multi3.c: New file.
2863 * config/riscv/multi3.S: Remove.
2864
2865 2017-12-08 Jim Wilson <jimw@sifive.com>
2866
2867 * config/riscv/div.S: Use FUNC_* macros.
2868 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2869 * config/riscv/save-restore.S: Likewise.
2870 * config/riscv/riscv-asm.h: New.
2871
2872 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2873
2874 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2875 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2876
2877 PR libgcc/83112
2878 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2879 correct type for all ifunc resolvers to silence -Wattribute-alias
2880 warnings. Eliminate the forward declaration of the resolver
2881 functions which is no longer needed.
2882 (__subkf3_resolve): Likewise.
2883 (__mulkf3_resolve): Likewise.
2884 (__divkf3_resolve): Likewise.
2885 (__negkf2_resolve): Likewise.
2886 (__eqkf2_resolve): Likewise.
2887 (__nekf2_resolve): Likewise.
2888 (__gekf2_resolve): Likewise.
2889 (__gtkf2_resolve): Likewise.
2890 (__lekf2_resolve): Likewise.
2891 (__ltkf2_resolve): Likewise.
2892 (__unordkf2_resolve): Likewise.
2893 (__extendsfkf2_resolve): Likewise.
2894 (__extenddfkf2_resolve): Likewise.
2895 (__trunckfsf2_resolve): Likewise.
2896 (__trunckfdf2_resolve): Likewise.
2897 (__fixkfsi_resolve): Likewise.
2898 (__fixkfdi_resolve): Likewise.
2899 (__fixunskfsi_resolve): Likewise.
2900 (__fixunskfdi_resolve): Likewise.
2901 (__floatsikf_resolve): Likewise.
2902 (__floatdikf_resolve): Likewise.
2903 (__floatunsikf_resolve): Likewise.
2904 (__floatundikf_resolve): Likewise.
2905 (__extendkftf2_resolve): Likewise.
2906 (__trunctfkf2_resolve): Likewise.
2907
2908 PR libgcc/83103
2909 * config/rs6000/quad-float128.h (TF): Don't define if long double
2910 is IEEE 128-bit floating point.
2911 (TCtype): Define as either TCmode or KCmode, depending on whether
2912 long double is IEEE 128-bit floating point.
2913 (__mulkc3_sw): Add declarations for software/hardware versions of
2914 complex multiply/divide.
2915 (__divkc3_sw): Likewise.
2916 (__mulkc3_hw): Likewise.
2917 (__divkc3_hw): Likewise.
2918 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2919 handlers to switch between using software emulation and hardware
2920 float128 instructions, build the complex multiply/divide functions
2921 for both software and hardware support.
2922 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2923 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2924 (__divkc3_resolve): Likewise.
2925 (__mulkc3): Likewise.
2926 (__divkc3): Likewise.
2927 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2928 (fp128_hw_src): Likewise.
2929 (fp128_hw_static_obj): Likewise.
2930 (fp128_hw_shared_obj): Likewise.
2931 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2932 _mulkc3.c and _divkc3.c, changing the function name.
2933 (_divkc3-hw.c): Likewise.
2934 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2935 and _divkc3-hw.c.
2936
2937 2017-11-26 Julia Koval <julia.koval@intel.com>
2938
2939 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2940 * config/i386/cpuinfo.h (processor_subtypes): Add
2941 INTEL_COREI7_CANNONLAKE.
2942
2943 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2944
2945 PR bootstrap/83015
2946 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2947 parameter.
2948 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2949 * config/ia64/unwind-ia64.c: Add frames parameter.
2950 * unwind-sjlj.c: Likewise.
2951
2952 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2953
2954 * config/i386/linux-unwind.h: Include
2955 config/i386/shadow-stack-unwind.h.
2956 * config/i386/shadow-stack-unwind.h: New file.
2957 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2958 pass it to _Unwind_Frames_Extra.
2959 * unwind-generic.h (_Unwind_Frames_Extra): New.
2960 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2961 parameter. Add local variable frames to count number of frames.
2962 (_Unwind_ForcedUnwind_Phase2): Likewise.
2963 (_Unwind_RaiseException): Add local variable frames to count
2964 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2965 uw_install_context.
2966 (_Unwind_ForcedUnwind): Likewise.
2967 (_Unwind_Resume): Likewise.
2968 (_Unwind_Resume_or_Rethrow): Likewise.
2969
2970 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2971
2972 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2973 (CET_FLAGS): New.
2974 * config/i386/morestack.S: Include <cet.h>.
2975 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2976 * config/i386/resms64.h: Include <cet.h>.
2977 * config/i386/resms64f.h: Likewise.
2978 * config/i386/resms64fx.h: Likewise.
2979 * config/i386/resms64x.h: Likewise.
2980 * config/i386/savms64.h: Likewise.
2981 * config/i386/savms64f.h: Likewise.
2982 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2983 (CRTSTUFF_T_CFLAGS): Likewise.
2984 * configure.ac: Include ../config/cet.m4.
2985 Set and substitute CET_FLAGS.
2986 * configure: Regenerated.
2987
2988 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2989
2990 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2991 renaming.
2992 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2993 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2994 * configure: Regenerate.
2995
2996 2017-11-07 Tom de Vries <tom@codesourcery.com>
2997
2998 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2999 after "do {} while (0)".
3000
3001 2017-11-07 Tom de Vries <tom@codesourcery.com>
3002
3003 PR other/82784
3004 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3005 semicolon after "do {} while (0)".
3006 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3007 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3008 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3009 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3010
3011 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3012
3013 PR libgcc/82635
3014 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3015 sysctl to determine whether we're in a trampoline.
3016 Keep the pattern matching method for systems without
3017 KERN_PROC_SIGTRAMP sysctl.
3018
3019 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3020 Vineet Gupta <vgupta@synopsys.com>
3021
3022 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3023 * config/arc/linux-unwind-reg.def: New file.
3024 * config/arc/linux-unwind-reg.h: Likewise.
3025
3026 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3027
3028 * config/rl78/subdi3.S: New assembly file.
3029 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3030
3031 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3032
3033 * config/rl78/adddi3.S: New assembly file.
3034 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3035
3036 2017-10-13 Jakub Jelinek <jakub@redhat.com>
3037
3038 PR target/82274
3039 * libgcc2.c (__mulvDI3): If both operands have
3040 the same highpart of -1 and the topmost bit of lowpart is 0,
3041 multiplication overflows even if both lowparts are 0.
3042
3043 2017-09-28 James Bowman <james.bowman@ftdichip.com>
3044
3045 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3046
3047 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3048
3049 * config/microblaze/crti.S, config/microblaze/crtn.S,
3050 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3051 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3052 config/microblaze/mulsi3.S,
3053 config/microblaze/stack_overflow_exit.S,
3054 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3055 config/pa/milli64.S: Add .note.GNU-stack section.
3056
3057 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
3058
3059 * configure.ac: Add Check for HAVE_AS_AVX.
3060 * config.in: Regenerate.
3061 * configure: Likewise.
3062 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3063 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3064 Correct out-of-date comments.
3065
3066 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3067
3068 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3069 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3070
3071 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
3072
3073 * config/i386/i386-asm.h (PASTE2): New macro.
3074 (ASMNAME): Modify to use PASTE2.
3075 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3076 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3077 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3078 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3079 * config/i386/resms64f.S: Likewise.
3080 * config/i386/resms64fx.S: Likewise.
3081 * config/i386/resms64x.S: Likewise.
3082 * config/i386/savms64.S: Likewise.
3083 * config/i386/savms64f.S: Likewise.
3084 * config/i386/avx_resms64.S: New file that only defines a macro and
3085 includes it's corresponding header file.
3086 * config/i386/avx_resms64f.S: Likewise.
3087 * config/i386/avx_resms64fx.S: Likewise.
3088 * config/i386/avx_resms64x.S: Likewise.
3089 * config/i386/avx_savms64.S: Likewise.
3090 * config/i386/avx_savms64f.S: Likewise.
3091 * config/i386/sse_resms64.S: Likewise.
3092 * config/i386/sse_resms64f.S: Likewise.
3093 * config/i386/sse_resms64fx.S: Likewise.
3094 * config/i386/sse_resms64x.S: Likewise.
3095 * config/i386/sse_savms64.S: Likewise.
3096 * config/i386/sse_savms64f.S: Likewise.
3097 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3098
3099 2017-09-01 Olivier Hainque <hainque@adacore.com>
3100 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3101
3102 2017-08-31 Olivier Hainque <hainque@adacore.com>
3103
3104 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3105 match as powerpc-wrs-vxworks*.
3106
3107 2017-08-07 Jonathan Yong <10walls@gmail.com>
3108
3109 * config.host (*-cygwin): Include file from mingw
3110 config/i386/enable-execute-stack-mingw32.c
3111
3112 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
3113 Doug Rupp <rupp@adacore.com>
3114 Olivier Hainque <hainque@adacore.com>
3115
3116 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3117 as well as arm-wrs-vxworks.
3118 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3119 LIB2ADDEH.
3120 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3121 __exidx_start and __exidx_end for downloadable modules.
3122
3123 2017-08-01 Olivier Hainque <hainque@adacore.com>
3124
3125 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3126 * config/t-vxworks7: Likewise.
3127
3128 2017-08-01 Olivier Hainque <hainque@adacore.com>
3129
3130 * config/t-vxworks: Instead of redefining LIB2ADD,
3131 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3132
3133 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3134
3135 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3136
3137 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
3138
3139 PR testsuite/80759
3140 * config.host: include i386/t-msabi for darwin and solaris.
3141 * config/i386/i386-asm.h
3142 (ELFFN): Rename to FN_TYPE.
3143 (FN_SIZE): New macro.
3144 (FN_HIDDEN): Likewise.
3145 (ASMNAME): Likewise.
3146 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3147 .globl.
3148 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3149 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3150 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3151 .macro.
3152 * config/i386/resms64f.S: Likewise.
3153 * config/i386/resms64fx.S: Likewise.
3154 * config/i386/resms64x.S: Likewise.
3155 * config/i386/savms64.S: Likewise.
3156 * config/i386/savms64f.S: Likewise.
3157
3158 2017-07-19 John Marino <gnugcc@marino.st>
3159
3160 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3161
3162 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3163
3164 PR target/81193
3165 * configure.ac (PowerPC float128 hardware support): Test whether
3166 we can use __builtin_cpu_supports before enabling the ifunc
3167 handler.
3168 * configure: Regenerate.
3169
3170 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
3171
3172 * config.host: Remove uclibc from arc target spec.
3173
3174 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3175
3176 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3177
3178 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3179
3180 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3181 (have_ieee_hw_p): Delete function.
3182 (SW_OR_HW) Use __builtin_cpu_supports().
3183
3184 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3185
3186 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3187
3188 2017-07-03 Olivier Hainque <hainque@adacore.com>
3189
3190 * config/t-vxworks7: New file, really.
3191
3192 2017-06-28 Joseph Myers <joseph@codesourcery.com>
3193
3194 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3195 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3196 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3197 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3198 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3199 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3200 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3201 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3202 config/sh/linux-unwind.h (sh_fallback_frame_state),
3203 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3204 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3205 ucontext_t instead of struct ucontext.
3206
3207 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
3208
3209 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3210 (x86_64-wrs-vxworks7): Likewise.
3211
3212 2017-06-27 Olivier Hainque <hainque@adacore.com>
3213
3214 * config/t-vxworks7: New file.
3215 * config.host (*-*-vxworks7): Use it.
3216
3217 2017-06-22 Matt Turner <mattst88@gmail.com>
3218
3219 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3220 skylake case.
3221
3222 2017-06-21 Richard Biener <rguenther@suse.de>
3223
3224 PR gcov-profile/81080
3225 * configure.ac: Add AC_SYS_LARGEFILE.
3226 * libgcov.h: Include auto-target.h before tsystem.h to pick
3227 up _FILE_OFFSET_BITS which might differ for multilibs.
3228 * config.in: Regenerate.
3229 * configure: Likewise.
3230
3231 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
3232
3233 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3234
3235 2017-06-09 Martin Liska <mliska@suse.cz>
3236
3237 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3238 Reset __gcov_indirect_call_callee to NULL.
3239
3240 2017-06-08 Olivier Hainque <hainque@adacore.com>
3241
3242 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3243 the set of -I options, support for direct inclusions of net/uio.h
3244 by VxWorks header files via ioLib.h.
3245
3246 2017-06-07 Tony Reix <tony.reix@atos.net>
3247 Matthieu Sarter <matthieu.sarter.external@atos.net>
3248 David Edelsohn <dje.gcc@gmail.com>
3249
3250 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3251 unconditionally.
3252 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3253 AIX 7.2 support.
3254
3255 2017-06-02 Olivier Hainque <hainque@adacore.com>
3256
3257 * config/vxlib.c (__gthread_once): Add missing value to
3258 return statement.
3259
3260 2017-05-30 Olivier Hainque <hainque@adacore.com>
3261
3262 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3263 dollar sign before $(MULTIDIR).
3264
3265 2017-05-26 Richard Henderson <rth@redhat.com>
3266
3267 PR libgcc/80037
3268 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3269
3270 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3271
3272 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3273 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3274 * config/arm/unwind-arm.c: Implement the above.
3275
3276 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3277
3278 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3279 section for a non-executable stack.
3280
3281 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3282
3283 PR target/80600
3284 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3285
3286 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
3287
3288 * config.host: Add i386/t-msabi to i386/t-linux file list.
3289 * config/i386/i386-asm.h: New file.
3290 * config/i386/resms64.S: New file.
3291 * config/i386/resms64f.S: New file.
3292 * config/i386/resms64fx.S: New file.
3293 * config/i386/resms64x.S: New file.
3294 * config/i386/savms64.S: New file.
3295 * config/i386/savms64f.S: New file.
3296 * config/i386/t-msabi: New file.
3297
3298 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3299
3300 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3301 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3302
3303 2017-05-05 Joshua Conner <joshconner@google.com>
3304
3305 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3306 pc-relative indirect handling for fuchsia.
3307 * config/t-slibgcc-fuchsia: New file.
3308 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3309 x86_64-*-fuchsia*): Add definitions.
3310
3311 2017-04-19 Martin Liska <mliska@suse.cz>
3312
3313 PR gcov-profile/80435
3314 * Makefile.in: Install gcov.h.
3315 * gcov.h: New file.
3316 * libgcov.h: Use the header and make __gcov_flush publicly
3317 visible.
3318
3319 2017-04-18 Martin Liska <mliska@suse.cz>
3320
3321 PR gcov-profile/78783
3322 * libgcov-driver.c (gcov_get_filename): New function.
3323
3324 2017-04-07 Jeff Law <law@redhat.com>
3325
3326 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3327 target makefile fragment.
3328 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3329
3330 2017-04-07 Alan Modra <amodra@gmail.com>
3331
3332 PR target/45053
3333 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3334
3335 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
3336
3337 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3338
3339 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3340
3341 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3342
3343 2017-03-10 John Marino <gnugcc@marino.st>
3344
3345 * config/aarch64/freebsd-unwind.h: New file.
3346 * config.host: Add aarch64-*-freebsd unwinder.
3347
3348 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3349
3350 * config/rs6000/crtrestvr.s: Use .machine altivec.
3351 * config/rs6000/crtsavevr.s: Ditto.
3352
3353 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3354
3355 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3356 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3357 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3358 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3359 * configure: Regenerate.
3360 * config.in: Regenerate.
3361
3362 2017-03-02 Jonathan Yong <10walls@gmail.com>
3363
3364 * config/i386/gthr-win32.h: Define NOGDI before
3365 windows.h include to prevent w32api CC_NONE macro
3366 clash with libgfortran.
3367
3368 2017-03-02 Jonathan Yong <10walls@gmail.com>
3369
3370 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3371
3372 2017-02-16 Andrew Pinski <apinski@cavium.com>
3373
3374 * config/aarch64/value-unwind.h: New file.
3375 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3376 to tm_file.
3377
3378 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3379
3380 * config.host: Add RISC-V tuples.
3381 * config/riscv/atomic.c: New file.
3382 * config/riscv/crti.S: Likewise.
3383 * config/riscv/crtn.S: Likewise.
3384 * config/riscv/div.S: Likewise.
3385 * config/riscv/linux-unwind.h: Likewise.
3386 * config/riscv/muldi3.S: Likewise.
3387 * config/riscv/multi3.S: Likewise.
3388 * config/riscv/save-restore.S: Likewise.
3389 * config/riscv/sfp-machine.h: Likewise.
3390 * config/riscv/t-elf: Likewise.
3391 * config/riscv/t-elf32: Likewise.
3392 * config/riscv/t-elf64: Likewise.
3393 * config/riscv/t-softfp32: Likewise.
3394 * config/riscv/t-softfp64: Likewise.
3395
3396 2017-01-24 Jakub Jelinek <jakub@redhat.com>
3397
3398 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3399 /* FALLTHRU */ comments.
3400
3401 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3402
3403 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3404
3405 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3406
3407 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3408 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3409 DW_CFA_GNU_window_save for AArch64 and LP64.
3410
3411 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3412
3413 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3414
3415 2017-01-19 Jiong Wang <jiong.wang@arm.com>
3416
3417 * config/aarch64/aarch64-unwind.h: New file.
3418 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3419 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3420 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3421 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3422 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3423 (aarch64_post_extract_frame_addr): New function.
3424 (aarch64_post_frob_eh_handler_addr): New function.
3425 (aarch64_frob_update_context): New function.
3426 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3427 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3428 aarch64*-*-freebsd*):
3429 Initialize md_unwind_header to include aarch64-unwind.h.
3430 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3431 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3432 __aarch64__.
3433 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3434 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3435 (uw_frob_return_addr): New function.
3436 (uw_install_context): Use uw_frob_return_addr.
3437
3438 2017-01-17 Jakub Jelinek <jakub@redhat.com>
3439
3440 PR other/79046
3441 * configure.ac: Add GCC_BASE_VER.
3442 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3443 version from BASE-VER file.
3444 * configure: Regenerated.
3445
3446 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
3447
3448 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3449 libmul_f5.a): Filter archived prerequisites.
3450
3451 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3452
3453 * config/i386/cpuinfo.h (processor_features): Add
3454 FEATURE_AVX512VPOPCNTDQ.
3455 * config/i386/cpuinfo.c (get_available_features): Habdle new
3456 feature.
3457
3458 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3459
3460 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3461 payload if [__mips_nan2008].
3462
3463 2017-01-04 Alan Modra <amodra@gmail.com>
3464
3465 * Makefile.in (configure_deps): Update.
3466 * configure: Regenerate.
3467
3468 2017-01-01 Jakub Jelinek <jakub@redhat.com>
3469
3470 Update copyright years.
3471
3472 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3473
3474 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3475 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3476 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3477
3478 2016-12-17 Matthias Klose <doko@ubuntu.com>
3479
3480 * config/arc/gmon: Remove empty directory.
3481
3482 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3483
3484 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3485 crtgend.
3486 (arc*-*-elf*): Likewise.
3487 * config/arc/t-arc: Remove old gmon lib targets.
3488 * config/arc/crtg.S: Remove.
3489 * config/arc/crtgend.S: Likewise.
3490 * config/arc/gmon/atomic.h: Likewise.
3491 * config/arc/gmon/auxreg.h: Likewise.
3492 * config/arc/gmon/dcache_linesz.S: Likewise.
3493 * config/arc/gmon/gmon.c: Likewise.
3494 * config/arc/gmon/machine-gmon.h: Likewise.
3495 * config/arc/gmon/mcount.c: Likewise.
3496 * config/arc/gmon/prof-freq-stub.S: Likewise.
3497 * config/arc/gmon/prof-freq.c: Likewise.
3498 * config/arc/gmon/profil.S: Likewise.
3499 * config/arc/gmon/sys/gmon.h: Likewise.
3500 * config/arc/gmon/sys/gmon_out.h: Likewise.
3501 * config/arc/t-arc-newlib: Likewise.
3502 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3503
3504 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3505
3506 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3507
3508 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3509
3510 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3511 R16 instead of push + pop.
3512 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3513
3514 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3515
3516 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3517 tmake_file.
3518
3519 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3520
3521 * config.host (arc*-*-linux-uclibc*): Use default extra
3522 objects. Include linux-android header.
3523 * config/arc/crti.S (_init): Declare symbol as function.
3524 (_fini): Likewise.
3525
3526 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3527
3528 PR fortran/78379
3529 * config/i386/cpuinfo.c: Move denums for processor vendors,
3530 processor type, processor subtypes and declaration of
3531 struct __processor_model into
3532 * config/i386/cpuinfo.h: New header file.
3533
3534 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3535 Thomas Preud'homme <thomas.preudhomme@arm.com>
3536
3537 * config/arm/cmse_nonsecure_call.S: New.
3538 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3539
3540 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3541 Thomas Preud'homme <thomas.preudhomme@arm.com>
3542
3543 * config/arm/t-arm (HAVE_CMSE): New.
3544 * config/arm/cmse.c: New.
3545
3546 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3547
3548 PR gcc/74748
3549 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3550 use generic linker version information on Blackfin.
3551
3552 PR gcc/74748
3553 * libgcc/mkmap-symver.awk: add support for skip_underscore
3554
3555 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3556 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3557
3558 PR target/67710
3559 * config/t-darwin: Default builds to 10.5 codegen.
3560
3561 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3562
3563 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3564 (_FP_NANSIGN_H): Likewise.
3565 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3566 (softfp_truncations): Add tfhf.
3567 (softfp_extras): Add required conversion functions.
3568
3569 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3570 Matthew Wahab <matthew.wahab@arm.com>
3571
3572 * config/arm/fp16.c (binary64): New.
3573 (__gnu_d2h_internal): New.
3574 (__gnu_d2h_ieee): New.
3575 (__gnu_d2h_alternative): New.
3576
3577 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3578 Matthew Wahab <matthew.wahab@arm.com>
3579
3580 * config/arm/fp16.c (struct format): New.
3581 (binary32): New.
3582 (__gnu_float2h_internal): New. Body moved from
3583 __gnu_f2h_internal and generalize.
3584 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3585 Call it with binary32.
3586
3587 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3588
3589 * soft-fp/extendhftf2.c: Update from glibc.
3590 * soft-fp/fixhfti.c: Likewise.
3591 * soft-fp/fixunshfti.c: Likewise.
3592 * soft-fp/floattihf.c: Likewise.
3593 * soft-fp/floatuntihf.c: Likewise.
3594 * soft-fp/half.h: Likewise.
3595 * soft-fp/trunctfhf2.c: Likewise.
3596
3597 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3598
3599 PR libgcc/77813
3600 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3601 __TMC_END__ behind a passthrough asm.
3602
3603 2016-11-18 Walter Lee <walt@tilera.com>
3604
3605 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3606
3607 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3608
3609 * config/i386/cpuinfo.c (processor_features): Add
3610 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3611
3612 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3613
3614 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3615 (__ARC_NORM__): Use instead ARC_OPTFPE.
3616 * config/arc/fp-hack.h: Likewise.
3617 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3618 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3619
3620 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3621
3622 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3623 * config/nvptx/mgomp.c: New file.
3624 * config/nvptx/t-nvptx: Add mgomp.c
3625
3626 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3627
3628 PR libgcc/68468
3629 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3630
3631 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3632
3633 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3634 of checking for cpus.
3635 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3636 (__modsi3, __clzsi2): Likewise.
3637
3638 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3639
3640 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3641 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3642 * config/i386/t-cpuinfo-static: New.
3643
3644 2016-11-03 Martin Liska <mliska@suse.cz>
3645
3646 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3647 (__gcov_time_profiler_atomic): Likewise.
3648
3649 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3650
3651 PR libgcc/78067
3652 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3653 count_leading_zeros.
3654
3655 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3656
3657 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3658 * libgcc2.c (__divmoddi4): New function.
3659 * libgcc2.h (__divmoddi4): Declare.
3660 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3661 and __PFX_divmodti4.
3662
3663 2016-10-24 Florian Weimer <fweimer@redhat.com>
3664
3665 PR libgcc/78064
3666 * unwind-c.c: Include auto-target.h.
3667
3668 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3669
3670 * config/pa/pa64-hpux-lib.h: New file.
3671 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3672 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3673 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3674 hppa*64*-*-hpux11*.
3675
3676 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3677
3678 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3679 definition.
3680 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3681 definition.
3682 * config/xtensa/t-windowed (LIB2ADDEH): Use
3683 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3684 or xtensa/t-linux.
3685
3686 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3687
3688 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3689 __ieee754_sqrt): New functions.
3690 (__divdf3): Add implementation with new FPU instructions under
3691 #if XCHAL_HAVE_DFP_DIV.
3692 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3693 __ieee754_sqrtf): New functions.
3694 (__divsf3): Add implementation with new FPU instructions under
3695 #if XCHAL_HAVE_FP_DIV.
3696 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3697 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3698
3699 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3700
3701 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3702 equivalent.
3703 * config/tilepro/atomic.c: Likewise and stop casting model to
3704 enum memmodel.
3705
3706 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3707
3708 PR target/77586
3709 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3710 soft-fp.
3711
3712 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3713
3714 * config.host: Add support for aarch64-*-freebsd*.
3715
3716 2016-10-05 Andreas Schwab <schwab@suse.de>
3717
3718 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3719 (.section .init_array): Don't call __do_jv_register_classes.
3720 (.section .init): Likewise.
3721
3722 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3723
3724 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3725 (__JCR_LIST__): Remove.
3726 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3727 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3728 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3729 * config/ia64/crtend.S (__JCR_END__): Remove.
3730 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3731 conditionals.
3732 (__JCR_LIST__, __JCR_END__): Remove.
3733 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3734 (__do_global_ctors_1): Likewise.
3735
3736 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3737
3738 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3739 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3740
3741 2016-09-27 Martin Liska <mliska@suse.cz>
3742
3743 PR gcov-profile/7970
3744 PR gcov-profile/16855
3745 PR gcov-profile/44779
3746 * libgcov-driver.c (__gcov_init): Do not register a atexit
3747 handler.
3748 (__gcov_exit): Rename from gcov_exit.
3749 * libgcov.h (__gcov_exit): Declare.
3750
3751 2016-09-27 Martin Liska <mliska@suse.cz>
3752
3753 PR bootstrap/77749
3754 * Makefile.in: Remove _gcov_merge_delta.
3755 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3756 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3757 * libgcov.h: Remove declaration of __gcov_merge_delta.
3758
3759 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3760
3761 * configure.ac: Do not create links, only substitute the filenames.
3762 * configure: Regenerate.
3763 * Makefile.in: Assign the substitution results to variables.
3764 (LIBGCC_LINKS): Define.
3765 (enable-execute-stack.c): New rule.
3766 (unwind.h): Likewise.
3767 (md-unwind-support.h): Likewise.
3768 (sfp-machine.h): Likewise.
3769 (gthr-default.h): Likewise.
3770 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3771 unwind.h as prerequisite of install-unwind_h-forbuild.
3772
3773 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3774
3775 PR libgcc/71744
3776 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3777 is not the primary registry and atomics are available.
3778 (any_objects_registered): New variable.
3779 (__register_frame_info_bases, __register_frame_info_table_bases):
3780 Atomically store 1 to any_objects_registered after registering first
3781 unwind info.
3782 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3783
3784 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3785
3786 PR target/63250
3787 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3788 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3789 (HFtype): Likewise.
3790 (HCtype): Likewise.
3791 (__divhc3): Likewise.
3792 (__mulhc3): Likewise.
3793 * libgcc2.c: Support _mulhc3 and _divhc3.
3794
3795 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3796
3797 PR libgcc/77519
3798 * libgcc2.c (NOTRUNC): Invert settings.
3799
3800 2016-09-06 Martin Liska <mliska@suse.cz>
3801
3802 PR gcov-profile/77378
3803 PR gcov-profile/77466
3804 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3805 conditionaly enable/disable *_atomic functions.
3806
3807 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3808
3809 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3810 where not already enabled.
3811
3812 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3813
3814 * config/mips/linux-unwind.h: Use sys/syscall.h.
3815
3816 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3817
3818 PR libgcc/77265
3819 * soft-fp/adddf3.c: Update from glibc.
3820 * soft-fp/addsf3.c: Likewise.
3821 * soft-fp/addtf3.c: Likewise.
3822 * soft-fp/divdf3.c: Likewise.
3823 * soft-fp/divsf3.c: Likewise.
3824 * soft-fp/divtf3.c: Likewise.
3825 * soft-fp/double.h: Likewise.
3826 * soft-fp/eqdf2.c: Likewise.
3827 * soft-fp/eqsf2.c: Likewise.
3828 * soft-fp/eqtf2.c: Likewise.
3829 * soft-fp/extenddftf2.c: Likewise.
3830 * soft-fp/extended.h: Likewise.
3831 * soft-fp/extendsfdf2.c: Likewise.
3832 * soft-fp/extendsftf2.c: Likewise.
3833 * soft-fp/extendxftf2.c: Likewise.
3834 * soft-fp/fixdfdi.c: Likewise.
3835 * soft-fp/fixdfsi.c: Likewise.
3836 * soft-fp/fixdfti.c: Likewise.
3837 * soft-fp/fixsfdi.c: Likewise.
3838 * soft-fp/fixsfsi.c: Likewise.
3839 * soft-fp/fixsfti.c: Likewise.
3840 * soft-fp/fixtfdi.c: Likewise.
3841 * soft-fp/fixtfsi.c: Likewise.
3842 * soft-fp/fixtfti.c: Likewise.
3843 * soft-fp/fixunsdfdi.c: Likewise.
3844 * soft-fp/fixunsdfsi.c: Likewise.
3845 * soft-fp/fixunsdfti.c: Likewise.
3846 * soft-fp/fixunssfdi.c: Likewise.
3847 * soft-fp/fixunssfsi.c: Likewise.
3848 * soft-fp/fixunssfti.c: Likewise.
3849 * soft-fp/fixunstfdi.c: Likewise.
3850 * soft-fp/fixunstfsi.c: Likewise.
3851 * soft-fp/fixunstfti.c: Likewise.
3852 * soft-fp/floatdidf.c: Likewise.
3853 * soft-fp/floatdisf.c: Likewise.
3854 * soft-fp/floatditf.c: Likewise.
3855 * soft-fp/floatsidf.c: Likewise.
3856 * soft-fp/floatsisf.c: Likewise.
3857 * soft-fp/floatsitf.c: Likewise.
3858 * soft-fp/floattidf.c: Likewise.
3859 * soft-fp/floattisf.c: Likewise.
3860 * soft-fp/floattitf.c: Likewise.
3861 * soft-fp/floatundidf.c: Likewise.
3862 * soft-fp/floatundisf.c: Likewise.
3863 * soft-fp/floatunditf.c: Likewise.
3864 * soft-fp/floatunsidf.c: Likewise.
3865 * soft-fp/floatunsisf.c: Likewise.
3866 * soft-fp/floatunsitf.c: Likewise.
3867 * soft-fp/floatuntidf.c: Likewise.
3868 * soft-fp/floatuntisf.c: Likewise.
3869 * soft-fp/floatuntitf.c: Likewise.
3870 * soft-fp/gedf2.c: Likewise.
3871 * soft-fp/gesf2.c: Likewise.
3872 * soft-fp/getf2.c: Likewise.
3873 * soft-fp/ledf2.c: Likewise.
3874 * soft-fp/lesf2.c: Likewise.
3875 * soft-fp/letf2.c: Likewise.
3876 * soft-fp/muldf3.c: Likewise.
3877 * soft-fp/mulsf3.c: Likewise.
3878 * soft-fp/multf3.c: Likewise.
3879 * soft-fp/negdf2.c: Likewise.
3880 * soft-fp/negsf2.c: Likewise.
3881 * soft-fp/negtf2.c: Likewise.
3882 * soft-fp/op-1.h: Likewise.
3883 * soft-fp/op-2.h: Likewise.
3884 * soft-fp/op-4.h: Likewise.
3885 * soft-fp/op-8.h: Likewise.
3886 * soft-fp/op-common.h: Likewise.
3887 * soft-fp/quad.h: Likewise.
3888 * soft-fp/single.h: Likewise.
3889 * soft-fp/soft-fp.h: Likewise.
3890 * soft-fp/subdf3.c: Likewise.
3891 * soft-fp/subsf3.c: Likewise.
3892 * soft-fp/subtf3.c: Likewise.
3893 * soft-fp/truncdfsf2.c: Likewise.
3894 * soft-fp/trunctfdf2.c: Likewise.
3895 * soft-fp/trunctfsf2.c: Likewise.
3896 * soft-fp/trunctfxf2.c: Likewise.
3897 * soft-fp/unorddf2.c: Likewise.
3898 * soft-fp/unordsf2.c: Likewise.
3899 * soft-fp/unordtf2.c: Likewise.
3900
3901 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3902
3903 PR gcov-profile/67097
3904 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3905
3906 2016-08-10 Martin Liska <mliska@suse.cz>
3907
3908 PR gcov-profile/58306
3909 * Makefile.in: New functions (modules) are added.
3910 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3911 function.
3912 (__gcov_pow2_profiler_atomic): New function.
3913 (__gcov_one_value_profiler_body): New argument is instroduced.
3914 (__gcov_one_value_profiler): Call with the new argument.
3915 (__gcov_one_value_profiler_atomic): Likewise.
3916 (__gcov_indirect_call_profiler_v2): Likewise.
3917 (__gcov_time_profiler_atomic): New function.
3918 (__gcov_average_profiler_atomic): Likewise.
3919 (__gcov_ior_profiler_atomic): Likewise.
3920 * libgcov.h: Declare the aforementioned functions.
3921
3922 2016-08-09 Martin Liska <mliska@suse.cz>
3923
3924 * libgcov-util.c: Fix typo and GNU coding style.
3925
3926 2016-08-09 Martin Liska <mliska@suse.cz>
3927
3928 * Makefile.in: Remove __gcov_indirect_call_profiler.
3929 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3930 function.
3931 * libgcov.h: And the declaration of the function.
3932
3933 2016-08-09 Martin Liska <mliska@suse.cz>
3934
3935 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3936 power of two.
3937
3938 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3939
3940 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3941 * config/rs6000/_mulkc3.c: Likewise.
3942
3943 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3944
3945 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3946 zero_reg as previous call to __umulhisi3 already cleared it.
3947
3948 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3949
3950 PR target/59833
3951 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3952
3953 2016-07-19 Nick Clifton <nickc@redhat.com>
3954
3955 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3956 Add crtinit.o and crtfini.o to extra_parts.
3957
3958 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3959
3960 * config/rs6000/_divkc3.c: New.
3961 * config/rs6000/_mulkc3.c: New.
3962 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3963 and _divkc3.
3964 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3965 fp128_ppc_funcs.
3966
3967 2016-07-11 Hale Wang <hale.wang@arm.com>
3968 Andre Vieira <andre.simoesdiasvieira@arm.com>
3969
3970 * config/arm/lib1funcs.S: Add new wrapper.
3971
3972 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3973
3974 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3975
3976 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3977
3978 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3979 and ARMv5t* rather than for a fixed list of architectures.
3980
3981 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3982
3983 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3984 implementation suitable for.
3985 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3986 for all Thumb-1 only targets.
3987 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3988 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3989 __ARM_ARCH_6M__.
3990 (EQUIV): Likewise.
3991 (ARM_FUNC_ALIAS): Likewise.
3992 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3993 version.
3994 (modsi3): Likewise.
3995 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3996 (clzdi2): Likewise.
3997 (ctzsi2): Likewise.
3998 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3999 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4000 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4001 __ARM_ARCH_6M__ and add comment to indicate the connection between
4002 this condition and the one in gcc/config/arm/elf.h.
4003 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4004 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4005 * config/arm/t-softfp: Likewise.
4006
4007 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4008
4009 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4010 CTOR_LISTS_DEFINED_EXTERNALLY.
4011
4012 2016-06-28 Walter Lee <walt@tilera.com>
4013
4014 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4015 asm/unistd.h.
4016 (SPR_CMPEXCH_VALUE): Define for tilegx.
4017 (__NR_FAST_cmpxchg): Define for tilepro.
4018 (__NR_FAST_atomic_update): Define for tilepro.
4019 (__NR_FAST_cmpxchg64): Define for tilepro.
4020
4021 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4022
4023 * config.host: Add suport for arm*-*-phoenix* targets.
4024
4025 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4026
4027 * config.host: Remove support for mep-*.
4028 * config/mep/lib1funcs.S: Remove.
4029 * config/mep/lib2funcs.c: Remove.
4030 * config/mep/t-mep: Remove.
4031 * config/mep/tramp.c: Remove.
4032
4033 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4034
4035 * config.host: Remove support for avr-rtems.
4036 * config/avr/t-rtems: Remove.
4037
4038 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4039
4040 * config.host: Remove m32r-rtems support.
4041
4042 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4043
4044 * config.host: Remove h8300-rtems support.
4045
4046 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4047
4048 * config.host: Remove support for knetbsd.
4049
4050 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4051
4052 * config.host: Remove support for openbsd 2 and 3.
4053
4054 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4055
4056 * config.host: Remove interix support.
4057 * config/i386/t-interix: Remove.
4058
4059 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
4060
4061 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4062 least-significant bit in function pointer for fixup.
4063
4064 2016-06-05 Aaron Conole <aconole@redhat.com>
4065 Nathan Sidwell <nathan@acm.org>
4066
4067 PR libgcc/71400
4068 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4069 (get_gcov_error_file): Check __gcov_error_file before trying to
4070 initialize it.
4071 (gcov_error): Always use get_gcov_error_file.
4072
4073 2016-06-02 Aaron Conole <aconole@redhat.com>
4074
4075 * libgcov-driver-system.c (__gcov_error_file): New.
4076 (get_gcov_error_file): New.
4077 (gcov_error): Use and set __gcov_error_file.
4078 (gcov_error_exit): New.
4079 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4080
4081 2016-05-26 Nathan Sidwell <nathan@acm.org>
4082
4083 * config/nvptx/free.asm: Delete.
4084 * config/nvptx/malloc.asm: Delete.
4085 * config/nvptx/realloc.c: Delete.
4086 * t-nvptx: Update.
4087
4088 2016-05-25 Nathan Sidwell <nathan@acm.org>
4089
4090 * config/nvptx/crt0.s: Delete.
4091 * config/nvptx/crt0.c: New.
4092 * t-nvptx: Update.
4093
4094 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4095
4096 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4097 dw2/seh configuration.
4098 [x86_64-*-mingw*]: Likewise.
4099
4100 2016-05-10 Joel Sherrill <joel@rtems.org>
4101
4102 PR libgcc/70720
4103 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4104 targets so the same extra_parts are built. Also have tmake_file add
4105 on to its value rather than override.
4106
4107 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4108
4109 * config.host: Remove SH5 support.
4110 * configure: Likewise.
4111
4112 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4113
4114 * config/sh/crt1.S: Remove SH5 support.
4115 * config/sh/crti.S: Likewise.
4116 * config/sh/crtn.S: Likewise.
4117 * config/sh/lib1funcs-4-300.S: Likewise.
4118 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4119 * config/sh/lib1funcs.S: Likewise.
4120 * config/sh/linux-unwind.h: Likewise.
4121 * config/sh/t-sh64: Delete.
4122
4123 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4124
4125 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4126
4127 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4128 Joern Rennecke <joern.rennecke@embecosm.com>
4129
4130 * config/arc/crttls.S: New file.
4131 * config/arc/t-arc: New rule.
4132 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4133
4134 2016-04-25 Nick Clifton <nickc@redhat.com>
4135
4136 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4137 (__mspabi_cmpd): Likewise.
4138 * config/msp430/floathidf.c (__floathidf): Likewise.
4139 * config/msp430/floathisf.c (__floathisf): Likewise
4140 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4141 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4142 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4143 second parameter.
4144 (__ashrsi3): Likewise.
4145
4146 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4147
4148 * config/m68k/linux-atomic.c: Do not include unistd.h
4149
4150 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4151
4152 * config/arm/ieee754-df.S: Fix typos in comments.
4153
4154 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4155
4156 PR target/70381
4157 * configure.ac (powerpc*-*-linux*): Rework tests to build
4158 __float128 emulation routines to not depend on using #pragma GCC
4159 target to enable -mfloat128.
4160 * configure: Regnerate.
4161
4162 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4163
4164 PR target/67172
4165 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4166 __MINGW32__ is defined.
4167
4168 2016-03-28 James Bowman <james.bowman@ftdichip.com>
4169
4170 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4171
4172 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4173
4174 PR libgcc/70363
4175 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4176 built with an assembler that does not support ISA 3.0
4177 instructions, rename __extendkftf2_sw to __extendkftf2.
4178
4179 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4180
4181 PR target/38239
4182 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4183 call-clobbered registers.
4184 (internal_mcount): Remove __i386__ handling.
4185
4186 2016-02-26 Joel Sherrill <joel@rtems.org>
4187
4188 * config.host: Add x86_64-*-rtems*.
4189
4190 2016-02-26 Joel Sherrill <joel@rtems.org>
4191
4192 * libgcc/config.host: Add aarch64-*-rtems*.
4193
4194 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4195 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4196
4197 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4198 union of u64 and double.
4199 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4200 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4201 value.
4202 (FP_ROUNDMODE): Update the usage of _fpscr.
4203
4204 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4205
4206 PR driver/68463
4207 * Makefile.in (crtoffloadtable$(objext)): New rule.
4208 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4209 enable_offload_targets is not empty.
4210 * configure: Regenerate.
4211 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4212 crtoffloadtable.
4213
4214 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4215
4216 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4217 .literal_position before the function.
4218 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4219 Likewise.
4220
4221 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4222
4223 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4224 * config/s390/morestack.S: New file.
4225 * config/s390/t-stack-s390: New file.
4226 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4227
4228 2016-02-12 Walter Lee <walt@tilera.com>
4229
4230 * config.host (tilegx*-*-linux*): remove ti from
4231 softfp_int_modes for 32-bit configs.
4232
4233 2016-02-10 Ian Lance Taylor <iant@google.com>
4234
4235 PR go/68562
4236 * config/i386/morestack.S (__stack_split_initialize): Align
4237 stack.
4238
4239 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4240
4241 PR bootstrap/69611
4242 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4243 __FLOAT128__ to compile only for __float128 capable targets.
4244
4245 2016-01-25 Jakub Jelinek <jakub@redhat.com>
4246
4247 PR target/69444
4248 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4249 instead of ___NO_FPRS__.
4250
4251 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
4252 Steven Munroe <munroesj@linux.vnet.ibm.com>
4253 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4254
4255 * config/rs6000/float128-sed: New files to convert TF names to KF
4256 names for PowerPC IEEE 128-bit floating point support.
4257 * config/rs6000/float128-sed-hw: Likewise.
4258
4259 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4260 floating point hardware support.
4261
4262 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4263 128-bit floating point software emulation or use ISA 3.0 hardware
4264 support if it is available.
4265
4266 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4267 floating point.
4268
4269 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4270 floating point to IBM extended double.
4271
4272 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4273 double to IEEE 128-bit floating point.
4274
4275 * config/rs6000/t-float128: New Makefile fragments to enable
4276 building __float128 emulation support.
4277 * config/rs6000/t-float128-hw: Likewise.
4278
4279 * config/rs6000/sfp-exceptions.c: New file to provide exception
4280 support for IEEE 128-bit floating point.
4281
4282 * config/rs6000/floattikf.c: New files for converting between IEEE
4283 128-bit floating point and signed/unsigned 128-bit integers.
4284 * config/rs6000/fixunskfti.c: Likewise.
4285 * config/rs6000/fixkfti.c: Likewise.
4286 * config/rs6000/floatuntikf.c: Likewise.
4287
4288 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4289 when building on 64-bit systems, or when VSX is enabled.
4290 (_FP_W_TYPE): Likewise.
4291 (_FP_WS_TYPE): Likewise.
4292 (_FP_I_TYPE): Likewise.
4293 (TItype): Define on 64-bit systems.
4294 (UTItype): Likewise.
4295 (TI_BITS): Likewise.
4296 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4297 (_FP_MUL_MEAT_Q): Likewise.
4298 (_FP_DIV_MEAT_D): Likewise.
4299 (_FP_DIV_MEAT_Q): Likewise.
4300 (_FP_NANFRAC_D): Likewise.
4301 (_FP_NANFRAC_Q): Likewise.
4302 (ISA_BIT): Add exception support if we are being compiled on a
4303 machine with hardware floating point support to build the IEEE
4304 128-bit emulation functions.
4305 (FP_EX_INVALID): Likewise.
4306 (FP_EX_OVERFLOW): Likewise.
4307 (FP_EX_UNDERFLOW): Likewise.
4308 (FP_EX_DIVZERO): Likewise.
4309 (FP_EX_INEXACT): Likewise.
4310 (FP_EX_ALL): Likewise.
4311 (__sfp_handle_exceptions): Likewise.
4312 (FP_HANDLE_EXCEPTIONS): Likewise.
4313 (FP_RND_NEAREST): Likewise.
4314 (FP_RND_ZERO): Likewise.
4315 (FP_RND_PINF): Likewise.
4316 (FP_RND_MINF): Likewise.
4317 (FP_RND_MASK): Likewise.
4318 (_FP_DECL_EX): Likewise.
4319 (FP_INIT_ROUNDMODE): Likewise.
4320 (FP_ROUNDMODE): Likewise.
4321
4322 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4323 VSX code, enable IEEE 128-bit floating point. If the compiler can
4324 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4325 floating point hardware instructions and it supports declaring
4326 functions with the ifunc attribute, enable ifunc functions to
4327 switch between software and hardware support.
4328 * configure.ac (powerpc*-*-linux*): Likewise.
4329 * configure: Regenerate.
4330
4331 2016-01-15 Nick Clifton <nickc@redhat.com>
4332
4333 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4334 dependency as the source file to be compiled.
4335 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4336 (lib2hw_mul_f5.o): Likewise.
4337
4338 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4339
4340 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4341 * libgcc/config/rs6000/fixkfti.c: Likewise.
4342 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4343 * libgcc/config/rs6000/float128-hw.c: Likewise.
4344 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4345 * libgcc/config/rs6000/float128-sed: Likewise.
4346 * libgcc/config/rs6000/floattikf.c: Likewise.
4347 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4348 * libgcc/config/rs6000/quad-float128.h: Likewise.
4349 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4350 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4351 * libgcc/config/rs6000/t-float128: Likewise.
4352 * libgcc/config/rs6000/t-float128-hw: Likewise.
4353 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4354 * libgcc/config.host: Likewise.
4355 * libgcc/configure: Likewise.
4356 * libgcc/configure.ac: Likewise.
4357
4358 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4359 Steven Munroe <munroesj@linux.vnet.ibm.com>
4360 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4361
4362 * config/rs6000/sfp-exceptions.c: New file to provide exception
4363 support for IEEE 128-bit floating point.
4364
4365 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4366 floating point hardware support.
4367
4368 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4369 point conversions.
4370 * config/rs6000/fixunskfti.c: Likewise.
4371 * config/rs6000/fixkfti.c: Likewise.
4372 * config/rs6000/floatuntikf.c: Likewise.
4373 * config/rs6000/extendkftf2-sw.c: Likewise.
4374 * config/rs6000/trunctfkf2-sw.c: Likewise.
4375
4376 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4377 128-bit floating point software emulation or use ISA 3.0 hardware
4378 support if it is available.
4379
4380 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4381 floating point.
4382
4383 * config/rs6000/t-float128: New Makefile fragments to enable
4384 building __float128 emulation support.
4385 * config/rs6000/t-float128-hw: Likewise.
4386
4387 * config/rs6000/float128-sed: New file to convert TF names to KF
4388 names for PowerPC IEEE 128-bit floating point support.
4389
4390 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4391 when building on 64-bit systems, or when VSX is enabled.
4392 (_FP_W_TYPE): Likewise.
4393 (_FP_WS_TYPE): Likewise.
4394 (_FP_I_TYPE): Likewise.
4395 (TItype): Define on 64-bit systems.
4396 (UTItype): Likewise.
4397 (TI_BITS): Likewise.
4398 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4399 (_FP_MUL_MEAT_Q): Likewise.
4400 (_FP_DIV_MEAT_D): Likewise.
4401 (_FP_DIV_MEAT_Q): Likewise.
4402 (_FP_NANFRAC_D): Likewise.
4403 (_FP_NANFRAC_Q): Likewise.
4404 (ISA_BIT): Add exception support if we are being compiled on a
4405 machine with hardware floating point support to build the IEEE
4406 128-bit emulation functions.
4407 (FP_EX_INVALID): Likewise.
4408 (FP_EX_OVERFLOW): Likewise.
4409 (FP_EX_UNDERFLOW): Likewise.
4410 (FP_EX_DIVZERO): Likewise.
4411 (FP_EX_INEXACT): Likewise.
4412 (FP_EX_ALL): Likewise.
4413 (__sfp_handle_exceptions): Likewise.
4414 (FP_HANDLE_EXCEPTIONS): Likewise.
4415 (FP_RND_NEAREST): Likewise.
4416 (FP_RND_ZERO): Likewise.
4417 (FP_RND_PINF): Likewise.
4418 (FP_RND_MINF): Likewise.
4419 (FP_RND_MASK): Likewise.
4420 (_FP_DECL_EX): Likewise.
4421 (FP_INIT_ROUNDMODE): Likewise.
4422 (FP_ROUNDMODE): Likewise.
4423
4424 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4425 compiler can do __float128.
4426 * configure: Regenerate.
4427
4428 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4429 VSX code, enable IEEE 128-bit floating point.
4430
4431 2016-01-05 Olivier Hainque <hainque@adacore.com>
4432
4433 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4434 specificities.
4435
4436 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4437
4438 Update copyright years.
4439
4440 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4441
4442 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4443 soft-fp targets.
4444
4445 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4446
4447 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4448 instead of abort to avoid dependency on stdlib.h.
4449
4450 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
4451
4452 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4453 to initialize call to __dl_fixup once.
4454
4455 2015-12-04 Nick Clifton <nickc@redhat.com>
4456
4457 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4458 Allow for the second argument being negative.
4459 * config.host (extra_parts): Define for MSP430. Create separate
4460 libraries for each of the hardware multiply formats.
4461 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4462 that are needed.
4463 * config/msp430/lib2mul.c: Likewise.
4464 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4465 Add rules to build hardware multiply libraries.
4466 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4467 __mspabi_divul function.
4468 (__mspabi_divllu): New stub function.
4469
4470 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
4471
4472 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4473 fixup values if saved GOT address doesn't match runtime address.
4474 (fixup_branch_offset): Reorder list.
4475
4476 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4477
4478 * Makefile.in (VTV_CFLAGS): New variable.
4479 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4480 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4481 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4482 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4483 to extra_parts if $enable_vtable_verify = yes.
4484
4485 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4486
4487 PR target/68059
4488 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4489 (write): ...this and fix the return type.
4490
4491 2015-11-19 DJ Delorie <dj@redhat.com>
4492
4493 * config/msp430/lib2hw_mul.S: Fix alignment.
4494
4495 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4496
4497 * config/nvptx/reduction.c: New.
4498 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4499
4500 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4501
4502 * config/rs6000/on_exit.c: New file.
4503 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4504 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4505
4506 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4507
4508 * config/arc/dp-hack.h: Add support for ARCHS.
4509 * config/arc/ieee-754/divdf3.S: Likewise.
4510 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4511 * config/arc/ieee-754/muldf3.S: Likewise.
4512 * config/arc/ieee-754/mulsf3.S: Likewise
4513 * config/arc/lib1funcs.S: Likewise
4514 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4515 for ARCv2 cores.
4516 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4517 for ARCv2 cores.
4518 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4519 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4520 cores.
4521
4522 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4523
4524 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4525 value.
4526 * config/ia64/crtend.S: Likewise.
4527
4528 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4529
4530 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4531 __CHAR_BIT__ instead of BITS_PER_UNIT.
4532 * fixed-bit.h: Likewise.
4533 * fp-bit.h: Likewise.
4534 * libgcc2.c (__popcountSI2): Likewise.
4535 (__popcountDI2): Likewise.
4536 * libgcc2.h: Likewise.
4537 * libgcov.h: Likewise.
4538
4539 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4540
4541 * config/rs6000/atexit.c: New file.
4542 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4543 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4544 * config/rs6000/cxa_finalize.c
4545 (catomic_compare_and_exchange_bool_acq): Negate return value.
4546
4547 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4548
4549 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4550 (processor_subtypes): Add znver1.
4551 (get_amd_cpu): Detect znver1.
4552
4553 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4554
4555 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4556 Include crtfastmath.o.
4557
4558 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4559
4560 PR libgcc/66883
4561 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4562
4563 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4564
4565 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4566 * config/rl78/divmodsi.S: Update return register to r8.
4567 * config/rl78/divmodhi.S: Update return register to r8,r9.
4568 Branch to main_loop_done_himode to pop registers before return.
4569
4570 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4571
4572 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4573 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4574
4575 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4576
4577 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4578
4579 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4580
4581 * config.host (xtensa*-*-uclinux*): New configuration.
4582
4583 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4584
4585 * config/i386/cpuinfo.c (processor_features): Add
4586 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4587
4588 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4589
4590 * soft-fp/adddf3.c: Update from glibc.
4591 * soft-fp/addsf3.c: Likewise.
4592 * soft-fp/addtf3.c: Likewise.
4593 * soft-fp/divdf3.c: Likewise.
4594 * soft-fp/divsf3.c: Likewise.
4595 * soft-fp/divtf3.c: Likewise.
4596 * soft-fp/double.h: Likewise.
4597 * soft-fp/eqdf2.c: Likewise.
4598 * soft-fp/eqsf2.c: Likewise.
4599 * soft-fp/eqtf2.c: Likewise.
4600 * soft-fp/extenddftf2.c: Likewise.
4601 * soft-fp/extended.h: Likewise.
4602 * soft-fp/extendsfdf2.c: Likewise.
4603 * soft-fp/extendsftf2.c: Likewise.
4604 * soft-fp/extendxftf2.c: Likewise.
4605 * soft-fp/fixdfdi.c: Likewise.
4606 * soft-fp/fixdfsi.c: Likewise.
4607 * soft-fp/fixdfti.c: Likewise.
4608 * soft-fp/fixsfdi.c: Likewise.
4609 * soft-fp/fixsfsi.c: Likewise.
4610 * soft-fp/fixsfti.c: Likewise.
4611 * soft-fp/fixtfdi.c: Likewise.
4612 * soft-fp/fixtfsi.c: Likewise.
4613 * soft-fp/fixtfti.c: Likewise.
4614 * soft-fp/fixunsdfdi.c: Likewise.
4615 * soft-fp/fixunsdfsi.c: Likewise.
4616 * soft-fp/fixunsdfti.c: Likewise.
4617 * soft-fp/fixunssfdi.c: Likewise.
4618 * soft-fp/fixunssfsi.c: Likewise.
4619 * soft-fp/fixunssfti.c: Likewise.
4620 * soft-fp/fixunstfdi.c: Likewise.
4621 * soft-fp/fixunstfsi.c: Likewise.
4622 * soft-fp/fixunstfti.c: Likewise.
4623 * soft-fp/floatdidf.c: Likewise.
4624 * soft-fp/floatdisf.c: Likewise.
4625 * soft-fp/floatditf.c: Likewise.
4626 * soft-fp/floatsidf.c: Likewise.
4627 * soft-fp/floatsisf.c: Likewise.
4628 * soft-fp/floatsitf.c: Likewise.
4629 * soft-fp/floattidf.c: Likewise.
4630 * soft-fp/floattisf.c: Likewise.
4631 * soft-fp/floattitf.c: Likewise.
4632 * soft-fp/floatundidf.c: Likewise.
4633 * soft-fp/floatundisf.c: Likewise.
4634 * soft-fp/floatunditf.c: Likewise.
4635 * soft-fp/floatunsidf.c: Likewise.
4636 * soft-fp/floatunsisf.c: Likewise.
4637 * soft-fp/floatunsitf.c: Likewise.
4638 * soft-fp/floatuntidf.c: Likewise.
4639 * soft-fp/floatuntisf.c: Likewise.
4640 * soft-fp/floatuntitf.c: Likewise.
4641 * soft-fp/gedf2.c: Likewise.
4642 * soft-fp/gesf2.c: Likewise.
4643 * soft-fp/getf2.c: Likewise.
4644 * soft-fp/ledf2.c: Likewise.
4645 * soft-fp/lesf2.c: Likewise.
4646 * soft-fp/letf2.c: Likewise.
4647 * soft-fp/muldf3.c: Likewise.
4648 * soft-fp/mulsf3.c: Likewise.
4649 * soft-fp/multf3.c: Likewise.
4650 * soft-fp/negdf2.c: Likewise.
4651 * soft-fp/negsf2.c: Likewise.
4652 * soft-fp/negtf2.c: Likewise.
4653 * soft-fp/op-1.h: Likewise.
4654 * soft-fp/op-2.h: Likewise.
4655 * soft-fp/op-4.h: Likewise.
4656 * soft-fp/op-8.h: Likewise.
4657 * soft-fp/op-common.h: Likewise.
4658 * soft-fp/quad.h: Likewise.
4659 * soft-fp/single.h: Likewise.
4660 * soft-fp/soft-fp.h: Likewise.
4661 * soft-fp/subdf3.c: Likewise.
4662 * soft-fp/subsf3.c: Likewise.
4663 * soft-fp/subtf3.c: Likewise.
4664 * soft-fp/truncdfsf2.c: Likewise.
4665 * soft-fp/trunctfdf2.c: Likewise.
4666 * soft-fp/trunctfsf2.c: Likewise.
4667 * soft-fp/trunctfxf2.c: Likewise.
4668 * soft-fp/unorddf2.c: Likewise.
4669 * soft-fp/unordsf2.c: Likewise.
4670 * soft-fp/unordtf2.c: Likewise.
4671
4672 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4673
4674 PR libgcc/67624
4675 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4676
4677 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4678
4679 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4680 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4681 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4682 messages.
4683 (internal_mcount): Likewise.
4684 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4685 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4686
4687 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4688
4689 * configure.ac (libgcc_cv_solaris_crts): New test.
4690 * configure: Regenerate.
4691 * config.in: Regenerate.
4692 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4693 * config/gmon-sol2.c: Rename to ...
4694 * config/sol2/gmon.c: ... this.
4695 Include auto-target.h.
4696 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4697 * config/t-sol2: Rename to ...
4698 * config/sol2/t-sol2: ... this.
4699 (gmon.o): Reflect renaming.
4700 (crtp.o, crtpg.o): New rules.
4701 * config.host (*-*-solaris2*): Reflect renaming.
4702 Use system CRTs if present.
4703 Remove default CRT case.
4704
4705 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4706
4707 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4708 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4709 __kernel_cmpxchg2.
4710 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4711 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4712 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4713 (__sync_lock_test_and_set_##WIDTH): Likewise.
4714 (__sync_lock_release_##WIDTH): Likewise.
4715 (__sync_fetch_and_##OP##_4): Change result to match type of
4716 __kernel_cmpxchg.
4717 (__sync_##OP##_and_fetch_4): Likewise.
4718 (__sync_val_compare_and_swap_4): Likewise.
4719 (__sync_bool_compare_and_swap_4): likewise.
4720 (__sync_lock_test_and_set_4): Likewise.
4721 (__sync_lock_release_4): Likewise.
4722 (FETCH_AND_OP_2): Add long long variants.
4723 (OP_AND_FETCH_2): Likewise.
4724 (COMPARE_AND_SWAP_2 ): Likewise.
4725 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4726 (SYNC_LOCK_RELEASE_2): Likewise.
4727 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4728
4729 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4730
4731 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4732 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4733 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4734 (get_available_features): Habdle new features.
4735
4736 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4737
4738 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4739 memory layout. Deal correctly with BSS region larger than 32K.
4740 Handle a watchdog reset like a power-on reset. Clean up unused
4741 code.
4742
4743 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4744 David Edelsohn <dje.gcc@gmail.com>
4745
4746 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4747 * config/rs6000/crtdbase.S: New file.
4748 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4749
4750 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4751
4752 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4753 Add support for call0 ABI.
4754
4755 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4756
4757 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4758
4759 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4760
4761 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4762 (__GTHREAD_HAS_COND): Likewise.
4763 (__gthread_t): Likewise.
4764 (__gthread_cond_t): Likewise.
4765 (__gthread_time_t): Likewise.
4766 (__GTHREAD_MUTEX_INIT): Likewise.
4767 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4768 (__GTHREAD_COND_INIT): Likewise.
4769 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4770 (__GTHREAD_TIME_INIT): Likewise.
4771 (__gthread_create): Likewise.
4772 (__gthread_join): Likewise.
4773 (__gthread_detach): Likewise.
4774 (__gthread_equal): Likewise.
4775 (__gthread_self): Likewise.
4776 (__gthread_yield): Likewise.
4777 (__gthread_cond_broadcast): Likewise.
4778 (__gthread_cond_signal): Likewise.
4779 (__gthread_cond_wait): Likewise.
4780 (__gthread_cond_timedwait): Likewise.
4781 (__gthread_cond_wait_recursive): Likewise.
4782 (__gthread_cond_destroy): Likewise.
4783 (rtems_gxx_once): Delete.
4784 (rtems_gxx_key_create): Likewise.
4785 (rtems_gxx_key_delete): Likewise.
4786 (rtems_gxx_getspecific): Likewise.
4787 (rtems_gxx_setspecific): Likewise.
4788 (rtems_gxx_mutex_init): Likewise.
4789 (rtems_gxx_mutex_destroy): Likewise.
4790 (rtems_gxx_mutex_lock): Likewise.
4791 (rtems_gxx_mutex_trylock): Likewise.
4792 (rtems_gxx_mutex_unlock): Likewise.
4793 (rtems_gxx_recursive_mutex_init): Likewise.
4794 (rtems_gxx_recursive_mutex_lock): Likewise.
4795 (rtems_gxx_recursive_mutex_trylock): Likewise.
4796 (rtems_gxx_recursive_mutex_unlock): Likewise.
4797 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4798 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4799 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4800 (__gthread_once): Likewise.
4801 (__gthread_key_create): Likewise.
4802 (__gthread_key_delete): Likewise.
4803 (__gthread_getspecific): Likewise.
4804 (__gthread_setspecific): Likewise.
4805 (__gthread_key_t): Use <pthread.h> type.
4806 (__gthread_once_t): Likewise
4807 (__gthread_mutex_t): Use <sys/lock.h> type.
4808 (__gthread_recursive_mutex_t): Likewise
4809 (__gthread_mutex_lock): Use <sys/lock.h> function.
4810 (__gthread_mutex_trylock): Likewise.
4811 (__gthread_mutex_timedlock): Likewise.
4812 (__gthread_mutex_unlock): Likewise.
4813 (__gthread_mutex_destroy): Likewise.
4814 (__gthread_recursive_mutex_lock): Likewise.
4815 (__gthread_recursive_mutex_trylock): Likewise.
4816 (__gthread_recursive_mutex_timedlock): Likewise.
4817 (__gthread_recursive_mutex_unlock): Likewise.
4818 (__gthread_recursive_mutex_destroy): Likewise.
4819
4820 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4821
4822 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4823 context->sp instead of context->cfa.
4824
4825 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4826
4827 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4828 with unwind-dw2-fde-dip.
4829
4830 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4831
4832 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4833 CALL12 followed by series of ENTRY to spill windowed registers.
4834 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4835 instead of making linux spill syscall.
4836
4837 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4838
4839 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4840 (get_intel_cpu): Likewise.
4841
4842 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4843
4844 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4845 (get_intel_cpu): Add Knights Landing support.
4846
4847 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4848
4849 PR target/66954
4850 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4851 (get_available_features): Handle FEATURE_PCLMUL.
4852
4853 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4854
4855 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4856 Broadwell.
4857
4858 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4859
4860 PR target/66954
4861 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4862 (get_available_features): Handle FEATURE_AES.
4863
4864 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4865
4866 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4867 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4868
4869 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4870
4871 * offloadstuff.c: Constify host data.
4872
4873 2015-07-17 Jan Beulich <jbeulich@suse.com>
4874
4875 * config/t-softfp: Split up "else ifneq".
4876
4877 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4878 Cesar Philippidis <cesar@codesourcery.com>
4879 Chung-Lin Tang <cltang@codesourcery.com>
4880
4881 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4882 for __nios2_arch__ level.
4883
4884 2015-07-13 John Marino <gnugcc@marino.st>
4885
4886 * config/i386/t-dragonfly: New.
4887
4888 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4889
4890 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4891 better match light-weight syscall argument order.
4892 (__kernel_cmpxchg2): Likewise.
4893 Adjust callers.
4894
4895 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4896
4897 * config.host: Support i[34567]86-*-elfiamcu target.
4898 * config/t-softfp-sfdftf: New file.
4899 * config/i386/32/t-iamcu: Likewise.
4900 * configure: Regenerated.
4901
4902 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4903
4904 libgcc/config/arm/
4905 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4906
4907 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4908
4909 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4910
4911 2015-05-27 John Marino <gnugcc@marino.st>
4912
4913 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4914 md_unwind_header
4915 * config/i386/freebsd-unwind.h: New.
4916
4917 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4918
4919 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4920 i386/t-crtfm to tmake_file.
4921 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4922 (set_fast_math): Use set_fast_math_sse for SSE targets.
4923 * config/i386/t-crtfm: Remove.
4924
4925 2015-05-21 Alan Modra <amodra@gmail.com>
4926
4927 PR libgcc/66225
4928 * config/rs6000/morestack.S: Remove ".abiversion 1".
4929
4930 2015-05-20 Alan Modra <amodra@gmail.com>
4931
4932 * config/rs6000/morestack.S: New.
4933 * config/rs6000/t-stack-rs6000: New.
4934 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4935 to tmake_file.
4936 * generic-morestack.c: Don't build for powerpc 32-bit.
4937
4938 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4939
4940 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4941 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4942
4943 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4944
4945 * config.host: FT32 target added.
4946 * config/ft32/*: New files for FT32 target.
4947
4948 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4949
4950 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4951 New macros.
4952 * config/arm/ieee754-df.S: Add CFI directives.
4953 * config/arm/ieee754-sf.S: Add CFI directives.
4954
4955 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4956
4957 * configure.ac: Include config/sjlj.m4.
4958 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4959 * config.in: Regenerate.
4960 * configure: Likewise.
4961 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4962
4963 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4964
4965 * libgcov-util.c: Add space between string literal and macro name.
4966
4967 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4968 Chris Jones <chrisj@nvidia.com>
4969 Joshua Conner <jconner@nvidia.com>
4970
4971 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4972 (arm*-*-uclinux*): Likewise.
4973 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4974 * config/arm/crtfastmath.c: New file.
4975
4976 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4977
4978 * Makefile.in (real_host_noncanonical): New variable.
4979 (libsubdir): Use it.
4980 * configure.ac (real_host_noncanonical): Compute. Remove special
4981 case for intelmicemul.
4982 * configure: Regenerate.
4983
4984 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4985
4986 * config/frv/elf-lib.h: New file.
4987 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4988 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4989 to tm_file.
4990
4991 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4992
4993 * config/frv/frvbengin.c: Do not include defaults.h
4994 * config/frv/frvend.c: Ditto.
4995
4996 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4997
4998 * config.host: Add h8300-*-linux
4999 * config/h8300/t-linux: New file.
5000 * config/h8300/lib1funs.s: Change symbol prefix.
5001 * config/h8300/sfp-machine.h: 64bit double support.
5002
5003 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5004 Szabolcs Nagy <szabolcs.nagy@arm.com>
5005
5006 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5007 Linux if target provides dl_iterate_phdr.
5008
5009 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5010
5011 PR target/65612
5012 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5013 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5014 (__cpu_indicator_init@GCC_4.8.0): New.
5015 (__cpu_model@GCC_4.8.0): Likewise.
5016 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5017 -DUSE_ELF_SYMVER.
5018
5019 2015-04-16 Nick Clifton <nickc@redhat.com>
5020
5021 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5022 and __modhi3 functions.
5023 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5024 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5025
5026 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5027
5028 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5029 do-while loop as macro body to avoid warnings.
5030
5031 2015-04-10 Jakub Jelinek <jakub@redhat.com>
5032 Iain Sandoe <iain@codesourcery.com>
5033
5034 PR target/65351
5035 * configure: Regenerate.
5036
5037 2015-04-07 Jakub Jelinek <jakub@redhat.com>
5038 Iain Sandoe <iain@codesourcery.com>
5039
5040 PR target/65351
5041 * configure: Regenerate.
5042
5043 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5044
5045 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5046
5047 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
5048
5049 Implement call0 ABI for xtensa
5050 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5051 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5052 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5053 use ret in call0 ABI.
5054 * config/xtensa/t-windowed: New file.
5055 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5056 * libgcc/configure: Regenerated.
5057 * libgcc/configure.ac: Check if xtensa target is configured for
5058 windowed ABI and thus needs to use custom unwind code.
5059
5060 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
5061
5062 PR libgcc/64885
5063 * gthr-single.h: Use __unused__ attribute instead of unused.
5064 * config/gthr-vxworks.h: Likewise.
5065 * config/i386/gthr-win32.h: Likewise.
5066
5067 2015-02-27 Kai Tietz <ktietz@redhat.com>
5068
5069 PR target/65038
5070 * config.in: Regenerated.
5071 * configure: Likewise.
5072 * configure.ac (AC_HEADER_STDC): Added explicit.
5073 (AC_CHECK_HEADERS): Check for default headers plus
5074 for ftw.h header.
5075 * libgcov-util.c (gcov_read_profile_dir): Disable use
5076 of ftw-function, if header is not found.
5077 (ftw_read_file): Likewise.
5078
5079 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5080
5081 PR target/65181
5082 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5083 -Dinhibit_libc.
5084
5085 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5086
5087 * config/arm/bpabi.S (test_div_by_zero): Make label names
5088 consistent between thumb2 and arm mode cases. Separate the
5089 signed comparison on the high word of the numerator from the
5090 unsigned comparison on the low word.
5091 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5092 signed comparison.
5093
5094 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5095
5096 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5097 and <string.h>.
5098 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5099
5100 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5101
5102 PR gcov-profile/61889
5103 * libgcov-driver-system.c: undefine clashing macro for mkdir.
5104
5105 2015-02-02 Nick Clifton <nickc@redhat.com>
5106
5107 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5108 rounding up the fraction.
5109
5110 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
5111
5112 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5113 oldval and newval to const void *. Fix typo.
5114 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5115 (FETCH_AND_OP_WORD): Likewise.
5116 (OP_AND_FETCH_WORD): Likewise.
5117 (COMPARE_AND_SWAP_2): Likewise.
5118 (__sync_val_compare_and_swap_4): Likewise.
5119 (__sync_lock_test_and_set_4): Likewise.
5120 (SYNC_LOCK_RELEASE_2): Likewise.
5121 Remove support for long long atomic operations.
5122
5123 2015-01-27 Caroline Tice <cmtice@google.com>
5124
5125 Committing VTV Cywin/Ming patch for Patrick Wollgast
5126 * Makefile.in: Move rules to build vtv_*.o out of the check
5127 for CUSTOM_CRTSTUFF.
5128 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5129 i[34567]86-*-mingw*)
5130 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5131 enable_vtable_verify.
5132
5133 2015-01-27 Nick Clifton <nickc@redhat.com>
5134
5135 * config/rl78/cmpsi2.S: Use function start and end macros.
5136 (__gcc_bcmp): New function.
5137 * config/rl78/lshrsi3.S: Use function start and end macros.
5138 * config/rl78/mulsi3.S: Add support for G10.
5139 (__mulqi3): New function for G10.
5140 * config/rl78/signbit.S: Use function start and end macros.
5141 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5142 fpmath-sf.S.
5143 (LIB2FUNCS_EXCLUDE): Define.
5144 (LIB2FUNCS_ST): Define.
5145 * config/rl78/trampoline.S: Use function start and end macros.
5146 * config/rl78/vregs.h (START_FUNC): New macro.
5147 (START_ANOTHER_FUNC): New macro.
5148 (END_FUNC): New macro.
5149 (END_ANOTHER_FUNC): New macro.
5150 * config/rl78/bit-count.S: New file. Contains assembler
5151 implementations of the bit counting functions: ___clzhi2,
5152 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5153 __paritysi2, __popcounthi2 and __popcountsi2.
5154 * config/rl78/fpbit-sf.S: New file. Contains assembler
5155 implementationas of the math functions: __negsf2, __cmpsf2,
5156 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5157 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5158 * config/rl78/fpmath-sf.S: New file. Contains assembler
5159 implementations of the math functions: __subsf3, __addsf3,
5160 __mulsf3 and __divsf3
5161
5162 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5163
5164 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5165 Add i386/elf-lib.h to tm_file.
5166 * config/i386/elf-lib.h: Fix comment.
5167 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5168 && __sun__ && __svr4__]: Remove workaround.
5169
5170 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5171
5172 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5173 FEATURE_BMI2.
5174 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5175
5176 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5177
5178 * config/i386/cpuinfo.c (processor_subtypes): Add
5179 INTEL_COREI7_BROADWELL.
5180 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5181 model numbers.
5182
5183 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
5184
5185 * config/i386/elf-lib.h: New file.
5186 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5187 Wrap definition in #ifdef __i386__.
5188 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5189 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5190 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5191 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5192 to tm_file.
5193
5194 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5195
5196 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5197 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5198
5199 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5200
5201 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5202 Update rt_sigframe format and address for current Nios II
5203 Linux conventions.
5204
5205 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5206
5207 * config.host (arm*-*-freebsd*): Add new configuration for
5208 arm*-*-freebsd*.
5209 * config/arm/freebsd-atomic.c: New file.
5210 * config/arm/t-freebsd: Likewise.
5211 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5212 'PC-relative indirect' OS's.
5213
5214 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5215
5216 * config.host: Add Visium support.
5217 * config/visium: New directory.
5218
5219 2015-01-05 Jakub Jelinek <jakub@redhat.com>
5220
5221 Update copyright years.
5222
5223 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5224
5225 * config.host: Support mipsisa32r6 and mipsisa64r6.
5226 * config/mips/mips16.S: Do not build for R6.
5227
5228 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5229
5230 * config/sh/crt.h: New.
5231 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5232 symbols.
5233 * config/sh/crt1.S: Likewise.
5234
5235 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
5236
5237 PR libgcc/63832
5238 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5239 func_ptr *dtor_list temporary variable to avoid "array subscript
5240 is above array bounds" warnings.
5241
5242 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
5243
5244 * Makefile.in (with_aix_soname): Define.
5245 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5246 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5247 * configure: Recreate.
5248
5249 2014-12-05 Olivier Hainque <hainque@adacore.com>
5250
5251 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5252 now provided by defaults.h.
5253
5254 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5255
5256 PR target/55351
5257 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5258 whether it's defined.
5259
5260 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5261
5262 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5263 * config/i386/cpuinfo.c (get_available_features): Detect it.
5264
5265 2014-11-27 Tony Wang <tony.wang@arm.com>
5266
5267 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5268 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5269 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5270
5271 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5272
5273 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5274
5275 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
5276
5277 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5278 instead.
5279
5280 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5281 John David Anglin <danglin@gcc.gnu.org>
5282
5283 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5284 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5285 (OP_AND_FETCH_2): Likewise.
5286 (COMPARE_AND_SWAP_2): Likewise.
5287 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5288 (SYNC_LOCK_RELEASE_2): Likewise.
5289 (SUBWORD_SYNC_OP): Remove.
5290 (SUBWORD_VAL_CAS): Likewise.
5291 (SUBWORD_BOOL_CAS): Likewise.
5292 (FETCH_AND_OP_WORD): Update.
5293 Consistently use signed types.
5294
5295 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5296 Thomas Schwinge <thomas@codesourcery.com>
5297 Ilya Verbin <ilya.verbin@intel.com>
5298 Andrey Turetskiy <andrey.turetskiy@intel.com>
5299
5300 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5301 (crtoffloadend$(objext)): Likewise.
5302 * configure: Regenerate.
5303 * configure.ac (accel_dir_suffix): Compute new variable.
5304 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5305 if enable_offload_targets is not empty.
5306 * offloadstuff.c: New file.
5307
5308 2014-11-13 Nick Clifton <nickc@redhat.com>
5309
5310 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5311 Use START_FUNC and END_FUNC macros to enable linker garbage
5312 collection.
5313 * config/rl78/divmodqi.S: Likewise.
5314 * config/rl78/divmodsi.S: Likewise.
5315 * config/rl78/mulsi3.S: Likewise.
5316 * config/rl78/lib2div.c: Remove G10 functions.
5317 * config/rl78/lib2muls.c: Likewise.
5318 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5319 * config/rl78/vregs.h (START_FUNC): New macro.
5320 (END_FUNC): New macro.
5321
5322 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5323
5324 * config/mips/mips16.S: Set .module when supported. Update O32
5325 FP64 calling convention and use for FPXX when possible. Add FPXX
5326 calling convention fallback case.
5327
5328 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5329
5330 * config.host: Handle nvptx-*-*.
5331 * shared-object.mk (as-flags-$o): Define.
5332 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5333 -xassembler-with-cpp.
5334 * static-object.mk: Identical changes.
5335 * config/nvptx/t-nvptx: New file.
5336 * config/nvptx/crt0.s: New file.
5337 * config/nvptx/free.asm: New file.
5338 * config/nvptx/malloc.asm: New file.
5339 * config/nvptx/realloc.c: New file.
5340
5341 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5342
5343 * Makefile.in (libgcc.map.in): New target.
5344 (libgcc.map): Use libgcc.map.in.
5345 * config/t-softfp (softfp_compat): New variable to be set by
5346 users.
5347 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5348 variables.
5349 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5350 directory.
5351 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5352 that use compat symbols and disable all code unless [SHARED].
5353 * config/t-softfp-compat: New file.
5354 * find-symver.awk: New file.
5355 * configure.ac (--with-glibc-version): New configure option.
5356 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5357 * configure: Regenerate.
5358 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5359 soft-float and e500.
5360
5361 2014-10-29 Joseph Myers <joseph@codesourcery.com>
5362
5363 * config/t-hardfp (hardfp_exclusions): Document new variable for
5364 user to define.
5365 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5366 * config/t-softfp (softfp_extras): Document new variable for user
5367 to define.
5368 (softfp_func_list): Add functions from $(softfp_extras).
5369 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5370 * config.host (powerpc*-*-linux*): For e500v1, use
5371 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5372 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5373 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5374
5375 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
5376
5377 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5378 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5379 memory read accesses are ok.
5380
5381 2014-10-25 Joseph Myers <joseph@codesourcery.com>
5382
5383 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5384 * configure: Regenerate.
5385 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5386 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5387 of soft-fp for 32-bit classic hard float. Do not use
5388 t-softfp-excl for soft float.
5389
5390 2014-10-22 Joseph Myers <joseph@codesourcery.com>
5391
5392 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5393 configurations.
5394 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5395 Remove variables.
5396
5397 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
5398
5399 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5400 introduced with 2014-10-21 trunk r216525.
5401
5402 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
5403 Vidya Praveen <vidya.praveen@atmel.com>
5404 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5405 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5406 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
5407
5408 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5409 order.
5410
5411 Updated library functions for AVRTINY arch.
5412 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5413 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5414 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5415 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5416 wsubi/wadi macors.
5417 (__mulsi3_helper): Update stack, preserve callee saved regs and
5418 argument from stack. Restore callee save registers.
5419 (__mulpsi3): Likewise.
5420 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5421 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5422 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5423 AVRTINY.
5424 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5425 (__do_copy_data): Added new definition for AVRTINY.
5426 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5427 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5428 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5429 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5430 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5431 macors.
5432 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5433 AVRTINY.
5434
5435 Fix broken long multiplication on tiny arch.
5436
5437 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5438
5439 * soft-fp/double.h: Update from glibc.
5440 * soft-fp/eqdf2.c: Likewise.
5441 * soft-fp/eqsf2.c: Likewise.
5442 * soft-fp/eqtf2.c: Likewise.
5443 * soft-fp/extenddftf2.c: Likewise.
5444 * soft-fp/extended.h: Likewise.
5445 * soft-fp/extendsfdf2.c: Likewise.
5446 * soft-fp/extendsftf2.c: Likewise.
5447 * soft-fp/extendxftf2.c: Likewise.
5448 * soft-fp/gedf2.c: Likewise.
5449 * soft-fp/gesf2.c: Likewise.
5450 * soft-fp/getf2.c: Likewise.
5451 * soft-fp/ledf2.c: Likewise.
5452 * soft-fp/lesf2.c: Likewise.
5453 * soft-fp/letf2.c: Likewise.
5454 * soft-fp/op-1.h: Likewise.
5455 * soft-fp/op-2.h: Likewise.
5456 * soft-fp/op-4.h: Likewise.
5457 * soft-fp/op-8.h: Likewise.
5458 * soft-fp/op-common.h: Likewise.
5459 * soft-fp/quad.h: Likewise.
5460 * soft-fp/single.h: Likewise.
5461 * soft-fp/soft-fp.h: Likewise.
5462 * soft-fp/unorddf2.c: Likewise.
5463 * soft-fp/unordsf2.c: Likewise.
5464 * soft-fp/unordtf2.c: Likewise.
5465 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5466 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5467 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5468 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5469 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5470 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5471 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5472 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5473 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5474 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5475
5476 2014-10-08 Rong Xu <xur@google.com>
5477
5478 * libgcov-util.c (read_gcda_file): Fix format.
5479 (find_match_gcov_info): Ditto.
5480 (calculate_2_entries): New.
5481 (compute_one_gcov): Ditto.
5482 (gcov_info_count_all_cold): Ditto.
5483 (gcov_info_count_all_zero): Ditto.
5484 (extract_file_basename): Ditto.
5485 (get_file_basename): Ditto.
5486 (set_flag): Ditto.
5487 (matched_gcov_info): Ditto.
5488 (calculate_overlap): Ditto.
5489 (gcov_profile_overlap): Ditto.
5490 * libgcov-driver.c (compute_summary): Make
5491 it avavilable for external calls.
5492
5493 2014-10-06 Rong Xu <xur@google.com>
5494
5495 * Makefile.in: Ditto.
5496 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5497 (gcov_sort_icall_topn_counter): Ditto.
5498 (gcov_sort_topn_counter_arrays): Ditto.
5499 (dump_one_gcov): Sort indirect_call topn counters.
5500 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5501 function.
5502 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5503 utility function.
5504 (__gcov_indirect_call_topn_profiler): New profiler function.
5505 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5506 * libgcov.h: New decls.
5507
5508 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5509
5510 * config.host: Remove support for score-*.
5511
5512 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5513
5514 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5515 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5516 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5517 __LIBGCC_XF_MANT_DIG__.
5518 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5519 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5520 __LIBGCC_TF_MANT_DIG__.
5521 * libgcc2.c (NOTRUNC): Define in terms of
5522 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5523 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5524
5525 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5526
5527 PR target/63312
5528 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5529 New macros.
5530
5531 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5532
5533 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5534 override USE_PT_GNU_EH_FRAME.
5535 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5536 check USE_EH_FRAME_REGISTRY_ALWAYS against
5537 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5538 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5539 variable for substituted force_explicit_eh_registry.
5540 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5541 * configure.ac (explicit-exception-frame-registration):
5542 New AC_ARG_ENABLE.
5543 * configure: Regenerate.
5544
5545 2014-09-19 Olivier Hainque <hainque@adacore.com>
5546
5547 * config.host (powerpc-wrs-vxworksmils): New configuration,
5548 same as vxworksae.
5549
5550 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5551
5552 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5553
5554 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5555
5556 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5557 bits not set bits as indicating trapping exceptions.
5558
5559 2014-09-17 Nathan sidwell <nathan@acm.org>
5560
5561 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5562 (LIBGCOV_DRIVER): ... here.
5563 * libgcov-driver.c (gcov_master): New.
5564 (gcov_exit): Remove from master chain.
5565 (__gcov_init): Add to master chain if version compatible. Don't
5566 clear the version.
5567 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5568 (gcov_reset_int): Clear master chain, if compatible.
5569 (gcov_dump_int): New internal interface. Dump master chain, if
5570 compatible.
5571 (gcov_dump): Alias for gcov_dump_int.
5572 * libgcov.h (struct gcov_root): Add next and prev fields.
5573 (struct gcov_master): New struct.
5574 (__gcov_master): New.
5575 (gcov_dump_int): Declare.
5576
5577 2014-09-17 Olivier Hainque <hainque@adacore.com>
5578
5579 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5580 and crtbegin.o + crtend.o to extra_parts.
5581
5582 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5583
5584 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5585 __LIBGCC_HAS_SF_MODE__.
5586 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5587 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5588 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5589 * config/libbid/bid_gcc_intrinsics.h
5590 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5591 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5592 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5593 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5594 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5595 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5596
5597 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5598
5599 PR target/63223
5600 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5601 and R24 as needed. Make work for all devices and .text locations.
5602 (__do_global_ctors, __do_global_dtors): Use word addresses.
5603 (__tablejump__, __tablejump_elpm__): Remove functions.
5604 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5605 Add _tablejump2.
5606 (XICALL, XIJMP): New macros.
5607
5608 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5609 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5610
5611 * config.host (aarch64*): Include crtfastmath.o and
5612 t-crtfm.
5613 * config/aarch64/crtfastmath.c: New file.
5614
5615 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5616
5617 * config.host: Remove picochip support.
5618 * config/picochip/adddi3.S: Remove.
5619 * config/picochip/ashlsi3.S: Remove.
5620 * config/picochip/ashlsi3.c: Remove.
5621 * config/picochip/ashrsi3.S: Remove.
5622 * config/picochip/ashrsi3.c: Remove.
5623 * config/picochip/clzsi2.S: Remove.
5624 * config/picochip/cmpsi2.S: Remove.
5625 * config/picochip/divmod15.S: Remove.
5626 * config/picochip/divmodhi4.S: Remove.
5627 * config/picochip/divmodsi4.S: Remove.
5628 * config/picochip/lib1funcs.S: Remove.
5629 * config/picochip/longjmp.S: Remove.
5630 * config/picochip/lshrsi3.S: Remove.
5631 * config/picochip/lshrsi3.c: Remove.
5632 * config/picochip/parityhi2.S: Remove.
5633 * config/picochip/popcounthi2.S: Remove.
5634 * config/picochip/setjmp.S: Remove.
5635 * config/picochip/subdi3.S: Remove.
5636 * config/picochip/t-picochip: Remove.
5637 * config/picochip/ucmpsi2.S: Remove.
5638 * config/picochip/udivmodhi4.S: Remove.
5639 * config/picochip/udivmodsi4.S: Remove.
5640
5641 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5642
5643 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5644 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5645 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5646 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5647 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5648 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5649 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5650 defined and LIBGCC2_HAS_DF_MODE is defined.
5651 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5652 defined and LIBGCC2_HAS_XF_MODE is defined.
5653 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5654 defined and LIBGCC2_HAS_TF_MODE is defined.
5655
5656 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5657
5658 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5659 and ROUND_TOWARDS_ZERO conditionals.
5660
5661 2014-09-07 Nathan sidwell <nathan@acm.org>
5662
5663 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5664 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5665
5666 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5667
5668 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5669 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5670 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5671 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5672 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5673 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5674 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5675 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5676 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5677 (DWARF_FRAME_REGISTERS): Change all uses to
5678 __LIBGCC_DWARF_FRAME_REGISTERS__.
5679 (EH_RETURN_STACKADJ_RTX): Change all uses to
5680 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5681 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5682 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5683 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5684 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5685 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5686 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5687 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5688 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5689 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5690 __LIBGCC_STACK_POINTER_REGNUM__.
5691 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5692 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5693 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5694 to __LIBGCC_STACK_POINTER_REGNUM__.
5695 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5696 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5697 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5698 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5699 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5700 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5701 (STACK_POINTER_REGNUM): Change all uses to
5702 __LIBGCC_STACK_POINTER_REGNUM__.
5703 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5704 use to __LIBGCC_STACK_POINTER_REGNUM__.
5705 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5706 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5707 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5708 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5709 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5710 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5711 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5712 to __LIBGCC_STACK_POINTER_REGNUM__.
5713 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5714 Remove conditional definition.
5715 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5716 __LIBGCC_TEXT_SECTION_ASM_OP__.
5717 (EH_FRAME_SECTION_NAME): Change all uses to
5718 __LIBGCC_EH_FRAME_SECTION_NAME__.
5719 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5720 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5721 (CTORS_SECTION_ASM_OP): Change all uses to
5722 __LIBGCC_CTORS_SECTION_ASM_OP__.
5723 (DTORS_SECTION_ASM_OP): Change all uses to
5724 __LIBGCC_DTORS_SECTION_ASM_OP__.
5725 (JCR_SECTION_NAME): Change all uses to
5726 __LIBGCC_JCR_SECTION_NAME__.
5727 (INIT_SECTION_ASM_OP): Change all uses to
5728 __LIBGCC_INIT_SECTION_ASM_OP__.
5729 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5730 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5731 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5732 __LIBGCC_STACK_GROWS_DOWNWARD__.
5733 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5734 __LIBGCC_INIT_SECTION_ASM_OP__.
5735 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5736 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5737 (EH_FRAME_SECTION_NAME): Change all uses to
5738 __LIBGCC_EH_FRAME_SECTION_NAME__.
5739 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5740 definitions. Change all uses to
5741 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5742 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5743 __LIBGCC_STACK_GROWS_DOWNWARD__.
5744 (DWARF_FRAME_REGISTERS): Change all uses to
5745 __LIBGCC_DWARF_FRAME_REGISTERS__.
5746 (EH_RETURN_STACKADJ_RTX): Change all uses to
5747 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5748 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5749 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5750 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5751 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5752 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5753
5754 2014-09-02 Nathan sidwell <nathan@acm.org>
5755
5756 * libgcov-interface.c (STRONG_ALIAS): New.
5757 (__gcov_flush): Call __gcov_reset_int.
5758 (__gcov_reset): Strong alias for ...
5759 (__gcov_reset_ing): ... this renamed hidden version.
5760 * libgcov.h (__gcov_reset_int): New declaration.
5761
5762 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5763
5764 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5765 call from here...
5766 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5767 (__dso_handle): Define on Cygwin.
5768 * config/i386/t-cygming (crtbeginS.o): New rule.
5769 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5770
5771 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5772 declaration syntax.
5773
5774 2014-08-13 Steve Ellcey <sellcey@mips.com>
5775
5776 * crtstuff.c: Undef caddr_t.
5777
5778 2014-08-12 Steve Ellcey <sellcey@mips.com>
5779
5780 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5781
5782 2014-08-07 Nathan Sidwell <nathan@acm.org>
5783
5784 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5785 (LIBGCOV_DRIVER): ... to here.
5786 * libgcov.h (gcov_do_dump): New #define.
5787 (struct gcov_root): New.
5788 (__gcov_root): New declaration.
5789 (__gcov_dump_one): Declare.
5790 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5791 run_accounted): Delete.
5792 (gcov_compute_histogram): Add LIST argument, adjust.
5793 (compute_summary): Adjust gcov_compute_histogram call.
5794 (gcov_do_dump): Not hidden, static in libgcov.
5795 (gcov_clear): Move to interface.c.
5796 (__gcov_dump_one): New, broken out of ...
5797 (gcov_exit): ... here. Make static.
5798 (__gcov_root): New.
5799 (__gcov_init): Adjust.
5800 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5801 declarations.
5802 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5803 (gcov_clear): Moved from driver.c. Add LIST argument.
5804 (__gcov_reset): Adjust for changed interfaces.
5805 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5806
5807 2014-08-04 Rohit <rohitarulraj@freescale.com>
5808
5809 PR target/60102
5810 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5811 based on change in SPE high register numbers and 3 HTM registers.
5812
5813 2014-08-01 Nathan Sidwell <nathan@acm.org>
5814
5815 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5816 LIBGCOV_INTERFACE): Reformat.
5817 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5818 IN_GCOV_TOOL.
5819 * libgcov-interface.c: Reformat some comments.
5820 (__gcov_flush_mx): Add declaration. Tidy up definition.
5821
5822 2014-07-31 Alan Modra <amodra@gmail.com>
5823 Peter Bergner <bergner@vnet.ibm.com>
5824
5825 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5826 (pack_ldouble): New function.
5827 (__gcc_qadd): Use it.
5828 (__gcc_qmul): Likewise.
5829 (__gcc_qdiv): Likewise.
5830 (__gcc_qneg): Likewise.
5831 (__gcc_stoq): Likewise.
5832 (__gcc_dtoq): Likewise.
5833
5834 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5835
5836 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5837 (__tpf_eh_return): Add original return address as second parameter.
5838 Handle cases where unwinder routines were called directly, instead
5839 of from within the C++ library.
5840
5841 2014-07-29 Nathan Sidwell <nathan@acm.org>
5842
5843 * libgcov.h: Move renaming of entry points to lib gcov specific
5844 portion.
5845 (gcov_do_dump): New rename.
5846 (gcov_rewrite): Remove inline, make HIDDEN.
5847 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5848 (gcov_exit_compute_summary): Rename to ...
5849 (compute_summary): ... here. Add LIST argument.
5850 (gcov_exit_merge_gcda): Rename to ...
5851 (merge_one_data): ... here.
5852 (gcov_exit_write_gcda): Rename to ...
5853 (write_one_data): ... here.
5854 (gcov_exit_merge_summary): Rename to ...
5855 (merge_summary): Add RUN_COUNTED argument.
5856 (gcov_exit_dump_gcov): Rename to ...
5857 (dump_one_gcov): Add RUN_COUNTED argument.
5858 (gcov_do_dump): New function, broken out of ...
5859 (gcov_exit): ... here. Call it.
5860
5861 2014-07-27 Anthony Green <green@moxielogic.com>
5862
5863 * config.host: Add moxiebox configuration suppport.
5864
5865 2014-07-27 Nathan Sidwell <nathan@acm.org>
5866
5867 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5868 (struct gcov_filename): ... here. Include buffer and max length
5869 fields.
5870 (gcov_max_filename): Remove.
5871 (gi_filename): Remove.
5872 (gcov_exit_compute_summary): Compute max filename here.
5873 (gcov_exit_merge_gcda): Add filename parm, adjust.
5874 (gcov_exit_merge_summary): Likewise.
5875 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5876 (gcov_exit): Likewise.
5877 (__gcov_init): Don't calculate max length here.
5878 * libgcov_util.c (max_filename_len): Remove.
5879 (read_gcda_file): Don't calculate max length here.
5880 (gcov_read_profile_dir): Don't propagate here.
5881 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5882 struct gcov_filename changes.
5883 (gcov_exit_open_gcda_file): Likewise.
5884
5885 2014-07-25 Nathan Sidwell <nathan@acm.org>
5886
5887 * libgcov-driver.c (set_gcov_dump_complete,
5888 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5889 functions polluting user's namespace.
5890 (gcov_exit): Set variable directly.
5891 (gcov_clear): Reset variable directly.
5892 * libgcov-interface.c (get_gcov_dymp_complete,
5893 reset_gov_dump_complete): Remove declarations.
5894 (__gcov_reset, __gcov_dump): Don't call them.
5895
5896 2014-07-24 DJ Delorie <dj@redhat.com>
5897
5898 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5899 (__gcc_deregister_frame): Move logic to detect deregister function
5900 to ...
5901 (__gcc_register_frame): here, so it's consistent with the register
5902 logic.
5903
5904 2014-07-23 Nathan Sidwell <nathan@acm.org>
5905
5906 * libgcov-driver.c (set_gcov_list): Remove.
5907 (gcov_list): Make non-static in GCOV_TOOL.
5908 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5909
5910 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5911
5912 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5913 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5914 Don't use SYNC_LOCK_RELEASE for int type.
5915
5916 2014-07-14 Richard Biener <rguenther@suse.de>
5917
5918 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5919
5920 2014-07-11 Rong Xu <xur@google.com>
5921
5922 * libgcov-util.c (gcov_max_filename): Fix declartion.
5923
5924 2014-07-10 Rong Xu <xur@google.com>
5925
5926 Add gcov-tool: an offline gcda profile processing tool
5927 Support.
5928 * libgcov-driver.c (gcov_max_filename): Make available
5929 to gcov-tool.
5930 * libgcov-merge.c (__gcov_merge_add): Replace
5931 gcov_read_counter() with a Macro.
5932 (__gcov_merge_ior): Ditto.
5933 (__gcov_merge_time_profile): Ditto.
5934 (__gcov_merge_single): Ditto.
5935 (__gcov_merge_delta): Ditto.
5936 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5937 in the utility functions.
5938 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5939 gcov_list object link lists.
5940 (tag_function): Ditto.
5941 (tag_blocks): Ditto.
5942 (tag_arcs): Ditto.
5943 (tag_lines): Ditto.
5944 (tag_counters): Ditto.
5945 (tag_summary): Ditto.
5946 (read_gcda_finalize): Ditto.
5947 (read_gcda_file): Ditto.
5948 (ftw_read_file): Ditto.
5949 (read_profile_dir_init): Ditto.
5950 (gcov_read_profile_dir): Ditto.
5951 (gcov_read_counter_mem): Ditto.
5952 (gcov_get_merge_weight): Ditto.
5953 (merge_wrapper): A wrapper function that calls merging handler.
5954 (gcov_merge): Merge two gcov_info objects with weights.
5955 (find_match_gcov_info): Find the matched gcov_info in the list.
5956 (gcov_profile_merge): Merge two gcov_info object lists.
5957 (__gcov_add_counter_op): Process edge profile counter values.
5958 (__gcov_ior_counter_op): Process IOR profile counter values.
5959 (__gcov_delta_counter_op): Process delta profile counter values.
5960 (__gcov_single_counter_op): Process single profile counter values.
5961 (fp_scale): Callback function for float-point scaling.
5962 (int_scale): Callback function for integer fraction scaling.
5963 (gcov_profile_scale): Scaling profile counters.
5964 (gcov_profile_normalize): Normalize profile counters.
5965 * libgcov.h: Add headers and functions for gcov-tool use.
5966 (gcov_get_counter): New.
5967 (gcov_get_counter_target): Ditto.
5968 (struct gcov_info): Make the functions field mutable in gcov-tool
5969 compilation.
5970
5971 2014-06-23 Kai Tietz <ktietz@redhat.com>
5972
5973 PR libgcc/61585
5974 * unwind-seh.c (_Unwind_GetGR): Check for proper
5975 index range.
5976 (_Unwind_SetGR): Likewise.
5977
5978 2014-05-22 Nick Clifton <nickc@redhat.com>
5979
5980 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5981 -mhwmult=none.
5982
5983 2014-05-22 Teresa Johnson <tejohnson@google.com>
5984
5985 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5986 include.
5987
5988 2014-05-20 John Marino <gnugcc@marino.st>
5989
5990 * config.host (*-*-dragonfly*): New target.
5991 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5992 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5993 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5994 * config/i386/dragonfly-unwind.h: New.
5995
5996 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5997
5998 PR libgcc/60166
5999 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6000 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6001
6002 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6003
6004 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6005 implementation.
6006
6007 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
6008
6009 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6010
6011 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6012
6013 PR libgcc/61097
6014 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6015 if --enable-shared.
6016
6017 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6018
6019 Work around for current cygwin32 build problems.
6020 * config/i386/cygming-crtbegin.c (__register_frame_info,
6021 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6022 functions only for 64-bit systems.
6023
6024 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6025
6026 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6027 (sigill_caught, sigill_hdlr): Remove.
6028
6029 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6030
6031 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6032 check.
6033 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6034 Solaris 9 single-threaded support.
6035 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6036 Solaris 9 single-threaded support. Add call_user_handler code
6037 sequences.
6038 (sparc_is_sighandler): Likewise.
6039
6040 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6041
6042 * config.host: Append t-floattodi to tmake_file depending on
6043 host_address.
6044
6045 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6046
6047 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6048
6049 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
6050
6051 PR libgcc/60472
6052 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6053 variable to avoid "array subscript is above array bounds" warnings.
6054 Use __builtin_expect when checking *jcr_list for NULL.
6055
6056 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6057
6058 PR libgcc/59339
6059 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6060 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6061 vtv_*.o to extra_parts if enable_vtable_verify.
6062
6063 2014-03-06 Nick Clifton <nickc@redhat.com>
6064
6065 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6066 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6067
6068 2014-02-28 Joey Ye <joey.ye@arm.com>
6069
6070 PR libgcc/60166
6071 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6072 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6073 Set to zero.
6074
6075 2014-02-24 Walter Lee <walt@tilera.com>
6076
6077 * config.host: Support "tilegx*" and "tilepro*" triplets.
6078 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6079 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6080
6081 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6082 Chung-Lin Tang <cltang@codesourcery.com>
6083
6084 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6085 * config/nios2/crti.S: Remove .file directive.
6086 * config/nios2/crtn.S: Likewise.
6087
6088 2014-02-18 Kai Tietz <ktietz@redhat.com>
6089 Jonathan Schleifer <js@webkeks.org>
6090
6091 PR objc/56870
6092 * unwind-seh.c (_GCC_specific_handler): Pass proper
6093 value to unwind-handler.
6094
6095 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6096
6097 * soft-fp/adddf3.c: Update from glibc.
6098 * soft-fp/addsf3.c: Likewise.
6099 * soft-fp/addtf3.c: Likewise.
6100 * soft-fp/divdf3.c: Likewise.
6101 * soft-fp/divsf3.c: Likewise.
6102 * soft-fp/divtf3.c: Likewise.
6103 * soft-fp/double.h: Likewise.
6104 * soft-fp/eqdf2.c: Likewise.
6105 * soft-fp/eqsf2.c: Likewise.
6106 * soft-fp/eqtf2.c: Likewise.
6107 * soft-fp/extenddftf2.c: Likewise.
6108 * soft-fp/extended.h: Likewise.
6109 * soft-fp/extendsfdf2.c: Likewise.
6110 * soft-fp/extendsftf2.c: Likewise.
6111 * soft-fp/extendxftf2.c: Likewise.
6112 * soft-fp/fixdfdi.c: Likewise.
6113 * soft-fp/fixdfsi.c: Likewise.
6114 * soft-fp/fixdfti.c: Likewise.
6115 * soft-fp/fixsfdi.c: Likewise.
6116 * soft-fp/fixsfsi.c: Likewise.
6117 * soft-fp/fixsfti.c: Likewise.
6118 * soft-fp/fixtfdi.c: Likewise.
6119 * soft-fp/fixtfsi.c: Likewise.
6120 * soft-fp/fixtfti.c: Likewise.
6121 * soft-fp/fixunsdfdi.c: Likewise.
6122 * soft-fp/fixunsdfsi.c: Likewise.
6123 * soft-fp/fixunsdfti.c: Likewise.
6124 * soft-fp/fixunssfdi.c: Likewise.
6125 * soft-fp/fixunssfsi.c: Likewise.
6126 * soft-fp/fixunssfti.c: Likewise.
6127 * soft-fp/fixunstfdi.c: Likewise.
6128 * soft-fp/fixunstfsi.c: Likewise.
6129 * soft-fp/fixunstfti.c: Likewise.
6130 * soft-fp/floatdidf.c: Likewise.
6131 * soft-fp/floatdisf.c: Likewise.
6132 * soft-fp/floatditf.c: Likewise.
6133 * soft-fp/floatsidf.c: Likewise.
6134 * soft-fp/floatsisf.c: Likewise.
6135 * soft-fp/floatsitf.c: Likewise.
6136 * soft-fp/floattidf.c: Likewise.
6137 * soft-fp/floattisf.c: Likewise.
6138 * soft-fp/floattitf.c: Likewise.
6139 * soft-fp/floatundidf.c: Likewise.
6140 * soft-fp/floatundisf.c: Likewise.
6141 * soft-fp/floatunditf.c: Likewise.
6142 * soft-fp/floatunsidf.c: Likewise.
6143 * soft-fp/floatunsisf.c: Likewise.
6144 * soft-fp/floatunsitf.c: Likewise.
6145 * soft-fp/floatuntidf.c: Likewise.
6146 * soft-fp/floatuntisf.c: Likewise.
6147 * soft-fp/floatuntitf.c: Likewise.
6148 * soft-fp/gedf2.c: Likewise.
6149 * soft-fp/gesf2.c: Likewise.
6150 * soft-fp/getf2.c: Likewise.
6151 * soft-fp/ledf2.c: Likewise.
6152 * soft-fp/lesf2.c: Likewise.
6153 * soft-fp/letf2.c: Likewise.
6154 * soft-fp/muldf3.c: Likewise.
6155 * soft-fp/mulsf3.c: Likewise.
6156 * soft-fp/multf3.c: Likewise.
6157 * soft-fp/negdf2.c: Likewise.
6158 * soft-fp/negsf2.c: Likewise.
6159 * soft-fp/negtf2.c: Likewise.
6160 * soft-fp/op-1.h: Likewise.
6161 * soft-fp/op-2.h: Likewise.
6162 * soft-fp/op-4.h: Likewise.
6163 * soft-fp/op-8.h: Likewise.
6164 * soft-fp/op-common.h: Likewise.
6165 * soft-fp/quad.h: Likewise.
6166 * soft-fp/single.h: Likewise.
6167 * soft-fp/soft-fp.h: Likewise.
6168 * soft-fp/subdf3.c: Likewise.
6169 * soft-fp/subsf3.c: Likewise.
6170 * soft-fp/subtf3.c: Likewise.
6171 * soft-fp/truncdfsf2.c: Likewise.
6172 * soft-fp/trunctfdf2.c: Likewise.
6173 * soft-fp/trunctfsf2.c: Likewise.
6174 * soft-fp/trunctfxf2.c: Likewise.
6175 * soft-fp/unorddf2.c: Likewise.
6176 * soft-fp/unordsf2.c: Likewise.
6177 * soft-fp/unordtf2.c: Likewise.
6178 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6179 macro.
6180 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6181 Likewise.
6182 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6183 Likewise.
6184 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6185 Likewise.
6186 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6187 Likewise.
6188 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6189 Likewise.
6190 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6191 Likewise.
6192 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6193 Likewise.
6194 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6195 Likewise.
6196 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6197 Likewise.
6198 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6199 Likewise.
6200 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6201 Likewise.
6202 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6203 Likewise.
6204 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6205 Likewise.
6206 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6207 Likewise.
6208 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6209 Likewise.
6210
6211 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6212
6213 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6214 cannot be represented.
6215 * config/s390/32/_fixsfdi.c: Likewise.
6216 * config/s390/32/_fixtfdi.c: Likewise.
6217 * config/s390/32/_fixunsdfdi.c: Likewise.
6218 * config/s390/32/_fixunssfdi.c: Likewise.
6219 * config/s390/32/_fixunstfdi.c: Likewise.
6220
6221 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6222
6223 * configure.ac (libgcc_cv_mips_hard_float): New.
6224 * configure: Regenerate.
6225 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6226 t-softfp-sfdf for hard-float targets.
6227 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6228 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6229 (softfp_truncations, softfp_exclude_libgcc2): New.
6230 * config/t-hardfp: New file.
6231 * config/t-hardfp-sfdf: Likewise.
6232 * config/hardfp.c: Likewise.
6233
6234 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6235
6236 * config.host: Include t-floattodi also for s390x.
6237 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6238 * config/s390/32/_fixsfdi.c: Likewise.
6239 * config/s390/32/_fixtfdi.c: Likewise.
6240 * config/s390/32/_fixunsdfdi.c: Likewise.
6241 * config/s390/32/_fixunssfdi.c: Likewise.
6242 * config/s390/32/_fixunstfdi.c: Likewise.
6243
6244 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6245
6246 PR target/59788
6247 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6248 (install-libgcc-unwind-map-forbuild): New target.
6249 (all): Depend on install-libgcc-unwind-map-forbuild.
6250 (install-libgcc-unwind-map): New target.
6251 (install): Depend on install-libgcc-unwind-map.
6252
6253 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6254
6255 * config/nios2/crti.S (_init): Initialize GOT pointer from
6256 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6257
6258 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6259
6260 * configure.ac: Check __mips64 when setting host_address.
6261 * configure: Regenerate.
6262 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6263 mips/t-mips64 and t-softfp.
6264 (mips*-*-linux*): Don't add mips/t-tpbit.
6265 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6266 (DPBIT, DPBIT_CFLAGS): Delete.
6267 * config/mips/sfp-machine.h: New file.
6268 * config/mips/t-mips64: Likewise.
6269 * config/mips/t-softfp-tf: Likewise.
6270 * config/mips/t-tpbit: Delete.
6271
6272 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6273
6274 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6275 as long long.
6276
6277 2014-01-25 Walter Lee <walt@tilera.com>
6278
6279 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6280 config.h or system.h.
6281 (bool) Define.
6282
6283 2014-01-25 Walter Lee <walt@tilera.com>
6284
6285 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6286 (post_atomic_barrier): Ditto.
6287 (__fetch_and_do): New macro.
6288 (__atomic_fetch_and_do): Use __fetch_and_do.
6289 (__sync_fetch_and_do): New macro.
6290 (__sync_fetch_and_add_4): New function.
6291 (__sync_fetch_and_sub_4): New function.
6292 (__sync_fetch_and_or_4): New function.
6293 (__sync_fetch_and_and_4): New function.
6294 (__sync_fetch_and_xor_4): New function.
6295 (__sync_fetch_and_nand_4): New function.
6296 (__sync_fetch_and_add_8): New function.
6297 (__sync_fetch_and_sub_8): New function.
6298 (__sync_fetch_and_or_8): New function.
6299 (__sync_fetch_and_and_8): New function.
6300 (__sync_fetch_and_xor_8): New function.
6301 (__sync_fetch_and_nand_8): New function.
6302 (__do_and_fetch): New macro.
6303 (__atomic_do_and_fetch): Use __do_and_fetch.
6304 (__sync_do_and_fetch): New macro.
6305 (__sync_add_and_fetch_4): New function.
6306 (__sync_sub_and_fetch_4): New function.
6307 (__sync_or_and_fetch_4): New function.
6308 (__sync_and_and_fetch_4): New function.
6309 (__sync_xor_and_fetch_4): New function.
6310 (__sync_nand_and_fetch_4): New function.
6311 (__sync_add_and_fetch_8): New function.
6312 (__sync_sub_and_fetch_8): New function.
6313 (__sync_or_and_fetch_8): New function.
6314 (__sync_and_and_fetch_8): New function.
6315 (__sync_xor_and_fetch_8): New function.
6316 (__sync_nand_and_fetch_8): New function.
6317 (__sync_exchange_methods): New macro.
6318 (__sync_val_compare_and_swap_4): New function.
6319 (__sync_bool_compare_and_swap_4): New function.
6320 (__sync_lock_test_and_test_4): New function.
6321 (__sync_val_compare_and_swap_8): New function.
6322 (__sync_bool_compare_and_swap_8): New function.
6323 (__sync_lock_test_and_test_8): New function.
6324 (__subword_cmpxchg_body): New macro.
6325 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6326 (__atomic_compare_exchange_2): Ditto.
6327 (__sync_subword_cmpxchg): New macro.
6328 (__sync_val_compare_and_swap_1): New function.
6329 (__sync_bool_compare_and_swap_1): New function.
6330 (__sync_val_compare_and_swap_2): New function.
6331 (__sync_bool_compare_and_swap_2): New function.
6332 (__atomic_subword): Rename to ...
6333 (__subword): ... New name.
6334 (__atomic_subword_fetch): Use __subword.
6335 (__sync_subword_fetch): New macro.
6336 (__sync_fetch_and_add_1): New function.
6337 (__sync_fetch_and_sub_1): New function.
6338 (__sync_fetch_and_or_1): New function.
6339 (__sync_fetch_and_and_1): New function.
6340 (__sync_fetch_and_xor_1): New function.
6341 (__sync_fetch_and_nand_1): New function.
6342 (__sync_fetch_and_add_2): New function.
6343 (__sync_fetch_and_sub_2): New function.
6344 (__sync_fetch_and_or_2): New function.
6345 (__sync_fetch_and_and_2): New function.
6346 (__sync_fetch_and_xor_2): New function.
6347 (__sync_fetch_and_nand_2): New function.
6348 (__sync_add_and_fetch_1): New function.
6349 (__sync_sub_and_fetch_1): New function.
6350 (__sync_or_and_fetch_1): New function.
6351 (__sync_and_and_fetch_1): New function.
6352 (__sync_xor_and_fetch_1): New function.
6353 (__sync_nand_and_fetch_1): New function.
6354 (__sync_add_and_fetch_2): New function.
6355 (__sync_sub_and_fetch_2): New function.
6356 (__sync_or_and_fetch_2): New function.
6357 (__sync_and_and_fetch_2): New function.
6358 (__sync_xor_and_fetch_2): New function.
6359 (__sync_nand_and_fetch_2): New function.
6360 (__atomic_subword_lock): Use __subword.
6361 (__sync_subword_lock): New macro.
6362 (__sync_lock_test_and_set_1): New function.
6363 (__sync_lock_test_and_set_2): New function.
6364
6365 2014-01-25 Walter Lee <walt@tilera.com>
6366
6367 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6368 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6369 (__atomic_subword): Ditto.
6370
6371 2014-01-25 Walter Lee <walt@tilera.com>
6372
6373 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6374 a prefix op argument.
6375 (__atomic_nand_fetch_4): Add prefix op.
6376 (__atomic_nand_fetch_8): Ditto.
6377
6378 2014-01-21 Baruch Siach <barch@tkos.co.il>
6379
6380 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6381
6382 2014-01-09 Rong Xu <xur@google.com>
6383
6384 * libgcov-driver.c (this_prg): make it local to save
6385 bss space.
6386 (gcov_exit_compute_summary): Ditto.
6387 (gcov_exit_merge_gcda): Ditto.
6388 (gcov_exit_merge_summary): Ditto.
6389 (gcov_exit_dump_gcov): Ditto.
6390
6391 2014-01-08 Rong Xu <xur@google.com>
6392
6393 * libgcov-driver.c: Use libgcov.h.
6394 (buffer_fn_data): Use xmalloc instead of malloc.
6395 (gcov_exit_merge_gcda): Ditto.
6396 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6397 * libgcov.h: New common header files for libgcov-*.h.
6398 * libgcov-interface.c: Use libgcov.h
6399 * libgcov-merge.c: Ditto.
6400 * libgcov-profiler.c: Ditto.
6401 * Makefile.in: Add dependence to libgcov.h
6402
6403 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6404
6405 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6406 case of small numerator and finite nonzero result.
6407
6408 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6409
6410 Update copyright years
6411
6412 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6413
6414 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6415 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6416 config/arc/dp-hack.h, config/arc/fp-hack.h,
6417 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6418 config/arc/ieee-754/arc600-dsp/divdf3.S,
6419 config/arc/ieee-754/arc600-dsp/divsf3.S,
6420 config/arc/ieee-754/arc600-dsp/muldf3.S,
6421 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6422 config/arc/ieee-754/arc600-mul64/divdf3.S,
6423 config/arc/ieee-754/arc600-mul64/divsf3.S,
6424 config/arc/ieee-754/arc600-mul64/muldf3.S,
6425 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6426 config/arc/ieee-754/arc600/divsf3.S,
6427 config/arc/ieee-754/arc600/mulsf3.S,
6428 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6429 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6430 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6431 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6432 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6433 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6434 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6435 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6436 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6437 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6438 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6439 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6440 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6441 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6442 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6443 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6444 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6445 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6446 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6447 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6448 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6449 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6450 vtv_start_preinit.c: Use the standard form for the copyright notice.
6451
6452 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6453 Chung-Lin Tang <cltang@codesourcery.com>
6454 Based on patches from Altera Corporation
6455
6456 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6457 * config/nios2/lib2-nios2.h: New file.
6458 * config/nios2/lib2-divmod-hi.c: New file.
6459 * config/nios2/linux-unwind.h: New file.
6460 * config/nios2/lib2-divmod.c: New file.
6461 * config/nios2/linux-atomic.c: New file.
6462 * config/nios2/t-nios2: New file.
6463 * config/nios2/crti.asm: New file.
6464 * config/nios2/t-linux: New file.
6465 * config/nios2/lib2-divtable.c: New file.
6466 * config/nios2/lib2-mul.c: New file.
6467 * config/nios2/tramp.c: New file.
6468 * config/nios2/crtn.asm: New file.
6469
6470 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
6471
6472 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6473 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6474 from cpuid.h to check vendor signatures.
6475
6476 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6477
6478 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6479 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6480 (get_amd_cpu): Likewise.
6481
6482 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6483
6484 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6485 Haswell.
6486
6487 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6488 H.J. Lu <hongjiu.lu@intel.com>
6489
6490 PR target/59422
6491 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
6492 and AMD_JAGUAR.
6493 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6494 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6495 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6496 FEATURE_XOP and FEATURE_FMA.
6497 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6498 AMDFAM15H_BDVER3.
6499 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6500 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6501 FEATURE_FMA4 and FEATURE_XOP.
6502
6503 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6504
6505 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6506 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6507 (get_intel_cpu): Updated.
6508
6509 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6510
6511 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6512
6513 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6514
6515 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6516 instructions when __SSE_MATH__ is defined.
6517
6518 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6519
6520 * config.host (microblaze-*-rtems*): New.
6521
6522 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6523
6524 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6525 architectures that do not have hardware divide instruction.
6526 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6527
6528 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6529
6530 * longlong.h: Delete (moved to include/).
6531
6532 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6533
6534 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6535 of normal number and qNaN to not raise an inexact exception.
6536
6537 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6538
6539 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6540
6541 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6542
6543 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6544 for correct opcodes on BE.
6545
6546 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6547
6548 * soft-fp/op-4.h: Update from glibc.
6549
6550 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6551
6552 * libgcc2.c (__udivmoddi4): Define new implementation when
6553 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6554 divide instructions.
6555
6556 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6557
6558 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6559
6560 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6561
6562 * config/t-softfp (soft-fp-objects-base): New variable.
6563 (soft-fp-objects): Use it.
6564
6565 2013-11-23 David Edelson <dje.gcc@gmail.com>
6566 Andrew Dixie <andrewd@gentrack.com>
6567
6568 PR target/33704
6569 * config/rs6000/aixinitfini.c: New file.
6570 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6571 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6572 symbols.
6573
6574 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6575
6576 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6577
6578 2013-11-18 Jan Hubicka <jh@suse.cz>
6579
6580 * libgcov-driver.c (run_accounted): Make global level static.
6581 (gcov_exit_merge_summary): Silence warning; do not clear
6582 run_accounted here.
6583 (gcov_exit): Clear it here.
6584
6585 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6586 run_accounted.
6587
6588 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6589 (all_prg, crc32): Remove static vars.
6590 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6591 all_prg.
6592 (gcov_exit_merge_gcda): Add crc32 parameter.
6593 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6594 do not account run if it was already accounted.
6595 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6596 (gcov_exit): Initialize all_prg; update.
6597
6598 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6599
6600 * configure: Regenerate.
6601
6602 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6603 Alan Modra <amodra@gmail.com>
6604
6605 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6606 (frob_update_context): Use it.
6607
6608 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6609 Alan Modra <amodra@gmail.com>
6610
6611 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6612 (trampoline_initial): Provide ELFv2 variant.
6613 (__trampoline_setup): Likewise.
6614
6615 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6616 check for AIX indirect function call sequence if _CALL_ELF == 2.
6617
6618 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6619 Alan Modra <amodra@gmail.com>
6620
6621 * config/rs6000/linux-unwind.h (get_regs): Do not support
6622 old kernel versions if _CALL_ELF == 2.
6623 (frob_update_context): Do not support PLT stub variants only
6624 generated by old linkers if _CALL_ELF == 2.
6625
6626 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6627 Alan Modra <amodra@gmail.com>
6628
6629 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6630 location of CR save area for 64-bit little-endian systems.
6631
6632 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6633
6634 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6635 in tmake_file.
6636 * config/arm/t-vxworks: Delete.
6637
6638 2013-11-10 Kai Tietz <ktietz@redhat.com>
6639
6640 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6641 Increment load-count on use of LIBGCC_SONAME DLL.
6642 (hmod_libgcc): New static variable to hold handle of
6643 LIBGCC_SONAME DLL.
6644 (__gcc_deregister_frame): Decrement load-count of
6645 LIBGCC_SONAME DLL.
6646
6647 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6648
6649 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6650 availability.
6651 * configure: Regenerate
6652
6653 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6654
6655 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6656 FP_EX_DENORM. Store result to volatile location after SSE division
6657 to close interrupt window. Remove unneeded fwait after x87
6658 division since interrupt window will be closed by emitted fstp.
6659 Rewrite FP_EX_INEXACT handling.
6660
6661 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6662
6663 * soft-fp/README: Update.
6664 * soft-fp/adddf3.c: Update from glibc.
6665 * soft-fp/addsf3.c: Likewise.
6666 * soft-fp/addtf3.c: Likewise.
6667 * soft-fp/divdf3.c: Likewise.
6668 * soft-fp/divsf3.c: Likewise.
6669 * soft-fp/divtf3.c: Likewise.
6670 * soft-fp/double.h: Likewise.
6671 * soft-fp/eqdf2.c: Likewise.
6672 * soft-fp/eqsf2.c: Likewise.
6673 * soft-fp/eqtf2.c: Likewise.
6674 * soft-fp/extenddftf2.c: Likewise.
6675 * soft-fp/extended.h: Likewise.
6676 * soft-fp/extendsfdf2.c: Likewise.
6677 * soft-fp/extendsftf2.c: Likewise.
6678 * soft-fp/extendxftf2.c: Likewise.
6679 * soft-fp/fixdfdi.c: Likewise.
6680 * soft-fp/fixdfsi.c: Likewise.
6681 * soft-fp/fixdfti.c: Likewise.
6682 * soft-fp/fixsfdi.c: Likewise.
6683 * soft-fp/fixsfsi.c: Likewise.
6684 * soft-fp/fixsfti.c: Likewise.
6685 * soft-fp/fixtfdi.c: Likewise.
6686 * soft-fp/fixtfsi.c: Likewise.
6687 * soft-fp/fixtfti.c: Likewise.
6688 * soft-fp/fixunsdfdi.c: Likewise.
6689 * soft-fp/fixunsdfsi.c: Likewise.
6690 * soft-fp/fixunsdfti.c: Likewise.
6691 * soft-fp/fixunssfdi.c: Likewise.
6692 * soft-fp/fixunssfsi.c: Likewise.
6693 * soft-fp/fixunssfti.c: Likewise.
6694 * soft-fp/fixunstfdi.c: Likewise.
6695 * soft-fp/fixunstfsi.c: Likewise.
6696 * soft-fp/fixunstfti.c: Likewise.
6697 * soft-fp/floatdidf.c: Likewise.
6698 * soft-fp/floatdisf.c: Likewise.
6699 * soft-fp/floatditf.c: Likewise.
6700 * soft-fp/floatsidf.c: Likewise.
6701 * soft-fp/floatsisf.c: Likewise.
6702 * soft-fp/floatsitf.c: Likewise.
6703 * soft-fp/floattidf.c: Likewise.
6704 * soft-fp/floattisf.c: Likewise.
6705 * soft-fp/floattitf.c: Likewise.
6706 * soft-fp/floatundidf.c: Likewise.
6707 * soft-fp/floatundisf.c: Likewise.
6708 * soft-fp/floatunditf.c: Likewise.
6709 * soft-fp/floatunsidf.c: Likewise.
6710 * soft-fp/floatunsisf.c: Likewise.
6711 * soft-fp/floatunsitf.c: Likewise.
6712 * soft-fp/floatuntidf.c: Likewise.
6713 * soft-fp/floatuntisf.c: Likewise.
6714 * soft-fp/floatuntitf.c: Likewise.
6715 * soft-fp/gedf2.c: Likewise.
6716 * soft-fp/gesf2.c: Likewise.
6717 * soft-fp/getf2.c: Likewise.
6718 * soft-fp/ledf2.c: Likewise.
6719 * soft-fp/lesf2.c: Likewise.
6720 * soft-fp/letf2.c: Likewise.
6721 * soft-fp/muldf3.c: Likewise.
6722 * soft-fp/mulsf3.c: Likewise.
6723 * soft-fp/multf3.c: Likewise.
6724 * soft-fp/negdf2.c: Likewise.
6725 * soft-fp/negsf2.c: Likewise.
6726 * soft-fp/negtf2.c: Likewise.
6727 * soft-fp/op-1.h: Likewise.
6728 * soft-fp/op-2.h: Likewise.
6729 * soft-fp/op-4.h: Likewise.
6730 * soft-fp/op-8.h: Likewise.
6731 * soft-fp/op-common.h: Likewise.
6732 * soft-fp/quad.h: Likewise.
6733 * soft-fp/single.h: Likewise.
6734 * soft-fp/soft-fp.h: Likewise.
6735 * soft-fp/subdf3.c: Likewise.
6736 * soft-fp/subsf3.c: Likewise.
6737 * soft-fp/subtf3.c: Likewise.
6738 * soft-fp/truncdfsf2.c: Likewise.
6739 * soft-fp/trunctfdf2.c: Likewise.
6740 * soft-fp/trunctfsf2.c: Likewise.
6741 * soft-fp/trunctfxf2.c: Likewise.
6742 * soft-fp/unorddf2.c: Likewise.
6743 * soft-fp/unordsf2.c: Likewise.
6744 * soft-fp/unordtf2.c: Likewise.
6745
6746 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6747
6748 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6749 (_FP_MUL_MEAT_D): Ditto.
6750 (_FP_DIV_MEAT_S): Ditto.
6751 (_FP_DIV_MEAT_D): Ditto.
6752 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6753 t-softfp-sfdf and t-softfp to tmake_file.
6754
6755 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6756
6757 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6758 * config/i386/crtprec.c: Ditto.
6759
6760 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6761 Shiva Chen <shiva0217@gmail.com>
6762
6763 * config.host (nds32*-elf*): Add nds32 target.
6764 * config/nds32 : New directory and files.
6765
6766 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6767
6768 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6769 * config.host (cpu_type) <Setting default>: Add entry for
6770 crisv32-*-*.
6771 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6772 <crisv32-*-linux*>: Adjust.
6773 * longlong.h: Wrap the whole CRIS section in a single
6774 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6775 and sub_ddmmss.
6776 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6777 defined.
6778 [__CRIS__] (__umulsidi3): Define.
6779 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6780 * config/cris/sfp-machine.h: New file.
6781 * config/cris/umulsidi3.S: New file.
6782 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6783 * config/cris/arit.c (SIGNMULT): New macro.
6784 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6785 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6786 saving 3 out of originally 33 cycles from the fastest
6787 path, 3 out of 54 from the medium path and one from the longest
6788 path. Improve comments.
6789
6790 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6791
6792 * sync.c: Remove static aliases and define each function directly
6793 under its real name.
6794
6795 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6796
6797 * config.host (hppa*64*-*-linux*): Define extra_parts.
6798 (hppa*-*-linux*): Likewise.
6799
6800 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6801
6802 * config/arc/crtgend.S: Add 2013 to Copyright years.
6803 * config/arc/gmon/atomic.h: Likewise.
6804 * config/arc/gmon/auxreg.h: Likewise.
6805 * config/arc/gmon/sys/gmon_out.h: Likewise.
6806 * config/arc/gmon/sys/gmon.h: Likewise.
6807 * config/arc/gmon/prof-freq.c: Likewise.
6808 * config/arc/gmon/mcount.c: Likewise.
6809 * config/arc/gmon/prof-freq-stub.S: Likewise.
6810 * config/arc/gmon/gmon.c: Likewise.
6811 * config/arc/gmon/machine-gmon.h: Likewise.
6812 * config/arc/gmon/profil.S: Likewise.
6813 * config/arc/gmon/dcache_linesz.S: Likewise.
6814 * config/arc/crtg.S: Likewise.
6815 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6816 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6817 * config/arc/ieee-754/adddf3.S: Likewise.
6818 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6819 * config/arc/ieee-754/fixsfsi.S: Likewise.
6820 * config/arc/ieee-754/gtsf2.S: Likewise.
6821 * config/arc/ieee-754/floatsisf.S: Likewise.
6822 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6823 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6824 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6825 * config/arc/ieee-754/fixdfsi.S: Likewise.
6826 * config/arc/ieee-754/addsf3.S: Likewise.
6827 * config/arc/ieee-754/gesf2.S: Likewise.
6828 * config/arc/ieee-754/floatsidf.S: Likewise.
6829 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6830 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6831 * config/arc/ieee-754/gtdf2.S: Likewise.
6832 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6833 * config/arc/ieee-754/uneqdf2.S: Likewise.
6834 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6835 * config/arc/ieee-754/uneqsf2.S: Likewise.
6836 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6837 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6838 * config/arc/ieee-754/eqdf2.S: Likewise.
6839 * config/arc/ieee-754/ordsf2.S: Likewise.
6840 * config/arc/ieee-754/divsf3.S: Likewise.
6841 * config/arc/ieee-754/divdf3.S: Likewise.
6842 * config/arc/ieee-754/floatunsidf.S: Likewise.
6843 * config/arc/ieee-754/orddf2.S: Likewise.
6844 * config/arc/ieee-754/eqsf2.S: Likewise.
6845 * config/arc/ieee-754/gedf2.S: Likewise.
6846 * config/arc/crtn.S: Likewise.
6847 * config/arc/crti.S: Likewise.
6848 * config/arc/t-arc700-uClibc: Likewise.
6849 * config/arc/asm.h: Likewise.
6850 * config/arc/libgcc-excl.ver: Likewise.
6851 * config/arc/t-arc-newlib: Likewise.
6852 * config/arc/divtab-arc700.c: Likewise.
6853 * config/arc/initfini.c: Likewise.
6854 * config/arc/fp-hack.h: Likewise.
6855
6856 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6857 Diego Novillo <dnovillo@google.com>
6858
6859 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6860 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6861 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6862 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6863
6864 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6865 Brendan Kehoe <brendan@zen.org>
6866 Simon Cook <simon.cook@embecosm.com>
6867
6868 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6869 * config/arc: New directory.
6870 * longlong.h [__arc__] (umul_ppmm): Remove.
6871 [__arc__] (__umulsidi3): Define.
6872 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6873 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6874
6875 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6876
6877 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6878 CreateSemaphoreA.
6879 * config/i386/gthr-win32.h: Likewise.
6880
6881 2013-09-16 DJ Delorie <dj@redhat.com>
6882
6883 * config/rl78/vregs.h: Add G10 register definitions.
6884 * config/rl78/lib2mul.c: Enable for RL78/G10.
6885 * config/rl78/lib2div.c: Likewise.
6886 * config/rl78/lshrsi3.S: Use vregs.h.
6887 * config/rl78/cmpsi2.S: Likewise.
6888 * config/rl78/trampoline.S: Likewise.
6889 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6890
6891 2013-09-14 DJ Delorie <dj@redhat.com>
6892 Nick Clifton <nickc@redhat.com>
6893
6894 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6895 * config/rl78/vregs.h: New.
6896 * config/rl78/signbit.S: New file. Implements signbit function.
6897 * config/rl78/divmodsi.S: New.
6898 * config/rl78/divmodhi.S: New.
6899 * config/rl78/divmodqi.S: New.
6900 * config/rl78/t-rl78: Build them here...
6901 * config/rl78/lib2div.c: ...but not here.
6902
6903 2013-09-12 DJ Delorie <dj@redhat.com>
6904
6905 * config.host (msp*-*-elf): New.
6906 * config/msp430/: New port.
6907
6908 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6909
6910 PR gcov-profile/58127
6911 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6912 __thread var for emulated TLS.
6913 (__gcov_indirect_call_counters): Likewise.
6914
6915 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6916 Catherine Moore <clm@codesourcery.com>
6917 Richard Sandiford <rdsandiford@googlemail.com>
6918
6919 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6920 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6921 (CALL_STUB_NO_RET): Likewise.
6922 (CALL_STUB_RET): Likewise.
6923 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6924 __mips16_ret call/return stub symbols.
6925 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6926 to tmake_file.
6927
6928 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6929
6930 * config.host <mips*-*-linux*>: Remove a stray comment.
6931
6932 2013-08-10 Jan Hubicka <jh@suse.cz>
6933
6934 Work around binutils PR14342
6935 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6936 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6937 (L_gcov_indirect_call_profiler_v2): New.
6938
6939 2013-08-06 Jan Hubicka <jh@suse.cz>
6940
6941 * libgcov.c (__gcov_indirect_call_callee,
6942 __gcov_indirect_call_counters): New global vars.
6943 (__gcov_indirect_call_profiler): replace by ...
6944 (__gcov_indirect_call_profiler_v2) ... this one.
6945
6946 2013-08-06 Caroline Tice <cmtice@google.com>
6947
6948 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6949 vtv_start_preinit.o and vtv_end_preinit.o.
6950 * configure.ac: Add code to check/set enable_vtable_verify.
6951 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6952 true.
6953 * vtv_start_preinit.c: New file.
6954 * vtv_end_preinit.c: New file.
6955 * vtv_start.c: New file.
6956 * vtv_end.c: New file.
6957 * configure: Regenerated.
6958
6959 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6960
6961 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6962 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6963 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6964 GPL-3.0-with-GCC-exception.
6965
6966 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6967
6968 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6969 ISA and up.
6970
6971 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6972
6973 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6974 mapping for FPRs when creating the fallback framestate.
6975
6976 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6977
6978 PR target/57516
6979 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6980 (__round_s2_const, __round_u2_const)
6981 (__round_s4_const, __round_u4_const, __round_x8):
6982 Saturate result if addition result cannot be represented.
6983
6984 2013-07-15 Matthias Klose <doko@ubuntu.com>
6985
6986 * libgcc2.c: Don't include <limits.h>.
6987
6988 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6989
6990 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6991
6992 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6993
6994 PR target/29776
6995 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6996
6997 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6998
6999 PR middle-end/36041
7000 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7001 Define.
7002 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7003 instead of table lookups.
7004 (__popcountDI2): Likewise.
7005
7006 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7007
7008 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7009 correctly.
7010
7011 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7012
7013 PR other/53317
7014 * soft-fp/adddf3.c: Update from glibc.
7015 * soft-fp/addsf3.c: Likewise.
7016 * soft-fp/addtf3.c: Likewise.
7017 * soft-fp/divdf3.c: Likewise.
7018 * soft-fp/divsf3.c: Likewise.
7019 * soft-fp/divtf3.c: Likewise.
7020 * soft-fp/double.h: Likewise.
7021 * soft-fp/eqdf2.c: Likewise.
7022 * soft-fp/eqsf2.c: Likewise.
7023 * soft-fp/eqtf2.c: Likewise.
7024 * soft-fp/extenddftf2.c: Likewise.
7025 * soft-fp/extended.h: Likewise.
7026 * soft-fp/extendsfdf2.c: Likewise.
7027 * soft-fp/extendsftf2.c: Likewise.
7028 * soft-fp/fixdfdi.c: Likewise.
7029 * soft-fp/fixdfsi.c: Likewise.
7030 * soft-fp/fixsfdi.c: Likewise.
7031 * soft-fp/fixsfsi.c: Likewise.
7032 * soft-fp/fixtfdi.c: Likewise.
7033 * soft-fp/fixtfsi.c: Likewise.
7034 * soft-fp/fixunsdfdi.c: Likewise.
7035 * soft-fp/fixunsdfsi.c: Likewise.
7036 * soft-fp/fixunssfdi.c: Likewise.
7037 * soft-fp/fixunssfsi.c: Likewise.
7038 * soft-fp/fixunstfdi.c: Likewise.
7039 * soft-fp/fixunstfsi.c: Likewise.
7040 * soft-fp/floatdidf.c: Likewise.
7041 * soft-fp/floatdisf.c: Likewise.
7042 * soft-fp/floatditf.c: Likewise.
7043 * soft-fp/floatsidf.c: Likewise.
7044 * soft-fp/floatsisf.c: Likewise.
7045 * soft-fp/floatsitf.c: Likewise.
7046 * soft-fp/floatundidf.c: Likewise.
7047 * soft-fp/floatundisf.c: Likewise.
7048 * soft-fp/floatunditf.c: Likewise.
7049 * soft-fp/floatunsidf.c: Likewise.
7050 * soft-fp/floatunsisf.c: Likewise.
7051 * soft-fp/floatunsitf.c: Likewise.
7052 * soft-fp/gedf2.c: Likewise.
7053 * soft-fp/gesf2.c: Likewise.
7054 * soft-fp/getf2.c: Likewise.
7055 * soft-fp/ledf2.c: Likewise.
7056 * soft-fp/lesf2.c: Likewise.
7057 * soft-fp/letf2.c: Likewise.
7058 * soft-fp/muldf3.c: Likewise.
7059 * soft-fp/mulsf3.c: Likewise.
7060 * soft-fp/multf3.c: Likewise.
7061 * soft-fp/negdf2.c: Likewise.
7062 * soft-fp/negsf2.c: Likewise.
7063 * soft-fp/negtf2.c: Likewise.
7064 * soft-fp/op-1.h: Likewise.
7065 * soft-fp/op-2.h: Likewise.
7066 * soft-fp/op-4.h: Likewise.
7067 * soft-fp/op-8.h: Likewise.
7068 * soft-fp/op-common.h: Likewise.
7069 * soft-fp/quad.h: Likewise.
7070 * soft-fp/single.h: Likewise.
7071 * soft-fp/soft-fp.h: Likewise.
7072 * soft-fp/subdf3.c: Likewise.
7073 * soft-fp/subsf3.c: Likewise.
7074 * soft-fp/subtf3.c: Likewise.
7075 * soft-fp/truncdfsf2.c: Likewise.
7076 * soft-fp/trunctfdf2.c: Likewise.
7077 * soft-fp/trunctfsf2.c: Likewise.
7078 * soft-fp/unorddf2.c: Likewise.
7079 * soft-fp/unordsf2.c: Likewise.
7080 * soft-fp/unordtf2.c: Likewise.
7081 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7082 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7083 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7084 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7085 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7086 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7087 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7088 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7089 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7090 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7091 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7092 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7093
7094 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7095
7096 * config/mips/lib2funcs.c: New file.
7097 * config/mips/t-mips (LIB2ADD_ST): Add it.
7098
7099 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7100
7101 PR target/6526
7102 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7103 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7104
7105 2013-06-08 Walter Lee <walt@tilera.com>
7106
7107 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7108 Replace int64_t with long long. Add __extension__ where
7109 appropriate.
7110 * config/tilepro/atomic.c: Include config.h.
7111
7112 2013-06-06 Douglas B Rupp <rupp@adacore.com>
7113
7114 * config.host (arm-wrs-vxworks): Configure with other soft float.
7115
7116 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7117
7118 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7119 (mips64r5900el-*-elf*): New configurations.
7120
7121 2013-06-04 Alan Modra <amodra@gmail.com>
7122
7123 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7124
7125 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7126
7127 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7128
7129 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7130
7131 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7132 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7133 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7134
7135 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7136
7137 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7138 (powerpc-wrs-vxworks): Likewise.
7139
7140 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7141
7142 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7143 signal frames as well.
7144 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7145 STACK_BIAS to the CFA offset.
7146
7147 2013-05-17 Richard Henderson <rth@redhat.com>
7148
7149 PR target/49146
7150 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7151 (execute_cfa_program): Use it when storing to fs->regs.
7152
7153 2013-05-08 Kai Tietz <ktietz@redhat.com>
7154
7155 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7156 (__deregister_frame_info): Likewise.
7157
7158 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7159
7160 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7161 NaN's payload.
7162
7163 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7164
7165 2013-04-25 Alan Modra <amodra@gmail.com>
7166
7167 * config.host: Match little-endian powerpc-linux.
7168
7169 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7170
7171 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7172 as 'unsigned long long' instead of 'unsigned long'.
7173 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7174 'signed long'.
7175
7176 2013-04-10 Julian Brown <julian@codesourcery.com>
7177
7178 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7179 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7180 unsigned char/unsigned short.
7181 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7182
7183 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7184
7185 PR other/55274
7186 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7187
7188 2013-04-04 Meador Inge <meadori@codesourcery.com>
7189
7190 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7191 computing the location of the link register.
7192 (aeabi_uldivmod): Ditto.
7193
7194 2013-03-27 Kai Tietz <ktietz@redhat.com>
7195
7196 * config.host: Add support for cygwin x64 target.
7197 * configure: Regenerated.
7198
7199 2013-03-26 Walter Lee <walt@tilera.com>
7200
7201 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7202 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7203
7204 2013-03-25 Kai Tietz <ktietz@redhat.com>
7205
7206 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7207
7208 2013-03-20 Robert Mason <rbmj@verizon.net>
7209
7210 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7211 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7212 (__gthread_leave_tsd_dtor_context): Add prototypes.
7213 (tls_delete_hook): Update.
7214
7215 2013-03-20 Catherine Moore <clm@codesourcery.com>
7216 Joseph Myers <joseph@codesourcery.com>
7217 Chao-ying Fu <fu@mips.com>
7218
7219 * config/mips/mips16.S: Don't build for microMIPS.
7220 * config/mips/linux-unwind.h: Handle microMIPS frame.
7221 * config/mips/crtn.S (fini, init): New labels.
7222
7223 2013-03-14 Jakub Jelinek <jakub@redhat.com>
7224
7225 PR tree-optimization/53265
7226 * unwind-dw2.c (execute_cfa_program): Avoid
7227 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7228 on targets with DWARF_FRAME_REGISTERS < 32.
7229
7230 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7231
7232 PR target/49880
7233 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7234 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7235
7236 2013-03-07 Sriraman Tallam <tmsriram@google.com>
7237
7238 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7239 sandybridge processors.
7240
7241 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7242
7243 PR target/56529
7244 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7245 inclusion list.
7246
7247 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7248
7249 * config/microblaze/crti.S: Setup stack protection at entry
7250
7251 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
7252
7253 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7254 (__rotldi3): Shift bytewise if applicable.
7255
7256 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7257
7258 * config/aarch64/sync-cache.c
7259 (__aarch64_sync_cache_range): Silence warnings.
7260
7261 2013-02-25 Catherine Moore <clm@codesourcery.com>
7262
7263 Revert:
7264 2013-02-24 Catherine Moore <clm@codesourcery.com>
7265 Joseph Myers <joseph@codesourcery.com>
7266 Chao-ying Fu <fu@mips.com>
7267
7268 * config/mips/mips16.S: Don't build for microMIPS.
7269 * config/mips/linux-unwind.h: Handle microMIPS frame.
7270 * config/mips/crtn.S (fini, init): New labels.
7271
7272 2013-02-24 Catherine Moore <clm@codesourcery.com>
7273 Joseph Myers <joseph@codesourcery.com>
7274 Chao-ying Fu <fu@mips.com>
7275
7276 * config/mips/mips16.S: Don't build for microMIPS.
7277 * config/mips/linux-unwind.h: Handle microMIPS frame.
7278 * config/mips/crtn.S (fini, init): New labels.
7279
7280 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7281 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7282 as dividend.
7283
7284 2013-02-16 Alan Modra <amodra@gmail.com>
7285
7286 PR target/55431
7287 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7288 (ppc_fallback_frame_state): Always set up save locations for fp
7289 and altivec. Don't bother with non-callee-saved regs, r0-r13
7290 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7291
7292 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
7293
7294 PR target/54222
7295 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7296 _ssmulHA, _ssmulSA.
7297 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7298 _ssmulha3, _usmulusa3, _ssmulsa3.
7299 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7300 (__muldi3): XCALL __muldi3_6 instead of rcall.
7301 (__umulsidi3, __mulsidi3): New functions.
7302 (do_prologue_saves, do_epilogue_restores): New .macros.
7303 (__divdi3_moddi3): Use them.
7304 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7305 (__usmulusa3, __ssmulsa3): New functions.
7306
7307 2013-02-11 Iain Sandoe <iain@codesourcery.com>
7308 Jack Howarth <howarth@bromo.med.uc.edu>
7309 Patrick Marlier <patrick.marlier@gmail.com>
7310
7311 PR libitm/55693
7312 * config/darwin-crt-tm.c: Remove dummy functions hack.
7313
7314 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
7315
7316 PR target/54222
7317 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7318 * config/avr/lib2-object.mk: New iterator to build objects from it.
7319 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7320 lib2funcs.c.
7321 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7322 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7323 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7324 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7325 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7326 * config/avr/lib1funcs-fixed.S: Implement them.
7327
7328 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7329
7330 Update copyright years.
7331
7332 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
7333
7334 PR target/54601
7335 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7336 Add crtcxa to extra_parts.
7337 * config/rs6000/exit.h: New file.
7338 * config/rs6000/cxa_atexit.c: New file.
7339 * config/rs6000/cxa_finalize.c: New file.
7340 * config/rs6000/crtcxa.c: New file.
7341 * config/rs6000/t-aix-cxa: New file.
7342 * config/rs6000/libgcc-aix-cxa.ver: New file.
7343
7344 2013-01-31 Nick Clifton <nickc@redhat.com>
7345
7346 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7347 variant.
7348
7349 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
7350
7351 PR target/54222
7352 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7353 _mulQQ, _mulHQ, _mulHA, _mulSA,
7354 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7355 _divQQ, _divHQ, _divHA, _divSA,
7356 _divUQQ, _divUHQ, _divUHA, _divUSA.
7357
7358 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
7359
7360 * config.host(microblaze*-linux*): tmake_file: Remove
7361 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7362 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7363 to exclude functions from being built with libgcc.c and use
7364 the microblaze assembly.
7365
7366 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7367
7368 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7369 extra_parts.
7370
7371 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7372
7373 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7374 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7375 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7376 alignment operation.
7377
7378 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7379
7380 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7381 loop start address for cache clearing.
7382
7383 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7384
7385 * config/avr/lib1funcs.S: Remove trailing blanks.
7386 * config/avr/lib1funcs-fixed.S: Ditto.
7387
7388 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7389
7390 * config/avr/avr-lib.h: Add GPL copyright notice.
7391
7392 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7393
7394 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7395 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7396 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7397 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7398
7399 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
7400
7401 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7402 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7403
7404 2013-01-04 Nick Clifton <nickc@redhat.com>
7405
7406 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7407 the CALLT instruction is supported.
7408
7409 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7410
7411 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7412 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7413
7414 2012-12-13 John Tytgat <John@bass-software.com>
7415
7416 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7417 is 25.
7418
7419 2012-12-12 Jakub Jelinek <jakub@redhat.com>
7420
7421 PR libgcc/55451
7422 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7423 undefined signed overflows.
7424
7425 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
7426
7427 PR target/55344
7428 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7429
7430 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
7431
7432 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7433 (FP_TRAPPING_EXCEPTIONS): Define.
7434 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7435 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7436
7437 2012-12-04 Richard Henderson <rth@redhat.com>
7438
7439 PR bootstrap/55571
7440 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7441
7442 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7443
7444 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7445 (FP_EX_SHIFT): Define.
7446 (FP_TRAPPING_EXCEPTIONS): Define.
7447
7448 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7449
7450 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7451 (FP_ROUNDMODE): Use FP_RND_MASK.
7452 * config/aarch64/sfp-exceptions.c: New.
7453 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7454 Use __sfp_handle_exceptions.
7455
7456 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
7457
7458 * config.host: (arm*-*-freebsd*): Remove.
7459 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7460 (arm*-*-elf*): Remove.
7461 (arm*-*-wince-pe*): Remove.
7462 * arm/unwind-arm.c (struct fpa_reg): Delete.
7463 (struct fpa_regs): Delete.
7464 (phase1_vrs): Remove fpa element.
7465 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7466 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7467 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7468 * ieee754-sf.S (floatundisf): Remove FPA support.
7469 (floatdisf): Likewise.
7470 * ieee75f-df.S (floatundidf): Likewise.
7471 (floatdidf): Likewise.
7472
7473 2012-11-29 Kai Tietz <ktietz@redhat.com>
7474
7475 PR target/55445
7476 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7477 * unwind-generic.h: Likewise.
7478 * unwind-seh.c: Likewise.
7479
7480 2012-11-28 Richard Henderson <rth@redhat.com>
7481
7482 PR libgcc/48076
7483 * emutls.c (__emutls_get_address): Avoid race condition between
7484 obj->loc.offset read and emutls_key initialization.
7485
7486 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
7487
7488 Adjust decimal point of signed accum mode to GCC default.
7489
7490 PR target/54222
7491 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7492 _divqq_helper.
7493 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7494 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7495 (__mulha3, __mulsa3)
7496 (__divqq3, __divha3, __divsa3): Adjust to new position of
7497 decimal point of signed accum types.
7498
7499 (__mulusa3_round): New function.
7500 (__mulusa3): Use it.
7501 (__divqq_helper): New function.
7502 (__udivuqq3): Use it.
7503
7504 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7505
7506 PR bootstrap/55370
7507 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7508
7509 2012-11-18 Teresa Johnson <tejohnson@google.com>
7510
7511 PR bootstrap/55051
7512 * libgcov.c (gcov_exit): Remove merged program summary
7513 comparison unless !GCOV_LOCKED.
7514
7515 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7516
7517 * soft-fp: Updated from glibc upstream.
7518
7519 2012-11-06 Ian Lance Taylor <iant@google.com>
7520
7521 * generic-morestack.c (__generic_morestack): Align the returned
7522 stack pointer to a 32 byte boundary.
7523 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7524 increment the return address until we have decided that we don't
7525 have a varargs function.
7526 (__morestack) [32-bit]: Align stack correctly when calling C
7527 functions.
7528 (__morestack) [64-bit]: Likewise.
7529
7530 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7531
7532 * configure: Regenerate.
7533
7534 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7535
7536 PR target/55175
7537 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7538 * config/i386/sfp-machine.h: Guard exception handling
7539 code with _SOFT_FLOAT.
7540 * config/i386/32/sfp-machine.h: Guard rounding handling
7541 code with _SOFT_FLOAT.
7542 * config/i386/64/sfp-machine.h: Ditto.
7543
7544 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7545
7546 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7547 as extra_parts.
7548
7549 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7550
7551 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7552 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7553 when appropriate. Correct structure element types.
7554 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7555 -minline-all-stringops from compile flags.
7556
7557 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7558
7559 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7560
7561 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7562
7563 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7564
7565 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7566
7567 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7568 tmake_file.
7569
7570 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7571 Jim MacArthur <jim.macarthur@arm.com>
7572 Marcus Shawcroft <marcus.shawcroft@arm.com>
7573 Nigel Stephens <nigel.stephens@arm.com>
7574 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7575 Richard Earnshaw <rearnsha@arm.com>
7576 Sofiane Naci <sofiane.naci@arm.com>
7577 Stephen Thomas <stephen.thomas@arm.com>
7578 Tejas Belagod <tejas.belagod@arm.com>
7579 Yufeng Zhang <yufeng.zhang@arm.com>
7580
7581 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7582 * config/aarch64/crti.S: New file.
7583 * config/aarch64/crtn.S: New file.
7584 * config/aarch64/linux-unwind.h: New file.
7585 * config/aarch64/sfp-machine.h: New file.
7586 * config/aarch64/sync-cache.c: New file.
7587 * config/aarch64/t-aarch64: New file.
7588 * config/aarch64/t-softfp: New file.
7589
7590 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7591
7592 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7593 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7594 no-longer-needed LDBU insns.
7595
7596 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7597
7598 * config.host
7599 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7600 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7601
7602 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7603
7604 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7605
7606 2012-10-15 Matthias Klose <doko@ubuntu.com>
7607
7608 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7609
7610 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7611
7612 * configure: Regenerate.
7613 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7614
7615 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7616
7617 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7618 instructions for 64bit targets only.
7619
7620 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7621
7622 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7623 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7624 * config/i386/32/sfp-machine.h: ... here.
7625 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7626 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7627 New defines.
7628
7629 2012-10-07 Matthias Klose <doko@ubuntu.com>
7630
7631 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7632 as unused.
7633 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7634
7635 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7636
7637 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7638 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7639 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7640 (ElfW): Likewise.
7641
7642 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7643
7644 PR other/53889
7645 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7646 Fix parameter names.
7647
7648 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7649
7650 PR target/33135
7651 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7652 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7653 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7654
7655 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7656
7657 PR target/50457
7658 * config/sh/linux-atomic.S: Delete.
7659 * config/sh/linux-atomic.c: New.
7660 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7661 linux-atomic.c. Add cflags to disable warnings.
7662
7663 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7664
7665 PR other/53889
7666 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7667 function.
7668 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7669 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7670 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7671 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7672 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7673 Likewise.
7674 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7675 Likewise.
7676 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7677 Likewise.
7678 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7679 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7680
7681 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7682
7683 * config.host (hppa-*-openbsd*): New target.
7684 * config/pa/t-openbsd: New file.
7685
7686 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7687
7688 PR target/54222
7689 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7690 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7691 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7692 (__divsa3): Use __negsi2 to negate r_quoL.
7693 * config/avr/lib1funcs.S (FALIAS): New macro.
7694 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7695 (__negsi2): ...this new function.
7696 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7697 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7698 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7699 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7700 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7701 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7702
7703 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7704
7705 PR target/54089
7706 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7707 (lshrsi3): Reimplement as lshrsi3_r0.
7708
7709 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7710
7711 PR target/46191
7712 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7713 of libgcc.a.
7714
7715 2012-09-07 Teresa Johnson <tejohnson@google.com>
7716
7717 PR gcov-profile/54487
7718 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7719 differences.
7720
7721 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7722
7723 PR target/54461
7724 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7725 not configured --with-avrlibc=no.
7726 * config/avr/t-avrlibc: New file.
7727 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7728 (DPBIT_FUNCS): Ditto.
7729 (TPBIT_FUNCS): Ditto.
7730
7731 2012-09-04 Teresa Johnson <tejohnson@google.com>
7732
7733 * libgcov.c (struct gcov_summary_buffer): New structure.
7734 (gcov_histogram_insert): New function.
7735 (gcov_compute_histogram): Ditto.
7736 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7737 histograms during summary merging.
7738
7739 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7740
7741 * config.host (x86_64-*-openbsd*): New target.
7742
7743 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7744
7745 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7746 attribute.
7747
7748 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7749
7750 PR target/54222
7751 * config/avr/t-avr (conv_X): Rename to func_X.
7752
7753 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7754
7755 PR target/54222
7756 * config/avr/lib1funcs-fixed.S: New file.
7757 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7758 after they are used.
7759 (neg2, neg4): New macros.
7760 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7761 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7762 (__umulhisi3): Speed up MUL variant if there is enough flash.
7763 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7764 avr-modes.def.
7765 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7766 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7767 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7768 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7769 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7770 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7771 (LIB2FUNCS_EXCLUDE): Add supported functions.
7772
7773 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7774
7775 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7776 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7777 libgcc-s-objects.
7778 * fixed-obj.mk: Only expand dependency if $o is not in
7779 LIB2FUNCS_EXCLUDE.
7780
7781 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7782
7783 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7784
7785 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7786
7787 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7788 depend on --enable-shared.
7789 ($(lib1asmfuncs-o)): Use %.vis files independent of
7790 --enable-shared.
7791 * static-object.mk ($(base)$(objext), $(base).vis)
7792 ($(base)_s$(objext)): Use same rules for visibility handling as in
7793 shared-object.mk.
7794
7795 2012-08-21 Ian Lance Taylor <iant@google.com>
7796
7797 * config/i386/morestack.S (__morestack_non_split): Increase amount
7798 of space allocated for non-split code stack.
7799
7800 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7801
7802 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7803 even if inhibit_libc.
7804
7805 2012-08-17 Julian Brown <julian@codesourcery.com>
7806
7807 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7808 -fexceptions -fnon-call-exceptions if not defined.
7809 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7810 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7811
7812 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7813
7814 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7815 type.
7816
7817 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7818
7819 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7820 rs6000/t-slibgcc-aix.
7821
7822 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7823
7824 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7825
7826 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7827
7828 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7829
7830 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7831
7832 PR driver/54171
7833 * Makefile.in (version): Replace top_srcdir with srcdir.
7834
7835 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7836
7837 * Makefile.in (version): set to BASE-VER file from gcc directory.
7838
7839 2012-08-01 Nick Clifton <nickc@redhat.com>
7840
7841 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7842 Implements __clrsb for an HImode argument.
7843
7844 2012-07-31 Nick Clifton <nickc@redhat.com>
7845
7846 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7847 Implements __clrsb for an HImode argument.
7848 * config/stormy16/clrsbhi2.c: New file:
7849 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7850
7851 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7852
7853 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7854
7855 2012-07-19 Tristan Gingold <gingold@adacore.com>
7856 Richard Henderson <rth@redhat.com>
7857
7858 * unwind-seh.c: New file.
7859 * unwind-generic.h: Include windows.h for SEH.
7860 (_Unwind_Exception): Use 6 private fields for SEH.
7861 (_GCC_specific_handler): Declare.
7862 * unwind-c.c (__gcc_personality_seh0): New function.
7863 Adjust for SEH.
7864 * config/i386/libgcc-cygming.ver: New file.
7865 * config/i386/t-seh-eh: New file.
7866 * config.host (x86_64-*-mingw*): Default to seh.
7867
7868 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7869
7870 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7871
7872 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7873
7874 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7875 __builtin_expect when checking for exceptions.
7876 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7877
7878 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7879
7880 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7881 function declaration.
7882 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7883 (FP_RND_MASK): New.
7884 * config/ia64/sfp-exceptions.c: New.
7885 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7886
7887 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7888
7889 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7890 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7891 * config/i386/64/sfp-machine: ... (delete here) ...
7892 * config/i386/sfp-machine.h: ... to here.
7893 (FP_EX_MASK): Remove.
7894 (FP_RND_MASK): New.
7895 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7896
7897 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7898
7899 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7900 * config/i386/libgcc-sol2.ver: Ditto.
7901 * config/i386/libgcc-glibc.ver: Ditto.
7902
7903 2012-06-11 Roland McGrath <mcgrathr@google.com>
7904
7905 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7906 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7907 pthread_cancel.
7908
7909 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7910
7911 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7912 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7913 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7914 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7915 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7916 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7917 * config/i386/64/sfp-machine: ... (delete here) ...
7918 * config/i386/sfp-machine.h: ... to here.
7919 (FP_EX_MASK): New.
7920 (__sfp_handle_exceptions): New function declaration.
7921 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7922 * config/i386/sfp-exceptions.c: New.
7923 * config/i386/t-softfp: New.
7924 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7925 i386/t-softfp to tmake_file.
7926
7927 2012-06-03 David S. Miller <davem@davemloft.net>
7928
7929 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7930 change.
7931
7932 2012-05-31 David S. Miller <davem@davemloft.net>
7933
7934 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7935 multiply and divide instructions on 32-bit when V9.
7936 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7937
7938 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7939
7940 * config/arm/ieee754-df.S: Fix typos.
7941 * config/arm/ieee754-sf.S: Fix typos.
7942 * config/c6x/libunwind.S: Fix typos.
7943 * config/epiphany/udivsi3-float.c: Fix typos.
7944 * config/microblaze/muldi3_hard.S: Fix typos.
7945 * config/picochip/adddi3.S: Fix typos.
7946 * config/picochip/ashlsi3.S: Fix typos.
7947 * config/picochip/ashrsi3.S: Fix typos.
7948 * config/picochip/clzsi2.S: Fix typos.
7949 * config/picochip/cmpsi2.S: Fix typos.
7950 * config/picochip/divmod15.S: Fix typos.
7951 * config/picochip/divmodhi4.S: Fix typos.
7952 * config/picochip/divmodsi4.S: Fix typos.
7953 * config/picochip/longjmp.S: Fix typos.
7954 * config/picochip/lshrsi3.S: Fix typos.
7955 * config/picochip/parityhi2.S: Fix typos.
7956 * config/picochip/popcounthi2.S: Fix typos.
7957 * config/picochip/setjmp.S: Fix typos.
7958 * config/picochip/subdi3.S: Fix typos.
7959 * config/picochip/ucmpsi2.S: Fix typos.
7960 * config/picochip/udivmodhi4.S: Fix typos.
7961 * config/picochip/udivmodsi4.S: Fix typos.
7962 * config/spu/divv2df3.c: Fix typos.
7963 * config/spu/mfc_multi_tag_release.c: Fix typos.
7964 * config/spu/mfc_tag_release.c: Fix typos.
7965 * configure.ac: Fix typos.
7966 * configure: Regenerate.
7967
7968 2012-05-25 Ian Lance Taylor <iant@google.com>
7969
7970 * config/i386/morestack.S (__morestack_non_split): Check whether
7971 caller is varargs and needs %bp to hold the stack frame on return.
7972
7973 2012-05-25 Olivier Hainque <hainque@adacore.com>
7974
7975 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7976 sequence in the non pic case on VxWorks.
7977
7978 2012-05-24 Olivier Hainque <hainque@adacore.com>
7979
7980 * Makefile.in: Move dependency on install-unwind_h from
7981 "install-leaf" to "install".
7982
7983 2012-05-24 Olivier Hainque <hainque@adacore.com>
7984
7985 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7986 Use a separate command for stamp removals.
7987
7988 2012-05-21 Andrew Pinski <apinski@cavium.com>
7989
7990 PR bootstrap/53183
7991 * configure.ac: Define the default includes to being none.
7992 * configure: Regenerate.
7993
7994 2012-05-16 Olivier Hainque <hainque@adacore.com>
7995
7996 * Makefile.in (install-unwind_h): Rename into ...
7997 (install-unwind_h-forbuild): New target.
7998 (all): Use it instead of the former install-unwind_h.
7999 (install-unwind_h): Reinstate, copy to user install destination
8000 for include files, not to the internal gcc object directory one.
8001 (install-leaf): Depend on it.
8002
8003 2012-05-15 Olivier Hainque <hainque@adacore.com>
8004
8005 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8006 register numbers. LR_REGNO replaces R_LR.
8007 (ucontext_for): New, helper for ...
8008 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8009 and 5.3 of ...
8010 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8011
8012 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8013
8014 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8015 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8016 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8017 i386/t-cpuinfo ...
8018 (i[34567]86-*-*, x86_64-*-*): ... here.
8019
8020 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8021 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8022
8023 * config/i386/i386-cpuinfo.c: Rename to ...
8024 * config/i386/cpuinfo.c: ... this.
8025 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8026
8027 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8028 (libgcc_cv_init_priority): New test.
8029 * configure: Regenerate.
8030 * config.in: New file.
8031 * Makefile.in (clean): Rename config.h to auto-target.h.
8032 (config.h): Likewise.
8033 (stamp-h): Likewise.
8034
8035 * config/i386/cpuinfo.c (auto-target.h): Include.
8036 (CONSTRUCTOR_PRIORITY): Define.
8037 (__cpu_indicator_init): Use it.
8038
8039 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8040
8041 * longlong.h: Use a URL instead of an FSF postal address.
8042 Replace spaces with tab.
8043
8044 2012-05-08 Teresa Johnson <tejohnson@google.com>
8045
8046 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8047 (__gcov_dump): Ditto.
8048 (gcov_dump_complete): New global variable.
8049 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8050 (__gcov_flush): Outline functionality now in gcov_clear.
8051 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8052
8053 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8054
8055 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8056 (mips*-*-linux*): Include mips/t-tpbit when long double is
8057 16 bytes long.
8058
8059 2012-04-25 Sriraman Tallam <tmsriram@google.com>
8060
8061 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8062 (get_available_features): New argument. Check for AVX2.
8063 (__cpu_indicator_init): Modify call to get_available_features.
8064
8065 2012-04-25 Alan Modra <amodra@gmail.com>
8066
8067 * config/rs6000/crtsavevr.S: New file.
8068 * config/rs6000/crtrestvr.S: New file.
8069 * config/rs6000/t-savresfgpr: Build the above.
8070 * config/rs6000/t-netbsd: Likewise.
8071
8072 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8073
8074 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8075
8076 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8077
8078 * libgcc/config/i386/i386-cpuinfo.c: New file.
8079 * libgcc/config/i386/t-cpuinfo: New file.
8080 * libgcc/config.host: Include t-cpuinfo.
8081 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8082
8083 2012-04-24 Chao-ying Fu <fu@mips.com>
8084
8085 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8086
8087 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8088
8089 struct siginfo vs. siginfo_t
8090
8091 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8092 siginfo_t instead of struct siginfo.
8093 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8094 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8095 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8096 (ia64_handle_unwabi): Likewise.
8097 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8098 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8099 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8100 (sh_fallback_frame_state): Likewise.
8101 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8102 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8103
8104 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8105
8106 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8107 system call number.
8108
8109 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8110
8111 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8112 if it hasn't been previously saved.
8113
8114 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8115
8116 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8117 only for glibc.
8118
8119 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
8120
8121 PR target/52737
8122 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8123 instead of __AVR_HAVE_8BIT_SP__.
8124
8125 2012-03-26 Tristan Gingold <gingold@adacore.com>
8126
8127 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8128 (unw_table_entry): Use unw_word instead of unsigned long.
8129 (_Unwind_FindTableEntry): Likewise.
8130 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8131 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8132 (_Unwind_FindTableEntry): Likewise.
8133 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8134 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8135 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8136 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8137 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8138 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8139 (uw_init_context_1, uw_install_context): Likewise.
8140 (unw_word): Move to unwind-ia64.h
8141
8142 2012-03-26 Tristan Gingold <gingold@adacore.com>
8143
8144 * config/vms/vms-ucrt0.c: Update copyright years.
8145 Add a sanity check.
8146 (___gcc_main_flags): Declare.
8147 (__main): Check flags to remap argv and exit code.
8148 * config.host (*-*-*vms*): Adjust extra_parts.
8149 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8150 (crt0.o): Add.
8151
8152 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
8153
8154 * arm/lib1funcs.asm (ctzsi2): New function.
8155 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8156 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8157 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8158 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8159 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8160 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8161
8162 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
8163
8164 * config.host: Add bits to support powerpc64-*-freebsd*.
8165 * config/rs6000/freebsd-unwind.h: New file.
8166 * config/rs6000/t-freebsd64: New file.
8167
8168 2012-03-20 Richard Guenther <rguenther@suse.de>
8169
8170 PR gcov-profile/52627
8171 * libgcov.c (init_mx): Fix mutex name.
8172
8173 2012-03-16 Tristan Gingold <gingold@adacore.com>
8174
8175 * config/ia64/vms-unwind.h: Remove ulong (and replace
8176 it by unw_reg where used). Define unw_reg with __int64.
8177
8178 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8179
8180 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8181 Solaris 8 handling.
8182 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8183 Solaris 8 handling.
8184 (sparc_is_sighandler): Likewise.
8185
8186 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8187
8188 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8189 <= saved reg size.
8190
8191 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8192
8193 * config/arm/crtn.S: Fix typo.
8194
8195 2012-03-13 Richard Guenther <rguenther@suse.de>
8196
8197 * libgcov.c: Remove stdio.h include and NULL un-define.
8198
8199 2012-03-13 Richard Guenther <rguenther@suse.de>
8200
8201 PR target/52569
8202 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8203
8204 2012-03-13 Richard Guenther <rguenther@suse.de>
8205
8206 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8207
8208 2012-03-13 Richard Guenther <rguenther@suse.de>
8209
8210 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8211 and __gthread_mutex_init_function definitions.
8212
8213 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8214
8215 * config.host (mips*-*-openbsd*): Remove.
8216
8217 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8218
8219 * config.host: Remove alpha*-dec-osf5.1* handling.
8220 * config/alpha/gthr-posix.c: Remove.
8221 * config/alpha/libgcc-osf5.ver: Remove.
8222 * config/alpha/osf5-unwind.h: Remove.
8223 * config/alpha/t-osf-pthread: Remove.
8224 * config/alpha/t-slibgcc-osf: Remove.
8225 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8226 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8227 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8228 * mkmap-flat.awk: Remove osf_export handling.
8229
8230 2012-03-12 Richard Guenther <rguenther@suse.de>
8231
8232 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8233 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8234 (__gthread_mutex_init_function): New function.
8235 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8236
8237 PR gcov/49484
8238 * libgcov.c: Include gthr.h.
8239 (__gcov_flush_mx): New global variable.
8240 (init_mx, init_mx_once): New functions.
8241 (__gcov_flush): Protect self with a mutex.
8242 (__gcov_fork): Re-initialize mutex after forking.
8243 * unwind-dw2-fde.c: Change condition under which to use
8244 __GTHREAD_MUTEX_INIT_FUNCTION.
8245
8246 2012-03-12 Tristan Gingold <gingold@adacore.com>
8247
8248 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8249 * config/ia64/t-vms: Likewise.
8250
8251 2012-03-11 Michael Hope <michael.hope@linaro.org>
8252
8253 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8254 for Thumb-2.
8255
8256 2012-03-07 Walter Lee <walt@tilera.com>
8257
8258 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8259 "arch_atomic_".
8260 (atomic_xor): Rename and move definition to
8261 config/tilepro/atomic.h.
8262 (atomic_nand): Ditto.
8263 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8264 "arch_atomic_".
8265 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8266 (arch_atomic_nand): Ditto.
8267
8268 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8269
8270 PR target/52507
8271 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8272
8273 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8274
8275 PR target/52505
8276 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8277 from RAM.
8278
8279 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8280
8281 PR target/52461
8282 PR target/52508
8283 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8284 if RAMPZ affects reading from RAM.
8285 (__tablejump_elpm__): Ditto.
8286 (.xload): Ditto.
8287 (__movmemx_hi): Ditto.
8288 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8289 (__do_global_dtors): Ditto.
8290 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8291 (__movmemx_hi): Ditto.
8292
8293 2012-03-05 Richard Henderson <rth@redhat.com>
8294
8295 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8296 [ARM] (count_trailing_zeros): Use the builtin.
8297
8298 2012-03-01 Kai Tietz <ktietz@redhat.com>
8299
8300 * soft-fp: Imported from glibc upstream.
8301
8302 2012-02-28 Kai Tietz <ktietz@redhat.com>
8303
8304 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8305 for mingw-targets as attribute gcc_struct.
8306
8307 2012-02-28 Ian Lance Taylor <iant@google.com>
8308
8309 * generic-morestack.c (__splitstack_releasecontext): Correct call
8310 to __morestack_release_segments.
8311
8312 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8313
8314 PR target/52390
8315 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8316 for __linux__ when removing signals from __morestack_fullmask.
8317
8318 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
8319
8320 PR target/52261
8321 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8322
8323 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8324
8325 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8326 instead of HAVE_INITFINI_ARRAY.
8327 * config/ia64/crtend.S: Likewise.
8328
8329 2012-02-20 Kai Tietz <ktietz@redhat.com>
8330
8331 PR libstdc++/52300
8332 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8333
8334 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8335 to w32-unwind.h header.
8336
8337 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8338
8339 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8340 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8341 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8342 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8343
8344 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8345
8346 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8347
8348 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8349
8350 PR libitm/52220
8351 * config/darwin-crt-tm.c: Correct typo.
8352
8353 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8354 Patrick Marlier <patrick.marlier@gmail.com>
8355
8356 PR libitm/52220
8357 * config/darwin-crt-tm.c: Generate dummy functions.
8358
8359 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8360 Patrick Marlier <patrick.marlier@gmail.com>
8361
8362 PR libitm/52042
8363 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8364 (__doTMRegistrations): Call it.
8365 (__doTMdeRegistrations): Likewise.
8366
8367 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
8368 Anatoly Sokolov <aesok@post.ru>
8369 Eric Weddington <eric.weddington@atmel.com>
8370
8371 PR target/52261
8372 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8373 (__epilogue_restores__): Ditto.
8374
8375 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8376
8377 PR target/51921
8378 PR target/52205
8379 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8380 Solaris 11 and slightly reformat.
8381 (sparc_is_sighandler): Likewise.
8382
8383 2012-02-14 Walter Lee <walt@tilera.com>
8384
8385 * config.host: Handle tilegx and tilepro.
8386 * config/tilegx/sfp-machine.h: New file.
8387 * config/tilegx/sfp-machine32.h: New file.
8388 * config/tilegx/sfp-machine64.h: New file.
8389 * config/tilegx/t-crtstuff: New file.
8390 * config/tilegx/t-softfp: New file.
8391 * config/tilegx/t-tilegx: New file.
8392 * config/tilepro/atomic.c: New file.
8393 * config/tilepro/atomic.h: New file.
8394 * config/tilepro/linux-unwind.h: New file.
8395 * config/tilepro/sfp-machine.h: New file.
8396 * config/tilepro/softdivide.c: New file.
8397 * config/tilepro/softmpy.S: New file.
8398 * config/tilepro/t-crtstuff: New file.
8399 * config/tilepro/t-tilepro: New file.
8400
8401 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8402
8403 PR libstdc++/51296
8404 PR libstdc++/51906
8405 * gthr-posix.h: Allow static initializer macros to be disabled.
8406 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8407
8408 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8409
8410 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8411 Add t-slibgcc-libgcc to tmake_file.
8412 * config/mips/libgcc-mips16.ver: Revert previous patch.
8413 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8414
8415 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8416 Jayant R Sonar <jayant.sonar@kpitcummins.com>
8417
8418 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8419 * config/cr16/crti.S: New file.
8420 * config/cr16/crtlibid.S: New file.
8421 * config/cr16/crtn.S: New file.
8422 * config/cr16/lib1funcs.S: New file.
8423 * config/cr16/t-cr16: New file.
8424 * config/cr16/t-crtlibid: New file.
8425 * config/cr16/unwind-dw2.h: New file.
8426 * config/cr16/unwind-cr16.c: New file.
8427 * config/cr16/divmodhi3.c: New file.
8428
8429 2012-01-25 Alan Modra <amodra@gmail.com>
8430
8431 * config/rs6000/t-linux64: Delete. Move..
8432 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8433 * config/rs6000/t-linux: ..and libgcc flags to here.
8434
8435 2012-01-22 Douglas B Rupp <rupp@gnat.com>
8436
8437 * config.host (i[34567]86-*-interix3*):
8438 Change triplet to i[34567]86-*-interix[3-9]*.
8439 * configure: Regenerate.
8440
8441 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8442 Richard Sandiford <rdsandiford@googlemail.com>
8443
8444 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8445 * config/mips/mips16.S (__mips16_rdhwr): New function.
8446 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8447
8448 2012-01-11 Nathan Sidwell <nathan@acm.org>
8449
8450 * libgcov.c (__gcov_init): Ignore objects with no functions.
8451
8452 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
8453
8454 PR target/49868
8455 Extend __pgmx semantics to linearize memory.
8456 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8457 * config/avr/lib1funcs.S (__xload_1): New function.
8458 (__movmemx_qi, __movmemx_hi): New functions.
8459 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8460 semantics.
8461
8462 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8463
8464 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8465 purported sigacthandler address isn't null before dereferencing it.
8466 (sparc_is_sighandler): Likewise.
8467
8468 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8469
8470 PR ada/41929
8471 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8472 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8473 (sparc_is_sighandler): Likewise.
8474 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8475
8476 2012-01-06 Tristan Gingold <gingold@adacore.com>
8477
8478 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8479 compatibility thunks...
8480 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8481 (crtbeginS.o, crtendS.o): ... and these to ...
8482 * config/ia64/t-ia64-elf: ... this new file.
8483 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8484 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8485
8486 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8487
8488 * configure: Regenerate.
8489 * config/s390/t-crtstuff: Remove -fPIC.
8490
8491 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8492
8493 PR bootstrap/51006
8494 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8495 for NetBSD.
8496
8497 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8498
8499 PR target/51345
8500 * config/avr/lib1funcs.S: Remove FIXME comments.
8501 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8502
8503 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8504
8505 Implement light-weight DImode support.
8506 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8507 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8508 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8509 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8510
8511 2011-12-30 Nathan Sidwell <nathan@acm.org>
8512
8513 * libgcov.c (gcov_crc32): Remove global var.
8514 (free_fn_data): New function.
8515 (buffer_fn_data): Pass in filename, more robust error recovery.
8516 (crc32_unsigned): New function.
8517 (gcov_exit): More robust detection of new program. More robust
8518 error recovery.
8519 (__gcov_init): Do not update program's crc here.
8520
8521 2011-12-21 Tristan Gingold <gingold@adacore.com>
8522
8523 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8524
8525 2011-12-21 Ian Lance Taylor <iant@google.com>
8526
8527 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8528
8529 2011-12-20 Ian Lance Taylor <iant@google.com>
8530
8531 * config/i386/morestack.S (__morestack_non_split): If there is
8532 enough stack space already, don't split. Ask for more stack space
8533 than we required.
8534
8535 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8536
8537 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8538 `sys/sdt.h'.
8539 (_Unwind_DebugHook): New function.
8540 (uw_restore_core_regs): New define.
8541 (unwind_phase2): Use uw_restore_core_regs instead of
8542 restore_core_regs.
8543 (unwind_phase2_forced): Likewise.
8544 (__gnu_Unwind_Resume): Likewise.
8545
8546 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8547
8548 * config/alpha/linux-unwind.h: Update copyright years.
8549 (MD_FROB_UPDATE_CONTEXT): New define.
8550 (alpha_frob_update_context): New function.
8551
8552 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8553
8554 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8555 tmake_file rather replacing it.
8556
8557 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8558
8559 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8560 function is not used for PPC64.
8561 (save_world): Amend comments. Update the VRsave mask to reflect the
8562 saved regs.
8563 (rest_world): Update comments, do not clobber r10, do not use r8.
8564 (eh_rest_world_r10): Amend comments, do not use r8.
8565 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8566 no longer used, move restore of CR and target address to the end of
8567 the routine.
8568
8569 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8570
8571 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8572 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8573
8574 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8575
8576 PR target/49313
8577 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8578 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8579
8580 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8581
8582 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8583
8584 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8585
8586 PR target/49313
8587 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8588 * config/avr/lib1funcs.S (__muldi3): New function.
8589
8590 2011-12-06 Andrew Pinski <apinski@cavium.com>
8591
8592 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8593 size of func_ptr.
8594 (__frame_dummy_init_array_entry): Likewise.
8595
8596 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8597
8598 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8599
8600 PR target/51345
8601 PR target/51002
8602 * config/avr/lib1funcs.S (__prologue_saves__,
8603 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8604 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8605
8606 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8607
8608 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8609
8610 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8611
8612 PR other/51272
8613 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8614 (_ITM_deregisterTMCloneTable): Likewise.
8615 (__register_frame_info): Fix unused warning.
8616 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8617 pthread_default_stacksize_np): Likewise.
8618 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8619
8620 2011-11-29 DJ Delorie <dj@redhat.com>
8621
8622 * config.host (rl78-*-elf): New case.
8623 * config/rl78: New directory for the Renesas RL78.
8624
8625 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8626
8627 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8628 formatting.
8629
8630 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8631
8632 PR other/51022
8633 * config/rs6000/t-savresfgpr: New file.
8634 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8635 $(srcdir)/config/rs6000/eabi.S.
8636 * config/rs6000/t-ppccomm-ldbl: Remove.
8637 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8638 tmake_file.
8639 (powerpc-*-eabispe*): Likewise.
8640 (powerpc-*-eabi*): Likewise.
8641 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8642 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8643 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8644 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8645 tmake_file.
8646 (powerpc-*-eabisim*): Likewise.
8647 (powerpc-*-elf*): Likewise.
8648 (powerpc-*-eabialtivec*): Likewise.
8649 (powerpc-xilinx-eabi*): Likewise.
8650 (powerpc-*-rtems*): Likewise.
8651 (powerpcle-*-elf*): Likewise.
8652 (powerpcle-*-eabisim*): Likewise.
8653 (powerpcle-*-eabi*): Likewise.
8654
8655 2011-11-27 Ian Lance Taylor <iant@google.com>
8656
8657 * generic-morestack.c (__splitstack_find): Check for NULL old
8658 stack value.
8659 (__splitstack_resetcontext): New function.
8660 (__splitstack_releasecontext): New function.
8661 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8662
8663 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8664
8665 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8666
8667 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8668
8669 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8670
8671 2011-11-26 Richard Henderson <rth@redhat.com>
8672
8673 * config/m68k/linux-atomic.c: New file.
8674 * config/m68k/t-linux: New file.
8675 * config.host (m68k-uclinux, m68k-linux): Use it.
8676
8677 2011-11-26 Richard Henderson <rth@redhat.com>
8678
8679 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8680 (__TMC_END__): Only declare if hidden is available; in the definition,
8681 if hidden is unavailable add a null record.
8682 (deregister_tm_clones, register_tm_clones): New.
8683 (__do_global_dtors_aux, frame_dummy): Use them.
8684 (__do_global_dtors, __do_global_ctors_1): Likewise.
8685
8686 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8687
8688 * config/darwin-crt-tm.c: New file.
8689 * config.host (darwin): Build crttms.o crttme.o to provide
8690 startup and shutdown for tm clones.
8691 * config/t-darwin (crttms.o): New build rule.
8692 (crttme.o): Likewise.
8693
8694 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8695
8696 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8697 et al.
8698
8699 2011-11-21 Richard Henderson <rth@redhat.com>
8700
8701 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8702 (__TMC_LIST__, __TMC_END__): New.
8703 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8704 (__do_global_dtors): Likewise.
8705 (frame_dummy): Call _ITM_registerTMCloneTable.
8706 (__do_global_ctors_1): Likewise.
8707
8708 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8709
8710 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8711 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8712 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8713 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8714 * config/i386/t-darwin64: Remove.
8715 * config/sh/t-netbsd (LIB2ADD): Remove.
8716
8717 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8718
8719 PR target/49313
8720 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8721 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8722 * config/avr/lib1funcs.S (wmov): New assembler macro.
8723 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8724 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8725 (__udivmod64): New function.
8726 (__negdi2): New function.
8727
8728 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8729
8730 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8731 *-*-freebsd*aout*): Remove.
8732
8733 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8734
8735 * static-object.mk (c_flags-$o): Save c_flags.
8736 ($(base)$(objext)): Use it.
8737
8738 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8739
8740 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8741
8742 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8743
8744 PR target/49868
8745 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8746 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8747 New functions.
8748
8749 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8750
8751 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8752 functions.
8753 (aeabi_uidivmod): Likewise.
8754 (umodsi3): Likewise.
8755 (divsi3): Likewise.
8756 (aeabi_idivmod): Likewise.
8757 (modsi3): Likewise.
8758
8759 2011-11-16 Tristan Gingold <gingold@adacore.com>
8760
8761 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8762
8763 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8764
8765 PR target/49868
8766 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8767 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8768
8769 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8770
8771 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8772 tmake_file list.
8773 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8774 * config/pa/t-stublib64: Delete.
8775
8776 2011-11-12 Richard Henderson <rth@redhat.com>
8777
8778 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8779 cast the pointer argument to _Unwind_SetGRPtr.
8780
8781 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8782
8783 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8784
8785 2011-11-09 Ian Lance Taylor <iant@google.com>
8786
8787 * generic-morestack.c: Include <string.h>.
8788 (uintptr_type): Define.
8789 (struct initial_sp): Add dont_block_signals field. Reduce size of
8790 extra array by 1.
8791 (allocate_segment): Set prev field to NULL. Don't set
8792 __morestack_current_segment or __morestack_segments.
8793 (__generic_morestack): Update current->prev and *pp after calling
8794 allocate_segment.
8795 (__morestack_block_signals): Don't do anything if
8796 dont_block_signals is set.
8797 (__morestack_unblock_signals): Likewise.
8798 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8799 uintptr_type.
8800 (__splitstack_block_signals): New function.
8801 (enum __splitstack_content_offsets): Define.
8802 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8803 (__splitstack_makecontext): New function.
8804 (__splitstack_block_signals_context): New function.
8805 (__splitstack_find_context): New function.
8806 * config/i386/morestack.S (__morestack_get_guard): New function.
8807 (__morestack_set_guard, __morestack_make_guard): New functions.
8808 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8809
8810 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8811
8812 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8813 (i[34567]86-*-mingw*): ... here.
8814 (x86_64-*-mingw*): ... here.
8815
8816 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8817
8818 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8819
8820 2011-11-07 Nathan Sidwell <nathan@acm.org>
8821
8822 * libgcov.c (struct gcov_fn_buffer): New struct.
8823 (buffer_fn_data): New helper.
8824 (gcov_exit): Rework for new gcov data structures.
8825
8826 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8827
8828 PR target/49313
8829 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8830
8831 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8832
8833 * config.host (tmake_file): Correct comment.
8834 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8835 t-libgcc-pic.
8836 (bfin*-uclinux*): Likewise.
8837 (bfin*-linux-uclibc*): Likewise.
8838 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8839
8840 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8841 assigning.
8842 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8843 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8844 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8845 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8846 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8847 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8848 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8849 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8850 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8851 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8852 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8853 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8854 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8855
8856 * config/bfin/t-elf: Remove.
8857 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8858
8859 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8860
8861 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8862 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8863 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8864 (lm32-*-elf*): ... this.
8865 (lm32-*-rtems*): ... and this.
8866 Add to tmake_file.
8867 (m32r-*-rtems*): Add to tmake_file.
8868 (moxie-*-rtems*): Likewise.
8869 (sparc-*-rtems*): Likewise.
8870 Remove t-rtems from tmake_file.
8871 (sparc64-*-rtems*): Likewise.
8872 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8873 instead.
8874
8875 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8876
8877 PR bootstrap/50982
8878 * config/gthr-posix.h: Move ...
8879 * gthr-posix.h: ... here.
8880 * config/gthr-lynx.h: Reflect this.
8881 * config/gthr-vxworks.h: Likewise.
8882 * config/rs6000/gthr-aix.h: Likewise.
8883 * configure.ac (target_thread_file): Likewise.
8884 * configure: Regenerate.
8885
8886 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8887
8888 * config.host (arm*-*-rtemseabi*): New target.
8889
8890 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8891
8892 PR other/50991
8893 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8894 extra-parts.
8895
8896 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8897
8898 * config.host (epiphany-*-elf*): New configuration.
8899 * config/epiphany: New Directory.
8900
8901 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8902
8903 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8904 * config/avr/t-rtems: New.
8905 Filter out _exit from LIB1ASMFUNCS.
8906
8907 2011-11-04 David S. Miller <davem@davemloft.net>
8908
8909 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8910 * configure: Rebuild.
8911
8912 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8913
8914 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8915 variable.
8916
8917 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8918
8919 PR target/50931
8920 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8921 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8922
8923 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8924
8925 PR target/50989
8926 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8927
8928 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8929
8930 * config/c6x/t-elf (LIB2ADDEH): Set.
8931 * config/c6x/t-c6x-elf: Remove.
8932
8933 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8934
8935 * config/i386/sol2-ci.S: Rename to ...
8936 * config/i386/crti.S: ... this.
8937 * config/i386/sol2-cn.S: Rename to ...
8938 * config/i386/crtn.S: ... this.
8939 * config/sparc/sol2-ci.S: Rename to ...
8940 * config/sparc/crti.S: ... this.
8941 * config/sparc/sol2-cn.S: Rename to ...
8942 * config/sparc/crtn.S: ... this.
8943 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8944 (crti.o, crtn.o): Remove.
8945
8946 2011-11-04 Tristan Gingold <gingold@adacore.com>
8947
8948 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8949
8950 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8951
8952 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8953
8954 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8955
8956 * config.host (crisv32-*-none, cris-*-none): Remove.
8957 (crisv32-*-elf): Append to tmake_file, don't just set it.
8958 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8959
8960 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8961
8962 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8963 (ecrtn$(objext)): Likewise.
8964 (ncrti$(objext)): Likewise.
8965 (ncrtn$(objext)): Likewise.
8966
8967 2011-11-03 Andreas Schwab <schwab@redhat.com>
8968
8969 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8970
8971 2011-11-02 David S. Miller <davem@davemloft.net>
8972
8973 * configure.ac: Set host_address on sparc too.
8974 * configure: Regenerate.
8975 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8976 based upon host_address.
8977 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8978
8979 2011-11-02 Jason Merrill <jason@redhat.com>
8980
8981 * config/rs6000/t-ppccomm: Add missing \.
8982
8983 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8984
8985 * gthr-single.h, gthr.h: New files.
8986 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8987 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8988 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8989 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8990 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8991 * configure.ac (thread_header): New variable.
8992 Set it depending on target_thread_file.
8993 (gthr-default.h): Link from $thread_header.
8994 * configure: Regenerate.
8995 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8996
8997 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8998
8999 * configure.ac (tm_file_): New variable.
9000 Determine from tm_file.
9001 (tm_file, tm_defines): Substitute.
9002 * configure: Regenerate.
9003 * mkheader.sh: New file.
9004 * Makefile.in (clean): Remove libgcc_tm.h.
9005 ($(objects)): Depend on libgcc_tm.h.
9006 (libgcc_tm_defines, libgcc_tm_file): New variables.
9007 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9008 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9009 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9010 ($(extra-parts)): Depend on libgcc_tm.h.
9011 * config.host (tm_defines, tm_file): New variable.
9012 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9013 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9014 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9015 (avr-*-rtems*): Likewise.
9016 (avr-*-*): Likewise.
9017 (frv-*-elf): Likewise.
9018 (frv-*-*linux*): Likewise.
9019 (h8300-*-rtems*): Likewise.
9020 (h8300-*-elf*): Likewise.
9021 (i[34567]86-*-darwin*): Likewise.
9022 (x86_64-*-darwin*): Likewise.
9023 (rx-*-elf): Likewise.
9024 (tic6x-*-uclinux): Likewise.
9025 (tic6x-*-elf): Likewise.
9026 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9027 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9028 * config/i386/cygming-crtbegin.c: Likewise.
9029 * config/i386/cygming-crtend.c: Likewise.
9030 * config/ia64/fde-vms.c: Likewise.
9031 * config/ia64/unwind-ia64.c: Likewise.
9032 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9033 * config/rs6000/darwin-fallback.c: Likewise.
9034 * config/stormy16/lib2funcs.c: Likewise.
9035 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9036 * crtstuff.c: Likewise.
9037 * dfp-bit.h: Likewise.
9038 * emutls.c: Likewise.
9039 * fixed-bit.c: Likewise.
9040 * fp-bit.c: Likewise.
9041 * generic-morestack-thread.c: Likewise.
9042 * generic-morestack.c: Likewise.
9043 * libgcc2.c: Likewise.
9044 * libgcov.c: Likewise.
9045 * unwind-dw2-fde-dip.c: Likewise.
9046 * unwind-dw2-fde.c: Likewise.
9047 * unwind-dw2.c: Likewise.
9048 * unwind-sjlj.c: Likewise.
9049
9050 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9051
9052 * configure.ac: Include ../config/picflag.m4.
9053 (GCC_PICFLAG): Call it.
9054 Substitute.
9055 * configure: Regenerate.
9056 * Makefile.in (gcc_srcdir): Remove.
9057 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9058 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9059 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9060 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9061 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9062 Use $<.
9063 Remove comment.
9064 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9065 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9066 to refer to libgcc2.c.
9067 Use $<.
9068 * config/darwin-64.c: New file.
9069 * config/darwin-crt3.c: Remove comment.
9070 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9071 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9072 config/udivmodsi4.c: New files.
9073 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9074 config/memset.c: New files.
9075 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9076 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9077 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9078 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9079 * config/t-openbsd-thread: New file.
9080 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9081 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9082 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9083 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9084 qrnnd.S.
9085 Adapt filename.
9086 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9087 to refer to gthr-posix.c.
9088 * config/alpha/t-vms (LIB2ADD): Set.
9089 * config/alpha/vms-gcc_shell_handler.c: New file.
9090 * config/arm/bpabi.c, config/arm/fp16.c,
9091 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9092 config/arm/unaligned-funcs.c: New files.
9093 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9094 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9095 * config/arm/t-linux: Likewise.
9096 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9097 * config/arm/t-netbsd: New file.
9098 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9099 * config/arm/t-symbian (LIB2ADD_ST): Set.
9100 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9101 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9102 * config/bfin/t-elf: New file.
9103 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9104 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9105 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9106 config/c6x/ltf.c: New files.
9107 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9108 (HOST_LIBGCC2_CFLAGS): Set.
9109 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9110 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9111 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9112 New files.
9113 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9114 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9115 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9116 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9117 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9118 files.
9119 * config/frv/t-frv (LIB2ADD): Set.
9120 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9121 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9122 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9123 config/h8300/popcounthi2.c: New files.
9124 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9125 * config/i386/gthr-win32.c: New file.
9126 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9127 * config/i386/t-cygwin: Likewise.
9128 * config/i386/t-darwin, config/i386/t-darwin64,
9129 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9130 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9131 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9132 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9133 * config/ia64/quadlib.c: New file.
9134 * config/ia64/t-hpux (LIB2ADD): Set.
9135 * config/ia64/t-ia64: Add comment.
9136 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9137 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9138 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9139 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9140 * config/m32c/t-m32c (LIB2ADD): Set.
9141 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9142 * config/m32r/t-m32r: Likewise.
9143 * config/m68k/fpgnulib.c: New file.
9144 * config/m68k/t-floatlib (LIB2ADD): Set.
9145 (xfgnulib.c): New target.
9146 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9147 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9148 * config/mep/t-mep (LIB2ADD): Set.
9149 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9150 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9151 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9152 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9153 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9154 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9155 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9156 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9157 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9158 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9159 New files.
9160 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9161 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9162 * config/pa/fptr.c, config/pa/lib2funcs.S,
9163 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9164 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9165 (LIB2ADD, LIB2ADD_ST): Set.
9166 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9167 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9168 Set.
9169 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9170 * config/pdp11/t-pdp11: New file.
9171 * config/picochip/libgccExtras/adddi3.S,
9172 config/picochip/libgccExtras/ashlsi3.S,
9173 config/picochip/libgccExtras/ashrsi3.S,
9174 config/picochip/libgccExtras/clzsi2.S,
9175 config/picochip/libgccExtras/cmpsi2.S,
9176 config/picochip/libgccExtras/divmod15.S,
9177 config/picochip/libgccExtras/divmodhi4.S,
9178 config/picochip/libgccExtras/divmodsi4.S,
9179 config/picochip/libgccExtras/lshrsi3.S,
9180 config/picochip/libgccExtras/parityhi2.S,
9181 config/picochip/libgccExtras/popcounthi2.S,
9182 config/picochip/libgccExtras/subdi3.S,
9183 config/picochip/libgccExtras/ucmpsi2.S,
9184 config/picochip/libgccExtras/udivmodhi4.S,
9185 config/picochip/libgccExtras/udivmodsi4.S: New files.
9186 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9187 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9188 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9189 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9190 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9191 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9192 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9193 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9194 files.
9195 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9196 (HOST_LIBGCC2_CFLAGS): Set.
9197 * config/rs6000/t-darwin64: New file.
9198 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9199 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9200 * config/rs6000/t-ppccomm (LIB2ADD): Add
9201 $(srcdir)/config/rs6000/tramp.S.
9202 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9203 Add $(srcdir)/config/rs6000/eabi.S.
9204 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9205 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9206 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9207 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9208 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9209 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9210 * config/rs6000/tramp.S: New file.
9211 * config/s390/t-tpf: Remove.
9212 * config/sh/linux-atomic.S: New file.
9213 * config/sh/t-linux (LIB2ADD): Set.
9214 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9215 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9216 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9217 to unwind-dw2.c.
9218 (HOST_LIBGCC2_CFLAGS): Set.
9219 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9220 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9221 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9222 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9223 config/spu/mfc_multi_tag_release.c,
9224 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9225 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9226 config/spu/multi3.c: New files.
9227 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9228 (HOST_LIBGCC2_CFLAGS): Set.
9229 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9230 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9231 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9232 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9233 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9234 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9235 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9236 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9237 config/stormy16/umodsi3.c: New files.
9238 * config/xtensa/lib2funcs.S: New file.
9239 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9240 * config/xtensa/t-xtensa (LIB2ADD): Set.
9241 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9242 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9243 Add t-freebsd-thread to tmake_file for posix threads.
9244 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9245 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9246 (*-*-lynxos*): Likewise.
9247 (*-*-netbsd*): Likewise.
9248 (*-*-openbsd*): Likewise.
9249 Add t-openbsd-thread to tmake_file for posix threads.
9250 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9251 (*-*-vxworks*): Set tmake_file.
9252 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9253 (alpha*-*-freebsd*): Likewise.
9254 (alpha*-*-netbsd*): Likewise.
9255 (alpha*-*-openbsd*): Likewise.
9256 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9257 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9258 (alpha*-dec-*vms*): Likewise.
9259 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9260 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9261 (bfin*-uclinux*): Likewise.
9262 (bfin*-linux-uclibc*): Likewise.
9263 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9264 (crisv32-*-none): Likewise.
9265 (cris-*-elf): Likewise.
9266 (cris-*-none): Likewise.
9267 (cris-*-linux*, crisv32-*-linux*): Likewise.
9268 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9269 tmake_file.
9270 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9271 tmake_file.
9272 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9273 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9274 (x86_64-*-elf*): Likewise.
9275 (i[34567]86-*-nto-qnx*): Likewise.
9276 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9277 win32 threads.
9278 (x86_64-*-mingw*): Likewise.
9279 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9280 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9281 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9282 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9283 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9284 tmake_file.
9285 (mipsisa64sr71k-*-elf*): Likewise.
9286 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9287 (mips-*-elf*, mipsel-*-elf*): Likewise.
9288 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9289 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9290 (mips*-*-rtems*): Likewise.
9291 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9292 to tmake_file.
9293 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9294 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9295 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9296 (spu-*-elf*): Likewise.
9297 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9298
9299 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9300
9301 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9302 $(srcdir) to refer to $(LIB1ASMSRC).
9303 Use $<.
9304 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9305 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9306 config/arm/lib1funcs.S: New files.
9307 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9308 * config/arm/t-arm: New file.
9309 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9310 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9311 config/arm/t-strongarm-elf: New files.
9312 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9313 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9314 * config/avr/lib1funcs.S: New file.
9315 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9316 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9317 * config/c6x/lib1funcs.S: New file.
9318 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9319 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9320 * config/frv/lib1funcs.S: New file.
9321 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9322 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9323 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9324 * config/ia64/__divxf3.asm: Rename to ...
9325 * config/ia64/__divxf3.S: ... this.
9326 Adapt lib1funcs.asm filename.
9327 * config/ia64/_fixtfdi.asm: Rename to ...
9328 * config/ia64/_fixtfdi.S: ... this.
9329 Adapt lib1funcs.asm filename.
9330 * config/ia64/_fixunstfdi.asm: Rename to ...
9331 * config/ia64/_fixunstfdi.S: ... this.
9332 Adapt lib1funcs.asm filename.
9333 * config/ia64/_floatditf.asm: Rename to ...
9334 * config/ia64/_floatditf.S: ... this.
9335 Adapt lib1funcs.asm filename.
9336 * config/ia64/lib1funcs.S: New file.
9337 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9338 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9339 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9340 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9341 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9342 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9343 * config/mep/lib1funcs.S: New file.
9344 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9345 * config/mips/mips16.S: New file.
9346 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9347 * config/pa/milli64.S: New file.
9348 * config/pa/t-linux, config/pa/t-linux64: New files.
9349 * config/picochip/lib1funcs.S: New file.
9350 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9351 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9352 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9353 * config/sh/t-netbsd: New file.
9354 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9355 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9356 * config/sh/t-sh64: New file.
9357 * config/sparc/lb1spc.S: New file.
9358 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9359 filename.
9360 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9361 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9362 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9363 config/xtensa/lib1funcs.S: New files.
9364 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9365 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9366 tmake_file.
9367 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9368 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9369 (arm*-*-linux*): Likewise.
9370 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9371 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9372 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9373 (arm*-*-ecos-elf): Likewise.
9374 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9375 (arm*-*-rtems*): Likewise.
9376 (arm*-*-elf): Likewise.
9377 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9378 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9379 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9380 (bfin*-uclinux*): Likewise.
9381 (bfin*-linux-uclibc*): Likewise.
9382 (bfin*-rtems*): Likewise.
9383 (bfin*-*): Likewise.
9384 (fido-*-elf): Merge into m68k-*-elf*.
9385 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9386 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9387 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9388 (h8300-*-elf*): Likewise.
9389 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9390 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9391 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9392 (i[34567]86-*-mingw*): Likewise.
9393 (x86_64-*-mingw*): Likewise.
9394 (i[34567]86-*-interix3*): Likewise.
9395 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9396 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9397 (m68k-*-elf*): Also handle fido-*-elf.
9398 Add m68k/t-floatlib to tmake_file.
9399 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9400 (m68k-*-linux*): Likewise.
9401 (m68k-*-rtems*): Likewise.
9402 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9403 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9404 sh64*-*-*.
9405 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9406 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9407 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9408 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9409 sh/t-netbsd to tmake_file.
9410 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9411 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9412 (sh-wrs-vxworks): Likewise.
9413 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9414 *-leon[3-9]*.
9415 (v850*-*-*): Add v850/t-v850 to tmake_file.
9416 (vax-*-linux*): Add vax/t-linux to tmake_file.
9417 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9418
9419 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9420
9421 * crtstuff.c: New file.
9422 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9423 (CRTSTUFF_T_CFLAGS): Define.
9424 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9425 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9426 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9427 crtstuff.c.
9428 Use $<.
9429 (crtbeginT.o): Use $(objext).
9430 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9431 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9432 (gcc-extra-parts): Remove.
9433 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9434 Set extra_parts.
9435 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9436 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9437 Add t-crtstuff-pic to tmake_file.
9438 (*-*-lynxos*): New case.
9439 Set tmake_file, extra_parts.
9440 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9441 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9442 *-*-netbsdelf[2-9]*.
9443 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9444 (*-*-rtems*): Set extra_parts.
9445 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9446 (*-*-uclinux*): New case.
9447 Set extra_parts.
9448 (*-*-vms*): New case.
9449 Set tmake_file, extra_parts.
9450 (*-*-elf): Set extra_parts.
9451 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9452 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9453 vms/t-vms64.
9454 Set extra_parts.
9455 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9456 Set extra_parts.
9457 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9458 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9459 (arm-wrs-vxworks): Append to tmake_file.
9460 Set extra_parts.
9461 (arm*-*-uclinux*): Set extra_parts.
9462 (arm*-*-ecos-elf): Likewise.
9463 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9464 arm*-*-eabi*.
9465 (arm*-*-rtems*): Set extra_parts.
9466 (arm*-*-elf): Likewise.
9467 (avr-*-rtems*): Clear extra_parts.
9468 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9469 Set extra_parts.
9470 (bfin*-uclinux*): Likewise.
9471 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9472 (bfin*-rtems*): Append to tmake_file.
9473 Set extra_parts.
9474 (bfin*-*): Likewise.
9475 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9476 (crisv32-*-elf): ... this.
9477 (crisv32-*-none): ... this.
9478 (cris-*-elf, cris-*-none): New cases.
9479 Add cris/t-elfmulti to tmake_file.
9480 (fr30-*-elf): Append to tmake_file.
9481 Set extra_parts.
9482 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9483 Set extra_parts.
9484 (h8300-*-rtems*): Append to tmake_file.
9485 Set extra_parts.
9486 (h8300-*-elf*): Likewise.
9487 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9488 Set extra_parts.
9489 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9490 Set extra_parts.
9491 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9492 (x86_64-*-elf*): Likewise.
9493 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9494 (x86_64-*-freebsd*): Likewise.
9495 (x86_64-*-netbsd*): Likewise.
9496 (i[34567]86-*-linux*): Likewise.
9497 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9498 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9499 (x86_64-*-linux*): Likewise.
9500 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9501 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9502 tmake_file.
9503 Set extra_parts.
9504 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9505 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9506 Append to extra_parts, remove crtbegin.o, crtend.o.
9507 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9508 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9509 crtend.o, crtbeginS.o, crtendS.o.
9510 (ia64*-*-linux*): Comment extra_parts.
9511 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9512 Set extra_parts.
9513 (iq2000*-*-elf*): Clear extra_parts.
9514 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9515 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9516 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9517 (m32r-*-rtems*): ... this.
9518 Add m32r/t-m32r to tmake_file.
9519 (m68k-*-elf*): Add t-crtin to tmake_file.
9520 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9521 (mcore-*-elf): Likewise.
9522 (microblaze*-*-*): Set extra_parts.
9523 (mips*-sde-elf*): New case.
9524 Set tmake_file, extra_parts.
9525 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9526 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9527 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9528 tmake_file.
9529 Set extra_parts.
9530 (mipsisa64sr71k-*-elf*): Likewise.
9531 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9532 (mips-*-elf*, mipsel-*-elf*): Likewise.
9533 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9534 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9535 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9536 (mips*-*-rtems*): Likewise.
9537 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9538 (moxie-*-*): Split into ...
9539 (moxie-*-elf, moxie-*-uclinux*): ... this.
9540 Add to extra_parts, remove crtbegin.o, crtend.o.
9541 (moxie-*-rtems*): New case.
9542 Set tmake_file.
9543 Clear extra_parts.
9544 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9545 Set extra_parts.
9546 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9547 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9548 tmake_file.
9549 Set extra_parts.
9550 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9551 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9552 Set extra_parts.
9553 (powerpc-*-eabisim*): Likewise.
9554 (powerpc-*-elf*): Likewise.
9555 (powerpc-*-eabialtivec*): Likewise.
9556 (powerpc-xilinx-eabi*): Likewise.
9557 (powerpc-*-eabi*): Likewise.
9558 (powerpc-*-rtems*): Likewise.
9559 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9560 tmake_file.
9561 Set extra_parts.
9562 (powerpc-*-lynxos*): Add to tmake_file.
9563 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9564 rs6000/t-crtstuff, t-crtstuff-pic.
9565 Set extra_parts.
9566 (powerpcle-*-eabisim*): Likewise.
9567 (powerpcle-*-eabi*): Likewise.
9568 (rx-*-elf): Remove extra_parts.
9569 (s390x-ibm-tpf*): Set extra_parts.
9570 (score-*-elf): Set extra_parts.
9571 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9572 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9573 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9574 (sh64l*-*-netbsd*): Split into ...
9575 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9576 Add t-crtstuff-pic to tmake_file.
9577 Set extra_parts.
9578 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9579 Set extra_parts.
9580 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9581 (sparc-*-elf*): Remove t-crtin from tmake_file.
9582 Add to extra_parts, remove crtbegin.o, crtend.o.
9583 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9584 (sparc64-*-linux*): Likewise.
9585 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9586 Add to extra_parts, remove crtbegin.o, crtend.o.
9587 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9588 Add to extra_parts, remove crtbegin.o, crtend.o.
9589 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9590 Add to extra_parts, remove crtbegin.o, crtend.o.
9591 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9592 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9593 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9594 Set extra_parts.
9595 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9596 Set extra_parts.
9597 (tic6x-*-*): Change to ...
9598 (tic6x-*-elf): ... this.
9599 Set extra_parts.
9600 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9601 Set extra_parts.
9602 (am33_2.0-*-linux*): Add comment.
9603 (mep*-*-*): Add mep/t-mep to tmake_file.
9604 Set extra_parts.
9605 * config/alpha/t-vms: New file.
9606 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9607 * config/arm/crti.S, config/arm/crtn.S: New files.
9608 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9609 * config/bfin/crtlibid.S: New file.
9610 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9611 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9612 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9613 (crti.o, crtin.o): New rules.
9614 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9615 * config/c6x/t-uclinux: New file.
9616 * config/cris/t-elfmulti: New file.
9617 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9618 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9619 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9620 * config/frv/t-frv: New file.
9621 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9622 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9623 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9624 New files.
9625 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9626 refer to cygming-crtbegin.c, cygming-crtend.c.
9627 Use $<.
9628 * config/i386/t-nto: New file.
9629 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9630 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9631 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9632 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9633 Use .S extension.
9634 Use $<.
9635 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9636 (crtinitS.o): New rule.
9637 * config/ia64/vms-crtinit.S: New file.
9638 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9639 * config/m32r/initfini.c: New file.
9640 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9641 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9642 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9643 * config/mep/t-mep: New file.
9644 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9645 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9646 * config/mips/crti.S, config/mips/crtn.S: New files.
9647 * config/mips/t-crtstuff: New file.
9648 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9649 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9650 (CUSTOM_CRTIN): Set.
9651 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9652 dependencies.
9653 Use $(srcdir) to refer to crti.S, crtn.S.
9654 Use .S extension, $<.
9655 * config/moxie/crti.asm: Rename to ...
9656 * config/moxie/crti.S: ... this.
9657 * config/moxie/crtn.asm: Rename to ...
9658 * config/moxie/crtn.S: ... this.
9659 * config/moxie/t-moxie: Remove.
9660 * config/pa/stublib.c: New file.
9661 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9662 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9663 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9664 * config/rs6000/t-crtstuff: New file.
9665 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9666 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9667 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9668 Make output file explicit.
9669 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9670 Make output file explicit.
9671 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9672 Make output file explicit.
9673 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9674 Make output file explicit.
9675 * config/score/crti.S, config/score/crtn.S: New files.
9676 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9677 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9678 files.
9679 * config/sh/t-sh, config/sh/t-superh: New files.
9680 * config/sparc/t-linux64: New file.
9681 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9682 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9683 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9684 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9685 * config/t-crtin: Remove.
9686 * config/t-crtstuff-pic: New file.
9687 * config/t-sol2 (CUSTOM_CRTIN): Set.
9688 (crti.o, crtn.o): New rules.
9689 * config/vms/t-vms: New file.
9690 * config/vms/vms-ucrt0.c: New file.
9691 * config/xtensa/t-elf: New file.
9692
9693 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9694
9695 * Makefile.in (SHLIB_NM_FLAGS): Set.
9696 * mkmap-flat.awk, mkmap-symver.awk: New files.
9697 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9698 exceptions.
9699 * configure: Regenerate.
9700 * config/libgcc-glibc.ver: New file.
9701 * config/libgcc-libsystem.ver: New file.
9702 * config/t-libunwind (SHLIB_LC): Set.
9703 * config/t-linux: New file.
9704 * config/t-slibgcc (INSTALL_SHLIB): New.
9705 (SHLIB_INSTALL): Use it.
9706 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9707 to mkmap-symver.awk.
9708 (SHLIB_MAPFILES): Don't append, adapt pathname.
9709 (SHLIB_VERPFX): Set.
9710 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9711 to mkmap-symver.awk.
9712 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9713 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9714 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9715 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9716 to mkmap-flat.awk.
9717 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9718 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9719 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9720 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9721 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9722 * config/i386/libgcc-darwin.10.4.ver,
9723 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9724 New files.
9725 * config/i386/t-darwin: Remove.
9726 * config/i386/t-darwin64: Likewise.
9727 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9728 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9729 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9730 * config/i386/t-linux: New file.
9731 * config/i386/t-mingw32: New file.
9732 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9733 * config/ia64/t-glibc: Rename to ...
9734 * config/ia64/t-linux: ... this.
9735 (SHLIB_MAPFILES): Set.
9736 * config/ia64/t-glibc-libunwind: Rename to ...
9737 * config/ia64/t-linux-libunwind: ... this.
9738 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9739 * config/ia64/t-slibgcc-hpux: New file.
9740 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9741 * config/m68k/t-slibgcc-elf-ver: New file.
9742 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9743 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9744 to mkmap-flat.awk.
9745 * config/pa/t-slibgcc-hpux: New file.
9746 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9747 files.
9748 * config/rs6000/libgcc-darwin.10.4.ver,
9749 config/rs6000/libgcc-darwin.10.5.ver: New files.
9750 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9751 config/rs6000/libgcc-glibc.ver.
9752 * config/rs6000/libgcc-ppc64.ver: Rename to
9753 config/rs6000/libgcc-ibm-ldouble.ver.
9754 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9755 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9756 * config/rs6000/t-ldbl128: Rename to ...
9757 * config/rs6000/t-linux: ... this.
9758 (SHLIB_MAPFILES): Adapt filename.
9759 * config/rs6000/t-slibgcc-aix: New file.
9760 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9761 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9762 libgcc-excl.ver, libgcc-glibc.ver.
9763 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9764 * config/sparc/libgcc-glibc.ver: New file.
9765 * config/sparc/t-linux: New file.
9766 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9767 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9768 t-slibgcc-elf-ver to tmake_file.
9769 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9770 *-*-freebsd[34].
9771 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9772 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9773 t-slibgcc-elf-ver, t-linux to tmake_file.
9774 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9775 tmake_file.
9776 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9777 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9778 (alpha*-dec-*vms*): Likewise.
9779 (arm*-*-freebsd*): Append to tmake_file.
9780 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9781 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9782 arm*-*-linux-*eabi.
9783 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9784 tmake_file for arm*-*-symbianelf*.
9785 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9786 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9787 cris/t-linux.
9788 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9789 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9790 pa/t-slibgcc-dwarf-ver to tmake_file.
9791 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9792 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9793 (hppa*64*-*-hpux11*): Likewise.
9794 (hppa[12]*-*-hpux11*): Likewise.
9795 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9796 i386/t-crtpc, i386/t-crtfm.
9797 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9798 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9799 to tmake_file.
9800 Add i386/t-cygwin to tmake_file.
9801 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9802 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9803 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9804 to tmake_file.
9805 Add i386/t-mingw32 to tmake_file.
9806 (x86_64-*-mingw*): Likewise.
9807 (ia64*-*-freebsd*): Append to tmake_file.
9808 (ia64*-*-linux*): Append to tmake_file.
9809 Replace ia64/t-glibc by ia64/t-linux.
9810 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9811 system libunwind.
9812 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9813 t-slibgcc-hpux to tmake_file.
9814 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9815 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9816 (m32rle-*-linux*): Likewise.
9817 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9818 sjlj exceptions.
9819 (microblaze*-linux*): New case.
9820 Append to tmake_file, add t-slibgcc-nolc-override.
9821 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9822 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9823 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9824 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9825 rs6000/t-slibgcc-aix to tmake_file.
9826 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9827 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9828 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9829 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9830 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9831 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9832 sh*-*-linux*.
9833 (sparc-*-linux*): Append to tmake_file for *-leon*.
9834 Add sparc/t-linux to tmake_file for non-Leon targets.
9835 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9836 (tic6x-*-uclinux): New case.
9837 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9838 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9839 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9840 (am33_2.0-*-linux*): Append to tmake_file.
9841 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9842 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9843 x86_64-*-kfreebsd*-gnu.
9844 Add i386/t-linux to tmake_file.
9845
9846 2011-10-28 Ian Lance Taylor <iant@google.com>
9847
9848 * config/i386/morestack.S: Correct CFI information to do proper
9849 returns throughout function. In 32-bit mode, save %ebx so that it
9850 is restored on unwind.
9851
9852 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9853
9854 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9855 case where B3 isn't the return register.
9856
9857 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9858 logic for doubleword pops.
9859
9860 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9861
9862 * config/rs6000/t-freebsd: Add wildcard.
9863
9864 2011-10-21 Paul Brook <paul@codesourcery.com>
9865
9866 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9867
9868 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9869 Eric Botcazou <ebotcazou@adacore.com>
9870
9871 PR target/50737
9872 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9873 fs->signal_frame to 1.
9874
9875 2011-10-07 Ian Lance Taylor <iant@google.com>
9876
9877 * generic-morestack-thread.c: #include <errno.h>.
9878
9879 2011-10-07 Ian Lance Taylor <iant@google.com>
9880
9881 PR target/46093
9882 * generic-morestack.c (__generic_morestack): Make sure the segment
9883 is large enough for both the stack frame and the copied
9884 parameters.
9885
9886 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9887
9888 PR bootstrap/49804
9889 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9890 extra_parts.
9891
9892 2011-09-28 Nick Clifton <nickc@redhat.com>
9893
9894 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9895 64-bit doubles are not enabled.
9896 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9897 and floatunsisf functions.
9898
9899 2011-09-13 Paul Brook <paul@codesourcery.com>
9900
9901 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9902 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9903 * unwind-arm-common.inc: New file.
9904 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9905 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9906 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9907 * config/c6x/libunwind.S: New file.
9908 * config/c6x/pr-support.c: New file.
9909 * config/c6x/unwind-c6x.c: New file.
9910 * config/c6x/unwind-c6x.h: New file.
9911 * config/c6x/t-c6x-elf: New file.
9912
9913 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9914
9915 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9916 (ASM_DIVZERO): Ditto.
9917 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9918
9919 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9920
9921 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9922
9923 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9924
9925 PR target/50090
9926 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9927 instead of an assembly one.
9928
9929 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9930
9931 PR bootstrap/50047
9932 * Makefile.in (install-unwind_h): Create
9933 $(gcc_objdir)/include/unwind.h atomically.
9934
9935 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9936
9937 * Makefile.in (install-unwind_h): Remove destination file first.
9938
9939 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9940
9941 * sync.c: New file.
9942 * config/mips/t-mips16: New file.
9943 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9944 (mips*-*-linux*): Likewise.
9945 (mips*-sde-elf*): Likewise.
9946 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9947 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9948 Add mips/t-mips16 to tmake_file.
9949 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9950 (mips-*-elf*): Likewise.
9951 (mips64-*-elf*): Likewise.
9952 (mips64orion-*-elf*): Likewise.
9953 (mips*-*-rtems*): Likewise.
9954 (mipstx39-*-elf*): Likewise.
9955 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9956 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9957 LIBGCC_SYNC_CFLAGS.
9958 Use $(srcdir) to refer to sync.c.
9959 Use $<.
9960 ($(libgcc-sync-funcs-o)): Likewise.
9961 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9962 ($(libgcc-sync-funcs-s-o)): Likewise.
9963
9964 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9965
9966 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9967 t-libunwind.
9968
9969 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9970
9971 PR other/48007
9972 * config/i386/value-unwind.h: New.
9973
9974 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9975
9976 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9977 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9978 Add to tmake_file rather than overriding it.
9979
9980 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9981
9982 * config/t-softfp: Remove.
9983 * soft-fp: Moved from ../gcc/config.
9984 * soft-fp/README: Remove t-softfp reference.
9985 * soft-fp/t-softfp: Move to config/t-softfp.
9986 (softfp_machine_header): Remove.
9987 (softfp_file_list): Remove config subdir.
9988 (soft-fp-objects): New variable.
9989 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9990 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9991 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9992 * config/t-softfp-excl: New file.
9993 * config/t-softfp-sfdf: New file.
9994 * config/t-softfp-tf: New file.
9995 * config/no-sfp-machine.h: New file.
9996 * config/arm/sfp-machine.h: New file.
9997 * config/arm/t-softfp: New file.
9998 * config/c6x/sfp-machine.h: New file.
9999 * config/i386/32/t-fprules-softfp: Rename to ...
10000 * config/i386/32/t-softfp: ... this.
10001 (tifunctions, LIB2ADD): Remove.
10002 (softfp_int_modes): Override.
10003 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10004 subdir.
10005 * config/i386/64/eqtf2.c: Likewise.
10006 * config/i386/64/getf2.c: Likewise.
10007 * config/i386/64/letf2.c: Likewise.
10008 * config/ia64/sft-machine.h: New file.
10009 * config/ia64/t-fprules-softfp: Rename to ...
10010 * config/ia64/t-softfp: ... this.
10011 * config/lm32/sfp-machine.h: New file.
10012 * config/moxie/t-moxie-softfp: Remove.
10013 * config/rs6000/ibm-ldouble-format: New file.
10014 * config/rs6000/ibm-ldouble.c: New file.
10015 * config/rs6000/libgcc-ppc-glibc.ver: New file
10016 * config/rs6000/libgcc-ppc64.ver: New file
10017 * config/rs6000/sfp-machine.h: New file.
10018 * config/rs6000/t-freebsd: New file.
10019 * config/rs6000/t-ibm-ldouble: New file.
10020 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10021 libgcc-ppc-glibc.ver.
10022 * config/rs6000/t-linux64: New file.
10023 * config/rs6000/t-ppccomm (LIB2ADD): Add
10024 $(srcdir)/config/rs6000/ibm-ldouble.c.
10025 * config/rs6000/t-ppccomm-ldbl: New file.
10026 * config/score/sfp-machine.h: New file.
10027 * config.host (sfp_machine_header): Explain.
10028 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10029 t-softfp to tmake_file.
10030 (arm*-*-uclinux*): Likewise.
10031 (arm*-*-ecos-elf): Likewise.
10032 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10033 (arm*-*-rtems*): Likewise.
10034 (arm*-*-elf): Likewise.
10035 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10036 in tmake_file.
10037 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10038 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10039 (lm32-*-uclinux*): Likewise.
10040 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10041 t-softfp-excl, t-softfp.
10042 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10043 (powerpc64-*-darwin*): Likewise.
10044 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10045 to tmake_file.
10046 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10047 tmake_file.
10048 (powerpc-*-eabisim*): Likewise.
10049 (powerpc-*-elf*): Likewise.
10050 (powerpc-*-eabialtivec*): Likewise.
10051 (powerpc-xilinx-eabi*): Likewise.
10052 (powerpc-*-rtems*): Likewise.
10053 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10054 t-softfp-excl, t-softfp to tmake_file.
10055 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10056 rs6000/t-ppccomm-ldbl to tmake_file.
10057 (powerpcle-*-elf*): Likewise.
10058 (powerpcle-*-eabisim*): Likewise.
10059 (powerpcle-*-eabi*): Likewise.
10060 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10061 rs6000/t-ibm-ldouble to tmake_file.
10062 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10063 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10064 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10065 (tic6x-*-*): Likewise.
10066 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10067 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10068 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10069 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10070 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10071 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10072 t-softfp to tmake_file.
10073 * configure.ac (sfp_machine_header): Provide default if unset.
10074 Substitute.
10075 Link sfp-machine.h to config/$sfp_machine_header.
10076 * configure: Regenerate.
10077
10078 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10079
10080 * Makefile.in (double_type_size, long_double_type_size): Set.
10081 Remove $(fpbit-in-libgcc) support.
10082 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10083 (fpbit-src): New variable.
10084 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10085 Compile with -DFLOAT $(FPBIT_CFLAGS).
10086 Use $<.
10087 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10088 Compile with $(FPBIT_CFLAGS).
10089 Use $<.
10090 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10091 Compile with -DFLOAT $(TPBIT_CFLAGS).
10092 Use $<.
10093 * configure.ac (double_type_size, long_double_type_size):
10094 Determine and substitute.
10095 * configure: Regenerate.
10096 * fp-bit.c, fp-bit.h: New files.
10097 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10098 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10099 * config/mips/t-mips: New file.
10100 * config/mips/t-sdemtk: New file.
10101 * config/rs6000/ppc64-fp.c: New file.
10102 * config/rs6000/t-darwin (LIB2ADD): Add
10103 $(srcdir)/config/rs6000/ppc64-fp.c.
10104 * config/rs6000/t-ppc64-fp: New file.
10105 * config/rx/rx-lib.h: New file.
10106 * config/rx/t-rx (FPBIT): Set to true.
10107 ($(gcc_objdir)/fp-bit.c): Remove.
10108 (DPBIT): Set to true only with -m64bit-doubles.
10109 ($(gcc_objdir)/dp-bit.c): Remove.
10110 * config/sparc/t-softfp: Remove.
10111 * config/spu/t-elf: New file.
10112 * config/t-fdpbit, config/t-fpbit: New files.
10113 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10114 (mips*-*-*): Likewise.
10115 (arm-wrs-vxworks): Likewise.
10116 (arm*-*-freebsd*): Likewise.
10117 (avr-*-rtems*): Add t-fpbit to tmake_file.
10118 (avr-*-*): Likewise.
10119 (bfin*-elf*): Add t-fdpbit to tmake_file.
10120 (bfin*-uclinux*): Likewise.
10121 (bfin*-linux-uclibc*): Likewise.
10122 (bfin*-rtems*): New case.
10123 Add t-fdpbit to tmake_file.
10124 (bfin*-*): Add t-fdpbit to tmake_file.
10125 (crisv32-*-elf): Likewise.
10126 (cris-*-linux*): Likewise.
10127 (fr30-*-elf): Likewise.
10128 (frv-*-elf, frv-*-*linux*): Likewise.
10129 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10130 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10131 (m32r-*-elf*): Likewise.
10132 (m32rle-*-elf*): Likewise.
10133 (m32r-*-linux*): Likewise.
10134 (m32rle-*-linux*): Likewise.
10135 (mcore-*-elf): Add t-fdpbit to tmake_file.
10136 (microblaze*-*-*): Likewise.
10137 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10138 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10139 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10140 Fix typo.
10141 Add mips/t-tpbit to tmake-file.
10142 (mips*-*-linux*): Fix typo.
10143 (mips*-sde-elf*): New case
10144 Add mips/t-sdemtk unless using newlib.
10145 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10146 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10147 (mn10300-*-*): Likewise.
10148 (pdp11-*-*): Likewise.
10149 (picochip-*-*): Add t-fpbit to tmake_file.
10150 (powerpc-*-eabisimaltivec*): Likewise.
10151 (powerpc-*-eabisim*): Likewise.
10152 (powerpc-*-elf*): Likewise.
10153 (powerpc-*-eabialtivec*): Likewise.
10154 (powerpc-xilinx-eabi*): New case.
10155 Add t-fdpbit to tmake_file.
10156 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10157 (powerpc-*-rtems*): Likewise.
10158 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10159 tmake_file.
10160 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10161 tmake_file.
10162 (powerpc-*-lynxos*): Likewise.
10163 (powerpcle-*-elf*): Likewise.
10164 (powerpcle-*-eabisim*): Likewise.
10165 (powerpcle-*-eabi*): Likewise.
10166 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10167 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10168 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10169 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10170 (rx-*-elf): Add t-fdpbit to tmake_file.
10171 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10172 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10173 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10174 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10175 sh*-*-netbsd*.
10176 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10177 (sh-wrs-vxworks): Likewise.
10178 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10179 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10180 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10181 (sparc64-*-rtems*): ... new case.
10182 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10183 (spu-*-elf*): Likewise.
10184 Add spu/t-elf to tmake_file.
10185 (v850*-*-*): Add t-fdpbit to tmake_file.
10186 (xstormy16-*-elf): Likewise.
10187 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10188 (mep*-*-*): Likewise.
10189
10190 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10191
10192 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10193 variables.
10194 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10195 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10196 (install-unwind_h): New target.
10197 (all): Depend on it.
10198 * config.host (unwind_header): New variable.
10199 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10200 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10201 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10202 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10203 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10204 Set unwind_header.
10205 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10206 Set unwind_header.
10207 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10208 arm*-*-eabi*.
10209 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10210 Set unwind_header.
10211 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10212 (ia64*-*-freebsd*): Likewise.
10213 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10214 tmake_file.
10215 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10216 $with_system_libunwind.
10217 (ia64*-*-hpux*): Set tmake_file.
10218 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10219 (picochip-*-*): Set tmake_file.
10220 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10221 md_unwind_header.
10222 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10223 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10224 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10225 (xtensa*-*-elf*): Set tmake_file.
10226 (xtensa*-*-linux*): Likewise.
10227 * configure.ac: Include ../config/unwind_ipinfo.m4.
10228 Call GCC_CHECK_UNWIND_GETIPINFO.
10229 Link unwind.h to $unwind_header.
10230 * configure: Regenerate.
10231 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10232 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10233 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10234 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10235 * config/unwind-dw2-fde-darwin.c: New file.
10236 * config/arm/libunwind.S, config/arm/pr-support.c,
10237 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10238 config/arm/unwind-arm.h,: New files.
10239 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10240 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10241 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10242 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10243 config/ia64/unwind-ia64.h: New files.
10244 * config/picochip/t-picochip: New file.
10245 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10246 files.
10247 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10248 * config/s390/t-tpf (LIB2ADDEH): Remove.
10249 * config/t-darwin (LIB2ADDEH): Set.
10250 * config/t-eh-dw2-dip: New file.
10251 * config/t-libunwind, config/t-libunwind-elf: New files.
10252 * config/t-sol2 (LIB2ADDEH): Remove.
10253 * config/xtensa/t-xtensa: New file.
10254
10255 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10256
10257 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10258 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10259 long long to check rt_sigreturn syscall.
10260
10261 2011-08-02 Alan Modra <amodra@gmail.com>
10262
10263 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10264 Restore for indirect call bcrtl from correct stack slot, and only
10265 if cfa+40 isn't valid.
10266
10267 2011-08-01 Julian Brown <julian@codesourcery.com>
10268
10269 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10270 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10271 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10272
10273 2011-08-01 Julian Brown <julian@codesourcery.com>
10274
10275 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10276 (libgcc-std.ver.in): Use above.
10277 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10278 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10279 throughout file.
10280 * config/t-fixedpoint-gnu-prefix: New file.
10281 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10282 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10283 instead of __PFX__.
10284
10285 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10286
10287 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10288 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10289 for x86-64. Properly check __x86_64__ and __LP64__.
10290
10291 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10292
10293 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10294 version.
10295 (_FP_WS_TYPE): Likewise.
10296 (_FP_I_TYPE): Likewise.
10297
10298 2011-07-28 Alan Modra <amodra@gmail.com>
10299
10300 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10301 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10302 in a plt call stub. Do restore r2 if stopped on bctrl.
10303
10304 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10305
10306 * config.host (i[3456x]86-*-netware*): Remove.
10307 * config/i386/netware-crt0.c, config/i386/t-nwld,
10308 config/i386/t-slibgcc-nwld: Remove.
10309
10310 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10311
10312 * config.host: Handle tic6x-*-*.
10313 * config/c6x/c6x-abi.h: New file.
10314
10315 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10316
10317 * config/i386/crtprec.c: New file.
10318 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10319 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10320 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10321 (x86_64-*-darwin*): Likewise.
10322 (i[34567]86-*-solaris2*: Likewise.
10323
10324 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10325
10326 * config/alpha/crtfastmath.c: New file.
10327 * config/i386/crtfastmath.c: New file.
10328 * config/ia64/crtfastmath.c: New file.
10329 * config/mips/crtfastmath.c: New file.
10330 * config/sparc/crtfastmath.c: New file.
10331
10332 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10333 crtfastmath.c.
10334 Add -frandom-seed=gcc-crtfastmath.
10335 * config/alpha/t-crtfm: Remove.
10336 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10337 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10338
10339 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10340 (alpha*-dec-osf5.1*): Likewise.
10341 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10342 Add crtfastmath.o to extra_parts.
10343 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10344 Add crtfastmath.o to extra_parts.
10345 (x86_64-*-darwin*): Likewise.
10346 (x86_64-*-mingw*): Likewise.
10347 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10348 (ia64*-*-freebsd*): Likewise.
10349 (ia64*-*-linux*): Likewise.
10350 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10351 Add crtfastmath.o to extra_parts.
10352
10353 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10354
10355 * config/darwin-crt3.o: New file.
10356 * config/rs6000/darwin-crt2.c: New file.
10357 * config/t-darwin: New file.
10358 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10359 (crt2.o): New rule.
10360 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10361 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10362 (powerpc64-*-darwin*): Likewise.
10363
10364 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10365
10366 * config/i386/netware-crt0.c: New file.
10367 * config/i386/t-nwld: Rename to ...
10368 * config/i386/t-slibgcc-nwld: ... this.
10369 * config/i386/t-nwld: New file.
10370 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10371 tmake_file.
10372 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10373 extra_parts.
10374
10375 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10376
10377 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10378 i386/t-crtstuff.
10379 * configure: Regenerate.
10380
10381 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10382
10383 * dfp-bit.c, dfp-bit.h: New files.
10384 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10385 variables.
10386 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10387 ($(d64pbit-o)): Likewise.
10388 ($(d128pbit-o)): Likewise.
10389 * config/t-dfprules: New file.
10390 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10391 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10392 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10393 (x86_64-*-linux*): Likewise.
10394 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10395 (i[34567]86-*-cygwin*): Likewise.
10396 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10397 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10398
10399 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10400
10401 * Makfile.in (LIBGCOV): New variable.
10402 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10403 * libgcov.c: New file.
10404
10405 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10406
10407 * fixed-bit.c, fixed-bit.h: New files.
10408 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10409 refer to fixed-bit.c.
10410
10411 2011-07-07 Joseph Myers <joseph@codesourcery.com>
10412
10413 * config.host (*local*): Remove.
10414
10415 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10416
10417 PR target/39150
10418 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10419 like i?86-*-solaris2.1[0-9]*.
10420 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10421 * configure.ac (i?86-*-solaris2*): Likewise.
10422 * configure: Regenerate.
10423
10424 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
10425
10426 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10427 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10428 md_unwind_header by splitting out of...
10429 (i[34567]86-*-linux*): ... this.
10430 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10431 Remove md_unwind_header by splitting out of...
10432 (x86_64-*-linux*): ... this.
10433
10434 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
10435
10436 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10437
10438 2011-06-28 Nick Clifton <nickc@redhat.com>
10439
10440 * config.host: Recognize all V850 variants.
10441
10442 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
10443
10444 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10445
10446 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10447
10448 * shared-object.mk (c_flags-$o): Save c_flags.
10449 ($(base)$(objext)): Use it.
10450 ($(base)_s$(objext)): Likewise.
10451
10452 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10453
10454 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10455 * libgcc-std.ver.in (GCC_4.7.0): New section.
10456
10457 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
10458
10459 PR target/49313
10460 PR target/29524
10461 * config/avr/t-avr: Fix line endings.
10462 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10463 _parityXX2.
10464
10465 2011-06-14 Olivier Hainque <hainque@adacore.com>
10466 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10467
10468 * config/mips/irix6-unwind.h: New file.
10469 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10470
10471 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10472
10473 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10474 (sparc64_fallback_frame_state): Use it.
10475 (sparc64_frob_update_context): Further adjust context.
10476 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10477 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10478 * config/sparc/sol2-cn.S: Likewise.
10479
10480 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10481
10482 * enable-execute-stack-empty.c: New file.
10483 * enable-execute-stack-mprotect.c: New file.
10484 * config/i386/enable-execute-stack-mingw32.c: New file.
10485 * config.host (enable_execute_stack): New variable.
10486 Select appropriate variants.
10487 * configure.ac: Link enable-execute-stack.c to
10488 $enable_execute_stack.
10489 * configure: Regenerate.
10490 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10491 (lib2funcs): Remove _enable_execute_stack.
10492
10493 2011-06-09 David S. Miller <davem@davemloft.net>
10494 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10495
10496 * config.host (sparc-*-linux*): Correct md_unwind_header
10497 filename.
10498 (s390x-ibm-tpf*): Fix typo.
10499
10500 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10501
10502 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10503 Add crtfastmath.o to extra_parts.
10504 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10505 mips/t-crtfm.
10506 * config/mips/t-crtfm: Remove.
10507
10508 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10509
10510 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10511
10512 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10513
10514 * config.host (sh*-*-linux*): Fix typo.
10515
10516 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10517
10518 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10519 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10520 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10521 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10522 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10523 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10524 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10525 Wrap in !__MINGW64__.
10526 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10527 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10528 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10529 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10530 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10531 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10532 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10533 Wrap in !__LP64__.
10534 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10535 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10536 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10537 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10538 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10539 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10540 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10541 * config/no-unwind.h: New file.
10542 * config.host (md_unwind_header): Document.
10543 Define.
10544 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10545 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10546 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10547 hppa[12]*-*-hpux11*): Set md_unwind_header.
10548 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10549 Set md_unwind_header.
10550 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10551 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10552 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10553 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10554 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10555 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10556 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10557 md_unwind_header.
10558 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10559 * configure: Regenerate.
10560
10561 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10562
10563 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10564 Set tmake_file, extra_parts.
10565 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10566 Remove O32 support.
10567 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10568 Remove O32 support.
10569 * config/mips/t-irix6: New file.
10570 * config/mips/t-slibgcc-irix: New file.
10571
10572 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10573
10574 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10575 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10576
10577 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10578
10579 * configure.ac (target_thread_file): Determine thread model.
10580 * configure: Regenerate.
10581 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10582 * config/alpha/t-alpha: New file.
10583 * config/alpha/t-crtfm: Use $<.
10584 * config/alpha/t-ieee: New file.
10585 * config/alpha/t-osf-pthread: New file.
10586 * config/alpha/t-slibgcc-osf: New file.
10587 * config/alpha/libgcc-osf5.ver: New file.
10588
10589 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10590
10591 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10592 tmake_file.
10593 Add crtfastmath.o to extra_parts.
10594
10595 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10596
10597 * config/gmon-sol2.c: Reindent.
10598 Cleanup comments.
10599 Remove, correct casts.
10600 Use STDERR_FILENO, NULL.
10601 (BASEADDRESS): Remove.
10602 (minbrk): Remove.
10603 (errno, sbrk): Remove declarations.
10604 (monstartup) [hp300]: Remove.
10605 (mcount): Remove.
10606
10607 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10608
10609 * Makefile.in (cpu_type): Define.
10610 * config.host (i[34567]86-*-rtems*): Handle it.
10611 (i[34567]86-*-solaris2*): Move body ...
10612 (*-*-solaris2*): ... here.
10613 New case, generalize.
10614 (sparc-*-elf*): Handle it.
10615 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10616 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10617 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10618 Fold into ...
10619 (sparc*-*-solaris2*): ... this.
10620 New case.
10621 (sparc64-*-elf*): Handle it.
10622 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10623 Merge ../gcc/config/i386/gmon-sol2.c.
10624 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10625 Use C comments.
10626 Merge ../gcc/config/i386/sol2-gc1.asm.
10627 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10628 Use C comments.
10629 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10630 Use C comments.
10631 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10632 * config/i386/t-crtstuff: New file.
10633 * config/i386/t-softfp: New file.
10634 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10635 $(T)crti.o, $(T)crtn.o): Remove.
10636 (gcrt1.o): New rule.
10637 (TARGET_LIBGCC2_CFLAGS): Remove.
10638 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10639 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10640 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10641 * config/sparc/t-sol2: New file.
10642 * config/sparc/t-crtfm: Move to ...
10643 * config/t-crtfm: ... this.
10644 Use $(cpu_type), $<.
10645 * config/t-crtin: New file.
10646 * config/sparc/t-softfp: New file.
10647 * config/sparc/t-softmul: New file.
10648 * config/t-rtems: New file.
10649 * config/t-slibgcc: New file.
10650 * config/t-slibgcc-elf-ver: New file.
10651 * config/t-slibgcc-gld: New file.
10652 * config/t-slibgcc-sld: New file.
10653 * config/t-sol2: New file.
10654 * configure.ac: Include ../config/lib-ld.m4.
10655 Call AC_LIB_PROG_LD_GNU.
10656 Substitute cpu_type.
10657 * configure: Regenerate.
10658
10659 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10660
10661 PR bootstrap/49173
10662 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10663 libgcc-std.ver in the build directory.
10664 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10665 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10666
10667 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10668
10669 * libgcc-std.ver.in: New file.
10670 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10671 variables.
10672 (libgcc-std.ver): New rule.
10673 * config/t-gnu-prefix: New file.
10674
10675 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10676
10677 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10678
10679 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10680
10681 * config/i386/darwin-lib.h: New file.
10682
10683 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10684
10685 * config/arm/symbian-lib.h: New.
10686
10687 2011-05-04 Chris Demetriou <cgd@google.com>
10688
10689 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10690 (__x86.get_pc_thunk.bx): ...this.
10691 (__morestack): Adjust for rename, remove undef of __i686.
10692
10693 2011-05-03 Chris Demetriou <cgd@google.com>
10694
10695 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10696
10697 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10698
10699 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10700 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10701 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10702 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10703 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10704 Remove cases.
10705
10706 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10707
10708 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10709 Adjust copyright year.
10710
10711 2011-03-07 Ian Lance Taylor <iant@google.com>
10712
10713 * generic-morestack.c (__splitstack_find): Adjust returned stack
10714 pointer to include all registers pushed by __morestack.
10715
10716 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10717
10718 PR target/40125
10719 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10720 (toolexecdir): Calculate and AC_SUBST.
10721 (toolexeclibdir): Likewise.
10722 * Makefile.in (target_noncanonical): Import.
10723 (toolexecdir): Likewise.
10724 (toolexeclibdir): Likewise.
10725 * configure: Regenerate.
10726
10727 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10728
10729 PR target/46040
10730 * config/arm/bpabi.h: Rename to...
10731 * config/arm/bpabi-lib.h: ...this.
10732
10733 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10734
10735 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10736 appropriate.
10737 * configure: Regenerate.
10738
10739 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10740
10741 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10742 __FLOAT_WORD_ORDER__.
10743 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10744 Delete.
10745
10746 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10747
10748 PR other/46202
10749 * Makefile.in (install-strip): New phony target.
10750
10751 2010-11-07 Ian Lance Taylor <iant@google.com>
10752
10753 PR target/46089
10754 * config/i386/morestack.S (__morestack_large_model): New
10755 function.
10756
10757 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10758
10759 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10760 Delete.
10761 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10762
10763 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10764
10765 * config/arm/bpabi.h: New file.
10766 * config/frv/frv-abi.h: New file.
10767
10768 2010-10-01 Ian Lance Taylor <iant@google.com>
10769
10770 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10771 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10772
10773 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10774
10775 PR target/45858
10776 * config.host: Add the missing `$'.
10777
10778 2010-09-30 Michael Eager <eager@eagercon.com>
10779
10780 * config.host: Add microblaze*-*-*.
10781 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10782 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10783 udivsi3.asm,umodsi3.asm}: New.
10784
10785 2010-09-28 Ian Lance Taylor <iant@google.com>
10786
10787 * configure.ac: Adjust CFI test to test assembler directly rather
10788 than checking gcc preprocessor macro.
10789 * configure: Rebuild.
10790
10791 2010-09-27 Ian Lance Taylor <iant@google.com>
10792
10793 * configure.ac: Test whether assembler supports CFI directives.
10794 * config.host: Only add t-stack and i386/t-stack-i386 to
10795 tmake_file if libgcc_cv_cfi is "yes".
10796 * configure: Rebuild.
10797
10798 2010-09-27 Ian Lance Taylor <iant@google.com>
10799
10800 * generic-morestack.h: New file.
10801 * generic-morestack.c: New file.
10802 * generic-morestack-thread.c: New file.
10803 * config/i386/morestack.S: New file.
10804 * config/t-stack: New file.
10805 * config/i386/t-stack-i386: New file.
10806 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10807 i386/t-stack-i386 to tmake_file.
10808
10809 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10810
10811 * Makefile.in (libgcc-extra-parts): Check for static archives and
10812 invoke ranlib after installing them.
10813 (gcc-extra-parts): Likewise.
10814 (install-leaf): Likewise.
10815
10816 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10817
10818 * configure: Regenerated.
10819
10820 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10821
10822 * configure: Regenerated.
10823
10824 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10825 Andrew Pinski <pinskia@gmail.com>
10826
10827 PR target/40959
10828 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10829
10830 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10831
10832 PR target/45524
10833 * configure: Regenerated.
10834
10835 2010-09-06 Andreas Schwab <schwab@redhat.com>
10836
10837 * configure: Regenerate.
10838
10839 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10840
10841 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10842 64bit targets.
10843 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10844 for 64bit targets.
10845
10846 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10847 Iain Sandoe <iains@gcc.gnu.org>
10848
10849 PR target/45476
10850 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10851 LIB2FUNCS_EXCLUDE functions.
10852
10853 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10854
10855 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10856 Include dfp.m4.
10857 * configure: Regenerate.
10858
10859 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10860
10861 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10862 i386/t-freebsd to tmake_file.
10863 * config/i386/t-freebsd: New file.
10864 * config/i386/libgcc-bsd.ver: New file.
10865
10866 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10867
10868 * config.host (powerpc*-eabispe*): Set tmake_file.
10869 (powerpc*-eabi*): Likewise.
10870 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10871 crtbeginS, crtendS, crtbeginT.
10872
10873 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10874
10875 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10876 to tmake_file. Add crtfastmath.o to extra_parts.
10877 * config/mips/t-crtfm: New.
10878
10879 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10880
10881 * config.host (sparc64-*-rtems*): New target.
10882
10883 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10884
10885 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10886 assembler syntax.
10887
10888 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10889
10890 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10891
10892 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10893
10894 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10895 alpha-dec-osf5.0* support.
10896
10897 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10898
10899 * config.host: Add lm32-*-rtems*.
10900
10901 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10902 Uros Bizjak <ubizjak@gmail.com>
10903
10904 PR target/39048
10905 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10906 like other remaining 32-bit x86 OSes.
10907 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10908 assembler syntax.
10909 * config/i386/libgcc-sol2.ver: New file.
10910 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10911
10912 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10913
10914 PR c/43553
10915 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10916 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10917 is used and substitute set_use_emutls.
10918 * configure: Regenerated.
10919
10920 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10921
10922 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10923
10924 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10925
10926 PR target/38085
10927 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10928 MULTILIB_CFLAGS.
10929 ($(T)gcrt1.o): Likewise.
10930 ($(T)crt1.o): Likewise.
10931 ($(T)crti.o): Likewise.
10932 ($(T)crtn.o): Likewise.
10933
10934 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10935
10936 PR other/42980
10937 * Makefile.in (install): Use $(MAKE) string in rule, for
10938 parallel make.
10939
10940 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10941
10942 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10943 * config/mmix/t-mmix: New file.
10944 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10945
10946 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10947
10948 PR java/41991
10949 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10950 SHLIB_MAPFILES.
10951
10952 2010-01-04 Anthony Green <green@moxielogic.com>
10953
10954 * config/moxie/crti.asm, config/moxie/crtn.asm,
10955 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10956 config/moxie/t-moxie: New files.
10957 * config.host: Add t-moxie-softfp reference.
10958
10959 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10960
10961 PR other/39888
10962 * config/t-slibgcc-darwin: Fix embedded rpaths for
10963 --enable-version-specific-runtime-libs, build extension stub
10964 libs exposing features available from current libgcc_s.
10965
10966 2009-11-11 Jon Beniston <jon@beniston.com>
10967
10968 * config.host: Add lm32 targets.
10969 * config/lm32: New directory.
10970 * config/lm32/libgcc_lm32.h: New file.
10971 * config/lm32/_mulsi3.c: New file.
10972 * config/lm32/_udivmodsi4.c: New file.
10973 * config/lm32/_divsi3.c: New file.
10974 * config/lm32/_modsi3.c: New file.
10975 * config/lm32/_udivsi3.c: New file.
10976 * config/lm32/_umodsi3.c: New file.
10977 * config/lm32/_lshrsi3.S: New file.
10978 * config/lm32/_ashrsi3.S: New file.
10979 * config/lm32/_ashlsi3.S: New file.
10980 * config/lm32/crti.S: New file.
10981 * config/lm32/crtn.S: New file.
10982 * config/lm32/t-lm32: New file.
10983 * config/lm32/t-elf: New file.
10984 * config/lm32/t-uclinux: New file.
10985
10986 2009-10-26 Nick Clifton <nickc@redhat.com>
10987
10988 * config.host: Add support for RX target.
10989 * config/rx: New directory.
10990 * config/rx/rx-abi-functions.c: New file. Supplementary
10991 functions for libgcc to support the RX ABI.
10992 * config/rx/rx-abi.h: New file. Supplementary header file for
10993 libgcc RX ABI functions.
10994 * config/rx/t-rx: New file: Makefile fragment for building
10995 libgcc for the RX.
10996
10997 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10998
10999 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11000 constraint of y0 to "g".
11001
11002 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11003
11004 * config.host: Include the s390 makefile fragments.
11005 * config/s390/32/_fixdfdi.c: New file.
11006 * config/s390/32/_fixsfdi.c: New file.
11007 * config/s390/32/_fixtfdi.c: New file.
11008 * config/s390/32/_fixunsdfdi.c: New file.
11009 * config/s390/32/_fixunssfdi.c: New file.
11010 * config/s390/32/_fixunstfdi.c: New file.
11011 * config/s390/32/t-floattodi: New file.
11012 * config/s390/libgcc-glibc.ver: New file.
11013 * config/s390/t-crtstuff: New file.
11014 * config/s390/t-linux: New file.
11015 * config/s390/t-tpf: New file.
11016
11017 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11018
11019 * configure.ac (AC_PREREQ): Bump to 2.64.
11020
11021 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11022
11023 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11024
11025 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11026
11027 * configure: Regenerate.
11028
11029 2009-08-09 Douglas B Rupp <rupp@gnat.com>
11030
11031 * config.host (ia64-hp-*vms*): New target.
11032 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11033 with ia64-hp-*vms*.
11034
11035 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11036
11037 * configure.ac: Add snippet for maintainer-mode.
11038 * configure: Regenerate.
11039 * Makefile.in (AUTOCONF, configure_deps): New variables.
11040 ($(srcdir)/configure)): New rule, active only with maintainer
11041 mode turned on.
11042
11043 2009-06-23 DJ Delorie <dj@redhat.com>
11044
11045 Add MeP port.
11046 * config.host: Add mep support.
11047
11048 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
11049
11050 * config.host: Add i386/${host_address}/t-fprules-softfp and
11051 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11052
11053 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11054 for mingw targets.
11055 * config/i386/64/_multc3.c: Likewise.
11056 * config/i386/64/_powitf2.c: Likewise.
11057 * config/i386/64/eqtf2.c: Likewise.
11058 * config/i386/64/getf2.c: Likewise.
11059 * config/i386/64/letf2.c: Likewise.
11060 * config/i386/64/letf2.c: Likewise.
11061 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11062 unsigned long long for x64 mingw targets.
11063 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11064 (_FP_I_TYPE): Define as long long for x64 mingw target.
11065
11066 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11067
11068 * config.host (vax-*-linux*): New.
11069
11070 2009-05-31 Anthony Green <green@moxielogic.com>
11071
11072 * config.host: Add moxie support.
11073 * config/moxie/t-moxie: New file.
11074
11075 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
11076
11077 * config.host: Add i386/${host_address}/t-fprules-softfp and
11078 t-softfp to tmake_file for i[34567]86-*-cygwin*.
11079
11080 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11081
11082 * config.host: Add i386/${host_address}/t-fprules-softfp to
11083 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11084
11085 2009-04-09 Nick Clifton <nickc@redhat.com>
11086
11087 * config/ia64/tf-signs.c: Change copyright header to refer to
11088 version 3 of the GNU General Public License with version 3.1
11089 of the GCC Runtime Library Exception and to point readers at
11090 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11091 web page.
11092 * config/i386/32/tf-signs.c: Likewise.
11093 * config/libbid/_addsub_dd.c: Likewise.
11094 * config/libbid/_addsub_sd.c: Likewise.
11095 * config/libbid/_addsub_td.c: Likewise.
11096 * config/libbid/_dd_to_df.c: Likewise.
11097 * config/libbid/_dd_to_di.c: Likewise.
11098 * config/libbid/_dd_to_sd.c: Likewise.
11099 * config/libbid/_dd_to_sf.c: Likewise.
11100 * config/libbid/_dd_to_si.c: Likewise.
11101 * config/libbid/_dd_to_td.c: Likewise.
11102 * config/libbid/_dd_to_tf.c: Likewise.
11103 * config/libbid/_dd_to_udi.c: Likewise.
11104 * config/libbid/_dd_to_usi.c: Likewise.
11105 * config/libbid/_dd_to_xf.c: Likewise.
11106 * config/libbid/_df_to_dd.c: Likewise.
11107 * config/libbid/_df_to_sd.c: Likewise.
11108 * config/libbid/_df_to_td.c: Likewise.
11109 * config/libbid/_di_to_dd.c: Likewise.
11110 * config/libbid/_di_to_sd.c: Likewise.
11111 * config/libbid/_di_to_td.c: Likewise.
11112 * config/libbid/_div_dd.c: Likewise.
11113 * config/libbid/_div_sd.c: Likewise.
11114 * config/libbid/_div_td.c: Likewise.
11115 * config/libbid/_eq_dd.c: Likewise.
11116 * config/libbid/_eq_sd.c: Likewise.
11117 * config/libbid/_eq_td.c: Likewise.
11118 * config/libbid/_ge_dd.c: Likewise.
11119 * config/libbid/_ge_sd.c: Likewise.
11120 * config/libbid/_ge_td.c: Likewise.
11121 * config/libbid/_gt_dd.c: Likewise.
11122 * config/libbid/_gt_sd.c: Likewise.
11123 * config/libbid/_gt_td.c: Likewise.
11124 * config/libbid/_isinfd128.c: Likewise.
11125 * config/libbid/_isinfd32.c: Likewise.
11126 * config/libbid/_isinfd64.c: Likewise.
11127 * config/libbid/_le_dd.c: Likewise.
11128 * config/libbid/_le_sd.c: Likewise.
11129 * config/libbid/_le_td.c: Likewise.
11130 * config/libbid/_lt_dd.c: Likewise.
11131 * config/libbid/_lt_sd.c: Likewise.
11132 * config/libbid/_lt_td.c: Likewise.
11133 * config/libbid/_mul_dd.c: Likewise.
11134 * config/libbid/_mul_sd.c: Likewise.
11135 * config/libbid/_mul_td.c: Likewise.
11136 * config/libbid/_ne_dd.c: Likewise.
11137 * config/libbid/_ne_sd.c: Likewise.
11138 * config/libbid/_ne_td.c: Likewise.
11139 * config/libbid/_sd_to_dd.c: Likewise.
11140 * config/libbid/_sd_to_df.c: Likewise.
11141 * config/libbid/_sd_to_di.c: Likewise.
11142 * config/libbid/_sd_to_sf.c: Likewise.
11143 * config/libbid/_sd_to_si.c: Likewise.
11144 * config/libbid/_sd_to_td.c: Likewise.
11145 * config/libbid/_sd_to_tf.c: Likewise.
11146 * config/libbid/_sd_to_udi.c: Likewise.
11147 * config/libbid/_sd_to_usi.c: Likewise.
11148 * config/libbid/_sd_to_xf.c: Likewise.
11149 * config/libbid/_sf_to_dd.c: Likewise.
11150 * config/libbid/_sf_to_sd.c: Likewise.
11151 * config/libbid/_sf_to_td.c: Likewise.
11152 * config/libbid/_si_to_dd.c: Likewise.
11153 * config/libbid/_si_to_sd.c: Likewise.
11154 * config/libbid/_si_to_td.c: Likewise.
11155 * config/libbid/_td_to_dd.c: Likewise.
11156 * config/libbid/_td_to_df.c: Likewise.
11157 * config/libbid/_td_to_di.c: Likewise.
11158 * config/libbid/_td_to_sd.c: Likewise.
11159 * config/libbid/_td_to_sf.c: Likewise.
11160 * config/libbid/_td_to_si.c: Likewise.
11161 * config/libbid/_td_to_tf.c: Likewise.
11162 * config/libbid/_td_to_udi.c: Likewise.
11163 * config/libbid/_td_to_usi.c: Likewise.
11164 * config/libbid/_td_to_xf.c: Likewise.
11165 * config/libbid/_tf_to_dd.c: Likewise.
11166 * config/libbid/_tf_to_sd.c: Likewise.
11167 * config/libbid/_tf_to_td.c: Likewise.
11168 * config/libbid/_udi_to_dd.c: Likewise.
11169 * config/libbid/_udi_to_sd.c: Likewise.
11170 * config/libbid/_udi_to_td.c: Likewise.
11171 * config/libbid/_unord_dd.c: Likewise.
11172 * config/libbid/_unord_sd.c: Likewise.
11173 * config/libbid/_unord_td.c: Likewise.
11174 * config/libbid/_usi_to_dd.c: Likewise.
11175 * config/libbid/_usi_to_sd.c: Likewise.
11176 * config/libbid/_usi_to_td.c: Likewise.
11177 * config/libbid/_xf_to_dd.c: Likewise.
11178 * config/libbid/_xf_to_sd.c: Likewise.
11179 * config/libbid/_xf_to_td.c: Likewise.
11180 * config/libbid/bid128.c: Likewise.
11181 * config/libbid/bid128_2_str.h: Likewise.
11182 * config/libbid/bid128_2_str_macros.h: Likewise.
11183 * config/libbid/bid128_2_str_tables.c: Likewise.
11184 * config/libbid/bid128_add.c: Likewise.
11185 * config/libbid/bid128_compare.c: Likewise.
11186 * config/libbid/bid128_div.c: Likewise.
11187 * config/libbid/bid128_fma.c: Likewise.
11188 * config/libbid/bid128_logb.c: Likewise.
11189 * config/libbid/bid128_minmax.c: Likewise.
11190 * config/libbid/bid128_mul.c: Likewise.
11191 * config/libbid/bid128_next.c: Likewise.
11192 * config/libbid/bid128_noncomp.c: Likewise.
11193 * config/libbid/bid128_quantize.c: Likewise.
11194 * config/libbid/bid128_rem.c: Likewise.
11195 * config/libbid/bid128_round_integral.c: Likewise.
11196 * config/libbid/bid128_scalb.c: Likewise.
11197 * config/libbid/bid128_sqrt.c: Likewise.
11198 * config/libbid/bid128_string.c: Likewise.
11199 * config/libbid/bid128_to_int16.c: Likewise.
11200 * config/libbid/bid128_to_int32.c: Likewise.
11201 * config/libbid/bid128_to_int64.c: Likewise.
11202 * config/libbid/bid128_to_int8.c: Likewise.
11203 * config/libbid/bid128_to_uint16.c: Likewise.
11204 * config/libbid/bid128_to_uint32.c: Likewise.
11205 * config/libbid/bid128_to_uint64.c: Likewise.
11206 * config/libbid/bid128_to_uint8.c: Likewise.
11207 * config/libbid/bid32_to_bid128.c: Likewise.
11208 * config/libbid/bid32_to_bid64.c: Likewise.
11209 * config/libbid/bid64_add.c: Likewise.
11210 * config/libbid/bid64_compare.c: Likewise.
11211 * config/libbid/bid64_div.c: Likewise.
11212 * config/libbid/bid64_fma.c: Likewise.
11213 * config/libbid/bid64_logb.c: Likewise.
11214 * config/libbid/bid64_minmax.c: Likewise.
11215 * config/libbid/bid64_mul.c: Likewise.
11216 * config/libbid/bid64_next.c: Likewise.
11217 * config/libbid/bid64_noncomp.c: Likewise.
11218 * config/libbid/bid64_quantize.c: Likewise.
11219 * config/libbid/bid64_rem.c: Likewise.
11220 * config/libbid/bid64_round_integral.c: Likewise.
11221 * config/libbid/bid64_scalb.c: Likewise.
11222 * config/libbid/bid64_sqrt.c: Likewise.
11223 * config/libbid/bid64_string.c: Likewise.
11224 * config/libbid/bid64_to_bid128.c: Likewise.
11225 * config/libbid/bid64_to_int16.c: Likewise.
11226 * config/libbid/bid64_to_int32.c: Likewise.
11227 * config/libbid/bid64_to_int64.c: Likewise.
11228 * config/libbid/bid64_to_int8.c: Likewise.
11229 * config/libbid/bid64_to_uint16.c: Likewise.
11230 * config/libbid/bid64_to_uint32.c: Likewise.
11231 * config/libbid/bid64_to_uint64.c: Likewise.
11232 * config/libbid/bid64_to_uint8.c: Likewise.
11233 * config/libbid/bid_b2d.h: Likewise.
11234 * config/libbid/bid_binarydecimal.c: Likewise.
11235 * config/libbid/bid_conf.h: Likewise.
11236 * config/libbid/bid_convert_data.c: Likewise.
11237 * config/libbid/bid_decimal_data.c: Likewise.
11238 * config/libbid/bid_decimal_globals.c: Likewise.
11239 * config/libbid/bid_div_macros.h: Likewise.
11240 * config/libbid/bid_dpd.c: Likewise.
11241 * config/libbid/bid_flag_operations.c: Likewise.
11242 * config/libbid/bid_from_int.c: Likewise.
11243 * config/libbid/bid_functions.h: Likewise.
11244 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11245 * config/libbid/bid_inline_add.h: Likewise.
11246 * config/libbid/bid_internal.h: Likewise.
11247 * config/libbid/bid_round.c: Likewise.
11248 * config/libbid/bid_sqrt_macros.h: Likewise.
11249
11250 2009-04-09 Jakub Jelinek <jakub@redhat.com>
11251
11252 * Makefile.in: Change copyright header to refer to version
11253 3 of the GNU General Public License and to point readers at the
11254 COPYING3 file and the FSF's license web page.
11255 * config.host: Likewise.
11256
11257 2009-04-07 Alan Modra <amodra@bigpond.net.au>
11258
11259 * config.host: Reorder and merge to match config.gcc change.
11260
11261 2009-04-03 Alan Modra <amodra@bigpond.net.au>
11262
11263 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11264
11265 2009-03-28 Joseph Myers <joseph@codesourcery.com>
11266
11267 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11268 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11269 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11270 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11271
11272 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
11273
11274 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11275 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11276
11277 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11278
11279 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11280 ia64/t-softfp-compat to tmake_file.
11281
11282 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11283
11284 * config/ia64/__divxf3.asm: New.
11285 * config/ia64/_fixtfdi.asm: Likewise.
11286 * config/ia64/_fixunstfdi.asm: Likewise.
11287 * config/ia64/_floatditf.asm: Likewise.
11288 * config/ia64/t-fprules-softfp: Likewise.
11289 * config/ia64/t-softfp-compat: Likewise.
11290 * config/ia64/tf-signs.c: Likewise.
11291
11292 2009-01-18 Ben Elliston <bje@au.ibm.com>
11293
11294 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11295
11296 2009-01-16 Ben Elliston <bje@au.ibm.com>
11297
11298 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11299 to tmake_file.
11300
11301 2009-01-13 Ben Elliston <bje@au.ibm.com>
11302
11303 * config/t-softfp: New file.
11304 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11305 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11306
11307 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
11308
11309 * config.host: Add m32r*-*-rtems*.
11310
11311 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
11312
11313 * config.host: Add m32c*-*-rtems*.
11314
11315 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11316
11317 PR bootstrap/33100
11318 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11319 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11320 * configure: Regenerate.
11321 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11322 tmake_file here from gcc/config.gcc.
11323 Move extra_parts here from gcc/config.gcc.
11324 * config/i386/t-sol2: Move here from gcc/config/i386.
11325 Use gcc_srcdir instead of srcdir.
11326
11327 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11328
11329 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11330 case.
11331
11332 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11333
11334 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11335
11336 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11337
11338 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11339
11340 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11341
11342 Add picoChip port.
11343 * config.host: Add picochip-*-*.
11344
11345 2008-08-06 Bob Wilson <bob.wilson@acm.org>
11346
11347 * config.host: Match more processor names for Xtensa.
11348
11349 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11350
11351 * config/i386/64/t-softfp-compat: Update comments.
11352
11353 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11354
11355 * config/i386/64/_divtc3-compat.c: Moved to ...
11356 * config/i386/64/_divtc3.c: Here.
11357
11358 * config/i386/64/_multc3-compat.c: Moved to ...
11359 * config/i386/64/_multc3.c: Here.
11360
11361 * config/i386/64/_powitf2-compat.c: Moved to ...
11362 * config/i386/64/_powitf2.c: Here.
11363
11364 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11365 .c suffix instead of -compat.c.
11366
11367 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
11368
11369 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11370 (_FP_MUL_MEAT_D): Ditto.
11371 (_FP_DIV_MEAT_S): Ditto.
11372 (_FP_DIV_MEAT_D): Ditto.
11373
11374 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11375
11376 * Makefile.in: Add support for __sync_* libgcc functions.
11377
11378 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11379
11380 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11381
11382 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11383
11384 PR boostrap/36702
11385 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11386 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11387
11388 * config/i386/64/t-fprules-softfp: Moved to ...
11389 * config/i386/64/t-softfp-compat: This. New.
11390
11391 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
11392
11393 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11394 Initialize f with 0.0.
11395
11396 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11397
11398 PR target/36669
11399 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11400
11401 * config/i386/64/_divtc3-compat.c: New.
11402 * config/i386/64/_multc3-compat.c: Likewise.
11403 * config/i386/64/_powitf2-compat.c: Likewise.
11404 * config/i386/64/eqtf2.c: Likewise.
11405 * config/i386/64/getf2.c: Likewise.
11406 * config/i386/64/letf2.c: Likewise.
11407 * config/i386/64/t-fprules-softfp: Likewise.
11408
11409 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11410
11411 * config.host: Add i386/${host_address}/t-fprules-softfp to
11412 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11413 i[34567]86-*-linux*, x86_64-*-linux*.
11414
11415 * configure.ac: Set host_address to 64 or 32 for x86.
11416 * configure: Regenerated.
11417
11418 * Makefile.in (config.status): Also depend on
11419 $(srcdir)/config.host.
11420
11421 * config/i386/32/t-fprules-softfp: New.
11422 * config/i386/32/tf-signs.c: Likewise.
11423
11424 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11425
11426 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11427 Uros Bizjak <ubizjak@gmail.com>
11428
11429 * config/i386/32/sfp-machine.h: New.
11430
11431 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11432
11433 * config/rs6000/t-ppccomm: Remove rules that conflict with
11434 auto-generated rules.
11435
11436 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11437
11438 * configure.ac: sinclude override.m4.
11439 * configure: Regenerate.
11440
11441 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11442
11443 * configure: Regenerate.
11444
11445 2008-06-10 Joseph Myers <joseph@codesourcery.com>
11446
11447 * Makefile.in (DECNUMINC): Remove
11448 -I$(MULTIBUILDTOP)../../libdecnumber.
11449 * gstdint.h: New.
11450
11451 2008-06-07 Joseph Myers <joseph@codesourcery.com>
11452
11453 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11454 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11455 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11456 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11457 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11458 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11459 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11460 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11461 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11462 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11463 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11464 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11465 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11466 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11467
11468 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11469
11470 * config.host (sh2[lbe]*-*-linux*): Allow target.
11471
11472 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11473
11474 * config/rs6000/t-ppccomm: Add build rules for new files.
11475 (LIB2ADD_ST): New variable.
11476
11477 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11478
11479 PR target/34210
11480 PR target/35508
11481 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11482 * config/t-avr: New file. Build 16bit libgcc functions.
11483
11484 2008-03-02 Jakub Jelinek <jakub@redhat.com>
11485
11486 PR target/35401
11487 * config/t-slibgcc-darwin: Make install-leaf dependent on
11488 install-darwin-libgcc-stubs instead of install.
11489
11490 2008-01-25 Joseph Myers <joseph@codesourcery.com>
11491
11492 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11493 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11494 sh-*-rtemscoff*): Remove cases.
11495
11496 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11497
11498 * Makefile.in (all): Use install-leaf rather than install.
11499 (install): Split most of the rule into...
11500 (install-leaf): ...this new one.
11501
11502 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11503 Paolo Bonzini <bonzini@gnu.org>
11504
11505 PR target/30572
11506 * Makefile.in: Use @shlib_slibdir@ substitution to get
11507 correct install name on darwin.
11508 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11509
11510 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11511
11512 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11513 cris-*-elf and cris-*-none.
11514 (crisv32-*-linux*): Similar, as cris-*-linux*.
11515
11516 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11517
11518 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11519
11520 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11521
11522 PR regression/33926
11523 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11524 * configure: Regenerated.
11525
11526 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11527
11528 * Makefile.in (dfp-filenames): Replace decimal_globals,
11529 decimal_data, binarydecimal and convert_data with
11530 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11531 and bid_convert_data, respectively.
11532
11533 2007-09-17 Chao-ying Fu <fu@mips.com>
11534 Nigel Stephens <nigel@mips.com>
11535
11536 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11537 * Makefile.in (fixed_point): Define.
11538 Check if fixed_point is yes to build support functions.
11539 * configure.ac: Check for fixed_point support.
11540 * configure: Regenerated.
11541 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11542 funcs, modes, from, to.
11543
11544 2007-09-11 Janis Johnson <janis187@us.ibm.com
11545
11546 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11547
11548 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11549
11550 * Makefile.in (dfp-filenames): Remove decUtility, add
11551 decDouble, decPacked, decQuad, decSingle.
11552
11553 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11554
11555 * config.host : Add x86_64-elf target.
11556
11557 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11558
11559 * configure.ac (set_have_cc_tls): Add a missing =.
11560 * configure: Regenerated.
11561
11562 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11563
11564 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11565 and x86_64-*-linux*.
11566
11567 * config/t-tls: New file.
11568
11569 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11570
11571 * configure.ac: Include ../config/enable.m4 and
11572 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11573 supports TLS and substitute set_have_cc_tls.
11574 * configure: Regenerated.
11575
11576 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11577
11578 * Makefile.in: Use libbid for DFP when BID is enabled.
11579
11580 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11581
11582 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11583 extra_parts. Add config/i386/t-cygming to tmake_file.
11584 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11585
11586 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11587 Danny Smith <dannysmith@users.sourceforge.net>
11588
11589 PR target/29498
11590 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11591 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11592 * config/i386/t-crtfm: Compile crtfastmath.o with
11593 -minline-all-stringops.
11594
11595 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11596
11597 * config.host (sparc-wrs-vxworks): New target.
11598
11599 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11600
11601 * config.host: Recognize fido.
11602
11603 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11604
11605 * configure: Check host, not target, for decimal float support.
11606
11607 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11608
11609 * config/i386/t-crtpc: New file.
11610 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11611 (x86_64-*-linux*): Ditto.
11612
11613 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11614
11615 * config.host (x86_64-*-mingw*): New target.
11616
11617 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11618 H.J. Lu <hongjiu.lu@intel.com>
11619
11620 * Makefile.in (enable_decimal_float): New.
11621 (DECNUMINC): Add
11622 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11623 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11624 (decbits-filenames): This.
11625 (decbits-objects): New.
11626 (libgcc-objects): Add $(decbits-objects).
11627
11628 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11629 Substitute enable_decimal_float.
11630 * configure: Regenerated.
11631
11632 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11633
11634 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11635
11636 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11637
11638 * Makefile.in (install-info): New dummy target.
11639
11640 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11641
11642 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11643
11644 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11645
11646 * Makefile.in: Add install-html and install-pdf dummy
11647 targets.
11648
11649 2007-02-05 Roger Sayle <roger@eyesopen.com>
11650 Daniel Jacobowitz <dan@codesourcery.com>
11651
11652 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11653 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11654 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11655
11656 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11657
11658 * Makefile.in (dec-filenames): Add decExcept.
11659
11660 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11661
11662 PR bootstrap/30469
11663 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11664 -fprofile-use.
11665
11666 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11667
11668 * configure.ac: Add --enable-version-specific-runtime-libs.
11669 Correct $slibdir default.
11670 * configure: Regenerated.
11671
11672 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11673
11674 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11675
11676 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11677
11678 PR target/30519
11679 * config.host (alpha*-*-linux*): Set extra_parts.
11680
11681 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11682
11683 * config/sh/t-linux: New.
11684 * config.host (sh*-*-linux*): Set tmake_file.
11685
11686 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11687
11688 * Makefile.in (install): Handle multilibs.
11689
11690 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11691
11692 * Makefile.in: Added .PHONY entry for documentation targets.
11693
11694 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11695
11696 * Makefile.in: Add empty info, html, dvi, pdf targets.
11697
11698 2007-01-04 Mike Stump <mrs@apple.com>
11699
11700 * Makefile.in (MAKEINFO): Remove.
11701 (PERL): Likewise.
11702
11703 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11704
11705 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11706 * configure: Regenerate.
11707 * Makefile.in (host_subdir): Substitute it.
11708 (gcc_objdir): Use it.
11709
11710 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11711
11712 * config.host (ia64*-*-linux*): Set tmake_file.
11713
11714 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11715
11716 * Makefile.in (version): Define.
11717
11718 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11719 Paolo Bonzini <bonzini@gnu.org>
11720
11721 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11722 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11723 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11724 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11725 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11726 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11727 * configure: Generated.
11728 \f
11729 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11730
11731 Copying and distribution of this file, with or without modification,
11732 are permitted in any medium without royalty provided the copyright
11733 notice and this notice are preserved.