]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
2
3 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
4 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
5
6 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
7
8 PR libgomp/96661
9 * config.host (hppa*64*-*-linux*): Revise tmake_file.
10 (hppa*64*-*-hpux11*): Likewise.
11 * config/pa/sfp-exceptions.c: New.
12 * config/pa/sfp-machine.h: New.
13 * config/pa/t-dimode: New.
14 * config/pa/t-softfp-sfdftf: New.
15
16 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
17
18 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
19 tmake_file.
20 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
21 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
22 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
23 * config/pa/t-linux64 (LIB1ASMSRC): New define.
24 (LIB1ASMFUNCS): Revise.
25 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
26
27 2021-10-22 Stafford Horne <shorne@gmail.com>
28
29 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30 Change to 0.
31
32 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
33
34 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
35 outside of get_regs() in order to use it in another function, this
36 is done twice: for __powerpc64__ and for !__powerpc64__.
37 (struct trace_arg): New struct.
38 (struct layout): New struct.
39 (ppc_backchain_fallback): New function.
40 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
41 state and call MD_BACKCHAIN_FALLBACK.
42
43 2021-10-13 Martin Liska <mliska@suse.cz>
44
45 PR gcov-profile/90364
46 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
47 checksums.
48 (write_one_data): Write also checksum.
49 * libgcov-util.c (read_gcda_file): Read also checksum field.
50 * libgcov.h (struct gcov_info): Add new field.
51
52 2021-10-08 Ian Lance Taylor <iant@golang.org>
53
54 * config/i386/morestack.S: Use .init_array for constructor if
55 available.
56 * config/rs6000/morestack.S: Likewise.
57 * config/s390/morestack.S: Likewise.
58
59 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
60
61 PR target/101104
62 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
63 Use more correct values for native IBM 128-bit.
64
65 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
66
67 * config/i386/libgcc-darwin.ver: Add Symbols for
68 __cpu_model, __cpu_indicator_init.
69
70 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
71
72 * config/i386/sfp-machine.h: Guard Mach-O-specific code
73 using __APPLE__.
74
75 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
76
77 * config/t-slibgcc-darwin: Delete unused code.
78
79 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
80
81 * config/i386/t-darwin: Add in a vers file for X86-specific
82 symbols.
83 * config/t-darwin: Add the generic symbol maps here...
84 * config/t-slibgcc-darwin: ... removing from here.
85 * config/i386/libgcc-darwin.ver: New file.
86
87 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
88
89 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
90 and __mulhc3.
91
92 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
93
94 * config.host: Use convenience library for Darwin10
95 unwinder shim.
96 * config/t-darwin: Build Darwin10 unwinder shim as a
97 convenience library.
98
99 2021-09-13 Andrew Pinski <apinski@marvell.com>
100
101 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
102 * config/m32r/libgcc-glibc.ver: Removed.
103 * config/m32r/t-linux: Removed.
104
105 2021-09-08 liuhongt <hongtao.liu@intel.com>
106
107 * config/i386/t-softfp: Compile __{mul,div}hc3 into
108 libgcc_s.so.1.
109
110 2021-09-08 Jakub Jelinek <jakub@redhat.com>
111 Iain Sandoe <iain@sandoe.co.uk>
112
113 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
114 and export *hf* and *hc* functions at GCC_12.0.0.
115
116 2021-09-06 liuhongt <hongtao.liu@intel.com>
117
118 * Makefile.in: Adjust to support specific CFLAGS for each
119 libgcc source file.
120 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
121 related libgcc source files.
122 * config/i386/t-softfp: Ditto.
123 * config/i386/_divhc3.c: New file.
124 * config/i386/_mulhc3.c: New file.
125
126 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
127
128 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
129 alias_DFtype, alias_TFtype): New.
130 (ALIAS_SELECTOR): New.
131 (strong_alias): Use __typeof and a _Generic selector to
132 provide the type to the synthesized function.
133
134 2021-09-02 liuhongt <hongtao.liu@intel.com>
135
136 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
137 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
138 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
139 * config/i386/t-softfp: Add hf soft-fp.
140 * config.host: Add i386/64/t-softfp.
141 * config/i386/64/t-softfp: New file.
142
143 2021-09-02 liuhongt <hongtao.liu@intel.com>
144
145 * soft-fp/eqhf2.c: New file.
146 * soft-fp/extendhfdf2.c: New file.
147 * soft-fp/extendhfsf2.c: New file.
148 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
149 * soft-fp/truncdfhf2.c: New file
150 * soft-fp/truncsfhf2.c: New file
151
152 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
153
154 * unwind-arm-common.inc (abort): Remove.
155
156 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
157
158 * config/aarch64/value-unwind.h: Add missing runtime exception
159 paragraph.
160 * config/frv/frv-abi.h: Likewise.
161 * config/i386/value-unwind.h: Likewise.
162 * config/pa/pa64-hpux-lib.h: Likewise.
163
164 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
165
166 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
167 __gcc_qadd.
168 (__gcc_qadd): Call ldouble_qadd_internal.
169 (__gcc_qsub): Call ldouble_qadd_internal with second long double
170 argument negated.
171
172 2021-08-26 Jonathan Yong <10walls@gmail.com>
173
174 * config/i386/cygming-crtend.c: Fix register_frame_ctor
175 and register_frame_dtor warnings.
176
177 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
178
179 PR target/102035
180 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
181 Add vlldm erratum work-around.
182
183 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
184
185 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
186
187 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
188
189 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
190 (gcov_type_unsigned): Likewise.
191
192 2021-08-14 Stafford Horne <shorne@gmail.com>
193
194 PR target/99783
195 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
196 * config/or1k/t-crtstuff: New file.
197
198 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
199
200 * libgcov-driver.c (#include <stdint.h>): Remove.
201 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
202
203 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
204
205 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
206 * gcov.h (gcov_info): Declare.
207 (__gcov_info_to_gdca): Likewise.
208 * libgcov.h (gcov_write_counter): Remove.
209 (gcov_write_tag_length): Likewise.
210 * libgcov-driver.c (#include <stdint.h>): New.
211 (#include <string.h>): Remove.
212 (NEED_L_GCOV): Conditionally define.
213 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
214 (are_all_counters_zero): New.
215 (gcov_dump_handler): Likewise.
216 (gcov_allocate_handler): Likewise.
217 (dump_unsigned): Likewise.
218 (dump_counter): Likewise.
219 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
220 Use dump_unsigned() and dump_counter().
221 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
222 dump_unsigned(), dump_counter(), and are_all_counters_zero().
223 (__gcov_info_to_gcda): New.
224
225 2021-08-05 Jakub Jelinek <jakub@redhat.com>
226
227 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
228 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
229 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
230 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
231
232 2021-08-04 Jakub Jelinek <jakub@redhat.com>
233
234 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
235
236 2021-07-15 Alan Modra <amodra@gmail.com>
237
238 * config/rs6000/morestack.S (R2_SAVE): Define.
239 (__morestack): Save and restore r2. Set up r2 for called
240 functions.
241
242 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
243
244 * soft-fp/extendhfxf2.c: New file.
245 * soft-fp/truncxfhf2.c: Likewise.
246
247 2021-06-29 Julian Brown <julian@codesourcery.com>
248
249 * config/gcn/lib2-bswapti2.c: New file.
250 * config/gcn/lib2-divmod-di.c: New file.
251 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
252 typedefs.
253 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
254 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
255 lib2-bswapti2.c.
256
257 2021-06-29 Julian Brown <julian@codesourcery.com>
258
259 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
260 return types to USItype.
261 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
262
263 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
264
265 * configure: Regenerate.
266 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
267 typos among the name, CFLAGS and the test.
268 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
269 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
270 Remove.
271 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
272 macro FLOAT128_HW_INSNS_ISA3_1.
273 (FP128_3_1_CFLAGS_HW): Fix option typo.
274 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
275 FLOAT128_HW_INSNS_ISA3_1.
276 (__floattikf_resolve): Likewise.
277 (__floatuntikf_resolve): Likewise.
278 (__fixkfti_resolve): Likewise.
279 (__fixunskfti_resolve): Likewise.
280 (__floattikf): Likewise.
281 (__floatuntikf): Likewise.
282 (__fixkfti): Likewise.
283 (__fixunskfti): Likewise.
284
285 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
286
287 PR target/99939
288 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
289 macro.
290 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
291 on passing -mcmse option.
292
293 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
294
295 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
296 _ARCH_PPC64 .
297
298 2021-06-09 Carl Love <cel@us.ibm.com>
299
300 * config.host: Add if test and set for
301 libgcc_cv_powerpc_3_1_float128_hw.
302 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
303 Change calls of __fixkfti to __fixkfti_sw.
304 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
305 Change calls of __fixunskfti to __fixunskfti_sw.
306 * config/rs6000/float128-p10.c (__floattikf_hw,
307 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
308 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
309 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
310 __fixunskfti_resolve): Add resolve functions.
311 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
312 * config/rs6000/float128-sed (floattitf, __floatuntitf,
313 __fixtfti, __fixunstfti): Add editor commands to change names.
314 * config/rs6000/float128-sed-hw (__floattitf,
315 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
316 change names.
317 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
318 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
319 * config/rs6000/quad-float128.h (__floattikf_sw,
320 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
321 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
322 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
323 * config/rs6000/t-float128 (floattikf, floatuntikf,
324 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
325 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
326 file names to fp128_ppc_funcs.
327 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
328 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
329 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
330 * config/rs6000/t-float128-p10-hw: New file.
331 * configure: Update script for isa 3.1 128-bit float support.
332 * configure.ac: Add check for 128-bit float hardware support.
333 * config/rs6000/fixkfti-sw.c: New file.
334 * config/rs6000/fixunskfti-sw.c: New file.
335 * config/rs6000/floattikf-sw.c: New file.
336 * config/rs6000/floatuntikf-sw.c: New file.
337
338 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
339
340 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
341
342 2021-05-13 Martin Liska <mliska@suse.cz>
343
344 * libgcov-driver.c: Fix GNU coding style.
345
346 2021-05-10 Martin Liska <mliska@suse.cz>
347
348 * libgcov-driver.c (gcov_version): Use different name that does
349 not clash with newly introduced macro.
350
351 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
352
353 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
354 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
355 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
356
357 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
358
359 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
360 Define.
361 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
362 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
363 Define.
364 (__divkc3): Improve complex divide.
365
366 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
367
368 PR target/98952
369 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
370 trampoline size comparison in 32-bit by reversing test and
371 combining load immediate with compare.
372 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
373 in 32-bit by reversing test and combining load immediate with
374 compare.
375
376 2021-04-05 Florian Weimer <fweimer@redhat.com>
377 Michael Meissner <meissner@linux.ibm.com>
378
379 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
380 point functions for $(decimal_float) only.
381
382 2021-04-03 Jakub Jelinek <jakub@redhat.com>
383
384 PR target/97653
385 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
386 $(objext) instead of $(object). Use _floatunditf instead of
387 _floatunsditf. Add tf <-> ti conversion objects.
388 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
389
390 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
391
392 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
393 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
394 (fp128_decstr_objs): Delete.
395 * dfp-bit.h: Call __sprintfieee128 to do conversions from
396 _Float128 to a Decimal type. Call __strtoieee128 to do
397 conversions from a Decimal type to _Float128.
398 * config/rs6000/_sprintfkf.c: Delete file.
399 * config/rs6000/_sprintfkf.h: Delete file.
400 * config/rs6000/_strtokf.c: Delete file.
401 * config/rs6000/_strtokf.h: Delete file.
402
403 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
404
405 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
406 to __BYTE_ORDER__.
407
408 2021-03-06 Jakub Jelinek <jakub@redhat.com>
409
410 PR gcov-profile/99406
411 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
412 defined, define these macros if not defined already.
413
414 2021-03-04 Martin Liska <mliska@suse.cz>
415
416 PR gcov-profile/99105
417 * libgcov-driver.c (write_top_counters): Rename to ...
418 (write_topn_counters): ... this.
419 (write_one_data): Pre-allocate buffer for number of items
420 in the corresponding linked lists.
421 * libgcov.h (malloc_mmap): New function.
422 (allocate_gcov_kvp): Use it.
423
424 2021-03-04 Martin Liska <mliska@suse.cz>
425
426 PR gcov-profile/99385
427 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
428
429 2021-03-03 Martin Liska <mliska@suse.cz>
430
431 PR gcov-profile/97461
432 * config.in: Regenerate.
433 * configure: Likewise.
434 * configure.ac: Check sys/mman.h header file
435 * libgcov-driver.c (struct gcov_kvp): Remove static
436 pre-allocated pool and use a dynamic one.
437 * libgcov.h (MMAP_CHUNK_SIZE): New.
438 (gcov_counter_add): Use mmap to allocate pool for struct
439 gcov_kvp.
440
441 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
442
443 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
444 the function.
445 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
446
447 2021-02-24 Jakub Jelinek <jakub@redhat.com>
448
449 PR libgcc/99236
450 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
451 negation of m in unsigned type.
452
453 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
454 Hau Hsu <hsuhau617@gmail.com>
455
456 PR target/99157
457 * config/arm/t-arm: Fix cmse support detection.
458
459 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
460
461 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
462
463 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
464
465 * config/rs6000/_dd_to_kf.c: New file.
466 * config/rs6000/_kf_to_dd.c: New file.
467 * config/rs6000/_kf_to_sd.c: New file.
468 * config/rs6000/_kf_to_td.c: New file.
469 * config/rs6000/_sd_to_kf.c: New file.
470 * config/rs6000/_sprintfkf.c: New file.
471 * config/rs6000/_sprintfkf.h: New file.
472 * config/rs6000/_strtokf.h: New file.
473 * config/rs6000/_strtokf.c: New file.
474 * config/rs6000/_td_to_kf.c: New file.
475 * config/rs6000/quad-float128.h: Add new declarations.
476 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
477 (fp128_decstr_funcs): New macro.
478 (ibm128_dec_funcs): New macro.
479 (fp128_ppc_funcs): Add the new conversions.
480 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
481 compiled with -mabi=ieeelongdouble.
482 (fp128_decstr_objs): Force __float128 <-> string conversions to be
483 compiled with -mabi=ibmlongdouble.
484 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
485 compiled with -mabi=ieeelongdouble.
486 (FP128_CFLAGS_DECIMAL): New macro.
487 (IBM128_CFLAGS_DECIMAL): New macro.
488 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
489 (BFP_TO_DFP): Add PowerPC _Float128 support.
490 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
491 IEEE 128-bit floating point.
492 (DFP_TO_BFP): Add PowerPC _Float128 support.
493 (BFP_TO_DFP): Add PowerPC _Float128 support.
494 (BFP_SPRINTF): New macro.
495
496 2021-01-27 Jakub Jelinek <jakub@redhat.com>
497
498 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
499 * config/i386/savms64f.h: Likewise.
500 * config/i386/resms64.h: Likewise.
501 * config/i386/resms64f.h: Likewise.
502 * config/i386/resms64x.h: Likewise.
503 * config/i386/resms64fx.h: Likewise.
504
505 2021-01-26 Martin Liska <mliska@suse.cz>
506
507 PR gcov-profile/98739
508 * libgcov.h (gcov_topn_add_value): Do not train when
509 we have a merged profile with a negative number of total
510 value.
511
512 2021-01-25 Martin Liska <mliska@suse.cz>
513
514 PR gcov-profile/98739
515 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
516 ends with a dropped counter.
517 * libgcov.h (gcov_topn_add_value): Add return value.
518
519 2021-01-13 Stafford Horne <shorne@gmail.com>
520
521 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
522 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
523 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
524 FP_EX_ALL): New constant macros.
525 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
526 FP_HANDLE_EXCEPTIONS): New macros.
527 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
528
529 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
530
531 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
532 posix siginfo case to struct handler_args. Detect between legacy
533 and siginfo from the second parameter, which is a small sigcode in
534 the legacy case, and a pointer in the siginfo case.
535
536 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
537
538 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
539 functions.
540 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
541 _bswapdi2.
542
543 2020-12-08 Ian Lance Taylor <iant@golang.org>
544
545 * generic-morestack-thread.c (free_segments): Block signals during
546 thread exit.
547
548 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
549
550 PR libgcc/97543
551 PR libgcc/97643
552 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
553 (IBM128_SHARED_OBJS): New make variable.
554 (IBM128_OBJS): New make variable. Set all objects to use the
555 explicit IBM format, and disable gnu attributes.
556 (IBM128_CFLAGS): New make variable.
557 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
558 modules.
559
560 2020-12-03 Alexandre Oliva <oliva@adacore.com>
561
562 * config/t-vxworks (LIB2ADD): Drop.
563 * config/t-vxworks7 (LIB2ADD): Likewise.
564 * config/vxcache.c: Remove.
565
566 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
567
568 * libgcc2.c (bswapsi2): Make constants unsigned.
569
570 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
571
572 * libgcc2.c (absvSI2): Simplify/improve implementation by using
573 builtin_add_overflow.
574 (absvsi2, absvDI2): Likewise.
575
576 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
577
578 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
579 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
580
581 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
582
583 * config/msp430/lib2hw_mul.S (mult64_hw): New.
584 (if MUL_32): Use mult64_hw for __muldi3.
585 (if MUL_F5): Use mult64_hw for __muldi3.
586 * config/msp430/lib2mul.c (__muldi3): New.
587 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
588
589 2020-11-17 Alan Modra <amodra@gmail.com>
590
591 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
592 (LIB2_SIDITI_CONV_FUNCS): Define.
593 * config/rs6000/ppc64-fp.c: Delete file.
594
595 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
596
597 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
598 hwmult library functions.
599
600 2020-11-10 Jeff Law <law@redhat.com>
601
602 * libgcc2.c: Fix whitespace issues in most recent change.
603
604 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
605
606 * libgcc2.c (__addvSI3): Use overflow builtins.
607 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
608 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
609 (__negvsi2, __negvDI2): Likewise.
610 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
611 generated code.
612 * libgcc2.h (__ucmpdi2): Adjust prototype.
613
614 2020-11-03 Pat Bernardi <bernardi@adacore.com>
615 Olivier Hainque <hainque@adacore.com>
616
617 * config.host (aarch64-vxworks7*, tmake_file): Add
618 ${cpu_type}/t-lse and t-slibgcc-libgcc.
619
620 2020-11-03 Martin Storsjö <martin@martin.st>
621
622 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
623 before calling the callback.
624
625 2020-10-30 Olivier Hainque <hainque@adacore.com>
626 Douglas Rupp <rupp@adacore.com>
627 Pat Bernardi <bernardi@adacore.com>
628
629 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
630 to apply to VxWorks 7 as well.
631
632 2020-10-29 Olivier Hainque <hainque@adacore.com>
633
634 * config/gthr-vxworks-tls.c: Fix preprocessor logic
635 controlling the definition of VX_ENTER_TLS_DTOR and
636 VX_LEAVE_TLS_DTOR based on a version major check.
637
638 2020-10-29 Olivier Hainque <hainque@adacore.com>
639
640 * config/gthr-vxworks-thread.c: Fix name of macro used
641 to condition the inclusion of an actual implementation.
642
643 2020-10-27 Martin Liska <mliska@suse.cz>
644
645 PR gcov-profile/97461
646 * libgcov.h (gcov_counter_add): Use first static counters
647 as it should help to have malloc wrappers set up.
648
649 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
650
651 * config/gthr-vxworks-thread.c: #include gthr.h before
652 testing the guard defined there.
653 * config/gthr-vxworks-cond.c: Likewise.
654
655 2020-10-21 Douglas Rupp <rupp@adacore.com>
656 Olivier Hainque <hainque@adacore.com>
657
658 * config.host (powerpc*-wrs-vxworks7*): New case.
659 * configure.ac: Handle powerpc*-*-vxworks7* as
660 powerpc*-*-linux* for ppc-fp_type.
661 * configure: Regenerate.
662
663 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
664
665 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
666 section on VxWorks >= 6.
667 * config/gthr-vxworks-thread.c: Condition the entire
668 implementation on __GTHREAD_CXX0X.
669
670 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
671
672 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
673 section on VxWorks >= 6.
674 * config/gthr-vxworks-cond.c: Condition the entire
675 implementation on __GTHREAD_HAS_COND.
676
677 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
678
679 * config/gthr-vxworks.c: #include <taskLib.h>.
680
681 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
682
683 * config/gthr-vxworks.h: Rewrite remaining occurrence
684 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
685
686 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
687 Olivier Hainque <hainque@adacore.com>
688
689 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
690 except on VxWorks 6.
691
692 2020-10-16 Olivier Hainque <hainque@adacore.com>
693
694 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
695
696 2020-10-14 Alexandre Oliva <oliva@adacore.com>
697
698 * config/gthr-vxworks-thread.c: Include stdlib.h.
699 (tls_delete_hook): Prototype it.
700 (__gthread_cond_signal): Return early if no waiters. Consume
701 signal in case the semaphore got full. Use semInfoGet instead
702 of kernel-mode-only semInfo.
703 (__gthread_cond_timedwait): Use semExchange. Always take the
704 mutex again before returning.
705 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
706
707 2020-10-14 Olivier Hainque <hainque@adacore.com>
708
709 * config/t-vxworks (LIBGCC2_INCLUDES): Append
710 $(MULTISUBDIR) to the -I path for fixed headers, as we
711 arrange to have different sets of such headers for different
712 multilibs when they are activated.
713 * config/t-vxworks7: Likewise.
714
715 2020-10-14 Olivier Hainque <hainque@adacore.com>
716
717 * config/t-vxworks: Add include-fixed to include search
718 paths for libgcc on VxWorks.
719 * config/t-vxworks7: Likewise.
720
721 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
722
723 PR target/97148
724 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
725 instead of <cetintrin.h>.
726
727 2020-10-01 Alan Modra <amodra@gmail.com>
728
729 * config/rs6000/morestack.S,
730 * config/rs6000/tramp.S: Support __PCREL__ code.
731
732 2020-10-01 Alan Modra <amodra@gmail.com>
733
734 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
735
736 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
737
738 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
739 variable.
740
741 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
742
743 * config/aarch64/libgcc-softfp.ver: New file.
744 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
745
746 2020-09-27 Clement Chigot <clement.chigot@atos.net>
747
748 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
749
750 2020-09-22 Sergei Trofimovich <siarheit@google.com>
751
752 PR gcov-profile/96913
753 * libgcov-driver.c (write_one_data): Avoid function pointer
754 comparison in TOP streaming decision.
755
756 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
757 Christophe Lyon <christophe.lyon@linaro.org>
758
759 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
760 qualifier.
761 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
762 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
763 missing prototypes.
764
765 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
766
767 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
768 unused variable warning.
769
770 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
771
772 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
773
774 2020-09-09 Tom de Vries <tdevries@suse.de>
775
776 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
777 Wbuiltin-declaration-mismatch.
778
779 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
780
781 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
782 * config/msp430/srai.S (__gnu_mspabi_srap): New.
783 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
784
785 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
786
787 * config/nvptx/atomic.c: New.
788 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
789
790 2020-08-03 Ian Lance Taylor <iant@golang.org>
791
792 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
793
794 2020-08-03 Jakub Jelinek <jakub@redhat.com>
795
796 PR target/96402
797 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
798 of x(tmp0), x(tmp1) in STXP arguments.
799
800 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
801
802 * config/riscv/save-restore.S [__riscv_xlen == 64]
803 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
804 (__riscv_save_2): Replace negative immediates used for the final
805 stack pointer adjustment with positive ones, right-shifted by 4.
806
807 2020-07-31 Martin Liska <mliska@suse.cz>
808
809 * libgcov-driver.c: Add __gcov_kvp_pool
810 and __gcov_kvp_pool_index variables.
811 * libgcov.h (allocate_gcov_kvp): New.
812 (gcov_topn_add_value): Use it.
813
814 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
815
816 * config/aarch64/lse.S: Add PAC property note.
817
818 2020-07-23 Martin Liska <mliska@suse.cz>
819
820 PR gcov-profile/96035
821 * libgcov-driver-system.c: Create gcov folders with 0777
822 so that it respects a system umask.
823
824 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
825
826 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
827
828 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
829
830 PR target/94891
831 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
832 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
833 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
834 (MD_DEMANGLE_RETURN_ADDR): This.
835 (aarch64_post_extract_frame_addr): Rename to ...
836 (aarch64_demangle_return_addr): This.
837 (aarch64_post_frob_eh_handler_addr): Remove.
838 * unwind-dw2.c (uw_update_context): Demangle return address.
839 (uw_frob_return_addr): Remove.
840
841 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
842
843 PR target/96001
844 * config/aarch64/lse.S: Add BTI marking and related definitions,
845 and add BTI c to function entries.
846
847 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
848
849 * config/aarch64/lse.S: Add stack note.
850
851 2020-07-02 Martin Liska <mliska@suse.cz>
852
853 PR gcov-profile/95348
854 * libgcov-driver.c (merge_one_data): Merge only profiles
855 that are not of non-zero type.
856 (write_one_data): Write counters only if there's one non-zero
857 value.
858 * libgcov-util.c (tag_function): Change signature from unsigned
859 to int.
860 (tag_blocks): Likewise.
861 (tag_arcs): Likewise.
862 (tag_counters): Likewise.
863 (tag_summary): Likewise.
864 (tag_lines): Read only if COUNTERS is non-zero.
865 (read_gcda_file): Handle negative length for COUNTERS type.
866
867 2020-06-25 Martin Liska <mliska@suse.cz>
868
869 * libgcov-driver.c (merge_summary): Remove function as its name
870 is misleading and doing something different.
871 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
872 in gcov-tool.
873 * libgcov-util.c (curr_object_summary): Remove.
874 (read_gcda_file): Remove unused curr_object_summary.
875 (gcov_merge): Merge summaries.
876 * libgcov.h: Add summary argument for gcov_info struct.
877
878 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
879
880 PR target/95259
881 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
882 "common/config/i386/i386-cpuinfo.h" and
883 "common/config/i386/cpuinfo.h".
884 (__cpu_features2): Changed to array.
885 (get_amd_cpu): Removed.
886 (get_intel_cpu): Likewise.
887 (get_available_features): Likewise.
888 (__cpu_indicator_init): Call cpu_indicator_init.
889 * config/i386/cpuinfo.h: Removed.
890
891 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
892
893 * Makefile.in: Remove uses of empty.mk. Use -include.
894 * config/avr/t-avr: Use -include.
895 * empty.mk: Delete.
896
897 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
898
899 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
900 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
901 and 64 bit with -maix64.
902 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
903 Build and install AIX-style FAT libraries.
904
905 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
906
907 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
908 'i386/gnu-unwind.h'
909 * config/i386/gnu-unwind.h: New file.
910
911 2020-06-17 Martin Liska <mliska@suse.cz>
912
913 * libgcov-util.c (read_gcda_finalize): Remove const operator.
914 (merge_wrapper): Add both counts and use them properly.
915 (topn_to_memory_representation): New function.
916 (gcov_merge): Covert on disk representation to in memory
917 representation.
918 * libgcov.h: Remove const operator.
919
920 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
921
922 * configure: Regenerate.
923 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
924 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
925
926 2020-06-09 Martin Liska <mliska@suse.cz>
927
928 PR gcov-profile/95494
929 * libgcov-driver.c (write_top_counters): Cast first to
930 intptr_t as sizeof(*) != sizeof(gcov_type).
931 * libgcov.h (gcov_counter_set_if_null): Remove.
932 (gcov_topn_add_value): Cast first to intptr_t and update
933 linked list directly.
934
935 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
936
937 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
938 with uw_install_context_1.
939
940 2020-06-04 Andreas Schwab <schwab@suse.de>
941
942 PR target/59230
943 PR libfortran/59227
944 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
945 soft-fp/divtf3.c.
946 (LIB2ADD): Add config/ia64/divtf3.c.
947 * config/ia64/divtf3.c: New file.
948
949 2020-06-03 Martin Liska <mliska@suse.cz>
950
951 PR gcov-profile/95480
952 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
953 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
954 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
955 (gcov_counter_set_if_null): Likewise.
956
957 2020-06-02 Jim Wilson <jimw@sifive.com>
958
959 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
960 to bgtz.
961
962 2020-06-02 Martin Liska <mliska@suse.cz>
963
964 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
965 of xmalloc.
966
967 2020-06-02 Martin Liska <mliska@suse.cz>
968
969 * libgcov-driver.c (prune_topn_counter): Remove.
970 (prune_counters): Likewise.
971 (merge_one_data): Special case TOP N counters
972 as they have variable length.
973 (write_top_counters): New.
974 (write_one_data): Special case TOP N.
975 (dump_one_gcov): Do not prune TOP N counters.
976 * libgcov-merge.c (merge_topn_values_set): Remove.
977 (__gcov_merge_topn): Use gcov_topn_add_value.
978 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
979 Likewise here.
980 * libgcov.h (gcov_counter_add): New.
981 (gcov_counter_set_if_null): Likewise.
982 (gcov_topn_add_value): New.
983
984 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
985
986 * config/i386/sfp-exceptions.c (struct fenv):
987 Add __attribute__ ((gcc_struct)).
988
989 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
990
991 PR bootstrap/95413
992 * configure: Regenerated.
993
994 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
995
996 PR gcov-profile/95332
997 * libgcov-util.c (read_gcda_file): Call gcov_magic.
998 * libgcov.h (gcov_magic): Disable GCC poison.
999
1000 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1001
1002 PR target/95212
1003 * config/i386/cpuinfo.h (processor_features): Move
1004 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1005
1006 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1007
1008 PR target/91695
1009 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1010 check.
1011
1012 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 PR target/95212
1015 PR target/95220
1016 * config/i386/cpuinfo.c (get_available_features): Fix
1017 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1018 * config/i386/cpuinfo.h (processor_features): Add
1019 FEATURE_AVX512VP2INTERSECT.
1020
1021 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1022
1023 PR bootstrap/95147
1024 * configure: Regenerated.
1025
1026 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1027
1028 * configure: Regenerated.
1029
1030 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
1031
1032 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1033 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1034
1035 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1036
1037 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1038 (__math_force_eval_div): New define.
1039 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1040 generic division to generate INVALID, DIVZERO and INEXACT
1041 exceptions.
1042
1043 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1044
1045 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1046 instead of getauxval.
1047 (AT_HWCAP): Define.
1048 (HWCAP_ATOMICS): Define.
1049 Guard detection on __gnu_linux__.
1050
1051 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
1052
1053 * config.host: Delete changes meant for a private branch.
1054 * config/rs6000/t-float128: Likewise.
1055 * configure.ac: Likewise.
1056 * configure: Likewise.
1057
1058 2020-05-05 Martin Liska <mliska@suse.cz>
1059
1060 PR gcov-profile/93623
1061 * Makefile.in: Remove __gcov_flush.
1062 * gcov.h (__gcov_flush): Remove.
1063 * libgcov-interface.c (__gcov_flush): Remove.
1064 (init_mx): Use renamed mutex.
1065 (__gcov_lock): Likewise.
1066 (__gcov_unlock): Likewise.
1067 (__gcov_fork): Likewise.
1068 (__gcov_flush): Remove.
1069
1070 2020-05-05 Martin Liska <mliska@suse.cz>
1071
1072 PR gcov-profile/93623
1073 * libgcov-interface.c (__gcov_fork): Do not flush
1074 and reset only in child process.
1075 (__gcov_execl): Dump counters only and reset them
1076 only if exec* fails.
1077 (__gcov_execlp): Likewise.
1078 (__gcov_execle): Likewise.
1079 (__gcov_execv): Likewise.
1080 (__gcov_execvp): Likewise.
1081 (__gcov_execve): Likewise.
1082
1083 2020-05-05 Martin Liska <mliska@suse.cz>
1084
1085 PR gcov-profile/93623
1086 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1087 * libgcov-interface.c (ALIAS_void_fn): Remove.
1088 (__gcov_lock): New.
1089 (__gcov_unlock): New.
1090 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1091 (__gcov_reset): Likewise.
1092 (__gcov_dump): Likewise.
1093 * libgcov.h (__gcov_lock): New declaration.
1094 (__gcov_unlock): Likewise.
1095
1096 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1097
1098 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1099 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1100 generic division to generate INVALID and DIVZERO exceptions.
1101
1102 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1103
1104 * config/rs6000/crtresfpr.S: Use .machine ppc.
1105 * config/rs6000/crtresxfpr.S: Likewise.
1106 * config/rs6000/crtsavfpr.S: Likewise.
1107
1108 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1109
1110 PR target/94514
1111 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1112 Update context->flags accroding to the frame state.
1113
1114 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1115
1116 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1117 Remove unneeded assignments to volatile memory.
1118
1119 2020-04-15 Jakub Jelinek <jakub@redhat.com>
1120
1121 PR target/93053
1122 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1123 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1124 is not defined, use just .arch armv8-a.
1125 (B, M, N, OPN): Define.
1126 (COMMENT): New .macro.
1127 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1128 defined. Otherwise, move the operands right after the glue? and
1129 comment out operands where the macros are used.
1130 * configure: Regenerated.
1131 * config.in: Regenerated.
1132
1133 2020-04-07 Ian Lance Taylor <iant@golang.org>
1134
1135 PR libgcc/94513
1136 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1137 syscall instead.
1138
1139 2020-04-04 Ian Lance Taylor <iant@golang.org>
1140
1141 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1142
1143 2020-04-03 Ian Lance Taylor <iant@golang.org>
1144
1145 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1146 than mmap/munmap, to avoid hooks.
1147
1148 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1149
1150 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1151 (TPFRA_OFFSET): Macros removed.
1152 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1153 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1154 (PG3_SKIPPING_OFFSET): New macros.
1155 (__isPATrange): Use cinfc_fast for the check.
1156 (__isSkipResetAddr): New function.
1157 (s390_fallback_frame_state): Check for skip trace addresses. Use
1158 either ICST_CRET or ICST_SRET to calculate return address
1159 location.
1160 (__tpf_eh_return): Handle skip trace addresses.
1161
1162 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
1163
1164 PR target/94220
1165 * config/arm/lib1funcs.asm (COND): Use a single definition for
1166 unified syntax.
1167 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1168 (aeabi_idivmod): Likewise.
1169 (divsi3_skip_div0_test): Likewise.
1170
1171 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1172
1173 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1174
1175 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1176
1177 * config.host: Include the new makefile fragment.
1178 * config/s390/t-tpf: New file.
1179
1180 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
1181
1182 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1183 syntax.
1184 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1185 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1186 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1187 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1188 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1189 syntax.
1190 (divsi3, modsi3): Likewise.
1191 (clzdi2, ctzsi2): Likewise.
1192 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1193 unified syntax.
1194 (UNWIND_WRAPPER): Likewise.
1195
1196 2020-03-02 Martin Liska <mliska@suse.cz>
1197
1198 * libgcov-interface.c: Remove duplicate
1199 declaration of __gcov_flush_mx.
1200
1201 2020-02-18 Martin Liska <mliska@suse.cz>
1202
1203 PR ipa/92924
1204 * libgcov-merge.c (merge_topn_values_set): Record
1205 when a TOP N counter becomes invalid. When merging
1206 remove a smallest value if the space is needed.
1207
1208 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1209
1210 PR libstdc++/79193
1211 PR libstdc++/88999
1212
1213 * configure: Regenerated.
1214
1215 2020-02-10 Jeff Law <law@redhat.com>
1216
1217 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1218 sections.
1219 * config/frv/frvend.c: Similarly.
1220
1221 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1222
1223 PR libgcc/85334
1224 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1225 New.
1226
1227 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1228
1229 PR target/93615
1230 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1231 _Unwind_gnu_Find_got.
1232 * unwind-pe.h: Likewise.
1233
1234 2020-02-07 Jakub Jelinek <jakub@redhat.com>
1235
1236 PR target/93615
1237 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1238 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1239 trailing :s in asm. Formatting fixes.
1240 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1241
1242 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1243
1244 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1245
1246 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1247 * config/nios2-elf-lib.h: New.
1248 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1249 code for finding GOT base for nios2.
1250
1251 2020-01-27 Martin Liska <mliska@suse.cz>
1252
1253 PR gcov-profile/93403
1254 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1255 Call __gcov_indirect_call_profiler_body.
1256 (__gcov_indirect_call_profiler_body): New.
1257 (__gcov_indirect_call_profiler_v4_atomic): New.
1258 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1259 New declaration.
1260
1261 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1262
1263 * config/arc/crti.S: Add RF16 object attribute.
1264 * config/arc/crtn.S: Likewise.
1265 * config/arc/crttls.S: Likewise.
1266 * config/arc/lib1funcs.S: Likewise.
1267 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1268 * config/arc/lib2funcs.c: New file.
1269 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1270
1271 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
1272
1273 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1274 * configure.ac: Handle `--with-toolexeclibdir='.
1275 * configure: Regenerate.
1276
1277 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1278
1279 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1280
1281 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1282
1283 * config/mips/gnustack.h: New file.
1284 * config/mips/crti.S: Include gnustack.h.
1285 * config/mips/crtn.S: Likewise.
1286 * config/mips/mips16.S: Likewise.
1287 * config/mips/vr4120-div.S: Likewise.
1288
1289 2020-01-23 Martin Liska <mliska@suse.cz>
1290
1291 * libgcov-driver.c (prune_topn_counter): Remove
1292 check for -1 as we only prune run-time counters
1293 that do not generate an invalid state.
1294
1295 2020-01-22 Martin Liska <mliska@suse.cz>
1296
1297 PR tree-optimization/92924
1298 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1299 try to find an existing value, then find an empty slot
1300 if not found.
1301
1302 2020-01-22 Martin Liska <mliska@suse.cz>
1303
1304 PR tree-optimization/92924
1305 * libgcov-driver.c (prune_topn_counter): New.
1306 (prune_counters): Likewise.
1307 (dump_one_gcov): Prune a run-time counter.
1308 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1309 For a known value, add GCOV_TOPN_VALUES to value.
1310 Otherwise, decrement all counters by one.
1311
1312 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
1313
1314 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1315
1316 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
1317
1318 PR libgcc/92988
1319 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1320 DEFAULT_USE_CXA_ATEXIT is true.
1321
1322 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
1323 Thomas Preud'homme <thomas.preudhomme@arm.com>
1324
1325 * config/arm/t-arm: Check return value of gcc rather than lack of
1326 output.
1327
1328 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
1329
1330 * config/avr/lib1funcs.S (skip): Simplify.
1331
1332 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1333
1334 * config/gcn/atomic.c: Remove include of stdint.h.
1335 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1336 __UINTPTR_TYPE__.
1337
1338 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1339
1340 * config/gcn/atomic.c: New.
1341 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1342
1343 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
1344
1345 Implement 64-bit double functions.
1346
1347 PR target/92055
1348 * config.host (tmake_file) [target=avr]: Add t-libf7,
1349 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1350 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1351 depending on sizeof (double) or sizeof (long double).
1352 * config/avr/libf7: New folder.
1353
1354 2020-01-05 Olivier Hainque <hainque@adacore.com>
1355
1356 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1357 by IN_LIBGCC2.
1358
1359 2020-01-01 Jakub Jelinek <jakub@redhat.com>
1360
1361 Update copyright years.
1362
1363 2019-12-30 Olivier Hainque <hainque@adacore.com>
1364
1365 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1366 * config/gthr-vxworks-tls.c: Likewise.
1367
1368 2019-12-30 Olivier Hainque <hainque@adacore.com>
1369
1370 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1371 standard zero-initializer syntax.
1372
1373 2019-12-30 Olivier Hainque <hainque@adacore.com>
1374
1375 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1376 reference to the internal VX_GET_TLS_DATA interface.
1377
1378 2019-12-30 Olivier Hainque <hainque@adacore.com>
1379
1380 * config/vxcrtstuff.c: Fix incorrect spelling of
1381 USE_INITFINI_ARRAY in guard.
1382
1383 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1384
1385 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1386 Override default "extra_parts" variable.
1387 * configure: Regenerate.
1388 * configure.ac: Disable TM clone registry by default for
1389 msp430-elfbare.
1390
1391 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1392
1393 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1394 "extra_parts".
1395 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1396
1397 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1398
1399 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1400 true.
1401
1402 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1403
1404 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1405 defined instead of its value.
1406
1407 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1408
1409 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1410 if it will have contents.
1411
1412 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
1413
1414 PR target/92055
1415 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1416
1417 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1418
1419 PR libgcc/91737
1420 * config.host: Add t-gthr-noweak on *-*-musl*.
1421 * config/t-gthr-noweak: New file.
1422
1423 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
1424
1425 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1426 volatile void *. Remove trap check.
1427 (__kernel_cmpxchg2): Likewise.
1428 (FETCH_AND_OP_2): Adjust operand types.
1429 (OP_AND_FETCH_2): Likewise.
1430 (FETCH_AND_OP_WORD): Likewise.
1431 (OP_AND_FETCH_WORD): Likewise.
1432 (COMPARE_AND_SWAP_2): Likewise.
1433 (__sync_val_compare_and_swap_4): Likewise.
1434 (__sync_bool_compare_and_swap_4): Likewise.
1435 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1436 (__sync_lock_test_and_set_4): Likewise.
1437 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1438 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1439 for release.
1440 (__sync_lock_release_8): Remove.
1441
1442 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1443
1444 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1445 of __sigset_t.
1446
1447 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
1448 Doug Rupp <rupp@adacore.com>
1449 Olivier Hainque <hainque@adacore.com>
1450
1451 * config.host: Collapse the arm-vxworks entries into
1452 a single arm-wrs-vxworks7* one.
1453 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1454 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1455 kernel modules, to be overriden by libstdc++ when we link with
1456 it. Rely on externally provided __exidx_start/end.
1457
1458 2019-11-14 Doug Rupp <rupp@adacore.com>
1459 Olivier Hainque <hainque@adacore.com>
1460
1461 * config.host: Handle aarch64*-wrs-vxworks7*.
1462
1463 2019-11-12 Olivier Hainque <hainque@adacore.com>
1464
1465 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1466 sources except the cxx0x support to LIB2ADDEH. We don't support
1467 cxx0x on AE/653.
1468 * config/t-vxworksae: New file.
1469 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1470 Makefile fragment files at their expected position in the tmake_file
1471 list, in accordance with what is done for other VxWorks variants.
1472
1473 2019-11-12 Corentin Gay <gay@adacore.com>
1474 Jerome Lambourg <lambourg@adacore.com>
1475 Olivier Hainque <hainque@adacore.com>
1476
1477 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1478 sources to LIB2ADDEH.
1479 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1480 * config/t-vxworks7: Likewise.
1481
1482 * config.host: Append a block at the end of the file to add the
1483 t-gthr files to the tmake_file list for VxWorks after everything
1484 else.
1485
1486 * config/vxlib.c: Rename as gthr-vxworks.c.
1487 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1488
1489 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1490 API and a basic error checking API, both internal. Simplify the
1491 __gthread_once_t type definition and initializers. Add sections
1492 for condition variables support and for the C++0x thread support,
1493 conditioned against Vx653 for the latter.
1494
1495 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1496 implementation, leveraging the TAS internal API.
1497 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1498 API, leveraging the general availability of TLS services in VxWorks7
1499 post SR6xxx.
1500 (__gthread_setspecific, __gthread_setspecific): Use it.
1501 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1502 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1503 support based on VxWorks primitives.
1504 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1505 based on VxWorks primitives.
1506
1507 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
1508 Olivier Hainque <hainque@adacore.com>
1509
1510 * config/vxcrtstuff.c: New file.
1511 * config/t-vxcrtstuff: New Makefile fragment.
1512 * config.host: Append t-vxcrtstuff to the tmake_file list
1513 on all VxWorks ports using dwarf for table based EH.
1514
1515 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
1516
1517 Support 64-bit double and 64-bit long double configurations.
1518
1519 PR target/92055
1520 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1521 long double is a 32-bit type.
1522 * config/avr/t-avrlibc: Copy double64 and long-double64
1523 multilib(s) from the vanilla one.
1524 * config/avr/t-copy-libgcc: New Makefile snip.
1525
1526 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1527
1528 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1529 the target output object format is not ELF.
1530 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1531
1532 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1533
1534 PR libgcc/78804
1535 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1536 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1537 FLOAT_BIT_ORDER_MISMATCH.
1538 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1539
1540 2019-11-01 Jim Wilson <jimw@sifive.com>
1541
1542 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1543
1544 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1545
1546 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1547 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1548 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1549 Define symbols for 32-bit and f5series hardware multiply
1550 register addresses.
1551 Replace hard-coded register addresses with symbols.
1552 Fix "_mspabi*" typo.
1553 Fix whitespace.
1554 * config/msp430/lib2mul.c: Add comment.
1555
1556 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
1557
1558 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1559 unsigned int. Adjust callers.
1560 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1561 unsigned int *. Load relocation offset before function pointer.
1562 Add barrier to ensure ordering.
1563
1564 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
1565
1566 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1567 Load PIC register after branch target. Fix white space.
1568 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1569 implementations. Load PIC register after branch target. Don't
1570 clobber function pointer when it points to function descriptor.
1571 Use nullification instead of branch in LINUX implementation.
1572
1573 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
1574
1575 * config/pa/fptr.c: Disable -Warray-bounds warning.
1576
1577 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1578
1579 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1580 not the ubuntu modified 2.69.
1581
1582 PR target/91833
1583 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1584 initialization if !HAVE_SYS_AUXV_H.
1585 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1586 * config.in, configure: Rebuild.
1587
1588 PR target/91834
1589 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1590 overlap the inputs.
1591
1592 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1593
1594 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1595 CTR_EL0.IDC and CTR_EL0.DIC.
1596
1597 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1598
1599 Revert:
1600 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1601 Mickaël Guêné <mickael.guene@st.com>
1602
1603 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1604 architecture.
1605
1606 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1607
1608 * config/aarch64/lse-init.c: New file.
1609 * config/aarch64/lse.S: New file.
1610 * config/aarch64/t-lse: New file.
1611 * config.host: Add t-lse to all aarch64 tuples.
1612
1613 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1614 Mickaël Guêné <mickael.guene@st.com>
1615
1616 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1617 architecture.
1618
1619 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1620 Mickaël Guêné <mickael.guene@st.com>
1621
1622 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1623 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1624 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1625 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1626 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1627 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1628 (__gnu_personality_sigframe_fdpic): New.
1629 (get_eit_entry): Add FDPIC signal frame support.
1630
1631 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1632 Mickaël Guêné <mickael.guene@st.com>
1633
1634 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1635 (__kernel_dmb): Likewise.
1636 (__fdpic_cmpxchg): New function.
1637 (__fdpic_dmb): New function.
1638 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1639 (gnu_Unwind_Find_got): New function.
1640 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1641 * unwind-arm-common.inc (UCB_PR_GOT): New.
1642 (funcdesc_t): New struct.
1643 (get_eit_entry): Add FDPIC support.
1644 (unwind_phase2): Likewise.
1645 (unwind_phase2_forced): Likewise.
1646 (__gnu_Unwind_RaiseException): Likewise.
1647 (__gnu_Unwind_Resume): Likewise.
1648 (__gnu_Unwind_Backtrace): Likewise.
1649 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1650
1651 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1652 Mickaël Guêné <mickael.guene@st.com>
1653
1654 * libgcc/crtstuff.c: Add support for FDPIC.
1655
1656 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1657
1658 * config.host: Handle *-*-uclinuxfdpiceabi.
1659
1660 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1661
1662 * config.host: Set cpu_type for bpf-*-* targets.
1663 * config/bpf/t-bpf: Likewise.
1664 * config/bpf/crtn.S: Likewise.
1665 * config/bpf/crti.S: New file.
1666
1667 2019-09-06 Jim Wilson <jimw@sifive.com>
1668
1669 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1670 (riscv*-*-freebsd*): Likewise.
1671
1672 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1673
1674 * config.host: Remove references to spu.
1675 * config/spu/: Remove directory.
1676
1677 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1678
1679 PR target/91306
1680 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1681 element type, instead of "sizeof" the element type.
1682 (__DTOR_LIST__): Likewise.
1683 (__TMC_LIST__): Likewise.
1684 (__do_global_dtors_aux_fini_array_entry): Likewise.
1685 (__frame_dummy_init_array_entry): Likewise.
1686 (__CTOR_END__): Likewise.
1687 (__DTOR_END__): Likweise.
1688 (__FRAME_END__): Likewise.
1689 (__TMC_END__): Likewise.
1690
1691 2019-08-20 Lili Cui <lilicui@intel.com>
1692
1693 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1694 INTEL_COREI7_COOPERLAKE.
1695
1696 2019-07-31 Matt Thomas <matt@3am-software.com>
1697 Nick Hudson <nick@nthcliff.demon.co.uk>
1698 Matthew Green <mrg@eterna.com.au>
1699 Maya Rashish <coypu@sdf.org>
1700
1701 * config.host (hppa*-*-netbsd*): New case.
1702 * config/pa/t-netbsd: New file.
1703
1704 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1705
1706 * config/arm/cmse.c (cmse_check_address_range): Add
1707 warn_unused_result attribute.
1708
1709 2019-07-22 Martin Liska <mliska@suse.cz>
1710
1711 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1712 * config/pa/t-stublib: Likewise.
1713
1714 2019-07-22 Stafford Horne <shorne@gmail.com>
1715
1716 PR target/90362
1717 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1718 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1719 instructions are not available on every processor. Change a
1720 l.bnf to l.bf to fix logic issue.
1721
1722 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1723
1724 * config.host: Remove reference to t-darwin8.
1725
1726 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1727
1728 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1729 list.
1730 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1731 mmacosx-version-min for crts to run across all system versions.
1732 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1733 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1734 system versions >= 10.4.
1735
1736 2019-07-03 Martin Liska <mliska@suse.cz>
1737
1738 * Makefile.in: Use topn_values instead of one_value names.
1739 * libgcov-merge.c (__gcov_merge_single): Move to ...
1740 (__gcov_merge_topn): ... this.
1741 (merge_single_value_set): Move to ...
1742 (merge_topn_values_set): ... this.
1743 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1744 ...
1745 (__gcov_topn_values_profiler_body): ... this.
1746 (__gcov_one_value_profiler_v2): Move to ...
1747 (__gcov_topn_values_profiler): ... this.
1748 (__gcov_one_value_profiler_v2_atomic): Move to ...
1749 (__gcov_topn_values_profiler_atomic): ... this.
1750 (__gcov_indirect_call_profiler_v4): Remove.
1751 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1752 (__gcov_topn_counter_op): ... this.
1753 * libgcov.h (L_gcov_merge_single): Remove.
1754 (L_gcov_merge_topn): New.
1755 (__gcov_merge_single): Remove.
1756 (__gcov_merge_topn): New.
1757 (__gcov_one_value_profiler_v2): Move to ..
1758 (__gcov_topn_values_profiler): ... this.
1759 (__gcov_one_value_profiler_v2_atomic): Move to ...
1760 (__gcov_topn_values_profiler_atomic): ... this.
1761
1762 2019-07-03 Martin Liska <mliska@suse.cz>
1763
1764 * libgcov-merge.c (merge_single_value_set): Support N values.
1765 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1766
1767 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1768
1769 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1770 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1771 * configure.ac: Add --disable-tm-clone-registry option.
1772 * configure: Regenerate.
1773
1774 2019-06-27 Martin Liska <mliska@suse.cz>
1775
1776 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1777 dead assignments.
1778 * libgcov-util.c: Likewise.
1779
1780 2019-06-27 Martin Liska <mliska@suse.cz>
1781
1782 * libgcov-util.c (gcov_profile_merge): Release allocated
1783 memory.
1784 (calculate_overlap): Likewise.
1785
1786 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1787
1788 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1789 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1790 Build objects for the out of line save/restore register functions
1791 so that they can be used for any supported Darwin version.
1792 * config/t-darwin: Default the build Darwin version to Darwin8
1793 (MacOS 10.4).
1794
1795 2019-06-25 Martin Liska <mliska@suse.cz>
1796
1797 * libgcov-driver-system.c (replace_filename_variables): Do not
1798 call strlen with NULL argument.
1799
1800 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1801
1802 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1803 * config/gcn/unwind-gcn.c: New file.
1804
1805 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1806 Andrew Stubbs <ams@codesourcery.com>
1807
1808 * configure: Regenerate.
1809 * config/gcn/gthr-gcn.h: New.
1810
1811 2019-06-18 Tom de Vries <tdevries@suse.de>
1812
1813 * config/nvptx/crt0.c (__main): Declare.
1814
1815 2019-06-17 Matthew Green <mrg@eterna.com.au>
1816 Maya Rashish <coypu@sdf.org>
1817
1818 * config.host (aarch64*-*-netbsd*): New case.
1819
1820 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1821
1822 * config/msp430/slli.S (__mspabi_sllll): New library function for
1823 performing a logical left shift of a 64-bit value.
1824 * config/msp430/srai.S (__mspabi_srall): New library function for
1825 performing a arithmetic right shift of a 64-bit value.
1826 * config/msp430/srll.S (__mspabi_srlll): New library function for
1827 performing a logical right shift of a 64-bit value.
1828
1829 2019-06-14 Matt Thomas <matt@3am-software.com>
1830 Matthew Green <mrg@eterna.com.au>
1831 Nick Hudson <skrll@netbsd.org>
1832 Maya Rashish <coypu@sdf.org>
1833
1834 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1835 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1836 functions to build.
1837 * config/arm/t-netbsd-eabi: New file.
1838
1839 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1840
1841 * config.host: Add PRU target.
1842 * config/pru/asri.c: New file.
1843 * config/pru/eqd.c: New file.
1844 * config/pru/eqf.c: New file.
1845 * config/pru/ged.c: New file.
1846 * config/pru/gef.c: New file.
1847 * config/pru/gtd.c: New file.
1848 * config/pru/gtf.c: New file.
1849 * config/pru/led.c: New file.
1850 * config/pru/lef.c: New file.
1851 * config/pru/lib2bitcountHI.c: New file.
1852 * config/pru/lib2divHI.c: New file.
1853 * config/pru/lib2divQI.c: New file.
1854 * config/pru/lib2divSI.c: New file.
1855 * config/pru/libgcc-eabi.ver: New file.
1856 * config/pru/ltd.c: New file.
1857 * config/pru/ltf.c: New file.
1858 * config/pru/mpyll.S: New file.
1859 * config/pru/pru-abi.h: New file.
1860 * config/pru/pru-asm.h: New file.
1861 * config/pru/pru-divmod.h: New file.
1862 * config/pru/sfp-machine.h: New file.
1863 * config/pru/t-pru: New file.
1864
1865 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1866
1867 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1868
1869 2019-06-10 Martin Liska <mliska@suse.cz>
1870
1871 PR bootstrap/90808
1872 * libgcov.h: Add ATTRIBUTE_UNUSED.
1873
1874 2019-06-10 Martin Liska <mliska@suse.cz>
1875
1876 * Makefile.in: Add __gcov_one_value_profiler_v2,
1877 __gcov_one_value_profiler_v2_atomic and
1878 __gcov_indirect_call_profiler_v4.
1879 * libgcov-merge.c (__gcov_merge_single): Change
1880 function signature.
1881 (merge_single_value_set): New.
1882 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1883 Update functionality.
1884 (__gcov_one_value_profiler): Remove.
1885 (__gcov_one_value_profiler_v2): ... this.
1886 (__gcov_one_value_profiler_atomic): Rename to ...
1887 (__gcov_one_value_profiler_v2_atomic): this.
1888 (__gcov_indirect_call_profiler_v3): Rename to ...
1889 (__gcov_indirect_call_profiler_v4): ... this.
1890 * libgcov.h (__gcov_one_value_profiler): Remove.
1891 (__gcov_one_value_profiler_atomic): Remove.
1892 (__gcov_one_value_profiler_v2_atomic): New.
1893 (__gcov_indirect_call_profiler_v3): Remove.
1894 (__gcov_one_value_profiler_v2): New.
1895 (__gcov_indirect_call_profiler_v4): New.
1896 (gcov_get_counter_ignore_scaling): New function.
1897
1898 2019-06-07 Martin Liska <mliska@suse.cz>
1899
1900 * Makefile.in: Remove usage of
1901 _gcov_merge_icall_topn.
1902 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1903 (gcov_sort_icall_topn_counter): Likewise.
1904 (gcov_sort_topn_counter_arrays): Likewise.
1905 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1906 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1907 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1908 Likewise.
1909 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1910 (struct indirect_call_tuple): Remove.
1911 (__gcov_indirect_call_topn_profiler): Remove.
1912 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1913 * libgcov.h (gcov_sort_n_vals): Remove.
1914 (L_gcov_merge_icall_topn): Likewise.
1915 (__gcov_merge_icall_topn): Likewise.
1916 (__gcov_indirect_call_topn_profiler): Likewise.
1917
1918 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1919
1920 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1921 altivec enabled.
1922
1923 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1924
1925 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1926 section.
1927 (__mspabi_slli): Likewise.
1928 (__mspabi_slll_n): Likewise.
1929 (__mspabi_slll): Likewise.
1930 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1931 (__mspabi_srai): Likewise.
1932 (__mspabi_sral_n): Likewise.
1933 (__mspabi_sral): Likewise.
1934 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1935 (__mspabi_srli): Likewise.
1936 (__mspabi_srll_n): Likewise.
1937 (__mspabi_srll): Likewise.
1938
1939 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1940
1941 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1942 Add appropriate tm_file clause as well.
1943 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1944
1945 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1946
1947 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1948 rather than .data/.bss so it can be accessed via gp-relative
1949 addressing.
1950
1951 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1952
1953 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1954 (CR2_REGNO): Rename to R_CR2.
1955 (XER_REGNO): Rename to R_XER.
1956 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1957 (VRSAVE_REGNO): Rename to R_VRSAVE.
1958 (VSCR_REGNO): R_VSCR.
1959
1960 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1961
1962 * config.host (rx-*-linux*): Add new case.
1963 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1964
1965 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1966
1967 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1968 function.
1969 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1970 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1971 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1972 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1973 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1974 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1975 string.
1976 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1977 string.
1978 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1979
1980 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1981
1982 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1983 Remove Solaris 9 and 10 support.
1984 (sparc_is_sighandler): Likewise.
1985
1986 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1987
1988 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1989
1990 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1991
1992 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1993 4_FP_W_TYPEs are used for IEEE quad precision.
1994 * soft-fp/extendhftf2.c: Likewise.
1995 * soft-fp/extendsftf2.c: Likewise.
1996 * soft-fp/extendxftf2.c: Likewise.
1997 * soft-fp/trunctfdf2.c: Likewise.
1998 * soft-fp/trunctfhf2.c: Likewise.
1999 * soft-fp/trunctfsf2.c: Likewise.
2000 * soft-fp/trunctfxf2.c: Likewise.
2001 * config/rs6000/ibm-ldouble.c: Likewise.
2002
2003 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2004
2005 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2006 *-*-solaris2*.
2007 * configure.ac: Likewise.
2008 * configure: Regenerate.
2009
2010 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2011 Solaris 10 and Solaris 11 < snv_125 handling.
2012
2013 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2014
2015 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2016
2017 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2018
2019 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2020 * config/i386/cpuinfo.h (enum processor_features): Add
2021 FEATURE_AVX512BF16.
2022
2023 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2024 Bernd Edlinger <bernd.edlinger@hotmail.de>
2025 Jakub Jelinek <jakub@redhat.com>
2026
2027 PR target/89093
2028 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2029 * config/arm/unwind-arm.c: Likewise.
2030 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2031 attribute for ARM.
2032
2033 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2034
2035 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2036 (RT_SIGRETURN): Update.
2037 (nds32_fallback_frame_state): Update.
2038
2039 2019-02-21 Martin Sebor <msebor@redhat.com>
2040
2041 * libgcc2.h (__clear_cache): Correct signature.
2042 * libgcc2.c (__clear_cache): Same.
2043
2044 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2045
2046 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2047 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2048
2049 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2050
2051 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2052 regno instead of index to DWARF_ZERO_REG.
2053
2054 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2055
2056 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2057 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2058
2059 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2060
2061 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2062 to HOST_LIBGCC2_CFLAGS.
2063
2064 2019-01-23 Joseph Myers <joseph@codesourcery.com>
2065
2066 PR libgcc/88931
2067 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2068
2069 2019-01-18 Martin Liska <mliska@suse.cz>
2070
2071 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2072 to ...
2073 (__gcov_indirect_call_profiler_v3): ... this.
2074 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2075 (__gcov_indirect_call_profiler_v3): Likewise.
2076 * Makefile.in: Bump function name.
2077
2078 2019-01-18 Martin Liska <mliska@suse.cz>
2079
2080 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2081 (gcov_version): Use in gcov_error.
2082 (merge_one_data): Likewise.
2083 (dump_one_gcov): Likewise.
2084
2085 2019-01-18 Martin Liska <mliska@suse.cz>
2086
2087 * libgcov-driver.c (gcov_version_string): New function.
2088 (gcov_version): Convert version integer into string.
2089
2090 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
2091 Kwok Cheung Yeung <kcy@codesourcery.com>
2092 Julian Brown <julian@codesourcery.com>
2093 Tom de Vries <tom@codesourcery.com>
2094
2095 * config.host: Recognize amdgcn*-*-amdhsa.
2096 * config/gcn/crt0.c: New file.
2097 * config/gcn/lib2-divmod-hi.c: New file.
2098 * config/gcn/lib2-divmod.c: New file.
2099 * config/gcn/lib2-gcn.h: New file.
2100 * config/gcn/sfp-machine.h: New file.
2101 * config/gcn/t-amdgcn: New file.
2102
2103 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2104
2105 PR other/16615
2106
2107 * config/c6x/libunwind.S: Mechanically replace "can not" with
2108 "cannot".
2109 * config/tilepro/atomic.h: Likewise.
2110 * config/vxlib-tls.c: Likewise.
2111 * generic-morestack-thread.c: Likewise.
2112 * generic-morestack.c: Likewise.
2113 * mkmap-symver.awk: Likewise.
2114
2115 2019-01-01 Jakub Jelinek <jakub@redhat.com>
2116
2117 Update copyright years.
2118
2119 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2122 to ignore -Waddress-of-packed-member.
2123
2124 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2125
2126 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2127 parameter and corresponding code.
2128 (ARM_FUNC_START): Likewise in both definitions.
2129 Also update footer comment about condition that need to match with
2130 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2131 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2132 defined. Weakly define it in this case.
2133 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2134 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2135 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2136 comment to keep condition in sync with the one in
2137 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2138
2139 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
2140
2141 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2142 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2143
2144 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2145
2146 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2147 and .cfi_endproc directives for VxWorks targets.
2148
2149 2018-12-05 Paul Koning <ni1d@arrl.net>
2150
2151 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2152
2153 2018-11-27 Alan Modra <amodra@gmail.com>
2154
2155 * config/rs6000/morestack.S (__stack_split_initialize),
2156 (__morestack_get_guard, __morestack_set_guard),
2157 (__morestack_make_guard): Provide CFI covering these functions.
2158 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2159
2160 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2161
2162 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2163 (sc_pt_regs_lr): Update for kernel.
2164 (sc_pt_regs_tls): Update for kernel.
2165
2166 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2167
2168 * config/csky/linux-unwind.h: Fix coding style.
2169
2170 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2171
2172 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2173 (csky_fallback_frame_state): Modify the check of the
2174 instructions to adapt to changes in the kernel
2175
2176 2018-11-09 Stafford Horne <shorne@gmail.com>
2177 Richard Henderson <rth@twiddle.net>
2178
2179 * config.host: Add OpenRISC support.
2180 * config/or1k/*: New.
2181
2182 2018-11-08 Kito Cheng <kito@andestech.com>
2183
2184 * soft-fp/adddf3.c: Update from glibc.
2185 * soft-fp/addsf3.c: Likewise.
2186 * soft-fp/addtf3.c: Likewise.
2187 * soft-fp/divdf3.c: Likewise.
2188 * soft-fp/divsf3.c: Likewise.
2189 * soft-fp/divtf3.c: Likewise.
2190 * soft-fp/double.h: Likewise.
2191 * soft-fp/eqdf2.c: Likewise.
2192 * soft-fp/eqsf2.c: Likewise.
2193 * soft-fp/eqtf2.c: Likewise.
2194 * soft-fp/extenddftf2.c: Likewise.
2195 * soft-fp/extended.h: Likewise.
2196 * soft-fp/extendhftf2.c: Likewise.
2197 * soft-fp/extendsfdf2.c: Likewise.
2198 * soft-fp/extendsftf2.c: Likewise.
2199 * soft-fp/extendxftf2.c: Likewise.
2200 * soft-fp/fixdfdi.c: Likewise.
2201 * soft-fp/fixdfsi.c: Likewise.
2202 * soft-fp/fixdfti.c: Likewise.
2203 * soft-fp/fixhfti.c: Likewise.
2204 * soft-fp/fixsfdi.c: Likewise.
2205 * soft-fp/fixsfsi.c: Likewise.
2206 * soft-fp/fixsfti.c: Likewise.
2207 * soft-fp/fixtfdi.c: Likewise.
2208 * soft-fp/fixtfsi.c: Likewise.
2209 * soft-fp/fixtfti.c: Likewise.
2210 * soft-fp/fixunsdfdi.c: Likewise.
2211 * soft-fp/fixunsdfsi.c: Likewise.
2212 * soft-fp/fixunsdfti.c: Likewise.
2213 * soft-fp/fixunshfti.c: Likewise.
2214 * soft-fp/fixunssfdi.c: Likewise.
2215 * soft-fp/fixunssfsi.c: Likewise.
2216 * soft-fp/fixunssfti.c: Likewise.
2217 * soft-fp/fixunstfdi.c: Likewise.
2218 * soft-fp/fixunstfsi.c: Likewise.
2219 * soft-fp/fixunstfti.c: Likewise.
2220 * soft-fp/floatdidf.c: Likewise.
2221 * soft-fp/floatdisf.c: Likewise.
2222 * soft-fp/floatditf.c: Likewise.
2223 * soft-fp/floatsidf.c: Likewise.
2224 * soft-fp/floatsisf.c: Likewise.
2225 * soft-fp/floatsitf.c: Likewise.
2226 * soft-fp/floattidf.c: Likewise.
2227 * soft-fp/floattihf.c: Likewise.
2228 * soft-fp/floattisf.c: Likewise.
2229 * soft-fp/floattitf.c: Likewise.
2230 * soft-fp/floatundidf.c: Likewise.
2231 * soft-fp/floatundisf.c: Likewise.
2232 * soft-fp/floatunditf.c: Likewise.
2233 * soft-fp/floatunsidf.c: Likewise.
2234 * soft-fp/floatunsisf.c: Likewise.
2235 * soft-fp/floatunsitf.c: Likewise.
2236 * soft-fp/floatuntidf.c: Likewise.
2237 * soft-fp/floatuntihf.c: Likewise.
2238 * soft-fp/floatuntisf.c: Likewise.
2239 * soft-fp/floatuntitf.c: Likewise.
2240 * soft-fp/gedf2.c: Likewise.
2241 * soft-fp/gesf2.c: Likewise.
2242 * soft-fp/getf2.c: Likewise.
2243 * soft-fp/half.h: Likewise.
2244 * soft-fp/ledf2.c: Likewise.
2245 * soft-fp/lesf2.c: Likewise.
2246 * soft-fp/letf2.c: Likewise.
2247 * soft-fp/muldf3.c: Likewise.
2248 * soft-fp/mulsf3.c: Likewise.
2249 * soft-fp/multf3.c: Likewise.
2250 * soft-fp/negdf2.c: Likewise.
2251 * soft-fp/negsf2.c: Likewise.
2252 * soft-fp/negtf2.c: Likewise.
2253 * soft-fp/op-1.h: Likewise.
2254 * soft-fp/op-2.h: Likewise.
2255 * soft-fp/op-4.h: Likewise.
2256 * soft-fp/op-8.h: Likewise.
2257 * soft-fp/op-common.h: Likewise.
2258 * soft-fp/quad.h: Likewise.
2259 * soft-fp/single.h: Likewise.
2260 * soft-fp/soft-fp.h: Likewise.
2261 * soft-fp/subdf3.c: Likewise.
2262 * soft-fp/subsf3.c: Likewise.
2263 * soft-fp/subtf3.c: Likewise.
2264 * soft-fp/truncdfsf2.c: Likewise.
2265 * soft-fp/trunctfdf2.c: Likewise.
2266 * soft-fp/trunctfhf2.c: Likewise.
2267 * soft-fp/trunctfsf2.c: Likewise.
2268 * soft-fp/trunctfxf2.c: Likewise.
2269 * soft-fp/unorddf2.c: Likewise.
2270 * soft-fp/unordsf2.c: Likewise.
2271 * soft-fp/unordtf2.c: Likewise.
2272
2273 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2274
2275 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2276 * config/i386/cpuinfo.h (processor_types): Add znver2.
2277
2278 2018-11-01 Paul Koning <ni1d@arrl.net>
2279
2280 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2281 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2282
2283 2018-10-31 Joseph Myers <joseph@codesourcery.com>
2284
2285 PR bootstrap/82856
2286 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2287 * configure: Regenerate.
2288
2289 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2290
2291 * config/arc/lib1funcs.S (_muldi3): New function.
2292 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2293
2294 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2295
2296 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2297
2298 2018-10-25 Martin Liska <mliska@suse.cz>
2299
2300 PR other/87735
2301 * libgcov-profiler.c: Revert.
2302
2303 2018-10-24 Martin Liska <mliska@suse.cz>
2304
2305 * libgcov-profiler.c: Start from 1 in order to distinguish
2306 functions which were seen and these that were not.
2307
2308 2018-10-18 Paul Koning <ni1d@arrl.net>
2309
2310 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2311 standard.
2312 * divmod.c: Update references to __udivmodsi4.
2313 * udivmod.c: Ditto.
2314 * udivhi3.c: New file.
2315 * udivmodhi4.c: New file.
2316 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2317
2318 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2319
2320 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2321
2322 2018-10-12 Olivier Hainque <hainque@adacore.com>
2323
2324 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2325 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2326
2327 2018-10-08 Paul Koning <ni1d@arrl.net>
2328
2329 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2330
2331 2018-10-04 Martin Liska <mliska@suse.cz>
2332
2333 PR gcov-profile/84107
2334 * libgcov-profiler.c (__gcov_indirect_call):
2335 Change type to indirect_call_tuple.
2336 (struct indirect_call_tuple): New struct.
2337 (__gcov_indirect_call_topn_profiler): Change type.
2338 (__gcov_indirect_call_profiler_v2): Use the new
2339 variables.
2340 * libgcov.h (struct indirect_call_tuple): New struct
2341 definition.
2342
2343 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
2344
2345 * libgcc2.c (isnan): Use __builtin_isnan.
2346 (isfinite): Use __builtin_isfinite.
2347 (isinf): Use __builtin_isinf.
2348
2349 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
2350
2351 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2352
2353 2018-09-21 Alexandre Oliva <oliva@adacore.com>
2354
2355 * config/vxcache.c: New file. Provide __clear_cache, based on
2356 the cacheTextUpdate VxWorks service.
2357 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2358 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2359 * config/t-vxwoks7: Likewise.
2360
2361 2018-09-21 Martin Liska <mliska@suse.cz>
2362
2363 * libgcov-driver.c (crc32_unsigned): Remove.
2364 (gcov_histogram_insert): Likewise.
2365 (gcov_compute_histogram): Likewise.
2366 (compute_summary): Simplify rapidly.
2367 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2368 (merge_summary): Rapidly simplify.
2369 (dump_one_gcov): Ignore gcov_summary.
2370 (gcov_do_dump): Do not handle program summary, it's not
2371 used.
2372 * libgcov-util.c (tag_summary): Remove.
2373 (read_gcda_finalize): Fix coding style.
2374 (read_gcda_file): Initialize curr_object_summary.
2375 (compute_summary): Remove.
2376 (calculate_overlap): Remove settings of run_max.
2377
2378 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2379
2380 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2381 ucontext_t type instead.
2382 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2383
2384 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
2385
2386 * config/nds32/t-nds32-glibc: New file.
2387
2388 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2389
2390 * configure.ac (solaris_ld_v2_maps): New test.
2391 * configure: Regenerate.
2392 * Makefile.in (solaris_ld_v2_maps): New variable.
2393 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2394 if supported.
2395
2396 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
2397
2398 PR target/86951
2399 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2400 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2401 to build.
2402
2403 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2404
2405 * config/unwind-dw2-fde-darwin.c
2406 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2407 * config/darwin10-unwind-find-enc-func.c: … to here.
2408 * config/t-darwin: Build Darwin10 unwinder shim crt.
2409 * libgcc/config.host: Add the Darwin10 unwinder shim.
2410
2411 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2412
2413 * config.host: Add crtbegin.o and crtend.o for
2414 powerpc-wrs-vxworks target.
2415
2416 2018-08-17 Jojo <jijie_rong@c-sky.com>
2417 Huibin Wang <huibin_wang@c-sky.com>
2418 Sandra Loosemore <sandra@codesourcery.com>
2419 Chung-Lin Tang <cltang@codesourcery.com>
2420
2421 C-SKY port: libgcc
2422
2423 * config.host: Add C-SKY support.
2424 * config/csky/*: New.
2425
2426 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2427
2428 * config/nds32/t-nds32-isr: Rearrange object dependency.
2429 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2430 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2431 and registers usage.
2432 * config/nds32/isr-library/excp_isr.S: Ditto.
2433 * config/nds32/isr-library/intr_isr.S: Ditto.
2434 * config/nds32/isr-library/reset.S: Ditto.
2435 * config/nds32/isr-library/restore_all.inc: Ditto.
2436 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2437 * config/nds32/isr-library/restore_partial.inc: Ditto.
2438 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2439 * config/nds32/isr-library/save_all.inc: Ditto.
2440 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2441 * config/nds32/isr-library/save_partial.inc: Ditto.
2442 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2443 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2444
2445 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
2446
2447 * config/pa/linux-atomic.c: Update comment.
2448 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2449 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2450 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2451 __ATOMIC_RELAXED for atomic loads.
2452 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2453 unordered store to release lock.
2454 (__sync_lock_release_8): Likewise.
2455 (SYNC_LOCK_RELEASE_2): Remove define.
2456
2457 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
2458
2459 PR libgcc/86512
2460 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2461 exponent goes negative. Update my email address.
2462 * config/arm/ieee754-sf.S: Likewise.
2463
2464 2018-08-01 Martin Liska <mliska@suse.cz>
2465
2466 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2467 check that __gcov_indirect_call_callee is non-null.
2468
2469 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2470
2471 * config/arm/ieee754-df.S: Fix comment for code working on
2472 architectures >= 4.
2473 * config/arm/ieee754-sf.S: Likewise.
2474
2475 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2476
2477 PR libgcc/85334
2478 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2479 Removed.
2480
2481 2018-07-05 James Clarke <jrtc27@jrtc27.com>
2482
2483 * configure: Regenerated.
2484
2485 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2486
2487 * Makefile.in (install_leaf): Use enable_gcov instead of
2488 enable_libgcov.
2489
2490 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2491
2492 * configure.ac: Add --disable-gcov option.
2493 * configure: Regenerate.
2494 * Makefile.in: Honour @enable_gcov@.
2495
2496 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2497
2498 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2499 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2500 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2501 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2502 __ARM_ARCH__.
2503 * config/arm/ieee754-sf.S: Likewise.
2504 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2505
2506 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2507
2508 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2509 longer supported.
2510 * config/arm/ieee754-sf.S: Likewise.
2511
2512 2018-06-20 Than McIntosh <thanm@google.com>
2513
2514 PR libgcc/86213
2515 * generic-morestack.c (allocate_segment): Move calls to getenv and
2516 getpagesize to __morestack_load_mmap.
2517 (__morestack_load_mmap) Initialize static_pagesize and
2518 use_guard_page here so as to avoid clobbering SSE regs during a
2519 __morestack call.
2520
2521 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
2522
2523 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2524 support modules with -mno-gnu-attribute.
2525 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2526
2527 2018-06-07 Olivier Hainque <hainque@adacore.com>
2528
2529 * config/t-vxworks (LIBGCC_INCLUDES): Add
2530 -I$(MULTIBUILDTOP)../../gcc/include.
2531 * config/t-vxworks7: Likewise. Reformat a bit to match
2532 the t-vxworks layout.
2533
2534 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2535
2536 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2537
2538 2018-06-07 Martin Liska <mliska@suse.cz>
2539
2540 * libgcov-driver.c: Rename cs_all to all and assign it from
2541 all_prg.
2542
2543 2018-06-07 Martin Liska <mliska@suse.cz>
2544
2545 PR bootstrap/86057
2546 * libgcov-driver-system.c (replace_filename_variables): Use
2547 memcpy instead of mempcpy.
2548 (allocate_filename_struct): Do not allocate filename, allocate
2549 prefix and set it.
2550 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2551 here and properly copy content into it.
2552 * libgcov-driver.c (struct gcov_filename): Remove max_length
2553 field, change prefix from size_t into char *.
2554 (compute_summary): Do not calculate longest filename.
2555 (gcov_do_dump): Release memory of gf.filename after each file.
2556 * libgcov-util.c (compute_summary): Use new signature of
2557 compute_summary.
2558 (calculate_overlap): Likewise.
2559
2560 2018-06-05 Martin Liska <mliska@suse.cz>
2561
2562 PR gcov-profile/47618
2563 * libgcov-driver-system.c (replace_filename_variables): New
2564 function.
2565 (gcov_exit_open_gcda_file): Use it.
2566
2567 2018-06-05 Martin Liska <mliska@suse.cz>
2568
2569 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2570 of gcov_ctr_summary.
2571 (compute_summary): Do it just for a single summary.
2572 (merge_one_data): Likewise.
2573 (merge_summary): Simplify as we read just single summary.
2574 (dump_one_gcov): Pass proper argument.
2575 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2576 single summary.
2577 (gcov_info_count_all_cold): Likewise.
2578 (calculate_overlap): Likewise.
2579
2580 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2581 Monk Chiang <sh.chiang04@gmail.com>
2582
2583 * config.host (nds32*-linux*): New.
2584 * config/nds32/linux-atomic.c: New file.
2585 * config/nds32/linux-unwind.h: New file.
2586
2587 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2588
2589 PR target/85591
2590 * config/i386/cpuinfo.c (get_amd_cpu): Return
2591 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2592
2593 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2594
2595 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2596
2597 2018-05-29 Martin Liska <mliska@suse.cz>
2598
2599 PR gcov-profile/85759
2600 * libgcov-driver-system.c (gcov_error): Introduce usage of
2601 GCOV_EXIT_AT_ERROR env. variable.
2602 * libgcov-driver.c (merge_one_data): Print error that we
2603 overwrite a gcov file with a different timestamp.
2604
2605 2018-05-23 Kalamatee <kalamatee@gmail.com>
2606
2607 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2608 path to Lf$finfty.
2609
2610 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2611 Monk Chiang <sh.chiang04@gmail.com>
2612 Jim Wilson <jimw@sifive.com>
2613
2614 * config/riscv/save-restore.S: Add support for rv32e.
2615
2616 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2617
2618 * config/arm/libunwind.S: Update comment relating to armv5.
2619
2620 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2621
2622 * config/arm/cmse.c (cmse_check_address_range): Replace
2623 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2624
2625 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2626
2627 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2628 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2629
2630 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2631
2632 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2633 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2634
2635 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2636
2637 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2638
2639 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2640 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2641
2642 PR libgcc/84292
2643 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2644 op_and_fetch to return the right result.
2645
2646 2018-04-27 Alan Modra <amodra@gmail.com>
2647
2648 PR libgcc/85532
2649 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2650 -fno-asynchronous-unwind-tables.
2651
2652 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2653
2654 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2655 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2656
2657 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2658
2659 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2660 when including "config/i386/shadow-stack-unwind.h".
2661
2662 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2663
2664 * configure: Regenerated.
2665
2666 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2667
2668 PR target/85456
2669 * config/rs6000/_powikf2.c: New file. Add support for the
2670 __builtin_powil function when long double is IEEE 128-bit floating
2671 point.
2672 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2673 __powikf2 support.
2674 (__powikf2): Likewise.
2675 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2676 (__powikf2_hw): Likewise.
2677 (__powikf2): Likewise.
2678 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2679 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2680 (_powikf2-hw.c): Likewise.
2681
2682 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2683
2684 PR libgcc/85334
2685 * unwind-generic.h (_Unwind_Frames_Increment): New.
2686 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2687 Likewise.
2688 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2689 count with _Unwind_Frames_Increment.
2690 (_Unwind_ForcedUnwind_Phase2): Likewise.
2691
2692 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2693
2694 PR libgcc/85379
2695 * config/i386/morestack.S (__stack_split_initialize): Add
2696 _CET_ENDBR.
2697
2698 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2699
2700 * configure: Regenerated.
2701
2702 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2703
2704 PR jit/85384
2705 * configure: Regenerate.
2706
2707 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2708
2709 PR target/84945
2710 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2711 -Wdangling-else warnings. Mask shift counts to avoid
2712 -Wshift-count-negative and -Wshift-count-overflow false positives.
2713
2714 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2715
2716 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2717
2718 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2719
2720 PR target/85100
2721 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2722 (XSTATE_FP): Likewise.
2723 (XSTATE_SSE): Likewise.
2724 (XSTATE_YMM): Likewise.
2725 (XSTATE_OPMASK): Likewise.
2726 (XSTATE_ZMM): Likewise.
2727 (XSTATE_HI_ZMM): Likewise.
2728 (XCR_AVX_ENABLED_MASK): Likewise.
2729 (XCR_AVX512F_ENABLED_MASK): Likewise.
2730 (get_available_features): Enable AVX and AVX512 features only
2731 if their states are supported by OSXSAVE.
2732
2733 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2734
2735 PR target/85025
2736 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2737 Fix a typo, tmp => 255.
2738
2739 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2740
2741 PR target/84945
2742 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2743 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2744 ifndef SHARED only.
2745 (set_feature): Define.
2746 (get_available_features): Use set_feature macro. Set __cpu_features2
2747 to the second word of features ifndef SHARED.
2748
2749 2018-03-15 Julia Koval <julia.koval@intel.com>
2750
2751 * config/i386/cpuinfo.c (get_available_features): Add
2752 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2753 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2754 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2755 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2756 FEATURE_AVX512BITALG.
2757
2758 2018-03-14 Julia Koval <julia.koval@intel.com>
2759
2760 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2761 icelake client and icelake server.
2762
2763 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2764
2765 * config/pa/fptr.c (_dl_read_access_allowed): New.
2766 (__canonicalize_funcptr_for_compare): Use it.
2767
2768 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2769
2770 PR debug/83917
2771 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2772 $asm_hidden_op if visibility ("hidden") attribute works.
2773 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2774 * config/i386/i386-asm.h: Don't include auto-host.h.
2775 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2776 PACKAGE_URL): Don't undefine.
2777 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2778 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2779 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2780 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2781 definition instead of hardcoded .hidden.
2782 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2783 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2784 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2785 (USE_GAS_CFI_DIRECTIVES): Don't define.
2786 * configure: Regenerated.
2787 * config.in: Likewise.
2788
2789 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2790
2791 PR debug/83917
2792 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2793 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2794 inclusion of auto-target.h and auto-host.h.
2795 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2796 __GCC_HAVE_DWARF2_CFI_ASM.
2797 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2798 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2799 cfi_pop): Define.
2800 * config/i386/cygwin.S: Don't include auto-host.h here, just
2801 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2802 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2803 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2804 * config/i386/resms64fx.h: Add cfi_* directives.
2805 * config/i386/resms64x.h: Likewise.
2806
2807 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2808
2809 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2810 .literal_position directive.
2811 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2812
2813 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2814
2815 PR target/84148
2816 * configure: Regenerate.
2817
2818 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2819
2820 PR target/84239
2821 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2822 Include cetintrin.h not x86intrin.h.
2823
2824 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2825
2826 PR target/84239
2827 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2828 Use new _get_ssp and _inc_ssp intrinsics.
2829
2830 2018-02-02 Julia Koval <julia.koval@intel.com>
2831
2832 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2833
2834 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2835
2836 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2837 option.
2838 (__divsi3): Use RF16 safe registers.
2839 (__modsi3): Likewise.
2840
2841 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2842
2843 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2844 (__divsf3): Make NaN return value quiet.
2845 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2846 (__divdf3): Make NaN return value quiet.
2847
2848 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2849
2850 * config/rl78/anddi3.S: New assembly file.
2851 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2852
2853 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2854
2855 * config/rl78/umindi3.S: New assembly file.
2856 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2857
2858 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2859
2860 * config/rl78/smindi3.S: New assembly file.
2861 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2862
2863 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2864
2865 * config/rl78/smaxdi3.S: New assembly file.
2866 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2867
2868 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2869
2870 * config/rl78/umaxdi3.S: New assembly file.
2871 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2872
2873 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2874
2875 PR lto/83452
2876 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2877 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2878
2879 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2880
2881 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2882 (DWARF_LAZY_REGISTER_VALUE): Define.
2883 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2884 to provide a fallback register value.
2885
2886 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2887
2888 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2889 __ibm128, instead of trying to use long double.
2890 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2891 accomidate -mabi=ieeelongdouble multilibs.
2892 (CVT_IBM128_TO_FLOAT128): Likewise.
2893 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2894 the appropriate IBM extended double type.
2895 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2896 (__gcc_qsub): Likewise.
2897 (__gcc_qmul): Likewise.
2898 (__gcc_qdiv): Likewise.
2899 (pack_ldouble): Likewise.
2900 (__gcc_qneg): Likewise.
2901 (__gcc_qeq): Likewise.
2902 (__gcc_qne): Likewise.
2903 (__gcc_qge): Likewise.
2904 (__gcc_qle): Likewise.
2905 (__gcc_stoq): Likewise.
2906 (__gcc_dtoq): Likewise.
2907 (__gcc_itoq): Likewise.
2908 (__gcc_utoq): Likewise.
2909 (__gcc_qunord): Likewise.
2910 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2911 quad-float128.h for the definitions.
2912 (COPYSIGN): Use the f128 version instead of the q version.
2913 (INFINITY): Likewise.
2914 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2915 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2916 quad-float128.h for the definitions.
2917 (COPYSIGN): Use the f128 version instead of the q version.
2918 (INFINITY): Likewise.
2919 (FABS): Likewise.
2920 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2921 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2922 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2923
2924 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2925
2926 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2927 configuration.
2928
2929 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2930
2931 Update copyright years.
2932
2933 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2934
2935 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2936 * config/riscv/multi3.c: New file.
2937 * config/riscv/multi3.S: Remove.
2938
2939 2017-12-08 Jim Wilson <jimw@sifive.com>
2940
2941 * config/riscv/div.S: Use FUNC_* macros.
2942 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2943 * config/riscv/save-restore.S: Likewise.
2944 * config/riscv/riscv-asm.h: New.
2945
2946 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2947
2948 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2949 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2950
2951 PR libgcc/83112
2952 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2953 correct type for all ifunc resolvers to silence -Wattribute-alias
2954 warnings. Eliminate the forward declaration of the resolver
2955 functions which is no longer needed.
2956 (__subkf3_resolve): Likewise.
2957 (__mulkf3_resolve): Likewise.
2958 (__divkf3_resolve): Likewise.
2959 (__negkf2_resolve): Likewise.
2960 (__eqkf2_resolve): Likewise.
2961 (__nekf2_resolve): Likewise.
2962 (__gekf2_resolve): Likewise.
2963 (__gtkf2_resolve): Likewise.
2964 (__lekf2_resolve): Likewise.
2965 (__ltkf2_resolve): Likewise.
2966 (__unordkf2_resolve): Likewise.
2967 (__extendsfkf2_resolve): Likewise.
2968 (__extenddfkf2_resolve): Likewise.
2969 (__trunckfsf2_resolve): Likewise.
2970 (__trunckfdf2_resolve): Likewise.
2971 (__fixkfsi_resolve): Likewise.
2972 (__fixkfdi_resolve): Likewise.
2973 (__fixunskfsi_resolve): Likewise.
2974 (__fixunskfdi_resolve): Likewise.
2975 (__floatsikf_resolve): Likewise.
2976 (__floatdikf_resolve): Likewise.
2977 (__floatunsikf_resolve): Likewise.
2978 (__floatundikf_resolve): Likewise.
2979 (__extendkftf2_resolve): Likewise.
2980 (__trunctfkf2_resolve): Likewise.
2981
2982 PR libgcc/83103
2983 * config/rs6000/quad-float128.h (TF): Don't define if long double
2984 is IEEE 128-bit floating point.
2985 (TCtype): Define as either TCmode or KCmode, depending on whether
2986 long double is IEEE 128-bit floating point.
2987 (__mulkc3_sw): Add declarations for software/hardware versions of
2988 complex multiply/divide.
2989 (__divkc3_sw): Likewise.
2990 (__mulkc3_hw): Likewise.
2991 (__divkc3_hw): Likewise.
2992 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2993 handlers to switch between using software emulation and hardware
2994 float128 instructions, build the complex multiply/divide functions
2995 for both software and hardware support.
2996 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2997 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2998 (__divkc3_resolve): Likewise.
2999 (__mulkc3): Likewise.
3000 (__divkc3): Likewise.
3001 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3002 (fp128_hw_src): Likewise.
3003 (fp128_hw_static_obj): Likewise.
3004 (fp128_hw_shared_obj): Likewise.
3005 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3006 _mulkc3.c and _divkc3.c, changing the function name.
3007 (_divkc3-hw.c): Likewise.
3008 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3009 and _divkc3-hw.c.
3010
3011 2017-11-26 Julia Koval <julia.koval@intel.com>
3012
3013 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3014 * config/i386/cpuinfo.h (processor_subtypes): Add
3015 INTEL_COREI7_CANNONLAKE.
3016
3017 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3018
3019 PR bootstrap/83015
3020 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3021 parameter.
3022 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3023 * config/ia64/unwind-ia64.c: Add frames parameter.
3024 * unwind-sjlj.c: Likewise.
3025
3026 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3027
3028 * config/i386/linux-unwind.h: Include
3029 config/i386/shadow-stack-unwind.h.
3030 * config/i386/shadow-stack-unwind.h: New file.
3031 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3032 pass it to _Unwind_Frames_Extra.
3033 * unwind-generic.h (_Unwind_Frames_Extra): New.
3034 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3035 parameter. Add local variable frames to count number of frames.
3036 (_Unwind_ForcedUnwind_Phase2): Likewise.
3037 (_Unwind_RaiseException): Add local variable frames to count
3038 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3039 uw_install_context.
3040 (_Unwind_ForcedUnwind): Likewise.
3041 (_Unwind_Resume): Likewise.
3042 (_Unwind_Resume_or_Rethrow): Likewise.
3043
3044 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3045
3046 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3047 (CET_FLAGS): New.
3048 * config/i386/morestack.S: Include <cet.h>.
3049 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3050 * config/i386/resms64.h: Include <cet.h>.
3051 * config/i386/resms64f.h: Likewise.
3052 * config/i386/resms64fx.h: Likewise.
3053 * config/i386/resms64x.h: Likewise.
3054 * config/i386/savms64.h: Likewise.
3055 * config/i386/savms64f.h: Likewise.
3056 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3057 (CRTSTUFF_T_CFLAGS): Likewise.
3058 * configure.ac: Include ../config/cet.m4.
3059 Set and substitute CET_FLAGS.
3060 * configure: Regenerated.
3061
3062 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3063
3064 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3065 renaming.
3066 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3067 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3068 * configure: Regenerate.
3069
3070 2017-11-07 Tom de Vries <tom@codesourcery.com>
3071
3072 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3073 after "do {} while (0)".
3074
3075 2017-11-07 Tom de Vries <tom@codesourcery.com>
3076
3077 PR other/82784
3078 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3079 semicolon after "do {} while (0)".
3080 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3081 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3082 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3083 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3084
3085 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3086
3087 PR libgcc/82635
3088 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3089 sysctl to determine whether we're in a trampoline.
3090 Keep the pattern matching method for systems without
3091 KERN_PROC_SIGTRAMP sysctl.
3092
3093 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3094 Vineet Gupta <vgupta@synopsys.com>
3095
3096 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3097 * config/arc/linux-unwind-reg.def: New file.
3098 * config/arc/linux-unwind-reg.h: Likewise.
3099
3100 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3101
3102 * config/rl78/subdi3.S: New assembly file.
3103 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3104
3105 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3106
3107 * config/rl78/adddi3.S: New assembly file.
3108 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3109
3110 2017-10-13 Jakub Jelinek <jakub@redhat.com>
3111
3112 PR target/82274
3113 * libgcc2.c (__mulvDI3): If both operands have
3114 the same highpart of -1 and the topmost bit of lowpart is 0,
3115 multiplication overflows even if both lowparts are 0.
3116
3117 2017-09-28 James Bowman <james.bowman@ftdichip.com>
3118
3119 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3120
3121 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3122
3123 * config/microblaze/crti.S, config/microblaze/crtn.S,
3124 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3125 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3126 config/microblaze/mulsi3.S,
3127 config/microblaze/stack_overflow_exit.S,
3128 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3129 config/pa/milli64.S: Add .note.GNU-stack section.
3130
3131 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
3132
3133 * configure.ac: Add Check for HAVE_AS_AVX.
3134 * config.in: Regenerate.
3135 * configure: Likewise.
3136 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3137 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3138 Correct out-of-date comments.
3139
3140 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3141
3142 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3143 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3144
3145 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
3146
3147 * config/i386/i386-asm.h (PASTE2): New macro.
3148 (ASMNAME): Modify to use PASTE2.
3149 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3150 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3151 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3152 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3153 * config/i386/resms64f.S: Likewise.
3154 * config/i386/resms64fx.S: Likewise.
3155 * config/i386/resms64x.S: Likewise.
3156 * config/i386/savms64.S: Likewise.
3157 * config/i386/savms64f.S: Likewise.
3158 * config/i386/avx_resms64.S: New file that only defines a macro and
3159 includes it's corresponding header file.
3160 * config/i386/avx_resms64f.S: Likewise.
3161 * config/i386/avx_resms64fx.S: Likewise.
3162 * config/i386/avx_resms64x.S: Likewise.
3163 * config/i386/avx_savms64.S: Likewise.
3164 * config/i386/avx_savms64f.S: Likewise.
3165 * config/i386/sse_resms64.S: Likewise.
3166 * config/i386/sse_resms64f.S: Likewise.
3167 * config/i386/sse_resms64fx.S: Likewise.
3168 * config/i386/sse_resms64x.S: Likewise.
3169 * config/i386/sse_savms64.S: Likewise.
3170 * config/i386/sse_savms64f.S: Likewise.
3171 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3172
3173 2017-09-01 Olivier Hainque <hainque@adacore.com>
3174 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3175
3176 2017-08-31 Olivier Hainque <hainque@adacore.com>
3177
3178 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3179 match as powerpc-wrs-vxworks*.
3180
3181 2017-08-07 Jonathan Yong <10walls@gmail.com>
3182
3183 * config.host (*-cygwin): Include file from mingw
3184 config/i386/enable-execute-stack-mingw32.c
3185
3186 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
3187 Doug Rupp <rupp@adacore.com>
3188 Olivier Hainque <hainque@adacore.com>
3189
3190 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3191 as well as arm-wrs-vxworks.
3192 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3193 LIB2ADDEH.
3194 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3195 __exidx_start and __exidx_end for downloadable modules.
3196
3197 2017-08-01 Olivier Hainque <hainque@adacore.com>
3198
3199 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3200 * config/t-vxworks7: Likewise.
3201
3202 2017-08-01 Olivier Hainque <hainque@adacore.com>
3203
3204 * config/t-vxworks: Instead of redefining LIB2ADD,
3205 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3206
3207 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3208
3209 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3210
3211 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
3212
3213 PR testsuite/80759
3214 * config.host: include i386/t-msabi for darwin and solaris.
3215 * config/i386/i386-asm.h
3216 (ELFFN): Rename to FN_TYPE.
3217 (FN_SIZE): New macro.
3218 (FN_HIDDEN): Likewise.
3219 (ASMNAME): Likewise.
3220 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3221 .globl.
3222 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3223 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3224 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3225 .macro.
3226 * config/i386/resms64f.S: Likewise.
3227 * config/i386/resms64fx.S: Likewise.
3228 * config/i386/resms64x.S: Likewise.
3229 * config/i386/savms64.S: Likewise.
3230 * config/i386/savms64f.S: Likewise.
3231
3232 2017-07-19 John Marino <gnugcc@marino.st>
3233
3234 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3235
3236 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3237
3238 PR target/81193
3239 * configure.ac (PowerPC float128 hardware support): Test whether
3240 we can use __builtin_cpu_supports before enabling the ifunc
3241 handler.
3242 * configure: Regenerate.
3243
3244 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
3245
3246 * config.host: Remove uclibc from arc target spec.
3247
3248 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3249
3250 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3251
3252 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3253
3254 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3255 (have_ieee_hw_p): Delete function.
3256 (SW_OR_HW) Use __builtin_cpu_supports().
3257
3258 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3259
3260 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3261
3262 2017-07-03 Olivier Hainque <hainque@adacore.com>
3263
3264 * config/t-vxworks7: New file, really.
3265
3266 2017-06-28 Joseph Myers <joseph@codesourcery.com>
3267
3268 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3269 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3270 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3271 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3272 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3273 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3274 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3275 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3276 config/sh/linux-unwind.h (sh_fallback_frame_state),
3277 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3278 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3279 ucontext_t instead of struct ucontext.
3280
3281 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
3282
3283 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3284 (x86_64-wrs-vxworks7): Likewise.
3285
3286 2017-06-27 Olivier Hainque <hainque@adacore.com>
3287
3288 * config/t-vxworks7: New file.
3289 * config.host (*-*-vxworks7): Use it.
3290
3291 2017-06-22 Matt Turner <mattst88@gmail.com>
3292
3293 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3294 skylake case.
3295
3296 2017-06-21 Richard Biener <rguenther@suse.de>
3297
3298 PR gcov-profile/81080
3299 * configure.ac: Add AC_SYS_LARGEFILE.
3300 * libgcov.h: Include auto-target.h before tsystem.h to pick
3301 up _FILE_OFFSET_BITS which might differ for multilibs.
3302 * config.in: Regenerate.
3303 * configure: Likewise.
3304
3305 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
3306
3307 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3308
3309 2017-06-09 Martin Liska <mliska@suse.cz>
3310
3311 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3312 Reset __gcov_indirect_call_callee to NULL.
3313
3314 2017-06-08 Olivier Hainque <hainque@adacore.com>
3315
3316 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3317 the set of -I options, support for direct inclusions of net/uio.h
3318 by VxWorks header files via ioLib.h.
3319
3320 2017-06-07 Tony Reix <tony.reix@atos.net>
3321 Matthieu Sarter <matthieu.sarter.external@atos.net>
3322 David Edelsohn <dje.gcc@gmail.com>
3323
3324 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3325 unconditionally.
3326 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3327 AIX 7.2 support.
3328
3329 2017-06-02 Olivier Hainque <hainque@adacore.com>
3330
3331 * config/vxlib.c (__gthread_once): Add missing value to
3332 return statement.
3333
3334 2017-05-30 Olivier Hainque <hainque@adacore.com>
3335
3336 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3337 dollar sign before $(MULTIDIR).
3338
3339 2017-05-26 Richard Henderson <rth@redhat.com>
3340
3341 PR libgcc/80037
3342 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3343
3344 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3345
3346 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3347 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3348 * config/arm/unwind-arm.c: Implement the above.
3349
3350 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3351
3352 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3353 section for a non-executable stack.
3354
3355 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3356
3357 PR target/80600
3358 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3359
3360 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
3361
3362 * config.host: Add i386/t-msabi to i386/t-linux file list.
3363 * config/i386/i386-asm.h: New file.
3364 * config/i386/resms64.S: New file.
3365 * config/i386/resms64f.S: New file.
3366 * config/i386/resms64fx.S: New file.
3367 * config/i386/resms64x.S: New file.
3368 * config/i386/savms64.S: New file.
3369 * config/i386/savms64f.S: New file.
3370 * config/i386/t-msabi: New file.
3371
3372 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3373
3374 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3375 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3376
3377 2017-05-05 Joshua Conner <joshconner@google.com>
3378
3379 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3380 pc-relative indirect handling for fuchsia.
3381 * config/t-slibgcc-fuchsia: New file.
3382 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3383 x86_64-*-fuchsia*): Add definitions.
3384
3385 2017-04-19 Martin Liska <mliska@suse.cz>
3386
3387 PR gcov-profile/80435
3388 * Makefile.in: Install gcov.h.
3389 * gcov.h: New file.
3390 * libgcov.h: Use the header and make __gcov_flush publicly
3391 visible.
3392
3393 2017-04-18 Martin Liska <mliska@suse.cz>
3394
3395 PR gcov-profile/78783
3396 * libgcov-driver.c (gcov_get_filename): New function.
3397
3398 2017-04-07 Jeff Law <law@redhat.com>
3399
3400 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3401 target makefile fragment.
3402 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3403
3404 2017-04-07 Alan Modra <amodra@gmail.com>
3405
3406 PR target/45053
3407 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3408
3409 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
3410
3411 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3412
3413 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3414
3415 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3416
3417 2017-03-10 John Marino <gnugcc@marino.st>
3418
3419 * config/aarch64/freebsd-unwind.h: New file.
3420 * config.host: Add aarch64-*-freebsd unwinder.
3421
3422 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3423
3424 * config/rs6000/crtrestvr.s: Use .machine altivec.
3425 * config/rs6000/crtsavevr.s: Ditto.
3426
3427 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3428
3429 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3430 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3431 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3432 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3433 * configure: Regenerate.
3434 * config.in: Regenerate.
3435
3436 2017-03-02 Jonathan Yong <10walls@gmail.com>
3437
3438 * config/i386/gthr-win32.h: Define NOGDI before
3439 windows.h include to prevent w32api CC_NONE macro
3440 clash with libgfortran.
3441
3442 2017-03-02 Jonathan Yong <10walls@gmail.com>
3443
3444 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3445
3446 2017-02-16 Andrew Pinski <apinski@cavium.com>
3447
3448 * config/aarch64/value-unwind.h: New file.
3449 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3450 to tm_file.
3451
3452 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3453
3454 * config.host: Add RISC-V tuples.
3455 * config/riscv/atomic.c: New file.
3456 * config/riscv/crti.S: Likewise.
3457 * config/riscv/crtn.S: Likewise.
3458 * config/riscv/div.S: Likewise.
3459 * config/riscv/linux-unwind.h: Likewise.
3460 * config/riscv/muldi3.S: Likewise.
3461 * config/riscv/multi3.S: Likewise.
3462 * config/riscv/save-restore.S: Likewise.
3463 * config/riscv/sfp-machine.h: Likewise.
3464 * config/riscv/t-elf: Likewise.
3465 * config/riscv/t-elf32: Likewise.
3466 * config/riscv/t-elf64: Likewise.
3467 * config/riscv/t-softfp32: Likewise.
3468 * config/riscv/t-softfp64: Likewise.
3469
3470 2017-01-24 Jakub Jelinek <jakub@redhat.com>
3471
3472 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3473 /* FALLTHRU */ comments.
3474
3475 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3476
3477 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3478
3479 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3480
3481 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3482 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3483 DW_CFA_GNU_window_save for AArch64 and LP64.
3484
3485 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3486
3487 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3488
3489 2017-01-19 Jiong Wang <jiong.wang@arm.com>
3490
3491 * config/aarch64/aarch64-unwind.h: New file.
3492 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3493 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3494 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3495 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3496 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3497 (aarch64_post_extract_frame_addr): New function.
3498 (aarch64_post_frob_eh_handler_addr): New function.
3499 (aarch64_frob_update_context): New function.
3500 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3501 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3502 aarch64*-*-freebsd*):
3503 Initialize md_unwind_header to include aarch64-unwind.h.
3504 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3505 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3506 __aarch64__.
3507 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3508 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3509 (uw_frob_return_addr): New function.
3510 (uw_install_context): Use uw_frob_return_addr.
3511
3512 2017-01-17 Jakub Jelinek <jakub@redhat.com>
3513
3514 PR other/79046
3515 * configure.ac: Add GCC_BASE_VER.
3516 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3517 version from BASE-VER file.
3518 * configure: Regenerated.
3519
3520 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
3521
3522 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3523 libmul_f5.a): Filter archived prerequisites.
3524
3525 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3526
3527 * config/i386/cpuinfo.h (processor_features): Add
3528 FEATURE_AVX512VPOPCNTDQ.
3529 * config/i386/cpuinfo.c (get_available_features): Habdle new
3530 feature.
3531
3532 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3533
3534 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3535 payload if [__mips_nan2008].
3536
3537 2017-01-04 Alan Modra <amodra@gmail.com>
3538
3539 * Makefile.in (configure_deps): Update.
3540 * configure: Regenerate.
3541
3542 2017-01-01 Jakub Jelinek <jakub@redhat.com>
3543
3544 Update copyright years.
3545
3546 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3547
3548 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3549 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3550 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3551
3552 2016-12-17 Matthias Klose <doko@ubuntu.com>
3553
3554 * config/arc/gmon: Remove empty directory.
3555
3556 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3557
3558 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3559 crtgend.
3560 (arc*-*-elf*): Likewise.
3561 * config/arc/t-arc: Remove old gmon lib targets.
3562 * config/arc/crtg.S: Remove.
3563 * config/arc/crtgend.S: Likewise.
3564 * config/arc/gmon/atomic.h: Likewise.
3565 * config/arc/gmon/auxreg.h: Likewise.
3566 * config/arc/gmon/dcache_linesz.S: Likewise.
3567 * config/arc/gmon/gmon.c: Likewise.
3568 * config/arc/gmon/machine-gmon.h: Likewise.
3569 * config/arc/gmon/mcount.c: Likewise.
3570 * config/arc/gmon/prof-freq-stub.S: Likewise.
3571 * config/arc/gmon/prof-freq.c: Likewise.
3572 * config/arc/gmon/profil.S: Likewise.
3573 * config/arc/gmon/sys/gmon.h: Likewise.
3574 * config/arc/gmon/sys/gmon_out.h: Likewise.
3575 * config/arc/t-arc-newlib: Likewise.
3576 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3577
3578 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3579
3580 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3581
3582 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3583
3584 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3585 R16 instead of push + pop.
3586 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3587
3588 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3589
3590 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3591 tmake_file.
3592
3593 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3594
3595 * config.host (arc*-*-linux-uclibc*): Use default extra
3596 objects. Include linux-android header.
3597 * config/arc/crti.S (_init): Declare symbol as function.
3598 (_fini): Likewise.
3599
3600 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3601
3602 PR fortran/78379
3603 * config/i386/cpuinfo.c: Move denums for processor vendors,
3604 processor type, processor subtypes and declaration of
3605 struct __processor_model into
3606 * config/i386/cpuinfo.h: New header file.
3607
3608 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3609 Thomas Preud'homme <thomas.preudhomme@arm.com>
3610
3611 * config/arm/cmse_nonsecure_call.S: New.
3612 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3613
3614 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3615 Thomas Preud'homme <thomas.preudhomme@arm.com>
3616
3617 * config/arm/t-arm (HAVE_CMSE): New.
3618 * config/arm/cmse.c: New.
3619
3620 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3621
3622 PR gcc/74748
3623 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3624 use generic linker version information on Blackfin.
3625
3626 PR gcc/74748
3627 * libgcc/mkmap-symver.awk: add support for skip_underscore
3628
3629 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3630 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3631
3632 PR target/67710
3633 * config/t-darwin: Default builds to 10.5 codegen.
3634
3635 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3636
3637 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3638 (_FP_NANSIGN_H): Likewise.
3639 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3640 (softfp_truncations): Add tfhf.
3641 (softfp_extras): Add required conversion functions.
3642
3643 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3644 Matthew Wahab <matthew.wahab@arm.com>
3645
3646 * config/arm/fp16.c (binary64): New.
3647 (__gnu_d2h_internal): New.
3648 (__gnu_d2h_ieee): New.
3649 (__gnu_d2h_alternative): New.
3650
3651 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3652 Matthew Wahab <matthew.wahab@arm.com>
3653
3654 * config/arm/fp16.c (struct format): New.
3655 (binary32): New.
3656 (__gnu_float2h_internal): New. Body moved from
3657 __gnu_f2h_internal and generalize.
3658 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3659 Call it with binary32.
3660
3661 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3662
3663 * soft-fp/extendhftf2.c: Update from glibc.
3664 * soft-fp/fixhfti.c: Likewise.
3665 * soft-fp/fixunshfti.c: Likewise.
3666 * soft-fp/floattihf.c: Likewise.
3667 * soft-fp/floatuntihf.c: Likewise.
3668 * soft-fp/half.h: Likewise.
3669 * soft-fp/trunctfhf2.c: Likewise.
3670
3671 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3672
3673 PR libgcc/77813
3674 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3675 __TMC_END__ behind a passthrough asm.
3676
3677 2016-11-18 Walter Lee <walt@tilera.com>
3678
3679 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3680
3681 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3682
3683 * config/i386/cpuinfo.c (processor_features): Add
3684 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3685
3686 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3687
3688 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3689 (__ARC_NORM__): Use instead ARC_OPTFPE.
3690 * config/arc/fp-hack.h: Likewise.
3691 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3692 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3693
3694 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3695
3696 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3697 * config/nvptx/mgomp.c: New file.
3698 * config/nvptx/t-nvptx: Add mgomp.c
3699
3700 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3701
3702 PR libgcc/68468
3703 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3704
3705 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3706
3707 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3708 of checking for cpus.
3709 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3710 (__modsi3, __clzsi2): Likewise.
3711
3712 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3713
3714 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3715 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3716 * config/i386/t-cpuinfo-static: New.
3717
3718 2016-11-03 Martin Liska <mliska@suse.cz>
3719
3720 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3721 (__gcov_time_profiler_atomic): Likewise.
3722
3723 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3724
3725 PR libgcc/78067
3726 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3727 count_leading_zeros.
3728
3729 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3730
3731 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3732 * libgcc2.c (__divmoddi4): New function.
3733 * libgcc2.h (__divmoddi4): Declare.
3734 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3735 and __PFX_divmodti4.
3736
3737 2016-10-24 Florian Weimer <fweimer@redhat.com>
3738
3739 PR libgcc/78064
3740 * unwind-c.c: Include auto-target.h.
3741
3742 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3743
3744 * config/pa/pa64-hpux-lib.h: New file.
3745 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3746 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3747 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3748 hppa*64*-*-hpux11*.
3749
3750 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3751
3752 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3753 definition.
3754 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3755 definition.
3756 * config/xtensa/t-windowed (LIB2ADDEH): Use
3757 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3758 or xtensa/t-linux.
3759
3760 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3761
3762 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3763 __ieee754_sqrt): New functions.
3764 (__divdf3): Add implementation with new FPU instructions under
3765 #if XCHAL_HAVE_DFP_DIV.
3766 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3767 __ieee754_sqrtf): New functions.
3768 (__divsf3): Add implementation with new FPU instructions under
3769 #if XCHAL_HAVE_FP_DIV.
3770 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3771 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3772
3773 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3774
3775 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3776 equivalent.
3777 * config/tilepro/atomic.c: Likewise and stop casting model to
3778 enum memmodel.
3779
3780 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3781
3782 PR target/77586
3783 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3784 soft-fp.
3785
3786 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3787
3788 * config.host: Add support for aarch64-*-freebsd*.
3789
3790 2016-10-05 Andreas Schwab <schwab@suse.de>
3791
3792 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3793 (.section .init_array): Don't call __do_jv_register_classes.
3794 (.section .init): Likewise.
3795
3796 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3797
3798 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3799 (__JCR_LIST__): Remove.
3800 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3801 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3802 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3803 * config/ia64/crtend.S (__JCR_END__): Remove.
3804 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3805 conditionals.
3806 (__JCR_LIST__, __JCR_END__): Remove.
3807 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3808 (__do_global_ctors_1): Likewise.
3809
3810 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3811
3812 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3813 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3814
3815 2016-09-27 Martin Liska <mliska@suse.cz>
3816
3817 PR gcov-profile/7970
3818 PR gcov-profile/16855
3819 PR gcov-profile/44779
3820 * libgcov-driver.c (__gcov_init): Do not register a atexit
3821 handler.
3822 (__gcov_exit): Rename from gcov_exit.
3823 * libgcov.h (__gcov_exit): Declare.
3824
3825 2016-09-27 Martin Liska <mliska@suse.cz>
3826
3827 PR bootstrap/77749
3828 * Makefile.in: Remove _gcov_merge_delta.
3829 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3830 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3831 * libgcov.h: Remove declaration of __gcov_merge_delta.
3832
3833 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3834
3835 * configure.ac: Do not create links, only substitute the filenames.
3836 * configure: Regenerate.
3837 * Makefile.in: Assign the substitution results to variables.
3838 (LIBGCC_LINKS): Define.
3839 (enable-execute-stack.c): New rule.
3840 (unwind.h): Likewise.
3841 (md-unwind-support.h): Likewise.
3842 (sfp-machine.h): Likewise.
3843 (gthr-default.h): Likewise.
3844 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3845 unwind.h as prerequisite of install-unwind_h-forbuild.
3846
3847 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3848
3849 PR libgcc/71744
3850 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3851 is not the primary registry and atomics are available.
3852 (any_objects_registered): New variable.
3853 (__register_frame_info_bases, __register_frame_info_table_bases):
3854 Atomically store 1 to any_objects_registered after registering first
3855 unwind info.
3856 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3857
3858 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3859
3860 PR target/63250
3861 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3862 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3863 (HFtype): Likewise.
3864 (HCtype): Likewise.
3865 (__divhc3): Likewise.
3866 (__mulhc3): Likewise.
3867 * libgcc2.c: Support _mulhc3 and _divhc3.
3868
3869 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3870
3871 PR libgcc/77519
3872 * libgcc2.c (NOTRUNC): Invert settings.
3873
3874 2016-09-06 Martin Liska <mliska@suse.cz>
3875
3876 PR gcov-profile/77378
3877 PR gcov-profile/77466
3878 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3879 conditionaly enable/disable *_atomic functions.
3880
3881 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3882
3883 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3884 where not already enabled.
3885
3886 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3887
3888 * config/mips/linux-unwind.h: Use sys/syscall.h.
3889
3890 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3891
3892 PR libgcc/77265
3893 * soft-fp/adddf3.c: Update from glibc.
3894 * soft-fp/addsf3.c: Likewise.
3895 * soft-fp/addtf3.c: Likewise.
3896 * soft-fp/divdf3.c: Likewise.
3897 * soft-fp/divsf3.c: Likewise.
3898 * soft-fp/divtf3.c: Likewise.
3899 * soft-fp/double.h: Likewise.
3900 * soft-fp/eqdf2.c: Likewise.
3901 * soft-fp/eqsf2.c: Likewise.
3902 * soft-fp/eqtf2.c: Likewise.
3903 * soft-fp/extenddftf2.c: Likewise.
3904 * soft-fp/extended.h: Likewise.
3905 * soft-fp/extendsfdf2.c: Likewise.
3906 * soft-fp/extendsftf2.c: Likewise.
3907 * soft-fp/extendxftf2.c: Likewise.
3908 * soft-fp/fixdfdi.c: Likewise.
3909 * soft-fp/fixdfsi.c: Likewise.
3910 * soft-fp/fixdfti.c: Likewise.
3911 * soft-fp/fixsfdi.c: Likewise.
3912 * soft-fp/fixsfsi.c: Likewise.
3913 * soft-fp/fixsfti.c: Likewise.
3914 * soft-fp/fixtfdi.c: Likewise.
3915 * soft-fp/fixtfsi.c: Likewise.
3916 * soft-fp/fixtfti.c: Likewise.
3917 * soft-fp/fixunsdfdi.c: Likewise.
3918 * soft-fp/fixunsdfsi.c: Likewise.
3919 * soft-fp/fixunsdfti.c: Likewise.
3920 * soft-fp/fixunssfdi.c: Likewise.
3921 * soft-fp/fixunssfsi.c: Likewise.
3922 * soft-fp/fixunssfti.c: Likewise.
3923 * soft-fp/fixunstfdi.c: Likewise.
3924 * soft-fp/fixunstfsi.c: Likewise.
3925 * soft-fp/fixunstfti.c: Likewise.
3926 * soft-fp/floatdidf.c: Likewise.
3927 * soft-fp/floatdisf.c: Likewise.
3928 * soft-fp/floatditf.c: Likewise.
3929 * soft-fp/floatsidf.c: Likewise.
3930 * soft-fp/floatsisf.c: Likewise.
3931 * soft-fp/floatsitf.c: Likewise.
3932 * soft-fp/floattidf.c: Likewise.
3933 * soft-fp/floattisf.c: Likewise.
3934 * soft-fp/floattitf.c: Likewise.
3935 * soft-fp/floatundidf.c: Likewise.
3936 * soft-fp/floatundisf.c: Likewise.
3937 * soft-fp/floatunditf.c: Likewise.
3938 * soft-fp/floatunsidf.c: Likewise.
3939 * soft-fp/floatunsisf.c: Likewise.
3940 * soft-fp/floatunsitf.c: Likewise.
3941 * soft-fp/floatuntidf.c: Likewise.
3942 * soft-fp/floatuntisf.c: Likewise.
3943 * soft-fp/floatuntitf.c: Likewise.
3944 * soft-fp/gedf2.c: Likewise.
3945 * soft-fp/gesf2.c: Likewise.
3946 * soft-fp/getf2.c: Likewise.
3947 * soft-fp/ledf2.c: Likewise.
3948 * soft-fp/lesf2.c: Likewise.
3949 * soft-fp/letf2.c: Likewise.
3950 * soft-fp/muldf3.c: Likewise.
3951 * soft-fp/mulsf3.c: Likewise.
3952 * soft-fp/multf3.c: Likewise.
3953 * soft-fp/negdf2.c: Likewise.
3954 * soft-fp/negsf2.c: Likewise.
3955 * soft-fp/negtf2.c: Likewise.
3956 * soft-fp/op-1.h: Likewise.
3957 * soft-fp/op-2.h: Likewise.
3958 * soft-fp/op-4.h: Likewise.
3959 * soft-fp/op-8.h: Likewise.
3960 * soft-fp/op-common.h: Likewise.
3961 * soft-fp/quad.h: Likewise.
3962 * soft-fp/single.h: Likewise.
3963 * soft-fp/soft-fp.h: Likewise.
3964 * soft-fp/subdf3.c: Likewise.
3965 * soft-fp/subsf3.c: Likewise.
3966 * soft-fp/subtf3.c: Likewise.
3967 * soft-fp/truncdfsf2.c: Likewise.
3968 * soft-fp/trunctfdf2.c: Likewise.
3969 * soft-fp/trunctfsf2.c: Likewise.
3970 * soft-fp/trunctfxf2.c: Likewise.
3971 * soft-fp/unorddf2.c: Likewise.
3972 * soft-fp/unordsf2.c: Likewise.
3973 * soft-fp/unordtf2.c: Likewise.
3974
3975 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3976
3977 PR gcov-profile/67097
3978 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3979
3980 2016-08-10 Martin Liska <mliska@suse.cz>
3981
3982 PR gcov-profile/58306
3983 * Makefile.in: New functions (modules) are added.
3984 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3985 function.
3986 (__gcov_pow2_profiler_atomic): New function.
3987 (__gcov_one_value_profiler_body): New argument is instroduced.
3988 (__gcov_one_value_profiler): Call with the new argument.
3989 (__gcov_one_value_profiler_atomic): Likewise.
3990 (__gcov_indirect_call_profiler_v2): Likewise.
3991 (__gcov_time_profiler_atomic): New function.
3992 (__gcov_average_profiler_atomic): Likewise.
3993 (__gcov_ior_profiler_atomic): Likewise.
3994 * libgcov.h: Declare the aforementioned functions.
3995
3996 2016-08-09 Martin Liska <mliska@suse.cz>
3997
3998 * libgcov-util.c: Fix typo and GNU coding style.
3999
4000 2016-08-09 Martin Liska <mliska@suse.cz>
4001
4002 * Makefile.in: Remove __gcov_indirect_call_profiler.
4003 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4004 function.
4005 * libgcov.h: And the declaration of the function.
4006
4007 2016-08-09 Martin Liska <mliska@suse.cz>
4008
4009 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4010 power of two.
4011
4012 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4013
4014 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4015 * config/rs6000/_mulkc3.c: Likewise.
4016
4017 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
4018
4019 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4020 zero_reg as previous call to __umulhisi3 already cleared it.
4021
4022 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4023
4024 PR target/59833
4025 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4026
4027 2016-07-19 Nick Clifton <nickc@redhat.com>
4028
4029 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4030 Add crtinit.o and crtfini.o to extra_parts.
4031
4032 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4033
4034 * config/rs6000/_divkc3.c: New.
4035 * config/rs6000/_mulkc3.c: New.
4036 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4037 and _divkc3.
4038 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4039 fp128_ppc_funcs.
4040
4041 2016-07-11 Hale Wang <hale.wang@arm.com>
4042 Andre Vieira <andre.simoesdiasvieira@arm.com>
4043
4044 * config/arm/lib1funcs.S: Add new wrapper.
4045
4046 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4047
4048 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4049
4050 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4051
4052 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4053 and ARMv5t* rather than for a fixed list of architectures.
4054
4055 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4056
4057 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4058 implementation suitable for.
4059 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4060 for all Thumb-1 only targets.
4061 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4062 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4063 __ARM_ARCH_6M__.
4064 (EQUIV): Likewise.
4065 (ARM_FUNC_ALIAS): Likewise.
4066 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4067 version.
4068 (modsi3): Likewise.
4069 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4070 (clzdi2): Likewise.
4071 (ctzsi2): Likewise.
4072 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4073 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4074 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4075 __ARM_ARCH_6M__ and add comment to indicate the connection between
4076 this condition and the one in gcc/config/arm/elf.h.
4077 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4078 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4079 * config/arm/t-softfp: Likewise.
4080
4081 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4082
4083 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4084 CTOR_LISTS_DEFINED_EXTERNALLY.
4085
4086 2016-06-28 Walter Lee <walt@tilera.com>
4087
4088 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4089 asm/unistd.h.
4090 (SPR_CMPEXCH_VALUE): Define for tilegx.
4091 (__NR_FAST_cmpxchg): Define for tilepro.
4092 (__NR_FAST_atomic_update): Define for tilepro.
4093 (__NR_FAST_cmpxchg64): Define for tilepro.
4094
4095 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4096
4097 * config.host: Add suport for arm*-*-phoenix* targets.
4098
4099 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4100
4101 * config.host: Remove support for mep-*.
4102 * config/mep/lib1funcs.S: Remove.
4103 * config/mep/lib2funcs.c: Remove.
4104 * config/mep/t-mep: Remove.
4105 * config/mep/tramp.c: Remove.
4106
4107 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4108
4109 * config.host: Remove support for avr-rtems.
4110 * config/avr/t-rtems: Remove.
4111
4112 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4113
4114 * config.host: Remove m32r-rtems support.
4115
4116 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4117
4118 * config.host: Remove h8300-rtems support.
4119
4120 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4121
4122 * config.host: Remove support for knetbsd.
4123
4124 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4125
4126 * config.host: Remove support for openbsd 2 and 3.
4127
4128 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4129
4130 * config.host: Remove interix support.
4131 * config/i386/t-interix: Remove.
4132
4133 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
4134
4135 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4136 least-significant bit in function pointer for fixup.
4137
4138 2016-06-05 Aaron Conole <aconole@redhat.com>
4139 Nathan Sidwell <nathan@acm.org>
4140
4141 PR libgcc/71400
4142 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4143 (get_gcov_error_file): Check __gcov_error_file before trying to
4144 initialize it.
4145 (gcov_error): Always use get_gcov_error_file.
4146
4147 2016-06-02 Aaron Conole <aconole@redhat.com>
4148
4149 * libgcov-driver-system.c (__gcov_error_file): New.
4150 (get_gcov_error_file): New.
4151 (gcov_error): Use and set __gcov_error_file.
4152 (gcov_error_exit): New.
4153 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4154
4155 2016-05-26 Nathan Sidwell <nathan@acm.org>
4156
4157 * config/nvptx/free.asm: Delete.
4158 * config/nvptx/malloc.asm: Delete.
4159 * config/nvptx/realloc.c: Delete.
4160 * t-nvptx: Update.
4161
4162 2016-05-25 Nathan Sidwell <nathan@acm.org>
4163
4164 * config/nvptx/crt0.s: Delete.
4165 * config/nvptx/crt0.c: New.
4166 * t-nvptx: Update.
4167
4168 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4169
4170 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4171 dw2/seh configuration.
4172 [x86_64-*-mingw*]: Likewise.
4173
4174 2016-05-10 Joel Sherrill <joel@rtems.org>
4175
4176 PR libgcc/70720
4177 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4178 targets so the same extra_parts are built. Also have tmake_file add
4179 on to its value rather than override.
4180
4181 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4182
4183 * config.host: Remove SH5 support.
4184 * configure: Likewise.
4185
4186 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4187
4188 * config/sh/crt1.S: Remove SH5 support.
4189 * config/sh/crti.S: Likewise.
4190 * config/sh/crtn.S: Likewise.
4191 * config/sh/lib1funcs-4-300.S: Likewise.
4192 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4193 * config/sh/lib1funcs.S: Likewise.
4194 * config/sh/linux-unwind.h: Likewise.
4195 * config/sh/t-sh64: Delete.
4196
4197 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4198
4199 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4200
4201 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4202 Joern Rennecke <joern.rennecke@embecosm.com>
4203
4204 * config/arc/crttls.S: New file.
4205 * config/arc/t-arc: New rule.
4206 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4207
4208 2016-04-25 Nick Clifton <nickc@redhat.com>
4209
4210 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4211 (__mspabi_cmpd): Likewise.
4212 * config/msp430/floathidf.c (__floathidf): Likewise.
4213 * config/msp430/floathisf.c (__floathisf): Likewise
4214 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4215 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4216 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4217 second parameter.
4218 (__ashrsi3): Likewise.
4219
4220 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4221
4222 * config/m68k/linux-atomic.c: Do not include unistd.h
4223
4224 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4225
4226 * config/arm/ieee754-df.S: Fix typos in comments.
4227
4228 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4229
4230 PR target/70381
4231 * configure.ac (powerpc*-*-linux*): Rework tests to build
4232 __float128 emulation routines to not depend on using #pragma GCC
4233 target to enable -mfloat128.
4234 * configure: Regnerate.
4235
4236 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4237
4238 PR target/67172
4239 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4240 __MINGW32__ is defined.
4241
4242 2016-03-28 James Bowman <james.bowman@ftdichip.com>
4243
4244 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4245
4246 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4247
4248 PR libgcc/70363
4249 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4250 built with an assembler that does not support ISA 3.0
4251 instructions, rename __extendkftf2_sw to __extendkftf2.
4252
4253 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4254
4255 PR target/38239
4256 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4257 call-clobbered registers.
4258 (internal_mcount): Remove __i386__ handling.
4259
4260 2016-02-26 Joel Sherrill <joel@rtems.org>
4261
4262 * config.host: Add x86_64-*-rtems*.
4263
4264 2016-02-26 Joel Sherrill <joel@rtems.org>
4265
4266 * libgcc/config.host: Add aarch64-*-rtems*.
4267
4268 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4269 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4270
4271 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4272 union of u64 and double.
4273 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4274 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4275 value.
4276 (FP_ROUNDMODE): Update the usage of _fpscr.
4277
4278 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4279
4280 PR driver/68463
4281 * Makefile.in (crtoffloadtable$(objext)): New rule.
4282 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4283 enable_offload_targets is not empty.
4284 * configure: Regenerate.
4285 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4286 crtoffloadtable.
4287
4288 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4289
4290 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4291 .literal_position before the function.
4292 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4293 Likewise.
4294
4295 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4296
4297 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4298 * config/s390/morestack.S: New file.
4299 * config/s390/t-stack-s390: New file.
4300 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4301
4302 2016-02-12 Walter Lee <walt@tilera.com>
4303
4304 * config.host (tilegx*-*-linux*): remove ti from
4305 softfp_int_modes for 32-bit configs.
4306
4307 2016-02-10 Ian Lance Taylor <iant@google.com>
4308
4309 PR go/68562
4310 * config/i386/morestack.S (__stack_split_initialize): Align
4311 stack.
4312
4313 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4314
4315 PR bootstrap/69611
4316 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4317 __FLOAT128__ to compile only for __float128 capable targets.
4318
4319 2016-01-25 Jakub Jelinek <jakub@redhat.com>
4320
4321 PR target/69444
4322 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4323 instead of ___NO_FPRS__.
4324
4325 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
4326 Steven Munroe <munroesj@linux.vnet.ibm.com>
4327 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4328
4329 * config/rs6000/float128-sed: New files to convert TF names to KF
4330 names for PowerPC IEEE 128-bit floating point support.
4331 * config/rs6000/float128-sed-hw: Likewise.
4332
4333 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4334 floating point hardware support.
4335
4336 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4337 128-bit floating point software emulation or use ISA 3.0 hardware
4338 support if it is available.
4339
4340 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4341 floating point.
4342
4343 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4344 floating point to IBM extended double.
4345
4346 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4347 double to IEEE 128-bit floating point.
4348
4349 * config/rs6000/t-float128: New Makefile fragments to enable
4350 building __float128 emulation support.
4351 * config/rs6000/t-float128-hw: Likewise.
4352
4353 * config/rs6000/sfp-exceptions.c: New file to provide exception
4354 support for IEEE 128-bit floating point.
4355
4356 * config/rs6000/floattikf.c: New files for converting between IEEE
4357 128-bit floating point and signed/unsigned 128-bit integers.
4358 * config/rs6000/fixunskfti.c: Likewise.
4359 * config/rs6000/fixkfti.c: Likewise.
4360 * config/rs6000/floatuntikf.c: Likewise.
4361
4362 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4363 when building on 64-bit systems, or when VSX is enabled.
4364 (_FP_W_TYPE): Likewise.
4365 (_FP_WS_TYPE): Likewise.
4366 (_FP_I_TYPE): Likewise.
4367 (TItype): Define on 64-bit systems.
4368 (UTItype): Likewise.
4369 (TI_BITS): Likewise.
4370 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4371 (_FP_MUL_MEAT_Q): Likewise.
4372 (_FP_DIV_MEAT_D): Likewise.
4373 (_FP_DIV_MEAT_Q): Likewise.
4374 (_FP_NANFRAC_D): Likewise.
4375 (_FP_NANFRAC_Q): Likewise.
4376 (ISA_BIT): Add exception support if we are being compiled on a
4377 machine with hardware floating point support to build the IEEE
4378 128-bit emulation functions.
4379 (FP_EX_INVALID): Likewise.
4380 (FP_EX_OVERFLOW): Likewise.
4381 (FP_EX_UNDERFLOW): Likewise.
4382 (FP_EX_DIVZERO): Likewise.
4383 (FP_EX_INEXACT): Likewise.
4384 (FP_EX_ALL): Likewise.
4385 (__sfp_handle_exceptions): Likewise.
4386 (FP_HANDLE_EXCEPTIONS): Likewise.
4387 (FP_RND_NEAREST): Likewise.
4388 (FP_RND_ZERO): Likewise.
4389 (FP_RND_PINF): Likewise.
4390 (FP_RND_MINF): Likewise.
4391 (FP_RND_MASK): Likewise.
4392 (_FP_DECL_EX): Likewise.
4393 (FP_INIT_ROUNDMODE): Likewise.
4394 (FP_ROUNDMODE): Likewise.
4395
4396 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4397 VSX code, enable IEEE 128-bit floating point. If the compiler can
4398 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4399 floating point hardware instructions and it supports declaring
4400 functions with the ifunc attribute, enable ifunc functions to
4401 switch between software and hardware support.
4402 * configure.ac (powerpc*-*-linux*): Likewise.
4403 * configure: Regenerate.
4404
4405 2016-01-15 Nick Clifton <nickc@redhat.com>
4406
4407 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4408 dependency as the source file to be compiled.
4409 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4410 (lib2hw_mul_f5.o): Likewise.
4411
4412 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4413
4414 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4415 * libgcc/config/rs6000/fixkfti.c: Likewise.
4416 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4417 * libgcc/config/rs6000/float128-hw.c: Likewise.
4418 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4419 * libgcc/config/rs6000/float128-sed: Likewise.
4420 * libgcc/config/rs6000/floattikf.c: Likewise.
4421 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4422 * libgcc/config/rs6000/quad-float128.h: Likewise.
4423 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4424 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4425 * libgcc/config/rs6000/t-float128: Likewise.
4426 * libgcc/config/rs6000/t-float128-hw: Likewise.
4427 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4428 * libgcc/config.host: Likewise.
4429 * libgcc/configure: Likewise.
4430 * libgcc/configure.ac: Likewise.
4431
4432 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4433 Steven Munroe <munroesj@linux.vnet.ibm.com>
4434 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4435
4436 * config/rs6000/sfp-exceptions.c: New file to provide exception
4437 support for IEEE 128-bit floating point.
4438
4439 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4440 floating point hardware support.
4441
4442 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4443 point conversions.
4444 * config/rs6000/fixunskfti.c: Likewise.
4445 * config/rs6000/fixkfti.c: Likewise.
4446 * config/rs6000/floatuntikf.c: Likewise.
4447 * config/rs6000/extendkftf2-sw.c: Likewise.
4448 * config/rs6000/trunctfkf2-sw.c: Likewise.
4449
4450 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4451 128-bit floating point software emulation or use ISA 3.0 hardware
4452 support if it is available.
4453
4454 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4455 floating point.
4456
4457 * config/rs6000/t-float128: New Makefile fragments to enable
4458 building __float128 emulation support.
4459 * config/rs6000/t-float128-hw: Likewise.
4460
4461 * config/rs6000/float128-sed: New file to convert TF names to KF
4462 names for PowerPC IEEE 128-bit floating point support.
4463
4464 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4465 when building on 64-bit systems, or when VSX is enabled.
4466 (_FP_W_TYPE): Likewise.
4467 (_FP_WS_TYPE): Likewise.
4468 (_FP_I_TYPE): Likewise.
4469 (TItype): Define on 64-bit systems.
4470 (UTItype): Likewise.
4471 (TI_BITS): Likewise.
4472 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4473 (_FP_MUL_MEAT_Q): Likewise.
4474 (_FP_DIV_MEAT_D): Likewise.
4475 (_FP_DIV_MEAT_Q): Likewise.
4476 (_FP_NANFRAC_D): Likewise.
4477 (_FP_NANFRAC_Q): Likewise.
4478 (ISA_BIT): Add exception support if we are being compiled on a
4479 machine with hardware floating point support to build the IEEE
4480 128-bit emulation functions.
4481 (FP_EX_INVALID): Likewise.
4482 (FP_EX_OVERFLOW): Likewise.
4483 (FP_EX_UNDERFLOW): Likewise.
4484 (FP_EX_DIVZERO): Likewise.
4485 (FP_EX_INEXACT): Likewise.
4486 (FP_EX_ALL): Likewise.
4487 (__sfp_handle_exceptions): Likewise.
4488 (FP_HANDLE_EXCEPTIONS): Likewise.
4489 (FP_RND_NEAREST): Likewise.
4490 (FP_RND_ZERO): Likewise.
4491 (FP_RND_PINF): Likewise.
4492 (FP_RND_MINF): Likewise.
4493 (FP_RND_MASK): Likewise.
4494 (_FP_DECL_EX): Likewise.
4495 (FP_INIT_ROUNDMODE): Likewise.
4496 (FP_ROUNDMODE): Likewise.
4497
4498 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4499 compiler can do __float128.
4500 * configure: Regenerate.
4501
4502 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4503 VSX code, enable IEEE 128-bit floating point.
4504
4505 2016-01-05 Olivier Hainque <hainque@adacore.com>
4506
4507 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4508 specificities.
4509
4510 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4511
4512 Update copyright years.
4513
4514 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4515
4516 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4517 soft-fp targets.
4518
4519 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4520
4521 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4522 instead of abort to avoid dependency on stdlib.h.
4523
4524 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
4525
4526 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4527 to initialize call to __dl_fixup once.
4528
4529 2015-12-04 Nick Clifton <nickc@redhat.com>
4530
4531 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4532 Allow for the second argument being negative.
4533 * config.host (extra_parts): Define for MSP430. Create separate
4534 libraries for each of the hardware multiply formats.
4535 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4536 that are needed.
4537 * config/msp430/lib2mul.c: Likewise.
4538 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4539 Add rules to build hardware multiply libraries.
4540 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4541 __mspabi_divul function.
4542 (__mspabi_divllu): New stub function.
4543
4544 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
4545
4546 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4547 fixup values if saved GOT address doesn't match runtime address.
4548 (fixup_branch_offset): Reorder list.
4549
4550 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4551
4552 * Makefile.in (VTV_CFLAGS): New variable.
4553 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4554 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4555 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4556 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4557 to extra_parts if $enable_vtable_verify = yes.
4558
4559 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4560
4561 PR target/68059
4562 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4563 (write): ...this and fix the return type.
4564
4565 2015-11-19 DJ Delorie <dj@redhat.com>
4566
4567 * config/msp430/lib2hw_mul.S: Fix alignment.
4568
4569 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4570
4571 * config/nvptx/reduction.c: New.
4572 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4573
4574 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4575
4576 * config/rs6000/on_exit.c: New file.
4577 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4578 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4579
4580 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4581
4582 * config/arc/dp-hack.h: Add support for ARCHS.
4583 * config/arc/ieee-754/divdf3.S: Likewise.
4584 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4585 * config/arc/ieee-754/muldf3.S: Likewise.
4586 * config/arc/ieee-754/mulsf3.S: Likewise
4587 * config/arc/lib1funcs.S: Likewise
4588 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4589 for ARCv2 cores.
4590 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4591 for ARCv2 cores.
4592 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4593 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4594 cores.
4595
4596 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4597
4598 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4599 value.
4600 * config/ia64/crtend.S: Likewise.
4601
4602 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4603
4604 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4605 __CHAR_BIT__ instead of BITS_PER_UNIT.
4606 * fixed-bit.h: Likewise.
4607 * fp-bit.h: Likewise.
4608 * libgcc2.c (__popcountSI2): Likewise.
4609 (__popcountDI2): Likewise.
4610 * libgcc2.h: Likewise.
4611 * libgcov.h: Likewise.
4612
4613 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4614
4615 * config/rs6000/atexit.c: New file.
4616 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4617 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4618 * config/rs6000/cxa_finalize.c
4619 (catomic_compare_and_exchange_bool_acq): Negate return value.
4620
4621 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4622
4623 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4624 (processor_subtypes): Add znver1.
4625 (get_amd_cpu): Detect znver1.
4626
4627 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4628
4629 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4630 Include crtfastmath.o.
4631
4632 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4633
4634 PR libgcc/66883
4635 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4636
4637 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4638
4639 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4640 * config/rl78/divmodsi.S: Update return register to r8.
4641 * config/rl78/divmodhi.S: Update return register to r8,r9.
4642 Branch to main_loop_done_himode to pop registers before return.
4643
4644 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4645
4646 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4647 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4648
4649 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4650
4651 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4652
4653 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4654
4655 * config.host (xtensa*-*-uclinux*): New configuration.
4656
4657 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4658
4659 * config/i386/cpuinfo.c (processor_features): Add
4660 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4661
4662 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4663
4664 * soft-fp/adddf3.c: Update from glibc.
4665 * soft-fp/addsf3.c: Likewise.
4666 * soft-fp/addtf3.c: Likewise.
4667 * soft-fp/divdf3.c: Likewise.
4668 * soft-fp/divsf3.c: Likewise.
4669 * soft-fp/divtf3.c: Likewise.
4670 * soft-fp/double.h: Likewise.
4671 * soft-fp/eqdf2.c: Likewise.
4672 * soft-fp/eqsf2.c: Likewise.
4673 * soft-fp/eqtf2.c: Likewise.
4674 * soft-fp/extenddftf2.c: Likewise.
4675 * soft-fp/extended.h: Likewise.
4676 * soft-fp/extendsfdf2.c: Likewise.
4677 * soft-fp/extendsftf2.c: Likewise.
4678 * soft-fp/extendxftf2.c: Likewise.
4679 * soft-fp/fixdfdi.c: Likewise.
4680 * soft-fp/fixdfsi.c: Likewise.
4681 * soft-fp/fixdfti.c: Likewise.
4682 * soft-fp/fixsfdi.c: Likewise.
4683 * soft-fp/fixsfsi.c: Likewise.
4684 * soft-fp/fixsfti.c: Likewise.
4685 * soft-fp/fixtfdi.c: Likewise.
4686 * soft-fp/fixtfsi.c: Likewise.
4687 * soft-fp/fixtfti.c: Likewise.
4688 * soft-fp/fixunsdfdi.c: Likewise.
4689 * soft-fp/fixunsdfsi.c: Likewise.
4690 * soft-fp/fixunsdfti.c: Likewise.
4691 * soft-fp/fixunssfdi.c: Likewise.
4692 * soft-fp/fixunssfsi.c: Likewise.
4693 * soft-fp/fixunssfti.c: Likewise.
4694 * soft-fp/fixunstfdi.c: Likewise.
4695 * soft-fp/fixunstfsi.c: Likewise.
4696 * soft-fp/fixunstfti.c: Likewise.
4697 * soft-fp/floatdidf.c: Likewise.
4698 * soft-fp/floatdisf.c: Likewise.
4699 * soft-fp/floatditf.c: Likewise.
4700 * soft-fp/floatsidf.c: Likewise.
4701 * soft-fp/floatsisf.c: Likewise.
4702 * soft-fp/floatsitf.c: Likewise.
4703 * soft-fp/floattidf.c: Likewise.
4704 * soft-fp/floattisf.c: Likewise.
4705 * soft-fp/floattitf.c: Likewise.
4706 * soft-fp/floatundidf.c: Likewise.
4707 * soft-fp/floatundisf.c: Likewise.
4708 * soft-fp/floatunditf.c: Likewise.
4709 * soft-fp/floatunsidf.c: Likewise.
4710 * soft-fp/floatunsisf.c: Likewise.
4711 * soft-fp/floatunsitf.c: Likewise.
4712 * soft-fp/floatuntidf.c: Likewise.
4713 * soft-fp/floatuntisf.c: Likewise.
4714 * soft-fp/floatuntitf.c: Likewise.
4715 * soft-fp/gedf2.c: Likewise.
4716 * soft-fp/gesf2.c: Likewise.
4717 * soft-fp/getf2.c: Likewise.
4718 * soft-fp/ledf2.c: Likewise.
4719 * soft-fp/lesf2.c: Likewise.
4720 * soft-fp/letf2.c: Likewise.
4721 * soft-fp/muldf3.c: Likewise.
4722 * soft-fp/mulsf3.c: Likewise.
4723 * soft-fp/multf3.c: Likewise.
4724 * soft-fp/negdf2.c: Likewise.
4725 * soft-fp/negsf2.c: Likewise.
4726 * soft-fp/negtf2.c: Likewise.
4727 * soft-fp/op-1.h: Likewise.
4728 * soft-fp/op-2.h: Likewise.
4729 * soft-fp/op-4.h: Likewise.
4730 * soft-fp/op-8.h: Likewise.
4731 * soft-fp/op-common.h: Likewise.
4732 * soft-fp/quad.h: Likewise.
4733 * soft-fp/single.h: Likewise.
4734 * soft-fp/soft-fp.h: Likewise.
4735 * soft-fp/subdf3.c: Likewise.
4736 * soft-fp/subsf3.c: Likewise.
4737 * soft-fp/subtf3.c: Likewise.
4738 * soft-fp/truncdfsf2.c: Likewise.
4739 * soft-fp/trunctfdf2.c: Likewise.
4740 * soft-fp/trunctfsf2.c: Likewise.
4741 * soft-fp/trunctfxf2.c: Likewise.
4742 * soft-fp/unorddf2.c: Likewise.
4743 * soft-fp/unordsf2.c: Likewise.
4744 * soft-fp/unordtf2.c: Likewise.
4745
4746 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4747
4748 PR libgcc/67624
4749 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4750
4751 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4752
4753 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4754 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4755 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4756 messages.
4757 (internal_mcount): Likewise.
4758 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4759 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4760
4761 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4762
4763 * configure.ac (libgcc_cv_solaris_crts): New test.
4764 * configure: Regenerate.
4765 * config.in: Regenerate.
4766 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4767 * config/gmon-sol2.c: Rename to ...
4768 * config/sol2/gmon.c: ... this.
4769 Include auto-target.h.
4770 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4771 * config/t-sol2: Rename to ...
4772 * config/sol2/t-sol2: ... this.
4773 (gmon.o): Reflect renaming.
4774 (crtp.o, crtpg.o): New rules.
4775 * config.host (*-*-solaris2*): Reflect renaming.
4776 Use system CRTs if present.
4777 Remove default CRT case.
4778
4779 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4780
4781 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4782 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4783 __kernel_cmpxchg2.
4784 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4785 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4786 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4787 (__sync_lock_test_and_set_##WIDTH): Likewise.
4788 (__sync_lock_release_##WIDTH): Likewise.
4789 (__sync_fetch_and_##OP##_4): Change result to match type of
4790 __kernel_cmpxchg.
4791 (__sync_##OP##_and_fetch_4): Likewise.
4792 (__sync_val_compare_and_swap_4): Likewise.
4793 (__sync_bool_compare_and_swap_4): likewise.
4794 (__sync_lock_test_and_set_4): Likewise.
4795 (__sync_lock_release_4): Likewise.
4796 (FETCH_AND_OP_2): Add long long variants.
4797 (OP_AND_FETCH_2): Likewise.
4798 (COMPARE_AND_SWAP_2 ): Likewise.
4799 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4800 (SYNC_LOCK_RELEASE_2): Likewise.
4801 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4802
4803 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4804
4805 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4806 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4807 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4808 (get_available_features): Habdle new features.
4809
4810 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4811
4812 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4813 memory layout. Deal correctly with BSS region larger than 32K.
4814 Handle a watchdog reset like a power-on reset. Clean up unused
4815 code.
4816
4817 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4818 David Edelsohn <dje.gcc@gmail.com>
4819
4820 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4821 * config/rs6000/crtdbase.S: New file.
4822 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4823
4824 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4825
4826 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4827 Add support for call0 ABI.
4828
4829 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4830
4831 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4832
4833 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4834
4835 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4836 (__GTHREAD_HAS_COND): Likewise.
4837 (__gthread_t): Likewise.
4838 (__gthread_cond_t): Likewise.
4839 (__gthread_time_t): Likewise.
4840 (__GTHREAD_MUTEX_INIT): Likewise.
4841 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4842 (__GTHREAD_COND_INIT): Likewise.
4843 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4844 (__GTHREAD_TIME_INIT): Likewise.
4845 (__gthread_create): Likewise.
4846 (__gthread_join): Likewise.
4847 (__gthread_detach): Likewise.
4848 (__gthread_equal): Likewise.
4849 (__gthread_self): Likewise.
4850 (__gthread_yield): Likewise.
4851 (__gthread_cond_broadcast): Likewise.
4852 (__gthread_cond_signal): Likewise.
4853 (__gthread_cond_wait): Likewise.
4854 (__gthread_cond_timedwait): Likewise.
4855 (__gthread_cond_wait_recursive): Likewise.
4856 (__gthread_cond_destroy): Likewise.
4857 (rtems_gxx_once): Delete.
4858 (rtems_gxx_key_create): Likewise.
4859 (rtems_gxx_key_delete): Likewise.
4860 (rtems_gxx_getspecific): Likewise.
4861 (rtems_gxx_setspecific): Likewise.
4862 (rtems_gxx_mutex_init): Likewise.
4863 (rtems_gxx_mutex_destroy): Likewise.
4864 (rtems_gxx_mutex_lock): Likewise.
4865 (rtems_gxx_mutex_trylock): Likewise.
4866 (rtems_gxx_mutex_unlock): Likewise.
4867 (rtems_gxx_recursive_mutex_init): Likewise.
4868 (rtems_gxx_recursive_mutex_lock): Likewise.
4869 (rtems_gxx_recursive_mutex_trylock): Likewise.
4870 (rtems_gxx_recursive_mutex_unlock): Likewise.
4871 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4872 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4873 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4874 (__gthread_once): Likewise.
4875 (__gthread_key_create): Likewise.
4876 (__gthread_key_delete): Likewise.
4877 (__gthread_getspecific): Likewise.
4878 (__gthread_setspecific): Likewise.
4879 (__gthread_key_t): Use <pthread.h> type.
4880 (__gthread_once_t): Likewise
4881 (__gthread_mutex_t): Use <sys/lock.h> type.
4882 (__gthread_recursive_mutex_t): Likewise
4883 (__gthread_mutex_lock): Use <sys/lock.h> function.
4884 (__gthread_mutex_trylock): Likewise.
4885 (__gthread_mutex_timedlock): Likewise.
4886 (__gthread_mutex_unlock): Likewise.
4887 (__gthread_mutex_destroy): Likewise.
4888 (__gthread_recursive_mutex_lock): Likewise.
4889 (__gthread_recursive_mutex_trylock): Likewise.
4890 (__gthread_recursive_mutex_timedlock): Likewise.
4891 (__gthread_recursive_mutex_unlock): Likewise.
4892 (__gthread_recursive_mutex_destroy): Likewise.
4893
4894 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4895
4896 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4897 context->sp instead of context->cfa.
4898
4899 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4900
4901 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4902 with unwind-dw2-fde-dip.
4903
4904 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4905
4906 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4907 CALL12 followed by series of ENTRY to spill windowed registers.
4908 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4909 instead of making linux spill syscall.
4910
4911 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4912
4913 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4914 (get_intel_cpu): Likewise.
4915
4916 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4917
4918 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4919 (get_intel_cpu): Add Knights Landing support.
4920
4921 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4922
4923 PR target/66954
4924 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4925 (get_available_features): Handle FEATURE_PCLMUL.
4926
4927 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4928
4929 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4930 Broadwell.
4931
4932 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4933
4934 PR target/66954
4935 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4936 (get_available_features): Handle FEATURE_AES.
4937
4938 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4939
4940 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4941 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4942
4943 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4944
4945 * offloadstuff.c: Constify host data.
4946
4947 2015-07-17 Jan Beulich <jbeulich@suse.com>
4948
4949 * config/t-softfp: Split up "else ifneq".
4950
4951 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4952 Cesar Philippidis <cesar@codesourcery.com>
4953 Chung-Lin Tang <cltang@codesourcery.com>
4954
4955 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4956 for __nios2_arch__ level.
4957
4958 2015-07-13 John Marino <gnugcc@marino.st>
4959
4960 * config/i386/t-dragonfly: New.
4961
4962 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4963
4964 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4965 better match light-weight syscall argument order.
4966 (__kernel_cmpxchg2): Likewise.
4967 Adjust callers.
4968
4969 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4970
4971 * config.host: Support i[34567]86-*-elfiamcu target.
4972 * config/t-softfp-sfdftf: New file.
4973 * config/i386/32/t-iamcu: Likewise.
4974 * configure: Regenerated.
4975
4976 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4977
4978 libgcc/config/arm/
4979 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4980
4981 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4982
4983 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4984
4985 2015-05-27 John Marino <gnugcc@marino.st>
4986
4987 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4988 md_unwind_header
4989 * config/i386/freebsd-unwind.h: New.
4990
4991 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4992
4993 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4994 i386/t-crtfm to tmake_file.
4995 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4996 (set_fast_math): Use set_fast_math_sse for SSE targets.
4997 * config/i386/t-crtfm: Remove.
4998
4999 2015-05-21 Alan Modra <amodra@gmail.com>
5000
5001 PR libgcc/66225
5002 * config/rs6000/morestack.S: Remove ".abiversion 1".
5003
5004 2015-05-20 Alan Modra <amodra@gmail.com>
5005
5006 * config/rs6000/morestack.S: New.
5007 * config/rs6000/t-stack-rs6000: New.
5008 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5009 to tmake_file.
5010 * generic-morestack.c: Don't build for powerpc 32-bit.
5011
5012 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5013
5014 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5015 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5016
5017 2015-05-16 James Bowman <james.bowman@ftdichip.com>
5018
5019 * config.host: FT32 target added.
5020 * config/ft32/*: New files for FT32 target.
5021
5022 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5023
5024 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5025 New macros.
5026 * config/arm/ieee754-df.S: Add CFI directives.
5027 * config/arm/ieee754-sf.S: Add CFI directives.
5028
5029 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5030
5031 * configure.ac: Include config/sjlj.m4.
5032 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5033 * config.in: Regenerate.
5034 * configure: Likewise.
5035 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5036
5037 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
5038
5039 * libgcov-util.c: Add space between string literal and macro name.
5040
5041 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5042 Chris Jones <chrisj@nvidia.com>
5043 Joshua Conner <jconner@nvidia.com>
5044
5045 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5046 (arm*-*-uclinux*): Likewise.
5047 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5048 * config/arm/crtfastmath.c: New file.
5049
5050 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5051
5052 * Makefile.in (real_host_noncanonical): New variable.
5053 (libsubdir): Use it.
5054 * configure.ac (real_host_noncanonical): Compute. Remove special
5055 case for intelmicemul.
5056 * configure: Regenerate.
5057
5058 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5059
5060 * config/frv/elf-lib.h: New file.
5061 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5062 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5063 to tm_file.
5064
5065 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5066
5067 * config/frv/frvbengin.c: Do not include defaults.h
5068 * config/frv/frvend.c: Ditto.
5069
5070 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5071
5072 * config.host: Add h8300-*-linux
5073 * config/h8300/t-linux: New file.
5074 * config/h8300/lib1funs.s: Change symbol prefix.
5075 * config/h8300/sfp-machine.h: 64bit double support.
5076
5077 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5078 Szabolcs Nagy <szabolcs.nagy@arm.com>
5079
5080 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5081 Linux if target provides dl_iterate_phdr.
5082
5083 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5084
5085 PR target/65612
5086 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5087 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5088 (__cpu_indicator_init@GCC_4.8.0): New.
5089 (__cpu_model@GCC_4.8.0): Likewise.
5090 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5091 -DUSE_ELF_SYMVER.
5092
5093 2015-04-16 Nick Clifton <nickc@redhat.com>
5094
5095 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5096 and __modhi3 functions.
5097 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5098 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5099
5100 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5101
5102 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5103 do-while loop as macro body to avoid warnings.
5104
5105 2015-04-10 Jakub Jelinek <jakub@redhat.com>
5106 Iain Sandoe <iain@codesourcery.com>
5107
5108 PR target/65351
5109 * configure: Regenerate.
5110
5111 2015-04-07 Jakub Jelinek <jakub@redhat.com>
5112 Iain Sandoe <iain@codesourcery.com>
5113
5114 PR target/65351
5115 * configure: Regenerate.
5116
5117 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5118
5119 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5120
5121 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
5122
5123 Implement call0 ABI for xtensa
5124 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5125 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5126 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5127 use ret in call0 ABI.
5128 * config/xtensa/t-windowed: New file.
5129 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5130 * libgcc/configure: Regenerated.
5131 * libgcc/configure.ac: Check if xtensa target is configured for
5132 windowed ABI and thus needs to use custom unwind code.
5133
5134 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
5135
5136 PR libgcc/64885
5137 * gthr-single.h: Use __unused__ attribute instead of unused.
5138 * config/gthr-vxworks.h: Likewise.
5139 * config/i386/gthr-win32.h: Likewise.
5140
5141 2015-02-27 Kai Tietz <ktietz@redhat.com>
5142
5143 PR target/65038
5144 * config.in: Regenerated.
5145 * configure: Likewise.
5146 * configure.ac (AC_HEADER_STDC): Added explicit.
5147 (AC_CHECK_HEADERS): Check for default headers plus
5148 for ftw.h header.
5149 * libgcov-util.c (gcov_read_profile_dir): Disable use
5150 of ftw-function, if header is not found.
5151 (ftw_read_file): Likewise.
5152
5153 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5154
5155 PR target/65181
5156 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5157 -Dinhibit_libc.
5158
5159 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5160
5161 * config/arm/bpabi.S (test_div_by_zero): Make label names
5162 consistent between thumb2 and arm mode cases. Separate the
5163 signed comparison on the high word of the numerator from the
5164 unsigned comparison on the low word.
5165 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5166 signed comparison.
5167
5168 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5169
5170 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5171 and <string.h>.
5172 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5173
5174 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5175
5176 PR gcov-profile/61889
5177 * libgcov-driver-system.c: undefine clashing macro for mkdir.
5178
5179 2015-02-02 Nick Clifton <nickc@redhat.com>
5180
5181 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5182 rounding up the fraction.
5183
5184 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
5185
5186 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5187 oldval and newval to const void *. Fix typo.
5188 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5189 (FETCH_AND_OP_WORD): Likewise.
5190 (OP_AND_FETCH_WORD): Likewise.
5191 (COMPARE_AND_SWAP_2): Likewise.
5192 (__sync_val_compare_and_swap_4): Likewise.
5193 (__sync_lock_test_and_set_4): Likewise.
5194 (SYNC_LOCK_RELEASE_2): Likewise.
5195 Remove support for long long atomic operations.
5196
5197 2015-01-27 Caroline Tice <cmtice@google.com>
5198
5199 Committing VTV Cywin/Ming patch for Patrick Wollgast
5200 * Makefile.in: Move rules to build vtv_*.o out of the check
5201 for CUSTOM_CRTSTUFF.
5202 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5203 i[34567]86-*-mingw*)
5204 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5205 enable_vtable_verify.
5206
5207 2015-01-27 Nick Clifton <nickc@redhat.com>
5208
5209 * config/rl78/cmpsi2.S: Use function start and end macros.
5210 (__gcc_bcmp): New function.
5211 * config/rl78/lshrsi3.S: Use function start and end macros.
5212 * config/rl78/mulsi3.S: Add support for G10.
5213 (__mulqi3): New function for G10.
5214 * config/rl78/signbit.S: Use function start and end macros.
5215 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5216 fpmath-sf.S.
5217 (LIB2FUNCS_EXCLUDE): Define.
5218 (LIB2FUNCS_ST): Define.
5219 * config/rl78/trampoline.S: Use function start and end macros.
5220 * config/rl78/vregs.h (START_FUNC): New macro.
5221 (START_ANOTHER_FUNC): New macro.
5222 (END_FUNC): New macro.
5223 (END_ANOTHER_FUNC): New macro.
5224 * config/rl78/bit-count.S: New file. Contains assembler
5225 implementations of the bit counting functions: ___clzhi2,
5226 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5227 __paritysi2, __popcounthi2 and __popcountsi2.
5228 * config/rl78/fpbit-sf.S: New file. Contains assembler
5229 implementationas of the math functions: __negsf2, __cmpsf2,
5230 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5231 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5232 * config/rl78/fpmath-sf.S: New file. Contains assembler
5233 implementations of the math functions: __subsf3, __addsf3,
5234 __mulsf3 and __divsf3
5235
5236 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5237
5238 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5239 Add i386/elf-lib.h to tm_file.
5240 * config/i386/elf-lib.h: Fix comment.
5241 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5242 && __sun__ && __svr4__]: Remove workaround.
5243
5244 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5245
5246 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5247 FEATURE_BMI2.
5248 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5249
5250 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5251
5252 * config/i386/cpuinfo.c (processor_subtypes): Add
5253 INTEL_COREI7_BROADWELL.
5254 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5255 model numbers.
5256
5257 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
5258
5259 * config/i386/elf-lib.h: New file.
5260 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5261 Wrap definition in #ifdef __i386__.
5262 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5263 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5264 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5265 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5266 to tm_file.
5267
5268 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5269
5270 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5271 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5272
5273 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5274
5275 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5276 Update rt_sigframe format and address for current Nios II
5277 Linux conventions.
5278
5279 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5280
5281 * config.host (arm*-*-freebsd*): Add new configuration for
5282 arm*-*-freebsd*.
5283 * config/arm/freebsd-atomic.c: New file.
5284 * config/arm/t-freebsd: Likewise.
5285 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5286 'PC-relative indirect' OS's.
5287
5288 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5289
5290 * config.host: Add Visium support.
5291 * config/visium: New directory.
5292
5293 2015-01-05 Jakub Jelinek <jakub@redhat.com>
5294
5295 Update copyright years.
5296
5297 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5298
5299 * config.host: Support mipsisa32r6 and mipsisa64r6.
5300 * config/mips/mips16.S: Do not build for R6.
5301
5302 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5303
5304 * config/sh/crt.h: New.
5305 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5306 symbols.
5307 * config/sh/crt1.S: Likewise.
5308
5309 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
5310
5311 PR libgcc/63832
5312 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5313 func_ptr *dtor_list temporary variable to avoid "array subscript
5314 is above array bounds" warnings.
5315
5316 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
5317
5318 * Makefile.in (with_aix_soname): Define.
5319 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5320 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5321 * configure: Recreate.
5322
5323 2014-12-05 Olivier Hainque <hainque@adacore.com>
5324
5325 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5326 now provided by defaults.h.
5327
5328 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5329
5330 PR target/55351
5331 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5332 whether it's defined.
5333
5334 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5335
5336 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5337 * config/i386/cpuinfo.c (get_available_features): Detect it.
5338
5339 2014-11-27 Tony Wang <tony.wang@arm.com>
5340
5341 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5342 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5343 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5344
5345 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5346
5347 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5348
5349 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
5350
5351 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5352 instead.
5353
5354 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5355 John David Anglin <danglin@gcc.gnu.org>
5356
5357 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5358 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5359 (OP_AND_FETCH_2): Likewise.
5360 (COMPARE_AND_SWAP_2): Likewise.
5361 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5362 (SYNC_LOCK_RELEASE_2): Likewise.
5363 (SUBWORD_SYNC_OP): Remove.
5364 (SUBWORD_VAL_CAS): Likewise.
5365 (SUBWORD_BOOL_CAS): Likewise.
5366 (FETCH_AND_OP_WORD): Update.
5367 Consistently use signed types.
5368
5369 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5370 Thomas Schwinge <thomas@codesourcery.com>
5371 Ilya Verbin <ilya.verbin@intel.com>
5372 Andrey Turetskiy <andrey.turetskiy@intel.com>
5373
5374 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5375 (crtoffloadend$(objext)): Likewise.
5376 * configure: Regenerate.
5377 * configure.ac (accel_dir_suffix): Compute new variable.
5378 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5379 if enable_offload_targets is not empty.
5380 * offloadstuff.c: New file.
5381
5382 2014-11-13 Nick Clifton <nickc@redhat.com>
5383
5384 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5385 Use START_FUNC and END_FUNC macros to enable linker garbage
5386 collection.
5387 * config/rl78/divmodqi.S: Likewise.
5388 * config/rl78/divmodsi.S: Likewise.
5389 * config/rl78/mulsi3.S: Likewise.
5390 * config/rl78/lib2div.c: Remove G10 functions.
5391 * config/rl78/lib2muls.c: Likewise.
5392 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5393 * config/rl78/vregs.h (START_FUNC): New macro.
5394 (END_FUNC): New macro.
5395
5396 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5397
5398 * config/mips/mips16.S: Set .module when supported. Update O32
5399 FP64 calling convention and use for FPXX when possible. Add FPXX
5400 calling convention fallback case.
5401
5402 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5403
5404 * config.host: Handle nvptx-*-*.
5405 * shared-object.mk (as-flags-$o): Define.
5406 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5407 -xassembler-with-cpp.
5408 * static-object.mk: Identical changes.
5409 * config/nvptx/t-nvptx: New file.
5410 * config/nvptx/crt0.s: New file.
5411 * config/nvptx/free.asm: New file.
5412 * config/nvptx/malloc.asm: New file.
5413 * config/nvptx/realloc.c: New file.
5414
5415 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5416
5417 * Makefile.in (libgcc.map.in): New target.
5418 (libgcc.map): Use libgcc.map.in.
5419 * config/t-softfp (softfp_compat): New variable to be set by
5420 users.
5421 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5422 variables.
5423 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5424 directory.
5425 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5426 that use compat symbols and disable all code unless [SHARED].
5427 * config/t-softfp-compat: New file.
5428 * find-symver.awk: New file.
5429 * configure.ac (--with-glibc-version): New configure option.
5430 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5431 * configure: Regenerate.
5432 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5433 soft-float and e500.
5434
5435 2014-10-29 Joseph Myers <joseph@codesourcery.com>
5436
5437 * config/t-hardfp (hardfp_exclusions): Document new variable for
5438 user to define.
5439 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5440 * config/t-softfp (softfp_extras): Document new variable for user
5441 to define.
5442 (softfp_func_list): Add functions from $(softfp_extras).
5443 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5444 * config.host (powerpc*-*-linux*): For e500v1, use
5445 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5446 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5447 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5448
5449 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
5450
5451 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5452 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5453 memory read accesses are ok.
5454
5455 2014-10-25 Joseph Myers <joseph@codesourcery.com>
5456
5457 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5458 * configure: Regenerate.
5459 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5460 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5461 of soft-fp for 32-bit classic hard float. Do not use
5462 t-softfp-excl for soft float.
5463
5464 2014-10-22 Joseph Myers <joseph@codesourcery.com>
5465
5466 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5467 configurations.
5468 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5469 Remove variables.
5470
5471 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
5472
5473 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5474 introduced with 2014-10-21 trunk r216525.
5475
5476 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
5477 Vidya Praveen <vidya.praveen@atmel.com>
5478 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5479 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5480 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
5481
5482 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5483 order.
5484
5485 Updated library functions for AVRTINY arch.
5486 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5487 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5488 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5489 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5490 wsubi/wadi macors.
5491 (__mulsi3_helper): Update stack, preserve callee saved regs and
5492 argument from stack. Restore callee save registers.
5493 (__mulpsi3): Likewise.
5494 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5495 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5496 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5497 AVRTINY.
5498 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5499 (__do_copy_data): Added new definition for AVRTINY.
5500 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5501 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5502 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5503 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5504 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5505 macors.
5506 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5507 AVRTINY.
5508
5509 Fix broken long multiplication on tiny arch.
5510
5511 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5512
5513 * soft-fp/double.h: Update from glibc.
5514 * soft-fp/eqdf2.c: Likewise.
5515 * soft-fp/eqsf2.c: Likewise.
5516 * soft-fp/eqtf2.c: Likewise.
5517 * soft-fp/extenddftf2.c: Likewise.
5518 * soft-fp/extended.h: Likewise.
5519 * soft-fp/extendsfdf2.c: Likewise.
5520 * soft-fp/extendsftf2.c: Likewise.
5521 * soft-fp/extendxftf2.c: Likewise.
5522 * soft-fp/gedf2.c: Likewise.
5523 * soft-fp/gesf2.c: Likewise.
5524 * soft-fp/getf2.c: Likewise.
5525 * soft-fp/ledf2.c: Likewise.
5526 * soft-fp/lesf2.c: Likewise.
5527 * soft-fp/letf2.c: Likewise.
5528 * soft-fp/op-1.h: Likewise.
5529 * soft-fp/op-2.h: Likewise.
5530 * soft-fp/op-4.h: Likewise.
5531 * soft-fp/op-8.h: Likewise.
5532 * soft-fp/op-common.h: Likewise.
5533 * soft-fp/quad.h: Likewise.
5534 * soft-fp/single.h: Likewise.
5535 * soft-fp/soft-fp.h: Likewise.
5536 * soft-fp/unorddf2.c: Likewise.
5537 * soft-fp/unordsf2.c: Likewise.
5538 * soft-fp/unordtf2.c: Likewise.
5539 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5540 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5541 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5542 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5543 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5544 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5545 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5546 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5547 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5548 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5549
5550 2014-10-08 Rong Xu <xur@google.com>
5551
5552 * libgcov-util.c (read_gcda_file): Fix format.
5553 (find_match_gcov_info): Ditto.
5554 (calculate_2_entries): New.
5555 (compute_one_gcov): Ditto.
5556 (gcov_info_count_all_cold): Ditto.
5557 (gcov_info_count_all_zero): Ditto.
5558 (extract_file_basename): Ditto.
5559 (get_file_basename): Ditto.
5560 (set_flag): Ditto.
5561 (matched_gcov_info): Ditto.
5562 (calculate_overlap): Ditto.
5563 (gcov_profile_overlap): Ditto.
5564 * libgcov-driver.c (compute_summary): Make
5565 it avavilable for external calls.
5566
5567 2014-10-06 Rong Xu <xur@google.com>
5568
5569 * Makefile.in: Ditto.
5570 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5571 (gcov_sort_icall_topn_counter): Ditto.
5572 (gcov_sort_topn_counter_arrays): Ditto.
5573 (dump_one_gcov): Sort indirect_call topn counters.
5574 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5575 function.
5576 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5577 utility function.
5578 (__gcov_indirect_call_topn_profiler): New profiler function.
5579 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5580 * libgcov.h: New decls.
5581
5582 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5583
5584 * config.host: Remove support for score-*.
5585
5586 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5587
5588 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5589 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5590 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5591 __LIBGCC_XF_MANT_DIG__.
5592 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5593 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5594 __LIBGCC_TF_MANT_DIG__.
5595 * libgcc2.c (NOTRUNC): Define in terms of
5596 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5597 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5598
5599 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5600
5601 PR target/63312
5602 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5603 New macros.
5604
5605 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5606
5607 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5608 override USE_PT_GNU_EH_FRAME.
5609 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5610 check USE_EH_FRAME_REGISTRY_ALWAYS against
5611 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5612 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5613 variable for substituted force_explicit_eh_registry.
5614 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5615 * configure.ac (explicit-exception-frame-registration):
5616 New AC_ARG_ENABLE.
5617 * configure: Regenerate.
5618
5619 2014-09-19 Olivier Hainque <hainque@adacore.com>
5620
5621 * config.host (powerpc-wrs-vxworksmils): New configuration,
5622 same as vxworksae.
5623
5624 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5625
5626 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5627
5628 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5629
5630 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5631 bits not set bits as indicating trapping exceptions.
5632
5633 2014-09-17 Nathan sidwell <nathan@acm.org>
5634
5635 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5636 (LIBGCOV_DRIVER): ... here.
5637 * libgcov-driver.c (gcov_master): New.
5638 (gcov_exit): Remove from master chain.
5639 (__gcov_init): Add to master chain if version compatible. Don't
5640 clear the version.
5641 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5642 (gcov_reset_int): Clear master chain, if compatible.
5643 (gcov_dump_int): New internal interface. Dump master chain, if
5644 compatible.
5645 (gcov_dump): Alias for gcov_dump_int.
5646 * libgcov.h (struct gcov_root): Add next and prev fields.
5647 (struct gcov_master): New struct.
5648 (__gcov_master): New.
5649 (gcov_dump_int): Declare.
5650
5651 2014-09-17 Olivier Hainque <hainque@adacore.com>
5652
5653 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5654 and crtbegin.o + crtend.o to extra_parts.
5655
5656 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5657
5658 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5659 __LIBGCC_HAS_SF_MODE__.
5660 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5661 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5662 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5663 * config/libbid/bid_gcc_intrinsics.h
5664 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5665 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5666 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5667 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5668 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5669 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5670
5671 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5672
5673 PR target/63223
5674 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5675 and R24 as needed. Make work for all devices and .text locations.
5676 (__do_global_ctors, __do_global_dtors): Use word addresses.
5677 (__tablejump__, __tablejump_elpm__): Remove functions.
5678 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5679 Add _tablejump2.
5680 (XICALL, XIJMP): New macros.
5681
5682 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5683 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5684
5685 * config.host (aarch64*): Include crtfastmath.o and
5686 t-crtfm.
5687 * config/aarch64/crtfastmath.c: New file.
5688
5689 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5690
5691 * config.host: Remove picochip support.
5692 * config/picochip/adddi3.S: Remove.
5693 * config/picochip/ashlsi3.S: Remove.
5694 * config/picochip/ashlsi3.c: Remove.
5695 * config/picochip/ashrsi3.S: Remove.
5696 * config/picochip/ashrsi3.c: Remove.
5697 * config/picochip/clzsi2.S: Remove.
5698 * config/picochip/cmpsi2.S: Remove.
5699 * config/picochip/divmod15.S: Remove.
5700 * config/picochip/divmodhi4.S: Remove.
5701 * config/picochip/divmodsi4.S: Remove.
5702 * config/picochip/lib1funcs.S: Remove.
5703 * config/picochip/longjmp.S: Remove.
5704 * config/picochip/lshrsi3.S: Remove.
5705 * config/picochip/lshrsi3.c: Remove.
5706 * config/picochip/parityhi2.S: Remove.
5707 * config/picochip/popcounthi2.S: Remove.
5708 * config/picochip/setjmp.S: Remove.
5709 * config/picochip/subdi3.S: Remove.
5710 * config/picochip/t-picochip: Remove.
5711 * config/picochip/ucmpsi2.S: Remove.
5712 * config/picochip/udivmodhi4.S: Remove.
5713 * config/picochip/udivmodsi4.S: Remove.
5714
5715 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5716
5717 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5718 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5719 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5720 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5721 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5722 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5723 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5724 defined and LIBGCC2_HAS_DF_MODE is defined.
5725 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5726 defined and LIBGCC2_HAS_XF_MODE is defined.
5727 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5728 defined and LIBGCC2_HAS_TF_MODE is defined.
5729
5730 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5731
5732 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5733 and ROUND_TOWARDS_ZERO conditionals.
5734
5735 2014-09-07 Nathan sidwell <nathan@acm.org>
5736
5737 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5738 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5739
5740 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5741
5742 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5743 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5744 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5745 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5746 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5747 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5748 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5749 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5750 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5751 (DWARF_FRAME_REGISTERS): Change all uses to
5752 __LIBGCC_DWARF_FRAME_REGISTERS__.
5753 (EH_RETURN_STACKADJ_RTX): Change all uses to
5754 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5755 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5756 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5757 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5758 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5759 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5760 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5761 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5762 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5763 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5764 __LIBGCC_STACK_POINTER_REGNUM__.
5765 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5766 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5767 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5768 to __LIBGCC_STACK_POINTER_REGNUM__.
5769 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5770 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5771 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5772 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5773 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5774 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5775 (STACK_POINTER_REGNUM): Change all uses to
5776 __LIBGCC_STACK_POINTER_REGNUM__.
5777 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5778 use to __LIBGCC_STACK_POINTER_REGNUM__.
5779 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5780 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5781 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5782 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5783 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5784 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5785 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5786 to __LIBGCC_STACK_POINTER_REGNUM__.
5787 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5788 Remove conditional definition.
5789 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5790 __LIBGCC_TEXT_SECTION_ASM_OP__.
5791 (EH_FRAME_SECTION_NAME): Change all uses to
5792 __LIBGCC_EH_FRAME_SECTION_NAME__.
5793 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5794 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5795 (CTORS_SECTION_ASM_OP): Change all uses to
5796 __LIBGCC_CTORS_SECTION_ASM_OP__.
5797 (DTORS_SECTION_ASM_OP): Change all uses to
5798 __LIBGCC_DTORS_SECTION_ASM_OP__.
5799 (JCR_SECTION_NAME): Change all uses to
5800 __LIBGCC_JCR_SECTION_NAME__.
5801 (INIT_SECTION_ASM_OP): Change all uses to
5802 __LIBGCC_INIT_SECTION_ASM_OP__.
5803 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5804 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5805 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5806 __LIBGCC_STACK_GROWS_DOWNWARD__.
5807 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5808 __LIBGCC_INIT_SECTION_ASM_OP__.
5809 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5810 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5811 (EH_FRAME_SECTION_NAME): Change all uses to
5812 __LIBGCC_EH_FRAME_SECTION_NAME__.
5813 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5814 definitions. Change all uses to
5815 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5816 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5817 __LIBGCC_STACK_GROWS_DOWNWARD__.
5818 (DWARF_FRAME_REGISTERS): Change all uses to
5819 __LIBGCC_DWARF_FRAME_REGISTERS__.
5820 (EH_RETURN_STACKADJ_RTX): Change all uses to
5821 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5822 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5823 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5824 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5825 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5826 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5827
5828 2014-09-02 Nathan sidwell <nathan@acm.org>
5829
5830 * libgcov-interface.c (STRONG_ALIAS): New.
5831 (__gcov_flush): Call __gcov_reset_int.
5832 (__gcov_reset): Strong alias for ...
5833 (__gcov_reset_ing): ... this renamed hidden version.
5834 * libgcov.h (__gcov_reset_int): New declaration.
5835
5836 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5837
5838 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5839 call from here...
5840 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5841 (__dso_handle): Define on Cygwin.
5842 * config/i386/t-cygming (crtbeginS.o): New rule.
5843 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5844
5845 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5846 declaration syntax.
5847
5848 2014-08-13 Steve Ellcey <sellcey@mips.com>
5849
5850 * crtstuff.c: Undef caddr_t.
5851
5852 2014-08-12 Steve Ellcey <sellcey@mips.com>
5853
5854 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5855
5856 2014-08-07 Nathan Sidwell <nathan@acm.org>
5857
5858 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5859 (LIBGCOV_DRIVER): ... to here.
5860 * libgcov.h (gcov_do_dump): New #define.
5861 (struct gcov_root): New.
5862 (__gcov_root): New declaration.
5863 (__gcov_dump_one): Declare.
5864 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5865 run_accounted): Delete.
5866 (gcov_compute_histogram): Add LIST argument, adjust.
5867 (compute_summary): Adjust gcov_compute_histogram call.
5868 (gcov_do_dump): Not hidden, static in libgcov.
5869 (gcov_clear): Move to interface.c.
5870 (__gcov_dump_one): New, broken out of ...
5871 (gcov_exit): ... here. Make static.
5872 (__gcov_root): New.
5873 (__gcov_init): Adjust.
5874 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5875 declarations.
5876 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5877 (gcov_clear): Moved from driver.c. Add LIST argument.
5878 (__gcov_reset): Adjust for changed interfaces.
5879 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5880
5881 2014-08-04 Rohit <rohitarulraj@freescale.com>
5882
5883 PR target/60102
5884 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5885 based on change in SPE high register numbers and 3 HTM registers.
5886
5887 2014-08-01 Nathan Sidwell <nathan@acm.org>
5888
5889 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5890 LIBGCOV_INTERFACE): Reformat.
5891 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5892 IN_GCOV_TOOL.
5893 * libgcov-interface.c: Reformat some comments.
5894 (__gcov_flush_mx): Add declaration. Tidy up definition.
5895
5896 2014-07-31 Alan Modra <amodra@gmail.com>
5897 Peter Bergner <bergner@vnet.ibm.com>
5898
5899 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5900 (pack_ldouble): New function.
5901 (__gcc_qadd): Use it.
5902 (__gcc_qmul): Likewise.
5903 (__gcc_qdiv): Likewise.
5904 (__gcc_qneg): Likewise.
5905 (__gcc_stoq): Likewise.
5906 (__gcc_dtoq): Likewise.
5907
5908 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5909
5910 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5911 (__tpf_eh_return): Add original return address as second parameter.
5912 Handle cases where unwinder routines were called directly, instead
5913 of from within the C++ library.
5914
5915 2014-07-29 Nathan Sidwell <nathan@acm.org>
5916
5917 * libgcov.h: Move renaming of entry points to lib gcov specific
5918 portion.
5919 (gcov_do_dump): New rename.
5920 (gcov_rewrite): Remove inline, make HIDDEN.
5921 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5922 (gcov_exit_compute_summary): Rename to ...
5923 (compute_summary): ... here. Add LIST argument.
5924 (gcov_exit_merge_gcda): Rename to ...
5925 (merge_one_data): ... here.
5926 (gcov_exit_write_gcda): Rename to ...
5927 (write_one_data): ... here.
5928 (gcov_exit_merge_summary): Rename to ...
5929 (merge_summary): Add RUN_COUNTED argument.
5930 (gcov_exit_dump_gcov): Rename to ...
5931 (dump_one_gcov): Add RUN_COUNTED argument.
5932 (gcov_do_dump): New function, broken out of ...
5933 (gcov_exit): ... here. Call it.
5934
5935 2014-07-27 Anthony Green <green@moxielogic.com>
5936
5937 * config.host: Add moxiebox configuration suppport.
5938
5939 2014-07-27 Nathan Sidwell <nathan@acm.org>
5940
5941 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5942 (struct gcov_filename): ... here. Include buffer and max length
5943 fields.
5944 (gcov_max_filename): Remove.
5945 (gi_filename): Remove.
5946 (gcov_exit_compute_summary): Compute max filename here.
5947 (gcov_exit_merge_gcda): Add filename parm, adjust.
5948 (gcov_exit_merge_summary): Likewise.
5949 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5950 (gcov_exit): Likewise.
5951 (__gcov_init): Don't calculate max length here.
5952 * libgcov_util.c (max_filename_len): Remove.
5953 (read_gcda_file): Don't calculate max length here.
5954 (gcov_read_profile_dir): Don't propagate here.
5955 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5956 struct gcov_filename changes.
5957 (gcov_exit_open_gcda_file): Likewise.
5958
5959 2014-07-25 Nathan Sidwell <nathan@acm.org>
5960
5961 * libgcov-driver.c (set_gcov_dump_complete,
5962 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5963 functions polluting user's namespace.
5964 (gcov_exit): Set variable directly.
5965 (gcov_clear): Reset variable directly.
5966 * libgcov-interface.c (get_gcov_dymp_complete,
5967 reset_gov_dump_complete): Remove declarations.
5968 (__gcov_reset, __gcov_dump): Don't call them.
5969
5970 2014-07-24 DJ Delorie <dj@redhat.com>
5971
5972 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5973 (__gcc_deregister_frame): Move logic to detect deregister function
5974 to ...
5975 (__gcc_register_frame): here, so it's consistent with the register
5976 logic.
5977
5978 2014-07-23 Nathan Sidwell <nathan@acm.org>
5979
5980 * libgcov-driver.c (set_gcov_list): Remove.
5981 (gcov_list): Make non-static in GCOV_TOOL.
5982 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5983
5984 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5985
5986 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5987 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5988 Don't use SYNC_LOCK_RELEASE for int type.
5989
5990 2014-07-14 Richard Biener <rguenther@suse.de>
5991
5992 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5993
5994 2014-07-11 Rong Xu <xur@google.com>
5995
5996 * libgcov-util.c (gcov_max_filename): Fix declartion.
5997
5998 2014-07-10 Rong Xu <xur@google.com>
5999
6000 Add gcov-tool: an offline gcda profile processing tool
6001 Support.
6002 * libgcov-driver.c (gcov_max_filename): Make available
6003 to gcov-tool.
6004 * libgcov-merge.c (__gcov_merge_add): Replace
6005 gcov_read_counter() with a Macro.
6006 (__gcov_merge_ior): Ditto.
6007 (__gcov_merge_time_profile): Ditto.
6008 (__gcov_merge_single): Ditto.
6009 (__gcov_merge_delta): Ditto.
6010 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6011 in the utility functions.
6012 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6013 gcov_list object link lists.
6014 (tag_function): Ditto.
6015 (tag_blocks): Ditto.
6016 (tag_arcs): Ditto.
6017 (tag_lines): Ditto.
6018 (tag_counters): Ditto.
6019 (tag_summary): Ditto.
6020 (read_gcda_finalize): Ditto.
6021 (read_gcda_file): Ditto.
6022 (ftw_read_file): Ditto.
6023 (read_profile_dir_init): Ditto.
6024 (gcov_read_profile_dir): Ditto.
6025 (gcov_read_counter_mem): Ditto.
6026 (gcov_get_merge_weight): Ditto.
6027 (merge_wrapper): A wrapper function that calls merging handler.
6028 (gcov_merge): Merge two gcov_info objects with weights.
6029 (find_match_gcov_info): Find the matched gcov_info in the list.
6030 (gcov_profile_merge): Merge two gcov_info object lists.
6031 (__gcov_add_counter_op): Process edge profile counter values.
6032 (__gcov_ior_counter_op): Process IOR profile counter values.
6033 (__gcov_delta_counter_op): Process delta profile counter values.
6034 (__gcov_single_counter_op): Process single profile counter values.
6035 (fp_scale): Callback function for float-point scaling.
6036 (int_scale): Callback function for integer fraction scaling.
6037 (gcov_profile_scale): Scaling profile counters.
6038 (gcov_profile_normalize): Normalize profile counters.
6039 * libgcov.h: Add headers and functions for gcov-tool use.
6040 (gcov_get_counter): New.
6041 (gcov_get_counter_target): Ditto.
6042 (struct gcov_info): Make the functions field mutable in gcov-tool
6043 compilation.
6044
6045 2014-06-23 Kai Tietz <ktietz@redhat.com>
6046
6047 PR libgcc/61585
6048 * unwind-seh.c (_Unwind_GetGR): Check for proper
6049 index range.
6050 (_Unwind_SetGR): Likewise.
6051
6052 2014-05-22 Nick Clifton <nickc@redhat.com>
6053
6054 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6055 -mhwmult=none.
6056
6057 2014-05-22 Teresa Johnson <tejohnson@google.com>
6058
6059 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6060 include.
6061
6062 2014-05-20 John Marino <gnugcc@marino.st>
6063
6064 * config.host (*-*-dragonfly*): New target.
6065 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6066 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6067 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6068 * config/i386/dragonfly-unwind.h: New.
6069
6070 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6071
6072 PR libgcc/60166
6073 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6074 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6075
6076 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6077
6078 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6079 implementation.
6080
6081 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
6082
6083 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6084
6085 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6086
6087 PR libgcc/61097
6088 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6089 if --enable-shared.
6090
6091 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6092
6093 Work around for current cygwin32 build problems.
6094 * config/i386/cygming-crtbegin.c (__register_frame_info,
6095 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6096 functions only for 64-bit systems.
6097
6098 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6099
6100 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6101 (sigill_caught, sigill_hdlr): Remove.
6102
6103 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6104
6105 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6106 check.
6107 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6108 Solaris 9 single-threaded support.
6109 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6110 Solaris 9 single-threaded support. Add call_user_handler code
6111 sequences.
6112 (sparc_is_sighandler): Likewise.
6113
6114 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6115
6116 * config.host: Append t-floattodi to tmake_file depending on
6117 host_address.
6118
6119 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6120
6121 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6122
6123 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
6124
6125 PR libgcc/60472
6126 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6127 variable to avoid "array subscript is above array bounds" warnings.
6128 Use __builtin_expect when checking *jcr_list for NULL.
6129
6130 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6131
6132 PR libgcc/59339
6133 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6134 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6135 vtv_*.o to extra_parts if enable_vtable_verify.
6136
6137 2014-03-06 Nick Clifton <nickc@redhat.com>
6138
6139 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6140 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6141
6142 2014-02-28 Joey Ye <joey.ye@arm.com>
6143
6144 PR libgcc/60166
6145 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6146 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6147 Set to zero.
6148
6149 2014-02-24 Walter Lee <walt@tilera.com>
6150
6151 * config.host: Support "tilegx*" and "tilepro*" triplets.
6152 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6153 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6154
6155 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6156 Chung-Lin Tang <cltang@codesourcery.com>
6157
6158 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6159 * config/nios2/crti.S: Remove .file directive.
6160 * config/nios2/crtn.S: Likewise.
6161
6162 2014-02-18 Kai Tietz <ktietz@redhat.com>
6163 Jonathan Schleifer <js@webkeks.org>
6164
6165 PR objc/56870
6166 * unwind-seh.c (_GCC_specific_handler): Pass proper
6167 value to unwind-handler.
6168
6169 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6170
6171 * soft-fp/adddf3.c: Update from glibc.
6172 * soft-fp/addsf3.c: Likewise.
6173 * soft-fp/addtf3.c: Likewise.
6174 * soft-fp/divdf3.c: Likewise.
6175 * soft-fp/divsf3.c: Likewise.
6176 * soft-fp/divtf3.c: Likewise.
6177 * soft-fp/double.h: Likewise.
6178 * soft-fp/eqdf2.c: Likewise.
6179 * soft-fp/eqsf2.c: Likewise.
6180 * soft-fp/eqtf2.c: Likewise.
6181 * soft-fp/extenddftf2.c: Likewise.
6182 * soft-fp/extended.h: Likewise.
6183 * soft-fp/extendsfdf2.c: Likewise.
6184 * soft-fp/extendsftf2.c: Likewise.
6185 * soft-fp/extendxftf2.c: Likewise.
6186 * soft-fp/fixdfdi.c: Likewise.
6187 * soft-fp/fixdfsi.c: Likewise.
6188 * soft-fp/fixdfti.c: Likewise.
6189 * soft-fp/fixsfdi.c: Likewise.
6190 * soft-fp/fixsfsi.c: Likewise.
6191 * soft-fp/fixsfti.c: Likewise.
6192 * soft-fp/fixtfdi.c: Likewise.
6193 * soft-fp/fixtfsi.c: Likewise.
6194 * soft-fp/fixtfti.c: Likewise.
6195 * soft-fp/fixunsdfdi.c: Likewise.
6196 * soft-fp/fixunsdfsi.c: Likewise.
6197 * soft-fp/fixunsdfti.c: Likewise.
6198 * soft-fp/fixunssfdi.c: Likewise.
6199 * soft-fp/fixunssfsi.c: Likewise.
6200 * soft-fp/fixunssfti.c: Likewise.
6201 * soft-fp/fixunstfdi.c: Likewise.
6202 * soft-fp/fixunstfsi.c: Likewise.
6203 * soft-fp/fixunstfti.c: Likewise.
6204 * soft-fp/floatdidf.c: Likewise.
6205 * soft-fp/floatdisf.c: Likewise.
6206 * soft-fp/floatditf.c: Likewise.
6207 * soft-fp/floatsidf.c: Likewise.
6208 * soft-fp/floatsisf.c: Likewise.
6209 * soft-fp/floatsitf.c: Likewise.
6210 * soft-fp/floattidf.c: Likewise.
6211 * soft-fp/floattisf.c: Likewise.
6212 * soft-fp/floattitf.c: Likewise.
6213 * soft-fp/floatundidf.c: Likewise.
6214 * soft-fp/floatundisf.c: Likewise.
6215 * soft-fp/floatunditf.c: Likewise.
6216 * soft-fp/floatunsidf.c: Likewise.
6217 * soft-fp/floatunsisf.c: Likewise.
6218 * soft-fp/floatunsitf.c: Likewise.
6219 * soft-fp/floatuntidf.c: Likewise.
6220 * soft-fp/floatuntisf.c: Likewise.
6221 * soft-fp/floatuntitf.c: Likewise.
6222 * soft-fp/gedf2.c: Likewise.
6223 * soft-fp/gesf2.c: Likewise.
6224 * soft-fp/getf2.c: Likewise.
6225 * soft-fp/ledf2.c: Likewise.
6226 * soft-fp/lesf2.c: Likewise.
6227 * soft-fp/letf2.c: Likewise.
6228 * soft-fp/muldf3.c: Likewise.
6229 * soft-fp/mulsf3.c: Likewise.
6230 * soft-fp/multf3.c: Likewise.
6231 * soft-fp/negdf2.c: Likewise.
6232 * soft-fp/negsf2.c: Likewise.
6233 * soft-fp/negtf2.c: Likewise.
6234 * soft-fp/op-1.h: Likewise.
6235 * soft-fp/op-2.h: Likewise.
6236 * soft-fp/op-4.h: Likewise.
6237 * soft-fp/op-8.h: Likewise.
6238 * soft-fp/op-common.h: Likewise.
6239 * soft-fp/quad.h: Likewise.
6240 * soft-fp/single.h: Likewise.
6241 * soft-fp/soft-fp.h: Likewise.
6242 * soft-fp/subdf3.c: Likewise.
6243 * soft-fp/subsf3.c: Likewise.
6244 * soft-fp/subtf3.c: Likewise.
6245 * soft-fp/truncdfsf2.c: Likewise.
6246 * soft-fp/trunctfdf2.c: Likewise.
6247 * soft-fp/trunctfsf2.c: Likewise.
6248 * soft-fp/trunctfxf2.c: Likewise.
6249 * soft-fp/unorddf2.c: Likewise.
6250 * soft-fp/unordsf2.c: Likewise.
6251 * soft-fp/unordtf2.c: Likewise.
6252 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6253 macro.
6254 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6255 Likewise.
6256 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6257 Likewise.
6258 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6259 Likewise.
6260 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6261 Likewise.
6262 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6263 Likewise.
6264 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6265 Likewise.
6266 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6267 Likewise.
6268 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6269 Likewise.
6270 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6271 Likewise.
6272 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6273 Likewise.
6274 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6275 Likewise.
6276 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6277 Likewise.
6278 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6279 Likewise.
6280 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6281 Likewise.
6282 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6283 Likewise.
6284
6285 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6286
6287 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6288 cannot be represented.
6289 * config/s390/32/_fixsfdi.c: Likewise.
6290 * config/s390/32/_fixtfdi.c: Likewise.
6291 * config/s390/32/_fixunsdfdi.c: Likewise.
6292 * config/s390/32/_fixunssfdi.c: Likewise.
6293 * config/s390/32/_fixunstfdi.c: Likewise.
6294
6295 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6296
6297 * configure.ac (libgcc_cv_mips_hard_float): New.
6298 * configure: Regenerate.
6299 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6300 t-softfp-sfdf for hard-float targets.
6301 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6302 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6303 (softfp_truncations, softfp_exclude_libgcc2): New.
6304 * config/t-hardfp: New file.
6305 * config/t-hardfp-sfdf: Likewise.
6306 * config/hardfp.c: Likewise.
6307
6308 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6309
6310 * config.host: Include t-floattodi also for s390x.
6311 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6312 * config/s390/32/_fixsfdi.c: Likewise.
6313 * config/s390/32/_fixtfdi.c: Likewise.
6314 * config/s390/32/_fixunsdfdi.c: Likewise.
6315 * config/s390/32/_fixunssfdi.c: Likewise.
6316 * config/s390/32/_fixunstfdi.c: Likewise.
6317
6318 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6319
6320 PR target/59788
6321 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6322 (install-libgcc-unwind-map-forbuild): New target.
6323 (all): Depend on install-libgcc-unwind-map-forbuild.
6324 (install-libgcc-unwind-map): New target.
6325 (install): Depend on install-libgcc-unwind-map.
6326
6327 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6328
6329 * config/nios2/crti.S (_init): Initialize GOT pointer from
6330 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6331
6332 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6333
6334 * configure.ac: Check __mips64 when setting host_address.
6335 * configure: Regenerate.
6336 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6337 mips/t-mips64 and t-softfp.
6338 (mips*-*-linux*): Don't add mips/t-tpbit.
6339 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6340 (DPBIT, DPBIT_CFLAGS): Delete.
6341 * config/mips/sfp-machine.h: New file.
6342 * config/mips/t-mips64: Likewise.
6343 * config/mips/t-softfp-tf: Likewise.
6344 * config/mips/t-tpbit: Delete.
6345
6346 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6347
6348 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6349 as long long.
6350
6351 2014-01-25 Walter Lee <walt@tilera.com>
6352
6353 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6354 config.h or system.h.
6355 (bool) Define.
6356
6357 2014-01-25 Walter Lee <walt@tilera.com>
6358
6359 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6360 (post_atomic_barrier): Ditto.
6361 (__fetch_and_do): New macro.
6362 (__atomic_fetch_and_do): Use __fetch_and_do.
6363 (__sync_fetch_and_do): New macro.
6364 (__sync_fetch_and_add_4): New function.
6365 (__sync_fetch_and_sub_4): New function.
6366 (__sync_fetch_and_or_4): New function.
6367 (__sync_fetch_and_and_4): New function.
6368 (__sync_fetch_and_xor_4): New function.
6369 (__sync_fetch_and_nand_4): New function.
6370 (__sync_fetch_and_add_8): New function.
6371 (__sync_fetch_and_sub_8): New function.
6372 (__sync_fetch_and_or_8): New function.
6373 (__sync_fetch_and_and_8): New function.
6374 (__sync_fetch_and_xor_8): New function.
6375 (__sync_fetch_and_nand_8): New function.
6376 (__do_and_fetch): New macro.
6377 (__atomic_do_and_fetch): Use __do_and_fetch.
6378 (__sync_do_and_fetch): New macro.
6379 (__sync_add_and_fetch_4): New function.
6380 (__sync_sub_and_fetch_4): New function.
6381 (__sync_or_and_fetch_4): New function.
6382 (__sync_and_and_fetch_4): New function.
6383 (__sync_xor_and_fetch_4): New function.
6384 (__sync_nand_and_fetch_4): New function.
6385 (__sync_add_and_fetch_8): New function.
6386 (__sync_sub_and_fetch_8): New function.
6387 (__sync_or_and_fetch_8): New function.
6388 (__sync_and_and_fetch_8): New function.
6389 (__sync_xor_and_fetch_8): New function.
6390 (__sync_nand_and_fetch_8): New function.
6391 (__sync_exchange_methods): New macro.
6392 (__sync_val_compare_and_swap_4): New function.
6393 (__sync_bool_compare_and_swap_4): New function.
6394 (__sync_lock_test_and_test_4): New function.
6395 (__sync_val_compare_and_swap_8): New function.
6396 (__sync_bool_compare_and_swap_8): New function.
6397 (__sync_lock_test_and_test_8): New function.
6398 (__subword_cmpxchg_body): New macro.
6399 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6400 (__atomic_compare_exchange_2): Ditto.
6401 (__sync_subword_cmpxchg): New macro.
6402 (__sync_val_compare_and_swap_1): New function.
6403 (__sync_bool_compare_and_swap_1): New function.
6404 (__sync_val_compare_and_swap_2): New function.
6405 (__sync_bool_compare_and_swap_2): New function.
6406 (__atomic_subword): Rename to ...
6407 (__subword): ... New name.
6408 (__atomic_subword_fetch): Use __subword.
6409 (__sync_subword_fetch): New macro.
6410 (__sync_fetch_and_add_1): New function.
6411 (__sync_fetch_and_sub_1): New function.
6412 (__sync_fetch_and_or_1): New function.
6413 (__sync_fetch_and_and_1): New function.
6414 (__sync_fetch_and_xor_1): New function.
6415 (__sync_fetch_and_nand_1): New function.
6416 (__sync_fetch_and_add_2): New function.
6417 (__sync_fetch_and_sub_2): New function.
6418 (__sync_fetch_and_or_2): New function.
6419 (__sync_fetch_and_and_2): New function.
6420 (__sync_fetch_and_xor_2): New function.
6421 (__sync_fetch_and_nand_2): New function.
6422 (__sync_add_and_fetch_1): New function.
6423 (__sync_sub_and_fetch_1): New function.
6424 (__sync_or_and_fetch_1): New function.
6425 (__sync_and_and_fetch_1): New function.
6426 (__sync_xor_and_fetch_1): New function.
6427 (__sync_nand_and_fetch_1): New function.
6428 (__sync_add_and_fetch_2): New function.
6429 (__sync_sub_and_fetch_2): New function.
6430 (__sync_or_and_fetch_2): New function.
6431 (__sync_and_and_fetch_2): New function.
6432 (__sync_xor_and_fetch_2): New function.
6433 (__sync_nand_and_fetch_2): New function.
6434 (__atomic_subword_lock): Use __subword.
6435 (__sync_subword_lock): New macro.
6436 (__sync_lock_test_and_set_1): New function.
6437 (__sync_lock_test_and_set_2): New function.
6438
6439 2014-01-25 Walter Lee <walt@tilera.com>
6440
6441 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6442 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6443 (__atomic_subword): Ditto.
6444
6445 2014-01-25 Walter Lee <walt@tilera.com>
6446
6447 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6448 a prefix op argument.
6449 (__atomic_nand_fetch_4): Add prefix op.
6450 (__atomic_nand_fetch_8): Ditto.
6451
6452 2014-01-21 Baruch Siach <barch@tkos.co.il>
6453
6454 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6455
6456 2014-01-09 Rong Xu <xur@google.com>
6457
6458 * libgcov-driver.c (this_prg): make it local to save
6459 bss space.
6460 (gcov_exit_compute_summary): Ditto.
6461 (gcov_exit_merge_gcda): Ditto.
6462 (gcov_exit_merge_summary): Ditto.
6463 (gcov_exit_dump_gcov): Ditto.
6464
6465 2014-01-08 Rong Xu <xur@google.com>
6466
6467 * libgcov-driver.c: Use libgcov.h.
6468 (buffer_fn_data): Use xmalloc instead of malloc.
6469 (gcov_exit_merge_gcda): Ditto.
6470 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6471 * libgcov.h: New common header files for libgcov-*.h.
6472 * libgcov-interface.c: Use libgcov.h
6473 * libgcov-merge.c: Ditto.
6474 * libgcov-profiler.c: Ditto.
6475 * Makefile.in: Add dependence to libgcov.h
6476
6477 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6478
6479 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6480 case of small numerator and finite nonzero result.
6481
6482 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6483
6484 Update copyright years
6485
6486 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6487
6488 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6489 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6490 config/arc/dp-hack.h, config/arc/fp-hack.h,
6491 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6492 config/arc/ieee-754/arc600-dsp/divdf3.S,
6493 config/arc/ieee-754/arc600-dsp/divsf3.S,
6494 config/arc/ieee-754/arc600-dsp/muldf3.S,
6495 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6496 config/arc/ieee-754/arc600-mul64/divdf3.S,
6497 config/arc/ieee-754/arc600-mul64/divsf3.S,
6498 config/arc/ieee-754/arc600-mul64/muldf3.S,
6499 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6500 config/arc/ieee-754/arc600/divsf3.S,
6501 config/arc/ieee-754/arc600/mulsf3.S,
6502 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6503 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6504 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6505 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6506 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6507 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6508 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6509 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6510 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6511 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6512 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6513 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6514 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6515 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6516 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6517 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6518 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6519 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6520 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6521 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6522 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6523 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6524 vtv_start_preinit.c: Use the standard form for the copyright notice.
6525
6526 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6527 Chung-Lin Tang <cltang@codesourcery.com>
6528 Based on patches from Altera Corporation
6529
6530 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6531 * config/nios2/lib2-nios2.h: New file.
6532 * config/nios2/lib2-divmod-hi.c: New file.
6533 * config/nios2/linux-unwind.h: New file.
6534 * config/nios2/lib2-divmod.c: New file.
6535 * config/nios2/linux-atomic.c: New file.
6536 * config/nios2/t-nios2: New file.
6537 * config/nios2/crti.asm: New file.
6538 * config/nios2/t-linux: New file.
6539 * config/nios2/lib2-divtable.c: New file.
6540 * config/nios2/lib2-mul.c: New file.
6541 * config/nios2/tramp.c: New file.
6542 * config/nios2/crtn.asm: New file.
6543
6544 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
6545
6546 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6547 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6548 from cpuid.h to check vendor signatures.
6549
6550 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6551
6552 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6553 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6554 (get_amd_cpu): Likewise.
6555
6556 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6557
6558 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6559 Haswell.
6560
6561 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6562 H.J. Lu <hongjiu.lu@intel.com>
6563
6564 PR target/59422
6565 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
6566 and AMD_JAGUAR.
6567 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6568 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6569 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6570 FEATURE_XOP and FEATURE_FMA.
6571 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6572 AMDFAM15H_BDVER3.
6573 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6574 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6575 FEATURE_FMA4 and FEATURE_XOP.
6576
6577 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6578
6579 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6580 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6581 (get_intel_cpu): Updated.
6582
6583 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6584
6585 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6586
6587 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6588
6589 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6590 instructions when __SSE_MATH__ is defined.
6591
6592 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6593
6594 * config.host (microblaze-*-rtems*): New.
6595
6596 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6597
6598 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6599 architectures that do not have hardware divide instruction.
6600 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6601
6602 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6603
6604 * longlong.h: Delete (moved to include/).
6605
6606 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6607
6608 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6609 of normal number and qNaN to not raise an inexact exception.
6610
6611 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6612
6613 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6614
6615 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6616
6617 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6618 for correct opcodes on BE.
6619
6620 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6621
6622 * soft-fp/op-4.h: Update from glibc.
6623
6624 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6625
6626 * libgcc2.c (__udivmoddi4): Define new implementation when
6627 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6628 divide instructions.
6629
6630 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6631
6632 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6633
6634 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6635
6636 * config/t-softfp (soft-fp-objects-base): New variable.
6637 (soft-fp-objects): Use it.
6638
6639 2013-11-23 David Edelson <dje.gcc@gmail.com>
6640 Andrew Dixie <andrewd@gentrack.com>
6641
6642 PR target/33704
6643 * config/rs6000/aixinitfini.c: New file.
6644 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6645 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6646 symbols.
6647
6648 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6649
6650 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6651
6652 2013-11-18 Jan Hubicka <jh@suse.cz>
6653
6654 * libgcov-driver.c (run_accounted): Make global level static.
6655 (gcov_exit_merge_summary): Silence warning; do not clear
6656 run_accounted here.
6657 (gcov_exit): Clear it here.
6658
6659 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6660 run_accounted.
6661
6662 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6663 (all_prg, crc32): Remove static vars.
6664 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6665 all_prg.
6666 (gcov_exit_merge_gcda): Add crc32 parameter.
6667 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6668 do not account run if it was already accounted.
6669 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6670 (gcov_exit): Initialize all_prg; update.
6671
6672 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6673
6674 * configure: Regenerate.
6675
6676 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6677 Alan Modra <amodra@gmail.com>
6678
6679 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6680 (frob_update_context): Use it.
6681
6682 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6683 Alan Modra <amodra@gmail.com>
6684
6685 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6686 (trampoline_initial): Provide ELFv2 variant.
6687 (__trampoline_setup): Likewise.
6688
6689 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6690 check for AIX indirect function call sequence if _CALL_ELF == 2.
6691
6692 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6693 Alan Modra <amodra@gmail.com>
6694
6695 * config/rs6000/linux-unwind.h (get_regs): Do not support
6696 old kernel versions if _CALL_ELF == 2.
6697 (frob_update_context): Do not support PLT stub variants only
6698 generated by old linkers if _CALL_ELF == 2.
6699
6700 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6701 Alan Modra <amodra@gmail.com>
6702
6703 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6704 location of CR save area for 64-bit little-endian systems.
6705
6706 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6707
6708 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6709 in tmake_file.
6710 * config/arm/t-vxworks: Delete.
6711
6712 2013-11-10 Kai Tietz <ktietz@redhat.com>
6713
6714 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6715 Increment load-count on use of LIBGCC_SONAME DLL.
6716 (hmod_libgcc): New static variable to hold handle of
6717 LIBGCC_SONAME DLL.
6718 (__gcc_deregister_frame): Decrement load-count of
6719 LIBGCC_SONAME DLL.
6720
6721 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6722
6723 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6724 availability.
6725 * configure: Regenerate
6726
6727 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6728
6729 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6730 FP_EX_DENORM. Store result to volatile location after SSE division
6731 to close interrupt window. Remove unneeded fwait after x87
6732 division since interrupt window will be closed by emitted fstp.
6733 Rewrite FP_EX_INEXACT handling.
6734
6735 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6736
6737 * soft-fp/README: Update.
6738 * soft-fp/adddf3.c: Update from glibc.
6739 * soft-fp/addsf3.c: Likewise.
6740 * soft-fp/addtf3.c: Likewise.
6741 * soft-fp/divdf3.c: Likewise.
6742 * soft-fp/divsf3.c: Likewise.
6743 * soft-fp/divtf3.c: Likewise.
6744 * soft-fp/double.h: Likewise.
6745 * soft-fp/eqdf2.c: Likewise.
6746 * soft-fp/eqsf2.c: Likewise.
6747 * soft-fp/eqtf2.c: Likewise.
6748 * soft-fp/extenddftf2.c: Likewise.
6749 * soft-fp/extended.h: Likewise.
6750 * soft-fp/extendsfdf2.c: Likewise.
6751 * soft-fp/extendsftf2.c: Likewise.
6752 * soft-fp/extendxftf2.c: Likewise.
6753 * soft-fp/fixdfdi.c: Likewise.
6754 * soft-fp/fixdfsi.c: Likewise.
6755 * soft-fp/fixdfti.c: Likewise.
6756 * soft-fp/fixsfdi.c: Likewise.
6757 * soft-fp/fixsfsi.c: Likewise.
6758 * soft-fp/fixsfti.c: Likewise.
6759 * soft-fp/fixtfdi.c: Likewise.
6760 * soft-fp/fixtfsi.c: Likewise.
6761 * soft-fp/fixtfti.c: Likewise.
6762 * soft-fp/fixunsdfdi.c: Likewise.
6763 * soft-fp/fixunsdfsi.c: Likewise.
6764 * soft-fp/fixunsdfti.c: Likewise.
6765 * soft-fp/fixunssfdi.c: Likewise.
6766 * soft-fp/fixunssfsi.c: Likewise.
6767 * soft-fp/fixunssfti.c: Likewise.
6768 * soft-fp/fixunstfdi.c: Likewise.
6769 * soft-fp/fixunstfsi.c: Likewise.
6770 * soft-fp/fixunstfti.c: Likewise.
6771 * soft-fp/floatdidf.c: Likewise.
6772 * soft-fp/floatdisf.c: Likewise.
6773 * soft-fp/floatditf.c: Likewise.
6774 * soft-fp/floatsidf.c: Likewise.
6775 * soft-fp/floatsisf.c: Likewise.
6776 * soft-fp/floatsitf.c: Likewise.
6777 * soft-fp/floattidf.c: Likewise.
6778 * soft-fp/floattisf.c: Likewise.
6779 * soft-fp/floattitf.c: Likewise.
6780 * soft-fp/floatundidf.c: Likewise.
6781 * soft-fp/floatundisf.c: Likewise.
6782 * soft-fp/floatunditf.c: Likewise.
6783 * soft-fp/floatunsidf.c: Likewise.
6784 * soft-fp/floatunsisf.c: Likewise.
6785 * soft-fp/floatunsitf.c: Likewise.
6786 * soft-fp/floatuntidf.c: Likewise.
6787 * soft-fp/floatuntisf.c: Likewise.
6788 * soft-fp/floatuntitf.c: Likewise.
6789 * soft-fp/gedf2.c: Likewise.
6790 * soft-fp/gesf2.c: Likewise.
6791 * soft-fp/getf2.c: Likewise.
6792 * soft-fp/ledf2.c: Likewise.
6793 * soft-fp/lesf2.c: Likewise.
6794 * soft-fp/letf2.c: Likewise.
6795 * soft-fp/muldf3.c: Likewise.
6796 * soft-fp/mulsf3.c: Likewise.
6797 * soft-fp/multf3.c: Likewise.
6798 * soft-fp/negdf2.c: Likewise.
6799 * soft-fp/negsf2.c: Likewise.
6800 * soft-fp/negtf2.c: Likewise.
6801 * soft-fp/op-1.h: Likewise.
6802 * soft-fp/op-2.h: Likewise.
6803 * soft-fp/op-4.h: Likewise.
6804 * soft-fp/op-8.h: Likewise.
6805 * soft-fp/op-common.h: Likewise.
6806 * soft-fp/quad.h: Likewise.
6807 * soft-fp/single.h: Likewise.
6808 * soft-fp/soft-fp.h: Likewise.
6809 * soft-fp/subdf3.c: Likewise.
6810 * soft-fp/subsf3.c: Likewise.
6811 * soft-fp/subtf3.c: Likewise.
6812 * soft-fp/truncdfsf2.c: Likewise.
6813 * soft-fp/trunctfdf2.c: Likewise.
6814 * soft-fp/trunctfsf2.c: Likewise.
6815 * soft-fp/trunctfxf2.c: Likewise.
6816 * soft-fp/unorddf2.c: Likewise.
6817 * soft-fp/unordsf2.c: Likewise.
6818 * soft-fp/unordtf2.c: Likewise.
6819
6820 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6821
6822 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6823 (_FP_MUL_MEAT_D): Ditto.
6824 (_FP_DIV_MEAT_S): Ditto.
6825 (_FP_DIV_MEAT_D): Ditto.
6826 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6827 t-softfp-sfdf and t-softfp to tmake_file.
6828
6829 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6830
6831 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6832 * config/i386/crtprec.c: Ditto.
6833
6834 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6835 Shiva Chen <shiva0217@gmail.com>
6836
6837 * config.host (nds32*-elf*): Add nds32 target.
6838 * config/nds32 : New directory and files.
6839
6840 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6841
6842 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6843 * config.host (cpu_type) <Setting default>: Add entry for
6844 crisv32-*-*.
6845 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6846 <crisv32-*-linux*>: Adjust.
6847 * longlong.h: Wrap the whole CRIS section in a single
6848 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6849 and sub_ddmmss.
6850 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6851 defined.
6852 [__CRIS__] (__umulsidi3): Define.
6853 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6854 * config/cris/sfp-machine.h: New file.
6855 * config/cris/umulsidi3.S: New file.
6856 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6857 * config/cris/arit.c (SIGNMULT): New macro.
6858 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6859 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6860 saving 3 out of originally 33 cycles from the fastest
6861 path, 3 out of 54 from the medium path and one from the longest
6862 path. Improve comments.
6863
6864 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6865
6866 * sync.c: Remove static aliases and define each function directly
6867 under its real name.
6868
6869 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6870
6871 * config.host (hppa*64*-*-linux*): Define extra_parts.
6872 (hppa*-*-linux*): Likewise.
6873
6874 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6875
6876 * config/arc/crtgend.S: Add 2013 to Copyright years.
6877 * config/arc/gmon/atomic.h: Likewise.
6878 * config/arc/gmon/auxreg.h: Likewise.
6879 * config/arc/gmon/sys/gmon_out.h: Likewise.
6880 * config/arc/gmon/sys/gmon.h: Likewise.
6881 * config/arc/gmon/prof-freq.c: Likewise.
6882 * config/arc/gmon/mcount.c: Likewise.
6883 * config/arc/gmon/prof-freq-stub.S: Likewise.
6884 * config/arc/gmon/gmon.c: Likewise.
6885 * config/arc/gmon/machine-gmon.h: Likewise.
6886 * config/arc/gmon/profil.S: Likewise.
6887 * config/arc/gmon/dcache_linesz.S: Likewise.
6888 * config/arc/crtg.S: Likewise.
6889 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6890 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6891 * config/arc/ieee-754/adddf3.S: Likewise.
6892 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6893 * config/arc/ieee-754/fixsfsi.S: Likewise.
6894 * config/arc/ieee-754/gtsf2.S: Likewise.
6895 * config/arc/ieee-754/floatsisf.S: Likewise.
6896 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6897 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6898 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6899 * config/arc/ieee-754/fixdfsi.S: Likewise.
6900 * config/arc/ieee-754/addsf3.S: Likewise.
6901 * config/arc/ieee-754/gesf2.S: Likewise.
6902 * config/arc/ieee-754/floatsidf.S: Likewise.
6903 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6904 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6905 * config/arc/ieee-754/gtdf2.S: Likewise.
6906 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6907 * config/arc/ieee-754/uneqdf2.S: Likewise.
6908 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6909 * config/arc/ieee-754/uneqsf2.S: Likewise.
6910 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6911 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6912 * config/arc/ieee-754/eqdf2.S: Likewise.
6913 * config/arc/ieee-754/ordsf2.S: Likewise.
6914 * config/arc/ieee-754/divsf3.S: Likewise.
6915 * config/arc/ieee-754/divdf3.S: Likewise.
6916 * config/arc/ieee-754/floatunsidf.S: Likewise.
6917 * config/arc/ieee-754/orddf2.S: Likewise.
6918 * config/arc/ieee-754/eqsf2.S: Likewise.
6919 * config/arc/ieee-754/gedf2.S: Likewise.
6920 * config/arc/crtn.S: Likewise.
6921 * config/arc/crti.S: Likewise.
6922 * config/arc/t-arc700-uClibc: Likewise.
6923 * config/arc/asm.h: Likewise.
6924 * config/arc/libgcc-excl.ver: Likewise.
6925 * config/arc/t-arc-newlib: Likewise.
6926 * config/arc/divtab-arc700.c: Likewise.
6927 * config/arc/initfini.c: Likewise.
6928 * config/arc/fp-hack.h: Likewise.
6929
6930 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6931 Diego Novillo <dnovillo@google.com>
6932
6933 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6934 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6935 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6936 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6937
6938 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6939 Brendan Kehoe <brendan@zen.org>
6940 Simon Cook <simon.cook@embecosm.com>
6941
6942 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6943 * config/arc: New directory.
6944 * longlong.h [__arc__] (umul_ppmm): Remove.
6945 [__arc__] (__umulsidi3): Define.
6946 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6947 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6948
6949 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6950
6951 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6952 CreateSemaphoreA.
6953 * config/i386/gthr-win32.h: Likewise.
6954
6955 2013-09-16 DJ Delorie <dj@redhat.com>
6956
6957 * config/rl78/vregs.h: Add G10 register definitions.
6958 * config/rl78/lib2mul.c: Enable for RL78/G10.
6959 * config/rl78/lib2div.c: Likewise.
6960 * config/rl78/lshrsi3.S: Use vregs.h.
6961 * config/rl78/cmpsi2.S: Likewise.
6962 * config/rl78/trampoline.S: Likewise.
6963 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6964
6965 2013-09-14 DJ Delorie <dj@redhat.com>
6966 Nick Clifton <nickc@redhat.com>
6967
6968 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6969 * config/rl78/vregs.h: New.
6970 * config/rl78/signbit.S: New file. Implements signbit function.
6971 * config/rl78/divmodsi.S: New.
6972 * config/rl78/divmodhi.S: New.
6973 * config/rl78/divmodqi.S: New.
6974 * config/rl78/t-rl78: Build them here...
6975 * config/rl78/lib2div.c: ...but not here.
6976
6977 2013-09-12 DJ Delorie <dj@redhat.com>
6978
6979 * config.host (msp*-*-elf): New.
6980 * config/msp430/: New port.
6981
6982 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6983
6984 PR gcov-profile/58127
6985 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6986 __thread var for emulated TLS.
6987 (__gcov_indirect_call_counters): Likewise.
6988
6989 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6990 Catherine Moore <clm@codesourcery.com>
6991 Richard Sandiford <rdsandiford@googlemail.com>
6992
6993 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6994 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6995 (CALL_STUB_NO_RET): Likewise.
6996 (CALL_STUB_RET): Likewise.
6997 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6998 __mips16_ret call/return stub symbols.
6999 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7000 to tmake_file.
7001
7002 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7003
7004 * config.host <mips*-*-linux*>: Remove a stray comment.
7005
7006 2013-08-10 Jan Hubicka <jh@suse.cz>
7007
7008 Work around binutils PR14342
7009 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7010 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7011 (L_gcov_indirect_call_profiler_v2): New.
7012
7013 2013-08-06 Jan Hubicka <jh@suse.cz>
7014
7015 * libgcov.c (__gcov_indirect_call_callee,
7016 __gcov_indirect_call_counters): New global vars.
7017 (__gcov_indirect_call_profiler): replace by ...
7018 (__gcov_indirect_call_profiler_v2) ... this one.
7019
7020 2013-08-06 Caroline Tice <cmtice@google.com>
7021
7022 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7023 vtv_start_preinit.o and vtv_end_preinit.o.
7024 * configure.ac: Add code to check/set enable_vtable_verify.
7025 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7026 true.
7027 * vtv_start_preinit.c: New file.
7028 * vtv_end_preinit.c: New file.
7029 * vtv_start.c: New file.
7030 * vtv_end.c: New file.
7031 * configure: Regenerated.
7032
7033 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7034
7035 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7036 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7037 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7038 GPL-3.0-with-GCC-exception.
7039
7040 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7041
7042 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7043 ISA and up.
7044
7045 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7046
7047 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7048 mapping for FPRs when creating the fallback framestate.
7049
7050 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
7051
7052 PR target/57516
7053 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7054 (__round_s2_const, __round_u2_const)
7055 (__round_s4_const, __round_u4_const, __round_x8):
7056 Saturate result if addition result cannot be represented.
7057
7058 2013-07-15 Matthias Klose <doko@ubuntu.com>
7059
7060 * libgcc2.c: Don't include <limits.h>.
7061
7062 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
7063
7064 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7065
7066 2013-07-06 Jakub Jelinek <jakub@redhat.com>
7067
7068 PR target/29776
7069 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7070
7071 2013-06-28 Jakub Jelinek <jakub@redhat.com>
7072
7073 PR middle-end/36041
7074 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7075 Define.
7076 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7077 instead of table lookups.
7078 (__popcountDI2): Likewise.
7079
7080 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7081
7082 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7083 correctly.
7084
7085 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7086
7087 PR other/53317
7088 * soft-fp/adddf3.c: Update from glibc.
7089 * soft-fp/addsf3.c: Likewise.
7090 * soft-fp/addtf3.c: Likewise.
7091 * soft-fp/divdf3.c: Likewise.
7092 * soft-fp/divsf3.c: Likewise.
7093 * soft-fp/divtf3.c: Likewise.
7094 * soft-fp/double.h: Likewise.
7095 * soft-fp/eqdf2.c: Likewise.
7096 * soft-fp/eqsf2.c: Likewise.
7097 * soft-fp/eqtf2.c: Likewise.
7098 * soft-fp/extenddftf2.c: Likewise.
7099 * soft-fp/extended.h: Likewise.
7100 * soft-fp/extendsfdf2.c: Likewise.
7101 * soft-fp/extendsftf2.c: Likewise.
7102 * soft-fp/fixdfdi.c: Likewise.
7103 * soft-fp/fixdfsi.c: Likewise.
7104 * soft-fp/fixsfdi.c: Likewise.
7105 * soft-fp/fixsfsi.c: Likewise.
7106 * soft-fp/fixtfdi.c: Likewise.
7107 * soft-fp/fixtfsi.c: Likewise.
7108 * soft-fp/fixunsdfdi.c: Likewise.
7109 * soft-fp/fixunsdfsi.c: Likewise.
7110 * soft-fp/fixunssfdi.c: Likewise.
7111 * soft-fp/fixunssfsi.c: Likewise.
7112 * soft-fp/fixunstfdi.c: Likewise.
7113 * soft-fp/fixunstfsi.c: Likewise.
7114 * soft-fp/floatdidf.c: Likewise.
7115 * soft-fp/floatdisf.c: Likewise.
7116 * soft-fp/floatditf.c: Likewise.
7117 * soft-fp/floatsidf.c: Likewise.
7118 * soft-fp/floatsisf.c: Likewise.
7119 * soft-fp/floatsitf.c: Likewise.
7120 * soft-fp/floatundidf.c: Likewise.
7121 * soft-fp/floatundisf.c: Likewise.
7122 * soft-fp/floatunditf.c: Likewise.
7123 * soft-fp/floatunsidf.c: Likewise.
7124 * soft-fp/floatunsisf.c: Likewise.
7125 * soft-fp/floatunsitf.c: Likewise.
7126 * soft-fp/gedf2.c: Likewise.
7127 * soft-fp/gesf2.c: Likewise.
7128 * soft-fp/getf2.c: Likewise.
7129 * soft-fp/ledf2.c: Likewise.
7130 * soft-fp/lesf2.c: Likewise.
7131 * soft-fp/letf2.c: Likewise.
7132 * soft-fp/muldf3.c: Likewise.
7133 * soft-fp/mulsf3.c: Likewise.
7134 * soft-fp/multf3.c: Likewise.
7135 * soft-fp/negdf2.c: Likewise.
7136 * soft-fp/negsf2.c: Likewise.
7137 * soft-fp/negtf2.c: Likewise.
7138 * soft-fp/op-1.h: Likewise.
7139 * soft-fp/op-2.h: Likewise.
7140 * soft-fp/op-4.h: Likewise.
7141 * soft-fp/op-8.h: Likewise.
7142 * soft-fp/op-common.h: Likewise.
7143 * soft-fp/quad.h: Likewise.
7144 * soft-fp/single.h: Likewise.
7145 * soft-fp/soft-fp.h: Likewise.
7146 * soft-fp/subdf3.c: Likewise.
7147 * soft-fp/subsf3.c: Likewise.
7148 * soft-fp/subtf3.c: Likewise.
7149 * soft-fp/truncdfsf2.c: Likewise.
7150 * soft-fp/trunctfdf2.c: Likewise.
7151 * soft-fp/trunctfsf2.c: Likewise.
7152 * soft-fp/unorddf2.c: Likewise.
7153 * soft-fp/unordsf2.c: Likewise.
7154 * soft-fp/unordtf2.c: Likewise.
7155 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7156 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7157 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7158 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7159 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7160 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7161 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7162 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7163 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7164 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7165 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7166 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7167
7168 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7169
7170 * config/mips/lib2funcs.c: New file.
7171 * config/mips/t-mips (LIB2ADD_ST): Add it.
7172
7173 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7174
7175 PR target/6526
7176 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7177 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7178
7179 2013-06-08 Walter Lee <walt@tilera.com>
7180
7181 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7182 Replace int64_t with long long. Add __extension__ where
7183 appropriate.
7184 * config/tilepro/atomic.c: Include config.h.
7185
7186 2013-06-06 Douglas B Rupp <rupp@adacore.com>
7187
7188 * config.host (arm-wrs-vxworks): Configure with other soft float.
7189
7190 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7191
7192 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7193 (mips64r5900el-*-elf*): New configurations.
7194
7195 2013-06-04 Alan Modra <amodra@gmail.com>
7196
7197 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7198
7199 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7200
7201 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7202
7203 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7204
7205 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7206 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7207 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7208
7209 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7210
7211 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7212 (powerpc-wrs-vxworks): Likewise.
7213
7214 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7215
7216 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7217 signal frames as well.
7218 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7219 STACK_BIAS to the CFA offset.
7220
7221 2013-05-17 Richard Henderson <rth@redhat.com>
7222
7223 PR target/49146
7224 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7225 (execute_cfa_program): Use it when storing to fs->regs.
7226
7227 2013-05-08 Kai Tietz <ktietz@redhat.com>
7228
7229 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7230 (__deregister_frame_info): Likewise.
7231
7232 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7233
7234 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7235 NaN's payload.
7236
7237 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7238
7239 2013-04-25 Alan Modra <amodra@gmail.com>
7240
7241 * config.host: Match little-endian powerpc-linux.
7242
7243 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7244
7245 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7246 as 'unsigned long long' instead of 'unsigned long'.
7247 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7248 'signed long'.
7249
7250 2013-04-10 Julian Brown <julian@codesourcery.com>
7251
7252 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7253 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7254 unsigned char/unsigned short.
7255 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7256
7257 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7258
7259 PR other/55274
7260 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7261
7262 2013-04-04 Meador Inge <meadori@codesourcery.com>
7263
7264 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7265 computing the location of the link register.
7266 (aeabi_uldivmod): Ditto.
7267
7268 2013-03-27 Kai Tietz <ktietz@redhat.com>
7269
7270 * config.host: Add support for cygwin x64 target.
7271 * configure: Regenerated.
7272
7273 2013-03-26 Walter Lee <walt@tilera.com>
7274
7275 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7276 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7277
7278 2013-03-25 Kai Tietz <ktietz@redhat.com>
7279
7280 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7281
7282 2013-03-20 Robert Mason <rbmj@verizon.net>
7283
7284 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7285 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7286 (__gthread_leave_tsd_dtor_context): Add prototypes.
7287 (tls_delete_hook): Update.
7288
7289 2013-03-20 Catherine Moore <clm@codesourcery.com>
7290 Joseph Myers <joseph@codesourcery.com>
7291 Chao-ying Fu <fu@mips.com>
7292
7293 * config/mips/mips16.S: Don't build for microMIPS.
7294 * config/mips/linux-unwind.h: Handle microMIPS frame.
7295 * config/mips/crtn.S (fini, init): New labels.
7296
7297 2013-03-14 Jakub Jelinek <jakub@redhat.com>
7298
7299 PR tree-optimization/53265
7300 * unwind-dw2.c (execute_cfa_program): Avoid
7301 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7302 on targets with DWARF_FRAME_REGISTERS < 32.
7303
7304 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7305
7306 PR target/49880
7307 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7308 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7309
7310 2013-03-07 Sriraman Tallam <tmsriram@google.com>
7311
7312 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7313 sandybridge processors.
7314
7315 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7316
7317 PR target/56529
7318 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7319 inclusion list.
7320
7321 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7322
7323 * config/microblaze/crti.S: Setup stack protection at entry
7324
7325 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
7326
7327 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7328 (__rotldi3): Shift bytewise if applicable.
7329
7330 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7331
7332 * config/aarch64/sync-cache.c
7333 (__aarch64_sync_cache_range): Silence warnings.
7334
7335 2013-02-25 Catherine Moore <clm@codesourcery.com>
7336
7337 Revert:
7338 2013-02-24 Catherine Moore <clm@codesourcery.com>
7339 Joseph Myers <joseph@codesourcery.com>
7340 Chao-ying Fu <fu@mips.com>
7341
7342 * config/mips/mips16.S: Don't build for microMIPS.
7343 * config/mips/linux-unwind.h: Handle microMIPS frame.
7344 * config/mips/crtn.S (fini, init): New labels.
7345
7346 2013-02-24 Catherine Moore <clm@codesourcery.com>
7347 Joseph Myers <joseph@codesourcery.com>
7348 Chao-ying Fu <fu@mips.com>
7349
7350 * config/mips/mips16.S: Don't build for microMIPS.
7351 * config/mips/linux-unwind.h: Handle microMIPS frame.
7352 * config/mips/crtn.S (fini, init): New labels.
7353
7354 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7355 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7356 as dividend.
7357
7358 2013-02-16 Alan Modra <amodra@gmail.com>
7359
7360 PR target/55431
7361 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7362 (ppc_fallback_frame_state): Always set up save locations for fp
7363 and altivec. Don't bother with non-callee-saved regs, r0-r13
7364 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7365
7366 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
7367
7368 PR target/54222
7369 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7370 _ssmulHA, _ssmulSA.
7371 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7372 _ssmulha3, _usmulusa3, _ssmulsa3.
7373 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7374 (__muldi3): XCALL __muldi3_6 instead of rcall.
7375 (__umulsidi3, __mulsidi3): New functions.
7376 (do_prologue_saves, do_epilogue_restores): New .macros.
7377 (__divdi3_moddi3): Use them.
7378 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7379 (__usmulusa3, __ssmulsa3): New functions.
7380
7381 2013-02-11 Iain Sandoe <iain@codesourcery.com>
7382 Jack Howarth <howarth@bromo.med.uc.edu>
7383 Patrick Marlier <patrick.marlier@gmail.com>
7384
7385 PR libitm/55693
7386 * config/darwin-crt-tm.c: Remove dummy functions hack.
7387
7388 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
7389
7390 PR target/54222
7391 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7392 * config/avr/lib2-object.mk: New iterator to build objects from it.
7393 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7394 lib2funcs.c.
7395 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7396 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7397 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7398 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7399 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7400 * config/avr/lib1funcs-fixed.S: Implement them.
7401
7402 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7403
7404 Update copyright years.
7405
7406 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
7407
7408 PR target/54601
7409 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7410 Add crtcxa to extra_parts.
7411 * config/rs6000/exit.h: New file.
7412 * config/rs6000/cxa_atexit.c: New file.
7413 * config/rs6000/cxa_finalize.c: New file.
7414 * config/rs6000/crtcxa.c: New file.
7415 * config/rs6000/t-aix-cxa: New file.
7416 * config/rs6000/libgcc-aix-cxa.ver: New file.
7417
7418 2013-01-31 Nick Clifton <nickc@redhat.com>
7419
7420 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7421 variant.
7422
7423 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
7424
7425 PR target/54222
7426 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7427 _mulQQ, _mulHQ, _mulHA, _mulSA,
7428 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7429 _divQQ, _divHQ, _divHA, _divSA,
7430 _divUQQ, _divUHQ, _divUHA, _divUSA.
7431
7432 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
7433
7434 * config.host(microblaze*-linux*): tmake_file: Remove
7435 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7436 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7437 to exclude functions from being built with libgcc.c and use
7438 the microblaze assembly.
7439
7440 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7441
7442 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7443 extra_parts.
7444
7445 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7446
7447 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7448 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7449 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7450 alignment operation.
7451
7452 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7453
7454 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7455 loop start address for cache clearing.
7456
7457 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7458
7459 * config/avr/lib1funcs.S: Remove trailing blanks.
7460 * config/avr/lib1funcs-fixed.S: Ditto.
7461
7462 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7463
7464 * config/avr/avr-lib.h: Add GPL copyright notice.
7465
7466 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7467
7468 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7469 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7470 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7471 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7472
7473 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
7474
7475 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7476 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7477
7478 2013-01-04 Nick Clifton <nickc@redhat.com>
7479
7480 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7481 the CALLT instruction is supported.
7482
7483 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7484
7485 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7486 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7487
7488 2012-12-13 John Tytgat <John@bass-software.com>
7489
7490 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7491 is 25.
7492
7493 2012-12-12 Jakub Jelinek <jakub@redhat.com>
7494
7495 PR libgcc/55451
7496 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7497 undefined signed overflows.
7498
7499 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
7500
7501 PR target/55344
7502 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7503
7504 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
7505
7506 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7507 (FP_TRAPPING_EXCEPTIONS): Define.
7508 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7509 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7510
7511 2012-12-04 Richard Henderson <rth@redhat.com>
7512
7513 PR bootstrap/55571
7514 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7515
7516 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7517
7518 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7519 (FP_EX_SHIFT): Define.
7520 (FP_TRAPPING_EXCEPTIONS): Define.
7521
7522 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7523
7524 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7525 (FP_ROUNDMODE): Use FP_RND_MASK.
7526 * config/aarch64/sfp-exceptions.c: New.
7527 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7528 Use __sfp_handle_exceptions.
7529
7530 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
7531
7532 * config.host: (arm*-*-freebsd*): Remove.
7533 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7534 (arm*-*-elf*): Remove.
7535 (arm*-*-wince-pe*): Remove.
7536 * arm/unwind-arm.c (struct fpa_reg): Delete.
7537 (struct fpa_regs): Delete.
7538 (phase1_vrs): Remove fpa element.
7539 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7540 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7541 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7542 * ieee754-sf.S (floatundisf): Remove FPA support.
7543 (floatdisf): Likewise.
7544 * ieee75f-df.S (floatundidf): Likewise.
7545 (floatdidf): Likewise.
7546
7547 2012-11-29 Kai Tietz <ktietz@redhat.com>
7548
7549 PR target/55445
7550 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7551 * unwind-generic.h: Likewise.
7552 * unwind-seh.c: Likewise.
7553
7554 2012-11-28 Richard Henderson <rth@redhat.com>
7555
7556 PR libgcc/48076
7557 * emutls.c (__emutls_get_address): Avoid race condition between
7558 obj->loc.offset read and emutls_key initialization.
7559
7560 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
7561
7562 Adjust decimal point of signed accum mode to GCC default.
7563
7564 PR target/54222
7565 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7566 _divqq_helper.
7567 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7568 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7569 (__mulha3, __mulsa3)
7570 (__divqq3, __divha3, __divsa3): Adjust to new position of
7571 decimal point of signed accum types.
7572
7573 (__mulusa3_round): New function.
7574 (__mulusa3): Use it.
7575 (__divqq_helper): New function.
7576 (__udivuqq3): Use it.
7577
7578 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7579
7580 PR bootstrap/55370
7581 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7582
7583 2012-11-18 Teresa Johnson <tejohnson@google.com>
7584
7585 PR bootstrap/55051
7586 * libgcov.c (gcov_exit): Remove merged program summary
7587 comparison unless !GCOV_LOCKED.
7588
7589 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7590
7591 * soft-fp: Updated from glibc upstream.
7592
7593 2012-11-06 Ian Lance Taylor <iant@google.com>
7594
7595 * generic-morestack.c (__generic_morestack): Align the returned
7596 stack pointer to a 32 byte boundary.
7597 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7598 increment the return address until we have decided that we don't
7599 have a varargs function.
7600 (__morestack) [32-bit]: Align stack correctly when calling C
7601 functions.
7602 (__morestack) [64-bit]: Likewise.
7603
7604 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7605
7606 * configure: Regenerate.
7607
7608 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7609
7610 PR target/55175
7611 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7612 * config/i386/sfp-machine.h: Guard exception handling
7613 code with _SOFT_FLOAT.
7614 * config/i386/32/sfp-machine.h: Guard rounding handling
7615 code with _SOFT_FLOAT.
7616 * config/i386/64/sfp-machine.h: Ditto.
7617
7618 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7619
7620 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7621 as extra_parts.
7622
7623 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7624
7625 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7626 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7627 when appropriate. Correct structure element types.
7628 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7629 -minline-all-stringops from compile flags.
7630
7631 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7632
7633 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7634
7635 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7636
7637 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7638
7639 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7640
7641 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7642 tmake_file.
7643
7644 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7645 Jim MacArthur <jim.macarthur@arm.com>
7646 Marcus Shawcroft <marcus.shawcroft@arm.com>
7647 Nigel Stephens <nigel.stephens@arm.com>
7648 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7649 Richard Earnshaw <rearnsha@arm.com>
7650 Sofiane Naci <sofiane.naci@arm.com>
7651 Stephen Thomas <stephen.thomas@arm.com>
7652 Tejas Belagod <tejas.belagod@arm.com>
7653 Yufeng Zhang <yufeng.zhang@arm.com>
7654
7655 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7656 * config/aarch64/crti.S: New file.
7657 * config/aarch64/crtn.S: New file.
7658 * config/aarch64/linux-unwind.h: New file.
7659 * config/aarch64/sfp-machine.h: New file.
7660 * config/aarch64/sync-cache.c: New file.
7661 * config/aarch64/t-aarch64: New file.
7662 * config/aarch64/t-softfp: New file.
7663
7664 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7665
7666 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7667 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7668 no-longer-needed LDBU insns.
7669
7670 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7671
7672 * config.host
7673 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7674 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7675
7676 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7677
7678 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7679
7680 2012-10-15 Matthias Klose <doko@ubuntu.com>
7681
7682 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7683
7684 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7685
7686 * configure: Regenerate.
7687 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7688
7689 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7690
7691 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7692 instructions for 64bit targets only.
7693
7694 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7695
7696 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7697 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7698 * config/i386/32/sfp-machine.h: ... here.
7699 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7700 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7701 New defines.
7702
7703 2012-10-07 Matthias Klose <doko@ubuntu.com>
7704
7705 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7706 as unused.
7707 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7708
7709 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7710
7711 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7712 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7713 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7714 (ElfW): Likewise.
7715
7716 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7717
7718 PR other/53889
7719 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7720 Fix parameter names.
7721
7722 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7723
7724 PR target/33135
7725 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7726 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7727 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7728
7729 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7730
7731 PR target/50457
7732 * config/sh/linux-atomic.S: Delete.
7733 * config/sh/linux-atomic.c: New.
7734 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7735 linux-atomic.c. Add cflags to disable warnings.
7736
7737 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7738
7739 PR other/53889
7740 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7741 function.
7742 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7743 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7744 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7745 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7746 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7747 Likewise.
7748 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7749 Likewise.
7750 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7751 Likewise.
7752 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7753 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7754
7755 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7756
7757 * config.host (hppa-*-openbsd*): New target.
7758 * config/pa/t-openbsd: New file.
7759
7760 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7761
7762 PR target/54222
7763 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7764 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7765 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7766 (__divsa3): Use __negsi2 to negate r_quoL.
7767 * config/avr/lib1funcs.S (FALIAS): New macro.
7768 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7769 (__negsi2): ...this new function.
7770 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7771 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7772 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7773 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7774 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7775 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7776
7777 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7778
7779 PR target/54089
7780 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7781 (lshrsi3): Reimplement as lshrsi3_r0.
7782
7783 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7784
7785 PR target/46191
7786 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7787 of libgcc.a.
7788
7789 2012-09-07 Teresa Johnson <tejohnson@google.com>
7790
7791 PR gcov-profile/54487
7792 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7793 differences.
7794
7795 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7796
7797 PR target/54461
7798 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7799 not configured --with-avrlibc=no.
7800 * config/avr/t-avrlibc: New file.
7801 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7802 (DPBIT_FUNCS): Ditto.
7803 (TPBIT_FUNCS): Ditto.
7804
7805 2012-09-04 Teresa Johnson <tejohnson@google.com>
7806
7807 * libgcov.c (struct gcov_summary_buffer): New structure.
7808 (gcov_histogram_insert): New function.
7809 (gcov_compute_histogram): Ditto.
7810 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7811 histograms during summary merging.
7812
7813 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7814
7815 * config.host (x86_64-*-openbsd*): New target.
7816
7817 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7818
7819 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7820 attribute.
7821
7822 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7823
7824 PR target/54222
7825 * config/avr/t-avr (conv_X): Rename to func_X.
7826
7827 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7828
7829 PR target/54222
7830 * config/avr/lib1funcs-fixed.S: New file.
7831 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7832 after they are used.
7833 (neg2, neg4): New macros.
7834 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7835 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7836 (__umulhisi3): Speed up MUL variant if there is enough flash.
7837 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7838 avr-modes.def.
7839 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7840 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7841 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7842 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7843 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7844 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7845 (LIB2FUNCS_EXCLUDE): Add supported functions.
7846
7847 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7848
7849 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7850 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7851 libgcc-s-objects.
7852 * fixed-obj.mk: Only expand dependency if $o is not in
7853 LIB2FUNCS_EXCLUDE.
7854
7855 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7856
7857 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7858
7859 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7860
7861 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7862 depend on --enable-shared.
7863 ($(lib1asmfuncs-o)): Use %.vis files independent of
7864 --enable-shared.
7865 * static-object.mk ($(base)$(objext), $(base).vis)
7866 ($(base)_s$(objext)): Use same rules for visibility handling as in
7867 shared-object.mk.
7868
7869 2012-08-21 Ian Lance Taylor <iant@google.com>
7870
7871 * config/i386/morestack.S (__morestack_non_split): Increase amount
7872 of space allocated for non-split code stack.
7873
7874 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7875
7876 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7877 even if inhibit_libc.
7878
7879 2012-08-17 Julian Brown <julian@codesourcery.com>
7880
7881 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7882 -fexceptions -fnon-call-exceptions if not defined.
7883 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7884 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7885
7886 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7887
7888 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7889 type.
7890
7891 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7892
7893 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7894 rs6000/t-slibgcc-aix.
7895
7896 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7897
7898 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7899
7900 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7901
7902 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7903
7904 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7905
7906 PR driver/54171
7907 * Makefile.in (version): Replace top_srcdir with srcdir.
7908
7909 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7910
7911 * Makefile.in (version): set to BASE-VER file from gcc directory.
7912
7913 2012-08-01 Nick Clifton <nickc@redhat.com>
7914
7915 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7916 Implements __clrsb for an HImode argument.
7917
7918 2012-07-31 Nick Clifton <nickc@redhat.com>
7919
7920 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7921 Implements __clrsb for an HImode argument.
7922 * config/stormy16/clrsbhi2.c: New file:
7923 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7924
7925 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7926
7927 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7928
7929 2012-07-19 Tristan Gingold <gingold@adacore.com>
7930 Richard Henderson <rth@redhat.com>
7931
7932 * unwind-seh.c: New file.
7933 * unwind-generic.h: Include windows.h for SEH.
7934 (_Unwind_Exception): Use 6 private fields for SEH.
7935 (_GCC_specific_handler): Declare.
7936 * unwind-c.c (__gcc_personality_seh0): New function.
7937 Adjust for SEH.
7938 * config/i386/libgcc-cygming.ver: New file.
7939 * config/i386/t-seh-eh: New file.
7940 * config.host (x86_64-*-mingw*): Default to seh.
7941
7942 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7943
7944 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7945
7946 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7947
7948 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7949 __builtin_expect when checking for exceptions.
7950 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7951
7952 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7953
7954 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7955 function declaration.
7956 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7957 (FP_RND_MASK): New.
7958 * config/ia64/sfp-exceptions.c: New.
7959 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7960
7961 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7962
7963 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7964 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7965 * config/i386/64/sfp-machine: ... (delete here) ...
7966 * config/i386/sfp-machine.h: ... to here.
7967 (FP_EX_MASK): Remove.
7968 (FP_RND_MASK): New.
7969 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7970
7971 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7972
7973 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7974 * config/i386/libgcc-sol2.ver: Ditto.
7975 * config/i386/libgcc-glibc.ver: Ditto.
7976
7977 2012-06-11 Roland McGrath <mcgrathr@google.com>
7978
7979 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7980 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7981 pthread_cancel.
7982
7983 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7984
7985 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7986 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7987 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7988 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7989 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7990 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7991 * config/i386/64/sfp-machine: ... (delete here) ...
7992 * config/i386/sfp-machine.h: ... to here.
7993 (FP_EX_MASK): New.
7994 (__sfp_handle_exceptions): New function declaration.
7995 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7996 * config/i386/sfp-exceptions.c: New.
7997 * config/i386/t-softfp: New.
7998 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7999 i386/t-softfp to tmake_file.
8000
8001 2012-06-03 David S. Miller <davem@davemloft.net>
8002
8003 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8004 change.
8005
8006 2012-05-31 David S. Miller <davem@davemloft.net>
8007
8008 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8009 multiply and divide instructions on 32-bit when V9.
8010 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8011
8012 2012-05-29 Joseph Myers <joseph@codesourcery.com>
8013
8014 * config/arm/ieee754-df.S: Fix typos.
8015 * config/arm/ieee754-sf.S: Fix typos.
8016 * config/c6x/libunwind.S: Fix typos.
8017 * config/epiphany/udivsi3-float.c: Fix typos.
8018 * config/microblaze/muldi3_hard.S: Fix typos.
8019 * config/picochip/adddi3.S: Fix typos.
8020 * config/picochip/ashlsi3.S: Fix typos.
8021 * config/picochip/ashrsi3.S: Fix typos.
8022 * config/picochip/clzsi2.S: Fix typos.
8023 * config/picochip/cmpsi2.S: Fix typos.
8024 * config/picochip/divmod15.S: Fix typos.
8025 * config/picochip/divmodhi4.S: Fix typos.
8026 * config/picochip/divmodsi4.S: Fix typos.
8027 * config/picochip/longjmp.S: Fix typos.
8028 * config/picochip/lshrsi3.S: Fix typos.
8029 * config/picochip/parityhi2.S: Fix typos.
8030 * config/picochip/popcounthi2.S: Fix typos.
8031 * config/picochip/setjmp.S: Fix typos.
8032 * config/picochip/subdi3.S: Fix typos.
8033 * config/picochip/ucmpsi2.S: Fix typos.
8034 * config/picochip/udivmodhi4.S: Fix typos.
8035 * config/picochip/udivmodsi4.S: Fix typos.
8036 * config/spu/divv2df3.c: Fix typos.
8037 * config/spu/mfc_multi_tag_release.c: Fix typos.
8038 * config/spu/mfc_tag_release.c: Fix typos.
8039 * configure.ac: Fix typos.
8040 * configure: Regenerate.
8041
8042 2012-05-25 Ian Lance Taylor <iant@google.com>
8043
8044 * config/i386/morestack.S (__morestack_non_split): Check whether
8045 caller is varargs and needs %bp to hold the stack frame on return.
8046
8047 2012-05-25 Olivier Hainque <hainque@adacore.com>
8048
8049 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8050 sequence in the non pic case on VxWorks.
8051
8052 2012-05-24 Olivier Hainque <hainque@adacore.com>
8053
8054 * Makefile.in: Move dependency on install-unwind_h from
8055 "install-leaf" to "install".
8056
8057 2012-05-24 Olivier Hainque <hainque@adacore.com>
8058
8059 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8060 Use a separate command for stamp removals.
8061
8062 2012-05-21 Andrew Pinski <apinski@cavium.com>
8063
8064 PR bootstrap/53183
8065 * configure.ac: Define the default includes to being none.
8066 * configure: Regenerate.
8067
8068 2012-05-16 Olivier Hainque <hainque@adacore.com>
8069
8070 * Makefile.in (install-unwind_h): Rename into ...
8071 (install-unwind_h-forbuild): New target.
8072 (all): Use it instead of the former install-unwind_h.
8073 (install-unwind_h): Reinstate, copy to user install destination
8074 for include files, not to the internal gcc object directory one.
8075 (install-leaf): Depend on it.
8076
8077 2012-05-15 Olivier Hainque <hainque@adacore.com>
8078
8079 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8080 register numbers. LR_REGNO replaces R_LR.
8081 (ucontext_for): New, helper for ...
8082 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8083 and 5.3 of ...
8084 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8085
8086 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8087
8088 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8089 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8090 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8091 i386/t-cpuinfo ...
8092 (i[34567]86-*-*, x86_64-*-*): ... here.
8093
8094 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8095 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8096
8097 * config/i386/i386-cpuinfo.c: Rename to ...
8098 * config/i386/cpuinfo.c: ... this.
8099 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8100
8101 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8102 (libgcc_cv_init_priority): New test.
8103 * configure: Regenerate.
8104 * config.in: New file.
8105 * Makefile.in (clean): Rename config.h to auto-target.h.
8106 (config.h): Likewise.
8107 (stamp-h): Likewise.
8108
8109 * config/i386/cpuinfo.c (auto-target.h): Include.
8110 (CONSTRUCTOR_PRIORITY): Define.
8111 (__cpu_indicator_init): Use it.
8112
8113 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8114
8115 * longlong.h: Use a URL instead of an FSF postal address.
8116 Replace spaces with tab.
8117
8118 2012-05-08 Teresa Johnson <tejohnson@google.com>
8119
8120 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8121 (__gcov_dump): Ditto.
8122 (gcov_dump_complete): New global variable.
8123 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8124 (__gcov_flush): Outline functionality now in gcov_clear.
8125 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8126
8127 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8128
8129 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8130 (mips*-*-linux*): Include mips/t-tpbit when long double is
8131 16 bytes long.
8132
8133 2012-04-25 Sriraman Tallam <tmsriram@google.com>
8134
8135 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8136 (get_available_features): New argument. Check for AVX2.
8137 (__cpu_indicator_init): Modify call to get_available_features.
8138
8139 2012-04-25 Alan Modra <amodra@gmail.com>
8140
8141 * config/rs6000/crtsavevr.S: New file.
8142 * config/rs6000/crtrestvr.S: New file.
8143 * config/rs6000/t-savresfgpr: Build the above.
8144 * config/rs6000/t-netbsd: Likewise.
8145
8146 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8147
8148 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8149
8150 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8151
8152 * libgcc/config/i386/i386-cpuinfo.c: New file.
8153 * libgcc/config/i386/t-cpuinfo: New file.
8154 * libgcc/config.host: Include t-cpuinfo.
8155 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8156
8157 2012-04-24 Chao-ying Fu <fu@mips.com>
8158
8159 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8160
8161 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8162
8163 struct siginfo vs. siginfo_t
8164
8165 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8166 siginfo_t instead of struct siginfo.
8167 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8168 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8169 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8170 (ia64_handle_unwabi): Likewise.
8171 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8172 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8173 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8174 (sh_fallback_frame_state): Likewise.
8175 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8176 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8177
8178 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8179
8180 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8181 system call number.
8182
8183 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8184
8185 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8186 if it hasn't been previously saved.
8187
8188 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8189
8190 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8191 only for glibc.
8192
8193 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
8194
8195 PR target/52737
8196 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8197 instead of __AVR_HAVE_8BIT_SP__.
8198
8199 2012-03-26 Tristan Gingold <gingold@adacore.com>
8200
8201 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8202 (unw_table_entry): Use unw_word instead of unsigned long.
8203 (_Unwind_FindTableEntry): Likewise.
8204 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8205 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8206 (_Unwind_FindTableEntry): Likewise.
8207 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8208 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8209 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8210 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8211 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8212 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8213 (uw_init_context_1, uw_install_context): Likewise.
8214 (unw_word): Move to unwind-ia64.h
8215
8216 2012-03-26 Tristan Gingold <gingold@adacore.com>
8217
8218 * config/vms/vms-ucrt0.c: Update copyright years.
8219 Add a sanity check.
8220 (___gcc_main_flags): Declare.
8221 (__main): Check flags to remap argv and exit code.
8222 * config.host (*-*-*vms*): Adjust extra_parts.
8223 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8224 (crt0.o): Add.
8225
8226 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
8227
8228 * arm/lib1funcs.asm (ctzsi2): New function.
8229 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8230 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8231 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8232 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8233 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8234 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8235
8236 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
8237
8238 * config.host: Add bits to support powerpc64-*-freebsd*.
8239 * config/rs6000/freebsd-unwind.h: New file.
8240 * config/rs6000/t-freebsd64: New file.
8241
8242 2012-03-20 Richard Guenther <rguenther@suse.de>
8243
8244 PR gcov-profile/52627
8245 * libgcov.c (init_mx): Fix mutex name.
8246
8247 2012-03-16 Tristan Gingold <gingold@adacore.com>
8248
8249 * config/ia64/vms-unwind.h: Remove ulong (and replace
8250 it by unw_reg where used). Define unw_reg with __int64.
8251
8252 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8253
8254 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8255 Solaris 8 handling.
8256 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8257 Solaris 8 handling.
8258 (sparc_is_sighandler): Likewise.
8259
8260 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8261
8262 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8263 <= saved reg size.
8264
8265 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8266
8267 * config/arm/crtn.S: Fix typo.
8268
8269 2012-03-13 Richard Guenther <rguenther@suse.de>
8270
8271 * libgcov.c: Remove stdio.h include and NULL un-define.
8272
8273 2012-03-13 Richard Guenther <rguenther@suse.de>
8274
8275 PR target/52569
8276 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8277
8278 2012-03-13 Richard Guenther <rguenther@suse.de>
8279
8280 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8281
8282 2012-03-13 Richard Guenther <rguenther@suse.de>
8283
8284 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8285 and __gthread_mutex_init_function definitions.
8286
8287 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8288
8289 * config.host (mips*-*-openbsd*): Remove.
8290
8291 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8292
8293 * config.host: Remove alpha*-dec-osf5.1* handling.
8294 * config/alpha/gthr-posix.c: Remove.
8295 * config/alpha/libgcc-osf5.ver: Remove.
8296 * config/alpha/osf5-unwind.h: Remove.
8297 * config/alpha/t-osf-pthread: Remove.
8298 * config/alpha/t-slibgcc-osf: Remove.
8299 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8300 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8301 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8302 * mkmap-flat.awk: Remove osf_export handling.
8303
8304 2012-03-12 Richard Guenther <rguenther@suse.de>
8305
8306 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8307 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8308 (__gthread_mutex_init_function): New function.
8309 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8310
8311 PR gcov/49484
8312 * libgcov.c: Include gthr.h.
8313 (__gcov_flush_mx): New global variable.
8314 (init_mx, init_mx_once): New functions.
8315 (__gcov_flush): Protect self with a mutex.
8316 (__gcov_fork): Re-initialize mutex after forking.
8317 * unwind-dw2-fde.c: Change condition under which to use
8318 __GTHREAD_MUTEX_INIT_FUNCTION.
8319
8320 2012-03-12 Tristan Gingold <gingold@adacore.com>
8321
8322 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8323 * config/ia64/t-vms: Likewise.
8324
8325 2012-03-11 Michael Hope <michael.hope@linaro.org>
8326
8327 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8328 for Thumb-2.
8329
8330 2012-03-07 Walter Lee <walt@tilera.com>
8331
8332 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8333 "arch_atomic_".
8334 (atomic_xor): Rename and move definition to
8335 config/tilepro/atomic.h.
8336 (atomic_nand): Ditto.
8337 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8338 "arch_atomic_".
8339 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8340 (arch_atomic_nand): Ditto.
8341
8342 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8343
8344 PR target/52507
8345 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8346
8347 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8348
8349 PR target/52505
8350 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8351 from RAM.
8352
8353 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8354
8355 PR target/52461
8356 PR target/52508
8357 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8358 if RAMPZ affects reading from RAM.
8359 (__tablejump_elpm__): Ditto.
8360 (.xload): Ditto.
8361 (__movmemx_hi): Ditto.
8362 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8363 (__do_global_dtors): Ditto.
8364 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8365 (__movmemx_hi): Ditto.
8366
8367 2012-03-05 Richard Henderson <rth@redhat.com>
8368
8369 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8370 [ARM] (count_trailing_zeros): Use the builtin.
8371
8372 2012-03-01 Kai Tietz <ktietz@redhat.com>
8373
8374 * soft-fp: Imported from glibc upstream.
8375
8376 2012-02-28 Kai Tietz <ktietz@redhat.com>
8377
8378 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8379 for mingw-targets as attribute gcc_struct.
8380
8381 2012-02-28 Ian Lance Taylor <iant@google.com>
8382
8383 * generic-morestack.c (__splitstack_releasecontext): Correct call
8384 to __morestack_release_segments.
8385
8386 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8387
8388 PR target/52390
8389 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8390 for __linux__ when removing signals from __morestack_fullmask.
8391
8392 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
8393
8394 PR target/52261
8395 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8396
8397 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8398
8399 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8400 instead of HAVE_INITFINI_ARRAY.
8401 * config/ia64/crtend.S: Likewise.
8402
8403 2012-02-20 Kai Tietz <ktietz@redhat.com>
8404
8405 PR libstdc++/52300
8406 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8407
8408 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8409 to w32-unwind.h header.
8410
8411 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8412
8413 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8414 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8415 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8416 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8417
8418 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8419
8420 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8421
8422 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8423
8424 PR libitm/52220
8425 * config/darwin-crt-tm.c: Correct typo.
8426
8427 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8428 Patrick Marlier <patrick.marlier@gmail.com>
8429
8430 PR libitm/52220
8431 * config/darwin-crt-tm.c: Generate dummy functions.
8432
8433 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8434 Patrick Marlier <patrick.marlier@gmail.com>
8435
8436 PR libitm/52042
8437 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8438 (__doTMRegistrations): Call it.
8439 (__doTMdeRegistrations): Likewise.
8440
8441 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
8442 Anatoly Sokolov <aesok@post.ru>
8443 Eric Weddington <eric.weddington@atmel.com>
8444
8445 PR target/52261
8446 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8447 (__epilogue_restores__): Ditto.
8448
8449 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8450
8451 PR target/51921
8452 PR target/52205
8453 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8454 Solaris 11 and slightly reformat.
8455 (sparc_is_sighandler): Likewise.
8456
8457 2012-02-14 Walter Lee <walt@tilera.com>
8458
8459 * config.host: Handle tilegx and tilepro.
8460 * config/tilegx/sfp-machine.h: New file.
8461 * config/tilegx/sfp-machine32.h: New file.
8462 * config/tilegx/sfp-machine64.h: New file.
8463 * config/tilegx/t-crtstuff: New file.
8464 * config/tilegx/t-softfp: New file.
8465 * config/tilegx/t-tilegx: New file.
8466 * config/tilepro/atomic.c: New file.
8467 * config/tilepro/atomic.h: New file.
8468 * config/tilepro/linux-unwind.h: New file.
8469 * config/tilepro/sfp-machine.h: New file.
8470 * config/tilepro/softdivide.c: New file.
8471 * config/tilepro/softmpy.S: New file.
8472 * config/tilepro/t-crtstuff: New file.
8473 * config/tilepro/t-tilepro: New file.
8474
8475 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8476
8477 PR libstdc++/51296
8478 PR libstdc++/51906
8479 * gthr-posix.h: Allow static initializer macros to be disabled.
8480 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8481
8482 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8483
8484 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8485 Add t-slibgcc-libgcc to tmake_file.
8486 * config/mips/libgcc-mips16.ver: Revert previous patch.
8487 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8488
8489 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8490 Jayant R Sonar <jayant.sonar@kpitcummins.com>
8491
8492 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8493 * config/cr16/crti.S: New file.
8494 * config/cr16/crtlibid.S: New file.
8495 * config/cr16/crtn.S: New file.
8496 * config/cr16/lib1funcs.S: New file.
8497 * config/cr16/t-cr16: New file.
8498 * config/cr16/t-crtlibid: New file.
8499 * config/cr16/unwind-dw2.h: New file.
8500 * config/cr16/unwind-cr16.c: New file.
8501 * config/cr16/divmodhi3.c: New file.
8502
8503 2012-01-25 Alan Modra <amodra@gmail.com>
8504
8505 * config/rs6000/t-linux64: Delete. Move..
8506 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8507 * config/rs6000/t-linux: ..and libgcc flags to here.
8508
8509 2012-01-22 Douglas B Rupp <rupp@gnat.com>
8510
8511 * config.host (i[34567]86-*-interix3*):
8512 Change triplet to i[34567]86-*-interix[3-9]*.
8513 * configure: Regenerate.
8514
8515 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8516 Richard Sandiford <rdsandiford@googlemail.com>
8517
8518 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8519 * config/mips/mips16.S (__mips16_rdhwr): New function.
8520 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8521
8522 2012-01-11 Nathan Sidwell <nathan@acm.org>
8523
8524 * libgcov.c (__gcov_init): Ignore objects with no functions.
8525
8526 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
8527
8528 PR target/49868
8529 Extend __pgmx semantics to linearize memory.
8530 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8531 * config/avr/lib1funcs.S (__xload_1): New function.
8532 (__movmemx_qi, __movmemx_hi): New functions.
8533 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8534 semantics.
8535
8536 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8537
8538 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8539 purported sigacthandler address isn't null before dereferencing it.
8540 (sparc_is_sighandler): Likewise.
8541
8542 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8543
8544 PR ada/41929
8545 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8546 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8547 (sparc_is_sighandler): Likewise.
8548 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8549
8550 2012-01-06 Tristan Gingold <gingold@adacore.com>
8551
8552 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8553 compatibility thunks...
8554 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8555 (crtbeginS.o, crtendS.o): ... and these to ...
8556 * config/ia64/t-ia64-elf: ... this new file.
8557 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8558 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8559
8560 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8561
8562 * configure: Regenerate.
8563 * config/s390/t-crtstuff: Remove -fPIC.
8564
8565 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8566
8567 PR bootstrap/51006
8568 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8569 for NetBSD.
8570
8571 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8572
8573 PR target/51345
8574 * config/avr/lib1funcs.S: Remove FIXME comments.
8575 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8576
8577 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8578
8579 Implement light-weight DImode support.
8580 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8581 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8582 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8583 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8584
8585 2011-12-30 Nathan Sidwell <nathan@acm.org>
8586
8587 * libgcov.c (gcov_crc32): Remove global var.
8588 (free_fn_data): New function.
8589 (buffer_fn_data): Pass in filename, more robust error recovery.
8590 (crc32_unsigned): New function.
8591 (gcov_exit): More robust detection of new program. More robust
8592 error recovery.
8593 (__gcov_init): Do not update program's crc here.
8594
8595 2011-12-21 Tristan Gingold <gingold@adacore.com>
8596
8597 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8598
8599 2011-12-21 Ian Lance Taylor <iant@google.com>
8600
8601 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8602
8603 2011-12-20 Ian Lance Taylor <iant@google.com>
8604
8605 * config/i386/morestack.S (__morestack_non_split): If there is
8606 enough stack space already, don't split. Ask for more stack space
8607 than we required.
8608
8609 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8610
8611 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8612 `sys/sdt.h'.
8613 (_Unwind_DebugHook): New function.
8614 (uw_restore_core_regs): New define.
8615 (unwind_phase2): Use uw_restore_core_regs instead of
8616 restore_core_regs.
8617 (unwind_phase2_forced): Likewise.
8618 (__gnu_Unwind_Resume): Likewise.
8619
8620 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8621
8622 * config/alpha/linux-unwind.h: Update copyright years.
8623 (MD_FROB_UPDATE_CONTEXT): New define.
8624 (alpha_frob_update_context): New function.
8625
8626 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8627
8628 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8629 tmake_file rather replacing it.
8630
8631 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8632
8633 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8634 function is not used for PPC64.
8635 (save_world): Amend comments. Update the VRsave mask to reflect the
8636 saved regs.
8637 (rest_world): Update comments, do not clobber r10, do not use r8.
8638 (eh_rest_world_r10): Amend comments, do not use r8.
8639 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8640 no longer used, move restore of CR and target address to the end of
8641 the routine.
8642
8643 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8644
8645 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8646 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8647
8648 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8649
8650 PR target/49313
8651 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8652 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8653
8654 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8655
8656 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8657
8658 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8659
8660 PR target/49313
8661 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8662 * config/avr/lib1funcs.S (__muldi3): New function.
8663
8664 2011-12-06 Andrew Pinski <apinski@cavium.com>
8665
8666 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8667 size of func_ptr.
8668 (__frame_dummy_init_array_entry): Likewise.
8669
8670 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8671
8672 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8673
8674 PR target/51345
8675 PR target/51002
8676 * config/avr/lib1funcs.S (__prologue_saves__,
8677 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8678 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8679
8680 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8681
8682 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8683
8684 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8685
8686 PR other/51272
8687 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8688 (_ITM_deregisterTMCloneTable): Likewise.
8689 (__register_frame_info): Fix unused warning.
8690 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8691 pthread_default_stacksize_np): Likewise.
8692 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8693
8694 2011-11-29 DJ Delorie <dj@redhat.com>
8695
8696 * config.host (rl78-*-elf): New case.
8697 * config/rl78: New directory for the Renesas RL78.
8698
8699 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8700
8701 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8702 formatting.
8703
8704 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8705
8706 PR other/51022
8707 * config/rs6000/t-savresfgpr: New file.
8708 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8709 $(srcdir)/config/rs6000/eabi.S.
8710 * config/rs6000/t-ppccomm-ldbl: Remove.
8711 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8712 tmake_file.
8713 (powerpc-*-eabispe*): Likewise.
8714 (powerpc-*-eabi*): Likewise.
8715 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8716 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8717 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8718 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8719 tmake_file.
8720 (powerpc-*-eabisim*): Likewise.
8721 (powerpc-*-elf*): Likewise.
8722 (powerpc-*-eabialtivec*): Likewise.
8723 (powerpc-xilinx-eabi*): Likewise.
8724 (powerpc-*-rtems*): Likewise.
8725 (powerpcle-*-elf*): Likewise.
8726 (powerpcle-*-eabisim*): Likewise.
8727 (powerpcle-*-eabi*): Likewise.
8728
8729 2011-11-27 Ian Lance Taylor <iant@google.com>
8730
8731 * generic-morestack.c (__splitstack_find): Check for NULL old
8732 stack value.
8733 (__splitstack_resetcontext): New function.
8734 (__splitstack_releasecontext): New function.
8735 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8736
8737 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8738
8739 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8740
8741 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8742
8743 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8744
8745 2011-11-26 Richard Henderson <rth@redhat.com>
8746
8747 * config/m68k/linux-atomic.c: New file.
8748 * config/m68k/t-linux: New file.
8749 * config.host (m68k-uclinux, m68k-linux): Use it.
8750
8751 2011-11-26 Richard Henderson <rth@redhat.com>
8752
8753 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8754 (__TMC_END__): Only declare if hidden is available; in the definition,
8755 if hidden is unavailable add a null record.
8756 (deregister_tm_clones, register_tm_clones): New.
8757 (__do_global_dtors_aux, frame_dummy): Use them.
8758 (__do_global_dtors, __do_global_ctors_1): Likewise.
8759
8760 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8761
8762 * config/darwin-crt-tm.c: New file.
8763 * config.host (darwin): Build crttms.o crttme.o to provide
8764 startup and shutdown for tm clones.
8765 * config/t-darwin (crttms.o): New build rule.
8766 (crttme.o): Likewise.
8767
8768 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8769
8770 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8771 et al.
8772
8773 2011-11-21 Richard Henderson <rth@redhat.com>
8774
8775 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8776 (__TMC_LIST__, __TMC_END__): New.
8777 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8778 (__do_global_dtors): Likewise.
8779 (frame_dummy): Call _ITM_registerTMCloneTable.
8780 (__do_global_ctors_1): Likewise.
8781
8782 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8783
8784 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8785 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8786 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8787 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8788 * config/i386/t-darwin64: Remove.
8789 * config/sh/t-netbsd (LIB2ADD): Remove.
8790
8791 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8792
8793 PR target/49313
8794 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8795 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8796 * config/avr/lib1funcs.S (wmov): New assembler macro.
8797 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8798 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8799 (__udivmod64): New function.
8800 (__negdi2): New function.
8801
8802 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8803
8804 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8805 *-*-freebsd*aout*): Remove.
8806
8807 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8808
8809 * static-object.mk (c_flags-$o): Save c_flags.
8810 ($(base)$(objext)): Use it.
8811
8812 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8813
8814 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8815
8816 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8817
8818 PR target/49868
8819 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8820 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8821 New functions.
8822
8823 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8824
8825 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8826 functions.
8827 (aeabi_uidivmod): Likewise.
8828 (umodsi3): Likewise.
8829 (divsi3): Likewise.
8830 (aeabi_idivmod): Likewise.
8831 (modsi3): Likewise.
8832
8833 2011-11-16 Tristan Gingold <gingold@adacore.com>
8834
8835 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8836
8837 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8838
8839 PR target/49868
8840 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8841 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8842
8843 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8844
8845 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8846 tmake_file list.
8847 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8848 * config/pa/t-stublib64: Delete.
8849
8850 2011-11-12 Richard Henderson <rth@redhat.com>
8851
8852 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8853 cast the pointer argument to _Unwind_SetGRPtr.
8854
8855 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8856
8857 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8858
8859 2011-11-09 Ian Lance Taylor <iant@google.com>
8860
8861 * generic-morestack.c: Include <string.h>.
8862 (uintptr_type): Define.
8863 (struct initial_sp): Add dont_block_signals field. Reduce size of
8864 extra array by 1.
8865 (allocate_segment): Set prev field to NULL. Don't set
8866 __morestack_current_segment or __morestack_segments.
8867 (__generic_morestack): Update current->prev and *pp after calling
8868 allocate_segment.
8869 (__morestack_block_signals): Don't do anything if
8870 dont_block_signals is set.
8871 (__morestack_unblock_signals): Likewise.
8872 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8873 uintptr_type.
8874 (__splitstack_block_signals): New function.
8875 (enum __splitstack_content_offsets): Define.
8876 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8877 (__splitstack_makecontext): New function.
8878 (__splitstack_block_signals_context): New function.
8879 (__splitstack_find_context): New function.
8880 * config/i386/morestack.S (__morestack_get_guard): New function.
8881 (__morestack_set_guard, __morestack_make_guard): New functions.
8882 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8883
8884 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8885
8886 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8887 (i[34567]86-*-mingw*): ... here.
8888 (x86_64-*-mingw*): ... here.
8889
8890 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8891
8892 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8893
8894 2011-11-07 Nathan Sidwell <nathan@acm.org>
8895
8896 * libgcov.c (struct gcov_fn_buffer): New struct.
8897 (buffer_fn_data): New helper.
8898 (gcov_exit): Rework for new gcov data structures.
8899
8900 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8901
8902 PR target/49313
8903 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8904
8905 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8906
8907 * config.host (tmake_file): Correct comment.
8908 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8909 t-libgcc-pic.
8910 (bfin*-uclinux*): Likewise.
8911 (bfin*-linux-uclibc*): Likewise.
8912 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8913
8914 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8915 assigning.
8916 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8917 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8918 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8919 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8920 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8921 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8922 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8923 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8924 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8925 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8926 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8927 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8928 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8929
8930 * config/bfin/t-elf: Remove.
8931 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8932
8933 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8934
8935 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8936 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8937 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8938 (lm32-*-elf*): ... this.
8939 (lm32-*-rtems*): ... and this.
8940 Add to tmake_file.
8941 (m32r-*-rtems*): Add to tmake_file.
8942 (moxie-*-rtems*): Likewise.
8943 (sparc-*-rtems*): Likewise.
8944 Remove t-rtems from tmake_file.
8945 (sparc64-*-rtems*): Likewise.
8946 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8947 instead.
8948
8949 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8950
8951 PR bootstrap/50982
8952 * config/gthr-posix.h: Move ...
8953 * gthr-posix.h: ... here.
8954 * config/gthr-lynx.h: Reflect this.
8955 * config/gthr-vxworks.h: Likewise.
8956 * config/rs6000/gthr-aix.h: Likewise.
8957 * configure.ac (target_thread_file): Likewise.
8958 * configure: Regenerate.
8959
8960 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8961
8962 * config.host (arm*-*-rtemseabi*): New target.
8963
8964 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8965
8966 PR other/50991
8967 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8968 extra-parts.
8969
8970 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8971
8972 * config.host (epiphany-*-elf*): New configuration.
8973 * config/epiphany: New Directory.
8974
8975 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8976
8977 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8978 * config/avr/t-rtems: New.
8979 Filter out _exit from LIB1ASMFUNCS.
8980
8981 2011-11-04 David S. Miller <davem@davemloft.net>
8982
8983 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8984 * configure: Rebuild.
8985
8986 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8987
8988 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8989 variable.
8990
8991 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8992
8993 PR target/50931
8994 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8995 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8996
8997 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8998
8999 PR target/50989
9000 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9001
9002 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9003
9004 * config/c6x/t-elf (LIB2ADDEH): Set.
9005 * config/c6x/t-c6x-elf: Remove.
9006
9007 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9008
9009 * config/i386/sol2-ci.S: Rename to ...
9010 * config/i386/crti.S: ... this.
9011 * config/i386/sol2-cn.S: Rename to ...
9012 * config/i386/crtn.S: ... this.
9013 * config/sparc/sol2-ci.S: Rename to ...
9014 * config/sparc/crti.S: ... this.
9015 * config/sparc/sol2-cn.S: Rename to ...
9016 * config/sparc/crtn.S: ... this.
9017 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9018 (crti.o, crtn.o): Remove.
9019
9020 2011-11-04 Tristan Gingold <gingold@adacore.com>
9021
9022 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9023
9024 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9025
9026 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9027
9028 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
9029
9030 * config.host (crisv32-*-none, cris-*-none): Remove.
9031 (crisv32-*-elf): Append to tmake_file, don't just set it.
9032 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9033
9034 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9035
9036 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9037 (ecrtn$(objext)): Likewise.
9038 (ncrti$(objext)): Likewise.
9039 (ncrtn$(objext)): Likewise.
9040
9041 2011-11-03 Andreas Schwab <schwab@redhat.com>
9042
9043 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9044
9045 2011-11-02 David S. Miller <davem@davemloft.net>
9046
9047 * configure.ac: Set host_address on sparc too.
9048 * configure: Regenerate.
9049 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9050 based upon host_address.
9051 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9052
9053 2011-11-02 Jason Merrill <jason@redhat.com>
9054
9055 * config/rs6000/t-ppccomm: Add missing \.
9056
9057 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9058
9059 * gthr-single.h, gthr.h: New files.
9060 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9061 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9062 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9063 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9064 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9065 * configure.ac (thread_header): New variable.
9066 Set it depending on target_thread_file.
9067 (gthr-default.h): Link from $thread_header.
9068 * configure: Regenerate.
9069 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9070
9071 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9072
9073 * configure.ac (tm_file_): New variable.
9074 Determine from tm_file.
9075 (tm_file, tm_defines): Substitute.
9076 * configure: Regenerate.
9077 * mkheader.sh: New file.
9078 * Makefile.in (clean): Remove libgcc_tm.h.
9079 ($(objects)): Depend on libgcc_tm.h.
9080 (libgcc_tm_defines, libgcc_tm_file): New variables.
9081 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9082 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9083 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9084 ($(extra-parts)): Depend on libgcc_tm.h.
9085 * config.host (tm_defines, tm_file): New variable.
9086 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9087 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9088 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9089 (avr-*-rtems*): Likewise.
9090 (avr-*-*): Likewise.
9091 (frv-*-elf): Likewise.
9092 (frv-*-*linux*): Likewise.
9093 (h8300-*-rtems*): Likewise.
9094 (h8300-*-elf*): Likewise.
9095 (i[34567]86-*-darwin*): Likewise.
9096 (x86_64-*-darwin*): Likewise.
9097 (rx-*-elf): Likewise.
9098 (tic6x-*-uclinux): Likewise.
9099 (tic6x-*-elf): Likewise.
9100 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9101 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9102 * config/i386/cygming-crtbegin.c: Likewise.
9103 * config/i386/cygming-crtend.c: Likewise.
9104 * config/ia64/fde-vms.c: Likewise.
9105 * config/ia64/unwind-ia64.c: Likewise.
9106 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9107 * config/rs6000/darwin-fallback.c: Likewise.
9108 * config/stormy16/lib2funcs.c: Likewise.
9109 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9110 * crtstuff.c: Likewise.
9111 * dfp-bit.h: Likewise.
9112 * emutls.c: Likewise.
9113 * fixed-bit.c: Likewise.
9114 * fp-bit.c: Likewise.
9115 * generic-morestack-thread.c: Likewise.
9116 * generic-morestack.c: Likewise.
9117 * libgcc2.c: Likewise.
9118 * libgcov.c: Likewise.
9119 * unwind-dw2-fde-dip.c: Likewise.
9120 * unwind-dw2-fde.c: Likewise.
9121 * unwind-dw2.c: Likewise.
9122 * unwind-sjlj.c: Likewise.
9123
9124 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9125
9126 * configure.ac: Include ../config/picflag.m4.
9127 (GCC_PICFLAG): Call it.
9128 Substitute.
9129 * configure: Regenerate.
9130 * Makefile.in (gcc_srcdir): Remove.
9131 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9132 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9133 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9134 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9135 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9136 Use $<.
9137 Remove comment.
9138 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9139 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9140 to refer to libgcc2.c.
9141 Use $<.
9142 * config/darwin-64.c: New file.
9143 * config/darwin-crt3.c: Remove comment.
9144 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9145 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9146 config/udivmodsi4.c: New files.
9147 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9148 config/memset.c: New files.
9149 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9150 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9151 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9152 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9153 * config/t-openbsd-thread: New file.
9154 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9155 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9156 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9157 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9158 qrnnd.S.
9159 Adapt filename.
9160 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9161 to refer to gthr-posix.c.
9162 * config/alpha/t-vms (LIB2ADD): Set.
9163 * config/alpha/vms-gcc_shell_handler.c: New file.
9164 * config/arm/bpabi.c, config/arm/fp16.c,
9165 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9166 config/arm/unaligned-funcs.c: New files.
9167 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9168 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9169 * config/arm/t-linux: Likewise.
9170 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9171 * config/arm/t-netbsd: New file.
9172 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9173 * config/arm/t-symbian (LIB2ADD_ST): Set.
9174 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9175 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9176 * config/bfin/t-elf: New file.
9177 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9178 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9179 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9180 config/c6x/ltf.c: New files.
9181 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9182 (HOST_LIBGCC2_CFLAGS): Set.
9183 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9184 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9185 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9186 New files.
9187 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9188 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9189 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9190 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9191 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9192 files.
9193 * config/frv/t-frv (LIB2ADD): Set.
9194 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9195 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9196 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9197 config/h8300/popcounthi2.c: New files.
9198 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9199 * config/i386/gthr-win32.c: New file.
9200 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9201 * config/i386/t-cygwin: Likewise.
9202 * config/i386/t-darwin, config/i386/t-darwin64,
9203 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9204 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9205 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9206 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9207 * config/ia64/quadlib.c: New file.
9208 * config/ia64/t-hpux (LIB2ADD): Set.
9209 * config/ia64/t-ia64: Add comment.
9210 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9211 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9212 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9213 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9214 * config/m32c/t-m32c (LIB2ADD): Set.
9215 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9216 * config/m32r/t-m32r: Likewise.
9217 * config/m68k/fpgnulib.c: New file.
9218 * config/m68k/t-floatlib (LIB2ADD): Set.
9219 (xfgnulib.c): New target.
9220 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9221 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9222 * config/mep/t-mep (LIB2ADD): Set.
9223 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9224 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9225 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9226 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9227 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9228 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9229 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9230 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9231 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9232 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9233 New files.
9234 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9235 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9236 * config/pa/fptr.c, config/pa/lib2funcs.S,
9237 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9238 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9239 (LIB2ADD, LIB2ADD_ST): Set.
9240 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9241 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9242 Set.
9243 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9244 * config/pdp11/t-pdp11: New file.
9245 * config/picochip/libgccExtras/adddi3.S,
9246 config/picochip/libgccExtras/ashlsi3.S,
9247 config/picochip/libgccExtras/ashrsi3.S,
9248 config/picochip/libgccExtras/clzsi2.S,
9249 config/picochip/libgccExtras/cmpsi2.S,
9250 config/picochip/libgccExtras/divmod15.S,
9251 config/picochip/libgccExtras/divmodhi4.S,
9252 config/picochip/libgccExtras/divmodsi4.S,
9253 config/picochip/libgccExtras/lshrsi3.S,
9254 config/picochip/libgccExtras/parityhi2.S,
9255 config/picochip/libgccExtras/popcounthi2.S,
9256 config/picochip/libgccExtras/subdi3.S,
9257 config/picochip/libgccExtras/ucmpsi2.S,
9258 config/picochip/libgccExtras/udivmodhi4.S,
9259 config/picochip/libgccExtras/udivmodsi4.S: New files.
9260 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9261 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9262 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9263 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9264 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9265 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9266 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9267 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9268 files.
9269 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9270 (HOST_LIBGCC2_CFLAGS): Set.
9271 * config/rs6000/t-darwin64: New file.
9272 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9273 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9274 * config/rs6000/t-ppccomm (LIB2ADD): Add
9275 $(srcdir)/config/rs6000/tramp.S.
9276 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9277 Add $(srcdir)/config/rs6000/eabi.S.
9278 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9279 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9280 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9281 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9282 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9283 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9284 * config/rs6000/tramp.S: New file.
9285 * config/s390/t-tpf: Remove.
9286 * config/sh/linux-atomic.S: New file.
9287 * config/sh/t-linux (LIB2ADD): Set.
9288 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9289 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9290 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9291 to unwind-dw2.c.
9292 (HOST_LIBGCC2_CFLAGS): Set.
9293 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9294 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9295 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9296 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9297 config/spu/mfc_multi_tag_release.c,
9298 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9299 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9300 config/spu/multi3.c: New files.
9301 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9302 (HOST_LIBGCC2_CFLAGS): Set.
9303 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9304 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9305 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9306 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9307 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9308 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9309 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9310 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9311 config/stormy16/umodsi3.c: New files.
9312 * config/xtensa/lib2funcs.S: New file.
9313 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9314 * config/xtensa/t-xtensa (LIB2ADD): Set.
9315 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9316 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9317 Add t-freebsd-thread to tmake_file for posix threads.
9318 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9319 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9320 (*-*-lynxos*): Likewise.
9321 (*-*-netbsd*): Likewise.
9322 (*-*-openbsd*): Likewise.
9323 Add t-openbsd-thread to tmake_file for posix threads.
9324 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9325 (*-*-vxworks*): Set tmake_file.
9326 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9327 (alpha*-*-freebsd*): Likewise.
9328 (alpha*-*-netbsd*): Likewise.
9329 (alpha*-*-openbsd*): Likewise.
9330 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9331 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9332 (alpha*-dec-*vms*): Likewise.
9333 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9334 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9335 (bfin*-uclinux*): Likewise.
9336 (bfin*-linux-uclibc*): Likewise.
9337 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9338 (crisv32-*-none): Likewise.
9339 (cris-*-elf): Likewise.
9340 (cris-*-none): Likewise.
9341 (cris-*-linux*, crisv32-*-linux*): Likewise.
9342 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9343 tmake_file.
9344 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9345 tmake_file.
9346 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9347 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9348 (x86_64-*-elf*): Likewise.
9349 (i[34567]86-*-nto-qnx*): Likewise.
9350 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9351 win32 threads.
9352 (x86_64-*-mingw*): Likewise.
9353 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9354 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9355 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9356 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9357 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9358 tmake_file.
9359 (mipsisa64sr71k-*-elf*): Likewise.
9360 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9361 (mips-*-elf*, mipsel-*-elf*): Likewise.
9362 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9363 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9364 (mips*-*-rtems*): Likewise.
9365 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9366 to tmake_file.
9367 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9368 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9369 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9370 (spu-*-elf*): Likewise.
9371 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9372
9373 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9374
9375 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9376 $(srcdir) to refer to $(LIB1ASMSRC).
9377 Use $<.
9378 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9379 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9380 config/arm/lib1funcs.S: New files.
9381 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9382 * config/arm/t-arm: New file.
9383 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9384 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9385 config/arm/t-strongarm-elf: New files.
9386 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9387 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9388 * config/avr/lib1funcs.S: New file.
9389 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9390 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9391 * config/c6x/lib1funcs.S: New file.
9392 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9393 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9394 * config/frv/lib1funcs.S: New file.
9395 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9396 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9397 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9398 * config/ia64/__divxf3.asm: Rename to ...
9399 * config/ia64/__divxf3.S: ... this.
9400 Adapt lib1funcs.asm filename.
9401 * config/ia64/_fixtfdi.asm: Rename to ...
9402 * config/ia64/_fixtfdi.S: ... this.
9403 Adapt lib1funcs.asm filename.
9404 * config/ia64/_fixunstfdi.asm: Rename to ...
9405 * config/ia64/_fixunstfdi.S: ... this.
9406 Adapt lib1funcs.asm filename.
9407 * config/ia64/_floatditf.asm: Rename to ...
9408 * config/ia64/_floatditf.S: ... this.
9409 Adapt lib1funcs.asm filename.
9410 * config/ia64/lib1funcs.S: New file.
9411 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9412 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9413 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9414 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9415 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9416 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9417 * config/mep/lib1funcs.S: New file.
9418 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9419 * config/mips/mips16.S: New file.
9420 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9421 * config/pa/milli64.S: New file.
9422 * config/pa/t-linux, config/pa/t-linux64: New files.
9423 * config/picochip/lib1funcs.S: New file.
9424 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9425 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9426 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9427 * config/sh/t-netbsd: New file.
9428 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9429 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9430 * config/sh/t-sh64: New file.
9431 * config/sparc/lb1spc.S: New file.
9432 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9433 filename.
9434 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9435 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9436 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9437 config/xtensa/lib1funcs.S: New files.
9438 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9439 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9440 tmake_file.
9441 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9442 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9443 (arm*-*-linux*): Likewise.
9444 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9445 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9446 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9447 (arm*-*-ecos-elf): Likewise.
9448 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9449 (arm*-*-rtems*): Likewise.
9450 (arm*-*-elf): Likewise.
9451 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9452 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9453 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9454 (bfin*-uclinux*): Likewise.
9455 (bfin*-linux-uclibc*): Likewise.
9456 (bfin*-rtems*): Likewise.
9457 (bfin*-*): Likewise.
9458 (fido-*-elf): Merge into m68k-*-elf*.
9459 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9460 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9461 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9462 (h8300-*-elf*): Likewise.
9463 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9464 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9465 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9466 (i[34567]86-*-mingw*): Likewise.
9467 (x86_64-*-mingw*): Likewise.
9468 (i[34567]86-*-interix3*): Likewise.
9469 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9470 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9471 (m68k-*-elf*): Also handle fido-*-elf.
9472 Add m68k/t-floatlib to tmake_file.
9473 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9474 (m68k-*-linux*): Likewise.
9475 (m68k-*-rtems*): Likewise.
9476 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9477 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9478 sh64*-*-*.
9479 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9480 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9481 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9482 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9483 sh/t-netbsd to tmake_file.
9484 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9485 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9486 (sh-wrs-vxworks): Likewise.
9487 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9488 *-leon[3-9]*.
9489 (v850*-*-*): Add v850/t-v850 to tmake_file.
9490 (vax-*-linux*): Add vax/t-linux to tmake_file.
9491 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9492
9493 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9494
9495 * crtstuff.c: New file.
9496 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9497 (CRTSTUFF_T_CFLAGS): Define.
9498 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9499 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9500 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9501 crtstuff.c.
9502 Use $<.
9503 (crtbeginT.o): Use $(objext).
9504 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9505 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9506 (gcc-extra-parts): Remove.
9507 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9508 Set extra_parts.
9509 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9510 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9511 Add t-crtstuff-pic to tmake_file.
9512 (*-*-lynxos*): New case.
9513 Set tmake_file, extra_parts.
9514 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9515 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9516 *-*-netbsdelf[2-9]*.
9517 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9518 (*-*-rtems*): Set extra_parts.
9519 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9520 (*-*-uclinux*): New case.
9521 Set extra_parts.
9522 (*-*-vms*): New case.
9523 Set tmake_file, extra_parts.
9524 (*-*-elf): Set extra_parts.
9525 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9526 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9527 vms/t-vms64.
9528 Set extra_parts.
9529 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9530 Set extra_parts.
9531 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9532 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9533 (arm-wrs-vxworks): Append to tmake_file.
9534 Set extra_parts.
9535 (arm*-*-uclinux*): Set extra_parts.
9536 (arm*-*-ecos-elf): Likewise.
9537 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9538 arm*-*-eabi*.
9539 (arm*-*-rtems*): Set extra_parts.
9540 (arm*-*-elf): Likewise.
9541 (avr-*-rtems*): Clear extra_parts.
9542 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9543 Set extra_parts.
9544 (bfin*-uclinux*): Likewise.
9545 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9546 (bfin*-rtems*): Append to tmake_file.
9547 Set extra_parts.
9548 (bfin*-*): Likewise.
9549 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9550 (crisv32-*-elf): ... this.
9551 (crisv32-*-none): ... this.
9552 (cris-*-elf, cris-*-none): New cases.
9553 Add cris/t-elfmulti to tmake_file.
9554 (fr30-*-elf): Append to tmake_file.
9555 Set extra_parts.
9556 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9557 Set extra_parts.
9558 (h8300-*-rtems*): Append to tmake_file.
9559 Set extra_parts.
9560 (h8300-*-elf*): Likewise.
9561 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9562 Set extra_parts.
9563 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9564 Set extra_parts.
9565 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9566 (x86_64-*-elf*): Likewise.
9567 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9568 (x86_64-*-freebsd*): Likewise.
9569 (x86_64-*-netbsd*): Likewise.
9570 (i[34567]86-*-linux*): Likewise.
9571 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9572 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9573 (x86_64-*-linux*): Likewise.
9574 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9575 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9576 tmake_file.
9577 Set extra_parts.
9578 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9579 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9580 Append to extra_parts, remove crtbegin.o, crtend.o.
9581 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9582 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9583 crtend.o, crtbeginS.o, crtendS.o.
9584 (ia64*-*-linux*): Comment extra_parts.
9585 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9586 Set extra_parts.
9587 (iq2000*-*-elf*): Clear extra_parts.
9588 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9589 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9590 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9591 (m32r-*-rtems*): ... this.
9592 Add m32r/t-m32r to tmake_file.
9593 (m68k-*-elf*): Add t-crtin to tmake_file.
9594 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9595 (mcore-*-elf): Likewise.
9596 (microblaze*-*-*): Set extra_parts.
9597 (mips*-sde-elf*): New case.
9598 Set tmake_file, extra_parts.
9599 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9600 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9601 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9602 tmake_file.
9603 Set extra_parts.
9604 (mipsisa64sr71k-*-elf*): Likewise.
9605 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9606 (mips-*-elf*, mipsel-*-elf*): Likewise.
9607 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9608 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9609 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9610 (mips*-*-rtems*): Likewise.
9611 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9612 (moxie-*-*): Split into ...
9613 (moxie-*-elf, moxie-*-uclinux*): ... this.
9614 Add to extra_parts, remove crtbegin.o, crtend.o.
9615 (moxie-*-rtems*): New case.
9616 Set tmake_file.
9617 Clear extra_parts.
9618 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9619 Set extra_parts.
9620 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9621 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9622 tmake_file.
9623 Set extra_parts.
9624 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9625 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9626 Set extra_parts.
9627 (powerpc-*-eabisim*): Likewise.
9628 (powerpc-*-elf*): Likewise.
9629 (powerpc-*-eabialtivec*): Likewise.
9630 (powerpc-xilinx-eabi*): Likewise.
9631 (powerpc-*-eabi*): Likewise.
9632 (powerpc-*-rtems*): Likewise.
9633 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9634 tmake_file.
9635 Set extra_parts.
9636 (powerpc-*-lynxos*): Add to tmake_file.
9637 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9638 rs6000/t-crtstuff, t-crtstuff-pic.
9639 Set extra_parts.
9640 (powerpcle-*-eabisim*): Likewise.
9641 (powerpcle-*-eabi*): Likewise.
9642 (rx-*-elf): Remove extra_parts.
9643 (s390x-ibm-tpf*): Set extra_parts.
9644 (score-*-elf): Set extra_parts.
9645 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9646 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9647 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9648 (sh64l*-*-netbsd*): Split into ...
9649 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9650 Add t-crtstuff-pic to tmake_file.
9651 Set extra_parts.
9652 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9653 Set extra_parts.
9654 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9655 (sparc-*-elf*): Remove t-crtin from tmake_file.
9656 Add to extra_parts, remove crtbegin.o, crtend.o.
9657 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9658 (sparc64-*-linux*): Likewise.
9659 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9660 Add to extra_parts, remove crtbegin.o, crtend.o.
9661 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9662 Add to extra_parts, remove crtbegin.o, crtend.o.
9663 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9664 Add to extra_parts, remove crtbegin.o, crtend.o.
9665 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9666 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9667 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9668 Set extra_parts.
9669 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9670 Set extra_parts.
9671 (tic6x-*-*): Change to ...
9672 (tic6x-*-elf): ... this.
9673 Set extra_parts.
9674 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9675 Set extra_parts.
9676 (am33_2.0-*-linux*): Add comment.
9677 (mep*-*-*): Add mep/t-mep to tmake_file.
9678 Set extra_parts.
9679 * config/alpha/t-vms: New file.
9680 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9681 * config/arm/crti.S, config/arm/crtn.S: New files.
9682 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9683 * config/bfin/crtlibid.S: New file.
9684 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9685 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9686 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9687 (crti.o, crtin.o): New rules.
9688 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9689 * config/c6x/t-uclinux: New file.
9690 * config/cris/t-elfmulti: New file.
9691 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9692 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9693 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9694 * config/frv/t-frv: New file.
9695 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9696 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9697 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9698 New files.
9699 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9700 refer to cygming-crtbegin.c, cygming-crtend.c.
9701 Use $<.
9702 * config/i386/t-nto: New file.
9703 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9704 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9705 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9706 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9707 Use .S extension.
9708 Use $<.
9709 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9710 (crtinitS.o): New rule.
9711 * config/ia64/vms-crtinit.S: New file.
9712 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9713 * config/m32r/initfini.c: New file.
9714 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9715 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9716 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9717 * config/mep/t-mep: New file.
9718 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9719 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9720 * config/mips/crti.S, config/mips/crtn.S: New files.
9721 * config/mips/t-crtstuff: New file.
9722 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9723 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9724 (CUSTOM_CRTIN): Set.
9725 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9726 dependencies.
9727 Use $(srcdir) to refer to crti.S, crtn.S.
9728 Use .S extension, $<.
9729 * config/moxie/crti.asm: Rename to ...
9730 * config/moxie/crti.S: ... this.
9731 * config/moxie/crtn.asm: Rename to ...
9732 * config/moxie/crtn.S: ... this.
9733 * config/moxie/t-moxie: Remove.
9734 * config/pa/stublib.c: New file.
9735 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9736 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9737 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9738 * config/rs6000/t-crtstuff: New file.
9739 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9740 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9741 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9742 Make output file explicit.
9743 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9744 Make output file explicit.
9745 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9746 Make output file explicit.
9747 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9748 Make output file explicit.
9749 * config/score/crti.S, config/score/crtn.S: New files.
9750 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9751 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9752 files.
9753 * config/sh/t-sh, config/sh/t-superh: New files.
9754 * config/sparc/t-linux64: New file.
9755 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9756 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9757 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9758 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9759 * config/t-crtin: Remove.
9760 * config/t-crtstuff-pic: New file.
9761 * config/t-sol2 (CUSTOM_CRTIN): Set.
9762 (crti.o, crtn.o): New rules.
9763 * config/vms/t-vms: New file.
9764 * config/vms/vms-ucrt0.c: New file.
9765 * config/xtensa/t-elf: New file.
9766
9767 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9768
9769 * Makefile.in (SHLIB_NM_FLAGS): Set.
9770 * mkmap-flat.awk, mkmap-symver.awk: New files.
9771 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9772 exceptions.
9773 * configure: Regenerate.
9774 * config/libgcc-glibc.ver: New file.
9775 * config/libgcc-libsystem.ver: New file.
9776 * config/t-libunwind (SHLIB_LC): Set.
9777 * config/t-linux: New file.
9778 * config/t-slibgcc (INSTALL_SHLIB): New.
9779 (SHLIB_INSTALL): Use it.
9780 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9781 to mkmap-symver.awk.
9782 (SHLIB_MAPFILES): Don't append, adapt pathname.
9783 (SHLIB_VERPFX): Set.
9784 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9785 to mkmap-symver.awk.
9786 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9787 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9788 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9789 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9790 to mkmap-flat.awk.
9791 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9792 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9793 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9794 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9795 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9796 * config/i386/libgcc-darwin.10.4.ver,
9797 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9798 New files.
9799 * config/i386/t-darwin: Remove.
9800 * config/i386/t-darwin64: Likewise.
9801 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9802 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9803 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9804 * config/i386/t-linux: New file.
9805 * config/i386/t-mingw32: New file.
9806 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9807 * config/ia64/t-glibc: Rename to ...
9808 * config/ia64/t-linux: ... this.
9809 (SHLIB_MAPFILES): Set.
9810 * config/ia64/t-glibc-libunwind: Rename to ...
9811 * config/ia64/t-linux-libunwind: ... this.
9812 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9813 * config/ia64/t-slibgcc-hpux: New file.
9814 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9815 * config/m68k/t-slibgcc-elf-ver: New file.
9816 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9817 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9818 to mkmap-flat.awk.
9819 * config/pa/t-slibgcc-hpux: New file.
9820 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9821 files.
9822 * config/rs6000/libgcc-darwin.10.4.ver,
9823 config/rs6000/libgcc-darwin.10.5.ver: New files.
9824 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9825 config/rs6000/libgcc-glibc.ver.
9826 * config/rs6000/libgcc-ppc64.ver: Rename to
9827 config/rs6000/libgcc-ibm-ldouble.ver.
9828 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9829 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9830 * config/rs6000/t-ldbl128: Rename to ...
9831 * config/rs6000/t-linux: ... this.
9832 (SHLIB_MAPFILES): Adapt filename.
9833 * config/rs6000/t-slibgcc-aix: New file.
9834 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9835 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9836 libgcc-excl.ver, libgcc-glibc.ver.
9837 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9838 * config/sparc/libgcc-glibc.ver: New file.
9839 * config/sparc/t-linux: New file.
9840 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9841 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9842 t-slibgcc-elf-ver to tmake_file.
9843 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9844 *-*-freebsd[34].
9845 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9846 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9847 t-slibgcc-elf-ver, t-linux to tmake_file.
9848 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9849 tmake_file.
9850 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9851 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9852 (alpha*-dec-*vms*): Likewise.
9853 (arm*-*-freebsd*): Append to tmake_file.
9854 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9855 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9856 arm*-*-linux-*eabi.
9857 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9858 tmake_file for arm*-*-symbianelf*.
9859 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9860 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9861 cris/t-linux.
9862 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9863 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9864 pa/t-slibgcc-dwarf-ver to tmake_file.
9865 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9866 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9867 (hppa*64*-*-hpux11*): Likewise.
9868 (hppa[12]*-*-hpux11*): Likewise.
9869 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9870 i386/t-crtpc, i386/t-crtfm.
9871 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9872 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9873 to tmake_file.
9874 Add i386/t-cygwin to tmake_file.
9875 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9876 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9877 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9878 to tmake_file.
9879 Add i386/t-mingw32 to tmake_file.
9880 (x86_64-*-mingw*): Likewise.
9881 (ia64*-*-freebsd*): Append to tmake_file.
9882 (ia64*-*-linux*): Append to tmake_file.
9883 Replace ia64/t-glibc by ia64/t-linux.
9884 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9885 system libunwind.
9886 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9887 t-slibgcc-hpux to tmake_file.
9888 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9889 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9890 (m32rle-*-linux*): Likewise.
9891 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9892 sjlj exceptions.
9893 (microblaze*-linux*): New case.
9894 Append to tmake_file, add t-slibgcc-nolc-override.
9895 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9896 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9897 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9898 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9899 rs6000/t-slibgcc-aix to tmake_file.
9900 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9901 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9902 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9903 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9904 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9905 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9906 sh*-*-linux*.
9907 (sparc-*-linux*): Append to tmake_file for *-leon*.
9908 Add sparc/t-linux to tmake_file for non-Leon targets.
9909 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9910 (tic6x-*-uclinux): New case.
9911 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9912 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9913 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9914 (am33_2.0-*-linux*): Append to tmake_file.
9915 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9916 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9917 x86_64-*-kfreebsd*-gnu.
9918 Add i386/t-linux to tmake_file.
9919
9920 2011-10-28 Ian Lance Taylor <iant@google.com>
9921
9922 * config/i386/morestack.S: Correct CFI information to do proper
9923 returns throughout function. In 32-bit mode, save %ebx so that it
9924 is restored on unwind.
9925
9926 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9927
9928 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9929 case where B3 isn't the return register.
9930
9931 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9932 logic for doubleword pops.
9933
9934 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9935
9936 * config/rs6000/t-freebsd: Add wildcard.
9937
9938 2011-10-21 Paul Brook <paul@codesourcery.com>
9939
9940 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9941
9942 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9943 Eric Botcazou <ebotcazou@adacore.com>
9944
9945 PR target/50737
9946 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9947 fs->signal_frame to 1.
9948
9949 2011-10-07 Ian Lance Taylor <iant@google.com>
9950
9951 * generic-morestack-thread.c: #include <errno.h>.
9952
9953 2011-10-07 Ian Lance Taylor <iant@google.com>
9954
9955 PR target/46093
9956 * generic-morestack.c (__generic_morestack): Make sure the segment
9957 is large enough for both the stack frame and the copied
9958 parameters.
9959
9960 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9961
9962 PR bootstrap/49804
9963 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9964 extra_parts.
9965
9966 2011-09-28 Nick Clifton <nickc@redhat.com>
9967
9968 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9969 64-bit doubles are not enabled.
9970 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9971 and floatunsisf functions.
9972
9973 2011-09-13 Paul Brook <paul@codesourcery.com>
9974
9975 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9976 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9977 * unwind-arm-common.inc: New file.
9978 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9979 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9980 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9981 * config/c6x/libunwind.S: New file.
9982 * config/c6x/pr-support.c: New file.
9983 * config/c6x/unwind-c6x.c: New file.
9984 * config/c6x/unwind-c6x.h: New file.
9985 * config/c6x/t-c6x-elf: New file.
9986
9987 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9988
9989 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9990 (ASM_DIVZERO): Ditto.
9991 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9992
9993 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9994
9995 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9996
9997 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9998
9999 PR target/50090
10000 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10001 instead of an assembly one.
10002
10003 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
10004
10005 PR bootstrap/50047
10006 * Makefile.in (install-unwind_h): Create
10007 $(gcc_objdir)/include/unwind.h atomically.
10008
10009 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10010
10011 * Makefile.in (install-unwind_h): Remove destination file first.
10012
10013 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10014
10015 * sync.c: New file.
10016 * config/mips/t-mips16: New file.
10017 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10018 (mips*-*-linux*): Likewise.
10019 (mips*-sde-elf*): Likewise.
10020 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10021 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10022 Add mips/t-mips16 to tmake_file.
10023 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10024 (mips-*-elf*): Likewise.
10025 (mips64-*-elf*): Likewise.
10026 (mips64orion-*-elf*): Likewise.
10027 (mips*-*-rtems*): Likewise.
10028 (mipstx39-*-elf*): Likewise.
10029 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10030 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10031 LIBGCC_SYNC_CFLAGS.
10032 Use $(srcdir) to refer to sync.c.
10033 Use $<.
10034 ($(libgcc-sync-funcs-o)): Likewise.
10035 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10036 ($(libgcc-sync-funcs-s-o)): Likewise.
10037
10038 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10039
10040 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10041 t-libunwind.
10042
10043 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10044
10045 PR other/48007
10046 * config/i386/value-unwind.h: New.
10047
10048 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10049
10050 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10051 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10052 Add to tmake_file rather than overriding it.
10053
10054 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10055
10056 * config/t-softfp: Remove.
10057 * soft-fp: Moved from ../gcc/config.
10058 * soft-fp/README: Remove t-softfp reference.
10059 * soft-fp/t-softfp: Move to config/t-softfp.
10060 (softfp_machine_header): Remove.
10061 (softfp_file_list): Remove config subdir.
10062 (soft-fp-objects): New variable.
10063 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10064 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10065 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10066 * config/t-softfp-excl: New file.
10067 * config/t-softfp-sfdf: New file.
10068 * config/t-softfp-tf: New file.
10069 * config/no-sfp-machine.h: New file.
10070 * config/arm/sfp-machine.h: New file.
10071 * config/arm/t-softfp: New file.
10072 * config/c6x/sfp-machine.h: New file.
10073 * config/i386/32/t-fprules-softfp: Rename to ...
10074 * config/i386/32/t-softfp: ... this.
10075 (tifunctions, LIB2ADD): Remove.
10076 (softfp_int_modes): Override.
10077 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10078 subdir.
10079 * config/i386/64/eqtf2.c: Likewise.
10080 * config/i386/64/getf2.c: Likewise.
10081 * config/i386/64/letf2.c: Likewise.
10082 * config/ia64/sft-machine.h: New file.
10083 * config/ia64/t-fprules-softfp: Rename to ...
10084 * config/ia64/t-softfp: ... this.
10085 * config/lm32/sfp-machine.h: New file.
10086 * config/moxie/t-moxie-softfp: Remove.
10087 * config/rs6000/ibm-ldouble-format: New file.
10088 * config/rs6000/ibm-ldouble.c: New file.
10089 * config/rs6000/libgcc-ppc-glibc.ver: New file
10090 * config/rs6000/libgcc-ppc64.ver: New file
10091 * config/rs6000/sfp-machine.h: New file.
10092 * config/rs6000/t-freebsd: New file.
10093 * config/rs6000/t-ibm-ldouble: New file.
10094 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10095 libgcc-ppc-glibc.ver.
10096 * config/rs6000/t-linux64: New file.
10097 * config/rs6000/t-ppccomm (LIB2ADD): Add
10098 $(srcdir)/config/rs6000/ibm-ldouble.c.
10099 * config/rs6000/t-ppccomm-ldbl: New file.
10100 * config/score/sfp-machine.h: New file.
10101 * config.host (sfp_machine_header): Explain.
10102 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10103 t-softfp to tmake_file.
10104 (arm*-*-uclinux*): Likewise.
10105 (arm*-*-ecos-elf): Likewise.
10106 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10107 (arm*-*-rtems*): Likewise.
10108 (arm*-*-elf): Likewise.
10109 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10110 in tmake_file.
10111 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10112 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10113 (lm32-*-uclinux*): Likewise.
10114 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10115 t-softfp-excl, t-softfp.
10116 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10117 (powerpc64-*-darwin*): Likewise.
10118 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10119 to tmake_file.
10120 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10121 tmake_file.
10122 (powerpc-*-eabisim*): Likewise.
10123 (powerpc-*-elf*): Likewise.
10124 (powerpc-*-eabialtivec*): Likewise.
10125 (powerpc-xilinx-eabi*): Likewise.
10126 (powerpc-*-rtems*): Likewise.
10127 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10128 t-softfp-excl, t-softfp to tmake_file.
10129 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10130 rs6000/t-ppccomm-ldbl to tmake_file.
10131 (powerpcle-*-elf*): Likewise.
10132 (powerpcle-*-eabisim*): Likewise.
10133 (powerpcle-*-eabi*): Likewise.
10134 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10135 rs6000/t-ibm-ldouble to tmake_file.
10136 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10137 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10138 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10139 (tic6x-*-*): Likewise.
10140 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10141 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10142 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10143 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10144 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10145 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10146 t-softfp to tmake_file.
10147 * configure.ac (sfp_machine_header): Provide default if unset.
10148 Substitute.
10149 Link sfp-machine.h to config/$sfp_machine_header.
10150 * configure: Regenerate.
10151
10152 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10153
10154 * Makefile.in (double_type_size, long_double_type_size): Set.
10155 Remove $(fpbit-in-libgcc) support.
10156 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10157 (fpbit-src): New variable.
10158 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10159 Compile with -DFLOAT $(FPBIT_CFLAGS).
10160 Use $<.
10161 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10162 Compile with $(FPBIT_CFLAGS).
10163 Use $<.
10164 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10165 Compile with -DFLOAT $(TPBIT_CFLAGS).
10166 Use $<.
10167 * configure.ac (double_type_size, long_double_type_size):
10168 Determine and substitute.
10169 * configure: Regenerate.
10170 * fp-bit.c, fp-bit.h: New files.
10171 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10172 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10173 * config/mips/t-mips: New file.
10174 * config/mips/t-sdemtk: New file.
10175 * config/rs6000/ppc64-fp.c: New file.
10176 * config/rs6000/t-darwin (LIB2ADD): Add
10177 $(srcdir)/config/rs6000/ppc64-fp.c.
10178 * config/rs6000/t-ppc64-fp: New file.
10179 * config/rx/rx-lib.h: New file.
10180 * config/rx/t-rx (FPBIT): Set to true.
10181 ($(gcc_objdir)/fp-bit.c): Remove.
10182 (DPBIT): Set to true only with -m64bit-doubles.
10183 ($(gcc_objdir)/dp-bit.c): Remove.
10184 * config/sparc/t-softfp: Remove.
10185 * config/spu/t-elf: New file.
10186 * config/t-fdpbit, config/t-fpbit: New files.
10187 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10188 (mips*-*-*): Likewise.
10189 (arm-wrs-vxworks): Likewise.
10190 (arm*-*-freebsd*): Likewise.
10191 (avr-*-rtems*): Add t-fpbit to tmake_file.
10192 (avr-*-*): Likewise.
10193 (bfin*-elf*): Add t-fdpbit to tmake_file.
10194 (bfin*-uclinux*): Likewise.
10195 (bfin*-linux-uclibc*): Likewise.
10196 (bfin*-rtems*): New case.
10197 Add t-fdpbit to tmake_file.
10198 (bfin*-*): Add t-fdpbit to tmake_file.
10199 (crisv32-*-elf): Likewise.
10200 (cris-*-linux*): Likewise.
10201 (fr30-*-elf): Likewise.
10202 (frv-*-elf, frv-*-*linux*): Likewise.
10203 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10204 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10205 (m32r-*-elf*): Likewise.
10206 (m32rle-*-elf*): Likewise.
10207 (m32r-*-linux*): Likewise.
10208 (m32rle-*-linux*): Likewise.
10209 (mcore-*-elf): Add t-fdpbit to tmake_file.
10210 (microblaze*-*-*): Likewise.
10211 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10212 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10213 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10214 Fix typo.
10215 Add mips/t-tpbit to tmake-file.
10216 (mips*-*-linux*): Fix typo.
10217 (mips*-sde-elf*): New case
10218 Add mips/t-sdemtk unless using newlib.
10219 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10220 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10221 (mn10300-*-*): Likewise.
10222 (pdp11-*-*): Likewise.
10223 (picochip-*-*): Add t-fpbit to tmake_file.
10224 (powerpc-*-eabisimaltivec*): Likewise.
10225 (powerpc-*-eabisim*): Likewise.
10226 (powerpc-*-elf*): Likewise.
10227 (powerpc-*-eabialtivec*): Likewise.
10228 (powerpc-xilinx-eabi*): New case.
10229 Add t-fdpbit to tmake_file.
10230 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10231 (powerpc-*-rtems*): Likewise.
10232 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10233 tmake_file.
10234 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10235 tmake_file.
10236 (powerpc-*-lynxos*): Likewise.
10237 (powerpcle-*-elf*): Likewise.
10238 (powerpcle-*-eabisim*): Likewise.
10239 (powerpcle-*-eabi*): Likewise.
10240 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10241 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10242 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10243 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10244 (rx-*-elf): Add t-fdpbit to tmake_file.
10245 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10246 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10247 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10248 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10249 sh*-*-netbsd*.
10250 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10251 (sh-wrs-vxworks): Likewise.
10252 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10253 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10254 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10255 (sparc64-*-rtems*): ... new case.
10256 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10257 (spu-*-elf*): Likewise.
10258 Add spu/t-elf to tmake_file.
10259 (v850*-*-*): Add t-fdpbit to tmake_file.
10260 (xstormy16-*-elf): Likewise.
10261 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10262 (mep*-*-*): Likewise.
10263
10264 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10265
10266 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10267 variables.
10268 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10269 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10270 (install-unwind_h): New target.
10271 (all): Depend on it.
10272 * config.host (unwind_header): New variable.
10273 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10274 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10275 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10276 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10277 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10278 Set unwind_header.
10279 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10280 Set unwind_header.
10281 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10282 arm*-*-eabi*.
10283 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10284 Set unwind_header.
10285 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10286 (ia64*-*-freebsd*): Likewise.
10287 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10288 tmake_file.
10289 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10290 $with_system_libunwind.
10291 (ia64*-*-hpux*): Set tmake_file.
10292 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10293 (picochip-*-*): Set tmake_file.
10294 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10295 md_unwind_header.
10296 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10297 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10298 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10299 (xtensa*-*-elf*): Set tmake_file.
10300 (xtensa*-*-linux*): Likewise.
10301 * configure.ac: Include ../config/unwind_ipinfo.m4.
10302 Call GCC_CHECK_UNWIND_GETIPINFO.
10303 Link unwind.h to $unwind_header.
10304 * configure: Regenerate.
10305 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10306 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10307 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10308 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10309 * config/unwind-dw2-fde-darwin.c: New file.
10310 * config/arm/libunwind.S, config/arm/pr-support.c,
10311 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10312 config/arm/unwind-arm.h,: New files.
10313 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10314 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10315 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10316 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10317 config/ia64/unwind-ia64.h: New files.
10318 * config/picochip/t-picochip: New file.
10319 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10320 files.
10321 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10322 * config/s390/t-tpf (LIB2ADDEH): Remove.
10323 * config/t-darwin (LIB2ADDEH): Set.
10324 * config/t-eh-dw2-dip: New file.
10325 * config/t-libunwind, config/t-libunwind-elf: New files.
10326 * config/t-sol2 (LIB2ADDEH): Remove.
10327 * config/xtensa/t-xtensa: New file.
10328
10329 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10330
10331 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10332 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10333 long long to check rt_sigreturn syscall.
10334
10335 2011-08-02 Alan Modra <amodra@gmail.com>
10336
10337 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10338 Restore for indirect call bcrtl from correct stack slot, and only
10339 if cfa+40 isn't valid.
10340
10341 2011-08-01 Julian Brown <julian@codesourcery.com>
10342
10343 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10344 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10345 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10346
10347 2011-08-01 Julian Brown <julian@codesourcery.com>
10348
10349 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10350 (libgcc-std.ver.in): Use above.
10351 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10352 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10353 throughout file.
10354 * config/t-fixedpoint-gnu-prefix: New file.
10355 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10356 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10357 instead of __PFX__.
10358
10359 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10360
10361 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10362 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10363 for x86-64. Properly check __x86_64__ and __LP64__.
10364
10365 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10366
10367 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10368 version.
10369 (_FP_WS_TYPE): Likewise.
10370 (_FP_I_TYPE): Likewise.
10371
10372 2011-07-28 Alan Modra <amodra@gmail.com>
10373
10374 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10375 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10376 in a plt call stub. Do restore r2 if stopped on bctrl.
10377
10378 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10379
10380 * config.host (i[3456x]86-*-netware*): Remove.
10381 * config/i386/netware-crt0.c, config/i386/t-nwld,
10382 config/i386/t-slibgcc-nwld: Remove.
10383
10384 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10385
10386 * config.host: Handle tic6x-*-*.
10387 * config/c6x/c6x-abi.h: New file.
10388
10389 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10390
10391 * config/i386/crtprec.c: New file.
10392 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10393 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10394 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10395 (x86_64-*-darwin*): Likewise.
10396 (i[34567]86-*-solaris2*: Likewise.
10397
10398 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10399
10400 * config/alpha/crtfastmath.c: New file.
10401 * config/i386/crtfastmath.c: New file.
10402 * config/ia64/crtfastmath.c: New file.
10403 * config/mips/crtfastmath.c: New file.
10404 * config/sparc/crtfastmath.c: New file.
10405
10406 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10407 crtfastmath.c.
10408 Add -frandom-seed=gcc-crtfastmath.
10409 * config/alpha/t-crtfm: Remove.
10410 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10411 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10412
10413 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10414 (alpha*-dec-osf5.1*): Likewise.
10415 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10416 Add crtfastmath.o to extra_parts.
10417 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10418 Add crtfastmath.o to extra_parts.
10419 (x86_64-*-darwin*): Likewise.
10420 (x86_64-*-mingw*): Likewise.
10421 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10422 (ia64*-*-freebsd*): Likewise.
10423 (ia64*-*-linux*): Likewise.
10424 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10425 Add crtfastmath.o to extra_parts.
10426
10427 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10428
10429 * config/darwin-crt3.o: New file.
10430 * config/rs6000/darwin-crt2.c: New file.
10431 * config/t-darwin: New file.
10432 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10433 (crt2.o): New rule.
10434 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10435 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10436 (powerpc64-*-darwin*): Likewise.
10437
10438 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10439
10440 * config/i386/netware-crt0.c: New file.
10441 * config/i386/t-nwld: Rename to ...
10442 * config/i386/t-slibgcc-nwld: ... this.
10443 * config/i386/t-nwld: New file.
10444 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10445 tmake_file.
10446 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10447 extra_parts.
10448
10449 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10450
10451 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10452 i386/t-crtstuff.
10453 * configure: Regenerate.
10454
10455 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10456
10457 * dfp-bit.c, dfp-bit.h: New files.
10458 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10459 variables.
10460 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10461 ($(d64pbit-o)): Likewise.
10462 ($(d128pbit-o)): Likewise.
10463 * config/t-dfprules: New file.
10464 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10465 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10466 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10467 (x86_64-*-linux*): Likewise.
10468 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10469 (i[34567]86-*-cygwin*): Likewise.
10470 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10471 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10472
10473 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10474
10475 * Makfile.in (LIBGCOV): New variable.
10476 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10477 * libgcov.c: New file.
10478
10479 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10480
10481 * fixed-bit.c, fixed-bit.h: New files.
10482 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10483 refer to fixed-bit.c.
10484
10485 2011-07-07 Joseph Myers <joseph@codesourcery.com>
10486
10487 * config.host (*local*): Remove.
10488
10489 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10490
10491 PR target/39150
10492 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10493 like i?86-*-solaris2.1[0-9]*.
10494 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10495 * configure.ac (i?86-*-solaris2*): Likewise.
10496 * configure: Regenerate.
10497
10498 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
10499
10500 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10501 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10502 md_unwind_header by splitting out of...
10503 (i[34567]86-*-linux*): ... this.
10504 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10505 Remove md_unwind_header by splitting out of...
10506 (x86_64-*-linux*): ... this.
10507
10508 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
10509
10510 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10511
10512 2011-06-28 Nick Clifton <nickc@redhat.com>
10513
10514 * config.host: Recognize all V850 variants.
10515
10516 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
10517
10518 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10519
10520 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10521
10522 * shared-object.mk (c_flags-$o): Save c_flags.
10523 ($(base)$(objext)): Use it.
10524 ($(base)_s$(objext)): Likewise.
10525
10526 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10527
10528 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10529 * libgcc-std.ver.in (GCC_4.7.0): New section.
10530
10531 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
10532
10533 PR target/49313
10534 PR target/29524
10535 * config/avr/t-avr: Fix line endings.
10536 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10537 _parityXX2.
10538
10539 2011-06-14 Olivier Hainque <hainque@adacore.com>
10540 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10541
10542 * config/mips/irix6-unwind.h: New file.
10543 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10544
10545 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10546
10547 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10548 (sparc64_fallback_frame_state): Use it.
10549 (sparc64_frob_update_context): Further adjust context.
10550 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10551 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10552 * config/sparc/sol2-cn.S: Likewise.
10553
10554 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10555
10556 * enable-execute-stack-empty.c: New file.
10557 * enable-execute-stack-mprotect.c: New file.
10558 * config/i386/enable-execute-stack-mingw32.c: New file.
10559 * config.host (enable_execute_stack): New variable.
10560 Select appropriate variants.
10561 * configure.ac: Link enable-execute-stack.c to
10562 $enable_execute_stack.
10563 * configure: Regenerate.
10564 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10565 (lib2funcs): Remove _enable_execute_stack.
10566
10567 2011-06-09 David S. Miller <davem@davemloft.net>
10568 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10569
10570 * config.host (sparc-*-linux*): Correct md_unwind_header
10571 filename.
10572 (s390x-ibm-tpf*): Fix typo.
10573
10574 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10575
10576 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10577 Add crtfastmath.o to extra_parts.
10578 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10579 mips/t-crtfm.
10580 * config/mips/t-crtfm: Remove.
10581
10582 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10583
10584 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10585
10586 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10587
10588 * config.host (sh*-*-linux*): Fix typo.
10589
10590 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10591
10592 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10593 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10594 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10595 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10596 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10597 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10598 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10599 Wrap in !__MINGW64__.
10600 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10601 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10602 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10603 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10604 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10605 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10606 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10607 Wrap in !__LP64__.
10608 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10609 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10610 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10611 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10612 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10613 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10614 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10615 * config/no-unwind.h: New file.
10616 * config.host (md_unwind_header): Document.
10617 Define.
10618 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10619 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10620 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10621 hppa[12]*-*-hpux11*): Set md_unwind_header.
10622 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10623 Set md_unwind_header.
10624 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10625 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10626 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10627 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10628 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10629 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10630 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10631 md_unwind_header.
10632 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10633 * configure: Regenerate.
10634
10635 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10636
10637 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10638 Set tmake_file, extra_parts.
10639 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10640 Remove O32 support.
10641 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10642 Remove O32 support.
10643 * config/mips/t-irix6: New file.
10644 * config/mips/t-slibgcc-irix: New file.
10645
10646 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10647
10648 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10649 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10650
10651 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10652
10653 * configure.ac (target_thread_file): Determine thread model.
10654 * configure: Regenerate.
10655 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10656 * config/alpha/t-alpha: New file.
10657 * config/alpha/t-crtfm: Use $<.
10658 * config/alpha/t-ieee: New file.
10659 * config/alpha/t-osf-pthread: New file.
10660 * config/alpha/t-slibgcc-osf: New file.
10661 * config/alpha/libgcc-osf5.ver: New file.
10662
10663 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10664
10665 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10666 tmake_file.
10667 Add crtfastmath.o to extra_parts.
10668
10669 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10670
10671 * config/gmon-sol2.c: Reindent.
10672 Cleanup comments.
10673 Remove, correct casts.
10674 Use STDERR_FILENO, NULL.
10675 (BASEADDRESS): Remove.
10676 (minbrk): Remove.
10677 (errno, sbrk): Remove declarations.
10678 (monstartup) [hp300]: Remove.
10679 (mcount): Remove.
10680
10681 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10682
10683 * Makefile.in (cpu_type): Define.
10684 * config.host (i[34567]86-*-rtems*): Handle it.
10685 (i[34567]86-*-solaris2*): Move body ...
10686 (*-*-solaris2*): ... here.
10687 New case, generalize.
10688 (sparc-*-elf*): Handle it.
10689 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10690 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10691 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10692 Fold into ...
10693 (sparc*-*-solaris2*): ... this.
10694 New case.
10695 (sparc64-*-elf*): Handle it.
10696 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10697 Merge ../gcc/config/i386/gmon-sol2.c.
10698 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10699 Use C comments.
10700 Merge ../gcc/config/i386/sol2-gc1.asm.
10701 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10702 Use C comments.
10703 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10704 Use C comments.
10705 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10706 * config/i386/t-crtstuff: New file.
10707 * config/i386/t-softfp: New file.
10708 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10709 $(T)crti.o, $(T)crtn.o): Remove.
10710 (gcrt1.o): New rule.
10711 (TARGET_LIBGCC2_CFLAGS): Remove.
10712 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10713 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10714 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10715 * config/sparc/t-sol2: New file.
10716 * config/sparc/t-crtfm: Move to ...
10717 * config/t-crtfm: ... this.
10718 Use $(cpu_type), $<.
10719 * config/t-crtin: New file.
10720 * config/sparc/t-softfp: New file.
10721 * config/sparc/t-softmul: New file.
10722 * config/t-rtems: New file.
10723 * config/t-slibgcc: New file.
10724 * config/t-slibgcc-elf-ver: New file.
10725 * config/t-slibgcc-gld: New file.
10726 * config/t-slibgcc-sld: New file.
10727 * config/t-sol2: New file.
10728 * configure.ac: Include ../config/lib-ld.m4.
10729 Call AC_LIB_PROG_LD_GNU.
10730 Substitute cpu_type.
10731 * configure: Regenerate.
10732
10733 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10734
10735 PR bootstrap/49173
10736 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10737 libgcc-std.ver in the build directory.
10738 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10739 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10740
10741 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10742
10743 * libgcc-std.ver.in: New file.
10744 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10745 variables.
10746 (libgcc-std.ver): New rule.
10747 * config/t-gnu-prefix: New file.
10748
10749 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10750
10751 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10752
10753 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10754
10755 * config/i386/darwin-lib.h: New file.
10756
10757 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10758
10759 * config/arm/symbian-lib.h: New.
10760
10761 2011-05-04 Chris Demetriou <cgd@google.com>
10762
10763 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10764 (__x86.get_pc_thunk.bx): ...this.
10765 (__morestack): Adjust for rename, remove undef of __i686.
10766
10767 2011-05-03 Chris Demetriou <cgd@google.com>
10768
10769 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10770
10771 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10772
10773 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10774 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10775 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10776 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10777 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10778 Remove cases.
10779
10780 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10781
10782 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10783 Adjust copyright year.
10784
10785 2011-03-07 Ian Lance Taylor <iant@google.com>
10786
10787 * generic-morestack.c (__splitstack_find): Adjust returned stack
10788 pointer to include all registers pushed by __morestack.
10789
10790 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10791
10792 PR target/40125
10793 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10794 (toolexecdir): Calculate and AC_SUBST.
10795 (toolexeclibdir): Likewise.
10796 * Makefile.in (target_noncanonical): Import.
10797 (toolexecdir): Likewise.
10798 (toolexeclibdir): Likewise.
10799 * configure: Regenerate.
10800
10801 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10802
10803 PR target/46040
10804 * config/arm/bpabi.h: Rename to...
10805 * config/arm/bpabi-lib.h: ...this.
10806
10807 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10808
10809 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10810 appropriate.
10811 * configure: Regenerate.
10812
10813 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10814
10815 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10816 __FLOAT_WORD_ORDER__.
10817 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10818 Delete.
10819
10820 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10821
10822 PR other/46202
10823 * Makefile.in (install-strip): New phony target.
10824
10825 2010-11-07 Ian Lance Taylor <iant@google.com>
10826
10827 PR target/46089
10828 * config/i386/morestack.S (__morestack_large_model): New
10829 function.
10830
10831 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10832
10833 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10834 Delete.
10835 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10836
10837 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10838
10839 * config/arm/bpabi.h: New file.
10840 * config/frv/frv-abi.h: New file.
10841
10842 2010-10-01 Ian Lance Taylor <iant@google.com>
10843
10844 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10845 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10846
10847 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10848
10849 PR target/45858
10850 * config.host: Add the missing `$'.
10851
10852 2010-09-30 Michael Eager <eager@eagercon.com>
10853
10854 * config.host: Add microblaze*-*-*.
10855 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10856 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10857 udivsi3.asm,umodsi3.asm}: New.
10858
10859 2010-09-28 Ian Lance Taylor <iant@google.com>
10860
10861 * configure.ac: Adjust CFI test to test assembler directly rather
10862 than checking gcc preprocessor macro.
10863 * configure: Rebuild.
10864
10865 2010-09-27 Ian Lance Taylor <iant@google.com>
10866
10867 * configure.ac: Test whether assembler supports CFI directives.
10868 * config.host: Only add t-stack and i386/t-stack-i386 to
10869 tmake_file if libgcc_cv_cfi is "yes".
10870 * configure: Rebuild.
10871
10872 2010-09-27 Ian Lance Taylor <iant@google.com>
10873
10874 * generic-morestack.h: New file.
10875 * generic-morestack.c: New file.
10876 * generic-morestack-thread.c: New file.
10877 * config/i386/morestack.S: New file.
10878 * config/t-stack: New file.
10879 * config/i386/t-stack-i386: New file.
10880 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10881 i386/t-stack-i386 to tmake_file.
10882
10883 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10884
10885 * Makefile.in (libgcc-extra-parts): Check for static archives and
10886 invoke ranlib after installing them.
10887 (gcc-extra-parts): Likewise.
10888 (install-leaf): Likewise.
10889
10890 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10891
10892 * configure: Regenerated.
10893
10894 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10895
10896 * configure: Regenerated.
10897
10898 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10899 Andrew Pinski <pinskia@gmail.com>
10900
10901 PR target/40959
10902 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10903
10904 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10905
10906 PR target/45524
10907 * configure: Regenerated.
10908
10909 2010-09-06 Andreas Schwab <schwab@redhat.com>
10910
10911 * configure: Regenerate.
10912
10913 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10914
10915 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10916 64bit targets.
10917 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10918 for 64bit targets.
10919
10920 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10921 Iain Sandoe <iains@gcc.gnu.org>
10922
10923 PR target/45476
10924 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10925 LIB2FUNCS_EXCLUDE functions.
10926
10927 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10928
10929 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10930 Include dfp.m4.
10931 * configure: Regenerate.
10932
10933 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10934
10935 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10936 i386/t-freebsd to tmake_file.
10937 * config/i386/t-freebsd: New file.
10938 * config/i386/libgcc-bsd.ver: New file.
10939
10940 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10941
10942 * config.host (powerpc*-eabispe*): Set tmake_file.
10943 (powerpc*-eabi*): Likewise.
10944 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10945 crtbeginS, crtendS, crtbeginT.
10946
10947 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10948
10949 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10950 to tmake_file. Add crtfastmath.o to extra_parts.
10951 * config/mips/t-crtfm: New.
10952
10953 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10954
10955 * config.host (sparc64-*-rtems*): New target.
10956
10957 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10958
10959 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10960 assembler syntax.
10961
10962 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10963
10964 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10965
10966 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10967
10968 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10969 alpha-dec-osf5.0* support.
10970
10971 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10972
10973 * config.host: Add lm32-*-rtems*.
10974
10975 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10976 Uros Bizjak <ubizjak@gmail.com>
10977
10978 PR target/39048
10979 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10980 like other remaining 32-bit x86 OSes.
10981 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10982 assembler syntax.
10983 * config/i386/libgcc-sol2.ver: New file.
10984 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10985
10986 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10987
10988 PR c/43553
10989 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10990 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10991 is used and substitute set_use_emutls.
10992 * configure: Regenerated.
10993
10994 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10995
10996 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10997
10998 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10999
11000 PR target/38085
11001 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11002 MULTILIB_CFLAGS.
11003 ($(T)gcrt1.o): Likewise.
11004 ($(T)crt1.o): Likewise.
11005 ($(T)crti.o): Likewise.
11006 ($(T)crtn.o): Likewise.
11007
11008 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11009
11010 PR other/42980
11011 * Makefile.in (install): Use $(MAKE) string in rule, for
11012 parallel make.
11013
11014 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11015
11016 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11017 * config/mmix/t-mmix: New file.
11018 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11019
11020 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11021
11022 PR java/41991
11023 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11024 SHLIB_MAPFILES.
11025
11026 2010-01-04 Anthony Green <green@moxielogic.com>
11027
11028 * config/moxie/crti.asm, config/moxie/crtn.asm,
11029 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11030 config/moxie/t-moxie: New files.
11031 * config.host: Add t-moxie-softfp reference.
11032
11033 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
11034
11035 PR other/39888
11036 * config/t-slibgcc-darwin: Fix embedded rpaths for
11037 --enable-version-specific-runtime-libs, build extension stub
11038 libs exposing features available from current libgcc_s.
11039
11040 2009-11-11 Jon Beniston <jon@beniston.com>
11041
11042 * config.host: Add lm32 targets.
11043 * config/lm32: New directory.
11044 * config/lm32/libgcc_lm32.h: New file.
11045 * config/lm32/_mulsi3.c: New file.
11046 * config/lm32/_udivmodsi4.c: New file.
11047 * config/lm32/_divsi3.c: New file.
11048 * config/lm32/_modsi3.c: New file.
11049 * config/lm32/_udivsi3.c: New file.
11050 * config/lm32/_umodsi3.c: New file.
11051 * config/lm32/_lshrsi3.S: New file.
11052 * config/lm32/_ashrsi3.S: New file.
11053 * config/lm32/_ashlsi3.S: New file.
11054 * config/lm32/crti.S: New file.
11055 * config/lm32/crtn.S: New file.
11056 * config/lm32/t-lm32: New file.
11057 * config/lm32/t-elf: New file.
11058 * config/lm32/t-uclinux: New file.
11059
11060 2009-10-26 Nick Clifton <nickc@redhat.com>
11061
11062 * config.host: Add support for RX target.
11063 * config/rx: New directory.
11064 * config/rx/rx-abi-functions.c: New file. Supplementary
11065 functions for libgcc to support the RX ABI.
11066 * config/rx/rx-abi.h: New file. Supplementary header file for
11067 libgcc RX ABI functions.
11068 * config/rx/t-rx: New file: Makefile fragment for building
11069 libgcc for the RX.
11070
11071 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
11072
11073 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11074 constraint of y0 to "g".
11075
11076 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11077
11078 * config.host: Include the s390 makefile fragments.
11079 * config/s390/32/_fixdfdi.c: New file.
11080 * config/s390/32/_fixsfdi.c: New file.
11081 * config/s390/32/_fixtfdi.c: New file.
11082 * config/s390/32/_fixunsdfdi.c: New file.
11083 * config/s390/32/_fixunssfdi.c: New file.
11084 * config/s390/32/_fixunstfdi.c: New file.
11085 * config/s390/32/t-floattodi: New file.
11086 * config/s390/libgcc-glibc.ver: New file.
11087 * config/s390/t-crtstuff: New file.
11088 * config/s390/t-linux: New file.
11089 * config/s390/t-tpf: New file.
11090
11091 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11092
11093 * configure.ac (AC_PREREQ): Bump to 2.64.
11094
11095 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11096
11097 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11098
11099 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11100
11101 * configure: Regenerate.
11102
11103 2009-08-09 Douglas B Rupp <rupp@gnat.com>
11104
11105 * config.host (ia64-hp-*vms*): New target.
11106 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11107 with ia64-hp-*vms*.
11108
11109 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11110
11111 * configure.ac: Add snippet for maintainer-mode.
11112 * configure: Regenerate.
11113 * Makefile.in (AUTOCONF, configure_deps): New variables.
11114 ($(srcdir)/configure)): New rule, active only with maintainer
11115 mode turned on.
11116
11117 2009-06-23 DJ Delorie <dj@redhat.com>
11118
11119 Add MeP port.
11120 * config.host: Add mep support.
11121
11122 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
11123
11124 * config.host: Add i386/${host_address}/t-fprules-softfp and
11125 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11126
11127 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11128 for mingw targets.
11129 * config/i386/64/_multc3.c: Likewise.
11130 * config/i386/64/_powitf2.c: Likewise.
11131 * config/i386/64/eqtf2.c: Likewise.
11132 * config/i386/64/getf2.c: Likewise.
11133 * config/i386/64/letf2.c: Likewise.
11134 * config/i386/64/letf2.c: Likewise.
11135 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11136 unsigned long long for x64 mingw targets.
11137 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11138 (_FP_I_TYPE): Define as long long for x64 mingw target.
11139
11140 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11141
11142 * config.host (vax-*-linux*): New.
11143
11144 2009-05-31 Anthony Green <green@moxielogic.com>
11145
11146 * config.host: Add moxie support.
11147 * config/moxie/t-moxie: New file.
11148
11149 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
11150
11151 * config.host: Add i386/${host_address}/t-fprules-softfp and
11152 t-softfp to tmake_file for i[34567]86-*-cygwin*.
11153
11154 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11155
11156 * config.host: Add i386/${host_address}/t-fprules-softfp to
11157 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11158
11159 2009-04-09 Nick Clifton <nickc@redhat.com>
11160
11161 * config/ia64/tf-signs.c: Change copyright header to refer to
11162 version 3 of the GNU General Public License with version 3.1
11163 of the GCC Runtime Library Exception and to point readers at
11164 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11165 web page.
11166 * config/i386/32/tf-signs.c: Likewise.
11167 * config/libbid/_addsub_dd.c: Likewise.
11168 * config/libbid/_addsub_sd.c: Likewise.
11169 * config/libbid/_addsub_td.c: Likewise.
11170 * config/libbid/_dd_to_df.c: Likewise.
11171 * config/libbid/_dd_to_di.c: Likewise.
11172 * config/libbid/_dd_to_sd.c: Likewise.
11173 * config/libbid/_dd_to_sf.c: Likewise.
11174 * config/libbid/_dd_to_si.c: Likewise.
11175 * config/libbid/_dd_to_td.c: Likewise.
11176 * config/libbid/_dd_to_tf.c: Likewise.
11177 * config/libbid/_dd_to_udi.c: Likewise.
11178 * config/libbid/_dd_to_usi.c: Likewise.
11179 * config/libbid/_dd_to_xf.c: Likewise.
11180 * config/libbid/_df_to_dd.c: Likewise.
11181 * config/libbid/_df_to_sd.c: Likewise.
11182 * config/libbid/_df_to_td.c: Likewise.
11183 * config/libbid/_di_to_dd.c: Likewise.
11184 * config/libbid/_di_to_sd.c: Likewise.
11185 * config/libbid/_di_to_td.c: Likewise.
11186 * config/libbid/_div_dd.c: Likewise.
11187 * config/libbid/_div_sd.c: Likewise.
11188 * config/libbid/_div_td.c: Likewise.
11189 * config/libbid/_eq_dd.c: Likewise.
11190 * config/libbid/_eq_sd.c: Likewise.
11191 * config/libbid/_eq_td.c: Likewise.
11192 * config/libbid/_ge_dd.c: Likewise.
11193 * config/libbid/_ge_sd.c: Likewise.
11194 * config/libbid/_ge_td.c: Likewise.
11195 * config/libbid/_gt_dd.c: Likewise.
11196 * config/libbid/_gt_sd.c: Likewise.
11197 * config/libbid/_gt_td.c: Likewise.
11198 * config/libbid/_isinfd128.c: Likewise.
11199 * config/libbid/_isinfd32.c: Likewise.
11200 * config/libbid/_isinfd64.c: Likewise.
11201 * config/libbid/_le_dd.c: Likewise.
11202 * config/libbid/_le_sd.c: Likewise.
11203 * config/libbid/_le_td.c: Likewise.
11204 * config/libbid/_lt_dd.c: Likewise.
11205 * config/libbid/_lt_sd.c: Likewise.
11206 * config/libbid/_lt_td.c: Likewise.
11207 * config/libbid/_mul_dd.c: Likewise.
11208 * config/libbid/_mul_sd.c: Likewise.
11209 * config/libbid/_mul_td.c: Likewise.
11210 * config/libbid/_ne_dd.c: Likewise.
11211 * config/libbid/_ne_sd.c: Likewise.
11212 * config/libbid/_ne_td.c: Likewise.
11213 * config/libbid/_sd_to_dd.c: Likewise.
11214 * config/libbid/_sd_to_df.c: Likewise.
11215 * config/libbid/_sd_to_di.c: Likewise.
11216 * config/libbid/_sd_to_sf.c: Likewise.
11217 * config/libbid/_sd_to_si.c: Likewise.
11218 * config/libbid/_sd_to_td.c: Likewise.
11219 * config/libbid/_sd_to_tf.c: Likewise.
11220 * config/libbid/_sd_to_udi.c: Likewise.
11221 * config/libbid/_sd_to_usi.c: Likewise.
11222 * config/libbid/_sd_to_xf.c: Likewise.
11223 * config/libbid/_sf_to_dd.c: Likewise.
11224 * config/libbid/_sf_to_sd.c: Likewise.
11225 * config/libbid/_sf_to_td.c: Likewise.
11226 * config/libbid/_si_to_dd.c: Likewise.
11227 * config/libbid/_si_to_sd.c: Likewise.
11228 * config/libbid/_si_to_td.c: Likewise.
11229 * config/libbid/_td_to_dd.c: Likewise.
11230 * config/libbid/_td_to_df.c: Likewise.
11231 * config/libbid/_td_to_di.c: Likewise.
11232 * config/libbid/_td_to_sd.c: Likewise.
11233 * config/libbid/_td_to_sf.c: Likewise.
11234 * config/libbid/_td_to_si.c: Likewise.
11235 * config/libbid/_td_to_tf.c: Likewise.
11236 * config/libbid/_td_to_udi.c: Likewise.
11237 * config/libbid/_td_to_usi.c: Likewise.
11238 * config/libbid/_td_to_xf.c: Likewise.
11239 * config/libbid/_tf_to_dd.c: Likewise.
11240 * config/libbid/_tf_to_sd.c: Likewise.
11241 * config/libbid/_tf_to_td.c: Likewise.
11242 * config/libbid/_udi_to_dd.c: Likewise.
11243 * config/libbid/_udi_to_sd.c: Likewise.
11244 * config/libbid/_udi_to_td.c: Likewise.
11245 * config/libbid/_unord_dd.c: Likewise.
11246 * config/libbid/_unord_sd.c: Likewise.
11247 * config/libbid/_unord_td.c: Likewise.
11248 * config/libbid/_usi_to_dd.c: Likewise.
11249 * config/libbid/_usi_to_sd.c: Likewise.
11250 * config/libbid/_usi_to_td.c: Likewise.
11251 * config/libbid/_xf_to_dd.c: Likewise.
11252 * config/libbid/_xf_to_sd.c: Likewise.
11253 * config/libbid/_xf_to_td.c: Likewise.
11254 * config/libbid/bid128.c: Likewise.
11255 * config/libbid/bid128_2_str.h: Likewise.
11256 * config/libbid/bid128_2_str_macros.h: Likewise.
11257 * config/libbid/bid128_2_str_tables.c: Likewise.
11258 * config/libbid/bid128_add.c: Likewise.
11259 * config/libbid/bid128_compare.c: Likewise.
11260 * config/libbid/bid128_div.c: Likewise.
11261 * config/libbid/bid128_fma.c: Likewise.
11262 * config/libbid/bid128_logb.c: Likewise.
11263 * config/libbid/bid128_minmax.c: Likewise.
11264 * config/libbid/bid128_mul.c: Likewise.
11265 * config/libbid/bid128_next.c: Likewise.
11266 * config/libbid/bid128_noncomp.c: Likewise.
11267 * config/libbid/bid128_quantize.c: Likewise.
11268 * config/libbid/bid128_rem.c: Likewise.
11269 * config/libbid/bid128_round_integral.c: Likewise.
11270 * config/libbid/bid128_scalb.c: Likewise.
11271 * config/libbid/bid128_sqrt.c: Likewise.
11272 * config/libbid/bid128_string.c: Likewise.
11273 * config/libbid/bid128_to_int16.c: Likewise.
11274 * config/libbid/bid128_to_int32.c: Likewise.
11275 * config/libbid/bid128_to_int64.c: Likewise.
11276 * config/libbid/bid128_to_int8.c: Likewise.
11277 * config/libbid/bid128_to_uint16.c: Likewise.
11278 * config/libbid/bid128_to_uint32.c: Likewise.
11279 * config/libbid/bid128_to_uint64.c: Likewise.
11280 * config/libbid/bid128_to_uint8.c: Likewise.
11281 * config/libbid/bid32_to_bid128.c: Likewise.
11282 * config/libbid/bid32_to_bid64.c: Likewise.
11283 * config/libbid/bid64_add.c: Likewise.
11284 * config/libbid/bid64_compare.c: Likewise.
11285 * config/libbid/bid64_div.c: Likewise.
11286 * config/libbid/bid64_fma.c: Likewise.
11287 * config/libbid/bid64_logb.c: Likewise.
11288 * config/libbid/bid64_minmax.c: Likewise.
11289 * config/libbid/bid64_mul.c: Likewise.
11290 * config/libbid/bid64_next.c: Likewise.
11291 * config/libbid/bid64_noncomp.c: Likewise.
11292 * config/libbid/bid64_quantize.c: Likewise.
11293 * config/libbid/bid64_rem.c: Likewise.
11294 * config/libbid/bid64_round_integral.c: Likewise.
11295 * config/libbid/bid64_scalb.c: Likewise.
11296 * config/libbid/bid64_sqrt.c: Likewise.
11297 * config/libbid/bid64_string.c: Likewise.
11298 * config/libbid/bid64_to_bid128.c: Likewise.
11299 * config/libbid/bid64_to_int16.c: Likewise.
11300 * config/libbid/bid64_to_int32.c: Likewise.
11301 * config/libbid/bid64_to_int64.c: Likewise.
11302 * config/libbid/bid64_to_int8.c: Likewise.
11303 * config/libbid/bid64_to_uint16.c: Likewise.
11304 * config/libbid/bid64_to_uint32.c: Likewise.
11305 * config/libbid/bid64_to_uint64.c: Likewise.
11306 * config/libbid/bid64_to_uint8.c: Likewise.
11307 * config/libbid/bid_b2d.h: Likewise.
11308 * config/libbid/bid_binarydecimal.c: Likewise.
11309 * config/libbid/bid_conf.h: Likewise.
11310 * config/libbid/bid_convert_data.c: Likewise.
11311 * config/libbid/bid_decimal_data.c: Likewise.
11312 * config/libbid/bid_decimal_globals.c: Likewise.
11313 * config/libbid/bid_div_macros.h: Likewise.
11314 * config/libbid/bid_dpd.c: Likewise.
11315 * config/libbid/bid_flag_operations.c: Likewise.
11316 * config/libbid/bid_from_int.c: Likewise.
11317 * config/libbid/bid_functions.h: Likewise.
11318 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11319 * config/libbid/bid_inline_add.h: Likewise.
11320 * config/libbid/bid_internal.h: Likewise.
11321 * config/libbid/bid_round.c: Likewise.
11322 * config/libbid/bid_sqrt_macros.h: Likewise.
11323
11324 2009-04-09 Jakub Jelinek <jakub@redhat.com>
11325
11326 * Makefile.in: Change copyright header to refer to version
11327 3 of the GNU General Public License and to point readers at the
11328 COPYING3 file and the FSF's license web page.
11329 * config.host: Likewise.
11330
11331 2009-04-07 Alan Modra <amodra@bigpond.net.au>
11332
11333 * config.host: Reorder and merge to match config.gcc change.
11334
11335 2009-04-03 Alan Modra <amodra@bigpond.net.au>
11336
11337 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11338
11339 2009-03-28 Joseph Myers <joseph@codesourcery.com>
11340
11341 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11342 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11343 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11344 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11345
11346 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
11347
11348 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11349 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11350
11351 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11352
11353 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11354 ia64/t-softfp-compat to tmake_file.
11355
11356 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11357
11358 * config/ia64/__divxf3.asm: New.
11359 * config/ia64/_fixtfdi.asm: Likewise.
11360 * config/ia64/_fixunstfdi.asm: Likewise.
11361 * config/ia64/_floatditf.asm: Likewise.
11362 * config/ia64/t-fprules-softfp: Likewise.
11363 * config/ia64/t-softfp-compat: Likewise.
11364 * config/ia64/tf-signs.c: Likewise.
11365
11366 2009-01-18 Ben Elliston <bje@au.ibm.com>
11367
11368 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11369
11370 2009-01-16 Ben Elliston <bje@au.ibm.com>
11371
11372 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11373 to tmake_file.
11374
11375 2009-01-13 Ben Elliston <bje@au.ibm.com>
11376
11377 * config/t-softfp: New file.
11378 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11379 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11380
11381 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
11382
11383 * config.host: Add m32r*-*-rtems*.
11384
11385 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
11386
11387 * config.host: Add m32c*-*-rtems*.
11388
11389 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11390
11391 PR bootstrap/33100
11392 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11393 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11394 * configure: Regenerate.
11395 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11396 tmake_file here from gcc/config.gcc.
11397 Move extra_parts here from gcc/config.gcc.
11398 * config/i386/t-sol2: Move here from gcc/config/i386.
11399 Use gcc_srcdir instead of srcdir.
11400
11401 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11402
11403 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11404 case.
11405
11406 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11407
11408 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11409
11410 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11411
11412 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11413
11414 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11415
11416 Add picoChip port.
11417 * config.host: Add picochip-*-*.
11418
11419 2008-08-06 Bob Wilson <bob.wilson@acm.org>
11420
11421 * config.host: Match more processor names for Xtensa.
11422
11423 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11424
11425 * config/i386/64/t-softfp-compat: Update comments.
11426
11427 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11428
11429 * config/i386/64/_divtc3-compat.c: Moved to ...
11430 * config/i386/64/_divtc3.c: Here.
11431
11432 * config/i386/64/_multc3-compat.c: Moved to ...
11433 * config/i386/64/_multc3.c: Here.
11434
11435 * config/i386/64/_powitf2-compat.c: Moved to ...
11436 * config/i386/64/_powitf2.c: Here.
11437
11438 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11439 .c suffix instead of -compat.c.
11440
11441 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
11442
11443 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11444 (_FP_MUL_MEAT_D): Ditto.
11445 (_FP_DIV_MEAT_S): Ditto.
11446 (_FP_DIV_MEAT_D): Ditto.
11447
11448 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11449
11450 * Makefile.in: Add support for __sync_* libgcc functions.
11451
11452 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11453
11454 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11455
11456 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11457
11458 PR boostrap/36702
11459 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11460 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11461
11462 * config/i386/64/t-fprules-softfp: Moved to ...
11463 * config/i386/64/t-softfp-compat: This. New.
11464
11465 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
11466
11467 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11468 Initialize f with 0.0.
11469
11470 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11471
11472 PR target/36669
11473 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11474
11475 * config/i386/64/_divtc3-compat.c: New.
11476 * config/i386/64/_multc3-compat.c: Likewise.
11477 * config/i386/64/_powitf2-compat.c: Likewise.
11478 * config/i386/64/eqtf2.c: Likewise.
11479 * config/i386/64/getf2.c: Likewise.
11480 * config/i386/64/letf2.c: Likewise.
11481 * config/i386/64/t-fprules-softfp: Likewise.
11482
11483 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11484
11485 * config.host: Add i386/${host_address}/t-fprules-softfp to
11486 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11487 i[34567]86-*-linux*, x86_64-*-linux*.
11488
11489 * configure.ac: Set host_address to 64 or 32 for x86.
11490 * configure: Regenerated.
11491
11492 * Makefile.in (config.status): Also depend on
11493 $(srcdir)/config.host.
11494
11495 * config/i386/32/t-fprules-softfp: New.
11496 * config/i386/32/tf-signs.c: Likewise.
11497
11498 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11499
11500 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11501 Uros Bizjak <ubizjak@gmail.com>
11502
11503 * config/i386/32/sfp-machine.h: New.
11504
11505 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11506
11507 * config/rs6000/t-ppccomm: Remove rules that conflict with
11508 auto-generated rules.
11509
11510 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11511
11512 * configure.ac: sinclude override.m4.
11513 * configure: Regenerate.
11514
11515 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11516
11517 * configure: Regenerate.
11518
11519 2008-06-10 Joseph Myers <joseph@codesourcery.com>
11520
11521 * Makefile.in (DECNUMINC): Remove
11522 -I$(MULTIBUILDTOP)../../libdecnumber.
11523 * gstdint.h: New.
11524
11525 2008-06-07 Joseph Myers <joseph@codesourcery.com>
11526
11527 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11528 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11529 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11530 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11531 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11532 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11533 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11534 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11535 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11536 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11537 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11538 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11539 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11540 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11541
11542 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11543
11544 * config.host (sh2[lbe]*-*-linux*): Allow target.
11545
11546 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11547
11548 * config/rs6000/t-ppccomm: Add build rules for new files.
11549 (LIB2ADD_ST): New variable.
11550
11551 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11552
11553 PR target/34210
11554 PR target/35508
11555 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11556 * config/t-avr: New file. Build 16bit libgcc functions.
11557
11558 2008-03-02 Jakub Jelinek <jakub@redhat.com>
11559
11560 PR target/35401
11561 * config/t-slibgcc-darwin: Make install-leaf dependent on
11562 install-darwin-libgcc-stubs instead of install.
11563
11564 2008-01-25 Joseph Myers <joseph@codesourcery.com>
11565
11566 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11567 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11568 sh-*-rtemscoff*): Remove cases.
11569
11570 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11571
11572 * Makefile.in (all): Use install-leaf rather than install.
11573 (install): Split most of the rule into...
11574 (install-leaf): ...this new one.
11575
11576 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11577 Paolo Bonzini <bonzini@gnu.org>
11578
11579 PR target/30572
11580 * Makefile.in: Use @shlib_slibdir@ substitution to get
11581 correct install name on darwin.
11582 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11583
11584 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11585
11586 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11587 cris-*-elf and cris-*-none.
11588 (crisv32-*-linux*): Similar, as cris-*-linux*.
11589
11590 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11591
11592 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11593
11594 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11595
11596 PR regression/33926
11597 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11598 * configure: Regenerated.
11599
11600 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11601
11602 * Makefile.in (dfp-filenames): Replace decimal_globals,
11603 decimal_data, binarydecimal and convert_data with
11604 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11605 and bid_convert_data, respectively.
11606
11607 2007-09-17 Chao-ying Fu <fu@mips.com>
11608 Nigel Stephens <nigel@mips.com>
11609
11610 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11611 * Makefile.in (fixed_point): Define.
11612 Check if fixed_point is yes to build support functions.
11613 * configure.ac: Check for fixed_point support.
11614 * configure: Regenerated.
11615 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11616 funcs, modes, from, to.
11617
11618 2007-09-11 Janis Johnson <janis187@us.ibm.com
11619
11620 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11621
11622 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11623
11624 * Makefile.in (dfp-filenames): Remove decUtility, add
11625 decDouble, decPacked, decQuad, decSingle.
11626
11627 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11628
11629 * config.host : Add x86_64-elf target.
11630
11631 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11632
11633 * configure.ac (set_have_cc_tls): Add a missing =.
11634 * configure: Regenerated.
11635
11636 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11637
11638 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11639 and x86_64-*-linux*.
11640
11641 * config/t-tls: New file.
11642
11643 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11644
11645 * configure.ac: Include ../config/enable.m4 and
11646 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11647 supports TLS and substitute set_have_cc_tls.
11648 * configure: Regenerated.
11649
11650 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11651
11652 * Makefile.in: Use libbid for DFP when BID is enabled.
11653
11654 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11655
11656 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11657 extra_parts. Add config/i386/t-cygming to tmake_file.
11658 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11659
11660 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11661 Danny Smith <dannysmith@users.sourceforge.net>
11662
11663 PR target/29498
11664 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11665 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11666 * config/i386/t-crtfm: Compile crtfastmath.o with
11667 -minline-all-stringops.
11668
11669 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11670
11671 * config.host (sparc-wrs-vxworks): New target.
11672
11673 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11674
11675 * config.host: Recognize fido.
11676
11677 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11678
11679 * configure: Check host, not target, for decimal float support.
11680
11681 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11682
11683 * config/i386/t-crtpc: New file.
11684 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11685 (x86_64-*-linux*): Ditto.
11686
11687 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11688
11689 * config.host (x86_64-*-mingw*): New target.
11690
11691 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11692 H.J. Lu <hongjiu.lu@intel.com>
11693
11694 * Makefile.in (enable_decimal_float): New.
11695 (DECNUMINC): Add
11696 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11697 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11698 (decbits-filenames): This.
11699 (decbits-objects): New.
11700 (libgcc-objects): Add $(decbits-objects).
11701
11702 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11703 Substitute enable_decimal_float.
11704 * configure: Regenerated.
11705
11706 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11707
11708 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11709
11710 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11711
11712 * Makefile.in (install-info): New dummy target.
11713
11714 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11715
11716 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11717
11718 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11719
11720 * Makefile.in: Add install-html and install-pdf dummy
11721 targets.
11722
11723 2007-02-05 Roger Sayle <roger@eyesopen.com>
11724 Daniel Jacobowitz <dan@codesourcery.com>
11725
11726 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11727 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11728 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11729
11730 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11731
11732 * Makefile.in (dec-filenames): Add decExcept.
11733
11734 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11735
11736 PR bootstrap/30469
11737 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11738 -fprofile-use.
11739
11740 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11741
11742 * configure.ac: Add --enable-version-specific-runtime-libs.
11743 Correct $slibdir default.
11744 * configure: Regenerated.
11745
11746 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11747
11748 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11749
11750 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11751
11752 PR target/30519
11753 * config.host (alpha*-*-linux*): Set extra_parts.
11754
11755 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11756
11757 * config/sh/t-linux: New.
11758 * config.host (sh*-*-linux*): Set tmake_file.
11759
11760 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11761
11762 * Makefile.in (install): Handle multilibs.
11763
11764 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11765
11766 * Makefile.in: Added .PHONY entry for documentation targets.
11767
11768 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11769
11770 * Makefile.in: Add empty info, html, dvi, pdf targets.
11771
11772 2007-01-04 Mike Stump <mrs@apple.com>
11773
11774 * Makefile.in (MAKEINFO): Remove.
11775 (PERL): Likewise.
11776
11777 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11778
11779 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11780 * configure: Regenerate.
11781 * Makefile.in (host_subdir): Substitute it.
11782 (gcc_objdir): Use it.
11783
11784 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11785
11786 * config.host (ia64*-*-linux*): Set tmake_file.
11787
11788 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11789
11790 * Makefile.in (version): Define.
11791
11792 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11793 Paolo Bonzini <bonzini@gnu.org>
11794
11795 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11796 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11797 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11798 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11799 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11800 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11801 * configure: Generated.
11802 \f
11803 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11804
11805 Copying and distribution of this file, with or without modification,
11806 are permitted in any medium without royalty provided the copyright
11807 notice and this notice are preserved.