]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
libstdc:: Use markdown for Doxygen comments in std::function
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
05ace294
GA
12021-08-24 Richard Earnshaw <rearnsha@arm.com>
2
3 PR target/102035
4 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
5 Add vlldm erratum work-around.
6
4be4fa4e
GA
72021-08-21 John David Anglin <danglin@gcc.gnu.org>
8
9 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
10
9d1d9fc8
GA
112021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
12
13 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
14 (gcov_type_unsigned): Likewise.
15
7dd8f198
GA
162021-08-14 Stafford Horne <shorne@gmail.com>
17
18 PR target/99783
19 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
20 * config/or1k/t-crtstuff: New file.
21
f92f4778
GA
222021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
23
24 * libgcov-driver.c (#include <stdint.h>): Remove.
25 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
26
272021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
28
29 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
30 * gcov.h (gcov_info): Declare.
31 (__gcov_info_to_gdca): Likewise.
32 * libgcov.h (gcov_write_counter): Remove.
33 (gcov_write_tag_length): Likewise.
34 * libgcov-driver.c (#include <stdint.h>): New.
35 (#include <string.h>): Remove.
36 (NEED_L_GCOV): Conditionally define.
37 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
38 (are_all_counters_zero): New.
39 (gcov_dump_handler): Likewise.
40 (gcov_allocate_handler): Likewise.
41 (dump_unsigned): Likewise.
42 (dump_counter): Likewise.
43 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
44 Use dump_unsigned() and dump_counter().
45 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
46 dump_unsigned(), dump_counter(), and are_all_counters_zero().
47 (__gcov_info_to_gcda): New.
48
8ebf4fb5
GA
492021-08-05 Jakub Jelinek <jakub@redhat.com>
50
51 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
52 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
53 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
54 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
55
2697f832
GA
562021-08-04 Jakub Jelinek <jakub@redhat.com>
57
58 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
59
d97d71a1
GA
602021-07-15 Alan Modra <amodra@gmail.com>
61
62 * config/rs6000/morestack.S (R2_SAVE): Define.
63 (__morestack): Save and restore r2. Set up r2 for called
64 functions.
65
bea7c16a
GA
662021-07-01 H.J. Lu <hjl.tools@gmail.com>
67
68 * soft-fp/extendhfxf2.c: New file.
69 * soft-fp/truncxfhf2.c: Likewise.
70
6bc18203
GA
712021-06-29 Julian Brown <julian@codesourcery.com>
72
73 * config/gcn/lib2-bswapti2.c: New file.
74 * config/gcn/lib2-divmod-di.c: New file.
75 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
76 typedefs.
77 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
78 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
79 lib2-bswapti2.c.
80
812021-06-29 Julian Brown <julian@codesourcery.com>
82
83 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
84 return types to USItype.
85 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
86
fcf617f0
GA
872021-06-23 Kewen Lin <linkw@linux.ibm.com>
88
89 * configure: Regenerate.
90 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
91 typos among the name, CFLAGS and the test.
92 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
93 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
94 Remove.
95 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
96 macro FLOAT128_HW_INSNS_ISA3_1.
97 (FP128_3_1_CFLAGS_HW): Fix option typo.
98 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
99 FLOAT128_HW_INSNS_ISA3_1.
100 (__floattikf_resolve): Likewise.
101 (__floatuntikf_resolve): Likewise.
102 (__fixkfti_resolve): Likewise.
103 (__fixunskfti_resolve): Likewise.
104 (__floattikf): Likewise.
105 (__floatuntikf): Likewise.
106 (__fixkfti): Likewise.
107 (__fixunskfti): Likewise.
108
f16f65f8
GA
1092021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
110
111 PR target/99939
112 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
113 macro.
114 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
115 on passing -mcmse option.
116
43c35d0d
GA
1172021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
118
119 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
120 _ARCH_PPC64 .
121
4f625f47
GA
1222021-06-09 Carl Love <cel@us.ibm.com>
123
124 * config.host: Add if test and set for
125 libgcc_cv_powerpc_3_1_float128_hw.
126 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
127 Change calls of __fixkfti to __fixkfti_sw.
128 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
129 Change calls of __fixunskfti to __fixunskfti_sw.
130 * config/rs6000/float128-p10.c (__floattikf_hw,
131 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
132 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
133 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
134 __fixunskfti_resolve): Add resolve functions.
135 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
136 * config/rs6000/float128-sed (floattitf, __floatuntitf,
137 __fixtfti, __fixunstfti): Add editor commands to change names.
138 * config/rs6000/float128-sed-hw (__floattitf,
139 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
140 change names.
141 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
142 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
143 * config/rs6000/quad-float128.h (__floattikf_sw,
144 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
145 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
146 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
147 * config/rs6000/t-float128 (floattikf, floatuntikf,
148 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
149 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
150 file names to fp128_ppc_funcs.
151 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
152 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
153 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
154 * config/rs6000/t-float128-p10-hw: New file.
155 * configure: Update script for isa 3.1 128-bit float support.
156 * configure.ac: Add check for 128-bit float hardware support.
157 * config/rs6000/fixkfti-sw.c: New file.
158 * config/rs6000/fixunskfti-sw.c: New file.
159 * config/rs6000/floattikf-sw.c: New file.
160 * config/rs6000/floatuntikf-sw.c: New file.
161
f9af11c7
GA
1622021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
163
164 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
165
4d0385df 1662021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
167
168 * libgcov-driver.c: Fix GNU coding style.
169
aa891c56
GA
1702021-05-10 Martin Liska <mliska@suse.cz>
171
172 * libgcov-driver.c (gcov_version): Use different name that does
173 not clash with newly introduced macro.
174
3c8e539d
GA
1752021-04-29 Eric Botcazou <ebotcazou@adacore.com>
176
177 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
178 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
179 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
180
e4ff4ffb
GA
1812021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
182
183 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
184 Define.
185 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
186 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
187 Define.
188 (__divkc3): Improve complex divide.
189
05ec629f
GA
1902021-04-23 Michael Meissner <meissner@linux.ibm.com>
191
192 PR target/98952
193 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
194 trampoline size comparison in 32-bit by reversing test and
195 combining load immediate with compare.
196 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
197 in 32-bit by reversing test and combining load immediate with
198 compare.
199
b1da9916
GA
2002021-04-05 Florian Weimer <fweimer@redhat.com>
201 Michael Meissner <meissner@linux.ibm.com>
202
203 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
204 point functions for $(decimal_float) only.
205
c0756c4e
GA
2062021-04-03 Jakub Jelinek <jakub@redhat.com>
207
208 PR target/97653
209 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
210 $(objext) instead of $(object). Use _floatunditf instead of
211 _floatunsditf. Add tf <-> ti conversion objects.
212 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
213
65374af2
GA
2142021-03-29 Michael Meissner <meissner@linux.ibm.com>
215
216 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
217 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
218 (fp128_decstr_objs): Delete.
219 * dfp-bit.h: Call __sprintfieee128 to do conversions from
220 _Float128 to a Decimal type. Call __strtoieee128 to do
221 conversions from a Decimal type to _Float128.
222 * config/rs6000/_sprintfkf.c: Delete file.
223 * config/rs6000/_sprintfkf.h: Delete file.
224 * config/rs6000/_strtokf.c: Delete file.
225 * config/rs6000/_strtokf.h: Delete file.
226
bf1f3168
GA
2272021-03-23 Marcus Comstedt <marcus@mc.pp.se>
228
229 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
230 to __BYTE_ORDER__.
231
0ad6a2e2
GA
2322021-03-06 Jakub Jelinek <jakub@redhat.com>
233
234 PR gcov-profile/99406
235 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
236 defined, define these macros if not defined already.
237
67f10d28
GA
2382021-03-04 Martin Liska <mliska@suse.cz>
239
240 PR gcov-profile/99105
241 * libgcov-driver.c (write_top_counters): Rename to ...
242 (write_topn_counters): ... this.
243 (write_one_data): Pre-allocate buffer for number of items
244 in the corresponding linked lists.
245 * libgcov.h (malloc_mmap): New function.
246 (allocate_gcov_kvp): Use it.
247
2482021-03-04 Martin Liska <mliska@suse.cz>
249
250 PR gcov-profile/99385
251 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
252
f3641ac7
GA
2532021-03-03 Martin Liska <mliska@suse.cz>
254
255 PR gcov-profile/97461
256 * config.in: Regenerate.
257 * configure: Likewise.
258 * configure.ac: Check sys/mman.h header file
259 * libgcov-driver.c (struct gcov_kvp): Remove static
260 pre-allocated pool and use a dynamic one.
261 * libgcov.h (MMAP_CHUNK_SIZE): New.
262 (gcov_counter_add): Use mmap to allocate pool for struct
263 gcov_kvp.
264
d97a92dc
GA
2652021-03-02 Michael Meissner <meissner@linux.ibm.com>
266
267 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
268 the function.
269 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
270
4028d01a
GA
2712021-02-24 Jakub Jelinek <jakub@redhat.com>
272
273 PR libgcc/99236
274 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
275 negation of m in unsigned type.
276
2772021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
278 Hau Hsu <hsuhau617@gmail.com>
279
280 PR target/99157
281 * config/arm/t-arm: Fix cmse support detection.
282
2f5765cf
GA
2832021-02-22 Michael Meissner <meissner@linux.ibm.com>
284
285 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
286
2872021-02-22 Michael Meissner <meissner@linux.ibm.com>
288
289 * config/rs6000/_dd_to_kf.c: New file.
290 * config/rs6000/_kf_to_dd.c: New file.
291 * config/rs6000/_kf_to_sd.c: New file.
292 * config/rs6000/_kf_to_td.c: New file.
293 * config/rs6000/_sd_to_kf.c: New file.
294 * config/rs6000/_sprintfkf.c: New file.
295 * config/rs6000/_sprintfkf.h: New file.
296 * config/rs6000/_strtokf.h: New file.
297 * config/rs6000/_strtokf.c: New file.
298 * config/rs6000/_td_to_kf.c: New file.
299 * config/rs6000/quad-float128.h: Add new declarations.
300 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
301 (fp128_decstr_funcs): New macro.
302 (ibm128_dec_funcs): New macro.
303 (fp128_ppc_funcs): Add the new conversions.
304 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
305 compiled with -mabi=ieeelongdouble.
306 (fp128_decstr_objs): Force __float128 <-> string conversions to be
307 compiled with -mabi=ibmlongdouble.
308 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
309 compiled with -mabi=ieeelongdouble.
310 (FP128_CFLAGS_DECIMAL): New macro.
311 (IBM128_CFLAGS_DECIMAL): New macro.
312 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
313 (BFP_TO_DFP): Add PowerPC _Float128 support.
314 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
315 IEEE 128-bit floating point.
316 (DFP_TO_BFP): Add PowerPC _Float128 support.
317 (BFP_TO_DFP): Add PowerPC _Float128 support.
318 (BFP_SPRINTF): New macro.
319
aa69f0a8
GA
3202021-01-27 Jakub Jelinek <jakub@redhat.com>
321
322 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
323 * config/i386/savms64f.h: Likewise.
324 * config/i386/resms64.h: Likewise.
325 * config/i386/resms64f.h: Likewise.
326 * config/i386/resms64x.h: Likewise.
327 * config/i386/resms64fx.h: Likewise.
328
e62bb7f0
GA
3292021-01-26 Martin Liska <mliska@suse.cz>
330
331 PR gcov-profile/98739
332 * libgcov.h (gcov_topn_add_value): Do not train when
333 we have a merged profile with a negative number of total
334 value.
335
161e4c08
GA
3362021-01-25 Martin Liska <mliska@suse.cz>
337
338 PR gcov-profile/98739
339 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
340 ends with a dropped counter.
341 * libgcov.h (gcov_topn_add_value): Add return value.
342
be0851b8
GA
3432021-01-13 Stafford Horne <shorne@gmail.com>
344
345 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
346 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
347 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
348 FP_EX_ALL): New constant macros.
349 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
350 FP_HANDLE_EXCEPTIONS): New macros.
351 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
352
3532021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
354
355 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
356 posix siginfo case to struct handler_args. Detect between legacy
357 and siginfo from the second parameter, which is a small sigcode in
358 the legacy case, and a pointer in the siginfo case.
359
108beb75
GA
3602020-12-20 Max Filippov <jcmvbkbc@gmail.com>
361
362 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
363 functions.
364 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
365 _bswapdi2.
366
f6e8e279
GA
3672020-12-08 Ian Lance Taylor <iant@golang.org>
368
369 * generic-morestack-thread.c (free_segments): Block signals during
370 thread exit.
371
b8dd0ef7
GA
3722020-12-03 Michael Meissner <meissner@linux.ibm.com>
373
374 PR libgcc/97543
375 PR libgcc/97643
376 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
377 (IBM128_SHARED_OBJS): New make variable.
378 (IBM128_OBJS): New make variable. Set all objects to use the
379 explicit IBM format, and disable gnu attributes.
380 (IBM128_CFLAGS): New make variable.
381 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
382 modules.
383
3842020-12-03 Alexandre Oliva <oliva@adacore.com>
385
386 * config/t-vxworks (LIB2ADD): Drop.
387 * config/t-vxworks7 (LIB2ADD): Likewise.
388 * config/vxcache.c: Remove.
389
94358e47
GA
3902020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
391
392 * libgcc2.c (bswapsi2): Make constants unsigned.
393
360258da
GA
3942020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
395
396 * libgcc2.c (absvSI2): Simplify/improve implementation by using
397 builtin_add_overflow.
398 (absvsi2, absvDI2): Likewise.
399
82e5048e
GA
4002020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
401
402 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
403 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
404
25bb75f8
GA
4052020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
406
407 * config/msp430/lib2hw_mul.S (mult64_hw): New.
408 (if MUL_32): Use mult64_hw for __muldi3.
409 (if MUL_F5): Use mult64_hw for __muldi3.
410 * config/msp430/lib2mul.c (__muldi3): New.
411 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
412
29c5d9ce
GA
4132020-11-17 Alan Modra <amodra@gmail.com>
414
415 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
416 (LIB2_SIDITI_CONV_FUNCS): Define.
417 * config/rs6000/ppc64-fp.c: Delete file.
418
cba30651
GA
4192020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
420
421 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
422 hwmult library functions.
423
bb622641
GA
4242020-11-10 Jeff Law <law@redhat.com>
425
426 * libgcc2.c: Fix whitespace issues in most recent change.
427
4282020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
429
430 * libgcc2.c (__addvSI3): Use overflow builtins.
431 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
432 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
433 (__negvsi2, __negvDI2): Likewise.
434 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
435 generated code.
436 * libgcc2.h (__ucmpdi2): Adjust prototype.
437
fd2325ea
GA
4382020-11-03 Pat Bernardi <bernardi@adacore.com>
439 Olivier Hainque <hainque@adacore.com>
440
441 * config.host (aarch64-vxworks7*, tmake_file): Add
442 ${cpu_type}/t-lse and t-slibgcc-libgcc.
443
4442020-11-03 Martin Storsjö <martin@martin.st>
445
446 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
447 before calling the callback.
448
88ce3d5f
GA
4492020-10-30 Olivier Hainque <hainque@adacore.com>
450 Douglas Rupp <rupp@adacore.com>
451 Pat Bernardi <bernardi@adacore.com>
452
453 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
454 to apply to VxWorks 7 as well.
455
4f0606fe
GA
4562020-10-29 Olivier Hainque <hainque@adacore.com>
457
458 * config/gthr-vxworks-tls.c: Fix preprocessor logic
459 controlling the definition of VX_ENTER_TLS_DTOR and
460 VX_LEAVE_TLS_DTOR based on a version major check.
461
4622020-10-29 Olivier Hainque <hainque@adacore.com>
463
464 * config/gthr-vxworks-thread.c: Fix name of macro used
465 to condition the inclusion of an actual implementation.
466
89bb01e7
GA
4672020-10-27 Martin Liska <mliska@suse.cz>
468
469 PR gcov-profile/97461
470 * libgcov.h (gcov_counter_add): Use first static counters
471 as it should help to have malloc wrappers set up.
472
efe71fcc
GA
4732020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
474
475 * config/gthr-vxworks-thread.c: #include gthr.h before
476 testing the guard defined there.
477 * config/gthr-vxworks-cond.c: Likewise.
478
56ddd5e2
GA
4792020-10-21 Douglas Rupp <rupp@adacore.com>
480 Olivier Hainque <hainque@adacore.com>
481
482 * config.host (powerpc*-wrs-vxworks7*): New case.
483 * configure.ac: Handle powerpc*-*-vxworks7* as
484 powerpc*-*-linux* for ppc-fp_type.
485 * configure: Regenerate.
486
56e4eee9
GA
4872020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
488
489 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
490 section on VxWorks >= 6.
491 * config/gthr-vxworks-thread.c: Condition the entire
492 implementation on __GTHREAD_CXX0X.
493
4942020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
495
496 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
497 section on VxWorks >= 6.
498 * config/gthr-vxworks-cond.c: Condition the entire
499 implementation on __GTHREAD_HAS_COND.
500
5012020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
502
503 * config/gthr-vxworks.c: #include <taskLib.h>.
504
5052020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
506
507 * config/gthr-vxworks.h: Rewrite remaining occurrence
508 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
509
5102020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
511 Olivier Hainque <hainque@adacore.com>
512
513 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
514 except on VxWorks 6.
515
5162020-10-16 Olivier Hainque <hainque@adacore.com>
517
518 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
519
b2698c21
GA
5202020-10-14 Alexandre Oliva <oliva@adacore.com>
521
522 * config/gthr-vxworks-thread.c: Include stdlib.h.
523 (tls_delete_hook): Prototype it.
524 (__gthread_cond_signal): Return early if no waiters. Consume
525 signal in case the semaphore got full. Use semInfoGet instead
526 of kernel-mode-only semInfo.
527 (__gthread_cond_timedwait): Use semExchange. Always take the
528 mutex again before returning.
529 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
530
5312020-10-14 Olivier Hainque <hainque@adacore.com>
532
533 * config/t-vxworks (LIBGCC2_INCLUDES): Append
534 $(MULTISUBDIR) to the -I path for fixed headers, as we
535 arrange to have different sets of such headers for different
536 multilibs when they are activated.
537 * config/t-vxworks7: Likewise.
538
5392020-10-14 Olivier Hainque <hainque@adacore.com>
540
541 * config/t-vxworks: Add include-fixed to include search
542 paths for libgcc on VxWorks.
543 * config/t-vxworks7: Likewise.
544
c74a0e82
GA
5452020-10-09 H.J. Lu <hjl.tools@gmail.com>
546
547 PR target/97148
548 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
549 instead of <cetintrin.h>.
550
6c2675fa
GA
5512020-10-01 Alan Modra <amodra@gmail.com>
552
553 * config/rs6000/morestack.S,
554 * config/rs6000/tramp.S: Support __PCREL__ code.
555
5562020-10-01 Alan Modra <amodra@gmail.com>
557
558 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
559
93bca37c
GA
5602020-09-29 Maciej W. Rozycki <macro@wdc.com>
561
562 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
563 variable.
564
e84761c6
GA
5652020-09-28 Richard Sandiford <richard.sandiford@arm.com>
566
567 * config/aarch64/libgcc-softfp.ver: New file.
568 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
569
4383c595
GA
5702020-09-27 Clement Chigot <clement.chigot@atos.net>
571
572 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
573
521d2711
GA
5742020-09-22 Sergei Trofimovich <siarheit@google.com>
575
576 PR gcov-profile/96913
577 * libgcov-driver.c (write_one_data): Avoid function pointer
578 comparison in TOP streaming decision.
579
2aad20c0
GA
5802020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
581 Christophe Lyon <christophe.lyon@linaro.org>
582
583 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
584 qualifier.
585 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
586 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
587 missing prototypes.
588
5892020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
590
591 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
592 unused variable warning.
593
ecde1b0a
GA
5942020-09-16 Jojo R <jiejie_rong@c-sky.com>
595
596 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
597
80f86e78
GA
5982020-09-09 Tom de Vries <tdevries@suse.de>
599
600 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
601 Wbuiltin-declaration-mismatch.
602
57ea0894
GA
6032020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
604
605 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
606 * config/msp430/srai.S (__gnu_mspabi_srap): New.
607 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
608
b3cb5606
GA
6092020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
610
611 * config/nvptx/atomic.c: New.
612 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
613
6a1ad710
GA
6142020-08-03 Ian Lance Taylor <iant@golang.org>
615
616 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
617
6182020-08-03 Jakub Jelinek <jakub@redhat.com>
619
620 PR target/96402
621 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
622 of x(tmp0), x(tmp1) in STXP arguments.
623
48cc2e46
GA
6242020-07-31 Maciej W. Rozycki <macro@wdc.com>
625
626 * config/riscv/save-restore.S [__riscv_xlen == 64]
627 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
628 (__riscv_save_2): Replace negative immediates used for the final
629 stack pointer adjustment with positive ones, right-shifted by 4.
630
6312020-07-31 Martin Liska <mliska@suse.cz>
632
633 * libgcov-driver.c: Add __gcov_kvp_pool
634 and __gcov_kvp_pool_index variables.
635 * libgcov.h (allocate_gcov_kvp): New.
636 (gcov_topn_add_value): Use it.
637
53256ee3
GA
6382020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
639
640 * config/aarch64/lse.S: Add PAC property note.
641
9bb403dc
GA
6422020-07-23 Martin Liska <mliska@suse.cz>
643
644 PR gcov-profile/96035
645 * libgcov-driver-system.c: Create gcov folders with 0777
646 so that it respects a system umask.
647
8ca07a30
GA
6482020-07-14 David Edelsohn <dje.gcc@gmail.com>
649
650 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
651
ea69fcf9
GA
6522020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
653
654 PR target/94891
655 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
656 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
657 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
658 (MD_DEMANGLE_RETURN_ADDR): This.
659 (aarch64_post_extract_frame_addr): Rename to ...
660 (aarch64_demangle_return_addr): This.
661 (aarch64_post_frob_eh_handler_addr): Remove.
662 * unwind-dw2.c (uw_update_context): Demangle return address.
663 (uw_frob_return_addr): Remove.
664
3f8ca9cb
GA
6652020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
666
667 PR target/96001
668 * config/aarch64/lse.S: Add BTI marking and related definitions,
669 and add BTI c to function entries.
670
6712020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
672
673 * config/aarch64/lse.S: Add stack note.
674
b5f24739
GA
6752020-07-02 Martin Liska <mliska@suse.cz>
676
677 PR gcov-profile/95348
678 * libgcov-driver.c (merge_one_data): Merge only profiles
679 that are not of non-zero type.
680 (write_one_data): Write counters only if there's one non-zero
681 value.
682 * libgcov-util.c (tag_function): Change signature from unsigned
683 to int.
684 (tag_blocks): Likewise.
685 (tag_arcs): Likewise.
686 (tag_counters): Likewise.
687 (tag_summary): Likewise.
688 (tag_lines): Read only if COUNTERS is non-zero.
689 (read_gcda_file): Handle negative length for COUNTERS type.
690
d61ffe12
GA
6912020-06-25 Martin Liska <mliska@suse.cz>
692
693 * libgcov-driver.c (merge_summary): Remove function as its name
694 is misleading and doing something different.
695 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
696 in gcov-tool.
697 * libgcov-util.c (curr_object_summary): Remove.
698 (read_gcda_file): Remove unused curr_object_summary.
699 (gcov_merge): Merge summaries.
700 * libgcov.h: Add summary argument for gcov_info struct.
701
2e546c26
GA
7022020-06-24 H.J. Lu <hjl.tools@gmail.com>
703
704 PR target/95259
705 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
706 "common/config/i386/i386-cpuinfo.h" and
707 "common/config/i386/cpuinfo.h".
708 (__cpu_features2): Changed to array.
709 (get_amd_cpu): Removed.
710 (get_intel_cpu): Likewise.
711 (get_available_features): Likewise.
712 (__cpu_indicator_init): Call cpu_indicator_init.
713 * config/i386/cpuinfo.h: Removed.
714
4543acc8
GA
7152020-06-23 David Edelsohn <dje.gcc@gmail.com>
716
717 * Makefile.in: Remove uses of empty.mk. Use -include.
718 * config/avr/t-avr: Use -include.
719 * empty.mk: Delete.
720
f86e11a2
GA
7212020-06-21 David Edelsohn <dje.gcc@gmail.com>
722
723 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
724 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
725 and 64 bit with -maix64.
726 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
727 Build and install AIX-style FAT libraries.
728
aff95ee7
GA
7292020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
730
731 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
732 'i386/gnu-unwind.h'
733 * config/i386/gnu-unwind.h: New file.
734
7352020-06-17 Martin Liska <mliska@suse.cz>
736
737 * libgcov-util.c (read_gcda_finalize): Remove const operator.
738 (merge_wrapper): Add both counts and use them properly.
739 (topn_to_memory_representation): New function.
740 (gcov_merge): Covert on disk representation to in memory
741 representation.
742 * libgcov.h: Remove const operator.
743
6fb94d67
GA
7442020-06-15 Max Filippov <jcmvbkbc@gmail.com>
745
746 * configure: Regenerate.
747 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
748 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
749
b952c2cf
GA
7502020-06-09 Martin Liska <mliska@suse.cz>
751
752 PR gcov-profile/95494
753 * libgcov-driver.c (write_top_counters): Cast first to
754 intptr_t as sizeof(*) != sizeof(gcov_type).
755 * libgcov.h (gcov_counter_set_if_null): Remove.
756 (gcov_topn_add_value): Cast first to intptr_t and update
757 linked list directly.
758
7592020-06-09 Max Filippov <jcmvbkbc@gmail.com>
760
761 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
762 with uw_install_context_1.
763
3add3425
GA
7642020-06-04 Andreas Schwab <schwab@suse.de>
765
766 PR target/59230
767 PR libfortran/59227
768 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
769 soft-fp/divtf3.c.
770 (LIB2ADD): Add config/ia64/divtf3.c.
771 * config/ia64/divtf3.c: New file.
772
9a5b7438
GA
7732020-06-03 Martin Liska <mliska@suse.cz>
774
775 PR gcov-profile/95480
776 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
777 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
778 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
779 (gcov_counter_set_if_null): Likewise.
780
a9312a79
GA
7812020-06-02 Jim Wilson <jimw@sifive.com>
782
783 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
784 to bgtz.
785
7862020-06-02 Martin Liska <mliska@suse.cz>
787
788 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
789 of xmalloc.
790
7912020-06-02 Martin Liska <mliska@suse.cz>
792
793 * libgcov-driver.c (prune_topn_counter): Remove.
794 (prune_counters): Likewise.
795 (merge_one_data): Special case TOP N counters
796 as they have variable length.
797 (write_top_counters): New.
798 (write_one_data): Special case TOP N.
799 (dump_one_gcov): Do not prune TOP N counters.
800 * libgcov-merge.c (merge_topn_values_set): Remove.
801 (__gcov_merge_topn): Use gcov_topn_add_value.
802 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
803 Likewise here.
804 * libgcov.h (gcov_counter_add): New.
805 (gcov_counter_set_if_null): Likewise.
806 (gcov_topn_add_value): New.
807
4a9aa9de
GA
8082020-06-01 Uroš Bizjak <ubizjak@gmail.com>
809
810 * config/i386/sfp-exceptions.c (struct fenv):
811 Add __attribute__ ((gcc_struct)).
812
885ef72f
GA
8132020-05-29 H.J. Lu <hjl.tools@gmail.com>
814
815 PR bootstrap/95413
816 * configure: Regenerated.
817
53ffb43a
GA
8182020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
819
820 PR gcov-profile/95332
821 * libgcov-util.c (read_gcda_file): Call gcov_magic.
822 * libgcov.h (gcov_magic): Disable GCC poison.
823
5855bdfa
L
8242020-05-21 H.J. Lu <hongjiu.lu@intel.com>
825
826 PR target/95212
827 * config/i386/cpuinfo.h (processor_features): Move
828 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
829
35b98036
L
8302020-05-20 H.J. Lu <hongjiu.lu@intel.com>
831
832 PR target/91695
833 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
834 check.
835
45395445
L
8362020-05-19 H.J. Lu <hongjiu.lu@intel.com>
837
838 PR target/95212
839 PR target/95220
840 * config/i386/cpuinfo.c (get_available_features): Fix
841 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
842 * config/i386/cpuinfo.h (processor_features): Add
843 FEATURE_AVX512VP2INTERSECT.
844
4c1a5d8b
L
8452020-05-15 H.J. Lu <hongjiu.lu@intel.com>
846
847 PR bootstrap/95147
848 * configure: Regenerated.
849
8d286dd1
L
8502020-05-14 H.J. Lu <hongjiu.lu@intel.com>
851
852 * configure: Regenerated.
853
39748a89
HPN
8542020-05-09 Hans-Peter Nilsson <hp@axis.com>
855
856 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
857 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
858
d3a1459c
UB
8592020-05-06 Uroš Bizjak <ubizjak@gmail.com>
860
861 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
862 (__math_force_eval_div): New define.
863 (__sfp_handle_exceptions): Use __math_force_eval_div to use
864 generic division to generate INVALID, DIVZERO and INEXACT
865 exceptions.
866
12667785
KT
8672020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
868
869 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
870 instead of getauxval.
871 (AT_HWCAP): Define.
872 (HWCAP_ATOMICS): Define.
873 Guard detection on __gnu_linux__.
874
ef836167
MM
8752020-05-05 Michael Meissner <meissner@linux.ibm.com>
876
877 * config.host: Delete changes meant for a private branch.
878 * config/rs6000/t-float128: Likewise.
879 * configure.ac: Likewise.
880 * configure: Likewise.
881
811b7636
ML
8822020-05-05 Martin Liska <mliska@suse.cz>
883
884 PR gcov-profile/93623
885 * Makefile.in: Remove __gcov_flush.
886 * gcov.h (__gcov_flush): Remove.
887 * libgcov-interface.c (__gcov_flush): Remove.
888 (init_mx): Use renamed mutex.
889 (__gcov_lock): Likewise.
890 (__gcov_unlock): Likewise.
891 (__gcov_fork): Likewise.
892 (__gcov_flush): Remove.
893
c0532db4
ML
8942020-05-05 Martin Liska <mliska@suse.cz>
895
896 PR gcov-profile/93623
897 * libgcov-interface.c (__gcov_fork): Do not flush
898 and reset only in child process.
899 (__gcov_execl): Dump counters only and reset them
900 only if exec* fails.
901 (__gcov_execlp): Likewise.
902 (__gcov_execle): Likewise.
903 (__gcov_execv): Likewise.
904 (__gcov_execvp): Likewise.
905 (__gcov_execve): Likewise.
906
d39f7dc8
ML
9072020-05-05 Martin Liska <mliska@suse.cz>
908
909 PR gcov-profile/93623
910 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
911 * libgcov-interface.c (ALIAS_void_fn): Remove.
912 (__gcov_lock): New.
913 (__gcov_unlock): New.
914 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
915 (__gcov_reset): Likewise.
916 (__gcov_dump): Likewise.
917 * libgcov.h (__gcov_lock): New declaration.
918 (__gcov_unlock): Likewise.
919
afb9b710
UB
9202020-05-01 Uroš Bizjak <ubizjak@gmail.com>
921
922 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 923 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
924 generic division to generate INVALID and DIVZERO exceptions.
925
66711279
SH
9262020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
927
928 * config/rs6000/crtresfpr.S: Use .machine ppc.
929 * config/rs6000/crtresxfpr.S: Likewise.
930 * config/rs6000/crtsavfpr.S: Likewise.
931
fb22faf4
SN
9322020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
933
934 PR target/94514
935 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
936 Update context->flags accroding to the frame state.
937
df73e584
UB
9382020-04-19 Uroš Bizjak <ubizjak@gmail.com>
939
940 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
941 Remove unneeded assignments to volatile memory.
942
5b2f76e3
JJ
9432020-04-15 Jakub Jelinek <jakub@redhat.com>
944
945 PR target/93053
946 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
947 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
948 is not defined, use just .arch armv8-a.
949 (B, M, N, OPN): Define.
950 (COMMENT): New .macro.
951 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
952 defined. Otherwise, move the operands right after the glue? and
953 comment out operands where the macros are used.
954 * configure: Regenerated.
955 * config.in: Regenerated.
956
50c78532
ILT
9572020-04-07 Ian Lance Taylor <iant@golang.org>
958
959 PR libgcc/94513
960 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
961 syscall instead.
962
458ca332
ILT
9632020-04-04 Ian Lance Taylor <iant@golang.org>
964
965 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
966
710d54ed
ILT
9672020-04-03 Ian Lance Taylor <iant@golang.org>
968
969 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
970 than mmap/munmap, to avoid hooks.
971
b749b5ec
JJ
9722020-04-03 Jim Johnston <jjohnst@us.ibm.com>
973
974 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
975 (TPFRA_OFFSET): Macros removed.
976 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
977 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
978 (PG3_SKIPPING_OFFSET): New macros.
979 (__isPATrange): Use cinfc_fast for the check.
980 (__isSkipResetAddr): New function.
981 (s390_fallback_frame_state): Check for skip trace addresses. Use
982 either ICST_CRET or ICST_SRET to calculate return address
983 location.
984 (__tpf_eh_return): Handle skip trace addresses.
985
a9cd2d78
RE
9862020-03-26 Richard Earnshaw <rearnsha@arm.com>
987
988 PR target/94220
989 * config/arm/lib1funcs.asm (COND): Use a single definition for
990 unified syntax.
991 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
992 (aeabi_idivmod): Likewise.
993 (divsi3_skip_div0_test): Likewise.
994
f582ca0f
MI
9952020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
996
997 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
998
068fe0a9
AK
9992020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1000
1001 * config.host: Include the new makefile fragment.
1002 * config/s390/t-tpf: New file.
1003
6b9ce2b4
RE
10042020-03-03 Richard Earnshaw <rearnsha@arm.com>
1005
1006 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1007 syntax.
1008 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1009 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1010 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1011 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1012 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1013 syntax.
1014 (divsi3, modsi3): Likewise.
1015 (clzdi2, ctzsi2): Likewise.
1016 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1017 unified syntax.
1018 (UNWIND_WRAPPER): Likewise.
1019
8dd5d8f3
ML
10202020-03-02 Martin Liska <mliska@suse.cz>
1021
1022 * libgcov-interface.c: Remove duplicate
1023 declaration of __gcov_flush_mx.
1024
ea0b1252
ML
10252020-02-18 Martin Liska <mliska@suse.cz>
1026
1027 PR ipa/92924
1028 * libgcov-merge.c (merge_topn_values_set): Record
1029 when a TOP N counter becomes invalid. When merging
1030 remove a smallest value if the space is needed.
1031
02ce382c
SL
10322020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1033
1034 PR libstdc++/79193
1035 PR libstdc++/88999
1036
1037 * configure: Regenerated.
1038
7214fce3
JL
10392020-02-10 Jeff Law <law@redhat.com>
1040
1041 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1042 sections.
1043 * config/frv/frvend.c: Similarly.
1044
cf0f07ef
L
10452020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 PR libgcc/85334
1048 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1049 New.
1050
5602b48b
CL
10512020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1052
1053 PR target/93615
1054 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1055 _Unwind_gnu_Find_got.
1056 * unwind-pe.h: Likewise.
1057
811a475e
JJ
10582020-02-07 Jakub Jelinek <jakub@redhat.com>
1059
1060 PR target/93615
1061 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1062 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1063 trailing :s in asm. Formatting fixes.
1064 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1065
2d33dcfe
SL
10662020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1067
1068 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1069
1070 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1071 * config/nios2-elf-lib.h: New.
1072 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1073 code for finding GOT base for nios2.
1074
3ae37f92
ML
10752020-01-27 Martin Liska <mliska@suse.cz>
1076
1077 PR gcov-profile/93403
1078 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1079 Call __gcov_indirect_call_profiler_body.
1080 (__gcov_indirect_call_profiler_body): New.
1081 (__gcov_indirect_call_profiler_v4_atomic): New.
1082 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1083 New declaration.
1084
2744b8b2
CZ
10852020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1086
1087 * config/arc/crti.S: Add RF16 object attribute.
1088 * config/arc/crtn.S: Likewise.
1089 * config/arc/crttls.S: Likewise.
1090 * config/arc/lib1funcs.S: Likewise.
1091 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1092 * config/arc/lib2funcs.c: New file.
1093 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1094
e8e66971
MR
10952020-01-24 Maciej W. Rozycki <macro@wdc.com>
1096
1097 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1098 * configure.ac: Handle `--with-toolexeclibdir='.
1099 * configure: Regenerate.
1100
54b3d52c
DM
11012020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1102
1103 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1104
a3c1e1f2
DM
11052020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1106
1107 * config/mips/gnustack.h: New file.
1108 * config/mips/crti.S: Include gnustack.h.
1109 * config/mips/crtn.S: Likewise.
1110 * config/mips/mips16.S: Likewise.
1111 * config/mips/vr4120-div.S: Likewise.
1112
e9ee848d
ML
11132020-01-23 Martin Liska <mliska@suse.cz>
1114
1115 * libgcov-driver.c (prune_topn_counter): Remove
1116 check for -1 as we only prune run-time counters
1117 that do not generate an invalid state.
1118
7491c17f
ML
11192020-01-22 Martin Liska <mliska@suse.cz>
1120
1121 PR tree-optimization/92924
1122 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1123 try to find an existing value, then find an empty slot
1124 if not found.
1125
5f32f9cf
ML
11262020-01-22 Martin Liska <mliska@suse.cz>
1127
1128 PR tree-optimization/92924
1129 * libgcov-driver.c (prune_topn_counter): New.
1130 (prune_counters): Likewise.
1131 (dump_one_gcov): Prune a run-time counter.
1132 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1133 For a known value, add GCOV_TOPN_VALUES to value.
1134 Otherwise, decrement all counters by one.
1135
463f6499
HPN
11362020-01-18 Hans-Peter Nilsson <hp@axis.com>
1137
1138 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1139
84479e3a
JDA
11402020-01-18 John David Anglin <danglin@gcc.gnu.org>
1141
1142 PR libgcc/92988
1143 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1144 DEFAULT_USE_CXA_ATEXIT is true.
1145
e953433f 11462020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 1147 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
1148
1149 * config/arm/t-arm: Check return value of gcc rather than lack of
1150 output.
1151
03e87724
GJL
11522020-01-14 Georg-Johann Lay <avr@gjlay.de>
1153
1154 * config/avr/lib1funcs.S (skip): Simplify.
1155
af9bd920
KCY
11562020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1157
1158 * config/gcn/atomic.c: Remove include of stdint.h.
1159 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1160 __UINTPTR_TYPE__.
1161
d6491d15
KCY
11622020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1163
1164 * config/gcn/atomic.c: New.
1165 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1166
f30dd607
GJL
11672020-01-08 Georg-Johann Lay <avr@gjlay.de>
1168
1169 Implement 64-bit double functions.
1170
1171 PR target/92055
1172 * config.host (tmake_file) [target=avr]: Add t-libf7,
1173 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1174 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1175 depending on sizeof (double) or sizeof (long double).
1176 * config/avr/libf7: New folder.
1177
5205a445
OH
11782020-01-05 Olivier Hainque <hainque@adacore.com>
1179
1180 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1181 by IN_LIBGCC2.
1182
8d9254fc
JJ
11832020-01-01 Jakub Jelinek <jakub@redhat.com>
1184
1185 Update copyright years.
1186
abb6c3ee
OH
11872019-12-30 Olivier Hainque <hainque@adacore.com>
1188
1189 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1190 * config/gthr-vxworks-tls.c: Likewise.
1191
d7f5094a
OH
11922019-12-30 Olivier Hainque <hainque@adacore.com>
1193
1194 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1195 standard zero-initializer syntax.
1196
49cfaa2a
OH
11972019-12-30 Olivier Hainque <hainque@adacore.com>
1198
1199 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1200 reference to the internal VX_GET_TLS_DATA interface.
1201
89b9a554
OH
12022019-12-30 Olivier Hainque <hainque@adacore.com>
1203
1204 * config/vxcrtstuff.c: Fix incorrect spelling of
1205 USE_INITFINI_ARRAY in guard.
1206
e8aa9f55
JL
12072019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1208
1209 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1210 Override default "extra_parts" variable.
1211 * configure: Regenerate.
1212 * configure.ac: Disable TM clone registry by default for
1213 msp430-elfbare.
1214
a9046e98
JL
12152019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1216
1217 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1218 "extra_parts".
1219 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1220
34a53788
JL
12212019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1222
1223 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1224 true.
1225
21a098f4
JL
12262019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1227
1228 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1229 defined instead of its value.
1230
ad8b7783
JL
12312019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1232
1233 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1234 if it will have contents.
1235
08d7ff78
GJL
12362019-12-05 Georg-Johann Lay <avr@gjlay.de>
1237
1238 PR target/92055
1239 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1240
3d3a96a2
SN
12412019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1242
34b4d99d 1243 PR libgcc/91737
3d3a96a2
SN
1244 * config.host: Add t-gthr-noweak on *-*-musl*.
1245 * config/t-gthr-noweak: New file.
1246
632b5e3d
JDA
12472019-11-17 John David Anglin <danglin@gcc.gnu.org>
1248
1249 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1250 volatile void *. Remove trap check.
1251 (__kernel_cmpxchg2): Likewise.
1252 (FETCH_AND_OP_2): Adjust operand types.
1253 (OP_AND_FETCH_2): Likewise.
1254 (FETCH_AND_OP_WORD): Likewise.
1255 (OP_AND_FETCH_WORD): Likewise.
1256 (COMPARE_AND_SWAP_2): Likewise.
1257 (__sync_val_compare_and_swap_4): Likewise.
1258 (__sync_bool_compare_and_swap_4): Likewise.
1259 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1260 (__sync_lock_test_and_set_4): Likewise.
1261 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1262 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1263 for release.
1264 (__sync_lock_release_8): Remove.
1265
838fd641
SN
12662019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1267
1268 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1269 of __sigset_t.
1270
27204060
JL
12712019-11-14 Jerome Lambourg <lambourg@adacore.com>
1272 Doug Rupp <rupp@adacore.com>
1273 Olivier Hainque <hainque@adacore.com>
1274
1275 * config.host: Collapse the arm-vxworks entries into
1276 a single arm-wrs-vxworks7* one.
1277 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1278 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1279 kernel modules, to be overriden by libstdc++ when we link with
1280 it. Rely on externally provided __exidx_start/end.
1281
3004f893
DR
12822019-11-14 Doug Rupp <rupp@adacore.com>
1283 Olivier Hainque <hainque@adacore.com>
1284
1285 * config.host: Handle aarch64*-wrs-vxworks7*.
1286
36e5f4d4
OH
12872019-11-12 Olivier Hainque <hainque@adacore.com>
1288
1289 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1290 sources except the cxx0x support to LIB2ADDEH. We don't support
1291 cxx0x on AE/653.
1292 * config/t-vxworksae: New file.
1293 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1294 Makefile fragment files at their expected position in the tmake_file
1295 list, in accordance with what is done for other VxWorks variants.
1296
806dd047
CG
12972019-11-12 Corentin Gay <gay@adacore.com>
1298 Jerome Lambourg <lambourg@adacore.com>
1299 Olivier Hainque <hainque@adacore.com>
1300
1301 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1302 sources to LIB2ADDEH.
1303 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1304 * config/t-vxworks7: Likewise.
1305
1306 * config.host: Append a block at the end of the file to add the
1307 t-gthr files to the tmake_file list for VxWorks after everything
1308 else.
1309
1310 * config/vxlib.c: Rename as gthr-vxworks.c.
1311 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1312
1313 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1314 API and a basic error checking API, both internal. Simplify the
1315 __gthread_once_t type definition and initializers. Add sections
1316 for condition variables support and for the C++0x thread support,
1317 conditioned against Vx653 for the latter.
1318
1319 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1320 implementation, leveraging the TAS internal API.
1321 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1322 API, leveraging the general availability of TLS services in VxWorks7
1323 post SR6xxx.
1324 (__gthread_setspecific, __gthread_setspecific): Use it.
1325 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1326 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1327 support based on VxWorks primitives.
1328 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1329 based on VxWorks primitives.
1330
78e49fb1
JL
13312019-11-06 Jerome Lambourg <lambourg@adacore.com>
1332 Olivier Hainque <hainque@adacore.com>
1333
1334 * config/vxcrtstuff.c: New file.
1335 * config/t-vxcrtstuff: New Makefile fragment.
1336 * config.host: Append t-vxcrtstuff to the tmake_file list
1337 on all VxWorks ports using dwarf for table based EH.
1338
29f3def3
GJL
13392019-11-07 Georg-Johann Lay <avr@gjlay.de>
1340
1341 Support 64-bit double and 64-bit long double configurations.
1342
1343 PR target/92055
1344 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1345 long double is a 32-bit type.
1346 * config/avr/t-avrlibc: Copy double64 and long-double64
1347 multilib(s) from the vanilla one.
1348 * config/avr/t-copy-libgcc: New Makefile snip.
1349
62ec242e
JL
13502019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1351
1352 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1353 the target output object format is not ELF.
1354 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1355
da5c1bbe
OE
13562019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1357
1358 PR libgcc/78804
1359 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1360 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1361 FLOAT_BIT_ORDER_MISMATCH.
1362 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1363
8dc56a22
JW
13642019-11-01 Jim Wilson <jimw@sifive.com>
1365
1366 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1367
91c64455
JL
13682019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1369
1370 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1371 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1372 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1373 Define symbols for 32-bit and f5series hardware multiply
1374 register addresses.
1375 Replace hard-coded register addresses with symbols.
1376 Fix "_mspabi*" typo.
1377 Fix whitespace.
1378 * config/msp430/lib2mul.c: Add comment.
1379
85093ac6
JDA
13802019-10-15 John David Anglin <danglin@gcc.gnu.org>
1381
1382 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1383 unsigned int. Adjust callers.
1384 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1385 unsigned int *. Load relocation offset before function pointer.
1386 Add barrier to ensure ordering.
1387
1aea083d
JDA
13882019-10-12 John David Anglin <danglin@gcc.gnu.org>
1389
1390 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1391 Load PIC register after branch target. Fix white space.
1392 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1393 implementations. Load PIC register after branch target. Don't
1394 clobber function pointer when it points to function descriptor.
1395 Use nullification instead of branch in LINUX implementation.
1396
c49af82c
JDA
13972019-10-03 John David Anglin <danglin@gcc.gnu.org>
1398
1399 * config/pa/fptr.c: Disable -Warray-bounds warning.
1400
88a51d68
RH
14012019-09-25 Richard Henderson <richard.henderson@linaro.org>
1402
9e46fd07
RH
1403 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1404 not the ubuntu modified 2.69.
1405
58d169ba
RH
1406 PR target/91833
1407 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1408 initialization if !HAVE_SYS_AUXV_H.
1409 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1410 * config.in, configure: Rebuild.
1411
88a51d68
RH
1412 PR target/91834
1413 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1414 overlap the inputs.
1415
761e6bb9
SZ
14162019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1417
1418 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1419 CTR_EL0.IDC and CTR_EL0.DIC.
1420
76c93295
CL
14212019-09-20 Christophe Lyon <christophe.lyon@st.com>
1422
1423 Revert:
1424 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1425 Mickaël Guêné <mickael.guene@st.com>
1426
1427 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1428 architecture.
1429
33befddc
RH
14302019-09-19 Richard Henderson <richard.henderson@linaro.org>
1431
1432 * config/aarch64/lse-init.c: New file.
1433 * config/aarch64/lse.S: New file.
1434 * config/aarch64/t-lse: New file.
1435 * config.host: Add t-lse to all aarch64 tuples.
1436
ae1152e5
CL
14372019-09-10 Christophe Lyon <christophe.lyon@st.com>
1438 Mickaël Guêné <mickael.guene@st.com>
1439
84818dbb
CL
1440 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1441 architecture.
1442
14432019-09-10 Christophe Lyon <christophe.lyon@st.com>
1444 Mickaël Guêné <mickael.guene@st.com>
1445
ae1152e5
CL
1446 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1447 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1448 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1449 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1450 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1451 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1452 (__gnu_personality_sigframe_fdpic): New.
1453 (get_eit_entry): Add FDPIC signal frame support.
1454
5d727a4b
CL
14552019-09-10 Christophe Lyon <christophe.lyon@st.com>
1456 Mickaël Guêné <mickael.guene@st.com>
1457
1458 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1459 (__kernel_dmb): Likewise.
1460 (__fdpic_cmpxchg): New function.
1461 (__fdpic_dmb): New function.
1462 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1463 (gnu_Unwind_Find_got): New function.
1464 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1465 * unwind-arm-common.inc (UCB_PR_GOT): New.
1466 (funcdesc_t): New struct.
1467 (get_eit_entry): Add FDPIC support.
1468 (unwind_phase2): Likewise.
1469 (unwind_phase2_forced): Likewise.
1470 (__gnu_Unwind_RaiseException): Likewise.
1471 (__gnu_Unwind_Resume): Likewise.
1472 (__gnu_Unwind_Backtrace): Likewise.
1473 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1474
b1e21e5a 14752019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 1476 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 1477
11189793
CL
1478 * libgcc/crtstuff.c: Add support for FDPIC.
1479
14802019-09-10 Christophe Lyon <christophe.lyon@st.com>
1481
1482 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 1483
91dfef96
JM
14842019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1485
1486 * config.host: Set cpu_type for bpf-*-* targets.
1487 * config/bpf/t-bpf: Likewise.
1488 * config/bpf/crtn.S: Likewise.
1489 * config/bpf/crti.S: New file.
1490
2f4d8951
JW
14912019-09-06 Jim Wilson <jimw@sifive.com>
1492
1493 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1494 (riscv*-*-freebsd*): Likewise.
1495
2f2aeda9
UW
14962019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1497
1498 * config.host: Remove references to spu.
1499 * config/spu/: Remove directory.
1500
d16017da
JL
15012019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1502
1503 PR target/91306
1504 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1505 element type, instead of "sizeof" the element type.
1506 (__DTOR_LIST__): Likewise.
1507 (__TMC_LIST__): Likewise.
1508 (__do_global_dtors_aux_fini_array_entry): Likewise.
1509 (__frame_dummy_init_array_entry): Likewise.
1510 (__CTOR_END__): Likewise.
1511 (__DTOR_END__): Likweise.
1512 (__FRAME_END__): Likewise.
1513 (__TMC_END__): Likewise.
1514
a9fcfec3
HL
15152019-08-20 Lili Cui <lilicui@intel.com>
1516
1517 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1518 INTEL_COREI7_COOPERLAKE.
1519
428642b1
MT
15202019-07-31 Matt Thomas <matt@3am-software.com>
1521 Nick Hudson <nick@nthcliff.demon.co.uk>
1522 Matthew Green <mrg@eterna.com.au>
1523 Maya Rashish <coypu@sdf.org>
1524
1525 * config.host (hppa*-*-netbsd*): New case.
1526 * config/pa/t-netbsd: New file.
1527
f0efd925
JH
15282019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1529
1530 * config/arm/cmse.c (cmse_check_address_range): Add
1531 warn_unused_result attribute.
1532
a861990d
ML
15332019-07-22 Martin Liska <mliska@suse.cz>
1534
1535 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1536 * config/pa/t-stublib: Likewise.
1537
9c0dba7c
SH
15382019-07-22 Stafford Horne <shorne@gmail.com>
1539
1540 PR target/90362
1541 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1542 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1543 instructions are not available on every processor. Change a
1544 l.bnf to l.bf to fix logic issue.
1545
61afc8f8
IS
15462019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1547
1548 * config.host: Remove reference to t-darwin8.
1549
179c7ef5
IS
15502019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1551
1552 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1553 list.
1554 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1555 mmacosx-version-min for crts to run across all system versions.
1556 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1557 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1558 system versions >= 10.4.
1559
596341c7
ML
15602019-07-03 Martin Liska <mliska@suse.cz>
1561
1562 * Makefile.in: Use topn_values instead of one_value names.
1563 * libgcov-merge.c (__gcov_merge_single): Move to ...
1564 (__gcov_merge_topn): ... this.
1565 (merge_single_value_set): Move to ...
1566 (merge_topn_values_set): ... this.
1567 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1568 ...
1569 (__gcov_topn_values_profiler_body): ... this.
1570 (__gcov_one_value_profiler_v2): Move to ...
1571 (__gcov_topn_values_profiler): ... this.
1572 (__gcov_one_value_profiler_v2_atomic): Move to ...
1573 (__gcov_topn_values_profiler_atomic): ... this.
1574 (__gcov_indirect_call_profiler_v4): Remove.
1575 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1576 (__gcov_topn_counter_op): ... this.
1577 * libgcov.h (L_gcov_merge_single): Remove.
1578 (L_gcov_merge_topn): New.
1579 (__gcov_merge_single): Remove.
1580 (__gcov_merge_topn): New.
1581 (__gcov_one_value_profiler_v2): Move to ..
1582 (__gcov_topn_values_profiler): ... this.
1583 (__gcov_one_value_profiler_v2_atomic): Move to ...
1584 (__gcov_topn_values_profiler_atomic): ... this.
1585
1b309ca5
ML
15862019-07-03 Martin Liska <mliska@suse.cz>
1587
1588 * libgcov-merge.c (merge_single_value_set): Support N values.
1589 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1590
5a460280
ID
15912019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1592
1593 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1594 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1595 * configure.ac: Add --disable-tm-clone-registry option.
1596 * configure: Regenerate.
1597
45309d28
ML
15982019-06-27 Martin Liska <mliska@suse.cz>
1599
1600 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1601 dead assignments.
1602 * libgcov-util.c: Likewise.
1603
c2f7a665
ML
16042019-06-27 Martin Liska <mliska@suse.cz>
1605
1606 * libgcov-util.c (gcov_profile_merge): Release allocated
1607 memory.
1608 (calculate_overlap): Likewise.
1609
a8e55c61
IS
16102019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1611
1612 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1613 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1614 Build objects for the out of line save/restore register functions
1615 so that they can be used for any supported Darwin version.
1616 * config/t-darwin: Default the build Darwin version to Darwin8
1617 (MacOS 10.4).
1618
e5ce4cbc
ML
16192019-06-25 Martin Liska <mliska@suse.cz>
1620
1621 * libgcov-driver-system.c (replace_filename_variables): Do not
1622 call strlen with NULL argument.
1623
52a47d28
AS
16242019-06-25 Andrew Stubbs <ams@codesourcery.com>
1625
1626 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1627 * config/gcn/unwind-gcn.c: New file.
1628
76d46331
KCY
16292019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1630 Andrew Stubbs <ams@codesourcery.com>
1631
1632 * configure: Regenerate.
1633 * config/gcn/gthr-gcn.h: New.
1634
787783a0
TV
16352019-06-18 Tom de Vries <tdevries@suse.de>
1636
1637 * config/nvptx/crt0.c (__main): Declare.
1638
f32f7585
MG
16392019-06-17 Matthew Green <mrg@eterna.com.au>
1640 Maya Rashish <coypu@sdf.org>
1641
1642 * config.host (aarch64*-*-netbsd*): New case.
1643
0fcc78f7
JL
16442019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1645
1646 * config/msp430/slli.S (__mspabi_sllll): New library function for
1647 performing a logical left shift of a 64-bit value.
1648 * config/msp430/srai.S (__mspabi_srall): New library function for
1649 performing a arithmetic right shift of a 64-bit value.
1650 * config/msp430/srll.S (__mspabi_srlll): New library function for
1651 performing a logical right shift of a 64-bit value.
1652
b27c1082
MT
16532019-06-14 Matt Thomas <matt@3am-software.com>
1654 Matthew Green <mrg@eterna.com.au>
1655 Nick Hudson <skrll@netbsd.org>
1656 Maya Rashish <coypu@sdf.org>
1657
1658 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1659 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1660 functions to build.
1661 * config/arm/t-netbsd-eabi: New file.
1662
ae7deb4b
DD
16632019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1664
1665 * config.host: Add PRU target.
1666 * config/pru/asri.c: New file.
1667 * config/pru/eqd.c: New file.
1668 * config/pru/eqf.c: New file.
1669 * config/pru/ged.c: New file.
1670 * config/pru/gef.c: New file.
1671 * config/pru/gtd.c: New file.
1672 * config/pru/gtf.c: New file.
1673 * config/pru/led.c: New file.
1674 * config/pru/lef.c: New file.
1675 * config/pru/lib2bitcountHI.c: New file.
1676 * config/pru/lib2divHI.c: New file.
1677 * config/pru/lib2divQI.c: New file.
1678 * config/pru/lib2divSI.c: New file.
1679 * config/pru/libgcc-eabi.ver: New file.
1680 * config/pru/ltd.c: New file.
1681 * config/pru/ltf.c: New file.
1682 * config/pru/mpyll.S: New file.
1683 * config/pru/pru-abi.h: New file.
1684 * config/pru/pru-asm.h: New file.
1685 * config/pru/pru-divmod.h: New file.
1686 * config/pru/sfp-machine.h: New file.
1687 * config/pru/t-pru: New file.
1688
0d7b3e47
JJ
16892019-06-11 Jakub Jelinek <jakub@redhat.com>
1690
1691 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1692
54e2d83c
ML
16932019-06-10 Martin Liska <mliska@suse.cz>
1694
1695 PR bootstrap/90808
1696 * libgcov.h: Add ATTRIBUTE_UNUSED.
1697
92d41717
ML
16982019-06-10 Martin Liska <mliska@suse.cz>
1699
1700 * Makefile.in: Add __gcov_one_value_profiler_v2,
1701 __gcov_one_value_profiler_v2_atomic and
1702 __gcov_indirect_call_profiler_v4.
1703 * libgcov-merge.c (__gcov_merge_single): Change
1704 function signature.
1705 (merge_single_value_set): New.
1706 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1707 Update functionality.
1708 (__gcov_one_value_profiler): Remove.
1709 (__gcov_one_value_profiler_v2): ... this.
1710 (__gcov_one_value_profiler_atomic): Rename to ...
1711 (__gcov_one_value_profiler_v2_atomic): this.
1712 (__gcov_indirect_call_profiler_v3): Rename to ...
1713 (__gcov_indirect_call_profiler_v4): ... this.
1714 * libgcov.h (__gcov_one_value_profiler): Remove.
1715 (__gcov_one_value_profiler_atomic): Remove.
1716 (__gcov_one_value_profiler_v2_atomic): New.
1717 (__gcov_indirect_call_profiler_v3): Remove.
1718 (__gcov_one_value_profiler_v2): New.
1719 (__gcov_indirect_call_profiler_v4): New.
1720 (gcov_get_counter_ignore_scaling): New function.
1721
e37333ba
ML
17222019-06-07 Martin Liska <mliska@suse.cz>
1723
1724 * Makefile.in: Remove usage of
1725 _gcov_merge_icall_topn.
1726 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1727 (gcov_sort_icall_topn_counter): Likewise.
1728 (gcov_sort_topn_counter_arrays): Likewise.
1729 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1730 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1731 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1732 Likewise.
1733 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1734 (struct indirect_call_tuple): Remove.
1735 (__gcov_indirect_call_topn_profiler): Remove.
1736 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1737 * libgcov.h (gcov_sort_n_vals): Remove.
1738 (L_gcov_merge_icall_topn): Likewise.
1739 (__gcov_merge_icall_topn): Likewise.
1740 (__gcov_indirect_call_topn_profiler): Likewise.
1741
34a4a9c2
IS
17422019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1743
1744 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1745 altivec enabled.
1746
d1b2f85f
JL
17472019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1748
1749 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1750 section.
1751 (__mspabi_slli): Likewise.
1752 (__mspabi_slll_n): Likewise.
1753 (__mspabi_slll): Likewise.
1754 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1755 (__mspabi_srai): Likewise.
1756 (__mspabi_sral_n): Likewise.
1757 (__mspabi_sral): Likewise.
1758 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1759 (__mspabi_srli): Likewise.
1760 (__mspabi_srll_n): Likewise.
1761 (__mspabi_srll): Likewise.
1762
e69a13d1
YS
17632019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1764
1765 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1766 Add appropriate tm_file clause as well.
1767 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1768
b009eac1
JC
17692019-06-05 James Clarke <jrtc27@jrtc27.com>
1770
1771 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1772 rather than .data/.bss so it can be accessed via gp-relative
1773 addressing.
1774
781d39f2
DE
17752019-06-05 David Edelsohn <dje.gcc@gmail.com>
1776
1777 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1778 (CR2_REGNO): Rename to R_CR2.
1779 (XER_REGNO): Rename to R_XER.
1780 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1781 (VRSAVE_REGNO): Rename to R_VRSAVE.
1782 (VSCR_REGNO): R_VSCR.
1783
76aaa9cd
YS
17842019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1785
1786 * config.host (rx-*-linux*): Add new case.
1787 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1788
8fc16d72
ST
17892019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1790
1791 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1792 function.
1793 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1794 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1795 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1796 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1797 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1798 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1799 string.
1800 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1801 string.
1802 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1803
e54b1a92
RO
18042019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1805
1806 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1807 Remove Solaris 9 and 10 support.
1808 (sparc_is_sighandler): Likewise.
1809
abbb8307
JDA
18102019-05-26 John David Anglin <danglin@gcc.gnu.org>
1811
1812 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1813
2581344d
L
18142019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1815
1816 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1817 4_FP_W_TYPEs are used for IEEE quad precision.
1818 * soft-fp/extendhftf2.c: Likewise.
1819 * soft-fp/extendsftf2.c: Likewise.
1820 * soft-fp/extendxftf2.c: Likewise.
1821 * soft-fp/trunctfdf2.c: Likewise.
1822 * soft-fp/trunctfhf2.c: Likewise.
1823 * soft-fp/trunctfsf2.c: Likewise.
1824 * soft-fp/trunctfxf2.c: Likewise.
1825 * config/rs6000/ibm-ldouble.c: Likewise.
1826
ccd1242e
RO
18272019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1828
1829 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1830 *-*-solaris2*.
1831 * configure.ac: Likewise.
1832 * configure: Regenerate.
1833
1834 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1835 Solaris 10 and Solaris 11 < snv_125 handling.
1836
ef5eb79d
IS
18372019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1838
1839 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1840
4f0e90fa
HL
18412019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1842
1843 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1844 * config/i386/cpuinfo.h (enum processor_features): Add
1845 FEATURE_AVX512BF16.
1846
48528842
RR
18472019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1848 Bernd Edlinger <bernd.edlinger@hotmail.de>
1849 Jakub Jelinek <jakub@redhat.com>
1850
1851 PR target/89093
1852 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1853 * config/arm/unwind-arm.c: Likewise.
1854 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1855 attribute for ARM.
1856
887e182f
MC
18572019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1858
1859 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1860 (RT_SIGRETURN): Update.
1861 (nds32_fallback_frame_state): Update.
1862
a90b0cdd
MS
18632019-02-21 Martin Sebor <msebor@redhat.com>
1864
1865 * libgcc2.h (__clear_cache): Correct signature.
1866 * libgcc2.c (__clear_cache): Same.
1867
1ed28eda
UB
18682019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1869
1870 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1871 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1872
fe95aee9
UB
18732019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1874
1875 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1876 regno instead of index to DWARF_ZERO_REG.
1877
bf7988f1
EB
18782019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1879
1880 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1881 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1882
ba2c1ca8
UB
18832019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1884
1885 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1886 to HOST_LIBGCC2_CFLAGS.
1887
6395ba73
L
18882019-01-23 Joseph Myers <joseph@codesourcery.com>
1889
1890 PR libgcc/88931
ba2c1ca8 1891 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 1892
756721ba
ML
18932019-01-18 Martin Liska <mliska@suse.cz>
1894
1895 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1896 to ...
1897 (__gcov_indirect_call_profiler_v3): ... this.
1898 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1899 (__gcov_indirect_call_profiler_v3): Likewise.
1900 * Makefile.in: Bump function name.
1901
d273c40a
ML
19022019-01-18 Martin Liska <mliska@suse.cz>
1903
1904 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1905 (gcov_version): Use in gcov_error.
1906 (merge_one_data): Likewise.
1907 (dump_one_gcov): Likewise.
1908
be9d9fdb
ML
19092019-01-18 Martin Liska <mliska@suse.cz>
1910
1911 * libgcov-driver.c (gcov_version_string): New function.
1912 (gcov_version): Convert version integer into string.
1913
91d7b7fe
AS
19142019-01-17 Andrew Stubbs <ams@codesourcery.com>
1915 Kwok Cheung Yeung <kcy@codesourcery.com>
1916 Julian Brown <julian@codesourcery.com>
1917 Tom de Vries <tom@codesourcery.com>
1918
1919 * config.host: Recognize amdgcn*-*-amdhsa.
1920 * config/gcn/crt0.c: New file.
1921 * config/gcn/lib2-divmod-hi.c: New file.
1922 * config/gcn/lib2-divmod.c: New file.
1923 * config/gcn/lib2-gcn.h: New file.
1924 * config/gcn/sfp-machine.h: New file.
1925 * config/gcn/t-amdgcn: New file.
1926
67914693
SL
19272019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1928
1929 PR other/16615
1930
1931 * config/c6x/libunwind.S: Mechanically replace "can not" with
1932 "cannot".
1933 * config/tilepro/atomic.h: Likewise.
1934 * config/vxlib-tls.c: Likewise.
1935 * generic-morestack-thread.c: Likewise.
1936 * generic-morestack.c: Likewise.
1937 * mkmap-symver.awk: Likewise.
1938
a5544970
JJ
19392019-01-01 Jakub Jelinek <jakub@redhat.com>
1940
1941 Update copyright years.
1942
da77eace
L
19432018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1944
1945 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1946 to ignore -Waddress-of-packed-member.
1947
72e3a529
TP
19482018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1949
1950 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1951 parameter and corresponding code.
1952 (ARM_FUNC_START): Likewise in both definitions.
1953 Also update footer comment about condition that need to match with
1954 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1955 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1956 defined. Weakly define it in this case.
1957 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1958 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1959 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1960 comment to keep condition in sync with the one in
1961 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1962
5d54c798
WX
19632018-12-18 Wei Xiao <wei3.xiao@intel.com>
1964
1965 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1966 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1967
5a2580b6
RV
19682018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1969
1970 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1971 and .cfi_endproc directives for VxWorks targets.
1972
c0c5112b
PK
19732018-12-05 Paul Koning <ni1d@arrl.net>
1974
1975 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1976
1ea7ea18
AM
19772018-11-27 Alan Modra <amodra@gmail.com>
1978
1979 * config/rs6000/morestack.S (__stack_split_initialize),
1980 (__morestack_get_guard, __morestack_set_guard),
1981 (__morestack_make_guard): Provide CFI covering these functions.
1982 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1983
ff641ae1
XQ
19842018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1985
1ea7ea18 1986 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
1987 (sc_pt_regs_lr): Update for kernel.
1988 (sc_pt_regs_tls): Update for kernel.
1989
28209372
XQ
19902018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1991
1992 * config/csky/linux-unwind.h: Fix coding style.
1993
b2a71af6
XQ
19942018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1995
1996 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 1997 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
1998 instructions to adapt to changes in the kernel
1999
d929e137
SH
20002018-11-09 Stafford Horne <shorne@gmail.com>
2001 Richard Henderson <rth@twiddle.net>
2002
2003 * config.host: Add OpenRISC support.
2004 * config/or1k/*: New.
2005
222cfefa
KC
20062018-11-08 Kito Cheng <kito@andestech.com>
2007
2008 * soft-fp/adddf3.c: Update from glibc.
2009 * soft-fp/addsf3.c: Likewise.
2010 * soft-fp/addtf3.c: Likewise.
2011 * soft-fp/divdf3.c: Likewise.
2012 * soft-fp/divsf3.c: Likewise.
2013 * soft-fp/divtf3.c: Likewise.
2014 * soft-fp/double.h: Likewise.
2015 * soft-fp/eqdf2.c: Likewise.
2016 * soft-fp/eqsf2.c: Likewise.
2017 * soft-fp/eqtf2.c: Likewise.
2018 * soft-fp/extenddftf2.c: Likewise.
2019 * soft-fp/extended.h: Likewise.
2020 * soft-fp/extendhftf2.c: Likewise.
2021 * soft-fp/extendsfdf2.c: Likewise.
2022 * soft-fp/extendsftf2.c: Likewise.
2023 * soft-fp/extendxftf2.c: Likewise.
2024 * soft-fp/fixdfdi.c: Likewise.
2025 * soft-fp/fixdfsi.c: Likewise.
2026 * soft-fp/fixdfti.c: Likewise.
2027 * soft-fp/fixhfti.c: Likewise.
2028 * soft-fp/fixsfdi.c: Likewise.
2029 * soft-fp/fixsfsi.c: Likewise.
2030 * soft-fp/fixsfti.c: Likewise.
2031 * soft-fp/fixtfdi.c: Likewise.
2032 * soft-fp/fixtfsi.c: Likewise.
2033 * soft-fp/fixtfti.c: Likewise.
2034 * soft-fp/fixunsdfdi.c: Likewise.
2035 * soft-fp/fixunsdfsi.c: Likewise.
2036 * soft-fp/fixunsdfti.c: Likewise.
2037 * soft-fp/fixunshfti.c: Likewise.
2038 * soft-fp/fixunssfdi.c: Likewise.
2039 * soft-fp/fixunssfsi.c: Likewise.
2040 * soft-fp/fixunssfti.c: Likewise.
2041 * soft-fp/fixunstfdi.c: Likewise.
2042 * soft-fp/fixunstfsi.c: Likewise.
2043 * soft-fp/fixunstfti.c: Likewise.
2044 * soft-fp/floatdidf.c: Likewise.
2045 * soft-fp/floatdisf.c: Likewise.
2046 * soft-fp/floatditf.c: Likewise.
2047 * soft-fp/floatsidf.c: Likewise.
2048 * soft-fp/floatsisf.c: Likewise.
2049 * soft-fp/floatsitf.c: Likewise.
2050 * soft-fp/floattidf.c: Likewise.
2051 * soft-fp/floattihf.c: Likewise.
2052 * soft-fp/floattisf.c: Likewise.
2053 * soft-fp/floattitf.c: Likewise.
2054 * soft-fp/floatundidf.c: Likewise.
2055 * soft-fp/floatundisf.c: Likewise.
2056 * soft-fp/floatunditf.c: Likewise.
2057 * soft-fp/floatunsidf.c: Likewise.
2058 * soft-fp/floatunsisf.c: Likewise.
2059 * soft-fp/floatunsitf.c: Likewise.
2060 * soft-fp/floatuntidf.c: Likewise.
2061 * soft-fp/floatuntihf.c: Likewise.
2062 * soft-fp/floatuntisf.c: Likewise.
2063 * soft-fp/floatuntitf.c: Likewise.
2064 * soft-fp/gedf2.c: Likewise.
2065 * soft-fp/gesf2.c: Likewise.
2066 * soft-fp/getf2.c: Likewise.
2067 * soft-fp/half.h: Likewise.
2068 * soft-fp/ledf2.c: Likewise.
2069 * soft-fp/lesf2.c: Likewise.
2070 * soft-fp/letf2.c: Likewise.
2071 * soft-fp/muldf3.c: Likewise.
2072 * soft-fp/mulsf3.c: Likewise.
2073 * soft-fp/multf3.c: Likewise.
2074 * soft-fp/negdf2.c: Likewise.
2075 * soft-fp/negsf2.c: Likewise.
2076 * soft-fp/negtf2.c: Likewise.
2077 * soft-fp/op-1.h: Likewise.
2078 * soft-fp/op-2.h: Likewise.
2079 * soft-fp/op-4.h: Likewise.
2080 * soft-fp/op-8.h: Likewise.
2081 * soft-fp/op-common.h: Likewise.
2082 * soft-fp/quad.h: Likewise.
2083 * soft-fp/single.h: Likewise.
2084 * soft-fp/soft-fp.h: Likewise.
2085 * soft-fp/subdf3.c: Likewise.
2086 * soft-fp/subsf3.c: Likewise.
2087 * soft-fp/subtf3.c: Likewise.
2088 * soft-fp/truncdfsf2.c: Likewise.
2089 * soft-fp/trunctfdf2.c: Likewise.
2090 * soft-fp/trunctfhf2.c: Likewise.
2091 * soft-fp/trunctfsf2.c: Likewise.
2092 * soft-fp/trunctfxf2.c: Likewise.
2093 * soft-fp/unorddf2.c: Likewise.
2094 * soft-fp/unordsf2.c: Likewise.
2095 * soft-fp/unordtf2.c: Likewise.
2096
2901f42f
VK
20972018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2098
2099 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2100 * config/i386/cpuinfo.h (processor_types): Add znver2.
2101
4310ca66
PK
21022018-11-01 Paul Koning <ni1d@arrl.net>
2103
2104 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2105 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2106
22e05272
JM
21072018-10-31 Joseph Myers <joseph@codesourcery.com>
2108
2109 PR bootstrap/82856
2110 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2111 * configure: Regenerate.
2112
8180cde0
CZ
21132018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2114
2115 * config/arc/lib1funcs.S (_muldi3): New function.
2116 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2117
be7b071e
RV
21182018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2119
2120 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2121
3239d726
ML
21222018-10-25 Martin Liska <mliska@suse.cz>
2123
2124 PR other/87735
2125 * libgcov-profiler.c: Revert.
2126
19b55958
ML
21272018-10-24 Martin Liska <mliska@suse.cz>
2128
2129 * libgcov-profiler.c: Start from 1 in order to distinguish
2130 functions which were seen and these that were not.
2131
a9a2fddb
PK
21322018-10-18 Paul Koning <ni1d@arrl.net>
2133
2134 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2135 standard.
2136 * divmod.c: Update references to __udivmodsi4.
2137 * udivmod.c: Ditto.
2138 * udivhi3.c: New file.
2139 * udivmodhi4.c: New file.
2140 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2141
fc8abc46
RV
21422018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2143
2144 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2145
87f918e3
OH
21462018-10-12 Olivier Hainque <hainque@adacore.com>
2147
2148 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2149 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2150
be86efa7
PK
21512018-10-08 Paul Koning <ni1d@arrl.net>
2152
2153 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2154
3edbcdbe
ML
21552018-10-04 Martin Liska <mliska@suse.cz>
2156
2157 PR gcov-profile/84107
2158 * libgcov-profiler.c (__gcov_indirect_call):
2159 Change type to indirect_call_tuple.
2160 (struct indirect_call_tuple): New struct.
2161 (__gcov_indirect_call_topn_profiler): Change type.
2162 (__gcov_indirect_call_profiler_v2): Use the new
2163 variables.
2164 * libgcov.h (struct indirect_call_tuple): New struct
2165 definition.
2166
af8096fc
UB
21672018-10-03 Uros Bizjak <ubizjak@gmail.com>
2168
2169 * libgcc2.c (isnan): Use __builtin_isnan.
2170 (isfinite): Use __builtin_isfinite.
2171 (isinf): Use __builtin_isinf.
2172
0a76bba4
UB
21732018-09-26 Uros Bizjak <ubizjak@gmail.com>
2174
2175 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2176
5244089f
OH
21772018-09-21 Alexandre Oliva <oliva@adacore.com>
2178
2179 * config/vxcache.c: New file. Provide __clear_cache, based on
2180 the cacheTextUpdate VxWorks service.
2181 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2182 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2183 * config/t-vxwoks7: Likewise.
2184
512cc015
ML
21852018-09-21 Martin Liska <mliska@suse.cz>
2186
2187 * libgcov-driver.c (crc32_unsigned): Remove.
2188 (gcov_histogram_insert): Likewise.
2189 (gcov_compute_histogram): Likewise.
2190 (compute_summary): Simplify rapidly.
2191 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2192 (merge_summary): Rapidly simplify.
2193 (dump_one_gcov): Ignore gcov_summary.
2194 (gcov_do_dump): Do not handle program summary, it's not
2195 used.
2196 * libgcov-util.c (tag_summary): Remove.
2197 (read_gcda_finalize): Fix coding style.
2198 (read_gcda_file): Initialize curr_object_summary.
2199 (compute_summary): Remove.
2200 (calculate_overlap): Remove settings of run_max.
2201
36ff254b
MC
22022018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2203
2204 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2205 ucontext_t type instead.
2206 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2207
229a033d
KC
22082018-09-21 Kito Cheng <kito.cheng@gmail.com>
2209
2210 * config/nds32/t-nds32-glibc: New file.
2211
53c6feb2
RO
22122018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2213
2214 * configure.ac (solaris_ld_v2_maps): New test.
2215 * configure: Regenerate.
2216 * Makefile.in (solaris_ld_v2_maps): New variable.
2217 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2218 if supported.
2219
ebdb6f23
RE
22202018-08-23 Richard Earnshaw <rearnsha@arm.com>
2221
2222 PR target/86951
2223 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2224 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2225 to build.
2226
a49c064e
IS
22272018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2228
1ea7ea18 2229 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
2230 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2231 * config/darwin10-unwind-find-enc-func.c: … to here.
2232 * config/t-darwin: Build Darwin10 unwinder shim crt.
2233 * libgcc/config.host: Add the Darwin10 unwinder shim.
2234
9a5b8df7
RV
22352018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2236
2237 * config.host: Add crtbegin.o and crtend.o for
2238 powerpc-wrs-vxworks target.
2239
4cd0bc3b
J
22402018-08-17 Jojo <jijie_rong@c-sky.com>
2241 Huibin Wang <huibin_wang@c-sky.com>
2242 Sandra Loosemore <sandra@codesourcery.com>
2243 Chung-Lin Tang <cltang@codesourcery.com>
2244
2245 C-SKY port: libgcc
2246
2247 * config.host: Add C-SKY support.
2248 * config/csky/*: New.
2249
a4931745
CJW
22502018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2251
2252 * config/nds32/t-nds32-isr: Rearrange object dependency.
2253 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2254 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2255 and registers usage.
2256 * config/nds32/isr-library/excp_isr.S: Ditto.
2257 * config/nds32/isr-library/intr_isr.S: Ditto.
2258 * config/nds32/isr-library/reset.S: Ditto.
2259 * config/nds32/isr-library/restore_all.inc: Ditto.
2260 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2261 * config/nds32/isr-library/restore_partial.inc: Ditto.
2262 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2263 * config/nds32/isr-library/save_all.inc: Ditto.
2264 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2265 * config/nds32/isr-library/save_partial.inc: Ditto.
2266 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2267 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2268
2b1969f6
JDA
22692018-08-11 John David Anglin <danglin@gcc.gnu.org>
2270
2271 * config/pa/linux-atomic.c: Update comment.
2272 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2273 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2274 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2275 __ATOMIC_RELAXED for atomic loads.
2276 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2277 unordered store to release lock.
2278 (__sync_lock_release_8): Likewise.
2279 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 2280
89fff9cc
NP
22812018-08-02 Nicolas Pitre <nico@fluxnic.net>
2282
2283 PR libgcc/86512
2284 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2285 exponent goes negative. Update my email address.
2286 * config/arm/ieee754-sf.S: Likewise.
2287
fd2e1dcd
ML
22882018-08-01 Martin Liska <mliska@suse.cz>
2289
2290 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 2291 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 2292
b7415975
CL
22932018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2294
2295 * config/arm/ieee754-df.S: Fix comment for code working on
2296 architectures >= 4.
2297 * config/arm/ieee754-sf.S: Likewise.
2298
b72e71a3
L
22992018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2300
2301 PR libgcc/85334
2302 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2303 Removed.
2304
1c686aa4
JC
23052018-07-05 James Clarke <jrtc27@jrtc27.com>
2306
2307 * configure: Regenerated.
2308
b61c9b99
RO
23092018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2310
2311 * Makefile.in (install_leaf): Use enable_gcov instead of
2312 enable_libgcov.
2313
1765b023
RV
23142018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2315
2316 * configure.ac: Add --disable-gcov option.
2317 * configure: Regenerate.
2318 * Makefile.in: Honour @enable_gcov@.
2319
9b2e34ef
CL
23202018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2321
2322 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2323 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2324 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2325 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2326 __ARM_ARCH__.
2327 * config/arm/ieee754-sf.S: Likewise.
2328 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2329
d1b0dd54
CL
23302018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2331
2332 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2333 longer supported.
2334 * config/arm/ieee754-sf.S: Likewise.
2335
1f3fa525
TM
23362018-06-20 Than McIntosh <thanm@google.com>
2337
2338 PR libgcc/86213
2339 * generic-morestack.c (allocate_segment): Move calls to getenv and
2340 getpagesize to __morestack_load_mmap.
2341 (__morestack_load_mmap) Initialize static_pagesize and
2342 use_guard_page here so as to avoid clobbering SSE regs during a
2343 __morestack call.
2344
6a8886e4
MM
23452018-06-18 Michael Meissner <meissner@linux.ibm.com>
2346
2347 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2348 support modules with -mno-gnu-attribute.
2349 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2350
fb997097
OH
23512018-06-07 Olivier Hainque <hainque@adacore.com>
2352
2353 * config/t-vxworks (LIBGCC_INCLUDES): Add
2354 -I$(MULTIBUILDTOP)../../gcc/include.
2355 * config/t-vxworks7: Likewise. Reformat a bit to match
2356 the t-vxworks layout.
2357
a548a5a1
OM
23582018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2359
2360 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2361
244aebfd
ML
23622018-06-07 Martin Liska <mliska@suse.cz>
2363
2364 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 2365 all_prg.
244aebfd 2366
6c086e8c
ML
23672018-06-07 Martin Liska <mliska@suse.cz>
2368
92a285c1 2369 PR bootstrap/86057
6c086e8c 2370 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 2371 memcpy instead of mempcpy.
6c086e8c 2372 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 2373 prefix and set it.
6c086e8c 2374 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 2375 here and properly copy content into it.
6c086e8c 2376 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 2377 field, change prefix from size_t into char *.
6c086e8c
ML
2378 (compute_summary): Do not calculate longest filename.
2379 (gcov_do_dump): Release memory of gf.filename after each file.
2380 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 2381 compute_summary.
6c086e8c
ML
2382 (calculate_overlap): Likewise.
2383
97a53d1d
ML
23842018-06-05 Martin Liska <mliska@suse.cz>
2385
2386 PR gcov-profile/47618
2387 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 2388 function.
97a53d1d
ML
2389 (gcov_exit_open_gcda_file): Use it.
2390
7f3577f5
ML
23912018-06-05 Martin Liska <mliska@suse.cz>
2392
2393 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2394 of gcov_ctr_summary.
2395 (compute_summary): Do it just for a single summary.
2396 (merge_one_data): Likewise.
2397 (merge_summary): Simplify as we read just single summary.
2398 (dump_one_gcov): Pass proper argument.
2399 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2400 single summary.
2401 (gcov_info_count_all_cold): Likewise.
2402 (calculate_overlap): Likewise.
2403
cf3cd43d
CJW
24042018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2405 Monk Chiang <sh.chiang04@gmail.com>
2406
2407 * config.host (nds32*-linux*): New.
2408 * config/nds32/linux-atomic.c: New file.
2409 * config/nds32/linux-unwind.h: New file.
2410
8b8003ed
UB
24112018-05-31 Uros Bizjak <ubizjak@gmail.com>
2412
2413 PR target/85591
2414 * config/i386/cpuinfo.c (get_amd_cpu): Return
2415 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2416
bbdf026f
RV
24172018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2418
92a285c1 2419 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 2420
0e8f29da
ML
24212018-05-29 Martin Liska <mliska@suse.cz>
2422
92a285c1 2423 PR gcov-profile/85759
0e8f29da 2424 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 2425 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 2426 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 2427 overwrite a gcov file with a different timestamp.
0e8f29da 2428
54fd1590
K
24292018-05-23 Kalamatee <kalamatee@gmail.com>
2430
2431 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2432 path to Lf$finfty.
2433
09baee1a
KC
24342018-05-18 Kito Cheng <kito.cheng@gmail.com>
2435 Monk Chiang <sh.chiang04@gmail.com>
2436 Jim Wilson <jimw@sifive.com>
2437
2438 * config/riscv/save-restore.S: Add support for rv32e.
2439
c3f808d3
KT
24402018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2441
2442 * config/arm/libunwind.S: Update comment relating to armv5.
2443
fcf4f831
JL
24442018-05-17 Jerome Lambourg <lambourg@adacore.com>
2445
2446 * config/arm/cmse.c (cmse_check_address_range): Replace
2447 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2448
74b2bb19
OM
24492018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2450
2451 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2452 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2453
50e461df
OM
24542018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2455
2456 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2457 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2458
e5f1cdb1
AC
24592018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2460
2461 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2462
8f479d7a
AT
24632018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2464 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2465
2466 PR libgcc/84292
2467 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2468 op_and_fetch to return the right result.
2469
ae043291
AM
24702018-04-27 Alan Modra <amodra@gmail.com>
2471
2472 PR libgcc/85532
2473 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2474 -fno-asynchronous-unwind-tables.
2475
ba169b74
CJW
24762018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2477
2478 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2479 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2480
ffc2fc06
L
24812018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2482
2483 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2484 when including "config/i386/shadow-stack-unwind.h".
2485
7b47ecf2
L
24862018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2487
2488 * configure: Regenerated.
2489
661eb8f9
MM
24902018-04-20 Michael Meissner <meissner@linux.ibm.com>
2491
2492 PR target/85456
2493 * config/rs6000/_powikf2.c: New file. Add support for the
2494 __builtin_powil function when long double is IEEE 128-bit floating
2495 point.
2496 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2497 __powikf2 support.
2498 (__powikf2): Likewise.
2499 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2500 (__powikf2_hw): Likewise.
2501 (__powikf2): Likewise.
2502 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2503 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2504 (_powikf2-hw.c): Likewise.
2505
5707be3c
L
25062018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2507
2508 PR libgcc/85334
2509 * unwind-generic.h (_Unwind_Frames_Increment): New.
2510 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2511 Likewise.
2512 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2513 count with _Unwind_Frames_Increment.
2514 (_Unwind_ForcedUnwind_Phase2): Likewise.
2515
5f9ca0b8
L
25162018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2517
2518 PR libgcc/85379
2519 * config/i386/morestack.S (__stack_split_initialize): Add
2520 _CET_ENDBR.
2521
a0e1df88
JJ
25222018-04-19 Jakub Jelinek <jakub@redhat.com>
2523
2524 * configure: Regenerated.
2525
001ddaa8
DM
25262018-04-18 David Malcolm <dmalcolm@redhat.com>
2527
2528 PR jit/85384
2529 * configure: Regenerate.
2530
a57f99ba
JJ
25312018-04-16 Jakub Jelinek <jakub@redhat.com>
2532
2533 PR target/84945
2534 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2535 -Wdangling-else warnings. Mask shift counts to avoid
2536 -Wshift-count-negative and -Wshift-count-overflow false positives.
2537
4d47fe5a
RB
25382018-04-06 Ruslan Bukin <br@bsdpad.com>
2539
2540 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2541
059cc8ac
L
25422018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2543
2544 PR target/85100
2545 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2546 (XSTATE_FP): Likewise.
2547 (XSTATE_SSE): Likewise.
2548 (XSTATE_YMM): Likewise.
2549 (XSTATE_OPMASK): Likewise.
2550 (XSTATE_ZMM): Likewise.
2551 (XSTATE_HI_ZMM): Likewise.
2552 (XCR_AVX_ENABLED_MASK): Likewise.
2553 (XCR_AVX512F_ENABLED_MASK): Likewise.
2554 (get_available_features): Enable AVX and AVX512 features only
2555 if their states are supported by OSXSAVE.
2556
f2620385
IT
25572018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2558
2559 PR target/85025
2560 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2561 Fix a typo, tmp => 255.
2562
ae6dca8c
JJ
25632018-03-20 Jakub Jelinek <jakub@redhat.com>
2564
2565 PR target/84945
2566 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2567 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2568 ifndef SHARED only.
2569 (set_feature): Define.
2570 (get_available_features): Use set_feature macro. Set __cpu_features2
2571 to the second word of features ifndef SHARED.
2572
c36b04c1
JK
25732018-03-15 Julia Koval <julia.koval@intel.com>
2574
2575 * config/i386/cpuinfo.c (get_available_features): Add
2576 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2577 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2578 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2579 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2580 FEATURE_AVX512BITALG.
2581
79ab5364
JK
25822018-03-14 Julia Koval <julia.koval@intel.com>
2583
2584 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2585 icelake client and icelake server.
2586
66a00b11
JDA
25872018-03-06 John David Anglin <danglin@gcc.gnu.org>
2588
2589 * config/pa/fptr.c (_dl_read_access_allowed): New.
2590 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 2591
ce579a4f
JJ
25922018-02-28 Jakub Jelinek <jakub@redhat.com>
2593
2594 PR debug/83917
2595 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2596 $asm_hidden_op if visibility ("hidden") attribute works.
2597 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2598 * config/i386/i386-asm.h: Don't include auto-host.h.
2599 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2600 PACKAGE_URL): Don't undefine.
2601 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2602 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2603 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2604 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2605 definition instead of hardcoded .hidden.
2606 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2607 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2608 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2609 (USE_GAS_CFI_DIRECTIVES): Don't define.
2610 * configure: Regenerated.
2611 * config.in: Likewise.
2612
e5868319
JJ
26132018-02-26 Jakub Jelinek <jakub@redhat.com>
2614
2615 PR debug/83917
2616 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2617 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2618 inclusion of auto-target.h and auto-host.h.
2619 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2620 __GCC_HAVE_DWARF2_CFI_ASM.
2621 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2622 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2623 cfi_pop): Define.
2624 * config/i386/cygwin.S: Don't include auto-host.h here, just
2625 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2626 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2627 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2628 * config/i386/resms64fx.h: Add cfi_* directives.
2629 * config/i386/resms64x.h: Likewise.
2630
faef260e
MF
26312018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2632
2633 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2634 .literal_position directive.
2635 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2636
14e335ed
IT
26372018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2638
2639 PR target/84148
2640 * configure: Regenerate.
2641
95df0433
IT
26422018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2643
2644 PR target/84239
2645 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2646 Include cetintrin.h not x86intrin.h.
2647
f8de876d
IT
26482018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2649
2650 PR target/84239
95df0433 2651 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
2652 Use new _get_ssp and _inc_ssp intrinsics.
2653
02da1e9c
JK
26542018-02-02 Julia Koval <julia.koval@intel.com>
2655
2656 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2657
048c6a9a
CZ
26582018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2659
2660 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2661 option.
2662 (__divsi3): Use RF16 safe registers.
2663 (__modsi3): Likewise.
2664
0889f168
MF
26652018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2666
2667 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2668 (__divsf3): Make NaN return value quiet.
2669 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2670 (__divdf3): Make NaN return value quiet.
2671
bc8b0d04
SP
26722018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2673
2674 * config/rl78/anddi3.S: New assembly file.
2675 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2676
99cc06ea
SP
26772018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2678
2679 * config/rl78/umindi3.S: New assembly file.
2680 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2681
6e9007a0
SP
26822018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2683
2684 * config/rl78/smindi3.S: New assembly file.
2685 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2686
d975e494 26872018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2688
d975e494
SP
2689 * config/rl78/smaxdi3.S: New assembly file.
2690 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2691
6a18c146 26922018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2693
5dd16013
SP
2694 * config/rl78/umaxdi3.S: New assembly file.
2695 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 2696
07baf4a5
JDA
26972018-01-21 John David Anglin <danglin@gcc.gnu.org>
2698
2699 PR lto/83452
2700 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2701 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 2702
dbc3af4f
RS
27032018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2704
2705 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2706 (DWARF_LAZY_REGISTER_VALUE): Define.
2707 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2708 to provide a fallback register value.
2709
68df9882
MM
27102018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2711
2712 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2713 __ibm128, instead of trying to use long double.
2714 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2715 accomidate -mabi=ieeelongdouble multilibs.
2716 (CVT_IBM128_TO_FLOAT128): Likewise.
2717 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2718 the appropriate IBM extended double type.
2719 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2720 (__gcc_qsub): Likewise.
2721 (__gcc_qmul): Likewise.
2722 (__gcc_qdiv): Likewise.
2723 (pack_ldouble): Likewise.
2724 (__gcc_qneg): Likewise.
2725 (__gcc_qeq): Likewise.
2726 (__gcc_qne): Likewise.
2727 (__gcc_qge): Likewise.
2728 (__gcc_qle): Likewise.
2729 (__gcc_stoq): Likewise.
2730 (__gcc_dtoq): Likewise.
2731 (__gcc_itoq): Likewise.
2732 (__gcc_utoq): Likewise.
2733 (__gcc_qunord): Likewise.
2734 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2735 quad-float128.h for the definitions.
2736 (COPYSIGN): Use the f128 version instead of the q version.
2737 (INFINITY): Likewise.
2738 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2739 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2740 quad-float128.h for the definitions.
2741 (COPYSIGN): Use the f128 version instead of the q version.
2742 (INFINITY): Likewise.
2743 (FABS): Likewise.
2744 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2745 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2746 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2747
64b371b1
SH
27482018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2749
2750 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2751 configuration.
2752
85ec4feb
JJ
27532018-01-03 Jakub Jelinek <jakub@redhat.com>
2754
2755 Update copyright years.
2756
27572017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
2758
2759 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2760 * config/riscv/multi3.c: New file.
2761 * config/riscv/multi3.S: Remove.
2762
3a4c600f
JW
27632017-12-08 Jim Wilson <jimw@sifive.com>
2764
2765 * config/riscv/div.S: Use FUNC_* macros.
2766 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2767 * config/riscv/save-restore.S: Likewise.
2768 * config/riscv/riscv-asm.h: New.
2769
75ad35b5
MM
27702017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2771
6ae3512c
MM
2772 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2773 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2774
75ad35b5
MM
2775 PR libgcc/83112
2776 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2777 correct type for all ifunc resolvers to silence -Wattribute-alias
2778 warnings. Eliminate the forward declaration of the resolver
2779 functions which is no longer needed.
2780 (__subkf3_resolve): Likewise.
2781 (__mulkf3_resolve): Likewise.
2782 (__divkf3_resolve): Likewise.
2783 (__negkf2_resolve): Likewise.
2784 (__eqkf2_resolve): Likewise.
2785 (__nekf2_resolve): Likewise.
2786 (__gekf2_resolve): Likewise.
2787 (__gtkf2_resolve): Likewise.
2788 (__lekf2_resolve): Likewise.
2789 (__ltkf2_resolve): Likewise.
2790 (__unordkf2_resolve): Likewise.
2791 (__extendsfkf2_resolve): Likewise.
2792 (__extenddfkf2_resolve): Likewise.
2793 (__trunckfsf2_resolve): Likewise.
2794 (__trunckfdf2_resolve): Likewise.
2795 (__fixkfsi_resolve): Likewise.
2796 (__fixkfdi_resolve): Likewise.
2797 (__fixunskfsi_resolve): Likewise.
2798 (__fixunskfdi_resolve): Likewise.
2799 (__floatsikf_resolve): Likewise.
2800 (__floatdikf_resolve): Likewise.
2801 (__floatunsikf_resolve): Likewise.
2802 (__floatundikf_resolve): Likewise.
2803 (__extendkftf2_resolve): Likewise.
2804 (__trunctfkf2_resolve): Likewise.
2805
2806 PR libgcc/83103
2807 * config/rs6000/quad-float128.h (TF): Don't define if long double
2808 is IEEE 128-bit floating point.
2809 (TCtype): Define as either TCmode or KCmode, depending on whether
2810 long double is IEEE 128-bit floating point.
2811 (__mulkc3_sw): Add declarations for software/hardware versions of
2812 complex multiply/divide.
2813 (__divkc3_sw): Likewise.
2814 (__mulkc3_hw): Likewise.
2815 (__divkc3_hw): Likewise.
2816 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2817 handlers to switch between using software emulation and hardware
2818 float128 instructions, build the complex multiply/divide functions
2819 for both software and hardware support.
2820 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2821 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2822 (__divkc3_resolve): Likewise.
2823 (__mulkc3): Likewise.
2824 (__divkc3): Likewise.
2825 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2826 (fp128_hw_src): Likewise.
2827 (fp128_hw_static_obj): Likewise.
2828 (fp128_hw_shared_obj): Likewise.
2829 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2830 _mulkc3.c and _divkc3.c, changing the function name.
2831 (_divkc3-hw.c): Likewise.
2832 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2833 and _divkc3-hw.c.
2834
c234d831
UB
28352017-11-26 Julia Koval <julia.koval@intel.com>
2836
2837 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2838 * config/i386/cpuinfo.h (processor_subtypes): Add
2839 INTEL_COREI7_CANNONLAKE.
2840
1ebafce0
IT
28412017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2842
2843 PR bootstrap/83015
2844 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2845 parameter.
2846 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2847 * config/ia64/unwind-ia64.c: Add frames parameter.
2848 * unwind-sjlj.c: Likewise.
2849
6a10fff4
IT
28502017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2851
2852 * config/i386/linux-unwind.h: Include
2853 config/i386/shadow-stack-unwind.h.
2854 * config/i386/shadow-stack-unwind.h: New file.
2855 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2856 pass it to _Unwind_Frames_Extra.
2857 * unwind-generic.h (_Unwind_Frames_Extra): New.
2858 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2859 parameter. Add local variable frames to count number of frames.
2860 (_Unwind_ForcedUnwind_Phase2): Likewise.
2861 (_Unwind_RaiseException): Add local variable frames to count
2862 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2863 uw_install_context.
2864 (_Unwind_ForcedUnwind): Likewise.
2865 (_Unwind_Resume): Likewise.
2866 (_Unwind_Resume_or_Rethrow): Likewise.
2867
1ecae1fc
IT
28682017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2869
2870 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2871 (CET_FLAGS): New.
2872 * config/i386/morestack.S: Include <cet.h>.
2873 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2874 * config/i386/resms64.h: Include <cet.h>.
2875 * config/i386/resms64f.h: Likewise.
2876 * config/i386/resms64fx.h: Likewise.
2877 * config/i386/resms64x.h: Likewise.
2878 * config/i386/savms64.h: Likewise.
2879 * config/i386/savms64f.h: Likewise.
2880 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2881 (CRTSTUFF_T_CFLAGS): Likewise.
2882 * configure.ac: Include ../config/cet.m4.
2883 Set and substitute CET_FLAGS.
2884 * configure: Regenerated.
2885
f021f1d3
RO
28862017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2887
2888 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2889 renaming.
2890 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2891 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2892 * configure: Regenerate.
2893
65f480c7
TV
28942017-11-07 Tom de Vries <tom@codesourcery.com>
2895
2896 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2897 after "do {} while (0)".
2898
2a321acb
TV
28992017-11-07 Tom de Vries <tom@codesourcery.com>
2900
2901 PR other/82784
2902 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2903 semicolon after "do {} while (0)".
2904 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2905 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2906 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2907 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2908
59fcf6c3
AT
29092017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2910
2911 PR libgcc/82635
2912 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2913 sysctl to determine whether we're in a trampoline.
2914 Keep the pattern matching method for systems without
2915 KERN_PROC_SIGTRAMP sysctl.
2916
b0c7ddf8
CM
29172017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2918 Vineet Gupta <vgupta@synopsys.com>
2919
2920 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2921 * config/arc/linux-unwind-reg.def: New file.
2922 * config/arc/linux-unwind-reg.h: Likewise.
2923
5feee954
SP
29242017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2925
2926 * config/rl78/subdi3.S: New assembly file.
2927 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2928
a0bf6cf7
SP
29292017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2930
2931 * config/rl78/adddi3.S: New assembly file.
2932 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2933
e7176f75
JJ
29342017-10-13 Jakub Jelinek <jakub@redhat.com>
2935
2936 PR target/82274
2937 * libgcc2.c (__mulvDI3): If both operands have
2938 the same highpart of -1 and the topmost bit of lowpart is 0,
2939 multiplication overflows even if both lowparts are 0.
2940
db6601d2
JB
29412017-09-28 James Bowman <james.bowman@ftdichip.com>
2942
2943 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2944
938b6f1e
JM
29452017-09-26 Joseph Myers <joseph@codesourcery.com>
2946
2947 * config/microblaze/crti.S, config/microblaze/crtn.S,
2948 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2949 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2950 config/microblaze/mulsi3.S,
2951 config/microblaze/stack_overflow_exit.S,
2952 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2953 config/pa/milli64.S: Add .note.GNU-stack section.
2954
89762a83
DS
29552017-09-23 Daniel Santos <daniel.santos@pobox.com>
2956
2957 * configure.ac: Add Check for HAVE_AS_AVX.
2958 * config.in: Regenerate.
2959 * configure: Likewise.
2960 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2961 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2962 Correct out-of-date comments.
2963
cace2309
SP
29642017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2965
2966 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2967 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2968
3cb626e4
DS
29692017-09-17 Daniel Santos <daniel.santos@pobox.com>
2970
cace2309 2971 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
2972 (ASMNAME): Modify to use PASTE2.
2973 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2974 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 2975 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 2976 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
2977 * config/i386/resms64f.S: Likewise.
2978 * config/i386/resms64fx.S: Likewise.
2979 * config/i386/resms64x.S: Likewise.
2980 * config/i386/savms64.S: Likewise.
2981 * config/i386/savms64f.S: Likewise.
2982 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 2983 includes it's corresponding header file.
cace2309
SP
2984 * config/i386/avx_resms64f.S: Likewise.
2985 * config/i386/avx_resms64fx.S: Likewise.
2986 * config/i386/avx_resms64x.S: Likewise.
2987 * config/i386/avx_savms64.S: Likewise.
2988 * config/i386/avx_savms64f.S: Likewise.
2989 * config/i386/sse_resms64.S: Likewise.
2990 * config/i386/sse_resms64f.S: Likewise.
2991 * config/i386/sse_resms64fx.S: Likewise.
2992 * config/i386/sse_resms64x.S: Likewise.
2993 * config/i386/sse_savms64.S: Likewise.
2994 * config/i386/sse_savms64f.S: Likewise.
2995 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 2996
2f19c491 29972017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
2998 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2999
611e7036
OH
30002017-08-31 Olivier Hainque <hainque@adacore.com>
3001
3002 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3003 match as powerpc-wrs-vxworks*.
3004
c8f34527
JY
30052017-08-07 Jonathan Yong <10walls@gmail.com>
3006
3007 * config.host (*-cygwin): Include file from mingw
3008 config/i386/enable-execute-stack-mingw32.c
3009
0b458d2b 30102017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
3011 Doug Rupp <rupp@adacore.com>
3012 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
3013
3014 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3015 as well as arm-wrs-vxworks.
3016 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3017 LIB2ADDEH.
3018 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3019 __exidx_start and __exidx_end for downloadable modules.
3020
4df612fa
OH
30212017-08-01 Olivier Hainque <hainque@adacore.com>
3022
3023 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3024 * config/t-vxworks7: Likewise.
3025
5560e8c0
OH
30262017-08-01 Olivier Hainque <hainque@adacore.com>
3027
3028 * config/t-vxworks: Instead of redefining LIB2ADD,
3029 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3030
16bab95a
SH
30312017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3032
3033 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3034
9cbc07cc
DS
30352017-07-24 Daniel Santos <daniel.santos@pobox.com>
3036
3037 PR testsuite/80759
3038 * config.host: include i386/t-msabi for darwin and solaris.
3039 * config/i386/i386-asm.h
3040 (ELFFN): Rename to FN_TYPE.
3041 (FN_SIZE): New macro.
3042 (FN_HIDDEN): Likewise.
3043 (ASMNAME): Likewise.
3044 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3045 .globl.
3046 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3047 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3048 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3049 .macro.
3050 * config/i386/resms64f.S: Likewise.
3051 * config/i386/resms64fx.S: Likewise.
3052 * config/i386/resms64x.S: Likewise.
3053 * config/i386/savms64.S: Likewise.
3054 * config/i386/savms64f.S: Likewise.
3055
de742204
JM
30562017-07-19 John Marino <gnugcc@marino.st>
3057
3058 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3059
3787ee47
MM
30602017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3061
3062 PR target/81193
3063 * configure.ac (PowerPC float128 hardware support): Test whether
3064 we can use __builtin_cpu_supports before enabling the ifunc
3065 handler.
3066 * configure: Regenerate.
3067
b1938888
VG
30682017-07-10 Vineet Gupta <vgupta@synopsys.com>
3069
3070 * config.host: Remove uclibc from arc target spec.
3071
bec75e53
KW
30722017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3073
3074 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3075
d4391a62
PB
30762017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3077
3078 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3079 (have_ieee_hw_p): Delete function.
3080 (SW_OR_HW) Use __builtin_cpu_supports().
3081
9296dd9b
TP
30822017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3083
3084 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3085
b85a969e
OH
30862017-07-03 Olivier Hainque <hainque@adacore.com>
3087
d4391a62 3088 * config/t-vxworks7: New file, really.
b85a969e 3089
883312dc
JM
30902017-06-28 Joseph Myers <joseph@codesourcery.com>
3091
3092 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3093 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3094 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3095 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3096 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3097 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3098 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3099 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3100 config/sh/linux-unwind.h (sh_fallback_frame_state),
3101 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3102 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3103 ucontext_t instead of struct ucontext.
3104
50567938
JL
31052017-06-27 Jerome Lambourg <lambourg@adacore.com>
3106
3107 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3108 (x86_64-wrs-vxworks7): Likewise.
3109
e4b0df93
OH
31102017-06-27 Olivier Hainque <hainque@adacore.com>
3111
3112 * config/t-vxworks7: New file.
3113 * config.host (*-*-vxworks7): Use it.
3114
60edf8bb
MT
31152017-06-22 Matt Turner <mattst88@gmail.com>
3116
3117 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3118 skylake case.
3119
a51a76e5
RB
31202017-06-21 Richard Biener <rguenther@suse.de>
3121
3122 PR gcov-profile/81080
3123 * configure.ac: Add AC_SYS_LARGEFILE.
3124 * libgcov.h: Include auto-target.h before tsystem.h to pick
3125 up _FILE_OFFSET_BITS which might differ for multilibs.
3126 * config.in: Regenerate.
3127 * configure: Likewise.
3128
f0cd49c5
RE
31292017-06-16 Richard Earnshaw <rearnsha@arm.com>
3130
3131 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3132
4f751c54
ML
31332017-06-09 Martin Liska <mliska@suse.cz>
3134
3135 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3136 Reset __gcov_indirect_call_callee to NULL.
3137
1ac644c8
OH
31382017-06-08 Olivier Hainque <hainque@adacore.com>
3139
3140 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3141 the set of -I options, support for direct inclusions of net/uio.h
3142 by VxWorks header files via ioLib.h.
3143
d8b9cd27
TR
31442017-06-07 Tony Reix <tony.reix@atos.net>
3145 Matthieu Sarter <matthieu.sarter.external@atos.net>
3146 David Edelsohn <dje.gcc@gmail.com>
3147
92a285c1
ML
3148 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3149 unconditionally.
3150 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3151 AIX 7.2 support.
d8b9cd27 3152
38a75ccc
OH
31532017-06-02 Olivier Hainque <hainque@adacore.com>
3154
3155 * config/vxlib.c (__gthread_once): Add missing value to
3156 return statement.
3157
5b2edf53
OH
31582017-05-30 Olivier Hainque <hainque@adacore.com>
3159
3160 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3161 dollar sign before $(MULTIDIR).
3162
7d66e265
RH
31632017-05-26 Richard Henderson <rth@redhat.com>
3164
3165 PR libgcc/80037
3166 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3167
78eca309
AT
31682017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3169
3170 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3171 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3172 * config/arm/unwind-arm.c: Implement the above.
3173
c39d309a
AZ
31742017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3175
3176 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3177 section for a non-executable stack.
3178
eac8c9f2
KW
31792017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3180
3181 PR target/80600
3182 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3183
d6d4d770
DS
31842017-05-14 Daniel Santos <daniel.santos@pobox.com>
3185
3186 * config.host: Add i386/t-msabi to i386/t-linux file list.
3187 * config/i386/i386-asm.h: New file.
3188 * config/i386/resms64.S: New file.
3189 * config/i386/resms64f.S: New file.
3190 * config/i386/resms64fx.S: New file.
3191 * config/i386/resms64x.S: New file.
3192 * config/i386/savms64.S: New file.
3193 * config/i386/savms64f.S: New file.
3194 * config/i386/t-msabi: New file.
3195
8ef2b9a7
AT
31962017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3197
3198 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3199 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3200
7ab8766a
JC
32012017-05-05 Joshua Conner <joshconner@google.com>
3202
3203 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3204 pc-relative indirect handling for fuchsia.
3205 * config/t-slibgcc-fuchsia: New file.
3206 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 3207 x86_64-*-fuchsia*): Add definitions.
7ab8766a 3208
46928a8f
ML
32092017-04-19 Martin Liska <mliska@suse.cz>
3210
3211 PR gcov-profile/80435
3212 * Makefile.in: Install gcov.h.
3213 * gcov.h: New file.
3214 * libgcov.h: Use the header and make __gcov_flush publicly
3215 visible.
3216
63971184
ML
32172017-04-18 Martin Liska <mliska@suse.cz>
3218
3219 PR gcov-profile/78783
3220 * libgcov-driver.c (gcov_get_filename): New function.
3221
29d8aae6
JL
32222017-04-07 Jeff Law <law@redhat.com>
3223
3224 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3225 target makefile fragment.
3226 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3227
2bdf7fc6
AM
32282017-04-07 Alan Modra <amodra@gmail.com>
3229
3230 PR target/45053
3231 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3232
5764ee3c
JW
32332017-04-03 Jonathan Wakely <jwakely@redhat.com>
3234
3235 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3236
c4192ad7
CZ
32372017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3238
3239 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3240
4ccfdb28
JM
32412017-03-10 John Marino <gnugcc@marino.st>
3242
3243 * config/aarch64/freebsd-unwind.h: New file.
3244 * config.host: Add aarch64-*-freebsd unwinder.
3245
4144e4e3
SB
32462017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3247
3248 * config/rs6000/crtrestvr.s: Use .machine altivec.
3249 * config/rs6000/crtsavevr.s: Ditto.
3250
7502c597
SB
32512017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3252
3253 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3254 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3255 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3256 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3257 * configure: Regenerate.
3258 * config.in: Regenerate.
3259
db9f7f65
JY
32602017-03-02 Jonathan Yong <10walls@gmail.com>
3261
3262 * config/i386/gthr-win32.h: Define NOGDI before
3263 windows.h include to prevent w32api CC_NONE macro
3264 clash with libgfortran.
3265
126437c5
JY
32662017-03-02 Jonathan Yong <10walls@gmail.com>
3267
3268 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3269
31927af6
AP
32702017-02-16 Andrew Pinski <apinski@cavium.com>
3271
3272 * config/aarch64/value-unwind.h: New file.
3273 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3274 to tm_file.
3275
0bd99911
PD
32762017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3277
3278 * config.host: Add RISC-V tuples.
3279 * config/riscv/atomic.c: New file.
3280 * config/riscv/crti.S: Likewise.
3281 * config/riscv/crtn.S: Likewise.
3282 * config/riscv/div.S: Likewise.
3283 * config/riscv/linux-unwind.h: Likewise.
3284 * config/riscv/muldi3.S: Likewise.
3285 * config/riscv/multi3.S: Likewise.
3286 * config/riscv/save-restore.S: Likewise.
3287 * config/riscv/sfp-machine.h: Likewise.
3288 * config/riscv/t-elf: Likewise.
3289 * config/riscv/t-elf32: Likewise.
3290 * config/riscv/t-elf64: Likewise.
3291 * config/riscv/t-softfp32: Likewise.
3292 * config/riscv/t-softfp64: Likewise.
3293
a8c9ef2a
JJ
32942017-01-24 Jakub Jelinek <jakub@redhat.com>
3295
3296 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3297 /* FALLTHRU */ comments.
3298
c6c82710
GP
32992017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3300
3301 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3302
a876231c
JW
33032017-01-20 Jiong Wang <jiong.wang@arm.com>
3304
3305 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3306 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3307 DW_CFA_GNU_window_save for AArch64 and LP64.
3308
aa348be2
JW
33092017-01-20 Jiong Wang <jiong.wang@arm.com>
3310
3311 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3312
5636faf2
JW
33132017-01-19 Jiong Wang <jiong.wang@arm.com>
3314
3315 * config/aarch64/aarch64-unwind.h: New file.
3316 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3317 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3318 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3319 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3320 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3321 (aarch64_post_extract_frame_addr): New function.
3322 (aarch64_post_frob_eh_handler_addr): New function.
3323 (aarch64_frob_update_context): New function.
3324 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3325 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3326 aarch64*-*-freebsd*):
3327 Initialize md_unwind_header to include aarch64-unwind.h.
3328 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3329 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3330 __aarch64__.
3331 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3332 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3333 (uw_frob_return_addr): New function.
3334 (uw_install_context): Use uw_frob_return_addr.
3335
3c36aa6b
JJ
33362017-01-17 Jakub Jelinek <jakub@redhat.com>
3337
3338 PR other/79046
3339 * configure.ac: Add GCC_BASE_VER.
3340 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3341 version from BASE-VER file.
3342 * configure: Regenerated.
3343
829afb8f
JS
33442017-01-13 Joe Seymour <joe.s@somniumtech.com>
3345
3346 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3347 libmul_f5.a): Filter archived prerequisites.
3348
79fc8ffe
AS
33492017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3350
3351 * config/i386/cpuinfo.h (processor_features): Add
3352 FEATURE_AVX512VPOPCNTDQ.
3353 * config/i386/cpuinfo.c (get_available_features): Habdle new
3354 feature.
3355
fec5f4e0
JM
33562017-01-04 Joseph Myers <joseph@codesourcery.com>
3357
3358 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3359 payload if [__mips_nan2008].
3360
8f56cb51
AM
33612017-01-04 Alan Modra <amodra@gmail.com>
3362
3363 * Makefile.in (configure_deps): Update.
3364 * configure: Regenerate.
3365
cbe34bb5
JJ
33662017-01-01 Jakub Jelinek <jakub@redhat.com>
3367
3368 Update copyright years.
3369
ab955692
KW
33702016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3371
3372 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3373 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3374 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3375
de34320f
MK
33762016-12-17 Matthias Klose <doko@ubuntu.com>
3377
3378 * config/arc/gmon: Remove empty directory.
3379
e04ea1da
CZ
33802016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3381
3382 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3383 crtgend.
3384 (arc*-*-elf*): Likewise.
3385 * config/arc/t-arc: Remove old gmon lib targets.
3386 * config/arc/crtg.S: Remove.
3387 * config/arc/crtgend.S: Likewise.
3388 * config/arc/gmon/atomic.h: Likewise.
3389 * config/arc/gmon/auxreg.h: Likewise.
3390 * config/arc/gmon/dcache_linesz.S: Likewise.
3391 * config/arc/gmon/gmon.c: Likewise.
3392 * config/arc/gmon/machine-gmon.h: Likewise.
3393 * config/arc/gmon/mcount.c: Likewise.
3394 * config/arc/gmon/prof-freq-stub.S: Likewise.
3395 * config/arc/gmon/prof-freq.c: Likewise.
3396 * config/arc/gmon/profil.S: Likewise.
3397 * config/arc/gmon/sys/gmon.h: Likewise.
3398 * config/arc/gmon/sys/gmon_out.h: Likewise.
3399 * config/arc/t-arc-newlib: Likewise.
3400 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3401
8ae1c2c1
GS
34022016-12-12 George Spelvin <linux@sciencehorizons.net>
3403
3404 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3405
a5b947fa
GS
34062016-12-12 George Spelvin <linux@sciencehorizons.net>
3407
3408 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3409 R16 instead of push + pop.
3410 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3411
d6574dd1
KW
34122016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3413
3414 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3415 tmake_file.
3416
62440b4f
CM
34172016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3418
3419 * config.host (arc*-*-linux-uclibc*): Use default extra
3420 objects. Include linux-android header.
3421 * config/arc/crti.S (_init): Declare symbol as function.
3422 (_fini): Likewise.
3423
31cfd832
TK
34242016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3425
3426 PR fortran/78379
3427 * config/i386/cpuinfo.c: Move denums for processor vendors,
3428 processor type, processor subtypes and declaration of
3429 struct __processor_model into
3430 * config/i386/cpuinfo.h: New header file.
3431
c92e08e3
AV
34322016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3433 Thomas Preud'homme <thomas.preudhomme@arm.com>
3434
3435 * config/arm/cmse_nonsecure_call.S: New.
3436 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3437
de7b5723
AV
34382016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3439 Thomas Preud'homme <thomas.preudhomme@arm.com>
3440
3441 * config/arm/t-arm (HAVE_CMSE): New.
3442 * config/arm/cmse.c: New.
3443
7a0d2bce
TP
34442016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3445
b3a5bff4
TP
3446 PR gcc/74748
3447 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3448 use generic linker version information on Blackfin.
3449
7a0d2bce
TP
3450 PR gcc/74748
3451 * libgcc/mkmap-symver.awk: add support for skip_underscore
3452
b410cf1d
IS
34532016-11-27 Iain Sandoe <iain@codesourcery.com>
3454 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3455
3456 PR target/67710
3457 * config/t-darwin: Default builds to 10.5 codegen.
3458
2e5f8203
JG
34592016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3460
3461 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3462 (_FP_NANSIGN_H): Likewise.
3463 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3464 (softfp_truncations): Add tfhf.
3465 (softfp_extras): Add required conversion functions.
3466
bea64ca3
JG
34672016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3468 Matthew Wahab <matthew.wahab@arm.com>
3469
3470 * config/arm/fp16.c (binary64): New.
3471 (__gnu_d2h_internal): New.
3472 (__gnu_d2h_ieee): New.
3473 (__gnu_d2h_alternative): New.
3474
8630cadb
JG
34752016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3476 Matthew Wahab <matthew.wahab@arm.com>
3477
3478 * config/arm/fp16.c (struct format): New.
3479 (binary32): New.
3480 (__gnu_float2h_internal): New. Body moved from
3481 __gnu_f2h_internal and generalize.
3482 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3483 Call it with binary32.
3484
5823ef23
JG
34852016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3486
3487 * soft-fp/extendhftf2.c: Update from glibc.
3488 * soft-fp/fixhfti.c: Likewise.
3489 * soft-fp/fixunshfti.c: Likewise.
3490 * soft-fp/floattihf.c: Likewise.
3491 * soft-fp/floatuntihf.c: Likewise.
3492 * soft-fp/half.h: Likewise.
3493 * soft-fp/trunctfhf2.c: Likewise.
3494
62a7df9f
MG
34952016-11-20 Marc Glisse <marc.glisse@inria.fr>
3496
3497 PR libgcc/77813
3498 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3499 __TMC_END__ behind a passthrough asm.
3500
7a384912
WL
35012016-11-18 Walter Lee <walt@tilera.com>
3502
62a7df9f 3503 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 3504
9775c1a5
L
35052016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3506
3507 * config/i386/cpuinfo.c (processor_features): Add
3508 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3509
48c842ab
CZ
35102016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3511
3512 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3513 (__ARC_NORM__): Use instead ARC_OPTFPE.
3514 * config/arc/fp-hack.h: Likewise.
3515 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3516 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3517
5012919d
AM
35182016-11-16 Alexander Monakov <amonakov@ispras.ru>
3519
3520 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3521 * config/nvptx/mgomp.c: New file.
3522 * config/nvptx/t-nvptx: Add mgomp.c
3523
00178b98
WB
35242016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3525
3526 PR libgcc/68468
3527 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3528
d64af69f
CZ
35292016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3530
3531 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3532 of checking for cpus.
3533 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3534 (__modsi3, __clzsi2): Likewise.
3535
9d8f95de
SN
35362016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3537
3538 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3539 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3540 * config/i386/t-cpuinfo-static: New.
3541
7d29f8e3
ML
35422016-11-03 Martin Liska <mliska@suse.cz>
3543
3544 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3545 (__gcov_time_profiler_atomic): Likewise.
3546
5de3e2d8
BE
35472016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3548
3549 PR libgcc/78067
3550 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3551 count_leading_zeros.
3552
18362447
UB
35532016-11-02 Uros Bizjak <ubizjak@gmail.com>
3554
3555 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3556 * libgcc2.c (__divmoddi4): New function.
3557 * libgcc2.h (__divmoddi4): Declare.
3558 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3559 and __PFX_divmodti4.
3560
33107571
FW
35612016-10-24 Florian Weimer <fweimer@redhat.com>
3562
3563 PR libgcc/78064
3564 * unwind-c.c: Include auto-target.h.
3565
4c6d7494
JDA
35662016-10-19 John David Anglin <danglin@gcc.gnu.org>
3567
18362447 3568 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
3569 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3570 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3571 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3572 hppa*64*-*-hpux11*.
3573
2a26adf1
MF
35742016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3575
3576 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3577 definition.
3578 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3579 definition.
3580 * config/xtensa/t-windowed (LIB2ADDEH): Use
3581 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3582 or xtensa/t-linux.
3583
66192aa1
DKC
35842016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3585
3586 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3587 __ieee754_sqrt): New functions.
3588 (__divdf3): Add implementation with new FPU instructions under
3589 #if XCHAL_HAVE_DFP_DIV.
3590 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3591 __ieee754_sqrtf): New functions.
3592 (__divsf3): Add implementation with new FPU instructions under
3593 #if XCHAL_HAVE_FP_DIV.
3594 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3595 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3596
4d0cdd0c
TP
35972016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3598
3599 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3600 equivalent.
3601 * config/tilepro/atomic.c: Likewise and stop casting model to
3602 enum memmodel.
3603
73f01cca
JM
36042016-10-10 Joseph Myers <joseph@codesourcery.com>
3605
3606 PR target/77586
3607 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3608 soft-fp.
3609
b20e7532
AT
36102016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3611
3612 * config.host: Add support for aarch64-*-freebsd*.
3613
a786cec4
AS
36142016-10-05 Andreas Schwab <schwab@suse.de>
3615
3616 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3617 (.section .init_array): Don't call __do_jv_register_classes.
3618 (.section .init): Likewise.
3619
5a79befb
JJ
36202016-10-04 Jakub Jelinek <jakub@redhat.com>
3621
3622 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3623 (__JCR_LIST__): Remove.
3624 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3625 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3626 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3627 * config/ia64/crtend.S (__JCR_END__): Remove.
3628 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3629 conditionals.
3630 (__JCR_LIST__, __JCR_END__): Remove.
3631 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3632 (__do_global_ctors_1): Likewise.
3633
e0ab3753
UB
36342015-09-28 Uros Bizjak <ubizjak@gmail.com>
3635
3636 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3637 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3638
8c9434c2
ML
36392016-09-27 Martin Liska <mliska@suse.cz>
3640
3641 PR gcov-profile/7970
3642 PR gcov-profile/16855
3643 PR gcov-profile/44779
3644 * libgcov-driver.c (__gcov_init): Do not register a atexit
3645 handler.
3646 (__gcov_exit): Rename from gcov_exit.
3647 * libgcov.h (__gcov_exit): Declare.
3648
56b653f1
ML
36492016-09-27 Martin Liska <mliska@suse.cz>
3650
3651 PR bootstrap/77749
3652 * Makefile.in: Remove _gcov_merge_delta.
3653 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3654 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3655 * libgcov.h: Remove declaration of __gcov_merge_delta.
3656
7e02fd1b
EB
36572016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3658
3659 * configure.ac: Do not create links, only substitute the filenames.
3660 * configure: Regenerate.
3661 * Makefile.in: Assign the substitution results to variables.
3662 (LIBGCC_LINKS): Define.
3663 (enable-execute-stack.c): New rule.
3664 (unwind.h): Likewise.
3665 (md-unwind-support.h): Likewise.
3666 (sfp-machine.h): Likewise.
3667 (gthr-default.h): Likewise.
3668 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3669 unwind.h as prerequisite of install-unwind_h-forbuild.
3670
29991048
JJ
36712016-09-16 Jakub Jelinek <jakub@redhat.com>
3672
3673 PR libgcc/71744
3674 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3675 is not the primary registry and atomics are available.
3676 (any_objects_registered): New variable.
3677 (__register_frame_info_bases, __register_frame_info_table_bases):
3678 Atomically store 1 to any_objects_registered after registering first
3679 unwind info.
3680 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3681
0abcd6cc
JG
36822016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3683
3684 PR target/63250
3685 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3686 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3687 (HFtype): Likewise.
3688 (HCtype): Likewise.
3689 (__divhc3): Likewise.
3690 (__mulhc3): Likewise.
3691 * libgcc2.c: Support _mulhc3 and _divhc3.
3692
d758aeb5
JM
36932016-09-07 Joseph Myers <joseph@codesourcery.com>
3694
3695 PR libgcc/77519
3696 * libgcc2.c (NOTRUNC): Invert settings.
3697
7fe76f6a
ML
36982016-09-06 Martin Liska <mliska@suse.cz>
3699
3700 PR gcov-profile/77378
3701 PR gcov-profile/77466
3702 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3703 conditionaly enable/disable *_atomic functions.
3704
21184026
JM
37052016-08-26 Joseph Myers <joseph@codesourcery.com>
3706
3707 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3708 where not already enabled.
3709
726f49c3
SN
37102016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3711
3712 * config/mips/linux-unwind.h: Use sys/syscall.h.
3713
feeb6268
JM
37142016-08-16 Joseph Myers <joseph@codesourcery.com>
3715
3716 PR libgcc/77265
3717 * soft-fp/adddf3.c: Update from glibc.
3718 * soft-fp/addsf3.c: Likewise.
3719 * soft-fp/addtf3.c: Likewise.
3720 * soft-fp/divdf3.c: Likewise.
3721 * soft-fp/divsf3.c: Likewise.
3722 * soft-fp/divtf3.c: Likewise.
3723 * soft-fp/double.h: Likewise.
3724 * soft-fp/eqdf2.c: Likewise.
3725 * soft-fp/eqsf2.c: Likewise.
3726 * soft-fp/eqtf2.c: Likewise.
3727 * soft-fp/extenddftf2.c: Likewise.
3728 * soft-fp/extended.h: Likewise.
3729 * soft-fp/extendsfdf2.c: Likewise.
3730 * soft-fp/extendsftf2.c: Likewise.
3731 * soft-fp/extendxftf2.c: Likewise.
3732 * soft-fp/fixdfdi.c: Likewise.
3733 * soft-fp/fixdfsi.c: Likewise.
3734 * soft-fp/fixdfti.c: Likewise.
3735 * soft-fp/fixsfdi.c: Likewise.
3736 * soft-fp/fixsfsi.c: Likewise.
3737 * soft-fp/fixsfti.c: Likewise.
3738 * soft-fp/fixtfdi.c: Likewise.
3739 * soft-fp/fixtfsi.c: Likewise.
3740 * soft-fp/fixtfti.c: Likewise.
3741 * soft-fp/fixunsdfdi.c: Likewise.
3742 * soft-fp/fixunsdfsi.c: Likewise.
3743 * soft-fp/fixunsdfti.c: Likewise.
3744 * soft-fp/fixunssfdi.c: Likewise.
3745 * soft-fp/fixunssfsi.c: Likewise.
3746 * soft-fp/fixunssfti.c: Likewise.
3747 * soft-fp/fixunstfdi.c: Likewise.
3748 * soft-fp/fixunstfsi.c: Likewise.
3749 * soft-fp/fixunstfti.c: Likewise.
3750 * soft-fp/floatdidf.c: Likewise.
3751 * soft-fp/floatdisf.c: Likewise.
3752 * soft-fp/floatditf.c: Likewise.
3753 * soft-fp/floatsidf.c: Likewise.
3754 * soft-fp/floatsisf.c: Likewise.
3755 * soft-fp/floatsitf.c: Likewise.
3756 * soft-fp/floattidf.c: Likewise.
3757 * soft-fp/floattisf.c: Likewise.
3758 * soft-fp/floattitf.c: Likewise.
3759 * soft-fp/floatundidf.c: Likewise.
3760 * soft-fp/floatundisf.c: Likewise.
3761 * soft-fp/floatunditf.c: Likewise.
3762 * soft-fp/floatunsidf.c: Likewise.
3763 * soft-fp/floatunsisf.c: Likewise.
3764 * soft-fp/floatunsitf.c: Likewise.
3765 * soft-fp/floatuntidf.c: Likewise.
3766 * soft-fp/floatuntisf.c: Likewise.
3767 * soft-fp/floatuntitf.c: Likewise.
3768 * soft-fp/gedf2.c: Likewise.
3769 * soft-fp/gesf2.c: Likewise.
3770 * soft-fp/getf2.c: Likewise.
3771 * soft-fp/ledf2.c: Likewise.
3772 * soft-fp/lesf2.c: Likewise.
3773 * soft-fp/letf2.c: Likewise.
3774 * soft-fp/muldf3.c: Likewise.
3775 * soft-fp/mulsf3.c: Likewise.
3776 * soft-fp/multf3.c: Likewise.
3777 * soft-fp/negdf2.c: Likewise.
3778 * soft-fp/negsf2.c: Likewise.
3779 * soft-fp/negtf2.c: Likewise.
3780 * soft-fp/op-1.h: Likewise.
3781 * soft-fp/op-2.h: Likewise.
3782 * soft-fp/op-4.h: Likewise.
3783 * soft-fp/op-8.h: Likewise.
3784 * soft-fp/op-common.h: Likewise.
3785 * soft-fp/quad.h: Likewise.
3786 * soft-fp/single.h: Likewise.
3787 * soft-fp/soft-fp.h: Likewise.
3788 * soft-fp/subdf3.c: Likewise.
3789 * soft-fp/subsf3.c: Likewise.
3790 * soft-fp/subtf3.c: Likewise.
3791 * soft-fp/truncdfsf2.c: Likewise.
3792 * soft-fp/trunctfdf2.c: Likewise.
3793 * soft-fp/trunctfsf2.c: Likewise.
3794 * soft-fp/trunctfxf2.c: Likewise.
3795 * soft-fp/unorddf2.c: Likewise.
3796 * soft-fp/unordsf2.c: Likewise.
3797 * soft-fp/unordtf2.c: Likewise.
3798
2e6fc1ac
GG
37992016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3800
3801 PR gcov-profile/67097
3802 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3803
a266236e
ML
38042016-08-10 Martin Liska <mliska@suse.cz>
3805
3806 PR gcov-profile/58306
3807 * Makefile.in: New functions (modules) are added.
3808 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3809 function.
3810 (__gcov_pow2_profiler_atomic): New function.
3811 (__gcov_one_value_profiler_body): New argument is instroduced.
3812 (__gcov_one_value_profiler): Call with the new argument.
3813 (__gcov_one_value_profiler_atomic): Likewise.
3814 (__gcov_indirect_call_profiler_v2): Likewise.
3815 (__gcov_time_profiler_atomic): New function.
3816 (__gcov_average_profiler_atomic): Likewise.
3817 (__gcov_ior_profiler_atomic): Likewise.
3818 * libgcov.h: Declare the aforementioned functions.
3819
e0c8eebf
ML
38202016-08-09 Martin Liska <mliska@suse.cz>
3821
3822 * libgcov-util.c: Fix typo and GNU coding style.
3823
6dce6418
ML
38242016-08-09 Martin Liska <mliska@suse.cz>
3825
3826 * Makefile.in: Remove __gcov_indirect_call_profiler.
3827 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3828 function.
3829 * libgcov.h: And the declaration of the function.
3830
dcb1e137
ML
38312016-08-09 Martin Liska <mliska@suse.cz>
3832
3833 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3834 power of two.
3835
d6e69705
BS
38362016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3837
3838 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3839 * config/rs6000/_mulkc3.c: Likewise.
3840
96aa1f95
GJL
38412016-07-29 Georg-Johann Lay <avr@gjlay.de>
3842
3843 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3844 zero_reg as previous call to __umulhisi3 already cleared it.
3845
a1b01d34
AJ
38462016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3847
3848 PR target/59833
3849 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3850
985a47b2
NC
38512016-07-19 Nick Clifton <nickc@redhat.com>
3852
3853 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3854 Add crtinit.o and crtfini.o to extra_parts.
3855
f906f5ed
BS
38562016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3857
3858 * config/rs6000/_divkc3.c: New.
3859 * config/rs6000/_mulkc3.c: New.
3860 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3861 and _divkc3.
3862 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3863 fp128_ppc_funcs.
3864
82742404
HW
38652016-07-11 Hale Wang <hale.wang@arm.com>
3866 Andre Vieira <andre.simoesdiasvieira@arm.com>
3867
3868 * config/arm/lib1funcs.S: Add new wrapper.
3869
05a437c1
TP
38702016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3871
3872 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3873
3d16d9ec
TP
38742016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3875
3876 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3877 and ARMv5t* rather than for a fixed list of architectures.
3878
6f493951
TP
38792016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3880
3881 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3882 implementation suitable for.
3883 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3884 for all Thumb-1 only targets.
3885 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3886 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3887 __ARM_ARCH_6M__.
3888 (EQUIV): Likewise.
3889 (ARM_FUNC_ALIAS): Likewise.
3890 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3891 version.
3892 (modsi3): Likewise.
3893 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3894 (clzdi2): Likewise.
3895 (ctzsi2): Likewise.
3896 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3897 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3898 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3899 __ARM_ARCH_6M__ and add comment to indicate the connection between
3900 this condition and the one in gcc/config/arm/elf.h.
3901 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3902 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3903 * config/arm/t-softfp: Likewise.
3904
1770511a
TS
39052016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3906
3907 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3908 CTOR_LISTS_DEFINED_EXTERNALLY.
3909
ba6be749
WL
39102016-06-28 Walter Lee <walt@tilera.com>
3911
3912 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3913 asm/unistd.h.
3914 (SPR_CMPEXCH_VALUE): Define for tilegx.
3915 (__NR_FAST_cmpxchg): Define for tilepro.
3916 (__NR_FAST_atomic_update): Define for tilepro.
3917 (__NR_FAST_cmpxchg64): Define for tilepro.
3918
a34c0db5
JS
39192016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3920
18362447 3921 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 3922
0609abda
TS
39232016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3924
3925 * config.host: Remove support for mep-*.
3926 * config/mep/lib1funcs.S: Remove.
3927 * config/mep/lib2funcs.c: Remove.
3928 * config/mep/t-mep: Remove.
3929 * config/mep/tramp.c: Remove.
3930
3e326935
TS
39312016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3932
3933 * config.host: Remove support for avr-rtems.
3934 * config/avr/t-rtems: Remove.
3935
914b155c
TS
39362016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3937
3938 * config.host: Remove m32r-rtems support.
3939
5ebf89bd
TS
39402016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3941
3942 * config.host: Remove h8300-rtems support.
3943
8466af06
TS
39442016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3945
3946 * config.host: Remove support for knetbsd.
3947
d980e738
TS
39482016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3949
3950 * config.host: Remove support for openbsd 2 and 3.
3951
ee2499b4
TS
39522016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3953
3954 * config.host: Remove interix support.
3955 * config/i386/t-interix: Remove.
3956
9f92937b
JDA
39572016-06-18 John David Anglin <danglin@gcc.gnu.org>
3958
3959 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3960 least-significant bit in function pointer for fixup.
3961
0a0ec53d
AC
39622016-06-05 Aaron Conole <aconole@redhat.com>
3963 Nathan Sidwell <nathan@acm.org>
3964
3965 PR libgcc/71400
3966 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3967 (get_gcov_error_file): Check __gcov_error_file before trying to
3968 initialize it.
3969 (gcov_error): Always use get_gcov_error_file.
3970
8aa5bdd6
AC
39712016-06-02 Aaron Conole <aconole@redhat.com>
3972
3973 * libgcov-driver-system.c (__gcov_error_file): New.
3974 (get_gcov_error_file): New.
3975 (gcov_error): Use and set __gcov_error_file.
3976 (gcov_error_exit): New.
3977 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3978
40774faf
NS
39792016-05-26 Nathan Sidwell <nathan@acm.org>
3980
3981 * config/nvptx/free.asm: Delete.
3982 * config/nvptx/malloc.asm: Delete.
3983 * config/nvptx/realloc.c: Delete.
3984 * t-nvptx: Update.
3985
69a6d5ad
NS
39862016-05-25 Nathan Sidwell <nathan@acm.org>
3987
3988 * config/nvptx/crt0.s: Delete.
3989 * config/nvptx/crt0.c: New.
3990 * t-nvptx: Update.
3991
6befaff6
SL
39922016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3993
385c7747 3994 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
3995 dw2/seh configuration.
3996 [x86_64-*-mingw*]: Likewise.
3997
ad251dfd
JS
39982016-05-10 Joel Sherrill <joel@rtems.org>
3999
4000 PR libgcc/70720
4001 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4002 targets so the same extra_parts are built. Also have tmake_file add
4003 on to its value rather than override.
4004
bc6d9014
OE
40052016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4006
4007 * config.host: Remove SH5 support.
4008 * configure: Likewise.
4009
9129c8cf
OE
40102016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4011
4012 * config/sh/crt1.S: Remove SH5 support.
4013 * config/sh/crti.S: Likewise.
4014 * config/sh/crtn.S: Likewise.
4015 * config/sh/lib1funcs-4-300.S: Likewise.
4016 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4017 * config/sh/lib1funcs.S: Likewise.
4018 * config/sh/linux-unwind.h: Likewise.
4019 * config/sh/t-sh64: Delete.
4020
39d50464
CZ
40212016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4022
4023 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4024
8b48923b
CZ
40252016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4026 Joern Rennecke <joern.rennecke@embecosm.com>
4027
4028 * config/arc/crttls.S: New file.
4029 * config/arc/t-arc: New rule.
4030 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4031
2de1cf8c
NC
40322016-04-25 Nick Clifton <nickc@redhat.com>
4033
4034 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4035 (__mspabi_cmpd): Likewise.
4036 * config/msp430/floathidf.c (__floathidf): Likewise.
4037 * config/msp430/floathisf.c (__floathisf): Likewise
4038 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4039 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4040 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4041 second parameter.
4042 (__ashrsi3): Likewise.
4043
b8ce3fe2
WB
40442016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4045
4046 * config/m68k/linux-atomic.c: Do not include unistd.h
4047
4986f823
MG
40482016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4049
4050 * config/arm/ieee754-df.S: Fix typos in comments.
4051
35fbda43
MM
40522016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4053
4054 PR target/70381
4055 * configure.ac (powerpc*-*-linux*): Rework tests to build
4056 __float128 emulation routines to not depend on using #pragma GCC
4057 target to enable -mfloat128.
4058 * configure: Regnerate.
4059
72d1a48d
EB
40602016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4061
4062 PR target/67172
4063 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4064 __MINGW32__ is defined.
4065
dc2e8995
JB
40662016-03-28 James Bowman <james.bowman@ftdichip.com>
4067
385c7747 4068 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 4069
104cdaf1
MM
40702016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4071
4072 PR libgcc/70363
4073 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4074 built with an assembler that does not support ISA 3.0
4075 instructions, rename __extendkftf2_sw to __extendkftf2.
4076
a5046f48
RO
40772016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4078
4079 PR target/38239
4080 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4081 call-clobbered registers.
4082 (internal_mcount): Remove __i386__ handling.
4083
df674f74
JS
40842016-02-26 Joel Sherrill <joel@rtems.org>
4085
4086 * config.host: Add x86_64-*-rtems*.
4087
7cb065d6
JS
40882016-02-26 Joel Sherrill <joel@rtems.org>
4089
4090 * libgcc/config.host: Add aarch64-*-rtems*.
4091
47dfdc53
PM
40922016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4093 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4094
4095 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4096 union of u64 and double.
4097 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4098 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4099 value.
4100 (FP_ROUNDMODE): Update the usage of _fpscr.
4101
e6861a99
IV
41022016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4103
4104 PR driver/68463
4105 * Makefile.in (crtoffloadtable$(objext)): New rule.
4106 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4107 enable_offload_targets is not empty.
4108 * configure: Regenerate.
4109 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4110 crtoffloadtable.
4111
9bfcbdee
MF
41122016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4113
4114 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4115 .literal_position before the function.
4116 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4117 Likewise.
4118
4cb4721f
MK
41192016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4120
4121 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4122 * config/s390/morestack.S: New file.
4123 * config/s390/t-stack-s390: New file.
4124 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4125
b29d9a29
WL
41262016-02-12 Walter Lee <walt@tilera.com>
4127
4128 * config.host (tilegx*-*-linux*): remove ti from
4129 softfp_int_modes for 32-bit configs.
4130
03a0ae7d
ILT
41312016-02-10 Ian Lance Taylor <iant@google.com>
4132
4133 PR go/68562
4134 * config/i386/morestack.S (__stack_split_initialize): Align
4135 stack.
4136
68750bce
AT
41372016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4138
4139 PR bootstrap/69611
4140 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4141 __FLOAT128__ to compile only for __float128 capable targets.
4142
7d296953
JJ
41432016-01-25 Jakub Jelinek <jakub@redhat.com>
4144
4145 PR target/69444
4146 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4147 instead of ___NO_FPRS__.
4148
a71c0334 41492016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4150 Steven Munroe <munroesj@linux.vnet.ibm.com>
4151 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
4152
4153 * config/rs6000/float128-sed: New files to convert TF names to KF
4154 names for PowerPC IEEE 128-bit floating point support.
4155 * config/rs6000/float128-sed-hw: Likewise.
4156
4157 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4158 floating point hardware support.
4159
4160 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4161 128-bit floating point software emulation or use ISA 3.0 hardware
4162 support if it is available.
4163
4164 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4165 floating point.
4166
4167 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4168 floating point to IBM extended double.
4169
4170 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4171 double to IEEE 128-bit floating point.
4172
4173 * config/rs6000/t-float128: New Makefile fragments to enable
4174 building __float128 emulation support.
4175 * config/rs6000/t-float128-hw: Likewise.
4176
4177 * config/rs6000/sfp-exceptions.c: New file to provide exception
4178 support for IEEE 128-bit floating point.
4179
4180 * config/rs6000/floattikf.c: New files for converting between IEEE
4181 128-bit floating point and signed/unsigned 128-bit integers.
4182 * config/rs6000/fixunskfti.c: Likewise.
4183 * config/rs6000/fixkfti.c: Likewise.
4184 * config/rs6000/floatuntikf.c: Likewise.
4185
4186 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4187 when building on 64-bit systems, or when VSX is enabled.
4188 (_FP_W_TYPE): Likewise.
4189 (_FP_WS_TYPE): Likewise.
4190 (_FP_I_TYPE): Likewise.
4191 (TItype): Define on 64-bit systems.
4192 (UTItype): Likewise.
4193 (TI_BITS): Likewise.
4194 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4195 (_FP_MUL_MEAT_Q): Likewise.
4196 (_FP_DIV_MEAT_D): Likewise.
4197 (_FP_DIV_MEAT_Q): Likewise.
4198 (_FP_NANFRAC_D): Likewise.
4199 (_FP_NANFRAC_Q): Likewise.
4200 (ISA_BIT): Add exception support if we are being compiled on a
4201 machine with hardware floating point support to build the IEEE
4202 128-bit emulation functions.
4203 (FP_EX_INVALID): Likewise.
4204 (FP_EX_OVERFLOW): Likewise.
4205 (FP_EX_UNDERFLOW): Likewise.
4206 (FP_EX_DIVZERO): Likewise.
4207 (FP_EX_INEXACT): Likewise.
4208 (FP_EX_ALL): Likewise.
4209 (__sfp_handle_exceptions): Likewise.
4210 (FP_HANDLE_EXCEPTIONS): Likewise.
4211 (FP_RND_NEAREST): Likewise.
4212 (FP_RND_ZERO): Likewise.
4213 (FP_RND_PINF): Likewise.
4214 (FP_RND_MINF): Likewise.
4215 (FP_RND_MASK): Likewise.
4216 (_FP_DECL_EX): Likewise.
4217 (FP_INIT_ROUNDMODE): Likewise.
4218 (FP_ROUNDMODE): Likewise.
4219
4220 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4221 VSX code, enable IEEE 128-bit floating point. If the compiler can
4222 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4223 floating point hardware instructions and it supports declaring
4224 functions with the ifunc attribute, enable ifunc functions to
4225 switch between software and hardware support.
4226 * configure.ac (powerpc*-*-linux*): Likewise.
4227 * configure: Regenerate.
4228
bdc27e50
NC
42292016-01-15 Nick Clifton <nickc@redhat.com>
4230
4231 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4232 dependency as the source file to be compiled.
4233 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4234 (lib2hw_mul_f5.o): Likewise.
4235
006df05d
MM
42362016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4237
4238 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4239 * libgcc/config/rs6000/fixkfti.c: Likewise.
4240 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4241 * libgcc/config/rs6000/float128-hw.c: Likewise.
4242 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4243 * libgcc/config/rs6000/float128-sed: Likewise.
4244 * libgcc/config/rs6000/floattikf.c: Likewise.
4245 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4246 * libgcc/config/rs6000/quad-float128.h: Likewise.
4247 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4248 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4249 * libgcc/config/rs6000/t-float128: Likewise.
4250 * libgcc/config/rs6000/t-float128-hw: Likewise.
4251 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4252 * libgcc/config.host: Likewise.
4253 * libgcc/configure: Likewise.
4254 * libgcc/configure.ac: Likewise.
4255
29176d57 42562016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4257 Steven Munroe <munroesj@linux.vnet.ibm.com>
4258 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
4259
4260 * config/rs6000/sfp-exceptions.c: New file to provide exception
4261 support for IEEE 128-bit floating point.
4262
4263 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4264 floating point hardware support.
4265
4266 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4267 point conversions.
4268 * config/rs6000/fixunskfti.c: Likewise.
4269 * config/rs6000/fixkfti.c: Likewise.
4270 * config/rs6000/floatuntikf.c: Likewise.
4271 * config/rs6000/extendkftf2-sw.c: Likewise.
4272 * config/rs6000/trunctfkf2-sw.c: Likewise.
4273
4274 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4275 128-bit floating point software emulation or use ISA 3.0 hardware
4276 support if it is available.
4277
4278 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4279 floating point.
4280
4281 * config/rs6000/t-float128: New Makefile fragments to enable
4282 building __float128 emulation support.
4283 * config/rs6000/t-float128-hw: Likewise.
4284
4285 * config/rs6000/float128-sed: New file to convert TF names to KF
4286 names for PowerPC IEEE 128-bit floating point support.
4287
4288 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4289 when building on 64-bit systems, or when VSX is enabled.
4290 (_FP_W_TYPE): Likewise.
4291 (_FP_WS_TYPE): Likewise.
4292 (_FP_I_TYPE): Likewise.
4293 (TItype): Define on 64-bit systems.
4294 (UTItype): Likewise.
4295 (TI_BITS): Likewise.
4296 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4297 (_FP_MUL_MEAT_Q): Likewise.
4298 (_FP_DIV_MEAT_D): Likewise.
4299 (_FP_DIV_MEAT_Q): Likewise.
4300 (_FP_NANFRAC_D): Likewise.
4301 (_FP_NANFRAC_Q): Likewise.
4302 (ISA_BIT): Add exception support if we are being compiled on a
4303 machine with hardware floating point support to build the IEEE
4304 128-bit emulation functions.
4305 (FP_EX_INVALID): Likewise.
4306 (FP_EX_OVERFLOW): Likewise.
4307 (FP_EX_UNDERFLOW): Likewise.
4308 (FP_EX_DIVZERO): Likewise.
4309 (FP_EX_INEXACT): Likewise.
4310 (FP_EX_ALL): Likewise.
4311 (__sfp_handle_exceptions): Likewise.
4312 (FP_HANDLE_EXCEPTIONS): Likewise.
4313 (FP_RND_NEAREST): Likewise.
4314 (FP_RND_ZERO): Likewise.
4315 (FP_RND_PINF): Likewise.
4316 (FP_RND_MINF): Likewise.
4317 (FP_RND_MASK): Likewise.
4318 (_FP_DECL_EX): Likewise.
4319 (FP_INIT_ROUNDMODE): Likewise.
4320 (FP_ROUNDMODE): Likewise.
4321
4322 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4323 compiler can do __float128.
4324 * configure: Regenerate.
4325
4326 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4327 VSX code, enable IEEE 128-bit floating point.
4328
a2218983
OH
43292016-01-05 Olivier Hainque <hainque@adacore.com>
4330
4331 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 4332 specificities.
a2218983 4333
818ab71a
JJ
43342016-01-04 Jakub Jelinek <jakub@redhat.com>
4335
4336 Update copyright years.
4337
5a6c8ffa
AP
43382015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4339
4340 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 4341 soft-fp targets.
5a6c8ffa 4342
077067a5
BE
43432015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4344
4345 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4346 instead of abort to avoid dependency on stdlib.h.
4347
787c1027
JDA
43482015-12-09 John David Anglin <danglin@gcc.gnu.org>
4349
4350 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4351 to initialize call to __dl_fixup once.
4352
04a9ae28
NC
43532015-12-04 Nick Clifton <nickc@redhat.com>
4354
4355 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4356 Allow for the second argument being negative.
4357 * config.host (extra_parts): Define for MSP430. Create separate
4358 libraries for each of the hardware multiply formats.
4359 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4360 that are needed.
4361 * config/msp430/lib2mul.c: Likewise.
4362 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4363 Add rules to build hardware multiply libraries.
4364 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4365 __mspabi_divul function.
4366 (__mspabi_divllu): New stub function.
4367
9a32d437
JDA
43682015-12-01 John David Anglin <danglin@gcc.gnu.org>
4369
4370 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4371 fixup values if saved GOT address doesn't match runtime address.
4372 (fixup_branch_offset): Reorder list.
4373
e5ef217c
RO
43742015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4375
4376 * Makefile.in (VTV_CFLAGS): New variable.
4377 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4378 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4379 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4380 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4381 to extra_parts if $enable_vtable_verify = yes.
4382
78cc43a2
SN
43832015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4384
4385 PR target/68059
4386 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4387 (write): ...this and fix the return type.
4388
9afebea2
DD
43892015-11-19 DJ Delorie <dj@redhat.com>
4390
4391 * config/msp430/lib2hw_mul.S: Fix alignment.
4392
33f47f42
NS
43932015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4394
4395 * config/nvptx/reduction.c: New.
4396 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4397
d9adb476
DE
43982015-11-15 David Edelsohn <dje.gcc@gmail.com>
4399
4400 * config/rs6000/on_exit.c: New file.
4401 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4402 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4403
c0ab1970
CZ
44042015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4405
4406 * config/arc/dp-hack.h: Add support for ARCHS.
4407 * config/arc/ieee-754/divdf3.S: Likewise.
4408 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4409 * config/arc/ieee-754/muldf3.S: Likewise.
4410 * config/arc/ieee-754/mulsf3.S: Likewise
4411 * config/arc/lib1funcs.S: Likewise
4412 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4413 for ARCv2 cores.
4414 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4415 for ARCv2 cores.
4416 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4417 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4418 cores.
4419
e6b6bf09
RO
44202015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4421
4422 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4423 value.
4424 * config/ia64/crtend.S: Likewise.
4425
a153644f
TS
44262015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4427
4428 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4429 __CHAR_BIT__ instead of BITS_PER_UNIT.
4430 * fixed-bit.h: Likewise.
4431 * fp-bit.h: Likewise.
4432 * libgcc2.c (__popcountSI2): Likewise.
4433 (__popcountDI2): Likewise.
4434 * libgcc2.h: Likewise.
4435 * libgcov.h: Likewise.
4436
3dee689d
DE
44372015-11-07 David Edelsohn <dje.gcc@gmail.com>
4438
4439 * config/rs6000/atexit.c: New file.
4440 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4441 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4442 * config/rs6000/cxa_finalize.c
4443 (catomic_compare_and_exchange_bool_acq): Negate return value.
4444
2ef543e4
VK
44452015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4446
4447 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4448 (processor_subtypes): Add znver1.
4449 (get_amd_cpu): Detect znver1.
4450
1300f017
CL
44512015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4452
4453 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4454 Include crtfastmath.o.
4455
3e5bb7ee
JR
44562015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4457
4458 PR libgcc/66883
4459 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 4460
793aa938
KP
44612015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4462
4463 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4464 * config/rl78/divmodsi.S: Update return register to r8.
4465 * config/rl78/divmodhi.S: Update return register to r8,r9.
4466 Branch to main_loop_done_himode to pop registers before return.
4467
7d296953 44682015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
4469
4470 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4471 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4472
6a192b5a
KY
44732015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4474
4475 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4476
4a0a9457
MF
44772015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4478
4479 * config.host (xtensa*-*-uclinux*): New configuration.
4480
ab91c076
KY
44812015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4482
385c7747 4483 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
4484 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4485
30954527
JM
44862015-09-28 Joseph Myers <joseph@codesourcery.com>
4487
4488 * soft-fp/adddf3.c: Update from glibc.
4489 * soft-fp/addsf3.c: Likewise.
4490 * soft-fp/addtf3.c: Likewise.
4491 * soft-fp/divdf3.c: Likewise.
4492 * soft-fp/divsf3.c: Likewise.
4493 * soft-fp/divtf3.c: Likewise.
4494 * soft-fp/double.h: Likewise.
4495 * soft-fp/eqdf2.c: Likewise.
4496 * soft-fp/eqsf2.c: Likewise.
4497 * soft-fp/eqtf2.c: Likewise.
4498 * soft-fp/extenddftf2.c: Likewise.
4499 * soft-fp/extended.h: Likewise.
4500 * soft-fp/extendsfdf2.c: Likewise.
4501 * soft-fp/extendsftf2.c: Likewise.
4502 * soft-fp/extendxftf2.c: Likewise.
4503 * soft-fp/fixdfdi.c: Likewise.
4504 * soft-fp/fixdfsi.c: Likewise.
4505 * soft-fp/fixdfti.c: Likewise.
4506 * soft-fp/fixsfdi.c: Likewise.
4507 * soft-fp/fixsfsi.c: Likewise.
4508 * soft-fp/fixsfti.c: Likewise.
4509 * soft-fp/fixtfdi.c: Likewise.
4510 * soft-fp/fixtfsi.c: Likewise.
4511 * soft-fp/fixtfti.c: Likewise.
4512 * soft-fp/fixunsdfdi.c: Likewise.
4513 * soft-fp/fixunsdfsi.c: Likewise.
4514 * soft-fp/fixunsdfti.c: Likewise.
4515 * soft-fp/fixunssfdi.c: Likewise.
4516 * soft-fp/fixunssfsi.c: Likewise.
4517 * soft-fp/fixunssfti.c: Likewise.
4518 * soft-fp/fixunstfdi.c: Likewise.
4519 * soft-fp/fixunstfsi.c: Likewise.
4520 * soft-fp/fixunstfti.c: Likewise.
4521 * soft-fp/floatdidf.c: Likewise.
4522 * soft-fp/floatdisf.c: Likewise.
4523 * soft-fp/floatditf.c: Likewise.
4524 * soft-fp/floatsidf.c: Likewise.
4525 * soft-fp/floatsisf.c: Likewise.
4526 * soft-fp/floatsitf.c: Likewise.
4527 * soft-fp/floattidf.c: Likewise.
4528 * soft-fp/floattisf.c: Likewise.
4529 * soft-fp/floattitf.c: Likewise.
4530 * soft-fp/floatundidf.c: Likewise.
4531 * soft-fp/floatundisf.c: Likewise.
4532 * soft-fp/floatunditf.c: Likewise.
4533 * soft-fp/floatunsidf.c: Likewise.
4534 * soft-fp/floatunsisf.c: Likewise.
4535 * soft-fp/floatunsitf.c: Likewise.
4536 * soft-fp/floatuntidf.c: Likewise.
4537 * soft-fp/floatuntisf.c: Likewise.
4538 * soft-fp/floatuntitf.c: Likewise.
4539 * soft-fp/gedf2.c: Likewise.
4540 * soft-fp/gesf2.c: Likewise.
4541 * soft-fp/getf2.c: Likewise.
4542 * soft-fp/ledf2.c: Likewise.
4543 * soft-fp/lesf2.c: Likewise.
4544 * soft-fp/letf2.c: Likewise.
4545 * soft-fp/muldf3.c: Likewise.
4546 * soft-fp/mulsf3.c: Likewise.
4547 * soft-fp/multf3.c: Likewise.
4548 * soft-fp/negdf2.c: Likewise.
4549 * soft-fp/negsf2.c: Likewise.
4550 * soft-fp/negtf2.c: Likewise.
4551 * soft-fp/op-1.h: Likewise.
4552 * soft-fp/op-2.h: Likewise.
4553 * soft-fp/op-4.h: Likewise.
4554 * soft-fp/op-8.h: Likewise.
4555 * soft-fp/op-common.h: Likewise.
4556 * soft-fp/quad.h: Likewise.
4557 * soft-fp/single.h: Likewise.
4558 * soft-fp/soft-fp.h: Likewise.
4559 * soft-fp/subdf3.c: Likewise.
4560 * soft-fp/subsf3.c: Likewise.
4561 * soft-fp/subtf3.c: Likewise.
4562 * soft-fp/truncdfsf2.c: Likewise.
4563 * soft-fp/trunctfdf2.c: Likewise.
4564 * soft-fp/trunctfsf2.c: Likewise.
4565 * soft-fp/trunctfxf2.c: Likewise.
4566 * soft-fp/unorddf2.c: Likewise.
4567 * soft-fp/unordsf2.c: Likewise.
4568 * soft-fp/unordtf2.c: Likewise.
4569
4dfe21ac
RE
45702015-09-24 Richard Earnshaw <rearnsha@arm.com>
4571
4572 PR libgcc/67624
4573 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4574
df2a1cc4
RO
45752015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4576
4577 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4578 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4579 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4580 messages.
4581 (internal_mcount): Likewise.
4582 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4583 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4584
2d110442
RO
45852015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4586
4587 * configure.ac (libgcc_cv_solaris_crts): New test.
4588 * configure: Regenerate.
4589 * config.in: Regenerate.
4590 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4591 * config/gmon-sol2.c: Rename to ...
4592 * config/sol2/gmon.c: ... this.
4593 Include auto-target.h.
4594 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4595 * config/t-sol2: Rename to ...
4596 * config/sol2/t-sol2: ... this.
4597 (gmon.o): Reflect renaming.
4598 (crtp.o, crtpg.o): New rules.
4599 * config.host (*-*-solaris2*): Reflect renaming.
4600 Use system CRTs if present.
4601 Remove default CRT case.
4602
d572e439
JDA
46032015-09-23 John David Anglin <danglin@gcc.gnu.org>
4604
4605 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4606 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4607 __kernel_cmpxchg2.
4608 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4609 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4610 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4611 (__sync_lock_test_and_set_##WIDTH): Likewise.
4612 (__sync_lock_release_##WIDTH): Likewise.
4613 (__sync_fetch_and_##OP##_4): Change result to match type of
4614 __kernel_cmpxchg.
4615 (__sync_##OP##_and_fetch_4): Likewise.
4616 (__sync_val_compare_and_swap_4): Likewise.
4617 (__sync_bool_compare_and_swap_4): likewise.
4618 (__sync_lock_test_and_set_4): Likewise.
4619 (__sync_lock_release_4): Likewise.
4620 (FETCH_AND_OP_2): Add long long variants.
4621 (OP_AND_FETCH_2): Likewise.
4622 (COMPARE_AND_SWAP_2 ): Likewise.
4623 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4624 (SYNC_LOCK_RELEASE_2): Likewise.
4625 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4626
7d296953 46272015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
4628
4629 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4630 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4631 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4632 (get_available_features): Habdle new features.
4633
131314e1
JB
46342015-09-21 James Bowman <james.bowman@ftdichip.com>
4635
4636 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4637 memory layout. Deal correctly with BSS region larger than 32K.
4638 Handle a watchdog reset like a power-on reset. Clean up unused
4639 code.
4640
04218b35
AD
46412015-09-18 Andrew Dixie <andrewd@gentrack.com>
4642 David Edelsohn <dje.gcc@gmail.com>
4643
4644 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4645 * config/rs6000/crtdbase.S: New file.
4646 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4647
c8338173
MF
46482015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4649
4650 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4651 Add support for call0 ABI.
4652
7a84bf71
JDA
46532015-09-13 John David Anglin <danglin@gcc.gnu.org>
4654
4655 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4656
4efab402
SH
46572015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4658
4659 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4660 (__GTHREAD_HAS_COND): Likewise.
4661 (__gthread_t): Likewise.
4662 (__gthread_cond_t): Likewise.
4663 (__gthread_time_t): Likewise.
4664 (__GTHREAD_MUTEX_INIT): Likewise.
4665 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4666 (__GTHREAD_COND_INIT): Likewise.
4667 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4668 (__GTHREAD_TIME_INIT): Likewise.
4669 (__gthread_create): Likewise.
4670 (__gthread_join): Likewise.
4671 (__gthread_detach): Likewise.
4672 (__gthread_equal): Likewise.
4673 (__gthread_self): Likewise.
4674 (__gthread_yield): Likewise.
4675 (__gthread_cond_broadcast): Likewise.
4676 (__gthread_cond_signal): Likewise.
4677 (__gthread_cond_wait): Likewise.
4678 (__gthread_cond_timedwait): Likewise.
4679 (__gthread_cond_wait_recursive): Likewise.
4680 (__gthread_cond_destroy): Likewise.
4681 (rtems_gxx_once): Delete.
4682 (rtems_gxx_key_create): Likewise.
4683 (rtems_gxx_key_delete): Likewise.
4684 (rtems_gxx_getspecific): Likewise.
4685 (rtems_gxx_setspecific): Likewise.
4686 (rtems_gxx_mutex_init): Likewise.
4687 (rtems_gxx_mutex_destroy): Likewise.
4688 (rtems_gxx_mutex_lock): Likewise.
4689 (rtems_gxx_mutex_trylock): Likewise.
4690 (rtems_gxx_mutex_unlock): Likewise.
4691 (rtems_gxx_recursive_mutex_init): Likewise.
4692 (rtems_gxx_recursive_mutex_lock): Likewise.
4693 (rtems_gxx_recursive_mutex_trylock): Likewise.
4694 (rtems_gxx_recursive_mutex_unlock): Likewise.
4695 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4696 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4697 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4698 (__gthread_once): Likewise.
4699 (__gthread_key_create): Likewise.
4700 (__gthread_key_delete): Likewise.
4701 (__gthread_getspecific): Likewise.
4702 (__gthread_setspecific): Likewise.
4703 (__gthread_key_t): Use <pthread.h> type.
4704 (__gthread_once_t): Likewise
4705 (__gthread_mutex_t): Use <sys/lock.h> type.
4706 (__gthread_recursive_mutex_t): Likewise
4707 (__gthread_mutex_lock): Use <sys/lock.h> function.
4708 (__gthread_mutex_trylock): Likewise.
4709 (__gthread_mutex_timedlock): Likewise.
4710 (__gthread_mutex_unlock): Likewise.
4711 (__gthread_mutex_destroy): Likewise.
4712 (__gthread_recursive_mutex_lock): Likewise.
4713 (__gthread_recursive_mutex_trylock): Likewise.
4714 (__gthread_recursive_mutex_timedlock): Likewise.
4715 (__gthread_recursive_mutex_unlock): Likewise.
4716 (__gthread_recursive_mutex_destroy): Likewise.
4717
991995c4
MF
47182015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4719
4720 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4721 context->sp instead of context->cfa.
4722
0e19db59
MF
47232015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4724
4725 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4726 with unwind-dw2-fde-dip.
4727
b6ac5f62
MF
47282015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4729
4730 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4731 CALL12 followed by series of ENTRY to spill windowed registers.
4732 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4733 instead of making linux spill syscall.
4734
3e0f3349
YR
47352015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4736
4737 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4738 (get_intel_cpu): Likewise.
4739
51c728b1
L
47402015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4741
4742 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4743 (get_intel_cpu): Add Knights Landing support.
4744
aff4eeac
UB
47452015-08-11 Uros Bizjak <ubizjak@gmail.com>
4746
4747 PR target/66954
4748 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4749 (get_available_features): Handle FEATURE_PCLMUL.
4750
736e56da
L
47512015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4752
4753 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4754 Broadwell.
4755
54d22142
UB
47562015-07-22 Uros Bizjak <ubizjak@gmail.com>
4757
4758 PR target/66954
4759 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4760 (get_available_features): Handle FEATURE_AES.
4761
20ca17e4
CLT
47622015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4763
4764 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4765 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4766
ebe4a560
NS
47672015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4768
4769 * offloadstuff.c: Constify host data.
4770
180744c0
JB
47712015-07-17 Jan Beulich <jbeulich@suse.com>
4772
4773 * config/t-softfp: Split up "else ifneq".
4774
a03c6ae3
SL
47752015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4776 Cesar Philippidis <cesar@codesourcery.com>
4777 Chung-Lin Tang <cltang@codesourcery.com>
4778
4779 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4780 for __nios2_arch__ level.
4781
73358db5
JM
47822015-07-13 John Marino <gnugcc@marino.st>
4783
4784 * config/i386/t-dragonfly: New.
4785
f9a12f7b
JDA
47862015-07-01 John David Anglin <danglin@gcc.gnu.org>
4787
4788 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4789 better match light-weight syscall argument order.
4790 (__kernel_cmpxchg2): Likewise.
4791 Adjust callers.
4792
cb78b51c
L
47932015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4794
4795 * config.host: Support i[34567]86-*-elfiamcu target.
4796 * config/t-softfp-sfdftf: New file.
4797 * config/i386/32/t-iamcu: Likewise.
4798 * configure: Regenerated.
4799
4fa0f9ea
JL
48002015-06-23 James Lemke <jwlemke@codesourcery.com>
4801
4802 libgcc/config/arm/
4803 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4804
428b3812
L
48052015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4806
4807 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4808
7d296953 48092015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
4810
4811 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4812 md_unwind_header
4813 * config/i386/freebsd-unwind.h: New.
4814
9b789cc1
UB
48152015-05-22 Uros Bizjak <ubizjak@gmail.com>
4816
4817 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4818 i386/t-crtfm to tmake_file.
4819 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4820 (set_fast_math): Use set_fast_math_sse for SSE targets.
4821 * config/i386/t-crtfm: Remove.
4822
3dafb220
AM
48232015-05-21 Alan Modra <amodra@gmail.com>
4824
4825 PR libgcc/66225
4826 * config/rs6000/morestack.S: Remove ".abiversion 1".
4827
0f0fd745
AM
48282015-05-20 Alan Modra <amodra@gmail.com>
4829
4830 * config/rs6000/morestack.S: New.
4831 * config/rs6000/t-stack-rs6000: New.
4832 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4833 to tmake_file.
4834 * generic-morestack.c: Don't build for powerpc 32-bit.
4835
515ae71b
EB
48362015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4837
4838 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4839 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4840
36805406
JL
48412015-05-16 James Bowman <james.bowman@ftdichip.com>
4842
4843 * config.host: FT32 target added.
4844 * config/ft32/*: New files for FT32 target.
4845
ff935d0c
MG
48462015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4847
385c7747
UB
4848 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4849 New macros.
4850 * config/arm/ieee754-df.S: Add CFI directives.
4851 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 4852
9b92a9f3
EB
48532015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4854
4855 * configure.ac: Include config/sjlj.m4.
4856 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4857 * config.in: Regenerate.
4858 * configure: Likewise.
4859 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4860
98b5dc61
UB
48612015-05-12 Uros Bizjak <ubizjak@gmail.com>
4862
4863 * libgcov-util.c: Add space between string literal and macro name.
4864
5a0ff57c
SL
48652015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4866 Chris Jones <chrisj@nvidia.com>
4867 Joshua Conner <jconner@nvidia.com>
4868
4869 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4870 (arm*-*-uclinux*): Likewise.
4871 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4872 * config/arm/crtfastmath.c: New file.
4873
d28ad5d4
BS
48742014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4875
4876 * Makefile.in (real_host_noncanonical): New variable.
4877 (libsubdir): Use it.
4878 * configure.ac (real_host_noncanonical): Compute. Remove special
4879 case for intelmicemul.
4880 * configure: Regenerate.
4881
cc86234f
UB
48822015-04-28 Uros Bizjak <ubizjak@gmail.com>
4883
4884 * config/frv/elf-lib.h: New file.
4885 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4886 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4887 to tm_file.
4888
48892015-04-28 Uros Bizjak <ubizjak@gmail.com>
4890
4891 * config/frv/frvbengin.c: Do not include defaults.h
4892 * config/frv/frvend.c: Ditto.
4893
2f6bd6eb
YS
48942015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4895
4896 * config.host: Add h8300-*-linux
4897 * config/h8300/t-linux: New file.
4898 * config/h8300/lib1funs.s: Change symbol prefix.
4899 * config/h8300/sfp-machine.h: 64bit double support.
4900
15aa7b44
GR
49012015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4902 Szabolcs Nagy <szabolcs.nagy@arm.com>
4903
4904 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4905 Linux if target provides dl_iterate_phdr.
4906
abd0cdc9
L
49072015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4908
4909 PR target/65612
4910 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4911 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4912 (__cpu_indicator_init@GCC_4.8.0): New.
4913 (__cpu_model@GCC_4.8.0): Likewise.
4914 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4915 -DUSE_ELF_SYMVER.
4916
72ed1126
NC
49172015-04-16 Nick Clifton <nickc@redhat.com>
4918
4919 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4920 and __modhi3 functions.
4921 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4922 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4923
d26b2237
CG
49242015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4925
4926 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4927 do-while loop as macro body to avoid warnings.
4928
cacf1f59
JJ
49292015-04-10 Jakub Jelinek <jakub@redhat.com>
4930 Iain Sandoe <iain@codesourcery.com>
4931
4932 PR target/65351
4933 * configure: Regenerate.
4934
e8a4ed3b
JJ
49352015-04-07 Jakub Jelinek <jakub@redhat.com>
4936 Iain Sandoe <iain@codesourcery.com>
4937
4938 PR target/65351
4939 * configure: Regenerate.
4940
0341335e
CLT
49412015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4942
4943 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4944
590e2636 49452015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 4946
590e2636
MF
4947 Implement call0 ABI for xtensa
4948 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4949 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4950 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4951 use ret in call0 ABI.
4952 * config/xtensa/t-windowed: New file.
4953 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4954 * libgcc/configure: Regenerated.
4955 * libgcc/configure.ac: Check if xtensa target is configured for
4956 windowed ABI and thus needs to use custom unwind code.
4957
7727f8f2
JW
49582015-02-12 Jonathan Wakely <jwakely@redhat.com>
4959
4960 PR libgcc/64885
4961 * gthr-single.h: Use __unused__ attribute instead of unused.
4962 * config/gthr-vxworks.h: Likewise.
4963 * config/i386/gthr-win32.h: Likewise.
4964
0e4a0def
KT
49652015-02-27 Kai Tietz <ktietz@redhat.com>
4966
4967 PR target/65038
4968 * config.in: Regenerated.
4969 * configure: Likewise.
4970 * configure.ac (AC_HEADER_STDC): Added explicit.
4971 (AC_CHECK_HEADERS): Check for default headers plus
4972 for ftw.h header.
4973 * libgcov-util.c (gcov_read_profile_dir): Disable use
4974 of ftw-function, if header is not found.
4975 (ftw_read_file): Likewise.
4976
b6530d0a
TS
49772015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4978
4979 PR target/65181
4980 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4981 -Dinhibit_libc.
4982
53cfb467
SL
49832015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4984
4985 * config/arm/bpabi.S (test_div_by_zero): Make label names
4986 consistent between thumb2 and arm mode cases. Separate the
4987 signed comparison on the high word of the numerator from the
4988 unsigned comparison on the low word.
4989 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4990 signed comparison.
4991
77d10a1b
JM
49922015-02-17 Joseph Myers <joseph@codesourcery.com>
4993
4994 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4995 and <string.h>.
4996 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4997
98174188
RE
49982015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4999
5000 PR gcov-profile/61889
471274de 5001 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 5002
771bef14
NC
50032015-02-02 Nick Clifton <nickc@redhat.com>
5004
5005 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5006 rounding up the fraction.
5007
40702893
JDA
50082015-01-31 John David Anglin <danglin@gcc.gnu.org>
5009
5010 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5011 oldval and newval to const void *. Fix typo.
5012 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5013 (FETCH_AND_OP_WORD): Likewise.
5014 (OP_AND_FETCH_WORD): Likewise.
5015 (COMPARE_AND_SWAP_2): Likewise.
5016 (__sync_val_compare_and_swap_4): Likewise.
5017 (__sync_lock_test_and_set_4): Likewise.
5018 (SYNC_LOCK_RELEASE_2): Likewise.
5019 Remove support for long long atomic operations.
5020
f7f049fa
CT
50212015-01-27 Caroline Tice <cmtice@google.com>
5022
5023 Committing VTV Cywin/Ming patch for Patrick Wollgast
5024 * Makefile.in: Move rules to build vtv_*.o out of the check
5025 for CUSTOM_CRTSTUFF.
5026 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5027 i[34567]86-*-mingw*)
5028 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5029 enable_vtable_verify.
5030
8410904a
NC
50312015-01-27 Nick Clifton <nickc@redhat.com>
5032
5033 * config/rl78/cmpsi2.S: Use function start and end macros.
5034 (__gcc_bcmp): New function.
5035 * config/rl78/lshrsi3.S: Use function start and end macros.
5036 * config/rl78/mulsi3.S: Add support for G10.
5037 (__mulqi3): New function for G10.
5038 * config/rl78/signbit.S: Use function start and end macros.
5039 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5040 fpmath-sf.S.
5041 (LIB2FUNCS_EXCLUDE): Define.
5042 (LIB2FUNCS_ST): Define.
5043 * config/rl78/trampoline.S: Use function start and end macros.
5044 * config/rl78/vregs.h (START_FUNC): New macro.
5045 (START_ANOTHER_FUNC): New macro.
5046 (END_FUNC): New macro.
5047 (END_ANOTHER_FUNC): New macro.
5048 * config/rl78/bit-count.S: New file. Contains assembler
5049 implementations of the bit counting functions: ___clzhi2,
5050 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5051 __paritysi2, __popcounthi2 and __popcountsi2.
5052 * config/rl78/fpbit-sf.S: New file. Contains assembler
5053 implementationas of the math functions: __negsf2, __cmpsf2,
5054 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5055 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5056 * config/rl78/fpmath-sf.S: New file. Contains assembler
5057 implementations of the math functions: __subsf3, __addsf3,
5058 __mulsf3 and __divsf3
5059
f962fbf1
RO
50602015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5061
5062 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5063 Add i386/elf-lib.h to tm_file.
5064 * config/i386/elf-lib.h: Fix comment.
5065 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5066 && __sun__ && __svr4__]: Remove workaround.
5067
939911c5
ASJ
50682015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5069
5070 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5071 FEATURE_BMI2.
5072 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5073
c8f2dff2
L
50742015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5075
5076 * config/i386/cpuinfo.c (processor_subtypes): Add
5077 INTEL_COREI7_BROADWELL.
5078 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5079 model numbers.
5080
7bbf9734
UB
50812015-01-23 Uros Bizjak <ubizjak@gmail.com>
5082
5083 * config/i386/elf-lib.h: New file.
5084 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5085 Wrap definition in #ifdef __i386__.
5086 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5087 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5088 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5089 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5090 to tm_file.
5091
324820f1
CG
50922015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5093
5094 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5095 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5096
a9ce4e4a
CLT
50972015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5098
5099 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5100 Update rt_sigframe format and address for current Nios II
5101 Linux conventions.
5102
82a19768
AT
51032015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5104
5105 * config.host (arm*-*-freebsd*): Add new configuration for
5106 arm*-*-freebsd*.
5107 * config/arm/freebsd-atomic.c: New file.
5108 * config/arm/t-freebsd: Likewise.
5109 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5110 'PC-relative indirect' OS's.
5111
0969ec7d
EB
51122015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5113
5114 * config.host: Add Visium support.
5115 * config/visium: New directory.
5116
5624e564
JJ
51172015-01-05 Jakub Jelinek <jakub@redhat.com>
5118
5119 Update copyright years.
5120
82f84ecb
MF
51212014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5122
5123 * config.host: Support mipsisa32r6 and mipsisa64r6.
5124 * config/mips/mips16.S: Do not build for R6.
5125
69044fa9
OE
51262014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5127
5128 * config/sh/crt.h: New.
5129 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5130 symbols.
5131 * config/sh/crt1.S: Likewise.
5132
2405e0ea
UB
51332014-12-15 Uros Bizjak <ubizjak@gmail.com>
5134
5135 PR libgcc/63832
5136 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5137 func_ptr *dtor_list temporary variable to avoid "array subscript
5138 is above array bounds" warnings.
5139
7d296953 51402014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
5141
5142 * Makefile.in (with_aix_soname): Define.
5143 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5144 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5145 * configure: Recreate.
5146
a66272f6
OH
51472014-12-05 Olivier Hainque <hainque@adacore.com>
5148
5149 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5150 now provided by defaults.h.
5151
6342b2c5
OE
51522014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5153
7d0ee249 5154 PR target/55351
6342b2c5
OE
5155 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5156 whether it's defined.
5157
c17eac85
IT
51582014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5159
5160 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5161 * config/i386/cpuinfo.c (get_available_features): Detect it.
5162
1025cb6c
TW
51632014-11-27 Tony Wang <tony.wang@arm.com>
5164
5165 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5166 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5167 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5168
d19f2e38
SB
51692014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5170
5171 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5172
17f6e9a3
JDA
51732014-11-24 John David Anglin <danglin@gcc.gnu.org>
5174
5175 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5176 instead.
5177
0cd7c672
GM
51782014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5179 John David Anglin <danglin@gcc.gnu.org>
5180
5181 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5182 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5183 (OP_AND_FETCH_2): Likewise.
5184 (COMPARE_AND_SWAP_2): Likewise.
5185 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5186 (SYNC_LOCK_RELEASE_2): Likewise.
5187 (SUBWORD_SYNC_OP): Remove.
5188 (SUBWORD_VAL_CAS): Likewise.
5189 (SUBWORD_BOOL_CAS): Likewise.
5190 (FETCH_AND_OP_WORD): Update.
5191 Consistently use signed types.
cc86234f 5192
85c64bbe
BS
51932014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5194 Thomas Schwinge <thomas@codesourcery.com>
5195 Ilya Verbin <ilya.verbin@intel.com>
5196 Andrey Turetskiy <andrey.turetskiy@intel.com>
5197
5198 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5199 (crtoffloadend$(objext)): Likewise.
5200 * configure: Regenerate.
5201 * configure.ac (accel_dir_suffix): Compute new variable.
5202 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5203 if enable_offload_targets is not empty.
5204 * offloadstuff.c: New file.
5205
52a1ff8b
NC
52062014-11-13 Nick Clifton <nickc@redhat.com>
5207
5208 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5209 Use START_FUNC and END_FUNC macros to enable linker garbage
5210 collection.
5211 * config/rl78/divmodqi.S: Likewise.
5212 * config/rl78/divmodsi.S: Likewise.
5213 * config/rl78/mulsi3.S: Likewise.
5214 * config/rl78/lib2div.c: Remove G10 functions.
5215 * config/rl78/lib2muls.c: Likewise.
5216 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5217 * config/rl78/vregs.h (START_FUNC): New macro.
5218 (END_FUNC): New macro.
5219
050af144
MF
52202014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5221
5222 * config/mips/mips16.S: Set .module when supported. Update O32
5223 FP64 calling convention and use for FPXX when possible. Add FPXX
5224 calling convention fallback case.
5225
738f2522
BS
52262014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5227
5228 * config.host: Handle nvptx-*-*.
5229 * shared-object.mk (as-flags-$o): Define.
5230 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5231 -xassembler-with-cpp.
5232 * static-object.mk: Identical changes.
5233 * config/nvptx/t-nvptx: New file.
5234 * config/nvptx/crt0.s: New file.
5235 * config/nvptx/free.asm: New file.
5236 * config/nvptx/malloc.asm: New file.
5237 * config/nvptx/realloc.c: New file.
5238
e610393c
JM
52392014-10-30 Joseph Myers <joseph@codesourcery.com>
5240
5241 * Makefile.in (libgcc.map.in): New target.
5242 (libgcc.map): Use libgcc.map.in.
5243 * config/t-softfp (softfp_compat): New variable to be set by
5244 users.
5245 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5246 variables.
5247 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5248 directory.
5249 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5250 that use compat symbols and disable all code unless [SHARED].
5251 * config/t-softfp-compat: New file.
5252 * find-symver.awk: New file.
5253 * configure.ac (--with-glibc-version): New configure option.
5254 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5255 * configure: Regenerate.
5256 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5257 soft-float and e500.
5258
bc1b3a88
JM
52592014-10-29 Joseph Myers <joseph@codesourcery.com>
5260
5261 * config/t-hardfp (hardfp_exclusions): Document new variable for
5262 user to define.
5263 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5264 * config/t-softfp (softfp_extras): Document new variable for user
5265 to define.
5266 (softfp_func_list): Add functions from $(softfp_extras).
5267 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5268 * config.host (powerpc*-*-linux*): For e500v1, use
5269 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5270 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5271 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5272
ef2810c1
JDA
52732014-10-26 John David Anglin <danglin@gcc.gnu.org>
5274
5275 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5276 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5277 memory read accesses are ok.
5278
d80c2bea
JM
52792014-10-25 Joseph Myers <joseph@codesourcery.com>
5280
5281 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5282 * configure: Regenerate.
5283 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5284 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5285 of soft-fp for 32-bit classic hard float. Do not use
5286 t-softfp-excl for soft float.
5287
693b297b
JM
52882014-10-22 Joseph Myers <joseph@codesourcery.com>
5289
5290 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5291 configurations.
5292 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5293 Remove variables.
5294
18a3415e
GJL
52952014-10-22 Georg-Johann Lay <avr@gjlay.de>
5296
5297 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5298 introduced with 2014-10-21 trunk r216525.
5299
c1dd9790 53002014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
5301 Vidya Praveen <vidya.praveen@atmel.com>
5302 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5303 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5304 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
5305
5306 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5307 order.
5308
5309 Updated library functions for AVRTINY arch.
5310 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5311 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5312 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5313 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5314 wsubi/wadi macors.
5315 (__mulsi3_helper): Update stack, preserve callee saved regs and
5316 argument from stack. Restore callee save registers.
5317 (__mulpsi3): Likewise.
5318 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5319 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 5320 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
5321 AVRTINY.
5322 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5323 (__do_copy_data): Added new definition for AVRTINY.
5324 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5325 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5326 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5327 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5328 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5329 macors.
18a3415e 5330 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
5331 AVRTINY.
5332
18a3415e 5333 Fix broken long multiplication on tiny arch.
c1dd9790 5334
5f606431
JM
53352014-10-09 Joseph Myers <joseph@codesourcery.com>
5336
5337 * soft-fp/double.h: Update from glibc.
5338 * soft-fp/eqdf2.c: Likewise.
5339 * soft-fp/eqsf2.c: Likewise.
5340 * soft-fp/eqtf2.c: Likewise.
5341 * soft-fp/extenddftf2.c: Likewise.
5342 * soft-fp/extended.h: Likewise.
5343 * soft-fp/extendsfdf2.c: Likewise.
5344 * soft-fp/extendsftf2.c: Likewise.
5345 * soft-fp/extendxftf2.c: Likewise.
5346 * soft-fp/gedf2.c: Likewise.
5347 * soft-fp/gesf2.c: Likewise.
5348 * soft-fp/getf2.c: Likewise.
5349 * soft-fp/ledf2.c: Likewise.
5350 * soft-fp/lesf2.c: Likewise.
5351 * soft-fp/letf2.c: Likewise.
5352 * soft-fp/op-1.h: Likewise.
5353 * soft-fp/op-2.h: Likewise.
5354 * soft-fp/op-4.h: Likewise.
5355 * soft-fp/op-8.h: Likewise.
5356 * soft-fp/op-common.h: Likewise.
5357 * soft-fp/quad.h: Likewise.
5358 * soft-fp/single.h: Likewise.
5359 * soft-fp/soft-fp.h: Likewise.
5360 * soft-fp/unorddf2.c: Likewise.
5361 * soft-fp/unordsf2.c: Likewise.
5362 * soft-fp/unordtf2.c: Likewise.
5363 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5364 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5365 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5366 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5367 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5368 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5369 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5370 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5371 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5372 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5373
9b84e7a8
RX
53742014-10-08 Rong Xu <xur@google.com>
5375
5376 * libgcov-util.c (read_gcda_file): Fix format.
5377 (find_match_gcov_info): Ditto.
5378 (calculate_2_entries): New.
5379 (compute_one_gcov): Ditto.
5380 (gcov_info_count_all_cold): Ditto.
5381 (gcov_info_count_all_zero): Ditto.
5382 (extract_file_basename): Ditto.
5383 (get_file_basename): Ditto.
5384 (set_flag): Ditto.
5385 (matched_gcov_info): Ditto.
5386 (calculate_overlap): Ditto.
5387 (gcov_profile_overlap): Ditto.
5388 * libgcov-driver.c (compute_summary): Make
5389 it avavilable for external calls.
5390
fe1090c1
RX
53912014-10-06 Rong Xu <xur@google.com>
5392
5393 * Makefile.in: Ditto.
5394 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5395 (gcov_sort_icall_topn_counter): Ditto.
5396 (gcov_sort_topn_counter_arrays): Ditto.
5397 (dump_one_gcov): Sort indirect_call topn counters.
5398 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5399 function.
5400 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5401 utility function.
5402 (__gcov_indirect_call_topn_profiler): New profiler function.
5403 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5404 * libgcov.h: New decls.
5405
3daa7bbf
TS
54062014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5407
5408 * config.host: Remove support for score-*.
5409
9a79452d
JM
54102014-09-22 Joseph Myers <joseph@codesourcery.com>
5411
5412 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5413 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5414 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5415 __LIBGCC_XF_MANT_DIG__.
5416 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5417 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5418 __LIBGCC_TF_MANT_DIG__.
5419 * libgcc2.c (NOTRUNC): Define in terms of
5420 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5421 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5422
1a849e50
JM
54232014-09-22 Joseph Myers <joseph@codesourcery.com>
5424
5425 PR target/63312
5426 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5427 New macros.
5428
598a1586
HPN
54292014-09-22 Hans-Peter Nilsson <hp@axis.com>
5430
5431 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5432 override USE_PT_GNU_EH_FRAME.
5433 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5434 check USE_EH_FRAME_REGISTRY_ALWAYS against
5435 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5436 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5437 variable for substituted force_explicit_eh_registry.
5438 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5439 * configure.ac (explicit-exception-frame-registration):
5440 New AC_ARG_ENABLE.
5441 * configure: Regenerate.
5442
3a8fe7c6
OH
54432014-09-19 Olivier Hainque <hainque@adacore.com>
5444
5445 * config.host (powerpc-wrs-vxworksmils): New configuration,
5446 same as vxworksae.
5447
dd69f047
JM
54482014-09-18 Joseph Myers <joseph@codesourcery.com>
5449
5450 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5451
e770bfd9
JM
54522014-09-18 Joseph Myers <joseph@codesourcery.com>
5453
5454 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5455 bits not set bits as indicating trapping exceptions.
5456
cadb2b96
NS
54572014-09-17 Nathan sidwell <nathan@acm.org>
5458
5459 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5460 (LIBGCOV_DRIVER): ... here.
5461 * libgcov-driver.c (gcov_master): New.
5462 (gcov_exit): Remove from master chain.
5463 (__gcov_init): Add to master chain if version compatible. Don't
5464 clear the version.
5465 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5466 (gcov_reset_int): Clear master chain, if compatible.
5467 (gcov_dump_int): New internal interface. Dump master chain, if
5468 compatible.
5469 (gcov_dump): Alias for gcov_dump_int.
5470 * libgcov.h (struct gcov_root): Add next and prev fields.
5471 (struct gcov_master): New struct.
5472 (__gcov_master): New.
5473 (gcov_dump_int): Declare.
5474
580d22a3
OH
54752014-09-17 Olivier Hainque <hainque@adacore.com>
5476
5477 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5478 and crtbegin.o + crtend.o to extra_parts.
5479
8cc4b7a2
JM
54802014-09-12 Joseph Myers <joseph@codesourcery.com>
5481
5482 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5483 __LIBGCC_HAS_SF_MODE__.
5484 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5485 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5486 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5487 * config/libbid/bid_gcc_intrinsics.h
5488 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5489 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5490 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5491 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5492 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5493 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5494
ea3f2b24
GJL
54952014-09-11 Georg-Johann Lay <avr@gjlay.de>
5496
5497 PR target/63223
5498 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5499 and R24 as needed. Make work for all devices and .text locations.
5500 (__do_global_ctors, __do_global_dtors): Use word addresses.
5501 (__tablejump__, __tablejump_elpm__): Remove functions.
5502 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5503 Add _tablejump2.
5504 (XICALL, XIJMP): New macros.
5505
b677236a
MS
55062014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5507 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5508
5509 * config.host (aarch64*): Include crtfastmath.o and
5510 t-crtfm.
5511 * config/aarch64/crtfastmath.c: New file.
5512
157e859f
TS
55132014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5514
5515 * config.host: Remove picochip support.
5516 * config/picochip/adddi3.S: Remove.
5517 * config/picochip/ashlsi3.S: Remove.
5518 * config/picochip/ashlsi3.c: Remove.
5519 * config/picochip/ashrsi3.S: Remove.
5520 * config/picochip/ashrsi3.c: Remove.
5521 * config/picochip/clzsi2.S: Remove.
5522 * config/picochip/cmpsi2.S: Remove.
5523 * config/picochip/divmod15.S: Remove.
5524 * config/picochip/divmodhi4.S: Remove.
5525 * config/picochip/divmodsi4.S: Remove.
5526 * config/picochip/lib1funcs.S: Remove.
5527 * config/picochip/longjmp.S: Remove.
5528 * config/picochip/lshrsi3.S: Remove.
5529 * config/picochip/lshrsi3.c: Remove.
5530 * config/picochip/parityhi2.S: Remove.
5531 * config/picochip/popcounthi2.S: Remove.
5532 * config/picochip/setjmp.S: Remove.
5533 * config/picochip/subdi3.S: Remove.
5534 * config/picochip/t-picochip: Remove.
5535 * config/picochip/ucmpsi2.S: Remove.
5536 * config/picochip/udivmodhi4.S: Remove.
5537 * config/picochip/udivmodsi4.S: Remove.
5538
66bb34c0
JM
55392014-09-08 Joseph Myers <joseph@codesourcery.com>
5540
5541 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5542 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5543 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5544 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5545 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5546 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5547 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5548 defined and LIBGCC2_HAS_DF_MODE is defined.
5549 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5550 defined and LIBGCC2_HAS_XF_MODE is defined.
5551 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5552 defined and LIBGCC2_HAS_TF_MODE is defined.
5553
9686a2e6
JM
55542014-09-08 Joseph Myers <joseph@codesourcery.com>
5555
5556 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5557 and ROUND_TOWARDS_ZERO conditionals.
5558
71c3e2ef
NS
55592014-09-07 Nathan sidwell <nathan@acm.org>
5560
5561 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5562 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5563
53d68b9f
JM
55642014-09-05 Joseph Myers <joseph@codesourcery.com>
5565
5566 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5567 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5568 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5569 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5570 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5571 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5572 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5573 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5574 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5575 (DWARF_FRAME_REGISTERS): Change all uses to
5576 __LIBGCC_DWARF_FRAME_REGISTERS__.
5577 (EH_RETURN_STACKADJ_RTX): Change all uses to
5578 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5579 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5580 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5581 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5582 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5583 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5584 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5585 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5586 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5587 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5588 __LIBGCC_STACK_POINTER_REGNUM__.
5589 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5590 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5591 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5592 to __LIBGCC_STACK_POINTER_REGNUM__.
5593 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5594 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5595 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5596 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5597 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5598 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5599 (STACK_POINTER_REGNUM): Change all uses to
5600 __LIBGCC_STACK_POINTER_REGNUM__.
5601 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5602 use to __LIBGCC_STACK_POINTER_REGNUM__.
5603 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5604 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5605 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5606 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5607 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5608 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5609 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5610 to __LIBGCC_STACK_POINTER_REGNUM__.
5611 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5612 Remove conditional definition.
5613 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5614 __LIBGCC_TEXT_SECTION_ASM_OP__.
5615 (EH_FRAME_SECTION_NAME): Change all uses to
5616 __LIBGCC_EH_FRAME_SECTION_NAME__.
5617 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5618 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5619 (CTORS_SECTION_ASM_OP): Change all uses to
5620 __LIBGCC_CTORS_SECTION_ASM_OP__.
5621 (DTORS_SECTION_ASM_OP): Change all uses to
5622 __LIBGCC_DTORS_SECTION_ASM_OP__.
5623 (JCR_SECTION_NAME): Change all uses to
5624 __LIBGCC_JCR_SECTION_NAME__.
5625 (INIT_SECTION_ASM_OP): Change all uses to
5626 __LIBGCC_INIT_SECTION_ASM_OP__.
5627 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5628 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5629 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5630 __LIBGCC_STACK_GROWS_DOWNWARD__.
5631 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5632 __LIBGCC_INIT_SECTION_ASM_OP__.
5633 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5634 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5635 (EH_FRAME_SECTION_NAME): Change all uses to
5636 __LIBGCC_EH_FRAME_SECTION_NAME__.
5637 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5638 definitions. Change all uses to
5639 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5640 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5641 __LIBGCC_STACK_GROWS_DOWNWARD__.
5642 (DWARF_FRAME_REGISTERS): Change all uses to
5643 __LIBGCC_DWARF_FRAME_REGISTERS__.
5644 (EH_RETURN_STACKADJ_RTX): Change all uses to
5645 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5646 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5647 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5648 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5649 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5650 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5651
b20ee094
NS
56522014-09-02 Nathan sidwell <nathan@acm.org>
5653
5654 * libgcov-interface.c (STRONG_ALIAS): New.
5655 (__gcov_flush): Call __gcov_reset_int.
5656 (__gcov_reset): Strong alias for ...
5657 (__gcov_reset_ing): ... this renamed hidden version.
5658 * libgcov.h (__gcov_reset_int): New declaration.
5659
1ac83976
YS
56602014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5661
25efdb9f
YS
5662 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5663 call from here...
5664 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5665 (__dso_handle): Define on Cygwin.
5666 * config/i386/t-cygming (crtbeginS.o): New rule.
5667 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5668
1ac83976
YS
5669 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5670 declaration syntax.
5671
c6f9ea3b
SE
56722014-08-13 Steve Ellcey <sellcey@mips.com>
5673
5674 * crtstuff.c: Undef caddr_t.
5675
5b1ea7c5
SE
56762014-08-12 Steve Ellcey <sellcey@mips.com>
5677
5678 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5679
4303c581
NS
56802014-08-07 Nathan Sidwell <nathan@acm.org>
5681
5682 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5683 (LIBGCOV_DRIVER): ... to here.
5684 * libgcov.h (gcov_do_dump): New #define.
5685 (struct gcov_root): New.
5686 (__gcov_root): New declaration.
5687 (__gcov_dump_one): Declare.
5688 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5689 run_accounted): Delete.
5690 (gcov_compute_histogram): Add LIST argument, adjust.
5691 (compute_summary): Adjust gcov_compute_histogram call.
5692 (gcov_do_dump): Not hidden, static in libgcov.
5693 (gcov_clear): Move to interface.c.
5694 (__gcov_dump_one): New, broken out of ...
5695 (gcov_exit): ... here. Make static.
5696 (__gcov_root): New.
5697 (__gcov_init): Adjust.
5698 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5699 declarations.
5700 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5701 (gcov_clear): Moved from driver.c. Add LIST argument.
5702 (__gcov_reset): Adjust for changed interfaces.
5703 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5704
23742a9e
RAR
57052014-08-04 Rohit <rohitarulraj@freescale.com>
5706
5707 PR target/60102
5708 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 5709 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 5710
b98a872b
NS
57112014-08-01 Nathan Sidwell <nathan@acm.org>
5712
5713 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5714 LIBGCOV_INTERFACE): Reformat.
5715 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5716 IN_GCOV_TOOL.
5717 * libgcov-interface.c: Reformat some comments.
5718 (__gcov_flush_mx): Add declaration. Tidy up definition.
5719
6adaaa1d
AM
57202014-07-31 Alan Modra <amodra@gmail.com>
5721 Peter Bergner <bergner@vnet.ibm.com>
5722
5723 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5724 (pack_ldouble): New function.
5725 (__gcc_qadd): Use it.
5726 (__gcc_qmul): Likewise.
5727 (__gcc_qdiv): Likewise.
5728 (__gcc_qneg): Likewise.
5729 (__gcc_stoq): Likewise.
5730 (__gcc_dtoq): Likewise.
5731
87cb0c0c
UW
57322014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5733
5734 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5735 (__tpf_eh_return): Add original return address as second parameter.
5736 Handle cases where unwinder routines were called directly, instead
5737 of from within the C++ library.
5738
19926161
NS
57392014-07-29 Nathan Sidwell <nathan@acm.org>
5740
5741 * libgcov.h: Move renaming of entry points to lib gcov specific
5742 portion.
5743 (gcov_do_dump): New rename.
5744 (gcov_rewrite): Remove inline, make HIDDEN.
5745 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5746 (gcov_exit_compute_summary): Rename to ...
5747 (compute_summary): ... here. Add LIST argument.
5748 (gcov_exit_merge_gcda): Rename to ...
5749 (merge_one_data): ... here.
5750 (gcov_exit_write_gcda): Rename to ...
5751 (write_one_data): ... here.
5752 (gcov_exit_merge_summary): Rename to ...
5753 (merge_summary): Add RUN_COUNTED argument.
5754 (gcov_exit_dump_gcov): Rename to ...
5755 (dump_one_gcov): Add RUN_COUNTED argument.
5756 (gcov_do_dump): New function, broken out of ...
5757 (gcov_exit): ... here. Call it.
5758
17522262
AG
57592014-07-27 Anthony Green <green@moxielogic.com>
5760
5761 * config.host: Add moxiebox configuration suppport.
5762
6dc33097
NS
57632014-07-27 Nathan Sidwell <nathan@acm.org>
5764
5765 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5766 (struct gcov_filename): ... here. Include buffer and max length
5767 fields.
5768 (gcov_max_filename): Remove.
5769 (gi_filename): Remove.
5770 (gcov_exit_compute_summary): Compute max filename here.
5771 (gcov_exit_merge_gcda): Add filename parm, adjust.
5772 (gcov_exit_merge_summary): Likewise.
5773 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5774 (gcov_exit): Likewise.
5775 (__gcov_init): Don't calculate max length here.
5776 * libgcov_util.c (max_filename_len): Remove.
5777 (read_gcda_file): Don't calculate max length here.
5778 (gcov_read_profile_dir): Don't propagate here.
5779 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5780 struct gcov_filename changes.
5781 (gcov_exit_open_gcda_file): Likewise.
5782
770f687d
NS
57832014-07-25 Nathan Sidwell <nathan@acm.org>
5784
5785 * libgcov-driver.c (set_gcov_dump_complete,
5786 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5787 functions polluting user's namespace.
5788 (gcov_exit): Set variable directly.
5789 (gcov_clear): Reset variable directly.
5790 * libgcov-interface.c (get_gcov_dymp_complete,
5791 reset_gov_dump_complete): Remove declarations.
5792 (__gcov_reset, __gcov_dump): Don't call them.
5793
fabf71ba
DD
57942014-07-24 DJ Delorie <dj@redhat.com>
5795
5796 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
5797 (__gcc_deregister_frame): Move logic to detect deregister function
5798 to ...
5799 (__gcc_register_frame): here, so it's consistent with the register
5800 logic.
fabf71ba 5801
d10ee722
NS
58022014-07-23 Nathan Sidwell <nathan@acm.org>
5803
5804 * libgcov-driver.c (set_gcov_list): Remove.
5805 (gcov_list): Make non-static in GCOV_TOOL.
5806 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5807
a4137090
JDA
58082014-07-17 John David Anglin <danglin@gcc.gnu.org>
5809
5810 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5811 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5812 Don't use SYNC_LOCK_RELEASE for int type.
5813
72602c6c
RB
58142014-07-14 Richard Biener <rguenther@suse.de>
5815
5816 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5817
d5313205
RX
58182014-07-11 Rong Xu <xur@google.com>
5819
5820 * libgcov-util.c (gcov_max_filename): Fix declartion.
5821
c77556a5
RX
58222014-07-10 Rong Xu <xur@google.com>
5823
5824 Add gcov-tool: an offline gcda profile processing tool
5825 Support.
5826 * libgcov-driver.c (gcov_max_filename): Make available
5827 to gcov-tool.
5828 * libgcov-merge.c (__gcov_merge_add): Replace
5829 gcov_read_counter() with a Macro.
5830 (__gcov_merge_ior): Ditto.
5831 (__gcov_merge_time_profile): Ditto.
5832 (__gcov_merge_single): Ditto.
5833 (__gcov_merge_delta): Ditto.
5834 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5835 in the utility functions.
5836 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5837 gcov_list object link lists.
5838 (tag_function): Ditto.
5839 (tag_blocks): Ditto.
5840 (tag_arcs): Ditto.
5841 (tag_lines): Ditto.
5842 (tag_counters): Ditto.
5843 (tag_summary): Ditto.
5844 (read_gcda_finalize): Ditto.
5845 (read_gcda_file): Ditto.
5846 (ftw_read_file): Ditto.
5847 (read_profile_dir_init): Ditto.
5848 (gcov_read_profile_dir): Ditto.
5849 (gcov_read_counter_mem): Ditto.
5850 (gcov_get_merge_weight): Ditto.
5851 (merge_wrapper): A wrapper function that calls merging handler.
5852 (gcov_merge): Merge two gcov_info objects with weights.
5853 (find_match_gcov_info): Find the matched gcov_info in the list.
5854 (gcov_profile_merge): Merge two gcov_info object lists.
5855 (__gcov_add_counter_op): Process edge profile counter values.
5856 (__gcov_ior_counter_op): Process IOR profile counter values.
5857 (__gcov_delta_counter_op): Process delta profile counter values.
5858 (__gcov_single_counter_op): Process single profile counter values.
5859 (fp_scale): Callback function for float-point scaling.
cc86234f 5860 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
5861 (gcov_profile_scale): Scaling profile counters.
5862 (gcov_profile_normalize): Normalize profile counters.
5863 * libgcov.h: Add headers and functions for gcov-tool use.
5864 (gcov_get_counter): New.
5865 (gcov_get_counter_target): Ditto.
5866 (struct gcov_info): Make the functions field mutable in gcov-tool
5867 compilation.
5868
5c7dac8a
KT
58692014-06-23 Kai Tietz <ktietz@redhat.com>
5870
5871 PR libgcc/61585
5872 * unwind-seh.c (_Unwind_GetGR): Check for proper
5873 index range.
5874 (_Unwind_SetGR): Likewise.
5875
161c9312
NC
58762014-05-22 Nick Clifton <nickc@redhat.com>
5877
5878 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5879 -mhwmult=none.
5880
e3f0315f
TJ
58812014-05-22 Teresa Johnson <tejohnson@google.com>
5882
5883 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5884 include.
5885
dbed5a9b
JM
58862014-05-20 John Marino <gnugcc@marino.st>
5887
5888 * config.host (*-*-dragonfly*): New target.
5889 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5890 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5891 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5892 * config/i386/dragonfly-unwind.h: New.
5893
1ec380e5
MR
58942014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5895
5896 PR libgcc/60166
5897 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5898 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5899
54fde020
BE
59002014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5901
5902 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5903 implementation.
5904
999db125
GJL
59052014-05-12 Georg-Johann Lay <avr@gjlay.de>
5906
5907 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5908
cceaf54a
RO
59092014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5910
5911 PR libgcc/61097
5912 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5913 if --enable-shared.
5914
e3fe9b5b
BE
59152014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5916
5917 Work around for current cygwin32 build problems.
5918 * config/i386/cygming-crtbegin.c (__register_frame_info,
5919 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5920 functions only for 64-bit systems.
5921
54cf37e9
RO
59222014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5923
5924 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5925 (sigill_caught, sigill_hdlr): Remove.
5926
d9f069ab
RO
59272014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5928
5929 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5930 check.
5931 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5932 Solaris 9 single-threaded support.
5933 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5934 Solaris 9 single-threaded support. Add call_user_handler code
5935 sequences.
5936 (sparc_is_sighandler): Likewise.
5937
59976ef8
AK
59382014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5939
5940 * config.host: Append t-floattodi to tmake_file depending on
5941 host_address.
5942
d02bbcf3
JS
59432014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5944
31466bc0 5945 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 5946
c2e7e597
UB
59472014-03-10 Uros Bizjak <ubizjak@gmail.com>
5948
5949 PR libgcc/60472
5950 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 5951 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
5952 Use __builtin_expect when checking *jcr_list for NULL.
5953
227a7dc8
RO
59542014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5955
5956 PR libgcc/59339
5957 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5958 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5959 vtv_*.o to extra_parts if enable_vtable_verify.
5960
df2b279c
NC
59612014-03-06 Nick Clifton <nickc@redhat.com>
5962
5963 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5964 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5965
dc11d79b
JY
59662014-02-28 Joey Ye <joey.ye@arm.com>
5967
5968 PR libgcc/60166
5969 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5970 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5971 Set to zero.
5972
341c653c
WL
59732014-02-24 Walter Lee <walt@tilera.com>
5974
5975 * config.host: Support "tilegx*" and "tilepro*" triplets.
5976 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5977 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5978
95ce7613
CLT
59792014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5980 Chung-Lin Tang <cltang@codesourcery.com>
5981
5982 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5983 * config/nios2/crti.S: Remove .file directive.
5984 * config/nios2/crtn.S: Likewise.
5985
0bb4fc05
KT
59862014-02-18 Kai Tietz <ktietz@redhat.com>
5987 Jonathan Schleifer <js@webkeks.org>
5988
5989 PR objc/56870
5990 * unwind-seh.c (_GCC_specific_handler): Pass proper
5991 value to unwind-handler.
5992
9acf28f1
JM
59932014-02-12 Joseph Myers <joseph@codesourcery.com>
5994
5995 * soft-fp/adddf3.c: Update from glibc.
5996 * soft-fp/addsf3.c: Likewise.
5997 * soft-fp/addtf3.c: Likewise.
5998 * soft-fp/divdf3.c: Likewise.
5999 * soft-fp/divsf3.c: Likewise.
6000 * soft-fp/divtf3.c: Likewise.
6001 * soft-fp/double.h: Likewise.
6002 * soft-fp/eqdf2.c: Likewise.
6003 * soft-fp/eqsf2.c: Likewise.
6004 * soft-fp/eqtf2.c: Likewise.
6005 * soft-fp/extenddftf2.c: Likewise.
6006 * soft-fp/extended.h: Likewise.
6007 * soft-fp/extendsfdf2.c: Likewise.
6008 * soft-fp/extendsftf2.c: Likewise.
6009 * soft-fp/extendxftf2.c: Likewise.
6010 * soft-fp/fixdfdi.c: Likewise.
6011 * soft-fp/fixdfsi.c: Likewise.
6012 * soft-fp/fixdfti.c: Likewise.
6013 * soft-fp/fixsfdi.c: Likewise.
6014 * soft-fp/fixsfsi.c: Likewise.
6015 * soft-fp/fixsfti.c: Likewise.
6016 * soft-fp/fixtfdi.c: Likewise.
6017 * soft-fp/fixtfsi.c: Likewise.
6018 * soft-fp/fixtfti.c: Likewise.
6019 * soft-fp/fixunsdfdi.c: Likewise.
6020 * soft-fp/fixunsdfsi.c: Likewise.
6021 * soft-fp/fixunsdfti.c: Likewise.
6022 * soft-fp/fixunssfdi.c: Likewise.
6023 * soft-fp/fixunssfsi.c: Likewise.
6024 * soft-fp/fixunssfti.c: Likewise.
6025 * soft-fp/fixunstfdi.c: Likewise.
6026 * soft-fp/fixunstfsi.c: Likewise.
6027 * soft-fp/fixunstfti.c: Likewise.
6028 * soft-fp/floatdidf.c: Likewise.
6029 * soft-fp/floatdisf.c: Likewise.
6030 * soft-fp/floatditf.c: Likewise.
6031 * soft-fp/floatsidf.c: Likewise.
6032 * soft-fp/floatsisf.c: Likewise.
6033 * soft-fp/floatsitf.c: Likewise.
6034 * soft-fp/floattidf.c: Likewise.
6035 * soft-fp/floattisf.c: Likewise.
6036 * soft-fp/floattitf.c: Likewise.
6037 * soft-fp/floatundidf.c: Likewise.
6038 * soft-fp/floatundisf.c: Likewise.
6039 * soft-fp/floatunditf.c: Likewise.
6040 * soft-fp/floatunsidf.c: Likewise.
6041 * soft-fp/floatunsisf.c: Likewise.
6042 * soft-fp/floatunsitf.c: Likewise.
6043 * soft-fp/floatuntidf.c: Likewise.
6044 * soft-fp/floatuntisf.c: Likewise.
6045 * soft-fp/floatuntitf.c: Likewise.
6046 * soft-fp/gedf2.c: Likewise.
6047 * soft-fp/gesf2.c: Likewise.
6048 * soft-fp/getf2.c: Likewise.
6049 * soft-fp/ledf2.c: Likewise.
6050 * soft-fp/lesf2.c: Likewise.
6051 * soft-fp/letf2.c: Likewise.
6052 * soft-fp/muldf3.c: Likewise.
6053 * soft-fp/mulsf3.c: Likewise.
6054 * soft-fp/multf3.c: Likewise.
6055 * soft-fp/negdf2.c: Likewise.
6056 * soft-fp/negsf2.c: Likewise.
6057 * soft-fp/negtf2.c: Likewise.
6058 * soft-fp/op-1.h: Likewise.
6059 * soft-fp/op-2.h: Likewise.
6060 * soft-fp/op-4.h: Likewise.
6061 * soft-fp/op-8.h: Likewise.
6062 * soft-fp/op-common.h: Likewise.
6063 * soft-fp/quad.h: Likewise.
6064 * soft-fp/single.h: Likewise.
6065 * soft-fp/soft-fp.h: Likewise.
6066 * soft-fp/subdf3.c: Likewise.
6067 * soft-fp/subsf3.c: Likewise.
6068 * soft-fp/subtf3.c: Likewise.
6069 * soft-fp/truncdfsf2.c: Likewise.
6070 * soft-fp/trunctfdf2.c: Likewise.
6071 * soft-fp/trunctfsf2.c: Likewise.
6072 * soft-fp/trunctfxf2.c: Likewise.
6073 * soft-fp/unorddf2.c: Likewise.
6074 * soft-fp/unordsf2.c: Likewise.
6075 * soft-fp/unordtf2.c: Likewise.
6076 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6077 macro.
6078 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6079 Likewise.
6080 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6081 Likewise.
6082 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6083 Likewise.
6084 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6085 Likewise.
6086 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6087 Likewise.
6088 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6089 Likewise.
6090 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6091 Likewise.
6092 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6093 Likewise.
6094 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6095 Likewise.
6096 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6097 Likewise.
6098 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6099 Likewise.
6100 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6101 Likewise.
6102 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6103 Likewise.
6104 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6105 Likewise.
6106 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6107 Likewise.
6108
ce245ec6
AK
61092014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6110
6111 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6112 cannot be represented.
6113 * config/s390/32/_fixsfdi.c: Likewise.
6114 * config/s390/32/_fixtfdi.c: Likewise.
6115 * config/s390/32/_fixunsdfdi.c: Likewise.
6116 * config/s390/32/_fixunssfdi.c: Likewise.
6117 * config/s390/32/_fixunstfdi.c: Likewise.
6118
1c51d688
RS
61192014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6120
6121 * configure.ac (libgcc_cv_mips_hard_float): New.
6122 * configure: Regenerate.
6123 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6124 t-softfp-sfdf for hard-float targets.
6125 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6126 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6127 (softfp_truncations, softfp_exclude_libgcc2): New.
6128 * config/t-hardfp: New file.
6129 * config/t-hardfp-sfdf: Likewise.
6130 * config/hardfp.c: Likewise.
6131
bbf391db
AK
61322014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6133
6134 * config.host: Include t-floattodi also for s390x.
6135 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6136 * config/s390/32/_fixsfdi.c: Likewise.
6137 * config/s390/32/_fixtfdi.c: Likewise.
6138 * config/s390/32/_fixunsdfdi.c: Likewise.
6139 * config/s390/32/_fixunssfdi.c: Likewise.
6140 * config/s390/32/_fixunstfdi.c: Likewise.
6141
91da0481
RO
61422014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6143
6144 PR target/59788
6145 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6146 (install-libgcc-unwind-map-forbuild): New target.
6147 (all): Depend on install-libgcc-unwind-map-forbuild.
6148 (install-libgcc-unwind-map): New target.
6149 (install): Depend on install-libgcc-unwind-map.
6150
02b67731
SL
61512014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6152
6153 * config/nios2/crti.S (_init): Initialize GOT pointer from
6154 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6155
1ea0a651
RS
61562014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6157
6158 * configure.ac: Check __mips64 when setting host_address.
6159 * configure: Regenerate.
6160 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6161 mips/t-mips64 and t-softfp.
6162 (mips*-*-linux*): Don't add mips/t-tpbit.
6163 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6164 (DPBIT, DPBIT_CFLAGS): Delete.
6165 * config/mips/sfp-machine.h: New file.
6166 * config/mips/t-mips64: Likewise.
6167 * config/mips/t-softfp-tf: Likewise.
6168 * config/mips/t-tpbit: Delete.
6169
f32b0061
MS
61702014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6171
6172 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6173 as long long.
6174
a5420aa4
WL
61752014-01-25 Walter Lee <walt@tilera.com>
6176
6177 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6178 config.h or system.h.
6179 (bool) Define.
6180
24534912
WL
61812014-01-25 Walter Lee <walt@tilera.com>
6182
6183 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6184 (post_atomic_barrier): Ditto.
6185 (__fetch_and_do): New macro.
6186 (__atomic_fetch_and_do): Use __fetch_and_do.
6187 (__sync_fetch_and_do): New macro.
6188 (__sync_fetch_and_add_4): New function.
6189 (__sync_fetch_and_sub_4): New function.
6190 (__sync_fetch_and_or_4): New function.
6191 (__sync_fetch_and_and_4): New function.
6192 (__sync_fetch_and_xor_4): New function.
6193 (__sync_fetch_and_nand_4): New function.
6194 (__sync_fetch_and_add_8): New function.
6195 (__sync_fetch_and_sub_8): New function.
6196 (__sync_fetch_and_or_8): New function.
6197 (__sync_fetch_and_and_8): New function.
6198 (__sync_fetch_and_xor_8): New function.
6199 (__sync_fetch_and_nand_8): New function.
6200 (__do_and_fetch): New macro.
6201 (__atomic_do_and_fetch): Use __do_and_fetch.
6202 (__sync_do_and_fetch): New macro.
6203 (__sync_add_and_fetch_4): New function.
6204 (__sync_sub_and_fetch_4): New function.
6205 (__sync_or_and_fetch_4): New function.
6206 (__sync_and_and_fetch_4): New function.
6207 (__sync_xor_and_fetch_4): New function.
6208 (__sync_nand_and_fetch_4): New function.
6209 (__sync_add_and_fetch_8): New function.
6210 (__sync_sub_and_fetch_8): New function.
6211 (__sync_or_and_fetch_8): New function.
6212 (__sync_and_and_fetch_8): New function.
6213 (__sync_xor_and_fetch_8): New function.
6214 (__sync_nand_and_fetch_8): New function.
6215 (__sync_exchange_methods): New macro.
6216 (__sync_val_compare_and_swap_4): New function.
6217 (__sync_bool_compare_and_swap_4): New function.
6218 (__sync_lock_test_and_test_4): New function.
6219 (__sync_val_compare_and_swap_8): New function.
6220 (__sync_bool_compare_and_swap_8): New function.
6221 (__sync_lock_test_and_test_8): New function.
6222 (__subword_cmpxchg_body): New macro.
6223 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6224 (__atomic_compare_exchange_2): Ditto.
6225 (__sync_subword_cmpxchg): New macro.
6226 (__sync_val_compare_and_swap_1): New function.
6227 (__sync_bool_compare_and_swap_1): New function.
6228 (__sync_val_compare_and_swap_2): New function.
6229 (__sync_bool_compare_and_swap_2): New function.
6230 (__atomic_subword): Rename to ...
6231 (__subword): ... New name.
6232 (__atomic_subword_fetch): Use __subword.
6233 (__sync_subword_fetch): New macro.
6234 (__sync_fetch_and_add_1): New function.
6235 (__sync_fetch_and_sub_1): New function.
6236 (__sync_fetch_and_or_1): New function.
6237 (__sync_fetch_and_and_1): New function.
6238 (__sync_fetch_and_xor_1): New function.
6239 (__sync_fetch_and_nand_1): New function.
6240 (__sync_fetch_and_add_2): New function.
6241 (__sync_fetch_and_sub_2): New function.
6242 (__sync_fetch_and_or_2): New function.
6243 (__sync_fetch_and_and_2): New function.
6244 (__sync_fetch_and_xor_2): New function.
6245 (__sync_fetch_and_nand_2): New function.
6246 (__sync_add_and_fetch_1): New function.
6247 (__sync_sub_and_fetch_1): New function.
6248 (__sync_or_and_fetch_1): New function.
6249 (__sync_and_and_fetch_1): New function.
6250 (__sync_xor_and_fetch_1): New function.
6251 (__sync_nand_and_fetch_1): New function.
6252 (__sync_add_and_fetch_2): New function.
6253 (__sync_sub_and_fetch_2): New function.
6254 (__sync_or_and_fetch_2): New function.
6255 (__sync_and_and_fetch_2): New function.
6256 (__sync_xor_and_fetch_2): New function.
6257 (__sync_nand_and_fetch_2): New function.
6258 (__atomic_subword_lock): Use __subword.
6259 (__sync_subword_lock): New macro.
6260 (__sync_lock_test_and_set_1): New function.
6261 (__sync_lock_test_and_set_2): New function.
6262
4d6d3bc5
WL
62632014-01-25 Walter Lee <walt@tilera.com>
6264
6265 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6266 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6267 (__atomic_subword): Ditto.
6268
cbd9890e
WL
62692014-01-25 Walter Lee <walt@tilera.com>
6270
6271 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6272 a prefix op argument.
6273 (__atomic_nand_fetch_4): Add prefix op.
6274 (__atomic_nand_fetch_8): Ditto.
6275
7d296953 62762014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
6277
6278 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6279
46dd1242
L
62802014-01-09 Rong Xu <xur@google.com>
6281
6282 * libgcov-driver.c (this_prg): make it local to save
6283 bss space.
6284 (gcov_exit_compute_summary): Ditto.
6285 (gcov_exit_merge_gcda): Ditto.
6286 (gcov_exit_merge_summary): Ditto.
6287 (gcov_exit_dump_gcov): Ditto.
6288
cc86234f 62892014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
6290
6291 * libgcov-driver.c: Use libgcov.h.
6292 (buffer_fn_data): Use xmalloc instead of malloc.
6293 (gcov_exit_merge_gcda): Ditto.
6294 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6295 * libgcov.h: New common header files for libgcov-*.h.
6296 * libgcov-interface.c: Use libgcov.h
6297 * libgcov-merge.c: Ditto.
6298 * libgcov-profiler.c: Ditto.
6299 * Makefile.in: Add dependence to libgcov.h
6300
a02e7bdd
JM
63012014-01-02 Joseph Myers <joseph@codesourcery.com>
6302
6303 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6304 case of small numerator and finite nonzero result.
6305
ac1dca3c
RS
63062014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6307
6308 Update copyright years
6309
f9030485
RS
63102014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6311
6312 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6313 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6314 config/arc/dp-hack.h, config/arc/fp-hack.h,
6315 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6316 config/arc/ieee-754/arc600-dsp/divdf3.S,
6317 config/arc/ieee-754/arc600-dsp/divsf3.S,
6318 config/arc/ieee-754/arc600-dsp/muldf3.S,
6319 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6320 config/arc/ieee-754/arc600-mul64/divdf3.S,
6321 config/arc/ieee-754/arc600-mul64/divsf3.S,
6322 config/arc/ieee-754/arc600-mul64/muldf3.S,
6323 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6324 config/arc/ieee-754/arc600/divsf3.S,
6325 config/arc/ieee-754/arc600/mulsf3.S,
6326 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6327 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6328 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6329 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6330 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6331 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6332 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6333 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6334 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6335 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6336 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6337 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6338 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6339 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6340 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6341 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6342 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6343 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6344 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6345 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6346 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6347 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6348 vtv_start_preinit.c: Use the standard form for the copyright notice.
6349
e430824f
CLT
63502013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6351 Chung-Lin Tang <cltang@codesourcery.com>
6352 Based on patches from Altera Corporation
6353
6354 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6355 * config/nios2/lib2-nios2.h: New file.
6356 * config/nios2/lib2-divmod-hi.c: New file.
6357 * config/nios2/linux-unwind.h: New file.
6358 * config/nios2/lib2-divmod.c: New file.
6359 * config/nios2/linux-atomic.c: New file.
6360 * config/nios2/t-nios2: New file.
6361 * config/nios2/crti.asm: New file.
6362 * config/nios2/t-linux: New file.
6363 * config/nios2/lib2-divtable.c: New file.
6364 * config/nios2/lib2-mul.c: New file.
6365 * config/nios2/tramp.c: New file.
6366 * config/nios2/crtn.asm: New file.
6367
1879e97f
UB
63682013-12-26 Uros Bizjak <ubizjak@gmail.com>
6369
6370 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6371 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6372 from cpuid.h to check vendor signatures.
6373
f4a4bdbb
GG
63742013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6375
c2e7e597 6376 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
6377 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6378 (get_amd_cpu): Likewise.
6379
8d2ae544
L
63802013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6381
6382 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6383 Haswell.
6384
74924838
ASJ
63852013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6386 H.J. Lu <hongjiu.lu@intel.com>
6387
0bb52f25
L
6388 PR target/59422
6389 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
6390 and AMD_JAGUAR.
6391 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6392 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6393 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6394 FEATURE_XOP and FEATURE_FMA.
6395 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6396 AMDFAM15H_BDVER3.
6397 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 6398 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
6399 FEATURE_FMA4 and FEATURE_XOP.
6400
d3c11974
L
64012013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6402
6403 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6404 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6405 (get_intel_cpu): Updated.
6406
064c4ff2
ZC
64072013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6408
6409 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6410
8b02e720
UB
64112013-12-09 Uros Bizjak <ubizjak@gmail.com>
6412
6413 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 6414 instructions when __SSE_MATH__ is defined.
8b02e720 6415
3fa2ccb4
RC
64162013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6417
6418 * config.host (microblaze-*-rtems*): New.
6419
ecd78fc9
KV
64202013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6421
6422 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6423 architectures that do not have hardware divide instruction.
6424 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6425
b21fbbd2
RS
64262013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6427
6428 * longlong.h: Delete (moved to include/).
6429
b03fb8c9
AZ
64302013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6431
6432 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6433 of normal number and qNaN to not raise an inexact exception.
6434
3c716922
UB
64352013-11-28 Uros Bizjak <ubizjak@gmail.com>
6436
6437 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6438
64392013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
6440
6441 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6442 for correct opcodes on BE.
6443
a3458d22
UB
64442013-11-27 Uros Bizjak <ubizjak@gmail.com>
6445
6446 * soft-fp/op-4.h: Update from glibc.
6447
30b8f78b
KV
64482013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6449
6450 * libgcc2.c (__udivmoddi4): Define new implementation when
6451 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6452 divide instructions.
6453
82552a29
OE
64542013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6455
6456 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6457
80e87457
RO
64582013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6459
6460 * config/t-softfp (soft-fp-objects-base): New variable.
6461 (soft-fp-objects): Use it.
6462
44178879
DE
64632013-11-23 David Edelson <dje.gcc@gmail.com>
6464 Andrew Dixie <andrewd@gentrack.com>
6465
6466 PR target/33704
6467 * config/rs6000/aixinitfini.c: New file.
6468 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6469 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6470 symbols.
6471
e5287671
YR
64722013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6473
a3458d22 6474 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 6475
867c8b03
JH
64762013-11-18 Jan Hubicka <jh@suse.cz>
6477
7f369373
JH
6478 * libgcov-driver.c (run_accounted): Make global level static.
6479 (gcov_exit_merge_summary): Silence warning; do not clear
6480 run_accounted here.
6481 (gcov_exit): Clear it here.
6482
1d0b3334
JH
6483 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6484 run_accounted.
6485
867c8b03
JH
6486 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6487 (all_prg, crc32): Remove static vars.
6488 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6489 all_prg.
6490 (gcov_exit_merge_gcda): Add crc32 parameter.
6491 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6492 do not account run if it was already accounted.
6493 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6494 (gcov_exit): Initialize all_prg; update.
6495
66204992
AS
64962013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6497
6498 * configure: Regenerate.
6499
b54214fe
UW
65002013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6501 Alan Modra <amodra@gmail.com>
6502
6503 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6504 (frob_update_context): Use it.
6505
65062013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6507 Alan Modra <amodra@gmail.com>
6508
6509 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6510 (trampoline_initial): Provide ELFv2 variant.
6511 (__trampoline_setup): Likewise.
6512
6513 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6514 check for AIX indirect function call sequence if _CALL_ELF == 2.
6515
65162013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6517 Alan Modra <amodra@gmail.com>
6518
6519 * config/rs6000/linux-unwind.h (get_regs): Do not support
6520 old kernel versions if _CALL_ELF == 2.
6521 (frob_update_context): Do not support PLT stub variants only
6522 generated by old linkers if _CALL_ELF == 2.
6523
13e0981a
UW
65242013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6525 Alan Modra <amodra@gmail.com>
6526
6527 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6528 location of CR save area for 64-bit little-endian systems.
6529
1a80085d
EB
65302013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6531
6532 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6533 in tmake_file.
6534 * config/arm/t-vxworks: Delete.
6535
cabeea52
KT
65362013-11-10 Kai Tietz <ktietz@redhat.com>
6537
6538 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6539 Increment load-count on use of LIBGCC_SONAME DLL.
6540 (hmod_libgcc): New static variable to hold handle of
6541 LIBGCC_SONAME DLL.
6542 (__gcc_deregister_frame): Decrement load-count of
6543 LIBGCC_SONAME DLL.
6544
ac088ba1
BRF
65452013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6546
6547 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6548 availability.
6549 * configure: Regenerate
6550
d59a8fcc
UB
65512013-11-07 Uros Bizjak <ubizjak@gmail.com>
6552
6553 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6554 FP_EX_DENORM. Store result to volatile location after SSE division
6555 to close interrupt window. Remove unneeded fwait after x87
6556 division since interrupt window will be closed by emitted fstp.
9de84e84 6557 Rewrite FP_EX_INEXACT handling.
d59a8fcc 6558
9954c743
JM
65592013-11-06 Joseph Myers <joseph@codesourcery.com>
6560
6561 * soft-fp/README: Update.
6562 * soft-fp/adddf3.c: Update from glibc.
6563 * soft-fp/addsf3.c: Likewise.
6564 * soft-fp/addtf3.c: Likewise.
6565 * soft-fp/divdf3.c: Likewise.
6566 * soft-fp/divsf3.c: Likewise.
6567 * soft-fp/divtf3.c: Likewise.
6568 * soft-fp/double.h: Likewise.
6569 * soft-fp/eqdf2.c: Likewise.
6570 * soft-fp/eqsf2.c: Likewise.
6571 * soft-fp/eqtf2.c: Likewise.
6572 * soft-fp/extenddftf2.c: Likewise.
6573 * soft-fp/extended.h: Likewise.
6574 * soft-fp/extendsfdf2.c: Likewise.
6575 * soft-fp/extendsftf2.c: Likewise.
6576 * soft-fp/extendxftf2.c: Likewise.
6577 * soft-fp/fixdfdi.c: Likewise.
6578 * soft-fp/fixdfsi.c: Likewise.
6579 * soft-fp/fixdfti.c: Likewise.
6580 * soft-fp/fixsfdi.c: Likewise.
6581 * soft-fp/fixsfsi.c: Likewise.
6582 * soft-fp/fixsfti.c: Likewise.
6583 * soft-fp/fixtfdi.c: Likewise.
6584 * soft-fp/fixtfsi.c: Likewise.
6585 * soft-fp/fixtfti.c: Likewise.
6586 * soft-fp/fixunsdfdi.c: Likewise.
6587 * soft-fp/fixunsdfsi.c: Likewise.
6588 * soft-fp/fixunsdfti.c: Likewise.
6589 * soft-fp/fixunssfdi.c: Likewise.
6590 * soft-fp/fixunssfsi.c: Likewise.
6591 * soft-fp/fixunssfti.c: Likewise.
6592 * soft-fp/fixunstfdi.c: Likewise.
6593 * soft-fp/fixunstfsi.c: Likewise.
6594 * soft-fp/fixunstfti.c: Likewise.
6595 * soft-fp/floatdidf.c: Likewise.
6596 * soft-fp/floatdisf.c: Likewise.
6597 * soft-fp/floatditf.c: Likewise.
6598 * soft-fp/floatsidf.c: Likewise.
6599 * soft-fp/floatsisf.c: Likewise.
6600 * soft-fp/floatsitf.c: Likewise.
6601 * soft-fp/floattidf.c: Likewise.
6602 * soft-fp/floattisf.c: Likewise.
6603 * soft-fp/floattitf.c: Likewise.
6604 * soft-fp/floatundidf.c: Likewise.
6605 * soft-fp/floatundisf.c: Likewise.
6606 * soft-fp/floatunditf.c: Likewise.
6607 * soft-fp/floatunsidf.c: Likewise.
6608 * soft-fp/floatunsisf.c: Likewise.
6609 * soft-fp/floatunsitf.c: Likewise.
6610 * soft-fp/floatuntidf.c: Likewise.
6611 * soft-fp/floatuntisf.c: Likewise.
6612 * soft-fp/floatuntitf.c: Likewise.
6613 * soft-fp/gedf2.c: Likewise.
6614 * soft-fp/gesf2.c: Likewise.
6615 * soft-fp/getf2.c: Likewise.
6616 * soft-fp/ledf2.c: Likewise.
6617 * soft-fp/lesf2.c: Likewise.
6618 * soft-fp/letf2.c: Likewise.
6619 * soft-fp/muldf3.c: Likewise.
6620 * soft-fp/mulsf3.c: Likewise.
6621 * soft-fp/multf3.c: Likewise.
6622 * soft-fp/negdf2.c: Likewise.
6623 * soft-fp/negsf2.c: Likewise.
6624 * soft-fp/negtf2.c: Likewise.
6625 * soft-fp/op-1.h: Likewise.
6626 * soft-fp/op-2.h: Likewise.
6627 * soft-fp/op-4.h: Likewise.
6628 * soft-fp/op-8.h: Likewise.
6629 * soft-fp/op-common.h: Likewise.
6630 * soft-fp/quad.h: Likewise.
6631 * soft-fp/single.h: Likewise.
6632 * soft-fp/soft-fp.h: Likewise.
6633 * soft-fp/subdf3.c: Likewise.
6634 * soft-fp/subsf3.c: Likewise.
6635 * soft-fp/subtf3.c: Likewise.
6636 * soft-fp/truncdfsf2.c: Likewise.
6637 * soft-fp/trunctfdf2.c: Likewise.
6638 * soft-fp/trunctfsf2.c: Likewise.
6639 * soft-fp/trunctfxf2.c: Likewise.
6640 * soft-fp/unorddf2.c: Likewise.
6641 * soft-fp/unordsf2.c: Likewise.
6642 * soft-fp/unordtf2.c: Likewise.
6643
02ac9503
UB
66442013-11-05 Uros Bizjak <ubizjak@gmail.com>
6645
6646 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6647 (_FP_MUL_MEAT_D): Ditto.
6648 (_FP_DIV_MEAT_S): Ditto.
6649 (_FP_DIV_MEAT_D): Ditto.
6650 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6651 t-softfp-sfdf and t-softfp to tmake_file.
6652
61221141
UB
66532013-11-03 Uros Bizjak <ubizjak@gmail.com>
6654
6655 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6656 * config/i386/crtprec.c: Ditto.
6657
9304f876
CJW
66582013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6659 Shiva Chen <shiva0217@gmail.com>
6660
6661 * config.host (nds32*-elf*): Add nds32 target.
6662 * config/nds32 : New directory and files.
6663
0e499e75
HPN
66642013-10-16 Hans-Peter Nilsson <hp@axis.com>
6665
6666 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6667 * config.host (cpu_type) <Setting default>: Add entry for
6668 crisv32-*-*.
6669 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6670 <crisv32-*-linux*>: Adjust.
6671 * longlong.h: Wrap the whole CRIS section in a single
6672 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6673 and sub_ddmmss.
6674 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6675 defined.
6676 [__CRIS__] (__umulsidi3): Define.
6677 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6678 * config/cris/sfp-machine.h: New file.
6679 * config/cris/umulsidi3.S: New file.
6680 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6681 * config/cris/arit.c (SIGNMULT): New macro.
6682 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6683 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6684 saving 3 out of originally 33 cycles from the fastest
6685 path, 3 out of 54 from the medium path and one from the longest
6686 path. Improve comments.
6687
16022041
RS
66882013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6689
6690 * sync.c: Remove static aliases and define each function directly
6691 under its real name.
6692
69778659
JDA
66932013-10-02 John David Anglin <danglin@gcc.gnu.org>
6694
6695 * config.host (hppa*64*-*-linux*): Define extra_parts.
6696 (hppa*-*-linux*): Likewise.
6697
2deaf8b0
JR
66982013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6699
6700 * config/arc/crtgend.S: Add 2013 to Copyright years.
6701 * config/arc/gmon/atomic.h: Likewise.
6702 * config/arc/gmon/auxreg.h: Likewise.
6703 * config/arc/gmon/sys/gmon_out.h: Likewise.
6704 * config/arc/gmon/sys/gmon.h: Likewise.
6705 * config/arc/gmon/prof-freq.c: Likewise.
6706 * config/arc/gmon/mcount.c: Likewise.
6707 * config/arc/gmon/prof-freq-stub.S: Likewise.
6708 * config/arc/gmon/gmon.c: Likewise.
6709 * config/arc/gmon/machine-gmon.h: Likewise.
6710 * config/arc/gmon/profil.S: Likewise.
6711 * config/arc/gmon/dcache_linesz.S: Likewise.
6712 * config/arc/crtg.S: Likewise.
6713 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6714 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6715 * config/arc/ieee-754/adddf3.S: Likewise.
6716 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6717 * config/arc/ieee-754/fixsfsi.S: Likewise.
6718 * config/arc/ieee-754/gtsf2.S: Likewise.
6719 * config/arc/ieee-754/floatsisf.S: Likewise.
6720 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6721 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6722 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6723 * config/arc/ieee-754/fixdfsi.S: Likewise.
6724 * config/arc/ieee-754/addsf3.S: Likewise.
6725 * config/arc/ieee-754/gesf2.S: Likewise.
6726 * config/arc/ieee-754/floatsidf.S: Likewise.
6727 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6728 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6729 * config/arc/ieee-754/gtdf2.S: Likewise.
6730 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6731 * config/arc/ieee-754/uneqdf2.S: Likewise.
6732 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6733 * config/arc/ieee-754/uneqsf2.S: Likewise.
6734 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6735 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6736 * config/arc/ieee-754/eqdf2.S: Likewise.
6737 * config/arc/ieee-754/ordsf2.S: Likewise.
6738 * config/arc/ieee-754/divsf3.S: Likewise.
6739 * config/arc/ieee-754/divdf3.S: Likewise.
6740 * config/arc/ieee-754/floatunsidf.S: Likewise.
6741 * config/arc/ieee-754/orddf2.S: Likewise.
6742 * config/arc/ieee-754/eqsf2.S: Likewise.
6743 * config/arc/ieee-754/gedf2.S: Likewise.
6744 * config/arc/crtn.S: Likewise.
6745 * config/arc/crti.S: Likewise.
6746 * config/arc/t-arc700-uClibc: Likewise.
6747 * config/arc/asm.h: Likewise.
6748 * config/arc/libgcc-excl.ver: Likewise.
6749 * config/arc/t-arc-newlib: Likewise.
6750 * config/arc/divtab-arc700.c: Likewise.
6751 * config/arc/initfini.c: Likewise.
6752 * config/arc/fp-hack.h: Likewise.
6753
c8e318b0
JR
67542013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6755 Diego Novillo <dnovillo@google.com>
6756
6757 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
6758 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6759 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6760 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 6761
d38a64b4
JR
67622013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6763 Brendan Kehoe <brendan@zen.org>
6764 Simon Cook <simon.cook@embecosm.com>
6765
6766 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6767 * config/arc: New directory.
6768 * longlong.h [__arc__] (umul_ppmm): Remove.
6769 [__arc__] (__umulsidi3): Define.
6770 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6771 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6772
dff717d2
JC
67732013-09-17 Jacek Caban <jacek@codeweavers.com>
6774
6775 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6776 CreateSemaphoreA.
6777 * config/i386/gthr-win32.h: Likewise.
6778
5c0029de
DD
67792013-09-16 DJ Delorie <dj@redhat.com>
6780
844ad6c6 6781 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
6782 * config/rl78/lib2mul.c: Enable for RL78/G10.
6783 * config/rl78/lib2div.c: Likewise.
6784 * config/rl78/lshrsi3.S: Use vregs.h.
6785 * config/rl78/cmpsi2.S: Likewise.
6786 * config/rl78/trampoline.S: Likewise.
6787 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6788
ceb2fc49
DD
67892013-09-14 DJ Delorie <dj@redhat.com>
6790 Nick Clifton <nickc@redhat.com>
6791
6792 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6793 * config/rl78/vregs.h: New.
6794 * config/rl78/signbit.S: New file. Implements signbit function.
6795 * config/rl78/divmodsi.S: New.
6796 * config/rl78/divmodhi.S: New.
6797 * config/rl78/divmodqi.S: New.
6798 * config/rl78/t-rl78: Build them here...
6799 * config/rl78/lib2div.c: ...but not here.
6800
f6a83b4a
DD
68012013-09-12 DJ Delorie <dj@redhat.com>
6802
6803 * config.host (msp*-*-elf): New.
6804 * config/msp430/: New port.
6805
9107b096
IS
68062013-08-18 Iain Sandoe <iain@codesourcery.com>
6807
6808 PR gcov-profile/58127
6809 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6810 __thread var for emulated TLS.
6811 (__gcov_indirect_call_counters): Likewise.
6812
0f9bde1f 68132013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 6814 Catherine Moore <clm@codesourcery.com>
7d296953 6815 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
6816
6817 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6818 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6819 (CALL_STUB_NO_RET): Likewise.
6820 (CALL_STUB_RET): Likewise.
6821 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6822 __mips16_ret call/return stub symbols.
6823 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6824 to tmake_file.
6825
2dc14aac
MR
68262013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6827
6828 * config.host <mips*-*-linux*>: Remove a stray comment.
6829
748d71f3
JH
68302013-08-10 Jan Hubicka <jh@suse.cz>
6831
6832 Work around binutils PR14342
6833 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6834 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6835 (L_gcov_indirect_call_profiler_v2): New.
6836
2fa3d31b
JH
68372013-08-06 Jan Hubicka <jh@suse.cz>
6838
6839 * libgcov.c (__gcov_indirect_call_callee,
6840 __gcov_indirect_call_counters): New global vars.
6841 (__gcov_indirect_call_profiler): replace by ...
6842 (__gcov_indirect_call_profiler_v2) ... this one.
6843
2077db1b
CT
68442013-08-06 Caroline Tice <cmtice@google.com>
6845
d0595b65 6846 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 6847 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
6848 * configure.ac: Add code to check/set enable_vtable_verify.
6849 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 6850 true.
d0595b65
CT
6851 * vtv_start_preinit.c: New file.
6852 * vtv_end_preinit.c: New file.
6853 * vtv_start.c: New file.
6854 * vtv_end.c: New file.
6855 * configure: Regenerated.
2077db1b 6856
46549c20
MK
68572013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6858
6859 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6860 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6861 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6862 GPL-3.0-with-GCC-exception.
6863
72be589b
MR
68642013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6865
6866 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6867 ISA and up.
6868
902a3faf
AK
68692013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6870
6871 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6872 mapping for FPRs when creating the fallback framestate.
6873
02371798
GJL
68742013-07-19 Georg-Johann Lay <avr@gjlay.de>
6875
6876 PR target/57516
6877 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6878 (__round_s2_const, __round_u2_const)
6879 (__round_s4_const, __round_u4_const, __round_x8):
6880 Saturate result if addition result cannot be represented.
6881
ab0e8379
MK
68822013-07-15 Matthias Klose <doko@ubuntu.com>
6883
6884 * libgcc2.c: Don't include <limits.h>.
6885
7da38058
JJ
68862013-07-09 Janis Johnson <janisjo@codesourcery.com>
6887
6888 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6889
1f6eac90
JJ
68902013-07-06 Jakub Jelinek <jakub@redhat.com>
6891
6892 PR target/29776
6893 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6894
4ea3d774
JJ
68952013-06-28 Jakub Jelinek <jakub@redhat.com>
6896
6897 PR middle-end/36041
6898 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6899 Define.
6900 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6901 instead of table lookups.
6902 (__popcountDI2): Likewise.
6903
9d2cdf25
CJW
69042013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6905
6906 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6907 correctly.
6908
fa1e55b0
JM
69092013-06-21 Joseph Myers <joseph@codesourcery.com>
6910
6911 PR other/53317
6912 * soft-fp/adddf3.c: Update from glibc.
6913 * soft-fp/addsf3.c: Likewise.
6914 * soft-fp/addtf3.c: Likewise.
6915 * soft-fp/divdf3.c: Likewise.
6916 * soft-fp/divsf3.c: Likewise.
6917 * soft-fp/divtf3.c: Likewise.
6918 * soft-fp/double.h: Likewise.
6919 * soft-fp/eqdf2.c: Likewise.
6920 * soft-fp/eqsf2.c: Likewise.
6921 * soft-fp/eqtf2.c: Likewise.
6922 * soft-fp/extenddftf2.c: Likewise.
6923 * soft-fp/extended.h: Likewise.
6924 * soft-fp/extendsfdf2.c: Likewise.
6925 * soft-fp/extendsftf2.c: Likewise.
6926 * soft-fp/fixdfdi.c: Likewise.
6927 * soft-fp/fixdfsi.c: Likewise.
6928 * soft-fp/fixsfdi.c: Likewise.
6929 * soft-fp/fixsfsi.c: Likewise.
6930 * soft-fp/fixtfdi.c: Likewise.
6931 * soft-fp/fixtfsi.c: Likewise.
6932 * soft-fp/fixunsdfdi.c: Likewise.
6933 * soft-fp/fixunsdfsi.c: Likewise.
6934 * soft-fp/fixunssfdi.c: Likewise.
6935 * soft-fp/fixunssfsi.c: Likewise.
6936 * soft-fp/fixunstfdi.c: Likewise.
6937 * soft-fp/fixunstfsi.c: Likewise.
6938 * soft-fp/floatdidf.c: Likewise.
6939 * soft-fp/floatdisf.c: Likewise.
6940 * soft-fp/floatditf.c: Likewise.
6941 * soft-fp/floatsidf.c: Likewise.
6942 * soft-fp/floatsisf.c: Likewise.
6943 * soft-fp/floatsitf.c: Likewise.
6944 * soft-fp/floatundidf.c: Likewise.
6945 * soft-fp/floatundisf.c: Likewise.
6946 * soft-fp/floatunditf.c: Likewise.
6947 * soft-fp/floatunsidf.c: Likewise.
6948 * soft-fp/floatunsisf.c: Likewise.
6949 * soft-fp/floatunsitf.c: Likewise.
6950 * soft-fp/gedf2.c: Likewise.
6951 * soft-fp/gesf2.c: Likewise.
6952 * soft-fp/getf2.c: Likewise.
6953 * soft-fp/ledf2.c: Likewise.
6954 * soft-fp/lesf2.c: Likewise.
6955 * soft-fp/letf2.c: Likewise.
6956 * soft-fp/muldf3.c: Likewise.
6957 * soft-fp/mulsf3.c: Likewise.
6958 * soft-fp/multf3.c: Likewise.
6959 * soft-fp/negdf2.c: Likewise.
6960 * soft-fp/negsf2.c: Likewise.
6961 * soft-fp/negtf2.c: Likewise.
6962 * soft-fp/op-1.h: Likewise.
6963 * soft-fp/op-2.h: Likewise.
6964 * soft-fp/op-4.h: Likewise.
6965 * soft-fp/op-8.h: Likewise.
6966 * soft-fp/op-common.h: Likewise.
6967 * soft-fp/quad.h: Likewise.
6968 * soft-fp/single.h: Likewise.
6969 * soft-fp/soft-fp.h: Likewise.
6970 * soft-fp/subdf3.c: Likewise.
6971 * soft-fp/subsf3.c: Likewise.
6972 * soft-fp/subtf3.c: Likewise.
6973 * soft-fp/truncdfsf2.c: Likewise.
6974 * soft-fp/trunctfdf2.c: Likewise.
6975 * soft-fp/trunctfsf2.c: Likewise.
6976 * soft-fp/unorddf2.c: Likewise.
6977 * soft-fp/unordsf2.c: Likewise.
6978 * soft-fp/unordtf2.c: Likewise.
6979 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6980 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6981 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6982 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6983 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6984 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6985 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6986 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6987 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6988 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6989 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6990 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6991
0de86a92
JU
69922013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6993
6994 * config/mips/lib2funcs.c: New file.
6995 * config/mips/t-mips (LIB2ADD_ST): Add it.
6996
0d008882
OE
69972013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6998
6999 PR target/6526
7000 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7001 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7002
776434d1
WL
70032013-06-08 Walter Lee <walt@tilera.com>
7004
7005 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7006 Replace int64_t with long long. Add __extension__ where
7007 appropriate.
7008 * config/tilepro/atomic.c: Include config.h.
7009
6ab3ebb4
DR
70102013-06-06 Douglas B Rupp <rupp@adacore.com>
7011
7012 * config.host (arm-wrs-vxworks): Configure with other soft float.
7013
107eea2c
JU
70142013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7015
7016 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7017 (mips64r5900el-*-elf*): New configurations.
7018
5cc19c62
AM
70192013-06-04 Alan Modra <amodra@gmail.com>
7020
7021 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7022
0f1d3965
YR
70232013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7024
7025 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7026
0ba045df
EB
70272013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7028
7029 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7030 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7031 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7032
49dcafd4
EB
70332013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7034
7035 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7036 (powerpc-wrs-vxworks): Likewise.
7037
4fcb5d87
EB
70382013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7039
7040 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7041 signal frames as well.
7042 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7043 STACK_BIAS to the CFA offset.
7044
0ec33224
RH
70452013-05-17 Richard Henderson <rth@redhat.com>
7046
7047 PR target/49146
7048 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7049 (execute_cfa_program): Use it when storing to fs->regs.
7050
492a8029
KT
70512013-05-08 Kai Tietz <ktietz@redhat.com>
7052
7053 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7054 (__deregister_frame_info): Likewise.
7055
701e2f0a
TS
70562013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7057
e5123d08
TS
7058 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7059 NaN's payload.
7060
701e2f0a
TS
7061 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7062
b9a7eb5d
AM
70632013-04-25 Alan Modra <amodra@gmail.com>
7064
7065 * config.host: Match little-endian powerpc-linux.
7066
dfe192f5
YZ
70672013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7068
7069 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7070 as 'unsigned long long' instead of 'unsigned long'.
7071 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7072 'signed long'.
7073
b6b9af2f
JB
70742013-04-10 Julian Brown <julian@codesourcery.com>
7075
7076 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7077 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7078 unsigned char/unsigned short.
7079 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7080
ecabdd00
JDA
70812013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7082
7083 PR other/55274
7084 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7085
34652576
MI
70862013-04-04 Meador Inge <meadori@codesourcery.com>
7087
7088 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7089 computing the location of the link register.
7090 (aeabi_uldivmod): Ditto.
7091
e9fd8c19
KT
70922013-03-27 Kai Tietz <ktietz@redhat.com>
7093
7094 * config.host: Add support for cygwin x64 target.
7095 * configure: Regenerated.
7096
a6406324
WL
70972013-03-26 Walter Lee <walt@tilera.com>
7098
7099 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7100 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7101
55446c7e
KT
71022013-03-25 Kai Tietz <ktietz@redhat.com>
7103
7104 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7105
d2ae19d9
RM
71062013-03-20 Robert Mason <rbmj@verizon.net>
7107
7108 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7109 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7110 (__gthread_leave_tsd_dtor_context): Add prototypes.
7111 (tls_delete_hook): Update.
7112
22c4c869
CM
71132013-03-20 Catherine Moore <clm@codesourcery.com>
7114 Joseph Myers <joseph@codesourcery.com>
7115 Chao-ying Fu <fu@mips.com>
7116
7117 * config/mips/mips16.S: Don't build for microMIPS.
7118 * config/mips/linux-unwind.h: Handle microMIPS frame.
7119 * config/mips/crtn.S (fini, init): New labels.
7120
fbd28bc3
JJ
71212013-03-14 Jakub Jelinek <jakub@redhat.com>
7122
7123 PR tree-optimization/53265
7124 * unwind-dw2.c (execute_cfa_program): Avoid
7125 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7126 on targets with DWARF_FRAME_REGISTERS < 32.
7127
decc676e
OE
71282013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7129
7130 PR target/49880
7131 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7132 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7133
84ea618a
ST
71342013-03-07 Sriraman Tallam <tmsriram@google.com>
7135
7136 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7137 sandybridge processors.
7138
8f6d1c86
OE
71392013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7140
7141 PR target/56529
7142 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7143 inclusion list.
7144
ecdbd01a 71452013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
7146
7147 * config/microblaze/crti.S: Setup stack protection at entry
7148
0b4ce21b
GJL
71492013-03-04 Georg-Johann Lay <avr@gjlay.de>
7150
7151 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7152 (__rotldi3): Shift bytewise if applicable.
7153
b7c3f1ca
JG
71542013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7155
7156 * config/aarch64/sync-cache.c
7157 (__aarch64_sync_cache_range): Silence warnings.
7158
6d65e8f1
CM
71592013-02-25 Catherine Moore <clm@codesourcery.com>
7160
7161 Revert:
7162 2013-02-24 Catherine Moore <clm@codesourcery.com>
7163 Joseph Myers <joseph@codesourcery.com>
7164 Chao-ying Fu <fu@mips.com>
7165
7166 * config/mips/mips16.S: Don't build for microMIPS.
7167 * config/mips/linux-unwind.h: Handle microMIPS frame.
7168 * config/mips/crtn.S (fini, init): New labels.
7169
6941b508
CM
71702013-02-24 Catherine Moore <clm@codesourcery.com>
7171 Joseph Myers <joseph@codesourcery.com>
7172 Chao-ying Fu <fu@mips.com>
7173
7174 * config/mips/mips16.S: Don't build for microMIPS.
7175 * config/mips/linux-unwind.h: Handle microMIPS frame.
7176 * config/mips/crtn.S (fini, init): New labels.
7177
7c422dbb 71782012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 7179 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
7180 as dividend.
7181
110207ad
AM
71822013-02-16 Alan Modra <amodra@gmail.com>
7183
7184 PR target/55431
7185 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7186 (ppc_fallback_frame_state): Always set up save locations for fp
7187 and altivec. Don't bother with non-callee-saved regs, r0-r13
7188 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7189
e68a4ef6
GJL
71902013-02-12 Georg-Johann Lay <avr@gjlay.de>
7191
7192 PR target/54222
7193 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7194 _ssmulHA, _ssmulSA.
7195 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7196 _ssmulha3, _usmulusa3, _ssmulsa3.
7197 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7198 (__muldi3): XCALL __muldi3_6 instead of rcall.
7199 (__umulsidi3, __mulsidi3): New functions.
7200 (do_prologue_saves, do_epilogue_restores): New .macros.
7201 (__divdi3_moddi3): Use them.
7202 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7203 (__usmulusa3, __ssmulsa3): New functions.
7204
6c59ffd1
IS
72052013-02-11 Iain Sandoe <iain@codesourcery.com>
7206 Jack Howarth <howarth@bromo.med.uc.edu>
7207 Patrick Marlier <patrick.marlier@gmail.com>
7208
7209 PR libitm/55693
7210 * config/darwin-crt-tm.c: Remove dummy functions hack.
7211
85d768f3
GJL
72122013-02-08 Georg-Johann Lay <avr@gjlay.de>
7213
7214 PR target/54222
7215 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7216 * config/avr/lib2-object.mk: New iterator to build objects from it.
7217 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7218 lib2funcs.c.
7219 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7220 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7221 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7222 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7223 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7224 * config/avr/lib1funcs-fixed.S: Implement them.
7225
5d5bf775
RS
72262013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7227
7228 Update copyright years.
7229
99113dff
DE
72302013-02-01 David Edelsohn <dje.gcc@gmail.com>
7231
7232 PR target/54601
7233 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7234 Add crtcxa to extra_parts.
7235 * config/rs6000/exit.h: New file.
7236 * config/rs6000/cxa_atexit.c: New file.
7237 * config/rs6000/cxa_finalize.c: New file.
7238 * config/rs6000/crtcxa.c: New file.
7239 * config/rs6000/t-aix-cxa: New file.
7240 * config/rs6000/libgcc-aix-cxa.ver: New file.
7241
dbdbd982
NC
72422013-01-31 Nick Clifton <nickc@redhat.com>
7243
7244 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7245 variant.
7246
5893f158
GJL
72472013-01-29 Georg-Johann Lay <avr@gjlay.de>
7248
7249 PR target/54222
7250 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7251 _mulQQ, _mulHQ, _mulHA, _mulSA,
7252 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7253 _divQQ, _divHQ, _divHA, _divSA,
7254 _divUQQ, _divUHQ, _divUHA, _divUSA.
7255
ecdbd01a 72562013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 7257
dbdbd982 7258 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
7259 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7260 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7261 to exclude functions from being built with libgcc.c and use
7262 the microblaze assembly.
7263
ecdbd01a 72642013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
7265
7266 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7267 extra_parts.
7268
922c57d1
YZ
72692013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7270
7271 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7272 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7273 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7274 alignment operation.
7275
e0f8b6a0
SN
72762013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7277
7278 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7279 loop start address for cache clearing.
7280
00892272
GJL
72812013-01-14 Georg-Johann Lay <avr@gjlay.de>
7282
7283 * config/avr/lib1funcs.S: Remove trailing blanks.
7284 * config/avr/lib1funcs-fixed.S: Ditto.
7285
e59ec5fd
GJL
72862013-01-14 Georg-Johann Lay <avr@gjlay.de>
7287
7288 * config/avr/avr-lib.h: Add GPL copyright notice.
7289
3ffc1958
GJL
72902013-01-14 Georg-Johann Lay <avr@gjlay.de>
7291
7292 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7293 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7294 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7295 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7296
25c210f9
MK
72972013-01-07 Mark Kettenis <kettenis@openbsd.org>
7298
7299 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7300 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 7301
db59befb
NC
73022013-01-04 Nick Clifton <nickc@redhat.com>
7303
7304 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7305 the CALLT instruction is supported.
7306
5aa12dbf
JW
73072012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7308
7309 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7310 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7311
65f14117
JT
73122012-12-13 John Tytgat <John@bass-software.com>
7313
7314 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7315 is 25.
7316
ee3ae4f7
JJ
73172012-12-12 Jakub Jelinek <jakub@redhat.com>
7318
7319 PR libgcc/55451
7320 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7321 undefined signed overflows.
7322
2fcfba3d
UB
73232012-12-09 Uros Bizjak <ubizjak@gmail.com>
7324
7325 PR target/55344
7326 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7327
4f2b3dc2
UB
73282012-12-06 Uros Bizjak <ubizjak@gmail.com>
7329
7330 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7331 (FP_TRAPPING_EXCEPTIONS): Define.
7332 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7333 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7334
066161a2
RH
73352012-12-04 Richard Henderson <rth@redhat.com>
7336
7337 PR bootstrap/55571
7338 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7339
7d296953 73402012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 7341
4f2b3dc2 7342 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
7343 (FP_EX_SHIFT): Define.
7344 (FP_TRAPPING_EXCEPTIONS): Define.
7345
7d296953 73462012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
7347
7348 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7349 (FP_ROUNDMODE): Use FP_RND_MASK.
7350 * config/aarch64/sfp-exceptions.c: New.
7351 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7352 Use __sfp_handle_exceptions.
7353
5005fe22
RE
73542012-12-04 Richard Earnshaw <rearnsha@arm.com>
7355
7356 * config.host: (arm*-*-freebsd*): Remove.
7357 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7358 (arm*-*-elf*): Remove.
7359 (arm*-*-wince-pe*): Remove.
7360 * arm/unwind-arm.c (struct fpa_reg): Delete.
7361 (struct fpa_regs): Delete.
7362 (phase1_vrs): Remove fpa element.
7363 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7364 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7365 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7366 * ieee754-sf.S (floatundisf): Remove FPA support.
7367 (floatdisf): Likewise.
7368 * ieee75f-df.S (floatundidf): Likewise.
7369 (floatdidf): Likewise.
7370
e5a81c8e
KT
73712012-11-29 Kai Tietz <ktietz@redhat.com>
7372
7373 PR target/55445
7374 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7375 * unwind-generic.h: Likewise.
7376 * unwind-seh.c: Likewise.
7377
f4919e4a
RH
73782012-11-28 Richard Henderson <rth@redhat.com>
7379
7380 PR libgcc/48076
7381 * emutls.c (__emutls_get_address): Avoid race condition between
7382 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 7383
e13d9d5a
GJL
73842012-11-22 Georg-Johann Lay <avr@gjlay.de>
7385
7386 Adjust decimal point of signed accum mode to GCC default.
7387
7388 PR target/54222
7389 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7390 _divqq_helper.
7391 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7392 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7393 (__mulha3, __mulsa3)
7394 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
7395 decimal point of signed accum types.
7396
e13d9d5a
GJL
7397 (__mulusa3_round): New function.
7398 (__mulusa3): Use it.
7399 (__divqq_helper): New function.
7400 (__udivuqq3): Use it.
7401
1b845c6e
JJ
74022012-11-20 Jakub Jelinek <jakub@redhat.com>
7403
7404 PR bootstrap/55370
7405 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7406
822a258a
TJ
74072012-11-18 Teresa Johnson <tejohnson@google.com>
7408
7409 PR bootstrap/55051
7410 * libgcov.c (gcov_exit): Remove merged program summary
7411 comparison unless !GCOV_LOCKED.
7412
7d296953 74132012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
7414
7415 * soft-fp: Updated from glibc upstream.
7416
e808687a
ILT
74172012-11-06 Ian Lance Taylor <iant@google.com>
7418
7419 * generic-morestack.c (__generic_morestack): Align the returned
7420 stack pointer to a 32 byte boundary.
7421 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7422 increment the return address until we have decided that we don't
7423 have a varargs function.
7424 (__morestack) [32-bit]: Align stack correctly when calling C
7425 functions.
7426 (__morestack) [64-bit]: Likewise.
7427
460277e0
TS
74282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7429
7430 * configure: Regenerate.
7431
73edb277
UB
74322012-11-02 Uros Bizjak <ubizjak@gmail.com>
7433
7434 PR target/55175
7435 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7436 * config/i386/sfp-machine.h: Guard exception handling
7437 code with _SOFT_FLOAT.
7438 * config/i386/32/sfp-machine.h: Guard rounding handling
7439 code with _SOFT_FLOAT.
7440 * config/i386/64/sfp-machine.h: Ditto.
7441
c1d4fa04
JS
74422012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7443
7444 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7445 as extra_parts.
7446
eff6ca85
UB
74472012-10-26 Uros Bizjak <ubizjak@gmail.com>
7448
7449 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7450 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7451 when appropriate. Correct structure element types.
7452 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7453 -minline-all-stringops from compile flags.
7454
7d296953 74552012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
7456
7457 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7458
7d296953 74592012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 7460
eff6ca85 7461 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 7462
6f288860
SH
74632012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7464
7465 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7466 tmake_file.
7467
1e3d5096
IB
74682012-10-23 Ian Bolton <ian.bolton@arm.com>
7469 Jim MacArthur <jim.macarthur@arm.com>
7470 Marcus Shawcroft <marcus.shawcroft@arm.com>
7471 Nigel Stephens <nigel.stephens@arm.com>
7472 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7473 Richard Earnshaw <rearnsha@arm.com>
7474 Sofiane Naci <sofiane.naci@arm.com>
7475 Stephen Thomas <stephen.thomas@arm.com>
7476 Tejas Belagod <tejas.belagod@arm.com>
7477 Yufeng Zhang <yufeng.zhang@arm.com>
7478
7479 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7480 * config/aarch64/crti.S: New file.
7481 * config/aarch64/crtn.S: New file.
7482 * config/aarch64/linux-unwind.h: New file.
7483 * config/aarch64/sfp-machine.h: New file.
7484 * config/aarch64/sync-cache.c: New file.
7485 * config/aarch64/t-aarch64: New file.
7486 * config/aarch64/t-softfp: New file.
7487
8a740f07
HPN
74882012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7489
7490 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7491 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7492 no-longer-needed LDBU insns.
7493
7d296953 74942012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
7495
7496 * config.host
7497 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7498 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7499
595fefee
MGD
75002012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7501
7502 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7503
9945a876
MK
75042012-10-15 Matthias Klose <doko@ubuntu.com>
7505
7506 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7507
1183dc2c
PC
75082012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7509
7510 * configure: Regenerate.
7511 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7512
945a9c1f
UB
75132012-10-10 Uros Bizjak <ubizjak@gmail.com>
7514
7515 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7516 instructions for 64bit targets only.
7517
fb8bf47a
UB
75182012-10-10 Uros Bizjak <ubizjak@gmail.com>
7519
7520 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7521 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7522 * config/i386/32/sfp-machine.h: ... here.
7523 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7524 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7525 New defines.
7526
acb72498
MK
75272012-10-07 Matthias Klose <doko@ubuntu.com>
7528
7529 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7530 as unused.
7531 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7532
8eaee0f0
MK
75332012-10-06 Mark Kettenis <kettenis@openbsd.org>
7534
7535 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7536 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7537 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7538 (ElfW): Likewise.
7539
5e3e4fe8
JW
75402012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7541
7542 PR other/53889
7543 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7544 Fix parameter names.
7545
86086376
OE
75462012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7547
7548 PR target/33135
7549 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7550 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7551 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7552
9597375a
OE
75532012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7554
7555 PR target/50457
7556 * config/sh/linux-atomic.S: Delete.
7557 * config/sh/linux-atomic.c: New.
7558 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7559 linux-atomic.c. Add cflags to disable warnings.
7560
1504e3e1
JW
75612012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7562
7563 PR other/53889
7564 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7565 function.
7566 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7567 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7568 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7569 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
7570 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7571 Likewise.
1504e3e1
JW
7572 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7573 Likewise.
7574 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7575 Likewise.
7576 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7577 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7578
17f293b0
MK
75792012-09-19 Mark Kettenis <kettenis@openbsd.org>
7580
9597375a
OE
7581 * config.host (hppa-*-openbsd*): New target.
7582 * config/pa/t-openbsd: New file.
17f293b0 7583
51526856
GJL
75842012-09-15 Georg-Johann Lay <avr@gjlay.de>
7585
7586 PR target/54222
7587 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7588 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7589 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7590 (__divsa3): Use __negsi2 to negate r_quoL.
7591 * config/avr/lib1funcs.S (FALIAS): New macro.
7592 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7593 (__negsi2): ...this new function.
7594 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7595 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7596 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7597 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7598 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7599 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7600
aadb5b43
OE
76012012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7602
7603 PR target/54089
7604 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7605 (lshrsi3): Reimplement as lshrsi3_r0.
7606
d5d66749
AS
76072012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7608
7609 PR target/46191
7610 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7611 of libgcc.a.
7612
c6c36e73
TJ
76132012-09-07 Teresa Johnson <tejohnson@google.com>
7614
9597375a 7615 PR gcov-profile/54487
c6c36e73 7616 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 7617 differences.
c6c36e73 7618
b588ae30
GJL
76192012-09-05 Georg-Johann Lay <avr@gjlay.de>
7620
7621 PR target/54461
7622 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7623 not configured --with-avrlibc=no.
7624 * config/avr/t-avrlibc: New file.
7625 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7626 (DPBIT_FUNCS): Ditto.
7627 (TPBIT_FUNCS): Ditto.
7628
abd16fb1
TJ
76292012-09-04 Teresa Johnson <tejohnson@google.com>
7630
7631 * libgcov.c (struct gcov_summary_buffer): New structure.
7632 (gcov_histogram_insert): New function.
7633 (gcov_compute_histogram): Ditto.
7634 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7635 histograms during summary merging.
7636
613061fd
MK
76372012-09-01 Mark Kettenis <kettenis@openbsd.org>
7638
7639 * config.host (x86_64-*-openbsd*): New target.
73edb277 7640
867a8345
CLT
76412012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7642
7643 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7644 attribute.
7645
4aeaaca3
GJL
76462012-08-24 Georg-Johann Lay <avr@gjlay.de>
7647
7648 PR target/54222
7649 * config/avr/t-avr (conv_X): Rename to func_X.
7650
e55e4056
GJL
76512012-08-24 Georg-Johann Lay <avr@gjlay.de>
7652
7653 PR target/54222
7654 * config/avr/lib1funcs-fixed.S: New file.
7655 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7656 after they are used.
7657 (neg2, neg4): New macros.
7658 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7659 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7660 (__umulhisi3): Speed up MUL variant if there is enough flash.
7661 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7662 avr-modes.def.
7663 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7664 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7665 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7666 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7667 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7668 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7669 (LIB2FUNCS_EXCLUDE): Add supported functions.
7670
a147b6d2
GJL
76712012-08-22 Georg-Johann Lay <avr@gjlay.de>
7672
7673 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7674 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7675 libgcc-s-objects.
7676 * fixed-obj.mk: Only expand dependency if $o is not in
7677 LIB2FUNCS_EXCLUDE.
7678
c637141a
L
76792012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7680
7681 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7682
130e00bd
JM
76832012-08-22 Joseph Myers <joseph@codesourcery.com>
7684
7685 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7686 depend on --enable-shared.
7687 ($(lib1asmfuncs-o)): Use %.vis files independent of
7688 --enable-shared.
7689 * static-object.mk ($(base)$(objext), $(base).vis)
7690 ($(base)_s$(objext)): Use same rules for visibility handling as in
7691 shared-object.mk.
7692
4b1b3788
ILT
76932012-08-21 Ian Lance Taylor <iant@google.com>
7694
7695 * config/i386/morestack.S (__morestack_non_split): Increase amount
7696 of space allocated for non-split code stack.
7697
d2468141
JM
76982012-08-19 Joseph Myers <joseph@codesourcery.com>
7699
7700 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7701 even if inhibit_libc.
7702
a508e1a8
JB
77032012-08-17 Julian Brown <julian@codesourcery.com>
7704
7705 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7706 -fexceptions -fnon-call-exceptions if not defined.
7707 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7708 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7709
5615a07d
AS
77102012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7711
7712 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7713 type.
7714
138f5acd
DE
77152012-08-16 David Edelsohn <dje.gcc@gmail.com>
7716
7717 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7718 rs6000/t-slibgcc-aix.
7719
18efc0dd
SB
77202012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7721
7722 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7723
6b39bc38
SB
77242012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7725
7726 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7727
cd25dea0
L
77282012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7729
7730 PR driver/54171
7731 * Makefile.in (version): Replace top_srcdir with srcdir.
7732
a3dda30b
JY
77332012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7734
7735 * Makefile.in (version): set to BASE-VER file from gcc directory.
7736
d04aacfc
NC
77372012-08-01 Nick Clifton <nickc@redhat.com>
7738
7739 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7740 Implements __clrsb for an HImode argument.
7741
0d13c974
NC
77422012-07-31 Nick Clifton <nickc@redhat.com>
7743
7744 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7745 Implements __clrsb for an HImode argument.
7746 * config/stormy16/clrsbhi2.c: New file:
7747 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7748
efbb59b2
SB
77492012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7750
7751 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7752
bf1431e3
TG
77532012-07-19 Tristan Gingold <gingold@adacore.com>
7754 Richard Henderson <rth@redhat.com>
7755
7756 * unwind-seh.c: New file.
7757 * unwind-generic.h: Include windows.h for SEH.
7758 (_Unwind_Exception): Use 6 private fields for SEH.
7759 (_GCC_specific_handler): Declare.
7760 * unwind-c.c (__gcc_personality_seh0): New function.
7761 Adjust for SEH.
7762 * config/i386/libgcc-cygming.ver: New file.
7763 * config/i386/t-seh-eh: New file.
7764 * config.host (x86_64-*-mingw*): Default to seh.
7765
659140c8
SB
77662012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7767
7768 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7769
a20d08fd
UB
77702012-06-17 Uros Bizjak <ubizjak@gmail.com>
7771
7772 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7773 __builtin_expect when checking for exceptions.
7774 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7775
79261115
UB
77762012-06-13 Uros Bizjak <ubizjak@gmail.com>
7777
4a172156
UB
7778 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7779 function declaration.
7780 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7781 (FP_RND_MASK): New.
7782 * config/ia64/sfp-exceptions.c: New.
7783 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 7784
bb5c97d4
UB
77852012-06-13 Uros Bizjak <ubizjak@gmail.com>
7786
7787 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7788 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7789 * config/i386/64/sfp-machine: ... (delete here) ...
7790 * config/i386/sfp-machine.h: ... to here.
7791 (FP_EX_MASK): Remove.
7792 (FP_RND_MASK): New.
7793 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7794
91fe5efb
ST
77952012-06-11 Sriraman Tallam <tmsriram@google.com>
7796
7797 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7798 * config/i386/libgcc-sol2.ver: Ditto.
7799 * config/i386/libgcc-glibc.ver: Ditto.
7800
67a218c5
RM
78012012-06-11 Roland McGrath <mcgrathr@google.com>
7802
7803 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7804 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7805 pthread_cancel.
7806
492fbea1
UB
78072012-06-09 Uros Bizjak <ubizjak@gmail.com>
7808
7809 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7810 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7811 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7812 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7813 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7814 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7815 * config/i386/64/sfp-machine: ... (delete here) ...
7816 * config/i386/sfp-machine.h: ... to here.
7817 (FP_EX_MASK): New.
7818 (__sfp_handle_exceptions): New function declaration.
7819 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7820 * config/i386/sfp-exceptions.c: New.
7821 * config/i386/t-softfp: New.
7822 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7823 i386/t-softfp to tmake_file.
7824
7b4cf266
DM
78252012-06-03 David S. Miller <davem@davemloft.net>
7826
7827 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7828 change.
7829
0de0d5c6
DM
78302012-05-31 David S. Miller <davem@davemloft.net>
7831
7832 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7833 multiply and divide instructions on 32-bit when V9.
7834 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7835
d8c9d391
JM
78362012-05-29 Joseph Myers <joseph@codesourcery.com>
7837
7838 * config/arm/ieee754-df.S: Fix typos.
7839 * config/arm/ieee754-sf.S: Fix typos.
7840 * config/c6x/libunwind.S: Fix typos.
7841 * config/epiphany/udivsi3-float.c: Fix typos.
7842 * config/microblaze/muldi3_hard.S: Fix typos.
7843 * config/picochip/adddi3.S: Fix typos.
7844 * config/picochip/ashlsi3.S: Fix typos.
7845 * config/picochip/ashrsi3.S: Fix typos.
7846 * config/picochip/clzsi2.S: Fix typos.
7847 * config/picochip/cmpsi2.S: Fix typos.
7848 * config/picochip/divmod15.S: Fix typos.
7849 * config/picochip/divmodhi4.S: Fix typos.
7850 * config/picochip/divmodsi4.S: Fix typos.
7851 * config/picochip/longjmp.S: Fix typos.
7852 * config/picochip/lshrsi3.S: Fix typos.
7853 * config/picochip/parityhi2.S: Fix typos.
7854 * config/picochip/popcounthi2.S: Fix typos.
7855 * config/picochip/setjmp.S: Fix typos.
7856 * config/picochip/subdi3.S: Fix typos.
7857 * config/picochip/ucmpsi2.S: Fix typos.
7858 * config/picochip/udivmodhi4.S: Fix typos.
7859 * config/picochip/udivmodsi4.S: Fix typos.
7860 * config/spu/divv2df3.c: Fix typos.
7861 * config/spu/mfc_multi_tag_release.c: Fix typos.
7862 * config/spu/mfc_tag_release.c: Fix typos.
7863 * configure.ac: Fix typos.
7864 * configure: Regenerate.
7865
31a18a7e
ILT
78662012-05-25 Ian Lance Taylor <iant@google.com>
7867
7868 * config/i386/morestack.S (__morestack_non_split): Check whether
7869 caller is varargs and needs %bp to hold the stack frame on return.
7870
c5768510
OH
78712012-05-25 Olivier Hainque <hainque@adacore.com>
7872
7873 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7874 sequence in the non pic case on VxWorks.
7875
7c7c339b
OH
78762012-05-24 Olivier Hainque <hainque@adacore.com>
7877
73fb7630 7878 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
7879 "install-leaf" to "install".
7880
fdc1b7d3
OH
78812012-05-24 Olivier Hainque <hainque@adacore.com>
7882
7883 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7884 Use a separate command for stamp removals.
7885
07ba94b9
AP
78862012-05-21 Andrew Pinski <apinski@cavium.com>
7887
7888 PR bootstrap/53183
7889 * configure.ac: Define the default includes to being none.
7890 * configure: Regenerate.
7891
4677d2eb
OH
78922012-05-16 Olivier Hainque <hainque@adacore.com>
7893
7894 * Makefile.in (install-unwind_h): Rename into ...
7895 (install-unwind_h-forbuild): New target.
7896 (all): Use it instead of the former install-unwind_h.
7897 (install-unwind_h): Reinstate, copy to user install destination
7898 for include files, not to the internal gcc object directory one.
7899 (install-leaf): Depend on it.
7900
7d67c380
OH
79012012-05-15 Olivier Hainque <hainque@adacore.com>
7902
7903 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7904 register numbers. LR_REGNO replaces R_LR.
7905 (ucontext_for): New, helper for ...
7906 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7907 and 5.3 of ...
7908 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7909
aca06c90
RO
79102012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7911
7912 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7913 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7914 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7915 i386/t-cpuinfo ...
7916 (i[34567]86-*-*, x86_64-*-*): ... here.
7917
7918 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7919 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7920
7921 * config/i386/i386-cpuinfo.c: Rename to ...
7922 * config/i386/cpuinfo.c: ... this.
7923 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7924
7925 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7926 (libgcc_cv_init_priority): New test.
7927 * configure: Regenerate.
7928 * config.in: New file.
7929 * Makefile.in (clean): Rename config.h to auto-target.h.
7930 (config.h): Likewise.
7931 (stamp-h): Likewise.
7932
7933 * config/i386/cpuinfo.c (auto-target.h): Include.
7934 (CONSTRUCTOR_PRIORITY): Define.
7935 (__cpu_indicator_init): Use it.
7936
0d03ac1b
L
79372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7938
7939 * longlong.h: Use a URL instead of an FSF postal address.
7940 Replace spaces with tab.
7941
4a172156 79422012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
7943
7944 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7945 (__gcov_dump): Ditto.
7946 (gcov_dump_complete): New global variable.
7947 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7948 (__gcov_flush): Outline functionality now in gcov_clear.
7949 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7950
e4bb767e
AJ
79512012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7952
31a18a7e
ILT
7953 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7954 (mips*-*-linux*): Include mips/t-tpbit when long double is
7955 16 bytes long.
e4bb767e 7956
5ddecff9
ST
79572012-04-25 Sriraman Tallam <tmsriram@google.com>
7958
7959 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7960 (get_available_features): New argument. Check for AVX2.
7961 (__cpu_indicator_init): Modify call to get_available_features.
7962
b427dd7a
AM
79632012-04-25 Alan Modra <amodra@gmail.com>
7964
7965 * config/rs6000/crtsavevr.S: New file.
7966 * config/rs6000/crtrestvr.S: New file.
7967 * config/rs6000/t-savresfgpr: Build the above.
7968 * config/rs6000/t-netbsd: Likewise.
7969
ad491329
ST
79702012-04-24 Sriraman Tallam <tmsriram@google.com>
7971
7972 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7973
792317cc
ST
79742012-04-24 Sriraman Tallam <tmsriram@google.com>
7975
7976 * libgcc/config/i386/i386-cpuinfo.c: New file.
7977 * libgcc/config/i386/t-cpuinfo: New file.
7978 * libgcc/config.host: Include t-cpuinfo.
7979 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7980
e1be98a4
CF
79812012-04-24 Chao-ying Fu <fu@mips.com>
7982
7983 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7984
1bde7dab
TS
79852012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7986
7987 struct siginfo vs. siginfo_t
7988
7989 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7990 siginfo_t instead of struct siginfo.
7991 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7992 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7993 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7994 (ia64_handle_unwabi): Likewise.
7995 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7996 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7997 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7998 (sh_fallback_frame_state): Likewise.
7999 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8000 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8001
24590f66
L
80022012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8003
8004 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8005 system call number.
8006
9a9dcce8
EB
80072012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8008
8009 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8010 if it hasn't been previously saved.
8011
6401aaf5
L
80122012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8015 only for glibc.
8016
7fd6378e
GJL
80172012-03-28 Georg-Johann Lay <avr@gjlay.de>
8018
8019 PR target/52737
8020 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8021 instead of __AVR_HAVE_8BIT_SP__.
8022
9e916de7
TG
80232012-03-26 Tristan Gingold <gingold@adacore.com>
8024
8025 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8026 (unw_table_entry): Use unw_word instead of unsigned long.
8027 (_Unwind_FindTableEntry): Likewise.
8028 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8029 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8030 (_Unwind_FindTableEntry): Likewise.
8031 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8032 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8033 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8034 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8035 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8036 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8037 (uw_init_context_1, uw_install_context): Likewise.
8038 (unw_word): Move to unwind-ia64.h
8039
4b12e93d
TG
80402012-03-26 Tristan Gingold <gingold@adacore.com>
8041
8042 * config/vms/vms-ucrt0.c: Update copyright years.
8043 Add a sanity check.
8044 (___gcc_main_flags): Declare.
8045 (__main): Check flags to remap argv and exit code.
8046 * config.host (*-*-*vms*): Adjust extra_parts.
8047 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8048 (crt0.o): Add.
8049
06ea7371
RE
80502012-03-22 Richard Earnshaw <rearnsha@arm.com>
8051
8052 * arm/lib1funcs.asm (ctzsi2): New function.
8053 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8054 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8055 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8056 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8057 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8058 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8059
d82ad50d
AT
80602012-03-21 Andreas Tobler <andreast@fgznet.ch>
8061
8062 * config.host: Add bits to support powerpc64-*-freebsd*.
8063 * config/rs6000/freebsd-unwind.h: New file.
8064 * config/rs6000/t-freebsd64: New file.
8065
b260a8c0
RG
80662012-03-20 Richard Guenther <rguenther@suse.de>
8067
8068 PR gcov-profile/52627
8069 * libgcov.c (init_mx): Fix mutex name.
8070
86286a8a
TG
80712012-03-16 Tristan Gingold <gingold@adacore.com>
8072
8073 * config/ia64/vms-unwind.h: Remove ulong (and replace
8074 it by unw_reg where used). Define unw_reg with __int64.
8075
7888f266
RO
80762012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8077
8078 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8079 Solaris 8 handling.
8080 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8081 Solaris 8 handling.
8082 (sparc_is_sighandler): Likewise.
8083
f155bc64
L
80842012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8085
8086 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8087 <= saved reg size.
8088
d47657bd
RO
80892012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8090
8091 * config/arm/crtn.S: Fix typo.
8092
5bef73a1
RG
80932012-03-13 Richard Guenther <rguenther@suse.de>
8094
8095 * libgcov.c: Remove stdio.h include and NULL un-define.
8096
9c4271f3
RG
80972012-03-13 Richard Guenther <rguenther@suse.de>
8098
8099 PR target/52569
8100 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8101
c6d10e7c
RG
81022012-03-13 Richard Guenther <rguenther@suse.de>
8103
8104 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8105
074a385f
RG
81062012-03-13 Richard Guenther <rguenther@suse.de>
8107
8108 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8109 and __gthread_mutex_init_function definitions.
8110
c4bc5c25
RO
81112012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8112
8113 * config.host (mips*-*-openbsd*): Remove.
8114
5c30094f
RO
81152012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8116
8117 * config.host: Remove alpha*-dec-osf5.1* handling.
8118 * config/alpha/gthr-posix.c: Remove.
8119 * config/alpha/libgcc-osf5.ver: Remove.
8120 * config/alpha/osf5-unwind.h: Remove.
8121 * config/alpha/t-osf-pthread: Remove.
8122 * config/alpha/t-slibgcc-osf: Remove.
8123 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8124 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8125 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8126 * mkmap-flat.awk: Remove osf_export handling.
8127
33e3e24d
RG
81282012-03-12 Richard Guenther <rguenther@suse.de>
8129
8130 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8131 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8132 (__gthread_mutex_init_function): New function.
8133 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8134
8135 PR gcov/49484
8136 * libgcov.c: Include gthr.h.
8137 (__gcov_flush_mx): New global variable.
8138 (init_mx, init_mx_once): New functions.
8139 (__gcov_flush): Protect self with a mutex.
8140 (__gcov_fork): Re-initialize mutex after forking.
8141 * unwind-dw2-fde.c: Change condition under which to use
8142 __GTHREAD_MUTEX_INIT_FUNCTION.
8143
d8aba32a
TG
81442012-03-12 Tristan Gingold <gingold@adacore.com>
8145
8146 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8147 * config/ia64/t-vms: Likewise.
8148
75ffafdc
MH
81492012-03-11 Michael Hope <michael.hope@linaro.org>
8150
4a172156
UB
8151 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8152 for Thumb-2.
75ffafdc 8153
ef6c2c53
WL
81542012-03-07 Walter Lee <walt@tilera.com>
8155
8156 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8157 "arch_atomic_".
8158 (atomic_xor): Rename and move definition to
8159 config/tilepro/atomic.h.
8160 (atomic_nand): Ditto.
8161 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8162 "arch_atomic_".
8163 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8164 (arch_atomic_nand): Ditto.
8165
4e30d980
GJL
81662012-03-07 Georg-Johann Lay <avr@gjlay.de>
8167
8168 PR target/52507
8169 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8170
61108225
GJL
81712012-03-07 Georg-Johann Lay <avr@gjlay.de>
8172
8173 PR target/52505
8174 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8175 from RAM.
8176
b30e10ab
GJL
81772012-03-07 Georg-Johann Lay <avr@gjlay.de>
8178
8179 PR target/52461
8180 PR target/52508
8181 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8182 if RAMPZ affects reading from RAM.
8183 (__tablejump_elpm__): Ditto.
8184 (.xload): Ditto.
8185 (__movmemx_hi): Ditto.
8186 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8187 (__do_global_dtors): Ditto.
8188 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8189 (__movmemx_hi): Ditto.
8190
8993fde4
RH
81912012-03-05 Richard Henderson <rth@redhat.com>
8192
8193 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8194 [ARM] (count_trailing_zeros): Use the builtin.
8195
b7633ee3
KT
81962012-03-01 Kai Tietz <ktietz@redhat.com>
8197
8198 * soft-fp: Imported from glibc upstream.
8199
fbd3340c
KT
82002012-02-28 Kai Tietz <ktietz@redhat.com>
8201
8202 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8203 for mingw-targets as attribute gcc_struct.
8204
e9e053eb
ILT
82052012-02-28 Ian Lance Taylor <iant@google.com>
8206
8207 * generic-morestack.c (__splitstack_releasecontext): Correct call
8208 to __morestack_release_segments.
8209
d80c632e
ST
82102012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8211
8212 PR target/52390
8213 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8214 for __linux__ when removing signals from __morestack_fullmask.
8215
0253a8b1
GJL
82162012-02-23 Georg-Johann Lay <avr@gjlay.de>
8217
8218 PR target/52261
8219 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8220
e10e461e
UW
82212012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8222
8223 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8224 instead of HAVE_INITFINI_ARRAY.
8225 * config/ia64/crtend.S: Likewise.
8226
0c0c6398
KT
82272012-02-20 Kai Tietz <ktietz@redhat.com>
8228
d7470374
KT
8229 PR libstdc++/52300
8230 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8231
0c0c6398
KT
8232 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8233 to w32-unwind.h header.
8234
78c27266
RS
82352012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8236
8237 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8238 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8239 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8240 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8241
5adeb246
RS
82422012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8243
8244 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8245
672ed313
IS
82462012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8247
8248 PR libitm/52220
8249 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 8250
e948a1fb
IS
82512012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8252 Patrick Marlier <patrick.marlier@gmail.com>
8253
8254 PR libitm/52220
8255 * config/darwin-crt-tm.c: Generate dummy functions.
8256
6017aed3
IS
82572012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8258 Patrick Marlier <patrick.marlier@gmail.com>
8259
8260 PR libitm/52042
8261 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8262 (__doTMRegistrations): Call it.
e9e053eb 8263 (__doTMdeRegistrations): Likewise.
6017aed3 8264
2da8c1ad 82652012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
8266 Anatoly Sokolov <aesok@post.ru>
8267 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
8268
8269 PR target/52261
8270 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8271 (__epilogue_restores__): Ditto.
8272
0f952eb4
EB
82732012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8274
8275 PR target/51921
8276 PR target/52205
8277 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8278 Solaris 11 and slightly reformat.
8279 (sparc_is_sighandler): Likewise.
8280
dd552284
WL
82812012-02-14 Walter Lee <walt@tilera.com>
8282
8283 * config.host: Handle tilegx and tilepro.
8284 * config/tilegx/sfp-machine.h: New file.
8285 * config/tilegx/sfp-machine32.h: New file.
8286 * config/tilegx/sfp-machine64.h: New file.
8287 * config/tilegx/t-crtstuff: New file.
8288 * config/tilegx/t-softfp: New file.
8289 * config/tilegx/t-tilegx: New file.
8290 * config/tilepro/atomic.c: New file.
8291 * config/tilepro/atomic.h: New file.
8292 * config/tilepro/linux-unwind.h: New file.
8293 * config/tilepro/sfp-machine.h: New file.
8294 * config/tilepro/softdivide.c: New file.
8295 * config/tilepro/softmpy.S: New file.
8296 * config/tilepro/t-crtstuff: New file.
8297 * config/tilepro/t-tilepro: New file.
8298
b59cbd50
JW
82992012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8300
8301 PR libstdc++/51296
8302 PR libstdc++/51906
8303 * gthr-posix.h: Allow static initializer macros to be disabled.
8304 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8305
6caf807f
CLT
83062012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8307
8308 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8309 Add t-slibgcc-libgcc to tmake_file.
8310 * config/mips/libgcc-mips16.ver: Revert previous patch.
8311 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8312
7d296953
JJ
83132012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8314 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
8315
8316 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8317 * config/cr16/crti.S: New file.
8318 * config/cr16/crtlibid.S: New file.
8319 * config/cr16/crtn.S: New file.
8320 * config/cr16/lib1funcs.S: New file.
8321 * config/cr16/t-cr16: New file.
8322 * config/cr16/t-crtlibid: New file.
8323 * config/cr16/unwind-dw2.h: New file.
8324 * config/cr16/unwind-cr16.c: New file.
8325 * config/cr16/divmodhi3.c: New file.
8326
8ef03aa7
AM
83272012-01-25 Alan Modra <amodra@gmail.com>
8328
8329 * config/rs6000/t-linux64: Delete. Move..
8330 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8331 * config/rs6000/t-linux: ..and libgcc flags to here.
8332
daecebc8
DR
83332012-01-22 Douglas B Rupp <rupp@gnat.com>
8334
8335 * config.host (i[34567]86-*-interix3*):
8ef03aa7 8336 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
8337 * configure: Regenerate.
8338
ddaf8125
RS
83392012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8340 Richard Sandiford <rdsandiford@googlemail.com>
8341
8342 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8343 * config/mips/mips16.S (__mips16_rdhwr): New function.
8344 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8345
2cd8b32c
NS
83462012-01-11 Nathan Sidwell <nathan@acm.org>
8347
8348 * libgcov.c (__gcov_init): Ignore objects with no functions.
8349
cba300dd
GJL
83502012-01-10 Georg-Johann Lay <avr@gjlay.de>
8351
8352 PR target/49868
8353 Extend __pgmx semantics to linearize memory.
8354 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8355 * config/avr/lib1funcs.S (__xload_1): New function.
8356 (__movmemx_qi, __movmemx_hi): New functions.
8357 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8358 semantics.
9ffaf4bc 8359
3d137660
EB
83602012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8361
8362 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8363 purported sigacthandler address isn't null before dereferencing it.
8364 (sparc_is_sighandler): Likewise.
8365
bf4db96c
EB
83662012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8367
8368 PR ada/41929
8369 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8370 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8371 (sparc_is_sighandler): Likewise.
8372 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8373
1ab3568b
TG
83742012-01-06 Tristan Gingold <gingold@adacore.com>
8375
8376 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8377 compatibility thunks...
8378 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8379 (crtbeginS.o, crtendS.o): ... and these to ...
8380 * config/ia64/t-ia64-elf: ... this new file.
8381 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8382 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8383
925b0ed8
AK
83842012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8385
8386 * configure: Regenerate.
8387 * config/s390/t-crtstuff: Remove -fPIC.
8388
a99ad737
JW
83892012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8390
8391 PR bootstrap/51006
8392 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8393 for NetBSD.
8394
884f56d1
GJL
83952012-01-02 Georg-Johann Lay <avr@gjlay.de>
8396
8397 PR target/51345
8398 * config/avr/lib1funcs.S: Remove FIXME comments.
8399 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8400
8c57e547
GJL
84012012-01-02 Georg-Johann Lay <avr@gjlay.de>
8402
8403 Implement light-weight DImode support.
8404 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8405 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8406 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8407 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8408
04dbc287
NS
84092011-12-30 Nathan Sidwell <nathan@acm.org>
8410
8411 * libgcov.c (gcov_crc32): Remove global var.
8412 (free_fn_data): New function.
8413 (buffer_fn_data): Pass in filename, more robust error recovery.
8414 (crc32_unsigned): New function.
8415 (gcov_exit): More robust detection of new program. More robust
8416 error recovery.
8417 (__gcov_init): Do not update program's crc here.
8418
8e1d97d4
TG
84192011-12-21 Tristan Gingold <gingold@adacore.com>
8420
8421 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8422
9ffaf4bc
ILT
84232011-12-21 Ian Lance Taylor <iant@google.com>
8424
8425 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8426
a0c8d0c1
ILT
84272011-12-20 Ian Lance Taylor <iant@google.com>
8428
8429 * config/i386/morestack.S (__morestack_non_split): If there is
8430 enough stack space already, don't split. Ask for more stack space
8431 than we required.
8432
69048898
SDJ
84332011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8434
8435 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8436 `sys/sdt.h'.
8437 (_Unwind_DebugHook): New function.
8438 (uw_restore_core_regs): New define.
8439 (unwind_phase2): Use uw_restore_core_regs instead of
8440 restore_core_regs.
8441 (unwind_phase2_forced): Likewise.
8442 (__gnu_Unwind_Resume): Likewise.
8443
1bb4b6a3
UB
84442011-12-20 Uros Bizjak <ubizjak@gmail.com>
8445
8446 * config/alpha/linux-unwind.h: Update copyright years.
8447 (MD_FROB_UPDATE_CONTEXT): New define.
8448 (alpha_frob_update_context): New function.
8449
eb028768
RS
84502011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8451
8452 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8453 tmake_file rather replacing it.
8454
6a2045bf
IS
84552011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8456
8457 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 8458 function is not used for PPC64.
6a2045bf
IS
8459 (save_world): Amend comments. Update the VRsave mask to reflect the
8460 saved regs.
8461 (rest_world): Update comments, do not clobber r10, do not use r8.
8462 (eh_rest_world_r10): Amend comments, do not use r8.
8463 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8464 no longer used, move restore of CR and target address to the end of
8465 the routine.
8466
a13780a6
L
84672011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8468
8469 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8470 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8471
d7288dfb
GJL
84722011-12-14 Georg-Johann Lay <avr@gjlay.de>
8473
8474 PR target/49313
8475 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8476 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8477
8d2c862d
EB
84782011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8479
8480 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8481
3447cae6
GJL
84822011-12-09 Georg-Johann Lay <avr@gjlay.de>
8483
8484 PR target/49313
8485 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8486 * config/avr/lib1funcs.S (__muldi3): New function.
8487
806fc6aa
AP
84882011-12-06 Andrew Pinski <apinski@cavium.com>
8489
8490 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8491 size of func_ptr.
8492 (__frame_dummy_init_array_entry): Likewise.
8493
28c5e6b5
GJL
84942011-12-06 Georg-Johann Lay <avr@gjlay.de>
8495
8496 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8497
8498 PR target/51345
8499 PR target/51002
8500 * config/avr/lib1funcs.S (__prologue_saves__,
8501 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8502 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8503
8f90394a
IS
85042011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8505
8506 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8507
06dd33ac
JDA
85082011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8509
8510 PR other/51272
8511 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8512 (_ITM_deregisterTMCloneTable): Likewise.
8513 (__register_frame_info): Fix unused warning.
8514 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8515 pthread_default_stacksize_np): Likewise.
8516 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 8517
85b8555e
DD
85182011-11-29 DJ Delorie <dj@redhat.com>
8519
8520 * config.host (rl78-*-elf): New case.
8521 * config/rl78: New directory for the Renesas RL78.
8522
4d5ae4ea
BS
85232011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8524
8525 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8526 formatting.
8527
f9c55897
RO
85282011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8529
8530 PR other/51022
8531 * config/rs6000/t-savresfgpr: New file.
8532 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8533 $(srcdir)/config/rs6000/eabi.S.
8534 * config/rs6000/t-ppccomm-ldbl: Remove.
8535 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8536 tmake_file.
8537 (powerpc-*-eabispe*): Likewise.
8538 (powerpc-*-eabi*): Likewise.
8539 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8540 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8541 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8542 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8543 tmake_file.
8544 (powerpc-*-eabisim*): Likewise.
8545 (powerpc-*-elf*): Likewise.
8546 (powerpc-*-eabialtivec*): Likewise.
8547 (powerpc-xilinx-eabi*): Likewise.
8548 (powerpc-*-rtems*): Likewise.
8549 (powerpcle-*-elf*): Likewise.
8550 (powerpcle-*-eabisim*): Likewise.
8551 (powerpcle-*-eabi*): Likewise.
8552
a01207c4
ILT
85532011-11-27 Ian Lance Taylor <iant@google.com>
8554
8555 * generic-morestack.c (__splitstack_find): Check for NULL old
8556 stack value.
8557 (__splitstack_resetcontext): New function.
8558 (__splitstack_releasecontext): New function.
8559 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8560
2b0b8ab2
IS
85612011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8562
8563 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8564
c1d8101c
IS
85652011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8566
8567 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8568
8b281334
RH
85692011-11-26 Richard Henderson <rth@redhat.com>
8570
8571 * config/m68k/linux-atomic.c: New file.
8572 * config/m68k/t-linux: New file.
8573 * config.host (m68k-uclinux, m68k-linux): Use it.
8574
7546aa9d
RH
85752011-11-26 Richard Henderson <rth@redhat.com>
8576
8577 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8578 (__TMC_END__): Only declare if hidden is available; in the definition,
8579 if hidden is unavailable add a null record.
8580 (deregister_tm_clones, register_tm_clones): New.
8581 (__do_global_dtors_aux, frame_dummy): Use them.
8582 (__do_global_dtors, __do_global_ctors_1): Likewise.
8583
e2362f5d
IS
85842011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8585
8586 * config/darwin-crt-tm.c: New file.
8587 * config.host (darwin): Build crttms.o crttme.o to provide
8588 startup and shutdown for tm clones.
8589 * config/t-darwin (crttms.o): New build rule.
8590 (crttme.o): Likewise.
8591
6685dd96
HPN
85922011-11-21 Hans-Peter Nilsson <hp@axis.com>
8593
8594 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8595 et al.
8596
b0dc7e4c
RH
85972011-11-21 Richard Henderson <rth@redhat.com>
8598
8599 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8600 (__TMC_LIST__, __TMC_END__): New.
8601 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8602 (__do_global_dtors): Likewise.
8603 (frame_dummy): Call _ITM_registerTMCloneTable.
8604 (__do_global_ctors_1): Likewise.
8605
d4b4b542
RO
86062011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8607
8608 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8609 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8610 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8611 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8612 * config/i386/t-darwin64: Remove.
8613 * config/sh/t-netbsd (LIB2ADD): Remove.
8614
989bdb74
GJL
86152011-11-21 Georg-Johann Lay <avr@gjlay.de>
8616
8617 PR target/49313
8618 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8619 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8620 * config/avr/lib1funcs.S (wmov): New assembler macro.
8621 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8622 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8623 (__udivmod64): New function.
8624 (__negdi2): New function.
8625
515a0cfc
GP
86262011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8627
8628 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8629 *-*-freebsd*aout*): Remove.
8630
0115d17f
HPN
86312011-11-20 Hans-Peter Nilsson <hp@axis.com>
8632
8633 * static-object.mk (c_flags-$o): Save c_flags.
8634 ($(base)$(objext)): Use it.
8635
93aeb62b
SE
86362011-11-18 Steve Ellcey <sje@cup.hp.com>
8637
8638 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8639
7bc6df2c
GJL
86402011-11-18 Georg-Johann Lay <avr@gjlay.de>
8641
8642 PR target/49868
8643 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8644 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8645 New functions.
8646
425d737b
MGD
86472011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8648
8649 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8650 functions.
1bb4b6a3 8651 (aeabi_uidivmod): Likewise.
425d737b
MGD
8652 (umodsi3): Likewise.
8653 (divsi3): Likewise.
8654 (aeabi_idivmod): Likewise.
8655 (modsi3): Likewise.
8656
f2a176dc
TG
86572011-11-16 Tristan Gingold <gingold@adacore.com>
8658
8659 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8660
7c209481
GJL
86612011-11-15 Georg-Johann Lay <avr@gjlay.de>
8662
8663 PR target/49868
8664 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8665 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8666
9dfd5832
JDA
86672011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8668
8669 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8670 tmake_file list.
8671 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8672 * config/pa/t-stublib64: Delete.
8673
f77dca5d
RH
86742011-11-12 Richard Henderson <rth@redhat.com>
8675
8676 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8677 cast the pointer argument to _Unwind_SetGRPtr.
8678
902828f0
RO
86792011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8680
8681 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8682
e14304ef
ILT
86832011-11-09 Ian Lance Taylor <iant@google.com>
8684
8685 * generic-morestack.c: Include <string.h>.
8686 (uintptr_type): Define.
8687 (struct initial_sp): Add dont_block_signals field. Reduce size of
8688 extra array by 1.
8689 (allocate_segment): Set prev field to NULL. Don't set
8690 __morestack_current_segment or __morestack_segments.
8691 (__generic_morestack): Update current->prev and *pp after calling
8692 allocate_segment.
8693 (__morestack_block_signals): Don't do anything if
8694 dont_block_signals is set.
8695 (__morestack_unblock_signals): Likewise.
8696 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8697 uintptr_type.
8698 (__splitstack_block_signals): New function.
8699 (enum __splitstack_content_offsets): Define.
8700 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8701 (__splitstack_makecontext): New function.
8702 (__splitstack_block_signals_context): New function.
8703 (__splitstack_find_context): New function.
8704 * config/i386/morestack.S (__morestack_get_guard): New function.
8705 (__morestack_set_guard, __morestack_make_guard): New functions.
8706 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8707
e3d871e4
RO
87082011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8709
8710 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8711 (i[34567]86-*-mingw*): ... here.
8712 (x86_64-*-mingw*): ... here.
8713
e55cef40
RO
87142011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8715
8716 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8717
5366b186
NS
87182011-11-07 Nathan Sidwell <nathan@acm.org>
8719
8720 * libgcov.c (struct gcov_fn_buffer): New struct.
8721 (buffer_fn_data): New helper.
8722 (gcov_exit): Rework for new gcov data structures.
8723
74155a6f
GJL
87242011-11-07 Georg-Johann Lay <avr@gjlay.de>
8725
8726 PR target/49313
8727 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8728
200feb07
RO
87292011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8730
8731 * config.host (tmake_file): Correct comment.
8732 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8733 t-libgcc-pic.
8734 (bfin*-uclinux*): Likewise.
8735 (bfin*-linux-uclibc*): Likewise.
8736 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8737
8738 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8739 assigning.
8740 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8741 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8742 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8743 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8744 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8745 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8746 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8747 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8748 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8749 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8750 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8751 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8752 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8753
8754 * config/bfin/t-elf: Remove.
8755 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8756
c9cd1a07
RO
87572011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8758
8759 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8760 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8761 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8762 (lm32-*-elf*): ... this.
8763 (lm32-*-rtems*): ... and this.
8764 Add to tmake_file.
8765 (m32r-*-rtems*): Add to tmake_file.
8766 (moxie-*-rtems*): Likewise.
8767 (sparc-*-rtems*): Likewise.
8768 Remove t-rtems from tmake_file.
8769 (sparc64-*-rtems*): Likewise.
8770 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8771 instead.
8772
9fbcc75d
RO
87732011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8774
8775 PR bootstrap/50982
8776 * config/gthr-posix.h: Move ...
8777 * gthr-posix.h: ... here.
8778 * config/gthr-lynx.h: Reflect this.
8779 * config/gthr-vxworks.h: Likewise.
8780 * config/rs6000/gthr-aix.h: Likewise.
8781 * configure.ac (target_thread_file): Likewise.
8782 * configure: Regenerate.
8783
76644b68
SH
87842011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8785
8786 * config.host (arm*-*-rtemseabi*): New target.
8787
5e490f2a
JDA
87882011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8789
8790 PR other/50991
8791 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8792 extra-parts.
8793
feeeff5c
JR
87942011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8795
8796 * config.host (epiphany-*-elf*): New configuration.
8797 * config/epiphany: New Directory.
8798
d618bb2c
RC
87992011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8800
8801 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8802 * config/avr/t-rtems: New.
8803 Filter out _exit from LIB1ASMFUNCS.
8804
1bb6f778
DM
88052011-11-04 David S. Miller <davem@davemloft.net>
8806
8807 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8808 * configure: Rebuild.
8809
9a7f7422
AK
88102011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8811
8812 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8813 variable.
8814
e4fe948a
GJL
88152011-11-04 Georg-Johann Lay <avr@gjlay.de>
8816
8817 PR target/50931
8818 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8819 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8820
7084e037
JS
88212011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8822
8823 PR target/50989
8824 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8825
1a032034
RO
88262011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8827
8828 * config/c6x/t-elf (LIB2ADDEH): Set.
8829 * config/c6x/t-c6x-elf: Remove.
8830
d385f772
RO
88312011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8832
8833 * config/i386/sol2-ci.S: Rename to ...
8834 * config/i386/crti.S: ... this.
8835 * config/i386/sol2-cn.S: Rename to ...
8836 * config/i386/crtn.S: ... this.
8837 * config/sparc/sol2-ci.S: Rename to ...
8838 * config/sparc/crti.S: ... this.
8839 * config/sparc/sol2-cn.S: Rename to ...
8840 * config/sparc/crtn.S: ... this.
8841 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8842 (crti.o, crtn.o): Remove.
8843
1ba878a9
TG
88442011-11-04 Tristan Gingold <gingold@adacore.com>
8845
8846 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8847
02750c15
KK
88482011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8849
8850 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8851
bf86b067
HPN
88522011-11-03 Hans-Peter Nilsson <hp@axis.com>
8853
8854 * config.host (crisv32-*-none, cris-*-none): Remove.
8855 (crisv32-*-elf): Append to tmake_file, don't just set it.
8856 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8857
d0bc53bd
RO
88582011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8859
8860 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8861 (ecrtn$(objext)): Likewise.
8862 (ncrti$(objext)): Likewise.
8863 (ncrtn$(objext)): Likewise.
8864
036da830
AS
88652011-11-03 Andreas Schwab <schwab@redhat.com>
8866
8867 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8868
d2a7d041
DM
88692011-11-02 David S. Miller <davem@davemloft.net>
8870
8871 * configure.ac: Set host_address on sparc too.
8872 * configure: Regenerate.
8873 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8874 based upon host_address.
8875 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8876
af8ed618
JM
88772011-11-02 Jason Merrill <jason@redhat.com>
8878
8879 * config/rs6000/t-ppccomm: Add missing \.
8880
5d1c8e77
RO
88812011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8882
8883 * gthr-single.h, gthr.h: New files.
8884 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8885 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8886 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8887 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8888 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8889 * configure.ac (thread_header): New variable.
8890 Set it depending on target_thread_file.
8891 (gthr-default.h): Link from $thread_header.
8892 * configure: Regenerate.
8893 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8894
852b75ed
RO
88952011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8896
8897 * configure.ac (tm_file_): New variable.
8898 Determine from tm_file.
8899 (tm_file, tm_defines): Substitute.
8900 * configure: Regenerate.
8901 * mkheader.sh: New file.
8902 * Makefile.in (clean): Remove libgcc_tm.h.
8903 ($(objects)): Depend on libgcc_tm.h.
8904 (libgcc_tm_defines, libgcc_tm_file): New variables.
8905 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8906 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8907 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8908 ($(extra-parts)): Depend on libgcc_tm.h.
8909 * config.host (tm_defines, tm_file): New variable.
8910 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8911 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8912 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8913 (avr-*-rtems*): Likewise.
8914 (avr-*-*): Likewise.
8915 (frv-*-elf): Likewise.
8916 (frv-*-*linux*): Likewise.
8917 (h8300-*-rtems*): Likewise.
8918 (h8300-*-elf*): Likewise.
8919 (i[34567]86-*-darwin*): Likewise.
8920 (x86_64-*-darwin*): Likewise.
8921 (rx-*-elf): Likewise.
8922 (tic6x-*-uclinux): Likewise.
8923 (tic6x-*-elf): Likewise.
8924 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8925 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8926 * config/i386/cygming-crtbegin.c: Likewise.
8927 * config/i386/cygming-crtend.c: Likewise.
8928 * config/ia64/fde-vms.c: Likewise.
8929 * config/ia64/unwind-ia64.c: Likewise.
8930 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8931 * config/rs6000/darwin-fallback.c: Likewise.
8932 * config/stormy16/lib2funcs.c: Likewise.
8933 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8934 * crtstuff.c: Likewise.
8935 * dfp-bit.h: Likewise.
8936 * emutls.c: Likewise.
8937 * fixed-bit.c: Likewise.
8938 * fp-bit.c: Likewise.
8939 * generic-morestack-thread.c: Likewise.
8940 * generic-morestack.c: Likewise.
8941 * libgcc2.c: Likewise.
8942 * libgcov.c: Likewise.
8943 * unwind-dw2-fde-dip.c: Likewise.
8944 * unwind-dw2-fde.c: Likewise.
8945 * unwind-dw2.c: Likewise.
8946 * unwind-sjlj.c: Likewise.
8947
f9989b51
RO
89482011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8949
8950 * configure.ac: Include ../config/picflag.m4.
8951 (GCC_PICFLAG): Call it.
8952 Substitute.
8953 * configure: Regenerate.
8954 * Makefile.in (gcc_srcdir): Remove.
8955 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8956 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8957 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8958 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8959 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8960 Use $<.
8961 Remove comment.
8962 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8963 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8964 to refer to libgcc2.c.
8965 Use $<.
8966 * config/darwin-64.c: New file.
8967 * config/darwin-crt3.c: Remove comment.
8968 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8969 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8970 config/udivmodsi4.c: New files.
8971 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8972 config/memset.c: New files.
8973 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8974 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8975 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8976 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8977 * config/t-openbsd-thread: New file.
8978 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8979 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8980 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8981 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8982 qrnnd.S.
8983 Adapt filename.
8984 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8985 to refer to gthr-posix.c.
8986 * config/alpha/t-vms (LIB2ADD): Set.
8987 * config/alpha/vms-gcc_shell_handler.c: New file.
8988 * config/arm/bpabi.c, config/arm/fp16.c,
8989 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8990 config/arm/unaligned-funcs.c: New files.
8991 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8992 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8993 * config/arm/t-linux: Likewise.
8994 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8995 * config/arm/t-netbsd: New file.
8996 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8997 * config/arm/t-symbian (LIB2ADD_ST): Set.
8998 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8999 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9000 * config/bfin/t-elf: New file.
9001 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9002 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9003 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9004 config/c6x/ltf.c: New files.
9005 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9006 (HOST_LIBGCC2_CFLAGS): Set.
9007 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9008 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9009 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9010 New files.
9011 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9012 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9013 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9014 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9015 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9016 files.
9017 * config/frv/t-frv (LIB2ADD): Set.
9018 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9019 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9020 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9021 config/h8300/popcounthi2.c: New files.
9022 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9023 * config/i386/gthr-win32.c: New file.
9024 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9025 * config/i386/t-cygwin: Likewise.
9026 * config/i386/t-darwin, config/i386/t-darwin64,
9027 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9028 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9029 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9030 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9031 * config/ia64/quadlib.c: New file.
9032 * config/ia64/t-hpux (LIB2ADD): Set.
9033 * config/ia64/t-ia64: Add comment.
9034 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9035 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9036 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9037 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9038 * config/m32c/t-m32c (LIB2ADD): Set.
9039 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9040 * config/m32r/t-m32r: Likewise.
9041 * config/m68k/fpgnulib.c: New file.
9042 * config/m68k/t-floatlib (LIB2ADD): Set.
9043 (xfgnulib.c): New target.
9044 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9045 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9046 * config/mep/t-mep (LIB2ADD): Set.
9047 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9048 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9049 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9050 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9051 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9052 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9053 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9054 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9055 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9056 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9057 New files.
9058 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9059 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9060 * config/pa/fptr.c, config/pa/lib2funcs.S,
9061 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9062 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9063 (LIB2ADD, LIB2ADD_ST): Set.
9064 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9065 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9066 Set.
9067 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9068 * config/pdp11/t-pdp11: New file.
9069 * config/picochip/libgccExtras/adddi3.S,
9070 config/picochip/libgccExtras/ashlsi3.S,
9071 config/picochip/libgccExtras/ashrsi3.S,
9072 config/picochip/libgccExtras/clzsi2.S,
9073 config/picochip/libgccExtras/cmpsi2.S,
9074 config/picochip/libgccExtras/divmod15.S,
9075 config/picochip/libgccExtras/divmodhi4.S,
9076 config/picochip/libgccExtras/divmodsi4.S,
9077 config/picochip/libgccExtras/lshrsi3.S,
9078 config/picochip/libgccExtras/parityhi2.S,
9079 config/picochip/libgccExtras/popcounthi2.S,
9080 config/picochip/libgccExtras/subdi3.S,
9081 config/picochip/libgccExtras/ucmpsi2.S,
9082 config/picochip/libgccExtras/udivmodhi4.S,
9083 config/picochip/libgccExtras/udivmodsi4.S: New files.
9084 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9085 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9086 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9087 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9088 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9089 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9090 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9091 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9092 files.
9093 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9094 (HOST_LIBGCC2_CFLAGS): Set.
9095 * config/rs6000/t-darwin64: New file.
9096 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9097 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9098 * config/rs6000/t-ppccomm (LIB2ADD): Add
9099 $(srcdir)/config/rs6000/tramp.S.
9100 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9101 Add $(srcdir)/config/rs6000/eabi.S.
9102 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9103 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9104 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9105 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9106 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9107 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9108 * config/rs6000/tramp.S: New file.
9109 * config/s390/t-tpf: Remove.
9110 * config/sh/linux-atomic.S: New file.
9111 * config/sh/t-linux (LIB2ADD): Set.
9112 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9113 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9114 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9115 to unwind-dw2.c.
9116 (HOST_LIBGCC2_CFLAGS): Set.
9117 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9118 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9119 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9120 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9121 config/spu/mfc_multi_tag_release.c,
9122 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9123 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9124 config/spu/multi3.c: New files.
9125 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9126 (HOST_LIBGCC2_CFLAGS): Set.
9127 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9128 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9129 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9130 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9131 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9132 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9133 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9134 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9135 config/stormy16/umodsi3.c: New files.
9136 * config/xtensa/lib2funcs.S: New file.
9137 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9138 * config/xtensa/t-xtensa (LIB2ADD): Set.
9139 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9140 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9141 Add t-freebsd-thread to tmake_file for posix threads.
9142 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9143 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9144 (*-*-lynxos*): Likewise.
9145 (*-*-netbsd*): Likewise.
9146 (*-*-openbsd*): Likewise.
9147 Add t-openbsd-thread to tmake_file for posix threads.
9148 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9149 (*-*-vxworks*): Set tmake_file.
9150 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9151 (alpha*-*-freebsd*): Likewise.
9152 (alpha*-*-netbsd*): Likewise.
9153 (alpha*-*-openbsd*): Likewise.
9154 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9155 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9156 (alpha*-dec-*vms*): Likewise.
9157 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9158 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9159 (bfin*-uclinux*): Likewise.
9160 (bfin*-linux-uclibc*): Likewise.
9161 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9162 (crisv32-*-none): Likewise.
9163 (cris-*-elf): Likewise.
9164 (cris-*-none): Likewise.
9165 (cris-*-linux*, crisv32-*-linux*): Likewise.
9166 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9167 tmake_file.
9168 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9169 tmake_file.
9170 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9171 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9172 (x86_64-*-elf*): Likewise.
9173 (i[34567]86-*-nto-qnx*): Likewise.
9174 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9175 win32 threads.
9176 (x86_64-*-mingw*): Likewise.
9177 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9178 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9179 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9180 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9181 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9182 tmake_file.
9183 (mipsisa64sr71k-*-elf*): Likewise.
9184 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9185 (mips-*-elf*, mipsel-*-elf*): Likewise.
9186 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9187 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9188 (mips*-*-rtems*): Likewise.
9189 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9190 to tmake_file.
9191 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9192 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9193 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9194 (spu-*-elf*): Likewise.
9195 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9196
45b86625
RO
91972011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9198
9199 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9200 $(srcdir) to refer to $(LIB1ASMSRC).
9201 Use $<.
9202 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9203 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9204 config/arm/lib1funcs.S: New files.
9205 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9206 * config/arm/t-arm: New file.
9207 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9208 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9209 config/arm/t-strongarm-elf: New files.
9210 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9211 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9212 * config/avr/lib1funcs.S: New file.
9213 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9214 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9215 * config/c6x/lib1funcs.S: New file.
9216 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9217 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9218 * config/frv/lib1funcs.S: New file.
9219 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9220 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9221 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9222 * config/ia64/__divxf3.asm: Rename to ...
9223 * config/ia64/__divxf3.S: ... this.
9224 Adapt lib1funcs.asm filename.
9225 * config/ia64/_fixtfdi.asm: Rename to ...
9226 * config/ia64/_fixtfdi.S: ... this.
9227 Adapt lib1funcs.asm filename.
9228 * config/ia64/_fixunstfdi.asm: Rename to ...
9229 * config/ia64/_fixunstfdi.S: ... this.
9230 Adapt lib1funcs.asm filename.
9231 * config/ia64/_floatditf.asm: Rename to ...
9232 * config/ia64/_floatditf.S: ... this.
9233 Adapt lib1funcs.asm filename.
9234 * config/ia64/lib1funcs.S: New file.
9235 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9236 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9237 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9238 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9239 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9240 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9241 * config/mep/lib1funcs.S: New file.
9242 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9243 * config/mips/mips16.S: New file.
9244 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9245 * config/pa/milli64.S: New file.
9246 * config/pa/t-linux, config/pa/t-linux64: New files.
9247 * config/picochip/lib1funcs.S: New file.
9248 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9249 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9250 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9251 * config/sh/t-netbsd: New file.
9252 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9253 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9254 * config/sh/t-sh64: New file.
9255 * config/sparc/lb1spc.S: New file.
9256 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9257 filename.
9258 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9259 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9260 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9261 config/xtensa/lib1funcs.S: New files.
9262 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9263 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9264 tmake_file.
9265 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9266 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9267 (arm*-*-linux*): Likewise.
9268 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9269 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9270 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9271 (arm*-*-ecos-elf): Likewise.
9272 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9273 (arm*-*-rtems*): Likewise.
9274 (arm*-*-elf): Likewise.
9275 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9276 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9277 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9278 (bfin*-uclinux*): Likewise.
9279 (bfin*-linux-uclibc*): Likewise.
9280 (bfin*-rtems*): Likewise.
9281 (bfin*-*): Likewise.
9282 (fido-*-elf): Merge into m68k-*-elf*.
9283 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9284 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9285 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9286 (h8300-*-elf*): Likewise.
9287 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9288 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9289 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9290 (i[34567]86-*-mingw*): Likewise.
9291 (x86_64-*-mingw*): Likewise.
9292 (i[34567]86-*-interix3*): Likewise.
9293 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9294 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9295 (m68k-*-elf*): Also handle fido-*-elf.
9296 Add m68k/t-floatlib to tmake_file.
9297 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9298 (m68k-*-linux*): Likewise.
9299 (m68k-*-rtems*): Likewise.
9300 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9301 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9302 sh64*-*-*.
9303 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9304 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9305 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9306 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9307 sh/t-netbsd to tmake_file.
9308 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9309 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9310 (sh-wrs-vxworks): Likewise.
9311 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9312 *-leon[3-9]*.
9313 (v850*-*-*): Add v850/t-v850 to tmake_file.
9314 (vax-*-linux*): Add vax/t-linux to tmake_file.
9315 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9316
5f73c6cc
RO
93172011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9318
9319 * crtstuff.c: New file.
9320 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9321 (CRTSTUFF_T_CFLAGS): Define.
9322 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9323 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9324 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9325 crtstuff.c.
9326 Use $<.
9327 (crtbeginT.o): Use $(objext).
9328 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9329 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9330 (gcc-extra-parts): Remove.
9331 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9332 Set extra_parts.
9333 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9334 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9335 Add t-crtstuff-pic to tmake_file.
9336 (*-*-lynxos*): New case.
9337 Set tmake_file, extra_parts.
9338 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9339 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9340 *-*-netbsdelf[2-9]*.
9341 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9342 (*-*-rtems*): Set extra_parts.
9343 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9344 (*-*-uclinux*): New case.
9345 Set extra_parts.
9346 (*-*-vms*): New case.
9347 Set tmake_file, extra_parts.
9348 (*-*-elf): Set extra_parts.
9349 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9350 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9351 vms/t-vms64.
9352 Set extra_parts.
9353 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9354 Set extra_parts.
9355 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9356 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9357 (arm-wrs-vxworks): Append to tmake_file.
9358 Set extra_parts.
9359 (arm*-*-uclinux*): Set extra_parts.
9360 (arm*-*-ecos-elf): Likewise.
9361 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9362 arm*-*-eabi*.
9363 (arm*-*-rtems*): Set extra_parts.
9364 (arm*-*-elf): Likewise.
9365 (avr-*-rtems*): Clear extra_parts.
9366 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9367 Set extra_parts.
9368 (bfin*-uclinux*): Likewise.
9369 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9370 (bfin*-rtems*): Append to tmake_file.
9371 Set extra_parts.
9372 (bfin*-*): Likewise.
9373 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9374 (crisv32-*-elf): ... this.
9375 (crisv32-*-none): ... this.
9376 (cris-*-elf, cris-*-none): New cases.
9377 Add cris/t-elfmulti to tmake_file.
9378 (fr30-*-elf): Append to tmake_file.
9379 Set extra_parts.
9380 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9381 Set extra_parts.
9382 (h8300-*-rtems*): Append to tmake_file.
9383 Set extra_parts.
9384 (h8300-*-elf*): Likewise.
9385 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9386 Set extra_parts.
9387 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9388 Set extra_parts.
9389 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9390 (x86_64-*-elf*): Likewise.
9391 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9392 (x86_64-*-freebsd*): Likewise.
9393 (x86_64-*-netbsd*): Likewise.
9394 (i[34567]86-*-linux*): Likewise.
9395 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9396 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9397 (x86_64-*-linux*): Likewise.
9398 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9399 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9400 tmake_file.
9401 Set extra_parts.
9402 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9403 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9404 Append to extra_parts, remove crtbegin.o, crtend.o.
9405 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9406 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9407 crtend.o, crtbeginS.o, crtendS.o.
9408 (ia64*-*-linux*): Comment extra_parts.
9409 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9410 Set extra_parts.
9411 (iq2000*-*-elf*): Clear extra_parts.
9412 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9413 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9414 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9415 (m32r-*-rtems*): ... this.
9416 Add m32r/t-m32r to tmake_file.
9417 (m68k-*-elf*): Add t-crtin to tmake_file.
9418 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9419 (mcore-*-elf): Likewise.
9420 (microblaze*-*-*): Set extra_parts.
9421 (mips*-sde-elf*): New case.
9422 Set tmake_file, extra_parts.
9423 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9424 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9425 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9426 tmake_file.
9427 Set extra_parts.
9428 (mipsisa64sr71k-*-elf*): Likewise.
9429 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9430 (mips-*-elf*, mipsel-*-elf*): Likewise.
9431 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9432 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9433 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9434 (mips*-*-rtems*): Likewise.
9435 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9436 (moxie-*-*): Split into ...
9437 (moxie-*-elf, moxie-*-uclinux*): ... this.
9438 Add to extra_parts, remove crtbegin.o, crtend.o.
9439 (moxie-*-rtems*): New case.
9440 Set tmake_file.
9441 Clear extra_parts.
9442 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9443 Set extra_parts.
9444 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9445 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9446 tmake_file.
9447 Set extra_parts.
9448 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9449 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9450 Set extra_parts.
9451 (powerpc-*-eabisim*): Likewise.
9452 (powerpc-*-elf*): Likewise.
9453 (powerpc-*-eabialtivec*): Likewise.
9454 (powerpc-xilinx-eabi*): Likewise.
9455 (powerpc-*-eabi*): Likewise.
9456 (powerpc-*-rtems*): Likewise.
9457 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9458 tmake_file.
9459 Set extra_parts.
9460 (powerpc-*-lynxos*): Add to tmake_file.
9461 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9462 rs6000/t-crtstuff, t-crtstuff-pic.
9463 Set extra_parts.
9464 (powerpcle-*-eabisim*): Likewise.
9465 (powerpcle-*-eabi*): Likewise.
9466 (rx-*-elf): Remove extra_parts.
9467 (s390x-ibm-tpf*): Set extra_parts.
9468 (score-*-elf): Set extra_parts.
9469 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9470 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9471 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9472 (sh64l*-*-netbsd*): Split into ...
9473 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9474 Add t-crtstuff-pic to tmake_file.
9475 Set extra_parts.
9476 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9477 Set extra_parts.
9478 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9479 (sparc-*-elf*): Remove t-crtin from tmake_file.
9480 Add to extra_parts, remove crtbegin.o, crtend.o.
9481 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9482 (sparc64-*-linux*): Likewise.
9483 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9484 Add to extra_parts, remove crtbegin.o, crtend.o.
9485 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9486 Add to extra_parts, remove crtbegin.o, crtend.o.
9487 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9488 Add to extra_parts, remove crtbegin.o, crtend.o.
9489 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9490 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9491 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9492 Set extra_parts.
9493 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9494 Set extra_parts.
9495 (tic6x-*-*): Change to ...
9496 (tic6x-*-elf): ... this.
9497 Set extra_parts.
9498 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9499 Set extra_parts.
9500 (am33_2.0-*-linux*): Add comment.
9501 (mep*-*-*): Add mep/t-mep to tmake_file.
9502 Set extra_parts.
9503 * config/alpha/t-vms: New file.
9504 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9505 * config/arm/crti.S, config/arm/crtn.S: New files.
9506 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9507 * config/bfin/crtlibid.S: New file.
9508 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9509 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9510 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9511 (crti.o, crtin.o): New rules.
9512 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9513 * config/c6x/t-uclinux: New file.
9514 * config/cris/t-elfmulti: New file.
9515 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9516 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9517 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9518 * config/frv/t-frv: New file.
9519 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9520 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9521 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9522 New files.
9523 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9524 refer to cygming-crtbegin.c, cygming-crtend.c.
9525 Use $<.
9526 * config/i386/t-nto: New file.
9527 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9528 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9529 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9530 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9531 Use .S extension.
9532 Use $<.
9533 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9534 (crtinitS.o): New rule.
9535 * config/ia64/vms-crtinit.S: New file.
9536 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9537 * config/m32r/initfini.c: New file.
9538 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9539 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9540 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9541 * config/mep/t-mep: New file.
9542 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9543 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9544 * config/mips/crti.S, config/mips/crtn.S: New files.
9545 * config/mips/t-crtstuff: New file.
9546 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9547 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9548 (CUSTOM_CRTIN): Set.
9549 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9550 dependencies.
9551 Use $(srcdir) to refer to crti.S, crtn.S.
9552 Use .S extension, $<.
9553 * config/moxie/crti.asm: Rename to ...
9554 * config/moxie/crti.S: ... this.
9555 * config/moxie/crtn.asm: Rename to ...
9556 * config/moxie/crtn.S: ... this.
9557 * config/moxie/t-moxie: Remove.
9558 * config/pa/stublib.c: New file.
9559 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9560 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9561 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9562 * config/rs6000/t-crtstuff: New file.
9563 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9564 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9565 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9566 Make output file explicit.
9567 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9568 Make output file explicit.
9569 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9570 Make output file explicit.
9571 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9572 Make output file explicit.
9573 * config/score/crti.S, config/score/crtn.S: New files.
9574 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9575 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9576 files.
9577 * config/sh/t-sh, config/sh/t-superh: New files.
9578 * config/sparc/t-linux64: New file.
9579 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9580 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9581 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9582 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9583 * config/t-crtin: Remove.
9584 * config/t-crtstuff-pic: New file.
9585 * config/t-sol2 (CUSTOM_CRTIN): Set.
9586 (crti.o, crtn.o): New rules.
9587 * config/vms/t-vms: New file.
9588 * config/vms/vms-ucrt0.c: New file.
9589 * config/xtensa/t-elf: New file.
9590
b040f2be
RO
95912011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9592
9593 * Makefile.in (SHLIB_NM_FLAGS): Set.
9594 * mkmap-flat.awk, mkmap-symver.awk: New files.
9595 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9596 exceptions.
9597 * configure: Regenerate.
9598 * config/libgcc-glibc.ver: New file.
9599 * config/libgcc-libsystem.ver: New file.
9600 * config/t-libunwind (SHLIB_LC): Set.
9601 * config/t-linux: New file.
9602 * config/t-slibgcc (INSTALL_SHLIB): New.
9603 (SHLIB_INSTALL): Use it.
9604 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9605 to mkmap-symver.awk.
9606 (SHLIB_MAPFILES): Don't append, adapt pathname.
9607 (SHLIB_VERPFX): Set.
9608 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9609 to mkmap-symver.awk.
9610 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9611 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9612 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9613 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9614 to mkmap-flat.awk.
9615 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9616 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9617 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9618 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9619 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9620 * config/i386/libgcc-darwin.10.4.ver,
9621 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9622 New files.
9623 * config/i386/t-darwin: Remove.
9624 * config/i386/t-darwin64: Likewise.
9625 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9626 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9627 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9628 * config/i386/t-linux: New file.
9629 * config/i386/t-mingw32: New file.
9630 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9631 * config/ia64/t-glibc: Rename to ...
9632 * config/ia64/t-linux: ... this.
9633 (SHLIB_MAPFILES): Set.
9634 * config/ia64/t-glibc-libunwind: Rename to ...
9635 * config/ia64/t-linux-libunwind: ... this.
9636 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9637 * config/ia64/t-slibgcc-hpux: New file.
9638 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9639 * config/m68k/t-slibgcc-elf-ver: New file.
9640 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9641 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9642 to mkmap-flat.awk.
9643 * config/pa/t-slibgcc-hpux: New file.
9644 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9645 files.
9646 * config/rs6000/libgcc-darwin.10.4.ver,
9647 config/rs6000/libgcc-darwin.10.5.ver: New files.
9648 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9649 config/rs6000/libgcc-glibc.ver.
9650 * config/rs6000/libgcc-ppc64.ver: Rename to
9651 config/rs6000/libgcc-ibm-ldouble.ver.
9652 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9653 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9654 * config/rs6000/t-ldbl128: Rename to ...
9655 * config/rs6000/t-linux: ... this.
9656 (SHLIB_MAPFILES): Adapt filename.
9657 * config/rs6000/t-slibgcc-aix: New file.
9658 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9659 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9660 libgcc-excl.ver, libgcc-glibc.ver.
9661 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9662 * config/sparc/libgcc-glibc.ver: New file.
9663 * config/sparc/t-linux: New file.
9664 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9665 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9666 t-slibgcc-elf-ver to tmake_file.
9667 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9668 *-*-freebsd[34].
9669 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9670 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9671 t-slibgcc-elf-ver, t-linux to tmake_file.
9672 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9673 tmake_file.
9674 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9675 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9676 (alpha*-dec-*vms*): Likewise.
9677 (arm*-*-freebsd*): Append to tmake_file.
9678 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9679 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9680 arm*-*-linux-*eabi.
9681 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9682 tmake_file for arm*-*-symbianelf*.
9683 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9684 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9685 cris/t-linux.
9686 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9687 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9688 pa/t-slibgcc-dwarf-ver to tmake_file.
9689 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9690 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9691 (hppa*64*-*-hpux11*): Likewise.
9692 (hppa[12]*-*-hpux11*): Likewise.
9693 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9694 i386/t-crtpc, i386/t-crtfm.
9695 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9696 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9697 to tmake_file.
9698 Add i386/t-cygwin to tmake_file.
9699 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9700 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9701 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9702 to tmake_file.
9703 Add i386/t-mingw32 to tmake_file.
9704 (x86_64-*-mingw*): Likewise.
9705 (ia64*-*-freebsd*): Append to tmake_file.
9706 (ia64*-*-linux*): Append to tmake_file.
9707 Replace ia64/t-glibc by ia64/t-linux.
9708 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9709 system libunwind.
9710 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9711 t-slibgcc-hpux to tmake_file.
9712 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9713 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9714 (m32rle-*-linux*): Likewise.
9715 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9716 sjlj exceptions.
9717 (microblaze*-linux*): New case.
9718 Append to tmake_file, add t-slibgcc-nolc-override.
9719 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9720 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9721 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9722 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9723 rs6000/t-slibgcc-aix to tmake_file.
9724 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9725 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9726 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9727 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9728 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9729 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9730 sh*-*-linux*.
9731 (sparc-*-linux*): Append to tmake_file for *-leon*.
9732 Add sparc/t-linux to tmake_file for non-Leon targets.
9733 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9734 (tic6x-*-uclinux): New case.
9735 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9736 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9737 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9738 (am33_2.0-*-linux*): Append to tmake_file.
9739 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9740 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9741 x86_64-*-kfreebsd*-gnu.
9742 Add i386/t-linux to tmake_file.
9743
18b4bd7b
ILT
97442011-10-28 Ian Lance Taylor <iant@google.com>
9745
9746 * config/i386/morestack.S: Correct CFI information to do proper
9747 returns throughout function. In 32-bit mode, save %ebx so that it
9748 is restored on unwind.
9749
5b2d9d90
BS
97502011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9751
9752 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9753 case where B3 isn't the return register.
9754
0d53e346
BS
9755 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9756 logic for doubleword pops.
9757
cbffbd59
AT
97582011-10-25 Andreas Tobler <andreast@fgznet.ch>
9759
9760 * config/rs6000/t-freebsd: Add wildcard.
9761
56dc349e
PB
97622011-10-21 Paul Brook <paul@codesourcery.com>
9763
9764 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9765
1e06b07d
UB
97662011-10-16 Uros Bizjak <ubizjak@gmail.com>
9767 Eric Botcazou <ebotcazou@adacore.com>
9768
9769 PR target/50737
9770 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9771 fs->signal_frame to 1.
9772
b5204884
ILT
97732011-10-07 Ian Lance Taylor <iant@google.com>
9774
9775 * generic-morestack-thread.c: #include <errno.h>.
9776
91a639a1
ILT
97772011-10-07 Ian Lance Taylor <iant@google.com>
9778
9779 PR target/46093
9780 * generic-morestack.c (__generic_morestack): Make sure the segment
9781 is large enough for both the stack frame and the copied
9782 parameters.
9783
cc49116d
RO
97842011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9785
9786 PR bootstrap/49804
9787 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9788 extra_parts.
9789
2996d8c3
NC
97902011-09-28 Nick Clifton <nickc@redhat.com>
9791
9792 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9793 64-bit doubles are not enabled.
9794 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9795 and floatunsisf functions.
9796
1e874273 97972011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 9798
1e874273
PB
9799 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9800 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9801 * unwind-arm-common.inc: New file.
9802 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9803 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9804 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9805 * config/c6x/libunwind.S: New file.
9806 * config/c6x/pr-support.c: New file.
9807 * config/c6x/unwind-c6x.c: New file.
9808 * config/c6x/unwind-c6x.h: New file.
9809 * config/c6x/t-c6x-elf: New file.
9810
f70c879a
UB
98112011-08-23 Uros Bizjak <ubizjak@gmail.com>
9812
9813 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9814 (ASM_DIVZERO): Ditto.
9815 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9816
c55b374b
RS
98172011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9818
9819 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9820
1e138510
RS
98212011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9822
9823 PR target/50090
9824 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9825 instead of an assembly one.
9826
1563503d
PB
98272011-08-12 Paolo Bonzini <bonzini@gnu.org>
9828
9829 PR bootstrap/50047
9830 * Makefile.in (install-unwind_h): Create
9831 $(gcc_objdir)/include/unwind.h atomically.
9832
3627ac1a
RO
98332011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9834
9835 * Makefile.in (install-unwind_h): Remove destination file first.
9836
c6412d86
RO
98372011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9838
9839 * sync.c: New file.
9840 * config/mips/t-mips16: New file.
9841 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9842 (mips*-*-linux*): Likewise.
9843 (mips*-sde-elf*): Likewise.
9844 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9845 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9846 Add mips/t-mips16 to tmake_file.
9847 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9848 (mips-*-elf*): Likewise.
9849 (mips64-*-elf*): Likewise.
9850 (mips64orion-*-elf*): Likewise.
9851 (mips*-*-rtems*): Likewise.
9852 (mipstx39-*-elf*): Likewise.
9853 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9854 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9855 LIBGCC_SYNC_CFLAGS.
9856 Use $(srcdir) to refer to sync.c.
9857 Use $<.
9858 ($(libgcc-sync-funcs-o)): Likewise.
9859 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9860 ($(libgcc-sync-funcs-s-o)): Likewise.
9861
3cb6e5bd
AS
98622011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9863
9864 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9865 t-libunwind.
9866
cca2207a
L
98672011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9868
9869 PR other/48007
9870 * config/i386/value-unwind.h: New.
9871
ed39fbad
RS
98722011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9873
9874 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9875 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9876 Add to tmake_file rather than overriding it.
9877
aca0b0b3
RO
98782011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9879
9880 * config/t-softfp: Remove.
9881 * soft-fp: Moved from ../gcc/config.
9882 * soft-fp/README: Remove t-softfp reference.
9883 * soft-fp/t-softfp: Move to config/t-softfp.
9884 (softfp_machine_header): Remove.
9885 (softfp_file_list): Remove config subdir.
9886 (soft-fp-objects): New variable.
9887 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9888 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9889 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9890 * config/t-softfp-excl: New file.
9891 * config/t-softfp-sfdf: New file.
9892 * config/t-softfp-tf: New file.
9893 * config/no-sfp-machine.h: New file.
9894 * config/arm/sfp-machine.h: New file.
9895 * config/arm/t-softfp: New file.
9896 * config/c6x/sfp-machine.h: New file.
9897 * config/i386/32/t-fprules-softfp: Rename to ...
9898 * config/i386/32/t-softfp: ... this.
9899 (tifunctions, LIB2ADD): Remove.
9900 (softfp_int_modes): Override.
9901 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9902 subdir.
9903 * config/i386/64/eqtf2.c: Likewise.
9904 * config/i386/64/getf2.c: Likewise.
9905 * config/i386/64/letf2.c: Likewise.
9906 * config/ia64/sft-machine.h: New file.
9907 * config/ia64/t-fprules-softfp: Rename to ...
9908 * config/ia64/t-softfp: ... this.
9909 * config/lm32/sfp-machine.h: New file.
9910 * config/moxie/t-moxie-softfp: Remove.
9911 * config/rs6000/ibm-ldouble-format: New file.
9912 * config/rs6000/ibm-ldouble.c: New file.
9913 * config/rs6000/libgcc-ppc-glibc.ver: New file
9914 * config/rs6000/libgcc-ppc64.ver: New file
9915 * config/rs6000/sfp-machine.h: New file.
9916 * config/rs6000/t-freebsd: New file.
9917 * config/rs6000/t-ibm-ldouble: New file.
9918 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9919 libgcc-ppc-glibc.ver.
9920 * config/rs6000/t-linux64: New file.
9921 * config/rs6000/t-ppccomm (LIB2ADD): Add
9922 $(srcdir)/config/rs6000/ibm-ldouble.c.
9923 * config/rs6000/t-ppccomm-ldbl: New file.
9924 * config/score/sfp-machine.h: New file.
9925 * config.host (sfp_machine_header): Explain.
9926 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9927 t-softfp to tmake_file.
9928 (arm*-*-uclinux*): Likewise.
9929 (arm*-*-ecos-elf): Likewise.
9930 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9931 (arm*-*-rtems*): Likewise.
9932 (arm*-*-elf): Likewise.
9933 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9934 in tmake_file.
9935 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9936 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9937 (lm32-*-uclinux*): Likewise.
9938 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9939 t-softfp-excl, t-softfp.
9940 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9941 (powerpc64-*-darwin*): Likewise.
9942 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9943 to tmake_file.
9944 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9945 tmake_file.
9946 (powerpc-*-eabisim*): Likewise.
9947 (powerpc-*-elf*): Likewise.
9948 (powerpc-*-eabialtivec*): Likewise.
9949 (powerpc-xilinx-eabi*): Likewise.
9950 (powerpc-*-rtems*): Likewise.
9951 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9952 t-softfp-excl, t-softfp to tmake_file.
9953 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9954 rs6000/t-ppccomm-ldbl to tmake_file.
9955 (powerpcle-*-elf*): Likewise.
9956 (powerpcle-*-eabisim*): Likewise.
9957 (powerpcle-*-eabi*): Likewise.
9958 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9959 rs6000/t-ibm-ldouble to tmake_file.
9960 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9961 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9962 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9963 (tic6x-*-*): Likewise.
9964 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9965 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9966 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9967 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9968 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9969 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9970 t-softfp to tmake_file.
9971 * configure.ac (sfp_machine_header): Provide default if unset.
9972 Substitute.
9973 Link sfp-machine.h to config/$sfp_machine_header.
9974 * configure: Regenerate.
9975
569dc494
RO
99762011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9977
9978 * Makefile.in (double_type_size, long_double_type_size): Set.
9979 Remove $(fpbit-in-libgcc) support.
9980 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9981 (fpbit-src): New variable.
9982 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9983 Compile with -DFLOAT $(FPBIT_CFLAGS).
9984 Use $<.
9985 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9986 Compile with $(FPBIT_CFLAGS).
9987 Use $<.
9988 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9989 Compile with -DFLOAT $(TPBIT_CFLAGS).
9990 Use $<.
9991 * configure.ac (double_type_size, long_double_type_size):
9992 Determine and substitute.
9993 * configure: Regenerate.
9994 * fp-bit.c, fp-bit.h: New files.
9995 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9996 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9997 * config/mips/t-mips: New file.
9998 * config/mips/t-sdemtk: New file.
9999 * config/rs6000/ppc64-fp.c: New file.
10000 * config/rs6000/t-darwin (LIB2ADD): Add
10001 $(srcdir)/config/rs6000/ppc64-fp.c.
10002 * config/rs6000/t-ppc64-fp: New file.
10003 * config/rx/rx-lib.h: New file.
10004 * config/rx/t-rx (FPBIT): Set to true.
10005 ($(gcc_objdir)/fp-bit.c): Remove.
10006 (DPBIT): Set to true only with -m64bit-doubles.
10007 ($(gcc_objdir)/dp-bit.c): Remove.
10008 * config/sparc/t-softfp: Remove.
10009 * config/spu/t-elf: New file.
10010 * config/t-fdpbit, config/t-fpbit: New files.
10011 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10012 (mips*-*-*): Likewise.
10013 (arm-wrs-vxworks): Likewise.
10014 (arm*-*-freebsd*): Likewise.
10015 (avr-*-rtems*): Add t-fpbit to tmake_file.
10016 (avr-*-*): Likewise.
10017 (bfin*-elf*): Add t-fdpbit to tmake_file.
10018 (bfin*-uclinux*): Likewise.
10019 (bfin*-linux-uclibc*): Likewise.
10020 (bfin*-rtems*): New case.
10021 Add t-fdpbit to tmake_file.
10022 (bfin*-*): Add t-fdpbit to tmake_file.
10023 (crisv32-*-elf): Likewise.
10024 (cris-*-linux*): Likewise.
10025 (fr30-*-elf): Likewise.
10026 (frv-*-elf, frv-*-*linux*): Likewise.
10027 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10028 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10029 (m32r-*-elf*): Likewise.
10030 (m32rle-*-elf*): Likewise.
10031 (m32r-*-linux*): Likewise.
10032 (m32rle-*-linux*): Likewise.
10033 (mcore-*-elf): Add t-fdpbit to tmake_file.
10034 (microblaze*-*-*): Likewise.
10035 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10036 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10037 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10038 Fix typo.
10039 Add mips/t-tpbit to tmake-file.
10040 (mips*-*-linux*): Fix typo.
10041 (mips*-sde-elf*): New case
10042 Add mips/t-sdemtk unless using newlib.
10043 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10044 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10045 (mn10300-*-*): Likewise.
10046 (pdp11-*-*): Likewise.
10047 (picochip-*-*): Add t-fpbit to tmake_file.
10048 (powerpc-*-eabisimaltivec*): Likewise.
10049 (powerpc-*-eabisim*): Likewise.
10050 (powerpc-*-elf*): Likewise.
10051 (powerpc-*-eabialtivec*): Likewise.
10052 (powerpc-xilinx-eabi*): New case.
10053 Add t-fdpbit to tmake_file.
10054 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10055 (powerpc-*-rtems*): Likewise.
10056 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10057 tmake_file.
10058 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10059 tmake_file.
10060 (powerpc-*-lynxos*): Likewise.
10061 (powerpcle-*-elf*): Likewise.
10062 (powerpcle-*-eabisim*): Likewise.
10063 (powerpcle-*-eabi*): Likewise.
10064 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10065 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10066 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10067 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10068 (rx-*-elf): Add t-fdpbit to tmake_file.
10069 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10070 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10071 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10072 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10073 sh*-*-netbsd*.
10074 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10075 (sh-wrs-vxworks): Likewise.
10076 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10077 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10078 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10079 (sparc64-*-rtems*): ... new case.
10080 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10081 (spu-*-elf*): Likewise.
10082 Add spu/t-elf to tmake_file.
10083 (v850*-*-*): Add t-fdpbit to tmake_file.
10084 (xstormy16-*-elf): Likewise.
10085 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10086 (mep*-*-*): Likewise.
10087
201cdb74
RO
100882011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10089
10090 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10091 variables.
10092 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10093 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10094 (install-unwind_h): New target.
10095 (all): Depend on it.
10096 * config.host (unwind_header): New variable.
10097 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10098 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10099 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10100 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10101 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10102 Set unwind_header.
10103 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10104 Set unwind_header.
10105 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10106 arm*-*-eabi*.
10107 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10108 Set unwind_header.
10109 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10110 (ia64*-*-freebsd*): Likewise.
10111 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10112 tmake_file.
10113 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10114 $with_system_libunwind.
10115 (ia64*-*-hpux*): Set tmake_file.
10116 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10117 (picochip-*-*): Set tmake_file.
10118 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10119 md_unwind_header.
10120 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10121 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10122 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10123 (xtensa*-*-elf*): Set tmake_file.
10124 (xtensa*-*-linux*): Likewise.
10125 * configure.ac: Include ../config/unwind_ipinfo.m4.
10126 Call GCC_CHECK_UNWIND_GETIPINFO.
10127 Link unwind.h to $unwind_header.
10128 * configure: Regenerate.
10129 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10130 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10131 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10132 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10133 * config/unwind-dw2-fde-darwin.c: New file.
10134 * config/arm/libunwind.S, config/arm/pr-support.c,
10135 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10136 config/arm/unwind-arm.h,: New files.
10137 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10138 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10139 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10140 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10141 config/ia64/unwind-ia64.h: New files.
10142 * config/picochip/t-picochip: New file.
10143 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10144 files.
10145 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10146 * config/s390/t-tpf (LIB2ADDEH): Remove.
10147 * config/t-darwin (LIB2ADDEH): Set.
10148 * config/t-eh-dw2-dip: New file.
10149 * config/t-libunwind, config/t-libunwind-elf: New files.
10150 * config/t-sol2 (LIB2ADDEH): Remove.
10151 * config/xtensa/t-xtensa: New file.
10152
40f2f11f
L
101532011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10154
10155 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10156 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10157 long long to check rt_sigreturn syscall.
10158
bd15e32c
AM
101592011-08-02 Alan Modra <amodra@gmail.com>
10160
10161 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10162 Restore for indirect call bcrtl from correct stack slot, and only
10163 if cfa+40 isn't valid.
10164
655b30bf
JB
101652011-08-01 Julian Brown <julian@codesourcery.com>
10166
10167 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10168 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10169 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10170
247eb06f
JB
101712011-08-01 Julian Brown <julian@codesourcery.com>
10172
10173 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10174 (libgcc-std.ver.in): Use above.
10175 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10176 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10177 throughout file.
10178 * config/t-fixedpoint-gnu-prefix: New file.
10179 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10180 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10181 instead of __PFX__.
10182
02a8fe00
L
101832011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10184
10185 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10186 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10187 for x86-64. Properly check __x86_64__ and __LP64__.
10188
5fce9126
L
101892010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10190
10191 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10192 version.
10193 (_FP_WS_TYPE): Likewise.
10194 (_FP_I_TYPE): Likewise.
10195
2374a88a
AM
101962011-07-28 Alan Modra <amodra@gmail.com>
10197
10198 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10199 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10200 in a plt call stub. Do restore r2 if stopped on bctrl.
10201
e44dbbe1
RO
102022011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10203
10204 * config.host (i[3456x]86-*-netware*): Remove.
10205 * config/i386/netware-crt0.c, config/i386/t-nwld,
10206 config/i386/t-slibgcc-nwld: Remove.
10207
bcead286
BS
102082011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10209
10210 * config.host: Handle tic6x-*-*.
10211 * config/c6x/c6x-abi.h: New file.
10212
b3fe1584
RO
102132011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10214
10215 * config/i386/crtprec.c: New file.
10216 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10217 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10218 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10219 (x86_64-*-darwin*): Likewise.
10220 (i[34567]86-*-solaris2*: Likewise.
10221
35d8090d
RO
102222011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10223
10224 * config/alpha/crtfastmath.c: New file.
10225 * config/i386/crtfastmath.c: New file.
10226 * config/ia64/crtfastmath.c: New file.
10227 * config/mips/crtfastmath.c: New file.
10228 * config/sparc/crtfastmath.c: New file.
10229
10230 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10231 crtfastmath.c.
10232 Add -frandom-seed=gcc-crtfastmath.
10233 * config/alpha/t-crtfm: Remove.
10234 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10235 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10236
10237 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10238 (alpha*-dec-osf5.1*): Likewise.
10239 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10240 Add crtfastmath.o to extra_parts.
10241 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10242 Add crtfastmath.o to extra_parts.
10243 (x86_64-*-darwin*): Likewise.
10244 (x86_64-*-mingw*): Likewise.
10245 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10246 (ia64*-*-freebsd*): Likewise.
10247 (ia64*-*-linux*): Likewise.
10248 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10249 Add crtfastmath.o to extra_parts.
10250
e141542e
RO
102512011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10252
10253 * config/darwin-crt3.o: New file.
10254 * config/rs6000/darwin-crt2.c: New file.
10255 * config/t-darwin: New file.
10256 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10257 (crt2.o): New rule.
10258 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10259 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10260 (powerpc64-*-darwin*): Likewise.
10261
2d1efe2d
RO
102622011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10263
10264 * config/i386/netware-crt0.c: New file.
10265 * config/i386/t-nwld: Rename to ...
10266 * config/i386/t-slibgcc-nwld: ... this.
10267 * config/i386/t-nwld: New file.
10268 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10269 tmake_file.
10270 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10271 extra_parts.
10272
4a8bb046
RO
102732011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10274
10275 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10276 i386/t-crtstuff.
10277 * configure: Regenerate.
10278
2d8d5935
RO
102792011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10280
10281 * dfp-bit.c, dfp-bit.h: New files.
10282 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10283 variables.
10284 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10285 ($(d64pbit-o)): Likewise.
10286 ($(d128pbit-o)): Likewise.
10287 * config/t-dfprules: New file.
10288 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10289 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10290 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10291 (x86_64-*-linux*): Likewise.
10292 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10293 (i[34567]86-*-cygwin*): Likewise.
10294 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10295 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10296
2c50b2c3
RO
102972011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10298
10299 * Makfile.in (LIBGCOV): New variable.
10300 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10301 * libgcov.c: New file.
10302
a039d7c2
RO
103032011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10304
10305 * fixed-bit.c, fixed-bit.h: New files.
10306 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10307 refer to fixed-bit.c.
10308
1e4b2746
JM
103092011-07-07 Joseph Myers <joseph@codesourcery.com>
10310
10311 * config.host (*local*): Remove.
10312
fbdd5d87
RO
103132011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10314
10315 PR target/39150
10316 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10317 like i?86-*-solaris2.1[0-9]*.
10318 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10319 * configure.ac (i?86-*-solaris2*): Likewise.
10320 * configure: Regenerate.
10321
9e7714f4
TS
103222011-07-06 Thomas Schwinge <thomas@schwinge.name>
10323
10324 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10325 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10326 md_unwind_header by splitting out of...
10327 (i[34567]86-*-linux*): ... this.
10328 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10329 Remove md_unwind_header by splitting out of...
10330 (x86_64-*-linux*): ... this.
10331
6dab9931
GJL
103322011-07-04 Georg-Johann Lay <avr@gjlay.de>
10333
10334 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10335
4be46d19
NC
103362011-06-28 Nick Clifton <nickc@redhat.com>
10337
10338 * config.host: Recognize all V850 variants.
10339
1da9434b
UB
103402011-06-22 Uros Bizjak <ubizjak@gmail.com>
10341
10342 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10343
e4d48a4d
RO
103442011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10345
10346 * shared-object.mk (c_flags-$o): Save c_flags.
10347 ($(base)$(objext)): Use it.
10348 ($(base)_s$(objext)): Likewise.
10349
3801c801
BS
103502011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10351
10352 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10353 * libgcc-std.ver.in (GCC_4.7.0): New section.
10354
0ad8bb3b 103552011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 10356
0ad8bb3b
GJL
10357 PR target/49313
10358 PR target/29524
10359 * config/avr/t-avr: Fix line endings.
10360 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10361 _parityXX2.
10362
ea963999
OH
103632011-06-14 Olivier Hainque <hainque@adacore.com>
10364 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10365
10366 * config/mips/irix6-unwind.h: New file.
10367 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10368
b11b0904
EB
103692011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10370
10371 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10372 (sparc64_fallback_frame_state): Use it.
10373 (sparc64_frob_update_context): Further adjust context.
10374 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10375 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10376 * config/sparc/sol2-cn.S: Likewise.
10377
10e48e39
RO
103782011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10379
10380 * enable-execute-stack-empty.c: New file.
10381 * enable-execute-stack-mprotect.c: New file.
10382 * config/i386/enable-execute-stack-mingw32.c: New file.
10383 * config.host (enable_execute_stack): New variable.
10384 Select appropriate variants.
10385 * configure.ac: Link enable-execute-stack.c to
10386 $enable_execute_stack.
10387 * configure: Regenerate.
10388 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10389 (lib2funcs): Remove _enable_execute_stack.
10390
10c4cabc
DM
103912011-06-09 David S. Miller <davem@davemloft.net>
10392 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10393
10394 * config.host (sparc-*-linux*): Correct md_unwind_header
10395 filename.
10396 (s390x-ibm-tpf*): Fix typo.
10397
aa4203e7
RO
103982011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10399
10400 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10401 Add crtfastmath.o to extra_parts.
10402 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10403 mips/t-crtfm.
10404 * config/mips/t-crtfm: Remove.
10405
0defd786
JDA
104062011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10407
10408 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10409
82f247af
KK
104102011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10411
10412 * config.host (sh*-*-linux*): Fix typo.
10413
58cd1d70
RO
104142011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10415
10416 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10417 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10418 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10419 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10420 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10421 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10422 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10423 Wrap in !__MINGW64__.
10424 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10425 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10426 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10427 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10428 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10429 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10430 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10431 Wrap in !__LP64__.
10432 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10433 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10434 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10435 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10436 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10437 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10438 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10439 * config/no-unwind.h: New file.
10440 * config.host (md_unwind_header): Document.
10441 Define.
10442 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10443 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10444 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10445 hppa[12]*-*-hpux11*): Set md_unwind_header.
10446 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10447 Set md_unwind_header.
10448 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10449 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10450 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10451 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10452 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10453 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10454 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10455 md_unwind_header.
10456 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10457 * configure: Regenerate.
10458
737346fa
RO
104592011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10460
10461 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10462 Set tmake_file, extra_parts.
10463 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10464 Remove O32 support.
10465 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10466 Remove O32 support.
10467 * config/mips/t-irix6: New file.
10468 * config/mips/t-slibgcc-irix: New file.
10469
c192cee6
RO
104702011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10471
10472 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10473 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10474
ee33b5f0
RO
104752011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10476
10477 * configure.ac (target_thread_file): Determine thread model.
10478 * configure: Regenerate.
10479 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10480 * config/alpha/t-alpha: New file.
10481 * config/alpha/t-crtfm: Use $<.
10482 * config/alpha/t-ieee: New file.
10483 * config/alpha/t-osf-pthread: New file.
10484 * config/alpha/t-slibgcc-osf: New file.
10485 * config/alpha/libgcc-osf5.ver: New file.
10486
0699e415
RO
104872011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10488
10489 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10490 tmake_file.
10491 Add crtfastmath.o to extra_parts.
10492
a3fab9c2
RO
104932011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10494
10495 * config/gmon-sol2.c: Reindent.
10496 Cleanup comments.
10497 Remove, correct casts.
10498 Use STDERR_FILENO, NULL.
10499 (BASEADDRESS): Remove.
10500 (minbrk): Remove.
10501 (errno, sbrk): Remove declarations.
10502 (monstartup) [hp300]: Remove.
10503 (mcount): Remove.
10504
ca24c5ad
RO
105052011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10506
10507 * Makefile.in (cpu_type): Define.
10508 * config.host (i[34567]86-*-rtems*): Handle it.
10509 (i[34567]86-*-solaris2*): Move body ...
10510 (*-*-solaris2*): ... here.
10511 New case, generalize.
10512 (sparc-*-elf*): Handle it.
10513 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10514 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10515 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10516 Fold into ...
10517 (sparc*-*-solaris2*): ... this.
10518 New case.
10519 (sparc64-*-elf*): Handle it.
10520 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10521 Merge ../gcc/config/i386/gmon-sol2.c.
10522 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10523 Use C comments.
10524 Merge ../gcc/config/i386/sol2-gc1.asm.
10525 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10526 Use C comments.
10527 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10528 Use C comments.
10529 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10530 * config/i386/t-crtstuff: New file.
10531 * config/i386/t-softfp: New file.
10532 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10533 $(T)crti.o, $(T)crtn.o): Remove.
10534 (gcrt1.o): New rule.
10535 (TARGET_LIBGCC2_CFLAGS): Remove.
10536 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10537 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10538 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10539 * config/sparc/t-sol2: New file.
10540 * config/sparc/t-crtfm: Move to ...
10541 * config/t-crtfm: ... this.
10542 Use $(cpu_type), $<.
10543 * config/t-crtin: New file.
10544 * config/sparc/t-softfp: New file.
10545 * config/sparc/t-softmul: New file.
10546 * config/t-rtems: New file.
10547 * config/t-slibgcc: New file.
10548 * config/t-slibgcc-elf-ver: New file.
10549 * config/t-slibgcc-gld: New file.
10550 * config/t-slibgcc-sld: New file.
10551 * config/t-sol2: New file.
10552 * configure.ac: Include ../config/lib-ld.m4.
10553 Call AC_LIB_PROG_LD_GNU.
10554 Substitute cpu_type.
10555 * configure: Regenerate.
10556
ad5f3d7b
BS
105572011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10558
10559 PR bootstrap/49173
10560 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10561 libgcc-std.ver in the build directory.
10562 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10563 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10564
cdbf4541
BS
105652011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10566
10567 * libgcc-std.ver.in: New file.
10568 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10569 variables.
10570 (libgcc-std.ver): New rule.
10571 * config/t-gnu-prefix: New file.
10572
c8028650
RO
105732011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10574
10575 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10576
4a68b4ca
JM
105772011-05-10 Joseph Myers <joseph@codesourcery.com>
10578
10579 * config/i386/darwin-lib.h: New file.
10580
80cf2e08
JM
105812011-05-10 Joseph Myers <joseph@codesourcery.com>
10582
10583 * config/arm/symbian-lib.h: New.
10584
a3330c9d
CD
105852011-05-04 Chris Demetriou <cgd@google.com>
10586
10587 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10588 (__x86.get_pc_thunk.bx): ...this.
10589 (__morestack): Adjust for rename, remove undef of __i686.
10590
6ace0756
CD
105912011-05-03 Chris Demetriou <cgd@google.com>
10592
10593 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10594
ebb9f8b0
JM
105952011-03-22 Joseph Myers <joseph@codesourcery.com>
10596
10597 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10598 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10599 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10600 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10601 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10602 Remove cases.
10603
9cfa1499
AT
106042011-03-14 Andreas Tobler <andreast@fgznet.ch>
10605
10606 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10607 Adjust copyright year.
10608
457186f6
ILT
106092011-03-07 Ian Lance Taylor <iant@google.com>
10610
10611 * generic-morestack.c (__splitstack_find): Adjust returned stack
10612 pointer to include all registers pushed by __morestack.
10613
58c741a6
DK
106142011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10615
10616 PR target/40125
10617 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10618 (toolexecdir): Calculate and AC_SUBST.
10619 (toolexeclibdir): Likewise.
10620 * Makefile.in (target_noncanonical): Import.
10621 (toolexecdir): Likewise.
10622 (toolexeclibdir): Likewise.
10623 * configure: Regenerate.
10624
26716c44
NF
106252010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10626
10627 PR target/46040
10628 * config/arm/bpabi.h: Rename to...
10629 * config/arm/bpabi-lib.h: ...this.
10630
b595b1a1
RO
106312010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10632
10633 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10634 appropriate.
10635 * configure: Regenerate.
10636
a3abe41c
NF
106372010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10638
10639 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10640 __FLOAT_WORD_ORDER__.
10641 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10642 Delete.
10643
455c8f48
RW
106442010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10645
10646 PR other/46202
10647 * Makefile.in (install-strip): New phony target.
10648
f3824a8b
ILT
106492010-11-07 Ian Lance Taylor <iant@google.com>
10650
10651 PR target/46089
10652 * config/i386/morestack.S (__morestack_large_model): New
10653 function.
10654
18ed6ee4
NF
106552010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10656
10657 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10658 Delete.
10659 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10660
8ac7fdcb
NF
106612010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10662
10663 * config/arm/bpabi.h: New file.
10664 * config/frv/frv-abi.h: New file.
10665
cdb388c2
ILT
106662010-10-01 Ian Lance Taylor <iant@google.com>
10667
10668 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10669 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10670
ef7c141c
L
106712010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10672
10673 PR target/45858
10674 * config.host: Add the missing `$'.
10675
80920132
ME
106762010-09-30 Michael Eager <eager@eagercon.com>
10677
10678 * config.host: Add microblaze*-*-*.
10679 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10680 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10681 udivsi3.asm,umodsi3.asm}: New.
10682
6dace308
ILT
106832010-09-28 Ian Lance Taylor <iant@google.com>
10684
10685 * configure.ac: Adjust CFI test to test assembler directly rather
10686 than checking gcc preprocessor macro.
10687 * configure: Rebuild.
10688
b6110d6d
ILT
106892010-09-27 Ian Lance Taylor <iant@google.com>
10690
10691 * configure.ac: Test whether assembler supports CFI directives.
10692 * config.host: Only add t-stack and i386/t-stack-i386 to
10693 tmake_file if libgcc_cv_cfi is "yes".
10694 * configure: Rebuild.
10695
7458026b
ILT
106962010-09-27 Ian Lance Taylor <iant@google.com>
10697
10698 * generic-morestack.h: New file.
10699 * generic-morestack.c: New file.
10700 * generic-morestack-thread.c: New file.
10701 * config/i386/morestack.S: New file.
10702 * config/t-stack: New file.
10703 * config/i386/t-stack-i386: New file.
10704 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10705 i386/t-stack-i386 to tmake_file.
10706
5b50fc0c
IS
107072010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10708
10709 * Makefile.in (libgcc-extra-parts): Check for static archives and
10710 invoke ranlib after installing them.
10711 (gcc-extra-parts): Likewise.
10712 (install-leaf): Likewise.
10713
b93cf342
L
107142010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10715
10716 * configure: Regenerated.
10717
996b42ef
KT
107182010-09-10 Kai Tietz <kai.tietz@onevision.com>
10719
b93cf342 10720 * configure: Regenerated.
996b42ef 10721
be1c764e
GP
107222010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10723 Andrew Pinski <pinskia@gmail.com>
10724
1da9434b 10725 PR target/40959
be1c764e
GP
10726 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10727
cc0ae0ca
L
107282010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10729
10730 PR target/45524
10731 * configure: Regenerated.
10732
84f47d20
AS
107332010-09-06 Andreas Schwab <schwab@redhat.com>
10734
10735 * configure: Regenerate.
10736
4159fb8d
UB
107372010-09-03 Uros Bizjak <ubizjak@gmail.com>
10738
10739 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10740 64bit targets.
10741 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10742 for 64bit targets.
10743
0df8fcc8
UB
107442010-09-03 Uros Bizjak <ubizjak@gmail.com>
10745 Iain Sandoe <iains@gcc.gnu.org>
10746
10747 PR target/45476
10748 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10749 LIB2FUNCS_EXCLUDE functions.
10750
3c39bca6
AK
107512010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10752
10753 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10754 Include dfp.m4.
10755 * configure: Regenerate.
10756
d78552bd
UB
107572010-09-01 Uros Bizjak <ubizjak@gmail.com>
10758
10759 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10760 i386/t-freebsd to tmake_file.
10761 * config/i386/t-freebsd: New file.
10762 * config/i386/libgcc-bsd.ver: New file.
10763
c5b79d4e
NF
107642010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10765
10766 * config.host (powerpc*-eabispe*): Set tmake_file.
10767 (powerpc*-eabi*): Likewise.
10768 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10769 crtbeginS, crtendS, crtbeginT.
10770
48b09a92
KH
107712010-06-12 Kazu Hirata <kazu@codesourcery.com>
10772
10773 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10774 to tmake_file. Add crtfastmath.o to extra_parts.
10775 * config/mips/t-crtfm: New.
10776
7d296953 107772010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
10778
10779 * config.host (sparc64-*-rtems*): New target.
10780
ed104137
RO
107812010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10782
10783 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10784 assembler syntax.
10785
3f56ef8b
TS
107862010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10787
10788 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10789
8c200350
RO
107902010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10791
10792 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10793 alpha-dec-osf5.0* support.
10794
7d296953 107952010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
10796
10797 * config.host: Add lm32-*-rtems*.
10798
f128db92 107992010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 10800 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
10801
10802 PR target/39048
10803 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10804 like other remaining 32-bit x86 OSes.
10805 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10806 assembler syntax.
10807 * config/i386/libgcc-sol2.ver: New file.
10808 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10809
7d296953 108102010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
10811
10812 PR c/43553
10813 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10814 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10815 is used and substitute set_use_emutls.
10816 * configure: Regenerated.
10817
15baf7f8
TG
108182010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10819
10820 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10821
7f5441df
RO
108222010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10823
10824 PR target/38085
10825 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10826 MULTILIB_CFLAGS.
10827 ($(T)gcrt1.o): Likewise.
10828 ($(T)crt1.o): Likewise.
10829 ($(T)crti.o): Likewise.
10830 ($(T)crtn.o): Likewise.
10831
ef74edbd
RW
108322010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10833
10834 PR other/42980
10835 * Makefile.in (install): Use $(MAKE) string in rule, for
10836 parallel make.
10837
e7c914db
HPN
108382010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10839
10840 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10841 * config/mmix/t-mmix: New file.
10842 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10843
1bcb71c4
JH
108442010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10845
10846 PR java/41991
10847 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10848 SHLIB_MAPFILES.
10849
e6e50811
AG
108502010-01-04 Anthony Green <green@moxielogic.com>
10851
10852 * config/moxie/crti.asm, config/moxie/crtn.asm,
10853 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10854 config/moxie/t-moxie: New files.
10855 * config.host: Add t-moxie-softfp reference.
10856
7d296953 108572009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
10858
10859 PR other/39888
10860 * config/t-slibgcc-darwin: Fix embedded rpaths for
10861 --enable-version-specific-runtime-libs, build extension stub
10862 libs exposing features available from current libgcc_s.
10863
7d296953 108642009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 10865
d78552bd
UB
10866 * config.host: Add lm32 targets.
10867 * config/lm32: New directory.
10868 * config/lm32/libgcc_lm32.h: New file.
10869 * config/lm32/_mulsi3.c: New file.
10870 * config/lm32/_udivmodsi4.c: New file.
10871 * config/lm32/_divsi3.c: New file.
10872 * config/lm32/_modsi3.c: New file.
10873 * config/lm32/_udivsi3.c: New file.
10874 * config/lm32/_umodsi3.c: New file.
10875 * config/lm32/_lshrsi3.S: New file.
10876 * config/lm32/_ashrsi3.S: New file.
10877 * config/lm32/_ashlsi3.S: New file.
10878 * config/lm32/crti.S: New file.
10879 * config/lm32/crtn.S: New file.
10880 * config/lm32/t-lm32: New file.
10881 * config/lm32/t-elf: New file.
10882 * config/lm32/t-uclinux: New file.
aa4945c1 10883
65a324b4
NC
108842009-10-26 Nick Clifton <nickc@redhat.com>
10885
10886 * config.host: Add support for RX target.
10887 * config/rx: New directory.
10888 * config/rx/rx-abi-functions.c: New file. Supplementary
10889 functions for libgcc to support the RX ABI.
10890 * config/rx/rx-abi.h: New file. Supplementary header file for
10891 libgcc RX ABI functions.
10892 * config/rx/t-rx: New file: Makefile fragment for building
10893 libgcc for the RX.
10894
dfb3b0e3
UB
108952009-10-09 Uros Bizjak <ubizjak@gmail.com>
10896
10897 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10898 constraint of y0 to "g".
10899
81dd9fd7
AK
109002009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10901
10902 * config.host: Include the s390 makefile fragments.
10903 * config/s390/32/_fixdfdi.c: New file.
10904 * config/s390/32/_fixsfdi.c: New file.
10905 * config/s390/32/_fixtfdi.c: New file.
10906 * config/s390/32/_fixunsdfdi.c: New file.
10907 * config/s390/32/_fixunssfdi.c: New file.
10908 * config/s390/32/_fixunstfdi.c: New file.
10909 * config/s390/32/t-floattodi: New file.
10910 * config/s390/libgcc-glibc.ver: New file.
10911 * config/s390/t-crtstuff: New file.
10912 * config/s390/t-linux: New file.
10913 * config/s390/t-tpf: New file.
10914
df58e648
RW
109152009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10916
10917 * configure.ac (AC_PREREQ): Bump to 2.64.
10918
79052be3
KK
109192009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10920
10921 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10922
5213506e
RW
109232009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10924
10925 * configure: Regenerate.
10926
a9a25daa
DR
109272009-08-09 Douglas B Rupp <rupp@gnat.com>
10928
10929 * config.host (ia64-hp-*vms*): New target.
10930 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10931 with ia64-hp-*vms*.
10932
6efbd53f
RW
109332009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10934
10935 * configure.ac: Add snippet for maintainer-mode.
10936 * configure: Regenerate.
10937 * Makefile.in (AUTOCONF, configure_deps): New variables.
10938 ($(srcdir)/configure)): New rule, active only with maintainer
10939 mode turned on.
10940
7acf4da6
DD
109412009-06-23 DJ Delorie <dj@redhat.com>
10942
10943 Add MeP port.
10944 * config.host: Add mep support.
10945
54f549af
KT
109462009-06-22 Kai Tietz <kai.tietz@onevision.com>
10947
34481f28 10948 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10949 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
10950
10951 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10952 for mingw targets.
54f549af
KT
10953 * config/i386/64/_multc3.c: Likewise.
10954 * config/i386/64/_powitf2.c: Likewise.
10955 * config/i386/64/eqtf2.c: Likewise.
10956 * config/i386/64/getf2.c: Likewise.
10957 * config/i386/64/letf2.c: Likewise.
10958 * config/i386/64/letf2.c: Likewise.
34481f28
UB
10959 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10960 unsigned long long for x64 mingw targets.
10961 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10962 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 10963
fea96e25
MR
109642009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10965
10966 * config.host (vax-*-linux*): New.
10967
cceb575c
AG
109682009-05-31 Anthony Green <green@moxielogic.com>
10969
10970 * config.host: Add moxie support.
10971 * config/moxie/t-moxie: New file.
10972
7d296953 109732009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
10974
10975 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10976 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 10977
532bfb0a
AJ
109782009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10979
10980 * config.host: Add i386/${host_address}/t-fprules-softfp to
10981 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10982
748086b7
JJ
109832009-04-09 Nick Clifton <nickc@redhat.com>
10984
10985 * config/ia64/tf-signs.c: Change copyright header to refer to
10986 version 3 of the GNU General Public License with version 3.1
10987 of the GCC Runtime Library Exception and to point readers at
10988 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10989 web page.
10990 * config/i386/32/tf-signs.c: Likewise.
10991 * config/libbid/_addsub_dd.c: Likewise.
10992 * config/libbid/_addsub_sd.c: Likewise.
10993 * config/libbid/_addsub_td.c: Likewise.
10994 * config/libbid/_dd_to_df.c: Likewise.
10995 * config/libbid/_dd_to_di.c: Likewise.
10996 * config/libbid/_dd_to_sd.c: Likewise.
10997 * config/libbid/_dd_to_sf.c: Likewise.
10998 * config/libbid/_dd_to_si.c: Likewise.
10999 * config/libbid/_dd_to_td.c: Likewise.
11000 * config/libbid/_dd_to_tf.c: Likewise.
11001 * config/libbid/_dd_to_udi.c: Likewise.
11002 * config/libbid/_dd_to_usi.c: Likewise.
11003 * config/libbid/_dd_to_xf.c: Likewise.
11004 * config/libbid/_df_to_dd.c: Likewise.
11005 * config/libbid/_df_to_sd.c: Likewise.
11006 * config/libbid/_df_to_td.c: Likewise.
11007 * config/libbid/_di_to_dd.c: Likewise.
11008 * config/libbid/_di_to_sd.c: Likewise.
11009 * config/libbid/_di_to_td.c: Likewise.
11010 * config/libbid/_div_dd.c: Likewise.
11011 * config/libbid/_div_sd.c: Likewise.
11012 * config/libbid/_div_td.c: Likewise.
11013 * config/libbid/_eq_dd.c: Likewise.
11014 * config/libbid/_eq_sd.c: Likewise.
11015 * config/libbid/_eq_td.c: Likewise.
11016 * config/libbid/_ge_dd.c: Likewise.
11017 * config/libbid/_ge_sd.c: Likewise.
11018 * config/libbid/_ge_td.c: Likewise.
11019 * config/libbid/_gt_dd.c: Likewise.
11020 * config/libbid/_gt_sd.c: Likewise.
11021 * config/libbid/_gt_td.c: Likewise.
11022 * config/libbid/_isinfd128.c: Likewise.
11023 * config/libbid/_isinfd32.c: Likewise.
11024 * config/libbid/_isinfd64.c: Likewise.
11025 * config/libbid/_le_dd.c: Likewise.
11026 * config/libbid/_le_sd.c: Likewise.
11027 * config/libbid/_le_td.c: Likewise.
11028 * config/libbid/_lt_dd.c: Likewise.
11029 * config/libbid/_lt_sd.c: Likewise.
11030 * config/libbid/_lt_td.c: Likewise.
11031 * config/libbid/_mul_dd.c: Likewise.
11032 * config/libbid/_mul_sd.c: Likewise.
11033 * config/libbid/_mul_td.c: Likewise.
11034 * config/libbid/_ne_dd.c: Likewise.
11035 * config/libbid/_ne_sd.c: Likewise.
11036 * config/libbid/_ne_td.c: Likewise.
11037 * config/libbid/_sd_to_dd.c: Likewise.
11038 * config/libbid/_sd_to_df.c: Likewise.
11039 * config/libbid/_sd_to_di.c: Likewise.
11040 * config/libbid/_sd_to_sf.c: Likewise.
11041 * config/libbid/_sd_to_si.c: Likewise.
11042 * config/libbid/_sd_to_td.c: Likewise.
11043 * config/libbid/_sd_to_tf.c: Likewise.
11044 * config/libbid/_sd_to_udi.c: Likewise.
11045 * config/libbid/_sd_to_usi.c: Likewise.
11046 * config/libbid/_sd_to_xf.c: Likewise.
11047 * config/libbid/_sf_to_dd.c: Likewise.
11048 * config/libbid/_sf_to_sd.c: Likewise.
11049 * config/libbid/_sf_to_td.c: Likewise.
11050 * config/libbid/_si_to_dd.c: Likewise.
11051 * config/libbid/_si_to_sd.c: Likewise.
11052 * config/libbid/_si_to_td.c: Likewise.
11053 * config/libbid/_td_to_dd.c: Likewise.
11054 * config/libbid/_td_to_df.c: Likewise.
11055 * config/libbid/_td_to_di.c: Likewise.
11056 * config/libbid/_td_to_sd.c: Likewise.
11057 * config/libbid/_td_to_sf.c: Likewise.
11058 * config/libbid/_td_to_si.c: Likewise.
11059 * config/libbid/_td_to_tf.c: Likewise.
11060 * config/libbid/_td_to_udi.c: Likewise.
11061 * config/libbid/_td_to_usi.c: Likewise.
11062 * config/libbid/_td_to_xf.c: Likewise.
11063 * config/libbid/_tf_to_dd.c: Likewise.
11064 * config/libbid/_tf_to_sd.c: Likewise.
11065 * config/libbid/_tf_to_td.c: Likewise.
11066 * config/libbid/_udi_to_dd.c: Likewise.
11067 * config/libbid/_udi_to_sd.c: Likewise.
11068 * config/libbid/_udi_to_td.c: Likewise.
11069 * config/libbid/_unord_dd.c: Likewise.
11070 * config/libbid/_unord_sd.c: Likewise.
11071 * config/libbid/_unord_td.c: Likewise.
11072 * config/libbid/_usi_to_dd.c: Likewise.
11073 * config/libbid/_usi_to_sd.c: Likewise.
11074 * config/libbid/_usi_to_td.c: Likewise.
11075 * config/libbid/_xf_to_dd.c: Likewise.
11076 * config/libbid/_xf_to_sd.c: Likewise.
11077 * config/libbid/_xf_to_td.c: Likewise.
11078 * config/libbid/bid128.c: Likewise.
11079 * config/libbid/bid128_2_str.h: Likewise.
11080 * config/libbid/bid128_2_str_macros.h: Likewise.
11081 * config/libbid/bid128_2_str_tables.c: Likewise.
11082 * config/libbid/bid128_add.c: Likewise.
11083 * config/libbid/bid128_compare.c: Likewise.
11084 * config/libbid/bid128_div.c: Likewise.
11085 * config/libbid/bid128_fma.c: Likewise.
11086 * config/libbid/bid128_logb.c: Likewise.
11087 * config/libbid/bid128_minmax.c: Likewise.
11088 * config/libbid/bid128_mul.c: Likewise.
11089 * config/libbid/bid128_next.c: Likewise.
11090 * config/libbid/bid128_noncomp.c: Likewise.
11091 * config/libbid/bid128_quantize.c: Likewise.
11092 * config/libbid/bid128_rem.c: Likewise.
11093 * config/libbid/bid128_round_integral.c: Likewise.
11094 * config/libbid/bid128_scalb.c: Likewise.
11095 * config/libbid/bid128_sqrt.c: Likewise.
11096 * config/libbid/bid128_string.c: Likewise.
11097 * config/libbid/bid128_to_int16.c: Likewise.
11098 * config/libbid/bid128_to_int32.c: Likewise.
11099 * config/libbid/bid128_to_int64.c: Likewise.
11100 * config/libbid/bid128_to_int8.c: Likewise.
11101 * config/libbid/bid128_to_uint16.c: Likewise.
11102 * config/libbid/bid128_to_uint32.c: Likewise.
11103 * config/libbid/bid128_to_uint64.c: Likewise.
11104 * config/libbid/bid128_to_uint8.c: Likewise.
11105 * config/libbid/bid32_to_bid128.c: Likewise.
11106 * config/libbid/bid32_to_bid64.c: Likewise.
11107 * config/libbid/bid64_add.c: Likewise.
11108 * config/libbid/bid64_compare.c: Likewise.
11109 * config/libbid/bid64_div.c: Likewise.
11110 * config/libbid/bid64_fma.c: Likewise.
11111 * config/libbid/bid64_logb.c: Likewise.
11112 * config/libbid/bid64_minmax.c: Likewise.
11113 * config/libbid/bid64_mul.c: Likewise.
11114 * config/libbid/bid64_next.c: Likewise.
11115 * config/libbid/bid64_noncomp.c: Likewise.
11116 * config/libbid/bid64_quantize.c: Likewise.
11117 * config/libbid/bid64_rem.c: Likewise.
11118 * config/libbid/bid64_round_integral.c: Likewise.
11119 * config/libbid/bid64_scalb.c: Likewise.
11120 * config/libbid/bid64_sqrt.c: Likewise.
11121 * config/libbid/bid64_string.c: Likewise.
11122 * config/libbid/bid64_to_bid128.c: Likewise.
11123 * config/libbid/bid64_to_int16.c: Likewise.
11124 * config/libbid/bid64_to_int32.c: Likewise.
11125 * config/libbid/bid64_to_int64.c: Likewise.
11126 * config/libbid/bid64_to_int8.c: Likewise.
11127 * config/libbid/bid64_to_uint16.c: Likewise.
11128 * config/libbid/bid64_to_uint32.c: Likewise.
11129 * config/libbid/bid64_to_uint64.c: Likewise.
11130 * config/libbid/bid64_to_uint8.c: Likewise.
11131 * config/libbid/bid_b2d.h: Likewise.
11132 * config/libbid/bid_binarydecimal.c: Likewise.
11133 * config/libbid/bid_conf.h: Likewise.
11134 * config/libbid/bid_convert_data.c: Likewise.
11135 * config/libbid/bid_decimal_data.c: Likewise.
11136 * config/libbid/bid_decimal_globals.c: Likewise.
11137 * config/libbid/bid_div_macros.h: Likewise.
11138 * config/libbid/bid_dpd.c: Likewise.
11139 * config/libbid/bid_flag_operations.c: Likewise.
11140 * config/libbid/bid_from_int.c: Likewise.
11141 * config/libbid/bid_functions.h: Likewise.
11142 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11143 * config/libbid/bid_inline_add.h: Likewise.
11144 * config/libbid/bid_internal.h: Likewise.
11145 * config/libbid/bid_round.c: Likewise.
11146 * config/libbid/bid_sqrt_macros.h: Likewise.
11147
111482009-04-09 Jakub Jelinek <jakub@redhat.com>
11149
11150 * Makefile.in: Change copyright header to refer to version
11151 3 of the GNU General Public License and to point readers at the
11152 COPYING3 file and the FSF's license web page.
11153 * config.host: Likewise.
11154
633dd061
AM
111552009-04-07 Alan Modra <amodra@bigpond.net.au>
11156
11157 * config.host: Reorder and merge to match config.gcc change.
11158
457d1d00
AM
111592009-04-03 Alan Modra <amodra@bigpond.net.au>
11160
11161 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11162
52c0e446
JM
111632009-03-28 Joseph Myers <joseph@codesourcery.com>
11164
11165 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11166 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11167 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11168 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11169
ba181049
UB
111702009-02-12 Uros Bizjak <ubizjak@gmail.com>
11171
11172 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11173 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11174
c252db20
L
111752009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11176
ba181049
UB
11177 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11178 ia64/t-softfp-compat to tmake_file.
c252db20
L
11179
11180 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11181
11182 * config/ia64/__divxf3.asm: New.
11183 * config/ia64/_fixtfdi.asm: Likewise.
11184 * config/ia64/_fixunstfdi.asm: Likewise.
11185 * config/ia64/_floatditf.asm: Likewise.
11186 * config/ia64/t-fprules-softfp: Likewise.
11187 * config/ia64/t-softfp-compat: Likewise.
11188 * config/ia64/tf-signs.c: Likewise.
11189
c60535f9
BE
111902009-01-18 Ben Elliston <bje@au.ibm.com>
11191
11192 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11193
ce16861e
BE
111942009-01-16 Ben Elliston <bje@au.ibm.com>
11195
11196 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11197 to tmake_file.
11198
bcf4713b
BE
111992009-01-13 Ben Elliston <bje@au.ibm.com>
11200
11201 * config/t-softfp: New file.
11202 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11203 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11204
7d296953 112052009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
11206
11207 * config.host: Add m32r*-*-rtems*.
11208
7d296953 112092008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
11210
11211 * config.host: Add m32c*-*-rtems*.
11212
19523300
RO
112132008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11214
11215 PR bootstrap/33100
11216 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11217 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11218 * configure: Regenerate.
11219 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11220 tmake_file here from gcc/config.gcc.
11221 Move extra_parts here from gcc/config.gcc.
11222 * config/i386/t-sol2: Move here from gcc/config/i386.
11223 Use gcc_srcdir instead of srcdir.
11224
0a4a51c7
AN
112252008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11226
11227 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11228 case.
11229
2a761e46
TS
112302008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11231
11232 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11233
c0451df7
TS
112342008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11235
11236 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11237
358da97e
HS
112382008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11239
11240 Add picoChip port.
11241 * config.host: Add picochip-*-*.
11242
c660f132
BW
112432008-08-06 Bob Wilson <bob.wilson@acm.org>
11244
11245 * config.host: Match more processor names for Xtensa.
11246
d1349557
L
112472008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11248
11249 * config/i386/64/t-softfp-compat: Update comments.
11250
dd7b73c0
L
112512008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11252
11253 * config/i386/64/_divtc3-compat.c: Moved to ...
11254 * config/i386/64/_divtc3.c: Here.
11255
11256 * config/i386/64/_multc3-compat.c: Moved to ...
11257 * config/i386/64/_multc3.c: Here.
11258
11259 * config/i386/64/_powitf2-compat.c: Moved to ...
11260 * config/i386/64/_powitf2.c: Here.
11261
11262 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11263 .c suffix instead of -compat.c.
11264
6e1fab3d
UB
112652008-07-05 Uros Bizjak <ubizjak@gmail.com>
11266
11267 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11268 (_FP_MUL_MEAT_D): Ditto.
11269 (_FP_DIV_MEAT_S): Ditto.
11270 (_FP_DIV_MEAT_D): Ditto.
11271
f92518d7
RS
112722008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11273
11274 * Makefile.in: Add support for __sync_* libgcc functions.
11275
d0aede14
L
112762008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11277
11278 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11279
c174f11c
L
112802008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11281
11282 PR boostrap/36702
11283 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11284 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11285
11286 * config/i386/64/t-fprules-softfp: Moved to ...
11287 * config/i386/64/t-softfp-compat: This. New.
11288
5f464fa2
UB
112892008-07-02 Uros Bizjak <ubizjak@gmail.com>
11290
11291 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11292 Initialize f with 0.0.
11293
ff473280
L
112942008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11295
11296 PR target/36669
11297 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11298
11299 * config/i386/64/_divtc3-compat.c: New.
11300 * config/i386/64/_multc3-compat.c: Likewise.
11301 * config/i386/64/_powitf2-compat.c: Likewise.
11302 * config/i386/64/eqtf2.c: Likewise.
11303 * config/i386/64/getf2.c: Likewise.
11304 * config/i386/64/letf2.c: Likewise.
11305 * config/i386/64/t-fprules-softfp: Likewise.
11306
113072008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11308
11309 * config.host: Add i386/${host_address}/t-fprules-softfp to
11310 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 11311 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
11312
11313 * configure.ac: Set host_address to 64 or 32 for x86.
11314 * configure: Regenerated.
11315
11316 * Makefile.in (config.status): Also depend on
11317 $(srcdir)/config.host.
11318
11319 * config/i386/32/t-fprules-softfp: New.
11320 * config/i386/32/tf-signs.c: Likewise.
11321
11322 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11323
113242008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11325 Uros Bizjak <ubizjak@gmail.com>
11326
11327 * config/i386/32/sfp-machine.h: New.
11328
30551d99
NF
113292008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11330
11331 * config/rs6000/t-ppccomm: Remove rules that conflict with
11332 auto-generated rules.
11333
18c04407
RW
113342008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11335
11336 * configure.ac: sinclude override.m4.
11337 * configure: Regenerate.
11338
10fbe77a
BRF
113392008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11340
11341 * configure: Regenerate.
11342
bc6d4c3f
JM
113432008-06-10 Joseph Myers <joseph@codesourcery.com>
11344
11345 * Makefile.in (DECNUMINC): Remove
11346 -I$(MULTIBUILDTOP)../../libdecnumber.
11347 * gstdint.h: New.
11348
cd985f66
JM
113492008-06-07 Joseph Myers <joseph@codesourcery.com>
11350
11351 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11352 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11353 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11354 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11355 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11356 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11357 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11358 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11359 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11360 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11361 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11362 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11363 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11364 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11365
93fea8d3
AL
113662008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11367
11368 * config.host (sh2[lbe]*-*-linux*): Allow target.
11369
18724e30
NF
113702008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11371
11372 * config/rs6000/t-ppccomm: Add build rules for new files.
11373 (LIB2ADD_ST): New variable.
11374
47583040
AH
113752008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11376
11377 PR target/34210
11378 PR target/35508
11379 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11380 * config/t-avr: New file. Build 16bit libgcc functions.
11381
cf8e67fe
JJ
113822008-03-02 Jakub Jelinek <jakub@redhat.com>
11383
11384 PR target/35401
11385 * config/t-slibgcc-darwin: Make install-leaf dependent on
11386 install-darwin-libgcc-stubs instead of install.
11387
8d8da227
JM
113882008-01-25 Joseph Myers <joseph@codesourcery.com>
11389
11390 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11391 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11392 sh-*-rtemscoff*): Remove cases.
11393
edbf8b16
RS
113942007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11395
11396 * Makefile.in (all): Use install-leaf rather than install.
11397 (install): Split most of the rule into...
11398 (install-leaf): ...this new one.
11399
89deeaff
EK
114002007-12-19 Etsushi Kato <ek.kato@gmail.com>
11401 Paolo Bonzini <bonzini@gnu.org>
11402
11403 PR target/30572
5f464fa2
UB
11404 * Makefile.in: Use @shlib_slibdir@ substitution to get
11405 correct install name on darwin.
89deeaff 11406 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 11407
4081d704
HPN
114082007-12-15 Hans-Peter Nilsson <hp@axis.com>
11409
11410 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11411 cris-*-elf and cris-*-none.
11412 (crisv32-*-linux*): Similar, as cris-*-linux*.
11413
f43e89a3
RIL
114142007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11415
11416 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11417
b4e9c2c6
L
114182007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11419
11420 PR regression/33926
11421 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11422 * configure: Regenerated.
11423
b2a00c89
L
114242007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11425
11426 * Makefile.in (dfp-filenames): Replace decimal_globals,
11427 decimal_data, binarydecimal and convert_data with
11428 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11429 and bid_convert_data, respectively.
11430
8d2a9e0e
CF
114312007-09-17 Chao-ying Fu <fu@mips.com>
11432 Nigel Stephens <nigel@mips.com>
11433
11434 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11435 * Makefile.in (fixed_point): Define.
11436 Check if fixed_point is yes to build support functions.
11437 * configure.ac: Check for fixed_point support.
11438 * configure: Regenerated.
11439 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11440 funcs, modes, from, to.
11441
2b53935d
JJ
114422007-09-11 Janis Johnson <janis187@us.ibm.com
11443
11444 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11445
2533577f
JJ
114462007-09-10 Janis Johnson <janis187@us.ibm.com>
11447
11448 * Makefile.in (dfp-filenames): Remove decUtility, add
11449 decDouble, decPacked, decQuad, decSingle.
11450
3ae3dbd6
HK
114512007-08-27 Hans Kester <hans.kester@ellips.nl>
11452
11453 * config.host : Add x86_64-elf target.
11454
22867d02
L
114552007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11456
11457 * configure.ac (set_have_cc_tls): Add a missing =.
11458 * configure: Regenerated.
11459
6f461e76
L
114602007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11461
11462 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11463 and x86_64-*-linux*.
11464
11465 * config/t-tls: New file.
11466
dfb3b0e3 11467 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
11468
11469 * configure.ac: Include ../config/enable.m4 and
11470 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11471 supports TLS and substitute set_have_cc_tls.
11472 * configure: Regenerated.
11473
200359e8
L
114742007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11475
11476 * Makefile.in: Use libbid for DFP when BID is enabled.
11477
76f5e200
DS
114782007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11479
11480 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 11481 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
11482 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11483
9bd196f0 114842007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 11485 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
11486
11487 PR target/29498
11488 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11489 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11490 * config/i386/t-crtfm: Compile crtfastmath.o with
11491 -minline-all-stringops.
11492
1910440e
RS
114932007-05-10 Richard Sandiford <richard@codesourcery.com>
11494
11495 * config.host (sparc-wrs-vxworks): New target.
11496
7d33c31d
KH
114972007-04-14 Kazu Hirata <kazu@codesourcery.com>
11498
11499 * config.host: Recognize fido.
11500
96fccd0d
JJ
115012007-04-04 Janis Johnson <janis187@us.ibm.com>
11502
11503 * configure: Check host, not target, for decimal float support.
11504
577565f9
UB
115052007-04-03 Uros Bizjak <ubizjak@gmail.com>
11506
11507 * config/i386/t-crtpc: New file.
11508 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 11509 (x86_64-*-linux*): Ditto.
577565f9 11510
ccf8e764
RH
115112007-02-30 Kai Tietz <kai.tietz@onevision.com>
11512
11513 * config.host (x86_64-*-mingw*): New target.
11514
79b87c74
MM
115152007-03-23 Michael Meissner <michael.meissner@amd.com>
11516 H.J. Lu <hongjiu.lu@intel.com>
11517
11518 * Makefile.in (enable_decimal_float): New.
11519 (DECNUMINC): Add
11520 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11521 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11522 (decbits-filenames): This.
11523 (decbits-objects): New.
11524 (libgcc-objects): Add $(decbits-objects).
11525
11526 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11527 Substitute enable_decimal_float.
11528 * configure: Regenerated.
11529
8fce4e31
HPN
115302007-03-19 Hans-Peter Nilsson <hp@axis.com>
11531
11532 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11533
e8bb4597
BM
115342007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11535
11536 * Makefile.in (install-info): New dummy target.
11537
344189f9
BS
115382007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11539
11540 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11541
ac84c172
BM
115422007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11543
11544 * Makefile.in: Add install-html and install-pdf dummy
11545 targets.
11546
cd5c2357
RS
115472007-02-05 Roger Sayle <roger@eyesopen.com>
11548 Daniel Jacobowitz <dan@codesourcery.com>
11549
11550 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11551 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11552 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11553
d9a66f98
JJ
115542007-01-29 Janis Johnson <janis187@us.ibm.com>
11555
11556 * Makefile.in (dec-filenames): Add decExcept.
11557
9891ec5f
DJ
115582007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11559
11560 PR bootstrap/30469
11561 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11562 -fprofile-use.
11563
d6efbf5a
DJ
115642007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11565
11566 * configure.ac: Add --enable-version-specific-runtime-libs.
11567 Correct $slibdir default.
11568 * configure: Regenerated.
11569
17caeff2
JM
115702007-01-23 Joseph Myers <joseph@codesourcery.com>
11571
11572 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11573
5ea41e3a
AP
115742007-01-21 Andrew Pinski <pinskia@gmail.com>
11575
11576 PR target/30519
11577 * config.host (alpha*-*-linux*): Set extra_parts.
11578
26900826
KK
115792007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11580
11581 * config/sh/t-linux: New.
11582 * config.host (sh*-*-linux*): Set tmake_file.
11583
97af925b
DJ
115842007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11585
11586 * Makefile.in (install): Handle multilibs.
11587
b0088af7
BM
115882007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11589
11590 * Makefile.in: Added .PHONY entry for documentation targets.
11591
e0a9456a
BM
115922007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11593
11594 * Makefile.in: Add empty info, html, dvi, pdf targets.
11595
7fd453b4
MS
115962007-01-04 Mike Stump <mrs@apple.com>
11597
11598 * Makefile.in (MAKEINFO): Remove.
11599 (PERL): Likewise.
11600
14e8fc8b
PB
116012007-01-04 Paolo Bonzini <bonzini@gnu.org>
11602
11603 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11604 * configure: Regenerate.
11605 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 11606 (gcc_objdir): Use it.
14e8fc8b 11607
1555beba
DJ
116082007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11609
11610 * config.host (ia64*-*-linux*): Set tmake_file.
11611
79e6eaeb
DJ
116122007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11613
11614 * Makefile.in (version): Define.
11615
fa958513
DJ
116162007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11617 Paolo Bonzini <bonzini@gnu.org>
11618
11619 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11620 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11621 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11622 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11623 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11624 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11625 * configure: Generated.
818ab71a 11626\f
c48514be 11627Copyright (C) 2007-2021 Free Software Foundation, Inc.
818ab71a
JJ
11628
11629Copying and distribution of this file, with or without modification,
11630are permitted in any medium without royalty provided the copyright
11631notice and this notice are preserved.