]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
2
3 * config/i386/sfp-machine.h: Guard Mach-O-specific code
4 using __APPLE__.
5
6 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
7
8 * config/t-slibgcc-darwin: Delete unused code.
9
10 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
11
12 * config/i386/t-darwin: Add in a vers file for X86-specific
13 symbols.
14 * config/t-darwin: Add the generic symbol maps here...
15 * config/t-slibgcc-darwin: ... removing from here.
16 * config/i386/libgcc-darwin.ver: New file.
17
18 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
19
20 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
21 and __mulhc3.
22
23 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
24
25 * config.host: Use convenience library for Darwin10
26 unwinder shim.
27 * config/t-darwin: Build Darwin10 unwinder shim as a
28 convenience library.
29
30 2021-09-13 Andrew Pinski <apinski@marvell.com>
31
32 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
33 * config/m32r/libgcc-glibc.ver: Removed.
34 * config/m32r/t-linux: Removed.
35
36 2021-09-08 liuhongt <hongtao.liu@intel.com>
37
38 * config/i386/t-softfp: Compile __{mul,div}hc3 into
39 libgcc_s.so.1.
40
41 2021-09-08 Jakub Jelinek <jakub@redhat.com>
42 Iain Sandoe <iain@sandoe.co.uk>
43
44 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
45 and export *hf* and *hc* functions at GCC_12.0.0.
46
47 2021-09-06 liuhongt <hongtao.liu@intel.com>
48
49 * Makefile.in: Adjust to support specific CFLAGS for each
50 libgcc source file.
51 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
52 related libgcc source files.
53 * config/i386/t-softfp: Ditto.
54 * config/i386/_divhc3.c: New file.
55 * config/i386/_mulhc3.c: New file.
56
57 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
58
59 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
60 alias_DFtype, alias_TFtype): New.
61 (ALIAS_SELECTOR): New.
62 (strong_alias): Use __typeof and a _Generic selector to
63 provide the type to the synthesized function.
64
65 2021-09-02 liuhongt <hongtao.liu@intel.com>
66
67 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
68 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
69 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
70 * config/i386/t-softfp: Add hf soft-fp.
71 * config.host: Add i386/64/t-softfp.
72 * config/i386/64/t-softfp: New file.
73
74 2021-09-02 liuhongt <hongtao.liu@intel.com>
75
76 * soft-fp/eqhf2.c: New file.
77 * soft-fp/extendhfdf2.c: New file.
78 * soft-fp/extendhfsf2.c: New file.
79 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
80 * soft-fp/truncdfhf2.c: New file
81 * soft-fp/truncsfhf2.c: New file
82
83 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
84
85 * unwind-arm-common.inc (abort): Remove.
86
87 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
88
89 * config/aarch64/value-unwind.h: Add missing runtime exception
90 paragraph.
91 * config/frv/frv-abi.h: Likewise.
92 * config/i386/value-unwind.h: Likewise.
93 * config/pa/pa64-hpux-lib.h: Likewise.
94
95 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
96
97 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
98 __gcc_qadd.
99 (__gcc_qadd): Call ldouble_qadd_internal.
100 (__gcc_qsub): Call ldouble_qadd_internal with second long double
101 argument negated.
102
103 2021-08-26 Jonathan Yong <10walls@gmail.com>
104
105 * config/i386/cygming-crtend.c: Fix register_frame_ctor
106 and register_frame_dtor warnings.
107
108 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
109
110 PR target/102035
111 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
112 Add vlldm erratum work-around.
113
114 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
115
116 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
117
118 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
119
120 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
121 (gcov_type_unsigned): Likewise.
122
123 2021-08-14 Stafford Horne <shorne@gmail.com>
124
125 PR target/99783
126 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
127 * config/or1k/t-crtstuff: New file.
128
129 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
130
131 * libgcov-driver.c (#include <stdint.h>): Remove.
132 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
133
134 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
135
136 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
137 * gcov.h (gcov_info): Declare.
138 (__gcov_info_to_gdca): Likewise.
139 * libgcov.h (gcov_write_counter): Remove.
140 (gcov_write_tag_length): Likewise.
141 * libgcov-driver.c (#include <stdint.h>): New.
142 (#include <string.h>): Remove.
143 (NEED_L_GCOV): Conditionally define.
144 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
145 (are_all_counters_zero): New.
146 (gcov_dump_handler): Likewise.
147 (gcov_allocate_handler): Likewise.
148 (dump_unsigned): Likewise.
149 (dump_counter): Likewise.
150 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
151 Use dump_unsigned() and dump_counter().
152 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
153 dump_unsigned(), dump_counter(), and are_all_counters_zero().
154 (__gcov_info_to_gcda): New.
155
156 2021-08-05 Jakub Jelinek <jakub@redhat.com>
157
158 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
159 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
160 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
161 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
162
163 2021-08-04 Jakub Jelinek <jakub@redhat.com>
164
165 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
166
167 2021-07-15 Alan Modra <amodra@gmail.com>
168
169 * config/rs6000/morestack.S (R2_SAVE): Define.
170 (__morestack): Save and restore r2. Set up r2 for called
171 functions.
172
173 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
174
175 * soft-fp/extendhfxf2.c: New file.
176 * soft-fp/truncxfhf2.c: Likewise.
177
178 2021-06-29 Julian Brown <julian@codesourcery.com>
179
180 * config/gcn/lib2-bswapti2.c: New file.
181 * config/gcn/lib2-divmod-di.c: New file.
182 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
183 typedefs.
184 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
185 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
186 lib2-bswapti2.c.
187
188 2021-06-29 Julian Brown <julian@codesourcery.com>
189
190 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
191 return types to USItype.
192 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
193
194 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
195
196 * configure: Regenerate.
197 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
198 typos among the name, CFLAGS and the test.
199 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
200 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
201 Remove.
202 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
203 macro FLOAT128_HW_INSNS_ISA3_1.
204 (FP128_3_1_CFLAGS_HW): Fix option typo.
205 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
206 FLOAT128_HW_INSNS_ISA3_1.
207 (__floattikf_resolve): Likewise.
208 (__floatuntikf_resolve): Likewise.
209 (__fixkfti_resolve): Likewise.
210 (__fixunskfti_resolve): Likewise.
211 (__floattikf): Likewise.
212 (__floatuntikf): Likewise.
213 (__fixkfti): Likewise.
214 (__fixunskfti): Likewise.
215
216 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
217
218 PR target/99939
219 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
220 macro.
221 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
222 on passing -mcmse option.
223
224 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
225
226 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
227 _ARCH_PPC64 .
228
229 2021-06-09 Carl Love <cel@us.ibm.com>
230
231 * config.host: Add if test and set for
232 libgcc_cv_powerpc_3_1_float128_hw.
233 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
234 Change calls of __fixkfti to __fixkfti_sw.
235 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
236 Change calls of __fixunskfti to __fixunskfti_sw.
237 * config/rs6000/float128-p10.c (__floattikf_hw,
238 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
239 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
240 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
241 __fixunskfti_resolve): Add resolve functions.
242 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
243 * config/rs6000/float128-sed (floattitf, __floatuntitf,
244 __fixtfti, __fixunstfti): Add editor commands to change names.
245 * config/rs6000/float128-sed-hw (__floattitf,
246 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
247 change names.
248 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
249 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
250 * config/rs6000/quad-float128.h (__floattikf_sw,
251 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
252 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
253 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
254 * config/rs6000/t-float128 (floattikf, floatuntikf,
255 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
256 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
257 file names to fp128_ppc_funcs.
258 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
259 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
260 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
261 * config/rs6000/t-float128-p10-hw: New file.
262 * configure: Update script for isa 3.1 128-bit float support.
263 * configure.ac: Add check for 128-bit float hardware support.
264 * config/rs6000/fixkfti-sw.c: New file.
265 * config/rs6000/fixunskfti-sw.c: New file.
266 * config/rs6000/floattikf-sw.c: New file.
267 * config/rs6000/floatuntikf-sw.c: New file.
268
269 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
270
271 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
272
273 2021-05-13 Martin Liska <mliska@suse.cz>
274
275 * libgcov-driver.c: Fix GNU coding style.
276
277 2021-05-10 Martin Liska <mliska@suse.cz>
278
279 * libgcov-driver.c (gcov_version): Use different name that does
280 not clash with newly introduced macro.
281
282 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
283
284 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
285 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
286 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
287
288 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
289
290 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
291 Define.
292 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
293 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
294 Define.
295 (__divkc3): Improve complex divide.
296
297 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
298
299 PR target/98952
300 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
301 trampoline size comparison in 32-bit by reversing test and
302 combining load immediate with compare.
303 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
304 in 32-bit by reversing test and combining load immediate with
305 compare.
306
307 2021-04-05 Florian Weimer <fweimer@redhat.com>
308 Michael Meissner <meissner@linux.ibm.com>
309
310 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
311 point functions for $(decimal_float) only.
312
313 2021-04-03 Jakub Jelinek <jakub@redhat.com>
314
315 PR target/97653
316 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
317 $(objext) instead of $(object). Use _floatunditf instead of
318 _floatunsditf. Add tf <-> ti conversion objects.
319 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
320
321 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
322
323 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
324 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
325 (fp128_decstr_objs): Delete.
326 * dfp-bit.h: Call __sprintfieee128 to do conversions from
327 _Float128 to a Decimal type. Call __strtoieee128 to do
328 conversions from a Decimal type to _Float128.
329 * config/rs6000/_sprintfkf.c: Delete file.
330 * config/rs6000/_sprintfkf.h: Delete file.
331 * config/rs6000/_strtokf.c: Delete file.
332 * config/rs6000/_strtokf.h: Delete file.
333
334 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
335
336 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
337 to __BYTE_ORDER__.
338
339 2021-03-06 Jakub Jelinek <jakub@redhat.com>
340
341 PR gcov-profile/99406
342 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
343 defined, define these macros if not defined already.
344
345 2021-03-04 Martin Liska <mliska@suse.cz>
346
347 PR gcov-profile/99105
348 * libgcov-driver.c (write_top_counters): Rename to ...
349 (write_topn_counters): ... this.
350 (write_one_data): Pre-allocate buffer for number of items
351 in the corresponding linked lists.
352 * libgcov.h (malloc_mmap): New function.
353 (allocate_gcov_kvp): Use it.
354
355 2021-03-04 Martin Liska <mliska@suse.cz>
356
357 PR gcov-profile/99385
358 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
359
360 2021-03-03 Martin Liska <mliska@suse.cz>
361
362 PR gcov-profile/97461
363 * config.in: Regenerate.
364 * configure: Likewise.
365 * configure.ac: Check sys/mman.h header file
366 * libgcov-driver.c (struct gcov_kvp): Remove static
367 pre-allocated pool and use a dynamic one.
368 * libgcov.h (MMAP_CHUNK_SIZE): New.
369 (gcov_counter_add): Use mmap to allocate pool for struct
370 gcov_kvp.
371
372 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
373
374 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
375 the function.
376 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
377
378 2021-02-24 Jakub Jelinek <jakub@redhat.com>
379
380 PR libgcc/99236
381 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
382 negation of m in unsigned type.
383
384 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
385 Hau Hsu <hsuhau617@gmail.com>
386
387 PR target/99157
388 * config/arm/t-arm: Fix cmse support detection.
389
390 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
391
392 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
393
394 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
395
396 * config/rs6000/_dd_to_kf.c: New file.
397 * config/rs6000/_kf_to_dd.c: New file.
398 * config/rs6000/_kf_to_sd.c: New file.
399 * config/rs6000/_kf_to_td.c: New file.
400 * config/rs6000/_sd_to_kf.c: New file.
401 * config/rs6000/_sprintfkf.c: New file.
402 * config/rs6000/_sprintfkf.h: New file.
403 * config/rs6000/_strtokf.h: New file.
404 * config/rs6000/_strtokf.c: New file.
405 * config/rs6000/_td_to_kf.c: New file.
406 * config/rs6000/quad-float128.h: Add new declarations.
407 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
408 (fp128_decstr_funcs): New macro.
409 (ibm128_dec_funcs): New macro.
410 (fp128_ppc_funcs): Add the new conversions.
411 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
412 compiled with -mabi=ieeelongdouble.
413 (fp128_decstr_objs): Force __float128 <-> string conversions to be
414 compiled with -mabi=ibmlongdouble.
415 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
416 compiled with -mabi=ieeelongdouble.
417 (FP128_CFLAGS_DECIMAL): New macro.
418 (IBM128_CFLAGS_DECIMAL): New macro.
419 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
420 (BFP_TO_DFP): Add PowerPC _Float128 support.
421 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
422 IEEE 128-bit floating point.
423 (DFP_TO_BFP): Add PowerPC _Float128 support.
424 (BFP_TO_DFP): Add PowerPC _Float128 support.
425 (BFP_SPRINTF): New macro.
426
427 2021-01-27 Jakub Jelinek <jakub@redhat.com>
428
429 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
430 * config/i386/savms64f.h: Likewise.
431 * config/i386/resms64.h: Likewise.
432 * config/i386/resms64f.h: Likewise.
433 * config/i386/resms64x.h: Likewise.
434 * config/i386/resms64fx.h: Likewise.
435
436 2021-01-26 Martin Liska <mliska@suse.cz>
437
438 PR gcov-profile/98739
439 * libgcov.h (gcov_topn_add_value): Do not train when
440 we have a merged profile with a negative number of total
441 value.
442
443 2021-01-25 Martin Liska <mliska@suse.cz>
444
445 PR gcov-profile/98739
446 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
447 ends with a dropped counter.
448 * libgcov.h (gcov_topn_add_value): Add return value.
449
450 2021-01-13 Stafford Horne <shorne@gmail.com>
451
452 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
453 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
454 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
455 FP_EX_ALL): New constant macros.
456 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
457 FP_HANDLE_EXCEPTIONS): New macros.
458 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
459
460 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
461
462 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
463 posix siginfo case to struct handler_args. Detect between legacy
464 and siginfo from the second parameter, which is a small sigcode in
465 the legacy case, and a pointer in the siginfo case.
466
467 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
468
469 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
470 functions.
471 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
472 _bswapdi2.
473
474 2020-12-08 Ian Lance Taylor <iant@golang.org>
475
476 * generic-morestack-thread.c (free_segments): Block signals during
477 thread exit.
478
479 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
480
481 PR libgcc/97543
482 PR libgcc/97643
483 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
484 (IBM128_SHARED_OBJS): New make variable.
485 (IBM128_OBJS): New make variable. Set all objects to use the
486 explicit IBM format, and disable gnu attributes.
487 (IBM128_CFLAGS): New make variable.
488 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
489 modules.
490
491 2020-12-03 Alexandre Oliva <oliva@adacore.com>
492
493 * config/t-vxworks (LIB2ADD): Drop.
494 * config/t-vxworks7 (LIB2ADD): Likewise.
495 * config/vxcache.c: Remove.
496
497 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
498
499 * libgcc2.c (bswapsi2): Make constants unsigned.
500
501 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
502
503 * libgcc2.c (absvSI2): Simplify/improve implementation by using
504 builtin_add_overflow.
505 (absvsi2, absvDI2): Likewise.
506
507 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
508
509 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
510 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
511
512 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
513
514 * config/msp430/lib2hw_mul.S (mult64_hw): New.
515 (if MUL_32): Use mult64_hw for __muldi3.
516 (if MUL_F5): Use mult64_hw for __muldi3.
517 * config/msp430/lib2mul.c (__muldi3): New.
518 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
519
520 2020-11-17 Alan Modra <amodra@gmail.com>
521
522 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
523 (LIB2_SIDITI_CONV_FUNCS): Define.
524 * config/rs6000/ppc64-fp.c: Delete file.
525
526 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
527
528 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
529 hwmult library functions.
530
531 2020-11-10 Jeff Law <law@redhat.com>
532
533 * libgcc2.c: Fix whitespace issues in most recent change.
534
535 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
536
537 * libgcc2.c (__addvSI3): Use overflow builtins.
538 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
539 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
540 (__negvsi2, __negvDI2): Likewise.
541 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
542 generated code.
543 * libgcc2.h (__ucmpdi2): Adjust prototype.
544
545 2020-11-03 Pat Bernardi <bernardi@adacore.com>
546 Olivier Hainque <hainque@adacore.com>
547
548 * config.host (aarch64-vxworks7*, tmake_file): Add
549 ${cpu_type}/t-lse and t-slibgcc-libgcc.
550
551 2020-11-03 Martin Storsjö <martin@martin.st>
552
553 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
554 before calling the callback.
555
556 2020-10-30 Olivier Hainque <hainque@adacore.com>
557 Douglas Rupp <rupp@adacore.com>
558 Pat Bernardi <bernardi@adacore.com>
559
560 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
561 to apply to VxWorks 7 as well.
562
563 2020-10-29 Olivier Hainque <hainque@adacore.com>
564
565 * config/gthr-vxworks-tls.c: Fix preprocessor logic
566 controlling the definition of VX_ENTER_TLS_DTOR and
567 VX_LEAVE_TLS_DTOR based on a version major check.
568
569 2020-10-29 Olivier Hainque <hainque@adacore.com>
570
571 * config/gthr-vxworks-thread.c: Fix name of macro used
572 to condition the inclusion of an actual implementation.
573
574 2020-10-27 Martin Liska <mliska@suse.cz>
575
576 PR gcov-profile/97461
577 * libgcov.h (gcov_counter_add): Use first static counters
578 as it should help to have malloc wrappers set up.
579
580 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
581
582 * config/gthr-vxworks-thread.c: #include gthr.h before
583 testing the guard defined there.
584 * config/gthr-vxworks-cond.c: Likewise.
585
586 2020-10-21 Douglas Rupp <rupp@adacore.com>
587 Olivier Hainque <hainque@adacore.com>
588
589 * config.host (powerpc*-wrs-vxworks7*): New case.
590 * configure.ac: Handle powerpc*-*-vxworks7* as
591 powerpc*-*-linux* for ppc-fp_type.
592 * configure: Regenerate.
593
594 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
595
596 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
597 section on VxWorks >= 6.
598 * config/gthr-vxworks-thread.c: Condition the entire
599 implementation on __GTHREAD_CXX0X.
600
601 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
602
603 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
604 section on VxWorks >= 6.
605 * config/gthr-vxworks-cond.c: Condition the entire
606 implementation on __GTHREAD_HAS_COND.
607
608 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
609
610 * config/gthr-vxworks.c: #include <taskLib.h>.
611
612 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
613
614 * config/gthr-vxworks.h: Rewrite remaining occurrence
615 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
616
617 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
618 Olivier Hainque <hainque@adacore.com>
619
620 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
621 except on VxWorks 6.
622
623 2020-10-16 Olivier Hainque <hainque@adacore.com>
624
625 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
626
627 2020-10-14 Alexandre Oliva <oliva@adacore.com>
628
629 * config/gthr-vxworks-thread.c: Include stdlib.h.
630 (tls_delete_hook): Prototype it.
631 (__gthread_cond_signal): Return early if no waiters. Consume
632 signal in case the semaphore got full. Use semInfoGet instead
633 of kernel-mode-only semInfo.
634 (__gthread_cond_timedwait): Use semExchange. Always take the
635 mutex again before returning.
636 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
637
638 2020-10-14 Olivier Hainque <hainque@adacore.com>
639
640 * config/t-vxworks (LIBGCC2_INCLUDES): Append
641 $(MULTISUBDIR) to the -I path for fixed headers, as we
642 arrange to have different sets of such headers for different
643 multilibs when they are activated.
644 * config/t-vxworks7: Likewise.
645
646 2020-10-14 Olivier Hainque <hainque@adacore.com>
647
648 * config/t-vxworks: Add include-fixed to include search
649 paths for libgcc on VxWorks.
650 * config/t-vxworks7: Likewise.
651
652 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
653
654 PR target/97148
655 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
656 instead of <cetintrin.h>.
657
658 2020-10-01 Alan Modra <amodra@gmail.com>
659
660 * config/rs6000/morestack.S,
661 * config/rs6000/tramp.S: Support __PCREL__ code.
662
663 2020-10-01 Alan Modra <amodra@gmail.com>
664
665 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
666
667 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
668
669 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
670 variable.
671
672 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
673
674 * config/aarch64/libgcc-softfp.ver: New file.
675 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
676
677 2020-09-27 Clement Chigot <clement.chigot@atos.net>
678
679 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
680
681 2020-09-22 Sergei Trofimovich <siarheit@google.com>
682
683 PR gcov-profile/96913
684 * libgcov-driver.c (write_one_data): Avoid function pointer
685 comparison in TOP streaming decision.
686
687 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
688 Christophe Lyon <christophe.lyon@linaro.org>
689
690 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
691 qualifier.
692 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
693 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
694 missing prototypes.
695
696 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
697
698 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
699 unused variable warning.
700
701 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
702
703 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
704
705 2020-09-09 Tom de Vries <tdevries@suse.de>
706
707 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
708 Wbuiltin-declaration-mismatch.
709
710 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
711
712 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
713 * config/msp430/srai.S (__gnu_mspabi_srap): New.
714 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
715
716 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
717
718 * config/nvptx/atomic.c: New.
719 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
720
721 2020-08-03 Ian Lance Taylor <iant@golang.org>
722
723 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
724
725 2020-08-03 Jakub Jelinek <jakub@redhat.com>
726
727 PR target/96402
728 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
729 of x(tmp0), x(tmp1) in STXP arguments.
730
731 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
732
733 * config/riscv/save-restore.S [__riscv_xlen == 64]
734 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
735 (__riscv_save_2): Replace negative immediates used for the final
736 stack pointer adjustment with positive ones, right-shifted by 4.
737
738 2020-07-31 Martin Liska <mliska@suse.cz>
739
740 * libgcov-driver.c: Add __gcov_kvp_pool
741 and __gcov_kvp_pool_index variables.
742 * libgcov.h (allocate_gcov_kvp): New.
743 (gcov_topn_add_value): Use it.
744
745 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
746
747 * config/aarch64/lse.S: Add PAC property note.
748
749 2020-07-23 Martin Liska <mliska@suse.cz>
750
751 PR gcov-profile/96035
752 * libgcov-driver-system.c: Create gcov folders with 0777
753 so that it respects a system umask.
754
755 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
756
757 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
758
759 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
760
761 PR target/94891
762 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
763 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
764 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
765 (MD_DEMANGLE_RETURN_ADDR): This.
766 (aarch64_post_extract_frame_addr): Rename to ...
767 (aarch64_demangle_return_addr): This.
768 (aarch64_post_frob_eh_handler_addr): Remove.
769 * unwind-dw2.c (uw_update_context): Demangle return address.
770 (uw_frob_return_addr): Remove.
771
772 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
773
774 PR target/96001
775 * config/aarch64/lse.S: Add BTI marking and related definitions,
776 and add BTI c to function entries.
777
778 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
779
780 * config/aarch64/lse.S: Add stack note.
781
782 2020-07-02 Martin Liska <mliska@suse.cz>
783
784 PR gcov-profile/95348
785 * libgcov-driver.c (merge_one_data): Merge only profiles
786 that are not of non-zero type.
787 (write_one_data): Write counters only if there's one non-zero
788 value.
789 * libgcov-util.c (tag_function): Change signature from unsigned
790 to int.
791 (tag_blocks): Likewise.
792 (tag_arcs): Likewise.
793 (tag_counters): Likewise.
794 (tag_summary): Likewise.
795 (tag_lines): Read only if COUNTERS is non-zero.
796 (read_gcda_file): Handle negative length for COUNTERS type.
797
798 2020-06-25 Martin Liska <mliska@suse.cz>
799
800 * libgcov-driver.c (merge_summary): Remove function as its name
801 is misleading and doing something different.
802 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
803 in gcov-tool.
804 * libgcov-util.c (curr_object_summary): Remove.
805 (read_gcda_file): Remove unused curr_object_summary.
806 (gcov_merge): Merge summaries.
807 * libgcov.h: Add summary argument for gcov_info struct.
808
809 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
810
811 PR target/95259
812 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
813 "common/config/i386/i386-cpuinfo.h" and
814 "common/config/i386/cpuinfo.h".
815 (__cpu_features2): Changed to array.
816 (get_amd_cpu): Removed.
817 (get_intel_cpu): Likewise.
818 (get_available_features): Likewise.
819 (__cpu_indicator_init): Call cpu_indicator_init.
820 * config/i386/cpuinfo.h: Removed.
821
822 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
823
824 * Makefile.in: Remove uses of empty.mk. Use -include.
825 * config/avr/t-avr: Use -include.
826 * empty.mk: Delete.
827
828 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
829
830 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
831 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
832 and 64 bit with -maix64.
833 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
834 Build and install AIX-style FAT libraries.
835
836 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
837
838 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
839 'i386/gnu-unwind.h'
840 * config/i386/gnu-unwind.h: New file.
841
842 2020-06-17 Martin Liska <mliska@suse.cz>
843
844 * libgcov-util.c (read_gcda_finalize): Remove const operator.
845 (merge_wrapper): Add both counts and use them properly.
846 (topn_to_memory_representation): New function.
847 (gcov_merge): Covert on disk representation to in memory
848 representation.
849 * libgcov.h: Remove const operator.
850
851 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
852
853 * configure: Regenerate.
854 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
855 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
856
857 2020-06-09 Martin Liska <mliska@suse.cz>
858
859 PR gcov-profile/95494
860 * libgcov-driver.c (write_top_counters): Cast first to
861 intptr_t as sizeof(*) != sizeof(gcov_type).
862 * libgcov.h (gcov_counter_set_if_null): Remove.
863 (gcov_topn_add_value): Cast first to intptr_t and update
864 linked list directly.
865
866 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
867
868 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
869 with uw_install_context_1.
870
871 2020-06-04 Andreas Schwab <schwab@suse.de>
872
873 PR target/59230
874 PR libfortran/59227
875 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
876 soft-fp/divtf3.c.
877 (LIB2ADD): Add config/ia64/divtf3.c.
878 * config/ia64/divtf3.c: New file.
879
880 2020-06-03 Martin Liska <mliska@suse.cz>
881
882 PR gcov-profile/95480
883 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
884 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
885 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
886 (gcov_counter_set_if_null): Likewise.
887
888 2020-06-02 Jim Wilson <jimw@sifive.com>
889
890 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
891 to bgtz.
892
893 2020-06-02 Martin Liska <mliska@suse.cz>
894
895 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
896 of xmalloc.
897
898 2020-06-02 Martin Liska <mliska@suse.cz>
899
900 * libgcov-driver.c (prune_topn_counter): Remove.
901 (prune_counters): Likewise.
902 (merge_one_data): Special case TOP N counters
903 as they have variable length.
904 (write_top_counters): New.
905 (write_one_data): Special case TOP N.
906 (dump_one_gcov): Do not prune TOP N counters.
907 * libgcov-merge.c (merge_topn_values_set): Remove.
908 (__gcov_merge_topn): Use gcov_topn_add_value.
909 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
910 Likewise here.
911 * libgcov.h (gcov_counter_add): New.
912 (gcov_counter_set_if_null): Likewise.
913 (gcov_topn_add_value): New.
914
915 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
916
917 * config/i386/sfp-exceptions.c (struct fenv):
918 Add __attribute__ ((gcc_struct)).
919
920 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
921
922 PR bootstrap/95413
923 * configure: Regenerated.
924
925 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
926
927 PR gcov-profile/95332
928 * libgcov-util.c (read_gcda_file): Call gcov_magic.
929 * libgcov.h (gcov_magic): Disable GCC poison.
930
931 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
932
933 PR target/95212
934 * config/i386/cpuinfo.h (processor_features): Move
935 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
936
937 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
938
939 PR target/91695
940 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
941 check.
942
943 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
944
945 PR target/95212
946 PR target/95220
947 * config/i386/cpuinfo.c (get_available_features): Fix
948 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
949 * config/i386/cpuinfo.h (processor_features): Add
950 FEATURE_AVX512VP2INTERSECT.
951
952 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
953
954 PR bootstrap/95147
955 * configure: Regenerated.
956
957 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
958
959 * configure: Regenerated.
960
961 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
962
963 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
964 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
965
966 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
967
968 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
969 (__math_force_eval_div): New define.
970 (__sfp_handle_exceptions): Use __math_force_eval_div to use
971 generic division to generate INVALID, DIVZERO and INEXACT
972 exceptions.
973
974 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
975
976 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
977 instead of getauxval.
978 (AT_HWCAP): Define.
979 (HWCAP_ATOMICS): Define.
980 Guard detection on __gnu_linux__.
981
982 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
983
984 * config.host: Delete changes meant for a private branch.
985 * config/rs6000/t-float128: Likewise.
986 * configure.ac: Likewise.
987 * configure: Likewise.
988
989 2020-05-05 Martin Liska <mliska@suse.cz>
990
991 PR gcov-profile/93623
992 * Makefile.in: Remove __gcov_flush.
993 * gcov.h (__gcov_flush): Remove.
994 * libgcov-interface.c (__gcov_flush): Remove.
995 (init_mx): Use renamed mutex.
996 (__gcov_lock): Likewise.
997 (__gcov_unlock): Likewise.
998 (__gcov_fork): Likewise.
999 (__gcov_flush): Remove.
1000
1001 2020-05-05 Martin Liska <mliska@suse.cz>
1002
1003 PR gcov-profile/93623
1004 * libgcov-interface.c (__gcov_fork): Do not flush
1005 and reset only in child process.
1006 (__gcov_execl): Dump counters only and reset them
1007 only if exec* fails.
1008 (__gcov_execlp): Likewise.
1009 (__gcov_execle): Likewise.
1010 (__gcov_execv): Likewise.
1011 (__gcov_execvp): Likewise.
1012 (__gcov_execve): Likewise.
1013
1014 2020-05-05 Martin Liska <mliska@suse.cz>
1015
1016 PR gcov-profile/93623
1017 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1018 * libgcov-interface.c (ALIAS_void_fn): Remove.
1019 (__gcov_lock): New.
1020 (__gcov_unlock): New.
1021 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1022 (__gcov_reset): Likewise.
1023 (__gcov_dump): Likewise.
1024 * libgcov.h (__gcov_lock): New declaration.
1025 (__gcov_unlock): Likewise.
1026
1027 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1028
1029 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1030 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1031 generic division to generate INVALID and DIVZERO exceptions.
1032
1033 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1034
1035 * config/rs6000/crtresfpr.S: Use .machine ppc.
1036 * config/rs6000/crtresxfpr.S: Likewise.
1037 * config/rs6000/crtsavfpr.S: Likewise.
1038
1039 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1040
1041 PR target/94514
1042 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1043 Update context->flags accroding to the frame state.
1044
1045 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1046
1047 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1048 Remove unneeded assignments to volatile memory.
1049
1050 2020-04-15 Jakub Jelinek <jakub@redhat.com>
1051
1052 PR target/93053
1053 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1054 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1055 is not defined, use just .arch armv8-a.
1056 (B, M, N, OPN): Define.
1057 (COMMENT): New .macro.
1058 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1059 defined. Otherwise, move the operands right after the glue? and
1060 comment out operands where the macros are used.
1061 * configure: Regenerated.
1062 * config.in: Regenerated.
1063
1064 2020-04-07 Ian Lance Taylor <iant@golang.org>
1065
1066 PR libgcc/94513
1067 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1068 syscall instead.
1069
1070 2020-04-04 Ian Lance Taylor <iant@golang.org>
1071
1072 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1073
1074 2020-04-03 Ian Lance Taylor <iant@golang.org>
1075
1076 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1077 than mmap/munmap, to avoid hooks.
1078
1079 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1080
1081 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1082 (TPFRA_OFFSET): Macros removed.
1083 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1084 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1085 (PG3_SKIPPING_OFFSET): New macros.
1086 (__isPATrange): Use cinfc_fast for the check.
1087 (__isSkipResetAddr): New function.
1088 (s390_fallback_frame_state): Check for skip trace addresses. Use
1089 either ICST_CRET or ICST_SRET to calculate return address
1090 location.
1091 (__tpf_eh_return): Handle skip trace addresses.
1092
1093 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
1094
1095 PR target/94220
1096 * config/arm/lib1funcs.asm (COND): Use a single definition for
1097 unified syntax.
1098 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1099 (aeabi_idivmod): Likewise.
1100 (divsi3_skip_div0_test): Likewise.
1101
1102 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1103
1104 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1105
1106 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1107
1108 * config.host: Include the new makefile fragment.
1109 * config/s390/t-tpf: New file.
1110
1111 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
1112
1113 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1114 syntax.
1115 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1116 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1117 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1118 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1119 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1120 syntax.
1121 (divsi3, modsi3): Likewise.
1122 (clzdi2, ctzsi2): Likewise.
1123 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1124 unified syntax.
1125 (UNWIND_WRAPPER): Likewise.
1126
1127 2020-03-02 Martin Liska <mliska@suse.cz>
1128
1129 * libgcov-interface.c: Remove duplicate
1130 declaration of __gcov_flush_mx.
1131
1132 2020-02-18 Martin Liska <mliska@suse.cz>
1133
1134 PR ipa/92924
1135 * libgcov-merge.c (merge_topn_values_set): Record
1136 when a TOP N counter becomes invalid. When merging
1137 remove a smallest value if the space is needed.
1138
1139 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1140
1141 PR libstdc++/79193
1142 PR libstdc++/88999
1143
1144 * configure: Regenerated.
1145
1146 2020-02-10 Jeff Law <law@redhat.com>
1147
1148 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1149 sections.
1150 * config/frv/frvend.c: Similarly.
1151
1152 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1153
1154 PR libgcc/85334
1155 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1156 New.
1157
1158 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1159
1160 PR target/93615
1161 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1162 _Unwind_gnu_Find_got.
1163 * unwind-pe.h: Likewise.
1164
1165 2020-02-07 Jakub Jelinek <jakub@redhat.com>
1166
1167 PR target/93615
1168 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1169 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1170 trailing :s in asm. Formatting fixes.
1171 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1172
1173 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1174
1175 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1176
1177 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1178 * config/nios2-elf-lib.h: New.
1179 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1180 code for finding GOT base for nios2.
1181
1182 2020-01-27 Martin Liska <mliska@suse.cz>
1183
1184 PR gcov-profile/93403
1185 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1186 Call __gcov_indirect_call_profiler_body.
1187 (__gcov_indirect_call_profiler_body): New.
1188 (__gcov_indirect_call_profiler_v4_atomic): New.
1189 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1190 New declaration.
1191
1192 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1193
1194 * config/arc/crti.S: Add RF16 object attribute.
1195 * config/arc/crtn.S: Likewise.
1196 * config/arc/crttls.S: Likewise.
1197 * config/arc/lib1funcs.S: Likewise.
1198 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1199 * config/arc/lib2funcs.c: New file.
1200 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1201
1202 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
1203
1204 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1205 * configure.ac: Handle `--with-toolexeclibdir='.
1206 * configure: Regenerate.
1207
1208 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1209
1210 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1211
1212 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1213
1214 * config/mips/gnustack.h: New file.
1215 * config/mips/crti.S: Include gnustack.h.
1216 * config/mips/crtn.S: Likewise.
1217 * config/mips/mips16.S: Likewise.
1218 * config/mips/vr4120-div.S: Likewise.
1219
1220 2020-01-23 Martin Liska <mliska@suse.cz>
1221
1222 * libgcov-driver.c (prune_topn_counter): Remove
1223 check for -1 as we only prune run-time counters
1224 that do not generate an invalid state.
1225
1226 2020-01-22 Martin Liska <mliska@suse.cz>
1227
1228 PR tree-optimization/92924
1229 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1230 try to find an existing value, then find an empty slot
1231 if not found.
1232
1233 2020-01-22 Martin Liska <mliska@suse.cz>
1234
1235 PR tree-optimization/92924
1236 * libgcov-driver.c (prune_topn_counter): New.
1237 (prune_counters): Likewise.
1238 (dump_one_gcov): Prune a run-time counter.
1239 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1240 For a known value, add GCOV_TOPN_VALUES to value.
1241 Otherwise, decrement all counters by one.
1242
1243 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
1244
1245 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1246
1247 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
1248
1249 PR libgcc/92988
1250 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1251 DEFAULT_USE_CXA_ATEXIT is true.
1252
1253 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
1254 Thomas Preud'homme <thomas.preudhomme@arm.com>
1255
1256 * config/arm/t-arm: Check return value of gcc rather than lack of
1257 output.
1258
1259 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
1260
1261 * config/avr/lib1funcs.S (skip): Simplify.
1262
1263 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1264
1265 * config/gcn/atomic.c: Remove include of stdint.h.
1266 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1267 __UINTPTR_TYPE__.
1268
1269 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1270
1271 * config/gcn/atomic.c: New.
1272 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1273
1274 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
1275
1276 Implement 64-bit double functions.
1277
1278 PR target/92055
1279 * config.host (tmake_file) [target=avr]: Add t-libf7,
1280 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1281 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1282 depending on sizeof (double) or sizeof (long double).
1283 * config/avr/libf7: New folder.
1284
1285 2020-01-05 Olivier Hainque <hainque@adacore.com>
1286
1287 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1288 by IN_LIBGCC2.
1289
1290 2020-01-01 Jakub Jelinek <jakub@redhat.com>
1291
1292 Update copyright years.
1293
1294 2019-12-30 Olivier Hainque <hainque@adacore.com>
1295
1296 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1297 * config/gthr-vxworks-tls.c: Likewise.
1298
1299 2019-12-30 Olivier Hainque <hainque@adacore.com>
1300
1301 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1302 standard zero-initializer syntax.
1303
1304 2019-12-30 Olivier Hainque <hainque@adacore.com>
1305
1306 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1307 reference to the internal VX_GET_TLS_DATA interface.
1308
1309 2019-12-30 Olivier Hainque <hainque@adacore.com>
1310
1311 * config/vxcrtstuff.c: Fix incorrect spelling of
1312 USE_INITFINI_ARRAY in guard.
1313
1314 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1315
1316 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1317 Override default "extra_parts" variable.
1318 * configure: Regenerate.
1319 * configure.ac: Disable TM clone registry by default for
1320 msp430-elfbare.
1321
1322 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1323
1324 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1325 "extra_parts".
1326 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1327
1328 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1329
1330 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1331 true.
1332
1333 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1334
1335 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1336 defined instead of its value.
1337
1338 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1339
1340 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1341 if it will have contents.
1342
1343 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
1344
1345 PR target/92055
1346 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1347
1348 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1349
1350 PR libgcc/91737
1351 * config.host: Add t-gthr-noweak on *-*-musl*.
1352 * config/t-gthr-noweak: New file.
1353
1354 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
1355
1356 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1357 volatile void *. Remove trap check.
1358 (__kernel_cmpxchg2): Likewise.
1359 (FETCH_AND_OP_2): Adjust operand types.
1360 (OP_AND_FETCH_2): Likewise.
1361 (FETCH_AND_OP_WORD): Likewise.
1362 (OP_AND_FETCH_WORD): Likewise.
1363 (COMPARE_AND_SWAP_2): Likewise.
1364 (__sync_val_compare_and_swap_4): Likewise.
1365 (__sync_bool_compare_and_swap_4): Likewise.
1366 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1367 (__sync_lock_test_and_set_4): Likewise.
1368 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1369 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1370 for release.
1371 (__sync_lock_release_8): Remove.
1372
1373 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1374
1375 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1376 of __sigset_t.
1377
1378 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
1379 Doug Rupp <rupp@adacore.com>
1380 Olivier Hainque <hainque@adacore.com>
1381
1382 * config.host: Collapse the arm-vxworks entries into
1383 a single arm-wrs-vxworks7* one.
1384 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1385 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1386 kernel modules, to be overriden by libstdc++ when we link with
1387 it. Rely on externally provided __exidx_start/end.
1388
1389 2019-11-14 Doug Rupp <rupp@adacore.com>
1390 Olivier Hainque <hainque@adacore.com>
1391
1392 * config.host: Handle aarch64*-wrs-vxworks7*.
1393
1394 2019-11-12 Olivier Hainque <hainque@adacore.com>
1395
1396 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1397 sources except the cxx0x support to LIB2ADDEH. We don't support
1398 cxx0x on AE/653.
1399 * config/t-vxworksae: New file.
1400 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1401 Makefile fragment files at their expected position in the tmake_file
1402 list, in accordance with what is done for other VxWorks variants.
1403
1404 2019-11-12 Corentin Gay <gay@adacore.com>
1405 Jerome Lambourg <lambourg@adacore.com>
1406 Olivier Hainque <hainque@adacore.com>
1407
1408 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1409 sources to LIB2ADDEH.
1410 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1411 * config/t-vxworks7: Likewise.
1412
1413 * config.host: Append a block at the end of the file to add the
1414 t-gthr files to the tmake_file list for VxWorks after everything
1415 else.
1416
1417 * config/vxlib.c: Rename as gthr-vxworks.c.
1418 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1419
1420 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1421 API and a basic error checking API, both internal. Simplify the
1422 __gthread_once_t type definition and initializers. Add sections
1423 for condition variables support and for the C++0x thread support,
1424 conditioned against Vx653 for the latter.
1425
1426 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1427 implementation, leveraging the TAS internal API.
1428 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1429 API, leveraging the general availability of TLS services in VxWorks7
1430 post SR6xxx.
1431 (__gthread_setspecific, __gthread_setspecific): Use it.
1432 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1433 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1434 support based on VxWorks primitives.
1435 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1436 based on VxWorks primitives.
1437
1438 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
1439 Olivier Hainque <hainque@adacore.com>
1440
1441 * config/vxcrtstuff.c: New file.
1442 * config/t-vxcrtstuff: New Makefile fragment.
1443 * config.host: Append t-vxcrtstuff to the tmake_file list
1444 on all VxWorks ports using dwarf for table based EH.
1445
1446 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
1447
1448 Support 64-bit double and 64-bit long double configurations.
1449
1450 PR target/92055
1451 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1452 long double is a 32-bit type.
1453 * config/avr/t-avrlibc: Copy double64 and long-double64
1454 multilib(s) from the vanilla one.
1455 * config/avr/t-copy-libgcc: New Makefile snip.
1456
1457 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1458
1459 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1460 the target output object format is not ELF.
1461 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1462
1463 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1464
1465 PR libgcc/78804
1466 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1467 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1468 FLOAT_BIT_ORDER_MISMATCH.
1469 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1470
1471 2019-11-01 Jim Wilson <jimw@sifive.com>
1472
1473 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1474
1475 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1476
1477 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1478 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1479 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1480 Define symbols for 32-bit and f5series hardware multiply
1481 register addresses.
1482 Replace hard-coded register addresses with symbols.
1483 Fix "_mspabi*" typo.
1484 Fix whitespace.
1485 * config/msp430/lib2mul.c: Add comment.
1486
1487 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
1488
1489 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1490 unsigned int. Adjust callers.
1491 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1492 unsigned int *. Load relocation offset before function pointer.
1493 Add barrier to ensure ordering.
1494
1495 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
1496
1497 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1498 Load PIC register after branch target. Fix white space.
1499 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1500 implementations. Load PIC register after branch target. Don't
1501 clobber function pointer when it points to function descriptor.
1502 Use nullification instead of branch in LINUX implementation.
1503
1504 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
1505
1506 * config/pa/fptr.c: Disable -Warray-bounds warning.
1507
1508 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1509
1510 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1511 not the ubuntu modified 2.69.
1512
1513 PR target/91833
1514 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1515 initialization if !HAVE_SYS_AUXV_H.
1516 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1517 * config.in, configure: Rebuild.
1518
1519 PR target/91834
1520 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1521 overlap the inputs.
1522
1523 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1524
1525 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1526 CTR_EL0.IDC and CTR_EL0.DIC.
1527
1528 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1529
1530 Revert:
1531 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1532 Mickaël Guêné <mickael.guene@st.com>
1533
1534 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1535 architecture.
1536
1537 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1538
1539 * config/aarch64/lse-init.c: New file.
1540 * config/aarch64/lse.S: New file.
1541 * config/aarch64/t-lse: New file.
1542 * config.host: Add t-lse to all aarch64 tuples.
1543
1544 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1545 Mickaël Guêné <mickael.guene@st.com>
1546
1547 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1548 architecture.
1549
1550 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1551 Mickaël Guêné <mickael.guene@st.com>
1552
1553 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1554 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1555 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1556 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1557 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1558 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1559 (__gnu_personality_sigframe_fdpic): New.
1560 (get_eit_entry): Add FDPIC signal frame support.
1561
1562 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1563 Mickaël Guêné <mickael.guene@st.com>
1564
1565 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1566 (__kernel_dmb): Likewise.
1567 (__fdpic_cmpxchg): New function.
1568 (__fdpic_dmb): New function.
1569 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1570 (gnu_Unwind_Find_got): New function.
1571 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1572 * unwind-arm-common.inc (UCB_PR_GOT): New.
1573 (funcdesc_t): New struct.
1574 (get_eit_entry): Add FDPIC support.
1575 (unwind_phase2): Likewise.
1576 (unwind_phase2_forced): Likewise.
1577 (__gnu_Unwind_RaiseException): Likewise.
1578 (__gnu_Unwind_Resume): Likewise.
1579 (__gnu_Unwind_Backtrace): Likewise.
1580 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1581
1582 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1583 Mickaël Guêné <mickael.guene@st.com>
1584
1585 * libgcc/crtstuff.c: Add support for FDPIC.
1586
1587 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1588
1589 * config.host: Handle *-*-uclinuxfdpiceabi.
1590
1591 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1592
1593 * config.host: Set cpu_type for bpf-*-* targets.
1594 * config/bpf/t-bpf: Likewise.
1595 * config/bpf/crtn.S: Likewise.
1596 * config/bpf/crti.S: New file.
1597
1598 2019-09-06 Jim Wilson <jimw@sifive.com>
1599
1600 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1601 (riscv*-*-freebsd*): Likewise.
1602
1603 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1604
1605 * config.host: Remove references to spu.
1606 * config/spu/: Remove directory.
1607
1608 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1609
1610 PR target/91306
1611 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1612 element type, instead of "sizeof" the element type.
1613 (__DTOR_LIST__): Likewise.
1614 (__TMC_LIST__): Likewise.
1615 (__do_global_dtors_aux_fini_array_entry): Likewise.
1616 (__frame_dummy_init_array_entry): Likewise.
1617 (__CTOR_END__): Likewise.
1618 (__DTOR_END__): Likweise.
1619 (__FRAME_END__): Likewise.
1620 (__TMC_END__): Likewise.
1621
1622 2019-08-20 Lili Cui <lilicui@intel.com>
1623
1624 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1625 INTEL_COREI7_COOPERLAKE.
1626
1627 2019-07-31 Matt Thomas <matt@3am-software.com>
1628 Nick Hudson <nick@nthcliff.demon.co.uk>
1629 Matthew Green <mrg@eterna.com.au>
1630 Maya Rashish <coypu@sdf.org>
1631
1632 * config.host (hppa*-*-netbsd*): New case.
1633 * config/pa/t-netbsd: New file.
1634
1635 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1636
1637 * config/arm/cmse.c (cmse_check_address_range): Add
1638 warn_unused_result attribute.
1639
1640 2019-07-22 Martin Liska <mliska@suse.cz>
1641
1642 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1643 * config/pa/t-stublib: Likewise.
1644
1645 2019-07-22 Stafford Horne <shorne@gmail.com>
1646
1647 PR target/90362
1648 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1649 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1650 instructions are not available on every processor. Change a
1651 l.bnf to l.bf to fix logic issue.
1652
1653 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1654
1655 * config.host: Remove reference to t-darwin8.
1656
1657 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1658
1659 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1660 list.
1661 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1662 mmacosx-version-min for crts to run across all system versions.
1663 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1664 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1665 system versions >= 10.4.
1666
1667 2019-07-03 Martin Liska <mliska@suse.cz>
1668
1669 * Makefile.in: Use topn_values instead of one_value names.
1670 * libgcov-merge.c (__gcov_merge_single): Move to ...
1671 (__gcov_merge_topn): ... this.
1672 (merge_single_value_set): Move to ...
1673 (merge_topn_values_set): ... this.
1674 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1675 ...
1676 (__gcov_topn_values_profiler_body): ... this.
1677 (__gcov_one_value_profiler_v2): Move to ...
1678 (__gcov_topn_values_profiler): ... this.
1679 (__gcov_one_value_profiler_v2_atomic): Move to ...
1680 (__gcov_topn_values_profiler_atomic): ... this.
1681 (__gcov_indirect_call_profiler_v4): Remove.
1682 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1683 (__gcov_topn_counter_op): ... this.
1684 * libgcov.h (L_gcov_merge_single): Remove.
1685 (L_gcov_merge_topn): New.
1686 (__gcov_merge_single): Remove.
1687 (__gcov_merge_topn): New.
1688 (__gcov_one_value_profiler_v2): Move to ..
1689 (__gcov_topn_values_profiler): ... this.
1690 (__gcov_one_value_profiler_v2_atomic): Move to ...
1691 (__gcov_topn_values_profiler_atomic): ... this.
1692
1693 2019-07-03 Martin Liska <mliska@suse.cz>
1694
1695 * libgcov-merge.c (merge_single_value_set): Support N values.
1696 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1697
1698 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1699
1700 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1701 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1702 * configure.ac: Add --disable-tm-clone-registry option.
1703 * configure: Regenerate.
1704
1705 2019-06-27 Martin Liska <mliska@suse.cz>
1706
1707 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1708 dead assignments.
1709 * libgcov-util.c: Likewise.
1710
1711 2019-06-27 Martin Liska <mliska@suse.cz>
1712
1713 * libgcov-util.c (gcov_profile_merge): Release allocated
1714 memory.
1715 (calculate_overlap): Likewise.
1716
1717 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1718
1719 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1720 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1721 Build objects for the out of line save/restore register functions
1722 so that they can be used for any supported Darwin version.
1723 * config/t-darwin: Default the build Darwin version to Darwin8
1724 (MacOS 10.4).
1725
1726 2019-06-25 Martin Liska <mliska@suse.cz>
1727
1728 * libgcov-driver-system.c (replace_filename_variables): Do not
1729 call strlen with NULL argument.
1730
1731 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1732
1733 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1734 * config/gcn/unwind-gcn.c: New file.
1735
1736 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1737 Andrew Stubbs <ams@codesourcery.com>
1738
1739 * configure: Regenerate.
1740 * config/gcn/gthr-gcn.h: New.
1741
1742 2019-06-18 Tom de Vries <tdevries@suse.de>
1743
1744 * config/nvptx/crt0.c (__main): Declare.
1745
1746 2019-06-17 Matthew Green <mrg@eterna.com.au>
1747 Maya Rashish <coypu@sdf.org>
1748
1749 * config.host (aarch64*-*-netbsd*): New case.
1750
1751 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1752
1753 * config/msp430/slli.S (__mspabi_sllll): New library function for
1754 performing a logical left shift of a 64-bit value.
1755 * config/msp430/srai.S (__mspabi_srall): New library function for
1756 performing a arithmetic right shift of a 64-bit value.
1757 * config/msp430/srll.S (__mspabi_srlll): New library function for
1758 performing a logical right shift of a 64-bit value.
1759
1760 2019-06-14 Matt Thomas <matt@3am-software.com>
1761 Matthew Green <mrg@eterna.com.au>
1762 Nick Hudson <skrll@netbsd.org>
1763 Maya Rashish <coypu@sdf.org>
1764
1765 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1766 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1767 functions to build.
1768 * config/arm/t-netbsd-eabi: New file.
1769
1770 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1771
1772 * config.host: Add PRU target.
1773 * config/pru/asri.c: New file.
1774 * config/pru/eqd.c: New file.
1775 * config/pru/eqf.c: New file.
1776 * config/pru/ged.c: New file.
1777 * config/pru/gef.c: New file.
1778 * config/pru/gtd.c: New file.
1779 * config/pru/gtf.c: New file.
1780 * config/pru/led.c: New file.
1781 * config/pru/lef.c: New file.
1782 * config/pru/lib2bitcountHI.c: New file.
1783 * config/pru/lib2divHI.c: New file.
1784 * config/pru/lib2divQI.c: New file.
1785 * config/pru/lib2divSI.c: New file.
1786 * config/pru/libgcc-eabi.ver: New file.
1787 * config/pru/ltd.c: New file.
1788 * config/pru/ltf.c: New file.
1789 * config/pru/mpyll.S: New file.
1790 * config/pru/pru-abi.h: New file.
1791 * config/pru/pru-asm.h: New file.
1792 * config/pru/pru-divmod.h: New file.
1793 * config/pru/sfp-machine.h: New file.
1794 * config/pru/t-pru: New file.
1795
1796 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1797
1798 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1799
1800 2019-06-10 Martin Liska <mliska@suse.cz>
1801
1802 PR bootstrap/90808
1803 * libgcov.h: Add ATTRIBUTE_UNUSED.
1804
1805 2019-06-10 Martin Liska <mliska@suse.cz>
1806
1807 * Makefile.in: Add __gcov_one_value_profiler_v2,
1808 __gcov_one_value_profiler_v2_atomic and
1809 __gcov_indirect_call_profiler_v4.
1810 * libgcov-merge.c (__gcov_merge_single): Change
1811 function signature.
1812 (merge_single_value_set): New.
1813 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1814 Update functionality.
1815 (__gcov_one_value_profiler): Remove.
1816 (__gcov_one_value_profiler_v2): ... this.
1817 (__gcov_one_value_profiler_atomic): Rename to ...
1818 (__gcov_one_value_profiler_v2_atomic): this.
1819 (__gcov_indirect_call_profiler_v3): Rename to ...
1820 (__gcov_indirect_call_profiler_v4): ... this.
1821 * libgcov.h (__gcov_one_value_profiler): Remove.
1822 (__gcov_one_value_profiler_atomic): Remove.
1823 (__gcov_one_value_profiler_v2_atomic): New.
1824 (__gcov_indirect_call_profiler_v3): Remove.
1825 (__gcov_one_value_profiler_v2): New.
1826 (__gcov_indirect_call_profiler_v4): New.
1827 (gcov_get_counter_ignore_scaling): New function.
1828
1829 2019-06-07 Martin Liska <mliska@suse.cz>
1830
1831 * Makefile.in: Remove usage of
1832 _gcov_merge_icall_topn.
1833 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1834 (gcov_sort_icall_topn_counter): Likewise.
1835 (gcov_sort_topn_counter_arrays): Likewise.
1836 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1837 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1838 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1839 Likewise.
1840 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1841 (struct indirect_call_tuple): Remove.
1842 (__gcov_indirect_call_topn_profiler): Remove.
1843 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1844 * libgcov.h (gcov_sort_n_vals): Remove.
1845 (L_gcov_merge_icall_topn): Likewise.
1846 (__gcov_merge_icall_topn): Likewise.
1847 (__gcov_indirect_call_topn_profiler): Likewise.
1848
1849 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1850
1851 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1852 altivec enabled.
1853
1854 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1855
1856 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1857 section.
1858 (__mspabi_slli): Likewise.
1859 (__mspabi_slll_n): Likewise.
1860 (__mspabi_slll): Likewise.
1861 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1862 (__mspabi_srai): Likewise.
1863 (__mspabi_sral_n): Likewise.
1864 (__mspabi_sral): Likewise.
1865 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1866 (__mspabi_srli): Likewise.
1867 (__mspabi_srll_n): Likewise.
1868 (__mspabi_srll): Likewise.
1869
1870 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1871
1872 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1873 Add appropriate tm_file clause as well.
1874 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1875
1876 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1877
1878 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1879 rather than .data/.bss so it can be accessed via gp-relative
1880 addressing.
1881
1882 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1883
1884 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1885 (CR2_REGNO): Rename to R_CR2.
1886 (XER_REGNO): Rename to R_XER.
1887 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1888 (VRSAVE_REGNO): Rename to R_VRSAVE.
1889 (VSCR_REGNO): R_VSCR.
1890
1891 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1892
1893 * config.host (rx-*-linux*): Add new case.
1894 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1895
1896 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1897
1898 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1899 function.
1900 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1901 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1902 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1903 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1904 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1905 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1906 string.
1907 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1908 string.
1909 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1910
1911 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1912
1913 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1914 Remove Solaris 9 and 10 support.
1915 (sparc_is_sighandler): Likewise.
1916
1917 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1918
1919 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1920
1921 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1922
1923 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1924 4_FP_W_TYPEs are used for IEEE quad precision.
1925 * soft-fp/extendhftf2.c: Likewise.
1926 * soft-fp/extendsftf2.c: Likewise.
1927 * soft-fp/extendxftf2.c: Likewise.
1928 * soft-fp/trunctfdf2.c: Likewise.
1929 * soft-fp/trunctfhf2.c: Likewise.
1930 * soft-fp/trunctfsf2.c: Likewise.
1931 * soft-fp/trunctfxf2.c: Likewise.
1932 * config/rs6000/ibm-ldouble.c: Likewise.
1933
1934 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1935
1936 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1937 *-*-solaris2*.
1938 * configure.ac: Likewise.
1939 * configure: Regenerate.
1940
1941 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1942 Solaris 10 and Solaris 11 < snv_125 handling.
1943
1944 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1945
1946 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1947
1948 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1949
1950 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1951 * config/i386/cpuinfo.h (enum processor_features): Add
1952 FEATURE_AVX512BF16.
1953
1954 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1955 Bernd Edlinger <bernd.edlinger@hotmail.de>
1956 Jakub Jelinek <jakub@redhat.com>
1957
1958 PR target/89093
1959 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1960 * config/arm/unwind-arm.c: Likewise.
1961 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1962 attribute for ARM.
1963
1964 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1965
1966 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1967 (RT_SIGRETURN): Update.
1968 (nds32_fallback_frame_state): Update.
1969
1970 2019-02-21 Martin Sebor <msebor@redhat.com>
1971
1972 * libgcc2.h (__clear_cache): Correct signature.
1973 * libgcc2.c (__clear_cache): Same.
1974
1975 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1976
1977 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1978 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1979
1980 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1981
1982 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1983 regno instead of index to DWARF_ZERO_REG.
1984
1985 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1986
1987 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1988 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1989
1990 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1991
1992 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1993 to HOST_LIBGCC2_CFLAGS.
1994
1995 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1996
1997 PR libgcc/88931
1998 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1999
2000 2019-01-18 Martin Liska <mliska@suse.cz>
2001
2002 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2003 to ...
2004 (__gcov_indirect_call_profiler_v3): ... this.
2005 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2006 (__gcov_indirect_call_profiler_v3): Likewise.
2007 * Makefile.in: Bump function name.
2008
2009 2019-01-18 Martin Liska <mliska@suse.cz>
2010
2011 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2012 (gcov_version): Use in gcov_error.
2013 (merge_one_data): Likewise.
2014 (dump_one_gcov): Likewise.
2015
2016 2019-01-18 Martin Liska <mliska@suse.cz>
2017
2018 * libgcov-driver.c (gcov_version_string): New function.
2019 (gcov_version): Convert version integer into string.
2020
2021 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
2022 Kwok Cheung Yeung <kcy@codesourcery.com>
2023 Julian Brown <julian@codesourcery.com>
2024 Tom de Vries <tom@codesourcery.com>
2025
2026 * config.host: Recognize amdgcn*-*-amdhsa.
2027 * config/gcn/crt0.c: New file.
2028 * config/gcn/lib2-divmod-hi.c: New file.
2029 * config/gcn/lib2-divmod.c: New file.
2030 * config/gcn/lib2-gcn.h: New file.
2031 * config/gcn/sfp-machine.h: New file.
2032 * config/gcn/t-amdgcn: New file.
2033
2034 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2035
2036 PR other/16615
2037
2038 * config/c6x/libunwind.S: Mechanically replace "can not" with
2039 "cannot".
2040 * config/tilepro/atomic.h: Likewise.
2041 * config/vxlib-tls.c: Likewise.
2042 * generic-morestack-thread.c: Likewise.
2043 * generic-morestack.c: Likewise.
2044 * mkmap-symver.awk: Likewise.
2045
2046 2019-01-01 Jakub Jelinek <jakub@redhat.com>
2047
2048 Update copyright years.
2049
2050 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2051
2052 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2053 to ignore -Waddress-of-packed-member.
2054
2055 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2056
2057 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2058 parameter and corresponding code.
2059 (ARM_FUNC_START): Likewise in both definitions.
2060 Also update footer comment about condition that need to match with
2061 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2062 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2063 defined. Weakly define it in this case.
2064 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2065 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2066 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2067 comment to keep condition in sync with the one in
2068 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2069
2070 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
2071
2072 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2073 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2074
2075 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2076
2077 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2078 and .cfi_endproc directives for VxWorks targets.
2079
2080 2018-12-05 Paul Koning <ni1d@arrl.net>
2081
2082 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2083
2084 2018-11-27 Alan Modra <amodra@gmail.com>
2085
2086 * config/rs6000/morestack.S (__stack_split_initialize),
2087 (__morestack_get_guard, __morestack_set_guard),
2088 (__morestack_make_guard): Provide CFI covering these functions.
2089 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2090
2091 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2092
2093 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2094 (sc_pt_regs_lr): Update for kernel.
2095 (sc_pt_regs_tls): Update for kernel.
2096
2097 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2098
2099 * config/csky/linux-unwind.h: Fix coding style.
2100
2101 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2102
2103 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2104 (csky_fallback_frame_state): Modify the check of the
2105 instructions to adapt to changes in the kernel
2106
2107 2018-11-09 Stafford Horne <shorne@gmail.com>
2108 Richard Henderson <rth@twiddle.net>
2109
2110 * config.host: Add OpenRISC support.
2111 * config/or1k/*: New.
2112
2113 2018-11-08 Kito Cheng <kito@andestech.com>
2114
2115 * soft-fp/adddf3.c: Update from glibc.
2116 * soft-fp/addsf3.c: Likewise.
2117 * soft-fp/addtf3.c: Likewise.
2118 * soft-fp/divdf3.c: Likewise.
2119 * soft-fp/divsf3.c: Likewise.
2120 * soft-fp/divtf3.c: Likewise.
2121 * soft-fp/double.h: Likewise.
2122 * soft-fp/eqdf2.c: Likewise.
2123 * soft-fp/eqsf2.c: Likewise.
2124 * soft-fp/eqtf2.c: Likewise.
2125 * soft-fp/extenddftf2.c: Likewise.
2126 * soft-fp/extended.h: Likewise.
2127 * soft-fp/extendhftf2.c: Likewise.
2128 * soft-fp/extendsfdf2.c: Likewise.
2129 * soft-fp/extendsftf2.c: Likewise.
2130 * soft-fp/extendxftf2.c: Likewise.
2131 * soft-fp/fixdfdi.c: Likewise.
2132 * soft-fp/fixdfsi.c: Likewise.
2133 * soft-fp/fixdfti.c: Likewise.
2134 * soft-fp/fixhfti.c: Likewise.
2135 * soft-fp/fixsfdi.c: Likewise.
2136 * soft-fp/fixsfsi.c: Likewise.
2137 * soft-fp/fixsfti.c: Likewise.
2138 * soft-fp/fixtfdi.c: Likewise.
2139 * soft-fp/fixtfsi.c: Likewise.
2140 * soft-fp/fixtfti.c: Likewise.
2141 * soft-fp/fixunsdfdi.c: Likewise.
2142 * soft-fp/fixunsdfsi.c: Likewise.
2143 * soft-fp/fixunsdfti.c: Likewise.
2144 * soft-fp/fixunshfti.c: Likewise.
2145 * soft-fp/fixunssfdi.c: Likewise.
2146 * soft-fp/fixunssfsi.c: Likewise.
2147 * soft-fp/fixunssfti.c: Likewise.
2148 * soft-fp/fixunstfdi.c: Likewise.
2149 * soft-fp/fixunstfsi.c: Likewise.
2150 * soft-fp/fixunstfti.c: Likewise.
2151 * soft-fp/floatdidf.c: Likewise.
2152 * soft-fp/floatdisf.c: Likewise.
2153 * soft-fp/floatditf.c: Likewise.
2154 * soft-fp/floatsidf.c: Likewise.
2155 * soft-fp/floatsisf.c: Likewise.
2156 * soft-fp/floatsitf.c: Likewise.
2157 * soft-fp/floattidf.c: Likewise.
2158 * soft-fp/floattihf.c: Likewise.
2159 * soft-fp/floattisf.c: Likewise.
2160 * soft-fp/floattitf.c: Likewise.
2161 * soft-fp/floatundidf.c: Likewise.
2162 * soft-fp/floatundisf.c: Likewise.
2163 * soft-fp/floatunditf.c: Likewise.
2164 * soft-fp/floatunsidf.c: Likewise.
2165 * soft-fp/floatunsisf.c: Likewise.
2166 * soft-fp/floatunsitf.c: Likewise.
2167 * soft-fp/floatuntidf.c: Likewise.
2168 * soft-fp/floatuntihf.c: Likewise.
2169 * soft-fp/floatuntisf.c: Likewise.
2170 * soft-fp/floatuntitf.c: Likewise.
2171 * soft-fp/gedf2.c: Likewise.
2172 * soft-fp/gesf2.c: Likewise.
2173 * soft-fp/getf2.c: Likewise.
2174 * soft-fp/half.h: Likewise.
2175 * soft-fp/ledf2.c: Likewise.
2176 * soft-fp/lesf2.c: Likewise.
2177 * soft-fp/letf2.c: Likewise.
2178 * soft-fp/muldf3.c: Likewise.
2179 * soft-fp/mulsf3.c: Likewise.
2180 * soft-fp/multf3.c: Likewise.
2181 * soft-fp/negdf2.c: Likewise.
2182 * soft-fp/negsf2.c: Likewise.
2183 * soft-fp/negtf2.c: Likewise.
2184 * soft-fp/op-1.h: Likewise.
2185 * soft-fp/op-2.h: Likewise.
2186 * soft-fp/op-4.h: Likewise.
2187 * soft-fp/op-8.h: Likewise.
2188 * soft-fp/op-common.h: Likewise.
2189 * soft-fp/quad.h: Likewise.
2190 * soft-fp/single.h: Likewise.
2191 * soft-fp/soft-fp.h: Likewise.
2192 * soft-fp/subdf3.c: Likewise.
2193 * soft-fp/subsf3.c: Likewise.
2194 * soft-fp/subtf3.c: Likewise.
2195 * soft-fp/truncdfsf2.c: Likewise.
2196 * soft-fp/trunctfdf2.c: Likewise.
2197 * soft-fp/trunctfhf2.c: Likewise.
2198 * soft-fp/trunctfsf2.c: Likewise.
2199 * soft-fp/trunctfxf2.c: Likewise.
2200 * soft-fp/unorddf2.c: Likewise.
2201 * soft-fp/unordsf2.c: Likewise.
2202 * soft-fp/unordtf2.c: Likewise.
2203
2204 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2205
2206 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2207 * config/i386/cpuinfo.h (processor_types): Add znver2.
2208
2209 2018-11-01 Paul Koning <ni1d@arrl.net>
2210
2211 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2212 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2213
2214 2018-10-31 Joseph Myers <joseph@codesourcery.com>
2215
2216 PR bootstrap/82856
2217 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2218 * configure: Regenerate.
2219
2220 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2221
2222 * config/arc/lib1funcs.S (_muldi3): New function.
2223 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2224
2225 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2226
2227 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2228
2229 2018-10-25 Martin Liska <mliska@suse.cz>
2230
2231 PR other/87735
2232 * libgcov-profiler.c: Revert.
2233
2234 2018-10-24 Martin Liska <mliska@suse.cz>
2235
2236 * libgcov-profiler.c: Start from 1 in order to distinguish
2237 functions which were seen and these that were not.
2238
2239 2018-10-18 Paul Koning <ni1d@arrl.net>
2240
2241 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2242 standard.
2243 * divmod.c: Update references to __udivmodsi4.
2244 * udivmod.c: Ditto.
2245 * udivhi3.c: New file.
2246 * udivmodhi4.c: New file.
2247 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2248
2249 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2250
2251 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2252
2253 2018-10-12 Olivier Hainque <hainque@adacore.com>
2254
2255 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2256 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2257
2258 2018-10-08 Paul Koning <ni1d@arrl.net>
2259
2260 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2261
2262 2018-10-04 Martin Liska <mliska@suse.cz>
2263
2264 PR gcov-profile/84107
2265 * libgcov-profiler.c (__gcov_indirect_call):
2266 Change type to indirect_call_tuple.
2267 (struct indirect_call_tuple): New struct.
2268 (__gcov_indirect_call_topn_profiler): Change type.
2269 (__gcov_indirect_call_profiler_v2): Use the new
2270 variables.
2271 * libgcov.h (struct indirect_call_tuple): New struct
2272 definition.
2273
2274 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
2275
2276 * libgcc2.c (isnan): Use __builtin_isnan.
2277 (isfinite): Use __builtin_isfinite.
2278 (isinf): Use __builtin_isinf.
2279
2280 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
2281
2282 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2283
2284 2018-09-21 Alexandre Oliva <oliva@adacore.com>
2285
2286 * config/vxcache.c: New file. Provide __clear_cache, based on
2287 the cacheTextUpdate VxWorks service.
2288 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2289 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2290 * config/t-vxwoks7: Likewise.
2291
2292 2018-09-21 Martin Liska <mliska@suse.cz>
2293
2294 * libgcov-driver.c (crc32_unsigned): Remove.
2295 (gcov_histogram_insert): Likewise.
2296 (gcov_compute_histogram): Likewise.
2297 (compute_summary): Simplify rapidly.
2298 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2299 (merge_summary): Rapidly simplify.
2300 (dump_one_gcov): Ignore gcov_summary.
2301 (gcov_do_dump): Do not handle program summary, it's not
2302 used.
2303 * libgcov-util.c (tag_summary): Remove.
2304 (read_gcda_finalize): Fix coding style.
2305 (read_gcda_file): Initialize curr_object_summary.
2306 (compute_summary): Remove.
2307 (calculate_overlap): Remove settings of run_max.
2308
2309 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2310
2311 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2312 ucontext_t type instead.
2313 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2314
2315 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
2316
2317 * config/nds32/t-nds32-glibc: New file.
2318
2319 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2320
2321 * configure.ac (solaris_ld_v2_maps): New test.
2322 * configure: Regenerate.
2323 * Makefile.in (solaris_ld_v2_maps): New variable.
2324 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2325 if supported.
2326
2327 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
2328
2329 PR target/86951
2330 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2331 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2332 to build.
2333
2334 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2335
2336 * config/unwind-dw2-fde-darwin.c
2337 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2338 * config/darwin10-unwind-find-enc-func.c: … to here.
2339 * config/t-darwin: Build Darwin10 unwinder shim crt.
2340 * libgcc/config.host: Add the Darwin10 unwinder shim.
2341
2342 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2343
2344 * config.host: Add crtbegin.o and crtend.o for
2345 powerpc-wrs-vxworks target.
2346
2347 2018-08-17 Jojo <jijie_rong@c-sky.com>
2348 Huibin Wang <huibin_wang@c-sky.com>
2349 Sandra Loosemore <sandra@codesourcery.com>
2350 Chung-Lin Tang <cltang@codesourcery.com>
2351
2352 C-SKY port: libgcc
2353
2354 * config.host: Add C-SKY support.
2355 * config/csky/*: New.
2356
2357 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2358
2359 * config/nds32/t-nds32-isr: Rearrange object dependency.
2360 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2361 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2362 and registers usage.
2363 * config/nds32/isr-library/excp_isr.S: Ditto.
2364 * config/nds32/isr-library/intr_isr.S: Ditto.
2365 * config/nds32/isr-library/reset.S: Ditto.
2366 * config/nds32/isr-library/restore_all.inc: Ditto.
2367 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2368 * config/nds32/isr-library/restore_partial.inc: Ditto.
2369 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2370 * config/nds32/isr-library/save_all.inc: Ditto.
2371 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2372 * config/nds32/isr-library/save_partial.inc: Ditto.
2373 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2374 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2375
2376 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
2377
2378 * config/pa/linux-atomic.c: Update comment.
2379 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2380 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2381 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2382 __ATOMIC_RELAXED for atomic loads.
2383 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2384 unordered store to release lock.
2385 (__sync_lock_release_8): Likewise.
2386 (SYNC_LOCK_RELEASE_2): Remove define.
2387
2388 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
2389
2390 PR libgcc/86512
2391 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2392 exponent goes negative. Update my email address.
2393 * config/arm/ieee754-sf.S: Likewise.
2394
2395 2018-08-01 Martin Liska <mliska@suse.cz>
2396
2397 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2398 check that __gcov_indirect_call_callee is non-null.
2399
2400 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2401
2402 * config/arm/ieee754-df.S: Fix comment for code working on
2403 architectures >= 4.
2404 * config/arm/ieee754-sf.S: Likewise.
2405
2406 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2407
2408 PR libgcc/85334
2409 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2410 Removed.
2411
2412 2018-07-05 James Clarke <jrtc27@jrtc27.com>
2413
2414 * configure: Regenerated.
2415
2416 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2417
2418 * Makefile.in (install_leaf): Use enable_gcov instead of
2419 enable_libgcov.
2420
2421 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2422
2423 * configure.ac: Add --disable-gcov option.
2424 * configure: Regenerate.
2425 * Makefile.in: Honour @enable_gcov@.
2426
2427 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2428
2429 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2430 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2431 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2432 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2433 __ARM_ARCH__.
2434 * config/arm/ieee754-sf.S: Likewise.
2435 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2436
2437 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2438
2439 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2440 longer supported.
2441 * config/arm/ieee754-sf.S: Likewise.
2442
2443 2018-06-20 Than McIntosh <thanm@google.com>
2444
2445 PR libgcc/86213
2446 * generic-morestack.c (allocate_segment): Move calls to getenv and
2447 getpagesize to __morestack_load_mmap.
2448 (__morestack_load_mmap) Initialize static_pagesize and
2449 use_guard_page here so as to avoid clobbering SSE regs during a
2450 __morestack call.
2451
2452 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
2453
2454 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2455 support modules with -mno-gnu-attribute.
2456 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2457
2458 2018-06-07 Olivier Hainque <hainque@adacore.com>
2459
2460 * config/t-vxworks (LIBGCC_INCLUDES): Add
2461 -I$(MULTIBUILDTOP)../../gcc/include.
2462 * config/t-vxworks7: Likewise. Reformat a bit to match
2463 the t-vxworks layout.
2464
2465 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2466
2467 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2468
2469 2018-06-07 Martin Liska <mliska@suse.cz>
2470
2471 * libgcov-driver.c: Rename cs_all to all and assign it from
2472 all_prg.
2473
2474 2018-06-07 Martin Liska <mliska@suse.cz>
2475
2476 PR bootstrap/86057
2477 * libgcov-driver-system.c (replace_filename_variables): Use
2478 memcpy instead of mempcpy.
2479 (allocate_filename_struct): Do not allocate filename, allocate
2480 prefix and set it.
2481 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2482 here and properly copy content into it.
2483 * libgcov-driver.c (struct gcov_filename): Remove max_length
2484 field, change prefix from size_t into char *.
2485 (compute_summary): Do not calculate longest filename.
2486 (gcov_do_dump): Release memory of gf.filename after each file.
2487 * libgcov-util.c (compute_summary): Use new signature of
2488 compute_summary.
2489 (calculate_overlap): Likewise.
2490
2491 2018-06-05 Martin Liska <mliska@suse.cz>
2492
2493 PR gcov-profile/47618
2494 * libgcov-driver-system.c (replace_filename_variables): New
2495 function.
2496 (gcov_exit_open_gcda_file): Use it.
2497
2498 2018-06-05 Martin Liska <mliska@suse.cz>
2499
2500 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2501 of gcov_ctr_summary.
2502 (compute_summary): Do it just for a single summary.
2503 (merge_one_data): Likewise.
2504 (merge_summary): Simplify as we read just single summary.
2505 (dump_one_gcov): Pass proper argument.
2506 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2507 single summary.
2508 (gcov_info_count_all_cold): Likewise.
2509 (calculate_overlap): Likewise.
2510
2511 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2512 Monk Chiang <sh.chiang04@gmail.com>
2513
2514 * config.host (nds32*-linux*): New.
2515 * config/nds32/linux-atomic.c: New file.
2516 * config/nds32/linux-unwind.h: New file.
2517
2518 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2519
2520 PR target/85591
2521 * config/i386/cpuinfo.c (get_amd_cpu): Return
2522 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2523
2524 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2525
2526 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2527
2528 2018-05-29 Martin Liska <mliska@suse.cz>
2529
2530 PR gcov-profile/85759
2531 * libgcov-driver-system.c (gcov_error): Introduce usage of
2532 GCOV_EXIT_AT_ERROR env. variable.
2533 * libgcov-driver.c (merge_one_data): Print error that we
2534 overwrite a gcov file with a different timestamp.
2535
2536 2018-05-23 Kalamatee <kalamatee@gmail.com>
2537
2538 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2539 path to Lf$finfty.
2540
2541 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2542 Monk Chiang <sh.chiang04@gmail.com>
2543 Jim Wilson <jimw@sifive.com>
2544
2545 * config/riscv/save-restore.S: Add support for rv32e.
2546
2547 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2548
2549 * config/arm/libunwind.S: Update comment relating to armv5.
2550
2551 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2552
2553 * config/arm/cmse.c (cmse_check_address_range): Replace
2554 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2555
2556 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2557
2558 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2559 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2560
2561 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2562
2563 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2564 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2565
2566 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2567
2568 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2569
2570 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2571 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2572
2573 PR libgcc/84292
2574 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2575 op_and_fetch to return the right result.
2576
2577 2018-04-27 Alan Modra <amodra@gmail.com>
2578
2579 PR libgcc/85532
2580 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2581 -fno-asynchronous-unwind-tables.
2582
2583 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2584
2585 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2586 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2587
2588 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2589
2590 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2591 when including "config/i386/shadow-stack-unwind.h".
2592
2593 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2594
2595 * configure: Regenerated.
2596
2597 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2598
2599 PR target/85456
2600 * config/rs6000/_powikf2.c: New file. Add support for the
2601 __builtin_powil function when long double is IEEE 128-bit floating
2602 point.
2603 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2604 __powikf2 support.
2605 (__powikf2): Likewise.
2606 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2607 (__powikf2_hw): Likewise.
2608 (__powikf2): Likewise.
2609 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2610 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2611 (_powikf2-hw.c): Likewise.
2612
2613 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2614
2615 PR libgcc/85334
2616 * unwind-generic.h (_Unwind_Frames_Increment): New.
2617 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2618 Likewise.
2619 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2620 count with _Unwind_Frames_Increment.
2621 (_Unwind_ForcedUnwind_Phase2): Likewise.
2622
2623 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 PR libgcc/85379
2626 * config/i386/morestack.S (__stack_split_initialize): Add
2627 _CET_ENDBR.
2628
2629 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2630
2631 * configure: Regenerated.
2632
2633 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2634
2635 PR jit/85384
2636 * configure: Regenerate.
2637
2638 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2639
2640 PR target/84945
2641 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2642 -Wdangling-else warnings. Mask shift counts to avoid
2643 -Wshift-count-negative and -Wshift-count-overflow false positives.
2644
2645 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2646
2647 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2648
2649 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2650
2651 PR target/85100
2652 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2653 (XSTATE_FP): Likewise.
2654 (XSTATE_SSE): Likewise.
2655 (XSTATE_YMM): Likewise.
2656 (XSTATE_OPMASK): Likewise.
2657 (XSTATE_ZMM): Likewise.
2658 (XSTATE_HI_ZMM): Likewise.
2659 (XCR_AVX_ENABLED_MASK): Likewise.
2660 (XCR_AVX512F_ENABLED_MASK): Likewise.
2661 (get_available_features): Enable AVX and AVX512 features only
2662 if their states are supported by OSXSAVE.
2663
2664 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2665
2666 PR target/85025
2667 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2668 Fix a typo, tmp => 255.
2669
2670 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2671
2672 PR target/84945
2673 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2674 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2675 ifndef SHARED only.
2676 (set_feature): Define.
2677 (get_available_features): Use set_feature macro. Set __cpu_features2
2678 to the second word of features ifndef SHARED.
2679
2680 2018-03-15 Julia Koval <julia.koval@intel.com>
2681
2682 * config/i386/cpuinfo.c (get_available_features): Add
2683 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2684 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2685 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2686 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2687 FEATURE_AVX512BITALG.
2688
2689 2018-03-14 Julia Koval <julia.koval@intel.com>
2690
2691 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2692 icelake client and icelake server.
2693
2694 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2695
2696 * config/pa/fptr.c (_dl_read_access_allowed): New.
2697 (__canonicalize_funcptr_for_compare): Use it.
2698
2699 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2700
2701 PR debug/83917
2702 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2703 $asm_hidden_op if visibility ("hidden") attribute works.
2704 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2705 * config/i386/i386-asm.h: Don't include auto-host.h.
2706 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2707 PACKAGE_URL): Don't undefine.
2708 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2709 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2710 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2711 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2712 definition instead of hardcoded .hidden.
2713 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2714 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2715 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2716 (USE_GAS_CFI_DIRECTIVES): Don't define.
2717 * configure: Regenerated.
2718 * config.in: Likewise.
2719
2720 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2721
2722 PR debug/83917
2723 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2724 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2725 inclusion of auto-target.h and auto-host.h.
2726 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2727 __GCC_HAVE_DWARF2_CFI_ASM.
2728 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2729 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2730 cfi_pop): Define.
2731 * config/i386/cygwin.S: Don't include auto-host.h here, just
2732 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2733 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2734 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2735 * config/i386/resms64fx.h: Add cfi_* directives.
2736 * config/i386/resms64x.h: Likewise.
2737
2738 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2739
2740 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2741 .literal_position directive.
2742 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2743
2744 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2745
2746 PR target/84148
2747 * configure: Regenerate.
2748
2749 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2750
2751 PR target/84239
2752 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2753 Include cetintrin.h not x86intrin.h.
2754
2755 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2756
2757 PR target/84239
2758 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2759 Use new _get_ssp and _inc_ssp intrinsics.
2760
2761 2018-02-02 Julia Koval <julia.koval@intel.com>
2762
2763 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2764
2765 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2766
2767 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2768 option.
2769 (__divsi3): Use RF16 safe registers.
2770 (__modsi3): Likewise.
2771
2772 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2773
2774 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2775 (__divsf3): Make NaN return value quiet.
2776 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2777 (__divdf3): Make NaN return value quiet.
2778
2779 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2780
2781 * config/rl78/anddi3.S: New assembly file.
2782 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2783
2784 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2785
2786 * config/rl78/umindi3.S: New assembly file.
2787 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2788
2789 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2790
2791 * config/rl78/smindi3.S: New assembly file.
2792 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2793
2794 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2795
2796 * config/rl78/smaxdi3.S: New assembly file.
2797 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2798
2799 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2800
2801 * config/rl78/umaxdi3.S: New assembly file.
2802 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2803
2804 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2805
2806 PR lto/83452
2807 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2808 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2809
2810 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2811
2812 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2813 (DWARF_LAZY_REGISTER_VALUE): Define.
2814 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2815 to provide a fallback register value.
2816
2817 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2818
2819 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2820 __ibm128, instead of trying to use long double.
2821 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2822 accomidate -mabi=ieeelongdouble multilibs.
2823 (CVT_IBM128_TO_FLOAT128): Likewise.
2824 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2825 the appropriate IBM extended double type.
2826 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2827 (__gcc_qsub): Likewise.
2828 (__gcc_qmul): Likewise.
2829 (__gcc_qdiv): Likewise.
2830 (pack_ldouble): Likewise.
2831 (__gcc_qneg): Likewise.
2832 (__gcc_qeq): Likewise.
2833 (__gcc_qne): Likewise.
2834 (__gcc_qge): Likewise.
2835 (__gcc_qle): Likewise.
2836 (__gcc_stoq): Likewise.
2837 (__gcc_dtoq): Likewise.
2838 (__gcc_itoq): Likewise.
2839 (__gcc_utoq): Likewise.
2840 (__gcc_qunord): Likewise.
2841 * config/rs6000/_mulkc3.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 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2846 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2847 quad-float128.h for the definitions.
2848 (COPYSIGN): Use the f128 version instead of the q version.
2849 (INFINITY): Likewise.
2850 (FABS): Likewise.
2851 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2852 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2853 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2854
2855 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2856
2857 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2858 configuration.
2859
2860 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2861
2862 Update copyright years.
2863
2864 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2865
2866 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2867 * config/riscv/multi3.c: New file.
2868 * config/riscv/multi3.S: Remove.
2869
2870 2017-12-08 Jim Wilson <jimw@sifive.com>
2871
2872 * config/riscv/div.S: Use FUNC_* macros.
2873 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2874 * config/riscv/save-restore.S: Likewise.
2875 * config/riscv/riscv-asm.h: New.
2876
2877 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2878
2879 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2880 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2881
2882 PR libgcc/83112
2883 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2884 correct type for all ifunc resolvers to silence -Wattribute-alias
2885 warnings. Eliminate the forward declaration of the resolver
2886 functions which is no longer needed.
2887 (__subkf3_resolve): Likewise.
2888 (__mulkf3_resolve): Likewise.
2889 (__divkf3_resolve): Likewise.
2890 (__negkf2_resolve): Likewise.
2891 (__eqkf2_resolve): Likewise.
2892 (__nekf2_resolve): Likewise.
2893 (__gekf2_resolve): Likewise.
2894 (__gtkf2_resolve): Likewise.
2895 (__lekf2_resolve): Likewise.
2896 (__ltkf2_resolve): Likewise.
2897 (__unordkf2_resolve): Likewise.
2898 (__extendsfkf2_resolve): Likewise.
2899 (__extenddfkf2_resolve): Likewise.
2900 (__trunckfsf2_resolve): Likewise.
2901 (__trunckfdf2_resolve): Likewise.
2902 (__fixkfsi_resolve): Likewise.
2903 (__fixkfdi_resolve): Likewise.
2904 (__fixunskfsi_resolve): Likewise.
2905 (__fixunskfdi_resolve): Likewise.
2906 (__floatsikf_resolve): Likewise.
2907 (__floatdikf_resolve): Likewise.
2908 (__floatunsikf_resolve): Likewise.
2909 (__floatundikf_resolve): Likewise.
2910 (__extendkftf2_resolve): Likewise.
2911 (__trunctfkf2_resolve): Likewise.
2912
2913 PR libgcc/83103
2914 * config/rs6000/quad-float128.h (TF): Don't define if long double
2915 is IEEE 128-bit floating point.
2916 (TCtype): Define as either TCmode or KCmode, depending on whether
2917 long double is IEEE 128-bit floating point.
2918 (__mulkc3_sw): Add declarations for software/hardware versions of
2919 complex multiply/divide.
2920 (__divkc3_sw): Likewise.
2921 (__mulkc3_hw): Likewise.
2922 (__divkc3_hw): Likewise.
2923 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2924 handlers to switch between using software emulation and hardware
2925 float128 instructions, build the complex multiply/divide functions
2926 for both software and hardware support.
2927 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2928 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2929 (__divkc3_resolve): Likewise.
2930 (__mulkc3): Likewise.
2931 (__divkc3): Likewise.
2932 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2933 (fp128_hw_src): Likewise.
2934 (fp128_hw_static_obj): Likewise.
2935 (fp128_hw_shared_obj): Likewise.
2936 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2937 _mulkc3.c and _divkc3.c, changing the function name.
2938 (_divkc3-hw.c): Likewise.
2939 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2940 and _divkc3-hw.c.
2941
2942 2017-11-26 Julia Koval <julia.koval@intel.com>
2943
2944 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2945 * config/i386/cpuinfo.h (processor_subtypes): Add
2946 INTEL_COREI7_CANNONLAKE.
2947
2948 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2949
2950 PR bootstrap/83015
2951 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2952 parameter.
2953 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2954 * config/ia64/unwind-ia64.c: Add frames parameter.
2955 * unwind-sjlj.c: Likewise.
2956
2957 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2958
2959 * config/i386/linux-unwind.h: Include
2960 config/i386/shadow-stack-unwind.h.
2961 * config/i386/shadow-stack-unwind.h: New file.
2962 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2963 pass it to _Unwind_Frames_Extra.
2964 * unwind-generic.h (_Unwind_Frames_Extra): New.
2965 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2966 parameter. Add local variable frames to count number of frames.
2967 (_Unwind_ForcedUnwind_Phase2): Likewise.
2968 (_Unwind_RaiseException): Add local variable frames to count
2969 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2970 uw_install_context.
2971 (_Unwind_ForcedUnwind): Likewise.
2972 (_Unwind_Resume): Likewise.
2973 (_Unwind_Resume_or_Rethrow): Likewise.
2974
2975 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2976
2977 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2978 (CET_FLAGS): New.
2979 * config/i386/morestack.S: Include <cet.h>.
2980 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2981 * config/i386/resms64.h: Include <cet.h>.
2982 * config/i386/resms64f.h: Likewise.
2983 * config/i386/resms64fx.h: Likewise.
2984 * config/i386/resms64x.h: Likewise.
2985 * config/i386/savms64.h: Likewise.
2986 * config/i386/savms64f.h: Likewise.
2987 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2988 (CRTSTUFF_T_CFLAGS): Likewise.
2989 * configure.ac: Include ../config/cet.m4.
2990 Set and substitute CET_FLAGS.
2991 * configure: Regenerated.
2992
2993 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2994
2995 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2996 renaming.
2997 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2998 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2999 * configure: Regenerate.
3000
3001 2017-11-07 Tom de Vries <tom@codesourcery.com>
3002
3003 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3004 after "do {} while (0)".
3005
3006 2017-11-07 Tom de Vries <tom@codesourcery.com>
3007
3008 PR other/82784
3009 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3010 semicolon after "do {} while (0)".
3011 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3012 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3013 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3014 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3015
3016 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3017
3018 PR libgcc/82635
3019 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3020 sysctl to determine whether we're in a trampoline.
3021 Keep the pattern matching method for systems without
3022 KERN_PROC_SIGTRAMP sysctl.
3023
3024 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3025 Vineet Gupta <vgupta@synopsys.com>
3026
3027 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3028 * config/arc/linux-unwind-reg.def: New file.
3029 * config/arc/linux-unwind-reg.h: Likewise.
3030
3031 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3032
3033 * config/rl78/subdi3.S: New assembly file.
3034 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3035
3036 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3037
3038 * config/rl78/adddi3.S: New assembly file.
3039 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3040
3041 2017-10-13 Jakub Jelinek <jakub@redhat.com>
3042
3043 PR target/82274
3044 * libgcc2.c (__mulvDI3): If both operands have
3045 the same highpart of -1 and the topmost bit of lowpart is 0,
3046 multiplication overflows even if both lowparts are 0.
3047
3048 2017-09-28 James Bowman <james.bowman@ftdichip.com>
3049
3050 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3051
3052 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3053
3054 * config/microblaze/crti.S, config/microblaze/crtn.S,
3055 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3056 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3057 config/microblaze/mulsi3.S,
3058 config/microblaze/stack_overflow_exit.S,
3059 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3060 config/pa/milli64.S: Add .note.GNU-stack section.
3061
3062 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
3063
3064 * configure.ac: Add Check for HAVE_AS_AVX.
3065 * config.in: Regenerate.
3066 * configure: Likewise.
3067 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3068 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3069 Correct out-of-date comments.
3070
3071 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3072
3073 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3074 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3075
3076 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
3077
3078 * config/i386/i386-asm.h (PASTE2): New macro.
3079 (ASMNAME): Modify to use PASTE2.
3080 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3081 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3082 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3083 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3084 * config/i386/resms64f.S: Likewise.
3085 * config/i386/resms64fx.S: Likewise.
3086 * config/i386/resms64x.S: Likewise.
3087 * config/i386/savms64.S: Likewise.
3088 * config/i386/savms64f.S: Likewise.
3089 * config/i386/avx_resms64.S: New file that only defines a macro and
3090 includes it's corresponding header file.
3091 * config/i386/avx_resms64f.S: Likewise.
3092 * config/i386/avx_resms64fx.S: Likewise.
3093 * config/i386/avx_resms64x.S: Likewise.
3094 * config/i386/avx_savms64.S: Likewise.
3095 * config/i386/avx_savms64f.S: Likewise.
3096 * config/i386/sse_resms64.S: Likewise.
3097 * config/i386/sse_resms64f.S: Likewise.
3098 * config/i386/sse_resms64fx.S: Likewise.
3099 * config/i386/sse_resms64x.S: Likewise.
3100 * config/i386/sse_savms64.S: Likewise.
3101 * config/i386/sse_savms64f.S: Likewise.
3102 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3103
3104 2017-09-01 Olivier Hainque <hainque@adacore.com>
3105 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3106
3107 2017-08-31 Olivier Hainque <hainque@adacore.com>
3108
3109 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3110 match as powerpc-wrs-vxworks*.
3111
3112 2017-08-07 Jonathan Yong <10walls@gmail.com>
3113
3114 * config.host (*-cygwin): Include file from mingw
3115 config/i386/enable-execute-stack-mingw32.c
3116
3117 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
3118 Doug Rupp <rupp@adacore.com>
3119 Olivier Hainque <hainque@adacore.com>
3120
3121 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3122 as well as arm-wrs-vxworks.
3123 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3124 LIB2ADDEH.
3125 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3126 __exidx_start and __exidx_end for downloadable modules.
3127
3128 2017-08-01 Olivier Hainque <hainque@adacore.com>
3129
3130 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3131 * config/t-vxworks7: Likewise.
3132
3133 2017-08-01 Olivier Hainque <hainque@adacore.com>
3134
3135 * config/t-vxworks: Instead of redefining LIB2ADD,
3136 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3137
3138 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3139
3140 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3141
3142 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
3143
3144 PR testsuite/80759
3145 * config.host: include i386/t-msabi for darwin and solaris.
3146 * config/i386/i386-asm.h
3147 (ELFFN): Rename to FN_TYPE.
3148 (FN_SIZE): New macro.
3149 (FN_HIDDEN): Likewise.
3150 (ASMNAME): Likewise.
3151 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3152 .globl.
3153 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3154 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3155 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3156 .macro.
3157 * config/i386/resms64f.S: Likewise.
3158 * config/i386/resms64fx.S: Likewise.
3159 * config/i386/resms64x.S: Likewise.
3160 * config/i386/savms64.S: Likewise.
3161 * config/i386/savms64f.S: Likewise.
3162
3163 2017-07-19 John Marino <gnugcc@marino.st>
3164
3165 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3166
3167 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3168
3169 PR target/81193
3170 * configure.ac (PowerPC float128 hardware support): Test whether
3171 we can use __builtin_cpu_supports before enabling the ifunc
3172 handler.
3173 * configure: Regenerate.
3174
3175 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
3176
3177 * config.host: Remove uclibc from arc target spec.
3178
3179 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3180
3181 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3182
3183 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3184
3185 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3186 (have_ieee_hw_p): Delete function.
3187 (SW_OR_HW) Use __builtin_cpu_supports().
3188
3189 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3190
3191 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3192
3193 2017-07-03 Olivier Hainque <hainque@adacore.com>
3194
3195 * config/t-vxworks7: New file, really.
3196
3197 2017-06-28 Joseph Myers <joseph@codesourcery.com>
3198
3199 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3200 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3201 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3202 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3203 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3204 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3205 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3206 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3207 config/sh/linux-unwind.h (sh_fallback_frame_state),
3208 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3209 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3210 ucontext_t instead of struct ucontext.
3211
3212 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
3213
3214 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3215 (x86_64-wrs-vxworks7): Likewise.
3216
3217 2017-06-27 Olivier Hainque <hainque@adacore.com>
3218
3219 * config/t-vxworks7: New file.
3220 * config.host (*-*-vxworks7): Use it.
3221
3222 2017-06-22 Matt Turner <mattst88@gmail.com>
3223
3224 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3225 skylake case.
3226
3227 2017-06-21 Richard Biener <rguenther@suse.de>
3228
3229 PR gcov-profile/81080
3230 * configure.ac: Add AC_SYS_LARGEFILE.
3231 * libgcov.h: Include auto-target.h before tsystem.h to pick
3232 up _FILE_OFFSET_BITS which might differ for multilibs.
3233 * config.in: Regenerate.
3234 * configure: Likewise.
3235
3236 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
3237
3238 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3239
3240 2017-06-09 Martin Liska <mliska@suse.cz>
3241
3242 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3243 Reset __gcov_indirect_call_callee to NULL.
3244
3245 2017-06-08 Olivier Hainque <hainque@adacore.com>
3246
3247 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3248 the set of -I options, support for direct inclusions of net/uio.h
3249 by VxWorks header files via ioLib.h.
3250
3251 2017-06-07 Tony Reix <tony.reix@atos.net>
3252 Matthieu Sarter <matthieu.sarter.external@atos.net>
3253 David Edelsohn <dje.gcc@gmail.com>
3254
3255 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3256 unconditionally.
3257 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3258 AIX 7.2 support.
3259
3260 2017-06-02 Olivier Hainque <hainque@adacore.com>
3261
3262 * config/vxlib.c (__gthread_once): Add missing value to
3263 return statement.
3264
3265 2017-05-30 Olivier Hainque <hainque@adacore.com>
3266
3267 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3268 dollar sign before $(MULTIDIR).
3269
3270 2017-05-26 Richard Henderson <rth@redhat.com>
3271
3272 PR libgcc/80037
3273 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3274
3275 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3276
3277 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3278 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3279 * config/arm/unwind-arm.c: Implement the above.
3280
3281 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3282
3283 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3284 section for a non-executable stack.
3285
3286 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3287
3288 PR target/80600
3289 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3290
3291 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
3292
3293 * config.host: Add i386/t-msabi to i386/t-linux file list.
3294 * config/i386/i386-asm.h: New file.
3295 * config/i386/resms64.S: New file.
3296 * config/i386/resms64f.S: New file.
3297 * config/i386/resms64fx.S: New file.
3298 * config/i386/resms64x.S: New file.
3299 * config/i386/savms64.S: New file.
3300 * config/i386/savms64f.S: New file.
3301 * config/i386/t-msabi: New file.
3302
3303 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3304
3305 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3306 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3307
3308 2017-05-05 Joshua Conner <joshconner@google.com>
3309
3310 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3311 pc-relative indirect handling for fuchsia.
3312 * config/t-slibgcc-fuchsia: New file.
3313 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3314 x86_64-*-fuchsia*): Add definitions.
3315
3316 2017-04-19 Martin Liska <mliska@suse.cz>
3317
3318 PR gcov-profile/80435
3319 * Makefile.in: Install gcov.h.
3320 * gcov.h: New file.
3321 * libgcov.h: Use the header and make __gcov_flush publicly
3322 visible.
3323
3324 2017-04-18 Martin Liska <mliska@suse.cz>
3325
3326 PR gcov-profile/78783
3327 * libgcov-driver.c (gcov_get_filename): New function.
3328
3329 2017-04-07 Jeff Law <law@redhat.com>
3330
3331 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3332 target makefile fragment.
3333 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3334
3335 2017-04-07 Alan Modra <amodra@gmail.com>
3336
3337 PR target/45053
3338 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3339
3340 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
3341
3342 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3343
3344 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3345
3346 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3347
3348 2017-03-10 John Marino <gnugcc@marino.st>
3349
3350 * config/aarch64/freebsd-unwind.h: New file.
3351 * config.host: Add aarch64-*-freebsd unwinder.
3352
3353 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3354
3355 * config/rs6000/crtrestvr.s: Use .machine altivec.
3356 * config/rs6000/crtsavevr.s: Ditto.
3357
3358 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3359
3360 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3361 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3362 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3363 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3364 * configure: Regenerate.
3365 * config.in: Regenerate.
3366
3367 2017-03-02 Jonathan Yong <10walls@gmail.com>
3368
3369 * config/i386/gthr-win32.h: Define NOGDI before
3370 windows.h include to prevent w32api CC_NONE macro
3371 clash with libgfortran.
3372
3373 2017-03-02 Jonathan Yong <10walls@gmail.com>
3374
3375 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3376
3377 2017-02-16 Andrew Pinski <apinski@cavium.com>
3378
3379 * config/aarch64/value-unwind.h: New file.
3380 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3381 to tm_file.
3382
3383 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3384
3385 * config.host: Add RISC-V tuples.
3386 * config/riscv/atomic.c: New file.
3387 * config/riscv/crti.S: Likewise.
3388 * config/riscv/crtn.S: Likewise.
3389 * config/riscv/div.S: Likewise.
3390 * config/riscv/linux-unwind.h: Likewise.
3391 * config/riscv/muldi3.S: Likewise.
3392 * config/riscv/multi3.S: Likewise.
3393 * config/riscv/save-restore.S: Likewise.
3394 * config/riscv/sfp-machine.h: Likewise.
3395 * config/riscv/t-elf: Likewise.
3396 * config/riscv/t-elf32: Likewise.
3397 * config/riscv/t-elf64: Likewise.
3398 * config/riscv/t-softfp32: Likewise.
3399 * config/riscv/t-softfp64: Likewise.
3400
3401 2017-01-24 Jakub Jelinek <jakub@redhat.com>
3402
3403 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3404 /* FALLTHRU */ comments.
3405
3406 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3407
3408 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3409
3410 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3411
3412 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3413 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3414 DW_CFA_GNU_window_save for AArch64 and LP64.
3415
3416 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3417
3418 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3419
3420 2017-01-19 Jiong Wang <jiong.wang@arm.com>
3421
3422 * config/aarch64/aarch64-unwind.h: New file.
3423 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3424 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3425 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3426 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3427 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3428 (aarch64_post_extract_frame_addr): New function.
3429 (aarch64_post_frob_eh_handler_addr): New function.
3430 (aarch64_frob_update_context): New function.
3431 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3432 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3433 aarch64*-*-freebsd*):
3434 Initialize md_unwind_header to include aarch64-unwind.h.
3435 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3436 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3437 __aarch64__.
3438 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3439 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3440 (uw_frob_return_addr): New function.
3441 (uw_install_context): Use uw_frob_return_addr.
3442
3443 2017-01-17 Jakub Jelinek <jakub@redhat.com>
3444
3445 PR other/79046
3446 * configure.ac: Add GCC_BASE_VER.
3447 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3448 version from BASE-VER file.
3449 * configure: Regenerated.
3450
3451 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
3452
3453 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3454 libmul_f5.a): Filter archived prerequisites.
3455
3456 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3457
3458 * config/i386/cpuinfo.h (processor_features): Add
3459 FEATURE_AVX512VPOPCNTDQ.
3460 * config/i386/cpuinfo.c (get_available_features): Habdle new
3461 feature.
3462
3463 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3464
3465 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3466 payload if [__mips_nan2008].
3467
3468 2017-01-04 Alan Modra <amodra@gmail.com>
3469
3470 * Makefile.in (configure_deps): Update.
3471 * configure: Regenerate.
3472
3473 2017-01-01 Jakub Jelinek <jakub@redhat.com>
3474
3475 Update copyright years.
3476
3477 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3478
3479 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3480 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3481 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3482
3483 2016-12-17 Matthias Klose <doko@ubuntu.com>
3484
3485 * config/arc/gmon: Remove empty directory.
3486
3487 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3488
3489 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3490 crtgend.
3491 (arc*-*-elf*): Likewise.
3492 * config/arc/t-arc: Remove old gmon lib targets.
3493 * config/arc/crtg.S: Remove.
3494 * config/arc/crtgend.S: Likewise.
3495 * config/arc/gmon/atomic.h: Likewise.
3496 * config/arc/gmon/auxreg.h: Likewise.
3497 * config/arc/gmon/dcache_linesz.S: Likewise.
3498 * config/arc/gmon/gmon.c: Likewise.
3499 * config/arc/gmon/machine-gmon.h: Likewise.
3500 * config/arc/gmon/mcount.c: Likewise.
3501 * config/arc/gmon/prof-freq-stub.S: Likewise.
3502 * config/arc/gmon/prof-freq.c: Likewise.
3503 * config/arc/gmon/profil.S: Likewise.
3504 * config/arc/gmon/sys/gmon.h: Likewise.
3505 * config/arc/gmon/sys/gmon_out.h: Likewise.
3506 * config/arc/t-arc-newlib: Likewise.
3507 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3508
3509 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3510
3511 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3512
3513 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3514
3515 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3516 R16 instead of push + pop.
3517 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3518
3519 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3520
3521 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3522 tmake_file.
3523
3524 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3525
3526 * config.host (arc*-*-linux-uclibc*): Use default extra
3527 objects. Include linux-android header.
3528 * config/arc/crti.S (_init): Declare symbol as function.
3529 (_fini): Likewise.
3530
3531 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3532
3533 PR fortran/78379
3534 * config/i386/cpuinfo.c: Move denums for processor vendors,
3535 processor type, processor subtypes and declaration of
3536 struct __processor_model into
3537 * config/i386/cpuinfo.h: New header file.
3538
3539 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3540 Thomas Preud'homme <thomas.preudhomme@arm.com>
3541
3542 * config/arm/cmse_nonsecure_call.S: New.
3543 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3544
3545 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3546 Thomas Preud'homme <thomas.preudhomme@arm.com>
3547
3548 * config/arm/t-arm (HAVE_CMSE): New.
3549 * config/arm/cmse.c: New.
3550
3551 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3552
3553 PR gcc/74748
3554 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3555 use generic linker version information on Blackfin.
3556
3557 PR gcc/74748
3558 * libgcc/mkmap-symver.awk: add support for skip_underscore
3559
3560 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3561 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3562
3563 PR target/67710
3564 * config/t-darwin: Default builds to 10.5 codegen.
3565
3566 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3567
3568 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3569 (_FP_NANSIGN_H): Likewise.
3570 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3571 (softfp_truncations): Add tfhf.
3572 (softfp_extras): Add required conversion functions.
3573
3574 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3575 Matthew Wahab <matthew.wahab@arm.com>
3576
3577 * config/arm/fp16.c (binary64): New.
3578 (__gnu_d2h_internal): New.
3579 (__gnu_d2h_ieee): New.
3580 (__gnu_d2h_alternative): New.
3581
3582 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3583 Matthew Wahab <matthew.wahab@arm.com>
3584
3585 * config/arm/fp16.c (struct format): New.
3586 (binary32): New.
3587 (__gnu_float2h_internal): New. Body moved from
3588 __gnu_f2h_internal and generalize.
3589 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3590 Call it with binary32.
3591
3592 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3593
3594 * soft-fp/extendhftf2.c: Update from glibc.
3595 * soft-fp/fixhfti.c: Likewise.
3596 * soft-fp/fixunshfti.c: Likewise.
3597 * soft-fp/floattihf.c: Likewise.
3598 * soft-fp/floatuntihf.c: Likewise.
3599 * soft-fp/half.h: Likewise.
3600 * soft-fp/trunctfhf2.c: Likewise.
3601
3602 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3603
3604 PR libgcc/77813
3605 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3606 __TMC_END__ behind a passthrough asm.
3607
3608 2016-11-18 Walter Lee <walt@tilera.com>
3609
3610 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3611
3612 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3613
3614 * config/i386/cpuinfo.c (processor_features): Add
3615 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3616
3617 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3618
3619 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3620 (__ARC_NORM__): Use instead ARC_OPTFPE.
3621 * config/arc/fp-hack.h: Likewise.
3622 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3623 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3624
3625 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3626
3627 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3628 * config/nvptx/mgomp.c: New file.
3629 * config/nvptx/t-nvptx: Add mgomp.c
3630
3631 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3632
3633 PR libgcc/68468
3634 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3635
3636 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3637
3638 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3639 of checking for cpus.
3640 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3641 (__modsi3, __clzsi2): Likewise.
3642
3643 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3644
3645 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3646 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3647 * config/i386/t-cpuinfo-static: New.
3648
3649 2016-11-03 Martin Liska <mliska@suse.cz>
3650
3651 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3652 (__gcov_time_profiler_atomic): Likewise.
3653
3654 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3655
3656 PR libgcc/78067
3657 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3658 count_leading_zeros.
3659
3660 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3661
3662 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3663 * libgcc2.c (__divmoddi4): New function.
3664 * libgcc2.h (__divmoddi4): Declare.
3665 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3666 and __PFX_divmodti4.
3667
3668 2016-10-24 Florian Weimer <fweimer@redhat.com>
3669
3670 PR libgcc/78064
3671 * unwind-c.c: Include auto-target.h.
3672
3673 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3674
3675 * config/pa/pa64-hpux-lib.h: New file.
3676 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3677 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3678 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3679 hppa*64*-*-hpux11*.
3680
3681 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3682
3683 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3684 definition.
3685 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3686 definition.
3687 * config/xtensa/t-windowed (LIB2ADDEH): Use
3688 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3689 or xtensa/t-linux.
3690
3691 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3692
3693 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3694 __ieee754_sqrt): New functions.
3695 (__divdf3): Add implementation with new FPU instructions under
3696 #if XCHAL_HAVE_DFP_DIV.
3697 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3698 __ieee754_sqrtf): New functions.
3699 (__divsf3): Add implementation with new FPU instructions under
3700 #if XCHAL_HAVE_FP_DIV.
3701 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3702 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3703
3704 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3705
3706 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3707 equivalent.
3708 * config/tilepro/atomic.c: Likewise and stop casting model to
3709 enum memmodel.
3710
3711 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3712
3713 PR target/77586
3714 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3715 soft-fp.
3716
3717 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3718
3719 * config.host: Add support for aarch64-*-freebsd*.
3720
3721 2016-10-05 Andreas Schwab <schwab@suse.de>
3722
3723 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3724 (.section .init_array): Don't call __do_jv_register_classes.
3725 (.section .init): Likewise.
3726
3727 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3728
3729 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3730 (__JCR_LIST__): Remove.
3731 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3732 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3733 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3734 * config/ia64/crtend.S (__JCR_END__): Remove.
3735 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3736 conditionals.
3737 (__JCR_LIST__, __JCR_END__): Remove.
3738 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3739 (__do_global_ctors_1): Likewise.
3740
3741 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3742
3743 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3744 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3745
3746 2016-09-27 Martin Liska <mliska@suse.cz>
3747
3748 PR gcov-profile/7970
3749 PR gcov-profile/16855
3750 PR gcov-profile/44779
3751 * libgcov-driver.c (__gcov_init): Do not register a atexit
3752 handler.
3753 (__gcov_exit): Rename from gcov_exit.
3754 * libgcov.h (__gcov_exit): Declare.
3755
3756 2016-09-27 Martin Liska <mliska@suse.cz>
3757
3758 PR bootstrap/77749
3759 * Makefile.in: Remove _gcov_merge_delta.
3760 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3761 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3762 * libgcov.h: Remove declaration of __gcov_merge_delta.
3763
3764 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3765
3766 * configure.ac: Do not create links, only substitute the filenames.
3767 * configure: Regenerate.
3768 * Makefile.in: Assign the substitution results to variables.
3769 (LIBGCC_LINKS): Define.
3770 (enable-execute-stack.c): New rule.
3771 (unwind.h): Likewise.
3772 (md-unwind-support.h): Likewise.
3773 (sfp-machine.h): Likewise.
3774 (gthr-default.h): Likewise.
3775 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3776 unwind.h as prerequisite of install-unwind_h-forbuild.
3777
3778 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3779
3780 PR libgcc/71744
3781 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3782 is not the primary registry and atomics are available.
3783 (any_objects_registered): New variable.
3784 (__register_frame_info_bases, __register_frame_info_table_bases):
3785 Atomically store 1 to any_objects_registered after registering first
3786 unwind info.
3787 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3788
3789 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3790
3791 PR target/63250
3792 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3793 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3794 (HFtype): Likewise.
3795 (HCtype): Likewise.
3796 (__divhc3): Likewise.
3797 (__mulhc3): Likewise.
3798 * libgcc2.c: Support _mulhc3 and _divhc3.
3799
3800 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3801
3802 PR libgcc/77519
3803 * libgcc2.c (NOTRUNC): Invert settings.
3804
3805 2016-09-06 Martin Liska <mliska@suse.cz>
3806
3807 PR gcov-profile/77378
3808 PR gcov-profile/77466
3809 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3810 conditionaly enable/disable *_atomic functions.
3811
3812 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3813
3814 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3815 where not already enabled.
3816
3817 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3818
3819 * config/mips/linux-unwind.h: Use sys/syscall.h.
3820
3821 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3822
3823 PR libgcc/77265
3824 * soft-fp/adddf3.c: Update from glibc.
3825 * soft-fp/addsf3.c: Likewise.
3826 * soft-fp/addtf3.c: Likewise.
3827 * soft-fp/divdf3.c: Likewise.
3828 * soft-fp/divsf3.c: Likewise.
3829 * soft-fp/divtf3.c: Likewise.
3830 * soft-fp/double.h: Likewise.
3831 * soft-fp/eqdf2.c: Likewise.
3832 * soft-fp/eqsf2.c: Likewise.
3833 * soft-fp/eqtf2.c: Likewise.
3834 * soft-fp/extenddftf2.c: Likewise.
3835 * soft-fp/extended.h: Likewise.
3836 * soft-fp/extendsfdf2.c: Likewise.
3837 * soft-fp/extendsftf2.c: Likewise.
3838 * soft-fp/extendxftf2.c: Likewise.
3839 * soft-fp/fixdfdi.c: Likewise.
3840 * soft-fp/fixdfsi.c: Likewise.
3841 * soft-fp/fixdfti.c: Likewise.
3842 * soft-fp/fixsfdi.c: Likewise.
3843 * soft-fp/fixsfsi.c: Likewise.
3844 * soft-fp/fixsfti.c: Likewise.
3845 * soft-fp/fixtfdi.c: Likewise.
3846 * soft-fp/fixtfsi.c: Likewise.
3847 * soft-fp/fixtfti.c: Likewise.
3848 * soft-fp/fixunsdfdi.c: Likewise.
3849 * soft-fp/fixunsdfsi.c: Likewise.
3850 * soft-fp/fixunsdfti.c: Likewise.
3851 * soft-fp/fixunssfdi.c: Likewise.
3852 * soft-fp/fixunssfsi.c: Likewise.
3853 * soft-fp/fixunssfti.c: Likewise.
3854 * soft-fp/fixunstfdi.c: Likewise.
3855 * soft-fp/fixunstfsi.c: Likewise.
3856 * soft-fp/fixunstfti.c: Likewise.
3857 * soft-fp/floatdidf.c: Likewise.
3858 * soft-fp/floatdisf.c: Likewise.
3859 * soft-fp/floatditf.c: Likewise.
3860 * soft-fp/floatsidf.c: Likewise.
3861 * soft-fp/floatsisf.c: Likewise.
3862 * soft-fp/floatsitf.c: Likewise.
3863 * soft-fp/floattidf.c: Likewise.
3864 * soft-fp/floattisf.c: Likewise.
3865 * soft-fp/floattitf.c: Likewise.
3866 * soft-fp/floatundidf.c: Likewise.
3867 * soft-fp/floatundisf.c: Likewise.
3868 * soft-fp/floatunditf.c: Likewise.
3869 * soft-fp/floatunsidf.c: Likewise.
3870 * soft-fp/floatunsisf.c: Likewise.
3871 * soft-fp/floatunsitf.c: Likewise.
3872 * soft-fp/floatuntidf.c: Likewise.
3873 * soft-fp/floatuntisf.c: Likewise.
3874 * soft-fp/floatuntitf.c: Likewise.
3875 * soft-fp/gedf2.c: Likewise.
3876 * soft-fp/gesf2.c: Likewise.
3877 * soft-fp/getf2.c: Likewise.
3878 * soft-fp/ledf2.c: Likewise.
3879 * soft-fp/lesf2.c: Likewise.
3880 * soft-fp/letf2.c: Likewise.
3881 * soft-fp/muldf3.c: Likewise.
3882 * soft-fp/mulsf3.c: Likewise.
3883 * soft-fp/multf3.c: Likewise.
3884 * soft-fp/negdf2.c: Likewise.
3885 * soft-fp/negsf2.c: Likewise.
3886 * soft-fp/negtf2.c: Likewise.
3887 * soft-fp/op-1.h: Likewise.
3888 * soft-fp/op-2.h: Likewise.
3889 * soft-fp/op-4.h: Likewise.
3890 * soft-fp/op-8.h: Likewise.
3891 * soft-fp/op-common.h: Likewise.
3892 * soft-fp/quad.h: Likewise.
3893 * soft-fp/single.h: Likewise.
3894 * soft-fp/soft-fp.h: Likewise.
3895 * soft-fp/subdf3.c: Likewise.
3896 * soft-fp/subsf3.c: Likewise.
3897 * soft-fp/subtf3.c: Likewise.
3898 * soft-fp/truncdfsf2.c: Likewise.
3899 * soft-fp/trunctfdf2.c: Likewise.
3900 * soft-fp/trunctfsf2.c: Likewise.
3901 * soft-fp/trunctfxf2.c: Likewise.
3902 * soft-fp/unorddf2.c: Likewise.
3903 * soft-fp/unordsf2.c: Likewise.
3904 * soft-fp/unordtf2.c: Likewise.
3905
3906 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3907
3908 PR gcov-profile/67097
3909 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3910
3911 2016-08-10 Martin Liska <mliska@suse.cz>
3912
3913 PR gcov-profile/58306
3914 * Makefile.in: New functions (modules) are added.
3915 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3916 function.
3917 (__gcov_pow2_profiler_atomic): New function.
3918 (__gcov_one_value_profiler_body): New argument is instroduced.
3919 (__gcov_one_value_profiler): Call with the new argument.
3920 (__gcov_one_value_profiler_atomic): Likewise.
3921 (__gcov_indirect_call_profiler_v2): Likewise.
3922 (__gcov_time_profiler_atomic): New function.
3923 (__gcov_average_profiler_atomic): Likewise.
3924 (__gcov_ior_profiler_atomic): Likewise.
3925 * libgcov.h: Declare the aforementioned functions.
3926
3927 2016-08-09 Martin Liska <mliska@suse.cz>
3928
3929 * libgcov-util.c: Fix typo and GNU coding style.
3930
3931 2016-08-09 Martin Liska <mliska@suse.cz>
3932
3933 * Makefile.in: Remove __gcov_indirect_call_profiler.
3934 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3935 function.
3936 * libgcov.h: And the declaration of the function.
3937
3938 2016-08-09 Martin Liska <mliska@suse.cz>
3939
3940 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3941 power of two.
3942
3943 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3944
3945 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3946 * config/rs6000/_mulkc3.c: Likewise.
3947
3948 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3949
3950 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3951 zero_reg as previous call to __umulhisi3 already cleared it.
3952
3953 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3954
3955 PR target/59833
3956 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3957
3958 2016-07-19 Nick Clifton <nickc@redhat.com>
3959
3960 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3961 Add crtinit.o and crtfini.o to extra_parts.
3962
3963 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3964
3965 * config/rs6000/_divkc3.c: New.
3966 * config/rs6000/_mulkc3.c: New.
3967 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3968 and _divkc3.
3969 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3970 fp128_ppc_funcs.
3971
3972 2016-07-11 Hale Wang <hale.wang@arm.com>
3973 Andre Vieira <andre.simoesdiasvieira@arm.com>
3974
3975 * config/arm/lib1funcs.S: Add new wrapper.
3976
3977 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3978
3979 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3980
3981 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3982
3983 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3984 and ARMv5t* rather than for a fixed list of architectures.
3985
3986 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3987
3988 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3989 implementation suitable for.
3990 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3991 for all Thumb-1 only targets.
3992 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3993 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3994 __ARM_ARCH_6M__.
3995 (EQUIV): Likewise.
3996 (ARM_FUNC_ALIAS): Likewise.
3997 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3998 version.
3999 (modsi3): Likewise.
4000 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4001 (clzdi2): Likewise.
4002 (ctzsi2): Likewise.
4003 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4004 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4005 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4006 __ARM_ARCH_6M__ and add comment to indicate the connection between
4007 this condition and the one in gcc/config/arm/elf.h.
4008 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4009 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4010 * config/arm/t-softfp: Likewise.
4011
4012 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4013
4014 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4015 CTOR_LISTS_DEFINED_EXTERNALLY.
4016
4017 2016-06-28 Walter Lee <walt@tilera.com>
4018
4019 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4020 asm/unistd.h.
4021 (SPR_CMPEXCH_VALUE): Define for tilegx.
4022 (__NR_FAST_cmpxchg): Define for tilepro.
4023 (__NR_FAST_atomic_update): Define for tilepro.
4024 (__NR_FAST_cmpxchg64): Define for tilepro.
4025
4026 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4027
4028 * config.host: Add suport for arm*-*-phoenix* targets.
4029
4030 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4031
4032 * config.host: Remove support for mep-*.
4033 * config/mep/lib1funcs.S: Remove.
4034 * config/mep/lib2funcs.c: Remove.
4035 * config/mep/t-mep: Remove.
4036 * config/mep/tramp.c: Remove.
4037
4038 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4039
4040 * config.host: Remove support for avr-rtems.
4041 * config/avr/t-rtems: Remove.
4042
4043 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4044
4045 * config.host: Remove m32r-rtems support.
4046
4047 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4048
4049 * config.host: Remove h8300-rtems support.
4050
4051 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4052
4053 * config.host: Remove support for knetbsd.
4054
4055 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4056
4057 * config.host: Remove support for openbsd 2 and 3.
4058
4059 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4060
4061 * config.host: Remove interix support.
4062 * config/i386/t-interix: Remove.
4063
4064 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
4065
4066 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4067 least-significant bit in function pointer for fixup.
4068
4069 2016-06-05 Aaron Conole <aconole@redhat.com>
4070 Nathan Sidwell <nathan@acm.org>
4071
4072 PR libgcc/71400
4073 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4074 (get_gcov_error_file): Check __gcov_error_file before trying to
4075 initialize it.
4076 (gcov_error): Always use get_gcov_error_file.
4077
4078 2016-06-02 Aaron Conole <aconole@redhat.com>
4079
4080 * libgcov-driver-system.c (__gcov_error_file): New.
4081 (get_gcov_error_file): New.
4082 (gcov_error): Use and set __gcov_error_file.
4083 (gcov_error_exit): New.
4084 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4085
4086 2016-05-26 Nathan Sidwell <nathan@acm.org>
4087
4088 * config/nvptx/free.asm: Delete.
4089 * config/nvptx/malloc.asm: Delete.
4090 * config/nvptx/realloc.c: Delete.
4091 * t-nvptx: Update.
4092
4093 2016-05-25 Nathan Sidwell <nathan@acm.org>
4094
4095 * config/nvptx/crt0.s: Delete.
4096 * config/nvptx/crt0.c: New.
4097 * t-nvptx: Update.
4098
4099 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4100
4101 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4102 dw2/seh configuration.
4103 [x86_64-*-mingw*]: Likewise.
4104
4105 2016-05-10 Joel Sherrill <joel@rtems.org>
4106
4107 PR libgcc/70720
4108 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4109 targets so the same extra_parts are built. Also have tmake_file add
4110 on to its value rather than override.
4111
4112 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4113
4114 * config.host: Remove SH5 support.
4115 * configure: Likewise.
4116
4117 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4118
4119 * config/sh/crt1.S: Remove SH5 support.
4120 * config/sh/crti.S: Likewise.
4121 * config/sh/crtn.S: Likewise.
4122 * config/sh/lib1funcs-4-300.S: Likewise.
4123 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4124 * config/sh/lib1funcs.S: Likewise.
4125 * config/sh/linux-unwind.h: Likewise.
4126 * config/sh/t-sh64: Delete.
4127
4128 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4129
4130 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4131
4132 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4133 Joern Rennecke <joern.rennecke@embecosm.com>
4134
4135 * config/arc/crttls.S: New file.
4136 * config/arc/t-arc: New rule.
4137 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4138
4139 2016-04-25 Nick Clifton <nickc@redhat.com>
4140
4141 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4142 (__mspabi_cmpd): Likewise.
4143 * config/msp430/floathidf.c (__floathidf): Likewise.
4144 * config/msp430/floathisf.c (__floathisf): Likewise
4145 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4146 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4147 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4148 second parameter.
4149 (__ashrsi3): Likewise.
4150
4151 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4152
4153 * config/m68k/linux-atomic.c: Do not include unistd.h
4154
4155 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4156
4157 * config/arm/ieee754-df.S: Fix typos in comments.
4158
4159 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4160
4161 PR target/70381
4162 * configure.ac (powerpc*-*-linux*): Rework tests to build
4163 __float128 emulation routines to not depend on using #pragma GCC
4164 target to enable -mfloat128.
4165 * configure: Regnerate.
4166
4167 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4168
4169 PR target/67172
4170 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4171 __MINGW32__ is defined.
4172
4173 2016-03-28 James Bowman <james.bowman@ftdichip.com>
4174
4175 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4176
4177 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4178
4179 PR libgcc/70363
4180 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4181 built with an assembler that does not support ISA 3.0
4182 instructions, rename __extendkftf2_sw to __extendkftf2.
4183
4184 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4185
4186 PR target/38239
4187 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4188 call-clobbered registers.
4189 (internal_mcount): Remove __i386__ handling.
4190
4191 2016-02-26 Joel Sherrill <joel@rtems.org>
4192
4193 * config.host: Add x86_64-*-rtems*.
4194
4195 2016-02-26 Joel Sherrill <joel@rtems.org>
4196
4197 * libgcc/config.host: Add aarch64-*-rtems*.
4198
4199 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4200 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4201
4202 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4203 union of u64 and double.
4204 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4205 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4206 value.
4207 (FP_ROUNDMODE): Update the usage of _fpscr.
4208
4209 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4210
4211 PR driver/68463
4212 * Makefile.in (crtoffloadtable$(objext)): New rule.
4213 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4214 enable_offload_targets is not empty.
4215 * configure: Regenerate.
4216 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4217 crtoffloadtable.
4218
4219 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4220
4221 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4222 .literal_position before the function.
4223 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4224 Likewise.
4225
4226 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4227
4228 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4229 * config/s390/morestack.S: New file.
4230 * config/s390/t-stack-s390: New file.
4231 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4232
4233 2016-02-12 Walter Lee <walt@tilera.com>
4234
4235 * config.host (tilegx*-*-linux*): remove ti from
4236 softfp_int_modes for 32-bit configs.
4237
4238 2016-02-10 Ian Lance Taylor <iant@google.com>
4239
4240 PR go/68562
4241 * config/i386/morestack.S (__stack_split_initialize): Align
4242 stack.
4243
4244 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4245
4246 PR bootstrap/69611
4247 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4248 __FLOAT128__ to compile only for __float128 capable targets.
4249
4250 2016-01-25 Jakub Jelinek <jakub@redhat.com>
4251
4252 PR target/69444
4253 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4254 instead of ___NO_FPRS__.
4255
4256 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
4257 Steven Munroe <munroesj@linux.vnet.ibm.com>
4258 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4259
4260 * config/rs6000/float128-sed: New files to convert TF names to KF
4261 names for PowerPC IEEE 128-bit floating point support.
4262 * config/rs6000/float128-sed-hw: Likewise.
4263
4264 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4265 floating point hardware support.
4266
4267 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4268 128-bit floating point software emulation or use ISA 3.0 hardware
4269 support if it is available.
4270
4271 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4272 floating point.
4273
4274 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4275 floating point to IBM extended double.
4276
4277 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4278 double to IEEE 128-bit floating point.
4279
4280 * config/rs6000/t-float128: New Makefile fragments to enable
4281 building __float128 emulation support.
4282 * config/rs6000/t-float128-hw: Likewise.
4283
4284 * config/rs6000/sfp-exceptions.c: New file to provide exception
4285 support for IEEE 128-bit floating point.
4286
4287 * config/rs6000/floattikf.c: New files for converting between IEEE
4288 128-bit floating point and signed/unsigned 128-bit integers.
4289 * config/rs6000/fixunskfti.c: Likewise.
4290 * config/rs6000/fixkfti.c: Likewise.
4291 * config/rs6000/floatuntikf.c: Likewise.
4292
4293 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4294 when building on 64-bit systems, or when VSX is enabled.
4295 (_FP_W_TYPE): Likewise.
4296 (_FP_WS_TYPE): Likewise.
4297 (_FP_I_TYPE): Likewise.
4298 (TItype): Define on 64-bit systems.
4299 (UTItype): Likewise.
4300 (TI_BITS): Likewise.
4301 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4302 (_FP_MUL_MEAT_Q): Likewise.
4303 (_FP_DIV_MEAT_D): Likewise.
4304 (_FP_DIV_MEAT_Q): Likewise.
4305 (_FP_NANFRAC_D): Likewise.
4306 (_FP_NANFRAC_Q): Likewise.
4307 (ISA_BIT): Add exception support if we are being compiled on a
4308 machine with hardware floating point support to build the IEEE
4309 128-bit emulation functions.
4310 (FP_EX_INVALID): Likewise.
4311 (FP_EX_OVERFLOW): Likewise.
4312 (FP_EX_UNDERFLOW): Likewise.
4313 (FP_EX_DIVZERO): Likewise.
4314 (FP_EX_INEXACT): Likewise.
4315 (FP_EX_ALL): Likewise.
4316 (__sfp_handle_exceptions): Likewise.
4317 (FP_HANDLE_EXCEPTIONS): Likewise.
4318 (FP_RND_NEAREST): Likewise.
4319 (FP_RND_ZERO): Likewise.
4320 (FP_RND_PINF): Likewise.
4321 (FP_RND_MINF): Likewise.
4322 (FP_RND_MASK): Likewise.
4323 (_FP_DECL_EX): Likewise.
4324 (FP_INIT_ROUNDMODE): Likewise.
4325 (FP_ROUNDMODE): Likewise.
4326
4327 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4328 VSX code, enable IEEE 128-bit floating point. If the compiler can
4329 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4330 floating point hardware instructions and it supports declaring
4331 functions with the ifunc attribute, enable ifunc functions to
4332 switch between software and hardware support.
4333 * configure.ac (powerpc*-*-linux*): Likewise.
4334 * configure: Regenerate.
4335
4336 2016-01-15 Nick Clifton <nickc@redhat.com>
4337
4338 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4339 dependency as the source file to be compiled.
4340 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4341 (lib2hw_mul_f5.o): Likewise.
4342
4343 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4344
4345 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4346 * libgcc/config/rs6000/fixkfti.c: Likewise.
4347 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4348 * libgcc/config/rs6000/float128-hw.c: Likewise.
4349 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4350 * libgcc/config/rs6000/float128-sed: Likewise.
4351 * libgcc/config/rs6000/floattikf.c: Likewise.
4352 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4353 * libgcc/config/rs6000/quad-float128.h: Likewise.
4354 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4355 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4356 * libgcc/config/rs6000/t-float128: Likewise.
4357 * libgcc/config/rs6000/t-float128-hw: Likewise.
4358 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4359 * libgcc/config.host: Likewise.
4360 * libgcc/configure: Likewise.
4361 * libgcc/configure.ac: Likewise.
4362
4363 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4364 Steven Munroe <munroesj@linux.vnet.ibm.com>
4365 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4366
4367 * config/rs6000/sfp-exceptions.c: New file to provide exception
4368 support for IEEE 128-bit floating point.
4369
4370 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4371 floating point hardware support.
4372
4373 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4374 point conversions.
4375 * config/rs6000/fixunskfti.c: Likewise.
4376 * config/rs6000/fixkfti.c: Likewise.
4377 * config/rs6000/floatuntikf.c: Likewise.
4378 * config/rs6000/extendkftf2-sw.c: Likewise.
4379 * config/rs6000/trunctfkf2-sw.c: Likewise.
4380
4381 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4382 128-bit floating point software emulation or use ISA 3.0 hardware
4383 support if it is available.
4384
4385 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4386 floating point.
4387
4388 * config/rs6000/t-float128: New Makefile fragments to enable
4389 building __float128 emulation support.
4390 * config/rs6000/t-float128-hw: Likewise.
4391
4392 * config/rs6000/float128-sed: New file to convert TF names to KF
4393 names for PowerPC IEEE 128-bit floating point support.
4394
4395 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4396 when building on 64-bit systems, or when VSX is enabled.
4397 (_FP_W_TYPE): Likewise.
4398 (_FP_WS_TYPE): Likewise.
4399 (_FP_I_TYPE): Likewise.
4400 (TItype): Define on 64-bit systems.
4401 (UTItype): Likewise.
4402 (TI_BITS): Likewise.
4403 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4404 (_FP_MUL_MEAT_Q): Likewise.
4405 (_FP_DIV_MEAT_D): Likewise.
4406 (_FP_DIV_MEAT_Q): Likewise.
4407 (_FP_NANFRAC_D): Likewise.
4408 (_FP_NANFRAC_Q): Likewise.
4409 (ISA_BIT): Add exception support if we are being compiled on a
4410 machine with hardware floating point support to build the IEEE
4411 128-bit emulation functions.
4412 (FP_EX_INVALID): Likewise.
4413 (FP_EX_OVERFLOW): Likewise.
4414 (FP_EX_UNDERFLOW): Likewise.
4415 (FP_EX_DIVZERO): Likewise.
4416 (FP_EX_INEXACT): Likewise.
4417 (FP_EX_ALL): Likewise.
4418 (__sfp_handle_exceptions): Likewise.
4419 (FP_HANDLE_EXCEPTIONS): Likewise.
4420 (FP_RND_NEAREST): Likewise.
4421 (FP_RND_ZERO): Likewise.
4422 (FP_RND_PINF): Likewise.
4423 (FP_RND_MINF): Likewise.
4424 (FP_RND_MASK): Likewise.
4425 (_FP_DECL_EX): Likewise.
4426 (FP_INIT_ROUNDMODE): Likewise.
4427 (FP_ROUNDMODE): Likewise.
4428
4429 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4430 compiler can do __float128.
4431 * configure: Regenerate.
4432
4433 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4434 VSX code, enable IEEE 128-bit floating point.
4435
4436 2016-01-05 Olivier Hainque <hainque@adacore.com>
4437
4438 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4439 specificities.
4440
4441 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4442
4443 Update copyright years.
4444
4445 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4446
4447 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4448 soft-fp targets.
4449
4450 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4451
4452 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4453 instead of abort to avoid dependency on stdlib.h.
4454
4455 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
4456
4457 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4458 to initialize call to __dl_fixup once.
4459
4460 2015-12-04 Nick Clifton <nickc@redhat.com>
4461
4462 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4463 Allow for the second argument being negative.
4464 * config.host (extra_parts): Define for MSP430. Create separate
4465 libraries for each of the hardware multiply formats.
4466 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4467 that are needed.
4468 * config/msp430/lib2mul.c: Likewise.
4469 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4470 Add rules to build hardware multiply libraries.
4471 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4472 __mspabi_divul function.
4473 (__mspabi_divllu): New stub function.
4474
4475 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
4476
4477 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4478 fixup values if saved GOT address doesn't match runtime address.
4479 (fixup_branch_offset): Reorder list.
4480
4481 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4482
4483 * Makefile.in (VTV_CFLAGS): New variable.
4484 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4485 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4486 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4487 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4488 to extra_parts if $enable_vtable_verify = yes.
4489
4490 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4491
4492 PR target/68059
4493 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4494 (write): ...this and fix the return type.
4495
4496 2015-11-19 DJ Delorie <dj@redhat.com>
4497
4498 * config/msp430/lib2hw_mul.S: Fix alignment.
4499
4500 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4501
4502 * config/nvptx/reduction.c: New.
4503 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4504
4505 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4506
4507 * config/rs6000/on_exit.c: New file.
4508 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4509 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4510
4511 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4512
4513 * config/arc/dp-hack.h: Add support for ARCHS.
4514 * config/arc/ieee-754/divdf3.S: Likewise.
4515 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4516 * config/arc/ieee-754/muldf3.S: Likewise.
4517 * config/arc/ieee-754/mulsf3.S: Likewise
4518 * config/arc/lib1funcs.S: Likewise
4519 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4520 for ARCv2 cores.
4521 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4522 for ARCv2 cores.
4523 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4524 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4525 cores.
4526
4527 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4528
4529 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4530 value.
4531 * config/ia64/crtend.S: Likewise.
4532
4533 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4534
4535 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4536 __CHAR_BIT__ instead of BITS_PER_UNIT.
4537 * fixed-bit.h: Likewise.
4538 * fp-bit.h: Likewise.
4539 * libgcc2.c (__popcountSI2): Likewise.
4540 (__popcountDI2): Likewise.
4541 * libgcc2.h: Likewise.
4542 * libgcov.h: Likewise.
4543
4544 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4545
4546 * config/rs6000/atexit.c: New file.
4547 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4548 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4549 * config/rs6000/cxa_finalize.c
4550 (catomic_compare_and_exchange_bool_acq): Negate return value.
4551
4552 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4553
4554 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4555 (processor_subtypes): Add znver1.
4556 (get_amd_cpu): Detect znver1.
4557
4558 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4559
4560 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4561 Include crtfastmath.o.
4562
4563 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4564
4565 PR libgcc/66883
4566 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4567
4568 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4569
4570 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4571 * config/rl78/divmodsi.S: Update return register to r8.
4572 * config/rl78/divmodhi.S: Update return register to r8,r9.
4573 Branch to main_loop_done_himode to pop registers before return.
4574
4575 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4576
4577 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4578 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4579
4580 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4581
4582 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4583
4584 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4585
4586 * config.host (xtensa*-*-uclinux*): New configuration.
4587
4588 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4589
4590 * config/i386/cpuinfo.c (processor_features): Add
4591 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4592
4593 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4594
4595 * soft-fp/adddf3.c: Update from glibc.
4596 * soft-fp/addsf3.c: Likewise.
4597 * soft-fp/addtf3.c: Likewise.
4598 * soft-fp/divdf3.c: Likewise.
4599 * soft-fp/divsf3.c: Likewise.
4600 * soft-fp/divtf3.c: Likewise.
4601 * soft-fp/double.h: Likewise.
4602 * soft-fp/eqdf2.c: Likewise.
4603 * soft-fp/eqsf2.c: Likewise.
4604 * soft-fp/eqtf2.c: Likewise.
4605 * soft-fp/extenddftf2.c: Likewise.
4606 * soft-fp/extended.h: Likewise.
4607 * soft-fp/extendsfdf2.c: Likewise.
4608 * soft-fp/extendsftf2.c: Likewise.
4609 * soft-fp/extendxftf2.c: Likewise.
4610 * soft-fp/fixdfdi.c: Likewise.
4611 * soft-fp/fixdfsi.c: Likewise.
4612 * soft-fp/fixdfti.c: Likewise.
4613 * soft-fp/fixsfdi.c: Likewise.
4614 * soft-fp/fixsfsi.c: Likewise.
4615 * soft-fp/fixsfti.c: Likewise.
4616 * soft-fp/fixtfdi.c: Likewise.
4617 * soft-fp/fixtfsi.c: Likewise.
4618 * soft-fp/fixtfti.c: Likewise.
4619 * soft-fp/fixunsdfdi.c: Likewise.
4620 * soft-fp/fixunsdfsi.c: Likewise.
4621 * soft-fp/fixunsdfti.c: Likewise.
4622 * soft-fp/fixunssfdi.c: Likewise.
4623 * soft-fp/fixunssfsi.c: Likewise.
4624 * soft-fp/fixunssfti.c: Likewise.
4625 * soft-fp/fixunstfdi.c: Likewise.
4626 * soft-fp/fixunstfsi.c: Likewise.
4627 * soft-fp/fixunstfti.c: Likewise.
4628 * soft-fp/floatdidf.c: Likewise.
4629 * soft-fp/floatdisf.c: Likewise.
4630 * soft-fp/floatditf.c: Likewise.
4631 * soft-fp/floatsidf.c: Likewise.
4632 * soft-fp/floatsisf.c: Likewise.
4633 * soft-fp/floatsitf.c: Likewise.
4634 * soft-fp/floattidf.c: Likewise.
4635 * soft-fp/floattisf.c: Likewise.
4636 * soft-fp/floattitf.c: Likewise.
4637 * soft-fp/floatundidf.c: Likewise.
4638 * soft-fp/floatundisf.c: Likewise.
4639 * soft-fp/floatunditf.c: Likewise.
4640 * soft-fp/floatunsidf.c: Likewise.
4641 * soft-fp/floatunsisf.c: Likewise.
4642 * soft-fp/floatunsitf.c: Likewise.
4643 * soft-fp/floatuntidf.c: Likewise.
4644 * soft-fp/floatuntisf.c: Likewise.
4645 * soft-fp/floatuntitf.c: Likewise.
4646 * soft-fp/gedf2.c: Likewise.
4647 * soft-fp/gesf2.c: Likewise.
4648 * soft-fp/getf2.c: Likewise.
4649 * soft-fp/ledf2.c: Likewise.
4650 * soft-fp/lesf2.c: Likewise.
4651 * soft-fp/letf2.c: Likewise.
4652 * soft-fp/muldf3.c: Likewise.
4653 * soft-fp/mulsf3.c: Likewise.
4654 * soft-fp/multf3.c: Likewise.
4655 * soft-fp/negdf2.c: Likewise.
4656 * soft-fp/negsf2.c: Likewise.
4657 * soft-fp/negtf2.c: Likewise.
4658 * soft-fp/op-1.h: Likewise.
4659 * soft-fp/op-2.h: Likewise.
4660 * soft-fp/op-4.h: Likewise.
4661 * soft-fp/op-8.h: Likewise.
4662 * soft-fp/op-common.h: Likewise.
4663 * soft-fp/quad.h: Likewise.
4664 * soft-fp/single.h: Likewise.
4665 * soft-fp/soft-fp.h: Likewise.
4666 * soft-fp/subdf3.c: Likewise.
4667 * soft-fp/subsf3.c: Likewise.
4668 * soft-fp/subtf3.c: Likewise.
4669 * soft-fp/truncdfsf2.c: Likewise.
4670 * soft-fp/trunctfdf2.c: Likewise.
4671 * soft-fp/trunctfsf2.c: Likewise.
4672 * soft-fp/trunctfxf2.c: Likewise.
4673 * soft-fp/unorddf2.c: Likewise.
4674 * soft-fp/unordsf2.c: Likewise.
4675 * soft-fp/unordtf2.c: Likewise.
4676
4677 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4678
4679 PR libgcc/67624
4680 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4681
4682 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4683
4684 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4685 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4686 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4687 messages.
4688 (internal_mcount): Likewise.
4689 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4690 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4691
4692 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4693
4694 * configure.ac (libgcc_cv_solaris_crts): New test.
4695 * configure: Regenerate.
4696 * config.in: Regenerate.
4697 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4698 * config/gmon-sol2.c: Rename to ...
4699 * config/sol2/gmon.c: ... this.
4700 Include auto-target.h.
4701 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4702 * config/t-sol2: Rename to ...
4703 * config/sol2/t-sol2: ... this.
4704 (gmon.o): Reflect renaming.
4705 (crtp.o, crtpg.o): New rules.
4706 * config.host (*-*-solaris2*): Reflect renaming.
4707 Use system CRTs if present.
4708 Remove default CRT case.
4709
4710 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4711
4712 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4713 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4714 __kernel_cmpxchg2.
4715 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4716 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4717 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4718 (__sync_lock_test_and_set_##WIDTH): Likewise.
4719 (__sync_lock_release_##WIDTH): Likewise.
4720 (__sync_fetch_and_##OP##_4): Change result to match type of
4721 __kernel_cmpxchg.
4722 (__sync_##OP##_and_fetch_4): Likewise.
4723 (__sync_val_compare_and_swap_4): Likewise.
4724 (__sync_bool_compare_and_swap_4): likewise.
4725 (__sync_lock_test_and_set_4): Likewise.
4726 (__sync_lock_release_4): Likewise.
4727 (FETCH_AND_OP_2): Add long long variants.
4728 (OP_AND_FETCH_2): Likewise.
4729 (COMPARE_AND_SWAP_2 ): Likewise.
4730 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4731 (SYNC_LOCK_RELEASE_2): Likewise.
4732 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4733
4734 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4735
4736 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4737 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4738 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4739 (get_available_features): Habdle new features.
4740
4741 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4742
4743 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4744 memory layout. Deal correctly with BSS region larger than 32K.
4745 Handle a watchdog reset like a power-on reset. Clean up unused
4746 code.
4747
4748 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4749 David Edelsohn <dje.gcc@gmail.com>
4750
4751 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4752 * config/rs6000/crtdbase.S: New file.
4753 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4754
4755 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4756
4757 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4758 Add support for call0 ABI.
4759
4760 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4761
4762 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4763
4764 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4765
4766 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4767 (__GTHREAD_HAS_COND): Likewise.
4768 (__gthread_t): Likewise.
4769 (__gthread_cond_t): Likewise.
4770 (__gthread_time_t): Likewise.
4771 (__GTHREAD_MUTEX_INIT): Likewise.
4772 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4773 (__GTHREAD_COND_INIT): Likewise.
4774 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4775 (__GTHREAD_TIME_INIT): Likewise.
4776 (__gthread_create): Likewise.
4777 (__gthread_join): Likewise.
4778 (__gthread_detach): Likewise.
4779 (__gthread_equal): Likewise.
4780 (__gthread_self): Likewise.
4781 (__gthread_yield): Likewise.
4782 (__gthread_cond_broadcast): Likewise.
4783 (__gthread_cond_signal): Likewise.
4784 (__gthread_cond_wait): Likewise.
4785 (__gthread_cond_timedwait): Likewise.
4786 (__gthread_cond_wait_recursive): Likewise.
4787 (__gthread_cond_destroy): Likewise.
4788 (rtems_gxx_once): Delete.
4789 (rtems_gxx_key_create): Likewise.
4790 (rtems_gxx_key_delete): Likewise.
4791 (rtems_gxx_getspecific): Likewise.
4792 (rtems_gxx_setspecific): Likewise.
4793 (rtems_gxx_mutex_init): Likewise.
4794 (rtems_gxx_mutex_destroy): Likewise.
4795 (rtems_gxx_mutex_lock): Likewise.
4796 (rtems_gxx_mutex_trylock): Likewise.
4797 (rtems_gxx_mutex_unlock): Likewise.
4798 (rtems_gxx_recursive_mutex_init): Likewise.
4799 (rtems_gxx_recursive_mutex_lock): Likewise.
4800 (rtems_gxx_recursive_mutex_trylock): Likewise.
4801 (rtems_gxx_recursive_mutex_unlock): Likewise.
4802 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4803 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4804 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4805 (__gthread_once): Likewise.
4806 (__gthread_key_create): Likewise.
4807 (__gthread_key_delete): Likewise.
4808 (__gthread_getspecific): Likewise.
4809 (__gthread_setspecific): Likewise.
4810 (__gthread_key_t): Use <pthread.h> type.
4811 (__gthread_once_t): Likewise
4812 (__gthread_mutex_t): Use <sys/lock.h> type.
4813 (__gthread_recursive_mutex_t): Likewise
4814 (__gthread_mutex_lock): Use <sys/lock.h> function.
4815 (__gthread_mutex_trylock): Likewise.
4816 (__gthread_mutex_timedlock): Likewise.
4817 (__gthread_mutex_unlock): Likewise.
4818 (__gthread_mutex_destroy): Likewise.
4819 (__gthread_recursive_mutex_lock): Likewise.
4820 (__gthread_recursive_mutex_trylock): Likewise.
4821 (__gthread_recursive_mutex_timedlock): Likewise.
4822 (__gthread_recursive_mutex_unlock): Likewise.
4823 (__gthread_recursive_mutex_destroy): Likewise.
4824
4825 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4826
4827 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4828 context->sp instead of context->cfa.
4829
4830 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4831
4832 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4833 with unwind-dw2-fde-dip.
4834
4835 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4836
4837 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4838 CALL12 followed by series of ENTRY to spill windowed registers.
4839 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4840 instead of making linux spill syscall.
4841
4842 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4843
4844 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4845 (get_intel_cpu): Likewise.
4846
4847 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4848
4849 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4850 (get_intel_cpu): Add Knights Landing support.
4851
4852 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4853
4854 PR target/66954
4855 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4856 (get_available_features): Handle FEATURE_PCLMUL.
4857
4858 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4859
4860 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4861 Broadwell.
4862
4863 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4864
4865 PR target/66954
4866 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4867 (get_available_features): Handle FEATURE_AES.
4868
4869 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4870
4871 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4872 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4873
4874 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4875
4876 * offloadstuff.c: Constify host data.
4877
4878 2015-07-17 Jan Beulich <jbeulich@suse.com>
4879
4880 * config/t-softfp: Split up "else ifneq".
4881
4882 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4883 Cesar Philippidis <cesar@codesourcery.com>
4884 Chung-Lin Tang <cltang@codesourcery.com>
4885
4886 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4887 for __nios2_arch__ level.
4888
4889 2015-07-13 John Marino <gnugcc@marino.st>
4890
4891 * config/i386/t-dragonfly: New.
4892
4893 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4894
4895 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4896 better match light-weight syscall argument order.
4897 (__kernel_cmpxchg2): Likewise.
4898 Adjust callers.
4899
4900 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4901
4902 * config.host: Support i[34567]86-*-elfiamcu target.
4903 * config/t-softfp-sfdftf: New file.
4904 * config/i386/32/t-iamcu: Likewise.
4905 * configure: Regenerated.
4906
4907 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4908
4909 libgcc/config/arm/
4910 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4911
4912 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4913
4914 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4915
4916 2015-05-27 John Marino <gnugcc@marino.st>
4917
4918 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4919 md_unwind_header
4920 * config/i386/freebsd-unwind.h: New.
4921
4922 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4923
4924 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4925 i386/t-crtfm to tmake_file.
4926 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4927 (set_fast_math): Use set_fast_math_sse for SSE targets.
4928 * config/i386/t-crtfm: Remove.
4929
4930 2015-05-21 Alan Modra <amodra@gmail.com>
4931
4932 PR libgcc/66225
4933 * config/rs6000/morestack.S: Remove ".abiversion 1".
4934
4935 2015-05-20 Alan Modra <amodra@gmail.com>
4936
4937 * config/rs6000/morestack.S: New.
4938 * config/rs6000/t-stack-rs6000: New.
4939 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4940 to tmake_file.
4941 * generic-morestack.c: Don't build for powerpc 32-bit.
4942
4943 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4944
4945 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4946 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4947
4948 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4949
4950 * config.host: FT32 target added.
4951 * config/ft32/*: New files for FT32 target.
4952
4953 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4954
4955 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4956 New macros.
4957 * config/arm/ieee754-df.S: Add CFI directives.
4958 * config/arm/ieee754-sf.S: Add CFI directives.
4959
4960 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4961
4962 * configure.ac: Include config/sjlj.m4.
4963 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4964 * config.in: Regenerate.
4965 * configure: Likewise.
4966 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4967
4968 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4969
4970 * libgcov-util.c: Add space between string literal and macro name.
4971
4972 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4973 Chris Jones <chrisj@nvidia.com>
4974 Joshua Conner <jconner@nvidia.com>
4975
4976 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4977 (arm*-*-uclinux*): Likewise.
4978 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4979 * config/arm/crtfastmath.c: New file.
4980
4981 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4982
4983 * Makefile.in (real_host_noncanonical): New variable.
4984 (libsubdir): Use it.
4985 * configure.ac (real_host_noncanonical): Compute. Remove special
4986 case for intelmicemul.
4987 * configure: Regenerate.
4988
4989 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4990
4991 * config/frv/elf-lib.h: New file.
4992 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4993 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4994 to tm_file.
4995
4996 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4997
4998 * config/frv/frvbengin.c: Do not include defaults.h
4999 * config/frv/frvend.c: Ditto.
5000
5001 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5002
5003 * config.host: Add h8300-*-linux
5004 * config/h8300/t-linux: New file.
5005 * config/h8300/lib1funs.s: Change symbol prefix.
5006 * config/h8300/sfp-machine.h: 64bit double support.
5007
5008 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5009 Szabolcs Nagy <szabolcs.nagy@arm.com>
5010
5011 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5012 Linux if target provides dl_iterate_phdr.
5013
5014 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5015
5016 PR target/65612
5017 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5018 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5019 (__cpu_indicator_init@GCC_4.8.0): New.
5020 (__cpu_model@GCC_4.8.0): Likewise.
5021 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5022 -DUSE_ELF_SYMVER.
5023
5024 2015-04-16 Nick Clifton <nickc@redhat.com>
5025
5026 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5027 and __modhi3 functions.
5028 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5029 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5030
5031 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5032
5033 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5034 do-while loop as macro body to avoid warnings.
5035
5036 2015-04-10 Jakub Jelinek <jakub@redhat.com>
5037 Iain Sandoe <iain@codesourcery.com>
5038
5039 PR target/65351
5040 * configure: Regenerate.
5041
5042 2015-04-07 Jakub Jelinek <jakub@redhat.com>
5043 Iain Sandoe <iain@codesourcery.com>
5044
5045 PR target/65351
5046 * configure: Regenerate.
5047
5048 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5049
5050 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5051
5052 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
5053
5054 Implement call0 ABI for xtensa
5055 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5056 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5057 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5058 use ret in call0 ABI.
5059 * config/xtensa/t-windowed: New file.
5060 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5061 * libgcc/configure: Regenerated.
5062 * libgcc/configure.ac: Check if xtensa target is configured for
5063 windowed ABI and thus needs to use custom unwind code.
5064
5065 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
5066
5067 PR libgcc/64885
5068 * gthr-single.h: Use __unused__ attribute instead of unused.
5069 * config/gthr-vxworks.h: Likewise.
5070 * config/i386/gthr-win32.h: Likewise.
5071
5072 2015-02-27 Kai Tietz <ktietz@redhat.com>
5073
5074 PR target/65038
5075 * config.in: Regenerated.
5076 * configure: Likewise.
5077 * configure.ac (AC_HEADER_STDC): Added explicit.
5078 (AC_CHECK_HEADERS): Check for default headers plus
5079 for ftw.h header.
5080 * libgcov-util.c (gcov_read_profile_dir): Disable use
5081 of ftw-function, if header is not found.
5082 (ftw_read_file): Likewise.
5083
5084 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5085
5086 PR target/65181
5087 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5088 -Dinhibit_libc.
5089
5090 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5091
5092 * config/arm/bpabi.S (test_div_by_zero): Make label names
5093 consistent between thumb2 and arm mode cases. Separate the
5094 signed comparison on the high word of the numerator from the
5095 unsigned comparison on the low word.
5096 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5097 signed comparison.
5098
5099 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5100
5101 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5102 and <string.h>.
5103 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5104
5105 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5106
5107 PR gcov-profile/61889
5108 * libgcov-driver-system.c: undefine clashing macro for mkdir.
5109
5110 2015-02-02 Nick Clifton <nickc@redhat.com>
5111
5112 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5113 rounding up the fraction.
5114
5115 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
5116
5117 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5118 oldval and newval to const void *. Fix typo.
5119 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5120 (FETCH_AND_OP_WORD): Likewise.
5121 (OP_AND_FETCH_WORD): Likewise.
5122 (COMPARE_AND_SWAP_2): Likewise.
5123 (__sync_val_compare_and_swap_4): Likewise.
5124 (__sync_lock_test_and_set_4): Likewise.
5125 (SYNC_LOCK_RELEASE_2): Likewise.
5126 Remove support for long long atomic operations.
5127
5128 2015-01-27 Caroline Tice <cmtice@google.com>
5129
5130 Committing VTV Cywin/Ming patch for Patrick Wollgast
5131 * Makefile.in: Move rules to build vtv_*.o out of the check
5132 for CUSTOM_CRTSTUFF.
5133 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5134 i[34567]86-*-mingw*)
5135 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5136 enable_vtable_verify.
5137
5138 2015-01-27 Nick Clifton <nickc@redhat.com>
5139
5140 * config/rl78/cmpsi2.S: Use function start and end macros.
5141 (__gcc_bcmp): New function.
5142 * config/rl78/lshrsi3.S: Use function start and end macros.
5143 * config/rl78/mulsi3.S: Add support for G10.
5144 (__mulqi3): New function for G10.
5145 * config/rl78/signbit.S: Use function start and end macros.
5146 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5147 fpmath-sf.S.
5148 (LIB2FUNCS_EXCLUDE): Define.
5149 (LIB2FUNCS_ST): Define.
5150 * config/rl78/trampoline.S: Use function start and end macros.
5151 * config/rl78/vregs.h (START_FUNC): New macro.
5152 (START_ANOTHER_FUNC): New macro.
5153 (END_FUNC): New macro.
5154 (END_ANOTHER_FUNC): New macro.
5155 * config/rl78/bit-count.S: New file. Contains assembler
5156 implementations of the bit counting functions: ___clzhi2,
5157 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5158 __paritysi2, __popcounthi2 and __popcountsi2.
5159 * config/rl78/fpbit-sf.S: New file. Contains assembler
5160 implementationas of the math functions: __negsf2, __cmpsf2,
5161 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5162 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5163 * config/rl78/fpmath-sf.S: New file. Contains assembler
5164 implementations of the math functions: __subsf3, __addsf3,
5165 __mulsf3 and __divsf3
5166
5167 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5168
5169 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5170 Add i386/elf-lib.h to tm_file.
5171 * config/i386/elf-lib.h: Fix comment.
5172 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5173 && __sun__ && __svr4__]: Remove workaround.
5174
5175 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5176
5177 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5178 FEATURE_BMI2.
5179 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5180
5181 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5182
5183 * config/i386/cpuinfo.c (processor_subtypes): Add
5184 INTEL_COREI7_BROADWELL.
5185 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5186 model numbers.
5187
5188 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
5189
5190 * config/i386/elf-lib.h: New file.
5191 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5192 Wrap definition in #ifdef __i386__.
5193 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5194 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5195 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5196 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5197 to tm_file.
5198
5199 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5200
5201 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5202 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5203
5204 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5205
5206 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5207 Update rt_sigframe format and address for current Nios II
5208 Linux conventions.
5209
5210 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5211
5212 * config.host (arm*-*-freebsd*): Add new configuration for
5213 arm*-*-freebsd*.
5214 * config/arm/freebsd-atomic.c: New file.
5215 * config/arm/t-freebsd: Likewise.
5216 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5217 'PC-relative indirect' OS's.
5218
5219 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5220
5221 * config.host: Add Visium support.
5222 * config/visium: New directory.
5223
5224 2015-01-05 Jakub Jelinek <jakub@redhat.com>
5225
5226 Update copyright years.
5227
5228 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5229
5230 * config.host: Support mipsisa32r6 and mipsisa64r6.
5231 * config/mips/mips16.S: Do not build for R6.
5232
5233 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5234
5235 * config/sh/crt.h: New.
5236 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5237 symbols.
5238 * config/sh/crt1.S: Likewise.
5239
5240 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
5241
5242 PR libgcc/63832
5243 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5244 func_ptr *dtor_list temporary variable to avoid "array subscript
5245 is above array bounds" warnings.
5246
5247 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
5248
5249 * Makefile.in (with_aix_soname): Define.
5250 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5251 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5252 * configure: Recreate.
5253
5254 2014-12-05 Olivier Hainque <hainque@adacore.com>
5255
5256 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5257 now provided by defaults.h.
5258
5259 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5260
5261 PR target/55351
5262 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5263 whether it's defined.
5264
5265 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5266
5267 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5268 * config/i386/cpuinfo.c (get_available_features): Detect it.
5269
5270 2014-11-27 Tony Wang <tony.wang@arm.com>
5271
5272 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5273 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5274 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5275
5276 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5277
5278 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5279
5280 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
5281
5282 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5283 instead.
5284
5285 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5286 John David Anglin <danglin@gcc.gnu.org>
5287
5288 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5289 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5290 (OP_AND_FETCH_2): Likewise.
5291 (COMPARE_AND_SWAP_2): Likewise.
5292 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5293 (SYNC_LOCK_RELEASE_2): Likewise.
5294 (SUBWORD_SYNC_OP): Remove.
5295 (SUBWORD_VAL_CAS): Likewise.
5296 (SUBWORD_BOOL_CAS): Likewise.
5297 (FETCH_AND_OP_WORD): Update.
5298 Consistently use signed types.
5299
5300 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5301 Thomas Schwinge <thomas@codesourcery.com>
5302 Ilya Verbin <ilya.verbin@intel.com>
5303 Andrey Turetskiy <andrey.turetskiy@intel.com>
5304
5305 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5306 (crtoffloadend$(objext)): Likewise.
5307 * configure: Regenerate.
5308 * configure.ac (accel_dir_suffix): Compute new variable.
5309 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5310 if enable_offload_targets is not empty.
5311 * offloadstuff.c: New file.
5312
5313 2014-11-13 Nick Clifton <nickc@redhat.com>
5314
5315 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5316 Use START_FUNC and END_FUNC macros to enable linker garbage
5317 collection.
5318 * config/rl78/divmodqi.S: Likewise.
5319 * config/rl78/divmodsi.S: Likewise.
5320 * config/rl78/mulsi3.S: Likewise.
5321 * config/rl78/lib2div.c: Remove G10 functions.
5322 * config/rl78/lib2muls.c: Likewise.
5323 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5324 * config/rl78/vregs.h (START_FUNC): New macro.
5325 (END_FUNC): New macro.
5326
5327 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5328
5329 * config/mips/mips16.S: Set .module when supported. Update O32
5330 FP64 calling convention and use for FPXX when possible. Add FPXX
5331 calling convention fallback case.
5332
5333 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5334
5335 * config.host: Handle nvptx-*-*.
5336 * shared-object.mk (as-flags-$o): Define.
5337 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5338 -xassembler-with-cpp.
5339 * static-object.mk: Identical changes.
5340 * config/nvptx/t-nvptx: New file.
5341 * config/nvptx/crt0.s: New file.
5342 * config/nvptx/free.asm: New file.
5343 * config/nvptx/malloc.asm: New file.
5344 * config/nvptx/realloc.c: New file.
5345
5346 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5347
5348 * Makefile.in (libgcc.map.in): New target.
5349 (libgcc.map): Use libgcc.map.in.
5350 * config/t-softfp (softfp_compat): New variable to be set by
5351 users.
5352 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5353 variables.
5354 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5355 directory.
5356 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5357 that use compat symbols and disable all code unless [SHARED].
5358 * config/t-softfp-compat: New file.
5359 * find-symver.awk: New file.
5360 * configure.ac (--with-glibc-version): New configure option.
5361 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5362 * configure: Regenerate.
5363 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5364 soft-float and e500.
5365
5366 2014-10-29 Joseph Myers <joseph@codesourcery.com>
5367
5368 * config/t-hardfp (hardfp_exclusions): Document new variable for
5369 user to define.
5370 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5371 * config/t-softfp (softfp_extras): Document new variable for user
5372 to define.
5373 (softfp_func_list): Add functions from $(softfp_extras).
5374 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5375 * config.host (powerpc*-*-linux*): For e500v1, use
5376 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5377 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5378 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5379
5380 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
5381
5382 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5383 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5384 memory read accesses are ok.
5385
5386 2014-10-25 Joseph Myers <joseph@codesourcery.com>
5387
5388 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5389 * configure: Regenerate.
5390 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5391 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5392 of soft-fp for 32-bit classic hard float. Do not use
5393 t-softfp-excl for soft float.
5394
5395 2014-10-22 Joseph Myers <joseph@codesourcery.com>
5396
5397 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5398 configurations.
5399 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5400 Remove variables.
5401
5402 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
5403
5404 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5405 introduced with 2014-10-21 trunk r216525.
5406
5407 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
5408 Vidya Praveen <vidya.praveen@atmel.com>
5409 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5410 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5411 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
5412
5413 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5414 order.
5415
5416 Updated library functions for AVRTINY arch.
5417 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5418 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5419 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5420 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5421 wsubi/wadi macors.
5422 (__mulsi3_helper): Update stack, preserve callee saved regs and
5423 argument from stack. Restore callee save registers.
5424 (__mulpsi3): Likewise.
5425 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5426 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5427 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5428 AVRTINY.
5429 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5430 (__do_copy_data): Added new definition for AVRTINY.
5431 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5432 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5433 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5434 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5435 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5436 macors.
5437 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5438 AVRTINY.
5439
5440 Fix broken long multiplication on tiny arch.
5441
5442 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5443
5444 * soft-fp/double.h: Update from glibc.
5445 * soft-fp/eqdf2.c: Likewise.
5446 * soft-fp/eqsf2.c: Likewise.
5447 * soft-fp/eqtf2.c: Likewise.
5448 * soft-fp/extenddftf2.c: Likewise.
5449 * soft-fp/extended.h: Likewise.
5450 * soft-fp/extendsfdf2.c: Likewise.
5451 * soft-fp/extendsftf2.c: Likewise.
5452 * soft-fp/extendxftf2.c: Likewise.
5453 * soft-fp/gedf2.c: Likewise.
5454 * soft-fp/gesf2.c: Likewise.
5455 * soft-fp/getf2.c: Likewise.
5456 * soft-fp/ledf2.c: Likewise.
5457 * soft-fp/lesf2.c: Likewise.
5458 * soft-fp/letf2.c: Likewise.
5459 * soft-fp/op-1.h: Likewise.
5460 * soft-fp/op-2.h: Likewise.
5461 * soft-fp/op-4.h: Likewise.
5462 * soft-fp/op-8.h: Likewise.
5463 * soft-fp/op-common.h: Likewise.
5464 * soft-fp/quad.h: Likewise.
5465 * soft-fp/single.h: Likewise.
5466 * soft-fp/soft-fp.h: Likewise.
5467 * soft-fp/unorddf2.c: Likewise.
5468 * soft-fp/unordsf2.c: Likewise.
5469 * soft-fp/unordtf2.c: Likewise.
5470 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5471 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5472 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5473 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5474 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5475 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5476 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5477 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5478 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5479 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5480
5481 2014-10-08 Rong Xu <xur@google.com>
5482
5483 * libgcov-util.c (read_gcda_file): Fix format.
5484 (find_match_gcov_info): Ditto.
5485 (calculate_2_entries): New.
5486 (compute_one_gcov): Ditto.
5487 (gcov_info_count_all_cold): Ditto.
5488 (gcov_info_count_all_zero): Ditto.
5489 (extract_file_basename): Ditto.
5490 (get_file_basename): Ditto.
5491 (set_flag): Ditto.
5492 (matched_gcov_info): Ditto.
5493 (calculate_overlap): Ditto.
5494 (gcov_profile_overlap): Ditto.
5495 * libgcov-driver.c (compute_summary): Make
5496 it avavilable for external calls.
5497
5498 2014-10-06 Rong Xu <xur@google.com>
5499
5500 * Makefile.in: Ditto.
5501 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5502 (gcov_sort_icall_topn_counter): Ditto.
5503 (gcov_sort_topn_counter_arrays): Ditto.
5504 (dump_one_gcov): Sort indirect_call topn counters.
5505 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5506 function.
5507 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5508 utility function.
5509 (__gcov_indirect_call_topn_profiler): New profiler function.
5510 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5511 * libgcov.h: New decls.
5512
5513 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5514
5515 * config.host: Remove support for score-*.
5516
5517 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5518
5519 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5520 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5521 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5522 __LIBGCC_XF_MANT_DIG__.
5523 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5524 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5525 __LIBGCC_TF_MANT_DIG__.
5526 * libgcc2.c (NOTRUNC): Define in terms of
5527 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5528 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5529
5530 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5531
5532 PR target/63312
5533 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5534 New macros.
5535
5536 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5537
5538 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5539 override USE_PT_GNU_EH_FRAME.
5540 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5541 check USE_EH_FRAME_REGISTRY_ALWAYS against
5542 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5543 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5544 variable for substituted force_explicit_eh_registry.
5545 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5546 * configure.ac (explicit-exception-frame-registration):
5547 New AC_ARG_ENABLE.
5548 * configure: Regenerate.
5549
5550 2014-09-19 Olivier Hainque <hainque@adacore.com>
5551
5552 * config.host (powerpc-wrs-vxworksmils): New configuration,
5553 same as vxworksae.
5554
5555 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5556
5557 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5558
5559 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5560
5561 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5562 bits not set bits as indicating trapping exceptions.
5563
5564 2014-09-17 Nathan sidwell <nathan@acm.org>
5565
5566 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5567 (LIBGCOV_DRIVER): ... here.
5568 * libgcov-driver.c (gcov_master): New.
5569 (gcov_exit): Remove from master chain.
5570 (__gcov_init): Add to master chain if version compatible. Don't
5571 clear the version.
5572 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5573 (gcov_reset_int): Clear master chain, if compatible.
5574 (gcov_dump_int): New internal interface. Dump master chain, if
5575 compatible.
5576 (gcov_dump): Alias for gcov_dump_int.
5577 * libgcov.h (struct gcov_root): Add next and prev fields.
5578 (struct gcov_master): New struct.
5579 (__gcov_master): New.
5580 (gcov_dump_int): Declare.
5581
5582 2014-09-17 Olivier Hainque <hainque@adacore.com>
5583
5584 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5585 and crtbegin.o + crtend.o to extra_parts.
5586
5587 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5588
5589 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5590 __LIBGCC_HAS_SF_MODE__.
5591 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5592 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5593 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5594 * config/libbid/bid_gcc_intrinsics.h
5595 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5596 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5597 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5598 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5599 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5600 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5601
5602 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5603
5604 PR target/63223
5605 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5606 and R24 as needed. Make work for all devices and .text locations.
5607 (__do_global_ctors, __do_global_dtors): Use word addresses.
5608 (__tablejump__, __tablejump_elpm__): Remove functions.
5609 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5610 Add _tablejump2.
5611 (XICALL, XIJMP): New macros.
5612
5613 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5614 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5615
5616 * config.host (aarch64*): Include crtfastmath.o and
5617 t-crtfm.
5618 * config/aarch64/crtfastmath.c: New file.
5619
5620 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5621
5622 * config.host: Remove picochip support.
5623 * config/picochip/adddi3.S: Remove.
5624 * config/picochip/ashlsi3.S: Remove.
5625 * config/picochip/ashlsi3.c: Remove.
5626 * config/picochip/ashrsi3.S: Remove.
5627 * config/picochip/ashrsi3.c: Remove.
5628 * config/picochip/clzsi2.S: Remove.
5629 * config/picochip/cmpsi2.S: Remove.
5630 * config/picochip/divmod15.S: Remove.
5631 * config/picochip/divmodhi4.S: Remove.
5632 * config/picochip/divmodsi4.S: Remove.
5633 * config/picochip/lib1funcs.S: Remove.
5634 * config/picochip/longjmp.S: Remove.
5635 * config/picochip/lshrsi3.S: Remove.
5636 * config/picochip/lshrsi3.c: Remove.
5637 * config/picochip/parityhi2.S: Remove.
5638 * config/picochip/popcounthi2.S: Remove.
5639 * config/picochip/setjmp.S: Remove.
5640 * config/picochip/subdi3.S: Remove.
5641 * config/picochip/t-picochip: Remove.
5642 * config/picochip/ucmpsi2.S: Remove.
5643 * config/picochip/udivmodhi4.S: Remove.
5644 * config/picochip/udivmodsi4.S: Remove.
5645
5646 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5647
5648 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5649 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5650 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5651 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5652 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5653 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5654 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5655 defined and LIBGCC2_HAS_DF_MODE is defined.
5656 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5657 defined and LIBGCC2_HAS_XF_MODE is defined.
5658 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5659 defined and LIBGCC2_HAS_TF_MODE is defined.
5660
5661 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5662
5663 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5664 and ROUND_TOWARDS_ZERO conditionals.
5665
5666 2014-09-07 Nathan sidwell <nathan@acm.org>
5667
5668 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5669 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5670
5671 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5672
5673 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5674 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5675 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5676 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5677 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5678 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5679 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5680 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5681 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5682 (DWARF_FRAME_REGISTERS): Change all uses to
5683 __LIBGCC_DWARF_FRAME_REGISTERS__.
5684 (EH_RETURN_STACKADJ_RTX): Change all uses to
5685 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5686 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5687 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5688 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5689 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5690 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5691 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5692 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5693 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5694 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5695 __LIBGCC_STACK_POINTER_REGNUM__.
5696 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5697 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5698 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5699 to __LIBGCC_STACK_POINTER_REGNUM__.
5700 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5701 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5702 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5703 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5704 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5705 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5706 (STACK_POINTER_REGNUM): Change all uses to
5707 __LIBGCC_STACK_POINTER_REGNUM__.
5708 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5709 use to __LIBGCC_STACK_POINTER_REGNUM__.
5710 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5711 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5712 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5713 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5714 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5715 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5716 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5717 to __LIBGCC_STACK_POINTER_REGNUM__.
5718 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5719 Remove conditional definition.
5720 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5721 __LIBGCC_TEXT_SECTION_ASM_OP__.
5722 (EH_FRAME_SECTION_NAME): Change all uses to
5723 __LIBGCC_EH_FRAME_SECTION_NAME__.
5724 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5725 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5726 (CTORS_SECTION_ASM_OP): Change all uses to
5727 __LIBGCC_CTORS_SECTION_ASM_OP__.
5728 (DTORS_SECTION_ASM_OP): Change all uses to
5729 __LIBGCC_DTORS_SECTION_ASM_OP__.
5730 (JCR_SECTION_NAME): Change all uses to
5731 __LIBGCC_JCR_SECTION_NAME__.
5732 (INIT_SECTION_ASM_OP): Change all uses to
5733 __LIBGCC_INIT_SECTION_ASM_OP__.
5734 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5735 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5736 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5737 __LIBGCC_STACK_GROWS_DOWNWARD__.
5738 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5739 __LIBGCC_INIT_SECTION_ASM_OP__.
5740 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5741 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5742 (EH_FRAME_SECTION_NAME): Change all uses to
5743 __LIBGCC_EH_FRAME_SECTION_NAME__.
5744 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5745 definitions. Change all uses to
5746 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5747 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5748 __LIBGCC_STACK_GROWS_DOWNWARD__.
5749 (DWARF_FRAME_REGISTERS): Change all uses to
5750 __LIBGCC_DWARF_FRAME_REGISTERS__.
5751 (EH_RETURN_STACKADJ_RTX): Change all uses to
5752 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5753 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5754 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5755 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5756 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5757 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5758
5759 2014-09-02 Nathan sidwell <nathan@acm.org>
5760
5761 * libgcov-interface.c (STRONG_ALIAS): New.
5762 (__gcov_flush): Call __gcov_reset_int.
5763 (__gcov_reset): Strong alias for ...
5764 (__gcov_reset_ing): ... this renamed hidden version.
5765 * libgcov.h (__gcov_reset_int): New declaration.
5766
5767 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5768
5769 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5770 call from here...
5771 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5772 (__dso_handle): Define on Cygwin.
5773 * config/i386/t-cygming (crtbeginS.o): New rule.
5774 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5775
5776 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5777 declaration syntax.
5778
5779 2014-08-13 Steve Ellcey <sellcey@mips.com>
5780
5781 * crtstuff.c: Undef caddr_t.
5782
5783 2014-08-12 Steve Ellcey <sellcey@mips.com>
5784
5785 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5786
5787 2014-08-07 Nathan Sidwell <nathan@acm.org>
5788
5789 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5790 (LIBGCOV_DRIVER): ... to here.
5791 * libgcov.h (gcov_do_dump): New #define.
5792 (struct gcov_root): New.
5793 (__gcov_root): New declaration.
5794 (__gcov_dump_one): Declare.
5795 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5796 run_accounted): Delete.
5797 (gcov_compute_histogram): Add LIST argument, adjust.
5798 (compute_summary): Adjust gcov_compute_histogram call.
5799 (gcov_do_dump): Not hidden, static in libgcov.
5800 (gcov_clear): Move to interface.c.
5801 (__gcov_dump_one): New, broken out of ...
5802 (gcov_exit): ... here. Make static.
5803 (__gcov_root): New.
5804 (__gcov_init): Adjust.
5805 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5806 declarations.
5807 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5808 (gcov_clear): Moved from driver.c. Add LIST argument.
5809 (__gcov_reset): Adjust for changed interfaces.
5810 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5811
5812 2014-08-04 Rohit <rohitarulraj@freescale.com>
5813
5814 PR target/60102
5815 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5816 based on change in SPE high register numbers and 3 HTM registers.
5817
5818 2014-08-01 Nathan Sidwell <nathan@acm.org>
5819
5820 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5821 LIBGCOV_INTERFACE): Reformat.
5822 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5823 IN_GCOV_TOOL.
5824 * libgcov-interface.c: Reformat some comments.
5825 (__gcov_flush_mx): Add declaration. Tidy up definition.
5826
5827 2014-07-31 Alan Modra <amodra@gmail.com>
5828 Peter Bergner <bergner@vnet.ibm.com>
5829
5830 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5831 (pack_ldouble): New function.
5832 (__gcc_qadd): Use it.
5833 (__gcc_qmul): Likewise.
5834 (__gcc_qdiv): Likewise.
5835 (__gcc_qneg): Likewise.
5836 (__gcc_stoq): Likewise.
5837 (__gcc_dtoq): Likewise.
5838
5839 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5840
5841 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5842 (__tpf_eh_return): Add original return address as second parameter.
5843 Handle cases where unwinder routines were called directly, instead
5844 of from within the C++ library.
5845
5846 2014-07-29 Nathan Sidwell <nathan@acm.org>
5847
5848 * libgcov.h: Move renaming of entry points to lib gcov specific
5849 portion.
5850 (gcov_do_dump): New rename.
5851 (gcov_rewrite): Remove inline, make HIDDEN.
5852 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5853 (gcov_exit_compute_summary): Rename to ...
5854 (compute_summary): ... here. Add LIST argument.
5855 (gcov_exit_merge_gcda): Rename to ...
5856 (merge_one_data): ... here.
5857 (gcov_exit_write_gcda): Rename to ...
5858 (write_one_data): ... here.
5859 (gcov_exit_merge_summary): Rename to ...
5860 (merge_summary): Add RUN_COUNTED argument.
5861 (gcov_exit_dump_gcov): Rename to ...
5862 (dump_one_gcov): Add RUN_COUNTED argument.
5863 (gcov_do_dump): New function, broken out of ...
5864 (gcov_exit): ... here. Call it.
5865
5866 2014-07-27 Anthony Green <green@moxielogic.com>
5867
5868 * config.host: Add moxiebox configuration suppport.
5869
5870 2014-07-27 Nathan Sidwell <nathan@acm.org>
5871
5872 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5873 (struct gcov_filename): ... here. Include buffer and max length
5874 fields.
5875 (gcov_max_filename): Remove.
5876 (gi_filename): Remove.
5877 (gcov_exit_compute_summary): Compute max filename here.
5878 (gcov_exit_merge_gcda): Add filename parm, adjust.
5879 (gcov_exit_merge_summary): Likewise.
5880 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5881 (gcov_exit): Likewise.
5882 (__gcov_init): Don't calculate max length here.
5883 * libgcov_util.c (max_filename_len): Remove.
5884 (read_gcda_file): Don't calculate max length here.
5885 (gcov_read_profile_dir): Don't propagate here.
5886 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5887 struct gcov_filename changes.
5888 (gcov_exit_open_gcda_file): Likewise.
5889
5890 2014-07-25 Nathan Sidwell <nathan@acm.org>
5891
5892 * libgcov-driver.c (set_gcov_dump_complete,
5893 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5894 functions polluting user's namespace.
5895 (gcov_exit): Set variable directly.
5896 (gcov_clear): Reset variable directly.
5897 * libgcov-interface.c (get_gcov_dymp_complete,
5898 reset_gov_dump_complete): Remove declarations.
5899 (__gcov_reset, __gcov_dump): Don't call them.
5900
5901 2014-07-24 DJ Delorie <dj@redhat.com>
5902
5903 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5904 (__gcc_deregister_frame): Move logic to detect deregister function
5905 to ...
5906 (__gcc_register_frame): here, so it's consistent with the register
5907 logic.
5908
5909 2014-07-23 Nathan Sidwell <nathan@acm.org>
5910
5911 * libgcov-driver.c (set_gcov_list): Remove.
5912 (gcov_list): Make non-static in GCOV_TOOL.
5913 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5914
5915 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5916
5917 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5918 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5919 Don't use SYNC_LOCK_RELEASE for int type.
5920
5921 2014-07-14 Richard Biener <rguenther@suse.de>
5922
5923 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5924
5925 2014-07-11 Rong Xu <xur@google.com>
5926
5927 * libgcov-util.c (gcov_max_filename): Fix declartion.
5928
5929 2014-07-10 Rong Xu <xur@google.com>
5930
5931 Add gcov-tool: an offline gcda profile processing tool
5932 Support.
5933 * libgcov-driver.c (gcov_max_filename): Make available
5934 to gcov-tool.
5935 * libgcov-merge.c (__gcov_merge_add): Replace
5936 gcov_read_counter() with a Macro.
5937 (__gcov_merge_ior): Ditto.
5938 (__gcov_merge_time_profile): Ditto.
5939 (__gcov_merge_single): Ditto.
5940 (__gcov_merge_delta): Ditto.
5941 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5942 in the utility functions.
5943 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5944 gcov_list object link lists.
5945 (tag_function): Ditto.
5946 (tag_blocks): Ditto.
5947 (tag_arcs): Ditto.
5948 (tag_lines): Ditto.
5949 (tag_counters): Ditto.
5950 (tag_summary): Ditto.
5951 (read_gcda_finalize): Ditto.
5952 (read_gcda_file): Ditto.
5953 (ftw_read_file): Ditto.
5954 (read_profile_dir_init): Ditto.
5955 (gcov_read_profile_dir): Ditto.
5956 (gcov_read_counter_mem): Ditto.
5957 (gcov_get_merge_weight): Ditto.
5958 (merge_wrapper): A wrapper function that calls merging handler.
5959 (gcov_merge): Merge two gcov_info objects with weights.
5960 (find_match_gcov_info): Find the matched gcov_info in the list.
5961 (gcov_profile_merge): Merge two gcov_info object lists.
5962 (__gcov_add_counter_op): Process edge profile counter values.
5963 (__gcov_ior_counter_op): Process IOR profile counter values.
5964 (__gcov_delta_counter_op): Process delta profile counter values.
5965 (__gcov_single_counter_op): Process single profile counter values.
5966 (fp_scale): Callback function for float-point scaling.
5967 (int_scale): Callback function for integer fraction scaling.
5968 (gcov_profile_scale): Scaling profile counters.
5969 (gcov_profile_normalize): Normalize profile counters.
5970 * libgcov.h: Add headers and functions for gcov-tool use.
5971 (gcov_get_counter): New.
5972 (gcov_get_counter_target): Ditto.
5973 (struct gcov_info): Make the functions field mutable in gcov-tool
5974 compilation.
5975
5976 2014-06-23 Kai Tietz <ktietz@redhat.com>
5977
5978 PR libgcc/61585
5979 * unwind-seh.c (_Unwind_GetGR): Check for proper
5980 index range.
5981 (_Unwind_SetGR): Likewise.
5982
5983 2014-05-22 Nick Clifton <nickc@redhat.com>
5984
5985 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5986 -mhwmult=none.
5987
5988 2014-05-22 Teresa Johnson <tejohnson@google.com>
5989
5990 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5991 include.
5992
5993 2014-05-20 John Marino <gnugcc@marino.st>
5994
5995 * config.host (*-*-dragonfly*): New target.
5996 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5997 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5998 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5999 * config/i386/dragonfly-unwind.h: New.
6000
6001 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6002
6003 PR libgcc/60166
6004 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6005 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6006
6007 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6008
6009 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6010 implementation.
6011
6012 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
6013
6014 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6015
6016 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6017
6018 PR libgcc/61097
6019 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6020 if --enable-shared.
6021
6022 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6023
6024 Work around for current cygwin32 build problems.
6025 * config/i386/cygming-crtbegin.c (__register_frame_info,
6026 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6027 functions only for 64-bit systems.
6028
6029 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6030
6031 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6032 (sigill_caught, sigill_hdlr): Remove.
6033
6034 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6035
6036 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6037 check.
6038 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6039 Solaris 9 single-threaded support.
6040 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6041 Solaris 9 single-threaded support. Add call_user_handler code
6042 sequences.
6043 (sparc_is_sighandler): Likewise.
6044
6045 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6046
6047 * config.host: Append t-floattodi to tmake_file depending on
6048 host_address.
6049
6050 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6051
6052 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6053
6054 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
6055
6056 PR libgcc/60472
6057 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6058 variable to avoid "array subscript is above array bounds" warnings.
6059 Use __builtin_expect when checking *jcr_list for NULL.
6060
6061 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6062
6063 PR libgcc/59339
6064 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6065 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6066 vtv_*.o to extra_parts if enable_vtable_verify.
6067
6068 2014-03-06 Nick Clifton <nickc@redhat.com>
6069
6070 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6071 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6072
6073 2014-02-28 Joey Ye <joey.ye@arm.com>
6074
6075 PR libgcc/60166
6076 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6077 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6078 Set to zero.
6079
6080 2014-02-24 Walter Lee <walt@tilera.com>
6081
6082 * config.host: Support "tilegx*" and "tilepro*" triplets.
6083 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6084 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6085
6086 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6087 Chung-Lin Tang <cltang@codesourcery.com>
6088
6089 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6090 * config/nios2/crti.S: Remove .file directive.
6091 * config/nios2/crtn.S: Likewise.
6092
6093 2014-02-18 Kai Tietz <ktietz@redhat.com>
6094 Jonathan Schleifer <js@webkeks.org>
6095
6096 PR objc/56870
6097 * unwind-seh.c (_GCC_specific_handler): Pass proper
6098 value to unwind-handler.
6099
6100 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6101
6102 * soft-fp/adddf3.c: Update from glibc.
6103 * soft-fp/addsf3.c: Likewise.
6104 * soft-fp/addtf3.c: Likewise.
6105 * soft-fp/divdf3.c: Likewise.
6106 * soft-fp/divsf3.c: Likewise.
6107 * soft-fp/divtf3.c: Likewise.
6108 * soft-fp/double.h: Likewise.
6109 * soft-fp/eqdf2.c: Likewise.
6110 * soft-fp/eqsf2.c: Likewise.
6111 * soft-fp/eqtf2.c: Likewise.
6112 * soft-fp/extenddftf2.c: Likewise.
6113 * soft-fp/extended.h: Likewise.
6114 * soft-fp/extendsfdf2.c: Likewise.
6115 * soft-fp/extendsftf2.c: Likewise.
6116 * soft-fp/extendxftf2.c: Likewise.
6117 * soft-fp/fixdfdi.c: Likewise.
6118 * soft-fp/fixdfsi.c: Likewise.
6119 * soft-fp/fixdfti.c: Likewise.
6120 * soft-fp/fixsfdi.c: Likewise.
6121 * soft-fp/fixsfsi.c: Likewise.
6122 * soft-fp/fixsfti.c: Likewise.
6123 * soft-fp/fixtfdi.c: Likewise.
6124 * soft-fp/fixtfsi.c: Likewise.
6125 * soft-fp/fixtfti.c: Likewise.
6126 * soft-fp/fixunsdfdi.c: Likewise.
6127 * soft-fp/fixunsdfsi.c: Likewise.
6128 * soft-fp/fixunsdfti.c: Likewise.
6129 * soft-fp/fixunssfdi.c: Likewise.
6130 * soft-fp/fixunssfsi.c: Likewise.
6131 * soft-fp/fixunssfti.c: Likewise.
6132 * soft-fp/fixunstfdi.c: Likewise.
6133 * soft-fp/fixunstfsi.c: Likewise.
6134 * soft-fp/fixunstfti.c: Likewise.
6135 * soft-fp/floatdidf.c: Likewise.
6136 * soft-fp/floatdisf.c: Likewise.
6137 * soft-fp/floatditf.c: Likewise.
6138 * soft-fp/floatsidf.c: Likewise.
6139 * soft-fp/floatsisf.c: Likewise.
6140 * soft-fp/floatsitf.c: Likewise.
6141 * soft-fp/floattidf.c: Likewise.
6142 * soft-fp/floattisf.c: Likewise.
6143 * soft-fp/floattitf.c: Likewise.
6144 * soft-fp/floatundidf.c: Likewise.
6145 * soft-fp/floatundisf.c: Likewise.
6146 * soft-fp/floatunditf.c: Likewise.
6147 * soft-fp/floatunsidf.c: Likewise.
6148 * soft-fp/floatunsisf.c: Likewise.
6149 * soft-fp/floatunsitf.c: Likewise.
6150 * soft-fp/floatuntidf.c: Likewise.
6151 * soft-fp/floatuntisf.c: Likewise.
6152 * soft-fp/floatuntitf.c: Likewise.
6153 * soft-fp/gedf2.c: Likewise.
6154 * soft-fp/gesf2.c: Likewise.
6155 * soft-fp/getf2.c: Likewise.
6156 * soft-fp/ledf2.c: Likewise.
6157 * soft-fp/lesf2.c: Likewise.
6158 * soft-fp/letf2.c: Likewise.
6159 * soft-fp/muldf3.c: Likewise.
6160 * soft-fp/mulsf3.c: Likewise.
6161 * soft-fp/multf3.c: Likewise.
6162 * soft-fp/negdf2.c: Likewise.
6163 * soft-fp/negsf2.c: Likewise.
6164 * soft-fp/negtf2.c: Likewise.
6165 * soft-fp/op-1.h: Likewise.
6166 * soft-fp/op-2.h: Likewise.
6167 * soft-fp/op-4.h: Likewise.
6168 * soft-fp/op-8.h: Likewise.
6169 * soft-fp/op-common.h: Likewise.
6170 * soft-fp/quad.h: Likewise.
6171 * soft-fp/single.h: Likewise.
6172 * soft-fp/soft-fp.h: Likewise.
6173 * soft-fp/subdf3.c: Likewise.
6174 * soft-fp/subsf3.c: Likewise.
6175 * soft-fp/subtf3.c: Likewise.
6176 * soft-fp/truncdfsf2.c: Likewise.
6177 * soft-fp/trunctfdf2.c: Likewise.
6178 * soft-fp/trunctfsf2.c: Likewise.
6179 * soft-fp/trunctfxf2.c: Likewise.
6180 * soft-fp/unorddf2.c: Likewise.
6181 * soft-fp/unordsf2.c: Likewise.
6182 * soft-fp/unordtf2.c: Likewise.
6183 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6184 macro.
6185 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6186 Likewise.
6187 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6188 Likewise.
6189 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6190 Likewise.
6191 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6192 Likewise.
6193 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6194 Likewise.
6195 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6196 Likewise.
6197 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6198 Likewise.
6199 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6200 Likewise.
6201 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6202 Likewise.
6203 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6204 Likewise.
6205 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6206 Likewise.
6207 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6208 Likewise.
6209 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6210 Likewise.
6211 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6212 Likewise.
6213 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6214 Likewise.
6215
6216 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6217
6218 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6219 cannot be represented.
6220 * config/s390/32/_fixsfdi.c: Likewise.
6221 * config/s390/32/_fixtfdi.c: Likewise.
6222 * config/s390/32/_fixunsdfdi.c: Likewise.
6223 * config/s390/32/_fixunssfdi.c: Likewise.
6224 * config/s390/32/_fixunstfdi.c: Likewise.
6225
6226 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6227
6228 * configure.ac (libgcc_cv_mips_hard_float): New.
6229 * configure: Regenerate.
6230 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6231 t-softfp-sfdf for hard-float targets.
6232 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6233 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6234 (softfp_truncations, softfp_exclude_libgcc2): New.
6235 * config/t-hardfp: New file.
6236 * config/t-hardfp-sfdf: Likewise.
6237 * config/hardfp.c: Likewise.
6238
6239 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6240
6241 * config.host: Include t-floattodi also for s390x.
6242 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6243 * config/s390/32/_fixsfdi.c: Likewise.
6244 * config/s390/32/_fixtfdi.c: Likewise.
6245 * config/s390/32/_fixunsdfdi.c: Likewise.
6246 * config/s390/32/_fixunssfdi.c: Likewise.
6247 * config/s390/32/_fixunstfdi.c: Likewise.
6248
6249 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6250
6251 PR target/59788
6252 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6253 (install-libgcc-unwind-map-forbuild): New target.
6254 (all): Depend on install-libgcc-unwind-map-forbuild.
6255 (install-libgcc-unwind-map): New target.
6256 (install): Depend on install-libgcc-unwind-map.
6257
6258 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6259
6260 * config/nios2/crti.S (_init): Initialize GOT pointer from
6261 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6262
6263 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6264
6265 * configure.ac: Check __mips64 when setting host_address.
6266 * configure: Regenerate.
6267 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6268 mips/t-mips64 and t-softfp.
6269 (mips*-*-linux*): Don't add mips/t-tpbit.
6270 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6271 (DPBIT, DPBIT_CFLAGS): Delete.
6272 * config/mips/sfp-machine.h: New file.
6273 * config/mips/t-mips64: Likewise.
6274 * config/mips/t-softfp-tf: Likewise.
6275 * config/mips/t-tpbit: Delete.
6276
6277 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6278
6279 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6280 as long long.
6281
6282 2014-01-25 Walter Lee <walt@tilera.com>
6283
6284 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6285 config.h or system.h.
6286 (bool) Define.
6287
6288 2014-01-25 Walter Lee <walt@tilera.com>
6289
6290 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6291 (post_atomic_barrier): Ditto.
6292 (__fetch_and_do): New macro.
6293 (__atomic_fetch_and_do): Use __fetch_and_do.
6294 (__sync_fetch_and_do): New macro.
6295 (__sync_fetch_and_add_4): New function.
6296 (__sync_fetch_and_sub_4): New function.
6297 (__sync_fetch_and_or_4): New function.
6298 (__sync_fetch_and_and_4): New function.
6299 (__sync_fetch_and_xor_4): New function.
6300 (__sync_fetch_and_nand_4): New function.
6301 (__sync_fetch_and_add_8): New function.
6302 (__sync_fetch_and_sub_8): New function.
6303 (__sync_fetch_and_or_8): New function.
6304 (__sync_fetch_and_and_8): New function.
6305 (__sync_fetch_and_xor_8): New function.
6306 (__sync_fetch_and_nand_8): New function.
6307 (__do_and_fetch): New macro.
6308 (__atomic_do_and_fetch): Use __do_and_fetch.
6309 (__sync_do_and_fetch): New macro.
6310 (__sync_add_and_fetch_4): New function.
6311 (__sync_sub_and_fetch_4): New function.
6312 (__sync_or_and_fetch_4): New function.
6313 (__sync_and_and_fetch_4): New function.
6314 (__sync_xor_and_fetch_4): New function.
6315 (__sync_nand_and_fetch_4): New function.
6316 (__sync_add_and_fetch_8): New function.
6317 (__sync_sub_and_fetch_8): New function.
6318 (__sync_or_and_fetch_8): New function.
6319 (__sync_and_and_fetch_8): New function.
6320 (__sync_xor_and_fetch_8): New function.
6321 (__sync_nand_and_fetch_8): New function.
6322 (__sync_exchange_methods): New macro.
6323 (__sync_val_compare_and_swap_4): New function.
6324 (__sync_bool_compare_and_swap_4): New function.
6325 (__sync_lock_test_and_test_4): New function.
6326 (__sync_val_compare_and_swap_8): New function.
6327 (__sync_bool_compare_and_swap_8): New function.
6328 (__sync_lock_test_and_test_8): New function.
6329 (__subword_cmpxchg_body): New macro.
6330 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6331 (__atomic_compare_exchange_2): Ditto.
6332 (__sync_subword_cmpxchg): New macro.
6333 (__sync_val_compare_and_swap_1): New function.
6334 (__sync_bool_compare_and_swap_1): New function.
6335 (__sync_val_compare_and_swap_2): New function.
6336 (__sync_bool_compare_and_swap_2): New function.
6337 (__atomic_subword): Rename to ...
6338 (__subword): ... New name.
6339 (__atomic_subword_fetch): Use __subword.
6340 (__sync_subword_fetch): New macro.
6341 (__sync_fetch_and_add_1): New function.
6342 (__sync_fetch_and_sub_1): New function.
6343 (__sync_fetch_and_or_1): New function.
6344 (__sync_fetch_and_and_1): New function.
6345 (__sync_fetch_and_xor_1): New function.
6346 (__sync_fetch_and_nand_1): New function.
6347 (__sync_fetch_and_add_2): New function.
6348 (__sync_fetch_and_sub_2): New function.
6349 (__sync_fetch_and_or_2): New function.
6350 (__sync_fetch_and_and_2): New function.
6351 (__sync_fetch_and_xor_2): New function.
6352 (__sync_fetch_and_nand_2): New function.
6353 (__sync_add_and_fetch_1): New function.
6354 (__sync_sub_and_fetch_1): New function.
6355 (__sync_or_and_fetch_1): New function.
6356 (__sync_and_and_fetch_1): New function.
6357 (__sync_xor_and_fetch_1): New function.
6358 (__sync_nand_and_fetch_1): New function.
6359 (__sync_add_and_fetch_2): New function.
6360 (__sync_sub_and_fetch_2): New function.
6361 (__sync_or_and_fetch_2): New function.
6362 (__sync_and_and_fetch_2): New function.
6363 (__sync_xor_and_fetch_2): New function.
6364 (__sync_nand_and_fetch_2): New function.
6365 (__atomic_subword_lock): Use __subword.
6366 (__sync_subword_lock): New macro.
6367 (__sync_lock_test_and_set_1): New function.
6368 (__sync_lock_test_and_set_2): New function.
6369
6370 2014-01-25 Walter Lee <walt@tilera.com>
6371
6372 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6373 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6374 (__atomic_subword): Ditto.
6375
6376 2014-01-25 Walter Lee <walt@tilera.com>
6377
6378 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6379 a prefix op argument.
6380 (__atomic_nand_fetch_4): Add prefix op.
6381 (__atomic_nand_fetch_8): Ditto.
6382
6383 2014-01-21 Baruch Siach <barch@tkos.co.il>
6384
6385 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6386
6387 2014-01-09 Rong Xu <xur@google.com>
6388
6389 * libgcov-driver.c (this_prg): make it local to save
6390 bss space.
6391 (gcov_exit_compute_summary): Ditto.
6392 (gcov_exit_merge_gcda): Ditto.
6393 (gcov_exit_merge_summary): Ditto.
6394 (gcov_exit_dump_gcov): Ditto.
6395
6396 2014-01-08 Rong Xu <xur@google.com>
6397
6398 * libgcov-driver.c: Use libgcov.h.
6399 (buffer_fn_data): Use xmalloc instead of malloc.
6400 (gcov_exit_merge_gcda): Ditto.
6401 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6402 * libgcov.h: New common header files for libgcov-*.h.
6403 * libgcov-interface.c: Use libgcov.h
6404 * libgcov-merge.c: Ditto.
6405 * libgcov-profiler.c: Ditto.
6406 * Makefile.in: Add dependence to libgcov.h
6407
6408 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6409
6410 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6411 case of small numerator and finite nonzero result.
6412
6413 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6414
6415 Update copyright years
6416
6417 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6418
6419 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6420 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6421 config/arc/dp-hack.h, config/arc/fp-hack.h,
6422 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6423 config/arc/ieee-754/arc600-dsp/divdf3.S,
6424 config/arc/ieee-754/arc600-dsp/divsf3.S,
6425 config/arc/ieee-754/arc600-dsp/muldf3.S,
6426 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6427 config/arc/ieee-754/arc600-mul64/divdf3.S,
6428 config/arc/ieee-754/arc600-mul64/divsf3.S,
6429 config/arc/ieee-754/arc600-mul64/muldf3.S,
6430 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6431 config/arc/ieee-754/arc600/divsf3.S,
6432 config/arc/ieee-754/arc600/mulsf3.S,
6433 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6434 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6435 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6436 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6437 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6438 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6439 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6440 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6441 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6442 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6443 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6444 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6445 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6446 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6447 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6448 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6449 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6450 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6451 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6452 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6453 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6454 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6455 vtv_start_preinit.c: Use the standard form for the copyright notice.
6456
6457 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6458 Chung-Lin Tang <cltang@codesourcery.com>
6459 Based on patches from Altera Corporation
6460
6461 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6462 * config/nios2/lib2-nios2.h: New file.
6463 * config/nios2/lib2-divmod-hi.c: New file.
6464 * config/nios2/linux-unwind.h: New file.
6465 * config/nios2/lib2-divmod.c: New file.
6466 * config/nios2/linux-atomic.c: New file.
6467 * config/nios2/t-nios2: New file.
6468 * config/nios2/crti.asm: New file.
6469 * config/nios2/t-linux: New file.
6470 * config/nios2/lib2-divtable.c: New file.
6471 * config/nios2/lib2-mul.c: New file.
6472 * config/nios2/tramp.c: New file.
6473 * config/nios2/crtn.asm: New file.
6474
6475 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
6476
6477 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6478 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6479 from cpuid.h to check vendor signatures.
6480
6481 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6482
6483 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6484 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6485 (get_amd_cpu): Likewise.
6486
6487 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6488
6489 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6490 Haswell.
6491
6492 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6493 H.J. Lu <hongjiu.lu@intel.com>
6494
6495 PR target/59422
6496 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
6497 and AMD_JAGUAR.
6498 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6499 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6500 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6501 FEATURE_XOP and FEATURE_FMA.
6502 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6503 AMDFAM15H_BDVER3.
6504 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6505 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6506 FEATURE_FMA4 and FEATURE_XOP.
6507
6508 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6509
6510 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6511 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6512 (get_intel_cpu): Updated.
6513
6514 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6515
6516 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6517
6518 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6519
6520 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6521 instructions when __SSE_MATH__ is defined.
6522
6523 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6524
6525 * config.host (microblaze-*-rtems*): New.
6526
6527 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6528
6529 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6530 architectures that do not have hardware divide instruction.
6531 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6532
6533 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6534
6535 * longlong.h: Delete (moved to include/).
6536
6537 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6538
6539 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6540 of normal number and qNaN to not raise an inexact exception.
6541
6542 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6543
6544 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6545
6546 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6547
6548 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6549 for correct opcodes on BE.
6550
6551 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6552
6553 * soft-fp/op-4.h: Update from glibc.
6554
6555 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6556
6557 * libgcc2.c (__udivmoddi4): Define new implementation when
6558 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6559 divide instructions.
6560
6561 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6562
6563 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6564
6565 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6566
6567 * config/t-softfp (soft-fp-objects-base): New variable.
6568 (soft-fp-objects): Use it.
6569
6570 2013-11-23 David Edelson <dje.gcc@gmail.com>
6571 Andrew Dixie <andrewd@gentrack.com>
6572
6573 PR target/33704
6574 * config/rs6000/aixinitfini.c: New file.
6575 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6576 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6577 symbols.
6578
6579 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6580
6581 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6582
6583 2013-11-18 Jan Hubicka <jh@suse.cz>
6584
6585 * libgcov-driver.c (run_accounted): Make global level static.
6586 (gcov_exit_merge_summary): Silence warning; do not clear
6587 run_accounted here.
6588 (gcov_exit): Clear it here.
6589
6590 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6591 run_accounted.
6592
6593 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6594 (all_prg, crc32): Remove static vars.
6595 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6596 all_prg.
6597 (gcov_exit_merge_gcda): Add crc32 parameter.
6598 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6599 do not account run if it was already accounted.
6600 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6601 (gcov_exit): Initialize all_prg; update.
6602
6603 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6604
6605 * configure: Regenerate.
6606
6607 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6608 Alan Modra <amodra@gmail.com>
6609
6610 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6611 (frob_update_context): Use it.
6612
6613 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6614 Alan Modra <amodra@gmail.com>
6615
6616 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6617 (trampoline_initial): Provide ELFv2 variant.
6618 (__trampoline_setup): Likewise.
6619
6620 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6621 check for AIX indirect function call sequence if _CALL_ELF == 2.
6622
6623 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6624 Alan Modra <amodra@gmail.com>
6625
6626 * config/rs6000/linux-unwind.h (get_regs): Do not support
6627 old kernel versions if _CALL_ELF == 2.
6628 (frob_update_context): Do not support PLT stub variants only
6629 generated by old linkers if _CALL_ELF == 2.
6630
6631 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6632 Alan Modra <amodra@gmail.com>
6633
6634 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6635 location of CR save area for 64-bit little-endian systems.
6636
6637 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6638
6639 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6640 in tmake_file.
6641 * config/arm/t-vxworks: Delete.
6642
6643 2013-11-10 Kai Tietz <ktietz@redhat.com>
6644
6645 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6646 Increment load-count on use of LIBGCC_SONAME DLL.
6647 (hmod_libgcc): New static variable to hold handle of
6648 LIBGCC_SONAME DLL.
6649 (__gcc_deregister_frame): Decrement load-count of
6650 LIBGCC_SONAME DLL.
6651
6652 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6653
6654 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6655 availability.
6656 * configure: Regenerate
6657
6658 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6659
6660 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6661 FP_EX_DENORM. Store result to volatile location after SSE division
6662 to close interrupt window. Remove unneeded fwait after x87
6663 division since interrupt window will be closed by emitted fstp.
6664 Rewrite FP_EX_INEXACT handling.
6665
6666 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6667
6668 * soft-fp/README: Update.
6669 * soft-fp/adddf3.c: Update from glibc.
6670 * soft-fp/addsf3.c: Likewise.
6671 * soft-fp/addtf3.c: Likewise.
6672 * soft-fp/divdf3.c: Likewise.
6673 * soft-fp/divsf3.c: Likewise.
6674 * soft-fp/divtf3.c: Likewise.
6675 * soft-fp/double.h: Likewise.
6676 * soft-fp/eqdf2.c: Likewise.
6677 * soft-fp/eqsf2.c: Likewise.
6678 * soft-fp/eqtf2.c: Likewise.
6679 * soft-fp/extenddftf2.c: Likewise.
6680 * soft-fp/extended.h: Likewise.
6681 * soft-fp/extendsfdf2.c: Likewise.
6682 * soft-fp/extendsftf2.c: Likewise.
6683 * soft-fp/extendxftf2.c: Likewise.
6684 * soft-fp/fixdfdi.c: Likewise.
6685 * soft-fp/fixdfsi.c: Likewise.
6686 * soft-fp/fixdfti.c: Likewise.
6687 * soft-fp/fixsfdi.c: Likewise.
6688 * soft-fp/fixsfsi.c: Likewise.
6689 * soft-fp/fixsfti.c: Likewise.
6690 * soft-fp/fixtfdi.c: Likewise.
6691 * soft-fp/fixtfsi.c: Likewise.
6692 * soft-fp/fixtfti.c: Likewise.
6693 * soft-fp/fixunsdfdi.c: Likewise.
6694 * soft-fp/fixunsdfsi.c: Likewise.
6695 * soft-fp/fixunsdfti.c: Likewise.
6696 * soft-fp/fixunssfdi.c: Likewise.
6697 * soft-fp/fixunssfsi.c: Likewise.
6698 * soft-fp/fixunssfti.c: Likewise.
6699 * soft-fp/fixunstfdi.c: Likewise.
6700 * soft-fp/fixunstfsi.c: Likewise.
6701 * soft-fp/fixunstfti.c: Likewise.
6702 * soft-fp/floatdidf.c: Likewise.
6703 * soft-fp/floatdisf.c: Likewise.
6704 * soft-fp/floatditf.c: Likewise.
6705 * soft-fp/floatsidf.c: Likewise.
6706 * soft-fp/floatsisf.c: Likewise.
6707 * soft-fp/floatsitf.c: Likewise.
6708 * soft-fp/floattidf.c: Likewise.
6709 * soft-fp/floattisf.c: Likewise.
6710 * soft-fp/floattitf.c: Likewise.
6711 * soft-fp/floatundidf.c: Likewise.
6712 * soft-fp/floatundisf.c: Likewise.
6713 * soft-fp/floatunditf.c: Likewise.
6714 * soft-fp/floatunsidf.c: Likewise.
6715 * soft-fp/floatunsisf.c: Likewise.
6716 * soft-fp/floatunsitf.c: Likewise.
6717 * soft-fp/floatuntidf.c: Likewise.
6718 * soft-fp/floatuntisf.c: Likewise.
6719 * soft-fp/floatuntitf.c: Likewise.
6720 * soft-fp/gedf2.c: Likewise.
6721 * soft-fp/gesf2.c: Likewise.
6722 * soft-fp/getf2.c: Likewise.
6723 * soft-fp/ledf2.c: Likewise.
6724 * soft-fp/lesf2.c: Likewise.
6725 * soft-fp/letf2.c: Likewise.
6726 * soft-fp/muldf3.c: Likewise.
6727 * soft-fp/mulsf3.c: Likewise.
6728 * soft-fp/multf3.c: Likewise.
6729 * soft-fp/negdf2.c: Likewise.
6730 * soft-fp/negsf2.c: Likewise.
6731 * soft-fp/negtf2.c: Likewise.
6732 * soft-fp/op-1.h: Likewise.
6733 * soft-fp/op-2.h: Likewise.
6734 * soft-fp/op-4.h: Likewise.
6735 * soft-fp/op-8.h: Likewise.
6736 * soft-fp/op-common.h: Likewise.
6737 * soft-fp/quad.h: Likewise.
6738 * soft-fp/single.h: Likewise.
6739 * soft-fp/soft-fp.h: Likewise.
6740 * soft-fp/subdf3.c: Likewise.
6741 * soft-fp/subsf3.c: Likewise.
6742 * soft-fp/subtf3.c: Likewise.
6743 * soft-fp/truncdfsf2.c: Likewise.
6744 * soft-fp/trunctfdf2.c: Likewise.
6745 * soft-fp/trunctfsf2.c: Likewise.
6746 * soft-fp/trunctfxf2.c: Likewise.
6747 * soft-fp/unorddf2.c: Likewise.
6748 * soft-fp/unordsf2.c: Likewise.
6749 * soft-fp/unordtf2.c: Likewise.
6750
6751 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6752
6753 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6754 (_FP_MUL_MEAT_D): Ditto.
6755 (_FP_DIV_MEAT_S): Ditto.
6756 (_FP_DIV_MEAT_D): Ditto.
6757 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6758 t-softfp-sfdf and t-softfp to tmake_file.
6759
6760 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6761
6762 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6763 * config/i386/crtprec.c: Ditto.
6764
6765 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6766 Shiva Chen <shiva0217@gmail.com>
6767
6768 * config.host (nds32*-elf*): Add nds32 target.
6769 * config/nds32 : New directory and files.
6770
6771 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6772
6773 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6774 * config.host (cpu_type) <Setting default>: Add entry for
6775 crisv32-*-*.
6776 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6777 <crisv32-*-linux*>: Adjust.
6778 * longlong.h: Wrap the whole CRIS section in a single
6779 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6780 and sub_ddmmss.
6781 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6782 defined.
6783 [__CRIS__] (__umulsidi3): Define.
6784 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6785 * config/cris/sfp-machine.h: New file.
6786 * config/cris/umulsidi3.S: New file.
6787 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6788 * config/cris/arit.c (SIGNMULT): New macro.
6789 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6790 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6791 saving 3 out of originally 33 cycles from the fastest
6792 path, 3 out of 54 from the medium path and one from the longest
6793 path. Improve comments.
6794
6795 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6796
6797 * sync.c: Remove static aliases and define each function directly
6798 under its real name.
6799
6800 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6801
6802 * config.host (hppa*64*-*-linux*): Define extra_parts.
6803 (hppa*-*-linux*): Likewise.
6804
6805 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6806
6807 * config/arc/crtgend.S: Add 2013 to Copyright years.
6808 * config/arc/gmon/atomic.h: Likewise.
6809 * config/arc/gmon/auxreg.h: Likewise.
6810 * config/arc/gmon/sys/gmon_out.h: Likewise.
6811 * config/arc/gmon/sys/gmon.h: Likewise.
6812 * config/arc/gmon/prof-freq.c: Likewise.
6813 * config/arc/gmon/mcount.c: Likewise.
6814 * config/arc/gmon/prof-freq-stub.S: Likewise.
6815 * config/arc/gmon/gmon.c: Likewise.
6816 * config/arc/gmon/machine-gmon.h: Likewise.
6817 * config/arc/gmon/profil.S: Likewise.
6818 * config/arc/gmon/dcache_linesz.S: Likewise.
6819 * config/arc/crtg.S: Likewise.
6820 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6821 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6822 * config/arc/ieee-754/adddf3.S: Likewise.
6823 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6824 * config/arc/ieee-754/fixsfsi.S: Likewise.
6825 * config/arc/ieee-754/gtsf2.S: Likewise.
6826 * config/arc/ieee-754/floatsisf.S: Likewise.
6827 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6828 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6829 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6830 * config/arc/ieee-754/fixdfsi.S: Likewise.
6831 * config/arc/ieee-754/addsf3.S: Likewise.
6832 * config/arc/ieee-754/gesf2.S: Likewise.
6833 * config/arc/ieee-754/floatsidf.S: Likewise.
6834 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6835 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6836 * config/arc/ieee-754/gtdf2.S: Likewise.
6837 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6838 * config/arc/ieee-754/uneqdf2.S: Likewise.
6839 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6840 * config/arc/ieee-754/uneqsf2.S: Likewise.
6841 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6842 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6843 * config/arc/ieee-754/eqdf2.S: Likewise.
6844 * config/arc/ieee-754/ordsf2.S: Likewise.
6845 * config/arc/ieee-754/divsf3.S: Likewise.
6846 * config/arc/ieee-754/divdf3.S: Likewise.
6847 * config/arc/ieee-754/floatunsidf.S: Likewise.
6848 * config/arc/ieee-754/orddf2.S: Likewise.
6849 * config/arc/ieee-754/eqsf2.S: Likewise.
6850 * config/arc/ieee-754/gedf2.S: Likewise.
6851 * config/arc/crtn.S: Likewise.
6852 * config/arc/crti.S: Likewise.
6853 * config/arc/t-arc700-uClibc: Likewise.
6854 * config/arc/asm.h: Likewise.
6855 * config/arc/libgcc-excl.ver: Likewise.
6856 * config/arc/t-arc-newlib: Likewise.
6857 * config/arc/divtab-arc700.c: Likewise.
6858 * config/arc/initfini.c: Likewise.
6859 * config/arc/fp-hack.h: Likewise.
6860
6861 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6862 Diego Novillo <dnovillo@google.com>
6863
6864 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6865 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6866 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6867 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6868
6869 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6870 Brendan Kehoe <brendan@zen.org>
6871 Simon Cook <simon.cook@embecosm.com>
6872
6873 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6874 * config/arc: New directory.
6875 * longlong.h [__arc__] (umul_ppmm): Remove.
6876 [__arc__] (__umulsidi3): Define.
6877 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6878 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6879
6880 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6881
6882 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6883 CreateSemaphoreA.
6884 * config/i386/gthr-win32.h: Likewise.
6885
6886 2013-09-16 DJ Delorie <dj@redhat.com>
6887
6888 * config/rl78/vregs.h: Add G10 register definitions.
6889 * config/rl78/lib2mul.c: Enable for RL78/G10.
6890 * config/rl78/lib2div.c: Likewise.
6891 * config/rl78/lshrsi3.S: Use vregs.h.
6892 * config/rl78/cmpsi2.S: Likewise.
6893 * config/rl78/trampoline.S: Likewise.
6894 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6895
6896 2013-09-14 DJ Delorie <dj@redhat.com>
6897 Nick Clifton <nickc@redhat.com>
6898
6899 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6900 * config/rl78/vregs.h: New.
6901 * config/rl78/signbit.S: New file. Implements signbit function.
6902 * config/rl78/divmodsi.S: New.
6903 * config/rl78/divmodhi.S: New.
6904 * config/rl78/divmodqi.S: New.
6905 * config/rl78/t-rl78: Build them here...
6906 * config/rl78/lib2div.c: ...but not here.
6907
6908 2013-09-12 DJ Delorie <dj@redhat.com>
6909
6910 * config.host (msp*-*-elf): New.
6911 * config/msp430/: New port.
6912
6913 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6914
6915 PR gcov-profile/58127
6916 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6917 __thread var for emulated TLS.
6918 (__gcov_indirect_call_counters): Likewise.
6919
6920 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6921 Catherine Moore <clm@codesourcery.com>
6922 Richard Sandiford <rdsandiford@googlemail.com>
6923
6924 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6925 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6926 (CALL_STUB_NO_RET): Likewise.
6927 (CALL_STUB_RET): Likewise.
6928 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6929 __mips16_ret call/return stub symbols.
6930 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6931 to tmake_file.
6932
6933 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6934
6935 * config.host <mips*-*-linux*>: Remove a stray comment.
6936
6937 2013-08-10 Jan Hubicka <jh@suse.cz>
6938
6939 Work around binutils PR14342
6940 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6941 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6942 (L_gcov_indirect_call_profiler_v2): New.
6943
6944 2013-08-06 Jan Hubicka <jh@suse.cz>
6945
6946 * libgcov.c (__gcov_indirect_call_callee,
6947 __gcov_indirect_call_counters): New global vars.
6948 (__gcov_indirect_call_profiler): replace by ...
6949 (__gcov_indirect_call_profiler_v2) ... this one.
6950
6951 2013-08-06 Caroline Tice <cmtice@google.com>
6952
6953 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6954 vtv_start_preinit.o and vtv_end_preinit.o.
6955 * configure.ac: Add code to check/set enable_vtable_verify.
6956 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6957 true.
6958 * vtv_start_preinit.c: New file.
6959 * vtv_end_preinit.c: New file.
6960 * vtv_start.c: New file.
6961 * vtv_end.c: New file.
6962 * configure: Regenerated.
6963
6964 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6965
6966 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6967 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6968 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6969 GPL-3.0-with-GCC-exception.
6970
6971 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6972
6973 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6974 ISA and up.
6975
6976 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6977
6978 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6979 mapping for FPRs when creating the fallback framestate.
6980
6981 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6982
6983 PR target/57516
6984 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6985 (__round_s2_const, __round_u2_const)
6986 (__round_s4_const, __round_u4_const, __round_x8):
6987 Saturate result if addition result cannot be represented.
6988
6989 2013-07-15 Matthias Klose <doko@ubuntu.com>
6990
6991 * libgcc2.c: Don't include <limits.h>.
6992
6993 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6994
6995 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6996
6997 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6998
6999 PR target/29776
7000 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7001
7002 2013-06-28 Jakub Jelinek <jakub@redhat.com>
7003
7004 PR middle-end/36041
7005 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7006 Define.
7007 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7008 instead of table lookups.
7009 (__popcountDI2): Likewise.
7010
7011 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7012
7013 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7014 correctly.
7015
7016 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7017
7018 PR other/53317
7019 * soft-fp/adddf3.c: Update from glibc.
7020 * soft-fp/addsf3.c: Likewise.
7021 * soft-fp/addtf3.c: Likewise.
7022 * soft-fp/divdf3.c: Likewise.
7023 * soft-fp/divsf3.c: Likewise.
7024 * soft-fp/divtf3.c: Likewise.
7025 * soft-fp/double.h: Likewise.
7026 * soft-fp/eqdf2.c: Likewise.
7027 * soft-fp/eqsf2.c: Likewise.
7028 * soft-fp/eqtf2.c: Likewise.
7029 * soft-fp/extenddftf2.c: Likewise.
7030 * soft-fp/extended.h: Likewise.
7031 * soft-fp/extendsfdf2.c: Likewise.
7032 * soft-fp/extendsftf2.c: Likewise.
7033 * soft-fp/fixdfdi.c: Likewise.
7034 * soft-fp/fixdfsi.c: Likewise.
7035 * soft-fp/fixsfdi.c: Likewise.
7036 * soft-fp/fixsfsi.c: Likewise.
7037 * soft-fp/fixtfdi.c: Likewise.
7038 * soft-fp/fixtfsi.c: Likewise.
7039 * soft-fp/fixunsdfdi.c: Likewise.
7040 * soft-fp/fixunsdfsi.c: Likewise.
7041 * soft-fp/fixunssfdi.c: Likewise.
7042 * soft-fp/fixunssfsi.c: Likewise.
7043 * soft-fp/fixunstfdi.c: Likewise.
7044 * soft-fp/fixunstfsi.c: Likewise.
7045 * soft-fp/floatdidf.c: Likewise.
7046 * soft-fp/floatdisf.c: Likewise.
7047 * soft-fp/floatditf.c: Likewise.
7048 * soft-fp/floatsidf.c: Likewise.
7049 * soft-fp/floatsisf.c: Likewise.
7050 * soft-fp/floatsitf.c: Likewise.
7051 * soft-fp/floatundidf.c: Likewise.
7052 * soft-fp/floatundisf.c: Likewise.
7053 * soft-fp/floatunditf.c: Likewise.
7054 * soft-fp/floatunsidf.c: Likewise.
7055 * soft-fp/floatunsisf.c: Likewise.
7056 * soft-fp/floatunsitf.c: Likewise.
7057 * soft-fp/gedf2.c: Likewise.
7058 * soft-fp/gesf2.c: Likewise.
7059 * soft-fp/getf2.c: Likewise.
7060 * soft-fp/ledf2.c: Likewise.
7061 * soft-fp/lesf2.c: Likewise.
7062 * soft-fp/letf2.c: Likewise.
7063 * soft-fp/muldf3.c: Likewise.
7064 * soft-fp/mulsf3.c: Likewise.
7065 * soft-fp/multf3.c: Likewise.
7066 * soft-fp/negdf2.c: Likewise.
7067 * soft-fp/negsf2.c: Likewise.
7068 * soft-fp/negtf2.c: Likewise.
7069 * soft-fp/op-1.h: Likewise.
7070 * soft-fp/op-2.h: Likewise.
7071 * soft-fp/op-4.h: Likewise.
7072 * soft-fp/op-8.h: Likewise.
7073 * soft-fp/op-common.h: Likewise.
7074 * soft-fp/quad.h: Likewise.
7075 * soft-fp/single.h: Likewise.
7076 * soft-fp/soft-fp.h: Likewise.
7077 * soft-fp/subdf3.c: Likewise.
7078 * soft-fp/subsf3.c: Likewise.
7079 * soft-fp/subtf3.c: Likewise.
7080 * soft-fp/truncdfsf2.c: Likewise.
7081 * soft-fp/trunctfdf2.c: Likewise.
7082 * soft-fp/trunctfsf2.c: Likewise.
7083 * soft-fp/unorddf2.c: Likewise.
7084 * soft-fp/unordsf2.c: Likewise.
7085 * soft-fp/unordtf2.c: Likewise.
7086 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7087 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7088 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7089 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7090 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7091 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7092 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7093 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7094 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7095 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7096 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7097 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7098
7099 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7100
7101 * config/mips/lib2funcs.c: New file.
7102 * config/mips/t-mips (LIB2ADD_ST): Add it.
7103
7104 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7105
7106 PR target/6526
7107 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7108 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7109
7110 2013-06-08 Walter Lee <walt@tilera.com>
7111
7112 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7113 Replace int64_t with long long. Add __extension__ where
7114 appropriate.
7115 * config/tilepro/atomic.c: Include config.h.
7116
7117 2013-06-06 Douglas B Rupp <rupp@adacore.com>
7118
7119 * config.host (arm-wrs-vxworks): Configure with other soft float.
7120
7121 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7122
7123 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7124 (mips64r5900el-*-elf*): New configurations.
7125
7126 2013-06-04 Alan Modra <amodra@gmail.com>
7127
7128 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7129
7130 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7131
7132 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7133
7134 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7135
7136 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7137 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7138 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7139
7140 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7141
7142 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7143 (powerpc-wrs-vxworks): Likewise.
7144
7145 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7146
7147 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7148 signal frames as well.
7149 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7150 STACK_BIAS to the CFA offset.
7151
7152 2013-05-17 Richard Henderson <rth@redhat.com>
7153
7154 PR target/49146
7155 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7156 (execute_cfa_program): Use it when storing to fs->regs.
7157
7158 2013-05-08 Kai Tietz <ktietz@redhat.com>
7159
7160 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7161 (__deregister_frame_info): Likewise.
7162
7163 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7164
7165 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7166 NaN's payload.
7167
7168 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7169
7170 2013-04-25 Alan Modra <amodra@gmail.com>
7171
7172 * config.host: Match little-endian powerpc-linux.
7173
7174 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7175
7176 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7177 as 'unsigned long long' instead of 'unsigned long'.
7178 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7179 'signed long'.
7180
7181 2013-04-10 Julian Brown <julian@codesourcery.com>
7182
7183 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7184 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7185 unsigned char/unsigned short.
7186 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7187
7188 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7189
7190 PR other/55274
7191 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7192
7193 2013-04-04 Meador Inge <meadori@codesourcery.com>
7194
7195 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7196 computing the location of the link register.
7197 (aeabi_uldivmod): Ditto.
7198
7199 2013-03-27 Kai Tietz <ktietz@redhat.com>
7200
7201 * config.host: Add support for cygwin x64 target.
7202 * configure: Regenerated.
7203
7204 2013-03-26 Walter Lee <walt@tilera.com>
7205
7206 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7207 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7208
7209 2013-03-25 Kai Tietz <ktietz@redhat.com>
7210
7211 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7212
7213 2013-03-20 Robert Mason <rbmj@verizon.net>
7214
7215 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7216 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7217 (__gthread_leave_tsd_dtor_context): Add prototypes.
7218 (tls_delete_hook): Update.
7219
7220 2013-03-20 Catherine Moore <clm@codesourcery.com>
7221 Joseph Myers <joseph@codesourcery.com>
7222 Chao-ying Fu <fu@mips.com>
7223
7224 * config/mips/mips16.S: Don't build for microMIPS.
7225 * config/mips/linux-unwind.h: Handle microMIPS frame.
7226 * config/mips/crtn.S (fini, init): New labels.
7227
7228 2013-03-14 Jakub Jelinek <jakub@redhat.com>
7229
7230 PR tree-optimization/53265
7231 * unwind-dw2.c (execute_cfa_program): Avoid
7232 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7233 on targets with DWARF_FRAME_REGISTERS < 32.
7234
7235 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7236
7237 PR target/49880
7238 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7239 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7240
7241 2013-03-07 Sriraman Tallam <tmsriram@google.com>
7242
7243 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7244 sandybridge processors.
7245
7246 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7247
7248 PR target/56529
7249 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7250 inclusion list.
7251
7252 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7253
7254 * config/microblaze/crti.S: Setup stack protection at entry
7255
7256 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
7257
7258 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7259 (__rotldi3): Shift bytewise if applicable.
7260
7261 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7262
7263 * config/aarch64/sync-cache.c
7264 (__aarch64_sync_cache_range): Silence warnings.
7265
7266 2013-02-25 Catherine Moore <clm@codesourcery.com>
7267
7268 Revert:
7269 2013-02-24 Catherine Moore <clm@codesourcery.com>
7270 Joseph Myers <joseph@codesourcery.com>
7271 Chao-ying Fu <fu@mips.com>
7272
7273 * config/mips/mips16.S: Don't build for microMIPS.
7274 * config/mips/linux-unwind.h: Handle microMIPS frame.
7275 * config/mips/crtn.S (fini, init): New labels.
7276
7277 2013-02-24 Catherine Moore <clm@codesourcery.com>
7278 Joseph Myers <joseph@codesourcery.com>
7279 Chao-ying Fu <fu@mips.com>
7280
7281 * config/mips/mips16.S: Don't build for microMIPS.
7282 * config/mips/linux-unwind.h: Handle microMIPS frame.
7283 * config/mips/crtn.S (fini, init): New labels.
7284
7285 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7286 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7287 as dividend.
7288
7289 2013-02-16 Alan Modra <amodra@gmail.com>
7290
7291 PR target/55431
7292 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7293 (ppc_fallback_frame_state): Always set up save locations for fp
7294 and altivec. Don't bother with non-callee-saved regs, r0-r13
7295 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7296
7297 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
7298
7299 PR target/54222
7300 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7301 _ssmulHA, _ssmulSA.
7302 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7303 _ssmulha3, _usmulusa3, _ssmulsa3.
7304 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7305 (__muldi3): XCALL __muldi3_6 instead of rcall.
7306 (__umulsidi3, __mulsidi3): New functions.
7307 (do_prologue_saves, do_epilogue_restores): New .macros.
7308 (__divdi3_moddi3): Use them.
7309 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7310 (__usmulusa3, __ssmulsa3): New functions.
7311
7312 2013-02-11 Iain Sandoe <iain@codesourcery.com>
7313 Jack Howarth <howarth@bromo.med.uc.edu>
7314 Patrick Marlier <patrick.marlier@gmail.com>
7315
7316 PR libitm/55693
7317 * config/darwin-crt-tm.c: Remove dummy functions hack.
7318
7319 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
7320
7321 PR target/54222
7322 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7323 * config/avr/lib2-object.mk: New iterator to build objects from it.
7324 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7325 lib2funcs.c.
7326 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7327 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7328 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7329 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7330 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7331 * config/avr/lib1funcs-fixed.S: Implement them.
7332
7333 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7334
7335 Update copyright years.
7336
7337 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
7338
7339 PR target/54601
7340 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7341 Add crtcxa to extra_parts.
7342 * config/rs6000/exit.h: New file.
7343 * config/rs6000/cxa_atexit.c: New file.
7344 * config/rs6000/cxa_finalize.c: New file.
7345 * config/rs6000/crtcxa.c: New file.
7346 * config/rs6000/t-aix-cxa: New file.
7347 * config/rs6000/libgcc-aix-cxa.ver: New file.
7348
7349 2013-01-31 Nick Clifton <nickc@redhat.com>
7350
7351 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7352 variant.
7353
7354 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
7355
7356 PR target/54222
7357 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7358 _mulQQ, _mulHQ, _mulHA, _mulSA,
7359 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7360 _divQQ, _divHQ, _divHA, _divSA,
7361 _divUQQ, _divUHQ, _divUHA, _divUSA.
7362
7363 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
7364
7365 * config.host(microblaze*-linux*): tmake_file: Remove
7366 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7367 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7368 to exclude functions from being built with libgcc.c and use
7369 the microblaze assembly.
7370
7371 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7372
7373 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7374 extra_parts.
7375
7376 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7377
7378 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7379 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7380 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7381 alignment operation.
7382
7383 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7384
7385 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7386 loop start address for cache clearing.
7387
7388 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7389
7390 * config/avr/lib1funcs.S: Remove trailing blanks.
7391 * config/avr/lib1funcs-fixed.S: Ditto.
7392
7393 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7394
7395 * config/avr/avr-lib.h: Add GPL copyright notice.
7396
7397 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7398
7399 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7400 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7401 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7402 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7403
7404 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
7405
7406 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7407 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7408
7409 2013-01-04 Nick Clifton <nickc@redhat.com>
7410
7411 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7412 the CALLT instruction is supported.
7413
7414 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7415
7416 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7417 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7418
7419 2012-12-13 John Tytgat <John@bass-software.com>
7420
7421 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7422 is 25.
7423
7424 2012-12-12 Jakub Jelinek <jakub@redhat.com>
7425
7426 PR libgcc/55451
7427 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7428 undefined signed overflows.
7429
7430 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
7431
7432 PR target/55344
7433 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7434
7435 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
7436
7437 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7438 (FP_TRAPPING_EXCEPTIONS): Define.
7439 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7440 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7441
7442 2012-12-04 Richard Henderson <rth@redhat.com>
7443
7444 PR bootstrap/55571
7445 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7446
7447 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7448
7449 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7450 (FP_EX_SHIFT): Define.
7451 (FP_TRAPPING_EXCEPTIONS): Define.
7452
7453 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7454
7455 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7456 (FP_ROUNDMODE): Use FP_RND_MASK.
7457 * config/aarch64/sfp-exceptions.c: New.
7458 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7459 Use __sfp_handle_exceptions.
7460
7461 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
7462
7463 * config.host: (arm*-*-freebsd*): Remove.
7464 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7465 (arm*-*-elf*): Remove.
7466 (arm*-*-wince-pe*): Remove.
7467 * arm/unwind-arm.c (struct fpa_reg): Delete.
7468 (struct fpa_regs): Delete.
7469 (phase1_vrs): Remove fpa element.
7470 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7471 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7472 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7473 * ieee754-sf.S (floatundisf): Remove FPA support.
7474 (floatdisf): Likewise.
7475 * ieee75f-df.S (floatundidf): Likewise.
7476 (floatdidf): Likewise.
7477
7478 2012-11-29 Kai Tietz <ktietz@redhat.com>
7479
7480 PR target/55445
7481 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7482 * unwind-generic.h: Likewise.
7483 * unwind-seh.c: Likewise.
7484
7485 2012-11-28 Richard Henderson <rth@redhat.com>
7486
7487 PR libgcc/48076
7488 * emutls.c (__emutls_get_address): Avoid race condition between
7489 obj->loc.offset read and emutls_key initialization.
7490
7491 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
7492
7493 Adjust decimal point of signed accum mode to GCC default.
7494
7495 PR target/54222
7496 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7497 _divqq_helper.
7498 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7499 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7500 (__mulha3, __mulsa3)
7501 (__divqq3, __divha3, __divsa3): Adjust to new position of
7502 decimal point of signed accum types.
7503
7504 (__mulusa3_round): New function.
7505 (__mulusa3): Use it.
7506 (__divqq_helper): New function.
7507 (__udivuqq3): Use it.
7508
7509 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7510
7511 PR bootstrap/55370
7512 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7513
7514 2012-11-18 Teresa Johnson <tejohnson@google.com>
7515
7516 PR bootstrap/55051
7517 * libgcov.c (gcov_exit): Remove merged program summary
7518 comparison unless !GCOV_LOCKED.
7519
7520 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7521
7522 * soft-fp: Updated from glibc upstream.
7523
7524 2012-11-06 Ian Lance Taylor <iant@google.com>
7525
7526 * generic-morestack.c (__generic_morestack): Align the returned
7527 stack pointer to a 32 byte boundary.
7528 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7529 increment the return address until we have decided that we don't
7530 have a varargs function.
7531 (__morestack) [32-bit]: Align stack correctly when calling C
7532 functions.
7533 (__morestack) [64-bit]: Likewise.
7534
7535 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7536
7537 * configure: Regenerate.
7538
7539 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7540
7541 PR target/55175
7542 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7543 * config/i386/sfp-machine.h: Guard exception handling
7544 code with _SOFT_FLOAT.
7545 * config/i386/32/sfp-machine.h: Guard rounding handling
7546 code with _SOFT_FLOAT.
7547 * config/i386/64/sfp-machine.h: Ditto.
7548
7549 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7550
7551 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7552 as extra_parts.
7553
7554 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7555
7556 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7557 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7558 when appropriate. Correct structure element types.
7559 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7560 -minline-all-stringops from compile flags.
7561
7562 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7563
7564 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7565
7566 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7567
7568 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7569
7570 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7571
7572 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7573 tmake_file.
7574
7575 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7576 Jim MacArthur <jim.macarthur@arm.com>
7577 Marcus Shawcroft <marcus.shawcroft@arm.com>
7578 Nigel Stephens <nigel.stephens@arm.com>
7579 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7580 Richard Earnshaw <rearnsha@arm.com>
7581 Sofiane Naci <sofiane.naci@arm.com>
7582 Stephen Thomas <stephen.thomas@arm.com>
7583 Tejas Belagod <tejas.belagod@arm.com>
7584 Yufeng Zhang <yufeng.zhang@arm.com>
7585
7586 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7587 * config/aarch64/crti.S: New file.
7588 * config/aarch64/crtn.S: New file.
7589 * config/aarch64/linux-unwind.h: New file.
7590 * config/aarch64/sfp-machine.h: New file.
7591 * config/aarch64/sync-cache.c: New file.
7592 * config/aarch64/t-aarch64: New file.
7593 * config/aarch64/t-softfp: New file.
7594
7595 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7596
7597 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7598 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7599 no-longer-needed LDBU insns.
7600
7601 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7602
7603 * config.host
7604 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7605 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7606
7607 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7608
7609 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7610
7611 2012-10-15 Matthias Klose <doko@ubuntu.com>
7612
7613 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7614
7615 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7616
7617 * configure: Regenerate.
7618 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7619
7620 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7621
7622 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7623 instructions for 64bit targets only.
7624
7625 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7626
7627 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7628 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7629 * config/i386/32/sfp-machine.h: ... here.
7630 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7631 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7632 New defines.
7633
7634 2012-10-07 Matthias Klose <doko@ubuntu.com>
7635
7636 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7637 as unused.
7638 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7639
7640 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7641
7642 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7643 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7644 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7645 (ElfW): Likewise.
7646
7647 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7648
7649 PR other/53889
7650 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7651 Fix parameter names.
7652
7653 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7654
7655 PR target/33135
7656 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7657 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7658 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7659
7660 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7661
7662 PR target/50457
7663 * config/sh/linux-atomic.S: Delete.
7664 * config/sh/linux-atomic.c: New.
7665 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7666 linux-atomic.c. Add cflags to disable warnings.
7667
7668 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7669
7670 PR other/53889
7671 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7672 function.
7673 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7674 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7675 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7676 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7677 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7678 Likewise.
7679 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7680 Likewise.
7681 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7682 Likewise.
7683 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7684 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7685
7686 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7687
7688 * config.host (hppa-*-openbsd*): New target.
7689 * config/pa/t-openbsd: New file.
7690
7691 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7692
7693 PR target/54222
7694 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7695 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7696 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7697 (__divsa3): Use __negsi2 to negate r_quoL.
7698 * config/avr/lib1funcs.S (FALIAS): New macro.
7699 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7700 (__negsi2): ...this new function.
7701 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7702 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7703 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7704 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7705 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7706 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7707
7708 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7709
7710 PR target/54089
7711 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7712 (lshrsi3): Reimplement as lshrsi3_r0.
7713
7714 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7715
7716 PR target/46191
7717 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7718 of libgcc.a.
7719
7720 2012-09-07 Teresa Johnson <tejohnson@google.com>
7721
7722 PR gcov-profile/54487
7723 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7724 differences.
7725
7726 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7727
7728 PR target/54461
7729 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7730 not configured --with-avrlibc=no.
7731 * config/avr/t-avrlibc: New file.
7732 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7733 (DPBIT_FUNCS): Ditto.
7734 (TPBIT_FUNCS): Ditto.
7735
7736 2012-09-04 Teresa Johnson <tejohnson@google.com>
7737
7738 * libgcov.c (struct gcov_summary_buffer): New structure.
7739 (gcov_histogram_insert): New function.
7740 (gcov_compute_histogram): Ditto.
7741 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7742 histograms during summary merging.
7743
7744 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7745
7746 * config.host (x86_64-*-openbsd*): New target.
7747
7748 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7749
7750 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7751 attribute.
7752
7753 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7754
7755 PR target/54222
7756 * config/avr/t-avr (conv_X): Rename to func_X.
7757
7758 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7759
7760 PR target/54222
7761 * config/avr/lib1funcs-fixed.S: New file.
7762 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7763 after they are used.
7764 (neg2, neg4): New macros.
7765 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7766 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7767 (__umulhisi3): Speed up MUL variant if there is enough flash.
7768 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7769 avr-modes.def.
7770 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7771 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7772 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7773 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7774 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7775 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7776 (LIB2FUNCS_EXCLUDE): Add supported functions.
7777
7778 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7779
7780 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7781 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7782 libgcc-s-objects.
7783 * fixed-obj.mk: Only expand dependency if $o is not in
7784 LIB2FUNCS_EXCLUDE.
7785
7786 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7787
7788 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7789
7790 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7791
7792 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7793 depend on --enable-shared.
7794 ($(lib1asmfuncs-o)): Use %.vis files independent of
7795 --enable-shared.
7796 * static-object.mk ($(base)$(objext), $(base).vis)
7797 ($(base)_s$(objext)): Use same rules for visibility handling as in
7798 shared-object.mk.
7799
7800 2012-08-21 Ian Lance Taylor <iant@google.com>
7801
7802 * config/i386/morestack.S (__morestack_non_split): Increase amount
7803 of space allocated for non-split code stack.
7804
7805 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7806
7807 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7808 even if inhibit_libc.
7809
7810 2012-08-17 Julian Brown <julian@codesourcery.com>
7811
7812 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7813 -fexceptions -fnon-call-exceptions if not defined.
7814 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7815 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7816
7817 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7818
7819 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7820 type.
7821
7822 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7823
7824 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7825 rs6000/t-slibgcc-aix.
7826
7827 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7828
7829 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7830
7831 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7832
7833 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7834
7835 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7836
7837 PR driver/54171
7838 * Makefile.in (version): Replace top_srcdir with srcdir.
7839
7840 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7841
7842 * Makefile.in (version): set to BASE-VER file from gcc directory.
7843
7844 2012-08-01 Nick Clifton <nickc@redhat.com>
7845
7846 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7847 Implements __clrsb for an HImode argument.
7848
7849 2012-07-31 Nick Clifton <nickc@redhat.com>
7850
7851 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7852 Implements __clrsb for an HImode argument.
7853 * config/stormy16/clrsbhi2.c: New file:
7854 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7855
7856 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7857
7858 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7859
7860 2012-07-19 Tristan Gingold <gingold@adacore.com>
7861 Richard Henderson <rth@redhat.com>
7862
7863 * unwind-seh.c: New file.
7864 * unwind-generic.h: Include windows.h for SEH.
7865 (_Unwind_Exception): Use 6 private fields for SEH.
7866 (_GCC_specific_handler): Declare.
7867 * unwind-c.c (__gcc_personality_seh0): New function.
7868 Adjust for SEH.
7869 * config/i386/libgcc-cygming.ver: New file.
7870 * config/i386/t-seh-eh: New file.
7871 * config.host (x86_64-*-mingw*): Default to seh.
7872
7873 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7874
7875 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7876
7877 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7878
7879 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7880 __builtin_expect when checking for exceptions.
7881 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7882
7883 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7884
7885 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7886 function declaration.
7887 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7888 (FP_RND_MASK): New.
7889 * config/ia64/sfp-exceptions.c: New.
7890 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7891
7892 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7893
7894 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7895 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7896 * config/i386/64/sfp-machine: ... (delete here) ...
7897 * config/i386/sfp-machine.h: ... to here.
7898 (FP_EX_MASK): Remove.
7899 (FP_RND_MASK): New.
7900 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7901
7902 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7903
7904 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7905 * config/i386/libgcc-sol2.ver: Ditto.
7906 * config/i386/libgcc-glibc.ver: Ditto.
7907
7908 2012-06-11 Roland McGrath <mcgrathr@google.com>
7909
7910 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7911 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7912 pthread_cancel.
7913
7914 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7915
7916 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7917 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7918 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7919 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7920 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7921 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7922 * config/i386/64/sfp-machine: ... (delete here) ...
7923 * config/i386/sfp-machine.h: ... to here.
7924 (FP_EX_MASK): New.
7925 (__sfp_handle_exceptions): New function declaration.
7926 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7927 * config/i386/sfp-exceptions.c: New.
7928 * config/i386/t-softfp: New.
7929 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7930 i386/t-softfp to tmake_file.
7931
7932 2012-06-03 David S. Miller <davem@davemloft.net>
7933
7934 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7935 change.
7936
7937 2012-05-31 David S. Miller <davem@davemloft.net>
7938
7939 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7940 multiply and divide instructions on 32-bit when V9.
7941 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7942
7943 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7944
7945 * config/arm/ieee754-df.S: Fix typos.
7946 * config/arm/ieee754-sf.S: Fix typos.
7947 * config/c6x/libunwind.S: Fix typos.
7948 * config/epiphany/udivsi3-float.c: Fix typos.
7949 * config/microblaze/muldi3_hard.S: Fix typos.
7950 * config/picochip/adddi3.S: Fix typos.
7951 * config/picochip/ashlsi3.S: Fix typos.
7952 * config/picochip/ashrsi3.S: Fix typos.
7953 * config/picochip/clzsi2.S: Fix typos.
7954 * config/picochip/cmpsi2.S: Fix typos.
7955 * config/picochip/divmod15.S: Fix typos.
7956 * config/picochip/divmodhi4.S: Fix typos.
7957 * config/picochip/divmodsi4.S: Fix typos.
7958 * config/picochip/longjmp.S: Fix typos.
7959 * config/picochip/lshrsi3.S: Fix typos.
7960 * config/picochip/parityhi2.S: Fix typos.
7961 * config/picochip/popcounthi2.S: Fix typos.
7962 * config/picochip/setjmp.S: Fix typos.
7963 * config/picochip/subdi3.S: Fix typos.
7964 * config/picochip/ucmpsi2.S: Fix typos.
7965 * config/picochip/udivmodhi4.S: Fix typos.
7966 * config/picochip/udivmodsi4.S: Fix typos.
7967 * config/spu/divv2df3.c: Fix typos.
7968 * config/spu/mfc_multi_tag_release.c: Fix typos.
7969 * config/spu/mfc_tag_release.c: Fix typos.
7970 * configure.ac: Fix typos.
7971 * configure: Regenerate.
7972
7973 2012-05-25 Ian Lance Taylor <iant@google.com>
7974
7975 * config/i386/morestack.S (__morestack_non_split): Check whether
7976 caller is varargs and needs %bp to hold the stack frame on return.
7977
7978 2012-05-25 Olivier Hainque <hainque@adacore.com>
7979
7980 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7981 sequence in the non pic case on VxWorks.
7982
7983 2012-05-24 Olivier Hainque <hainque@adacore.com>
7984
7985 * Makefile.in: Move dependency on install-unwind_h from
7986 "install-leaf" to "install".
7987
7988 2012-05-24 Olivier Hainque <hainque@adacore.com>
7989
7990 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7991 Use a separate command for stamp removals.
7992
7993 2012-05-21 Andrew Pinski <apinski@cavium.com>
7994
7995 PR bootstrap/53183
7996 * configure.ac: Define the default includes to being none.
7997 * configure: Regenerate.
7998
7999 2012-05-16 Olivier Hainque <hainque@adacore.com>
8000
8001 * Makefile.in (install-unwind_h): Rename into ...
8002 (install-unwind_h-forbuild): New target.
8003 (all): Use it instead of the former install-unwind_h.
8004 (install-unwind_h): Reinstate, copy to user install destination
8005 for include files, not to the internal gcc object directory one.
8006 (install-leaf): Depend on it.
8007
8008 2012-05-15 Olivier Hainque <hainque@adacore.com>
8009
8010 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8011 register numbers. LR_REGNO replaces R_LR.
8012 (ucontext_for): New, helper for ...
8013 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8014 and 5.3 of ...
8015 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8016
8017 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8018
8019 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8020 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8021 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8022 i386/t-cpuinfo ...
8023 (i[34567]86-*-*, x86_64-*-*): ... here.
8024
8025 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8026 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8027
8028 * config/i386/i386-cpuinfo.c: Rename to ...
8029 * config/i386/cpuinfo.c: ... this.
8030 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8031
8032 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8033 (libgcc_cv_init_priority): New test.
8034 * configure: Regenerate.
8035 * config.in: New file.
8036 * Makefile.in (clean): Rename config.h to auto-target.h.
8037 (config.h): Likewise.
8038 (stamp-h): Likewise.
8039
8040 * config/i386/cpuinfo.c (auto-target.h): Include.
8041 (CONSTRUCTOR_PRIORITY): Define.
8042 (__cpu_indicator_init): Use it.
8043
8044 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8045
8046 * longlong.h: Use a URL instead of an FSF postal address.
8047 Replace spaces with tab.
8048
8049 2012-05-08 Teresa Johnson <tejohnson@google.com>
8050
8051 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8052 (__gcov_dump): Ditto.
8053 (gcov_dump_complete): New global variable.
8054 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8055 (__gcov_flush): Outline functionality now in gcov_clear.
8056 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8057
8058 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8059
8060 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8061 (mips*-*-linux*): Include mips/t-tpbit when long double is
8062 16 bytes long.
8063
8064 2012-04-25 Sriraman Tallam <tmsriram@google.com>
8065
8066 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8067 (get_available_features): New argument. Check for AVX2.
8068 (__cpu_indicator_init): Modify call to get_available_features.
8069
8070 2012-04-25 Alan Modra <amodra@gmail.com>
8071
8072 * config/rs6000/crtsavevr.S: New file.
8073 * config/rs6000/crtrestvr.S: New file.
8074 * config/rs6000/t-savresfgpr: Build the above.
8075 * config/rs6000/t-netbsd: Likewise.
8076
8077 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8078
8079 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8080
8081 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8082
8083 * libgcc/config/i386/i386-cpuinfo.c: New file.
8084 * libgcc/config/i386/t-cpuinfo: New file.
8085 * libgcc/config.host: Include t-cpuinfo.
8086 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8087
8088 2012-04-24 Chao-ying Fu <fu@mips.com>
8089
8090 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8091
8092 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8093
8094 struct siginfo vs. siginfo_t
8095
8096 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8097 siginfo_t instead of struct siginfo.
8098 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8099 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8100 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8101 (ia64_handle_unwabi): Likewise.
8102 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8103 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8104 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8105 (sh_fallback_frame_state): Likewise.
8106 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8107 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8108
8109 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8110
8111 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8112 system call number.
8113
8114 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8115
8116 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8117 if it hasn't been previously saved.
8118
8119 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8120
8121 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8122 only for glibc.
8123
8124 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
8125
8126 PR target/52737
8127 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8128 instead of __AVR_HAVE_8BIT_SP__.
8129
8130 2012-03-26 Tristan Gingold <gingold@adacore.com>
8131
8132 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8133 (unw_table_entry): Use unw_word instead of unsigned long.
8134 (_Unwind_FindTableEntry): Likewise.
8135 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8136 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8137 (_Unwind_FindTableEntry): Likewise.
8138 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8139 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8140 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8141 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8142 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8143 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8144 (uw_init_context_1, uw_install_context): Likewise.
8145 (unw_word): Move to unwind-ia64.h
8146
8147 2012-03-26 Tristan Gingold <gingold@adacore.com>
8148
8149 * config/vms/vms-ucrt0.c: Update copyright years.
8150 Add a sanity check.
8151 (___gcc_main_flags): Declare.
8152 (__main): Check flags to remap argv and exit code.
8153 * config.host (*-*-*vms*): Adjust extra_parts.
8154 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8155 (crt0.o): Add.
8156
8157 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
8158
8159 * arm/lib1funcs.asm (ctzsi2): New function.
8160 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8161 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8162 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8163 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8164 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8165 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8166
8167 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
8168
8169 * config.host: Add bits to support powerpc64-*-freebsd*.
8170 * config/rs6000/freebsd-unwind.h: New file.
8171 * config/rs6000/t-freebsd64: New file.
8172
8173 2012-03-20 Richard Guenther <rguenther@suse.de>
8174
8175 PR gcov-profile/52627
8176 * libgcov.c (init_mx): Fix mutex name.
8177
8178 2012-03-16 Tristan Gingold <gingold@adacore.com>
8179
8180 * config/ia64/vms-unwind.h: Remove ulong (and replace
8181 it by unw_reg where used). Define unw_reg with __int64.
8182
8183 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8184
8185 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8186 Solaris 8 handling.
8187 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8188 Solaris 8 handling.
8189 (sparc_is_sighandler): Likewise.
8190
8191 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8192
8193 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8194 <= saved reg size.
8195
8196 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8197
8198 * config/arm/crtn.S: Fix typo.
8199
8200 2012-03-13 Richard Guenther <rguenther@suse.de>
8201
8202 * libgcov.c: Remove stdio.h include and NULL un-define.
8203
8204 2012-03-13 Richard Guenther <rguenther@suse.de>
8205
8206 PR target/52569
8207 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8208
8209 2012-03-13 Richard Guenther <rguenther@suse.de>
8210
8211 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8212
8213 2012-03-13 Richard Guenther <rguenther@suse.de>
8214
8215 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8216 and __gthread_mutex_init_function definitions.
8217
8218 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8219
8220 * config.host (mips*-*-openbsd*): Remove.
8221
8222 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8223
8224 * config.host: Remove alpha*-dec-osf5.1* handling.
8225 * config/alpha/gthr-posix.c: Remove.
8226 * config/alpha/libgcc-osf5.ver: Remove.
8227 * config/alpha/osf5-unwind.h: Remove.
8228 * config/alpha/t-osf-pthread: Remove.
8229 * config/alpha/t-slibgcc-osf: Remove.
8230 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8231 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8232 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8233 * mkmap-flat.awk: Remove osf_export handling.
8234
8235 2012-03-12 Richard Guenther <rguenther@suse.de>
8236
8237 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8238 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8239 (__gthread_mutex_init_function): New function.
8240 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8241
8242 PR gcov/49484
8243 * libgcov.c: Include gthr.h.
8244 (__gcov_flush_mx): New global variable.
8245 (init_mx, init_mx_once): New functions.
8246 (__gcov_flush): Protect self with a mutex.
8247 (__gcov_fork): Re-initialize mutex after forking.
8248 * unwind-dw2-fde.c: Change condition under which to use
8249 __GTHREAD_MUTEX_INIT_FUNCTION.
8250
8251 2012-03-12 Tristan Gingold <gingold@adacore.com>
8252
8253 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8254 * config/ia64/t-vms: Likewise.
8255
8256 2012-03-11 Michael Hope <michael.hope@linaro.org>
8257
8258 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8259 for Thumb-2.
8260
8261 2012-03-07 Walter Lee <walt@tilera.com>
8262
8263 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8264 "arch_atomic_".
8265 (atomic_xor): Rename and move definition to
8266 config/tilepro/atomic.h.
8267 (atomic_nand): Ditto.
8268 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8269 "arch_atomic_".
8270 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8271 (arch_atomic_nand): Ditto.
8272
8273 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8274
8275 PR target/52507
8276 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8277
8278 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8279
8280 PR target/52505
8281 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8282 from RAM.
8283
8284 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8285
8286 PR target/52461
8287 PR target/52508
8288 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8289 if RAMPZ affects reading from RAM.
8290 (__tablejump_elpm__): Ditto.
8291 (.xload): Ditto.
8292 (__movmemx_hi): Ditto.
8293 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8294 (__do_global_dtors): Ditto.
8295 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8296 (__movmemx_hi): Ditto.
8297
8298 2012-03-05 Richard Henderson <rth@redhat.com>
8299
8300 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8301 [ARM] (count_trailing_zeros): Use the builtin.
8302
8303 2012-03-01 Kai Tietz <ktietz@redhat.com>
8304
8305 * soft-fp: Imported from glibc upstream.
8306
8307 2012-02-28 Kai Tietz <ktietz@redhat.com>
8308
8309 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8310 for mingw-targets as attribute gcc_struct.
8311
8312 2012-02-28 Ian Lance Taylor <iant@google.com>
8313
8314 * generic-morestack.c (__splitstack_releasecontext): Correct call
8315 to __morestack_release_segments.
8316
8317 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8318
8319 PR target/52390
8320 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8321 for __linux__ when removing signals from __morestack_fullmask.
8322
8323 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
8324
8325 PR target/52261
8326 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8327
8328 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8329
8330 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8331 instead of HAVE_INITFINI_ARRAY.
8332 * config/ia64/crtend.S: Likewise.
8333
8334 2012-02-20 Kai Tietz <ktietz@redhat.com>
8335
8336 PR libstdc++/52300
8337 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8338
8339 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8340 to w32-unwind.h header.
8341
8342 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8343
8344 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8345 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8346 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8347 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8348
8349 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8350
8351 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8352
8353 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8354
8355 PR libitm/52220
8356 * config/darwin-crt-tm.c: Correct typo.
8357
8358 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8359 Patrick Marlier <patrick.marlier@gmail.com>
8360
8361 PR libitm/52220
8362 * config/darwin-crt-tm.c: Generate dummy functions.
8363
8364 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8365 Patrick Marlier <patrick.marlier@gmail.com>
8366
8367 PR libitm/52042
8368 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8369 (__doTMRegistrations): Call it.
8370 (__doTMdeRegistrations): Likewise.
8371
8372 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
8373 Anatoly Sokolov <aesok@post.ru>
8374 Eric Weddington <eric.weddington@atmel.com>
8375
8376 PR target/52261
8377 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8378 (__epilogue_restores__): Ditto.
8379
8380 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8381
8382 PR target/51921
8383 PR target/52205
8384 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8385 Solaris 11 and slightly reformat.
8386 (sparc_is_sighandler): Likewise.
8387
8388 2012-02-14 Walter Lee <walt@tilera.com>
8389
8390 * config.host: Handle tilegx and tilepro.
8391 * config/tilegx/sfp-machine.h: New file.
8392 * config/tilegx/sfp-machine32.h: New file.
8393 * config/tilegx/sfp-machine64.h: New file.
8394 * config/tilegx/t-crtstuff: New file.
8395 * config/tilegx/t-softfp: New file.
8396 * config/tilegx/t-tilegx: New file.
8397 * config/tilepro/atomic.c: New file.
8398 * config/tilepro/atomic.h: New file.
8399 * config/tilepro/linux-unwind.h: New file.
8400 * config/tilepro/sfp-machine.h: New file.
8401 * config/tilepro/softdivide.c: New file.
8402 * config/tilepro/softmpy.S: New file.
8403 * config/tilepro/t-crtstuff: New file.
8404 * config/tilepro/t-tilepro: New file.
8405
8406 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8407
8408 PR libstdc++/51296
8409 PR libstdc++/51906
8410 * gthr-posix.h: Allow static initializer macros to be disabled.
8411 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8412
8413 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8414
8415 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8416 Add t-slibgcc-libgcc to tmake_file.
8417 * config/mips/libgcc-mips16.ver: Revert previous patch.
8418 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8419
8420 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8421 Jayant R Sonar <jayant.sonar@kpitcummins.com>
8422
8423 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8424 * config/cr16/crti.S: New file.
8425 * config/cr16/crtlibid.S: New file.
8426 * config/cr16/crtn.S: New file.
8427 * config/cr16/lib1funcs.S: New file.
8428 * config/cr16/t-cr16: New file.
8429 * config/cr16/t-crtlibid: New file.
8430 * config/cr16/unwind-dw2.h: New file.
8431 * config/cr16/unwind-cr16.c: New file.
8432 * config/cr16/divmodhi3.c: New file.
8433
8434 2012-01-25 Alan Modra <amodra@gmail.com>
8435
8436 * config/rs6000/t-linux64: Delete. Move..
8437 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8438 * config/rs6000/t-linux: ..and libgcc flags to here.
8439
8440 2012-01-22 Douglas B Rupp <rupp@gnat.com>
8441
8442 * config.host (i[34567]86-*-interix3*):
8443 Change triplet to i[34567]86-*-interix[3-9]*.
8444 * configure: Regenerate.
8445
8446 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8447 Richard Sandiford <rdsandiford@googlemail.com>
8448
8449 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8450 * config/mips/mips16.S (__mips16_rdhwr): New function.
8451 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8452
8453 2012-01-11 Nathan Sidwell <nathan@acm.org>
8454
8455 * libgcov.c (__gcov_init): Ignore objects with no functions.
8456
8457 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
8458
8459 PR target/49868
8460 Extend __pgmx semantics to linearize memory.
8461 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8462 * config/avr/lib1funcs.S (__xload_1): New function.
8463 (__movmemx_qi, __movmemx_hi): New functions.
8464 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8465 semantics.
8466
8467 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8468
8469 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8470 purported sigacthandler address isn't null before dereferencing it.
8471 (sparc_is_sighandler): Likewise.
8472
8473 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8474
8475 PR ada/41929
8476 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8477 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8478 (sparc_is_sighandler): Likewise.
8479 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8480
8481 2012-01-06 Tristan Gingold <gingold@adacore.com>
8482
8483 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8484 compatibility thunks...
8485 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8486 (crtbeginS.o, crtendS.o): ... and these to ...
8487 * config/ia64/t-ia64-elf: ... this new file.
8488 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8489 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8490
8491 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8492
8493 * configure: Regenerate.
8494 * config/s390/t-crtstuff: Remove -fPIC.
8495
8496 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8497
8498 PR bootstrap/51006
8499 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8500 for NetBSD.
8501
8502 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8503
8504 PR target/51345
8505 * config/avr/lib1funcs.S: Remove FIXME comments.
8506 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8507
8508 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8509
8510 Implement light-weight DImode support.
8511 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8512 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8513 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8514 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8515
8516 2011-12-30 Nathan Sidwell <nathan@acm.org>
8517
8518 * libgcov.c (gcov_crc32): Remove global var.
8519 (free_fn_data): New function.
8520 (buffer_fn_data): Pass in filename, more robust error recovery.
8521 (crc32_unsigned): New function.
8522 (gcov_exit): More robust detection of new program. More robust
8523 error recovery.
8524 (__gcov_init): Do not update program's crc here.
8525
8526 2011-12-21 Tristan Gingold <gingold@adacore.com>
8527
8528 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8529
8530 2011-12-21 Ian Lance Taylor <iant@google.com>
8531
8532 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8533
8534 2011-12-20 Ian Lance Taylor <iant@google.com>
8535
8536 * config/i386/morestack.S (__morestack_non_split): If there is
8537 enough stack space already, don't split. Ask for more stack space
8538 than we required.
8539
8540 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8541
8542 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8543 `sys/sdt.h'.
8544 (_Unwind_DebugHook): New function.
8545 (uw_restore_core_regs): New define.
8546 (unwind_phase2): Use uw_restore_core_regs instead of
8547 restore_core_regs.
8548 (unwind_phase2_forced): Likewise.
8549 (__gnu_Unwind_Resume): Likewise.
8550
8551 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8552
8553 * config/alpha/linux-unwind.h: Update copyright years.
8554 (MD_FROB_UPDATE_CONTEXT): New define.
8555 (alpha_frob_update_context): New function.
8556
8557 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8558
8559 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8560 tmake_file rather replacing it.
8561
8562 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8563
8564 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8565 function is not used for PPC64.
8566 (save_world): Amend comments. Update the VRsave mask to reflect the
8567 saved regs.
8568 (rest_world): Update comments, do not clobber r10, do not use r8.
8569 (eh_rest_world_r10): Amend comments, do not use r8.
8570 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8571 no longer used, move restore of CR and target address to the end of
8572 the routine.
8573
8574 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8575
8576 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8577 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8578
8579 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8580
8581 PR target/49313
8582 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8583 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8584
8585 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8586
8587 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8588
8589 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8590
8591 PR target/49313
8592 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8593 * config/avr/lib1funcs.S (__muldi3): New function.
8594
8595 2011-12-06 Andrew Pinski <apinski@cavium.com>
8596
8597 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8598 size of func_ptr.
8599 (__frame_dummy_init_array_entry): Likewise.
8600
8601 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8602
8603 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8604
8605 PR target/51345
8606 PR target/51002
8607 * config/avr/lib1funcs.S (__prologue_saves__,
8608 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8609 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8610
8611 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8612
8613 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8614
8615 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8616
8617 PR other/51272
8618 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8619 (_ITM_deregisterTMCloneTable): Likewise.
8620 (__register_frame_info): Fix unused warning.
8621 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8622 pthread_default_stacksize_np): Likewise.
8623 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8624
8625 2011-11-29 DJ Delorie <dj@redhat.com>
8626
8627 * config.host (rl78-*-elf): New case.
8628 * config/rl78: New directory for the Renesas RL78.
8629
8630 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8631
8632 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8633 formatting.
8634
8635 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8636
8637 PR other/51022
8638 * config/rs6000/t-savresfgpr: New file.
8639 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8640 $(srcdir)/config/rs6000/eabi.S.
8641 * config/rs6000/t-ppccomm-ldbl: Remove.
8642 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8643 tmake_file.
8644 (powerpc-*-eabispe*): Likewise.
8645 (powerpc-*-eabi*): Likewise.
8646 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8647 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8648 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8649 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8650 tmake_file.
8651 (powerpc-*-eabisim*): Likewise.
8652 (powerpc-*-elf*): Likewise.
8653 (powerpc-*-eabialtivec*): Likewise.
8654 (powerpc-xilinx-eabi*): Likewise.
8655 (powerpc-*-rtems*): Likewise.
8656 (powerpcle-*-elf*): Likewise.
8657 (powerpcle-*-eabisim*): Likewise.
8658 (powerpcle-*-eabi*): Likewise.
8659
8660 2011-11-27 Ian Lance Taylor <iant@google.com>
8661
8662 * generic-morestack.c (__splitstack_find): Check for NULL old
8663 stack value.
8664 (__splitstack_resetcontext): New function.
8665 (__splitstack_releasecontext): New function.
8666 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8667
8668 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8669
8670 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8671
8672 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8673
8674 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8675
8676 2011-11-26 Richard Henderson <rth@redhat.com>
8677
8678 * config/m68k/linux-atomic.c: New file.
8679 * config/m68k/t-linux: New file.
8680 * config.host (m68k-uclinux, m68k-linux): Use it.
8681
8682 2011-11-26 Richard Henderson <rth@redhat.com>
8683
8684 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8685 (__TMC_END__): Only declare if hidden is available; in the definition,
8686 if hidden is unavailable add a null record.
8687 (deregister_tm_clones, register_tm_clones): New.
8688 (__do_global_dtors_aux, frame_dummy): Use them.
8689 (__do_global_dtors, __do_global_ctors_1): Likewise.
8690
8691 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8692
8693 * config/darwin-crt-tm.c: New file.
8694 * config.host (darwin): Build crttms.o crttme.o to provide
8695 startup and shutdown for tm clones.
8696 * config/t-darwin (crttms.o): New build rule.
8697 (crttme.o): Likewise.
8698
8699 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8700
8701 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8702 et al.
8703
8704 2011-11-21 Richard Henderson <rth@redhat.com>
8705
8706 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8707 (__TMC_LIST__, __TMC_END__): New.
8708 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8709 (__do_global_dtors): Likewise.
8710 (frame_dummy): Call _ITM_registerTMCloneTable.
8711 (__do_global_ctors_1): Likewise.
8712
8713 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8714
8715 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8716 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8717 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8718 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8719 * config/i386/t-darwin64: Remove.
8720 * config/sh/t-netbsd (LIB2ADD): Remove.
8721
8722 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8723
8724 PR target/49313
8725 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8726 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8727 * config/avr/lib1funcs.S (wmov): New assembler macro.
8728 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8729 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8730 (__udivmod64): New function.
8731 (__negdi2): New function.
8732
8733 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8734
8735 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8736 *-*-freebsd*aout*): Remove.
8737
8738 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8739
8740 * static-object.mk (c_flags-$o): Save c_flags.
8741 ($(base)$(objext)): Use it.
8742
8743 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8744
8745 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8746
8747 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8748
8749 PR target/49868
8750 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8751 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8752 New functions.
8753
8754 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8755
8756 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8757 functions.
8758 (aeabi_uidivmod): Likewise.
8759 (umodsi3): Likewise.
8760 (divsi3): Likewise.
8761 (aeabi_idivmod): Likewise.
8762 (modsi3): Likewise.
8763
8764 2011-11-16 Tristan Gingold <gingold@adacore.com>
8765
8766 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8767
8768 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8769
8770 PR target/49868
8771 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8772 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8773
8774 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8775
8776 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8777 tmake_file list.
8778 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8779 * config/pa/t-stublib64: Delete.
8780
8781 2011-11-12 Richard Henderson <rth@redhat.com>
8782
8783 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8784 cast the pointer argument to _Unwind_SetGRPtr.
8785
8786 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8787
8788 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8789
8790 2011-11-09 Ian Lance Taylor <iant@google.com>
8791
8792 * generic-morestack.c: Include <string.h>.
8793 (uintptr_type): Define.
8794 (struct initial_sp): Add dont_block_signals field. Reduce size of
8795 extra array by 1.
8796 (allocate_segment): Set prev field to NULL. Don't set
8797 __morestack_current_segment or __morestack_segments.
8798 (__generic_morestack): Update current->prev and *pp after calling
8799 allocate_segment.
8800 (__morestack_block_signals): Don't do anything if
8801 dont_block_signals is set.
8802 (__morestack_unblock_signals): Likewise.
8803 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8804 uintptr_type.
8805 (__splitstack_block_signals): New function.
8806 (enum __splitstack_content_offsets): Define.
8807 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8808 (__splitstack_makecontext): New function.
8809 (__splitstack_block_signals_context): New function.
8810 (__splitstack_find_context): New function.
8811 * config/i386/morestack.S (__morestack_get_guard): New function.
8812 (__morestack_set_guard, __morestack_make_guard): New functions.
8813 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8814
8815 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8816
8817 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8818 (i[34567]86-*-mingw*): ... here.
8819 (x86_64-*-mingw*): ... here.
8820
8821 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8822
8823 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8824
8825 2011-11-07 Nathan Sidwell <nathan@acm.org>
8826
8827 * libgcov.c (struct gcov_fn_buffer): New struct.
8828 (buffer_fn_data): New helper.
8829 (gcov_exit): Rework for new gcov data structures.
8830
8831 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8832
8833 PR target/49313
8834 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8835
8836 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8837
8838 * config.host (tmake_file): Correct comment.
8839 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8840 t-libgcc-pic.
8841 (bfin*-uclinux*): Likewise.
8842 (bfin*-linux-uclibc*): Likewise.
8843 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8844
8845 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8846 assigning.
8847 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8848 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8849 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8850 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8851 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8852 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8853 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8854 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8855 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8856 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8857 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8858 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8859 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8860
8861 * config/bfin/t-elf: Remove.
8862 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8863
8864 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8865
8866 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8867 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8868 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8869 (lm32-*-elf*): ... this.
8870 (lm32-*-rtems*): ... and this.
8871 Add to tmake_file.
8872 (m32r-*-rtems*): Add to tmake_file.
8873 (moxie-*-rtems*): Likewise.
8874 (sparc-*-rtems*): Likewise.
8875 Remove t-rtems from tmake_file.
8876 (sparc64-*-rtems*): Likewise.
8877 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8878 instead.
8879
8880 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8881
8882 PR bootstrap/50982
8883 * config/gthr-posix.h: Move ...
8884 * gthr-posix.h: ... here.
8885 * config/gthr-lynx.h: Reflect this.
8886 * config/gthr-vxworks.h: Likewise.
8887 * config/rs6000/gthr-aix.h: Likewise.
8888 * configure.ac (target_thread_file): Likewise.
8889 * configure: Regenerate.
8890
8891 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8892
8893 * config.host (arm*-*-rtemseabi*): New target.
8894
8895 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8896
8897 PR other/50991
8898 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8899 extra-parts.
8900
8901 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8902
8903 * config.host (epiphany-*-elf*): New configuration.
8904 * config/epiphany: New Directory.
8905
8906 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8907
8908 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8909 * config/avr/t-rtems: New.
8910 Filter out _exit from LIB1ASMFUNCS.
8911
8912 2011-11-04 David S. Miller <davem@davemloft.net>
8913
8914 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8915 * configure: Rebuild.
8916
8917 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8918
8919 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8920 variable.
8921
8922 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8923
8924 PR target/50931
8925 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8926 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8927
8928 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8929
8930 PR target/50989
8931 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8932
8933 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8934
8935 * config/c6x/t-elf (LIB2ADDEH): Set.
8936 * config/c6x/t-c6x-elf: Remove.
8937
8938 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8939
8940 * config/i386/sol2-ci.S: Rename to ...
8941 * config/i386/crti.S: ... this.
8942 * config/i386/sol2-cn.S: Rename to ...
8943 * config/i386/crtn.S: ... this.
8944 * config/sparc/sol2-ci.S: Rename to ...
8945 * config/sparc/crti.S: ... this.
8946 * config/sparc/sol2-cn.S: Rename to ...
8947 * config/sparc/crtn.S: ... this.
8948 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8949 (crti.o, crtn.o): Remove.
8950
8951 2011-11-04 Tristan Gingold <gingold@adacore.com>
8952
8953 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8954
8955 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8956
8957 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8958
8959 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8960
8961 * config.host (crisv32-*-none, cris-*-none): Remove.
8962 (crisv32-*-elf): Append to tmake_file, don't just set it.
8963 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8964
8965 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8966
8967 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8968 (ecrtn$(objext)): Likewise.
8969 (ncrti$(objext)): Likewise.
8970 (ncrtn$(objext)): Likewise.
8971
8972 2011-11-03 Andreas Schwab <schwab@redhat.com>
8973
8974 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8975
8976 2011-11-02 David S. Miller <davem@davemloft.net>
8977
8978 * configure.ac: Set host_address on sparc too.
8979 * configure: Regenerate.
8980 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8981 based upon host_address.
8982 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8983
8984 2011-11-02 Jason Merrill <jason@redhat.com>
8985
8986 * config/rs6000/t-ppccomm: Add missing \.
8987
8988 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8989
8990 * gthr-single.h, gthr.h: New files.
8991 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8992 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8993 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8994 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8995 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8996 * configure.ac (thread_header): New variable.
8997 Set it depending on target_thread_file.
8998 (gthr-default.h): Link from $thread_header.
8999 * configure: Regenerate.
9000 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9001
9002 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9003
9004 * configure.ac (tm_file_): New variable.
9005 Determine from tm_file.
9006 (tm_file, tm_defines): Substitute.
9007 * configure: Regenerate.
9008 * mkheader.sh: New file.
9009 * Makefile.in (clean): Remove libgcc_tm.h.
9010 ($(objects)): Depend on libgcc_tm.h.
9011 (libgcc_tm_defines, libgcc_tm_file): New variables.
9012 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9013 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9014 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9015 ($(extra-parts)): Depend on libgcc_tm.h.
9016 * config.host (tm_defines, tm_file): New variable.
9017 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9018 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9019 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9020 (avr-*-rtems*): Likewise.
9021 (avr-*-*): Likewise.
9022 (frv-*-elf): Likewise.
9023 (frv-*-*linux*): Likewise.
9024 (h8300-*-rtems*): Likewise.
9025 (h8300-*-elf*): Likewise.
9026 (i[34567]86-*-darwin*): Likewise.
9027 (x86_64-*-darwin*): Likewise.
9028 (rx-*-elf): Likewise.
9029 (tic6x-*-uclinux): Likewise.
9030 (tic6x-*-elf): Likewise.
9031 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9032 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9033 * config/i386/cygming-crtbegin.c: Likewise.
9034 * config/i386/cygming-crtend.c: Likewise.
9035 * config/ia64/fde-vms.c: Likewise.
9036 * config/ia64/unwind-ia64.c: Likewise.
9037 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9038 * config/rs6000/darwin-fallback.c: Likewise.
9039 * config/stormy16/lib2funcs.c: Likewise.
9040 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9041 * crtstuff.c: Likewise.
9042 * dfp-bit.h: Likewise.
9043 * emutls.c: Likewise.
9044 * fixed-bit.c: Likewise.
9045 * fp-bit.c: Likewise.
9046 * generic-morestack-thread.c: Likewise.
9047 * generic-morestack.c: Likewise.
9048 * libgcc2.c: Likewise.
9049 * libgcov.c: Likewise.
9050 * unwind-dw2-fde-dip.c: Likewise.
9051 * unwind-dw2-fde.c: Likewise.
9052 * unwind-dw2.c: Likewise.
9053 * unwind-sjlj.c: Likewise.
9054
9055 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9056
9057 * configure.ac: Include ../config/picflag.m4.
9058 (GCC_PICFLAG): Call it.
9059 Substitute.
9060 * configure: Regenerate.
9061 * Makefile.in (gcc_srcdir): Remove.
9062 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9063 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9064 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9065 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9066 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9067 Use $<.
9068 Remove comment.
9069 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9070 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9071 to refer to libgcc2.c.
9072 Use $<.
9073 * config/darwin-64.c: New file.
9074 * config/darwin-crt3.c: Remove comment.
9075 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9076 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9077 config/udivmodsi4.c: New files.
9078 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9079 config/memset.c: New files.
9080 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9081 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9082 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9083 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9084 * config/t-openbsd-thread: New file.
9085 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9086 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9087 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9088 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9089 qrnnd.S.
9090 Adapt filename.
9091 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9092 to refer to gthr-posix.c.
9093 * config/alpha/t-vms (LIB2ADD): Set.
9094 * config/alpha/vms-gcc_shell_handler.c: New file.
9095 * config/arm/bpabi.c, config/arm/fp16.c,
9096 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9097 config/arm/unaligned-funcs.c: New files.
9098 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9099 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9100 * config/arm/t-linux: Likewise.
9101 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9102 * config/arm/t-netbsd: New file.
9103 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9104 * config/arm/t-symbian (LIB2ADD_ST): Set.
9105 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9106 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9107 * config/bfin/t-elf: New file.
9108 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9109 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9110 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9111 config/c6x/ltf.c: New files.
9112 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9113 (HOST_LIBGCC2_CFLAGS): Set.
9114 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9115 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9116 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9117 New files.
9118 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9119 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9120 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9121 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9122 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9123 files.
9124 * config/frv/t-frv (LIB2ADD): Set.
9125 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9126 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9127 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9128 config/h8300/popcounthi2.c: New files.
9129 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9130 * config/i386/gthr-win32.c: New file.
9131 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9132 * config/i386/t-cygwin: Likewise.
9133 * config/i386/t-darwin, config/i386/t-darwin64,
9134 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9135 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9136 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9137 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9138 * config/ia64/quadlib.c: New file.
9139 * config/ia64/t-hpux (LIB2ADD): Set.
9140 * config/ia64/t-ia64: Add comment.
9141 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9142 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9143 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9144 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9145 * config/m32c/t-m32c (LIB2ADD): Set.
9146 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9147 * config/m32r/t-m32r: Likewise.
9148 * config/m68k/fpgnulib.c: New file.
9149 * config/m68k/t-floatlib (LIB2ADD): Set.
9150 (xfgnulib.c): New target.
9151 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9152 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9153 * config/mep/t-mep (LIB2ADD): Set.
9154 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9155 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9156 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9157 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9158 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9159 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9160 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9161 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9162 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9163 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9164 New files.
9165 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9166 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9167 * config/pa/fptr.c, config/pa/lib2funcs.S,
9168 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9169 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9170 (LIB2ADD, LIB2ADD_ST): Set.
9171 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9172 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9173 Set.
9174 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9175 * config/pdp11/t-pdp11: New file.
9176 * config/picochip/libgccExtras/adddi3.S,
9177 config/picochip/libgccExtras/ashlsi3.S,
9178 config/picochip/libgccExtras/ashrsi3.S,
9179 config/picochip/libgccExtras/clzsi2.S,
9180 config/picochip/libgccExtras/cmpsi2.S,
9181 config/picochip/libgccExtras/divmod15.S,
9182 config/picochip/libgccExtras/divmodhi4.S,
9183 config/picochip/libgccExtras/divmodsi4.S,
9184 config/picochip/libgccExtras/lshrsi3.S,
9185 config/picochip/libgccExtras/parityhi2.S,
9186 config/picochip/libgccExtras/popcounthi2.S,
9187 config/picochip/libgccExtras/subdi3.S,
9188 config/picochip/libgccExtras/ucmpsi2.S,
9189 config/picochip/libgccExtras/udivmodhi4.S,
9190 config/picochip/libgccExtras/udivmodsi4.S: New files.
9191 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9192 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9193 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9194 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9195 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9196 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9197 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9198 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9199 files.
9200 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9201 (HOST_LIBGCC2_CFLAGS): Set.
9202 * config/rs6000/t-darwin64: New file.
9203 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9204 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9205 * config/rs6000/t-ppccomm (LIB2ADD): Add
9206 $(srcdir)/config/rs6000/tramp.S.
9207 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9208 Add $(srcdir)/config/rs6000/eabi.S.
9209 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9210 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9211 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9212 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9213 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9214 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9215 * config/rs6000/tramp.S: New file.
9216 * config/s390/t-tpf: Remove.
9217 * config/sh/linux-atomic.S: New file.
9218 * config/sh/t-linux (LIB2ADD): Set.
9219 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9220 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9221 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9222 to unwind-dw2.c.
9223 (HOST_LIBGCC2_CFLAGS): Set.
9224 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9225 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9226 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9227 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9228 config/spu/mfc_multi_tag_release.c,
9229 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9230 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9231 config/spu/multi3.c: New files.
9232 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9233 (HOST_LIBGCC2_CFLAGS): Set.
9234 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9235 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9236 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9237 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9238 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9239 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9240 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9241 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9242 config/stormy16/umodsi3.c: New files.
9243 * config/xtensa/lib2funcs.S: New file.
9244 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9245 * config/xtensa/t-xtensa (LIB2ADD): Set.
9246 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9247 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9248 Add t-freebsd-thread to tmake_file for posix threads.
9249 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9250 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9251 (*-*-lynxos*): Likewise.
9252 (*-*-netbsd*): Likewise.
9253 (*-*-openbsd*): Likewise.
9254 Add t-openbsd-thread to tmake_file for posix threads.
9255 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9256 (*-*-vxworks*): Set tmake_file.
9257 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9258 (alpha*-*-freebsd*): Likewise.
9259 (alpha*-*-netbsd*): Likewise.
9260 (alpha*-*-openbsd*): Likewise.
9261 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9262 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9263 (alpha*-dec-*vms*): Likewise.
9264 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9265 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9266 (bfin*-uclinux*): Likewise.
9267 (bfin*-linux-uclibc*): Likewise.
9268 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9269 (crisv32-*-none): Likewise.
9270 (cris-*-elf): Likewise.
9271 (cris-*-none): Likewise.
9272 (cris-*-linux*, crisv32-*-linux*): Likewise.
9273 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9274 tmake_file.
9275 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9276 tmake_file.
9277 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9278 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9279 (x86_64-*-elf*): Likewise.
9280 (i[34567]86-*-nto-qnx*): Likewise.
9281 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9282 win32 threads.
9283 (x86_64-*-mingw*): Likewise.
9284 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9285 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9286 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9287 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9288 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9289 tmake_file.
9290 (mipsisa64sr71k-*-elf*): Likewise.
9291 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9292 (mips-*-elf*, mipsel-*-elf*): Likewise.
9293 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9294 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9295 (mips*-*-rtems*): Likewise.
9296 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9297 to tmake_file.
9298 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9299 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9300 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9301 (spu-*-elf*): Likewise.
9302 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9303
9304 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9305
9306 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9307 $(srcdir) to refer to $(LIB1ASMSRC).
9308 Use $<.
9309 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9310 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9311 config/arm/lib1funcs.S: New files.
9312 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9313 * config/arm/t-arm: New file.
9314 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9315 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9316 config/arm/t-strongarm-elf: New files.
9317 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9318 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9319 * config/avr/lib1funcs.S: New file.
9320 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9321 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9322 * config/c6x/lib1funcs.S: New file.
9323 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9324 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9325 * config/frv/lib1funcs.S: New file.
9326 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9327 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9328 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9329 * config/ia64/__divxf3.asm: Rename to ...
9330 * config/ia64/__divxf3.S: ... this.
9331 Adapt lib1funcs.asm filename.
9332 * config/ia64/_fixtfdi.asm: Rename to ...
9333 * config/ia64/_fixtfdi.S: ... this.
9334 Adapt lib1funcs.asm filename.
9335 * config/ia64/_fixunstfdi.asm: Rename to ...
9336 * config/ia64/_fixunstfdi.S: ... this.
9337 Adapt lib1funcs.asm filename.
9338 * config/ia64/_floatditf.asm: Rename to ...
9339 * config/ia64/_floatditf.S: ... this.
9340 Adapt lib1funcs.asm filename.
9341 * config/ia64/lib1funcs.S: New file.
9342 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9343 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9344 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9345 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9346 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9347 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9348 * config/mep/lib1funcs.S: New file.
9349 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9350 * config/mips/mips16.S: New file.
9351 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9352 * config/pa/milli64.S: New file.
9353 * config/pa/t-linux, config/pa/t-linux64: New files.
9354 * config/picochip/lib1funcs.S: New file.
9355 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9356 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9357 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9358 * config/sh/t-netbsd: New file.
9359 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9360 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9361 * config/sh/t-sh64: New file.
9362 * config/sparc/lb1spc.S: New file.
9363 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9364 filename.
9365 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9366 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9367 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9368 config/xtensa/lib1funcs.S: New files.
9369 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9370 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9371 tmake_file.
9372 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9373 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9374 (arm*-*-linux*): Likewise.
9375 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9376 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9377 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9378 (arm*-*-ecos-elf): Likewise.
9379 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9380 (arm*-*-rtems*): Likewise.
9381 (arm*-*-elf): Likewise.
9382 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9383 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9384 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9385 (bfin*-uclinux*): Likewise.
9386 (bfin*-linux-uclibc*): Likewise.
9387 (bfin*-rtems*): Likewise.
9388 (bfin*-*): Likewise.
9389 (fido-*-elf): Merge into m68k-*-elf*.
9390 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9391 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9392 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9393 (h8300-*-elf*): Likewise.
9394 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9395 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9396 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9397 (i[34567]86-*-mingw*): Likewise.
9398 (x86_64-*-mingw*): Likewise.
9399 (i[34567]86-*-interix3*): Likewise.
9400 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9401 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9402 (m68k-*-elf*): Also handle fido-*-elf.
9403 Add m68k/t-floatlib to tmake_file.
9404 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9405 (m68k-*-linux*): Likewise.
9406 (m68k-*-rtems*): Likewise.
9407 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9408 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9409 sh64*-*-*.
9410 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9411 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9412 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9413 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9414 sh/t-netbsd to tmake_file.
9415 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9416 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9417 (sh-wrs-vxworks): Likewise.
9418 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9419 *-leon[3-9]*.
9420 (v850*-*-*): Add v850/t-v850 to tmake_file.
9421 (vax-*-linux*): Add vax/t-linux to tmake_file.
9422 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9423
9424 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9425
9426 * crtstuff.c: New file.
9427 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9428 (CRTSTUFF_T_CFLAGS): Define.
9429 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9430 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9431 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9432 crtstuff.c.
9433 Use $<.
9434 (crtbeginT.o): Use $(objext).
9435 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9436 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9437 (gcc-extra-parts): Remove.
9438 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9439 Set extra_parts.
9440 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9441 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9442 Add t-crtstuff-pic to tmake_file.
9443 (*-*-lynxos*): New case.
9444 Set tmake_file, extra_parts.
9445 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9446 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9447 *-*-netbsdelf[2-9]*.
9448 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9449 (*-*-rtems*): Set extra_parts.
9450 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9451 (*-*-uclinux*): New case.
9452 Set extra_parts.
9453 (*-*-vms*): New case.
9454 Set tmake_file, extra_parts.
9455 (*-*-elf): Set extra_parts.
9456 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9457 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9458 vms/t-vms64.
9459 Set extra_parts.
9460 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9461 Set extra_parts.
9462 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9463 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9464 (arm-wrs-vxworks): Append to tmake_file.
9465 Set extra_parts.
9466 (arm*-*-uclinux*): Set extra_parts.
9467 (arm*-*-ecos-elf): Likewise.
9468 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9469 arm*-*-eabi*.
9470 (arm*-*-rtems*): Set extra_parts.
9471 (arm*-*-elf): Likewise.
9472 (avr-*-rtems*): Clear extra_parts.
9473 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9474 Set extra_parts.
9475 (bfin*-uclinux*): Likewise.
9476 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9477 (bfin*-rtems*): Append to tmake_file.
9478 Set extra_parts.
9479 (bfin*-*): Likewise.
9480 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9481 (crisv32-*-elf): ... this.
9482 (crisv32-*-none): ... this.
9483 (cris-*-elf, cris-*-none): New cases.
9484 Add cris/t-elfmulti to tmake_file.
9485 (fr30-*-elf): Append to tmake_file.
9486 Set extra_parts.
9487 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9488 Set extra_parts.
9489 (h8300-*-rtems*): Append to tmake_file.
9490 Set extra_parts.
9491 (h8300-*-elf*): Likewise.
9492 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9493 Set extra_parts.
9494 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9495 Set extra_parts.
9496 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9497 (x86_64-*-elf*): Likewise.
9498 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9499 (x86_64-*-freebsd*): Likewise.
9500 (x86_64-*-netbsd*): Likewise.
9501 (i[34567]86-*-linux*): Likewise.
9502 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9503 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9504 (x86_64-*-linux*): Likewise.
9505 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9506 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9507 tmake_file.
9508 Set extra_parts.
9509 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9510 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9511 Append to extra_parts, remove crtbegin.o, crtend.o.
9512 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9513 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9514 crtend.o, crtbeginS.o, crtendS.o.
9515 (ia64*-*-linux*): Comment extra_parts.
9516 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9517 Set extra_parts.
9518 (iq2000*-*-elf*): Clear extra_parts.
9519 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9520 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9521 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9522 (m32r-*-rtems*): ... this.
9523 Add m32r/t-m32r to tmake_file.
9524 (m68k-*-elf*): Add t-crtin to tmake_file.
9525 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9526 (mcore-*-elf): Likewise.
9527 (microblaze*-*-*): Set extra_parts.
9528 (mips*-sde-elf*): New case.
9529 Set tmake_file, extra_parts.
9530 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9531 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9532 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9533 tmake_file.
9534 Set extra_parts.
9535 (mipsisa64sr71k-*-elf*): Likewise.
9536 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9537 (mips-*-elf*, mipsel-*-elf*): Likewise.
9538 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9539 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9540 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9541 (mips*-*-rtems*): Likewise.
9542 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9543 (moxie-*-*): Split into ...
9544 (moxie-*-elf, moxie-*-uclinux*): ... this.
9545 Add to extra_parts, remove crtbegin.o, crtend.o.
9546 (moxie-*-rtems*): New case.
9547 Set tmake_file.
9548 Clear extra_parts.
9549 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9550 Set extra_parts.
9551 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9552 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9553 tmake_file.
9554 Set extra_parts.
9555 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9556 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9557 Set extra_parts.
9558 (powerpc-*-eabisim*): Likewise.
9559 (powerpc-*-elf*): Likewise.
9560 (powerpc-*-eabialtivec*): Likewise.
9561 (powerpc-xilinx-eabi*): Likewise.
9562 (powerpc-*-eabi*): Likewise.
9563 (powerpc-*-rtems*): Likewise.
9564 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9565 tmake_file.
9566 Set extra_parts.
9567 (powerpc-*-lynxos*): Add to tmake_file.
9568 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9569 rs6000/t-crtstuff, t-crtstuff-pic.
9570 Set extra_parts.
9571 (powerpcle-*-eabisim*): Likewise.
9572 (powerpcle-*-eabi*): Likewise.
9573 (rx-*-elf): Remove extra_parts.
9574 (s390x-ibm-tpf*): Set extra_parts.
9575 (score-*-elf): Set extra_parts.
9576 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9577 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9578 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9579 (sh64l*-*-netbsd*): Split into ...
9580 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9581 Add t-crtstuff-pic to tmake_file.
9582 Set extra_parts.
9583 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9584 Set extra_parts.
9585 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9586 (sparc-*-elf*): Remove t-crtin from tmake_file.
9587 Add to extra_parts, remove crtbegin.o, crtend.o.
9588 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9589 (sparc64-*-linux*): Likewise.
9590 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9591 Add to extra_parts, remove crtbegin.o, crtend.o.
9592 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9593 Add to extra_parts, remove crtbegin.o, crtend.o.
9594 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9595 Add to extra_parts, remove crtbegin.o, crtend.o.
9596 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9597 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9598 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9599 Set extra_parts.
9600 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9601 Set extra_parts.
9602 (tic6x-*-*): Change to ...
9603 (tic6x-*-elf): ... this.
9604 Set extra_parts.
9605 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9606 Set extra_parts.
9607 (am33_2.0-*-linux*): Add comment.
9608 (mep*-*-*): Add mep/t-mep to tmake_file.
9609 Set extra_parts.
9610 * config/alpha/t-vms: New file.
9611 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9612 * config/arm/crti.S, config/arm/crtn.S: New files.
9613 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9614 * config/bfin/crtlibid.S: New file.
9615 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9616 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9617 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9618 (crti.o, crtin.o): New rules.
9619 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9620 * config/c6x/t-uclinux: New file.
9621 * config/cris/t-elfmulti: New file.
9622 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9623 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9624 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9625 * config/frv/t-frv: New file.
9626 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9627 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9628 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9629 New files.
9630 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9631 refer to cygming-crtbegin.c, cygming-crtend.c.
9632 Use $<.
9633 * config/i386/t-nto: New file.
9634 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9635 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9636 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9637 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9638 Use .S extension.
9639 Use $<.
9640 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9641 (crtinitS.o): New rule.
9642 * config/ia64/vms-crtinit.S: New file.
9643 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9644 * config/m32r/initfini.c: New file.
9645 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9646 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9647 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9648 * config/mep/t-mep: New file.
9649 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9650 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9651 * config/mips/crti.S, config/mips/crtn.S: New files.
9652 * config/mips/t-crtstuff: New file.
9653 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9654 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9655 (CUSTOM_CRTIN): Set.
9656 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9657 dependencies.
9658 Use $(srcdir) to refer to crti.S, crtn.S.
9659 Use .S extension, $<.
9660 * config/moxie/crti.asm: Rename to ...
9661 * config/moxie/crti.S: ... this.
9662 * config/moxie/crtn.asm: Rename to ...
9663 * config/moxie/crtn.S: ... this.
9664 * config/moxie/t-moxie: Remove.
9665 * config/pa/stublib.c: New file.
9666 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9667 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9668 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9669 * config/rs6000/t-crtstuff: New file.
9670 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9671 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9672 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9673 Make output file explicit.
9674 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9675 Make output file explicit.
9676 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9677 Make output file explicit.
9678 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9679 Make output file explicit.
9680 * config/score/crti.S, config/score/crtn.S: New files.
9681 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9682 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9683 files.
9684 * config/sh/t-sh, config/sh/t-superh: New files.
9685 * config/sparc/t-linux64: New file.
9686 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9687 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9688 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9689 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9690 * config/t-crtin: Remove.
9691 * config/t-crtstuff-pic: New file.
9692 * config/t-sol2 (CUSTOM_CRTIN): Set.
9693 (crti.o, crtn.o): New rules.
9694 * config/vms/t-vms: New file.
9695 * config/vms/vms-ucrt0.c: New file.
9696 * config/xtensa/t-elf: New file.
9697
9698 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9699
9700 * Makefile.in (SHLIB_NM_FLAGS): Set.
9701 * mkmap-flat.awk, mkmap-symver.awk: New files.
9702 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9703 exceptions.
9704 * configure: Regenerate.
9705 * config/libgcc-glibc.ver: New file.
9706 * config/libgcc-libsystem.ver: New file.
9707 * config/t-libunwind (SHLIB_LC): Set.
9708 * config/t-linux: New file.
9709 * config/t-slibgcc (INSTALL_SHLIB): New.
9710 (SHLIB_INSTALL): Use it.
9711 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9712 to mkmap-symver.awk.
9713 (SHLIB_MAPFILES): Don't append, adapt pathname.
9714 (SHLIB_VERPFX): Set.
9715 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9716 to mkmap-symver.awk.
9717 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9718 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9719 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9720 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9721 to mkmap-flat.awk.
9722 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9723 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9724 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9725 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9726 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9727 * config/i386/libgcc-darwin.10.4.ver,
9728 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9729 New files.
9730 * config/i386/t-darwin: Remove.
9731 * config/i386/t-darwin64: Likewise.
9732 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9733 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9734 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9735 * config/i386/t-linux: New file.
9736 * config/i386/t-mingw32: New file.
9737 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9738 * config/ia64/t-glibc: Rename to ...
9739 * config/ia64/t-linux: ... this.
9740 (SHLIB_MAPFILES): Set.
9741 * config/ia64/t-glibc-libunwind: Rename to ...
9742 * config/ia64/t-linux-libunwind: ... this.
9743 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9744 * config/ia64/t-slibgcc-hpux: New file.
9745 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9746 * config/m68k/t-slibgcc-elf-ver: New file.
9747 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9748 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9749 to mkmap-flat.awk.
9750 * config/pa/t-slibgcc-hpux: New file.
9751 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9752 files.
9753 * config/rs6000/libgcc-darwin.10.4.ver,
9754 config/rs6000/libgcc-darwin.10.5.ver: New files.
9755 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9756 config/rs6000/libgcc-glibc.ver.
9757 * config/rs6000/libgcc-ppc64.ver: Rename to
9758 config/rs6000/libgcc-ibm-ldouble.ver.
9759 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9760 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9761 * config/rs6000/t-ldbl128: Rename to ...
9762 * config/rs6000/t-linux: ... this.
9763 (SHLIB_MAPFILES): Adapt filename.
9764 * config/rs6000/t-slibgcc-aix: New file.
9765 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9766 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9767 libgcc-excl.ver, libgcc-glibc.ver.
9768 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9769 * config/sparc/libgcc-glibc.ver: New file.
9770 * config/sparc/t-linux: New file.
9771 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9772 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9773 t-slibgcc-elf-ver to tmake_file.
9774 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9775 *-*-freebsd[34].
9776 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9777 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9778 t-slibgcc-elf-ver, t-linux to tmake_file.
9779 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9780 tmake_file.
9781 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9782 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9783 (alpha*-dec-*vms*): Likewise.
9784 (arm*-*-freebsd*): Append to tmake_file.
9785 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9786 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9787 arm*-*-linux-*eabi.
9788 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9789 tmake_file for arm*-*-symbianelf*.
9790 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9791 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9792 cris/t-linux.
9793 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9794 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9795 pa/t-slibgcc-dwarf-ver to tmake_file.
9796 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9797 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9798 (hppa*64*-*-hpux11*): Likewise.
9799 (hppa[12]*-*-hpux11*): Likewise.
9800 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9801 i386/t-crtpc, i386/t-crtfm.
9802 (i[34567]86-*-cygwin*): 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-cygwin to tmake_file.
9806 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9807 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9808 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9809 to tmake_file.
9810 Add i386/t-mingw32 to tmake_file.
9811 (x86_64-*-mingw*): Likewise.
9812 (ia64*-*-freebsd*): Append to tmake_file.
9813 (ia64*-*-linux*): Append to tmake_file.
9814 Replace ia64/t-glibc by ia64/t-linux.
9815 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9816 system libunwind.
9817 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9818 t-slibgcc-hpux to tmake_file.
9819 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9820 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9821 (m32rle-*-linux*): Likewise.
9822 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9823 sjlj exceptions.
9824 (microblaze*-linux*): New case.
9825 Append to tmake_file, add t-slibgcc-nolc-override.
9826 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9827 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9828 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9829 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9830 rs6000/t-slibgcc-aix to tmake_file.
9831 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9832 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9833 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9834 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9835 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9836 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9837 sh*-*-linux*.
9838 (sparc-*-linux*): Append to tmake_file for *-leon*.
9839 Add sparc/t-linux to tmake_file for non-Leon targets.
9840 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9841 (tic6x-*-uclinux): New case.
9842 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9843 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9844 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9845 (am33_2.0-*-linux*): Append to tmake_file.
9846 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9847 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9848 x86_64-*-kfreebsd*-gnu.
9849 Add i386/t-linux to tmake_file.
9850
9851 2011-10-28 Ian Lance Taylor <iant@google.com>
9852
9853 * config/i386/morestack.S: Correct CFI information to do proper
9854 returns throughout function. In 32-bit mode, save %ebx so that it
9855 is restored on unwind.
9856
9857 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9858
9859 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9860 case where B3 isn't the return register.
9861
9862 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9863 logic for doubleword pops.
9864
9865 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9866
9867 * config/rs6000/t-freebsd: Add wildcard.
9868
9869 2011-10-21 Paul Brook <paul@codesourcery.com>
9870
9871 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9872
9873 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9874 Eric Botcazou <ebotcazou@adacore.com>
9875
9876 PR target/50737
9877 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9878 fs->signal_frame to 1.
9879
9880 2011-10-07 Ian Lance Taylor <iant@google.com>
9881
9882 * generic-morestack-thread.c: #include <errno.h>.
9883
9884 2011-10-07 Ian Lance Taylor <iant@google.com>
9885
9886 PR target/46093
9887 * generic-morestack.c (__generic_morestack): Make sure the segment
9888 is large enough for both the stack frame and the copied
9889 parameters.
9890
9891 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9892
9893 PR bootstrap/49804
9894 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9895 extra_parts.
9896
9897 2011-09-28 Nick Clifton <nickc@redhat.com>
9898
9899 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9900 64-bit doubles are not enabled.
9901 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9902 and floatunsisf functions.
9903
9904 2011-09-13 Paul Brook <paul@codesourcery.com>
9905
9906 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9907 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9908 * unwind-arm-common.inc: New file.
9909 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9910 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9911 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9912 * config/c6x/libunwind.S: New file.
9913 * config/c6x/pr-support.c: New file.
9914 * config/c6x/unwind-c6x.c: New file.
9915 * config/c6x/unwind-c6x.h: New file.
9916 * config/c6x/t-c6x-elf: New file.
9917
9918 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9919
9920 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9921 (ASM_DIVZERO): Ditto.
9922 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9923
9924 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9925
9926 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9927
9928 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9929
9930 PR target/50090
9931 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9932 instead of an assembly one.
9933
9934 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9935
9936 PR bootstrap/50047
9937 * Makefile.in (install-unwind_h): Create
9938 $(gcc_objdir)/include/unwind.h atomically.
9939
9940 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9941
9942 * Makefile.in (install-unwind_h): Remove destination file first.
9943
9944 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9945
9946 * sync.c: New file.
9947 * config/mips/t-mips16: New file.
9948 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9949 (mips*-*-linux*): Likewise.
9950 (mips*-sde-elf*): Likewise.
9951 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9952 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9953 Add mips/t-mips16 to tmake_file.
9954 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9955 (mips-*-elf*): Likewise.
9956 (mips64-*-elf*): Likewise.
9957 (mips64orion-*-elf*): Likewise.
9958 (mips*-*-rtems*): Likewise.
9959 (mipstx39-*-elf*): Likewise.
9960 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9961 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9962 LIBGCC_SYNC_CFLAGS.
9963 Use $(srcdir) to refer to sync.c.
9964 Use $<.
9965 ($(libgcc-sync-funcs-o)): Likewise.
9966 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9967 ($(libgcc-sync-funcs-s-o)): Likewise.
9968
9969 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9970
9971 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9972 t-libunwind.
9973
9974 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9975
9976 PR other/48007
9977 * config/i386/value-unwind.h: New.
9978
9979 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9980
9981 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9982 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9983 Add to tmake_file rather than overriding it.
9984
9985 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9986
9987 * config/t-softfp: Remove.
9988 * soft-fp: Moved from ../gcc/config.
9989 * soft-fp/README: Remove t-softfp reference.
9990 * soft-fp/t-softfp: Move to config/t-softfp.
9991 (softfp_machine_header): Remove.
9992 (softfp_file_list): Remove config subdir.
9993 (soft-fp-objects): New variable.
9994 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9995 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9996 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9997 * config/t-softfp-excl: New file.
9998 * config/t-softfp-sfdf: New file.
9999 * config/t-softfp-tf: New file.
10000 * config/no-sfp-machine.h: New file.
10001 * config/arm/sfp-machine.h: New file.
10002 * config/arm/t-softfp: New file.
10003 * config/c6x/sfp-machine.h: New file.
10004 * config/i386/32/t-fprules-softfp: Rename to ...
10005 * config/i386/32/t-softfp: ... this.
10006 (tifunctions, LIB2ADD): Remove.
10007 (softfp_int_modes): Override.
10008 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10009 subdir.
10010 * config/i386/64/eqtf2.c: Likewise.
10011 * config/i386/64/getf2.c: Likewise.
10012 * config/i386/64/letf2.c: Likewise.
10013 * config/ia64/sft-machine.h: New file.
10014 * config/ia64/t-fprules-softfp: Rename to ...
10015 * config/ia64/t-softfp: ... this.
10016 * config/lm32/sfp-machine.h: New file.
10017 * config/moxie/t-moxie-softfp: Remove.
10018 * config/rs6000/ibm-ldouble-format: New file.
10019 * config/rs6000/ibm-ldouble.c: New file.
10020 * config/rs6000/libgcc-ppc-glibc.ver: New file
10021 * config/rs6000/libgcc-ppc64.ver: New file
10022 * config/rs6000/sfp-machine.h: New file.
10023 * config/rs6000/t-freebsd: New file.
10024 * config/rs6000/t-ibm-ldouble: New file.
10025 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10026 libgcc-ppc-glibc.ver.
10027 * config/rs6000/t-linux64: New file.
10028 * config/rs6000/t-ppccomm (LIB2ADD): Add
10029 $(srcdir)/config/rs6000/ibm-ldouble.c.
10030 * config/rs6000/t-ppccomm-ldbl: New file.
10031 * config/score/sfp-machine.h: New file.
10032 * config.host (sfp_machine_header): Explain.
10033 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10034 t-softfp to tmake_file.
10035 (arm*-*-uclinux*): Likewise.
10036 (arm*-*-ecos-elf): Likewise.
10037 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10038 (arm*-*-rtems*): Likewise.
10039 (arm*-*-elf): Likewise.
10040 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10041 in tmake_file.
10042 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10043 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10044 (lm32-*-uclinux*): Likewise.
10045 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10046 t-softfp-excl, t-softfp.
10047 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10048 (powerpc64-*-darwin*): Likewise.
10049 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10050 to tmake_file.
10051 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10052 tmake_file.
10053 (powerpc-*-eabisim*): Likewise.
10054 (powerpc-*-elf*): Likewise.
10055 (powerpc-*-eabialtivec*): Likewise.
10056 (powerpc-xilinx-eabi*): Likewise.
10057 (powerpc-*-rtems*): Likewise.
10058 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10059 t-softfp-excl, t-softfp to tmake_file.
10060 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10061 rs6000/t-ppccomm-ldbl to tmake_file.
10062 (powerpcle-*-elf*): Likewise.
10063 (powerpcle-*-eabisim*): Likewise.
10064 (powerpcle-*-eabi*): Likewise.
10065 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10066 rs6000/t-ibm-ldouble to tmake_file.
10067 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10068 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10069 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10070 (tic6x-*-*): Likewise.
10071 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10072 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10073 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10074 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10075 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10076 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10077 t-softfp to tmake_file.
10078 * configure.ac (sfp_machine_header): Provide default if unset.
10079 Substitute.
10080 Link sfp-machine.h to config/$sfp_machine_header.
10081 * configure: Regenerate.
10082
10083 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10084
10085 * Makefile.in (double_type_size, long_double_type_size): Set.
10086 Remove $(fpbit-in-libgcc) support.
10087 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10088 (fpbit-src): New variable.
10089 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10090 Compile with -DFLOAT $(FPBIT_CFLAGS).
10091 Use $<.
10092 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10093 Compile with $(FPBIT_CFLAGS).
10094 Use $<.
10095 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10096 Compile with -DFLOAT $(TPBIT_CFLAGS).
10097 Use $<.
10098 * configure.ac (double_type_size, long_double_type_size):
10099 Determine and substitute.
10100 * configure: Regenerate.
10101 * fp-bit.c, fp-bit.h: New files.
10102 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10103 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10104 * config/mips/t-mips: New file.
10105 * config/mips/t-sdemtk: New file.
10106 * config/rs6000/ppc64-fp.c: New file.
10107 * config/rs6000/t-darwin (LIB2ADD): Add
10108 $(srcdir)/config/rs6000/ppc64-fp.c.
10109 * config/rs6000/t-ppc64-fp: New file.
10110 * config/rx/rx-lib.h: New file.
10111 * config/rx/t-rx (FPBIT): Set to true.
10112 ($(gcc_objdir)/fp-bit.c): Remove.
10113 (DPBIT): Set to true only with -m64bit-doubles.
10114 ($(gcc_objdir)/dp-bit.c): Remove.
10115 * config/sparc/t-softfp: Remove.
10116 * config/spu/t-elf: New file.
10117 * config/t-fdpbit, config/t-fpbit: New files.
10118 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10119 (mips*-*-*): Likewise.
10120 (arm-wrs-vxworks): Likewise.
10121 (arm*-*-freebsd*): Likewise.
10122 (avr-*-rtems*): Add t-fpbit to tmake_file.
10123 (avr-*-*): Likewise.
10124 (bfin*-elf*): Add t-fdpbit to tmake_file.
10125 (bfin*-uclinux*): Likewise.
10126 (bfin*-linux-uclibc*): Likewise.
10127 (bfin*-rtems*): New case.
10128 Add t-fdpbit to tmake_file.
10129 (bfin*-*): Add t-fdpbit to tmake_file.
10130 (crisv32-*-elf): Likewise.
10131 (cris-*-linux*): Likewise.
10132 (fr30-*-elf): Likewise.
10133 (frv-*-elf, frv-*-*linux*): Likewise.
10134 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10135 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10136 (m32r-*-elf*): Likewise.
10137 (m32rle-*-elf*): Likewise.
10138 (m32r-*-linux*): Likewise.
10139 (m32rle-*-linux*): Likewise.
10140 (mcore-*-elf): Add t-fdpbit to tmake_file.
10141 (microblaze*-*-*): Likewise.
10142 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10143 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10144 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10145 Fix typo.
10146 Add mips/t-tpbit to tmake-file.
10147 (mips*-*-linux*): Fix typo.
10148 (mips*-sde-elf*): New case
10149 Add mips/t-sdemtk unless using newlib.
10150 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10151 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10152 (mn10300-*-*): Likewise.
10153 (pdp11-*-*): Likewise.
10154 (picochip-*-*): Add t-fpbit to tmake_file.
10155 (powerpc-*-eabisimaltivec*): Likewise.
10156 (powerpc-*-eabisim*): Likewise.
10157 (powerpc-*-elf*): Likewise.
10158 (powerpc-*-eabialtivec*): Likewise.
10159 (powerpc-xilinx-eabi*): New case.
10160 Add t-fdpbit to tmake_file.
10161 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10162 (powerpc-*-rtems*): Likewise.
10163 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10164 tmake_file.
10165 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10166 tmake_file.
10167 (powerpc-*-lynxos*): Likewise.
10168 (powerpcle-*-elf*): Likewise.
10169 (powerpcle-*-eabisim*): Likewise.
10170 (powerpcle-*-eabi*): Likewise.
10171 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10172 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10173 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10174 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10175 (rx-*-elf): Add t-fdpbit to tmake_file.
10176 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10177 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10178 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10179 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10180 sh*-*-netbsd*.
10181 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10182 (sh-wrs-vxworks): Likewise.
10183 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10184 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10185 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10186 (sparc64-*-rtems*): ... new case.
10187 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10188 (spu-*-elf*): Likewise.
10189 Add spu/t-elf to tmake_file.
10190 (v850*-*-*): Add t-fdpbit to tmake_file.
10191 (xstormy16-*-elf): Likewise.
10192 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10193 (mep*-*-*): Likewise.
10194
10195 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10196
10197 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10198 variables.
10199 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10200 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10201 (install-unwind_h): New target.
10202 (all): Depend on it.
10203 * config.host (unwind_header): New variable.
10204 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10205 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10206 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10207 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10208 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10209 Set unwind_header.
10210 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10211 Set unwind_header.
10212 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10213 arm*-*-eabi*.
10214 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10215 Set unwind_header.
10216 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10217 (ia64*-*-freebsd*): Likewise.
10218 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10219 tmake_file.
10220 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10221 $with_system_libunwind.
10222 (ia64*-*-hpux*): Set tmake_file.
10223 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10224 (picochip-*-*): Set tmake_file.
10225 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10226 md_unwind_header.
10227 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10228 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10229 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10230 (xtensa*-*-elf*): Set tmake_file.
10231 (xtensa*-*-linux*): Likewise.
10232 * configure.ac: Include ../config/unwind_ipinfo.m4.
10233 Call GCC_CHECK_UNWIND_GETIPINFO.
10234 Link unwind.h to $unwind_header.
10235 * configure: Regenerate.
10236 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10237 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10238 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10239 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10240 * config/unwind-dw2-fde-darwin.c: New file.
10241 * config/arm/libunwind.S, config/arm/pr-support.c,
10242 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10243 config/arm/unwind-arm.h,: New files.
10244 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10245 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10246 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10247 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10248 config/ia64/unwind-ia64.h: New files.
10249 * config/picochip/t-picochip: New file.
10250 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10251 files.
10252 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10253 * config/s390/t-tpf (LIB2ADDEH): Remove.
10254 * config/t-darwin (LIB2ADDEH): Set.
10255 * config/t-eh-dw2-dip: New file.
10256 * config/t-libunwind, config/t-libunwind-elf: New files.
10257 * config/t-sol2 (LIB2ADDEH): Remove.
10258 * config/xtensa/t-xtensa: New file.
10259
10260 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10261
10262 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10263 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10264 long long to check rt_sigreturn syscall.
10265
10266 2011-08-02 Alan Modra <amodra@gmail.com>
10267
10268 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10269 Restore for indirect call bcrtl from correct stack slot, and only
10270 if cfa+40 isn't valid.
10271
10272 2011-08-01 Julian Brown <julian@codesourcery.com>
10273
10274 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10275 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10276 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10277
10278 2011-08-01 Julian Brown <julian@codesourcery.com>
10279
10280 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10281 (libgcc-std.ver.in): Use above.
10282 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10283 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10284 throughout file.
10285 * config/t-fixedpoint-gnu-prefix: New file.
10286 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10287 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10288 instead of __PFX__.
10289
10290 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10291
10292 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10293 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10294 for x86-64. Properly check __x86_64__ and __LP64__.
10295
10296 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10297
10298 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10299 version.
10300 (_FP_WS_TYPE): Likewise.
10301 (_FP_I_TYPE): Likewise.
10302
10303 2011-07-28 Alan Modra <amodra@gmail.com>
10304
10305 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10306 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10307 in a plt call stub. Do restore r2 if stopped on bctrl.
10308
10309 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10310
10311 * config.host (i[3456x]86-*-netware*): Remove.
10312 * config/i386/netware-crt0.c, config/i386/t-nwld,
10313 config/i386/t-slibgcc-nwld: Remove.
10314
10315 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10316
10317 * config.host: Handle tic6x-*-*.
10318 * config/c6x/c6x-abi.h: New file.
10319
10320 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10321
10322 * config/i386/crtprec.c: New file.
10323 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10324 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10325 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10326 (x86_64-*-darwin*): Likewise.
10327 (i[34567]86-*-solaris2*: Likewise.
10328
10329 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10330
10331 * config/alpha/crtfastmath.c: New file.
10332 * config/i386/crtfastmath.c: New file.
10333 * config/ia64/crtfastmath.c: New file.
10334 * config/mips/crtfastmath.c: New file.
10335 * config/sparc/crtfastmath.c: New file.
10336
10337 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10338 crtfastmath.c.
10339 Add -frandom-seed=gcc-crtfastmath.
10340 * config/alpha/t-crtfm: Remove.
10341 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10342 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10343
10344 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10345 (alpha*-dec-osf5.1*): Likewise.
10346 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10347 Add crtfastmath.o to extra_parts.
10348 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10349 Add crtfastmath.o to extra_parts.
10350 (x86_64-*-darwin*): Likewise.
10351 (x86_64-*-mingw*): Likewise.
10352 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10353 (ia64*-*-freebsd*): Likewise.
10354 (ia64*-*-linux*): Likewise.
10355 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10356 Add crtfastmath.o to extra_parts.
10357
10358 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10359
10360 * config/darwin-crt3.o: New file.
10361 * config/rs6000/darwin-crt2.c: New file.
10362 * config/t-darwin: New file.
10363 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10364 (crt2.o): New rule.
10365 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10366 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10367 (powerpc64-*-darwin*): Likewise.
10368
10369 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10370
10371 * config/i386/netware-crt0.c: New file.
10372 * config/i386/t-nwld: Rename to ...
10373 * config/i386/t-slibgcc-nwld: ... this.
10374 * config/i386/t-nwld: New file.
10375 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10376 tmake_file.
10377 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10378 extra_parts.
10379
10380 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10381
10382 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10383 i386/t-crtstuff.
10384 * configure: Regenerate.
10385
10386 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10387
10388 * dfp-bit.c, dfp-bit.h: New files.
10389 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10390 variables.
10391 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10392 ($(d64pbit-o)): Likewise.
10393 ($(d128pbit-o)): Likewise.
10394 * config/t-dfprules: New file.
10395 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10396 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10397 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10398 (x86_64-*-linux*): Likewise.
10399 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10400 (i[34567]86-*-cygwin*): Likewise.
10401 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10402 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10403
10404 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10405
10406 * Makfile.in (LIBGCOV): New variable.
10407 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10408 * libgcov.c: New file.
10409
10410 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10411
10412 * fixed-bit.c, fixed-bit.h: New files.
10413 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10414 refer to fixed-bit.c.
10415
10416 2011-07-07 Joseph Myers <joseph@codesourcery.com>
10417
10418 * config.host (*local*): Remove.
10419
10420 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10421
10422 PR target/39150
10423 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10424 like i?86-*-solaris2.1[0-9]*.
10425 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10426 * configure.ac (i?86-*-solaris2*): Likewise.
10427 * configure: Regenerate.
10428
10429 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
10430
10431 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10432 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10433 md_unwind_header by splitting out of...
10434 (i[34567]86-*-linux*): ... this.
10435 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10436 Remove md_unwind_header by splitting out of...
10437 (x86_64-*-linux*): ... this.
10438
10439 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
10440
10441 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10442
10443 2011-06-28 Nick Clifton <nickc@redhat.com>
10444
10445 * config.host: Recognize all V850 variants.
10446
10447 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
10448
10449 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10450
10451 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10452
10453 * shared-object.mk (c_flags-$o): Save c_flags.
10454 ($(base)$(objext)): Use it.
10455 ($(base)_s$(objext)): Likewise.
10456
10457 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10458
10459 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10460 * libgcc-std.ver.in (GCC_4.7.0): New section.
10461
10462 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
10463
10464 PR target/49313
10465 PR target/29524
10466 * config/avr/t-avr: Fix line endings.
10467 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10468 _parityXX2.
10469
10470 2011-06-14 Olivier Hainque <hainque@adacore.com>
10471 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10472
10473 * config/mips/irix6-unwind.h: New file.
10474 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10475
10476 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10477
10478 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10479 (sparc64_fallback_frame_state): Use it.
10480 (sparc64_frob_update_context): Further adjust context.
10481 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10482 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10483 * config/sparc/sol2-cn.S: Likewise.
10484
10485 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10486
10487 * enable-execute-stack-empty.c: New file.
10488 * enable-execute-stack-mprotect.c: New file.
10489 * config/i386/enable-execute-stack-mingw32.c: New file.
10490 * config.host (enable_execute_stack): New variable.
10491 Select appropriate variants.
10492 * configure.ac: Link enable-execute-stack.c to
10493 $enable_execute_stack.
10494 * configure: Regenerate.
10495 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10496 (lib2funcs): Remove _enable_execute_stack.
10497
10498 2011-06-09 David S. Miller <davem@davemloft.net>
10499 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10500
10501 * config.host (sparc-*-linux*): Correct md_unwind_header
10502 filename.
10503 (s390x-ibm-tpf*): Fix typo.
10504
10505 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10506
10507 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10508 Add crtfastmath.o to extra_parts.
10509 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10510 mips/t-crtfm.
10511 * config/mips/t-crtfm: Remove.
10512
10513 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10514
10515 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10516
10517 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10518
10519 * config.host (sh*-*-linux*): Fix typo.
10520
10521 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10522
10523 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10524 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10525 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10526 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10527 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10528 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10529 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10530 Wrap in !__MINGW64__.
10531 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10532 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10533 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10534 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10535 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10536 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10537 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10538 Wrap in !__LP64__.
10539 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10540 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10541 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10542 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10543 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10544 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10545 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10546 * config/no-unwind.h: New file.
10547 * config.host (md_unwind_header): Document.
10548 Define.
10549 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10550 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10551 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10552 hppa[12]*-*-hpux11*): Set md_unwind_header.
10553 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10554 Set md_unwind_header.
10555 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10556 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10557 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10558 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10559 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10560 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10561 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10562 md_unwind_header.
10563 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10564 * configure: Regenerate.
10565
10566 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10567
10568 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10569 Set tmake_file, extra_parts.
10570 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10571 Remove O32 support.
10572 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10573 Remove O32 support.
10574 * config/mips/t-irix6: New file.
10575 * config/mips/t-slibgcc-irix: New file.
10576
10577 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10578
10579 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10580 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10581
10582 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10583
10584 * configure.ac (target_thread_file): Determine thread model.
10585 * configure: Regenerate.
10586 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10587 * config/alpha/t-alpha: New file.
10588 * config/alpha/t-crtfm: Use $<.
10589 * config/alpha/t-ieee: New file.
10590 * config/alpha/t-osf-pthread: New file.
10591 * config/alpha/t-slibgcc-osf: New file.
10592 * config/alpha/libgcc-osf5.ver: New file.
10593
10594 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10595
10596 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10597 tmake_file.
10598 Add crtfastmath.o to extra_parts.
10599
10600 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10601
10602 * config/gmon-sol2.c: Reindent.
10603 Cleanup comments.
10604 Remove, correct casts.
10605 Use STDERR_FILENO, NULL.
10606 (BASEADDRESS): Remove.
10607 (minbrk): Remove.
10608 (errno, sbrk): Remove declarations.
10609 (monstartup) [hp300]: Remove.
10610 (mcount): Remove.
10611
10612 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10613
10614 * Makefile.in (cpu_type): Define.
10615 * config.host (i[34567]86-*-rtems*): Handle it.
10616 (i[34567]86-*-solaris2*): Move body ...
10617 (*-*-solaris2*): ... here.
10618 New case, generalize.
10619 (sparc-*-elf*): Handle it.
10620 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10621 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10622 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10623 Fold into ...
10624 (sparc*-*-solaris2*): ... this.
10625 New case.
10626 (sparc64-*-elf*): Handle it.
10627 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10628 Merge ../gcc/config/i386/gmon-sol2.c.
10629 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10630 Use C comments.
10631 Merge ../gcc/config/i386/sol2-gc1.asm.
10632 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10633 Use C comments.
10634 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10635 Use C comments.
10636 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10637 * config/i386/t-crtstuff: New file.
10638 * config/i386/t-softfp: New file.
10639 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10640 $(T)crti.o, $(T)crtn.o): Remove.
10641 (gcrt1.o): New rule.
10642 (TARGET_LIBGCC2_CFLAGS): Remove.
10643 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10644 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10645 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10646 * config/sparc/t-sol2: New file.
10647 * config/sparc/t-crtfm: Move to ...
10648 * config/t-crtfm: ... this.
10649 Use $(cpu_type), $<.
10650 * config/t-crtin: New file.
10651 * config/sparc/t-softfp: New file.
10652 * config/sparc/t-softmul: New file.
10653 * config/t-rtems: New file.
10654 * config/t-slibgcc: New file.
10655 * config/t-slibgcc-elf-ver: New file.
10656 * config/t-slibgcc-gld: New file.
10657 * config/t-slibgcc-sld: New file.
10658 * config/t-sol2: New file.
10659 * configure.ac: Include ../config/lib-ld.m4.
10660 Call AC_LIB_PROG_LD_GNU.
10661 Substitute cpu_type.
10662 * configure: Regenerate.
10663
10664 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10665
10666 PR bootstrap/49173
10667 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10668 libgcc-std.ver in the build directory.
10669 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10670 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10671
10672 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10673
10674 * libgcc-std.ver.in: New file.
10675 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10676 variables.
10677 (libgcc-std.ver): New rule.
10678 * config/t-gnu-prefix: New file.
10679
10680 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10681
10682 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10683
10684 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10685
10686 * config/i386/darwin-lib.h: New file.
10687
10688 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10689
10690 * config/arm/symbian-lib.h: New.
10691
10692 2011-05-04 Chris Demetriou <cgd@google.com>
10693
10694 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10695 (__x86.get_pc_thunk.bx): ...this.
10696 (__morestack): Adjust for rename, remove undef of __i686.
10697
10698 2011-05-03 Chris Demetriou <cgd@google.com>
10699
10700 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10701
10702 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10703
10704 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10705 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10706 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10707 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10708 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10709 Remove cases.
10710
10711 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10712
10713 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10714 Adjust copyright year.
10715
10716 2011-03-07 Ian Lance Taylor <iant@google.com>
10717
10718 * generic-morestack.c (__splitstack_find): Adjust returned stack
10719 pointer to include all registers pushed by __morestack.
10720
10721 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10722
10723 PR target/40125
10724 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10725 (toolexecdir): Calculate and AC_SUBST.
10726 (toolexeclibdir): Likewise.
10727 * Makefile.in (target_noncanonical): Import.
10728 (toolexecdir): Likewise.
10729 (toolexeclibdir): Likewise.
10730 * configure: Regenerate.
10731
10732 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10733
10734 PR target/46040
10735 * config/arm/bpabi.h: Rename to...
10736 * config/arm/bpabi-lib.h: ...this.
10737
10738 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10739
10740 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10741 appropriate.
10742 * configure: Regenerate.
10743
10744 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10745
10746 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10747 __FLOAT_WORD_ORDER__.
10748 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10749 Delete.
10750
10751 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10752
10753 PR other/46202
10754 * Makefile.in (install-strip): New phony target.
10755
10756 2010-11-07 Ian Lance Taylor <iant@google.com>
10757
10758 PR target/46089
10759 * config/i386/morestack.S (__morestack_large_model): New
10760 function.
10761
10762 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10763
10764 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10765 Delete.
10766 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10767
10768 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10769
10770 * config/arm/bpabi.h: New file.
10771 * config/frv/frv-abi.h: New file.
10772
10773 2010-10-01 Ian Lance Taylor <iant@google.com>
10774
10775 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10776 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10777
10778 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10779
10780 PR target/45858
10781 * config.host: Add the missing `$'.
10782
10783 2010-09-30 Michael Eager <eager@eagercon.com>
10784
10785 * config.host: Add microblaze*-*-*.
10786 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10787 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10788 udivsi3.asm,umodsi3.asm}: New.
10789
10790 2010-09-28 Ian Lance Taylor <iant@google.com>
10791
10792 * configure.ac: Adjust CFI test to test assembler directly rather
10793 than checking gcc preprocessor macro.
10794 * configure: Rebuild.
10795
10796 2010-09-27 Ian Lance Taylor <iant@google.com>
10797
10798 * configure.ac: Test whether assembler supports CFI directives.
10799 * config.host: Only add t-stack and i386/t-stack-i386 to
10800 tmake_file if libgcc_cv_cfi is "yes".
10801 * configure: Rebuild.
10802
10803 2010-09-27 Ian Lance Taylor <iant@google.com>
10804
10805 * generic-morestack.h: New file.
10806 * generic-morestack.c: New file.
10807 * generic-morestack-thread.c: New file.
10808 * config/i386/morestack.S: New file.
10809 * config/t-stack: New file.
10810 * config/i386/t-stack-i386: New file.
10811 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10812 i386/t-stack-i386 to tmake_file.
10813
10814 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10815
10816 * Makefile.in (libgcc-extra-parts): Check for static archives and
10817 invoke ranlib after installing them.
10818 (gcc-extra-parts): Likewise.
10819 (install-leaf): Likewise.
10820
10821 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10822
10823 * configure: Regenerated.
10824
10825 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10826
10827 * configure: Regenerated.
10828
10829 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10830 Andrew Pinski <pinskia@gmail.com>
10831
10832 PR target/40959
10833 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10834
10835 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 PR target/45524
10838 * configure: Regenerated.
10839
10840 2010-09-06 Andreas Schwab <schwab@redhat.com>
10841
10842 * configure: Regenerate.
10843
10844 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10845
10846 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10847 64bit targets.
10848 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10849 for 64bit targets.
10850
10851 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10852 Iain Sandoe <iains@gcc.gnu.org>
10853
10854 PR target/45476
10855 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10856 LIB2FUNCS_EXCLUDE functions.
10857
10858 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10859
10860 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10861 Include dfp.m4.
10862 * configure: Regenerate.
10863
10864 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10865
10866 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10867 i386/t-freebsd to tmake_file.
10868 * config/i386/t-freebsd: New file.
10869 * config/i386/libgcc-bsd.ver: New file.
10870
10871 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10872
10873 * config.host (powerpc*-eabispe*): Set tmake_file.
10874 (powerpc*-eabi*): Likewise.
10875 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10876 crtbeginS, crtendS, crtbeginT.
10877
10878 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10879
10880 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10881 to tmake_file. Add crtfastmath.o to extra_parts.
10882 * config/mips/t-crtfm: New.
10883
10884 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10885
10886 * config.host (sparc64-*-rtems*): New target.
10887
10888 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10889
10890 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10891 assembler syntax.
10892
10893 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10894
10895 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10896
10897 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10898
10899 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10900 alpha-dec-osf5.0* support.
10901
10902 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10903
10904 * config.host: Add lm32-*-rtems*.
10905
10906 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10907 Uros Bizjak <ubizjak@gmail.com>
10908
10909 PR target/39048
10910 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10911 like other remaining 32-bit x86 OSes.
10912 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10913 assembler syntax.
10914 * config/i386/libgcc-sol2.ver: New file.
10915 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10916
10917 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10918
10919 PR c/43553
10920 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10921 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10922 is used and substitute set_use_emutls.
10923 * configure: Regenerated.
10924
10925 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10926
10927 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10928
10929 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10930
10931 PR target/38085
10932 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10933 MULTILIB_CFLAGS.
10934 ($(T)gcrt1.o): Likewise.
10935 ($(T)crt1.o): Likewise.
10936 ($(T)crti.o): Likewise.
10937 ($(T)crtn.o): Likewise.
10938
10939 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10940
10941 PR other/42980
10942 * Makefile.in (install): Use $(MAKE) string in rule, for
10943 parallel make.
10944
10945 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10946
10947 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10948 * config/mmix/t-mmix: New file.
10949 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10950
10951 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10952
10953 PR java/41991
10954 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10955 SHLIB_MAPFILES.
10956
10957 2010-01-04 Anthony Green <green@moxielogic.com>
10958
10959 * config/moxie/crti.asm, config/moxie/crtn.asm,
10960 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10961 config/moxie/t-moxie: New files.
10962 * config.host: Add t-moxie-softfp reference.
10963
10964 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10965
10966 PR other/39888
10967 * config/t-slibgcc-darwin: Fix embedded rpaths for
10968 --enable-version-specific-runtime-libs, build extension stub
10969 libs exposing features available from current libgcc_s.
10970
10971 2009-11-11 Jon Beniston <jon@beniston.com>
10972
10973 * config.host: Add lm32 targets.
10974 * config/lm32: New directory.
10975 * config/lm32/libgcc_lm32.h: New file.
10976 * config/lm32/_mulsi3.c: New file.
10977 * config/lm32/_udivmodsi4.c: New file.
10978 * config/lm32/_divsi3.c: New file.
10979 * config/lm32/_modsi3.c: New file.
10980 * config/lm32/_udivsi3.c: New file.
10981 * config/lm32/_umodsi3.c: New file.
10982 * config/lm32/_lshrsi3.S: New file.
10983 * config/lm32/_ashrsi3.S: New file.
10984 * config/lm32/_ashlsi3.S: New file.
10985 * config/lm32/crti.S: New file.
10986 * config/lm32/crtn.S: New file.
10987 * config/lm32/t-lm32: New file.
10988 * config/lm32/t-elf: New file.
10989 * config/lm32/t-uclinux: New file.
10990
10991 2009-10-26 Nick Clifton <nickc@redhat.com>
10992
10993 * config.host: Add support for RX target.
10994 * config/rx: New directory.
10995 * config/rx/rx-abi-functions.c: New file. Supplementary
10996 functions for libgcc to support the RX ABI.
10997 * config/rx/rx-abi.h: New file. Supplementary header file for
10998 libgcc RX ABI functions.
10999 * config/rx/t-rx: New file: Makefile fragment for building
11000 libgcc for the RX.
11001
11002 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
11003
11004 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11005 constraint of y0 to "g".
11006
11007 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11008
11009 * config.host: Include the s390 makefile fragments.
11010 * config/s390/32/_fixdfdi.c: New file.
11011 * config/s390/32/_fixsfdi.c: New file.
11012 * config/s390/32/_fixtfdi.c: New file.
11013 * config/s390/32/_fixunsdfdi.c: New file.
11014 * config/s390/32/_fixunssfdi.c: New file.
11015 * config/s390/32/_fixunstfdi.c: New file.
11016 * config/s390/32/t-floattodi: New file.
11017 * config/s390/libgcc-glibc.ver: New file.
11018 * config/s390/t-crtstuff: New file.
11019 * config/s390/t-linux: New file.
11020 * config/s390/t-tpf: New file.
11021
11022 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11023
11024 * configure.ac (AC_PREREQ): Bump to 2.64.
11025
11026 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11027
11028 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11029
11030 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11031
11032 * configure: Regenerate.
11033
11034 2009-08-09 Douglas B Rupp <rupp@gnat.com>
11035
11036 * config.host (ia64-hp-*vms*): New target.
11037 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11038 with ia64-hp-*vms*.
11039
11040 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11041
11042 * configure.ac: Add snippet for maintainer-mode.
11043 * configure: Regenerate.
11044 * Makefile.in (AUTOCONF, configure_deps): New variables.
11045 ($(srcdir)/configure)): New rule, active only with maintainer
11046 mode turned on.
11047
11048 2009-06-23 DJ Delorie <dj@redhat.com>
11049
11050 Add MeP port.
11051 * config.host: Add mep support.
11052
11053 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
11054
11055 * config.host: Add i386/${host_address}/t-fprules-softfp and
11056 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11057
11058 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11059 for mingw targets.
11060 * config/i386/64/_multc3.c: Likewise.
11061 * config/i386/64/_powitf2.c: Likewise.
11062 * config/i386/64/eqtf2.c: Likewise.
11063 * config/i386/64/getf2.c: Likewise.
11064 * config/i386/64/letf2.c: Likewise.
11065 * config/i386/64/letf2.c: Likewise.
11066 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11067 unsigned long long for x64 mingw targets.
11068 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11069 (_FP_I_TYPE): Define as long long for x64 mingw target.
11070
11071 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11072
11073 * config.host (vax-*-linux*): New.
11074
11075 2009-05-31 Anthony Green <green@moxielogic.com>
11076
11077 * config.host: Add moxie support.
11078 * config/moxie/t-moxie: New file.
11079
11080 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
11081
11082 * config.host: Add i386/${host_address}/t-fprules-softfp and
11083 t-softfp to tmake_file for i[34567]86-*-cygwin*.
11084
11085 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11086
11087 * config.host: Add i386/${host_address}/t-fprules-softfp to
11088 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11089
11090 2009-04-09 Nick Clifton <nickc@redhat.com>
11091
11092 * config/ia64/tf-signs.c: Change copyright header to refer to
11093 version 3 of the GNU General Public License with version 3.1
11094 of the GCC Runtime Library Exception and to point readers at
11095 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11096 web page.
11097 * config/i386/32/tf-signs.c: Likewise.
11098 * config/libbid/_addsub_dd.c: Likewise.
11099 * config/libbid/_addsub_sd.c: Likewise.
11100 * config/libbid/_addsub_td.c: Likewise.
11101 * config/libbid/_dd_to_df.c: Likewise.
11102 * config/libbid/_dd_to_di.c: Likewise.
11103 * config/libbid/_dd_to_sd.c: Likewise.
11104 * config/libbid/_dd_to_sf.c: Likewise.
11105 * config/libbid/_dd_to_si.c: Likewise.
11106 * config/libbid/_dd_to_td.c: Likewise.
11107 * config/libbid/_dd_to_tf.c: Likewise.
11108 * config/libbid/_dd_to_udi.c: Likewise.
11109 * config/libbid/_dd_to_usi.c: Likewise.
11110 * config/libbid/_dd_to_xf.c: Likewise.
11111 * config/libbid/_df_to_dd.c: Likewise.
11112 * config/libbid/_df_to_sd.c: Likewise.
11113 * config/libbid/_df_to_td.c: Likewise.
11114 * config/libbid/_di_to_dd.c: Likewise.
11115 * config/libbid/_di_to_sd.c: Likewise.
11116 * config/libbid/_di_to_td.c: Likewise.
11117 * config/libbid/_div_dd.c: Likewise.
11118 * config/libbid/_div_sd.c: Likewise.
11119 * config/libbid/_div_td.c: Likewise.
11120 * config/libbid/_eq_dd.c: Likewise.
11121 * config/libbid/_eq_sd.c: Likewise.
11122 * config/libbid/_eq_td.c: Likewise.
11123 * config/libbid/_ge_dd.c: Likewise.
11124 * config/libbid/_ge_sd.c: Likewise.
11125 * config/libbid/_ge_td.c: Likewise.
11126 * config/libbid/_gt_dd.c: Likewise.
11127 * config/libbid/_gt_sd.c: Likewise.
11128 * config/libbid/_gt_td.c: Likewise.
11129 * config/libbid/_isinfd128.c: Likewise.
11130 * config/libbid/_isinfd32.c: Likewise.
11131 * config/libbid/_isinfd64.c: Likewise.
11132 * config/libbid/_le_dd.c: Likewise.
11133 * config/libbid/_le_sd.c: Likewise.
11134 * config/libbid/_le_td.c: Likewise.
11135 * config/libbid/_lt_dd.c: Likewise.
11136 * config/libbid/_lt_sd.c: Likewise.
11137 * config/libbid/_lt_td.c: Likewise.
11138 * config/libbid/_mul_dd.c: Likewise.
11139 * config/libbid/_mul_sd.c: Likewise.
11140 * config/libbid/_mul_td.c: Likewise.
11141 * config/libbid/_ne_dd.c: Likewise.
11142 * config/libbid/_ne_sd.c: Likewise.
11143 * config/libbid/_ne_td.c: Likewise.
11144 * config/libbid/_sd_to_dd.c: Likewise.
11145 * config/libbid/_sd_to_df.c: Likewise.
11146 * config/libbid/_sd_to_di.c: Likewise.
11147 * config/libbid/_sd_to_sf.c: Likewise.
11148 * config/libbid/_sd_to_si.c: Likewise.
11149 * config/libbid/_sd_to_td.c: Likewise.
11150 * config/libbid/_sd_to_tf.c: Likewise.
11151 * config/libbid/_sd_to_udi.c: Likewise.
11152 * config/libbid/_sd_to_usi.c: Likewise.
11153 * config/libbid/_sd_to_xf.c: Likewise.
11154 * config/libbid/_sf_to_dd.c: Likewise.
11155 * config/libbid/_sf_to_sd.c: Likewise.
11156 * config/libbid/_sf_to_td.c: Likewise.
11157 * config/libbid/_si_to_dd.c: Likewise.
11158 * config/libbid/_si_to_sd.c: Likewise.
11159 * config/libbid/_si_to_td.c: Likewise.
11160 * config/libbid/_td_to_dd.c: Likewise.
11161 * config/libbid/_td_to_df.c: Likewise.
11162 * config/libbid/_td_to_di.c: Likewise.
11163 * config/libbid/_td_to_sd.c: Likewise.
11164 * config/libbid/_td_to_sf.c: Likewise.
11165 * config/libbid/_td_to_si.c: Likewise.
11166 * config/libbid/_td_to_tf.c: Likewise.
11167 * config/libbid/_td_to_udi.c: Likewise.
11168 * config/libbid/_td_to_usi.c: Likewise.
11169 * config/libbid/_td_to_xf.c: Likewise.
11170 * config/libbid/_tf_to_dd.c: Likewise.
11171 * config/libbid/_tf_to_sd.c: Likewise.
11172 * config/libbid/_tf_to_td.c: Likewise.
11173 * config/libbid/_udi_to_dd.c: Likewise.
11174 * config/libbid/_udi_to_sd.c: Likewise.
11175 * config/libbid/_udi_to_td.c: Likewise.
11176 * config/libbid/_unord_dd.c: Likewise.
11177 * config/libbid/_unord_sd.c: Likewise.
11178 * config/libbid/_unord_td.c: Likewise.
11179 * config/libbid/_usi_to_dd.c: Likewise.
11180 * config/libbid/_usi_to_sd.c: Likewise.
11181 * config/libbid/_usi_to_td.c: Likewise.
11182 * config/libbid/_xf_to_dd.c: Likewise.
11183 * config/libbid/_xf_to_sd.c: Likewise.
11184 * config/libbid/_xf_to_td.c: Likewise.
11185 * config/libbid/bid128.c: Likewise.
11186 * config/libbid/bid128_2_str.h: Likewise.
11187 * config/libbid/bid128_2_str_macros.h: Likewise.
11188 * config/libbid/bid128_2_str_tables.c: Likewise.
11189 * config/libbid/bid128_add.c: Likewise.
11190 * config/libbid/bid128_compare.c: Likewise.
11191 * config/libbid/bid128_div.c: Likewise.
11192 * config/libbid/bid128_fma.c: Likewise.
11193 * config/libbid/bid128_logb.c: Likewise.
11194 * config/libbid/bid128_minmax.c: Likewise.
11195 * config/libbid/bid128_mul.c: Likewise.
11196 * config/libbid/bid128_next.c: Likewise.
11197 * config/libbid/bid128_noncomp.c: Likewise.
11198 * config/libbid/bid128_quantize.c: Likewise.
11199 * config/libbid/bid128_rem.c: Likewise.
11200 * config/libbid/bid128_round_integral.c: Likewise.
11201 * config/libbid/bid128_scalb.c: Likewise.
11202 * config/libbid/bid128_sqrt.c: Likewise.
11203 * config/libbid/bid128_string.c: Likewise.
11204 * config/libbid/bid128_to_int16.c: Likewise.
11205 * config/libbid/bid128_to_int32.c: Likewise.
11206 * config/libbid/bid128_to_int64.c: Likewise.
11207 * config/libbid/bid128_to_int8.c: Likewise.
11208 * config/libbid/bid128_to_uint16.c: Likewise.
11209 * config/libbid/bid128_to_uint32.c: Likewise.
11210 * config/libbid/bid128_to_uint64.c: Likewise.
11211 * config/libbid/bid128_to_uint8.c: Likewise.
11212 * config/libbid/bid32_to_bid128.c: Likewise.
11213 * config/libbid/bid32_to_bid64.c: Likewise.
11214 * config/libbid/bid64_add.c: Likewise.
11215 * config/libbid/bid64_compare.c: Likewise.
11216 * config/libbid/bid64_div.c: Likewise.
11217 * config/libbid/bid64_fma.c: Likewise.
11218 * config/libbid/bid64_logb.c: Likewise.
11219 * config/libbid/bid64_minmax.c: Likewise.
11220 * config/libbid/bid64_mul.c: Likewise.
11221 * config/libbid/bid64_next.c: Likewise.
11222 * config/libbid/bid64_noncomp.c: Likewise.
11223 * config/libbid/bid64_quantize.c: Likewise.
11224 * config/libbid/bid64_rem.c: Likewise.
11225 * config/libbid/bid64_round_integral.c: Likewise.
11226 * config/libbid/bid64_scalb.c: Likewise.
11227 * config/libbid/bid64_sqrt.c: Likewise.
11228 * config/libbid/bid64_string.c: Likewise.
11229 * config/libbid/bid64_to_bid128.c: Likewise.
11230 * config/libbid/bid64_to_int16.c: Likewise.
11231 * config/libbid/bid64_to_int32.c: Likewise.
11232 * config/libbid/bid64_to_int64.c: Likewise.
11233 * config/libbid/bid64_to_int8.c: Likewise.
11234 * config/libbid/bid64_to_uint16.c: Likewise.
11235 * config/libbid/bid64_to_uint32.c: Likewise.
11236 * config/libbid/bid64_to_uint64.c: Likewise.
11237 * config/libbid/bid64_to_uint8.c: Likewise.
11238 * config/libbid/bid_b2d.h: Likewise.
11239 * config/libbid/bid_binarydecimal.c: Likewise.
11240 * config/libbid/bid_conf.h: Likewise.
11241 * config/libbid/bid_convert_data.c: Likewise.
11242 * config/libbid/bid_decimal_data.c: Likewise.
11243 * config/libbid/bid_decimal_globals.c: Likewise.
11244 * config/libbid/bid_div_macros.h: Likewise.
11245 * config/libbid/bid_dpd.c: Likewise.
11246 * config/libbid/bid_flag_operations.c: Likewise.
11247 * config/libbid/bid_from_int.c: Likewise.
11248 * config/libbid/bid_functions.h: Likewise.
11249 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11250 * config/libbid/bid_inline_add.h: Likewise.
11251 * config/libbid/bid_internal.h: Likewise.
11252 * config/libbid/bid_round.c: Likewise.
11253 * config/libbid/bid_sqrt_macros.h: Likewise.
11254
11255 2009-04-09 Jakub Jelinek <jakub@redhat.com>
11256
11257 * Makefile.in: Change copyright header to refer to version
11258 3 of the GNU General Public License and to point readers at the
11259 COPYING3 file and the FSF's license web page.
11260 * config.host: Likewise.
11261
11262 2009-04-07 Alan Modra <amodra@bigpond.net.au>
11263
11264 * config.host: Reorder and merge to match config.gcc change.
11265
11266 2009-04-03 Alan Modra <amodra@bigpond.net.au>
11267
11268 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11269
11270 2009-03-28 Joseph Myers <joseph@codesourcery.com>
11271
11272 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11273 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11274 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11275 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11276
11277 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
11278
11279 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11280 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11281
11282 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11283
11284 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11285 ia64/t-softfp-compat to tmake_file.
11286
11287 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11288
11289 * config/ia64/__divxf3.asm: New.
11290 * config/ia64/_fixtfdi.asm: Likewise.
11291 * config/ia64/_fixunstfdi.asm: Likewise.
11292 * config/ia64/_floatditf.asm: Likewise.
11293 * config/ia64/t-fprules-softfp: Likewise.
11294 * config/ia64/t-softfp-compat: Likewise.
11295 * config/ia64/tf-signs.c: Likewise.
11296
11297 2009-01-18 Ben Elliston <bje@au.ibm.com>
11298
11299 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11300
11301 2009-01-16 Ben Elliston <bje@au.ibm.com>
11302
11303 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11304 to tmake_file.
11305
11306 2009-01-13 Ben Elliston <bje@au.ibm.com>
11307
11308 * config/t-softfp: New file.
11309 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11310 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11311
11312 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
11313
11314 * config.host: Add m32r*-*-rtems*.
11315
11316 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
11317
11318 * config.host: Add m32c*-*-rtems*.
11319
11320 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11321
11322 PR bootstrap/33100
11323 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11324 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11325 * configure: Regenerate.
11326 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11327 tmake_file here from gcc/config.gcc.
11328 Move extra_parts here from gcc/config.gcc.
11329 * config/i386/t-sol2: Move here from gcc/config/i386.
11330 Use gcc_srcdir instead of srcdir.
11331
11332 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11333
11334 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11335 case.
11336
11337 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11338
11339 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11340
11341 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11342
11343 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11344
11345 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11346
11347 Add picoChip port.
11348 * config.host: Add picochip-*-*.
11349
11350 2008-08-06 Bob Wilson <bob.wilson@acm.org>
11351
11352 * config.host: Match more processor names for Xtensa.
11353
11354 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11355
11356 * config/i386/64/t-softfp-compat: Update comments.
11357
11358 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11359
11360 * config/i386/64/_divtc3-compat.c: Moved to ...
11361 * config/i386/64/_divtc3.c: Here.
11362
11363 * config/i386/64/_multc3-compat.c: Moved to ...
11364 * config/i386/64/_multc3.c: Here.
11365
11366 * config/i386/64/_powitf2-compat.c: Moved to ...
11367 * config/i386/64/_powitf2.c: Here.
11368
11369 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11370 .c suffix instead of -compat.c.
11371
11372 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
11373
11374 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11375 (_FP_MUL_MEAT_D): Ditto.
11376 (_FP_DIV_MEAT_S): Ditto.
11377 (_FP_DIV_MEAT_D): Ditto.
11378
11379 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11380
11381 * Makefile.in: Add support for __sync_* libgcc functions.
11382
11383 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11384
11385 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11386
11387 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11388
11389 PR boostrap/36702
11390 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11391 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11392
11393 * config/i386/64/t-fprules-softfp: Moved to ...
11394 * config/i386/64/t-softfp-compat: This. New.
11395
11396 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
11397
11398 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11399 Initialize f with 0.0.
11400
11401 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11402
11403 PR target/36669
11404 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11405
11406 * config/i386/64/_divtc3-compat.c: New.
11407 * config/i386/64/_multc3-compat.c: Likewise.
11408 * config/i386/64/_powitf2-compat.c: Likewise.
11409 * config/i386/64/eqtf2.c: Likewise.
11410 * config/i386/64/getf2.c: Likewise.
11411 * config/i386/64/letf2.c: Likewise.
11412 * config/i386/64/t-fprules-softfp: Likewise.
11413
11414 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11415
11416 * config.host: Add i386/${host_address}/t-fprules-softfp to
11417 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11418 i[34567]86-*-linux*, x86_64-*-linux*.
11419
11420 * configure.ac: Set host_address to 64 or 32 for x86.
11421 * configure: Regenerated.
11422
11423 * Makefile.in (config.status): Also depend on
11424 $(srcdir)/config.host.
11425
11426 * config/i386/32/t-fprules-softfp: New.
11427 * config/i386/32/tf-signs.c: Likewise.
11428
11429 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11430
11431 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11432 Uros Bizjak <ubizjak@gmail.com>
11433
11434 * config/i386/32/sfp-machine.h: New.
11435
11436 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11437
11438 * config/rs6000/t-ppccomm: Remove rules that conflict with
11439 auto-generated rules.
11440
11441 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11442
11443 * configure.ac: sinclude override.m4.
11444 * configure: Regenerate.
11445
11446 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11447
11448 * configure: Regenerate.
11449
11450 2008-06-10 Joseph Myers <joseph@codesourcery.com>
11451
11452 * Makefile.in (DECNUMINC): Remove
11453 -I$(MULTIBUILDTOP)../../libdecnumber.
11454 * gstdint.h: New.
11455
11456 2008-06-07 Joseph Myers <joseph@codesourcery.com>
11457
11458 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11459 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11460 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11461 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11462 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11463 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11464 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11465 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11466 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11467 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11468 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11469 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11470 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11471 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11472
11473 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11474
11475 * config.host (sh2[lbe]*-*-linux*): Allow target.
11476
11477 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11478
11479 * config/rs6000/t-ppccomm: Add build rules for new files.
11480 (LIB2ADD_ST): New variable.
11481
11482 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11483
11484 PR target/34210
11485 PR target/35508
11486 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11487 * config/t-avr: New file. Build 16bit libgcc functions.
11488
11489 2008-03-02 Jakub Jelinek <jakub@redhat.com>
11490
11491 PR target/35401
11492 * config/t-slibgcc-darwin: Make install-leaf dependent on
11493 install-darwin-libgcc-stubs instead of install.
11494
11495 2008-01-25 Joseph Myers <joseph@codesourcery.com>
11496
11497 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11498 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11499 sh-*-rtemscoff*): Remove cases.
11500
11501 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11502
11503 * Makefile.in (all): Use install-leaf rather than install.
11504 (install): Split most of the rule into...
11505 (install-leaf): ...this new one.
11506
11507 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11508 Paolo Bonzini <bonzini@gnu.org>
11509
11510 PR target/30572
11511 * Makefile.in: Use @shlib_slibdir@ substitution to get
11512 correct install name on darwin.
11513 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11514
11515 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11516
11517 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11518 cris-*-elf and cris-*-none.
11519 (crisv32-*-linux*): Similar, as cris-*-linux*.
11520
11521 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11522
11523 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11524
11525 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11526
11527 PR regression/33926
11528 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11529 * configure: Regenerated.
11530
11531 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11532
11533 * Makefile.in (dfp-filenames): Replace decimal_globals,
11534 decimal_data, binarydecimal and convert_data with
11535 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11536 and bid_convert_data, respectively.
11537
11538 2007-09-17 Chao-ying Fu <fu@mips.com>
11539 Nigel Stephens <nigel@mips.com>
11540
11541 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11542 * Makefile.in (fixed_point): Define.
11543 Check if fixed_point is yes to build support functions.
11544 * configure.ac: Check for fixed_point support.
11545 * configure: Regenerated.
11546 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11547 funcs, modes, from, to.
11548
11549 2007-09-11 Janis Johnson <janis187@us.ibm.com
11550
11551 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11552
11553 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11554
11555 * Makefile.in (dfp-filenames): Remove decUtility, add
11556 decDouble, decPacked, decQuad, decSingle.
11557
11558 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11559
11560 * config.host : Add x86_64-elf target.
11561
11562 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11563
11564 * configure.ac (set_have_cc_tls): Add a missing =.
11565 * configure: Regenerated.
11566
11567 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11568
11569 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11570 and x86_64-*-linux*.
11571
11572 * config/t-tls: New file.
11573
11574 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11575
11576 * configure.ac: Include ../config/enable.m4 and
11577 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11578 supports TLS and substitute set_have_cc_tls.
11579 * configure: Regenerated.
11580
11581 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11582
11583 * Makefile.in: Use libbid for DFP when BID is enabled.
11584
11585 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11586
11587 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11588 extra_parts. Add config/i386/t-cygming to tmake_file.
11589 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11590
11591 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11592 Danny Smith <dannysmith@users.sourceforge.net>
11593
11594 PR target/29498
11595 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11596 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11597 * config/i386/t-crtfm: Compile crtfastmath.o with
11598 -minline-all-stringops.
11599
11600 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11601
11602 * config.host (sparc-wrs-vxworks): New target.
11603
11604 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11605
11606 * config.host: Recognize fido.
11607
11608 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11609
11610 * configure: Check host, not target, for decimal float support.
11611
11612 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11613
11614 * config/i386/t-crtpc: New file.
11615 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11616 (x86_64-*-linux*): Ditto.
11617
11618 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11619
11620 * config.host (x86_64-*-mingw*): New target.
11621
11622 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11623 H.J. Lu <hongjiu.lu@intel.com>
11624
11625 * Makefile.in (enable_decimal_float): New.
11626 (DECNUMINC): Add
11627 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11628 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11629 (decbits-filenames): This.
11630 (decbits-objects): New.
11631 (libgcc-objects): Add $(decbits-objects).
11632
11633 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11634 Substitute enable_decimal_float.
11635 * configure: Regenerated.
11636
11637 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11638
11639 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11640
11641 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11642
11643 * Makefile.in (install-info): New dummy target.
11644
11645 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11646
11647 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11648
11649 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11650
11651 * Makefile.in: Add install-html and install-pdf dummy
11652 targets.
11653
11654 2007-02-05 Roger Sayle <roger@eyesopen.com>
11655 Daniel Jacobowitz <dan@codesourcery.com>
11656
11657 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11658 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11659 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11660
11661 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11662
11663 * Makefile.in (dec-filenames): Add decExcept.
11664
11665 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11666
11667 PR bootstrap/30469
11668 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11669 -fprofile-use.
11670
11671 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11672
11673 * configure.ac: Add --enable-version-specific-runtime-libs.
11674 Correct $slibdir default.
11675 * configure: Regenerated.
11676
11677 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11678
11679 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11680
11681 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11682
11683 PR target/30519
11684 * config.host (alpha*-*-linux*): Set extra_parts.
11685
11686 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11687
11688 * config/sh/t-linux: New.
11689 * config.host (sh*-*-linux*): Set tmake_file.
11690
11691 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11692
11693 * Makefile.in (install): Handle multilibs.
11694
11695 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11696
11697 * Makefile.in: Added .PHONY entry for documentation targets.
11698
11699 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11700
11701 * Makefile.in: Add empty info, html, dvi, pdf targets.
11702
11703 2007-01-04 Mike Stump <mrs@apple.com>
11704
11705 * Makefile.in (MAKEINFO): Remove.
11706 (PERL): Likewise.
11707
11708 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11709
11710 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11711 * configure: Regenerate.
11712 * Makefile.in (host_subdir): Substitute it.
11713 (gcc_objdir): Use it.
11714
11715 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11716
11717 * config.host (ia64*-*-linux*): Set tmake_file.
11718
11719 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11720
11721 * Makefile.in (version): Define.
11722
11723 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11724 Paolo Bonzini <bonzini@gnu.org>
11725
11726 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11727 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11728 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11729 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11730 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11731 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11732 * configure: Generated.
11733 \f
11734 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11735
11736 Copying and distribution of this file, with or without modification,
11737 are permitted in any medium without royalty provided the copyright
11738 notice and this notice are preserved.