]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
e11c6046
GA
12021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
2
3 * unwind-arm-common.inc (abort): Remove.
4
6d51ee43
GA
52021-08-31 Richard Sandiford <richard.sandiford@arm.com>
6
7 * config/aarch64/value-unwind.h: Add missing runtime exception
8 paragraph.
9 * config/frv/frv-abi.h: Likewise.
10 * config/i386/value-unwind.h: Likewise.
11 * config/pa/pa64-hpux-lib.h: Likewise.
12
ccc19145
GA
132021-08-26 David Edelsohn <dje.gcc@gmail.com>
14
15 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
16 __gcc_qadd.
17 (__gcc_qadd): Call ldouble_qadd_internal.
18 (__gcc_qsub): Call ldouble_qadd_internal with second long double
19 argument negated.
20
212021-08-26 Jonathan Yong <10walls@gmail.com>
22
23 * config/i386/cygming-crtend.c: Fix register_frame_ctor
24 and register_frame_dtor warnings.
25
05ace294
GA
262021-08-24 Richard Earnshaw <rearnsha@arm.com>
27
28 PR target/102035
29 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
30 Add vlldm erratum work-around.
31
4be4fa4e
GA
322021-08-21 John David Anglin <danglin@gcc.gnu.org>
33
34 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
35
9d1d9fc8
GA
362021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
37
38 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
39 (gcov_type_unsigned): Likewise.
40
7dd8f198
GA
412021-08-14 Stafford Horne <shorne@gmail.com>
42
43 PR target/99783
44 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
45 * config/or1k/t-crtstuff: New file.
46
f92f4778
GA
472021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
48
49 * libgcov-driver.c (#include <stdint.h>): Remove.
50 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
51
522021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
53
54 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
55 * gcov.h (gcov_info): Declare.
56 (__gcov_info_to_gdca): Likewise.
57 * libgcov.h (gcov_write_counter): Remove.
58 (gcov_write_tag_length): Likewise.
59 * libgcov-driver.c (#include <stdint.h>): New.
60 (#include <string.h>): Remove.
61 (NEED_L_GCOV): Conditionally define.
62 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
63 (are_all_counters_zero): New.
64 (gcov_dump_handler): Likewise.
65 (gcov_allocate_handler): Likewise.
66 (dump_unsigned): Likewise.
67 (dump_counter): Likewise.
68 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
69 Use dump_unsigned() and dump_counter().
70 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
71 dump_unsigned(), dump_counter(), and are_all_counters_zero().
72 (__gcov_info_to_gcda): New.
73
8ebf4fb5
GA
742021-08-05 Jakub Jelinek <jakub@redhat.com>
75
76 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
77 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
78 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
79 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
80
2697f832
GA
812021-08-04 Jakub Jelinek <jakub@redhat.com>
82
83 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
84
d97d71a1
GA
852021-07-15 Alan Modra <amodra@gmail.com>
86
87 * config/rs6000/morestack.S (R2_SAVE): Define.
88 (__morestack): Save and restore r2. Set up r2 for called
89 functions.
90
bea7c16a
GA
912021-07-01 H.J. Lu <hjl.tools@gmail.com>
92
93 * soft-fp/extendhfxf2.c: New file.
94 * soft-fp/truncxfhf2.c: Likewise.
95
6bc18203
GA
962021-06-29 Julian Brown <julian@codesourcery.com>
97
98 * config/gcn/lib2-bswapti2.c: New file.
99 * config/gcn/lib2-divmod-di.c: New file.
100 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
101 typedefs.
102 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
103 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
104 lib2-bswapti2.c.
105
1062021-06-29 Julian Brown <julian@codesourcery.com>
107
108 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
109 return types to USItype.
110 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
111
fcf617f0
GA
1122021-06-23 Kewen Lin <linkw@linux.ibm.com>
113
114 * configure: Regenerate.
115 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
116 typos among the name, CFLAGS and the test.
117 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
118 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
119 Remove.
120 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
121 macro FLOAT128_HW_INSNS_ISA3_1.
122 (FP128_3_1_CFLAGS_HW): Fix option typo.
123 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
124 FLOAT128_HW_INSNS_ISA3_1.
125 (__floattikf_resolve): Likewise.
126 (__floatuntikf_resolve): Likewise.
127 (__fixkfti_resolve): Likewise.
128 (__fixunskfti_resolve): Likewise.
129 (__floattikf): Likewise.
130 (__floatuntikf): Likewise.
131 (__fixkfti): Likewise.
132 (__fixunskfti): Likewise.
133
f16f65f8
GA
1342021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
135
136 PR target/99939
137 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
138 macro.
139 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
140 on passing -mcmse option.
141
43c35d0d
GA
1422021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
143
144 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
145 _ARCH_PPC64 .
146
4f625f47
GA
1472021-06-09 Carl Love <cel@us.ibm.com>
148
149 * config.host: Add if test and set for
150 libgcc_cv_powerpc_3_1_float128_hw.
151 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
152 Change calls of __fixkfti to __fixkfti_sw.
153 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
154 Change calls of __fixunskfti to __fixunskfti_sw.
155 * config/rs6000/float128-p10.c (__floattikf_hw,
156 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
157 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
158 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
159 __fixunskfti_resolve): Add resolve functions.
160 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
161 * config/rs6000/float128-sed (floattitf, __floatuntitf,
162 __fixtfti, __fixunstfti): Add editor commands to change names.
163 * config/rs6000/float128-sed-hw (__floattitf,
164 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
165 change names.
166 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
167 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
168 * config/rs6000/quad-float128.h (__floattikf_sw,
169 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
170 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
171 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
172 * config/rs6000/t-float128 (floattikf, floatuntikf,
173 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
174 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
175 file names to fp128_ppc_funcs.
176 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
177 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
178 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
179 * config/rs6000/t-float128-p10-hw: New file.
180 * configure: Update script for isa 3.1 128-bit float support.
181 * configure.ac: Add check for 128-bit float hardware support.
182 * config/rs6000/fixkfti-sw.c: New file.
183 * config/rs6000/fixunskfti-sw.c: New file.
184 * config/rs6000/floattikf-sw.c: New file.
185 * config/rs6000/floatuntikf-sw.c: New file.
186
f9af11c7
GA
1872021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
188
189 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
190
4d0385df 1912021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
192
193 * libgcov-driver.c: Fix GNU coding style.
194
aa891c56
GA
1952021-05-10 Martin Liska <mliska@suse.cz>
196
197 * libgcov-driver.c (gcov_version): Use different name that does
198 not clash with newly introduced macro.
199
3c8e539d
GA
2002021-04-29 Eric Botcazou <ebotcazou@adacore.com>
201
202 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
203 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
204 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
205
e4ff4ffb
GA
2062021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
207
208 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
209 Define.
210 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
211 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
212 Define.
213 (__divkc3): Improve complex divide.
214
05ec629f
GA
2152021-04-23 Michael Meissner <meissner@linux.ibm.com>
216
217 PR target/98952
218 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
219 trampoline size comparison in 32-bit by reversing test and
220 combining load immediate with compare.
221 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
222 in 32-bit by reversing test and combining load immediate with
223 compare.
224
b1da9916
GA
2252021-04-05 Florian Weimer <fweimer@redhat.com>
226 Michael Meissner <meissner@linux.ibm.com>
227
228 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
229 point functions for $(decimal_float) only.
230
c0756c4e
GA
2312021-04-03 Jakub Jelinek <jakub@redhat.com>
232
233 PR target/97653
234 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
235 $(objext) instead of $(object). Use _floatunditf instead of
236 _floatunsditf. Add tf <-> ti conversion objects.
237 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
238
65374af2
GA
2392021-03-29 Michael Meissner <meissner@linux.ibm.com>
240
241 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
242 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
243 (fp128_decstr_objs): Delete.
244 * dfp-bit.h: Call __sprintfieee128 to do conversions from
245 _Float128 to a Decimal type. Call __strtoieee128 to do
246 conversions from a Decimal type to _Float128.
247 * config/rs6000/_sprintfkf.c: Delete file.
248 * config/rs6000/_sprintfkf.h: Delete file.
249 * config/rs6000/_strtokf.c: Delete file.
250 * config/rs6000/_strtokf.h: Delete file.
251
bf1f3168
GA
2522021-03-23 Marcus Comstedt <marcus@mc.pp.se>
253
254 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
255 to __BYTE_ORDER__.
256
0ad6a2e2
GA
2572021-03-06 Jakub Jelinek <jakub@redhat.com>
258
259 PR gcov-profile/99406
260 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
261 defined, define these macros if not defined already.
262
67f10d28
GA
2632021-03-04 Martin Liska <mliska@suse.cz>
264
265 PR gcov-profile/99105
266 * libgcov-driver.c (write_top_counters): Rename to ...
267 (write_topn_counters): ... this.
268 (write_one_data): Pre-allocate buffer for number of items
269 in the corresponding linked lists.
270 * libgcov.h (malloc_mmap): New function.
271 (allocate_gcov_kvp): Use it.
272
2732021-03-04 Martin Liska <mliska@suse.cz>
274
275 PR gcov-profile/99385
276 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
277
f3641ac7
GA
2782021-03-03 Martin Liska <mliska@suse.cz>
279
280 PR gcov-profile/97461
281 * config.in: Regenerate.
282 * configure: Likewise.
283 * configure.ac: Check sys/mman.h header file
284 * libgcov-driver.c (struct gcov_kvp): Remove static
285 pre-allocated pool and use a dynamic one.
286 * libgcov.h (MMAP_CHUNK_SIZE): New.
287 (gcov_counter_add): Use mmap to allocate pool for struct
288 gcov_kvp.
289
d97a92dc
GA
2902021-03-02 Michael Meissner <meissner@linux.ibm.com>
291
292 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
293 the function.
294 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
295
4028d01a
GA
2962021-02-24 Jakub Jelinek <jakub@redhat.com>
297
298 PR libgcc/99236
299 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
300 negation of m in unsigned type.
301
3022021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
303 Hau Hsu <hsuhau617@gmail.com>
304
305 PR target/99157
306 * config/arm/t-arm: Fix cmse support detection.
307
2f5765cf
GA
3082021-02-22 Michael Meissner <meissner@linux.ibm.com>
309
310 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
311
3122021-02-22 Michael Meissner <meissner@linux.ibm.com>
313
314 * config/rs6000/_dd_to_kf.c: New file.
315 * config/rs6000/_kf_to_dd.c: New file.
316 * config/rs6000/_kf_to_sd.c: New file.
317 * config/rs6000/_kf_to_td.c: New file.
318 * config/rs6000/_sd_to_kf.c: New file.
319 * config/rs6000/_sprintfkf.c: New file.
320 * config/rs6000/_sprintfkf.h: New file.
321 * config/rs6000/_strtokf.h: New file.
322 * config/rs6000/_strtokf.c: New file.
323 * config/rs6000/_td_to_kf.c: New file.
324 * config/rs6000/quad-float128.h: Add new declarations.
325 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
326 (fp128_decstr_funcs): New macro.
327 (ibm128_dec_funcs): New macro.
328 (fp128_ppc_funcs): Add the new conversions.
329 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
330 compiled with -mabi=ieeelongdouble.
331 (fp128_decstr_objs): Force __float128 <-> string conversions to be
332 compiled with -mabi=ibmlongdouble.
333 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
334 compiled with -mabi=ieeelongdouble.
335 (FP128_CFLAGS_DECIMAL): New macro.
336 (IBM128_CFLAGS_DECIMAL): New macro.
337 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
338 (BFP_TO_DFP): Add PowerPC _Float128 support.
339 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
340 IEEE 128-bit floating point.
341 (DFP_TO_BFP): Add PowerPC _Float128 support.
342 (BFP_TO_DFP): Add PowerPC _Float128 support.
343 (BFP_SPRINTF): New macro.
344
aa69f0a8
GA
3452021-01-27 Jakub Jelinek <jakub@redhat.com>
346
347 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
348 * config/i386/savms64f.h: Likewise.
349 * config/i386/resms64.h: Likewise.
350 * config/i386/resms64f.h: Likewise.
351 * config/i386/resms64x.h: Likewise.
352 * config/i386/resms64fx.h: Likewise.
353
e62bb7f0
GA
3542021-01-26 Martin Liska <mliska@suse.cz>
355
356 PR gcov-profile/98739
357 * libgcov.h (gcov_topn_add_value): Do not train when
358 we have a merged profile with a negative number of total
359 value.
360
161e4c08
GA
3612021-01-25 Martin Liska <mliska@suse.cz>
362
363 PR gcov-profile/98739
364 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
365 ends with a dropped counter.
366 * libgcov.h (gcov_topn_add_value): Add return value.
367
be0851b8
GA
3682021-01-13 Stafford Horne <shorne@gmail.com>
369
370 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
371 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
372 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
373 FP_EX_ALL): New constant macros.
374 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
375 FP_HANDLE_EXCEPTIONS): New macros.
376 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
377
3782021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
379
380 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
381 posix siginfo case to struct handler_args. Detect between legacy
382 and siginfo from the second parameter, which is a small sigcode in
383 the legacy case, and a pointer in the siginfo case.
384
108beb75
GA
3852020-12-20 Max Filippov <jcmvbkbc@gmail.com>
386
387 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
388 functions.
389 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
390 _bswapdi2.
391
f6e8e279
GA
3922020-12-08 Ian Lance Taylor <iant@golang.org>
393
394 * generic-morestack-thread.c (free_segments): Block signals during
395 thread exit.
396
b8dd0ef7
GA
3972020-12-03 Michael Meissner <meissner@linux.ibm.com>
398
399 PR libgcc/97543
400 PR libgcc/97643
401 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
402 (IBM128_SHARED_OBJS): New make variable.
403 (IBM128_OBJS): New make variable. Set all objects to use the
404 explicit IBM format, and disable gnu attributes.
405 (IBM128_CFLAGS): New make variable.
406 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
407 modules.
408
4092020-12-03 Alexandre Oliva <oliva@adacore.com>
410
411 * config/t-vxworks (LIB2ADD): Drop.
412 * config/t-vxworks7 (LIB2ADD): Likewise.
413 * config/vxcache.c: Remove.
414
94358e47
GA
4152020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
416
417 * libgcc2.c (bswapsi2): Make constants unsigned.
418
360258da
GA
4192020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
420
421 * libgcc2.c (absvSI2): Simplify/improve implementation by using
422 builtin_add_overflow.
423 (absvsi2, absvDI2): Likewise.
424
82e5048e
GA
4252020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
426
427 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
428 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
429
25bb75f8
GA
4302020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
431
432 * config/msp430/lib2hw_mul.S (mult64_hw): New.
433 (if MUL_32): Use mult64_hw for __muldi3.
434 (if MUL_F5): Use mult64_hw for __muldi3.
435 * config/msp430/lib2mul.c (__muldi3): New.
436 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
437
29c5d9ce
GA
4382020-11-17 Alan Modra <amodra@gmail.com>
439
440 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
441 (LIB2_SIDITI_CONV_FUNCS): Define.
442 * config/rs6000/ppc64-fp.c: Delete file.
443
cba30651
GA
4442020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
445
446 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
447 hwmult library functions.
448
bb622641
GA
4492020-11-10 Jeff Law <law@redhat.com>
450
451 * libgcc2.c: Fix whitespace issues in most recent change.
452
4532020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
454
455 * libgcc2.c (__addvSI3): Use overflow builtins.
456 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
457 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
458 (__negvsi2, __negvDI2): Likewise.
459 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
460 generated code.
461 * libgcc2.h (__ucmpdi2): Adjust prototype.
462
fd2325ea
GA
4632020-11-03 Pat Bernardi <bernardi@adacore.com>
464 Olivier Hainque <hainque@adacore.com>
465
466 * config.host (aarch64-vxworks7*, tmake_file): Add
467 ${cpu_type}/t-lse and t-slibgcc-libgcc.
468
4692020-11-03 Martin Storsjö <martin@martin.st>
470
471 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
472 before calling the callback.
473
88ce3d5f
GA
4742020-10-30 Olivier Hainque <hainque@adacore.com>
475 Douglas Rupp <rupp@adacore.com>
476 Pat Bernardi <bernardi@adacore.com>
477
478 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
479 to apply to VxWorks 7 as well.
480
4f0606fe
GA
4812020-10-29 Olivier Hainque <hainque@adacore.com>
482
483 * config/gthr-vxworks-tls.c: Fix preprocessor logic
484 controlling the definition of VX_ENTER_TLS_DTOR and
485 VX_LEAVE_TLS_DTOR based on a version major check.
486
4872020-10-29 Olivier Hainque <hainque@adacore.com>
488
489 * config/gthr-vxworks-thread.c: Fix name of macro used
490 to condition the inclusion of an actual implementation.
491
89bb01e7
GA
4922020-10-27 Martin Liska <mliska@suse.cz>
493
494 PR gcov-profile/97461
495 * libgcov.h (gcov_counter_add): Use first static counters
496 as it should help to have malloc wrappers set up.
497
efe71fcc
GA
4982020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
499
500 * config/gthr-vxworks-thread.c: #include gthr.h before
501 testing the guard defined there.
502 * config/gthr-vxworks-cond.c: Likewise.
503
56ddd5e2
GA
5042020-10-21 Douglas Rupp <rupp@adacore.com>
505 Olivier Hainque <hainque@adacore.com>
506
507 * config.host (powerpc*-wrs-vxworks7*): New case.
508 * configure.ac: Handle powerpc*-*-vxworks7* as
509 powerpc*-*-linux* for ppc-fp_type.
510 * configure: Regenerate.
511
56e4eee9
GA
5122020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
513
514 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
515 section on VxWorks >= 6.
516 * config/gthr-vxworks-thread.c: Condition the entire
517 implementation on __GTHREAD_CXX0X.
518
5192020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
520
521 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
522 section on VxWorks >= 6.
523 * config/gthr-vxworks-cond.c: Condition the entire
524 implementation on __GTHREAD_HAS_COND.
525
5262020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
527
528 * config/gthr-vxworks.c: #include <taskLib.h>.
529
5302020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
531
532 * config/gthr-vxworks.h: Rewrite remaining occurrence
533 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
534
5352020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
536 Olivier Hainque <hainque@adacore.com>
537
538 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
539 except on VxWorks 6.
540
5412020-10-16 Olivier Hainque <hainque@adacore.com>
542
543 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
544
b2698c21
GA
5452020-10-14 Alexandre Oliva <oliva@adacore.com>
546
547 * config/gthr-vxworks-thread.c: Include stdlib.h.
548 (tls_delete_hook): Prototype it.
549 (__gthread_cond_signal): Return early if no waiters. Consume
550 signal in case the semaphore got full. Use semInfoGet instead
551 of kernel-mode-only semInfo.
552 (__gthread_cond_timedwait): Use semExchange. Always take the
553 mutex again before returning.
554 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
555
5562020-10-14 Olivier Hainque <hainque@adacore.com>
557
558 * config/t-vxworks (LIBGCC2_INCLUDES): Append
559 $(MULTISUBDIR) to the -I path for fixed headers, as we
560 arrange to have different sets of such headers for different
561 multilibs when they are activated.
562 * config/t-vxworks7: Likewise.
563
5642020-10-14 Olivier Hainque <hainque@adacore.com>
565
566 * config/t-vxworks: Add include-fixed to include search
567 paths for libgcc on VxWorks.
568 * config/t-vxworks7: Likewise.
569
c74a0e82
GA
5702020-10-09 H.J. Lu <hjl.tools@gmail.com>
571
572 PR target/97148
573 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
574 instead of <cetintrin.h>.
575
6c2675fa
GA
5762020-10-01 Alan Modra <amodra@gmail.com>
577
578 * config/rs6000/morestack.S,
579 * config/rs6000/tramp.S: Support __PCREL__ code.
580
5812020-10-01 Alan Modra <amodra@gmail.com>
582
583 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
584
93bca37c
GA
5852020-09-29 Maciej W. Rozycki <macro@wdc.com>
586
587 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
588 variable.
589
e84761c6
GA
5902020-09-28 Richard Sandiford <richard.sandiford@arm.com>
591
592 * config/aarch64/libgcc-softfp.ver: New file.
593 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
594
4383c595
GA
5952020-09-27 Clement Chigot <clement.chigot@atos.net>
596
597 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
598
521d2711
GA
5992020-09-22 Sergei Trofimovich <siarheit@google.com>
600
601 PR gcov-profile/96913
602 * libgcov-driver.c (write_one_data): Avoid function pointer
603 comparison in TOP streaming decision.
604
2aad20c0
GA
6052020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
606 Christophe Lyon <christophe.lyon@linaro.org>
607
608 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
609 qualifier.
610 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
611 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
612 missing prototypes.
613
6142020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
615
616 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
617 unused variable warning.
618
ecde1b0a
GA
6192020-09-16 Jojo R <jiejie_rong@c-sky.com>
620
621 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
622
80f86e78
GA
6232020-09-09 Tom de Vries <tdevries@suse.de>
624
625 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
626 Wbuiltin-declaration-mismatch.
627
57ea0894
GA
6282020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
629
630 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
631 * config/msp430/srai.S (__gnu_mspabi_srap): New.
632 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
633
b3cb5606
GA
6342020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
635
636 * config/nvptx/atomic.c: New.
637 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
638
6a1ad710
GA
6392020-08-03 Ian Lance Taylor <iant@golang.org>
640
641 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
642
6432020-08-03 Jakub Jelinek <jakub@redhat.com>
644
645 PR target/96402
646 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
647 of x(tmp0), x(tmp1) in STXP arguments.
648
48cc2e46
GA
6492020-07-31 Maciej W. Rozycki <macro@wdc.com>
650
651 * config/riscv/save-restore.S [__riscv_xlen == 64]
652 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
653 (__riscv_save_2): Replace negative immediates used for the final
654 stack pointer adjustment with positive ones, right-shifted by 4.
655
6562020-07-31 Martin Liska <mliska@suse.cz>
657
658 * libgcov-driver.c: Add __gcov_kvp_pool
659 and __gcov_kvp_pool_index variables.
660 * libgcov.h (allocate_gcov_kvp): New.
661 (gcov_topn_add_value): Use it.
662
53256ee3
GA
6632020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
664
665 * config/aarch64/lse.S: Add PAC property note.
666
9bb403dc
GA
6672020-07-23 Martin Liska <mliska@suse.cz>
668
669 PR gcov-profile/96035
670 * libgcov-driver-system.c: Create gcov folders with 0777
671 so that it respects a system umask.
672
8ca07a30
GA
6732020-07-14 David Edelsohn <dje.gcc@gmail.com>
674
675 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
676
ea69fcf9
GA
6772020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
678
679 PR target/94891
680 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
681 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
682 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
683 (MD_DEMANGLE_RETURN_ADDR): This.
684 (aarch64_post_extract_frame_addr): Rename to ...
685 (aarch64_demangle_return_addr): This.
686 (aarch64_post_frob_eh_handler_addr): Remove.
687 * unwind-dw2.c (uw_update_context): Demangle return address.
688 (uw_frob_return_addr): Remove.
689
3f8ca9cb
GA
6902020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
691
692 PR target/96001
693 * config/aarch64/lse.S: Add BTI marking and related definitions,
694 and add BTI c to function entries.
695
6962020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
697
698 * config/aarch64/lse.S: Add stack note.
699
b5f24739
GA
7002020-07-02 Martin Liska <mliska@suse.cz>
701
702 PR gcov-profile/95348
703 * libgcov-driver.c (merge_one_data): Merge only profiles
704 that are not of non-zero type.
705 (write_one_data): Write counters only if there's one non-zero
706 value.
707 * libgcov-util.c (tag_function): Change signature from unsigned
708 to int.
709 (tag_blocks): Likewise.
710 (tag_arcs): Likewise.
711 (tag_counters): Likewise.
712 (tag_summary): Likewise.
713 (tag_lines): Read only if COUNTERS is non-zero.
714 (read_gcda_file): Handle negative length for COUNTERS type.
715
d61ffe12
GA
7162020-06-25 Martin Liska <mliska@suse.cz>
717
718 * libgcov-driver.c (merge_summary): Remove function as its name
719 is misleading and doing something different.
720 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
721 in gcov-tool.
722 * libgcov-util.c (curr_object_summary): Remove.
723 (read_gcda_file): Remove unused curr_object_summary.
724 (gcov_merge): Merge summaries.
725 * libgcov.h: Add summary argument for gcov_info struct.
726
2e546c26
GA
7272020-06-24 H.J. Lu <hjl.tools@gmail.com>
728
729 PR target/95259
730 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
731 "common/config/i386/i386-cpuinfo.h" and
732 "common/config/i386/cpuinfo.h".
733 (__cpu_features2): Changed to array.
734 (get_amd_cpu): Removed.
735 (get_intel_cpu): Likewise.
736 (get_available_features): Likewise.
737 (__cpu_indicator_init): Call cpu_indicator_init.
738 * config/i386/cpuinfo.h: Removed.
739
4543acc8
GA
7402020-06-23 David Edelsohn <dje.gcc@gmail.com>
741
742 * Makefile.in: Remove uses of empty.mk. Use -include.
743 * config/avr/t-avr: Use -include.
744 * empty.mk: Delete.
745
f86e11a2
GA
7462020-06-21 David Edelsohn <dje.gcc@gmail.com>
747
748 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
749 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
750 and 64 bit with -maix64.
751 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
752 Build and install AIX-style FAT libraries.
753
aff95ee7
GA
7542020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
755
756 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
757 'i386/gnu-unwind.h'
758 * config/i386/gnu-unwind.h: New file.
759
7602020-06-17 Martin Liska <mliska@suse.cz>
761
762 * libgcov-util.c (read_gcda_finalize): Remove const operator.
763 (merge_wrapper): Add both counts and use them properly.
764 (topn_to_memory_representation): New function.
765 (gcov_merge): Covert on disk representation to in memory
766 representation.
767 * libgcov.h: Remove const operator.
768
6fb94d67
GA
7692020-06-15 Max Filippov <jcmvbkbc@gmail.com>
770
771 * configure: Regenerate.
772 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
773 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
774
b952c2cf
GA
7752020-06-09 Martin Liska <mliska@suse.cz>
776
777 PR gcov-profile/95494
778 * libgcov-driver.c (write_top_counters): Cast first to
779 intptr_t as sizeof(*) != sizeof(gcov_type).
780 * libgcov.h (gcov_counter_set_if_null): Remove.
781 (gcov_topn_add_value): Cast first to intptr_t and update
782 linked list directly.
783
7842020-06-09 Max Filippov <jcmvbkbc@gmail.com>
785
786 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
787 with uw_install_context_1.
788
3add3425
GA
7892020-06-04 Andreas Schwab <schwab@suse.de>
790
791 PR target/59230
792 PR libfortran/59227
793 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
794 soft-fp/divtf3.c.
795 (LIB2ADD): Add config/ia64/divtf3.c.
796 * config/ia64/divtf3.c: New file.
797
9a5b7438
GA
7982020-06-03 Martin Liska <mliska@suse.cz>
799
800 PR gcov-profile/95480
801 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
802 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
803 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
804 (gcov_counter_set_if_null): Likewise.
805
a9312a79
GA
8062020-06-02 Jim Wilson <jimw@sifive.com>
807
808 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
809 to bgtz.
810
8112020-06-02 Martin Liska <mliska@suse.cz>
812
813 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
814 of xmalloc.
815
8162020-06-02 Martin Liska <mliska@suse.cz>
817
818 * libgcov-driver.c (prune_topn_counter): Remove.
819 (prune_counters): Likewise.
820 (merge_one_data): Special case TOP N counters
821 as they have variable length.
822 (write_top_counters): New.
823 (write_one_data): Special case TOP N.
824 (dump_one_gcov): Do not prune TOP N counters.
825 * libgcov-merge.c (merge_topn_values_set): Remove.
826 (__gcov_merge_topn): Use gcov_topn_add_value.
827 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
828 Likewise here.
829 * libgcov.h (gcov_counter_add): New.
830 (gcov_counter_set_if_null): Likewise.
831 (gcov_topn_add_value): New.
832
4a9aa9de
GA
8332020-06-01 Uroš Bizjak <ubizjak@gmail.com>
834
835 * config/i386/sfp-exceptions.c (struct fenv):
836 Add __attribute__ ((gcc_struct)).
837
885ef72f
GA
8382020-05-29 H.J. Lu <hjl.tools@gmail.com>
839
840 PR bootstrap/95413
841 * configure: Regenerated.
842
53ffb43a
GA
8432020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
844
845 PR gcov-profile/95332
846 * libgcov-util.c (read_gcda_file): Call gcov_magic.
847 * libgcov.h (gcov_magic): Disable GCC poison.
848
5855bdfa
L
8492020-05-21 H.J. Lu <hongjiu.lu@intel.com>
850
851 PR target/95212
852 * config/i386/cpuinfo.h (processor_features): Move
853 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
854
35b98036
L
8552020-05-20 H.J. Lu <hongjiu.lu@intel.com>
856
857 PR target/91695
858 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
859 check.
860
45395445
L
8612020-05-19 H.J. Lu <hongjiu.lu@intel.com>
862
863 PR target/95212
864 PR target/95220
865 * config/i386/cpuinfo.c (get_available_features): Fix
866 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
867 * config/i386/cpuinfo.h (processor_features): Add
868 FEATURE_AVX512VP2INTERSECT.
869
4c1a5d8b
L
8702020-05-15 H.J. Lu <hongjiu.lu@intel.com>
871
872 PR bootstrap/95147
873 * configure: Regenerated.
874
8d286dd1
L
8752020-05-14 H.J. Lu <hongjiu.lu@intel.com>
876
877 * configure: Regenerated.
878
39748a89
HPN
8792020-05-09 Hans-Peter Nilsson <hp@axis.com>
880
881 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
882 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
883
d3a1459c
UB
8842020-05-06 Uroš Bizjak <ubizjak@gmail.com>
885
886 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
887 (__math_force_eval_div): New define.
888 (__sfp_handle_exceptions): Use __math_force_eval_div to use
889 generic division to generate INVALID, DIVZERO and INEXACT
890 exceptions.
891
12667785
KT
8922020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
893
894 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
895 instead of getauxval.
896 (AT_HWCAP): Define.
897 (HWCAP_ATOMICS): Define.
898 Guard detection on __gnu_linux__.
899
ef836167
MM
9002020-05-05 Michael Meissner <meissner@linux.ibm.com>
901
902 * config.host: Delete changes meant for a private branch.
903 * config/rs6000/t-float128: Likewise.
904 * configure.ac: Likewise.
905 * configure: Likewise.
906
811b7636
ML
9072020-05-05 Martin Liska <mliska@suse.cz>
908
909 PR gcov-profile/93623
910 * Makefile.in: Remove __gcov_flush.
911 * gcov.h (__gcov_flush): Remove.
912 * libgcov-interface.c (__gcov_flush): Remove.
913 (init_mx): Use renamed mutex.
914 (__gcov_lock): Likewise.
915 (__gcov_unlock): Likewise.
916 (__gcov_fork): Likewise.
917 (__gcov_flush): Remove.
918
c0532db4
ML
9192020-05-05 Martin Liska <mliska@suse.cz>
920
921 PR gcov-profile/93623
922 * libgcov-interface.c (__gcov_fork): Do not flush
923 and reset only in child process.
924 (__gcov_execl): Dump counters only and reset them
925 only if exec* fails.
926 (__gcov_execlp): Likewise.
927 (__gcov_execle): Likewise.
928 (__gcov_execv): Likewise.
929 (__gcov_execvp): Likewise.
930 (__gcov_execve): Likewise.
931
d39f7dc8
ML
9322020-05-05 Martin Liska <mliska@suse.cz>
933
934 PR gcov-profile/93623
935 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
936 * libgcov-interface.c (ALIAS_void_fn): Remove.
937 (__gcov_lock): New.
938 (__gcov_unlock): New.
939 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
940 (__gcov_reset): Likewise.
941 (__gcov_dump): Likewise.
942 * libgcov.h (__gcov_lock): New declaration.
943 (__gcov_unlock): Likewise.
944
afb9b710
UB
9452020-05-01 Uroš Bizjak <ubizjak@gmail.com>
946
947 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 948 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
949 generic division to generate INVALID and DIVZERO exceptions.
950
66711279
SH
9512020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
952
953 * config/rs6000/crtresfpr.S: Use .machine ppc.
954 * config/rs6000/crtresxfpr.S: Likewise.
955 * config/rs6000/crtsavfpr.S: Likewise.
956
fb22faf4
SN
9572020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
958
959 PR target/94514
960 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
961 Update context->flags accroding to the frame state.
962
df73e584
UB
9632020-04-19 Uroš Bizjak <ubizjak@gmail.com>
964
965 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
966 Remove unneeded assignments to volatile memory.
967
5b2f76e3
JJ
9682020-04-15 Jakub Jelinek <jakub@redhat.com>
969
970 PR target/93053
971 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
972 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
973 is not defined, use just .arch armv8-a.
974 (B, M, N, OPN): Define.
975 (COMMENT): New .macro.
976 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
977 defined. Otherwise, move the operands right after the glue? and
978 comment out operands where the macros are used.
979 * configure: Regenerated.
980 * config.in: Regenerated.
981
50c78532
ILT
9822020-04-07 Ian Lance Taylor <iant@golang.org>
983
984 PR libgcc/94513
985 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
986 syscall instead.
987
458ca332
ILT
9882020-04-04 Ian Lance Taylor <iant@golang.org>
989
990 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
991
710d54ed
ILT
9922020-04-03 Ian Lance Taylor <iant@golang.org>
993
994 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
995 than mmap/munmap, to avoid hooks.
996
b749b5ec
JJ
9972020-04-03 Jim Johnston <jjohnst@us.ibm.com>
998
999 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1000 (TPFRA_OFFSET): Macros removed.
1001 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1002 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1003 (PG3_SKIPPING_OFFSET): New macros.
1004 (__isPATrange): Use cinfc_fast for the check.
1005 (__isSkipResetAddr): New function.
1006 (s390_fallback_frame_state): Check for skip trace addresses. Use
1007 either ICST_CRET or ICST_SRET to calculate return address
1008 location.
1009 (__tpf_eh_return): Handle skip trace addresses.
1010
a9cd2d78
RE
10112020-03-26 Richard Earnshaw <rearnsha@arm.com>
1012
1013 PR target/94220
1014 * config/arm/lib1funcs.asm (COND): Use a single definition for
1015 unified syntax.
1016 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1017 (aeabi_idivmod): Likewise.
1018 (divsi3_skip_div0_test): Likewise.
1019
f582ca0f
MI
10202020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1021
1022 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1023
068fe0a9
AK
10242020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1025
1026 * config.host: Include the new makefile fragment.
1027 * config/s390/t-tpf: New file.
1028
6b9ce2b4
RE
10292020-03-03 Richard Earnshaw <rearnsha@arm.com>
1030
1031 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1032 syntax.
1033 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1034 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1035 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1036 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1037 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1038 syntax.
1039 (divsi3, modsi3): Likewise.
1040 (clzdi2, ctzsi2): Likewise.
1041 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1042 unified syntax.
1043 (UNWIND_WRAPPER): Likewise.
1044
8dd5d8f3
ML
10452020-03-02 Martin Liska <mliska@suse.cz>
1046
1047 * libgcov-interface.c: Remove duplicate
1048 declaration of __gcov_flush_mx.
1049
ea0b1252
ML
10502020-02-18 Martin Liska <mliska@suse.cz>
1051
1052 PR ipa/92924
1053 * libgcov-merge.c (merge_topn_values_set): Record
1054 when a TOP N counter becomes invalid. When merging
1055 remove a smallest value if the space is needed.
1056
02ce382c
SL
10572020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1058
1059 PR libstdc++/79193
1060 PR libstdc++/88999
1061
1062 * configure: Regenerated.
1063
7214fce3
JL
10642020-02-10 Jeff Law <law@redhat.com>
1065
1066 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1067 sections.
1068 * config/frv/frvend.c: Similarly.
1069
cf0f07ef
L
10702020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1071
1072 PR libgcc/85334
1073 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1074 New.
1075
5602b48b
CL
10762020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1077
1078 PR target/93615
1079 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1080 _Unwind_gnu_Find_got.
1081 * unwind-pe.h: Likewise.
1082
811a475e
JJ
10832020-02-07 Jakub Jelinek <jakub@redhat.com>
1084
1085 PR target/93615
1086 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1087 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1088 trailing :s in asm. Formatting fixes.
1089 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1090
2d33dcfe
SL
10912020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1092
1093 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1094
1095 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1096 * config/nios2-elf-lib.h: New.
1097 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1098 code for finding GOT base for nios2.
1099
3ae37f92
ML
11002020-01-27 Martin Liska <mliska@suse.cz>
1101
1102 PR gcov-profile/93403
1103 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1104 Call __gcov_indirect_call_profiler_body.
1105 (__gcov_indirect_call_profiler_body): New.
1106 (__gcov_indirect_call_profiler_v4_atomic): New.
1107 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1108 New declaration.
1109
2744b8b2
CZ
11102020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1111
1112 * config/arc/crti.S: Add RF16 object attribute.
1113 * config/arc/crtn.S: Likewise.
1114 * config/arc/crttls.S: Likewise.
1115 * config/arc/lib1funcs.S: Likewise.
1116 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1117 * config/arc/lib2funcs.c: New file.
1118 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1119
e8e66971
MR
11202020-01-24 Maciej W. Rozycki <macro@wdc.com>
1121
1122 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1123 * configure.ac: Handle `--with-toolexeclibdir='.
1124 * configure: Regenerate.
1125
54b3d52c
DM
11262020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1127
1128 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1129
a3c1e1f2
DM
11302020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1131
1132 * config/mips/gnustack.h: New file.
1133 * config/mips/crti.S: Include gnustack.h.
1134 * config/mips/crtn.S: Likewise.
1135 * config/mips/mips16.S: Likewise.
1136 * config/mips/vr4120-div.S: Likewise.
1137
e9ee848d
ML
11382020-01-23 Martin Liska <mliska@suse.cz>
1139
1140 * libgcov-driver.c (prune_topn_counter): Remove
1141 check for -1 as we only prune run-time counters
1142 that do not generate an invalid state.
1143
7491c17f
ML
11442020-01-22 Martin Liska <mliska@suse.cz>
1145
1146 PR tree-optimization/92924
1147 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1148 try to find an existing value, then find an empty slot
1149 if not found.
1150
5f32f9cf
ML
11512020-01-22 Martin Liska <mliska@suse.cz>
1152
1153 PR tree-optimization/92924
1154 * libgcov-driver.c (prune_topn_counter): New.
1155 (prune_counters): Likewise.
1156 (dump_one_gcov): Prune a run-time counter.
1157 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1158 For a known value, add GCOV_TOPN_VALUES to value.
1159 Otherwise, decrement all counters by one.
1160
463f6499
HPN
11612020-01-18 Hans-Peter Nilsson <hp@axis.com>
1162
1163 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1164
84479e3a
JDA
11652020-01-18 John David Anglin <danglin@gcc.gnu.org>
1166
1167 PR libgcc/92988
1168 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1169 DEFAULT_USE_CXA_ATEXIT is true.
1170
e953433f 11712020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 1172 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
1173
1174 * config/arm/t-arm: Check return value of gcc rather than lack of
1175 output.
1176
03e87724
GJL
11772020-01-14 Georg-Johann Lay <avr@gjlay.de>
1178
1179 * config/avr/lib1funcs.S (skip): Simplify.
1180
af9bd920
KCY
11812020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1182
1183 * config/gcn/atomic.c: Remove include of stdint.h.
1184 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1185 __UINTPTR_TYPE__.
1186
d6491d15
KCY
11872020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1188
1189 * config/gcn/atomic.c: New.
1190 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1191
f30dd607
GJL
11922020-01-08 Georg-Johann Lay <avr@gjlay.de>
1193
1194 Implement 64-bit double functions.
1195
1196 PR target/92055
1197 * config.host (tmake_file) [target=avr]: Add t-libf7,
1198 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1199 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1200 depending on sizeof (double) or sizeof (long double).
1201 * config/avr/libf7: New folder.
1202
5205a445
OH
12032020-01-05 Olivier Hainque <hainque@adacore.com>
1204
1205 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1206 by IN_LIBGCC2.
1207
8d9254fc
JJ
12082020-01-01 Jakub Jelinek <jakub@redhat.com>
1209
1210 Update copyright years.
1211
abb6c3ee
OH
12122019-12-30 Olivier Hainque <hainque@adacore.com>
1213
1214 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1215 * config/gthr-vxworks-tls.c: Likewise.
1216
d7f5094a
OH
12172019-12-30 Olivier Hainque <hainque@adacore.com>
1218
1219 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1220 standard zero-initializer syntax.
1221
49cfaa2a
OH
12222019-12-30 Olivier Hainque <hainque@adacore.com>
1223
1224 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1225 reference to the internal VX_GET_TLS_DATA interface.
1226
89b9a554
OH
12272019-12-30 Olivier Hainque <hainque@adacore.com>
1228
1229 * config/vxcrtstuff.c: Fix incorrect spelling of
1230 USE_INITFINI_ARRAY in guard.
1231
e8aa9f55
JL
12322019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1233
1234 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1235 Override default "extra_parts" variable.
1236 * configure: Regenerate.
1237 * configure.ac: Disable TM clone registry by default for
1238 msp430-elfbare.
1239
a9046e98
JL
12402019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1241
1242 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1243 "extra_parts".
1244 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1245
34a53788
JL
12462019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1247
1248 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1249 true.
1250
21a098f4
JL
12512019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1252
1253 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1254 defined instead of its value.
1255
ad8b7783
JL
12562019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1257
1258 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1259 if it will have contents.
1260
08d7ff78
GJL
12612019-12-05 Georg-Johann Lay <avr@gjlay.de>
1262
1263 PR target/92055
1264 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1265
3d3a96a2
SN
12662019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1267
34b4d99d 1268 PR libgcc/91737
3d3a96a2
SN
1269 * config.host: Add t-gthr-noweak on *-*-musl*.
1270 * config/t-gthr-noweak: New file.
1271
632b5e3d
JDA
12722019-11-17 John David Anglin <danglin@gcc.gnu.org>
1273
1274 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1275 volatile void *. Remove trap check.
1276 (__kernel_cmpxchg2): Likewise.
1277 (FETCH_AND_OP_2): Adjust operand types.
1278 (OP_AND_FETCH_2): Likewise.
1279 (FETCH_AND_OP_WORD): Likewise.
1280 (OP_AND_FETCH_WORD): Likewise.
1281 (COMPARE_AND_SWAP_2): Likewise.
1282 (__sync_val_compare_and_swap_4): Likewise.
1283 (__sync_bool_compare_and_swap_4): Likewise.
1284 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1285 (__sync_lock_test_and_set_4): Likewise.
1286 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1287 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1288 for release.
1289 (__sync_lock_release_8): Remove.
1290
838fd641
SN
12912019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1292
1293 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1294 of __sigset_t.
1295
27204060
JL
12962019-11-14 Jerome Lambourg <lambourg@adacore.com>
1297 Doug Rupp <rupp@adacore.com>
1298 Olivier Hainque <hainque@adacore.com>
1299
1300 * config.host: Collapse the arm-vxworks entries into
1301 a single arm-wrs-vxworks7* one.
1302 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1303 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1304 kernel modules, to be overriden by libstdc++ when we link with
1305 it. Rely on externally provided __exidx_start/end.
1306
3004f893
DR
13072019-11-14 Doug Rupp <rupp@adacore.com>
1308 Olivier Hainque <hainque@adacore.com>
1309
1310 * config.host: Handle aarch64*-wrs-vxworks7*.
1311
36e5f4d4
OH
13122019-11-12 Olivier Hainque <hainque@adacore.com>
1313
1314 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1315 sources except the cxx0x support to LIB2ADDEH. We don't support
1316 cxx0x on AE/653.
1317 * config/t-vxworksae: New file.
1318 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1319 Makefile fragment files at their expected position in the tmake_file
1320 list, in accordance with what is done for other VxWorks variants.
1321
806dd047
CG
13222019-11-12 Corentin Gay <gay@adacore.com>
1323 Jerome Lambourg <lambourg@adacore.com>
1324 Olivier Hainque <hainque@adacore.com>
1325
1326 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1327 sources to LIB2ADDEH.
1328 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1329 * config/t-vxworks7: Likewise.
1330
1331 * config.host: Append a block at the end of the file to add the
1332 t-gthr files to the tmake_file list for VxWorks after everything
1333 else.
1334
1335 * config/vxlib.c: Rename as gthr-vxworks.c.
1336 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1337
1338 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1339 API and a basic error checking API, both internal. Simplify the
1340 __gthread_once_t type definition and initializers. Add sections
1341 for condition variables support and for the C++0x thread support,
1342 conditioned against Vx653 for the latter.
1343
1344 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1345 implementation, leveraging the TAS internal API.
1346 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1347 API, leveraging the general availability of TLS services in VxWorks7
1348 post SR6xxx.
1349 (__gthread_setspecific, __gthread_setspecific): Use it.
1350 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1351 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1352 support based on VxWorks primitives.
1353 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1354 based on VxWorks primitives.
1355
78e49fb1
JL
13562019-11-06 Jerome Lambourg <lambourg@adacore.com>
1357 Olivier Hainque <hainque@adacore.com>
1358
1359 * config/vxcrtstuff.c: New file.
1360 * config/t-vxcrtstuff: New Makefile fragment.
1361 * config.host: Append t-vxcrtstuff to the tmake_file list
1362 on all VxWorks ports using dwarf for table based EH.
1363
29f3def3
GJL
13642019-11-07 Georg-Johann Lay <avr@gjlay.de>
1365
1366 Support 64-bit double and 64-bit long double configurations.
1367
1368 PR target/92055
1369 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1370 long double is a 32-bit type.
1371 * config/avr/t-avrlibc: Copy double64 and long-double64
1372 multilib(s) from the vanilla one.
1373 * config/avr/t-copy-libgcc: New Makefile snip.
1374
62ec242e
JL
13752019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1376
1377 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1378 the target output object format is not ELF.
1379 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1380
da5c1bbe
OE
13812019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1382
1383 PR libgcc/78804
1384 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1385 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1386 FLOAT_BIT_ORDER_MISMATCH.
1387 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1388
8dc56a22
JW
13892019-11-01 Jim Wilson <jimw@sifive.com>
1390
1391 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1392
91c64455
JL
13932019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1394
1395 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1396 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1397 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1398 Define symbols for 32-bit and f5series hardware multiply
1399 register addresses.
1400 Replace hard-coded register addresses with symbols.
1401 Fix "_mspabi*" typo.
1402 Fix whitespace.
1403 * config/msp430/lib2mul.c: Add comment.
1404
85093ac6
JDA
14052019-10-15 John David Anglin <danglin@gcc.gnu.org>
1406
1407 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1408 unsigned int. Adjust callers.
1409 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1410 unsigned int *. Load relocation offset before function pointer.
1411 Add barrier to ensure ordering.
1412
1aea083d
JDA
14132019-10-12 John David Anglin <danglin@gcc.gnu.org>
1414
1415 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1416 Load PIC register after branch target. Fix white space.
1417 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1418 implementations. Load PIC register after branch target. Don't
1419 clobber function pointer when it points to function descriptor.
1420 Use nullification instead of branch in LINUX implementation.
1421
c49af82c
JDA
14222019-10-03 John David Anglin <danglin@gcc.gnu.org>
1423
1424 * config/pa/fptr.c: Disable -Warray-bounds warning.
1425
88a51d68
RH
14262019-09-25 Richard Henderson <richard.henderson@linaro.org>
1427
9e46fd07
RH
1428 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1429 not the ubuntu modified 2.69.
1430
58d169ba
RH
1431 PR target/91833
1432 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1433 initialization if !HAVE_SYS_AUXV_H.
1434 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1435 * config.in, configure: Rebuild.
1436
88a51d68
RH
1437 PR target/91834
1438 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1439 overlap the inputs.
1440
761e6bb9
SZ
14412019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1442
1443 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1444 CTR_EL0.IDC and CTR_EL0.DIC.
1445
76c93295
CL
14462019-09-20 Christophe Lyon <christophe.lyon@st.com>
1447
1448 Revert:
1449 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1450 Mickaël Guêné <mickael.guene@st.com>
1451
1452 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1453 architecture.
1454
33befddc
RH
14552019-09-19 Richard Henderson <richard.henderson@linaro.org>
1456
1457 * config/aarch64/lse-init.c: New file.
1458 * config/aarch64/lse.S: New file.
1459 * config/aarch64/t-lse: New file.
1460 * config.host: Add t-lse to all aarch64 tuples.
1461
ae1152e5
CL
14622019-09-10 Christophe Lyon <christophe.lyon@st.com>
1463 Mickaël Guêné <mickael.guene@st.com>
1464
84818dbb
CL
1465 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1466 architecture.
1467
14682019-09-10 Christophe Lyon <christophe.lyon@st.com>
1469 Mickaël Guêné <mickael.guene@st.com>
1470
ae1152e5
CL
1471 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1472 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1473 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1474 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1475 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1476 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1477 (__gnu_personality_sigframe_fdpic): New.
1478 (get_eit_entry): Add FDPIC signal frame support.
1479
5d727a4b
CL
14802019-09-10 Christophe Lyon <christophe.lyon@st.com>
1481 Mickaël Guêné <mickael.guene@st.com>
1482
1483 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1484 (__kernel_dmb): Likewise.
1485 (__fdpic_cmpxchg): New function.
1486 (__fdpic_dmb): New function.
1487 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1488 (gnu_Unwind_Find_got): New function.
1489 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1490 * unwind-arm-common.inc (UCB_PR_GOT): New.
1491 (funcdesc_t): New struct.
1492 (get_eit_entry): Add FDPIC support.
1493 (unwind_phase2): Likewise.
1494 (unwind_phase2_forced): Likewise.
1495 (__gnu_Unwind_RaiseException): Likewise.
1496 (__gnu_Unwind_Resume): Likewise.
1497 (__gnu_Unwind_Backtrace): Likewise.
1498 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1499
b1e21e5a 15002019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 1501 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 1502
11189793
CL
1503 * libgcc/crtstuff.c: Add support for FDPIC.
1504
15052019-09-10 Christophe Lyon <christophe.lyon@st.com>
1506
1507 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 1508
91dfef96
JM
15092019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1510
1511 * config.host: Set cpu_type for bpf-*-* targets.
1512 * config/bpf/t-bpf: Likewise.
1513 * config/bpf/crtn.S: Likewise.
1514 * config/bpf/crti.S: New file.
1515
2f4d8951
JW
15162019-09-06 Jim Wilson <jimw@sifive.com>
1517
1518 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1519 (riscv*-*-freebsd*): Likewise.
1520
2f2aeda9
UW
15212019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1522
1523 * config.host: Remove references to spu.
1524 * config/spu/: Remove directory.
1525
d16017da
JL
15262019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1527
1528 PR target/91306
1529 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1530 element type, instead of "sizeof" the element type.
1531 (__DTOR_LIST__): Likewise.
1532 (__TMC_LIST__): Likewise.
1533 (__do_global_dtors_aux_fini_array_entry): Likewise.
1534 (__frame_dummy_init_array_entry): Likewise.
1535 (__CTOR_END__): Likewise.
1536 (__DTOR_END__): Likweise.
1537 (__FRAME_END__): Likewise.
1538 (__TMC_END__): Likewise.
1539
a9fcfec3
HL
15402019-08-20 Lili Cui <lilicui@intel.com>
1541
1542 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1543 INTEL_COREI7_COOPERLAKE.
1544
428642b1
MT
15452019-07-31 Matt Thomas <matt@3am-software.com>
1546 Nick Hudson <nick@nthcliff.demon.co.uk>
1547 Matthew Green <mrg@eterna.com.au>
1548 Maya Rashish <coypu@sdf.org>
1549
1550 * config.host (hppa*-*-netbsd*): New case.
1551 * config/pa/t-netbsd: New file.
1552
f0efd925
JH
15532019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1554
1555 * config/arm/cmse.c (cmse_check_address_range): Add
1556 warn_unused_result attribute.
1557
a861990d
ML
15582019-07-22 Martin Liska <mliska@suse.cz>
1559
1560 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1561 * config/pa/t-stublib: Likewise.
1562
9c0dba7c
SH
15632019-07-22 Stafford Horne <shorne@gmail.com>
1564
1565 PR target/90362
1566 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1567 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1568 instructions are not available on every processor. Change a
1569 l.bnf to l.bf to fix logic issue.
1570
61afc8f8
IS
15712019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1572
1573 * config.host: Remove reference to t-darwin8.
1574
179c7ef5
IS
15752019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1576
1577 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1578 list.
1579 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1580 mmacosx-version-min for crts to run across all system versions.
1581 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1582 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1583 system versions >= 10.4.
1584
596341c7
ML
15852019-07-03 Martin Liska <mliska@suse.cz>
1586
1587 * Makefile.in: Use topn_values instead of one_value names.
1588 * libgcov-merge.c (__gcov_merge_single): Move to ...
1589 (__gcov_merge_topn): ... this.
1590 (merge_single_value_set): Move to ...
1591 (merge_topn_values_set): ... this.
1592 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1593 ...
1594 (__gcov_topn_values_profiler_body): ... this.
1595 (__gcov_one_value_profiler_v2): Move to ...
1596 (__gcov_topn_values_profiler): ... this.
1597 (__gcov_one_value_profiler_v2_atomic): Move to ...
1598 (__gcov_topn_values_profiler_atomic): ... this.
1599 (__gcov_indirect_call_profiler_v4): Remove.
1600 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1601 (__gcov_topn_counter_op): ... this.
1602 * libgcov.h (L_gcov_merge_single): Remove.
1603 (L_gcov_merge_topn): New.
1604 (__gcov_merge_single): Remove.
1605 (__gcov_merge_topn): New.
1606 (__gcov_one_value_profiler_v2): Move to ..
1607 (__gcov_topn_values_profiler): ... this.
1608 (__gcov_one_value_profiler_v2_atomic): Move to ...
1609 (__gcov_topn_values_profiler_atomic): ... this.
1610
1b309ca5
ML
16112019-07-03 Martin Liska <mliska@suse.cz>
1612
1613 * libgcov-merge.c (merge_single_value_set): Support N values.
1614 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1615
5a460280
ID
16162019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1617
1618 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1619 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1620 * configure.ac: Add --disable-tm-clone-registry option.
1621 * configure: Regenerate.
1622
45309d28
ML
16232019-06-27 Martin Liska <mliska@suse.cz>
1624
1625 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1626 dead assignments.
1627 * libgcov-util.c: Likewise.
1628
c2f7a665
ML
16292019-06-27 Martin Liska <mliska@suse.cz>
1630
1631 * libgcov-util.c (gcov_profile_merge): Release allocated
1632 memory.
1633 (calculate_overlap): Likewise.
1634
a8e55c61
IS
16352019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1636
1637 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1638 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1639 Build objects for the out of line save/restore register functions
1640 so that they can be used for any supported Darwin version.
1641 * config/t-darwin: Default the build Darwin version to Darwin8
1642 (MacOS 10.4).
1643
e5ce4cbc
ML
16442019-06-25 Martin Liska <mliska@suse.cz>
1645
1646 * libgcov-driver-system.c (replace_filename_variables): Do not
1647 call strlen with NULL argument.
1648
52a47d28
AS
16492019-06-25 Andrew Stubbs <ams@codesourcery.com>
1650
1651 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1652 * config/gcn/unwind-gcn.c: New file.
1653
76d46331
KCY
16542019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1655 Andrew Stubbs <ams@codesourcery.com>
1656
1657 * configure: Regenerate.
1658 * config/gcn/gthr-gcn.h: New.
1659
787783a0
TV
16602019-06-18 Tom de Vries <tdevries@suse.de>
1661
1662 * config/nvptx/crt0.c (__main): Declare.
1663
f32f7585
MG
16642019-06-17 Matthew Green <mrg@eterna.com.au>
1665 Maya Rashish <coypu@sdf.org>
1666
1667 * config.host (aarch64*-*-netbsd*): New case.
1668
0fcc78f7
JL
16692019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1670
1671 * config/msp430/slli.S (__mspabi_sllll): New library function for
1672 performing a logical left shift of a 64-bit value.
1673 * config/msp430/srai.S (__mspabi_srall): New library function for
1674 performing a arithmetic right shift of a 64-bit value.
1675 * config/msp430/srll.S (__mspabi_srlll): New library function for
1676 performing a logical right shift of a 64-bit value.
1677
b27c1082
MT
16782019-06-14 Matt Thomas <matt@3am-software.com>
1679 Matthew Green <mrg@eterna.com.au>
1680 Nick Hudson <skrll@netbsd.org>
1681 Maya Rashish <coypu@sdf.org>
1682
1683 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1684 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1685 functions to build.
1686 * config/arm/t-netbsd-eabi: New file.
1687
ae7deb4b
DD
16882019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1689
1690 * config.host: Add PRU target.
1691 * config/pru/asri.c: New file.
1692 * config/pru/eqd.c: New file.
1693 * config/pru/eqf.c: New file.
1694 * config/pru/ged.c: New file.
1695 * config/pru/gef.c: New file.
1696 * config/pru/gtd.c: New file.
1697 * config/pru/gtf.c: New file.
1698 * config/pru/led.c: New file.
1699 * config/pru/lef.c: New file.
1700 * config/pru/lib2bitcountHI.c: New file.
1701 * config/pru/lib2divHI.c: New file.
1702 * config/pru/lib2divQI.c: New file.
1703 * config/pru/lib2divSI.c: New file.
1704 * config/pru/libgcc-eabi.ver: New file.
1705 * config/pru/ltd.c: New file.
1706 * config/pru/ltf.c: New file.
1707 * config/pru/mpyll.S: New file.
1708 * config/pru/pru-abi.h: New file.
1709 * config/pru/pru-asm.h: New file.
1710 * config/pru/pru-divmod.h: New file.
1711 * config/pru/sfp-machine.h: New file.
1712 * config/pru/t-pru: New file.
1713
0d7b3e47
JJ
17142019-06-11 Jakub Jelinek <jakub@redhat.com>
1715
1716 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1717
54e2d83c
ML
17182019-06-10 Martin Liska <mliska@suse.cz>
1719
1720 PR bootstrap/90808
1721 * libgcov.h: Add ATTRIBUTE_UNUSED.
1722
92d41717
ML
17232019-06-10 Martin Liska <mliska@suse.cz>
1724
1725 * Makefile.in: Add __gcov_one_value_profiler_v2,
1726 __gcov_one_value_profiler_v2_atomic and
1727 __gcov_indirect_call_profiler_v4.
1728 * libgcov-merge.c (__gcov_merge_single): Change
1729 function signature.
1730 (merge_single_value_set): New.
1731 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1732 Update functionality.
1733 (__gcov_one_value_profiler): Remove.
1734 (__gcov_one_value_profiler_v2): ... this.
1735 (__gcov_one_value_profiler_atomic): Rename to ...
1736 (__gcov_one_value_profiler_v2_atomic): this.
1737 (__gcov_indirect_call_profiler_v3): Rename to ...
1738 (__gcov_indirect_call_profiler_v4): ... this.
1739 * libgcov.h (__gcov_one_value_profiler): Remove.
1740 (__gcov_one_value_profiler_atomic): Remove.
1741 (__gcov_one_value_profiler_v2_atomic): New.
1742 (__gcov_indirect_call_profiler_v3): Remove.
1743 (__gcov_one_value_profiler_v2): New.
1744 (__gcov_indirect_call_profiler_v4): New.
1745 (gcov_get_counter_ignore_scaling): New function.
1746
e37333ba
ML
17472019-06-07 Martin Liska <mliska@suse.cz>
1748
1749 * Makefile.in: Remove usage of
1750 _gcov_merge_icall_topn.
1751 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1752 (gcov_sort_icall_topn_counter): Likewise.
1753 (gcov_sort_topn_counter_arrays): Likewise.
1754 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1755 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1756 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1757 Likewise.
1758 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1759 (struct indirect_call_tuple): Remove.
1760 (__gcov_indirect_call_topn_profiler): Remove.
1761 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1762 * libgcov.h (gcov_sort_n_vals): Remove.
1763 (L_gcov_merge_icall_topn): Likewise.
1764 (__gcov_merge_icall_topn): Likewise.
1765 (__gcov_indirect_call_topn_profiler): Likewise.
1766
34a4a9c2
IS
17672019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1768
1769 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1770 altivec enabled.
1771
d1b2f85f
JL
17722019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1773
1774 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1775 section.
1776 (__mspabi_slli): Likewise.
1777 (__mspabi_slll_n): Likewise.
1778 (__mspabi_slll): Likewise.
1779 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1780 (__mspabi_srai): Likewise.
1781 (__mspabi_sral_n): Likewise.
1782 (__mspabi_sral): Likewise.
1783 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1784 (__mspabi_srli): Likewise.
1785 (__mspabi_srll_n): Likewise.
1786 (__mspabi_srll): Likewise.
1787
e69a13d1
YS
17882019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1789
1790 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1791 Add appropriate tm_file clause as well.
1792 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1793
b009eac1
JC
17942019-06-05 James Clarke <jrtc27@jrtc27.com>
1795
1796 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1797 rather than .data/.bss so it can be accessed via gp-relative
1798 addressing.
1799
781d39f2
DE
18002019-06-05 David Edelsohn <dje.gcc@gmail.com>
1801
1802 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1803 (CR2_REGNO): Rename to R_CR2.
1804 (XER_REGNO): Rename to R_XER.
1805 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1806 (VRSAVE_REGNO): Rename to R_VRSAVE.
1807 (VSCR_REGNO): R_VSCR.
1808
76aaa9cd
YS
18092019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1810
1811 * config.host (rx-*-linux*): Add new case.
1812 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1813
8fc16d72
ST
18142019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1815
1816 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1817 function.
1818 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1819 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1820 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1821 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1822 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1823 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1824 string.
1825 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1826 string.
1827 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1828
e54b1a92
RO
18292019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1830
1831 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1832 Remove Solaris 9 and 10 support.
1833 (sparc_is_sighandler): Likewise.
1834
abbb8307
JDA
18352019-05-26 John David Anglin <danglin@gcc.gnu.org>
1836
1837 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1838
2581344d
L
18392019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1840
1841 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1842 4_FP_W_TYPEs are used for IEEE quad precision.
1843 * soft-fp/extendhftf2.c: Likewise.
1844 * soft-fp/extendsftf2.c: Likewise.
1845 * soft-fp/extendxftf2.c: Likewise.
1846 * soft-fp/trunctfdf2.c: Likewise.
1847 * soft-fp/trunctfhf2.c: Likewise.
1848 * soft-fp/trunctfsf2.c: Likewise.
1849 * soft-fp/trunctfxf2.c: Likewise.
1850 * config/rs6000/ibm-ldouble.c: Likewise.
1851
ccd1242e
RO
18522019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1853
1854 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1855 *-*-solaris2*.
1856 * configure.ac: Likewise.
1857 * configure: Regenerate.
1858
1859 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1860 Solaris 10 and Solaris 11 < snv_125 handling.
1861
ef5eb79d
IS
18622019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1863
1864 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1865
4f0e90fa
HL
18662019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1867
1868 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1869 * config/i386/cpuinfo.h (enum processor_features): Add
1870 FEATURE_AVX512BF16.
1871
48528842
RR
18722019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1873 Bernd Edlinger <bernd.edlinger@hotmail.de>
1874 Jakub Jelinek <jakub@redhat.com>
1875
1876 PR target/89093
1877 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1878 * config/arm/unwind-arm.c: Likewise.
1879 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1880 attribute for ARM.
1881
887e182f
MC
18822019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1883
1884 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1885 (RT_SIGRETURN): Update.
1886 (nds32_fallback_frame_state): Update.
1887
a90b0cdd
MS
18882019-02-21 Martin Sebor <msebor@redhat.com>
1889
1890 * libgcc2.h (__clear_cache): Correct signature.
1891 * libgcc2.c (__clear_cache): Same.
1892
1ed28eda
UB
18932019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1894
1895 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1896 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1897
fe95aee9
UB
18982019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1899
1900 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1901 regno instead of index to DWARF_ZERO_REG.
1902
bf7988f1
EB
19032019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1904
1905 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1906 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1907
ba2c1ca8
UB
19082019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1909
1910 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1911 to HOST_LIBGCC2_CFLAGS.
1912
6395ba73
L
19132019-01-23 Joseph Myers <joseph@codesourcery.com>
1914
1915 PR libgcc/88931
ba2c1ca8 1916 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 1917
756721ba
ML
19182019-01-18 Martin Liska <mliska@suse.cz>
1919
1920 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1921 to ...
1922 (__gcov_indirect_call_profiler_v3): ... this.
1923 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1924 (__gcov_indirect_call_profiler_v3): Likewise.
1925 * Makefile.in: Bump function name.
1926
d273c40a
ML
19272019-01-18 Martin Liska <mliska@suse.cz>
1928
1929 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1930 (gcov_version): Use in gcov_error.
1931 (merge_one_data): Likewise.
1932 (dump_one_gcov): Likewise.
1933
be9d9fdb
ML
19342019-01-18 Martin Liska <mliska@suse.cz>
1935
1936 * libgcov-driver.c (gcov_version_string): New function.
1937 (gcov_version): Convert version integer into string.
1938
91d7b7fe
AS
19392019-01-17 Andrew Stubbs <ams@codesourcery.com>
1940 Kwok Cheung Yeung <kcy@codesourcery.com>
1941 Julian Brown <julian@codesourcery.com>
1942 Tom de Vries <tom@codesourcery.com>
1943
1944 * config.host: Recognize amdgcn*-*-amdhsa.
1945 * config/gcn/crt0.c: New file.
1946 * config/gcn/lib2-divmod-hi.c: New file.
1947 * config/gcn/lib2-divmod.c: New file.
1948 * config/gcn/lib2-gcn.h: New file.
1949 * config/gcn/sfp-machine.h: New file.
1950 * config/gcn/t-amdgcn: New file.
1951
67914693
SL
19522019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1953
1954 PR other/16615
1955
1956 * config/c6x/libunwind.S: Mechanically replace "can not" with
1957 "cannot".
1958 * config/tilepro/atomic.h: Likewise.
1959 * config/vxlib-tls.c: Likewise.
1960 * generic-morestack-thread.c: Likewise.
1961 * generic-morestack.c: Likewise.
1962 * mkmap-symver.awk: Likewise.
1963
a5544970
JJ
19642019-01-01 Jakub Jelinek <jakub@redhat.com>
1965
1966 Update copyright years.
1967
da77eace
L
19682018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1969
1970 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1971 to ignore -Waddress-of-packed-member.
1972
72e3a529
TP
19732018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1974
1975 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1976 parameter and corresponding code.
1977 (ARM_FUNC_START): Likewise in both definitions.
1978 Also update footer comment about condition that need to match with
1979 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1980 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1981 defined. Weakly define it in this case.
1982 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1983 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1984 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1985 comment to keep condition in sync with the one in
1986 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1987
5d54c798
WX
19882018-12-18 Wei Xiao <wei3.xiao@intel.com>
1989
1990 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1991 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1992
5a2580b6
RV
19932018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1994
1995 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1996 and .cfi_endproc directives for VxWorks targets.
1997
c0c5112b
PK
19982018-12-05 Paul Koning <ni1d@arrl.net>
1999
2000 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2001
1ea7ea18
AM
20022018-11-27 Alan Modra <amodra@gmail.com>
2003
2004 * config/rs6000/morestack.S (__stack_split_initialize),
2005 (__morestack_get_guard, __morestack_set_guard),
2006 (__morestack_make_guard): Provide CFI covering these functions.
2007 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2008
ff641ae1
XQ
20092018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2010
1ea7ea18 2011 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
2012 (sc_pt_regs_lr): Update for kernel.
2013 (sc_pt_regs_tls): Update for kernel.
2014
28209372
XQ
20152018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2016
2017 * config/csky/linux-unwind.h: Fix coding style.
2018
b2a71af6
XQ
20192018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2020
2021 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 2022 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
2023 instructions to adapt to changes in the kernel
2024
d929e137
SH
20252018-11-09 Stafford Horne <shorne@gmail.com>
2026 Richard Henderson <rth@twiddle.net>
2027
2028 * config.host: Add OpenRISC support.
2029 * config/or1k/*: New.
2030
222cfefa
KC
20312018-11-08 Kito Cheng <kito@andestech.com>
2032
2033 * soft-fp/adddf3.c: Update from glibc.
2034 * soft-fp/addsf3.c: Likewise.
2035 * soft-fp/addtf3.c: Likewise.
2036 * soft-fp/divdf3.c: Likewise.
2037 * soft-fp/divsf3.c: Likewise.
2038 * soft-fp/divtf3.c: Likewise.
2039 * soft-fp/double.h: Likewise.
2040 * soft-fp/eqdf2.c: Likewise.
2041 * soft-fp/eqsf2.c: Likewise.
2042 * soft-fp/eqtf2.c: Likewise.
2043 * soft-fp/extenddftf2.c: Likewise.
2044 * soft-fp/extended.h: Likewise.
2045 * soft-fp/extendhftf2.c: Likewise.
2046 * soft-fp/extendsfdf2.c: Likewise.
2047 * soft-fp/extendsftf2.c: Likewise.
2048 * soft-fp/extendxftf2.c: Likewise.
2049 * soft-fp/fixdfdi.c: Likewise.
2050 * soft-fp/fixdfsi.c: Likewise.
2051 * soft-fp/fixdfti.c: Likewise.
2052 * soft-fp/fixhfti.c: Likewise.
2053 * soft-fp/fixsfdi.c: Likewise.
2054 * soft-fp/fixsfsi.c: Likewise.
2055 * soft-fp/fixsfti.c: Likewise.
2056 * soft-fp/fixtfdi.c: Likewise.
2057 * soft-fp/fixtfsi.c: Likewise.
2058 * soft-fp/fixtfti.c: Likewise.
2059 * soft-fp/fixunsdfdi.c: Likewise.
2060 * soft-fp/fixunsdfsi.c: Likewise.
2061 * soft-fp/fixunsdfti.c: Likewise.
2062 * soft-fp/fixunshfti.c: Likewise.
2063 * soft-fp/fixunssfdi.c: Likewise.
2064 * soft-fp/fixunssfsi.c: Likewise.
2065 * soft-fp/fixunssfti.c: Likewise.
2066 * soft-fp/fixunstfdi.c: Likewise.
2067 * soft-fp/fixunstfsi.c: Likewise.
2068 * soft-fp/fixunstfti.c: Likewise.
2069 * soft-fp/floatdidf.c: Likewise.
2070 * soft-fp/floatdisf.c: Likewise.
2071 * soft-fp/floatditf.c: Likewise.
2072 * soft-fp/floatsidf.c: Likewise.
2073 * soft-fp/floatsisf.c: Likewise.
2074 * soft-fp/floatsitf.c: Likewise.
2075 * soft-fp/floattidf.c: Likewise.
2076 * soft-fp/floattihf.c: Likewise.
2077 * soft-fp/floattisf.c: Likewise.
2078 * soft-fp/floattitf.c: Likewise.
2079 * soft-fp/floatundidf.c: Likewise.
2080 * soft-fp/floatundisf.c: Likewise.
2081 * soft-fp/floatunditf.c: Likewise.
2082 * soft-fp/floatunsidf.c: Likewise.
2083 * soft-fp/floatunsisf.c: Likewise.
2084 * soft-fp/floatunsitf.c: Likewise.
2085 * soft-fp/floatuntidf.c: Likewise.
2086 * soft-fp/floatuntihf.c: Likewise.
2087 * soft-fp/floatuntisf.c: Likewise.
2088 * soft-fp/floatuntitf.c: Likewise.
2089 * soft-fp/gedf2.c: Likewise.
2090 * soft-fp/gesf2.c: Likewise.
2091 * soft-fp/getf2.c: Likewise.
2092 * soft-fp/half.h: Likewise.
2093 * soft-fp/ledf2.c: Likewise.
2094 * soft-fp/lesf2.c: Likewise.
2095 * soft-fp/letf2.c: Likewise.
2096 * soft-fp/muldf3.c: Likewise.
2097 * soft-fp/mulsf3.c: Likewise.
2098 * soft-fp/multf3.c: Likewise.
2099 * soft-fp/negdf2.c: Likewise.
2100 * soft-fp/negsf2.c: Likewise.
2101 * soft-fp/negtf2.c: Likewise.
2102 * soft-fp/op-1.h: Likewise.
2103 * soft-fp/op-2.h: Likewise.
2104 * soft-fp/op-4.h: Likewise.
2105 * soft-fp/op-8.h: Likewise.
2106 * soft-fp/op-common.h: Likewise.
2107 * soft-fp/quad.h: Likewise.
2108 * soft-fp/single.h: Likewise.
2109 * soft-fp/soft-fp.h: Likewise.
2110 * soft-fp/subdf3.c: Likewise.
2111 * soft-fp/subsf3.c: Likewise.
2112 * soft-fp/subtf3.c: Likewise.
2113 * soft-fp/truncdfsf2.c: Likewise.
2114 * soft-fp/trunctfdf2.c: Likewise.
2115 * soft-fp/trunctfhf2.c: Likewise.
2116 * soft-fp/trunctfsf2.c: Likewise.
2117 * soft-fp/trunctfxf2.c: Likewise.
2118 * soft-fp/unorddf2.c: Likewise.
2119 * soft-fp/unordsf2.c: Likewise.
2120 * soft-fp/unordtf2.c: Likewise.
2121
2901f42f
VK
21222018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2123
2124 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2125 * config/i386/cpuinfo.h (processor_types): Add znver2.
2126
4310ca66
PK
21272018-11-01 Paul Koning <ni1d@arrl.net>
2128
2129 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2130 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2131
22e05272
JM
21322018-10-31 Joseph Myers <joseph@codesourcery.com>
2133
2134 PR bootstrap/82856
2135 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2136 * configure: Regenerate.
2137
8180cde0
CZ
21382018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2139
2140 * config/arc/lib1funcs.S (_muldi3): New function.
2141 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2142
be7b071e
RV
21432018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2144
2145 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2146
3239d726
ML
21472018-10-25 Martin Liska <mliska@suse.cz>
2148
2149 PR other/87735
2150 * libgcov-profiler.c: Revert.
2151
19b55958
ML
21522018-10-24 Martin Liska <mliska@suse.cz>
2153
2154 * libgcov-profiler.c: Start from 1 in order to distinguish
2155 functions which were seen and these that were not.
2156
a9a2fddb
PK
21572018-10-18 Paul Koning <ni1d@arrl.net>
2158
2159 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2160 standard.
2161 * divmod.c: Update references to __udivmodsi4.
2162 * udivmod.c: Ditto.
2163 * udivhi3.c: New file.
2164 * udivmodhi4.c: New file.
2165 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2166
fc8abc46
RV
21672018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2168
2169 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2170
87f918e3
OH
21712018-10-12 Olivier Hainque <hainque@adacore.com>
2172
2173 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2174 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2175
be86efa7
PK
21762018-10-08 Paul Koning <ni1d@arrl.net>
2177
2178 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2179
3edbcdbe
ML
21802018-10-04 Martin Liska <mliska@suse.cz>
2181
2182 PR gcov-profile/84107
2183 * libgcov-profiler.c (__gcov_indirect_call):
2184 Change type to indirect_call_tuple.
2185 (struct indirect_call_tuple): New struct.
2186 (__gcov_indirect_call_topn_profiler): Change type.
2187 (__gcov_indirect_call_profiler_v2): Use the new
2188 variables.
2189 * libgcov.h (struct indirect_call_tuple): New struct
2190 definition.
2191
af8096fc
UB
21922018-10-03 Uros Bizjak <ubizjak@gmail.com>
2193
2194 * libgcc2.c (isnan): Use __builtin_isnan.
2195 (isfinite): Use __builtin_isfinite.
2196 (isinf): Use __builtin_isinf.
2197
0a76bba4
UB
21982018-09-26 Uros Bizjak <ubizjak@gmail.com>
2199
2200 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2201
5244089f
OH
22022018-09-21 Alexandre Oliva <oliva@adacore.com>
2203
2204 * config/vxcache.c: New file. Provide __clear_cache, based on
2205 the cacheTextUpdate VxWorks service.
2206 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2207 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2208 * config/t-vxwoks7: Likewise.
2209
512cc015
ML
22102018-09-21 Martin Liska <mliska@suse.cz>
2211
2212 * libgcov-driver.c (crc32_unsigned): Remove.
2213 (gcov_histogram_insert): Likewise.
2214 (gcov_compute_histogram): Likewise.
2215 (compute_summary): Simplify rapidly.
2216 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2217 (merge_summary): Rapidly simplify.
2218 (dump_one_gcov): Ignore gcov_summary.
2219 (gcov_do_dump): Do not handle program summary, it's not
2220 used.
2221 * libgcov-util.c (tag_summary): Remove.
2222 (read_gcda_finalize): Fix coding style.
2223 (read_gcda_file): Initialize curr_object_summary.
2224 (compute_summary): Remove.
2225 (calculate_overlap): Remove settings of run_max.
2226
36ff254b
MC
22272018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2228
2229 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2230 ucontext_t type instead.
2231 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2232
229a033d
KC
22332018-09-21 Kito Cheng <kito.cheng@gmail.com>
2234
2235 * config/nds32/t-nds32-glibc: New file.
2236
53c6feb2
RO
22372018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2238
2239 * configure.ac (solaris_ld_v2_maps): New test.
2240 * configure: Regenerate.
2241 * Makefile.in (solaris_ld_v2_maps): New variable.
2242 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2243 if supported.
2244
ebdb6f23
RE
22452018-08-23 Richard Earnshaw <rearnsha@arm.com>
2246
2247 PR target/86951
2248 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2249 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2250 to build.
2251
a49c064e
IS
22522018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2253
1ea7ea18 2254 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
2255 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2256 * config/darwin10-unwind-find-enc-func.c: … to here.
2257 * config/t-darwin: Build Darwin10 unwinder shim crt.
2258 * libgcc/config.host: Add the Darwin10 unwinder shim.
2259
9a5b8df7
RV
22602018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2261
2262 * config.host: Add crtbegin.o and crtend.o for
2263 powerpc-wrs-vxworks target.
2264
4cd0bc3b
J
22652018-08-17 Jojo <jijie_rong@c-sky.com>
2266 Huibin Wang <huibin_wang@c-sky.com>
2267 Sandra Loosemore <sandra@codesourcery.com>
2268 Chung-Lin Tang <cltang@codesourcery.com>
2269
2270 C-SKY port: libgcc
2271
2272 * config.host: Add C-SKY support.
2273 * config/csky/*: New.
2274
a4931745
CJW
22752018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2276
2277 * config/nds32/t-nds32-isr: Rearrange object dependency.
2278 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2279 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2280 and registers usage.
2281 * config/nds32/isr-library/excp_isr.S: Ditto.
2282 * config/nds32/isr-library/intr_isr.S: Ditto.
2283 * config/nds32/isr-library/reset.S: Ditto.
2284 * config/nds32/isr-library/restore_all.inc: Ditto.
2285 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2286 * config/nds32/isr-library/restore_partial.inc: Ditto.
2287 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2288 * config/nds32/isr-library/save_all.inc: Ditto.
2289 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2290 * config/nds32/isr-library/save_partial.inc: Ditto.
2291 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2292 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2293
2b1969f6
JDA
22942018-08-11 John David Anglin <danglin@gcc.gnu.org>
2295
2296 * config/pa/linux-atomic.c: Update comment.
2297 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2298 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2299 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2300 __ATOMIC_RELAXED for atomic loads.
2301 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2302 unordered store to release lock.
2303 (__sync_lock_release_8): Likewise.
2304 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 2305
89fff9cc
NP
23062018-08-02 Nicolas Pitre <nico@fluxnic.net>
2307
2308 PR libgcc/86512
2309 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2310 exponent goes negative. Update my email address.
2311 * config/arm/ieee754-sf.S: Likewise.
2312
fd2e1dcd
ML
23132018-08-01 Martin Liska <mliska@suse.cz>
2314
2315 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 2316 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 2317
b7415975
CL
23182018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2319
2320 * config/arm/ieee754-df.S: Fix comment for code working on
2321 architectures >= 4.
2322 * config/arm/ieee754-sf.S: Likewise.
2323
b72e71a3
L
23242018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2325
2326 PR libgcc/85334
2327 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2328 Removed.
2329
1c686aa4
JC
23302018-07-05 James Clarke <jrtc27@jrtc27.com>
2331
2332 * configure: Regenerated.
2333
b61c9b99
RO
23342018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2335
2336 * Makefile.in (install_leaf): Use enable_gcov instead of
2337 enable_libgcov.
2338
1765b023
RV
23392018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2340
2341 * configure.ac: Add --disable-gcov option.
2342 * configure: Regenerate.
2343 * Makefile.in: Honour @enable_gcov@.
2344
9b2e34ef
CL
23452018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2346
2347 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2348 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2349 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2350 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2351 __ARM_ARCH__.
2352 * config/arm/ieee754-sf.S: Likewise.
2353 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2354
d1b0dd54
CL
23552018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2356
2357 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2358 longer supported.
2359 * config/arm/ieee754-sf.S: Likewise.
2360
1f3fa525
TM
23612018-06-20 Than McIntosh <thanm@google.com>
2362
2363 PR libgcc/86213
2364 * generic-morestack.c (allocate_segment): Move calls to getenv and
2365 getpagesize to __morestack_load_mmap.
2366 (__morestack_load_mmap) Initialize static_pagesize and
2367 use_guard_page here so as to avoid clobbering SSE regs during a
2368 __morestack call.
2369
6a8886e4
MM
23702018-06-18 Michael Meissner <meissner@linux.ibm.com>
2371
2372 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2373 support modules with -mno-gnu-attribute.
2374 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2375
fb997097
OH
23762018-06-07 Olivier Hainque <hainque@adacore.com>
2377
2378 * config/t-vxworks (LIBGCC_INCLUDES): Add
2379 -I$(MULTIBUILDTOP)../../gcc/include.
2380 * config/t-vxworks7: Likewise. Reformat a bit to match
2381 the t-vxworks layout.
2382
a548a5a1
OM
23832018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2384
2385 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2386
244aebfd
ML
23872018-06-07 Martin Liska <mliska@suse.cz>
2388
2389 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 2390 all_prg.
244aebfd 2391
6c086e8c
ML
23922018-06-07 Martin Liska <mliska@suse.cz>
2393
92a285c1 2394 PR bootstrap/86057
6c086e8c 2395 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 2396 memcpy instead of mempcpy.
6c086e8c 2397 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 2398 prefix and set it.
6c086e8c 2399 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 2400 here and properly copy content into it.
6c086e8c 2401 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 2402 field, change prefix from size_t into char *.
6c086e8c
ML
2403 (compute_summary): Do not calculate longest filename.
2404 (gcov_do_dump): Release memory of gf.filename after each file.
2405 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 2406 compute_summary.
6c086e8c
ML
2407 (calculate_overlap): Likewise.
2408
97a53d1d
ML
24092018-06-05 Martin Liska <mliska@suse.cz>
2410
2411 PR gcov-profile/47618
2412 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 2413 function.
97a53d1d
ML
2414 (gcov_exit_open_gcda_file): Use it.
2415
7f3577f5
ML
24162018-06-05 Martin Liska <mliska@suse.cz>
2417
2418 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2419 of gcov_ctr_summary.
2420 (compute_summary): Do it just for a single summary.
2421 (merge_one_data): Likewise.
2422 (merge_summary): Simplify as we read just single summary.
2423 (dump_one_gcov): Pass proper argument.
2424 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2425 single summary.
2426 (gcov_info_count_all_cold): Likewise.
2427 (calculate_overlap): Likewise.
2428
cf3cd43d
CJW
24292018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2430 Monk Chiang <sh.chiang04@gmail.com>
2431
2432 * config.host (nds32*-linux*): New.
2433 * config/nds32/linux-atomic.c: New file.
2434 * config/nds32/linux-unwind.h: New file.
2435
8b8003ed
UB
24362018-05-31 Uros Bizjak <ubizjak@gmail.com>
2437
2438 PR target/85591
2439 * config/i386/cpuinfo.c (get_amd_cpu): Return
2440 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2441
bbdf026f
RV
24422018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2443
92a285c1 2444 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 2445
0e8f29da
ML
24462018-05-29 Martin Liska <mliska@suse.cz>
2447
92a285c1 2448 PR gcov-profile/85759
0e8f29da 2449 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 2450 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 2451 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 2452 overwrite a gcov file with a different timestamp.
0e8f29da 2453
54fd1590
K
24542018-05-23 Kalamatee <kalamatee@gmail.com>
2455
2456 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2457 path to Lf$finfty.
2458
09baee1a
KC
24592018-05-18 Kito Cheng <kito.cheng@gmail.com>
2460 Monk Chiang <sh.chiang04@gmail.com>
2461 Jim Wilson <jimw@sifive.com>
2462
2463 * config/riscv/save-restore.S: Add support for rv32e.
2464
c3f808d3
KT
24652018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2466
2467 * config/arm/libunwind.S: Update comment relating to armv5.
2468
fcf4f831
JL
24692018-05-17 Jerome Lambourg <lambourg@adacore.com>
2470
2471 * config/arm/cmse.c (cmse_check_address_range): Replace
2472 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2473
74b2bb19
OM
24742018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2475
2476 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2477 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2478
50e461df
OM
24792018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2480
2481 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2482 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2483
e5f1cdb1
AC
24842018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2485
2486 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2487
8f479d7a
AT
24882018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2489 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2490
2491 PR libgcc/84292
2492 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2493 op_and_fetch to return the right result.
2494
ae043291
AM
24952018-04-27 Alan Modra <amodra@gmail.com>
2496
2497 PR libgcc/85532
2498 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2499 -fno-asynchronous-unwind-tables.
2500
ba169b74
CJW
25012018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2502
2503 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2504 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2505
ffc2fc06
L
25062018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2507
2508 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2509 when including "config/i386/shadow-stack-unwind.h".
2510
7b47ecf2
L
25112018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2512
2513 * configure: Regenerated.
2514
661eb8f9
MM
25152018-04-20 Michael Meissner <meissner@linux.ibm.com>
2516
2517 PR target/85456
2518 * config/rs6000/_powikf2.c: New file. Add support for the
2519 __builtin_powil function when long double is IEEE 128-bit floating
2520 point.
2521 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2522 __powikf2 support.
2523 (__powikf2): Likewise.
2524 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2525 (__powikf2_hw): Likewise.
2526 (__powikf2): Likewise.
2527 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2528 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2529 (_powikf2-hw.c): Likewise.
2530
5707be3c
L
25312018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2532
2533 PR libgcc/85334
2534 * unwind-generic.h (_Unwind_Frames_Increment): New.
2535 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2536 Likewise.
2537 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2538 count with _Unwind_Frames_Increment.
2539 (_Unwind_ForcedUnwind_Phase2): Likewise.
2540
5f9ca0b8
L
25412018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2542
2543 PR libgcc/85379
2544 * config/i386/morestack.S (__stack_split_initialize): Add
2545 _CET_ENDBR.
2546
a0e1df88
JJ
25472018-04-19 Jakub Jelinek <jakub@redhat.com>
2548
2549 * configure: Regenerated.
2550
001ddaa8
DM
25512018-04-18 David Malcolm <dmalcolm@redhat.com>
2552
2553 PR jit/85384
2554 * configure: Regenerate.
2555
a57f99ba
JJ
25562018-04-16 Jakub Jelinek <jakub@redhat.com>
2557
2558 PR target/84945
2559 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2560 -Wdangling-else warnings. Mask shift counts to avoid
2561 -Wshift-count-negative and -Wshift-count-overflow false positives.
2562
4d47fe5a
RB
25632018-04-06 Ruslan Bukin <br@bsdpad.com>
2564
2565 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2566
059cc8ac
L
25672018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2568
2569 PR target/85100
2570 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2571 (XSTATE_FP): Likewise.
2572 (XSTATE_SSE): Likewise.
2573 (XSTATE_YMM): Likewise.
2574 (XSTATE_OPMASK): Likewise.
2575 (XSTATE_ZMM): Likewise.
2576 (XSTATE_HI_ZMM): Likewise.
2577 (XCR_AVX_ENABLED_MASK): Likewise.
2578 (XCR_AVX512F_ENABLED_MASK): Likewise.
2579 (get_available_features): Enable AVX and AVX512 features only
2580 if their states are supported by OSXSAVE.
2581
f2620385
IT
25822018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2583
2584 PR target/85025
2585 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2586 Fix a typo, tmp => 255.
2587
ae6dca8c
JJ
25882018-03-20 Jakub Jelinek <jakub@redhat.com>
2589
2590 PR target/84945
2591 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2592 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2593 ifndef SHARED only.
2594 (set_feature): Define.
2595 (get_available_features): Use set_feature macro. Set __cpu_features2
2596 to the second word of features ifndef SHARED.
2597
c36b04c1
JK
25982018-03-15 Julia Koval <julia.koval@intel.com>
2599
2600 * config/i386/cpuinfo.c (get_available_features): Add
2601 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2602 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2603 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2604 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2605 FEATURE_AVX512BITALG.
2606
79ab5364
JK
26072018-03-14 Julia Koval <julia.koval@intel.com>
2608
2609 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2610 icelake client and icelake server.
2611
66a00b11
JDA
26122018-03-06 John David Anglin <danglin@gcc.gnu.org>
2613
2614 * config/pa/fptr.c (_dl_read_access_allowed): New.
2615 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 2616
ce579a4f
JJ
26172018-02-28 Jakub Jelinek <jakub@redhat.com>
2618
2619 PR debug/83917
2620 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2621 $asm_hidden_op if visibility ("hidden") attribute works.
2622 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2623 * config/i386/i386-asm.h: Don't include auto-host.h.
2624 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2625 PACKAGE_URL): Don't undefine.
2626 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2627 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2628 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2629 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2630 definition instead of hardcoded .hidden.
2631 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2632 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2633 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2634 (USE_GAS_CFI_DIRECTIVES): Don't define.
2635 * configure: Regenerated.
2636 * config.in: Likewise.
2637
e5868319
JJ
26382018-02-26 Jakub Jelinek <jakub@redhat.com>
2639
2640 PR debug/83917
2641 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2642 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2643 inclusion of auto-target.h and auto-host.h.
2644 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2645 __GCC_HAVE_DWARF2_CFI_ASM.
2646 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2647 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2648 cfi_pop): Define.
2649 * config/i386/cygwin.S: Don't include auto-host.h here, just
2650 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2651 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2652 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2653 * config/i386/resms64fx.h: Add cfi_* directives.
2654 * config/i386/resms64x.h: Likewise.
2655
faef260e
MF
26562018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2657
2658 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2659 .literal_position directive.
2660 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2661
14e335ed
IT
26622018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2663
2664 PR target/84148
2665 * configure: Regenerate.
2666
95df0433
IT
26672018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2668
2669 PR target/84239
2670 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2671 Include cetintrin.h not x86intrin.h.
2672
f8de876d
IT
26732018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2674
2675 PR target/84239
95df0433 2676 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
2677 Use new _get_ssp and _inc_ssp intrinsics.
2678
02da1e9c
JK
26792018-02-02 Julia Koval <julia.koval@intel.com>
2680
2681 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2682
048c6a9a
CZ
26832018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2684
2685 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2686 option.
2687 (__divsi3): Use RF16 safe registers.
2688 (__modsi3): Likewise.
2689
0889f168
MF
26902018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2691
2692 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2693 (__divsf3): Make NaN return value quiet.
2694 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2695 (__divdf3): Make NaN return value quiet.
2696
bc8b0d04
SP
26972018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2698
2699 * config/rl78/anddi3.S: New assembly file.
2700 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2701
99cc06ea
SP
27022018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2703
2704 * config/rl78/umindi3.S: New assembly file.
2705 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2706
6e9007a0
SP
27072018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2708
2709 * config/rl78/smindi3.S: New assembly file.
2710 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2711
d975e494 27122018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2713
d975e494
SP
2714 * config/rl78/smaxdi3.S: New assembly file.
2715 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2716
6a18c146 27172018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2718
5dd16013
SP
2719 * config/rl78/umaxdi3.S: New assembly file.
2720 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 2721
07baf4a5
JDA
27222018-01-21 John David Anglin <danglin@gcc.gnu.org>
2723
2724 PR lto/83452
2725 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2726 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 2727
dbc3af4f
RS
27282018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2729
2730 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2731 (DWARF_LAZY_REGISTER_VALUE): Define.
2732 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2733 to provide a fallback register value.
2734
68df9882
MM
27352018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2736
2737 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2738 __ibm128, instead of trying to use long double.
2739 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2740 accomidate -mabi=ieeelongdouble multilibs.
2741 (CVT_IBM128_TO_FLOAT128): Likewise.
2742 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2743 the appropriate IBM extended double type.
2744 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2745 (__gcc_qsub): Likewise.
2746 (__gcc_qmul): Likewise.
2747 (__gcc_qdiv): Likewise.
2748 (pack_ldouble): Likewise.
2749 (__gcc_qneg): Likewise.
2750 (__gcc_qeq): Likewise.
2751 (__gcc_qne): Likewise.
2752 (__gcc_qge): Likewise.
2753 (__gcc_qle): Likewise.
2754 (__gcc_stoq): Likewise.
2755 (__gcc_dtoq): Likewise.
2756 (__gcc_itoq): Likewise.
2757 (__gcc_utoq): Likewise.
2758 (__gcc_qunord): Likewise.
2759 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2760 quad-float128.h for the definitions.
2761 (COPYSIGN): Use the f128 version instead of the q version.
2762 (INFINITY): Likewise.
2763 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2764 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2765 quad-float128.h for the definitions.
2766 (COPYSIGN): Use the f128 version instead of the q version.
2767 (INFINITY): Likewise.
2768 (FABS): Likewise.
2769 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2770 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2771 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2772
64b371b1
SH
27732018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2774
2775 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2776 configuration.
2777
85ec4feb
JJ
27782018-01-03 Jakub Jelinek <jakub@redhat.com>
2779
2780 Update copyright years.
2781
27822017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
2783
2784 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2785 * config/riscv/multi3.c: New file.
2786 * config/riscv/multi3.S: Remove.
2787
3a4c600f
JW
27882017-12-08 Jim Wilson <jimw@sifive.com>
2789
2790 * config/riscv/div.S: Use FUNC_* macros.
2791 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2792 * config/riscv/save-restore.S: Likewise.
2793 * config/riscv/riscv-asm.h: New.
2794
75ad35b5
MM
27952017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2796
6ae3512c
MM
2797 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2798 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2799
75ad35b5
MM
2800 PR libgcc/83112
2801 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2802 correct type for all ifunc resolvers to silence -Wattribute-alias
2803 warnings. Eliminate the forward declaration of the resolver
2804 functions which is no longer needed.
2805 (__subkf3_resolve): Likewise.
2806 (__mulkf3_resolve): Likewise.
2807 (__divkf3_resolve): Likewise.
2808 (__negkf2_resolve): Likewise.
2809 (__eqkf2_resolve): Likewise.
2810 (__nekf2_resolve): Likewise.
2811 (__gekf2_resolve): Likewise.
2812 (__gtkf2_resolve): Likewise.
2813 (__lekf2_resolve): Likewise.
2814 (__ltkf2_resolve): Likewise.
2815 (__unordkf2_resolve): Likewise.
2816 (__extendsfkf2_resolve): Likewise.
2817 (__extenddfkf2_resolve): Likewise.
2818 (__trunckfsf2_resolve): Likewise.
2819 (__trunckfdf2_resolve): Likewise.
2820 (__fixkfsi_resolve): Likewise.
2821 (__fixkfdi_resolve): Likewise.
2822 (__fixunskfsi_resolve): Likewise.
2823 (__fixunskfdi_resolve): Likewise.
2824 (__floatsikf_resolve): Likewise.
2825 (__floatdikf_resolve): Likewise.
2826 (__floatunsikf_resolve): Likewise.
2827 (__floatundikf_resolve): Likewise.
2828 (__extendkftf2_resolve): Likewise.
2829 (__trunctfkf2_resolve): Likewise.
2830
2831 PR libgcc/83103
2832 * config/rs6000/quad-float128.h (TF): Don't define if long double
2833 is IEEE 128-bit floating point.
2834 (TCtype): Define as either TCmode or KCmode, depending on whether
2835 long double is IEEE 128-bit floating point.
2836 (__mulkc3_sw): Add declarations for software/hardware versions of
2837 complex multiply/divide.
2838 (__divkc3_sw): Likewise.
2839 (__mulkc3_hw): Likewise.
2840 (__divkc3_hw): Likewise.
2841 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2842 handlers to switch between using software emulation and hardware
2843 float128 instructions, build the complex multiply/divide functions
2844 for both software and hardware support.
2845 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2846 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2847 (__divkc3_resolve): Likewise.
2848 (__mulkc3): Likewise.
2849 (__divkc3): Likewise.
2850 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2851 (fp128_hw_src): Likewise.
2852 (fp128_hw_static_obj): Likewise.
2853 (fp128_hw_shared_obj): Likewise.
2854 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2855 _mulkc3.c and _divkc3.c, changing the function name.
2856 (_divkc3-hw.c): Likewise.
2857 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2858 and _divkc3-hw.c.
2859
c234d831
UB
28602017-11-26 Julia Koval <julia.koval@intel.com>
2861
2862 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2863 * config/i386/cpuinfo.h (processor_subtypes): Add
2864 INTEL_COREI7_CANNONLAKE.
2865
1ebafce0
IT
28662017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2867
2868 PR bootstrap/83015
2869 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2870 parameter.
2871 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2872 * config/ia64/unwind-ia64.c: Add frames parameter.
2873 * unwind-sjlj.c: Likewise.
2874
6a10fff4
IT
28752017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2876
2877 * config/i386/linux-unwind.h: Include
2878 config/i386/shadow-stack-unwind.h.
2879 * config/i386/shadow-stack-unwind.h: New file.
2880 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2881 pass it to _Unwind_Frames_Extra.
2882 * unwind-generic.h (_Unwind_Frames_Extra): New.
2883 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2884 parameter. Add local variable frames to count number of frames.
2885 (_Unwind_ForcedUnwind_Phase2): Likewise.
2886 (_Unwind_RaiseException): Add local variable frames to count
2887 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2888 uw_install_context.
2889 (_Unwind_ForcedUnwind): Likewise.
2890 (_Unwind_Resume): Likewise.
2891 (_Unwind_Resume_or_Rethrow): Likewise.
2892
1ecae1fc
IT
28932017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2894
2895 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2896 (CET_FLAGS): New.
2897 * config/i386/morestack.S: Include <cet.h>.
2898 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2899 * config/i386/resms64.h: Include <cet.h>.
2900 * config/i386/resms64f.h: Likewise.
2901 * config/i386/resms64fx.h: Likewise.
2902 * config/i386/resms64x.h: Likewise.
2903 * config/i386/savms64.h: Likewise.
2904 * config/i386/savms64f.h: Likewise.
2905 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2906 (CRTSTUFF_T_CFLAGS): Likewise.
2907 * configure.ac: Include ../config/cet.m4.
2908 Set and substitute CET_FLAGS.
2909 * configure: Regenerated.
2910
f021f1d3
RO
29112017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2912
2913 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2914 renaming.
2915 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2916 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2917 * configure: Regenerate.
2918
65f480c7
TV
29192017-11-07 Tom de Vries <tom@codesourcery.com>
2920
2921 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2922 after "do {} while (0)".
2923
2a321acb
TV
29242017-11-07 Tom de Vries <tom@codesourcery.com>
2925
2926 PR other/82784
2927 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2928 semicolon after "do {} while (0)".
2929 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2930 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2931 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2932 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2933
59fcf6c3
AT
29342017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2935
2936 PR libgcc/82635
2937 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2938 sysctl to determine whether we're in a trampoline.
2939 Keep the pattern matching method for systems without
2940 KERN_PROC_SIGTRAMP sysctl.
2941
b0c7ddf8
CM
29422017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2943 Vineet Gupta <vgupta@synopsys.com>
2944
2945 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2946 * config/arc/linux-unwind-reg.def: New file.
2947 * config/arc/linux-unwind-reg.h: Likewise.
2948
5feee954
SP
29492017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2950
2951 * config/rl78/subdi3.S: New assembly file.
2952 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2953
a0bf6cf7
SP
29542017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2955
2956 * config/rl78/adddi3.S: New assembly file.
2957 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2958
e7176f75
JJ
29592017-10-13 Jakub Jelinek <jakub@redhat.com>
2960
2961 PR target/82274
2962 * libgcc2.c (__mulvDI3): If both operands have
2963 the same highpart of -1 and the topmost bit of lowpart is 0,
2964 multiplication overflows even if both lowparts are 0.
2965
db6601d2
JB
29662017-09-28 James Bowman <james.bowman@ftdichip.com>
2967
2968 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2969
938b6f1e
JM
29702017-09-26 Joseph Myers <joseph@codesourcery.com>
2971
2972 * config/microblaze/crti.S, config/microblaze/crtn.S,
2973 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2974 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2975 config/microblaze/mulsi3.S,
2976 config/microblaze/stack_overflow_exit.S,
2977 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2978 config/pa/milli64.S: Add .note.GNU-stack section.
2979
89762a83
DS
29802017-09-23 Daniel Santos <daniel.santos@pobox.com>
2981
2982 * configure.ac: Add Check for HAVE_AS_AVX.
2983 * config.in: Regenerate.
2984 * configure: Likewise.
2985 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2986 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2987 Correct out-of-date comments.
2988
cace2309
SP
29892017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2990
2991 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2992 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2993
3cb626e4
DS
29942017-09-17 Daniel Santos <daniel.santos@pobox.com>
2995
cace2309 2996 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
2997 (ASMNAME): Modify to use PASTE2.
2998 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2999 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 3000 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 3001 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
3002 * config/i386/resms64f.S: Likewise.
3003 * config/i386/resms64fx.S: Likewise.
3004 * config/i386/resms64x.S: Likewise.
3005 * config/i386/savms64.S: Likewise.
3006 * config/i386/savms64f.S: Likewise.
3007 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 3008 includes it's corresponding header file.
cace2309
SP
3009 * config/i386/avx_resms64f.S: Likewise.
3010 * config/i386/avx_resms64fx.S: Likewise.
3011 * config/i386/avx_resms64x.S: Likewise.
3012 * config/i386/avx_savms64.S: Likewise.
3013 * config/i386/avx_savms64f.S: Likewise.
3014 * config/i386/sse_resms64.S: Likewise.
3015 * config/i386/sse_resms64f.S: Likewise.
3016 * config/i386/sse_resms64fx.S: Likewise.
3017 * config/i386/sse_resms64x.S: Likewise.
3018 * config/i386/sse_savms64.S: Likewise.
3019 * config/i386/sse_savms64f.S: Likewise.
3020 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 3021
2f19c491 30222017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
3023 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3024
611e7036
OH
30252017-08-31 Olivier Hainque <hainque@adacore.com>
3026
3027 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3028 match as powerpc-wrs-vxworks*.
3029
c8f34527
JY
30302017-08-07 Jonathan Yong <10walls@gmail.com>
3031
3032 * config.host (*-cygwin): Include file from mingw
3033 config/i386/enable-execute-stack-mingw32.c
3034
0b458d2b 30352017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
3036 Doug Rupp <rupp@adacore.com>
3037 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
3038
3039 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3040 as well as arm-wrs-vxworks.
3041 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3042 LIB2ADDEH.
3043 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3044 __exidx_start and __exidx_end for downloadable modules.
3045
4df612fa
OH
30462017-08-01 Olivier Hainque <hainque@adacore.com>
3047
3048 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3049 * config/t-vxworks7: Likewise.
3050
5560e8c0
OH
30512017-08-01 Olivier Hainque <hainque@adacore.com>
3052
3053 * config/t-vxworks: Instead of redefining LIB2ADD,
3054 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3055
16bab95a
SH
30562017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3057
3058 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3059
9cbc07cc
DS
30602017-07-24 Daniel Santos <daniel.santos@pobox.com>
3061
3062 PR testsuite/80759
3063 * config.host: include i386/t-msabi for darwin and solaris.
3064 * config/i386/i386-asm.h
3065 (ELFFN): Rename to FN_TYPE.
3066 (FN_SIZE): New macro.
3067 (FN_HIDDEN): Likewise.
3068 (ASMNAME): Likewise.
3069 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3070 .globl.
3071 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3072 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3073 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3074 .macro.
3075 * config/i386/resms64f.S: Likewise.
3076 * config/i386/resms64fx.S: Likewise.
3077 * config/i386/resms64x.S: Likewise.
3078 * config/i386/savms64.S: Likewise.
3079 * config/i386/savms64f.S: Likewise.
3080
de742204
JM
30812017-07-19 John Marino <gnugcc@marino.st>
3082
3083 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3084
3787ee47
MM
30852017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3086
3087 PR target/81193
3088 * configure.ac (PowerPC float128 hardware support): Test whether
3089 we can use __builtin_cpu_supports before enabling the ifunc
3090 handler.
3091 * configure: Regenerate.
3092
b1938888
VG
30932017-07-10 Vineet Gupta <vgupta@synopsys.com>
3094
3095 * config.host: Remove uclibc from arc target spec.
3096
bec75e53
KW
30972017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3098
3099 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3100
d4391a62
PB
31012017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3102
3103 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3104 (have_ieee_hw_p): Delete function.
3105 (SW_OR_HW) Use __builtin_cpu_supports().
3106
9296dd9b
TP
31072017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3108
3109 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3110
b85a969e
OH
31112017-07-03 Olivier Hainque <hainque@adacore.com>
3112
d4391a62 3113 * config/t-vxworks7: New file, really.
b85a969e 3114
883312dc
JM
31152017-06-28 Joseph Myers <joseph@codesourcery.com>
3116
3117 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3118 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3119 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3120 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3121 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3122 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3123 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3124 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3125 config/sh/linux-unwind.h (sh_fallback_frame_state),
3126 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3127 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3128 ucontext_t instead of struct ucontext.
3129
50567938
JL
31302017-06-27 Jerome Lambourg <lambourg@adacore.com>
3131
3132 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3133 (x86_64-wrs-vxworks7): Likewise.
3134
e4b0df93
OH
31352017-06-27 Olivier Hainque <hainque@adacore.com>
3136
3137 * config/t-vxworks7: New file.
3138 * config.host (*-*-vxworks7): Use it.
3139
60edf8bb
MT
31402017-06-22 Matt Turner <mattst88@gmail.com>
3141
3142 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3143 skylake case.
3144
a51a76e5
RB
31452017-06-21 Richard Biener <rguenther@suse.de>
3146
3147 PR gcov-profile/81080
3148 * configure.ac: Add AC_SYS_LARGEFILE.
3149 * libgcov.h: Include auto-target.h before tsystem.h to pick
3150 up _FILE_OFFSET_BITS which might differ for multilibs.
3151 * config.in: Regenerate.
3152 * configure: Likewise.
3153
f0cd49c5
RE
31542017-06-16 Richard Earnshaw <rearnsha@arm.com>
3155
3156 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3157
4f751c54
ML
31582017-06-09 Martin Liska <mliska@suse.cz>
3159
3160 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3161 Reset __gcov_indirect_call_callee to NULL.
3162
1ac644c8
OH
31632017-06-08 Olivier Hainque <hainque@adacore.com>
3164
3165 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3166 the set of -I options, support for direct inclusions of net/uio.h
3167 by VxWorks header files via ioLib.h.
3168
d8b9cd27
TR
31692017-06-07 Tony Reix <tony.reix@atos.net>
3170 Matthieu Sarter <matthieu.sarter.external@atos.net>
3171 David Edelsohn <dje.gcc@gmail.com>
3172
92a285c1
ML
3173 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3174 unconditionally.
3175 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3176 AIX 7.2 support.
d8b9cd27 3177
38a75ccc
OH
31782017-06-02 Olivier Hainque <hainque@adacore.com>
3179
3180 * config/vxlib.c (__gthread_once): Add missing value to
3181 return statement.
3182
5b2edf53
OH
31832017-05-30 Olivier Hainque <hainque@adacore.com>
3184
3185 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3186 dollar sign before $(MULTIDIR).
3187
7d66e265
RH
31882017-05-26 Richard Henderson <rth@redhat.com>
3189
3190 PR libgcc/80037
3191 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3192
78eca309
AT
31932017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3194
3195 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3196 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3197 * config/arm/unwind-arm.c: Implement the above.
3198
c39d309a
AZ
31992017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3200
3201 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3202 section for a non-executable stack.
3203
eac8c9f2
KW
32042017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3205
3206 PR target/80600
3207 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3208
d6d4d770
DS
32092017-05-14 Daniel Santos <daniel.santos@pobox.com>
3210
3211 * config.host: Add i386/t-msabi to i386/t-linux file list.
3212 * config/i386/i386-asm.h: New file.
3213 * config/i386/resms64.S: New file.
3214 * config/i386/resms64f.S: New file.
3215 * config/i386/resms64fx.S: New file.
3216 * config/i386/resms64x.S: New file.
3217 * config/i386/savms64.S: New file.
3218 * config/i386/savms64f.S: New file.
3219 * config/i386/t-msabi: New file.
3220
8ef2b9a7
AT
32212017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3222
3223 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3224 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3225
7ab8766a
JC
32262017-05-05 Joshua Conner <joshconner@google.com>
3227
3228 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3229 pc-relative indirect handling for fuchsia.
3230 * config/t-slibgcc-fuchsia: New file.
3231 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 3232 x86_64-*-fuchsia*): Add definitions.
7ab8766a 3233
46928a8f
ML
32342017-04-19 Martin Liska <mliska@suse.cz>
3235
3236 PR gcov-profile/80435
3237 * Makefile.in: Install gcov.h.
3238 * gcov.h: New file.
3239 * libgcov.h: Use the header and make __gcov_flush publicly
3240 visible.
3241
63971184
ML
32422017-04-18 Martin Liska <mliska@suse.cz>
3243
3244 PR gcov-profile/78783
3245 * libgcov-driver.c (gcov_get_filename): New function.
3246
29d8aae6
JL
32472017-04-07 Jeff Law <law@redhat.com>
3248
3249 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3250 target makefile fragment.
3251 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3252
2bdf7fc6
AM
32532017-04-07 Alan Modra <amodra@gmail.com>
3254
3255 PR target/45053
3256 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3257
5764ee3c
JW
32582017-04-03 Jonathan Wakely <jwakely@redhat.com>
3259
3260 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3261
c4192ad7
CZ
32622017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3263
3264 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3265
4ccfdb28
JM
32662017-03-10 John Marino <gnugcc@marino.st>
3267
3268 * config/aarch64/freebsd-unwind.h: New file.
3269 * config.host: Add aarch64-*-freebsd unwinder.
3270
4144e4e3
SB
32712017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3272
3273 * config/rs6000/crtrestvr.s: Use .machine altivec.
3274 * config/rs6000/crtsavevr.s: Ditto.
3275
7502c597
SB
32762017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3277
3278 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3279 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3280 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3281 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3282 * configure: Regenerate.
3283 * config.in: Regenerate.
3284
db9f7f65
JY
32852017-03-02 Jonathan Yong <10walls@gmail.com>
3286
3287 * config/i386/gthr-win32.h: Define NOGDI before
3288 windows.h include to prevent w32api CC_NONE macro
3289 clash with libgfortran.
3290
126437c5
JY
32912017-03-02 Jonathan Yong <10walls@gmail.com>
3292
3293 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3294
31927af6
AP
32952017-02-16 Andrew Pinski <apinski@cavium.com>
3296
3297 * config/aarch64/value-unwind.h: New file.
3298 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3299 to tm_file.
3300
0bd99911
PD
33012017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3302
3303 * config.host: Add RISC-V tuples.
3304 * config/riscv/atomic.c: New file.
3305 * config/riscv/crti.S: Likewise.
3306 * config/riscv/crtn.S: Likewise.
3307 * config/riscv/div.S: Likewise.
3308 * config/riscv/linux-unwind.h: Likewise.
3309 * config/riscv/muldi3.S: Likewise.
3310 * config/riscv/multi3.S: Likewise.
3311 * config/riscv/save-restore.S: Likewise.
3312 * config/riscv/sfp-machine.h: Likewise.
3313 * config/riscv/t-elf: Likewise.
3314 * config/riscv/t-elf32: Likewise.
3315 * config/riscv/t-elf64: Likewise.
3316 * config/riscv/t-softfp32: Likewise.
3317 * config/riscv/t-softfp64: Likewise.
3318
a8c9ef2a
JJ
33192017-01-24 Jakub Jelinek <jakub@redhat.com>
3320
3321 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3322 /* FALLTHRU */ comments.
3323
c6c82710
GP
33242017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3325
3326 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3327
a876231c
JW
33282017-01-20 Jiong Wang <jiong.wang@arm.com>
3329
3330 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3331 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3332 DW_CFA_GNU_window_save for AArch64 and LP64.
3333
aa348be2
JW
33342017-01-20 Jiong Wang <jiong.wang@arm.com>
3335
3336 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3337
5636faf2
JW
33382017-01-19 Jiong Wang <jiong.wang@arm.com>
3339
3340 * config/aarch64/aarch64-unwind.h: New file.
3341 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3342 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3343 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3344 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3345 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3346 (aarch64_post_extract_frame_addr): New function.
3347 (aarch64_post_frob_eh_handler_addr): New function.
3348 (aarch64_frob_update_context): New function.
3349 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3350 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3351 aarch64*-*-freebsd*):
3352 Initialize md_unwind_header to include aarch64-unwind.h.
3353 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3354 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3355 __aarch64__.
3356 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3357 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3358 (uw_frob_return_addr): New function.
3359 (uw_install_context): Use uw_frob_return_addr.
3360
3c36aa6b
JJ
33612017-01-17 Jakub Jelinek <jakub@redhat.com>
3362
3363 PR other/79046
3364 * configure.ac: Add GCC_BASE_VER.
3365 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3366 version from BASE-VER file.
3367 * configure: Regenerated.
3368
829afb8f
JS
33692017-01-13 Joe Seymour <joe.s@somniumtech.com>
3370
3371 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3372 libmul_f5.a): Filter archived prerequisites.
3373
79fc8ffe
AS
33742017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3375
3376 * config/i386/cpuinfo.h (processor_features): Add
3377 FEATURE_AVX512VPOPCNTDQ.
3378 * config/i386/cpuinfo.c (get_available_features): Habdle new
3379 feature.
3380
fec5f4e0
JM
33812017-01-04 Joseph Myers <joseph@codesourcery.com>
3382
3383 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3384 payload if [__mips_nan2008].
3385
8f56cb51
AM
33862017-01-04 Alan Modra <amodra@gmail.com>
3387
3388 * Makefile.in (configure_deps): Update.
3389 * configure: Regenerate.
3390
cbe34bb5
JJ
33912017-01-01 Jakub Jelinek <jakub@redhat.com>
3392
3393 Update copyright years.
3394
ab955692
KW
33952016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3396
3397 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3398 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3399 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3400
de34320f
MK
34012016-12-17 Matthias Klose <doko@ubuntu.com>
3402
3403 * config/arc/gmon: Remove empty directory.
3404
e04ea1da
CZ
34052016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3406
3407 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3408 crtgend.
3409 (arc*-*-elf*): Likewise.
3410 * config/arc/t-arc: Remove old gmon lib targets.
3411 * config/arc/crtg.S: Remove.
3412 * config/arc/crtgend.S: Likewise.
3413 * config/arc/gmon/atomic.h: Likewise.
3414 * config/arc/gmon/auxreg.h: Likewise.
3415 * config/arc/gmon/dcache_linesz.S: Likewise.
3416 * config/arc/gmon/gmon.c: Likewise.
3417 * config/arc/gmon/machine-gmon.h: Likewise.
3418 * config/arc/gmon/mcount.c: Likewise.
3419 * config/arc/gmon/prof-freq-stub.S: Likewise.
3420 * config/arc/gmon/prof-freq.c: Likewise.
3421 * config/arc/gmon/profil.S: Likewise.
3422 * config/arc/gmon/sys/gmon.h: Likewise.
3423 * config/arc/gmon/sys/gmon_out.h: Likewise.
3424 * config/arc/t-arc-newlib: Likewise.
3425 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3426
8ae1c2c1
GS
34272016-12-12 George Spelvin <linux@sciencehorizons.net>
3428
3429 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3430
a5b947fa
GS
34312016-12-12 George Spelvin <linux@sciencehorizons.net>
3432
3433 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3434 R16 instead of push + pop.
3435 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3436
d6574dd1
KW
34372016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3438
3439 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3440 tmake_file.
3441
62440b4f
CM
34422016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3443
3444 * config.host (arc*-*-linux-uclibc*): Use default extra
3445 objects. Include linux-android header.
3446 * config/arc/crti.S (_init): Declare symbol as function.
3447 (_fini): Likewise.
3448
31cfd832
TK
34492016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3450
3451 PR fortran/78379
3452 * config/i386/cpuinfo.c: Move denums for processor vendors,
3453 processor type, processor subtypes and declaration of
3454 struct __processor_model into
3455 * config/i386/cpuinfo.h: New header file.
3456
c92e08e3
AV
34572016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3458 Thomas Preud'homme <thomas.preudhomme@arm.com>
3459
3460 * config/arm/cmse_nonsecure_call.S: New.
3461 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3462
de7b5723
AV
34632016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3464 Thomas Preud'homme <thomas.preudhomme@arm.com>
3465
3466 * config/arm/t-arm (HAVE_CMSE): New.
3467 * config/arm/cmse.c: New.
3468
7a0d2bce
TP
34692016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3470
b3a5bff4
TP
3471 PR gcc/74748
3472 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3473 use generic linker version information on Blackfin.
3474
7a0d2bce
TP
3475 PR gcc/74748
3476 * libgcc/mkmap-symver.awk: add support for skip_underscore
3477
b410cf1d
IS
34782016-11-27 Iain Sandoe <iain@codesourcery.com>
3479 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3480
3481 PR target/67710
3482 * config/t-darwin: Default builds to 10.5 codegen.
3483
2e5f8203
JG
34842016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3485
3486 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3487 (_FP_NANSIGN_H): Likewise.
3488 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3489 (softfp_truncations): Add tfhf.
3490 (softfp_extras): Add required conversion functions.
3491
bea64ca3
JG
34922016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3493 Matthew Wahab <matthew.wahab@arm.com>
3494
3495 * config/arm/fp16.c (binary64): New.
3496 (__gnu_d2h_internal): New.
3497 (__gnu_d2h_ieee): New.
3498 (__gnu_d2h_alternative): New.
3499
8630cadb
JG
35002016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3501 Matthew Wahab <matthew.wahab@arm.com>
3502
3503 * config/arm/fp16.c (struct format): New.
3504 (binary32): New.
3505 (__gnu_float2h_internal): New. Body moved from
3506 __gnu_f2h_internal and generalize.
3507 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3508 Call it with binary32.
3509
5823ef23
JG
35102016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3511
3512 * soft-fp/extendhftf2.c: Update from glibc.
3513 * soft-fp/fixhfti.c: Likewise.
3514 * soft-fp/fixunshfti.c: Likewise.
3515 * soft-fp/floattihf.c: Likewise.
3516 * soft-fp/floatuntihf.c: Likewise.
3517 * soft-fp/half.h: Likewise.
3518 * soft-fp/trunctfhf2.c: Likewise.
3519
62a7df9f
MG
35202016-11-20 Marc Glisse <marc.glisse@inria.fr>
3521
3522 PR libgcc/77813
3523 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3524 __TMC_END__ behind a passthrough asm.
3525
7a384912
WL
35262016-11-18 Walter Lee <walt@tilera.com>
3527
62a7df9f 3528 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 3529
9775c1a5
L
35302016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3531
3532 * config/i386/cpuinfo.c (processor_features): Add
3533 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3534
48c842ab
CZ
35352016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3536
3537 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3538 (__ARC_NORM__): Use instead ARC_OPTFPE.
3539 * config/arc/fp-hack.h: Likewise.
3540 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3541 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3542
5012919d
AM
35432016-11-16 Alexander Monakov <amonakov@ispras.ru>
3544
3545 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3546 * config/nvptx/mgomp.c: New file.
3547 * config/nvptx/t-nvptx: Add mgomp.c
3548
00178b98
WB
35492016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3550
3551 PR libgcc/68468
3552 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3553
d64af69f
CZ
35542016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3555
3556 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3557 of checking for cpus.
3558 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3559 (__modsi3, __clzsi2): Likewise.
3560
9d8f95de
SN
35612016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3562
3563 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3564 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3565 * config/i386/t-cpuinfo-static: New.
3566
7d29f8e3
ML
35672016-11-03 Martin Liska <mliska@suse.cz>
3568
3569 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3570 (__gcov_time_profiler_atomic): Likewise.
3571
5de3e2d8
BE
35722016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3573
3574 PR libgcc/78067
3575 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3576 count_leading_zeros.
3577
18362447
UB
35782016-11-02 Uros Bizjak <ubizjak@gmail.com>
3579
3580 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3581 * libgcc2.c (__divmoddi4): New function.
3582 * libgcc2.h (__divmoddi4): Declare.
3583 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3584 and __PFX_divmodti4.
3585
33107571
FW
35862016-10-24 Florian Weimer <fweimer@redhat.com>
3587
3588 PR libgcc/78064
3589 * unwind-c.c: Include auto-target.h.
3590
4c6d7494
JDA
35912016-10-19 John David Anglin <danglin@gcc.gnu.org>
3592
18362447 3593 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
3594 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3595 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3596 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3597 hppa*64*-*-hpux11*.
3598
2a26adf1
MF
35992016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3600
3601 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3602 definition.
3603 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3604 definition.
3605 * config/xtensa/t-windowed (LIB2ADDEH): Use
3606 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3607 or xtensa/t-linux.
3608
66192aa1
DKC
36092016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3610
3611 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3612 __ieee754_sqrt): New functions.
3613 (__divdf3): Add implementation with new FPU instructions under
3614 #if XCHAL_HAVE_DFP_DIV.
3615 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3616 __ieee754_sqrtf): New functions.
3617 (__divsf3): Add implementation with new FPU instructions under
3618 #if XCHAL_HAVE_FP_DIV.
3619 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3620 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3621
4d0cdd0c
TP
36222016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3623
3624 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3625 equivalent.
3626 * config/tilepro/atomic.c: Likewise and stop casting model to
3627 enum memmodel.
3628
73f01cca
JM
36292016-10-10 Joseph Myers <joseph@codesourcery.com>
3630
3631 PR target/77586
3632 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3633 soft-fp.
3634
b20e7532
AT
36352016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3636
3637 * config.host: Add support for aarch64-*-freebsd*.
3638
a786cec4
AS
36392016-10-05 Andreas Schwab <schwab@suse.de>
3640
3641 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3642 (.section .init_array): Don't call __do_jv_register_classes.
3643 (.section .init): Likewise.
3644
5a79befb
JJ
36452016-10-04 Jakub Jelinek <jakub@redhat.com>
3646
3647 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3648 (__JCR_LIST__): Remove.
3649 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3650 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3651 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3652 * config/ia64/crtend.S (__JCR_END__): Remove.
3653 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3654 conditionals.
3655 (__JCR_LIST__, __JCR_END__): Remove.
3656 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3657 (__do_global_ctors_1): Likewise.
3658
e0ab3753
UB
36592015-09-28 Uros Bizjak <ubizjak@gmail.com>
3660
3661 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3662 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3663
8c9434c2
ML
36642016-09-27 Martin Liska <mliska@suse.cz>
3665
3666 PR gcov-profile/7970
3667 PR gcov-profile/16855
3668 PR gcov-profile/44779
3669 * libgcov-driver.c (__gcov_init): Do not register a atexit
3670 handler.
3671 (__gcov_exit): Rename from gcov_exit.
3672 * libgcov.h (__gcov_exit): Declare.
3673
56b653f1
ML
36742016-09-27 Martin Liska <mliska@suse.cz>
3675
3676 PR bootstrap/77749
3677 * Makefile.in: Remove _gcov_merge_delta.
3678 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3679 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3680 * libgcov.h: Remove declaration of __gcov_merge_delta.
3681
7e02fd1b
EB
36822016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3683
3684 * configure.ac: Do not create links, only substitute the filenames.
3685 * configure: Regenerate.
3686 * Makefile.in: Assign the substitution results to variables.
3687 (LIBGCC_LINKS): Define.
3688 (enable-execute-stack.c): New rule.
3689 (unwind.h): Likewise.
3690 (md-unwind-support.h): Likewise.
3691 (sfp-machine.h): Likewise.
3692 (gthr-default.h): Likewise.
3693 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3694 unwind.h as prerequisite of install-unwind_h-forbuild.
3695
29991048
JJ
36962016-09-16 Jakub Jelinek <jakub@redhat.com>
3697
3698 PR libgcc/71744
3699 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3700 is not the primary registry and atomics are available.
3701 (any_objects_registered): New variable.
3702 (__register_frame_info_bases, __register_frame_info_table_bases):
3703 Atomically store 1 to any_objects_registered after registering first
3704 unwind info.
3705 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3706
0abcd6cc
JG
37072016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3708
3709 PR target/63250
3710 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3711 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3712 (HFtype): Likewise.
3713 (HCtype): Likewise.
3714 (__divhc3): Likewise.
3715 (__mulhc3): Likewise.
3716 * libgcc2.c: Support _mulhc3 and _divhc3.
3717
d758aeb5
JM
37182016-09-07 Joseph Myers <joseph@codesourcery.com>
3719
3720 PR libgcc/77519
3721 * libgcc2.c (NOTRUNC): Invert settings.
3722
7fe76f6a
ML
37232016-09-06 Martin Liska <mliska@suse.cz>
3724
3725 PR gcov-profile/77378
3726 PR gcov-profile/77466
3727 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3728 conditionaly enable/disable *_atomic functions.
3729
21184026
JM
37302016-08-26 Joseph Myers <joseph@codesourcery.com>
3731
3732 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3733 where not already enabled.
3734
726f49c3
SN
37352016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3736
3737 * config/mips/linux-unwind.h: Use sys/syscall.h.
3738
feeb6268
JM
37392016-08-16 Joseph Myers <joseph@codesourcery.com>
3740
3741 PR libgcc/77265
3742 * soft-fp/adddf3.c: Update from glibc.
3743 * soft-fp/addsf3.c: Likewise.
3744 * soft-fp/addtf3.c: Likewise.
3745 * soft-fp/divdf3.c: Likewise.
3746 * soft-fp/divsf3.c: Likewise.
3747 * soft-fp/divtf3.c: Likewise.
3748 * soft-fp/double.h: Likewise.
3749 * soft-fp/eqdf2.c: Likewise.
3750 * soft-fp/eqsf2.c: Likewise.
3751 * soft-fp/eqtf2.c: Likewise.
3752 * soft-fp/extenddftf2.c: Likewise.
3753 * soft-fp/extended.h: Likewise.
3754 * soft-fp/extendsfdf2.c: Likewise.
3755 * soft-fp/extendsftf2.c: Likewise.
3756 * soft-fp/extendxftf2.c: Likewise.
3757 * soft-fp/fixdfdi.c: Likewise.
3758 * soft-fp/fixdfsi.c: Likewise.
3759 * soft-fp/fixdfti.c: Likewise.
3760 * soft-fp/fixsfdi.c: Likewise.
3761 * soft-fp/fixsfsi.c: Likewise.
3762 * soft-fp/fixsfti.c: Likewise.
3763 * soft-fp/fixtfdi.c: Likewise.
3764 * soft-fp/fixtfsi.c: Likewise.
3765 * soft-fp/fixtfti.c: Likewise.
3766 * soft-fp/fixunsdfdi.c: Likewise.
3767 * soft-fp/fixunsdfsi.c: Likewise.
3768 * soft-fp/fixunsdfti.c: Likewise.
3769 * soft-fp/fixunssfdi.c: Likewise.
3770 * soft-fp/fixunssfsi.c: Likewise.
3771 * soft-fp/fixunssfti.c: Likewise.
3772 * soft-fp/fixunstfdi.c: Likewise.
3773 * soft-fp/fixunstfsi.c: Likewise.
3774 * soft-fp/fixunstfti.c: Likewise.
3775 * soft-fp/floatdidf.c: Likewise.
3776 * soft-fp/floatdisf.c: Likewise.
3777 * soft-fp/floatditf.c: Likewise.
3778 * soft-fp/floatsidf.c: Likewise.
3779 * soft-fp/floatsisf.c: Likewise.
3780 * soft-fp/floatsitf.c: Likewise.
3781 * soft-fp/floattidf.c: Likewise.
3782 * soft-fp/floattisf.c: Likewise.
3783 * soft-fp/floattitf.c: Likewise.
3784 * soft-fp/floatundidf.c: Likewise.
3785 * soft-fp/floatundisf.c: Likewise.
3786 * soft-fp/floatunditf.c: Likewise.
3787 * soft-fp/floatunsidf.c: Likewise.
3788 * soft-fp/floatunsisf.c: Likewise.
3789 * soft-fp/floatunsitf.c: Likewise.
3790 * soft-fp/floatuntidf.c: Likewise.
3791 * soft-fp/floatuntisf.c: Likewise.
3792 * soft-fp/floatuntitf.c: Likewise.
3793 * soft-fp/gedf2.c: Likewise.
3794 * soft-fp/gesf2.c: Likewise.
3795 * soft-fp/getf2.c: Likewise.
3796 * soft-fp/ledf2.c: Likewise.
3797 * soft-fp/lesf2.c: Likewise.
3798 * soft-fp/letf2.c: Likewise.
3799 * soft-fp/muldf3.c: Likewise.
3800 * soft-fp/mulsf3.c: Likewise.
3801 * soft-fp/multf3.c: Likewise.
3802 * soft-fp/negdf2.c: Likewise.
3803 * soft-fp/negsf2.c: Likewise.
3804 * soft-fp/negtf2.c: Likewise.
3805 * soft-fp/op-1.h: Likewise.
3806 * soft-fp/op-2.h: Likewise.
3807 * soft-fp/op-4.h: Likewise.
3808 * soft-fp/op-8.h: Likewise.
3809 * soft-fp/op-common.h: Likewise.
3810 * soft-fp/quad.h: Likewise.
3811 * soft-fp/single.h: Likewise.
3812 * soft-fp/soft-fp.h: Likewise.
3813 * soft-fp/subdf3.c: Likewise.
3814 * soft-fp/subsf3.c: Likewise.
3815 * soft-fp/subtf3.c: Likewise.
3816 * soft-fp/truncdfsf2.c: Likewise.
3817 * soft-fp/trunctfdf2.c: Likewise.
3818 * soft-fp/trunctfsf2.c: Likewise.
3819 * soft-fp/trunctfxf2.c: Likewise.
3820 * soft-fp/unorddf2.c: Likewise.
3821 * soft-fp/unordsf2.c: Likewise.
3822 * soft-fp/unordtf2.c: Likewise.
3823
2e6fc1ac
GG
38242016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3825
3826 PR gcov-profile/67097
3827 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3828
a266236e
ML
38292016-08-10 Martin Liska <mliska@suse.cz>
3830
3831 PR gcov-profile/58306
3832 * Makefile.in: New functions (modules) are added.
3833 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3834 function.
3835 (__gcov_pow2_profiler_atomic): New function.
3836 (__gcov_one_value_profiler_body): New argument is instroduced.
3837 (__gcov_one_value_profiler): Call with the new argument.
3838 (__gcov_one_value_profiler_atomic): Likewise.
3839 (__gcov_indirect_call_profiler_v2): Likewise.
3840 (__gcov_time_profiler_atomic): New function.
3841 (__gcov_average_profiler_atomic): Likewise.
3842 (__gcov_ior_profiler_atomic): Likewise.
3843 * libgcov.h: Declare the aforementioned functions.
3844
e0c8eebf
ML
38452016-08-09 Martin Liska <mliska@suse.cz>
3846
3847 * libgcov-util.c: Fix typo and GNU coding style.
3848
6dce6418
ML
38492016-08-09 Martin Liska <mliska@suse.cz>
3850
3851 * Makefile.in: Remove __gcov_indirect_call_profiler.
3852 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3853 function.
3854 * libgcov.h: And the declaration of the function.
3855
dcb1e137
ML
38562016-08-09 Martin Liska <mliska@suse.cz>
3857
3858 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3859 power of two.
3860
d6e69705
BS
38612016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3862
3863 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3864 * config/rs6000/_mulkc3.c: Likewise.
3865
96aa1f95
GJL
38662016-07-29 Georg-Johann Lay <avr@gjlay.de>
3867
3868 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3869 zero_reg as previous call to __umulhisi3 already cleared it.
3870
a1b01d34
AJ
38712016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3872
3873 PR target/59833
3874 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3875
985a47b2
NC
38762016-07-19 Nick Clifton <nickc@redhat.com>
3877
3878 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3879 Add crtinit.o and crtfini.o to extra_parts.
3880
f906f5ed
BS
38812016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3882
3883 * config/rs6000/_divkc3.c: New.
3884 * config/rs6000/_mulkc3.c: New.
3885 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3886 and _divkc3.
3887 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3888 fp128_ppc_funcs.
3889
82742404
HW
38902016-07-11 Hale Wang <hale.wang@arm.com>
3891 Andre Vieira <andre.simoesdiasvieira@arm.com>
3892
3893 * config/arm/lib1funcs.S: Add new wrapper.
3894
05a437c1
TP
38952016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3896
3897 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3898
3d16d9ec
TP
38992016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3900
3901 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3902 and ARMv5t* rather than for a fixed list of architectures.
3903
6f493951
TP
39042016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3905
3906 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3907 implementation suitable for.
3908 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3909 for all Thumb-1 only targets.
3910 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3911 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3912 __ARM_ARCH_6M__.
3913 (EQUIV): Likewise.
3914 (ARM_FUNC_ALIAS): Likewise.
3915 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3916 version.
3917 (modsi3): Likewise.
3918 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3919 (clzdi2): Likewise.
3920 (ctzsi2): Likewise.
3921 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3922 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3923 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3924 __ARM_ARCH_6M__ and add comment to indicate the connection between
3925 this condition and the one in gcc/config/arm/elf.h.
3926 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3927 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3928 * config/arm/t-softfp: Likewise.
3929
1770511a
TS
39302016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3931
3932 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3933 CTOR_LISTS_DEFINED_EXTERNALLY.
3934
ba6be749
WL
39352016-06-28 Walter Lee <walt@tilera.com>
3936
3937 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3938 asm/unistd.h.
3939 (SPR_CMPEXCH_VALUE): Define for tilegx.
3940 (__NR_FAST_cmpxchg): Define for tilepro.
3941 (__NR_FAST_atomic_update): Define for tilepro.
3942 (__NR_FAST_cmpxchg64): Define for tilepro.
3943
a34c0db5
JS
39442016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3945
18362447 3946 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 3947
0609abda
TS
39482016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3949
3950 * config.host: Remove support for mep-*.
3951 * config/mep/lib1funcs.S: Remove.
3952 * config/mep/lib2funcs.c: Remove.
3953 * config/mep/t-mep: Remove.
3954 * config/mep/tramp.c: Remove.
3955
3e326935
TS
39562016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3957
3958 * config.host: Remove support for avr-rtems.
3959 * config/avr/t-rtems: Remove.
3960
914b155c
TS
39612016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3962
3963 * config.host: Remove m32r-rtems support.
3964
5ebf89bd
TS
39652016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3966
3967 * config.host: Remove h8300-rtems support.
3968
8466af06
TS
39692016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3970
3971 * config.host: Remove support for knetbsd.
3972
d980e738
TS
39732016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3974
3975 * config.host: Remove support for openbsd 2 and 3.
3976
ee2499b4
TS
39772016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3978
3979 * config.host: Remove interix support.
3980 * config/i386/t-interix: Remove.
3981
9f92937b
JDA
39822016-06-18 John David Anglin <danglin@gcc.gnu.org>
3983
3984 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3985 least-significant bit in function pointer for fixup.
3986
0a0ec53d
AC
39872016-06-05 Aaron Conole <aconole@redhat.com>
3988 Nathan Sidwell <nathan@acm.org>
3989
3990 PR libgcc/71400
3991 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3992 (get_gcov_error_file): Check __gcov_error_file before trying to
3993 initialize it.
3994 (gcov_error): Always use get_gcov_error_file.
3995
8aa5bdd6
AC
39962016-06-02 Aaron Conole <aconole@redhat.com>
3997
3998 * libgcov-driver-system.c (__gcov_error_file): New.
3999 (get_gcov_error_file): New.
4000 (gcov_error): Use and set __gcov_error_file.
4001 (gcov_error_exit): New.
4002 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4003
40774faf
NS
40042016-05-26 Nathan Sidwell <nathan@acm.org>
4005
4006 * config/nvptx/free.asm: Delete.
4007 * config/nvptx/malloc.asm: Delete.
4008 * config/nvptx/realloc.c: Delete.
4009 * t-nvptx: Update.
4010
69a6d5ad
NS
40112016-05-25 Nathan Sidwell <nathan@acm.org>
4012
4013 * config/nvptx/crt0.s: Delete.
4014 * config/nvptx/crt0.c: New.
4015 * t-nvptx: Update.
4016
6befaff6
SL
40172016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4018
385c7747 4019 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
4020 dw2/seh configuration.
4021 [x86_64-*-mingw*]: Likewise.
4022
ad251dfd
JS
40232016-05-10 Joel Sherrill <joel@rtems.org>
4024
4025 PR libgcc/70720
4026 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4027 targets so the same extra_parts are built. Also have tmake_file add
4028 on to its value rather than override.
4029
bc6d9014
OE
40302016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4031
4032 * config.host: Remove SH5 support.
4033 * configure: Likewise.
4034
9129c8cf
OE
40352016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4036
4037 * config/sh/crt1.S: Remove SH5 support.
4038 * config/sh/crti.S: Likewise.
4039 * config/sh/crtn.S: Likewise.
4040 * config/sh/lib1funcs-4-300.S: Likewise.
4041 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4042 * config/sh/lib1funcs.S: Likewise.
4043 * config/sh/linux-unwind.h: Likewise.
4044 * config/sh/t-sh64: Delete.
4045
39d50464
CZ
40462016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4047
4048 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4049
8b48923b
CZ
40502016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4051 Joern Rennecke <joern.rennecke@embecosm.com>
4052
4053 * config/arc/crttls.S: New file.
4054 * config/arc/t-arc: New rule.
4055 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4056
2de1cf8c
NC
40572016-04-25 Nick Clifton <nickc@redhat.com>
4058
4059 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4060 (__mspabi_cmpd): Likewise.
4061 * config/msp430/floathidf.c (__floathidf): Likewise.
4062 * config/msp430/floathisf.c (__floathisf): Likewise
4063 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4064 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4065 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4066 second parameter.
4067 (__ashrsi3): Likewise.
4068
b8ce3fe2
WB
40692016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4070
4071 * config/m68k/linux-atomic.c: Do not include unistd.h
4072
4986f823
MG
40732016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4074
4075 * config/arm/ieee754-df.S: Fix typos in comments.
4076
35fbda43
MM
40772016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4078
4079 PR target/70381
4080 * configure.ac (powerpc*-*-linux*): Rework tests to build
4081 __float128 emulation routines to not depend on using #pragma GCC
4082 target to enable -mfloat128.
4083 * configure: Regnerate.
4084
72d1a48d
EB
40852016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4086
4087 PR target/67172
4088 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4089 __MINGW32__ is defined.
4090
dc2e8995
JB
40912016-03-28 James Bowman <james.bowman@ftdichip.com>
4092
385c7747 4093 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 4094
104cdaf1
MM
40952016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4096
4097 PR libgcc/70363
4098 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4099 built with an assembler that does not support ISA 3.0
4100 instructions, rename __extendkftf2_sw to __extendkftf2.
4101
a5046f48
RO
41022016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4103
4104 PR target/38239
4105 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4106 call-clobbered registers.
4107 (internal_mcount): Remove __i386__ handling.
4108
df674f74
JS
41092016-02-26 Joel Sherrill <joel@rtems.org>
4110
4111 * config.host: Add x86_64-*-rtems*.
4112
7cb065d6
JS
41132016-02-26 Joel Sherrill <joel@rtems.org>
4114
4115 * libgcc/config.host: Add aarch64-*-rtems*.
4116
47dfdc53
PM
41172016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4118 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4119
4120 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4121 union of u64 and double.
4122 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4123 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4124 value.
4125 (FP_ROUNDMODE): Update the usage of _fpscr.
4126
e6861a99
IV
41272016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4128
4129 PR driver/68463
4130 * Makefile.in (crtoffloadtable$(objext)): New rule.
4131 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4132 enable_offload_targets is not empty.
4133 * configure: Regenerate.
4134 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4135 crtoffloadtable.
4136
9bfcbdee
MF
41372016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4138
4139 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4140 .literal_position before the function.
4141 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4142 Likewise.
4143
4cb4721f
MK
41442016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4145
4146 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4147 * config/s390/morestack.S: New file.
4148 * config/s390/t-stack-s390: New file.
4149 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4150
b29d9a29
WL
41512016-02-12 Walter Lee <walt@tilera.com>
4152
4153 * config.host (tilegx*-*-linux*): remove ti from
4154 softfp_int_modes for 32-bit configs.
4155
03a0ae7d
ILT
41562016-02-10 Ian Lance Taylor <iant@google.com>
4157
4158 PR go/68562
4159 * config/i386/morestack.S (__stack_split_initialize): Align
4160 stack.
4161
68750bce
AT
41622016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4163
4164 PR bootstrap/69611
4165 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4166 __FLOAT128__ to compile only for __float128 capable targets.
4167
7d296953
JJ
41682016-01-25 Jakub Jelinek <jakub@redhat.com>
4169
4170 PR target/69444
4171 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4172 instead of ___NO_FPRS__.
4173
a71c0334 41742016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4175 Steven Munroe <munroesj@linux.vnet.ibm.com>
4176 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
4177
4178 * config/rs6000/float128-sed: New files to convert TF names to KF
4179 names for PowerPC IEEE 128-bit floating point support.
4180 * config/rs6000/float128-sed-hw: Likewise.
4181
4182 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4183 floating point hardware support.
4184
4185 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4186 128-bit floating point software emulation or use ISA 3.0 hardware
4187 support if it is available.
4188
4189 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4190 floating point.
4191
4192 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4193 floating point to IBM extended double.
4194
4195 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4196 double to IEEE 128-bit floating point.
4197
4198 * config/rs6000/t-float128: New Makefile fragments to enable
4199 building __float128 emulation support.
4200 * config/rs6000/t-float128-hw: Likewise.
4201
4202 * config/rs6000/sfp-exceptions.c: New file to provide exception
4203 support for IEEE 128-bit floating point.
4204
4205 * config/rs6000/floattikf.c: New files for converting between IEEE
4206 128-bit floating point and signed/unsigned 128-bit integers.
4207 * config/rs6000/fixunskfti.c: Likewise.
4208 * config/rs6000/fixkfti.c: Likewise.
4209 * config/rs6000/floatuntikf.c: Likewise.
4210
4211 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4212 when building on 64-bit systems, or when VSX is enabled.
4213 (_FP_W_TYPE): Likewise.
4214 (_FP_WS_TYPE): Likewise.
4215 (_FP_I_TYPE): Likewise.
4216 (TItype): Define on 64-bit systems.
4217 (UTItype): Likewise.
4218 (TI_BITS): Likewise.
4219 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4220 (_FP_MUL_MEAT_Q): Likewise.
4221 (_FP_DIV_MEAT_D): Likewise.
4222 (_FP_DIV_MEAT_Q): Likewise.
4223 (_FP_NANFRAC_D): Likewise.
4224 (_FP_NANFRAC_Q): Likewise.
4225 (ISA_BIT): Add exception support if we are being compiled on a
4226 machine with hardware floating point support to build the IEEE
4227 128-bit emulation functions.
4228 (FP_EX_INVALID): Likewise.
4229 (FP_EX_OVERFLOW): Likewise.
4230 (FP_EX_UNDERFLOW): Likewise.
4231 (FP_EX_DIVZERO): Likewise.
4232 (FP_EX_INEXACT): Likewise.
4233 (FP_EX_ALL): Likewise.
4234 (__sfp_handle_exceptions): Likewise.
4235 (FP_HANDLE_EXCEPTIONS): Likewise.
4236 (FP_RND_NEAREST): Likewise.
4237 (FP_RND_ZERO): Likewise.
4238 (FP_RND_PINF): Likewise.
4239 (FP_RND_MINF): Likewise.
4240 (FP_RND_MASK): Likewise.
4241 (_FP_DECL_EX): Likewise.
4242 (FP_INIT_ROUNDMODE): Likewise.
4243 (FP_ROUNDMODE): Likewise.
4244
4245 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4246 VSX code, enable IEEE 128-bit floating point. If the compiler can
4247 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4248 floating point hardware instructions and it supports declaring
4249 functions with the ifunc attribute, enable ifunc functions to
4250 switch between software and hardware support.
4251 * configure.ac (powerpc*-*-linux*): Likewise.
4252 * configure: Regenerate.
4253
bdc27e50
NC
42542016-01-15 Nick Clifton <nickc@redhat.com>
4255
4256 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4257 dependency as the source file to be compiled.
4258 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4259 (lib2hw_mul_f5.o): Likewise.
4260
006df05d
MM
42612016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4262
4263 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4264 * libgcc/config/rs6000/fixkfti.c: Likewise.
4265 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4266 * libgcc/config/rs6000/float128-hw.c: Likewise.
4267 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4268 * libgcc/config/rs6000/float128-sed: Likewise.
4269 * libgcc/config/rs6000/floattikf.c: Likewise.
4270 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4271 * libgcc/config/rs6000/quad-float128.h: Likewise.
4272 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4273 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4274 * libgcc/config/rs6000/t-float128: Likewise.
4275 * libgcc/config/rs6000/t-float128-hw: Likewise.
4276 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4277 * libgcc/config.host: Likewise.
4278 * libgcc/configure: Likewise.
4279 * libgcc/configure.ac: Likewise.
4280
29176d57 42812016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4282 Steven Munroe <munroesj@linux.vnet.ibm.com>
4283 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
4284
4285 * config/rs6000/sfp-exceptions.c: New file to provide exception
4286 support for IEEE 128-bit floating point.
4287
4288 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4289 floating point hardware support.
4290
4291 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4292 point conversions.
4293 * config/rs6000/fixunskfti.c: Likewise.
4294 * config/rs6000/fixkfti.c: Likewise.
4295 * config/rs6000/floatuntikf.c: Likewise.
4296 * config/rs6000/extendkftf2-sw.c: Likewise.
4297 * config/rs6000/trunctfkf2-sw.c: Likewise.
4298
4299 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4300 128-bit floating point software emulation or use ISA 3.0 hardware
4301 support if it is available.
4302
4303 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4304 floating point.
4305
4306 * config/rs6000/t-float128: New Makefile fragments to enable
4307 building __float128 emulation support.
4308 * config/rs6000/t-float128-hw: Likewise.
4309
4310 * config/rs6000/float128-sed: New file to convert TF names to KF
4311 names for PowerPC IEEE 128-bit floating point support.
4312
4313 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4314 when building on 64-bit systems, or when VSX is enabled.
4315 (_FP_W_TYPE): Likewise.
4316 (_FP_WS_TYPE): Likewise.
4317 (_FP_I_TYPE): Likewise.
4318 (TItype): Define on 64-bit systems.
4319 (UTItype): Likewise.
4320 (TI_BITS): Likewise.
4321 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4322 (_FP_MUL_MEAT_Q): Likewise.
4323 (_FP_DIV_MEAT_D): Likewise.
4324 (_FP_DIV_MEAT_Q): Likewise.
4325 (_FP_NANFRAC_D): Likewise.
4326 (_FP_NANFRAC_Q): Likewise.
4327 (ISA_BIT): Add exception support if we are being compiled on a
4328 machine with hardware floating point support to build the IEEE
4329 128-bit emulation functions.
4330 (FP_EX_INVALID): Likewise.
4331 (FP_EX_OVERFLOW): Likewise.
4332 (FP_EX_UNDERFLOW): Likewise.
4333 (FP_EX_DIVZERO): Likewise.
4334 (FP_EX_INEXACT): Likewise.
4335 (FP_EX_ALL): Likewise.
4336 (__sfp_handle_exceptions): Likewise.
4337 (FP_HANDLE_EXCEPTIONS): Likewise.
4338 (FP_RND_NEAREST): Likewise.
4339 (FP_RND_ZERO): Likewise.
4340 (FP_RND_PINF): Likewise.
4341 (FP_RND_MINF): Likewise.
4342 (FP_RND_MASK): Likewise.
4343 (_FP_DECL_EX): Likewise.
4344 (FP_INIT_ROUNDMODE): Likewise.
4345 (FP_ROUNDMODE): Likewise.
4346
4347 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4348 compiler can do __float128.
4349 * configure: Regenerate.
4350
4351 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4352 VSX code, enable IEEE 128-bit floating point.
4353
a2218983
OH
43542016-01-05 Olivier Hainque <hainque@adacore.com>
4355
4356 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 4357 specificities.
a2218983 4358
818ab71a
JJ
43592016-01-04 Jakub Jelinek <jakub@redhat.com>
4360
4361 Update copyright years.
4362
5a6c8ffa
AP
43632015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4364
4365 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 4366 soft-fp targets.
5a6c8ffa 4367
077067a5
BE
43682015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4369
4370 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4371 instead of abort to avoid dependency on stdlib.h.
4372
787c1027
JDA
43732015-12-09 John David Anglin <danglin@gcc.gnu.org>
4374
4375 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4376 to initialize call to __dl_fixup once.
4377
04a9ae28
NC
43782015-12-04 Nick Clifton <nickc@redhat.com>
4379
4380 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4381 Allow for the second argument being negative.
4382 * config.host (extra_parts): Define for MSP430. Create separate
4383 libraries for each of the hardware multiply formats.
4384 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4385 that are needed.
4386 * config/msp430/lib2mul.c: Likewise.
4387 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4388 Add rules to build hardware multiply libraries.
4389 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4390 __mspabi_divul function.
4391 (__mspabi_divllu): New stub function.
4392
9a32d437
JDA
43932015-12-01 John David Anglin <danglin@gcc.gnu.org>
4394
4395 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4396 fixup values if saved GOT address doesn't match runtime address.
4397 (fixup_branch_offset): Reorder list.
4398
e5ef217c
RO
43992015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4400
4401 * Makefile.in (VTV_CFLAGS): New variable.
4402 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4403 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4404 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4405 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4406 to extra_parts if $enable_vtable_verify = yes.
4407
78cc43a2
SN
44082015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4409
4410 PR target/68059
4411 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4412 (write): ...this and fix the return type.
4413
9afebea2
DD
44142015-11-19 DJ Delorie <dj@redhat.com>
4415
4416 * config/msp430/lib2hw_mul.S: Fix alignment.
4417
33f47f42
NS
44182015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4419
4420 * config/nvptx/reduction.c: New.
4421 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4422
d9adb476
DE
44232015-11-15 David Edelsohn <dje.gcc@gmail.com>
4424
4425 * config/rs6000/on_exit.c: New file.
4426 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4427 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4428
c0ab1970
CZ
44292015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4430
4431 * config/arc/dp-hack.h: Add support for ARCHS.
4432 * config/arc/ieee-754/divdf3.S: Likewise.
4433 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4434 * config/arc/ieee-754/muldf3.S: Likewise.
4435 * config/arc/ieee-754/mulsf3.S: Likewise
4436 * config/arc/lib1funcs.S: Likewise
4437 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4438 for ARCv2 cores.
4439 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4440 for ARCv2 cores.
4441 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4442 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4443 cores.
4444
e6b6bf09
RO
44452015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4446
4447 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4448 value.
4449 * config/ia64/crtend.S: Likewise.
4450
a153644f
TS
44512015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4452
4453 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4454 __CHAR_BIT__ instead of BITS_PER_UNIT.
4455 * fixed-bit.h: Likewise.
4456 * fp-bit.h: Likewise.
4457 * libgcc2.c (__popcountSI2): Likewise.
4458 (__popcountDI2): Likewise.
4459 * libgcc2.h: Likewise.
4460 * libgcov.h: Likewise.
4461
3dee689d
DE
44622015-11-07 David Edelsohn <dje.gcc@gmail.com>
4463
4464 * config/rs6000/atexit.c: New file.
4465 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4466 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4467 * config/rs6000/cxa_finalize.c
4468 (catomic_compare_and_exchange_bool_acq): Negate return value.
4469
2ef543e4
VK
44702015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4471
4472 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4473 (processor_subtypes): Add znver1.
4474 (get_amd_cpu): Detect znver1.
4475
1300f017
CL
44762015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4477
4478 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4479 Include crtfastmath.o.
4480
3e5bb7ee
JR
44812015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4482
4483 PR libgcc/66883
4484 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 4485
793aa938
KP
44862015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4487
4488 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4489 * config/rl78/divmodsi.S: Update return register to r8.
4490 * config/rl78/divmodhi.S: Update return register to r8,r9.
4491 Branch to main_loop_done_himode to pop registers before return.
4492
7d296953 44932015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
4494
4495 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4496 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4497
6a192b5a
KY
44982015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4499
4500 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4501
4a0a9457
MF
45022015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4503
4504 * config.host (xtensa*-*-uclinux*): New configuration.
4505
ab91c076
KY
45062015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4507
385c7747 4508 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
4509 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4510
30954527
JM
45112015-09-28 Joseph Myers <joseph@codesourcery.com>
4512
4513 * soft-fp/adddf3.c: Update from glibc.
4514 * soft-fp/addsf3.c: Likewise.
4515 * soft-fp/addtf3.c: Likewise.
4516 * soft-fp/divdf3.c: Likewise.
4517 * soft-fp/divsf3.c: Likewise.
4518 * soft-fp/divtf3.c: Likewise.
4519 * soft-fp/double.h: Likewise.
4520 * soft-fp/eqdf2.c: Likewise.
4521 * soft-fp/eqsf2.c: Likewise.
4522 * soft-fp/eqtf2.c: Likewise.
4523 * soft-fp/extenddftf2.c: Likewise.
4524 * soft-fp/extended.h: Likewise.
4525 * soft-fp/extendsfdf2.c: Likewise.
4526 * soft-fp/extendsftf2.c: Likewise.
4527 * soft-fp/extendxftf2.c: Likewise.
4528 * soft-fp/fixdfdi.c: Likewise.
4529 * soft-fp/fixdfsi.c: Likewise.
4530 * soft-fp/fixdfti.c: Likewise.
4531 * soft-fp/fixsfdi.c: Likewise.
4532 * soft-fp/fixsfsi.c: Likewise.
4533 * soft-fp/fixsfti.c: Likewise.
4534 * soft-fp/fixtfdi.c: Likewise.
4535 * soft-fp/fixtfsi.c: Likewise.
4536 * soft-fp/fixtfti.c: Likewise.
4537 * soft-fp/fixunsdfdi.c: Likewise.
4538 * soft-fp/fixunsdfsi.c: Likewise.
4539 * soft-fp/fixunsdfti.c: Likewise.
4540 * soft-fp/fixunssfdi.c: Likewise.
4541 * soft-fp/fixunssfsi.c: Likewise.
4542 * soft-fp/fixunssfti.c: Likewise.
4543 * soft-fp/fixunstfdi.c: Likewise.
4544 * soft-fp/fixunstfsi.c: Likewise.
4545 * soft-fp/fixunstfti.c: Likewise.
4546 * soft-fp/floatdidf.c: Likewise.
4547 * soft-fp/floatdisf.c: Likewise.
4548 * soft-fp/floatditf.c: Likewise.
4549 * soft-fp/floatsidf.c: Likewise.
4550 * soft-fp/floatsisf.c: Likewise.
4551 * soft-fp/floatsitf.c: Likewise.
4552 * soft-fp/floattidf.c: Likewise.
4553 * soft-fp/floattisf.c: Likewise.
4554 * soft-fp/floattitf.c: Likewise.
4555 * soft-fp/floatundidf.c: Likewise.
4556 * soft-fp/floatundisf.c: Likewise.
4557 * soft-fp/floatunditf.c: Likewise.
4558 * soft-fp/floatunsidf.c: Likewise.
4559 * soft-fp/floatunsisf.c: Likewise.
4560 * soft-fp/floatunsitf.c: Likewise.
4561 * soft-fp/floatuntidf.c: Likewise.
4562 * soft-fp/floatuntisf.c: Likewise.
4563 * soft-fp/floatuntitf.c: Likewise.
4564 * soft-fp/gedf2.c: Likewise.
4565 * soft-fp/gesf2.c: Likewise.
4566 * soft-fp/getf2.c: Likewise.
4567 * soft-fp/ledf2.c: Likewise.
4568 * soft-fp/lesf2.c: Likewise.
4569 * soft-fp/letf2.c: Likewise.
4570 * soft-fp/muldf3.c: Likewise.
4571 * soft-fp/mulsf3.c: Likewise.
4572 * soft-fp/multf3.c: Likewise.
4573 * soft-fp/negdf2.c: Likewise.
4574 * soft-fp/negsf2.c: Likewise.
4575 * soft-fp/negtf2.c: Likewise.
4576 * soft-fp/op-1.h: Likewise.
4577 * soft-fp/op-2.h: Likewise.
4578 * soft-fp/op-4.h: Likewise.
4579 * soft-fp/op-8.h: Likewise.
4580 * soft-fp/op-common.h: Likewise.
4581 * soft-fp/quad.h: Likewise.
4582 * soft-fp/single.h: Likewise.
4583 * soft-fp/soft-fp.h: Likewise.
4584 * soft-fp/subdf3.c: Likewise.
4585 * soft-fp/subsf3.c: Likewise.
4586 * soft-fp/subtf3.c: Likewise.
4587 * soft-fp/truncdfsf2.c: Likewise.
4588 * soft-fp/trunctfdf2.c: Likewise.
4589 * soft-fp/trunctfsf2.c: Likewise.
4590 * soft-fp/trunctfxf2.c: Likewise.
4591 * soft-fp/unorddf2.c: Likewise.
4592 * soft-fp/unordsf2.c: Likewise.
4593 * soft-fp/unordtf2.c: Likewise.
4594
4dfe21ac
RE
45952015-09-24 Richard Earnshaw <rearnsha@arm.com>
4596
4597 PR libgcc/67624
4598 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4599
df2a1cc4
RO
46002015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4601
4602 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4603 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4604 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4605 messages.
4606 (internal_mcount): Likewise.
4607 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4608 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4609
2d110442
RO
46102015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4611
4612 * configure.ac (libgcc_cv_solaris_crts): New test.
4613 * configure: Regenerate.
4614 * config.in: Regenerate.
4615 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4616 * config/gmon-sol2.c: Rename to ...
4617 * config/sol2/gmon.c: ... this.
4618 Include auto-target.h.
4619 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4620 * config/t-sol2: Rename to ...
4621 * config/sol2/t-sol2: ... this.
4622 (gmon.o): Reflect renaming.
4623 (crtp.o, crtpg.o): New rules.
4624 * config.host (*-*-solaris2*): Reflect renaming.
4625 Use system CRTs if present.
4626 Remove default CRT case.
4627
d572e439
JDA
46282015-09-23 John David Anglin <danglin@gcc.gnu.org>
4629
4630 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4631 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4632 __kernel_cmpxchg2.
4633 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4634 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4635 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4636 (__sync_lock_test_and_set_##WIDTH): Likewise.
4637 (__sync_lock_release_##WIDTH): Likewise.
4638 (__sync_fetch_and_##OP##_4): Change result to match type of
4639 __kernel_cmpxchg.
4640 (__sync_##OP##_and_fetch_4): Likewise.
4641 (__sync_val_compare_and_swap_4): Likewise.
4642 (__sync_bool_compare_and_swap_4): likewise.
4643 (__sync_lock_test_and_set_4): Likewise.
4644 (__sync_lock_release_4): Likewise.
4645 (FETCH_AND_OP_2): Add long long variants.
4646 (OP_AND_FETCH_2): Likewise.
4647 (COMPARE_AND_SWAP_2 ): Likewise.
4648 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4649 (SYNC_LOCK_RELEASE_2): Likewise.
4650 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4651
7d296953 46522015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
4653
4654 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4655 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4656 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4657 (get_available_features): Habdle new features.
4658
131314e1
JB
46592015-09-21 James Bowman <james.bowman@ftdichip.com>
4660
4661 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4662 memory layout. Deal correctly with BSS region larger than 32K.
4663 Handle a watchdog reset like a power-on reset. Clean up unused
4664 code.
4665
04218b35
AD
46662015-09-18 Andrew Dixie <andrewd@gentrack.com>
4667 David Edelsohn <dje.gcc@gmail.com>
4668
4669 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4670 * config/rs6000/crtdbase.S: New file.
4671 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4672
c8338173
MF
46732015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4674
4675 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4676 Add support for call0 ABI.
4677
7a84bf71
JDA
46782015-09-13 John David Anglin <danglin@gcc.gnu.org>
4679
4680 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4681
4efab402
SH
46822015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4683
4684 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4685 (__GTHREAD_HAS_COND): Likewise.
4686 (__gthread_t): Likewise.
4687 (__gthread_cond_t): Likewise.
4688 (__gthread_time_t): Likewise.
4689 (__GTHREAD_MUTEX_INIT): Likewise.
4690 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4691 (__GTHREAD_COND_INIT): Likewise.
4692 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4693 (__GTHREAD_TIME_INIT): Likewise.
4694 (__gthread_create): Likewise.
4695 (__gthread_join): Likewise.
4696 (__gthread_detach): Likewise.
4697 (__gthread_equal): Likewise.
4698 (__gthread_self): Likewise.
4699 (__gthread_yield): Likewise.
4700 (__gthread_cond_broadcast): Likewise.
4701 (__gthread_cond_signal): Likewise.
4702 (__gthread_cond_wait): Likewise.
4703 (__gthread_cond_timedwait): Likewise.
4704 (__gthread_cond_wait_recursive): Likewise.
4705 (__gthread_cond_destroy): Likewise.
4706 (rtems_gxx_once): Delete.
4707 (rtems_gxx_key_create): Likewise.
4708 (rtems_gxx_key_delete): Likewise.
4709 (rtems_gxx_getspecific): Likewise.
4710 (rtems_gxx_setspecific): Likewise.
4711 (rtems_gxx_mutex_init): Likewise.
4712 (rtems_gxx_mutex_destroy): Likewise.
4713 (rtems_gxx_mutex_lock): Likewise.
4714 (rtems_gxx_mutex_trylock): Likewise.
4715 (rtems_gxx_mutex_unlock): Likewise.
4716 (rtems_gxx_recursive_mutex_init): Likewise.
4717 (rtems_gxx_recursive_mutex_lock): Likewise.
4718 (rtems_gxx_recursive_mutex_trylock): Likewise.
4719 (rtems_gxx_recursive_mutex_unlock): Likewise.
4720 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4721 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4722 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4723 (__gthread_once): Likewise.
4724 (__gthread_key_create): Likewise.
4725 (__gthread_key_delete): Likewise.
4726 (__gthread_getspecific): Likewise.
4727 (__gthread_setspecific): Likewise.
4728 (__gthread_key_t): Use <pthread.h> type.
4729 (__gthread_once_t): Likewise
4730 (__gthread_mutex_t): Use <sys/lock.h> type.
4731 (__gthread_recursive_mutex_t): Likewise
4732 (__gthread_mutex_lock): Use <sys/lock.h> function.
4733 (__gthread_mutex_trylock): Likewise.
4734 (__gthread_mutex_timedlock): Likewise.
4735 (__gthread_mutex_unlock): Likewise.
4736 (__gthread_mutex_destroy): Likewise.
4737 (__gthread_recursive_mutex_lock): Likewise.
4738 (__gthread_recursive_mutex_trylock): Likewise.
4739 (__gthread_recursive_mutex_timedlock): Likewise.
4740 (__gthread_recursive_mutex_unlock): Likewise.
4741 (__gthread_recursive_mutex_destroy): Likewise.
4742
991995c4
MF
47432015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4744
4745 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4746 context->sp instead of context->cfa.
4747
0e19db59
MF
47482015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4749
4750 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4751 with unwind-dw2-fde-dip.
4752
b6ac5f62
MF
47532015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4754
4755 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4756 CALL12 followed by series of ENTRY to spill windowed registers.
4757 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4758 instead of making linux spill syscall.
4759
3e0f3349
YR
47602015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4761
4762 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4763 (get_intel_cpu): Likewise.
4764
51c728b1
L
47652015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4766
4767 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4768 (get_intel_cpu): Add Knights Landing support.
4769
aff4eeac
UB
47702015-08-11 Uros Bizjak <ubizjak@gmail.com>
4771
4772 PR target/66954
4773 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4774 (get_available_features): Handle FEATURE_PCLMUL.
4775
736e56da
L
47762015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4777
4778 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4779 Broadwell.
4780
54d22142
UB
47812015-07-22 Uros Bizjak <ubizjak@gmail.com>
4782
4783 PR target/66954
4784 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4785 (get_available_features): Handle FEATURE_AES.
4786
20ca17e4
CLT
47872015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4788
4789 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4790 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4791
ebe4a560
NS
47922015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4793
4794 * offloadstuff.c: Constify host data.
4795
180744c0
JB
47962015-07-17 Jan Beulich <jbeulich@suse.com>
4797
4798 * config/t-softfp: Split up "else ifneq".
4799
a03c6ae3
SL
48002015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4801 Cesar Philippidis <cesar@codesourcery.com>
4802 Chung-Lin Tang <cltang@codesourcery.com>
4803
4804 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4805 for __nios2_arch__ level.
4806
73358db5
JM
48072015-07-13 John Marino <gnugcc@marino.st>
4808
4809 * config/i386/t-dragonfly: New.
4810
f9a12f7b
JDA
48112015-07-01 John David Anglin <danglin@gcc.gnu.org>
4812
4813 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4814 better match light-weight syscall argument order.
4815 (__kernel_cmpxchg2): Likewise.
4816 Adjust callers.
4817
cb78b51c
L
48182015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4819
4820 * config.host: Support i[34567]86-*-elfiamcu target.
4821 * config/t-softfp-sfdftf: New file.
4822 * config/i386/32/t-iamcu: Likewise.
4823 * configure: Regenerated.
4824
4fa0f9ea
JL
48252015-06-23 James Lemke <jwlemke@codesourcery.com>
4826
4827 libgcc/config/arm/
4828 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4829
428b3812
L
48302015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4831
4832 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4833
7d296953 48342015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
4835
4836 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4837 md_unwind_header
4838 * config/i386/freebsd-unwind.h: New.
4839
9b789cc1
UB
48402015-05-22 Uros Bizjak <ubizjak@gmail.com>
4841
4842 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4843 i386/t-crtfm to tmake_file.
4844 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4845 (set_fast_math): Use set_fast_math_sse for SSE targets.
4846 * config/i386/t-crtfm: Remove.
4847
3dafb220
AM
48482015-05-21 Alan Modra <amodra@gmail.com>
4849
4850 PR libgcc/66225
4851 * config/rs6000/morestack.S: Remove ".abiversion 1".
4852
0f0fd745
AM
48532015-05-20 Alan Modra <amodra@gmail.com>
4854
4855 * config/rs6000/morestack.S: New.
4856 * config/rs6000/t-stack-rs6000: New.
4857 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4858 to tmake_file.
4859 * generic-morestack.c: Don't build for powerpc 32-bit.
4860
515ae71b
EB
48612015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4862
4863 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4864 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4865
36805406
JL
48662015-05-16 James Bowman <james.bowman@ftdichip.com>
4867
4868 * config.host: FT32 target added.
4869 * config/ft32/*: New files for FT32 target.
4870
ff935d0c
MG
48712015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4872
385c7747
UB
4873 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4874 New macros.
4875 * config/arm/ieee754-df.S: Add CFI directives.
4876 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 4877
9b92a9f3
EB
48782015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4879
4880 * configure.ac: Include config/sjlj.m4.
4881 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4882 * config.in: Regenerate.
4883 * configure: Likewise.
4884 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4885
98b5dc61
UB
48862015-05-12 Uros Bizjak <ubizjak@gmail.com>
4887
4888 * libgcov-util.c: Add space between string literal and macro name.
4889
5a0ff57c
SL
48902015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4891 Chris Jones <chrisj@nvidia.com>
4892 Joshua Conner <jconner@nvidia.com>
4893
4894 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4895 (arm*-*-uclinux*): Likewise.
4896 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4897 * config/arm/crtfastmath.c: New file.
4898
d28ad5d4
BS
48992014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4900
4901 * Makefile.in (real_host_noncanonical): New variable.
4902 (libsubdir): Use it.
4903 * configure.ac (real_host_noncanonical): Compute. Remove special
4904 case for intelmicemul.
4905 * configure: Regenerate.
4906
cc86234f
UB
49072015-04-28 Uros Bizjak <ubizjak@gmail.com>
4908
4909 * config/frv/elf-lib.h: New file.
4910 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4911 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4912 to tm_file.
4913
49142015-04-28 Uros Bizjak <ubizjak@gmail.com>
4915
4916 * config/frv/frvbengin.c: Do not include defaults.h
4917 * config/frv/frvend.c: Ditto.
4918
2f6bd6eb
YS
49192015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4920
4921 * config.host: Add h8300-*-linux
4922 * config/h8300/t-linux: New file.
4923 * config/h8300/lib1funs.s: Change symbol prefix.
4924 * config/h8300/sfp-machine.h: 64bit double support.
4925
15aa7b44
GR
49262015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4927 Szabolcs Nagy <szabolcs.nagy@arm.com>
4928
4929 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4930 Linux if target provides dl_iterate_phdr.
4931
abd0cdc9
L
49322015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4933
4934 PR target/65612
4935 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4936 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4937 (__cpu_indicator_init@GCC_4.8.0): New.
4938 (__cpu_model@GCC_4.8.0): Likewise.
4939 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4940 -DUSE_ELF_SYMVER.
4941
72ed1126
NC
49422015-04-16 Nick Clifton <nickc@redhat.com>
4943
4944 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4945 and __modhi3 functions.
4946 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4947 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4948
d26b2237
CG
49492015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4950
4951 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4952 do-while loop as macro body to avoid warnings.
4953
cacf1f59
JJ
49542015-04-10 Jakub Jelinek <jakub@redhat.com>
4955 Iain Sandoe <iain@codesourcery.com>
4956
4957 PR target/65351
4958 * configure: Regenerate.
4959
e8a4ed3b
JJ
49602015-04-07 Jakub Jelinek <jakub@redhat.com>
4961 Iain Sandoe <iain@codesourcery.com>
4962
4963 PR target/65351
4964 * configure: Regenerate.
4965
0341335e
CLT
49662015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4967
4968 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4969
590e2636 49702015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 4971
590e2636
MF
4972 Implement call0 ABI for xtensa
4973 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4974 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4975 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4976 use ret in call0 ABI.
4977 * config/xtensa/t-windowed: New file.
4978 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4979 * libgcc/configure: Regenerated.
4980 * libgcc/configure.ac: Check if xtensa target is configured for
4981 windowed ABI and thus needs to use custom unwind code.
4982
7727f8f2
JW
49832015-02-12 Jonathan Wakely <jwakely@redhat.com>
4984
4985 PR libgcc/64885
4986 * gthr-single.h: Use __unused__ attribute instead of unused.
4987 * config/gthr-vxworks.h: Likewise.
4988 * config/i386/gthr-win32.h: Likewise.
4989
0e4a0def
KT
49902015-02-27 Kai Tietz <ktietz@redhat.com>
4991
4992 PR target/65038
4993 * config.in: Regenerated.
4994 * configure: Likewise.
4995 * configure.ac (AC_HEADER_STDC): Added explicit.
4996 (AC_CHECK_HEADERS): Check for default headers plus
4997 for ftw.h header.
4998 * libgcov-util.c (gcov_read_profile_dir): Disable use
4999 of ftw-function, if header is not found.
5000 (ftw_read_file): Likewise.
5001
b6530d0a
TS
50022015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5003
5004 PR target/65181
5005 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5006 -Dinhibit_libc.
5007
53cfb467
SL
50082015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5009
5010 * config/arm/bpabi.S (test_div_by_zero): Make label names
5011 consistent between thumb2 and arm mode cases. Separate the
5012 signed comparison on the high word of the numerator from the
5013 unsigned comparison on the low word.
5014 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5015 signed comparison.
5016
77d10a1b
JM
50172015-02-17 Joseph Myers <joseph@codesourcery.com>
5018
5019 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5020 and <string.h>.
5021 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5022
98174188
RE
50232015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5024
5025 PR gcov-profile/61889
471274de 5026 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 5027
771bef14
NC
50282015-02-02 Nick Clifton <nickc@redhat.com>
5029
5030 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5031 rounding up the fraction.
5032
40702893
JDA
50332015-01-31 John David Anglin <danglin@gcc.gnu.org>
5034
5035 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5036 oldval and newval to const void *. Fix typo.
5037 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5038 (FETCH_AND_OP_WORD): Likewise.
5039 (OP_AND_FETCH_WORD): Likewise.
5040 (COMPARE_AND_SWAP_2): Likewise.
5041 (__sync_val_compare_and_swap_4): Likewise.
5042 (__sync_lock_test_and_set_4): Likewise.
5043 (SYNC_LOCK_RELEASE_2): Likewise.
5044 Remove support for long long atomic operations.
5045
f7f049fa
CT
50462015-01-27 Caroline Tice <cmtice@google.com>
5047
5048 Committing VTV Cywin/Ming patch for Patrick Wollgast
5049 * Makefile.in: Move rules to build vtv_*.o out of the check
5050 for CUSTOM_CRTSTUFF.
5051 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5052 i[34567]86-*-mingw*)
5053 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5054 enable_vtable_verify.
5055
8410904a
NC
50562015-01-27 Nick Clifton <nickc@redhat.com>
5057
5058 * config/rl78/cmpsi2.S: Use function start and end macros.
5059 (__gcc_bcmp): New function.
5060 * config/rl78/lshrsi3.S: Use function start and end macros.
5061 * config/rl78/mulsi3.S: Add support for G10.
5062 (__mulqi3): New function for G10.
5063 * config/rl78/signbit.S: Use function start and end macros.
5064 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5065 fpmath-sf.S.
5066 (LIB2FUNCS_EXCLUDE): Define.
5067 (LIB2FUNCS_ST): Define.
5068 * config/rl78/trampoline.S: Use function start and end macros.
5069 * config/rl78/vregs.h (START_FUNC): New macro.
5070 (START_ANOTHER_FUNC): New macro.
5071 (END_FUNC): New macro.
5072 (END_ANOTHER_FUNC): New macro.
5073 * config/rl78/bit-count.S: New file. Contains assembler
5074 implementations of the bit counting functions: ___clzhi2,
5075 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5076 __paritysi2, __popcounthi2 and __popcountsi2.
5077 * config/rl78/fpbit-sf.S: New file. Contains assembler
5078 implementationas of the math functions: __negsf2, __cmpsf2,
5079 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5080 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5081 * config/rl78/fpmath-sf.S: New file. Contains assembler
5082 implementations of the math functions: __subsf3, __addsf3,
5083 __mulsf3 and __divsf3
5084
f962fbf1
RO
50852015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5086
5087 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5088 Add i386/elf-lib.h to tm_file.
5089 * config/i386/elf-lib.h: Fix comment.
5090 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5091 && __sun__ && __svr4__]: Remove workaround.
5092
939911c5
ASJ
50932015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5094
5095 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5096 FEATURE_BMI2.
5097 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5098
c8f2dff2
L
50992015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5100
5101 * config/i386/cpuinfo.c (processor_subtypes): Add
5102 INTEL_COREI7_BROADWELL.
5103 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5104 model numbers.
5105
7bbf9734
UB
51062015-01-23 Uros Bizjak <ubizjak@gmail.com>
5107
5108 * config/i386/elf-lib.h: New file.
5109 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5110 Wrap definition in #ifdef __i386__.
5111 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5112 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5113 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5114 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5115 to tm_file.
5116
324820f1
CG
51172015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5118
5119 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5120 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5121
a9ce4e4a
CLT
51222015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5123
5124 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5125 Update rt_sigframe format and address for current Nios II
5126 Linux conventions.
5127
82a19768
AT
51282015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5129
5130 * config.host (arm*-*-freebsd*): Add new configuration for
5131 arm*-*-freebsd*.
5132 * config/arm/freebsd-atomic.c: New file.
5133 * config/arm/t-freebsd: Likewise.
5134 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5135 'PC-relative indirect' OS's.
5136
0969ec7d
EB
51372015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5138
5139 * config.host: Add Visium support.
5140 * config/visium: New directory.
5141
5624e564
JJ
51422015-01-05 Jakub Jelinek <jakub@redhat.com>
5143
5144 Update copyright years.
5145
82f84ecb
MF
51462014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5147
5148 * config.host: Support mipsisa32r6 and mipsisa64r6.
5149 * config/mips/mips16.S: Do not build for R6.
5150
69044fa9
OE
51512014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5152
5153 * config/sh/crt.h: New.
5154 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5155 symbols.
5156 * config/sh/crt1.S: Likewise.
5157
2405e0ea
UB
51582014-12-15 Uros Bizjak <ubizjak@gmail.com>
5159
5160 PR libgcc/63832
5161 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5162 func_ptr *dtor_list temporary variable to avoid "array subscript
5163 is above array bounds" warnings.
5164
7d296953 51652014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
5166
5167 * Makefile.in (with_aix_soname): Define.
5168 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5169 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5170 * configure: Recreate.
5171
a66272f6
OH
51722014-12-05 Olivier Hainque <hainque@adacore.com>
5173
5174 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5175 now provided by defaults.h.
5176
6342b2c5
OE
51772014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5178
7d0ee249 5179 PR target/55351
6342b2c5
OE
5180 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5181 whether it's defined.
5182
c17eac85
IT
51832014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5184
5185 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5186 * config/i386/cpuinfo.c (get_available_features): Detect it.
5187
1025cb6c
TW
51882014-11-27 Tony Wang <tony.wang@arm.com>
5189
5190 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5191 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5192 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5193
d19f2e38
SB
51942014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5195
5196 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5197
17f6e9a3
JDA
51982014-11-24 John David Anglin <danglin@gcc.gnu.org>
5199
5200 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5201 instead.
5202
0cd7c672
GM
52032014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5204 John David Anglin <danglin@gcc.gnu.org>
5205
5206 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5207 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5208 (OP_AND_FETCH_2): Likewise.
5209 (COMPARE_AND_SWAP_2): Likewise.
5210 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5211 (SYNC_LOCK_RELEASE_2): Likewise.
5212 (SUBWORD_SYNC_OP): Remove.
5213 (SUBWORD_VAL_CAS): Likewise.
5214 (SUBWORD_BOOL_CAS): Likewise.
5215 (FETCH_AND_OP_WORD): Update.
5216 Consistently use signed types.
cc86234f 5217
85c64bbe
BS
52182014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5219 Thomas Schwinge <thomas@codesourcery.com>
5220 Ilya Verbin <ilya.verbin@intel.com>
5221 Andrey Turetskiy <andrey.turetskiy@intel.com>
5222
5223 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5224 (crtoffloadend$(objext)): Likewise.
5225 * configure: Regenerate.
5226 * configure.ac (accel_dir_suffix): Compute new variable.
5227 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5228 if enable_offload_targets is not empty.
5229 * offloadstuff.c: New file.
5230
52a1ff8b
NC
52312014-11-13 Nick Clifton <nickc@redhat.com>
5232
5233 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5234 Use START_FUNC and END_FUNC macros to enable linker garbage
5235 collection.
5236 * config/rl78/divmodqi.S: Likewise.
5237 * config/rl78/divmodsi.S: Likewise.
5238 * config/rl78/mulsi3.S: Likewise.
5239 * config/rl78/lib2div.c: Remove G10 functions.
5240 * config/rl78/lib2muls.c: Likewise.
5241 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5242 * config/rl78/vregs.h (START_FUNC): New macro.
5243 (END_FUNC): New macro.
5244
050af144
MF
52452014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5246
5247 * config/mips/mips16.S: Set .module when supported. Update O32
5248 FP64 calling convention and use for FPXX when possible. Add FPXX
5249 calling convention fallback case.
5250
738f2522
BS
52512014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5252
5253 * config.host: Handle nvptx-*-*.
5254 * shared-object.mk (as-flags-$o): Define.
5255 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5256 -xassembler-with-cpp.
5257 * static-object.mk: Identical changes.
5258 * config/nvptx/t-nvptx: New file.
5259 * config/nvptx/crt0.s: New file.
5260 * config/nvptx/free.asm: New file.
5261 * config/nvptx/malloc.asm: New file.
5262 * config/nvptx/realloc.c: New file.
5263
e610393c
JM
52642014-10-30 Joseph Myers <joseph@codesourcery.com>
5265
5266 * Makefile.in (libgcc.map.in): New target.
5267 (libgcc.map): Use libgcc.map.in.
5268 * config/t-softfp (softfp_compat): New variable to be set by
5269 users.
5270 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5271 variables.
5272 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5273 directory.
5274 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5275 that use compat symbols and disable all code unless [SHARED].
5276 * config/t-softfp-compat: New file.
5277 * find-symver.awk: New file.
5278 * configure.ac (--with-glibc-version): New configure option.
5279 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5280 * configure: Regenerate.
5281 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5282 soft-float and e500.
5283
bc1b3a88
JM
52842014-10-29 Joseph Myers <joseph@codesourcery.com>
5285
5286 * config/t-hardfp (hardfp_exclusions): Document new variable for
5287 user to define.
5288 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5289 * config/t-softfp (softfp_extras): Document new variable for user
5290 to define.
5291 (softfp_func_list): Add functions from $(softfp_extras).
5292 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5293 * config.host (powerpc*-*-linux*): For e500v1, use
5294 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5295 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5296 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5297
ef2810c1
JDA
52982014-10-26 John David Anglin <danglin@gcc.gnu.org>
5299
5300 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5301 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5302 memory read accesses are ok.
5303
d80c2bea
JM
53042014-10-25 Joseph Myers <joseph@codesourcery.com>
5305
5306 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5307 * configure: Regenerate.
5308 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5309 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5310 of soft-fp for 32-bit classic hard float. Do not use
5311 t-softfp-excl for soft float.
5312
693b297b
JM
53132014-10-22 Joseph Myers <joseph@codesourcery.com>
5314
5315 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5316 configurations.
5317 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5318 Remove variables.
5319
18a3415e
GJL
53202014-10-22 Georg-Johann Lay <avr@gjlay.de>
5321
5322 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5323 introduced with 2014-10-21 trunk r216525.
5324
c1dd9790 53252014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
5326 Vidya Praveen <vidya.praveen@atmel.com>
5327 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5328 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5329 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
5330
5331 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5332 order.
5333
5334 Updated library functions for AVRTINY arch.
5335 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5336 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5337 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5338 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5339 wsubi/wadi macors.
5340 (__mulsi3_helper): Update stack, preserve callee saved regs and
5341 argument from stack. Restore callee save registers.
5342 (__mulpsi3): Likewise.
5343 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5344 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 5345 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
5346 AVRTINY.
5347 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5348 (__do_copy_data): Added new definition for AVRTINY.
5349 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5350 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5351 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5352 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5353 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5354 macors.
18a3415e 5355 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
5356 AVRTINY.
5357
18a3415e 5358 Fix broken long multiplication on tiny arch.
c1dd9790 5359
5f606431
JM
53602014-10-09 Joseph Myers <joseph@codesourcery.com>
5361
5362 * soft-fp/double.h: Update from glibc.
5363 * soft-fp/eqdf2.c: Likewise.
5364 * soft-fp/eqsf2.c: Likewise.
5365 * soft-fp/eqtf2.c: Likewise.
5366 * soft-fp/extenddftf2.c: Likewise.
5367 * soft-fp/extended.h: Likewise.
5368 * soft-fp/extendsfdf2.c: Likewise.
5369 * soft-fp/extendsftf2.c: Likewise.
5370 * soft-fp/extendxftf2.c: Likewise.
5371 * soft-fp/gedf2.c: Likewise.
5372 * soft-fp/gesf2.c: Likewise.
5373 * soft-fp/getf2.c: Likewise.
5374 * soft-fp/ledf2.c: Likewise.
5375 * soft-fp/lesf2.c: Likewise.
5376 * soft-fp/letf2.c: Likewise.
5377 * soft-fp/op-1.h: Likewise.
5378 * soft-fp/op-2.h: Likewise.
5379 * soft-fp/op-4.h: Likewise.
5380 * soft-fp/op-8.h: Likewise.
5381 * soft-fp/op-common.h: Likewise.
5382 * soft-fp/quad.h: Likewise.
5383 * soft-fp/single.h: Likewise.
5384 * soft-fp/soft-fp.h: Likewise.
5385 * soft-fp/unorddf2.c: Likewise.
5386 * soft-fp/unordsf2.c: Likewise.
5387 * soft-fp/unordtf2.c: Likewise.
5388 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5389 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5390 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5391 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5392 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5393 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5394 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5395 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5396 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5397 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5398
9b84e7a8
RX
53992014-10-08 Rong Xu <xur@google.com>
5400
5401 * libgcov-util.c (read_gcda_file): Fix format.
5402 (find_match_gcov_info): Ditto.
5403 (calculate_2_entries): New.
5404 (compute_one_gcov): Ditto.
5405 (gcov_info_count_all_cold): Ditto.
5406 (gcov_info_count_all_zero): Ditto.
5407 (extract_file_basename): Ditto.
5408 (get_file_basename): Ditto.
5409 (set_flag): Ditto.
5410 (matched_gcov_info): Ditto.
5411 (calculate_overlap): Ditto.
5412 (gcov_profile_overlap): Ditto.
5413 * libgcov-driver.c (compute_summary): Make
5414 it avavilable for external calls.
5415
fe1090c1
RX
54162014-10-06 Rong Xu <xur@google.com>
5417
5418 * Makefile.in: Ditto.
5419 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5420 (gcov_sort_icall_topn_counter): Ditto.
5421 (gcov_sort_topn_counter_arrays): Ditto.
5422 (dump_one_gcov): Sort indirect_call topn counters.
5423 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5424 function.
5425 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5426 utility function.
5427 (__gcov_indirect_call_topn_profiler): New profiler function.
5428 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5429 * libgcov.h: New decls.
5430
3daa7bbf
TS
54312014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5432
5433 * config.host: Remove support for score-*.
5434
9a79452d
JM
54352014-09-22 Joseph Myers <joseph@codesourcery.com>
5436
5437 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5438 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5439 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5440 __LIBGCC_XF_MANT_DIG__.
5441 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5442 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5443 __LIBGCC_TF_MANT_DIG__.
5444 * libgcc2.c (NOTRUNC): Define in terms of
5445 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5446 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5447
1a849e50
JM
54482014-09-22 Joseph Myers <joseph@codesourcery.com>
5449
5450 PR target/63312
5451 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5452 New macros.
5453
598a1586
HPN
54542014-09-22 Hans-Peter Nilsson <hp@axis.com>
5455
5456 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5457 override USE_PT_GNU_EH_FRAME.
5458 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5459 check USE_EH_FRAME_REGISTRY_ALWAYS against
5460 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5461 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5462 variable for substituted force_explicit_eh_registry.
5463 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5464 * configure.ac (explicit-exception-frame-registration):
5465 New AC_ARG_ENABLE.
5466 * configure: Regenerate.
5467
3a8fe7c6
OH
54682014-09-19 Olivier Hainque <hainque@adacore.com>
5469
5470 * config.host (powerpc-wrs-vxworksmils): New configuration,
5471 same as vxworksae.
5472
dd69f047
JM
54732014-09-18 Joseph Myers <joseph@codesourcery.com>
5474
5475 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5476
e770bfd9
JM
54772014-09-18 Joseph Myers <joseph@codesourcery.com>
5478
5479 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5480 bits not set bits as indicating trapping exceptions.
5481
cadb2b96
NS
54822014-09-17 Nathan sidwell <nathan@acm.org>
5483
5484 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5485 (LIBGCOV_DRIVER): ... here.
5486 * libgcov-driver.c (gcov_master): New.
5487 (gcov_exit): Remove from master chain.
5488 (__gcov_init): Add to master chain if version compatible. Don't
5489 clear the version.
5490 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5491 (gcov_reset_int): Clear master chain, if compatible.
5492 (gcov_dump_int): New internal interface. Dump master chain, if
5493 compatible.
5494 (gcov_dump): Alias for gcov_dump_int.
5495 * libgcov.h (struct gcov_root): Add next and prev fields.
5496 (struct gcov_master): New struct.
5497 (__gcov_master): New.
5498 (gcov_dump_int): Declare.
5499
580d22a3
OH
55002014-09-17 Olivier Hainque <hainque@adacore.com>
5501
5502 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5503 and crtbegin.o + crtend.o to extra_parts.
5504
8cc4b7a2
JM
55052014-09-12 Joseph Myers <joseph@codesourcery.com>
5506
5507 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5508 __LIBGCC_HAS_SF_MODE__.
5509 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5510 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5511 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5512 * config/libbid/bid_gcc_intrinsics.h
5513 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5514 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5515 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5516 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5517 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5518 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5519
ea3f2b24
GJL
55202014-09-11 Georg-Johann Lay <avr@gjlay.de>
5521
5522 PR target/63223
5523 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5524 and R24 as needed. Make work for all devices and .text locations.
5525 (__do_global_ctors, __do_global_dtors): Use word addresses.
5526 (__tablejump__, __tablejump_elpm__): Remove functions.
5527 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5528 Add _tablejump2.
5529 (XICALL, XIJMP): New macros.
5530
b677236a
MS
55312014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5532 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5533
5534 * config.host (aarch64*): Include crtfastmath.o and
5535 t-crtfm.
5536 * config/aarch64/crtfastmath.c: New file.
5537
157e859f
TS
55382014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5539
5540 * config.host: Remove picochip support.
5541 * config/picochip/adddi3.S: Remove.
5542 * config/picochip/ashlsi3.S: Remove.
5543 * config/picochip/ashlsi3.c: Remove.
5544 * config/picochip/ashrsi3.S: Remove.
5545 * config/picochip/ashrsi3.c: Remove.
5546 * config/picochip/clzsi2.S: Remove.
5547 * config/picochip/cmpsi2.S: Remove.
5548 * config/picochip/divmod15.S: Remove.
5549 * config/picochip/divmodhi4.S: Remove.
5550 * config/picochip/divmodsi4.S: Remove.
5551 * config/picochip/lib1funcs.S: Remove.
5552 * config/picochip/longjmp.S: Remove.
5553 * config/picochip/lshrsi3.S: Remove.
5554 * config/picochip/lshrsi3.c: Remove.
5555 * config/picochip/parityhi2.S: Remove.
5556 * config/picochip/popcounthi2.S: Remove.
5557 * config/picochip/setjmp.S: Remove.
5558 * config/picochip/subdi3.S: Remove.
5559 * config/picochip/t-picochip: Remove.
5560 * config/picochip/ucmpsi2.S: Remove.
5561 * config/picochip/udivmodhi4.S: Remove.
5562 * config/picochip/udivmodsi4.S: Remove.
5563
66bb34c0
JM
55642014-09-08 Joseph Myers <joseph@codesourcery.com>
5565
5566 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5567 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5568 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5569 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5570 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5571 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5572 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5573 defined and LIBGCC2_HAS_DF_MODE is defined.
5574 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5575 defined and LIBGCC2_HAS_XF_MODE is defined.
5576 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5577 defined and LIBGCC2_HAS_TF_MODE is defined.
5578
9686a2e6
JM
55792014-09-08 Joseph Myers <joseph@codesourcery.com>
5580
5581 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5582 and ROUND_TOWARDS_ZERO conditionals.
5583
71c3e2ef
NS
55842014-09-07 Nathan sidwell <nathan@acm.org>
5585
5586 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5587 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5588
53d68b9f
JM
55892014-09-05 Joseph Myers <joseph@codesourcery.com>
5590
5591 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5592 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5593 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5594 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5595 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5596 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5597 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5598 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5599 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5600 (DWARF_FRAME_REGISTERS): Change all uses to
5601 __LIBGCC_DWARF_FRAME_REGISTERS__.
5602 (EH_RETURN_STACKADJ_RTX): Change all uses to
5603 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5604 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5605 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5606 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5607 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5608 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5609 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5610 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5611 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5612 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5613 __LIBGCC_STACK_POINTER_REGNUM__.
5614 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5615 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5616 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5617 to __LIBGCC_STACK_POINTER_REGNUM__.
5618 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5619 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5620 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5621 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5622 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5623 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5624 (STACK_POINTER_REGNUM): Change all uses to
5625 __LIBGCC_STACK_POINTER_REGNUM__.
5626 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5627 use to __LIBGCC_STACK_POINTER_REGNUM__.
5628 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5629 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5630 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5631 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5632 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5633 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5634 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5635 to __LIBGCC_STACK_POINTER_REGNUM__.
5636 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5637 Remove conditional definition.
5638 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5639 __LIBGCC_TEXT_SECTION_ASM_OP__.
5640 (EH_FRAME_SECTION_NAME): Change all uses to
5641 __LIBGCC_EH_FRAME_SECTION_NAME__.
5642 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5643 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5644 (CTORS_SECTION_ASM_OP): Change all uses to
5645 __LIBGCC_CTORS_SECTION_ASM_OP__.
5646 (DTORS_SECTION_ASM_OP): Change all uses to
5647 __LIBGCC_DTORS_SECTION_ASM_OP__.
5648 (JCR_SECTION_NAME): Change all uses to
5649 __LIBGCC_JCR_SECTION_NAME__.
5650 (INIT_SECTION_ASM_OP): Change all uses to
5651 __LIBGCC_INIT_SECTION_ASM_OP__.
5652 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5653 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5654 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5655 __LIBGCC_STACK_GROWS_DOWNWARD__.
5656 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5657 __LIBGCC_INIT_SECTION_ASM_OP__.
5658 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5659 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5660 (EH_FRAME_SECTION_NAME): Change all uses to
5661 __LIBGCC_EH_FRAME_SECTION_NAME__.
5662 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5663 definitions. Change all uses to
5664 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5665 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5666 __LIBGCC_STACK_GROWS_DOWNWARD__.
5667 (DWARF_FRAME_REGISTERS): Change all uses to
5668 __LIBGCC_DWARF_FRAME_REGISTERS__.
5669 (EH_RETURN_STACKADJ_RTX): Change all uses to
5670 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5671 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5672 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5673 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5674 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5675 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5676
b20ee094
NS
56772014-09-02 Nathan sidwell <nathan@acm.org>
5678
5679 * libgcov-interface.c (STRONG_ALIAS): New.
5680 (__gcov_flush): Call __gcov_reset_int.
5681 (__gcov_reset): Strong alias for ...
5682 (__gcov_reset_ing): ... this renamed hidden version.
5683 * libgcov.h (__gcov_reset_int): New declaration.
5684
1ac83976
YS
56852014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5686
25efdb9f
YS
5687 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5688 call from here...
5689 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5690 (__dso_handle): Define on Cygwin.
5691 * config/i386/t-cygming (crtbeginS.o): New rule.
5692 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5693
1ac83976
YS
5694 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5695 declaration syntax.
5696
c6f9ea3b
SE
56972014-08-13 Steve Ellcey <sellcey@mips.com>
5698
5699 * crtstuff.c: Undef caddr_t.
5700
5b1ea7c5
SE
57012014-08-12 Steve Ellcey <sellcey@mips.com>
5702
5703 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5704
4303c581
NS
57052014-08-07 Nathan Sidwell <nathan@acm.org>
5706
5707 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5708 (LIBGCOV_DRIVER): ... to here.
5709 * libgcov.h (gcov_do_dump): New #define.
5710 (struct gcov_root): New.
5711 (__gcov_root): New declaration.
5712 (__gcov_dump_one): Declare.
5713 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5714 run_accounted): Delete.
5715 (gcov_compute_histogram): Add LIST argument, adjust.
5716 (compute_summary): Adjust gcov_compute_histogram call.
5717 (gcov_do_dump): Not hidden, static in libgcov.
5718 (gcov_clear): Move to interface.c.
5719 (__gcov_dump_one): New, broken out of ...
5720 (gcov_exit): ... here. Make static.
5721 (__gcov_root): New.
5722 (__gcov_init): Adjust.
5723 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5724 declarations.
5725 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5726 (gcov_clear): Moved from driver.c. Add LIST argument.
5727 (__gcov_reset): Adjust for changed interfaces.
5728 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5729
23742a9e
RAR
57302014-08-04 Rohit <rohitarulraj@freescale.com>
5731
5732 PR target/60102
5733 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 5734 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 5735
b98a872b
NS
57362014-08-01 Nathan Sidwell <nathan@acm.org>
5737
5738 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5739 LIBGCOV_INTERFACE): Reformat.
5740 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5741 IN_GCOV_TOOL.
5742 * libgcov-interface.c: Reformat some comments.
5743 (__gcov_flush_mx): Add declaration. Tidy up definition.
5744
6adaaa1d
AM
57452014-07-31 Alan Modra <amodra@gmail.com>
5746 Peter Bergner <bergner@vnet.ibm.com>
5747
5748 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5749 (pack_ldouble): New function.
5750 (__gcc_qadd): Use it.
5751 (__gcc_qmul): Likewise.
5752 (__gcc_qdiv): Likewise.
5753 (__gcc_qneg): Likewise.
5754 (__gcc_stoq): Likewise.
5755 (__gcc_dtoq): Likewise.
5756
87cb0c0c
UW
57572014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5758
5759 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5760 (__tpf_eh_return): Add original return address as second parameter.
5761 Handle cases where unwinder routines were called directly, instead
5762 of from within the C++ library.
5763
19926161
NS
57642014-07-29 Nathan Sidwell <nathan@acm.org>
5765
5766 * libgcov.h: Move renaming of entry points to lib gcov specific
5767 portion.
5768 (gcov_do_dump): New rename.
5769 (gcov_rewrite): Remove inline, make HIDDEN.
5770 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5771 (gcov_exit_compute_summary): Rename to ...
5772 (compute_summary): ... here. Add LIST argument.
5773 (gcov_exit_merge_gcda): Rename to ...
5774 (merge_one_data): ... here.
5775 (gcov_exit_write_gcda): Rename to ...
5776 (write_one_data): ... here.
5777 (gcov_exit_merge_summary): Rename to ...
5778 (merge_summary): Add RUN_COUNTED argument.
5779 (gcov_exit_dump_gcov): Rename to ...
5780 (dump_one_gcov): Add RUN_COUNTED argument.
5781 (gcov_do_dump): New function, broken out of ...
5782 (gcov_exit): ... here. Call it.
5783
17522262
AG
57842014-07-27 Anthony Green <green@moxielogic.com>
5785
5786 * config.host: Add moxiebox configuration suppport.
5787
6dc33097
NS
57882014-07-27 Nathan Sidwell <nathan@acm.org>
5789
5790 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5791 (struct gcov_filename): ... here. Include buffer and max length
5792 fields.
5793 (gcov_max_filename): Remove.
5794 (gi_filename): Remove.
5795 (gcov_exit_compute_summary): Compute max filename here.
5796 (gcov_exit_merge_gcda): Add filename parm, adjust.
5797 (gcov_exit_merge_summary): Likewise.
5798 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5799 (gcov_exit): Likewise.
5800 (__gcov_init): Don't calculate max length here.
5801 * libgcov_util.c (max_filename_len): Remove.
5802 (read_gcda_file): Don't calculate max length here.
5803 (gcov_read_profile_dir): Don't propagate here.
5804 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5805 struct gcov_filename changes.
5806 (gcov_exit_open_gcda_file): Likewise.
5807
770f687d
NS
58082014-07-25 Nathan Sidwell <nathan@acm.org>
5809
5810 * libgcov-driver.c (set_gcov_dump_complete,
5811 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5812 functions polluting user's namespace.
5813 (gcov_exit): Set variable directly.
5814 (gcov_clear): Reset variable directly.
5815 * libgcov-interface.c (get_gcov_dymp_complete,
5816 reset_gov_dump_complete): Remove declarations.
5817 (__gcov_reset, __gcov_dump): Don't call them.
5818
fabf71ba
DD
58192014-07-24 DJ Delorie <dj@redhat.com>
5820
5821 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
5822 (__gcc_deregister_frame): Move logic to detect deregister function
5823 to ...
5824 (__gcc_register_frame): here, so it's consistent with the register
5825 logic.
fabf71ba 5826
d10ee722
NS
58272014-07-23 Nathan Sidwell <nathan@acm.org>
5828
5829 * libgcov-driver.c (set_gcov_list): Remove.
5830 (gcov_list): Make non-static in GCOV_TOOL.
5831 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5832
a4137090
JDA
58332014-07-17 John David Anglin <danglin@gcc.gnu.org>
5834
5835 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5836 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5837 Don't use SYNC_LOCK_RELEASE for int type.
5838
72602c6c
RB
58392014-07-14 Richard Biener <rguenther@suse.de>
5840
5841 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5842
d5313205
RX
58432014-07-11 Rong Xu <xur@google.com>
5844
5845 * libgcov-util.c (gcov_max_filename): Fix declartion.
5846
c77556a5
RX
58472014-07-10 Rong Xu <xur@google.com>
5848
5849 Add gcov-tool: an offline gcda profile processing tool
5850 Support.
5851 * libgcov-driver.c (gcov_max_filename): Make available
5852 to gcov-tool.
5853 * libgcov-merge.c (__gcov_merge_add): Replace
5854 gcov_read_counter() with a Macro.
5855 (__gcov_merge_ior): Ditto.
5856 (__gcov_merge_time_profile): Ditto.
5857 (__gcov_merge_single): Ditto.
5858 (__gcov_merge_delta): Ditto.
5859 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5860 in the utility functions.
5861 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5862 gcov_list object link lists.
5863 (tag_function): Ditto.
5864 (tag_blocks): Ditto.
5865 (tag_arcs): Ditto.
5866 (tag_lines): Ditto.
5867 (tag_counters): Ditto.
5868 (tag_summary): Ditto.
5869 (read_gcda_finalize): Ditto.
5870 (read_gcda_file): Ditto.
5871 (ftw_read_file): Ditto.
5872 (read_profile_dir_init): Ditto.
5873 (gcov_read_profile_dir): Ditto.
5874 (gcov_read_counter_mem): Ditto.
5875 (gcov_get_merge_weight): Ditto.
5876 (merge_wrapper): A wrapper function that calls merging handler.
5877 (gcov_merge): Merge two gcov_info objects with weights.
5878 (find_match_gcov_info): Find the matched gcov_info in the list.
5879 (gcov_profile_merge): Merge two gcov_info object lists.
5880 (__gcov_add_counter_op): Process edge profile counter values.
5881 (__gcov_ior_counter_op): Process IOR profile counter values.
5882 (__gcov_delta_counter_op): Process delta profile counter values.
5883 (__gcov_single_counter_op): Process single profile counter values.
5884 (fp_scale): Callback function for float-point scaling.
cc86234f 5885 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
5886 (gcov_profile_scale): Scaling profile counters.
5887 (gcov_profile_normalize): Normalize profile counters.
5888 * libgcov.h: Add headers and functions for gcov-tool use.
5889 (gcov_get_counter): New.
5890 (gcov_get_counter_target): Ditto.
5891 (struct gcov_info): Make the functions field mutable in gcov-tool
5892 compilation.
5893
5c7dac8a
KT
58942014-06-23 Kai Tietz <ktietz@redhat.com>
5895
5896 PR libgcc/61585
5897 * unwind-seh.c (_Unwind_GetGR): Check for proper
5898 index range.
5899 (_Unwind_SetGR): Likewise.
5900
161c9312
NC
59012014-05-22 Nick Clifton <nickc@redhat.com>
5902
5903 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5904 -mhwmult=none.
5905
e3f0315f
TJ
59062014-05-22 Teresa Johnson <tejohnson@google.com>
5907
5908 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5909 include.
5910
dbed5a9b
JM
59112014-05-20 John Marino <gnugcc@marino.st>
5912
5913 * config.host (*-*-dragonfly*): New target.
5914 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5915 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5916 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5917 * config/i386/dragonfly-unwind.h: New.
5918
1ec380e5
MR
59192014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5920
5921 PR libgcc/60166
5922 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5923 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5924
54fde020
BE
59252014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5926
5927 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5928 implementation.
5929
999db125
GJL
59302014-05-12 Georg-Johann Lay <avr@gjlay.de>
5931
5932 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5933
cceaf54a
RO
59342014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5935
5936 PR libgcc/61097
5937 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5938 if --enable-shared.
5939
e3fe9b5b
BE
59402014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5941
5942 Work around for current cygwin32 build problems.
5943 * config/i386/cygming-crtbegin.c (__register_frame_info,
5944 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5945 functions only for 64-bit systems.
5946
54cf37e9
RO
59472014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5948
5949 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5950 (sigill_caught, sigill_hdlr): Remove.
5951
d9f069ab
RO
59522014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5953
5954 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5955 check.
5956 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5957 Solaris 9 single-threaded support.
5958 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5959 Solaris 9 single-threaded support. Add call_user_handler code
5960 sequences.
5961 (sparc_is_sighandler): Likewise.
5962
59976ef8
AK
59632014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5964
5965 * config.host: Append t-floattodi to tmake_file depending on
5966 host_address.
5967
d02bbcf3
JS
59682014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5969
31466bc0 5970 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 5971
c2e7e597
UB
59722014-03-10 Uros Bizjak <ubizjak@gmail.com>
5973
5974 PR libgcc/60472
5975 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 5976 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
5977 Use __builtin_expect when checking *jcr_list for NULL.
5978
227a7dc8
RO
59792014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5980
5981 PR libgcc/59339
5982 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5983 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5984 vtv_*.o to extra_parts if enable_vtable_verify.
5985
df2b279c
NC
59862014-03-06 Nick Clifton <nickc@redhat.com>
5987
5988 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5989 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5990
dc11d79b
JY
59912014-02-28 Joey Ye <joey.ye@arm.com>
5992
5993 PR libgcc/60166
5994 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5995 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5996 Set to zero.
5997
341c653c
WL
59982014-02-24 Walter Lee <walt@tilera.com>
5999
6000 * config.host: Support "tilegx*" and "tilepro*" triplets.
6001 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6002 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6003
95ce7613
CLT
60042014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6005 Chung-Lin Tang <cltang@codesourcery.com>
6006
6007 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6008 * config/nios2/crti.S: Remove .file directive.
6009 * config/nios2/crtn.S: Likewise.
6010
0bb4fc05
KT
60112014-02-18 Kai Tietz <ktietz@redhat.com>
6012 Jonathan Schleifer <js@webkeks.org>
6013
6014 PR objc/56870
6015 * unwind-seh.c (_GCC_specific_handler): Pass proper
6016 value to unwind-handler.
6017
9acf28f1
JM
60182014-02-12 Joseph Myers <joseph@codesourcery.com>
6019
6020 * soft-fp/adddf3.c: Update from glibc.
6021 * soft-fp/addsf3.c: Likewise.
6022 * soft-fp/addtf3.c: Likewise.
6023 * soft-fp/divdf3.c: Likewise.
6024 * soft-fp/divsf3.c: Likewise.
6025 * soft-fp/divtf3.c: Likewise.
6026 * soft-fp/double.h: Likewise.
6027 * soft-fp/eqdf2.c: Likewise.
6028 * soft-fp/eqsf2.c: Likewise.
6029 * soft-fp/eqtf2.c: Likewise.
6030 * soft-fp/extenddftf2.c: Likewise.
6031 * soft-fp/extended.h: Likewise.
6032 * soft-fp/extendsfdf2.c: Likewise.
6033 * soft-fp/extendsftf2.c: Likewise.
6034 * soft-fp/extendxftf2.c: Likewise.
6035 * soft-fp/fixdfdi.c: Likewise.
6036 * soft-fp/fixdfsi.c: Likewise.
6037 * soft-fp/fixdfti.c: Likewise.
6038 * soft-fp/fixsfdi.c: Likewise.
6039 * soft-fp/fixsfsi.c: Likewise.
6040 * soft-fp/fixsfti.c: Likewise.
6041 * soft-fp/fixtfdi.c: Likewise.
6042 * soft-fp/fixtfsi.c: Likewise.
6043 * soft-fp/fixtfti.c: Likewise.
6044 * soft-fp/fixunsdfdi.c: Likewise.
6045 * soft-fp/fixunsdfsi.c: Likewise.
6046 * soft-fp/fixunsdfti.c: Likewise.
6047 * soft-fp/fixunssfdi.c: Likewise.
6048 * soft-fp/fixunssfsi.c: Likewise.
6049 * soft-fp/fixunssfti.c: Likewise.
6050 * soft-fp/fixunstfdi.c: Likewise.
6051 * soft-fp/fixunstfsi.c: Likewise.
6052 * soft-fp/fixunstfti.c: Likewise.
6053 * soft-fp/floatdidf.c: Likewise.
6054 * soft-fp/floatdisf.c: Likewise.
6055 * soft-fp/floatditf.c: Likewise.
6056 * soft-fp/floatsidf.c: Likewise.
6057 * soft-fp/floatsisf.c: Likewise.
6058 * soft-fp/floatsitf.c: Likewise.
6059 * soft-fp/floattidf.c: Likewise.
6060 * soft-fp/floattisf.c: Likewise.
6061 * soft-fp/floattitf.c: Likewise.
6062 * soft-fp/floatundidf.c: Likewise.
6063 * soft-fp/floatundisf.c: Likewise.
6064 * soft-fp/floatunditf.c: Likewise.
6065 * soft-fp/floatunsidf.c: Likewise.
6066 * soft-fp/floatunsisf.c: Likewise.
6067 * soft-fp/floatunsitf.c: Likewise.
6068 * soft-fp/floatuntidf.c: Likewise.
6069 * soft-fp/floatuntisf.c: Likewise.
6070 * soft-fp/floatuntitf.c: Likewise.
6071 * soft-fp/gedf2.c: Likewise.
6072 * soft-fp/gesf2.c: Likewise.
6073 * soft-fp/getf2.c: Likewise.
6074 * soft-fp/ledf2.c: Likewise.
6075 * soft-fp/lesf2.c: Likewise.
6076 * soft-fp/letf2.c: Likewise.
6077 * soft-fp/muldf3.c: Likewise.
6078 * soft-fp/mulsf3.c: Likewise.
6079 * soft-fp/multf3.c: Likewise.
6080 * soft-fp/negdf2.c: Likewise.
6081 * soft-fp/negsf2.c: Likewise.
6082 * soft-fp/negtf2.c: Likewise.
6083 * soft-fp/op-1.h: Likewise.
6084 * soft-fp/op-2.h: Likewise.
6085 * soft-fp/op-4.h: Likewise.
6086 * soft-fp/op-8.h: Likewise.
6087 * soft-fp/op-common.h: Likewise.
6088 * soft-fp/quad.h: Likewise.
6089 * soft-fp/single.h: Likewise.
6090 * soft-fp/soft-fp.h: Likewise.
6091 * soft-fp/subdf3.c: Likewise.
6092 * soft-fp/subsf3.c: Likewise.
6093 * soft-fp/subtf3.c: Likewise.
6094 * soft-fp/truncdfsf2.c: Likewise.
6095 * soft-fp/trunctfdf2.c: Likewise.
6096 * soft-fp/trunctfsf2.c: Likewise.
6097 * soft-fp/trunctfxf2.c: Likewise.
6098 * soft-fp/unorddf2.c: Likewise.
6099 * soft-fp/unordsf2.c: Likewise.
6100 * soft-fp/unordtf2.c: Likewise.
6101 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6102 macro.
6103 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6104 Likewise.
6105 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6106 Likewise.
6107 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6108 Likewise.
6109 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6110 Likewise.
6111 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6112 Likewise.
6113 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6114 Likewise.
6115 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6116 Likewise.
6117 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6118 Likewise.
6119 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6120 Likewise.
6121 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6122 Likewise.
6123 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6124 Likewise.
6125 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6126 Likewise.
6127 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6128 Likewise.
6129 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6130 Likewise.
6131 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6132 Likewise.
6133
ce245ec6
AK
61342014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6135
6136 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6137 cannot be represented.
6138 * config/s390/32/_fixsfdi.c: Likewise.
6139 * config/s390/32/_fixtfdi.c: Likewise.
6140 * config/s390/32/_fixunsdfdi.c: Likewise.
6141 * config/s390/32/_fixunssfdi.c: Likewise.
6142 * config/s390/32/_fixunstfdi.c: Likewise.
6143
1c51d688
RS
61442014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6145
6146 * configure.ac (libgcc_cv_mips_hard_float): New.
6147 * configure: Regenerate.
6148 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6149 t-softfp-sfdf for hard-float targets.
6150 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6151 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6152 (softfp_truncations, softfp_exclude_libgcc2): New.
6153 * config/t-hardfp: New file.
6154 * config/t-hardfp-sfdf: Likewise.
6155 * config/hardfp.c: Likewise.
6156
bbf391db
AK
61572014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6158
6159 * config.host: Include t-floattodi also for s390x.
6160 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6161 * config/s390/32/_fixsfdi.c: Likewise.
6162 * config/s390/32/_fixtfdi.c: Likewise.
6163 * config/s390/32/_fixunsdfdi.c: Likewise.
6164 * config/s390/32/_fixunssfdi.c: Likewise.
6165 * config/s390/32/_fixunstfdi.c: Likewise.
6166
91da0481
RO
61672014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6168
6169 PR target/59788
6170 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6171 (install-libgcc-unwind-map-forbuild): New target.
6172 (all): Depend on install-libgcc-unwind-map-forbuild.
6173 (install-libgcc-unwind-map): New target.
6174 (install): Depend on install-libgcc-unwind-map.
6175
02b67731
SL
61762014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6177
6178 * config/nios2/crti.S (_init): Initialize GOT pointer from
6179 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6180
1ea0a651
RS
61812014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6182
6183 * configure.ac: Check __mips64 when setting host_address.
6184 * configure: Regenerate.
6185 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6186 mips/t-mips64 and t-softfp.
6187 (mips*-*-linux*): Don't add mips/t-tpbit.
6188 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6189 (DPBIT, DPBIT_CFLAGS): Delete.
6190 * config/mips/sfp-machine.h: New file.
6191 * config/mips/t-mips64: Likewise.
6192 * config/mips/t-softfp-tf: Likewise.
6193 * config/mips/t-tpbit: Delete.
6194
f32b0061
MS
61952014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6196
6197 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6198 as long long.
6199
a5420aa4
WL
62002014-01-25 Walter Lee <walt@tilera.com>
6201
6202 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6203 config.h or system.h.
6204 (bool) Define.
6205
24534912
WL
62062014-01-25 Walter Lee <walt@tilera.com>
6207
6208 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6209 (post_atomic_barrier): Ditto.
6210 (__fetch_and_do): New macro.
6211 (__atomic_fetch_and_do): Use __fetch_and_do.
6212 (__sync_fetch_and_do): New macro.
6213 (__sync_fetch_and_add_4): New function.
6214 (__sync_fetch_and_sub_4): New function.
6215 (__sync_fetch_and_or_4): New function.
6216 (__sync_fetch_and_and_4): New function.
6217 (__sync_fetch_and_xor_4): New function.
6218 (__sync_fetch_and_nand_4): New function.
6219 (__sync_fetch_and_add_8): New function.
6220 (__sync_fetch_and_sub_8): New function.
6221 (__sync_fetch_and_or_8): New function.
6222 (__sync_fetch_and_and_8): New function.
6223 (__sync_fetch_and_xor_8): New function.
6224 (__sync_fetch_and_nand_8): New function.
6225 (__do_and_fetch): New macro.
6226 (__atomic_do_and_fetch): Use __do_and_fetch.
6227 (__sync_do_and_fetch): New macro.
6228 (__sync_add_and_fetch_4): New function.
6229 (__sync_sub_and_fetch_4): New function.
6230 (__sync_or_and_fetch_4): New function.
6231 (__sync_and_and_fetch_4): New function.
6232 (__sync_xor_and_fetch_4): New function.
6233 (__sync_nand_and_fetch_4): New function.
6234 (__sync_add_and_fetch_8): New function.
6235 (__sync_sub_and_fetch_8): New function.
6236 (__sync_or_and_fetch_8): New function.
6237 (__sync_and_and_fetch_8): New function.
6238 (__sync_xor_and_fetch_8): New function.
6239 (__sync_nand_and_fetch_8): New function.
6240 (__sync_exchange_methods): New macro.
6241 (__sync_val_compare_and_swap_4): New function.
6242 (__sync_bool_compare_and_swap_4): New function.
6243 (__sync_lock_test_and_test_4): New function.
6244 (__sync_val_compare_and_swap_8): New function.
6245 (__sync_bool_compare_and_swap_8): New function.
6246 (__sync_lock_test_and_test_8): New function.
6247 (__subword_cmpxchg_body): New macro.
6248 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6249 (__atomic_compare_exchange_2): Ditto.
6250 (__sync_subword_cmpxchg): New macro.
6251 (__sync_val_compare_and_swap_1): New function.
6252 (__sync_bool_compare_and_swap_1): New function.
6253 (__sync_val_compare_and_swap_2): New function.
6254 (__sync_bool_compare_and_swap_2): New function.
6255 (__atomic_subword): Rename to ...
6256 (__subword): ... New name.
6257 (__atomic_subword_fetch): Use __subword.
6258 (__sync_subword_fetch): New macro.
6259 (__sync_fetch_and_add_1): New function.
6260 (__sync_fetch_and_sub_1): New function.
6261 (__sync_fetch_and_or_1): New function.
6262 (__sync_fetch_and_and_1): New function.
6263 (__sync_fetch_and_xor_1): New function.
6264 (__sync_fetch_and_nand_1): New function.
6265 (__sync_fetch_and_add_2): New function.
6266 (__sync_fetch_and_sub_2): New function.
6267 (__sync_fetch_and_or_2): New function.
6268 (__sync_fetch_and_and_2): New function.
6269 (__sync_fetch_and_xor_2): New function.
6270 (__sync_fetch_and_nand_2): New function.
6271 (__sync_add_and_fetch_1): New function.
6272 (__sync_sub_and_fetch_1): New function.
6273 (__sync_or_and_fetch_1): New function.
6274 (__sync_and_and_fetch_1): New function.
6275 (__sync_xor_and_fetch_1): New function.
6276 (__sync_nand_and_fetch_1): New function.
6277 (__sync_add_and_fetch_2): New function.
6278 (__sync_sub_and_fetch_2): New function.
6279 (__sync_or_and_fetch_2): New function.
6280 (__sync_and_and_fetch_2): New function.
6281 (__sync_xor_and_fetch_2): New function.
6282 (__sync_nand_and_fetch_2): New function.
6283 (__atomic_subword_lock): Use __subword.
6284 (__sync_subword_lock): New macro.
6285 (__sync_lock_test_and_set_1): New function.
6286 (__sync_lock_test_and_set_2): New function.
6287
4d6d3bc5
WL
62882014-01-25 Walter Lee <walt@tilera.com>
6289
6290 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6291 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6292 (__atomic_subword): Ditto.
6293
cbd9890e
WL
62942014-01-25 Walter Lee <walt@tilera.com>
6295
6296 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6297 a prefix op argument.
6298 (__atomic_nand_fetch_4): Add prefix op.
6299 (__atomic_nand_fetch_8): Ditto.
6300
7d296953 63012014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
6302
6303 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6304
46dd1242
L
63052014-01-09 Rong Xu <xur@google.com>
6306
6307 * libgcov-driver.c (this_prg): make it local to save
6308 bss space.
6309 (gcov_exit_compute_summary): Ditto.
6310 (gcov_exit_merge_gcda): Ditto.
6311 (gcov_exit_merge_summary): Ditto.
6312 (gcov_exit_dump_gcov): Ditto.
6313
cc86234f 63142014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
6315
6316 * libgcov-driver.c: Use libgcov.h.
6317 (buffer_fn_data): Use xmalloc instead of malloc.
6318 (gcov_exit_merge_gcda): Ditto.
6319 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6320 * libgcov.h: New common header files for libgcov-*.h.
6321 * libgcov-interface.c: Use libgcov.h
6322 * libgcov-merge.c: Ditto.
6323 * libgcov-profiler.c: Ditto.
6324 * Makefile.in: Add dependence to libgcov.h
6325
a02e7bdd
JM
63262014-01-02 Joseph Myers <joseph@codesourcery.com>
6327
6328 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6329 case of small numerator and finite nonzero result.
6330
ac1dca3c
RS
63312014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6332
6333 Update copyright years
6334
f9030485
RS
63352014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6336
6337 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6338 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6339 config/arc/dp-hack.h, config/arc/fp-hack.h,
6340 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6341 config/arc/ieee-754/arc600-dsp/divdf3.S,
6342 config/arc/ieee-754/arc600-dsp/divsf3.S,
6343 config/arc/ieee-754/arc600-dsp/muldf3.S,
6344 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6345 config/arc/ieee-754/arc600-mul64/divdf3.S,
6346 config/arc/ieee-754/arc600-mul64/divsf3.S,
6347 config/arc/ieee-754/arc600-mul64/muldf3.S,
6348 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6349 config/arc/ieee-754/arc600/divsf3.S,
6350 config/arc/ieee-754/arc600/mulsf3.S,
6351 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6352 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6353 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6354 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6355 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6356 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6357 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6358 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6359 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6360 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6361 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6362 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6363 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6364 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6365 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6366 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6367 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6368 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6369 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6370 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6371 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6372 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6373 vtv_start_preinit.c: Use the standard form for the copyright notice.
6374
e430824f
CLT
63752013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6376 Chung-Lin Tang <cltang@codesourcery.com>
6377 Based on patches from Altera Corporation
6378
6379 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6380 * config/nios2/lib2-nios2.h: New file.
6381 * config/nios2/lib2-divmod-hi.c: New file.
6382 * config/nios2/linux-unwind.h: New file.
6383 * config/nios2/lib2-divmod.c: New file.
6384 * config/nios2/linux-atomic.c: New file.
6385 * config/nios2/t-nios2: New file.
6386 * config/nios2/crti.asm: New file.
6387 * config/nios2/t-linux: New file.
6388 * config/nios2/lib2-divtable.c: New file.
6389 * config/nios2/lib2-mul.c: New file.
6390 * config/nios2/tramp.c: New file.
6391 * config/nios2/crtn.asm: New file.
6392
1879e97f
UB
63932013-12-26 Uros Bizjak <ubizjak@gmail.com>
6394
6395 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6396 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6397 from cpuid.h to check vendor signatures.
6398
f4a4bdbb
GG
63992013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6400
c2e7e597 6401 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
6402 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6403 (get_amd_cpu): Likewise.
6404
8d2ae544
L
64052013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6406
6407 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6408 Haswell.
6409
74924838
ASJ
64102013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6411 H.J. Lu <hongjiu.lu@intel.com>
6412
0bb52f25
L
6413 PR target/59422
6414 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
6415 and AMD_JAGUAR.
6416 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6417 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6418 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6419 FEATURE_XOP and FEATURE_FMA.
6420 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6421 AMDFAM15H_BDVER3.
6422 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 6423 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
6424 FEATURE_FMA4 and FEATURE_XOP.
6425
d3c11974
L
64262013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6427
6428 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6429 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6430 (get_intel_cpu): Updated.
6431
064c4ff2
ZC
64322013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6433
6434 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6435
8b02e720
UB
64362013-12-09 Uros Bizjak <ubizjak@gmail.com>
6437
6438 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 6439 instructions when __SSE_MATH__ is defined.
8b02e720 6440
3fa2ccb4
RC
64412013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6442
6443 * config.host (microblaze-*-rtems*): New.
6444
ecd78fc9
KV
64452013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6446
6447 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6448 architectures that do not have hardware divide instruction.
6449 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6450
b21fbbd2
RS
64512013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6452
6453 * longlong.h: Delete (moved to include/).
6454
b03fb8c9
AZ
64552013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6456
6457 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6458 of normal number and qNaN to not raise an inexact exception.
6459
3c716922
UB
64602013-11-28 Uros Bizjak <ubizjak@gmail.com>
6461
6462 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6463
64642013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
6465
6466 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6467 for correct opcodes on BE.
6468
a3458d22
UB
64692013-11-27 Uros Bizjak <ubizjak@gmail.com>
6470
6471 * soft-fp/op-4.h: Update from glibc.
6472
30b8f78b
KV
64732013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6474
6475 * libgcc2.c (__udivmoddi4): Define new implementation when
6476 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6477 divide instructions.
6478
82552a29
OE
64792013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6480
6481 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6482
80e87457
RO
64832013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6484
6485 * config/t-softfp (soft-fp-objects-base): New variable.
6486 (soft-fp-objects): Use it.
6487
44178879
DE
64882013-11-23 David Edelson <dje.gcc@gmail.com>
6489 Andrew Dixie <andrewd@gentrack.com>
6490
6491 PR target/33704
6492 * config/rs6000/aixinitfini.c: New file.
6493 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6494 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6495 symbols.
6496
e5287671
YR
64972013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6498
a3458d22 6499 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 6500
867c8b03
JH
65012013-11-18 Jan Hubicka <jh@suse.cz>
6502
7f369373
JH
6503 * libgcov-driver.c (run_accounted): Make global level static.
6504 (gcov_exit_merge_summary): Silence warning; do not clear
6505 run_accounted here.
6506 (gcov_exit): Clear it here.
6507
1d0b3334
JH
6508 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6509 run_accounted.
6510
867c8b03
JH
6511 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6512 (all_prg, crc32): Remove static vars.
6513 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6514 all_prg.
6515 (gcov_exit_merge_gcda): Add crc32 parameter.
6516 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6517 do not account run if it was already accounted.
6518 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6519 (gcov_exit): Initialize all_prg; update.
6520
66204992
AS
65212013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6522
6523 * configure: Regenerate.
6524
b54214fe
UW
65252013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6526 Alan Modra <amodra@gmail.com>
6527
6528 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6529 (frob_update_context): Use it.
6530
65312013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6532 Alan Modra <amodra@gmail.com>
6533
6534 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6535 (trampoline_initial): Provide ELFv2 variant.
6536 (__trampoline_setup): Likewise.
6537
6538 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6539 check for AIX indirect function call sequence if _CALL_ELF == 2.
6540
65412013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6542 Alan Modra <amodra@gmail.com>
6543
6544 * config/rs6000/linux-unwind.h (get_regs): Do not support
6545 old kernel versions if _CALL_ELF == 2.
6546 (frob_update_context): Do not support PLT stub variants only
6547 generated by old linkers if _CALL_ELF == 2.
6548
13e0981a
UW
65492013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6550 Alan Modra <amodra@gmail.com>
6551
6552 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6553 location of CR save area for 64-bit little-endian systems.
6554
1a80085d
EB
65552013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6556
6557 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6558 in tmake_file.
6559 * config/arm/t-vxworks: Delete.
6560
cabeea52
KT
65612013-11-10 Kai Tietz <ktietz@redhat.com>
6562
6563 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6564 Increment load-count on use of LIBGCC_SONAME DLL.
6565 (hmod_libgcc): New static variable to hold handle of
6566 LIBGCC_SONAME DLL.
6567 (__gcc_deregister_frame): Decrement load-count of
6568 LIBGCC_SONAME DLL.
6569
ac088ba1
BRF
65702013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6571
6572 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6573 availability.
6574 * configure: Regenerate
6575
d59a8fcc
UB
65762013-11-07 Uros Bizjak <ubizjak@gmail.com>
6577
6578 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6579 FP_EX_DENORM. Store result to volatile location after SSE division
6580 to close interrupt window. Remove unneeded fwait after x87
6581 division since interrupt window will be closed by emitted fstp.
9de84e84 6582 Rewrite FP_EX_INEXACT handling.
d59a8fcc 6583
9954c743
JM
65842013-11-06 Joseph Myers <joseph@codesourcery.com>
6585
6586 * soft-fp/README: Update.
6587 * soft-fp/adddf3.c: Update from glibc.
6588 * soft-fp/addsf3.c: Likewise.
6589 * soft-fp/addtf3.c: Likewise.
6590 * soft-fp/divdf3.c: Likewise.
6591 * soft-fp/divsf3.c: Likewise.
6592 * soft-fp/divtf3.c: Likewise.
6593 * soft-fp/double.h: Likewise.
6594 * soft-fp/eqdf2.c: Likewise.
6595 * soft-fp/eqsf2.c: Likewise.
6596 * soft-fp/eqtf2.c: Likewise.
6597 * soft-fp/extenddftf2.c: Likewise.
6598 * soft-fp/extended.h: Likewise.
6599 * soft-fp/extendsfdf2.c: Likewise.
6600 * soft-fp/extendsftf2.c: Likewise.
6601 * soft-fp/extendxftf2.c: Likewise.
6602 * soft-fp/fixdfdi.c: Likewise.
6603 * soft-fp/fixdfsi.c: Likewise.
6604 * soft-fp/fixdfti.c: Likewise.
6605 * soft-fp/fixsfdi.c: Likewise.
6606 * soft-fp/fixsfsi.c: Likewise.
6607 * soft-fp/fixsfti.c: Likewise.
6608 * soft-fp/fixtfdi.c: Likewise.
6609 * soft-fp/fixtfsi.c: Likewise.
6610 * soft-fp/fixtfti.c: Likewise.
6611 * soft-fp/fixunsdfdi.c: Likewise.
6612 * soft-fp/fixunsdfsi.c: Likewise.
6613 * soft-fp/fixunsdfti.c: Likewise.
6614 * soft-fp/fixunssfdi.c: Likewise.
6615 * soft-fp/fixunssfsi.c: Likewise.
6616 * soft-fp/fixunssfti.c: Likewise.
6617 * soft-fp/fixunstfdi.c: Likewise.
6618 * soft-fp/fixunstfsi.c: Likewise.
6619 * soft-fp/fixunstfti.c: Likewise.
6620 * soft-fp/floatdidf.c: Likewise.
6621 * soft-fp/floatdisf.c: Likewise.
6622 * soft-fp/floatditf.c: Likewise.
6623 * soft-fp/floatsidf.c: Likewise.
6624 * soft-fp/floatsisf.c: Likewise.
6625 * soft-fp/floatsitf.c: Likewise.
6626 * soft-fp/floattidf.c: Likewise.
6627 * soft-fp/floattisf.c: Likewise.
6628 * soft-fp/floattitf.c: Likewise.
6629 * soft-fp/floatundidf.c: Likewise.
6630 * soft-fp/floatundisf.c: Likewise.
6631 * soft-fp/floatunditf.c: Likewise.
6632 * soft-fp/floatunsidf.c: Likewise.
6633 * soft-fp/floatunsisf.c: Likewise.
6634 * soft-fp/floatunsitf.c: Likewise.
6635 * soft-fp/floatuntidf.c: Likewise.
6636 * soft-fp/floatuntisf.c: Likewise.
6637 * soft-fp/floatuntitf.c: Likewise.
6638 * soft-fp/gedf2.c: Likewise.
6639 * soft-fp/gesf2.c: Likewise.
6640 * soft-fp/getf2.c: Likewise.
6641 * soft-fp/ledf2.c: Likewise.
6642 * soft-fp/lesf2.c: Likewise.
6643 * soft-fp/letf2.c: Likewise.
6644 * soft-fp/muldf3.c: Likewise.
6645 * soft-fp/mulsf3.c: Likewise.
6646 * soft-fp/multf3.c: Likewise.
6647 * soft-fp/negdf2.c: Likewise.
6648 * soft-fp/negsf2.c: Likewise.
6649 * soft-fp/negtf2.c: Likewise.
6650 * soft-fp/op-1.h: Likewise.
6651 * soft-fp/op-2.h: Likewise.
6652 * soft-fp/op-4.h: Likewise.
6653 * soft-fp/op-8.h: Likewise.
6654 * soft-fp/op-common.h: Likewise.
6655 * soft-fp/quad.h: Likewise.
6656 * soft-fp/single.h: Likewise.
6657 * soft-fp/soft-fp.h: Likewise.
6658 * soft-fp/subdf3.c: Likewise.
6659 * soft-fp/subsf3.c: Likewise.
6660 * soft-fp/subtf3.c: Likewise.
6661 * soft-fp/truncdfsf2.c: Likewise.
6662 * soft-fp/trunctfdf2.c: Likewise.
6663 * soft-fp/trunctfsf2.c: Likewise.
6664 * soft-fp/trunctfxf2.c: Likewise.
6665 * soft-fp/unorddf2.c: Likewise.
6666 * soft-fp/unordsf2.c: Likewise.
6667 * soft-fp/unordtf2.c: Likewise.
6668
02ac9503
UB
66692013-11-05 Uros Bizjak <ubizjak@gmail.com>
6670
6671 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6672 (_FP_MUL_MEAT_D): Ditto.
6673 (_FP_DIV_MEAT_S): Ditto.
6674 (_FP_DIV_MEAT_D): Ditto.
6675 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6676 t-softfp-sfdf and t-softfp to tmake_file.
6677
61221141
UB
66782013-11-03 Uros Bizjak <ubizjak@gmail.com>
6679
6680 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6681 * config/i386/crtprec.c: Ditto.
6682
9304f876
CJW
66832013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6684 Shiva Chen <shiva0217@gmail.com>
6685
6686 * config.host (nds32*-elf*): Add nds32 target.
6687 * config/nds32 : New directory and files.
6688
0e499e75
HPN
66892013-10-16 Hans-Peter Nilsson <hp@axis.com>
6690
6691 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6692 * config.host (cpu_type) <Setting default>: Add entry for
6693 crisv32-*-*.
6694 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6695 <crisv32-*-linux*>: Adjust.
6696 * longlong.h: Wrap the whole CRIS section in a single
6697 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6698 and sub_ddmmss.
6699 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6700 defined.
6701 [__CRIS__] (__umulsidi3): Define.
6702 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6703 * config/cris/sfp-machine.h: New file.
6704 * config/cris/umulsidi3.S: New file.
6705 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6706 * config/cris/arit.c (SIGNMULT): New macro.
6707 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6708 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6709 saving 3 out of originally 33 cycles from the fastest
6710 path, 3 out of 54 from the medium path and one from the longest
6711 path. Improve comments.
6712
16022041
RS
67132013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6714
6715 * sync.c: Remove static aliases and define each function directly
6716 under its real name.
6717
69778659
JDA
67182013-10-02 John David Anglin <danglin@gcc.gnu.org>
6719
6720 * config.host (hppa*64*-*-linux*): Define extra_parts.
6721 (hppa*-*-linux*): Likewise.
6722
2deaf8b0
JR
67232013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6724
6725 * config/arc/crtgend.S: Add 2013 to Copyright years.
6726 * config/arc/gmon/atomic.h: Likewise.
6727 * config/arc/gmon/auxreg.h: Likewise.
6728 * config/arc/gmon/sys/gmon_out.h: Likewise.
6729 * config/arc/gmon/sys/gmon.h: Likewise.
6730 * config/arc/gmon/prof-freq.c: Likewise.
6731 * config/arc/gmon/mcount.c: Likewise.
6732 * config/arc/gmon/prof-freq-stub.S: Likewise.
6733 * config/arc/gmon/gmon.c: Likewise.
6734 * config/arc/gmon/machine-gmon.h: Likewise.
6735 * config/arc/gmon/profil.S: Likewise.
6736 * config/arc/gmon/dcache_linesz.S: Likewise.
6737 * config/arc/crtg.S: Likewise.
6738 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6739 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6740 * config/arc/ieee-754/adddf3.S: Likewise.
6741 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6742 * config/arc/ieee-754/fixsfsi.S: Likewise.
6743 * config/arc/ieee-754/gtsf2.S: Likewise.
6744 * config/arc/ieee-754/floatsisf.S: Likewise.
6745 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6746 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6747 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6748 * config/arc/ieee-754/fixdfsi.S: Likewise.
6749 * config/arc/ieee-754/addsf3.S: Likewise.
6750 * config/arc/ieee-754/gesf2.S: Likewise.
6751 * config/arc/ieee-754/floatsidf.S: Likewise.
6752 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6753 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6754 * config/arc/ieee-754/gtdf2.S: Likewise.
6755 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6756 * config/arc/ieee-754/uneqdf2.S: Likewise.
6757 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6758 * config/arc/ieee-754/uneqsf2.S: Likewise.
6759 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6760 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6761 * config/arc/ieee-754/eqdf2.S: Likewise.
6762 * config/arc/ieee-754/ordsf2.S: Likewise.
6763 * config/arc/ieee-754/divsf3.S: Likewise.
6764 * config/arc/ieee-754/divdf3.S: Likewise.
6765 * config/arc/ieee-754/floatunsidf.S: Likewise.
6766 * config/arc/ieee-754/orddf2.S: Likewise.
6767 * config/arc/ieee-754/eqsf2.S: Likewise.
6768 * config/arc/ieee-754/gedf2.S: Likewise.
6769 * config/arc/crtn.S: Likewise.
6770 * config/arc/crti.S: Likewise.
6771 * config/arc/t-arc700-uClibc: Likewise.
6772 * config/arc/asm.h: Likewise.
6773 * config/arc/libgcc-excl.ver: Likewise.
6774 * config/arc/t-arc-newlib: Likewise.
6775 * config/arc/divtab-arc700.c: Likewise.
6776 * config/arc/initfini.c: Likewise.
6777 * config/arc/fp-hack.h: Likewise.
6778
c8e318b0
JR
67792013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6780 Diego Novillo <dnovillo@google.com>
6781
6782 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
6783 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6784 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6785 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 6786
d38a64b4
JR
67872013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6788 Brendan Kehoe <brendan@zen.org>
6789 Simon Cook <simon.cook@embecosm.com>
6790
6791 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6792 * config/arc: New directory.
6793 * longlong.h [__arc__] (umul_ppmm): Remove.
6794 [__arc__] (__umulsidi3): Define.
6795 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6796 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6797
dff717d2
JC
67982013-09-17 Jacek Caban <jacek@codeweavers.com>
6799
6800 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6801 CreateSemaphoreA.
6802 * config/i386/gthr-win32.h: Likewise.
6803
5c0029de
DD
68042013-09-16 DJ Delorie <dj@redhat.com>
6805
844ad6c6 6806 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
6807 * config/rl78/lib2mul.c: Enable for RL78/G10.
6808 * config/rl78/lib2div.c: Likewise.
6809 * config/rl78/lshrsi3.S: Use vregs.h.
6810 * config/rl78/cmpsi2.S: Likewise.
6811 * config/rl78/trampoline.S: Likewise.
6812 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6813
ceb2fc49
DD
68142013-09-14 DJ Delorie <dj@redhat.com>
6815 Nick Clifton <nickc@redhat.com>
6816
6817 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6818 * config/rl78/vregs.h: New.
6819 * config/rl78/signbit.S: New file. Implements signbit function.
6820 * config/rl78/divmodsi.S: New.
6821 * config/rl78/divmodhi.S: New.
6822 * config/rl78/divmodqi.S: New.
6823 * config/rl78/t-rl78: Build them here...
6824 * config/rl78/lib2div.c: ...but not here.
6825
f6a83b4a
DD
68262013-09-12 DJ Delorie <dj@redhat.com>
6827
6828 * config.host (msp*-*-elf): New.
6829 * config/msp430/: New port.
6830
9107b096
IS
68312013-08-18 Iain Sandoe <iain@codesourcery.com>
6832
6833 PR gcov-profile/58127
6834 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6835 __thread var for emulated TLS.
6836 (__gcov_indirect_call_counters): Likewise.
6837
0f9bde1f 68382013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 6839 Catherine Moore <clm@codesourcery.com>
7d296953 6840 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
6841
6842 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6843 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6844 (CALL_STUB_NO_RET): Likewise.
6845 (CALL_STUB_RET): Likewise.
6846 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6847 __mips16_ret call/return stub symbols.
6848 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6849 to tmake_file.
6850
2dc14aac
MR
68512013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6852
6853 * config.host <mips*-*-linux*>: Remove a stray comment.
6854
748d71f3
JH
68552013-08-10 Jan Hubicka <jh@suse.cz>
6856
6857 Work around binutils PR14342
6858 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6859 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6860 (L_gcov_indirect_call_profiler_v2): New.
6861
2fa3d31b
JH
68622013-08-06 Jan Hubicka <jh@suse.cz>
6863
6864 * libgcov.c (__gcov_indirect_call_callee,
6865 __gcov_indirect_call_counters): New global vars.
6866 (__gcov_indirect_call_profiler): replace by ...
6867 (__gcov_indirect_call_profiler_v2) ... this one.
6868
2077db1b
CT
68692013-08-06 Caroline Tice <cmtice@google.com>
6870
d0595b65 6871 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 6872 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
6873 * configure.ac: Add code to check/set enable_vtable_verify.
6874 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 6875 true.
d0595b65
CT
6876 * vtv_start_preinit.c: New file.
6877 * vtv_end_preinit.c: New file.
6878 * vtv_start.c: New file.
6879 * vtv_end.c: New file.
6880 * configure: Regenerated.
2077db1b 6881
46549c20
MK
68822013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6883
6884 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6885 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6886 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6887 GPL-3.0-with-GCC-exception.
6888
72be589b
MR
68892013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6890
6891 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6892 ISA and up.
6893
902a3faf
AK
68942013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6895
6896 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6897 mapping for FPRs when creating the fallback framestate.
6898
02371798
GJL
68992013-07-19 Georg-Johann Lay <avr@gjlay.de>
6900
6901 PR target/57516
6902 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6903 (__round_s2_const, __round_u2_const)
6904 (__round_s4_const, __round_u4_const, __round_x8):
6905 Saturate result if addition result cannot be represented.
6906
ab0e8379
MK
69072013-07-15 Matthias Klose <doko@ubuntu.com>
6908
6909 * libgcc2.c: Don't include <limits.h>.
6910
7da38058
JJ
69112013-07-09 Janis Johnson <janisjo@codesourcery.com>
6912
6913 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6914
1f6eac90
JJ
69152013-07-06 Jakub Jelinek <jakub@redhat.com>
6916
6917 PR target/29776
6918 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6919
4ea3d774
JJ
69202013-06-28 Jakub Jelinek <jakub@redhat.com>
6921
6922 PR middle-end/36041
6923 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6924 Define.
6925 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6926 instead of table lookups.
6927 (__popcountDI2): Likewise.
6928
9d2cdf25
CJW
69292013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6930
6931 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6932 correctly.
6933
fa1e55b0
JM
69342013-06-21 Joseph Myers <joseph@codesourcery.com>
6935
6936 PR other/53317
6937 * soft-fp/adddf3.c: Update from glibc.
6938 * soft-fp/addsf3.c: Likewise.
6939 * soft-fp/addtf3.c: Likewise.
6940 * soft-fp/divdf3.c: Likewise.
6941 * soft-fp/divsf3.c: Likewise.
6942 * soft-fp/divtf3.c: Likewise.
6943 * soft-fp/double.h: Likewise.
6944 * soft-fp/eqdf2.c: Likewise.
6945 * soft-fp/eqsf2.c: Likewise.
6946 * soft-fp/eqtf2.c: Likewise.
6947 * soft-fp/extenddftf2.c: Likewise.
6948 * soft-fp/extended.h: Likewise.
6949 * soft-fp/extendsfdf2.c: Likewise.
6950 * soft-fp/extendsftf2.c: Likewise.
6951 * soft-fp/fixdfdi.c: Likewise.
6952 * soft-fp/fixdfsi.c: Likewise.
6953 * soft-fp/fixsfdi.c: Likewise.
6954 * soft-fp/fixsfsi.c: Likewise.
6955 * soft-fp/fixtfdi.c: Likewise.
6956 * soft-fp/fixtfsi.c: Likewise.
6957 * soft-fp/fixunsdfdi.c: Likewise.
6958 * soft-fp/fixunsdfsi.c: Likewise.
6959 * soft-fp/fixunssfdi.c: Likewise.
6960 * soft-fp/fixunssfsi.c: Likewise.
6961 * soft-fp/fixunstfdi.c: Likewise.
6962 * soft-fp/fixunstfsi.c: Likewise.
6963 * soft-fp/floatdidf.c: Likewise.
6964 * soft-fp/floatdisf.c: Likewise.
6965 * soft-fp/floatditf.c: Likewise.
6966 * soft-fp/floatsidf.c: Likewise.
6967 * soft-fp/floatsisf.c: Likewise.
6968 * soft-fp/floatsitf.c: Likewise.
6969 * soft-fp/floatundidf.c: Likewise.
6970 * soft-fp/floatundisf.c: Likewise.
6971 * soft-fp/floatunditf.c: Likewise.
6972 * soft-fp/floatunsidf.c: Likewise.
6973 * soft-fp/floatunsisf.c: Likewise.
6974 * soft-fp/floatunsitf.c: Likewise.
6975 * soft-fp/gedf2.c: Likewise.
6976 * soft-fp/gesf2.c: Likewise.
6977 * soft-fp/getf2.c: Likewise.
6978 * soft-fp/ledf2.c: Likewise.
6979 * soft-fp/lesf2.c: Likewise.
6980 * soft-fp/letf2.c: Likewise.
6981 * soft-fp/muldf3.c: Likewise.
6982 * soft-fp/mulsf3.c: Likewise.
6983 * soft-fp/multf3.c: Likewise.
6984 * soft-fp/negdf2.c: Likewise.
6985 * soft-fp/negsf2.c: Likewise.
6986 * soft-fp/negtf2.c: Likewise.
6987 * soft-fp/op-1.h: Likewise.
6988 * soft-fp/op-2.h: Likewise.
6989 * soft-fp/op-4.h: Likewise.
6990 * soft-fp/op-8.h: Likewise.
6991 * soft-fp/op-common.h: Likewise.
6992 * soft-fp/quad.h: Likewise.
6993 * soft-fp/single.h: Likewise.
6994 * soft-fp/soft-fp.h: Likewise.
6995 * soft-fp/subdf3.c: Likewise.
6996 * soft-fp/subsf3.c: Likewise.
6997 * soft-fp/subtf3.c: Likewise.
6998 * soft-fp/truncdfsf2.c: Likewise.
6999 * soft-fp/trunctfdf2.c: Likewise.
7000 * soft-fp/trunctfsf2.c: Likewise.
7001 * soft-fp/unorddf2.c: Likewise.
7002 * soft-fp/unordsf2.c: Likewise.
7003 * soft-fp/unordtf2.c: Likewise.
7004 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7005 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7006 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7007 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7008 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7009 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7010 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7011 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7012 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7013 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7014 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7015 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7016
0de86a92
JU
70172013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7018
7019 * config/mips/lib2funcs.c: New file.
7020 * config/mips/t-mips (LIB2ADD_ST): Add it.
7021
0d008882
OE
70222013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7023
7024 PR target/6526
7025 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7026 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7027
776434d1
WL
70282013-06-08 Walter Lee <walt@tilera.com>
7029
7030 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7031 Replace int64_t with long long. Add __extension__ where
7032 appropriate.
7033 * config/tilepro/atomic.c: Include config.h.
7034
6ab3ebb4
DR
70352013-06-06 Douglas B Rupp <rupp@adacore.com>
7036
7037 * config.host (arm-wrs-vxworks): Configure with other soft float.
7038
107eea2c
JU
70392013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7040
7041 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7042 (mips64r5900el-*-elf*): New configurations.
7043
5cc19c62
AM
70442013-06-04 Alan Modra <amodra@gmail.com>
7045
7046 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7047
0f1d3965
YR
70482013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7049
7050 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7051
0ba045df
EB
70522013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7053
7054 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7055 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7056 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7057
49dcafd4
EB
70582013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7059
7060 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7061 (powerpc-wrs-vxworks): Likewise.
7062
4fcb5d87
EB
70632013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7064
7065 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7066 signal frames as well.
7067 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7068 STACK_BIAS to the CFA offset.
7069
0ec33224
RH
70702013-05-17 Richard Henderson <rth@redhat.com>
7071
7072 PR target/49146
7073 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7074 (execute_cfa_program): Use it when storing to fs->regs.
7075
492a8029
KT
70762013-05-08 Kai Tietz <ktietz@redhat.com>
7077
7078 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7079 (__deregister_frame_info): Likewise.
7080
701e2f0a
TS
70812013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7082
e5123d08
TS
7083 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7084 NaN's payload.
7085
701e2f0a
TS
7086 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7087
b9a7eb5d
AM
70882013-04-25 Alan Modra <amodra@gmail.com>
7089
7090 * config.host: Match little-endian powerpc-linux.
7091
dfe192f5
YZ
70922013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7093
7094 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7095 as 'unsigned long long' instead of 'unsigned long'.
7096 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7097 'signed long'.
7098
b6b9af2f
JB
70992013-04-10 Julian Brown <julian@codesourcery.com>
7100
7101 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7102 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7103 unsigned char/unsigned short.
7104 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7105
ecabdd00
JDA
71062013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7107
7108 PR other/55274
7109 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7110
34652576
MI
71112013-04-04 Meador Inge <meadori@codesourcery.com>
7112
7113 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7114 computing the location of the link register.
7115 (aeabi_uldivmod): Ditto.
7116
e9fd8c19
KT
71172013-03-27 Kai Tietz <ktietz@redhat.com>
7118
7119 * config.host: Add support for cygwin x64 target.
7120 * configure: Regenerated.
7121
a6406324
WL
71222013-03-26 Walter Lee <walt@tilera.com>
7123
7124 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7125 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7126
55446c7e
KT
71272013-03-25 Kai Tietz <ktietz@redhat.com>
7128
7129 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7130
d2ae19d9
RM
71312013-03-20 Robert Mason <rbmj@verizon.net>
7132
7133 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7134 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7135 (__gthread_leave_tsd_dtor_context): Add prototypes.
7136 (tls_delete_hook): Update.
7137
22c4c869
CM
71382013-03-20 Catherine Moore <clm@codesourcery.com>
7139 Joseph Myers <joseph@codesourcery.com>
7140 Chao-ying Fu <fu@mips.com>
7141
7142 * config/mips/mips16.S: Don't build for microMIPS.
7143 * config/mips/linux-unwind.h: Handle microMIPS frame.
7144 * config/mips/crtn.S (fini, init): New labels.
7145
fbd28bc3
JJ
71462013-03-14 Jakub Jelinek <jakub@redhat.com>
7147
7148 PR tree-optimization/53265
7149 * unwind-dw2.c (execute_cfa_program): Avoid
7150 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7151 on targets with DWARF_FRAME_REGISTERS < 32.
7152
decc676e
OE
71532013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7154
7155 PR target/49880
7156 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7157 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7158
84ea618a
ST
71592013-03-07 Sriraman Tallam <tmsriram@google.com>
7160
7161 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7162 sandybridge processors.
7163
8f6d1c86
OE
71642013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7165
7166 PR target/56529
7167 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7168 inclusion list.
7169
ecdbd01a 71702013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
7171
7172 * config/microblaze/crti.S: Setup stack protection at entry
7173
0b4ce21b
GJL
71742013-03-04 Georg-Johann Lay <avr@gjlay.de>
7175
7176 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7177 (__rotldi3): Shift bytewise if applicable.
7178
b7c3f1ca
JG
71792013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7180
7181 * config/aarch64/sync-cache.c
7182 (__aarch64_sync_cache_range): Silence warnings.
7183
6d65e8f1
CM
71842013-02-25 Catherine Moore <clm@codesourcery.com>
7185
7186 Revert:
7187 2013-02-24 Catherine Moore <clm@codesourcery.com>
7188 Joseph Myers <joseph@codesourcery.com>
7189 Chao-ying Fu <fu@mips.com>
7190
7191 * config/mips/mips16.S: Don't build for microMIPS.
7192 * config/mips/linux-unwind.h: Handle microMIPS frame.
7193 * config/mips/crtn.S (fini, init): New labels.
7194
6941b508
CM
71952013-02-24 Catherine Moore <clm@codesourcery.com>
7196 Joseph Myers <joseph@codesourcery.com>
7197 Chao-ying Fu <fu@mips.com>
7198
7199 * config/mips/mips16.S: Don't build for microMIPS.
7200 * config/mips/linux-unwind.h: Handle microMIPS frame.
7201 * config/mips/crtn.S (fini, init): New labels.
7202
7c422dbb 72032012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 7204 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
7205 as dividend.
7206
110207ad
AM
72072013-02-16 Alan Modra <amodra@gmail.com>
7208
7209 PR target/55431
7210 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7211 (ppc_fallback_frame_state): Always set up save locations for fp
7212 and altivec. Don't bother with non-callee-saved regs, r0-r13
7213 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7214
e68a4ef6
GJL
72152013-02-12 Georg-Johann Lay <avr@gjlay.de>
7216
7217 PR target/54222
7218 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7219 _ssmulHA, _ssmulSA.
7220 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7221 _ssmulha3, _usmulusa3, _ssmulsa3.
7222 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7223 (__muldi3): XCALL __muldi3_6 instead of rcall.
7224 (__umulsidi3, __mulsidi3): New functions.
7225 (do_prologue_saves, do_epilogue_restores): New .macros.
7226 (__divdi3_moddi3): Use them.
7227 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7228 (__usmulusa3, __ssmulsa3): New functions.
7229
6c59ffd1
IS
72302013-02-11 Iain Sandoe <iain@codesourcery.com>
7231 Jack Howarth <howarth@bromo.med.uc.edu>
7232 Patrick Marlier <patrick.marlier@gmail.com>
7233
7234 PR libitm/55693
7235 * config/darwin-crt-tm.c: Remove dummy functions hack.
7236
85d768f3
GJL
72372013-02-08 Georg-Johann Lay <avr@gjlay.de>
7238
7239 PR target/54222
7240 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7241 * config/avr/lib2-object.mk: New iterator to build objects from it.
7242 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7243 lib2funcs.c.
7244 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7245 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7246 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7247 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7248 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7249 * config/avr/lib1funcs-fixed.S: Implement them.
7250
5d5bf775
RS
72512013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7252
7253 Update copyright years.
7254
99113dff
DE
72552013-02-01 David Edelsohn <dje.gcc@gmail.com>
7256
7257 PR target/54601
7258 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7259 Add crtcxa to extra_parts.
7260 * config/rs6000/exit.h: New file.
7261 * config/rs6000/cxa_atexit.c: New file.
7262 * config/rs6000/cxa_finalize.c: New file.
7263 * config/rs6000/crtcxa.c: New file.
7264 * config/rs6000/t-aix-cxa: New file.
7265 * config/rs6000/libgcc-aix-cxa.ver: New file.
7266
dbdbd982
NC
72672013-01-31 Nick Clifton <nickc@redhat.com>
7268
7269 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7270 variant.
7271
5893f158
GJL
72722013-01-29 Georg-Johann Lay <avr@gjlay.de>
7273
7274 PR target/54222
7275 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7276 _mulQQ, _mulHQ, _mulHA, _mulSA,
7277 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7278 _divQQ, _divHQ, _divHA, _divSA,
7279 _divUQQ, _divUHQ, _divUHA, _divUSA.
7280
ecdbd01a 72812013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 7282
dbdbd982 7283 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
7284 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7285 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7286 to exclude functions from being built with libgcc.c and use
7287 the microblaze assembly.
7288
ecdbd01a 72892013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
7290
7291 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7292 extra_parts.
7293
922c57d1
YZ
72942013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7295
7296 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7297 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7298 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7299 alignment operation.
7300
e0f8b6a0
SN
73012013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7302
7303 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7304 loop start address for cache clearing.
7305
00892272
GJL
73062013-01-14 Georg-Johann Lay <avr@gjlay.de>
7307
7308 * config/avr/lib1funcs.S: Remove trailing blanks.
7309 * config/avr/lib1funcs-fixed.S: Ditto.
7310
e59ec5fd
GJL
73112013-01-14 Georg-Johann Lay <avr@gjlay.de>
7312
7313 * config/avr/avr-lib.h: Add GPL copyright notice.
7314
3ffc1958
GJL
73152013-01-14 Georg-Johann Lay <avr@gjlay.de>
7316
7317 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7318 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7319 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7320 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7321
25c210f9
MK
73222013-01-07 Mark Kettenis <kettenis@openbsd.org>
7323
7324 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7325 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 7326
db59befb
NC
73272013-01-04 Nick Clifton <nickc@redhat.com>
7328
7329 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7330 the CALLT instruction is supported.
7331
5aa12dbf
JW
73322012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7333
7334 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7335 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7336
65f14117
JT
73372012-12-13 John Tytgat <John@bass-software.com>
7338
7339 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7340 is 25.
7341
ee3ae4f7
JJ
73422012-12-12 Jakub Jelinek <jakub@redhat.com>
7343
7344 PR libgcc/55451
7345 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7346 undefined signed overflows.
7347
2fcfba3d
UB
73482012-12-09 Uros Bizjak <ubizjak@gmail.com>
7349
7350 PR target/55344
7351 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7352
4f2b3dc2
UB
73532012-12-06 Uros Bizjak <ubizjak@gmail.com>
7354
7355 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7356 (FP_TRAPPING_EXCEPTIONS): Define.
7357 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7358 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7359
066161a2
RH
73602012-12-04 Richard Henderson <rth@redhat.com>
7361
7362 PR bootstrap/55571
7363 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7364
7d296953 73652012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 7366
4f2b3dc2 7367 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
7368 (FP_EX_SHIFT): Define.
7369 (FP_TRAPPING_EXCEPTIONS): Define.
7370
7d296953 73712012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
7372
7373 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7374 (FP_ROUNDMODE): Use FP_RND_MASK.
7375 * config/aarch64/sfp-exceptions.c: New.
7376 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7377 Use __sfp_handle_exceptions.
7378
5005fe22
RE
73792012-12-04 Richard Earnshaw <rearnsha@arm.com>
7380
7381 * config.host: (arm*-*-freebsd*): Remove.
7382 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7383 (arm*-*-elf*): Remove.
7384 (arm*-*-wince-pe*): Remove.
7385 * arm/unwind-arm.c (struct fpa_reg): Delete.
7386 (struct fpa_regs): Delete.
7387 (phase1_vrs): Remove fpa element.
7388 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7389 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7390 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7391 * ieee754-sf.S (floatundisf): Remove FPA support.
7392 (floatdisf): Likewise.
7393 * ieee75f-df.S (floatundidf): Likewise.
7394 (floatdidf): Likewise.
7395
e5a81c8e
KT
73962012-11-29 Kai Tietz <ktietz@redhat.com>
7397
7398 PR target/55445
7399 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7400 * unwind-generic.h: Likewise.
7401 * unwind-seh.c: Likewise.
7402
f4919e4a
RH
74032012-11-28 Richard Henderson <rth@redhat.com>
7404
7405 PR libgcc/48076
7406 * emutls.c (__emutls_get_address): Avoid race condition between
7407 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 7408
e13d9d5a
GJL
74092012-11-22 Georg-Johann Lay <avr@gjlay.de>
7410
7411 Adjust decimal point of signed accum mode to GCC default.
7412
7413 PR target/54222
7414 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7415 _divqq_helper.
7416 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7417 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7418 (__mulha3, __mulsa3)
7419 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
7420 decimal point of signed accum types.
7421
e13d9d5a
GJL
7422 (__mulusa3_round): New function.
7423 (__mulusa3): Use it.
7424 (__divqq_helper): New function.
7425 (__udivuqq3): Use it.
7426
1b845c6e
JJ
74272012-11-20 Jakub Jelinek <jakub@redhat.com>
7428
7429 PR bootstrap/55370
7430 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7431
822a258a
TJ
74322012-11-18 Teresa Johnson <tejohnson@google.com>
7433
7434 PR bootstrap/55051
7435 * libgcov.c (gcov_exit): Remove merged program summary
7436 comparison unless !GCOV_LOCKED.
7437
7d296953 74382012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
7439
7440 * soft-fp: Updated from glibc upstream.
7441
e808687a
ILT
74422012-11-06 Ian Lance Taylor <iant@google.com>
7443
7444 * generic-morestack.c (__generic_morestack): Align the returned
7445 stack pointer to a 32 byte boundary.
7446 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7447 increment the return address until we have decided that we don't
7448 have a varargs function.
7449 (__morestack) [32-bit]: Align stack correctly when calling C
7450 functions.
7451 (__morestack) [64-bit]: Likewise.
7452
460277e0
TS
74532012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7454
7455 * configure: Regenerate.
7456
73edb277
UB
74572012-11-02 Uros Bizjak <ubizjak@gmail.com>
7458
7459 PR target/55175
7460 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7461 * config/i386/sfp-machine.h: Guard exception handling
7462 code with _SOFT_FLOAT.
7463 * config/i386/32/sfp-machine.h: Guard rounding handling
7464 code with _SOFT_FLOAT.
7465 * config/i386/64/sfp-machine.h: Ditto.
7466
c1d4fa04
JS
74672012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7468
7469 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7470 as extra_parts.
7471
eff6ca85
UB
74722012-10-26 Uros Bizjak <ubizjak@gmail.com>
7473
7474 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7475 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7476 when appropriate. Correct structure element types.
7477 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7478 -minline-all-stringops from compile flags.
7479
7d296953 74802012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
7481
7482 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7483
7d296953 74842012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 7485
eff6ca85 7486 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 7487
6f288860
SH
74882012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7489
7490 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7491 tmake_file.
7492
1e3d5096
IB
74932012-10-23 Ian Bolton <ian.bolton@arm.com>
7494 Jim MacArthur <jim.macarthur@arm.com>
7495 Marcus Shawcroft <marcus.shawcroft@arm.com>
7496 Nigel Stephens <nigel.stephens@arm.com>
7497 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7498 Richard Earnshaw <rearnsha@arm.com>
7499 Sofiane Naci <sofiane.naci@arm.com>
7500 Stephen Thomas <stephen.thomas@arm.com>
7501 Tejas Belagod <tejas.belagod@arm.com>
7502 Yufeng Zhang <yufeng.zhang@arm.com>
7503
7504 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7505 * config/aarch64/crti.S: New file.
7506 * config/aarch64/crtn.S: New file.
7507 * config/aarch64/linux-unwind.h: New file.
7508 * config/aarch64/sfp-machine.h: New file.
7509 * config/aarch64/sync-cache.c: New file.
7510 * config/aarch64/t-aarch64: New file.
7511 * config/aarch64/t-softfp: New file.
7512
8a740f07
HPN
75132012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7514
7515 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7516 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7517 no-longer-needed LDBU insns.
7518
7d296953 75192012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
7520
7521 * config.host
7522 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7523 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7524
595fefee
MGD
75252012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7526
7527 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7528
9945a876
MK
75292012-10-15 Matthias Klose <doko@ubuntu.com>
7530
7531 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7532
1183dc2c
PC
75332012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7534
7535 * configure: Regenerate.
7536 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7537
945a9c1f
UB
75382012-10-10 Uros Bizjak <ubizjak@gmail.com>
7539
7540 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7541 instructions for 64bit targets only.
7542
fb8bf47a
UB
75432012-10-10 Uros Bizjak <ubizjak@gmail.com>
7544
7545 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7546 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7547 * config/i386/32/sfp-machine.h: ... here.
7548 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7549 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7550 New defines.
7551
acb72498
MK
75522012-10-07 Matthias Klose <doko@ubuntu.com>
7553
7554 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7555 as unused.
7556 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7557
8eaee0f0
MK
75582012-10-06 Mark Kettenis <kettenis@openbsd.org>
7559
7560 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7561 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7562 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7563 (ElfW): Likewise.
7564
5e3e4fe8
JW
75652012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7566
7567 PR other/53889
7568 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7569 Fix parameter names.
7570
86086376
OE
75712012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7572
7573 PR target/33135
7574 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7575 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7576 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7577
9597375a
OE
75782012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7579
7580 PR target/50457
7581 * config/sh/linux-atomic.S: Delete.
7582 * config/sh/linux-atomic.c: New.
7583 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7584 linux-atomic.c. Add cflags to disable warnings.
7585
1504e3e1
JW
75862012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7587
7588 PR other/53889
7589 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7590 function.
7591 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7592 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7593 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7594 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
7595 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7596 Likewise.
1504e3e1
JW
7597 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7598 Likewise.
7599 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7600 Likewise.
7601 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7602 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7603
17f293b0
MK
76042012-09-19 Mark Kettenis <kettenis@openbsd.org>
7605
9597375a
OE
7606 * config.host (hppa-*-openbsd*): New target.
7607 * config/pa/t-openbsd: New file.
17f293b0 7608
51526856
GJL
76092012-09-15 Georg-Johann Lay <avr@gjlay.de>
7610
7611 PR target/54222
7612 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7613 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7614 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7615 (__divsa3): Use __negsi2 to negate r_quoL.
7616 * config/avr/lib1funcs.S (FALIAS): New macro.
7617 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7618 (__negsi2): ...this new function.
7619 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7620 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7621 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7622 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7623 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7624 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7625
aadb5b43
OE
76262012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7627
7628 PR target/54089
7629 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7630 (lshrsi3): Reimplement as lshrsi3_r0.
7631
d5d66749
AS
76322012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7633
7634 PR target/46191
7635 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7636 of libgcc.a.
7637
c6c36e73
TJ
76382012-09-07 Teresa Johnson <tejohnson@google.com>
7639
9597375a 7640 PR gcov-profile/54487
c6c36e73 7641 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 7642 differences.
c6c36e73 7643
b588ae30
GJL
76442012-09-05 Georg-Johann Lay <avr@gjlay.de>
7645
7646 PR target/54461
7647 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7648 not configured --with-avrlibc=no.
7649 * config/avr/t-avrlibc: New file.
7650 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7651 (DPBIT_FUNCS): Ditto.
7652 (TPBIT_FUNCS): Ditto.
7653
abd16fb1
TJ
76542012-09-04 Teresa Johnson <tejohnson@google.com>
7655
7656 * libgcov.c (struct gcov_summary_buffer): New structure.
7657 (gcov_histogram_insert): New function.
7658 (gcov_compute_histogram): Ditto.
7659 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7660 histograms during summary merging.
7661
613061fd
MK
76622012-09-01 Mark Kettenis <kettenis@openbsd.org>
7663
7664 * config.host (x86_64-*-openbsd*): New target.
73edb277 7665
867a8345
CLT
76662012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7667
7668 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7669 attribute.
7670
4aeaaca3
GJL
76712012-08-24 Georg-Johann Lay <avr@gjlay.de>
7672
7673 PR target/54222
7674 * config/avr/t-avr (conv_X): Rename to func_X.
7675
e55e4056
GJL
76762012-08-24 Georg-Johann Lay <avr@gjlay.de>
7677
7678 PR target/54222
7679 * config/avr/lib1funcs-fixed.S: New file.
7680 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7681 after they are used.
7682 (neg2, neg4): New macros.
7683 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7684 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7685 (__umulhisi3): Speed up MUL variant if there is enough flash.
7686 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7687 avr-modes.def.
7688 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7689 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7690 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7691 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7692 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7693 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7694 (LIB2FUNCS_EXCLUDE): Add supported functions.
7695
a147b6d2
GJL
76962012-08-22 Georg-Johann Lay <avr@gjlay.de>
7697
7698 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7699 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7700 libgcc-s-objects.
7701 * fixed-obj.mk: Only expand dependency if $o is not in
7702 LIB2FUNCS_EXCLUDE.
7703
c637141a
L
77042012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7705
7706 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7707
130e00bd
JM
77082012-08-22 Joseph Myers <joseph@codesourcery.com>
7709
7710 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7711 depend on --enable-shared.
7712 ($(lib1asmfuncs-o)): Use %.vis files independent of
7713 --enable-shared.
7714 * static-object.mk ($(base)$(objext), $(base).vis)
7715 ($(base)_s$(objext)): Use same rules for visibility handling as in
7716 shared-object.mk.
7717
4b1b3788
ILT
77182012-08-21 Ian Lance Taylor <iant@google.com>
7719
7720 * config/i386/morestack.S (__morestack_non_split): Increase amount
7721 of space allocated for non-split code stack.
7722
d2468141
JM
77232012-08-19 Joseph Myers <joseph@codesourcery.com>
7724
7725 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7726 even if inhibit_libc.
7727
a508e1a8
JB
77282012-08-17 Julian Brown <julian@codesourcery.com>
7729
7730 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7731 -fexceptions -fnon-call-exceptions if not defined.
7732 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7733 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7734
5615a07d
AS
77352012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7736
7737 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7738 type.
7739
138f5acd
DE
77402012-08-16 David Edelsohn <dje.gcc@gmail.com>
7741
7742 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7743 rs6000/t-slibgcc-aix.
7744
18efc0dd
SB
77452012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7746
7747 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7748
6b39bc38
SB
77492012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7750
7751 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7752
cd25dea0
L
77532012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7754
7755 PR driver/54171
7756 * Makefile.in (version): Replace top_srcdir with srcdir.
7757
a3dda30b
JY
77582012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7759
7760 * Makefile.in (version): set to BASE-VER file from gcc directory.
7761
d04aacfc
NC
77622012-08-01 Nick Clifton <nickc@redhat.com>
7763
7764 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7765 Implements __clrsb for an HImode argument.
7766
0d13c974
NC
77672012-07-31 Nick Clifton <nickc@redhat.com>
7768
7769 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7770 Implements __clrsb for an HImode argument.
7771 * config/stormy16/clrsbhi2.c: New file:
7772 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7773
efbb59b2
SB
77742012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7775
7776 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7777
bf1431e3
TG
77782012-07-19 Tristan Gingold <gingold@adacore.com>
7779 Richard Henderson <rth@redhat.com>
7780
7781 * unwind-seh.c: New file.
7782 * unwind-generic.h: Include windows.h for SEH.
7783 (_Unwind_Exception): Use 6 private fields for SEH.
7784 (_GCC_specific_handler): Declare.
7785 * unwind-c.c (__gcc_personality_seh0): New function.
7786 Adjust for SEH.
7787 * config/i386/libgcc-cygming.ver: New file.
7788 * config/i386/t-seh-eh: New file.
7789 * config.host (x86_64-*-mingw*): Default to seh.
7790
659140c8
SB
77912012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7792
7793 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7794
a20d08fd
UB
77952012-06-17 Uros Bizjak <ubizjak@gmail.com>
7796
7797 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7798 __builtin_expect when checking for exceptions.
7799 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7800
79261115
UB
78012012-06-13 Uros Bizjak <ubizjak@gmail.com>
7802
4a172156
UB
7803 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7804 function declaration.
7805 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7806 (FP_RND_MASK): New.
7807 * config/ia64/sfp-exceptions.c: New.
7808 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 7809
bb5c97d4
UB
78102012-06-13 Uros Bizjak <ubizjak@gmail.com>
7811
7812 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7813 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7814 * config/i386/64/sfp-machine: ... (delete here) ...
7815 * config/i386/sfp-machine.h: ... to here.
7816 (FP_EX_MASK): Remove.
7817 (FP_RND_MASK): New.
7818 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7819
91fe5efb
ST
78202012-06-11 Sriraman Tallam <tmsriram@google.com>
7821
7822 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7823 * config/i386/libgcc-sol2.ver: Ditto.
7824 * config/i386/libgcc-glibc.ver: Ditto.
7825
67a218c5
RM
78262012-06-11 Roland McGrath <mcgrathr@google.com>
7827
7828 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7829 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7830 pthread_cancel.
7831
492fbea1
UB
78322012-06-09 Uros Bizjak <ubizjak@gmail.com>
7833
7834 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7835 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7836 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7837 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7838 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7839 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7840 * config/i386/64/sfp-machine: ... (delete here) ...
7841 * config/i386/sfp-machine.h: ... to here.
7842 (FP_EX_MASK): New.
7843 (__sfp_handle_exceptions): New function declaration.
7844 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7845 * config/i386/sfp-exceptions.c: New.
7846 * config/i386/t-softfp: New.
7847 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7848 i386/t-softfp to tmake_file.
7849
7b4cf266
DM
78502012-06-03 David S. Miller <davem@davemloft.net>
7851
7852 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7853 change.
7854
0de0d5c6
DM
78552012-05-31 David S. Miller <davem@davemloft.net>
7856
7857 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7858 multiply and divide instructions on 32-bit when V9.
7859 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7860
d8c9d391
JM
78612012-05-29 Joseph Myers <joseph@codesourcery.com>
7862
7863 * config/arm/ieee754-df.S: Fix typos.
7864 * config/arm/ieee754-sf.S: Fix typos.
7865 * config/c6x/libunwind.S: Fix typos.
7866 * config/epiphany/udivsi3-float.c: Fix typos.
7867 * config/microblaze/muldi3_hard.S: Fix typos.
7868 * config/picochip/adddi3.S: Fix typos.
7869 * config/picochip/ashlsi3.S: Fix typos.
7870 * config/picochip/ashrsi3.S: Fix typos.
7871 * config/picochip/clzsi2.S: Fix typos.
7872 * config/picochip/cmpsi2.S: Fix typos.
7873 * config/picochip/divmod15.S: Fix typos.
7874 * config/picochip/divmodhi4.S: Fix typos.
7875 * config/picochip/divmodsi4.S: Fix typos.
7876 * config/picochip/longjmp.S: Fix typos.
7877 * config/picochip/lshrsi3.S: Fix typos.
7878 * config/picochip/parityhi2.S: Fix typos.
7879 * config/picochip/popcounthi2.S: Fix typos.
7880 * config/picochip/setjmp.S: Fix typos.
7881 * config/picochip/subdi3.S: Fix typos.
7882 * config/picochip/ucmpsi2.S: Fix typos.
7883 * config/picochip/udivmodhi4.S: Fix typos.
7884 * config/picochip/udivmodsi4.S: Fix typos.
7885 * config/spu/divv2df3.c: Fix typos.
7886 * config/spu/mfc_multi_tag_release.c: Fix typos.
7887 * config/spu/mfc_tag_release.c: Fix typos.
7888 * configure.ac: Fix typos.
7889 * configure: Regenerate.
7890
31a18a7e
ILT
78912012-05-25 Ian Lance Taylor <iant@google.com>
7892
7893 * config/i386/morestack.S (__morestack_non_split): Check whether
7894 caller is varargs and needs %bp to hold the stack frame on return.
7895
c5768510
OH
78962012-05-25 Olivier Hainque <hainque@adacore.com>
7897
7898 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7899 sequence in the non pic case on VxWorks.
7900
7c7c339b
OH
79012012-05-24 Olivier Hainque <hainque@adacore.com>
7902
73fb7630 7903 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
7904 "install-leaf" to "install".
7905
fdc1b7d3
OH
79062012-05-24 Olivier Hainque <hainque@adacore.com>
7907
7908 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7909 Use a separate command for stamp removals.
7910
07ba94b9
AP
79112012-05-21 Andrew Pinski <apinski@cavium.com>
7912
7913 PR bootstrap/53183
7914 * configure.ac: Define the default includes to being none.
7915 * configure: Regenerate.
7916
4677d2eb
OH
79172012-05-16 Olivier Hainque <hainque@adacore.com>
7918
7919 * Makefile.in (install-unwind_h): Rename into ...
7920 (install-unwind_h-forbuild): New target.
7921 (all): Use it instead of the former install-unwind_h.
7922 (install-unwind_h): Reinstate, copy to user install destination
7923 for include files, not to the internal gcc object directory one.
7924 (install-leaf): Depend on it.
7925
7d67c380
OH
79262012-05-15 Olivier Hainque <hainque@adacore.com>
7927
7928 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7929 register numbers. LR_REGNO replaces R_LR.
7930 (ucontext_for): New, helper for ...
7931 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7932 and 5.3 of ...
7933 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7934
aca06c90
RO
79352012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7936
7937 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7938 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7939 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7940 i386/t-cpuinfo ...
7941 (i[34567]86-*-*, x86_64-*-*): ... here.
7942
7943 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7944 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7945
7946 * config/i386/i386-cpuinfo.c: Rename to ...
7947 * config/i386/cpuinfo.c: ... this.
7948 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7949
7950 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7951 (libgcc_cv_init_priority): New test.
7952 * configure: Regenerate.
7953 * config.in: New file.
7954 * Makefile.in (clean): Rename config.h to auto-target.h.
7955 (config.h): Likewise.
7956 (stamp-h): Likewise.
7957
7958 * config/i386/cpuinfo.c (auto-target.h): Include.
7959 (CONSTRUCTOR_PRIORITY): Define.
7960 (__cpu_indicator_init): Use it.
7961
0d03ac1b
L
79622012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7963
7964 * longlong.h: Use a URL instead of an FSF postal address.
7965 Replace spaces with tab.
7966
4a172156 79672012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
7968
7969 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7970 (__gcov_dump): Ditto.
7971 (gcov_dump_complete): New global variable.
7972 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7973 (__gcov_flush): Outline functionality now in gcov_clear.
7974 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7975
e4bb767e
AJ
79762012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7977
31a18a7e
ILT
7978 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7979 (mips*-*-linux*): Include mips/t-tpbit when long double is
7980 16 bytes long.
e4bb767e 7981
5ddecff9
ST
79822012-04-25 Sriraman Tallam <tmsriram@google.com>
7983
7984 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7985 (get_available_features): New argument. Check for AVX2.
7986 (__cpu_indicator_init): Modify call to get_available_features.
7987
b427dd7a
AM
79882012-04-25 Alan Modra <amodra@gmail.com>
7989
7990 * config/rs6000/crtsavevr.S: New file.
7991 * config/rs6000/crtrestvr.S: New file.
7992 * config/rs6000/t-savresfgpr: Build the above.
7993 * config/rs6000/t-netbsd: Likewise.
7994
ad491329
ST
79952012-04-24 Sriraman Tallam <tmsriram@google.com>
7996
7997 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7998
792317cc
ST
79992012-04-24 Sriraman Tallam <tmsriram@google.com>
8000
8001 * libgcc/config/i386/i386-cpuinfo.c: New file.
8002 * libgcc/config/i386/t-cpuinfo: New file.
8003 * libgcc/config.host: Include t-cpuinfo.
8004 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8005
e1be98a4
CF
80062012-04-24 Chao-ying Fu <fu@mips.com>
8007
8008 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8009
1bde7dab
TS
80102012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8011
8012 struct siginfo vs. siginfo_t
8013
8014 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8015 siginfo_t instead of struct siginfo.
8016 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8017 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8018 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8019 (ia64_handle_unwabi): Likewise.
8020 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8021 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8022 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8023 (sh_fallback_frame_state): Likewise.
8024 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8025 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8026
24590f66
L
80272012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8028
8029 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8030 system call number.
8031
9a9dcce8
EB
80322012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8033
8034 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8035 if it hasn't been previously saved.
8036
6401aaf5
L
80372012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8038
8039 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8040 only for glibc.
8041
7fd6378e
GJL
80422012-03-28 Georg-Johann Lay <avr@gjlay.de>
8043
8044 PR target/52737
8045 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8046 instead of __AVR_HAVE_8BIT_SP__.
8047
9e916de7
TG
80482012-03-26 Tristan Gingold <gingold@adacore.com>
8049
8050 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8051 (unw_table_entry): Use unw_word instead of unsigned long.
8052 (_Unwind_FindTableEntry): Likewise.
8053 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8054 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8055 (_Unwind_FindTableEntry): Likewise.
8056 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8057 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8058 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8059 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8060 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8061 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8062 (uw_init_context_1, uw_install_context): Likewise.
8063 (unw_word): Move to unwind-ia64.h
8064
4b12e93d
TG
80652012-03-26 Tristan Gingold <gingold@adacore.com>
8066
8067 * config/vms/vms-ucrt0.c: Update copyright years.
8068 Add a sanity check.
8069 (___gcc_main_flags): Declare.
8070 (__main): Check flags to remap argv and exit code.
8071 * config.host (*-*-*vms*): Adjust extra_parts.
8072 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8073 (crt0.o): Add.
8074
06ea7371
RE
80752012-03-22 Richard Earnshaw <rearnsha@arm.com>
8076
8077 * arm/lib1funcs.asm (ctzsi2): New function.
8078 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8079 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8080 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8081 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8082 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8083 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8084
d82ad50d
AT
80852012-03-21 Andreas Tobler <andreast@fgznet.ch>
8086
8087 * config.host: Add bits to support powerpc64-*-freebsd*.
8088 * config/rs6000/freebsd-unwind.h: New file.
8089 * config/rs6000/t-freebsd64: New file.
8090
b260a8c0
RG
80912012-03-20 Richard Guenther <rguenther@suse.de>
8092
8093 PR gcov-profile/52627
8094 * libgcov.c (init_mx): Fix mutex name.
8095
86286a8a
TG
80962012-03-16 Tristan Gingold <gingold@adacore.com>
8097
8098 * config/ia64/vms-unwind.h: Remove ulong (and replace
8099 it by unw_reg where used). Define unw_reg with __int64.
8100
7888f266
RO
81012012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8102
8103 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8104 Solaris 8 handling.
8105 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8106 Solaris 8 handling.
8107 (sparc_is_sighandler): Likewise.
8108
f155bc64
L
81092012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8110
8111 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8112 <= saved reg size.
8113
d47657bd
RO
81142012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8115
8116 * config/arm/crtn.S: Fix typo.
8117
5bef73a1
RG
81182012-03-13 Richard Guenther <rguenther@suse.de>
8119
8120 * libgcov.c: Remove stdio.h include and NULL un-define.
8121
9c4271f3
RG
81222012-03-13 Richard Guenther <rguenther@suse.de>
8123
8124 PR target/52569
8125 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8126
c6d10e7c
RG
81272012-03-13 Richard Guenther <rguenther@suse.de>
8128
8129 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8130
074a385f
RG
81312012-03-13 Richard Guenther <rguenther@suse.de>
8132
8133 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8134 and __gthread_mutex_init_function definitions.
8135
c4bc5c25
RO
81362012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8137
8138 * config.host (mips*-*-openbsd*): Remove.
8139
5c30094f
RO
81402012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8141
8142 * config.host: Remove alpha*-dec-osf5.1* handling.
8143 * config/alpha/gthr-posix.c: Remove.
8144 * config/alpha/libgcc-osf5.ver: Remove.
8145 * config/alpha/osf5-unwind.h: Remove.
8146 * config/alpha/t-osf-pthread: Remove.
8147 * config/alpha/t-slibgcc-osf: Remove.
8148 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8149 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8150 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8151 * mkmap-flat.awk: Remove osf_export handling.
8152
33e3e24d
RG
81532012-03-12 Richard Guenther <rguenther@suse.de>
8154
8155 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8156 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8157 (__gthread_mutex_init_function): New function.
8158 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8159
8160 PR gcov/49484
8161 * libgcov.c: Include gthr.h.
8162 (__gcov_flush_mx): New global variable.
8163 (init_mx, init_mx_once): New functions.
8164 (__gcov_flush): Protect self with a mutex.
8165 (__gcov_fork): Re-initialize mutex after forking.
8166 * unwind-dw2-fde.c: Change condition under which to use
8167 __GTHREAD_MUTEX_INIT_FUNCTION.
8168
d8aba32a
TG
81692012-03-12 Tristan Gingold <gingold@adacore.com>
8170
8171 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8172 * config/ia64/t-vms: Likewise.
8173
75ffafdc
MH
81742012-03-11 Michael Hope <michael.hope@linaro.org>
8175
4a172156
UB
8176 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8177 for Thumb-2.
75ffafdc 8178
ef6c2c53
WL
81792012-03-07 Walter Lee <walt@tilera.com>
8180
8181 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8182 "arch_atomic_".
8183 (atomic_xor): Rename and move definition to
8184 config/tilepro/atomic.h.
8185 (atomic_nand): Ditto.
8186 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8187 "arch_atomic_".
8188 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8189 (arch_atomic_nand): Ditto.
8190
4e30d980
GJL
81912012-03-07 Georg-Johann Lay <avr@gjlay.de>
8192
8193 PR target/52507
8194 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8195
61108225
GJL
81962012-03-07 Georg-Johann Lay <avr@gjlay.de>
8197
8198 PR target/52505
8199 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8200 from RAM.
8201
b30e10ab
GJL
82022012-03-07 Georg-Johann Lay <avr@gjlay.de>
8203
8204 PR target/52461
8205 PR target/52508
8206 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8207 if RAMPZ affects reading from RAM.
8208 (__tablejump_elpm__): Ditto.
8209 (.xload): Ditto.
8210 (__movmemx_hi): Ditto.
8211 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8212 (__do_global_dtors): Ditto.
8213 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8214 (__movmemx_hi): Ditto.
8215
8993fde4
RH
82162012-03-05 Richard Henderson <rth@redhat.com>
8217
8218 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8219 [ARM] (count_trailing_zeros): Use the builtin.
8220
b7633ee3
KT
82212012-03-01 Kai Tietz <ktietz@redhat.com>
8222
8223 * soft-fp: Imported from glibc upstream.
8224
fbd3340c
KT
82252012-02-28 Kai Tietz <ktietz@redhat.com>
8226
8227 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8228 for mingw-targets as attribute gcc_struct.
8229
e9e053eb
ILT
82302012-02-28 Ian Lance Taylor <iant@google.com>
8231
8232 * generic-morestack.c (__splitstack_releasecontext): Correct call
8233 to __morestack_release_segments.
8234
d80c632e
ST
82352012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8236
8237 PR target/52390
8238 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8239 for __linux__ when removing signals from __morestack_fullmask.
8240
0253a8b1
GJL
82412012-02-23 Georg-Johann Lay <avr@gjlay.de>
8242
8243 PR target/52261
8244 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8245
e10e461e
UW
82462012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8247
8248 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8249 instead of HAVE_INITFINI_ARRAY.
8250 * config/ia64/crtend.S: Likewise.
8251
0c0c6398
KT
82522012-02-20 Kai Tietz <ktietz@redhat.com>
8253
d7470374
KT
8254 PR libstdc++/52300
8255 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8256
0c0c6398
KT
8257 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8258 to w32-unwind.h header.
8259
78c27266
RS
82602012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8261
8262 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8263 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8264 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8265 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8266
5adeb246
RS
82672012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8268
8269 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8270
672ed313
IS
82712012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8272
8273 PR libitm/52220
8274 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 8275
e948a1fb
IS
82762012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8277 Patrick Marlier <patrick.marlier@gmail.com>
8278
8279 PR libitm/52220
8280 * config/darwin-crt-tm.c: Generate dummy functions.
8281
6017aed3
IS
82822012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8283 Patrick Marlier <patrick.marlier@gmail.com>
8284
8285 PR libitm/52042
8286 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8287 (__doTMRegistrations): Call it.
e9e053eb 8288 (__doTMdeRegistrations): Likewise.
6017aed3 8289
2da8c1ad 82902012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
8291 Anatoly Sokolov <aesok@post.ru>
8292 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
8293
8294 PR target/52261
8295 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8296 (__epilogue_restores__): Ditto.
8297
0f952eb4
EB
82982012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8299
8300 PR target/51921
8301 PR target/52205
8302 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8303 Solaris 11 and slightly reformat.
8304 (sparc_is_sighandler): Likewise.
8305
dd552284
WL
83062012-02-14 Walter Lee <walt@tilera.com>
8307
8308 * config.host: Handle tilegx and tilepro.
8309 * config/tilegx/sfp-machine.h: New file.
8310 * config/tilegx/sfp-machine32.h: New file.
8311 * config/tilegx/sfp-machine64.h: New file.
8312 * config/tilegx/t-crtstuff: New file.
8313 * config/tilegx/t-softfp: New file.
8314 * config/tilegx/t-tilegx: New file.
8315 * config/tilepro/atomic.c: New file.
8316 * config/tilepro/atomic.h: New file.
8317 * config/tilepro/linux-unwind.h: New file.
8318 * config/tilepro/sfp-machine.h: New file.
8319 * config/tilepro/softdivide.c: New file.
8320 * config/tilepro/softmpy.S: New file.
8321 * config/tilepro/t-crtstuff: New file.
8322 * config/tilepro/t-tilepro: New file.
8323
b59cbd50
JW
83242012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8325
8326 PR libstdc++/51296
8327 PR libstdc++/51906
8328 * gthr-posix.h: Allow static initializer macros to be disabled.
8329 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8330
6caf807f
CLT
83312012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8332
8333 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8334 Add t-slibgcc-libgcc to tmake_file.
8335 * config/mips/libgcc-mips16.ver: Revert previous patch.
8336 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8337
7d296953
JJ
83382012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8339 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
8340
8341 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8342 * config/cr16/crti.S: New file.
8343 * config/cr16/crtlibid.S: New file.
8344 * config/cr16/crtn.S: New file.
8345 * config/cr16/lib1funcs.S: New file.
8346 * config/cr16/t-cr16: New file.
8347 * config/cr16/t-crtlibid: New file.
8348 * config/cr16/unwind-dw2.h: New file.
8349 * config/cr16/unwind-cr16.c: New file.
8350 * config/cr16/divmodhi3.c: New file.
8351
8ef03aa7
AM
83522012-01-25 Alan Modra <amodra@gmail.com>
8353
8354 * config/rs6000/t-linux64: Delete. Move..
8355 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8356 * config/rs6000/t-linux: ..and libgcc flags to here.
8357
daecebc8
DR
83582012-01-22 Douglas B Rupp <rupp@gnat.com>
8359
8360 * config.host (i[34567]86-*-interix3*):
8ef03aa7 8361 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
8362 * configure: Regenerate.
8363
ddaf8125
RS
83642012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8365 Richard Sandiford <rdsandiford@googlemail.com>
8366
8367 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8368 * config/mips/mips16.S (__mips16_rdhwr): New function.
8369 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8370
2cd8b32c
NS
83712012-01-11 Nathan Sidwell <nathan@acm.org>
8372
8373 * libgcov.c (__gcov_init): Ignore objects with no functions.
8374
cba300dd
GJL
83752012-01-10 Georg-Johann Lay <avr@gjlay.de>
8376
8377 PR target/49868
8378 Extend __pgmx semantics to linearize memory.
8379 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8380 * config/avr/lib1funcs.S (__xload_1): New function.
8381 (__movmemx_qi, __movmemx_hi): New functions.
8382 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8383 semantics.
9ffaf4bc 8384
3d137660
EB
83852012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8386
8387 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8388 purported sigacthandler address isn't null before dereferencing it.
8389 (sparc_is_sighandler): Likewise.
8390
bf4db96c
EB
83912012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8392
8393 PR ada/41929
8394 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8395 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8396 (sparc_is_sighandler): Likewise.
8397 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8398
1ab3568b
TG
83992012-01-06 Tristan Gingold <gingold@adacore.com>
8400
8401 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8402 compatibility thunks...
8403 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8404 (crtbeginS.o, crtendS.o): ... and these to ...
8405 * config/ia64/t-ia64-elf: ... this new file.
8406 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8407 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8408
925b0ed8
AK
84092012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8410
8411 * configure: Regenerate.
8412 * config/s390/t-crtstuff: Remove -fPIC.
8413
a99ad737
JW
84142012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8415
8416 PR bootstrap/51006
8417 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8418 for NetBSD.
8419
884f56d1
GJL
84202012-01-02 Georg-Johann Lay <avr@gjlay.de>
8421
8422 PR target/51345
8423 * config/avr/lib1funcs.S: Remove FIXME comments.
8424 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8425
8c57e547
GJL
84262012-01-02 Georg-Johann Lay <avr@gjlay.de>
8427
8428 Implement light-weight DImode support.
8429 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8430 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8431 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8432 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8433
04dbc287
NS
84342011-12-30 Nathan Sidwell <nathan@acm.org>
8435
8436 * libgcov.c (gcov_crc32): Remove global var.
8437 (free_fn_data): New function.
8438 (buffer_fn_data): Pass in filename, more robust error recovery.
8439 (crc32_unsigned): New function.
8440 (gcov_exit): More robust detection of new program. More robust
8441 error recovery.
8442 (__gcov_init): Do not update program's crc here.
8443
8e1d97d4
TG
84442011-12-21 Tristan Gingold <gingold@adacore.com>
8445
8446 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8447
9ffaf4bc
ILT
84482011-12-21 Ian Lance Taylor <iant@google.com>
8449
8450 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8451
a0c8d0c1
ILT
84522011-12-20 Ian Lance Taylor <iant@google.com>
8453
8454 * config/i386/morestack.S (__morestack_non_split): If there is
8455 enough stack space already, don't split. Ask for more stack space
8456 than we required.
8457
69048898
SDJ
84582011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8459
8460 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8461 `sys/sdt.h'.
8462 (_Unwind_DebugHook): New function.
8463 (uw_restore_core_regs): New define.
8464 (unwind_phase2): Use uw_restore_core_regs instead of
8465 restore_core_regs.
8466 (unwind_phase2_forced): Likewise.
8467 (__gnu_Unwind_Resume): Likewise.
8468
1bb4b6a3
UB
84692011-12-20 Uros Bizjak <ubizjak@gmail.com>
8470
8471 * config/alpha/linux-unwind.h: Update copyright years.
8472 (MD_FROB_UPDATE_CONTEXT): New define.
8473 (alpha_frob_update_context): New function.
8474
eb028768
RS
84752011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8476
8477 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8478 tmake_file rather replacing it.
8479
6a2045bf
IS
84802011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8481
8482 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 8483 function is not used for PPC64.
6a2045bf
IS
8484 (save_world): Amend comments. Update the VRsave mask to reflect the
8485 saved regs.
8486 (rest_world): Update comments, do not clobber r10, do not use r8.
8487 (eh_rest_world_r10): Amend comments, do not use r8.
8488 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8489 no longer used, move restore of CR and target address to the end of
8490 the routine.
8491
a13780a6
L
84922011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8495 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8496
d7288dfb
GJL
84972011-12-14 Georg-Johann Lay <avr@gjlay.de>
8498
8499 PR target/49313
8500 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8501 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8502
8d2c862d
EB
85032011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8504
8505 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8506
3447cae6
GJL
85072011-12-09 Georg-Johann Lay <avr@gjlay.de>
8508
8509 PR target/49313
8510 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8511 * config/avr/lib1funcs.S (__muldi3): New function.
8512
806fc6aa
AP
85132011-12-06 Andrew Pinski <apinski@cavium.com>
8514
8515 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8516 size of func_ptr.
8517 (__frame_dummy_init_array_entry): Likewise.
8518
28c5e6b5
GJL
85192011-12-06 Georg-Johann Lay <avr@gjlay.de>
8520
8521 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8522
8523 PR target/51345
8524 PR target/51002
8525 * config/avr/lib1funcs.S (__prologue_saves__,
8526 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8527 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8528
8f90394a
IS
85292011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8530
8531 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8532
06dd33ac
JDA
85332011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8534
8535 PR other/51272
8536 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8537 (_ITM_deregisterTMCloneTable): Likewise.
8538 (__register_frame_info): Fix unused warning.
8539 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8540 pthread_default_stacksize_np): Likewise.
8541 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 8542
85b8555e
DD
85432011-11-29 DJ Delorie <dj@redhat.com>
8544
8545 * config.host (rl78-*-elf): New case.
8546 * config/rl78: New directory for the Renesas RL78.
8547
4d5ae4ea
BS
85482011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8549
8550 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8551 formatting.
8552
f9c55897
RO
85532011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8554
8555 PR other/51022
8556 * config/rs6000/t-savresfgpr: New file.
8557 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8558 $(srcdir)/config/rs6000/eabi.S.
8559 * config/rs6000/t-ppccomm-ldbl: Remove.
8560 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8561 tmake_file.
8562 (powerpc-*-eabispe*): Likewise.
8563 (powerpc-*-eabi*): Likewise.
8564 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8565 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8566 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8567 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8568 tmake_file.
8569 (powerpc-*-eabisim*): Likewise.
8570 (powerpc-*-elf*): Likewise.
8571 (powerpc-*-eabialtivec*): Likewise.
8572 (powerpc-xilinx-eabi*): Likewise.
8573 (powerpc-*-rtems*): Likewise.
8574 (powerpcle-*-elf*): Likewise.
8575 (powerpcle-*-eabisim*): Likewise.
8576 (powerpcle-*-eabi*): Likewise.
8577
a01207c4
ILT
85782011-11-27 Ian Lance Taylor <iant@google.com>
8579
8580 * generic-morestack.c (__splitstack_find): Check for NULL old
8581 stack value.
8582 (__splitstack_resetcontext): New function.
8583 (__splitstack_releasecontext): New function.
8584 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8585
2b0b8ab2
IS
85862011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8587
8588 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8589
c1d8101c
IS
85902011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8591
8592 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8593
8b281334
RH
85942011-11-26 Richard Henderson <rth@redhat.com>
8595
8596 * config/m68k/linux-atomic.c: New file.
8597 * config/m68k/t-linux: New file.
8598 * config.host (m68k-uclinux, m68k-linux): Use it.
8599
7546aa9d
RH
86002011-11-26 Richard Henderson <rth@redhat.com>
8601
8602 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8603 (__TMC_END__): Only declare if hidden is available; in the definition,
8604 if hidden is unavailable add a null record.
8605 (deregister_tm_clones, register_tm_clones): New.
8606 (__do_global_dtors_aux, frame_dummy): Use them.
8607 (__do_global_dtors, __do_global_ctors_1): Likewise.
8608
e2362f5d
IS
86092011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8610
8611 * config/darwin-crt-tm.c: New file.
8612 * config.host (darwin): Build crttms.o crttme.o to provide
8613 startup and shutdown for tm clones.
8614 * config/t-darwin (crttms.o): New build rule.
8615 (crttme.o): Likewise.
8616
6685dd96
HPN
86172011-11-21 Hans-Peter Nilsson <hp@axis.com>
8618
8619 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8620 et al.
8621
b0dc7e4c
RH
86222011-11-21 Richard Henderson <rth@redhat.com>
8623
8624 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8625 (__TMC_LIST__, __TMC_END__): New.
8626 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8627 (__do_global_dtors): Likewise.
8628 (frame_dummy): Call _ITM_registerTMCloneTable.
8629 (__do_global_ctors_1): Likewise.
8630
d4b4b542
RO
86312011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8632
8633 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8634 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8635 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8636 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8637 * config/i386/t-darwin64: Remove.
8638 * config/sh/t-netbsd (LIB2ADD): Remove.
8639
989bdb74
GJL
86402011-11-21 Georg-Johann Lay <avr@gjlay.de>
8641
8642 PR target/49313
8643 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8644 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8645 * config/avr/lib1funcs.S (wmov): New assembler macro.
8646 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8647 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8648 (__udivmod64): New function.
8649 (__negdi2): New function.
8650
515a0cfc
GP
86512011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8652
8653 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8654 *-*-freebsd*aout*): Remove.
8655
0115d17f
HPN
86562011-11-20 Hans-Peter Nilsson <hp@axis.com>
8657
8658 * static-object.mk (c_flags-$o): Save c_flags.
8659 ($(base)$(objext)): Use it.
8660
93aeb62b
SE
86612011-11-18 Steve Ellcey <sje@cup.hp.com>
8662
8663 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8664
7bc6df2c
GJL
86652011-11-18 Georg-Johann Lay <avr@gjlay.de>
8666
8667 PR target/49868
8668 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8669 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8670 New functions.
8671
425d737b
MGD
86722011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8673
8674 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8675 functions.
1bb4b6a3 8676 (aeabi_uidivmod): Likewise.
425d737b
MGD
8677 (umodsi3): Likewise.
8678 (divsi3): Likewise.
8679 (aeabi_idivmod): Likewise.
8680 (modsi3): Likewise.
8681
f2a176dc
TG
86822011-11-16 Tristan Gingold <gingold@adacore.com>
8683
8684 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8685
7c209481
GJL
86862011-11-15 Georg-Johann Lay <avr@gjlay.de>
8687
8688 PR target/49868
8689 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8690 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8691
9dfd5832
JDA
86922011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8693
8694 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8695 tmake_file list.
8696 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8697 * config/pa/t-stublib64: Delete.
8698
f77dca5d
RH
86992011-11-12 Richard Henderson <rth@redhat.com>
8700
8701 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8702 cast the pointer argument to _Unwind_SetGRPtr.
8703
902828f0
RO
87042011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8705
8706 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8707
e14304ef
ILT
87082011-11-09 Ian Lance Taylor <iant@google.com>
8709
8710 * generic-morestack.c: Include <string.h>.
8711 (uintptr_type): Define.
8712 (struct initial_sp): Add dont_block_signals field. Reduce size of
8713 extra array by 1.
8714 (allocate_segment): Set prev field to NULL. Don't set
8715 __morestack_current_segment or __morestack_segments.
8716 (__generic_morestack): Update current->prev and *pp after calling
8717 allocate_segment.
8718 (__morestack_block_signals): Don't do anything if
8719 dont_block_signals is set.
8720 (__morestack_unblock_signals): Likewise.
8721 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8722 uintptr_type.
8723 (__splitstack_block_signals): New function.
8724 (enum __splitstack_content_offsets): Define.
8725 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8726 (__splitstack_makecontext): New function.
8727 (__splitstack_block_signals_context): New function.
8728 (__splitstack_find_context): New function.
8729 * config/i386/morestack.S (__morestack_get_guard): New function.
8730 (__morestack_set_guard, __morestack_make_guard): New functions.
8731 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8732
e3d871e4
RO
87332011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8734
8735 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8736 (i[34567]86-*-mingw*): ... here.
8737 (x86_64-*-mingw*): ... here.
8738
e55cef40
RO
87392011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8740
8741 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8742
5366b186
NS
87432011-11-07 Nathan Sidwell <nathan@acm.org>
8744
8745 * libgcov.c (struct gcov_fn_buffer): New struct.
8746 (buffer_fn_data): New helper.
8747 (gcov_exit): Rework for new gcov data structures.
8748
74155a6f
GJL
87492011-11-07 Georg-Johann Lay <avr@gjlay.de>
8750
8751 PR target/49313
8752 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8753
200feb07
RO
87542011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8755
8756 * config.host (tmake_file): Correct comment.
8757 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8758 t-libgcc-pic.
8759 (bfin*-uclinux*): Likewise.
8760 (bfin*-linux-uclibc*): Likewise.
8761 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8762
8763 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8764 assigning.
8765 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8766 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8767 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8768 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8769 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8770 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8771 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8772 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8773 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8774 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8775 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8776 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8777 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8778
8779 * config/bfin/t-elf: Remove.
8780 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8781
c9cd1a07
RO
87822011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8783
8784 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8785 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8786 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8787 (lm32-*-elf*): ... this.
8788 (lm32-*-rtems*): ... and this.
8789 Add to tmake_file.
8790 (m32r-*-rtems*): Add to tmake_file.
8791 (moxie-*-rtems*): Likewise.
8792 (sparc-*-rtems*): Likewise.
8793 Remove t-rtems from tmake_file.
8794 (sparc64-*-rtems*): Likewise.
8795 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8796 instead.
8797
9fbcc75d
RO
87982011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8799
8800 PR bootstrap/50982
8801 * config/gthr-posix.h: Move ...
8802 * gthr-posix.h: ... here.
8803 * config/gthr-lynx.h: Reflect this.
8804 * config/gthr-vxworks.h: Likewise.
8805 * config/rs6000/gthr-aix.h: Likewise.
8806 * configure.ac (target_thread_file): Likewise.
8807 * configure: Regenerate.
8808
76644b68
SH
88092011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8810
8811 * config.host (arm*-*-rtemseabi*): New target.
8812
5e490f2a
JDA
88132011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8814
8815 PR other/50991
8816 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8817 extra-parts.
8818
feeeff5c
JR
88192011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8820
8821 * config.host (epiphany-*-elf*): New configuration.
8822 * config/epiphany: New Directory.
8823
d618bb2c
RC
88242011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8825
8826 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8827 * config/avr/t-rtems: New.
8828 Filter out _exit from LIB1ASMFUNCS.
8829
1bb6f778
DM
88302011-11-04 David S. Miller <davem@davemloft.net>
8831
8832 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8833 * configure: Rebuild.
8834
9a7f7422
AK
88352011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8836
8837 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8838 variable.
8839
e4fe948a
GJL
88402011-11-04 Georg-Johann Lay <avr@gjlay.de>
8841
8842 PR target/50931
8843 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8844 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8845
7084e037
JS
88462011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8847
8848 PR target/50989
8849 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8850
1a032034
RO
88512011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8852
8853 * config/c6x/t-elf (LIB2ADDEH): Set.
8854 * config/c6x/t-c6x-elf: Remove.
8855
d385f772
RO
88562011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8857
8858 * config/i386/sol2-ci.S: Rename to ...
8859 * config/i386/crti.S: ... this.
8860 * config/i386/sol2-cn.S: Rename to ...
8861 * config/i386/crtn.S: ... this.
8862 * config/sparc/sol2-ci.S: Rename to ...
8863 * config/sparc/crti.S: ... this.
8864 * config/sparc/sol2-cn.S: Rename to ...
8865 * config/sparc/crtn.S: ... this.
8866 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8867 (crti.o, crtn.o): Remove.
8868
1ba878a9
TG
88692011-11-04 Tristan Gingold <gingold@adacore.com>
8870
8871 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8872
02750c15
KK
88732011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8874
8875 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8876
bf86b067
HPN
88772011-11-03 Hans-Peter Nilsson <hp@axis.com>
8878
8879 * config.host (crisv32-*-none, cris-*-none): Remove.
8880 (crisv32-*-elf): Append to tmake_file, don't just set it.
8881 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8882
d0bc53bd
RO
88832011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8884
8885 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8886 (ecrtn$(objext)): Likewise.
8887 (ncrti$(objext)): Likewise.
8888 (ncrtn$(objext)): Likewise.
8889
036da830
AS
88902011-11-03 Andreas Schwab <schwab@redhat.com>
8891
8892 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8893
d2a7d041
DM
88942011-11-02 David S. Miller <davem@davemloft.net>
8895
8896 * configure.ac: Set host_address on sparc too.
8897 * configure: Regenerate.
8898 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8899 based upon host_address.
8900 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8901
af8ed618
JM
89022011-11-02 Jason Merrill <jason@redhat.com>
8903
8904 * config/rs6000/t-ppccomm: Add missing \.
8905
5d1c8e77
RO
89062011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8907
8908 * gthr-single.h, gthr.h: New files.
8909 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8910 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8911 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8912 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8913 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8914 * configure.ac (thread_header): New variable.
8915 Set it depending on target_thread_file.
8916 (gthr-default.h): Link from $thread_header.
8917 * configure: Regenerate.
8918 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8919
852b75ed
RO
89202011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8921
8922 * configure.ac (tm_file_): New variable.
8923 Determine from tm_file.
8924 (tm_file, tm_defines): Substitute.
8925 * configure: Regenerate.
8926 * mkheader.sh: New file.
8927 * Makefile.in (clean): Remove libgcc_tm.h.
8928 ($(objects)): Depend on libgcc_tm.h.
8929 (libgcc_tm_defines, libgcc_tm_file): New variables.
8930 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8931 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8932 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8933 ($(extra-parts)): Depend on libgcc_tm.h.
8934 * config.host (tm_defines, tm_file): New variable.
8935 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8936 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8937 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8938 (avr-*-rtems*): Likewise.
8939 (avr-*-*): Likewise.
8940 (frv-*-elf): Likewise.
8941 (frv-*-*linux*): Likewise.
8942 (h8300-*-rtems*): Likewise.
8943 (h8300-*-elf*): Likewise.
8944 (i[34567]86-*-darwin*): Likewise.
8945 (x86_64-*-darwin*): Likewise.
8946 (rx-*-elf): Likewise.
8947 (tic6x-*-uclinux): Likewise.
8948 (tic6x-*-elf): Likewise.
8949 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8950 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8951 * config/i386/cygming-crtbegin.c: Likewise.
8952 * config/i386/cygming-crtend.c: Likewise.
8953 * config/ia64/fde-vms.c: Likewise.
8954 * config/ia64/unwind-ia64.c: Likewise.
8955 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8956 * config/rs6000/darwin-fallback.c: Likewise.
8957 * config/stormy16/lib2funcs.c: Likewise.
8958 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8959 * crtstuff.c: Likewise.
8960 * dfp-bit.h: Likewise.
8961 * emutls.c: Likewise.
8962 * fixed-bit.c: Likewise.
8963 * fp-bit.c: Likewise.
8964 * generic-morestack-thread.c: Likewise.
8965 * generic-morestack.c: Likewise.
8966 * libgcc2.c: Likewise.
8967 * libgcov.c: Likewise.
8968 * unwind-dw2-fde-dip.c: Likewise.
8969 * unwind-dw2-fde.c: Likewise.
8970 * unwind-dw2.c: Likewise.
8971 * unwind-sjlj.c: Likewise.
8972
f9989b51
RO
89732011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8974
8975 * configure.ac: Include ../config/picflag.m4.
8976 (GCC_PICFLAG): Call it.
8977 Substitute.
8978 * configure: Regenerate.
8979 * Makefile.in (gcc_srcdir): Remove.
8980 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8981 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8982 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8983 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8984 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8985 Use $<.
8986 Remove comment.
8987 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8988 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8989 to refer to libgcc2.c.
8990 Use $<.
8991 * config/darwin-64.c: New file.
8992 * config/darwin-crt3.c: Remove comment.
8993 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8994 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8995 config/udivmodsi4.c: New files.
8996 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8997 config/memset.c: New files.
8998 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8999 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9000 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9001 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9002 * config/t-openbsd-thread: New file.
9003 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9004 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9005 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9006 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9007 qrnnd.S.
9008 Adapt filename.
9009 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9010 to refer to gthr-posix.c.
9011 * config/alpha/t-vms (LIB2ADD): Set.
9012 * config/alpha/vms-gcc_shell_handler.c: New file.
9013 * config/arm/bpabi.c, config/arm/fp16.c,
9014 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9015 config/arm/unaligned-funcs.c: New files.
9016 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9017 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9018 * config/arm/t-linux: Likewise.
9019 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9020 * config/arm/t-netbsd: New file.
9021 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9022 * config/arm/t-symbian (LIB2ADD_ST): Set.
9023 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9024 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9025 * config/bfin/t-elf: New file.
9026 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9027 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9028 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9029 config/c6x/ltf.c: New files.
9030 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9031 (HOST_LIBGCC2_CFLAGS): Set.
9032 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9033 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9034 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9035 New files.
9036 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9037 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9038 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9039 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9040 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9041 files.
9042 * config/frv/t-frv (LIB2ADD): Set.
9043 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9044 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9045 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9046 config/h8300/popcounthi2.c: New files.
9047 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9048 * config/i386/gthr-win32.c: New file.
9049 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9050 * config/i386/t-cygwin: Likewise.
9051 * config/i386/t-darwin, config/i386/t-darwin64,
9052 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9053 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9054 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9055 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9056 * config/ia64/quadlib.c: New file.
9057 * config/ia64/t-hpux (LIB2ADD): Set.
9058 * config/ia64/t-ia64: Add comment.
9059 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9060 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9061 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9062 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9063 * config/m32c/t-m32c (LIB2ADD): Set.
9064 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9065 * config/m32r/t-m32r: Likewise.
9066 * config/m68k/fpgnulib.c: New file.
9067 * config/m68k/t-floatlib (LIB2ADD): Set.
9068 (xfgnulib.c): New target.
9069 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9070 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9071 * config/mep/t-mep (LIB2ADD): Set.
9072 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9073 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9074 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9075 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9076 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9077 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9078 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9079 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9080 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9081 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9082 New files.
9083 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9084 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9085 * config/pa/fptr.c, config/pa/lib2funcs.S,
9086 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9087 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9088 (LIB2ADD, LIB2ADD_ST): Set.
9089 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9090 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9091 Set.
9092 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9093 * config/pdp11/t-pdp11: New file.
9094 * config/picochip/libgccExtras/adddi3.S,
9095 config/picochip/libgccExtras/ashlsi3.S,
9096 config/picochip/libgccExtras/ashrsi3.S,
9097 config/picochip/libgccExtras/clzsi2.S,
9098 config/picochip/libgccExtras/cmpsi2.S,
9099 config/picochip/libgccExtras/divmod15.S,
9100 config/picochip/libgccExtras/divmodhi4.S,
9101 config/picochip/libgccExtras/divmodsi4.S,
9102 config/picochip/libgccExtras/lshrsi3.S,
9103 config/picochip/libgccExtras/parityhi2.S,
9104 config/picochip/libgccExtras/popcounthi2.S,
9105 config/picochip/libgccExtras/subdi3.S,
9106 config/picochip/libgccExtras/ucmpsi2.S,
9107 config/picochip/libgccExtras/udivmodhi4.S,
9108 config/picochip/libgccExtras/udivmodsi4.S: New files.
9109 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9110 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9111 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9112 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9113 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9114 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9115 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9116 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9117 files.
9118 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9119 (HOST_LIBGCC2_CFLAGS): Set.
9120 * config/rs6000/t-darwin64: New file.
9121 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9122 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9123 * config/rs6000/t-ppccomm (LIB2ADD): Add
9124 $(srcdir)/config/rs6000/tramp.S.
9125 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9126 Add $(srcdir)/config/rs6000/eabi.S.
9127 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9128 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9129 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9130 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9131 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9132 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9133 * config/rs6000/tramp.S: New file.
9134 * config/s390/t-tpf: Remove.
9135 * config/sh/linux-atomic.S: New file.
9136 * config/sh/t-linux (LIB2ADD): Set.
9137 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9138 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9139 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9140 to unwind-dw2.c.
9141 (HOST_LIBGCC2_CFLAGS): Set.
9142 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9143 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9144 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9145 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9146 config/spu/mfc_multi_tag_release.c,
9147 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9148 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9149 config/spu/multi3.c: New files.
9150 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9151 (HOST_LIBGCC2_CFLAGS): Set.
9152 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9153 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9154 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9155 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9156 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9157 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9158 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9159 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9160 config/stormy16/umodsi3.c: New files.
9161 * config/xtensa/lib2funcs.S: New file.
9162 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9163 * config/xtensa/t-xtensa (LIB2ADD): Set.
9164 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9165 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9166 Add t-freebsd-thread to tmake_file for posix threads.
9167 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9168 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9169 (*-*-lynxos*): Likewise.
9170 (*-*-netbsd*): Likewise.
9171 (*-*-openbsd*): Likewise.
9172 Add t-openbsd-thread to tmake_file for posix threads.
9173 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9174 (*-*-vxworks*): Set tmake_file.
9175 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9176 (alpha*-*-freebsd*): Likewise.
9177 (alpha*-*-netbsd*): Likewise.
9178 (alpha*-*-openbsd*): Likewise.
9179 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9180 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9181 (alpha*-dec-*vms*): Likewise.
9182 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9183 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9184 (bfin*-uclinux*): Likewise.
9185 (bfin*-linux-uclibc*): Likewise.
9186 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9187 (crisv32-*-none): Likewise.
9188 (cris-*-elf): Likewise.
9189 (cris-*-none): Likewise.
9190 (cris-*-linux*, crisv32-*-linux*): Likewise.
9191 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9192 tmake_file.
9193 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9194 tmake_file.
9195 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9196 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9197 (x86_64-*-elf*): Likewise.
9198 (i[34567]86-*-nto-qnx*): Likewise.
9199 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9200 win32 threads.
9201 (x86_64-*-mingw*): Likewise.
9202 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9203 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9204 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9205 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9206 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9207 tmake_file.
9208 (mipsisa64sr71k-*-elf*): Likewise.
9209 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9210 (mips-*-elf*, mipsel-*-elf*): Likewise.
9211 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9212 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9213 (mips*-*-rtems*): Likewise.
9214 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9215 to tmake_file.
9216 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9217 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9218 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9219 (spu-*-elf*): Likewise.
9220 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9221
45b86625
RO
92222011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9223
9224 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9225 $(srcdir) to refer to $(LIB1ASMSRC).
9226 Use $<.
9227 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9228 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9229 config/arm/lib1funcs.S: New files.
9230 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9231 * config/arm/t-arm: New file.
9232 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9233 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9234 config/arm/t-strongarm-elf: New files.
9235 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9236 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9237 * config/avr/lib1funcs.S: New file.
9238 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9239 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9240 * config/c6x/lib1funcs.S: New file.
9241 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9242 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9243 * config/frv/lib1funcs.S: New file.
9244 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9245 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9246 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9247 * config/ia64/__divxf3.asm: Rename to ...
9248 * config/ia64/__divxf3.S: ... this.
9249 Adapt lib1funcs.asm filename.
9250 * config/ia64/_fixtfdi.asm: Rename to ...
9251 * config/ia64/_fixtfdi.S: ... this.
9252 Adapt lib1funcs.asm filename.
9253 * config/ia64/_fixunstfdi.asm: Rename to ...
9254 * config/ia64/_fixunstfdi.S: ... this.
9255 Adapt lib1funcs.asm filename.
9256 * config/ia64/_floatditf.asm: Rename to ...
9257 * config/ia64/_floatditf.S: ... this.
9258 Adapt lib1funcs.asm filename.
9259 * config/ia64/lib1funcs.S: New file.
9260 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9261 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9262 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9263 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9264 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9265 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9266 * config/mep/lib1funcs.S: New file.
9267 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9268 * config/mips/mips16.S: New file.
9269 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9270 * config/pa/milli64.S: New file.
9271 * config/pa/t-linux, config/pa/t-linux64: New files.
9272 * config/picochip/lib1funcs.S: New file.
9273 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9274 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9275 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9276 * config/sh/t-netbsd: New file.
9277 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9278 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9279 * config/sh/t-sh64: New file.
9280 * config/sparc/lb1spc.S: New file.
9281 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9282 filename.
9283 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9284 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9285 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9286 config/xtensa/lib1funcs.S: New files.
9287 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9288 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9289 tmake_file.
9290 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9291 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9292 (arm*-*-linux*): Likewise.
9293 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9294 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9295 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9296 (arm*-*-ecos-elf): Likewise.
9297 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9298 (arm*-*-rtems*): Likewise.
9299 (arm*-*-elf): Likewise.
9300 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9301 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9302 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9303 (bfin*-uclinux*): Likewise.
9304 (bfin*-linux-uclibc*): Likewise.
9305 (bfin*-rtems*): Likewise.
9306 (bfin*-*): Likewise.
9307 (fido-*-elf): Merge into m68k-*-elf*.
9308 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9309 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9310 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9311 (h8300-*-elf*): Likewise.
9312 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9313 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9314 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9315 (i[34567]86-*-mingw*): Likewise.
9316 (x86_64-*-mingw*): Likewise.
9317 (i[34567]86-*-interix3*): Likewise.
9318 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9319 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9320 (m68k-*-elf*): Also handle fido-*-elf.
9321 Add m68k/t-floatlib to tmake_file.
9322 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9323 (m68k-*-linux*): Likewise.
9324 (m68k-*-rtems*): Likewise.
9325 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9326 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9327 sh64*-*-*.
9328 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9329 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9330 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9331 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9332 sh/t-netbsd to tmake_file.
9333 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9334 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9335 (sh-wrs-vxworks): Likewise.
9336 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9337 *-leon[3-9]*.
9338 (v850*-*-*): Add v850/t-v850 to tmake_file.
9339 (vax-*-linux*): Add vax/t-linux to tmake_file.
9340 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9341
5f73c6cc
RO
93422011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9343
9344 * crtstuff.c: New file.
9345 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9346 (CRTSTUFF_T_CFLAGS): Define.
9347 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9348 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9349 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9350 crtstuff.c.
9351 Use $<.
9352 (crtbeginT.o): Use $(objext).
9353 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9354 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9355 (gcc-extra-parts): Remove.
9356 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9357 Set extra_parts.
9358 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9359 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9360 Add t-crtstuff-pic to tmake_file.
9361 (*-*-lynxos*): New case.
9362 Set tmake_file, extra_parts.
9363 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9364 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9365 *-*-netbsdelf[2-9]*.
9366 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9367 (*-*-rtems*): Set extra_parts.
9368 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9369 (*-*-uclinux*): New case.
9370 Set extra_parts.
9371 (*-*-vms*): New case.
9372 Set tmake_file, extra_parts.
9373 (*-*-elf): Set extra_parts.
9374 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9375 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9376 vms/t-vms64.
9377 Set extra_parts.
9378 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9379 Set extra_parts.
9380 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9381 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9382 (arm-wrs-vxworks): Append to tmake_file.
9383 Set extra_parts.
9384 (arm*-*-uclinux*): Set extra_parts.
9385 (arm*-*-ecos-elf): Likewise.
9386 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9387 arm*-*-eabi*.
9388 (arm*-*-rtems*): Set extra_parts.
9389 (arm*-*-elf): Likewise.
9390 (avr-*-rtems*): Clear extra_parts.
9391 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9392 Set extra_parts.
9393 (bfin*-uclinux*): Likewise.
9394 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9395 (bfin*-rtems*): Append to tmake_file.
9396 Set extra_parts.
9397 (bfin*-*): Likewise.
9398 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9399 (crisv32-*-elf): ... this.
9400 (crisv32-*-none): ... this.
9401 (cris-*-elf, cris-*-none): New cases.
9402 Add cris/t-elfmulti to tmake_file.
9403 (fr30-*-elf): Append to tmake_file.
9404 Set extra_parts.
9405 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9406 Set extra_parts.
9407 (h8300-*-rtems*): Append to tmake_file.
9408 Set extra_parts.
9409 (h8300-*-elf*): Likewise.
9410 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9411 Set extra_parts.
9412 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9413 Set extra_parts.
9414 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9415 (x86_64-*-elf*): Likewise.
9416 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9417 (x86_64-*-freebsd*): Likewise.
9418 (x86_64-*-netbsd*): Likewise.
9419 (i[34567]86-*-linux*): Likewise.
9420 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9421 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9422 (x86_64-*-linux*): Likewise.
9423 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9424 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9425 tmake_file.
9426 Set extra_parts.
9427 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9428 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9429 Append to extra_parts, remove crtbegin.o, crtend.o.
9430 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9431 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9432 crtend.o, crtbeginS.o, crtendS.o.
9433 (ia64*-*-linux*): Comment extra_parts.
9434 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9435 Set extra_parts.
9436 (iq2000*-*-elf*): Clear extra_parts.
9437 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9438 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9439 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9440 (m32r-*-rtems*): ... this.
9441 Add m32r/t-m32r to tmake_file.
9442 (m68k-*-elf*): Add t-crtin to tmake_file.
9443 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9444 (mcore-*-elf): Likewise.
9445 (microblaze*-*-*): Set extra_parts.
9446 (mips*-sde-elf*): New case.
9447 Set tmake_file, extra_parts.
9448 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9449 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9450 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9451 tmake_file.
9452 Set extra_parts.
9453 (mipsisa64sr71k-*-elf*): Likewise.
9454 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9455 (mips-*-elf*, mipsel-*-elf*): Likewise.
9456 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9457 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9458 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9459 (mips*-*-rtems*): Likewise.
9460 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9461 (moxie-*-*): Split into ...
9462 (moxie-*-elf, moxie-*-uclinux*): ... this.
9463 Add to extra_parts, remove crtbegin.o, crtend.o.
9464 (moxie-*-rtems*): New case.
9465 Set tmake_file.
9466 Clear extra_parts.
9467 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9468 Set extra_parts.
9469 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9470 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9471 tmake_file.
9472 Set extra_parts.
9473 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9474 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9475 Set extra_parts.
9476 (powerpc-*-eabisim*): Likewise.
9477 (powerpc-*-elf*): Likewise.
9478 (powerpc-*-eabialtivec*): Likewise.
9479 (powerpc-xilinx-eabi*): Likewise.
9480 (powerpc-*-eabi*): Likewise.
9481 (powerpc-*-rtems*): Likewise.
9482 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9483 tmake_file.
9484 Set extra_parts.
9485 (powerpc-*-lynxos*): Add to tmake_file.
9486 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9487 rs6000/t-crtstuff, t-crtstuff-pic.
9488 Set extra_parts.
9489 (powerpcle-*-eabisim*): Likewise.
9490 (powerpcle-*-eabi*): Likewise.
9491 (rx-*-elf): Remove extra_parts.
9492 (s390x-ibm-tpf*): Set extra_parts.
9493 (score-*-elf): Set extra_parts.
9494 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9495 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9496 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9497 (sh64l*-*-netbsd*): Split into ...
9498 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9499 Add t-crtstuff-pic to tmake_file.
9500 Set extra_parts.
9501 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9502 Set extra_parts.
9503 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9504 (sparc-*-elf*): Remove t-crtin from tmake_file.
9505 Add to extra_parts, remove crtbegin.o, crtend.o.
9506 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9507 (sparc64-*-linux*): Likewise.
9508 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9509 Add to extra_parts, remove crtbegin.o, crtend.o.
9510 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9511 Add to extra_parts, remove crtbegin.o, crtend.o.
9512 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9513 Add to extra_parts, remove crtbegin.o, crtend.o.
9514 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9515 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9516 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9517 Set extra_parts.
9518 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9519 Set extra_parts.
9520 (tic6x-*-*): Change to ...
9521 (tic6x-*-elf): ... this.
9522 Set extra_parts.
9523 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9524 Set extra_parts.
9525 (am33_2.0-*-linux*): Add comment.
9526 (mep*-*-*): Add mep/t-mep to tmake_file.
9527 Set extra_parts.
9528 * config/alpha/t-vms: New file.
9529 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9530 * config/arm/crti.S, config/arm/crtn.S: New files.
9531 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9532 * config/bfin/crtlibid.S: New file.
9533 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9534 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9535 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9536 (crti.o, crtin.o): New rules.
9537 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9538 * config/c6x/t-uclinux: New file.
9539 * config/cris/t-elfmulti: New file.
9540 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9541 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9542 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9543 * config/frv/t-frv: New file.
9544 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9545 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9546 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9547 New files.
9548 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9549 refer to cygming-crtbegin.c, cygming-crtend.c.
9550 Use $<.
9551 * config/i386/t-nto: New file.
9552 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9553 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9554 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9555 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9556 Use .S extension.
9557 Use $<.
9558 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9559 (crtinitS.o): New rule.
9560 * config/ia64/vms-crtinit.S: New file.
9561 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9562 * config/m32r/initfini.c: New file.
9563 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9564 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9565 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9566 * config/mep/t-mep: New file.
9567 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9568 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9569 * config/mips/crti.S, config/mips/crtn.S: New files.
9570 * config/mips/t-crtstuff: New file.
9571 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9572 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9573 (CUSTOM_CRTIN): Set.
9574 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9575 dependencies.
9576 Use $(srcdir) to refer to crti.S, crtn.S.
9577 Use .S extension, $<.
9578 * config/moxie/crti.asm: Rename to ...
9579 * config/moxie/crti.S: ... this.
9580 * config/moxie/crtn.asm: Rename to ...
9581 * config/moxie/crtn.S: ... this.
9582 * config/moxie/t-moxie: Remove.
9583 * config/pa/stublib.c: New file.
9584 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9585 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9586 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9587 * config/rs6000/t-crtstuff: New file.
9588 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9589 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9590 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9591 Make output file explicit.
9592 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9593 Make output file explicit.
9594 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9595 Make output file explicit.
9596 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9597 Make output file explicit.
9598 * config/score/crti.S, config/score/crtn.S: New files.
9599 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9600 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9601 files.
9602 * config/sh/t-sh, config/sh/t-superh: New files.
9603 * config/sparc/t-linux64: New file.
9604 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9605 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9606 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9607 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9608 * config/t-crtin: Remove.
9609 * config/t-crtstuff-pic: New file.
9610 * config/t-sol2 (CUSTOM_CRTIN): Set.
9611 (crti.o, crtn.o): New rules.
9612 * config/vms/t-vms: New file.
9613 * config/vms/vms-ucrt0.c: New file.
9614 * config/xtensa/t-elf: New file.
9615
b040f2be
RO
96162011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9617
9618 * Makefile.in (SHLIB_NM_FLAGS): Set.
9619 * mkmap-flat.awk, mkmap-symver.awk: New files.
9620 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9621 exceptions.
9622 * configure: Regenerate.
9623 * config/libgcc-glibc.ver: New file.
9624 * config/libgcc-libsystem.ver: New file.
9625 * config/t-libunwind (SHLIB_LC): Set.
9626 * config/t-linux: New file.
9627 * config/t-slibgcc (INSTALL_SHLIB): New.
9628 (SHLIB_INSTALL): Use it.
9629 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9630 to mkmap-symver.awk.
9631 (SHLIB_MAPFILES): Don't append, adapt pathname.
9632 (SHLIB_VERPFX): Set.
9633 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9634 to mkmap-symver.awk.
9635 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9636 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9637 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9638 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9639 to mkmap-flat.awk.
9640 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9641 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9642 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9643 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9644 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9645 * config/i386/libgcc-darwin.10.4.ver,
9646 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9647 New files.
9648 * config/i386/t-darwin: Remove.
9649 * config/i386/t-darwin64: Likewise.
9650 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9651 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9652 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9653 * config/i386/t-linux: New file.
9654 * config/i386/t-mingw32: New file.
9655 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9656 * config/ia64/t-glibc: Rename to ...
9657 * config/ia64/t-linux: ... this.
9658 (SHLIB_MAPFILES): Set.
9659 * config/ia64/t-glibc-libunwind: Rename to ...
9660 * config/ia64/t-linux-libunwind: ... this.
9661 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9662 * config/ia64/t-slibgcc-hpux: New file.
9663 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9664 * config/m68k/t-slibgcc-elf-ver: New file.
9665 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9666 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9667 to mkmap-flat.awk.
9668 * config/pa/t-slibgcc-hpux: New file.
9669 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9670 files.
9671 * config/rs6000/libgcc-darwin.10.4.ver,
9672 config/rs6000/libgcc-darwin.10.5.ver: New files.
9673 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9674 config/rs6000/libgcc-glibc.ver.
9675 * config/rs6000/libgcc-ppc64.ver: Rename to
9676 config/rs6000/libgcc-ibm-ldouble.ver.
9677 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9678 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9679 * config/rs6000/t-ldbl128: Rename to ...
9680 * config/rs6000/t-linux: ... this.
9681 (SHLIB_MAPFILES): Adapt filename.
9682 * config/rs6000/t-slibgcc-aix: New file.
9683 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9684 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9685 libgcc-excl.ver, libgcc-glibc.ver.
9686 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9687 * config/sparc/libgcc-glibc.ver: New file.
9688 * config/sparc/t-linux: New file.
9689 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9690 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9691 t-slibgcc-elf-ver to tmake_file.
9692 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9693 *-*-freebsd[34].
9694 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9695 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9696 t-slibgcc-elf-ver, t-linux to tmake_file.
9697 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9698 tmake_file.
9699 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9700 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9701 (alpha*-dec-*vms*): Likewise.
9702 (arm*-*-freebsd*): Append to tmake_file.
9703 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9704 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9705 arm*-*-linux-*eabi.
9706 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9707 tmake_file for arm*-*-symbianelf*.
9708 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9709 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9710 cris/t-linux.
9711 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9712 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9713 pa/t-slibgcc-dwarf-ver to tmake_file.
9714 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9715 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9716 (hppa*64*-*-hpux11*): Likewise.
9717 (hppa[12]*-*-hpux11*): Likewise.
9718 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9719 i386/t-crtpc, i386/t-crtfm.
9720 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9721 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9722 to tmake_file.
9723 Add i386/t-cygwin to tmake_file.
9724 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9725 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9726 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9727 to tmake_file.
9728 Add i386/t-mingw32 to tmake_file.
9729 (x86_64-*-mingw*): Likewise.
9730 (ia64*-*-freebsd*): Append to tmake_file.
9731 (ia64*-*-linux*): Append to tmake_file.
9732 Replace ia64/t-glibc by ia64/t-linux.
9733 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9734 system libunwind.
9735 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9736 t-slibgcc-hpux to tmake_file.
9737 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9738 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9739 (m32rle-*-linux*): Likewise.
9740 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9741 sjlj exceptions.
9742 (microblaze*-linux*): New case.
9743 Append to tmake_file, add t-slibgcc-nolc-override.
9744 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9745 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9746 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9747 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9748 rs6000/t-slibgcc-aix to tmake_file.
9749 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9750 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9751 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9752 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9753 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9754 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9755 sh*-*-linux*.
9756 (sparc-*-linux*): Append to tmake_file for *-leon*.
9757 Add sparc/t-linux to tmake_file for non-Leon targets.
9758 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9759 (tic6x-*-uclinux): New case.
9760 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9761 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9762 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9763 (am33_2.0-*-linux*): Append to tmake_file.
9764 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9765 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9766 x86_64-*-kfreebsd*-gnu.
9767 Add i386/t-linux to tmake_file.
9768
18b4bd7b
ILT
97692011-10-28 Ian Lance Taylor <iant@google.com>
9770
9771 * config/i386/morestack.S: Correct CFI information to do proper
9772 returns throughout function. In 32-bit mode, save %ebx so that it
9773 is restored on unwind.
9774
5b2d9d90
BS
97752011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9776
9777 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9778 case where B3 isn't the return register.
9779
0d53e346
BS
9780 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9781 logic for doubleword pops.
9782
cbffbd59
AT
97832011-10-25 Andreas Tobler <andreast@fgznet.ch>
9784
9785 * config/rs6000/t-freebsd: Add wildcard.
9786
56dc349e
PB
97872011-10-21 Paul Brook <paul@codesourcery.com>
9788
9789 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9790
1e06b07d
UB
97912011-10-16 Uros Bizjak <ubizjak@gmail.com>
9792 Eric Botcazou <ebotcazou@adacore.com>
9793
9794 PR target/50737
9795 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9796 fs->signal_frame to 1.
9797
b5204884
ILT
97982011-10-07 Ian Lance Taylor <iant@google.com>
9799
9800 * generic-morestack-thread.c: #include <errno.h>.
9801
91a639a1
ILT
98022011-10-07 Ian Lance Taylor <iant@google.com>
9803
9804 PR target/46093
9805 * generic-morestack.c (__generic_morestack): Make sure the segment
9806 is large enough for both the stack frame and the copied
9807 parameters.
9808
cc49116d
RO
98092011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9810
9811 PR bootstrap/49804
9812 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9813 extra_parts.
9814
2996d8c3
NC
98152011-09-28 Nick Clifton <nickc@redhat.com>
9816
9817 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9818 64-bit doubles are not enabled.
9819 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9820 and floatunsisf functions.
9821
1e874273 98222011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 9823
1e874273
PB
9824 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9825 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9826 * unwind-arm-common.inc: New file.
9827 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9828 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9829 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9830 * config/c6x/libunwind.S: New file.
9831 * config/c6x/pr-support.c: New file.
9832 * config/c6x/unwind-c6x.c: New file.
9833 * config/c6x/unwind-c6x.h: New file.
9834 * config/c6x/t-c6x-elf: New file.
9835
f70c879a
UB
98362011-08-23 Uros Bizjak <ubizjak@gmail.com>
9837
9838 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9839 (ASM_DIVZERO): Ditto.
9840 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9841
c55b374b
RS
98422011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9843
9844 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9845
1e138510
RS
98462011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9847
9848 PR target/50090
9849 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9850 instead of an assembly one.
9851
1563503d
PB
98522011-08-12 Paolo Bonzini <bonzini@gnu.org>
9853
9854 PR bootstrap/50047
9855 * Makefile.in (install-unwind_h): Create
9856 $(gcc_objdir)/include/unwind.h atomically.
9857
3627ac1a
RO
98582011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9859
9860 * Makefile.in (install-unwind_h): Remove destination file first.
9861
c6412d86
RO
98622011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9863
9864 * sync.c: New file.
9865 * config/mips/t-mips16: New file.
9866 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9867 (mips*-*-linux*): Likewise.
9868 (mips*-sde-elf*): Likewise.
9869 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9870 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9871 Add mips/t-mips16 to tmake_file.
9872 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9873 (mips-*-elf*): Likewise.
9874 (mips64-*-elf*): Likewise.
9875 (mips64orion-*-elf*): Likewise.
9876 (mips*-*-rtems*): Likewise.
9877 (mipstx39-*-elf*): Likewise.
9878 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9879 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9880 LIBGCC_SYNC_CFLAGS.
9881 Use $(srcdir) to refer to sync.c.
9882 Use $<.
9883 ($(libgcc-sync-funcs-o)): Likewise.
9884 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9885 ($(libgcc-sync-funcs-s-o)): Likewise.
9886
3cb6e5bd
AS
98872011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9888
9889 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9890 t-libunwind.
9891
cca2207a
L
98922011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9893
9894 PR other/48007
9895 * config/i386/value-unwind.h: New.
9896
ed39fbad
RS
98972011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9898
9899 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9900 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9901 Add to tmake_file rather than overriding it.
9902
aca0b0b3
RO
99032011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9904
9905 * config/t-softfp: Remove.
9906 * soft-fp: Moved from ../gcc/config.
9907 * soft-fp/README: Remove t-softfp reference.
9908 * soft-fp/t-softfp: Move to config/t-softfp.
9909 (softfp_machine_header): Remove.
9910 (softfp_file_list): Remove config subdir.
9911 (soft-fp-objects): New variable.
9912 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9913 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9914 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9915 * config/t-softfp-excl: New file.
9916 * config/t-softfp-sfdf: New file.
9917 * config/t-softfp-tf: New file.
9918 * config/no-sfp-machine.h: New file.
9919 * config/arm/sfp-machine.h: New file.
9920 * config/arm/t-softfp: New file.
9921 * config/c6x/sfp-machine.h: New file.
9922 * config/i386/32/t-fprules-softfp: Rename to ...
9923 * config/i386/32/t-softfp: ... this.
9924 (tifunctions, LIB2ADD): Remove.
9925 (softfp_int_modes): Override.
9926 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9927 subdir.
9928 * config/i386/64/eqtf2.c: Likewise.
9929 * config/i386/64/getf2.c: Likewise.
9930 * config/i386/64/letf2.c: Likewise.
9931 * config/ia64/sft-machine.h: New file.
9932 * config/ia64/t-fprules-softfp: Rename to ...
9933 * config/ia64/t-softfp: ... this.
9934 * config/lm32/sfp-machine.h: New file.
9935 * config/moxie/t-moxie-softfp: Remove.
9936 * config/rs6000/ibm-ldouble-format: New file.
9937 * config/rs6000/ibm-ldouble.c: New file.
9938 * config/rs6000/libgcc-ppc-glibc.ver: New file
9939 * config/rs6000/libgcc-ppc64.ver: New file
9940 * config/rs6000/sfp-machine.h: New file.
9941 * config/rs6000/t-freebsd: New file.
9942 * config/rs6000/t-ibm-ldouble: New file.
9943 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9944 libgcc-ppc-glibc.ver.
9945 * config/rs6000/t-linux64: New file.
9946 * config/rs6000/t-ppccomm (LIB2ADD): Add
9947 $(srcdir)/config/rs6000/ibm-ldouble.c.
9948 * config/rs6000/t-ppccomm-ldbl: New file.
9949 * config/score/sfp-machine.h: New file.
9950 * config.host (sfp_machine_header): Explain.
9951 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9952 t-softfp to tmake_file.
9953 (arm*-*-uclinux*): Likewise.
9954 (arm*-*-ecos-elf): Likewise.
9955 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9956 (arm*-*-rtems*): Likewise.
9957 (arm*-*-elf): Likewise.
9958 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9959 in tmake_file.
9960 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9961 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9962 (lm32-*-uclinux*): Likewise.
9963 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9964 t-softfp-excl, t-softfp.
9965 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9966 (powerpc64-*-darwin*): Likewise.
9967 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9968 to tmake_file.
9969 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9970 tmake_file.
9971 (powerpc-*-eabisim*): Likewise.
9972 (powerpc-*-elf*): Likewise.
9973 (powerpc-*-eabialtivec*): Likewise.
9974 (powerpc-xilinx-eabi*): Likewise.
9975 (powerpc-*-rtems*): Likewise.
9976 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9977 t-softfp-excl, t-softfp to tmake_file.
9978 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9979 rs6000/t-ppccomm-ldbl to tmake_file.
9980 (powerpcle-*-elf*): Likewise.
9981 (powerpcle-*-eabisim*): Likewise.
9982 (powerpcle-*-eabi*): Likewise.
9983 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9984 rs6000/t-ibm-ldouble to tmake_file.
9985 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9986 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9987 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9988 (tic6x-*-*): Likewise.
9989 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9990 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9991 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9992 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9993 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9994 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9995 t-softfp to tmake_file.
9996 * configure.ac (sfp_machine_header): Provide default if unset.
9997 Substitute.
9998 Link sfp-machine.h to config/$sfp_machine_header.
9999 * configure: Regenerate.
10000
569dc494
RO
100012011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10002
10003 * Makefile.in (double_type_size, long_double_type_size): Set.
10004 Remove $(fpbit-in-libgcc) support.
10005 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10006 (fpbit-src): New variable.
10007 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10008 Compile with -DFLOAT $(FPBIT_CFLAGS).
10009 Use $<.
10010 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10011 Compile with $(FPBIT_CFLAGS).
10012 Use $<.
10013 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10014 Compile with -DFLOAT $(TPBIT_CFLAGS).
10015 Use $<.
10016 * configure.ac (double_type_size, long_double_type_size):
10017 Determine and substitute.
10018 * configure: Regenerate.
10019 * fp-bit.c, fp-bit.h: New files.
10020 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10021 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10022 * config/mips/t-mips: New file.
10023 * config/mips/t-sdemtk: New file.
10024 * config/rs6000/ppc64-fp.c: New file.
10025 * config/rs6000/t-darwin (LIB2ADD): Add
10026 $(srcdir)/config/rs6000/ppc64-fp.c.
10027 * config/rs6000/t-ppc64-fp: New file.
10028 * config/rx/rx-lib.h: New file.
10029 * config/rx/t-rx (FPBIT): Set to true.
10030 ($(gcc_objdir)/fp-bit.c): Remove.
10031 (DPBIT): Set to true only with -m64bit-doubles.
10032 ($(gcc_objdir)/dp-bit.c): Remove.
10033 * config/sparc/t-softfp: Remove.
10034 * config/spu/t-elf: New file.
10035 * config/t-fdpbit, config/t-fpbit: New files.
10036 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10037 (mips*-*-*): Likewise.
10038 (arm-wrs-vxworks): Likewise.
10039 (arm*-*-freebsd*): Likewise.
10040 (avr-*-rtems*): Add t-fpbit to tmake_file.
10041 (avr-*-*): Likewise.
10042 (bfin*-elf*): Add t-fdpbit to tmake_file.
10043 (bfin*-uclinux*): Likewise.
10044 (bfin*-linux-uclibc*): Likewise.
10045 (bfin*-rtems*): New case.
10046 Add t-fdpbit to tmake_file.
10047 (bfin*-*): Add t-fdpbit to tmake_file.
10048 (crisv32-*-elf): Likewise.
10049 (cris-*-linux*): Likewise.
10050 (fr30-*-elf): Likewise.
10051 (frv-*-elf, frv-*-*linux*): Likewise.
10052 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10053 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10054 (m32r-*-elf*): Likewise.
10055 (m32rle-*-elf*): Likewise.
10056 (m32r-*-linux*): Likewise.
10057 (m32rle-*-linux*): Likewise.
10058 (mcore-*-elf): Add t-fdpbit to tmake_file.
10059 (microblaze*-*-*): Likewise.
10060 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10061 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10062 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10063 Fix typo.
10064 Add mips/t-tpbit to tmake-file.
10065 (mips*-*-linux*): Fix typo.
10066 (mips*-sde-elf*): New case
10067 Add mips/t-sdemtk unless using newlib.
10068 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10069 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10070 (mn10300-*-*): Likewise.
10071 (pdp11-*-*): Likewise.
10072 (picochip-*-*): Add t-fpbit to tmake_file.
10073 (powerpc-*-eabisimaltivec*): Likewise.
10074 (powerpc-*-eabisim*): Likewise.
10075 (powerpc-*-elf*): Likewise.
10076 (powerpc-*-eabialtivec*): Likewise.
10077 (powerpc-xilinx-eabi*): New case.
10078 Add t-fdpbit to tmake_file.
10079 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10080 (powerpc-*-rtems*): Likewise.
10081 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10082 tmake_file.
10083 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10084 tmake_file.
10085 (powerpc-*-lynxos*): Likewise.
10086 (powerpcle-*-elf*): Likewise.
10087 (powerpcle-*-eabisim*): Likewise.
10088 (powerpcle-*-eabi*): Likewise.
10089 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10090 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10091 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10092 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10093 (rx-*-elf): Add t-fdpbit to tmake_file.
10094 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10095 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10096 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10097 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10098 sh*-*-netbsd*.
10099 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10100 (sh-wrs-vxworks): Likewise.
10101 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10102 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10103 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10104 (sparc64-*-rtems*): ... new case.
10105 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10106 (spu-*-elf*): Likewise.
10107 Add spu/t-elf to tmake_file.
10108 (v850*-*-*): Add t-fdpbit to tmake_file.
10109 (xstormy16-*-elf): Likewise.
10110 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10111 (mep*-*-*): Likewise.
10112
201cdb74
RO
101132011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10114
10115 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10116 variables.
10117 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10118 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10119 (install-unwind_h): New target.
10120 (all): Depend on it.
10121 * config.host (unwind_header): New variable.
10122 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10123 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10124 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10125 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10126 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10127 Set unwind_header.
10128 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10129 Set unwind_header.
10130 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10131 arm*-*-eabi*.
10132 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10133 Set unwind_header.
10134 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10135 (ia64*-*-freebsd*): Likewise.
10136 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10137 tmake_file.
10138 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10139 $with_system_libunwind.
10140 (ia64*-*-hpux*): Set tmake_file.
10141 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10142 (picochip-*-*): Set tmake_file.
10143 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10144 md_unwind_header.
10145 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10146 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10147 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10148 (xtensa*-*-elf*): Set tmake_file.
10149 (xtensa*-*-linux*): Likewise.
10150 * configure.ac: Include ../config/unwind_ipinfo.m4.
10151 Call GCC_CHECK_UNWIND_GETIPINFO.
10152 Link unwind.h to $unwind_header.
10153 * configure: Regenerate.
10154 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10155 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10156 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10157 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10158 * config/unwind-dw2-fde-darwin.c: New file.
10159 * config/arm/libunwind.S, config/arm/pr-support.c,
10160 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10161 config/arm/unwind-arm.h,: New files.
10162 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10163 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10164 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10165 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10166 config/ia64/unwind-ia64.h: New files.
10167 * config/picochip/t-picochip: New file.
10168 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10169 files.
10170 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10171 * config/s390/t-tpf (LIB2ADDEH): Remove.
10172 * config/t-darwin (LIB2ADDEH): Set.
10173 * config/t-eh-dw2-dip: New file.
10174 * config/t-libunwind, config/t-libunwind-elf: New files.
10175 * config/t-sol2 (LIB2ADDEH): Remove.
10176 * config/xtensa/t-xtensa: New file.
10177
40f2f11f
L
101782011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10179
10180 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10181 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10182 long long to check rt_sigreturn syscall.
10183
bd15e32c
AM
101842011-08-02 Alan Modra <amodra@gmail.com>
10185
10186 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10187 Restore for indirect call bcrtl from correct stack slot, and only
10188 if cfa+40 isn't valid.
10189
655b30bf
JB
101902011-08-01 Julian Brown <julian@codesourcery.com>
10191
10192 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10193 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10194 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10195
247eb06f
JB
101962011-08-01 Julian Brown <julian@codesourcery.com>
10197
10198 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10199 (libgcc-std.ver.in): Use above.
10200 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10201 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10202 throughout file.
10203 * config/t-fixedpoint-gnu-prefix: New file.
10204 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10205 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10206 instead of __PFX__.
10207
02a8fe00
L
102082011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10209
10210 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10211 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10212 for x86-64. Properly check __x86_64__ and __LP64__.
10213
5fce9126
L
102142010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10215
10216 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10217 version.
10218 (_FP_WS_TYPE): Likewise.
10219 (_FP_I_TYPE): Likewise.
10220
2374a88a
AM
102212011-07-28 Alan Modra <amodra@gmail.com>
10222
10223 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10224 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10225 in a plt call stub. Do restore r2 if stopped on bctrl.
10226
e44dbbe1
RO
102272011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10228
10229 * config.host (i[3456x]86-*-netware*): Remove.
10230 * config/i386/netware-crt0.c, config/i386/t-nwld,
10231 config/i386/t-slibgcc-nwld: Remove.
10232
bcead286
BS
102332011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10234
10235 * config.host: Handle tic6x-*-*.
10236 * config/c6x/c6x-abi.h: New file.
10237
b3fe1584
RO
102382011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10239
10240 * config/i386/crtprec.c: New file.
10241 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10242 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10243 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10244 (x86_64-*-darwin*): Likewise.
10245 (i[34567]86-*-solaris2*: Likewise.
10246
35d8090d
RO
102472011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10248
10249 * config/alpha/crtfastmath.c: New file.
10250 * config/i386/crtfastmath.c: New file.
10251 * config/ia64/crtfastmath.c: New file.
10252 * config/mips/crtfastmath.c: New file.
10253 * config/sparc/crtfastmath.c: New file.
10254
10255 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10256 crtfastmath.c.
10257 Add -frandom-seed=gcc-crtfastmath.
10258 * config/alpha/t-crtfm: Remove.
10259 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10260 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10261
10262 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10263 (alpha*-dec-osf5.1*): Likewise.
10264 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10265 Add crtfastmath.o to extra_parts.
10266 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10267 Add crtfastmath.o to extra_parts.
10268 (x86_64-*-darwin*): Likewise.
10269 (x86_64-*-mingw*): Likewise.
10270 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10271 (ia64*-*-freebsd*): Likewise.
10272 (ia64*-*-linux*): Likewise.
10273 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10274 Add crtfastmath.o to extra_parts.
10275
e141542e
RO
102762011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10277
10278 * config/darwin-crt3.o: New file.
10279 * config/rs6000/darwin-crt2.c: New file.
10280 * config/t-darwin: New file.
10281 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10282 (crt2.o): New rule.
10283 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10284 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10285 (powerpc64-*-darwin*): Likewise.
10286
2d1efe2d
RO
102872011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10288
10289 * config/i386/netware-crt0.c: New file.
10290 * config/i386/t-nwld: Rename to ...
10291 * config/i386/t-slibgcc-nwld: ... this.
10292 * config/i386/t-nwld: New file.
10293 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10294 tmake_file.
10295 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10296 extra_parts.
10297
4a8bb046
RO
102982011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10299
10300 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10301 i386/t-crtstuff.
10302 * configure: Regenerate.
10303
2d8d5935
RO
103042011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10305
10306 * dfp-bit.c, dfp-bit.h: New files.
10307 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10308 variables.
10309 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10310 ($(d64pbit-o)): Likewise.
10311 ($(d128pbit-o)): Likewise.
10312 * config/t-dfprules: New file.
10313 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10314 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10315 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10316 (x86_64-*-linux*): Likewise.
10317 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10318 (i[34567]86-*-cygwin*): Likewise.
10319 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10320 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10321
2c50b2c3
RO
103222011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10323
10324 * Makfile.in (LIBGCOV): New variable.
10325 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10326 * libgcov.c: New file.
10327
a039d7c2
RO
103282011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10329
10330 * fixed-bit.c, fixed-bit.h: New files.
10331 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10332 refer to fixed-bit.c.
10333
1e4b2746
JM
103342011-07-07 Joseph Myers <joseph@codesourcery.com>
10335
10336 * config.host (*local*): Remove.
10337
fbdd5d87
RO
103382011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10339
10340 PR target/39150
10341 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10342 like i?86-*-solaris2.1[0-9]*.
10343 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10344 * configure.ac (i?86-*-solaris2*): Likewise.
10345 * configure: Regenerate.
10346
9e7714f4
TS
103472011-07-06 Thomas Schwinge <thomas@schwinge.name>
10348
10349 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10350 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10351 md_unwind_header by splitting out of...
10352 (i[34567]86-*-linux*): ... this.
10353 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10354 Remove md_unwind_header by splitting out of...
10355 (x86_64-*-linux*): ... this.
10356
6dab9931
GJL
103572011-07-04 Georg-Johann Lay <avr@gjlay.de>
10358
10359 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10360
4be46d19
NC
103612011-06-28 Nick Clifton <nickc@redhat.com>
10362
10363 * config.host: Recognize all V850 variants.
10364
1da9434b
UB
103652011-06-22 Uros Bizjak <ubizjak@gmail.com>
10366
10367 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10368
e4d48a4d
RO
103692011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10370
10371 * shared-object.mk (c_flags-$o): Save c_flags.
10372 ($(base)$(objext)): Use it.
10373 ($(base)_s$(objext)): Likewise.
10374
3801c801
BS
103752011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10376
10377 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10378 * libgcc-std.ver.in (GCC_4.7.0): New section.
10379
0ad8bb3b 103802011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 10381
0ad8bb3b
GJL
10382 PR target/49313
10383 PR target/29524
10384 * config/avr/t-avr: Fix line endings.
10385 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10386 _parityXX2.
10387
ea963999
OH
103882011-06-14 Olivier Hainque <hainque@adacore.com>
10389 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10390
10391 * config/mips/irix6-unwind.h: New file.
10392 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10393
b11b0904
EB
103942011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10395
10396 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10397 (sparc64_fallback_frame_state): Use it.
10398 (sparc64_frob_update_context): Further adjust context.
10399 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10400 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10401 * config/sparc/sol2-cn.S: Likewise.
10402
10e48e39
RO
104032011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10404
10405 * enable-execute-stack-empty.c: New file.
10406 * enable-execute-stack-mprotect.c: New file.
10407 * config/i386/enable-execute-stack-mingw32.c: New file.
10408 * config.host (enable_execute_stack): New variable.
10409 Select appropriate variants.
10410 * configure.ac: Link enable-execute-stack.c to
10411 $enable_execute_stack.
10412 * configure: Regenerate.
10413 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10414 (lib2funcs): Remove _enable_execute_stack.
10415
10c4cabc
DM
104162011-06-09 David S. Miller <davem@davemloft.net>
10417 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10418
10419 * config.host (sparc-*-linux*): Correct md_unwind_header
10420 filename.
10421 (s390x-ibm-tpf*): Fix typo.
10422
aa4203e7
RO
104232011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10424
10425 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10426 Add crtfastmath.o to extra_parts.
10427 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10428 mips/t-crtfm.
10429 * config/mips/t-crtfm: Remove.
10430
0defd786
JDA
104312011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10432
10433 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10434
82f247af
KK
104352011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10436
10437 * config.host (sh*-*-linux*): Fix typo.
10438
58cd1d70
RO
104392011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10440
10441 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10442 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10443 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10444 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10445 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10446 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10447 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10448 Wrap in !__MINGW64__.
10449 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10450 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10451 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10452 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10453 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10454 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10455 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10456 Wrap in !__LP64__.
10457 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10458 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10459 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10460 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10461 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10462 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10463 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10464 * config/no-unwind.h: New file.
10465 * config.host (md_unwind_header): Document.
10466 Define.
10467 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10468 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10469 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10470 hppa[12]*-*-hpux11*): Set md_unwind_header.
10471 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10472 Set md_unwind_header.
10473 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10474 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10475 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10476 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10477 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10478 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10479 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10480 md_unwind_header.
10481 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10482 * configure: Regenerate.
10483
737346fa
RO
104842011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10485
10486 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10487 Set tmake_file, extra_parts.
10488 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10489 Remove O32 support.
10490 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10491 Remove O32 support.
10492 * config/mips/t-irix6: New file.
10493 * config/mips/t-slibgcc-irix: New file.
10494
c192cee6
RO
104952011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10496
10497 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10498 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10499
ee33b5f0
RO
105002011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10501
10502 * configure.ac (target_thread_file): Determine thread model.
10503 * configure: Regenerate.
10504 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10505 * config/alpha/t-alpha: New file.
10506 * config/alpha/t-crtfm: Use $<.
10507 * config/alpha/t-ieee: New file.
10508 * config/alpha/t-osf-pthread: New file.
10509 * config/alpha/t-slibgcc-osf: New file.
10510 * config/alpha/libgcc-osf5.ver: New file.
10511
0699e415
RO
105122011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10513
10514 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10515 tmake_file.
10516 Add crtfastmath.o to extra_parts.
10517
a3fab9c2
RO
105182011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10519
10520 * config/gmon-sol2.c: Reindent.
10521 Cleanup comments.
10522 Remove, correct casts.
10523 Use STDERR_FILENO, NULL.
10524 (BASEADDRESS): Remove.
10525 (minbrk): Remove.
10526 (errno, sbrk): Remove declarations.
10527 (monstartup) [hp300]: Remove.
10528 (mcount): Remove.
10529
ca24c5ad
RO
105302011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10531
10532 * Makefile.in (cpu_type): Define.
10533 * config.host (i[34567]86-*-rtems*): Handle it.
10534 (i[34567]86-*-solaris2*): Move body ...
10535 (*-*-solaris2*): ... here.
10536 New case, generalize.
10537 (sparc-*-elf*): Handle it.
10538 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10539 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10540 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10541 Fold into ...
10542 (sparc*-*-solaris2*): ... this.
10543 New case.
10544 (sparc64-*-elf*): Handle it.
10545 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10546 Merge ../gcc/config/i386/gmon-sol2.c.
10547 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10548 Use C comments.
10549 Merge ../gcc/config/i386/sol2-gc1.asm.
10550 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10551 Use C comments.
10552 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10553 Use C comments.
10554 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10555 * config/i386/t-crtstuff: New file.
10556 * config/i386/t-softfp: New file.
10557 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10558 $(T)crti.o, $(T)crtn.o): Remove.
10559 (gcrt1.o): New rule.
10560 (TARGET_LIBGCC2_CFLAGS): Remove.
10561 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10562 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10563 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10564 * config/sparc/t-sol2: New file.
10565 * config/sparc/t-crtfm: Move to ...
10566 * config/t-crtfm: ... this.
10567 Use $(cpu_type), $<.
10568 * config/t-crtin: New file.
10569 * config/sparc/t-softfp: New file.
10570 * config/sparc/t-softmul: New file.
10571 * config/t-rtems: New file.
10572 * config/t-slibgcc: New file.
10573 * config/t-slibgcc-elf-ver: New file.
10574 * config/t-slibgcc-gld: New file.
10575 * config/t-slibgcc-sld: New file.
10576 * config/t-sol2: New file.
10577 * configure.ac: Include ../config/lib-ld.m4.
10578 Call AC_LIB_PROG_LD_GNU.
10579 Substitute cpu_type.
10580 * configure: Regenerate.
10581
ad5f3d7b
BS
105822011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10583
10584 PR bootstrap/49173
10585 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10586 libgcc-std.ver in the build directory.
10587 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10588 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10589
cdbf4541
BS
105902011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10591
10592 * libgcc-std.ver.in: New file.
10593 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10594 variables.
10595 (libgcc-std.ver): New rule.
10596 * config/t-gnu-prefix: New file.
10597
c8028650
RO
105982011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10599
10600 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10601
4a68b4ca
JM
106022011-05-10 Joseph Myers <joseph@codesourcery.com>
10603
10604 * config/i386/darwin-lib.h: New file.
10605
80cf2e08
JM
106062011-05-10 Joseph Myers <joseph@codesourcery.com>
10607
10608 * config/arm/symbian-lib.h: New.
10609
a3330c9d
CD
106102011-05-04 Chris Demetriou <cgd@google.com>
10611
10612 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10613 (__x86.get_pc_thunk.bx): ...this.
10614 (__morestack): Adjust for rename, remove undef of __i686.
10615
6ace0756
CD
106162011-05-03 Chris Demetriou <cgd@google.com>
10617
10618 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10619
ebb9f8b0
JM
106202011-03-22 Joseph Myers <joseph@codesourcery.com>
10621
10622 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10623 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10624 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10625 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10626 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10627 Remove cases.
10628
9cfa1499
AT
106292011-03-14 Andreas Tobler <andreast@fgznet.ch>
10630
10631 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10632 Adjust copyright year.
10633
457186f6
ILT
106342011-03-07 Ian Lance Taylor <iant@google.com>
10635
10636 * generic-morestack.c (__splitstack_find): Adjust returned stack
10637 pointer to include all registers pushed by __morestack.
10638
58c741a6
DK
106392011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10640
10641 PR target/40125
10642 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10643 (toolexecdir): Calculate and AC_SUBST.
10644 (toolexeclibdir): Likewise.
10645 * Makefile.in (target_noncanonical): Import.
10646 (toolexecdir): Likewise.
10647 (toolexeclibdir): Likewise.
10648 * configure: Regenerate.
10649
26716c44
NF
106502010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10651
10652 PR target/46040
10653 * config/arm/bpabi.h: Rename to...
10654 * config/arm/bpabi-lib.h: ...this.
10655
b595b1a1
RO
106562010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10657
10658 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10659 appropriate.
10660 * configure: Regenerate.
10661
a3abe41c
NF
106622010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10663
10664 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10665 __FLOAT_WORD_ORDER__.
10666 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10667 Delete.
10668
455c8f48
RW
106692010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10670
10671 PR other/46202
10672 * Makefile.in (install-strip): New phony target.
10673
f3824a8b
ILT
106742010-11-07 Ian Lance Taylor <iant@google.com>
10675
10676 PR target/46089
10677 * config/i386/morestack.S (__morestack_large_model): New
10678 function.
10679
18ed6ee4
NF
106802010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10681
10682 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10683 Delete.
10684 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10685
8ac7fdcb
NF
106862010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10687
10688 * config/arm/bpabi.h: New file.
10689 * config/frv/frv-abi.h: New file.
10690
cdb388c2
ILT
106912010-10-01 Ian Lance Taylor <iant@google.com>
10692
10693 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10694 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10695
ef7c141c
L
106962010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10697
10698 PR target/45858
10699 * config.host: Add the missing `$'.
10700
80920132
ME
107012010-09-30 Michael Eager <eager@eagercon.com>
10702
10703 * config.host: Add microblaze*-*-*.
10704 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10705 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10706 udivsi3.asm,umodsi3.asm}: New.
10707
6dace308
ILT
107082010-09-28 Ian Lance Taylor <iant@google.com>
10709
10710 * configure.ac: Adjust CFI test to test assembler directly rather
10711 than checking gcc preprocessor macro.
10712 * configure: Rebuild.
10713
b6110d6d
ILT
107142010-09-27 Ian Lance Taylor <iant@google.com>
10715
10716 * configure.ac: Test whether assembler supports CFI directives.
10717 * config.host: Only add t-stack and i386/t-stack-i386 to
10718 tmake_file if libgcc_cv_cfi is "yes".
10719 * configure: Rebuild.
10720
7458026b
ILT
107212010-09-27 Ian Lance Taylor <iant@google.com>
10722
10723 * generic-morestack.h: New file.
10724 * generic-morestack.c: New file.
10725 * generic-morestack-thread.c: New file.
10726 * config/i386/morestack.S: New file.
10727 * config/t-stack: New file.
10728 * config/i386/t-stack-i386: New file.
10729 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10730 i386/t-stack-i386 to tmake_file.
10731
5b50fc0c
IS
107322010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10733
10734 * Makefile.in (libgcc-extra-parts): Check for static archives and
10735 invoke ranlib after installing them.
10736 (gcc-extra-parts): Likewise.
10737 (install-leaf): Likewise.
10738
b93cf342
L
107392010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10740
10741 * configure: Regenerated.
10742
996b42ef
KT
107432010-09-10 Kai Tietz <kai.tietz@onevision.com>
10744
b93cf342 10745 * configure: Regenerated.
996b42ef 10746
be1c764e
GP
107472010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10748 Andrew Pinski <pinskia@gmail.com>
10749
1da9434b 10750 PR target/40959
be1c764e
GP
10751 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10752
cc0ae0ca
L
107532010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10754
10755 PR target/45524
10756 * configure: Regenerated.
10757
84f47d20
AS
107582010-09-06 Andreas Schwab <schwab@redhat.com>
10759
10760 * configure: Regenerate.
10761
4159fb8d
UB
107622010-09-03 Uros Bizjak <ubizjak@gmail.com>
10763
10764 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10765 64bit targets.
10766 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10767 for 64bit targets.
10768
0df8fcc8
UB
107692010-09-03 Uros Bizjak <ubizjak@gmail.com>
10770 Iain Sandoe <iains@gcc.gnu.org>
10771
10772 PR target/45476
10773 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10774 LIB2FUNCS_EXCLUDE functions.
10775
3c39bca6
AK
107762010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10777
10778 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10779 Include dfp.m4.
10780 * configure: Regenerate.
10781
d78552bd
UB
107822010-09-01 Uros Bizjak <ubizjak@gmail.com>
10783
10784 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10785 i386/t-freebsd to tmake_file.
10786 * config/i386/t-freebsd: New file.
10787 * config/i386/libgcc-bsd.ver: New file.
10788
c5b79d4e
NF
107892010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10790
10791 * config.host (powerpc*-eabispe*): Set tmake_file.
10792 (powerpc*-eabi*): Likewise.
10793 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10794 crtbeginS, crtendS, crtbeginT.
10795
48b09a92
KH
107962010-06-12 Kazu Hirata <kazu@codesourcery.com>
10797
10798 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10799 to tmake_file. Add crtfastmath.o to extra_parts.
10800 * config/mips/t-crtfm: New.
10801
7d296953 108022010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
10803
10804 * config.host (sparc64-*-rtems*): New target.
10805
ed104137
RO
108062010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10807
10808 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10809 assembler syntax.
10810
3f56ef8b
TS
108112010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10812
10813 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10814
8c200350
RO
108152010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10816
10817 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10818 alpha-dec-osf5.0* support.
10819
7d296953 108202010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
10821
10822 * config.host: Add lm32-*-rtems*.
10823
f128db92 108242010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 10825 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
10826
10827 PR target/39048
10828 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10829 like other remaining 32-bit x86 OSes.
10830 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10831 assembler syntax.
10832 * config/i386/libgcc-sol2.ver: New file.
10833 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10834
7d296953 108352010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
10836
10837 PR c/43553
10838 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10839 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10840 is used and substitute set_use_emutls.
10841 * configure: Regenerated.
10842
15baf7f8
TG
108432010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10844
10845 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10846
7f5441df
RO
108472010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10848
10849 PR target/38085
10850 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10851 MULTILIB_CFLAGS.
10852 ($(T)gcrt1.o): Likewise.
10853 ($(T)crt1.o): Likewise.
10854 ($(T)crti.o): Likewise.
10855 ($(T)crtn.o): Likewise.
10856
ef74edbd
RW
108572010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10858
10859 PR other/42980
10860 * Makefile.in (install): Use $(MAKE) string in rule, for
10861 parallel make.
10862
e7c914db
HPN
108632010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10864
10865 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10866 * config/mmix/t-mmix: New file.
10867 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10868
1bcb71c4
JH
108692010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10870
10871 PR java/41991
10872 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10873 SHLIB_MAPFILES.
10874
e6e50811
AG
108752010-01-04 Anthony Green <green@moxielogic.com>
10876
10877 * config/moxie/crti.asm, config/moxie/crtn.asm,
10878 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10879 config/moxie/t-moxie: New files.
10880 * config.host: Add t-moxie-softfp reference.
10881
7d296953 108822009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
10883
10884 PR other/39888
10885 * config/t-slibgcc-darwin: Fix embedded rpaths for
10886 --enable-version-specific-runtime-libs, build extension stub
10887 libs exposing features available from current libgcc_s.
10888
7d296953 108892009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 10890
d78552bd
UB
10891 * config.host: Add lm32 targets.
10892 * config/lm32: New directory.
10893 * config/lm32/libgcc_lm32.h: New file.
10894 * config/lm32/_mulsi3.c: New file.
10895 * config/lm32/_udivmodsi4.c: New file.
10896 * config/lm32/_divsi3.c: New file.
10897 * config/lm32/_modsi3.c: New file.
10898 * config/lm32/_udivsi3.c: New file.
10899 * config/lm32/_umodsi3.c: New file.
10900 * config/lm32/_lshrsi3.S: New file.
10901 * config/lm32/_ashrsi3.S: New file.
10902 * config/lm32/_ashlsi3.S: New file.
10903 * config/lm32/crti.S: New file.
10904 * config/lm32/crtn.S: New file.
10905 * config/lm32/t-lm32: New file.
10906 * config/lm32/t-elf: New file.
10907 * config/lm32/t-uclinux: New file.
aa4945c1 10908
65a324b4
NC
109092009-10-26 Nick Clifton <nickc@redhat.com>
10910
10911 * config.host: Add support for RX target.
10912 * config/rx: New directory.
10913 * config/rx/rx-abi-functions.c: New file. Supplementary
10914 functions for libgcc to support the RX ABI.
10915 * config/rx/rx-abi.h: New file. Supplementary header file for
10916 libgcc RX ABI functions.
10917 * config/rx/t-rx: New file: Makefile fragment for building
10918 libgcc for the RX.
10919
dfb3b0e3
UB
109202009-10-09 Uros Bizjak <ubizjak@gmail.com>
10921
10922 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10923 constraint of y0 to "g".
10924
81dd9fd7
AK
109252009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10926
10927 * config.host: Include the s390 makefile fragments.
10928 * config/s390/32/_fixdfdi.c: New file.
10929 * config/s390/32/_fixsfdi.c: New file.
10930 * config/s390/32/_fixtfdi.c: New file.
10931 * config/s390/32/_fixunsdfdi.c: New file.
10932 * config/s390/32/_fixunssfdi.c: New file.
10933 * config/s390/32/_fixunstfdi.c: New file.
10934 * config/s390/32/t-floattodi: New file.
10935 * config/s390/libgcc-glibc.ver: New file.
10936 * config/s390/t-crtstuff: New file.
10937 * config/s390/t-linux: New file.
10938 * config/s390/t-tpf: New file.
10939
df58e648
RW
109402009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10941
10942 * configure.ac (AC_PREREQ): Bump to 2.64.
10943
79052be3
KK
109442009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10945
10946 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10947
5213506e
RW
109482009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10949
10950 * configure: Regenerate.
10951
a9a25daa
DR
109522009-08-09 Douglas B Rupp <rupp@gnat.com>
10953
10954 * config.host (ia64-hp-*vms*): New target.
10955 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10956 with ia64-hp-*vms*.
10957
6efbd53f
RW
109582009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10959
10960 * configure.ac: Add snippet for maintainer-mode.
10961 * configure: Regenerate.
10962 * Makefile.in (AUTOCONF, configure_deps): New variables.
10963 ($(srcdir)/configure)): New rule, active only with maintainer
10964 mode turned on.
10965
7acf4da6
DD
109662009-06-23 DJ Delorie <dj@redhat.com>
10967
10968 Add MeP port.
10969 * config.host: Add mep support.
10970
54f549af
KT
109712009-06-22 Kai Tietz <kai.tietz@onevision.com>
10972
34481f28 10973 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10974 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
10975
10976 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10977 for mingw targets.
54f549af
KT
10978 * config/i386/64/_multc3.c: Likewise.
10979 * config/i386/64/_powitf2.c: Likewise.
10980 * config/i386/64/eqtf2.c: Likewise.
10981 * config/i386/64/getf2.c: Likewise.
10982 * config/i386/64/letf2.c: Likewise.
10983 * config/i386/64/letf2.c: Likewise.
34481f28
UB
10984 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10985 unsigned long long for x64 mingw targets.
10986 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10987 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 10988
fea96e25
MR
109892009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10990
10991 * config.host (vax-*-linux*): New.
10992
cceb575c
AG
109932009-05-31 Anthony Green <green@moxielogic.com>
10994
10995 * config.host: Add moxie support.
10996 * config/moxie/t-moxie: New file.
10997
7d296953 109982009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
10999
11000 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11001 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 11002
532bfb0a
AJ
110032009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11004
11005 * config.host: Add i386/${host_address}/t-fprules-softfp to
11006 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11007
748086b7
JJ
110082009-04-09 Nick Clifton <nickc@redhat.com>
11009
11010 * config/ia64/tf-signs.c: Change copyright header to refer to
11011 version 3 of the GNU General Public License with version 3.1
11012 of the GCC Runtime Library Exception and to point readers at
11013 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11014 web page.
11015 * config/i386/32/tf-signs.c: Likewise.
11016 * config/libbid/_addsub_dd.c: Likewise.
11017 * config/libbid/_addsub_sd.c: Likewise.
11018 * config/libbid/_addsub_td.c: Likewise.
11019 * config/libbid/_dd_to_df.c: Likewise.
11020 * config/libbid/_dd_to_di.c: Likewise.
11021 * config/libbid/_dd_to_sd.c: Likewise.
11022 * config/libbid/_dd_to_sf.c: Likewise.
11023 * config/libbid/_dd_to_si.c: Likewise.
11024 * config/libbid/_dd_to_td.c: Likewise.
11025 * config/libbid/_dd_to_tf.c: Likewise.
11026 * config/libbid/_dd_to_udi.c: Likewise.
11027 * config/libbid/_dd_to_usi.c: Likewise.
11028 * config/libbid/_dd_to_xf.c: Likewise.
11029 * config/libbid/_df_to_dd.c: Likewise.
11030 * config/libbid/_df_to_sd.c: Likewise.
11031 * config/libbid/_df_to_td.c: Likewise.
11032 * config/libbid/_di_to_dd.c: Likewise.
11033 * config/libbid/_di_to_sd.c: Likewise.
11034 * config/libbid/_di_to_td.c: Likewise.
11035 * config/libbid/_div_dd.c: Likewise.
11036 * config/libbid/_div_sd.c: Likewise.
11037 * config/libbid/_div_td.c: Likewise.
11038 * config/libbid/_eq_dd.c: Likewise.
11039 * config/libbid/_eq_sd.c: Likewise.
11040 * config/libbid/_eq_td.c: Likewise.
11041 * config/libbid/_ge_dd.c: Likewise.
11042 * config/libbid/_ge_sd.c: Likewise.
11043 * config/libbid/_ge_td.c: Likewise.
11044 * config/libbid/_gt_dd.c: Likewise.
11045 * config/libbid/_gt_sd.c: Likewise.
11046 * config/libbid/_gt_td.c: Likewise.
11047 * config/libbid/_isinfd128.c: Likewise.
11048 * config/libbid/_isinfd32.c: Likewise.
11049 * config/libbid/_isinfd64.c: Likewise.
11050 * config/libbid/_le_dd.c: Likewise.
11051 * config/libbid/_le_sd.c: Likewise.
11052 * config/libbid/_le_td.c: Likewise.
11053 * config/libbid/_lt_dd.c: Likewise.
11054 * config/libbid/_lt_sd.c: Likewise.
11055 * config/libbid/_lt_td.c: Likewise.
11056 * config/libbid/_mul_dd.c: Likewise.
11057 * config/libbid/_mul_sd.c: Likewise.
11058 * config/libbid/_mul_td.c: Likewise.
11059 * config/libbid/_ne_dd.c: Likewise.
11060 * config/libbid/_ne_sd.c: Likewise.
11061 * config/libbid/_ne_td.c: Likewise.
11062 * config/libbid/_sd_to_dd.c: Likewise.
11063 * config/libbid/_sd_to_df.c: Likewise.
11064 * config/libbid/_sd_to_di.c: Likewise.
11065 * config/libbid/_sd_to_sf.c: Likewise.
11066 * config/libbid/_sd_to_si.c: Likewise.
11067 * config/libbid/_sd_to_td.c: Likewise.
11068 * config/libbid/_sd_to_tf.c: Likewise.
11069 * config/libbid/_sd_to_udi.c: Likewise.
11070 * config/libbid/_sd_to_usi.c: Likewise.
11071 * config/libbid/_sd_to_xf.c: Likewise.
11072 * config/libbid/_sf_to_dd.c: Likewise.
11073 * config/libbid/_sf_to_sd.c: Likewise.
11074 * config/libbid/_sf_to_td.c: Likewise.
11075 * config/libbid/_si_to_dd.c: Likewise.
11076 * config/libbid/_si_to_sd.c: Likewise.
11077 * config/libbid/_si_to_td.c: Likewise.
11078 * config/libbid/_td_to_dd.c: Likewise.
11079 * config/libbid/_td_to_df.c: Likewise.
11080 * config/libbid/_td_to_di.c: Likewise.
11081 * config/libbid/_td_to_sd.c: Likewise.
11082 * config/libbid/_td_to_sf.c: Likewise.
11083 * config/libbid/_td_to_si.c: Likewise.
11084 * config/libbid/_td_to_tf.c: Likewise.
11085 * config/libbid/_td_to_udi.c: Likewise.
11086 * config/libbid/_td_to_usi.c: Likewise.
11087 * config/libbid/_td_to_xf.c: Likewise.
11088 * config/libbid/_tf_to_dd.c: Likewise.
11089 * config/libbid/_tf_to_sd.c: Likewise.
11090 * config/libbid/_tf_to_td.c: Likewise.
11091 * config/libbid/_udi_to_dd.c: Likewise.
11092 * config/libbid/_udi_to_sd.c: Likewise.
11093 * config/libbid/_udi_to_td.c: Likewise.
11094 * config/libbid/_unord_dd.c: Likewise.
11095 * config/libbid/_unord_sd.c: Likewise.
11096 * config/libbid/_unord_td.c: Likewise.
11097 * config/libbid/_usi_to_dd.c: Likewise.
11098 * config/libbid/_usi_to_sd.c: Likewise.
11099 * config/libbid/_usi_to_td.c: Likewise.
11100 * config/libbid/_xf_to_dd.c: Likewise.
11101 * config/libbid/_xf_to_sd.c: Likewise.
11102 * config/libbid/_xf_to_td.c: Likewise.
11103 * config/libbid/bid128.c: Likewise.
11104 * config/libbid/bid128_2_str.h: Likewise.
11105 * config/libbid/bid128_2_str_macros.h: Likewise.
11106 * config/libbid/bid128_2_str_tables.c: Likewise.
11107 * config/libbid/bid128_add.c: Likewise.
11108 * config/libbid/bid128_compare.c: Likewise.
11109 * config/libbid/bid128_div.c: Likewise.
11110 * config/libbid/bid128_fma.c: Likewise.
11111 * config/libbid/bid128_logb.c: Likewise.
11112 * config/libbid/bid128_minmax.c: Likewise.
11113 * config/libbid/bid128_mul.c: Likewise.
11114 * config/libbid/bid128_next.c: Likewise.
11115 * config/libbid/bid128_noncomp.c: Likewise.
11116 * config/libbid/bid128_quantize.c: Likewise.
11117 * config/libbid/bid128_rem.c: Likewise.
11118 * config/libbid/bid128_round_integral.c: Likewise.
11119 * config/libbid/bid128_scalb.c: Likewise.
11120 * config/libbid/bid128_sqrt.c: Likewise.
11121 * config/libbid/bid128_string.c: Likewise.
11122 * config/libbid/bid128_to_int16.c: Likewise.
11123 * config/libbid/bid128_to_int32.c: Likewise.
11124 * config/libbid/bid128_to_int64.c: Likewise.
11125 * config/libbid/bid128_to_int8.c: Likewise.
11126 * config/libbid/bid128_to_uint16.c: Likewise.
11127 * config/libbid/bid128_to_uint32.c: Likewise.
11128 * config/libbid/bid128_to_uint64.c: Likewise.
11129 * config/libbid/bid128_to_uint8.c: Likewise.
11130 * config/libbid/bid32_to_bid128.c: Likewise.
11131 * config/libbid/bid32_to_bid64.c: Likewise.
11132 * config/libbid/bid64_add.c: Likewise.
11133 * config/libbid/bid64_compare.c: Likewise.
11134 * config/libbid/bid64_div.c: Likewise.
11135 * config/libbid/bid64_fma.c: Likewise.
11136 * config/libbid/bid64_logb.c: Likewise.
11137 * config/libbid/bid64_minmax.c: Likewise.
11138 * config/libbid/bid64_mul.c: Likewise.
11139 * config/libbid/bid64_next.c: Likewise.
11140 * config/libbid/bid64_noncomp.c: Likewise.
11141 * config/libbid/bid64_quantize.c: Likewise.
11142 * config/libbid/bid64_rem.c: Likewise.
11143 * config/libbid/bid64_round_integral.c: Likewise.
11144 * config/libbid/bid64_scalb.c: Likewise.
11145 * config/libbid/bid64_sqrt.c: Likewise.
11146 * config/libbid/bid64_string.c: Likewise.
11147 * config/libbid/bid64_to_bid128.c: Likewise.
11148 * config/libbid/bid64_to_int16.c: Likewise.
11149 * config/libbid/bid64_to_int32.c: Likewise.
11150 * config/libbid/bid64_to_int64.c: Likewise.
11151 * config/libbid/bid64_to_int8.c: Likewise.
11152 * config/libbid/bid64_to_uint16.c: Likewise.
11153 * config/libbid/bid64_to_uint32.c: Likewise.
11154 * config/libbid/bid64_to_uint64.c: Likewise.
11155 * config/libbid/bid64_to_uint8.c: Likewise.
11156 * config/libbid/bid_b2d.h: Likewise.
11157 * config/libbid/bid_binarydecimal.c: Likewise.
11158 * config/libbid/bid_conf.h: Likewise.
11159 * config/libbid/bid_convert_data.c: Likewise.
11160 * config/libbid/bid_decimal_data.c: Likewise.
11161 * config/libbid/bid_decimal_globals.c: Likewise.
11162 * config/libbid/bid_div_macros.h: Likewise.
11163 * config/libbid/bid_dpd.c: Likewise.
11164 * config/libbid/bid_flag_operations.c: Likewise.
11165 * config/libbid/bid_from_int.c: Likewise.
11166 * config/libbid/bid_functions.h: Likewise.
11167 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11168 * config/libbid/bid_inline_add.h: Likewise.
11169 * config/libbid/bid_internal.h: Likewise.
11170 * config/libbid/bid_round.c: Likewise.
11171 * config/libbid/bid_sqrt_macros.h: Likewise.
11172
111732009-04-09 Jakub Jelinek <jakub@redhat.com>
11174
11175 * Makefile.in: Change copyright header to refer to version
11176 3 of the GNU General Public License and to point readers at the
11177 COPYING3 file and the FSF's license web page.
11178 * config.host: Likewise.
11179
633dd061
AM
111802009-04-07 Alan Modra <amodra@bigpond.net.au>
11181
11182 * config.host: Reorder and merge to match config.gcc change.
11183
457d1d00
AM
111842009-04-03 Alan Modra <amodra@bigpond.net.au>
11185
11186 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11187
52c0e446
JM
111882009-03-28 Joseph Myers <joseph@codesourcery.com>
11189
11190 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11191 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11192 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11193 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11194
ba181049
UB
111952009-02-12 Uros Bizjak <ubizjak@gmail.com>
11196
11197 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11198 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11199
c252db20
L
112002009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11201
ba181049
UB
11202 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11203 ia64/t-softfp-compat to tmake_file.
c252db20
L
11204
11205 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11206
11207 * config/ia64/__divxf3.asm: New.
11208 * config/ia64/_fixtfdi.asm: Likewise.
11209 * config/ia64/_fixunstfdi.asm: Likewise.
11210 * config/ia64/_floatditf.asm: Likewise.
11211 * config/ia64/t-fprules-softfp: Likewise.
11212 * config/ia64/t-softfp-compat: Likewise.
11213 * config/ia64/tf-signs.c: Likewise.
11214
c60535f9
BE
112152009-01-18 Ben Elliston <bje@au.ibm.com>
11216
11217 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11218
ce16861e
BE
112192009-01-16 Ben Elliston <bje@au.ibm.com>
11220
11221 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11222 to tmake_file.
11223
bcf4713b
BE
112242009-01-13 Ben Elliston <bje@au.ibm.com>
11225
11226 * config/t-softfp: New file.
11227 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11228 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11229
7d296953 112302009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
11231
11232 * config.host: Add m32r*-*-rtems*.
11233
7d296953 112342008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
11235
11236 * config.host: Add m32c*-*-rtems*.
11237
19523300
RO
112382008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11239
11240 PR bootstrap/33100
11241 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11242 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11243 * configure: Regenerate.
11244 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11245 tmake_file here from gcc/config.gcc.
11246 Move extra_parts here from gcc/config.gcc.
11247 * config/i386/t-sol2: Move here from gcc/config/i386.
11248 Use gcc_srcdir instead of srcdir.
11249
0a4a51c7
AN
112502008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11251
11252 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11253 case.
11254
2a761e46
TS
112552008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11256
11257 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11258
c0451df7
TS
112592008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11260
11261 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11262
358da97e
HS
112632008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11264
11265 Add picoChip port.
11266 * config.host: Add picochip-*-*.
11267
c660f132
BW
112682008-08-06 Bob Wilson <bob.wilson@acm.org>
11269
11270 * config.host: Match more processor names for Xtensa.
11271
d1349557
L
112722008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11273
11274 * config/i386/64/t-softfp-compat: Update comments.
11275
dd7b73c0
L
112762008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11277
11278 * config/i386/64/_divtc3-compat.c: Moved to ...
11279 * config/i386/64/_divtc3.c: Here.
11280
11281 * config/i386/64/_multc3-compat.c: Moved to ...
11282 * config/i386/64/_multc3.c: Here.
11283
11284 * config/i386/64/_powitf2-compat.c: Moved to ...
11285 * config/i386/64/_powitf2.c: Here.
11286
11287 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11288 .c suffix instead of -compat.c.
11289
6e1fab3d
UB
112902008-07-05 Uros Bizjak <ubizjak@gmail.com>
11291
11292 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11293 (_FP_MUL_MEAT_D): Ditto.
11294 (_FP_DIV_MEAT_S): Ditto.
11295 (_FP_DIV_MEAT_D): Ditto.
11296
f92518d7
RS
112972008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11298
11299 * Makefile.in: Add support for __sync_* libgcc functions.
11300
d0aede14
L
113012008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11304
c174f11c
L
113052008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11306
11307 PR boostrap/36702
11308 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11309 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11310
11311 * config/i386/64/t-fprules-softfp: Moved to ...
11312 * config/i386/64/t-softfp-compat: This. New.
11313
5f464fa2
UB
113142008-07-02 Uros Bizjak <ubizjak@gmail.com>
11315
11316 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11317 Initialize f with 0.0.
11318
ff473280
L
113192008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11320
11321 PR target/36669
11322 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11323
11324 * config/i386/64/_divtc3-compat.c: New.
11325 * config/i386/64/_multc3-compat.c: Likewise.
11326 * config/i386/64/_powitf2-compat.c: Likewise.
11327 * config/i386/64/eqtf2.c: Likewise.
11328 * config/i386/64/getf2.c: Likewise.
11329 * config/i386/64/letf2.c: Likewise.
11330 * config/i386/64/t-fprules-softfp: Likewise.
11331
113322008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11333
11334 * config.host: Add i386/${host_address}/t-fprules-softfp to
11335 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 11336 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
11337
11338 * configure.ac: Set host_address to 64 or 32 for x86.
11339 * configure: Regenerated.
11340
11341 * Makefile.in (config.status): Also depend on
11342 $(srcdir)/config.host.
11343
11344 * config/i386/32/t-fprules-softfp: New.
11345 * config/i386/32/tf-signs.c: Likewise.
11346
11347 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11348
113492008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11350 Uros Bizjak <ubizjak@gmail.com>
11351
11352 * config/i386/32/sfp-machine.h: New.
11353
30551d99
NF
113542008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11355
11356 * config/rs6000/t-ppccomm: Remove rules that conflict with
11357 auto-generated rules.
11358
18c04407
RW
113592008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11360
11361 * configure.ac: sinclude override.m4.
11362 * configure: Regenerate.
11363
10fbe77a
BRF
113642008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11365
11366 * configure: Regenerate.
11367
bc6d4c3f
JM
113682008-06-10 Joseph Myers <joseph@codesourcery.com>
11369
11370 * Makefile.in (DECNUMINC): Remove
11371 -I$(MULTIBUILDTOP)../../libdecnumber.
11372 * gstdint.h: New.
11373
cd985f66
JM
113742008-06-07 Joseph Myers <joseph@codesourcery.com>
11375
11376 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11377 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11378 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11379 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11380 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11381 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11382 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11383 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11384 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11385 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11386 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11387 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11388 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11389 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11390
93fea8d3
AL
113912008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11392
11393 * config.host (sh2[lbe]*-*-linux*): Allow target.
11394
18724e30
NF
113952008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11396
11397 * config/rs6000/t-ppccomm: Add build rules for new files.
11398 (LIB2ADD_ST): New variable.
11399
47583040
AH
114002008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11401
11402 PR target/34210
11403 PR target/35508
11404 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11405 * config/t-avr: New file. Build 16bit libgcc functions.
11406
cf8e67fe
JJ
114072008-03-02 Jakub Jelinek <jakub@redhat.com>
11408
11409 PR target/35401
11410 * config/t-slibgcc-darwin: Make install-leaf dependent on
11411 install-darwin-libgcc-stubs instead of install.
11412
8d8da227
JM
114132008-01-25 Joseph Myers <joseph@codesourcery.com>
11414
11415 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11416 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11417 sh-*-rtemscoff*): Remove cases.
11418
edbf8b16
RS
114192007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11420
11421 * Makefile.in (all): Use install-leaf rather than install.
11422 (install): Split most of the rule into...
11423 (install-leaf): ...this new one.
11424
89deeaff
EK
114252007-12-19 Etsushi Kato <ek.kato@gmail.com>
11426 Paolo Bonzini <bonzini@gnu.org>
11427
11428 PR target/30572
5f464fa2
UB
11429 * Makefile.in: Use @shlib_slibdir@ substitution to get
11430 correct install name on darwin.
89deeaff 11431 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 11432
4081d704
HPN
114332007-12-15 Hans-Peter Nilsson <hp@axis.com>
11434
11435 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11436 cris-*-elf and cris-*-none.
11437 (crisv32-*-linux*): Similar, as cris-*-linux*.
11438
f43e89a3
RIL
114392007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11440
11441 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11442
b4e9c2c6
L
114432007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11444
11445 PR regression/33926
11446 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11447 * configure: Regenerated.
11448
b2a00c89
L
114492007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11450
11451 * Makefile.in (dfp-filenames): Replace decimal_globals,
11452 decimal_data, binarydecimal and convert_data with
11453 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11454 and bid_convert_data, respectively.
11455
8d2a9e0e
CF
114562007-09-17 Chao-ying Fu <fu@mips.com>
11457 Nigel Stephens <nigel@mips.com>
11458
11459 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11460 * Makefile.in (fixed_point): Define.
11461 Check if fixed_point is yes to build support functions.
11462 * configure.ac: Check for fixed_point support.
11463 * configure: Regenerated.
11464 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11465 funcs, modes, from, to.
11466
2b53935d
JJ
114672007-09-11 Janis Johnson <janis187@us.ibm.com
11468
11469 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11470
2533577f
JJ
114712007-09-10 Janis Johnson <janis187@us.ibm.com>
11472
11473 * Makefile.in (dfp-filenames): Remove decUtility, add
11474 decDouble, decPacked, decQuad, decSingle.
11475
3ae3dbd6
HK
114762007-08-27 Hans Kester <hans.kester@ellips.nl>
11477
11478 * config.host : Add x86_64-elf target.
11479
22867d02
L
114802007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11481
11482 * configure.ac (set_have_cc_tls): Add a missing =.
11483 * configure: Regenerated.
11484
6f461e76
L
114852007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11486
11487 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11488 and x86_64-*-linux*.
11489
11490 * config/t-tls: New file.
11491
dfb3b0e3 11492 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
11493
11494 * configure.ac: Include ../config/enable.m4 and
11495 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11496 supports TLS and substitute set_have_cc_tls.
11497 * configure: Regenerated.
11498
200359e8
L
114992007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11500
11501 * Makefile.in: Use libbid for DFP when BID is enabled.
11502
76f5e200
DS
115032007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11504
11505 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 11506 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
11507 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11508
9bd196f0 115092007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 11510 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
11511
11512 PR target/29498
11513 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11514 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11515 * config/i386/t-crtfm: Compile crtfastmath.o with
11516 -minline-all-stringops.
11517
1910440e
RS
115182007-05-10 Richard Sandiford <richard@codesourcery.com>
11519
11520 * config.host (sparc-wrs-vxworks): New target.
11521
7d33c31d
KH
115222007-04-14 Kazu Hirata <kazu@codesourcery.com>
11523
11524 * config.host: Recognize fido.
11525
96fccd0d
JJ
115262007-04-04 Janis Johnson <janis187@us.ibm.com>
11527
11528 * configure: Check host, not target, for decimal float support.
11529
577565f9
UB
115302007-04-03 Uros Bizjak <ubizjak@gmail.com>
11531
11532 * config/i386/t-crtpc: New file.
11533 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 11534 (x86_64-*-linux*): Ditto.
577565f9 11535
ccf8e764
RH
115362007-02-30 Kai Tietz <kai.tietz@onevision.com>
11537
11538 * config.host (x86_64-*-mingw*): New target.
11539
79b87c74
MM
115402007-03-23 Michael Meissner <michael.meissner@amd.com>
11541 H.J. Lu <hongjiu.lu@intel.com>
11542
11543 * Makefile.in (enable_decimal_float): New.
11544 (DECNUMINC): Add
11545 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11546 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11547 (decbits-filenames): This.
11548 (decbits-objects): New.
11549 (libgcc-objects): Add $(decbits-objects).
11550
11551 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11552 Substitute enable_decimal_float.
11553 * configure: Regenerated.
11554
8fce4e31
HPN
115552007-03-19 Hans-Peter Nilsson <hp@axis.com>
11556
11557 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11558
e8bb4597
BM
115592007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11560
11561 * Makefile.in (install-info): New dummy target.
11562
344189f9
BS
115632007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11564
11565 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11566
ac84c172
BM
115672007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11568
11569 * Makefile.in: Add install-html and install-pdf dummy
11570 targets.
11571
cd5c2357
RS
115722007-02-05 Roger Sayle <roger@eyesopen.com>
11573 Daniel Jacobowitz <dan@codesourcery.com>
11574
11575 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11576 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11577 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11578
d9a66f98
JJ
115792007-01-29 Janis Johnson <janis187@us.ibm.com>
11580
11581 * Makefile.in (dec-filenames): Add decExcept.
11582
9891ec5f
DJ
115832007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11584
11585 PR bootstrap/30469
11586 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11587 -fprofile-use.
11588
d6efbf5a
DJ
115892007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11590
11591 * configure.ac: Add --enable-version-specific-runtime-libs.
11592 Correct $slibdir default.
11593 * configure: Regenerated.
11594
17caeff2
JM
115952007-01-23 Joseph Myers <joseph@codesourcery.com>
11596
11597 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11598
5ea41e3a
AP
115992007-01-21 Andrew Pinski <pinskia@gmail.com>
11600
11601 PR target/30519
11602 * config.host (alpha*-*-linux*): Set extra_parts.
11603
26900826
KK
116042007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11605
11606 * config/sh/t-linux: New.
11607 * config.host (sh*-*-linux*): Set tmake_file.
11608
97af925b
DJ
116092007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11610
11611 * Makefile.in (install): Handle multilibs.
11612
b0088af7
BM
116132007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11614
11615 * Makefile.in: Added .PHONY entry for documentation targets.
11616
e0a9456a
BM
116172007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11618
11619 * Makefile.in: Add empty info, html, dvi, pdf targets.
11620
7fd453b4
MS
116212007-01-04 Mike Stump <mrs@apple.com>
11622
11623 * Makefile.in (MAKEINFO): Remove.
11624 (PERL): Likewise.
11625
14e8fc8b
PB
116262007-01-04 Paolo Bonzini <bonzini@gnu.org>
11627
11628 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11629 * configure: Regenerate.
11630 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 11631 (gcc_objdir): Use it.
14e8fc8b 11632
1555beba
DJ
116332007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11634
11635 * config.host (ia64*-*-linux*): Set tmake_file.
11636
79e6eaeb
DJ
116372007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11638
11639 * Makefile.in (version): Define.
11640
fa958513
DJ
116412007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11642 Paolo Bonzini <bonzini@gnu.org>
11643
11644 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11645 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11646 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11647 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11648 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11649 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11650 * configure: Generated.
818ab71a 11651\f
c48514be 11652Copyright (C) 2007-2021 Free Software Foundation, Inc.
818ab71a
JJ
11653
11654Copying and distribution of this file, with or without modification,
11655are permitted in any medium without royalty provided the copyright
11656notice and this notice are preserved.