]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
libgcc: Generated tables for _BitInt <-> _Decimal* conversions [PR102989]
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
d820cd78
GA
12023-09-05 Yang Yujie <yangyujie@loongson.cn>
2
3 * config.host: add loongarch*-elf target.
4
886afed6
GA
52023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
6
7 PR libgcc/110956
8 * unwind-dw2-fde.c: Associate object with address of unwinding
9 table.
10
4b92dba7
GA
112023-08-07 John Ericson <git@JohnEricson.me>
12
13 * configure: Regenerate.
14
152023-08-07 Alan Modra <amodra@gmail.com>
16
17 * configure: Regenerate.
18
82c2a34b
GA
192023-07-23 Andrew Pinski <apinski@marvell.com>
20
21 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
22 (riscv*-*-freebsd*): Likewise.
23 * config/riscv/t-crtstuff: New file.
24
49bed11d
GA
252023-07-19 liuhongt <hongtao.liu@intel.com>
26
27 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
28 files.
29
af3d3ce3
GA
302023-07-11 Florian Weimer <fweimer@redhat.com>
31
32 PR libgcc/110179
33 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
34 implicit conversion of pointer value to integer.
35
738808bd
GA
362023-07-06 Kito Cheng <kito.cheng@sifive.com>
37
38 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
39 (FP_HANDLE_EXCEPTIONS): Ditto.
40
e517d3f5
GA
412023-06-19 Andrew Stubbs <ams@codesourcery.com>
42
43 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
44 * config/gcn/lib2-divmod.c: Likewise.
45 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
46 new vector libfuncs.
47 * config/gcn/t-amdgcn: Add new files.
48 * config/gcn/amdgcn_veclib.h: New file.
49 * config/gcn/lib2-vec_divmod-di.c: New file.
50 * config/gcn/lib2-vec_divmod-hi.c: New file.
51 * config/gcn/lib2-vec_divmod-qi.c: New file.
52 * config/gcn/lib2-vec_divmod.c: New file.
53
542023-06-19 Andrew Stubbs <ams@codesourcery.com>
55
56 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
57 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
58 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
59 * config/gcn/lib2-divmod-hi.c: Removed.
60
8c5b1365
GA
612023-06-07 Florian Weimer <fweimer@redhat.com>
62
63 PR libgcc/109712
64 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
65 parsing eh_frame.
66
14da7648
GA
672023-06-05 Kewen Lin <linkw@linux.ibm.com>
68
69 * config/i386/morestack.S: Use @init_array rather than
70 @progbits for section type of section .init_array.
71 * config/rs6000/morestack.S: Likewise.
72 * config/s390/morestack.S: Likewise.
73
742023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
75
76 * config/mips/lib1funcs.S: New file.
77 define __speculation_barrier and include mips16.S.
78 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
79 define LIB1ASMFUNCS as _speculation_barrier.
80 set version info for __speculation_barrier.
81 * config/mips/libgcc-mips.ver: New file.
82 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
83 included in lib1funcs.S now.
84
321cee7e
GA
852023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
86
87 PR libgcc/109670
88 * unwind-dw2-fde.c: Fix radix sort buffer management.
89
902023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
91
92 PR libgcc/109685
93 * unwind-dw2-fde.c: Free sort array in atomic fast path.
94
5df01f89
GA
952023-05-19 Iain Sandoe <iain@sandoe.co.uk>
96
97 * config.host: Arrange to set min Darwin OS versions from
98 the configured host version.
99 * config/darwin10-unwind-find-enc-func.c: Do not use current
100 headers, but declare the nexessary structures locally to the
101 versions in use for Mac OSX 10.6.
102 * config/t-darwin: Amend to handle configured min OS
103 versions.
104 * config/t-darwin-min-1: New.
105 * config/t-darwin-min-5: New.
106 * config/t-darwin-min-8: New.
107
3427b51b
GA
1082023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
109
110 * unwind-dw2-fde.c: Fix assert in non-atomic path.
111
1122023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
113
114 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
115
d7cb9720
GA
1162023-05-02 Patrick O'Neill <patrick@rivosinc.com>
117
118 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
119 sequentially consistent LR.aqrl/SC.rl pairs.
120
1fc8da95
GA
1212023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
122
123 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
124 -DTARGET_HAS_NO_HW_DIVIDE.
125
4a3dbcbd
GA
1262023-04-27 Hans-Peter Nilsson <hp@axis.com>
127
128 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
129 -DTARGET_HAS_NO_HW_DIVIDE.
130
1312023-04-26 Patrick O'Neill <patrick@rivosinc.com>
132
133 PR target/104338
134 * config/riscv/atomic.c: Add reference to duplicate logic.
135
0f04ebb4
GA
1362023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
137
138 PR target/109402
139 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
140 stack manipulations.
141
5229788d
GA
1422023-04-05 John David Anglin <danglin@gcc.gnu.org>
143
144 PR target/109374
145 * config/pa/milli64.S (RETURN_COLUMN): Define.
146 ($$divI): Add CFI directives.
147 ($$divU): Likewise.
148 ($$remI): Likewise.
149 ($$remU): Likewise.
150
09abeb73
GA
1512023-03-19 Stafford Horne <shorne@gmail.com>
152
153 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
154 statement clearing existing exceptions.
155
a9835599
GA
1562023-03-13 Max Filippov <jcmvbkbc@gmail.com>
157
158 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
159 * config/xtensa/crtn.S: Likewise.
160 * config/xtensa/lib1funcs.S: Likewise.
161 * config/xtensa/lib2funcs.S: Likewise.
162
44ea7318
GA
1632023-03-12 Jakub Jelinek <jakub@redhat.com>
164
165 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
166 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
167 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
168 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
169 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
170 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
171 * soft-fp/floatundibf.c: New file.
172 * soft-fp/floatdibf.c: New file.
173
c8065441
GA
1742023-03-10 Jakub Jelinek <jakub@redhat.com>
175
176 PR target/107703
177 * soft-fp/floattibf.c: New file.
178 * soft-fp/floatuntibf.c: New file.
179 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
180 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
181 floatuntibf.
182 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
183
6a87fdd3
GA
1842023-03-08 Kewen Lin <linkw@linux.ibm.com>
185
186 PR libgcc/108727
187 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
188 bump size.
189
3dd4ada4
GA
1902023-03-06 Michael Meissner <meissner@linux.ibm.com>
191
192 PR target/107299
193 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
194 whether long double is IBM or IEEE.
195 (INFINITY): Likewise.
196 (FABS): Likewise.
197 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
198 (INFINITY): Likewise.
199 * config/rs6000/quad-float128.h (TF): Remove definition.
200 (TFtype): Define to be long double or _Float128.
201 (TCtype): Define to be _Complex long double or _Complex _Float128.
202 * libgcc2.h (TFtype): Allow machine config files to override this.
203 (TCtype): Likewise.
204 * soft-fp/quad.h (TFtype): Likewise.
205
ae719781
GA
2062023-02-13 Kito Cheng <kito.cheng@sifive.com>
207
208 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
209 * config/riscv/value-unwind.h: New.
210
49e52115
GA
2112023-02-03 Christophe Lyon <christophe.lyon@arm.com>
212
213 * config/arm/pr-support.c (__gnu_unwind_execute): Use
214 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
215
897a0502
GA
2162023-01-30 Flavio Cruz <flaviocruz@gmail.com>
217
218 * config.host: Recognize x86_64-*-gnu* targets.
219 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
220 TODO for now.
221
607f278a
GA
2222023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
223
224 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
225 "0xb5".
226
2272023-01-23 Andrea Corallo <andrea.corallo@arm.com>
228 Tejas Belagod <tbelagod@arm.com>
229 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
230
231 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
232 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
233 with AUTG if found.
234 * config/arm/unwind-arm.c (struct pseudo_regs): New.
235 (phase1_vrs): Introduce new field to store pseudo-reg state.
236 (phase2_vrs): Likewise.
237 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
238 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
239 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
240
9f98cfa5
GA
2412023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
242
243 PR target/107678
244 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
245 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
246 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
247 encode the return address signing state.
248 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
249 Check current return address signing state.
250 (aarch64_frob_update_contex): Remove.
251
5013c3bb
GA
2522023-01-13 John David Anglin <danglin@gcc.gnu.org>
253
254 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
255 pa/t-pa64-linux.
256 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
257 instead of pa/t-hpux and pa/t-pa64.
258 * config/pa/linux-atomic.c: Define u32 type.
259 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
260 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
261 defines to use atomic_load calls for type.
262 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
263 * config/pa/sync-libfuncs.c: New file.
264 * config/pa/t-netbsd (LIB2ADD_ST): Define.
265 * config/pa/t-openbsd (LIB2ADD_ST): Define.
266 * config/pa/t-pa64-hpux: New file.
267 * config/pa/t-pa64-linux: New file.
268
2692023-01-13 Jonathan Wakely <jwakely@redhat.com>
270
271 PR libstdc++/108331
272 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
273 struct matching the previous __gthread_mutex_t struct.
274 (__GTHREAD_LEGACY_MUTEX_T): Define.
275
2762023-01-13 Seija Kijin <doremylover456@gmail.com>
277
278 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
279 unified syntax.
280
d901bf8a
GA
2812023-01-07 LIU Hao <lh_mouse@126.com>
282
283 PR middle-end/108300
284 * config/i386/enable-execute-stack-mingw32.c: Define
285 `WIN32_LEAN_AND_MEAN` before <windows.h>.
286 * libgcc2.c: Likewise.
287 * unwind-generic.h: Likewise.
288
0f8fbb57
GA
2892023-01-03 Florian Weimer <fweimer@redhat.com>
290
291 * unwind-dw2-execute_cfa.h: New file. Extracted from
292 the execute_cfa_program function in unwind-dw2.c.
293 * unwind-dw2.c (execute_cfa_program_generic): New function.
294 (execute_cfa_program_specialized): Likewise.
295 (execute_cfa_program): Call execute_cfa_program_specialized
296 or execute_cfa_program_generic, as appropriate.
297
2982023-01-03 Florian Weimer <fweimer@redhat.com>
299
300 Revert:
301 2023-01-03 Florian Weimer <fweimer@redhat.com>
302
303 * unwind-dw2.c (dwarf_reg_size): New function.
304 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
305 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
306 (uw_init_context_1): Do not initialize dwarf_reg_size_table
307 if not in use.
308
3092023-01-03 Florian Weimer <fweimer@redhat.com>
310
311 Revert:
312 2023-01-03 Florian Weimer <fweimer@redhat.com>
313
314 * unwind-dw2-execute_cfa.h: New file. Extracted from
315 the execute_cfa_program function in unwind-dw2.c.
316 * unwind-dw2.c (execute_cfa_program_generic): New function.
317 (execute_cfa_program_specialized): Likewise.
318 (execute_cfa_program): Call execute_cfa_program_specialized
319 or execute_cfa_program_generic, as appropriate.
320
fee53a31
GA
3212023-01-02 Florian Weimer <fweimer@redhat.com>
322
323 * unwind-dw2-execute_cfa.h: New file. Extracted from
324 the execute_cfa_program function in unwind-dw2.c.
325 * unwind-dw2.c (execute_cfa_program_generic): New function.
326 (execute_cfa_program_specialized): Likewise.
327 (execute_cfa_program): Call execute_cfa_program_specialized
328 or execute_cfa_program_generic, as appropriate.
329
3302023-01-02 Florian Weimer <fweimer@redhat.com>
331
332 * unwind-dw2.c (dwarf_reg_size): New function.
333 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
334 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
335 (uw_init_context_1): Do not initialize dwarf_reg_size_table
336 if not in use.
337
bc38aee7
GA
3382022-12-25 Jonathan Yong <10walls@gmail.com>
339
340 * config/i386/gthr-win32.h: undef CC_NONE
341
843c4d2f
GA
3422022-12-24 Iain Sandoe <iain@sandoe.co.uk>
343
344 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
345 install of libgcc_s.1.dylib when the installation is into the build
346 gcc directory.
347
376d6b8c
GA
3482022-12-23 Eric Botcazou <ebotcazou@adacore.com>
349
350 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
351 as well as new i386/t-slibgcc-mingw fragment.
352 (x86_64-*-mingw*): Likewise.
353 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
354 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
355 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
356 Include stdlib.h instead of errno.h and do not include _mingw.h.
357 (CONST_CAST2): Add specific definition for C++.
358 (ATTRIBUTE_UNUSED): New macro.
359 (__UNUSED_PARAM): Delete.
360 Define WIN32_LEAN_AND_MEAN before including windows.h.
361 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
362 (__gthread_objc_init_thread_system): Likewise.
363 (__gthread_objc_thread_get_data): Minor tweak.
364 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
365 (__gthread_objc_condition_deallocate): Likewise.
366 (__gthread_objc_condition_wait): Likewise.
367 (__gthread_objc_condition_broadcast): Likewise.
368 (__gthread_objc_condition_signal): Likewise.
369 Include sys/time.h.
370 (__gthr_win32_DWORD): New typedef.
371 (__gthr_win32_HANDLE): Likewise.
372 (__gthr_win32_CRITICAL_SECTION): Likewise.
373 (__gthr_win32_CONDITION_VARIABLE): Likewise.
374 (__gthread_t): Adjust.
375 (__gthread_key_t): Likewise.
376 (__gthread_mutex_t): Likewise.
377 (__gthread_recursive_mutex_t): Likewise.
378 (__gthread_cond_t): New typedef.
379 (__gthread_time_t): Likewise.
380 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
381 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
382 (__GTHREAD_COND_INIT_FUNCTION): Define.
383 (__GTHREAD_TIME_INIT): Likewise.
384 (__gthr_i486_lock_cmp_xchg): Delete.
385 (__gthr_win32_create): Declare.
386 (__gthr_win32_join): Likewise.
387 (__gthr_win32_self): Likewise.
388 (__gthr_win32_detach): Likewise.
389 (__gthr_win32_equal): Likewise.
390 (__gthr_win32_yield): Likewise.
391 (__gthr_win32_mutex_destroy): Likewise.
392 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
393 (__gthr_win32_cond_broadcast): Likewise.
394 (__gthr_win32_cond_signal): Likewise.
395 (__gthr_win32_cond_wait): Likewise.
396 (__gthr_win32_cond_timedwait): Likewise.
397 (__gthr_win32_recursive_mutex_init_function): Delete.
398 (__gthr_win32_recursive_mutex_lock): Likewise.
399 (__gthr_win32_recursive_mutex_unlock): Likewise.
400 (__gthr_win32_recursive_mutex_destroy): Likewise.
401 (__gthread_create): New inline function.
402 (__gthread_join): Likewise.
403 (__gthread_self): Likewise.
404 (__gthread_detach): Likewise.
405 (__gthread_equal): Likewise.
406 (__gthread_yield): Likewise.
407 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
408 (__gthread_cond_broadcast): Likewise.
409 (__gthread_cond_signal): Likewise.
410 (__gthread_cond_wait): Likewise.
411 (__gthread_cond_timedwait): Likewise.
412 (__GTHREAD_WIN32_INLINE): New macro.
413 (__GTHREAD_WIN32_COND_INLINE): Likewise.
414 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
415 Define WIN32_LEAN_AND_MEAN before including windows.h.
416 (__gthread_once): Minor tweaks.
417 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
418 (__gthread_key_delete): Minor tweak.
419 (__gthread_getspecific): Likewise.
420 (__gthread_setspecific): Likewise.
421 (__gthread_mutex_init_function): Reimplement.
422 (__gthread_mutex_destroy): Likewise.
423 (__gthread_mutex_lock): Likewise.
424 (__gthread_mutex_trylock): Likewise.
425 (__gthread_mutex_unlock): Likewise.
426 (__gthr_win32_abs_to_rel_time): Declare.
427 (__gthread_recursive_mutex_init_function): Reimplement.
428 (__gthread_recursive_mutex_destroy): Likewise.
429 (__gthread_recursive_mutex_lock): Likewise.
430 (__gthread_recursive_mutex_trylock): Likewise.
431 (__gthread_recursive_mutex_unlock): Likewise.
432 (__gthread_cond_destroy): New inline function.
433 (__gthread_cond_wait_recursive): Likewise.
434 * config/i386/gthr-win32.c: Delete everything.
435 Include gthr-win32.h to get the out-of-line version of inline routines.
436 Add compile-time checks for the local version of the Win32 types.
437 * config/i386/gthr-win32-cond.c: New file.
438 * config/i386/gthr-win32-thread.c: Likewise.
439 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
440 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
441 the static version of libgcc.
442 * config/i386/t-slibgcc-mingw: New file.
443 * config/i386/libgcc-mingw.ver: Likewise.
444
5fb1e674
GA
4452022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
446
447 * unwind-dw2-fde.c: Initialize fde object lazily when
448 the first exception tries to pass through.
449
4502022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
451
452 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
453
e6110da4
GA
4542022-12-08 Max Filippov <jcmvbkbc@gmail.com>
455
456 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
457 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
458 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
459 (XSHAL_ABI): Remove stray symbols from macro definitions.
460
4bc2d9f6
GA
4612022-12-07 Max Filippov <jcmvbkbc@gmail.com>
462
463 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
464 xtensa-config-builtin.h.
465 * config/xtensa/crtn.S: Likewise.
466 * config/xtensa/lib1funcs.S: Likewise.
467 * config/xtensa/lib2funcs.S: Likewise.
468 * config/xtensa/xtensa-config-builtin.h: New File.
469
05788e9b
GA
4702022-11-04 Florian Weimer <fweimer@redhat.com>
471
472 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
473 values actually used by BFD ld.
474
00716b77
GA
4752022-10-23 LIU Hao <lh_mouse@126.com>
476
477 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
478 libobjc, instead of 'gthr.h'
479
87f9c4a4
GA
4802022-10-19 LIU Hao <lh_mouse@126.com>
481
482 * config.host: Add new cases for `mcf` thread model
483 * config/i386/gthr-mcf.h: New file
484 * config/i386/t-mingw-mcfgthread: New file
485 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
486 * configure: Regenerate
487
21de009f
GA
4882022-10-18 Jonathan Wakely <jwakely@redhat.com>
489
490 * Makefile.in: Quote variable.
491
6237663c
GA
4922022-10-17 H.J. Lu <hjl.tools@gmail.com>
493
494 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
495 argument.
496 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
497 _Unwind_Frames_Increment.
498 (_Unwind_ForcedUnwind_Phase2): Likewise.
499 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
500 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
501 return address on normal stack doesn't match the return address
502 on shadow stack.
503
5042022-10-17 Florian Weimer <fweimer@redhat.com>
505
506 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
507 and reduce its size.
508
baeec7cc
GA
5092022-10-14 Jakub Jelinek <jakub@redhat.com>
510
511 * config/i386/t-softfp (softfp_extensions): Add bfsf.
512 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
513 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
514 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
515 -msse2.
516 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
517 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
518 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
519 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
520 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
521 * soft-fp/brain.h: New file.
522 * soft-fp/truncsfbf2.c: New file.
523 * soft-fp/truncdfbf2.c: New file.
524 * soft-fp/truncxfbf2.c: New file.
525 * soft-fp/trunctfbf2.c: New file.
526 * soft-fp/trunchfbf2.c: New file.
527 * soft-fp/truncbfhf2.c: New file.
528 * soft-fp/extendbfsf2.c: New file.
529
781f477a
GA
5302022-10-12 Martin Liska <mliska@suse.cz>
531
532 * libgcov-driver.c: Use new function.
533 * libgcov.h (gcov_write_summary): Rename to ...
534 (gcov_write_object_summary): ... this.
535
ab332cd7
GA
5362022-10-11 Olivier Hainque <hainque@adacore.com>
537
538 * config.host (*vxworks*): When enable_shared, add
539 libgcc and crtstuff "shared" fragments for rtp except
540 large code model.
541 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
542 the list of fragments.
543
629d04d3
GA
5442022-10-06 Jakub Jelinek <jakub@redhat.com>
545
546 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
547 fs->regs.how[X] instead of fs->regs.reg[X].how.
548
5492022-10-06 Jakub Jelinek <jakub@redhat.com>
550
551 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
552 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
553 REG_UNDEFINED): New anonymous enum, moved from inside of
554 struct frame_state_reg_info.
555 (struct frame_state_reg_info): Remove reg[].how element and the
556 anonymous enum there. Add how element.
557 * unwind-dw2.c: Include stddef.h.
558 (uw_frame_state_for): Don't clear first
559 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
560 (execute_cfa_program, __frame_state_for, uw_update_context_1,
561 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
562 or fs.regs.how[X] instead of fs.regs.reg[X].how.
563 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
564 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
565 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
566 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
567 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
568 Likewise.
569 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
570 Likewise.
571 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
572 * config/arc/linux-unwind.h (arc_fallback_frame_state,
573 arc_frob_update_context): Likewise.
574 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
575 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
576 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
577 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
578 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
579 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
580 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
581 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
582 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
583 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
584 x86_fallback_frame_state): Likewise.
585 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
586 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
587 x86_fallback_frame_state): Likewise.
588 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
589 Likewise.
590 * config/i386/dragonfly-unwind.h
591 (x86_64_dragonfly_fallback_frame_state): Likewise.
592 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
593 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
594 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
595 Likewise.
596 * config/aarch64/freebsd-unwind.h
597 (aarch64_freebsd_fallback_frame_state): Likewise.
598 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
599 Likewise.
600 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
601 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
602 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
603 Likewise.
604 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
605 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
606 Likewise.
607 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
608 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
609 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
610 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
611
42231015
GA
6122022-10-02 Olivier Hainque <hainque@adacore.com>
613
614 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
615 -I options for gcc/include and gcc/include-fixed at the end
616 and make them -isystem.
617
6182022-10-02 Olivier Hainque <hainque@adacore.com>
619
620 * config/gthr-vxworks.h: Prevent Wpragma warning for the
621 pragma diagnostics on Wstrict-prototypes.
622
bbdcdf5c
GA
6232022-09-29 Olivier Hainque <hainque@adacore.com>
624
625 * config/vxcrtstuff.c: Improve the comment attached to the use
626 of auto-host.h and of __dso_handle. Remove redundant guard on
627 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
628
220c4d8e
GA
6292022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
630
631 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
632 for the non-fast-path case. Drop destructor priority.
633
279c6715
GA
6342022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
635
636 * unwind-dw2-fde.c: (release_register_frames) Remember
637 when the btree has been destroyed.
638 (__deregister_frame_info_bases) Disable the assert when
639 shutting down.
640
0990a778
GA
6412022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
642
643 * unwind-dw2-fde.c: Replace uintptr_t with typedef
644 for __UINTPTR_TYPE__.
645 * unwind-dw2-btree.h: Likewise.
646
7ee0fa10
GA
6472022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
648
649 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
650 (__register_frame_info_table_bases): Use btree in atomic fast path.
651 (__deregister_frame_info_bases): Likewise.
652 (_Unwind_Find_FDE): Likewise.
653 (base_from_object): Make parameter const.
654 (classify_object_over_fdes): Add query-only mode.
655 (get_pc_range): Compute PC range for lookup.
656 * unwind-dw2-fde.h (last_fde): Make parameter const.
657 * unwind-dw2-btree.h: New file.
658
542c60c4
GA
6592022-08-31 Martin Liska <mliska@suse.cz>
660
661 * config.host: Remove hppa.
662
3de9fb32
GA
6632022-08-30 Martin Liska <mliska@suse.cz>
664
665 * config.host: Remove the port.
666
16f542d6
GA
6672022-08-26 Martin Liska <mliska@suse.cz>
668
669 * config.host: Remove cr16 related stuff.
670 * config/cr16/crti.S: Removed.
671 * config/cr16/crtlibid.S: Removed.
672 * config/cr16/crtn.S: Removed.
673 * config/cr16/divmodhi3.c: Removed.
674 * config/cr16/lib1funcs.S: Removed.
675 * config/cr16/t-cr16: Removed.
676 * config/cr16/t-crtlibid: Removed.
677 * config/cr16/unwind-cr16.c: Removed.
678 * config/cr16/unwind-dw2.h: Removed.
679
47a61e65
GA
6802022-08-16 Kito Cheng <kito.cheng@sifive.com>
681
682 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
683 (_FP_NANFRAC_H): Ditto.
684 (_FP_NANSIGN_H): Ditto.
685 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
686 routines.
687 (softfp_truncations): Ditto.
688 (softfp_extras): Ditto.
689 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
690
6912022-08-16 Kito Cheng <kito.cheng@sifive.com>
692
693 * soft-fp/fixhfdi.c: New.
694 * soft-fp/fixhfsi.c: Likewise.
695 * soft-fp/fixunshfdi.c: Likewise.
696 * soft-fp/fixunshfsi.c: Likewise.
697 * soft-fp/floatdihf.c: Likewise.
698 * soft-fp/floatsihf.c: Likewise.
699 * soft-fp/floatundihf.c: Likewise.
700 * soft-fp/floatunsihf.c: Likewise.
701 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
702 lines and update URL for license.
703 * soft-fp/addsf3.c: Likewise.
704 * soft-fp/addtf3.c: Likewise.
705 * soft-fp/divdf3.c: Likewise.
706 * soft-fp/divsf3.c: Likewise.
707 * soft-fp/divtf3.c: Likewise.
708 * soft-fp/double.h: Likewise.
709 * soft-fp/eqdf2.c: Likewise.
710 * soft-fp/eqhf2.c: Likewise.
711 * soft-fp/eqsf2.c: Likewise.
712 * soft-fp/eqtf2.c: Likewise.
713 * soft-fp/extenddftf2.c: Likewise.
714 * soft-fp/extended.h: Likewise.
715 * soft-fp/extendhfdf2.c: Likewise.
716 * soft-fp/extendhfsf2.c: Likewise.
717 * soft-fp/extendhftf2.c: Likewise.
718 * soft-fp/extendhfxf2.c: Likewise.
719 * soft-fp/extendsfdf2.c: Likewise.
720 * soft-fp/extendsftf2.c: Likewise.
721 * soft-fp/extendxftf2.c: Likewise.
722 * soft-fp/fixdfdi.c: Likewise.
723 * soft-fp/fixdfsi.c: Likewise.
724 * soft-fp/fixdfti.c: Likewise.
725 * soft-fp/fixhfti.c: Likewise.
726 * soft-fp/fixsfdi.c: Likewise.
727 * soft-fp/fixsfsi.c: Likewise.
728 * soft-fp/fixsfti.c: Likewise.
729 * soft-fp/fixtfdi.c: Likewise.
730 * soft-fp/fixtfsi.c: Likewise.
731 * soft-fp/fixtfti.c: Likewise.
732 * soft-fp/fixunsdfdi.c: Likewise.
733 * soft-fp/fixunsdfsi.c: Likewise.
734 * soft-fp/fixunsdfti.c: Likewise.
735 * soft-fp/fixunshfti.c: Likewise.
736 * soft-fp/fixunssfdi.c: Likewise.
737 * soft-fp/fixunssfsi.c: Likewise.
738 * soft-fp/fixunssfti.c: Likewise.
739 * soft-fp/fixunstfdi.c: Likewise.
740 * soft-fp/fixunstfsi.c: Likewise.
741 * soft-fp/fixunstfti.c: Likewise.
742 * soft-fp/floatdidf.c: Likewise.
743 * soft-fp/floatdisf.c: Likewise.
744 * soft-fp/floatditf.c: Likewise.
745 * soft-fp/floatsidf.c: Likewise.
746 * soft-fp/floatsisf.c: Likewise.
747 * soft-fp/floatsitf.c: Likewise.
748 * soft-fp/floattidf.c: Likewise.
749 * soft-fp/floattihf.c: Likewise.
750 * soft-fp/floattisf.c: Likewise.
751 * soft-fp/floattitf.c: Likewise.
752 * soft-fp/floatundidf.c: Likewise.
753 * soft-fp/floatundisf.c: Likewise.
754 * soft-fp/floatunditf.c: Likewise.
755 * soft-fp/floatunsidf.c: Likewise.
756 * soft-fp/floatunsisf.c: Likewise.
757 * soft-fp/floatunsitf.c: Likewise.
758 * soft-fp/floatuntidf.c: Likewise.
759 * soft-fp/floatuntihf.c: Likewise.
760 * soft-fp/floatuntisf.c: Likewise.
761 * soft-fp/floatuntitf.c: Likewise.
762 * soft-fp/gedf2.c: Likewise.
763 * soft-fp/gesf2.c: Likewise.
764 * soft-fp/getf2.c: Likewise.
765 * soft-fp/half.h: Likewise.
766 * soft-fp/ledf2.c: Likewise.
767 * soft-fp/lesf2.c: Likewise.
768 * soft-fp/letf2.c: Likewise.
769 * soft-fp/muldf3.c: Likewise.
770 * soft-fp/mulsf3.c: Likewise.
771 * soft-fp/multf3.c: Likewise.
772 * soft-fp/negdf2.c: Likewise.
773 * soft-fp/negsf2.c: Likewise.
774 * soft-fp/negtf2.c: Likewise.
775 * soft-fp/op-1.h: Likewise.
776 * soft-fp/op-2.h: Likewise.
777 * soft-fp/op-4.h: Likewise.
778 * soft-fp/op-8.h: Likewise.
779 * soft-fp/op-common.h: Likewise.
780 * soft-fp/quad.h: Likewise.
781 * soft-fp/single.h: Likewise.
782 * soft-fp/soft-fp.h: Likewise.
783 * soft-fp/subdf3.c: Likewise.
784 * soft-fp/subsf3.c: Likewise.
785 * soft-fp/subtf3.c: Likewise.
786 * soft-fp/truncdfhf2.c: Likewise.
787 * soft-fp/truncdfsf2.c: Likewise.
788 * soft-fp/truncsfhf2.c: Likewise.
789 * soft-fp/trunctfdf2.c: Likewise.
790 * soft-fp/trunctfhf2.c: Likewise.
791 * soft-fp/trunctfsf2.c: Likewise.
792 * soft-fp/trunctfxf2.c: Likewise.
793 * soft-fp/truncxfhf2.c: Likewise.
794 * soft-fp/unorddf2.c: Likewise.
795 * soft-fp/unordsf2.c: Likewise.
796 * soft-fp/unordtf2.c: Likewise.
797
79fb1124
GA
7982022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
799
800 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
801 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
802 configurations.
803
87509781
GA
8042022-06-25 Jeff Law <jeffreyalaw@gmail.com>
805
806 * config.host: Removed tilegx and tilepro entries.
807 * config/tilegx/sfp-machine.h: Removed.
808 * config/tilegx/sfp-machine32.h: Removed.
809 * config/tilegx/sfp-machine64.h: Removed.
810 * config/tilegx/t-crtstuff: Removed.
811 * config/tilegx/t-softfp: Removed.
812 * config/tilegx/t-tilegx: Removed.
813 * config/tilepro/atomic.c: Removed.
814 * config/tilepro/atomic.h: Removed.
815 * config/tilepro/linux-unwind.h: Removed.
816 * config/tilepro/sfp-machine.h: Removed.
817 * config/tilepro/softdivide.c: Removed.
818 * config/tilepro/softmpy.S: Removed.
819 * config/tilepro/t-crtstuff: Removed.
820 * config/tilepro/t-tilepro: Removed.
821
e3bba42f
GA
8222022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
823
824 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
825 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
826
3164de6a
GA
8272022-06-01 H.J. Lu <hjl.tools@gmail.com>
828
829 PR libgcc/27576
830 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
831
3dff965c
GA
8322022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
833
834 PR libgcc/105708
835 * config/aarch64/lse-init.c: Increase constructor priority.
836
8372022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
838
839 PR target/104689
840 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
841 Handle the !REG_UNSAVED case.
842 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
843
57f2ce6a
GA
8442022-05-20 Christophe Lyon <christophe.lyon@arm.com>
845
846 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
847 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
848 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
849
8502022-05-20 Christophe Lyon <christophe.lyon@arm.com>
851
852 * config.host: Add t-dfprules to AArch64 targets.
853
8542022-05-20 Christophe Lyon <christophe.lyon@arm.com>
855
856 * configure: Regenerate.
857
9df4ffe4
GA
8582022-05-13 Sebastian Pop <spop@amazon.com>
859
860 PR target/105162
861 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
862 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
863
e8778989
GA
8642022-05-10 Martin Liska <mliska@suse.cz>
865 Hans-Peter Helfert <peter-helfert@t-online.de>
866
867 PR gcov-profile/105535
868 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
869 n_functions.
870
6259d8aa
GA
8712022-05-02 Martin Liska <mliska@suse.cz>
872
873 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
874
6b6f53d8
GA
8752022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
876
877 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
878 (gcov_profile_merge_stream): Likewise.
879
8802022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
881
882 * libgcov-util.c (consume_stream): New.
883 (get_target_profiles_for_merge): Likewise.
884 (gcov_profile_merge_stream): Likewise.
885
8862022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
887
888 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
889
8902022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
891
892 * libgcov-util.c (read_gcda_file): Do not open file.
893 (ftw_read_file): Open file here.
894
8952022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
896
897 * libgcov-util.c (read_gcda_file): Prepend new info object to global
898 list.
899 (ftw_read_file): Remove list append here.
900
9012022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
902
903 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
904 (ftw_read_file): Duplicate filename for read_gcda_file().
905
9062022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
907
908 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
909 (__gcov_filename_to_gcfn): Declare and document.
910 * libgcov-driver.c (dump_string): New.
911 (__gcov_filename_to_gcfn): Likewise.
912 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
913
9142022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
915
916 * libgcov.h (gcov_seek): Remove define and declaration.
917
9182022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
919
920 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
921 parameter. Pass mode to gcov_open() calls.
922 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
923 gcov_exit_open_gcda_file() call.
924 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
925 calls.
926 (__gcov_dump_one): Open file for reading and writing.
927
9282022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
929
930 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
931 reading and writing.
932 * libgcov-util.c (read_gcda_file): Open file for reading.
933 * libgcov.h (gcov_open): Delete declaration.
934
9352022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
936
937 * libgcov-util.c (gcov_profile_merge): Return the list of merged
938 profiles. Accept empty target and source profile lists.
939
405eda0d
GA
9402022-04-08 Sergei Trofimovich <siarheit@google.com>
941
942 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
943
9f774626
GA
9442022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
945 Lulu Cheng <chenglulu@loongson.cn>
946
947 * configure: Regenerate file.
948
9492022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
950 Lulu Cheng <chenglulu@loongson.cn>
951
952 * config/loongarch/crtfastmath.c: New file.
953 * config/loongarch/linux-unwind.h: Like wise.
954 * config/loongarch/sfp-machine.h: Like wise.
955 * config/loongarch/t-crtstuff: Like wise.
956 * config/loongarch/t-loongarch: Like wise.
957 * config/loongarch/t-loongarch64: Like wise.
958 * config/loongarch/t-softfp-tf: Like wise.
959 * config.host: Add LoongArch tuples.
960 * configure.ac: Add LoongArch support.
961
d7f00da1
GA
9622022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
963
964 PR libgcc/86224
965 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
966 for __mulsi3.
967 (__udivsi3_internal, __divsi3_internal): Similarly.
968 (__umodsi3, __modsi3): Use the internal function names.
969
8cc4f9cd
GA
9702022-03-09 Tobias Burnus <tobias@codesourcery.com>
971
972 PR target/102215
973 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
974 a line up to non-arg-dependent value first.
975 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
976 __atomic_compare_exchange_{1,2}.
977
8d96e14c
GA
9782022-03-04 Iain Sandoe <iain@sandoe.co.uk>
979
980 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
981 * config/t-darwin-ehs: Add dependency on unwind.h.
982
756a6185
GA
9832022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
984
985 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
986 with 0 instead of NULL.
987
9882022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
989
990 PR target/104656
991 * configure.ac: --disable-gcov if targetting bpf-*.
992 * configure: Regenerate.
993
e0b8716f
GA
9942022-01-25 Florian Weimer <fweimer@redhat.com>
995
996 PR libgcc/104207
997 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
998
fc829782
GA
9992022-01-17 Martin Liska <mliska@suse.cz>
1000
1001 * libgcov-driver.c: Rename .c names to .cc.
1002
9248ee41
GA
10032022-01-15 David <gccbugzilla@limegreensocks.com>
1004
1005 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1006 Remove inlined version, Windows 95 is no longer relevant.
1007 * config/i386/gthr-win32.h
1008 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1009
617db51d
GA
10102022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1011
1012 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1013 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1014
7d11b64b
GA
10152022-01-04 Florian Weimer <fweimer@redhat.com>
1016
1017 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1018 if available.
1019
5da23a13
GA
10202022-01-02 John David Anglin <danglin@gcc.gnu.org>
1021
1022 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1023 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1024 return is not equal _ASM_EFAULT.
1025 (__kernel_cmpxchg2): Likewise.
1026
2554e2da
GA
10272021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1028
1029 * config.host: Add shim declaration header to powerpc*-darwin builds.
1030 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1031 file.
1032 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1033 objects.
1034 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1035 the shared EH lib. Add all-multi to the dependencies for the
1036 libgcc_s.1.dylib redirections.
1037
7f1239cb
GA
10382021-12-13 Olivier Hainque <hainque@adacore.com>
1039
1040 * config.host (powerpc*-*-vxworks7*): Remove
1041 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1042
10432021-12-13 Olivier Hainque <hainque@adacore.com>
1044
1045 * config.host (*vxworks*): Remove special case for
1046 arm on the use of vxcrtstuff.
1047
10482021-12-13 Fred Konrad <konrad@adacore.com>
1049 Olivier Hainque <hainque@adacore.com>
1050
1051 * config/t-vxcrtstuffS: New Makefile fragment.
1052 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1053 functions for INITFINI_ARRAY support in shared libs and guard
1054 the definition of eh table registration functions on conditions
1055 indicating they are needed.
1056
10572021-12-13 Olivier Hainque <hainque@adacore.com>
1058
1059 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1060 ahead of the other files in tmake_files.
1061 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1062 overriding it.
1063
10642021-12-13 Olivier Hainque <hainque@adacore.com>
1065
1066 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1067 both VxWorks7 and earlier.
1068 * config/t-vxworks7: Remove.
1069 * config.host: Remove special case for vxworks7.
1070
e8decbe7
GA
10712021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1072
1073 * config/vxcrtstuff.c: Make constructor and destructor
1074 functions static when possible.
1075
10762021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1077
1078 * config/vxcrtstuff.c: Remove constructor/destructor
1079 declarations.
1080
0bceef16
GA
10812021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1082
1083 * config/t-darwin: Add libgcc_tm.h to the dependencies
1084 for darwin10-unwind-find-enc-func.
1085
10862021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1087
1088 * config/rs6000/t-vxworks: New file.
1089 * config.host (powerpc*-*-vxworks*): Use it instead of
1090 t-ppccomm.
1091
4b4839e3
GA
10922021-12-09 Fred Konrad <konrad@adacore.com>
1093
1094 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1095 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1096
10972021-12-09 Olivier Hainque <hainque@adacore.com>
1098 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1099
1100 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1101 $(LIBGCC2_INCLUDES).
1102 * config/t-vxworks7: Likewise.
1103
641ff219
GA
11042021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1105
1106 * config.host (*-*-darwin*): Add logic to build a shared
1107 unwinder library for Darwin8-10.
1108 * config/i386/t-darwin: Build legacy libgcc_s.1.
1109 * config/rs6000/t-darwin: Likewise.
1110 * config/t-darwin: Reorganise the EH fragments to place
1111 them for inclusion in a shared EH lib.
1112 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1113 the supporting pieces (all FAT libs).
1114 * config/t-darwin-noeh: Removed.
1115 * config/darwin-unwind.ver: New file.
1116 * config/rs6000/t-darwin-ehs: New file.
1117 * config/t-darwin-ehs: New file.
1118
3a580f96
GA
11192021-12-06 Nelson Chu <nelson.chu@sifive.com>
1120
1121 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1122 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1123 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1124 HIDDEN_DEF.
1125
c177e806
GA
11262021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1127
1128 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1129 ssize_t and vfork after including auto-host.h.
1130
87cd82c8
GA
11312021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1132
1133 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1134 crtend.o to extra_parts.
1135
d62c8c74
GA
11362021-11-27 John David Anglin <danglin@gcc.gnu.org>
1137
1138 * config/pa/t-dimode (lib2difuncs): Fix typo.
1139
091ccc06
GA
11402021-11-25 Florian Weimer <fweimer@redhat.com>
1141
1142 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1143 Remove func, ret.
1144 (find_fde_tail): New function. Split from
1145 _Unwind_IteratePhdrCallback. Move the result initialization
1146 from _Unwind_Find_FDE.
1147 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1148
06be28f6
GA
11492021-11-22 Florian Weimer <fweimer@redhat.com>
1150
1151 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1152 (struct unw_eh_callback_data): Make dbase member conditional.
1153 (unw_eh_callback_data_dbase): New function.
1154 (base_from_cb_data): Simplify for the non-dbase case.
1155 (_Unwind_IteratePhdrCallback): Adjust.
1156 (_Unwind_Find_FDE): Likewise.
1157
11582021-11-22 Florian Weimer <fweimer@redhat.com>
1159
1160 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1161 tbase member.
1162 (base_from_cb_data): Adjust.
1163 (_Unwind_IteratePhdrCallback): Likewise.
1164 (_Unwind_Find_FDE): Likewise.
1165
9c077398
GA
11662021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1167
1168 * config.host: Add weak emutls crt to the extra_parts.
1169 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1170 workaround.
1171 * config/libgcc-libsystem.ver: Add exclude list for the system-
1172 provided unwinder.
1173 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1174 * config/i386/libgcc-darwin.10.4.ver: Removed.
1175 * config/i386/libgcc-darwin.10.5.ver: Removed.
1176 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1177 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1178 * config/t-darwin-noeh: New file.
1179
11802021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1181
1182 * config/t-darwin: Build weak-defined emutls objects.
1183 * emutls.c (__emutls_get_address): Add optional attributes.
1184 (__emutls_register_common): Likewise.
1185 (EMUTLS_ATTR): New.
1186
b39265d4
GA
11872021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1188
1189 PR libgcc/103044
1190 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1191 called with a null argument or at the end of the backtrace and return.
1192 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1193
8d36a0d2
GA
11942021-11-10 Jakub Jelinek <jakub@redhat.com>
1195
1196 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1197 formatting fix.
1198
851dff04
GA
11992021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1200
1201 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1202 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1203
12042021-11-05 John David Anglin <danglin@gcc.gnu.org>
1205
1206 PR libgomp/96661
1207 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1208 (hppa*64*-*-hpux11*): Likewise.
1209 * config/pa/sfp-exceptions.c: New.
1210 * config/pa/sfp-machine.h: New.
1211 * config/pa/t-dimode: New.
1212 * config/pa/t-softfp-sfdftf: New.
1213
04a2cf3f
GA
12142021-10-27 John David Anglin <danglin@gcc.gnu.org>
1215
1216 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1217 tmake_file.
1218 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1219 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1220 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1221 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1222 (LIB1ASMFUNCS): Revise.
1223 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1224
c2bd5d8a
GA
12252021-10-22 Stafford Horne <shorne@gmail.com>
1226
1227 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1228 Change to 0.
1229
5d5885c9
GA
12302021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1231
1232 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1233 outside of get_regs() in order to use it in another function, this
1234 is done twice: for __powerpc64__ and for !__powerpc64__.
1235 (struct trace_arg): New struct.
1236 (struct layout): New struct.
1237 (ppc_backchain_fallback): New function.
1238 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1239 state and call MD_BACKCHAIN_FALLBACK.
1240
9eb28a0f
GA
12412021-10-13 Martin Liska <mliska@suse.cz>
1242
1243 PR gcov-profile/90364
1244 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1245 checksums.
1246 (write_one_data): Write also checksum.
1247 * libgcov-util.c (read_gcda_file): Read also checksum field.
1248 * libgcov.h (struct gcov_info): Add new field.
1249
ce6eec39
GA
12502021-10-08 Ian Lance Taylor <iant@golang.org>
1251
1252 * config/i386/morestack.S: Use .init_array for constructor if
1253 available.
1254 * config/rs6000/morestack.S: Likewise.
1255 * config/s390/morestack.S: Likewise.
1256
154fd089
GA
12572021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1258
1259 PR target/101104
1260 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1261 Use more correct values for native IBM 128-bit.
1262
fd133479
GA
12632021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1264
1265 * config/i386/libgcc-darwin.ver: Add Symbols for
1266 __cpu_model, __cpu_indicator_init.
1267
e4777439
GA
12682021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1269
1270 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1271 using __APPLE__.
1272
34fac9ef
GA
12732021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1274
1275 * config/t-slibgcc-darwin: Delete unused code.
1276
12772021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1278
1279 * config/i386/t-darwin: Add in a vers file for X86-specific
1280 symbols.
1281 * config/t-darwin: Add the generic symbol maps here...
1282 * config/t-slibgcc-darwin: ... removing from here.
1283 * config/i386/libgcc-darwin.ver: New file.
1284
12852021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1286
1287 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1288 and __mulhc3.
1289
12902021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1291
1292 * config.host: Use convenience library for Darwin10
1293 unwinder shim.
1294 * config/t-darwin: Build Darwin10 unwinder shim as a
1295 convenience library.
1296
07985c47
GA
12972021-09-13 Andrew Pinski <apinski@marvell.com>
1298
1299 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1300 * config/m32r/libgcc-glibc.ver: Removed.
1301 * config/m32r/t-linux: Removed.
1302
b6db7cd4
GA
13032021-09-08 liuhongt <hongtao.liu@intel.com>
1304
1305 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1306 libgcc_s.so.1.
1307
13082021-09-08 Jakub Jelinek <jakub@redhat.com>
1309 Iain Sandoe <iain@sandoe.co.uk>
1310
1311 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1312 and export *hf* and *hc* functions at GCC_12.0.0.
1313
9f99555f
GA
13142021-09-06 liuhongt <hongtao.liu@intel.com>
1315
1316 * Makefile.in: Adjust to support specific CFLAGS for each
1317 libgcc source file.
1318 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1319 related libgcc source files.
1320 * config/i386/t-softfp: Ditto.
1321 * config/i386/_divhc3.c: New file.
1322 * config/i386/_mulhc3.c: New file.
1323
7b739540
GA
13242021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1325
1326 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1327 alias_DFtype, alias_TFtype): New.
1328 (ALIAS_SELECTOR): New.
1329 (strong_alias): Use __typeof and a _Generic selector to
1330 provide the type to the synthesized function.
1331
9f7c2bad
GA
13322021-09-02 liuhongt <hongtao.liu@intel.com>
1333
1334 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1335 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1336 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1337 * config/i386/t-softfp: Add hf soft-fp.
1338 * config.host: Add i386/64/t-softfp.
1339 * config/i386/64/t-softfp: New file.
1340
13412021-09-02 liuhongt <hongtao.liu@intel.com>
1342
1343 * soft-fp/eqhf2.c: New file.
1344 * soft-fp/extendhfdf2.c: New file.
1345 * soft-fp/extendhfsf2.c: New file.
1346 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1347 * soft-fp/truncdfhf2.c: New file
1348 * soft-fp/truncsfhf2.c: New file
1349
e11c6046
GA
13502021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1351
1352 * unwind-arm-common.inc (abort): Remove.
1353
6d51ee43
GA
13542021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1355
1356 * config/aarch64/value-unwind.h: Add missing runtime exception
1357 paragraph.
1358 * config/frv/frv-abi.h: Likewise.
1359 * config/i386/value-unwind.h: Likewise.
1360 * config/pa/pa64-hpux-lib.h: Likewise.
1361
ccc19145
GA
13622021-08-26 David Edelsohn <dje.gcc@gmail.com>
1363
1364 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1365 __gcc_qadd.
1366 (__gcc_qadd): Call ldouble_qadd_internal.
1367 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1368 argument negated.
1369
13702021-08-26 Jonathan Yong <10walls@gmail.com>
1371
1372 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1373 and register_frame_dtor warnings.
1374
05ace294
GA
13752021-08-24 Richard Earnshaw <rearnsha@arm.com>
1376
1377 PR target/102035
1378 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1379 Add vlldm erratum work-around.
1380
4be4fa4e
GA
13812021-08-21 John David Anglin <danglin@gcc.gnu.org>
1382
1383 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1384
9d1d9fc8
GA
13852021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1386
1387 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1388 (gcov_type_unsigned): Likewise.
1389
7dd8f198
GA
13902021-08-14 Stafford Horne <shorne@gmail.com>
1391
1392 PR target/99783
1393 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1394 * config/or1k/t-crtstuff: New file.
1395
f92f4778
GA
13962021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1397
1398 * libgcov-driver.c (#include <stdint.h>): Remove.
1399 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1400
14012021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1402
1403 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1404 * gcov.h (gcov_info): Declare.
1405 (__gcov_info_to_gdca): Likewise.
1406 * libgcov.h (gcov_write_counter): Remove.
1407 (gcov_write_tag_length): Likewise.
1408 * libgcov-driver.c (#include <stdint.h>): New.
1409 (#include <string.h>): Remove.
1410 (NEED_L_GCOV): Conditionally define.
1411 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1412 (are_all_counters_zero): New.
1413 (gcov_dump_handler): Likewise.
1414 (gcov_allocate_handler): Likewise.
1415 (dump_unsigned): Likewise.
1416 (dump_counter): Likewise.
1417 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1418 Use dump_unsigned() and dump_counter().
1419 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1420 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1421 (__gcov_info_to_gcda): New.
1422
8ebf4fb5
GA
14232021-08-05 Jakub Jelinek <jakub@redhat.com>
1424
1425 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1426 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1427 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1428 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1429
2697f832
GA
14302021-08-04 Jakub Jelinek <jakub@redhat.com>
1431
1432 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1433
d97d71a1
GA
14342021-07-15 Alan Modra <amodra@gmail.com>
1435
1436 * config/rs6000/morestack.S (R2_SAVE): Define.
1437 (__morestack): Save and restore r2. Set up r2 for called
1438 functions.
1439
bea7c16a
GA
14402021-07-01 H.J. Lu <hjl.tools@gmail.com>
1441
1442 * soft-fp/extendhfxf2.c: New file.
1443 * soft-fp/truncxfhf2.c: Likewise.
1444
6bc18203
GA
14452021-06-29 Julian Brown <julian@codesourcery.com>
1446
1447 * config/gcn/lib2-bswapti2.c: New file.
1448 * config/gcn/lib2-divmod-di.c: New file.
1449 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1450 typedefs.
1451 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1452 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1453 lib2-bswapti2.c.
1454
14552021-06-29 Julian Brown <julian@codesourcery.com>
1456
1457 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1458 return types to USItype.
1459 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1460
fcf617f0
GA
14612021-06-23 Kewen Lin <linkw@linux.ibm.com>
1462
1463 * configure: Regenerate.
1464 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1465 typos among the name, CFLAGS and the test.
1466 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1467 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1468 Remove.
1469 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1470 macro FLOAT128_HW_INSNS_ISA3_1.
1471 (FP128_3_1_CFLAGS_HW): Fix option typo.
1472 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1473 FLOAT128_HW_INSNS_ISA3_1.
1474 (__floattikf_resolve): Likewise.
1475 (__floatuntikf_resolve): Likewise.
1476 (__fixkfti_resolve): Likewise.
1477 (__fixunskfti_resolve): Likewise.
1478 (__floattikf): Likewise.
1479 (__floatuntikf): Likewise.
1480 (__fixkfti): Likewise.
1481 (__fixunskfti): Likewise.
1482
f16f65f8
GA
14832021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1484
1485 PR target/99939
1486 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1487 macro.
1488 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1489 on passing -mcmse option.
1490
43c35d0d
GA
14912021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1492
1493 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1494 _ARCH_PPC64 .
1495
4f625f47
GA
14962021-06-09 Carl Love <cel@us.ibm.com>
1497
1498 * config.host: Add if test and set for
1499 libgcc_cv_powerpc_3_1_float128_hw.
1500 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1501 Change calls of __fixkfti to __fixkfti_sw.
1502 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1503 Change calls of __fixunskfti to __fixunskfti_sw.
1504 * config/rs6000/float128-p10.c (__floattikf_hw,
1505 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1506 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1507 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1508 __fixunskfti_resolve): Add resolve functions.
1509 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1510 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1511 __fixtfti, __fixunstfti): Add editor commands to change names.
1512 * config/rs6000/float128-sed-hw (__floattitf,
1513 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1514 change names.
1515 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1516 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1517 * config/rs6000/quad-float128.h (__floattikf_sw,
1518 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1519 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1520 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1521 * config/rs6000/t-float128 (floattikf, floatuntikf,
1522 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1523 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1524 file names to fp128_ppc_funcs.
1525 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1526 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1527 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1528 * config/rs6000/t-float128-p10-hw: New file.
1529 * configure: Update script for isa 3.1 128-bit float support.
1530 * configure.ac: Add check for 128-bit float hardware support.
1531 * config/rs6000/fixkfti-sw.c: New file.
1532 * config/rs6000/fixunskfti-sw.c: New file.
1533 * config/rs6000/floattikf-sw.c: New file.
1534 * config/rs6000/floatuntikf-sw.c: New file.
1535
f9af11c7
GA
15362021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1537
1538 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1539
4d0385df 15402021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
1541
1542 * libgcov-driver.c: Fix GNU coding style.
1543
aa891c56
GA
15442021-05-10 Martin Liska <mliska@suse.cz>
1545
1546 * libgcov-driver.c (gcov_version): Use different name that does
1547 not clash with newly introduced macro.
1548
3c8e539d
GA
15492021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1550
1551 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1552 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1553 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1554
e4ff4ffb
GA
15552021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1556
1557 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1558 Define.
1559 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1560 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1561 Define.
1562 (__divkc3): Improve complex divide.
1563
05ec629f
GA
15642021-04-23 Michael Meissner <meissner@linux.ibm.com>
1565
1566 PR target/98952
1567 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1568 trampoline size comparison in 32-bit by reversing test and
1569 combining load immediate with compare.
1570 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1571 in 32-bit by reversing test and combining load immediate with
1572 compare.
1573
b1da9916
GA
15742021-04-05 Florian Weimer <fweimer@redhat.com>
1575 Michael Meissner <meissner@linux.ibm.com>
1576
1577 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1578 point functions for $(decimal_float) only.
1579
c0756c4e
GA
15802021-04-03 Jakub Jelinek <jakub@redhat.com>
1581
1582 PR target/97653
1583 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1584 $(objext) instead of $(object). Use _floatunditf instead of
1585 _floatunsditf. Add tf <-> ti conversion objects.
1586 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1587
65374af2
GA
15882021-03-29 Michael Meissner <meissner@linux.ibm.com>
1589
1590 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1591 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1592 (fp128_decstr_objs): Delete.
1593 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1594 _Float128 to a Decimal type. Call __strtoieee128 to do
1595 conversions from a Decimal type to _Float128.
1596 * config/rs6000/_sprintfkf.c: Delete file.
1597 * config/rs6000/_sprintfkf.h: Delete file.
1598 * config/rs6000/_strtokf.c: Delete file.
1599 * config/rs6000/_strtokf.h: Delete file.
1600
bf1f3168
GA
16012021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1602
1603 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1604 to __BYTE_ORDER__.
1605
0ad6a2e2
GA
16062021-03-06 Jakub Jelinek <jakub@redhat.com>
1607
1608 PR gcov-profile/99406
1609 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1610 defined, define these macros if not defined already.
1611
67f10d28
GA
16122021-03-04 Martin Liska <mliska@suse.cz>
1613
1614 PR gcov-profile/99105
1615 * libgcov-driver.c (write_top_counters): Rename to ...
1616 (write_topn_counters): ... this.
1617 (write_one_data): Pre-allocate buffer for number of items
1618 in the corresponding linked lists.
1619 * libgcov.h (malloc_mmap): New function.
1620 (allocate_gcov_kvp): Use it.
1621
16222021-03-04 Martin Liska <mliska@suse.cz>
1623
1624 PR gcov-profile/99385
1625 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1626
f3641ac7
GA
16272021-03-03 Martin Liska <mliska@suse.cz>
1628
1629 PR gcov-profile/97461
1630 * config.in: Regenerate.
1631 * configure: Likewise.
1632 * configure.ac: Check sys/mman.h header file
1633 * libgcov-driver.c (struct gcov_kvp): Remove static
1634 pre-allocated pool and use a dynamic one.
1635 * libgcov.h (MMAP_CHUNK_SIZE): New.
1636 (gcov_counter_add): Use mmap to allocate pool for struct
1637 gcov_kvp.
1638
d97a92dc
GA
16392021-03-02 Michael Meissner <meissner@linux.ibm.com>
1640
1641 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1642 the function.
1643 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1644
4028d01a
GA
16452021-02-24 Jakub Jelinek <jakub@redhat.com>
1646
1647 PR libgcc/99236
1648 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1649 negation of m in unsigned type.
1650
16512021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1652 Hau Hsu <hsuhau617@gmail.com>
1653
1654 PR target/99157
1655 * config/arm/t-arm: Fix cmse support detection.
1656
2f5765cf
GA
16572021-02-22 Michael Meissner <meissner@linux.ibm.com>
1658
1659 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1660
16612021-02-22 Michael Meissner <meissner@linux.ibm.com>
1662
1663 * config/rs6000/_dd_to_kf.c: New file.
1664 * config/rs6000/_kf_to_dd.c: New file.
1665 * config/rs6000/_kf_to_sd.c: New file.
1666 * config/rs6000/_kf_to_td.c: New file.
1667 * config/rs6000/_sd_to_kf.c: New file.
1668 * config/rs6000/_sprintfkf.c: New file.
1669 * config/rs6000/_sprintfkf.h: New file.
1670 * config/rs6000/_strtokf.h: New file.
1671 * config/rs6000/_strtokf.c: New file.
1672 * config/rs6000/_td_to_kf.c: New file.
1673 * config/rs6000/quad-float128.h: Add new declarations.
1674 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1675 (fp128_decstr_funcs): New macro.
1676 (ibm128_dec_funcs): New macro.
1677 (fp128_ppc_funcs): Add the new conversions.
1678 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1679 compiled with -mabi=ieeelongdouble.
1680 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1681 compiled with -mabi=ibmlongdouble.
1682 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1683 compiled with -mabi=ieeelongdouble.
1684 (FP128_CFLAGS_DECIMAL): New macro.
1685 (IBM128_CFLAGS_DECIMAL): New macro.
1686 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1687 (BFP_TO_DFP): Add PowerPC _Float128 support.
1688 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1689 IEEE 128-bit floating point.
1690 (DFP_TO_BFP): Add PowerPC _Float128 support.
1691 (BFP_TO_DFP): Add PowerPC _Float128 support.
1692 (BFP_SPRINTF): New macro.
1693
aa69f0a8
GA
16942021-01-27 Jakub Jelinek <jakub@redhat.com>
1695
1696 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1697 * config/i386/savms64f.h: Likewise.
1698 * config/i386/resms64.h: Likewise.
1699 * config/i386/resms64f.h: Likewise.
1700 * config/i386/resms64x.h: Likewise.
1701 * config/i386/resms64fx.h: Likewise.
1702
e62bb7f0
GA
17032021-01-26 Martin Liska <mliska@suse.cz>
1704
1705 PR gcov-profile/98739
1706 * libgcov.h (gcov_topn_add_value): Do not train when
1707 we have a merged profile with a negative number of total
1708 value.
1709
161e4c08
GA
17102021-01-25 Martin Liska <mliska@suse.cz>
1711
1712 PR gcov-profile/98739
1713 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1714 ends with a dropped counter.
1715 * libgcov.h (gcov_topn_add_value): Add return value.
1716
be0851b8
GA
17172021-01-13 Stafford Horne <shorne@gmail.com>
1718
1719 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1720 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1721 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1722 FP_EX_ALL): New constant macros.
1723 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1724 FP_HANDLE_EXCEPTIONS): New macros.
1725 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1726
17272021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1728
1729 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1730 posix siginfo case to struct handler_args. Detect between legacy
1731 and siginfo from the second parameter, which is a small sigcode in
1732 the legacy case, and a pointer in the siginfo case.
1733
108beb75
GA
17342020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1735
1736 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1737 functions.
1738 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1739 _bswapdi2.
1740
f6e8e279
GA
17412020-12-08 Ian Lance Taylor <iant@golang.org>
1742
1743 * generic-morestack-thread.c (free_segments): Block signals during
1744 thread exit.
1745
b8dd0ef7
GA
17462020-12-03 Michael Meissner <meissner@linux.ibm.com>
1747
1748 PR libgcc/97543
1749 PR libgcc/97643
1750 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1751 (IBM128_SHARED_OBJS): New make variable.
1752 (IBM128_OBJS): New make variable. Set all objects to use the
1753 explicit IBM format, and disable gnu attributes.
1754 (IBM128_CFLAGS): New make variable.
1755 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1756 modules.
1757
17582020-12-03 Alexandre Oliva <oliva@adacore.com>
1759
1760 * config/t-vxworks (LIB2ADD): Drop.
1761 * config/t-vxworks7 (LIB2ADD): Likewise.
1762 * config/vxcache.c: Remove.
1763
94358e47
GA
17642020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1765
1766 * libgcc2.c (bswapsi2): Make constants unsigned.
1767
360258da
GA
17682020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1769
1770 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1771 builtin_add_overflow.
1772 (absvsi2, absvDI2): Likewise.
1773
82e5048e
GA
17742020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1775
1776 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1777 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1778
25bb75f8
GA
17792020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1780
1781 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1782 (if MUL_32): Use mult64_hw for __muldi3.
1783 (if MUL_F5): Use mult64_hw for __muldi3.
1784 * config/msp430/lib2mul.c (__muldi3): New.
1785 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1786
29c5d9ce
GA
17872020-11-17 Alan Modra <amodra@gmail.com>
1788
1789 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1790 (LIB2_SIDITI_CONV_FUNCS): Define.
1791 * config/rs6000/ppc64-fp.c: Delete file.
1792
cba30651
GA
17932020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1794
1795 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1796 hwmult library functions.
1797
bb622641
GA
17982020-11-10 Jeff Law <law@redhat.com>
1799
1800 * libgcc2.c: Fix whitespace issues in most recent change.
1801
18022020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1803
1804 * libgcc2.c (__addvSI3): Use overflow builtins.
1805 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1806 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1807 (__negvsi2, __negvDI2): Likewise.
1808 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1809 generated code.
1810 * libgcc2.h (__ucmpdi2): Adjust prototype.
1811
fd2325ea
GA
18122020-11-03 Pat Bernardi <bernardi@adacore.com>
1813 Olivier Hainque <hainque@adacore.com>
1814
1815 * config.host (aarch64-vxworks7*, tmake_file): Add
1816 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1817
18182020-11-03 Martin Storsjö <martin@martin.st>
1819
1820 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1821 before calling the callback.
1822
88ce3d5f
GA
18232020-10-30 Olivier Hainque <hainque@adacore.com>
1824 Douglas Rupp <rupp@adacore.com>
1825 Pat Bernardi <bernardi@adacore.com>
1826
1827 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1828 to apply to VxWorks 7 as well.
1829
4f0606fe
GA
18302020-10-29 Olivier Hainque <hainque@adacore.com>
1831
1832 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1833 controlling the definition of VX_ENTER_TLS_DTOR and
1834 VX_LEAVE_TLS_DTOR based on a version major check.
1835
18362020-10-29 Olivier Hainque <hainque@adacore.com>
1837
1838 * config/gthr-vxworks-thread.c: Fix name of macro used
1839 to condition the inclusion of an actual implementation.
1840
89bb01e7
GA
18412020-10-27 Martin Liska <mliska@suse.cz>
1842
1843 PR gcov-profile/97461
1844 * libgcov.h (gcov_counter_add): Use first static counters
1845 as it should help to have malloc wrappers set up.
1846
efe71fcc
GA
18472020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1848
1849 * config/gthr-vxworks-thread.c: #include gthr.h before
1850 testing the guard defined there.
1851 * config/gthr-vxworks-cond.c: Likewise.
1852
56ddd5e2
GA
18532020-10-21 Douglas Rupp <rupp@adacore.com>
1854 Olivier Hainque <hainque@adacore.com>
1855
1856 * config.host (powerpc*-wrs-vxworks7*): New case.
1857 * configure.ac: Handle powerpc*-*-vxworks7* as
1858 powerpc*-*-linux* for ppc-fp_type.
1859 * configure: Regenerate.
1860
56e4eee9
GA
18612020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1862
1863 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1864 section on VxWorks >= 6.
1865 * config/gthr-vxworks-thread.c: Condition the entire
1866 implementation on __GTHREAD_CXX0X.
1867
18682020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1869
1870 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1871 section on VxWorks >= 6.
1872 * config/gthr-vxworks-cond.c: Condition the entire
1873 implementation on __GTHREAD_HAS_COND.
1874
18752020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1876
1877 * config/gthr-vxworks.c: #include <taskLib.h>.
1878
18792020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1880
1881 * config/gthr-vxworks.h: Rewrite remaining occurrence
1882 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1883
18842020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1885 Olivier Hainque <hainque@adacore.com>
1886
1887 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1888 except on VxWorks 6.
1889
18902020-10-16 Olivier Hainque <hainque@adacore.com>
1891
1892 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1893
b2698c21
GA
18942020-10-14 Alexandre Oliva <oliva@adacore.com>
1895
1896 * config/gthr-vxworks-thread.c: Include stdlib.h.
1897 (tls_delete_hook): Prototype it.
1898 (__gthread_cond_signal): Return early if no waiters. Consume
1899 signal in case the semaphore got full. Use semInfoGet instead
1900 of kernel-mode-only semInfo.
1901 (__gthread_cond_timedwait): Use semExchange. Always take the
1902 mutex again before returning.
1903 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1904
19052020-10-14 Olivier Hainque <hainque@adacore.com>
1906
1907 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1908 $(MULTISUBDIR) to the -I path for fixed headers, as we
1909 arrange to have different sets of such headers for different
1910 multilibs when they are activated.
1911 * config/t-vxworks7: Likewise.
1912
19132020-10-14 Olivier Hainque <hainque@adacore.com>
1914
1915 * config/t-vxworks: Add include-fixed to include search
1916 paths for libgcc on VxWorks.
1917 * config/t-vxworks7: Likewise.
1918
c74a0e82
GA
19192020-10-09 H.J. Lu <hjl.tools@gmail.com>
1920
1921 PR target/97148
1922 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1923 instead of <cetintrin.h>.
1924
6c2675fa
GA
19252020-10-01 Alan Modra <amodra@gmail.com>
1926
1927 * config/rs6000/morestack.S,
1928 * config/rs6000/tramp.S: Support __PCREL__ code.
1929
19302020-10-01 Alan Modra <amodra@gmail.com>
1931
1932 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1933
93bca37c
GA
19342020-09-29 Maciej W. Rozycki <macro@wdc.com>
1935
1936 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1937 variable.
1938
e84761c6
GA
19392020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1940
1941 * config/aarch64/libgcc-softfp.ver: New file.
1942 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1943
4383c595
GA
19442020-09-27 Clement Chigot <clement.chigot@atos.net>
1945
1946 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1947
521d2711
GA
19482020-09-22 Sergei Trofimovich <siarheit@google.com>
1949
1950 PR gcov-profile/96913
1951 * libgcov-driver.c (write_one_data): Avoid function pointer
1952 comparison in TOP streaming decision.
1953
2aad20c0
GA
19542020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1955 Christophe Lyon <christophe.lyon@linaro.org>
1956
1957 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1958 qualifier.
1959 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1960 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1961 missing prototypes.
1962
19632020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1964
1965 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1966 unused variable warning.
1967
ecde1b0a
GA
19682020-09-16 Jojo R <jiejie_rong@c-sky.com>
1969
1970 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1971
80f86e78
GA
19722020-09-09 Tom de Vries <tdevries@suse.de>
1973
1974 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1975 Wbuiltin-declaration-mismatch.
1976
57ea0894
GA
19772020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1978
1979 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1980 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1981 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1982
b3cb5606
GA
19832020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1984
1985 * config/nvptx/atomic.c: New.
1986 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1987
6a1ad710
GA
19882020-08-03 Ian Lance Taylor <iant@golang.org>
1989
1990 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1991
19922020-08-03 Jakub Jelinek <jakub@redhat.com>
1993
1994 PR target/96402
1995 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1996 of x(tmp0), x(tmp1) in STXP arguments.
1997
48cc2e46
GA
19982020-07-31 Maciej W. Rozycki <macro@wdc.com>
1999
2000 * config/riscv/save-restore.S [__riscv_xlen == 64]
2001 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2002 (__riscv_save_2): Replace negative immediates used for the final
2003 stack pointer adjustment with positive ones, right-shifted by 4.
2004
20052020-07-31 Martin Liska <mliska@suse.cz>
2006
2007 * libgcov-driver.c: Add __gcov_kvp_pool
2008 and __gcov_kvp_pool_index variables.
2009 * libgcov.h (allocate_gcov_kvp): New.
2010 (gcov_topn_add_value): Use it.
2011
53256ee3
GA
20122020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2013
2014 * config/aarch64/lse.S: Add PAC property note.
2015
9bb403dc
GA
20162020-07-23 Martin Liska <mliska@suse.cz>
2017
2018 PR gcov-profile/96035
2019 * libgcov-driver-system.c: Create gcov folders with 0777
2020 so that it respects a system umask.
2021
8ca07a30
GA
20222020-07-14 David Edelsohn <dje.gcc@gmail.com>
2023
2024 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2025
ea69fcf9
GA
20262020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2027
2028 PR target/94891
2029 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2030 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2031 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2032 (MD_DEMANGLE_RETURN_ADDR): This.
2033 (aarch64_post_extract_frame_addr): Rename to ...
2034 (aarch64_demangle_return_addr): This.
2035 (aarch64_post_frob_eh_handler_addr): Remove.
2036 * unwind-dw2.c (uw_update_context): Demangle return address.
2037 (uw_frob_return_addr): Remove.
2038
3f8ca9cb
GA
20392020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2040
2041 PR target/96001
2042 * config/aarch64/lse.S: Add BTI marking and related definitions,
2043 and add BTI c to function entries.
2044
20452020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2046
2047 * config/aarch64/lse.S: Add stack note.
2048
b5f24739
GA
20492020-07-02 Martin Liska <mliska@suse.cz>
2050
2051 PR gcov-profile/95348
2052 * libgcov-driver.c (merge_one_data): Merge only profiles
2053 that are not of non-zero type.
2054 (write_one_data): Write counters only if there's one non-zero
2055 value.
2056 * libgcov-util.c (tag_function): Change signature from unsigned
2057 to int.
2058 (tag_blocks): Likewise.
2059 (tag_arcs): Likewise.
2060 (tag_counters): Likewise.
2061 (tag_summary): Likewise.
2062 (tag_lines): Read only if COUNTERS is non-zero.
2063 (read_gcda_file): Handle negative length for COUNTERS type.
2064
d61ffe12
GA
20652020-06-25 Martin Liska <mliska@suse.cz>
2066
2067 * libgcov-driver.c (merge_summary): Remove function as its name
2068 is misleading and doing something different.
2069 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2070 in gcov-tool.
2071 * libgcov-util.c (curr_object_summary): Remove.
2072 (read_gcda_file): Remove unused curr_object_summary.
2073 (gcov_merge): Merge summaries.
2074 * libgcov.h: Add summary argument for gcov_info struct.
2075
2e546c26
GA
20762020-06-24 H.J. Lu <hjl.tools@gmail.com>
2077
2078 PR target/95259
2079 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2080 "common/config/i386/i386-cpuinfo.h" and
2081 "common/config/i386/cpuinfo.h".
2082 (__cpu_features2): Changed to array.
2083 (get_amd_cpu): Removed.
2084 (get_intel_cpu): Likewise.
2085 (get_available_features): Likewise.
2086 (__cpu_indicator_init): Call cpu_indicator_init.
2087 * config/i386/cpuinfo.h: Removed.
2088
4543acc8
GA
20892020-06-23 David Edelsohn <dje.gcc@gmail.com>
2090
2091 * Makefile.in: Remove uses of empty.mk. Use -include.
2092 * config/avr/t-avr: Use -include.
2093 * empty.mk: Delete.
2094
f86e11a2
GA
20952020-06-21 David Edelsohn <dje.gcc@gmail.com>
2096
2097 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2098 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2099 and 64 bit with -maix64.
2100 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2101 Build and install AIX-style FAT libraries.
2102
aff95ee7
GA
21032020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2104
2105 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2106 'i386/gnu-unwind.h'
2107 * config/i386/gnu-unwind.h: New file.
2108
21092020-06-17 Martin Liska <mliska@suse.cz>
2110
2111 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2112 (merge_wrapper): Add both counts and use them properly.
2113 (topn_to_memory_representation): New function.
2114 (gcov_merge): Covert on disk representation to in memory
2115 representation.
2116 * libgcov.h: Remove const operator.
2117
6fb94d67
GA
21182020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2119
2120 * configure: Regenerate.
2121 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2122 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2123
b952c2cf
GA
21242020-06-09 Martin Liska <mliska@suse.cz>
2125
2126 PR gcov-profile/95494
2127 * libgcov-driver.c (write_top_counters): Cast first to
2128 intptr_t as sizeof(*) != sizeof(gcov_type).
2129 * libgcov.h (gcov_counter_set_if_null): Remove.
2130 (gcov_topn_add_value): Cast first to intptr_t and update
2131 linked list directly.
2132
21332020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2134
2135 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2136 with uw_install_context_1.
2137
3add3425
GA
21382020-06-04 Andreas Schwab <schwab@suse.de>
2139
2140 PR target/59230
2141 PR libfortran/59227
2142 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2143 soft-fp/divtf3.c.
2144 (LIB2ADD): Add config/ia64/divtf3.c.
2145 * config/ia64/divtf3.c: New file.
2146
9a5b7438
GA
21472020-06-03 Martin Liska <mliska@suse.cz>
2148
2149 PR gcov-profile/95480
2150 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2151 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2152 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2153 (gcov_counter_set_if_null): Likewise.
2154
a9312a79
GA
21552020-06-02 Jim Wilson <jimw@sifive.com>
2156
2157 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2158 to bgtz.
2159
21602020-06-02 Martin Liska <mliska@suse.cz>
2161
2162 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2163 of xmalloc.
2164
21652020-06-02 Martin Liska <mliska@suse.cz>
2166
2167 * libgcov-driver.c (prune_topn_counter): Remove.
2168 (prune_counters): Likewise.
2169 (merge_one_data): Special case TOP N counters
2170 as they have variable length.
2171 (write_top_counters): New.
2172 (write_one_data): Special case TOP N.
2173 (dump_one_gcov): Do not prune TOP N counters.
2174 * libgcov-merge.c (merge_topn_values_set): Remove.
2175 (__gcov_merge_topn): Use gcov_topn_add_value.
2176 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2177 Likewise here.
2178 * libgcov.h (gcov_counter_add): New.
2179 (gcov_counter_set_if_null): Likewise.
2180 (gcov_topn_add_value): New.
2181
4a9aa9de
GA
21822020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2183
2184 * config/i386/sfp-exceptions.c (struct fenv):
2185 Add __attribute__ ((gcc_struct)).
2186
885ef72f
GA
21872020-05-29 H.J. Lu <hjl.tools@gmail.com>
2188
2189 PR bootstrap/95413
2190 * configure: Regenerated.
2191
53ffb43a
GA
21922020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2193
2194 PR gcov-profile/95332
2195 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2196 * libgcov.h (gcov_magic): Disable GCC poison.
2197
5855bdfa
L
21982020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2199
2200 PR target/95212
2201 * config/i386/cpuinfo.h (processor_features): Move
2202 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2203
35b98036
L
22042020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2205
2206 PR target/91695
2207 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2208 check.
2209
45395445
L
22102020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2211
2212 PR target/95212
2213 PR target/95220
2214 * config/i386/cpuinfo.c (get_available_features): Fix
2215 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2216 * config/i386/cpuinfo.h (processor_features): Add
2217 FEATURE_AVX512VP2INTERSECT.
2218
4c1a5d8b
L
22192020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2220
2221 PR bootstrap/95147
2222 * configure: Regenerated.
2223
8d286dd1
L
22242020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2225
2226 * configure: Regenerated.
2227
39748a89
HPN
22282020-05-09 Hans-Peter Nilsson <hp@axis.com>
2229
2230 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2231 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2232
d3a1459c
UB
22332020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2234
2235 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2236 (__math_force_eval_div): New define.
2237 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2238 generic division to generate INVALID, DIVZERO and INEXACT
2239 exceptions.
2240
12667785
KT
22412020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2242
2243 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2244 instead of getauxval.
2245 (AT_HWCAP): Define.
2246 (HWCAP_ATOMICS): Define.
2247 Guard detection on __gnu_linux__.
2248
ef836167
MM
22492020-05-05 Michael Meissner <meissner@linux.ibm.com>
2250
2251 * config.host: Delete changes meant for a private branch.
2252 * config/rs6000/t-float128: Likewise.
2253 * configure.ac: Likewise.
2254 * configure: Likewise.
2255
811b7636
ML
22562020-05-05 Martin Liska <mliska@suse.cz>
2257
2258 PR gcov-profile/93623
2259 * Makefile.in: Remove __gcov_flush.
2260 * gcov.h (__gcov_flush): Remove.
2261 * libgcov-interface.c (__gcov_flush): Remove.
2262 (init_mx): Use renamed mutex.
2263 (__gcov_lock): Likewise.
2264 (__gcov_unlock): Likewise.
2265 (__gcov_fork): Likewise.
2266 (__gcov_flush): Remove.
2267
c0532db4
ML
22682020-05-05 Martin Liska <mliska@suse.cz>
2269
2270 PR gcov-profile/93623
2271 * libgcov-interface.c (__gcov_fork): Do not flush
2272 and reset only in child process.
2273 (__gcov_execl): Dump counters only and reset them
2274 only if exec* fails.
2275 (__gcov_execlp): Likewise.
2276 (__gcov_execle): Likewise.
2277 (__gcov_execv): Likewise.
2278 (__gcov_execvp): Likewise.
2279 (__gcov_execve): Likewise.
2280
d39f7dc8
ML
22812020-05-05 Martin Liska <mliska@suse.cz>
2282
2283 PR gcov-profile/93623
2284 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2285 * libgcov-interface.c (ALIAS_void_fn): Remove.
2286 (__gcov_lock): New.
2287 (__gcov_unlock): New.
2288 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2289 (__gcov_reset): Likewise.
2290 (__gcov_dump): Likewise.
2291 * libgcov.h (__gcov_lock): New declaration.
2292 (__gcov_unlock): Likewise.
2293
afb9b710
UB
22942020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2295
2296 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 2297 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
2298 generic division to generate INVALID and DIVZERO exceptions.
2299
66711279
SH
23002020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2301
2302 * config/rs6000/crtresfpr.S: Use .machine ppc.
2303 * config/rs6000/crtresxfpr.S: Likewise.
2304 * config/rs6000/crtsavfpr.S: Likewise.
2305
fb22faf4
SN
23062020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2307
2308 PR target/94514
2309 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2310 Update context->flags accroding to the frame state.
2311
df73e584
UB
23122020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2313
2314 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2315 Remove unneeded assignments to volatile memory.
2316
5b2f76e3
JJ
23172020-04-15 Jakub Jelinek <jakub@redhat.com>
2318
2319 PR target/93053
2320 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2321 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2322 is not defined, use just .arch armv8-a.
2323 (B, M, N, OPN): Define.
2324 (COMMENT): New .macro.
2325 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2326 defined. Otherwise, move the operands right after the glue? and
2327 comment out operands where the macros are used.
2328 * configure: Regenerated.
2329 * config.in: Regenerated.
2330
50c78532
ILT
23312020-04-07 Ian Lance Taylor <iant@golang.org>
2332
2333 PR libgcc/94513
2334 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2335 syscall instead.
2336
458ca332
ILT
23372020-04-04 Ian Lance Taylor <iant@golang.org>
2338
2339 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2340
710d54ed
ILT
23412020-04-03 Ian Lance Taylor <iant@golang.org>
2342
2343 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2344 than mmap/munmap, to avoid hooks.
2345
b749b5ec
JJ
23462020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2347
2348 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2349 (TPFRA_OFFSET): Macros removed.
2350 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2351 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2352 (PG3_SKIPPING_OFFSET): New macros.
2353 (__isPATrange): Use cinfc_fast for the check.
2354 (__isSkipResetAddr): New function.
2355 (s390_fallback_frame_state): Check for skip trace addresses. Use
2356 either ICST_CRET or ICST_SRET to calculate return address
2357 location.
2358 (__tpf_eh_return): Handle skip trace addresses.
2359
a9cd2d78
RE
23602020-03-26 Richard Earnshaw <rearnsha@arm.com>
2361
2362 PR target/94220
2363 * config/arm/lib1funcs.asm (COND): Use a single definition for
2364 unified syntax.
2365 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2366 (aeabi_idivmod): Likewise.
2367 (divsi3_skip_div0_test): Likewise.
2368
f582ca0f
MI
23692020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2370
2371 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2372
068fe0a9
AK
23732020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2374
2375 * config.host: Include the new makefile fragment.
2376 * config/s390/t-tpf: New file.
2377
6b9ce2b4
RE
23782020-03-03 Richard Earnshaw <rearnsha@arm.com>
2379
2380 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2381 syntax.
2382 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2383 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2384 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2385 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2386 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2387 syntax.
2388 (divsi3, modsi3): Likewise.
2389 (clzdi2, ctzsi2): Likewise.
2390 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2391 unified syntax.
2392 (UNWIND_WRAPPER): Likewise.
2393
8dd5d8f3
ML
23942020-03-02 Martin Liska <mliska@suse.cz>
2395
2396 * libgcov-interface.c: Remove duplicate
2397 declaration of __gcov_flush_mx.
2398
ea0b1252
ML
23992020-02-18 Martin Liska <mliska@suse.cz>
2400
2401 PR ipa/92924
2402 * libgcov-merge.c (merge_topn_values_set): Record
2403 when a TOP N counter becomes invalid. When merging
2404 remove a smallest value if the space is needed.
2405
02ce382c
SL
24062020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2407
2408 PR libstdc++/79193
2409 PR libstdc++/88999
2410
2411 * configure: Regenerated.
2412
7214fce3
JL
24132020-02-10 Jeff Law <law@redhat.com>
2414
2415 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2416 sections.
2417 * config/frv/frvend.c: Similarly.
2418
cf0f07ef
L
24192020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2420
2421 PR libgcc/85334
2422 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2423 New.
2424
5602b48b
CL
24252020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2426
2427 PR target/93615
2428 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2429 _Unwind_gnu_Find_got.
2430 * unwind-pe.h: Likewise.
2431
811a475e
JJ
24322020-02-07 Jakub Jelinek <jakub@redhat.com>
2433
2434 PR target/93615
2435 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2436 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2437 trailing :s in asm. Formatting fixes.
2438 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2439
2d33dcfe
SL
24402020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2441
2442 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2443
2444 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2445 * config/nios2-elf-lib.h: New.
2446 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2447 code for finding GOT base for nios2.
2448
3ae37f92
ML
24492020-01-27 Martin Liska <mliska@suse.cz>
2450
2451 PR gcov-profile/93403
2452 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2453 Call __gcov_indirect_call_profiler_body.
2454 (__gcov_indirect_call_profiler_body): New.
2455 (__gcov_indirect_call_profiler_v4_atomic): New.
2456 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2457 New declaration.
2458
2744b8b2
CZ
24592020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2460
2461 * config/arc/crti.S: Add RF16 object attribute.
2462 * config/arc/crtn.S: Likewise.
2463 * config/arc/crttls.S: Likewise.
2464 * config/arc/lib1funcs.S: Likewise.
2465 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2466 * config/arc/lib2funcs.c: New file.
2467 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2468
e8e66971
MR
24692020-01-24 Maciej W. Rozycki <macro@wdc.com>
2470
2471 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2472 * configure.ac: Handle `--with-toolexeclibdir='.
2473 * configure: Regenerate.
2474
54b3d52c
DM
24752020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2476
2477 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2478
a3c1e1f2
DM
24792020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2480
2481 * config/mips/gnustack.h: New file.
2482 * config/mips/crti.S: Include gnustack.h.
2483 * config/mips/crtn.S: Likewise.
2484 * config/mips/mips16.S: Likewise.
2485 * config/mips/vr4120-div.S: Likewise.
2486
e9ee848d
ML
24872020-01-23 Martin Liska <mliska@suse.cz>
2488
2489 * libgcov-driver.c (prune_topn_counter): Remove
2490 check for -1 as we only prune run-time counters
2491 that do not generate an invalid state.
2492
7491c17f
ML
24932020-01-22 Martin Liska <mliska@suse.cz>
2494
2495 PR tree-optimization/92924
2496 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2497 try to find an existing value, then find an empty slot
2498 if not found.
2499
5f32f9cf
ML
25002020-01-22 Martin Liska <mliska@suse.cz>
2501
2502 PR tree-optimization/92924
2503 * libgcov-driver.c (prune_topn_counter): New.
2504 (prune_counters): Likewise.
2505 (dump_one_gcov): Prune a run-time counter.
2506 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2507 For a known value, add GCOV_TOPN_VALUES to value.
2508 Otherwise, decrement all counters by one.
2509
463f6499
HPN
25102020-01-18 Hans-Peter Nilsson <hp@axis.com>
2511
2512 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2513
84479e3a
JDA
25142020-01-18 John David Anglin <danglin@gcc.gnu.org>
2515
2516 PR libgcc/92988
2517 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2518 DEFAULT_USE_CXA_ATEXIT is true.
2519
e953433f 25202020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 2521 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
2522
2523 * config/arm/t-arm: Check return value of gcc rather than lack of
2524 output.
2525
03e87724
GJL
25262020-01-14 Georg-Johann Lay <avr@gjlay.de>
2527
2528 * config/avr/lib1funcs.S (skip): Simplify.
2529
af9bd920
KCY
25302020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2531
2532 * config/gcn/atomic.c: Remove include of stdint.h.
2533 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2534 __UINTPTR_TYPE__.
2535
d6491d15
KCY
25362020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2537
2538 * config/gcn/atomic.c: New.
2539 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2540
f30dd607
GJL
25412020-01-08 Georg-Johann Lay <avr@gjlay.de>
2542
2543 Implement 64-bit double functions.
2544
2545 PR target/92055
2546 * config.host (tmake_file) [target=avr]: Add t-libf7,
2547 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2548 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2549 depending on sizeof (double) or sizeof (long double).
2550 * config/avr/libf7: New folder.
2551
5205a445
OH
25522020-01-05 Olivier Hainque <hainque@adacore.com>
2553
2554 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2555 by IN_LIBGCC2.
2556
8d9254fc
JJ
25572020-01-01 Jakub Jelinek <jakub@redhat.com>
2558
2559 Update copyright years.
2560
abb6c3ee
OH
25612019-12-30 Olivier Hainque <hainque@adacore.com>
2562
2563 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2564 * config/gthr-vxworks-tls.c: Likewise.
2565
d7f5094a
OH
25662019-12-30 Olivier Hainque <hainque@adacore.com>
2567
2568 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2569 standard zero-initializer syntax.
2570
49cfaa2a
OH
25712019-12-30 Olivier Hainque <hainque@adacore.com>
2572
2573 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2574 reference to the internal VX_GET_TLS_DATA interface.
2575
89b9a554
OH
25762019-12-30 Olivier Hainque <hainque@adacore.com>
2577
2578 * config/vxcrtstuff.c: Fix incorrect spelling of
2579 USE_INITFINI_ARRAY in guard.
2580
e8aa9f55
JL
25812019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2582
2583 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2584 Override default "extra_parts" variable.
2585 * configure: Regenerate.
2586 * configure.ac: Disable TM clone registry by default for
2587 msp430-elfbare.
2588
a9046e98
JL
25892019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2590
2591 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2592 "extra_parts".
2593 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2594
34a53788
JL
25952019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2596
2597 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2598 true.
2599
21a098f4
JL
26002019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2601
2602 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2603 defined instead of its value.
2604
ad8b7783
JL
26052019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2606
2607 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2608 if it will have contents.
2609
08d7ff78
GJL
26102019-12-05 Georg-Johann Lay <avr@gjlay.de>
2611
2612 PR target/92055
2613 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2614
3d3a96a2
SN
26152019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2616
34b4d99d 2617 PR libgcc/91737
3d3a96a2
SN
2618 * config.host: Add t-gthr-noweak on *-*-musl*.
2619 * config/t-gthr-noweak: New file.
2620
632b5e3d
JDA
26212019-11-17 John David Anglin <danglin@gcc.gnu.org>
2622
2623 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2624 volatile void *. Remove trap check.
2625 (__kernel_cmpxchg2): Likewise.
2626 (FETCH_AND_OP_2): Adjust operand types.
2627 (OP_AND_FETCH_2): Likewise.
2628 (FETCH_AND_OP_WORD): Likewise.
2629 (OP_AND_FETCH_WORD): Likewise.
2630 (COMPARE_AND_SWAP_2): Likewise.
2631 (__sync_val_compare_and_swap_4): Likewise.
2632 (__sync_bool_compare_and_swap_4): Likewise.
2633 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2634 (__sync_lock_test_and_set_4): Likewise.
2635 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2636 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2637 for release.
2638 (__sync_lock_release_8): Remove.
2639
838fd641
SN
26402019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2641
2642 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2643 of __sigset_t.
2644
27204060
JL
26452019-11-14 Jerome Lambourg <lambourg@adacore.com>
2646 Doug Rupp <rupp@adacore.com>
2647 Olivier Hainque <hainque@adacore.com>
2648
2649 * config.host: Collapse the arm-vxworks entries into
2650 a single arm-wrs-vxworks7* one.
2651 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2652 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2653 kernel modules, to be overriden by libstdc++ when we link with
2654 it. Rely on externally provided __exidx_start/end.
2655
3004f893
DR
26562019-11-14 Doug Rupp <rupp@adacore.com>
2657 Olivier Hainque <hainque@adacore.com>
2658
2659 * config.host: Handle aarch64*-wrs-vxworks7*.
2660
36e5f4d4
OH
26612019-11-12 Olivier Hainque <hainque@adacore.com>
2662
2663 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2664 sources except the cxx0x support to LIB2ADDEH. We don't support
2665 cxx0x on AE/653.
2666 * config/t-vxworksae: New file.
2667 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2668 Makefile fragment files at their expected position in the tmake_file
2669 list, in accordance with what is done for other VxWorks variants.
2670
806dd047
CG
26712019-11-12 Corentin Gay <gay@adacore.com>
2672 Jerome Lambourg <lambourg@adacore.com>
2673 Olivier Hainque <hainque@adacore.com>
2674
2675 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2676 sources to LIB2ADDEH.
2677 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2678 * config/t-vxworks7: Likewise.
2679
2680 * config.host: Append a block at the end of the file to add the
2681 t-gthr files to the tmake_file list for VxWorks after everything
2682 else.
2683
2684 * config/vxlib.c: Rename as gthr-vxworks.c.
2685 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2686
2687 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2688 API and a basic error checking API, both internal. Simplify the
2689 __gthread_once_t type definition and initializers. Add sections
2690 for condition variables support and for the C++0x thread support,
2691 conditioned against Vx653 for the latter.
2692
2693 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2694 implementation, leveraging the TAS internal API.
2695 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2696 API, leveraging the general availability of TLS services in VxWorks7
2697 post SR6xxx.
2698 (__gthread_setspecific, __gthread_setspecific): Use it.
2699 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2700 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2701 support based on VxWorks primitives.
2702 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2703 based on VxWorks primitives.
2704
78e49fb1
JL
27052019-11-06 Jerome Lambourg <lambourg@adacore.com>
2706 Olivier Hainque <hainque@adacore.com>
2707
2708 * config/vxcrtstuff.c: New file.
2709 * config/t-vxcrtstuff: New Makefile fragment.
2710 * config.host: Append t-vxcrtstuff to the tmake_file list
2711 on all VxWorks ports using dwarf for table based EH.
2712
29f3def3
GJL
27132019-11-07 Georg-Johann Lay <avr@gjlay.de>
2714
2715 Support 64-bit double and 64-bit long double configurations.
2716
2717 PR target/92055
2718 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2719 long double is a 32-bit type.
2720 * config/avr/t-avrlibc: Copy double64 and long-double64
2721 multilib(s) from the vanilla one.
2722 * config/avr/t-copy-libgcc: New Makefile snip.
2723
62ec242e
JL
27242019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2725
2726 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2727 the target output object format is not ELF.
2728 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2729
da5c1bbe
OE
27302019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2731
2732 PR libgcc/78804
2733 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2734 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2735 FLOAT_BIT_ORDER_MISMATCH.
2736 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2737
8dc56a22
JW
27382019-11-01 Jim Wilson <jimw@sifive.com>
2739
2740 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2741
91c64455
JL
27422019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2743
2744 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2745 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2746 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2747 Define symbols for 32-bit and f5series hardware multiply
2748 register addresses.
2749 Replace hard-coded register addresses with symbols.
2750 Fix "_mspabi*" typo.
2751 Fix whitespace.
2752 * config/msp430/lib2mul.c: Add comment.
2753
85093ac6
JDA
27542019-10-15 John David Anglin <danglin@gcc.gnu.org>
2755
2756 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2757 unsigned int. Adjust callers.
2758 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2759 unsigned int *. Load relocation offset before function pointer.
2760 Add barrier to ensure ordering.
2761
1aea083d
JDA
27622019-10-12 John David Anglin <danglin@gcc.gnu.org>
2763
2764 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2765 Load PIC register after branch target. Fix white space.
2766 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2767 implementations. Load PIC register after branch target. Don't
2768 clobber function pointer when it points to function descriptor.
2769 Use nullification instead of branch in LINUX implementation.
2770
c49af82c
JDA
27712019-10-03 John David Anglin <danglin@gcc.gnu.org>
2772
2773 * config/pa/fptr.c: Disable -Warray-bounds warning.
2774
88a51d68
RH
27752019-09-25 Richard Henderson <richard.henderson@linaro.org>
2776
9e46fd07
RH
2777 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2778 not the ubuntu modified 2.69.
2779
58d169ba
RH
2780 PR target/91833
2781 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2782 initialization if !HAVE_SYS_AUXV_H.
2783 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2784 * config.in, configure: Rebuild.
2785
88a51d68
RH
2786 PR target/91834
2787 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2788 overlap the inputs.
2789
761e6bb9
SZ
27902019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2791
2792 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2793 CTR_EL0.IDC and CTR_EL0.DIC.
2794
76c93295
CL
27952019-09-20 Christophe Lyon <christophe.lyon@st.com>
2796
2797 Revert:
2798 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2799 Mickaël Guêné <mickael.guene@st.com>
2800
2801 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2802 architecture.
2803
33befddc
RH
28042019-09-19 Richard Henderson <richard.henderson@linaro.org>
2805
2806 * config/aarch64/lse-init.c: New file.
2807 * config/aarch64/lse.S: New file.
2808 * config/aarch64/t-lse: New file.
2809 * config.host: Add t-lse to all aarch64 tuples.
2810
ae1152e5
CL
28112019-09-10 Christophe Lyon <christophe.lyon@st.com>
2812 Mickaël Guêné <mickael.guene@st.com>
2813
84818dbb
CL
2814 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2815 architecture.
2816
28172019-09-10 Christophe Lyon <christophe.lyon@st.com>
2818 Mickaël Guêné <mickael.guene@st.com>
2819
ae1152e5
CL
2820 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2821 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2822 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2823 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2824 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2825 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2826 (__gnu_personality_sigframe_fdpic): New.
2827 (get_eit_entry): Add FDPIC signal frame support.
2828
5d727a4b
CL
28292019-09-10 Christophe Lyon <christophe.lyon@st.com>
2830 Mickaël Guêné <mickael.guene@st.com>
2831
2832 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2833 (__kernel_dmb): Likewise.
2834 (__fdpic_cmpxchg): New function.
2835 (__fdpic_dmb): New function.
2836 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2837 (gnu_Unwind_Find_got): New function.
2838 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2839 * unwind-arm-common.inc (UCB_PR_GOT): New.
2840 (funcdesc_t): New struct.
2841 (get_eit_entry): Add FDPIC support.
2842 (unwind_phase2): Likewise.
2843 (unwind_phase2_forced): Likewise.
2844 (__gnu_Unwind_RaiseException): Likewise.
2845 (__gnu_Unwind_Resume): Likewise.
2846 (__gnu_Unwind_Backtrace): Likewise.
2847 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2848
b1e21e5a 28492019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 2850 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 2851
11189793
CL
2852 * libgcc/crtstuff.c: Add support for FDPIC.
2853
28542019-09-10 Christophe Lyon <christophe.lyon@st.com>
2855
2856 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2857
91dfef96
JM
28582019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2859
2860 * config.host: Set cpu_type for bpf-*-* targets.
2861 * config/bpf/t-bpf: Likewise.
2862 * config/bpf/crtn.S: Likewise.
2863 * config/bpf/crti.S: New file.
2864
2f4d8951
JW
28652019-09-06 Jim Wilson <jimw@sifive.com>
2866
2867 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2868 (riscv*-*-freebsd*): Likewise.
2869
2f2aeda9
UW
28702019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2871
2872 * config.host: Remove references to spu.
2873 * config/spu/: Remove directory.
2874
d16017da
JL
28752019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2876
2877 PR target/91306
2878 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2879 element type, instead of "sizeof" the element type.
2880 (__DTOR_LIST__): Likewise.
2881 (__TMC_LIST__): Likewise.
2882 (__do_global_dtors_aux_fini_array_entry): Likewise.
2883 (__frame_dummy_init_array_entry): Likewise.
2884 (__CTOR_END__): Likewise.
2885 (__DTOR_END__): Likweise.
2886 (__FRAME_END__): Likewise.
2887 (__TMC_END__): Likewise.
2888
a9fcfec3
HL
28892019-08-20 Lili Cui <lilicui@intel.com>
2890
2891 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2892 INTEL_COREI7_COOPERLAKE.
2893
428642b1
MT
28942019-07-31 Matt Thomas <matt@3am-software.com>
2895 Nick Hudson <nick@nthcliff.demon.co.uk>
2896 Matthew Green <mrg@eterna.com.au>
2897 Maya Rashish <coypu@sdf.org>
2898
2899 * config.host (hppa*-*-netbsd*): New case.
2900 * config/pa/t-netbsd: New file.
2901
f0efd925
JH
29022019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2903
2904 * config/arm/cmse.c (cmse_check_address_range): Add
2905 warn_unused_result attribute.
2906
a861990d
ML
29072019-07-22 Martin Liska <mliska@suse.cz>
2908
2909 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2910 * config/pa/t-stublib: Likewise.
2911
9c0dba7c
SH
29122019-07-22 Stafford Horne <shorne@gmail.com>
2913
2914 PR target/90362
2915 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2916 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2917 instructions are not available on every processor. Change a
2918 l.bnf to l.bf to fix logic issue.
2919
61afc8f8
IS
29202019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2921
2922 * config.host: Remove reference to t-darwin8.
2923
179c7ef5
IS
29242019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2925
2926 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2927 list.
2928 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2929 mmacosx-version-min for crts to run across all system versions.
2930 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2931 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2932 system versions >= 10.4.
2933
596341c7
ML
29342019-07-03 Martin Liska <mliska@suse.cz>
2935
2936 * Makefile.in: Use topn_values instead of one_value names.
2937 * libgcov-merge.c (__gcov_merge_single): Move to ...
2938 (__gcov_merge_topn): ... this.
2939 (merge_single_value_set): Move to ...
2940 (merge_topn_values_set): ... this.
2941 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2942 ...
2943 (__gcov_topn_values_profiler_body): ... this.
2944 (__gcov_one_value_profiler_v2): Move to ...
2945 (__gcov_topn_values_profiler): ... this.
2946 (__gcov_one_value_profiler_v2_atomic): Move to ...
2947 (__gcov_topn_values_profiler_atomic): ... this.
2948 (__gcov_indirect_call_profiler_v4): Remove.
2949 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2950 (__gcov_topn_counter_op): ... this.
2951 * libgcov.h (L_gcov_merge_single): Remove.
2952 (L_gcov_merge_topn): New.
2953 (__gcov_merge_single): Remove.
2954 (__gcov_merge_topn): New.
2955 (__gcov_one_value_profiler_v2): Move to ..
2956 (__gcov_topn_values_profiler): ... this.
2957 (__gcov_one_value_profiler_v2_atomic): Move to ...
2958 (__gcov_topn_values_profiler_atomic): ... this.
2959
1b309ca5
ML
29602019-07-03 Martin Liska <mliska@suse.cz>
2961
2962 * libgcov-merge.c (merge_single_value_set): Support N values.
2963 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2964
5a460280
ID
29652019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2966
2967 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2968 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2969 * configure.ac: Add --disable-tm-clone-registry option.
2970 * configure: Regenerate.
2971
45309d28
ML
29722019-06-27 Martin Liska <mliska@suse.cz>
2973
2974 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2975 dead assignments.
2976 * libgcov-util.c: Likewise.
2977
c2f7a665
ML
29782019-06-27 Martin Liska <mliska@suse.cz>
2979
2980 * libgcov-util.c (gcov_profile_merge): Release allocated
2981 memory.
2982 (calculate_overlap): Likewise.
2983
a8e55c61
IS
29842019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2985
2986 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2987 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2988 Build objects for the out of line save/restore register functions
2989 so that they can be used for any supported Darwin version.
2990 * config/t-darwin: Default the build Darwin version to Darwin8
2991 (MacOS 10.4).
2992
e5ce4cbc
ML
29932019-06-25 Martin Liska <mliska@suse.cz>
2994
2995 * libgcov-driver-system.c (replace_filename_variables): Do not
2996 call strlen with NULL argument.
2997
52a47d28
AS
29982019-06-25 Andrew Stubbs <ams@codesourcery.com>
2999
3000 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3001 * config/gcn/unwind-gcn.c: New file.
3002
76d46331
KCY
30032019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3004 Andrew Stubbs <ams@codesourcery.com>
3005
3006 * configure: Regenerate.
3007 * config/gcn/gthr-gcn.h: New.
3008
787783a0
TV
30092019-06-18 Tom de Vries <tdevries@suse.de>
3010
3011 * config/nvptx/crt0.c (__main): Declare.
3012
f32f7585
MG
30132019-06-17 Matthew Green <mrg@eterna.com.au>
3014 Maya Rashish <coypu@sdf.org>
3015
3016 * config.host (aarch64*-*-netbsd*): New case.
3017
0fcc78f7
JL
30182019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3019
3020 * config/msp430/slli.S (__mspabi_sllll): New library function for
3021 performing a logical left shift of a 64-bit value.
3022 * config/msp430/srai.S (__mspabi_srall): New library function for
3023 performing a arithmetic right shift of a 64-bit value.
3024 * config/msp430/srll.S (__mspabi_srlll): New library function for
3025 performing a logical right shift of a 64-bit value.
3026
b27c1082
MT
30272019-06-14 Matt Thomas <matt@3am-software.com>
3028 Matthew Green <mrg@eterna.com.au>
3029 Nick Hudson <skrll@netbsd.org>
3030 Maya Rashish <coypu@sdf.org>
3031
3032 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3033 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3034 functions to build.
3035 * config/arm/t-netbsd-eabi: New file.
3036
ae7deb4b
DD
30372019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3038
3039 * config.host: Add PRU target.
3040 * config/pru/asri.c: New file.
3041 * config/pru/eqd.c: New file.
3042 * config/pru/eqf.c: New file.
3043 * config/pru/ged.c: New file.
3044 * config/pru/gef.c: New file.
3045 * config/pru/gtd.c: New file.
3046 * config/pru/gtf.c: New file.
3047 * config/pru/led.c: New file.
3048 * config/pru/lef.c: New file.
3049 * config/pru/lib2bitcountHI.c: New file.
3050 * config/pru/lib2divHI.c: New file.
3051 * config/pru/lib2divQI.c: New file.
3052 * config/pru/lib2divSI.c: New file.
3053 * config/pru/libgcc-eabi.ver: New file.
3054 * config/pru/ltd.c: New file.
3055 * config/pru/ltf.c: New file.
3056 * config/pru/mpyll.S: New file.
3057 * config/pru/pru-abi.h: New file.
3058 * config/pru/pru-asm.h: New file.
3059 * config/pru/pru-divmod.h: New file.
3060 * config/pru/sfp-machine.h: New file.
3061 * config/pru/t-pru: New file.
3062
0d7b3e47
JJ
30632019-06-11 Jakub Jelinek <jakub@redhat.com>
3064
3065 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3066
54e2d83c
ML
30672019-06-10 Martin Liska <mliska@suse.cz>
3068
3069 PR bootstrap/90808
3070 * libgcov.h: Add ATTRIBUTE_UNUSED.
3071
92d41717
ML
30722019-06-10 Martin Liska <mliska@suse.cz>
3073
3074 * Makefile.in: Add __gcov_one_value_profiler_v2,
3075 __gcov_one_value_profiler_v2_atomic and
3076 __gcov_indirect_call_profiler_v4.
3077 * libgcov-merge.c (__gcov_merge_single): Change
3078 function signature.
3079 (merge_single_value_set): New.
3080 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3081 Update functionality.
3082 (__gcov_one_value_profiler): Remove.
3083 (__gcov_one_value_profiler_v2): ... this.
3084 (__gcov_one_value_profiler_atomic): Rename to ...
3085 (__gcov_one_value_profiler_v2_atomic): this.
3086 (__gcov_indirect_call_profiler_v3): Rename to ...
3087 (__gcov_indirect_call_profiler_v4): ... this.
3088 * libgcov.h (__gcov_one_value_profiler): Remove.
3089 (__gcov_one_value_profiler_atomic): Remove.
3090 (__gcov_one_value_profiler_v2_atomic): New.
3091 (__gcov_indirect_call_profiler_v3): Remove.
3092 (__gcov_one_value_profiler_v2): New.
3093 (__gcov_indirect_call_profiler_v4): New.
3094 (gcov_get_counter_ignore_scaling): New function.
3095
e37333ba
ML
30962019-06-07 Martin Liska <mliska@suse.cz>
3097
3098 * Makefile.in: Remove usage of
3099 _gcov_merge_icall_topn.
3100 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3101 (gcov_sort_icall_topn_counter): Likewise.
3102 (gcov_sort_topn_counter_arrays): Likewise.
3103 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3104 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3105 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3106 Likewise.
3107 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3108 (struct indirect_call_tuple): Remove.
3109 (__gcov_indirect_call_topn_profiler): Remove.
3110 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3111 * libgcov.h (gcov_sort_n_vals): Remove.
3112 (L_gcov_merge_icall_topn): Likewise.
3113 (__gcov_merge_icall_topn): Likewise.
3114 (__gcov_indirect_call_topn_profiler): Likewise.
3115
34a4a9c2
IS
31162019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3117
3118 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3119 altivec enabled.
3120
d1b2f85f
JL
31212019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3122
3123 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3124 section.
3125 (__mspabi_slli): Likewise.
3126 (__mspabi_slll_n): Likewise.
3127 (__mspabi_slll): Likewise.
3128 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3129 (__mspabi_srai): Likewise.
3130 (__mspabi_sral_n): Likewise.
3131 (__mspabi_sral): Likewise.
3132 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3133 (__mspabi_srli): Likewise.
3134 (__mspabi_srll_n): Likewise.
3135 (__mspabi_srll): Likewise.
3136
e69a13d1
YS
31372019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3138
3139 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3140 Add appropriate tm_file clause as well.
3141 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3142
b009eac1
JC
31432019-06-05 James Clarke <jrtc27@jrtc27.com>
3144
3145 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3146 rather than .data/.bss so it can be accessed via gp-relative
3147 addressing.
3148
781d39f2
DE
31492019-06-05 David Edelsohn <dje.gcc@gmail.com>
3150
3151 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3152 (CR2_REGNO): Rename to R_CR2.
3153 (XER_REGNO): Rename to R_XER.
3154 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3155 (VRSAVE_REGNO): Rename to R_VRSAVE.
3156 (VSCR_REGNO): R_VSCR.
3157
76aaa9cd
YS
31582019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3159
3160 * config.host (rx-*-linux*): Add new case.
3161 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3162
8fc16d72
ST
31632019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3164
3165 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3166 function.
3167 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3168 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3169 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3170 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3171 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3172 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3173 string.
3174 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3175 string.
3176 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3177
e54b1a92
RO
31782019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3179
3180 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3181 Remove Solaris 9 and 10 support.
3182 (sparc_is_sighandler): Likewise.
3183
abbb8307
JDA
31842019-05-26 John David Anglin <danglin@gcc.gnu.org>
3185
3186 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3187
2581344d
L
31882019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3189
3190 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3191 4_FP_W_TYPEs are used for IEEE quad precision.
3192 * soft-fp/extendhftf2.c: Likewise.
3193 * soft-fp/extendsftf2.c: Likewise.
3194 * soft-fp/extendxftf2.c: Likewise.
3195 * soft-fp/trunctfdf2.c: Likewise.
3196 * soft-fp/trunctfhf2.c: Likewise.
3197 * soft-fp/trunctfsf2.c: Likewise.
3198 * soft-fp/trunctfxf2.c: Likewise.
3199 * config/rs6000/ibm-ldouble.c: Likewise.
3200
ccd1242e
RO
32012019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3202
3203 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3204 *-*-solaris2*.
3205 * configure.ac: Likewise.
3206 * configure: Regenerate.
3207
3208 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3209 Solaris 10 and Solaris 11 < snv_125 handling.
3210
ef5eb79d
IS
32112019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3212
3213 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3214
4f0e90fa
HL
32152019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3216
3217 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3218 * config/i386/cpuinfo.h (enum processor_features): Add
3219 FEATURE_AVX512BF16.
3220
48528842
RR
32212019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3222 Bernd Edlinger <bernd.edlinger@hotmail.de>
3223 Jakub Jelinek <jakub@redhat.com>
3224
3225 PR target/89093
3226 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3227 * config/arm/unwind-arm.c: Likewise.
3228 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3229 attribute for ARM.
3230
887e182f
MC
32312019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3232
3233 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3234 (RT_SIGRETURN): Update.
3235 (nds32_fallback_frame_state): Update.
3236
a90b0cdd
MS
32372019-02-21 Martin Sebor <msebor@redhat.com>
3238
3239 * libgcc2.h (__clear_cache): Correct signature.
3240 * libgcc2.c (__clear_cache): Same.
3241
1ed28eda
UB
32422019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3243
3244 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3245 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3246
fe95aee9
UB
32472019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3248
3249 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3250 regno instead of index to DWARF_ZERO_REG.
3251
bf7988f1
EB
32522019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3253
3254 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3255 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3256
ba2c1ca8
UB
32572019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3258
3259 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3260 to HOST_LIBGCC2_CFLAGS.
3261
6395ba73
L
32622019-01-23 Joseph Myers <joseph@codesourcery.com>
3263
3264 PR libgcc/88931
ba2c1ca8 3265 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 3266
756721ba
ML
32672019-01-18 Martin Liska <mliska@suse.cz>
3268
3269 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3270 to ...
3271 (__gcov_indirect_call_profiler_v3): ... this.
3272 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3273 (__gcov_indirect_call_profiler_v3): Likewise.
3274 * Makefile.in: Bump function name.
3275
d273c40a
ML
32762019-01-18 Martin Liska <mliska@suse.cz>
3277
3278 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3279 (gcov_version): Use in gcov_error.
3280 (merge_one_data): Likewise.
3281 (dump_one_gcov): Likewise.
3282
be9d9fdb
ML
32832019-01-18 Martin Liska <mliska@suse.cz>
3284
3285 * libgcov-driver.c (gcov_version_string): New function.
3286 (gcov_version): Convert version integer into string.
3287
91d7b7fe
AS
32882019-01-17 Andrew Stubbs <ams@codesourcery.com>
3289 Kwok Cheung Yeung <kcy@codesourcery.com>
3290 Julian Brown <julian@codesourcery.com>
3291 Tom de Vries <tom@codesourcery.com>
3292
3293 * config.host: Recognize amdgcn*-*-amdhsa.
3294 * config/gcn/crt0.c: New file.
3295 * config/gcn/lib2-divmod-hi.c: New file.
3296 * config/gcn/lib2-divmod.c: New file.
3297 * config/gcn/lib2-gcn.h: New file.
3298 * config/gcn/sfp-machine.h: New file.
3299 * config/gcn/t-amdgcn: New file.
3300
67914693
SL
33012019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3302
3303 PR other/16615
3304
3305 * config/c6x/libunwind.S: Mechanically replace "can not" with
3306 "cannot".
3307 * config/tilepro/atomic.h: Likewise.
3308 * config/vxlib-tls.c: Likewise.
3309 * generic-morestack-thread.c: Likewise.
3310 * generic-morestack.c: Likewise.
3311 * mkmap-symver.awk: Likewise.
3312
a5544970
JJ
33132019-01-01 Jakub Jelinek <jakub@redhat.com>
3314
3315 Update copyright years.
3316
da77eace
L
33172018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3318
3319 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3320 to ignore -Waddress-of-packed-member.
3321
72e3a529
TP
33222018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3323
3324 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3325 parameter and corresponding code.
3326 (ARM_FUNC_START): Likewise in both definitions.
3327 Also update footer comment about condition that need to match with
3328 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3329 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3330 defined. Weakly define it in this case.
3331 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3332 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3333 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3334 comment to keep condition in sync with the one in
3335 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3336
5d54c798
WX
33372018-12-18 Wei Xiao <wei3.xiao@intel.com>
3338
3339 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3340 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3341
5a2580b6
RV
33422018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3343
3344 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3345 and .cfi_endproc directives for VxWorks targets.
3346
c0c5112b
PK
33472018-12-05 Paul Koning <ni1d@arrl.net>
3348
3349 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3350
1ea7ea18
AM
33512018-11-27 Alan Modra <amodra@gmail.com>
3352
3353 * config/rs6000/morestack.S (__stack_split_initialize),
3354 (__morestack_get_guard, __morestack_set_guard),
3355 (__morestack_make_guard): Provide CFI covering these functions.
3356 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3357
ff641ae1
XQ
33582018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3359
1ea7ea18 3360 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
3361 (sc_pt_regs_lr): Update for kernel.
3362 (sc_pt_regs_tls): Update for kernel.
3363
28209372
XQ
33642018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3365
3366 * config/csky/linux-unwind.h: Fix coding style.
3367
b2a71af6
XQ
33682018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3369
3370 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 3371 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
3372 instructions to adapt to changes in the kernel
3373
d929e137
SH
33742018-11-09 Stafford Horne <shorne@gmail.com>
3375 Richard Henderson <rth@twiddle.net>
3376
3377 * config.host: Add OpenRISC support.
3378 * config/or1k/*: New.
3379
222cfefa
KC
33802018-11-08 Kito Cheng <kito@andestech.com>
3381
3382 * soft-fp/adddf3.c: Update from glibc.
3383 * soft-fp/addsf3.c: Likewise.
3384 * soft-fp/addtf3.c: Likewise.
3385 * soft-fp/divdf3.c: Likewise.
3386 * soft-fp/divsf3.c: Likewise.
3387 * soft-fp/divtf3.c: Likewise.
3388 * soft-fp/double.h: Likewise.
3389 * soft-fp/eqdf2.c: Likewise.
3390 * soft-fp/eqsf2.c: Likewise.
3391 * soft-fp/eqtf2.c: Likewise.
3392 * soft-fp/extenddftf2.c: Likewise.
3393 * soft-fp/extended.h: Likewise.
3394 * soft-fp/extendhftf2.c: Likewise.
3395 * soft-fp/extendsfdf2.c: Likewise.
3396 * soft-fp/extendsftf2.c: Likewise.
3397 * soft-fp/extendxftf2.c: Likewise.
3398 * soft-fp/fixdfdi.c: Likewise.
3399 * soft-fp/fixdfsi.c: Likewise.
3400 * soft-fp/fixdfti.c: Likewise.
3401 * soft-fp/fixhfti.c: Likewise.
3402 * soft-fp/fixsfdi.c: Likewise.
3403 * soft-fp/fixsfsi.c: Likewise.
3404 * soft-fp/fixsfti.c: Likewise.
3405 * soft-fp/fixtfdi.c: Likewise.
3406 * soft-fp/fixtfsi.c: Likewise.
3407 * soft-fp/fixtfti.c: Likewise.
3408 * soft-fp/fixunsdfdi.c: Likewise.
3409 * soft-fp/fixunsdfsi.c: Likewise.
3410 * soft-fp/fixunsdfti.c: Likewise.
3411 * soft-fp/fixunshfti.c: Likewise.
3412 * soft-fp/fixunssfdi.c: Likewise.
3413 * soft-fp/fixunssfsi.c: Likewise.
3414 * soft-fp/fixunssfti.c: Likewise.
3415 * soft-fp/fixunstfdi.c: Likewise.
3416 * soft-fp/fixunstfsi.c: Likewise.
3417 * soft-fp/fixunstfti.c: Likewise.
3418 * soft-fp/floatdidf.c: Likewise.
3419 * soft-fp/floatdisf.c: Likewise.
3420 * soft-fp/floatditf.c: Likewise.
3421 * soft-fp/floatsidf.c: Likewise.
3422 * soft-fp/floatsisf.c: Likewise.
3423 * soft-fp/floatsitf.c: Likewise.
3424 * soft-fp/floattidf.c: Likewise.
3425 * soft-fp/floattihf.c: Likewise.
3426 * soft-fp/floattisf.c: Likewise.
3427 * soft-fp/floattitf.c: Likewise.
3428 * soft-fp/floatundidf.c: Likewise.
3429 * soft-fp/floatundisf.c: Likewise.
3430 * soft-fp/floatunditf.c: Likewise.
3431 * soft-fp/floatunsidf.c: Likewise.
3432 * soft-fp/floatunsisf.c: Likewise.
3433 * soft-fp/floatunsitf.c: Likewise.
3434 * soft-fp/floatuntidf.c: Likewise.
3435 * soft-fp/floatuntihf.c: Likewise.
3436 * soft-fp/floatuntisf.c: Likewise.
3437 * soft-fp/floatuntitf.c: Likewise.
3438 * soft-fp/gedf2.c: Likewise.
3439 * soft-fp/gesf2.c: Likewise.
3440 * soft-fp/getf2.c: Likewise.
3441 * soft-fp/half.h: Likewise.
3442 * soft-fp/ledf2.c: Likewise.
3443 * soft-fp/lesf2.c: Likewise.
3444 * soft-fp/letf2.c: Likewise.
3445 * soft-fp/muldf3.c: Likewise.
3446 * soft-fp/mulsf3.c: Likewise.
3447 * soft-fp/multf3.c: Likewise.
3448 * soft-fp/negdf2.c: Likewise.
3449 * soft-fp/negsf2.c: Likewise.
3450 * soft-fp/negtf2.c: Likewise.
3451 * soft-fp/op-1.h: Likewise.
3452 * soft-fp/op-2.h: Likewise.
3453 * soft-fp/op-4.h: Likewise.
3454 * soft-fp/op-8.h: Likewise.
3455 * soft-fp/op-common.h: Likewise.
3456 * soft-fp/quad.h: Likewise.
3457 * soft-fp/single.h: Likewise.
3458 * soft-fp/soft-fp.h: Likewise.
3459 * soft-fp/subdf3.c: Likewise.
3460 * soft-fp/subsf3.c: Likewise.
3461 * soft-fp/subtf3.c: Likewise.
3462 * soft-fp/truncdfsf2.c: Likewise.
3463 * soft-fp/trunctfdf2.c: Likewise.
3464 * soft-fp/trunctfhf2.c: Likewise.
3465 * soft-fp/trunctfsf2.c: Likewise.
3466 * soft-fp/trunctfxf2.c: Likewise.
3467 * soft-fp/unorddf2.c: Likewise.
3468 * soft-fp/unordsf2.c: Likewise.
3469 * soft-fp/unordtf2.c: Likewise.
3470
2901f42f
VK
34712018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3472
3473 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3474 * config/i386/cpuinfo.h (processor_types): Add znver2.
3475
4310ca66
PK
34762018-11-01 Paul Koning <ni1d@arrl.net>
3477
3478 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3479 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3480
22e05272
JM
34812018-10-31 Joseph Myers <joseph@codesourcery.com>
3482
3483 PR bootstrap/82856
3484 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3485 * configure: Regenerate.
3486
8180cde0
CZ
34872018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3488
3489 * config/arc/lib1funcs.S (_muldi3): New function.
3490 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3491
be7b071e
RV
34922018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3493
3494 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3495
3239d726
ML
34962018-10-25 Martin Liska <mliska@suse.cz>
3497
3498 PR other/87735
3499 * libgcov-profiler.c: Revert.
3500
19b55958
ML
35012018-10-24 Martin Liska <mliska@suse.cz>
3502
3503 * libgcov-profiler.c: Start from 1 in order to distinguish
3504 functions which were seen and these that were not.
3505
a9a2fddb
PK
35062018-10-18 Paul Koning <ni1d@arrl.net>
3507
3508 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3509 standard.
3510 * divmod.c: Update references to __udivmodsi4.
3511 * udivmod.c: Ditto.
3512 * udivhi3.c: New file.
3513 * udivmodhi4.c: New file.
3514 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3515
fc8abc46
RV
35162018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3517
3518 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3519
87f918e3
OH
35202018-10-12 Olivier Hainque <hainque@adacore.com>
3521
3522 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3523 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3524
be86efa7
PK
35252018-10-08 Paul Koning <ni1d@arrl.net>
3526
3527 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3528
3edbcdbe
ML
35292018-10-04 Martin Liska <mliska@suse.cz>
3530
3531 PR gcov-profile/84107
3532 * libgcov-profiler.c (__gcov_indirect_call):
3533 Change type to indirect_call_tuple.
3534 (struct indirect_call_tuple): New struct.
3535 (__gcov_indirect_call_topn_profiler): Change type.
3536 (__gcov_indirect_call_profiler_v2): Use the new
3537 variables.
3538 * libgcov.h (struct indirect_call_tuple): New struct
3539 definition.
3540
af8096fc
UB
35412018-10-03 Uros Bizjak <ubizjak@gmail.com>
3542
3543 * libgcc2.c (isnan): Use __builtin_isnan.
3544 (isfinite): Use __builtin_isfinite.
3545 (isinf): Use __builtin_isinf.
3546
0a76bba4
UB
35472018-09-26 Uros Bizjak <ubizjak@gmail.com>
3548
3549 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3550
5244089f
OH
35512018-09-21 Alexandre Oliva <oliva@adacore.com>
3552
3553 * config/vxcache.c: New file. Provide __clear_cache, based on
3554 the cacheTextUpdate VxWorks service.
3555 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3556 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3557 * config/t-vxwoks7: Likewise.
3558
512cc015
ML
35592018-09-21 Martin Liska <mliska@suse.cz>
3560
3561 * libgcov-driver.c (crc32_unsigned): Remove.
3562 (gcov_histogram_insert): Likewise.
3563 (gcov_compute_histogram): Likewise.
3564 (compute_summary): Simplify rapidly.
3565 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3566 (merge_summary): Rapidly simplify.
3567 (dump_one_gcov): Ignore gcov_summary.
3568 (gcov_do_dump): Do not handle program summary, it's not
3569 used.
3570 * libgcov-util.c (tag_summary): Remove.
3571 (read_gcda_finalize): Fix coding style.
3572 (read_gcda_file): Initialize curr_object_summary.
3573 (compute_summary): Remove.
3574 (calculate_overlap): Remove settings of run_max.
3575
36ff254b
MC
35762018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3577
3578 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3579 ucontext_t type instead.
3580 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3581
229a033d
KC
35822018-09-21 Kito Cheng <kito.cheng@gmail.com>
3583
3584 * config/nds32/t-nds32-glibc: New file.
3585
53c6feb2
RO
35862018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3587
3588 * configure.ac (solaris_ld_v2_maps): New test.
3589 * configure: Regenerate.
3590 * Makefile.in (solaris_ld_v2_maps): New variable.
3591 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3592 if supported.
3593
ebdb6f23
RE
35942018-08-23 Richard Earnshaw <rearnsha@arm.com>
3595
3596 PR target/86951
3597 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3598 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3599 to build.
3600
a49c064e
IS
36012018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3602
1ea7ea18 3603 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
3604 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3605 * config/darwin10-unwind-find-enc-func.c: … to here.
3606 * config/t-darwin: Build Darwin10 unwinder shim crt.
3607 * libgcc/config.host: Add the Darwin10 unwinder shim.
3608
9a5b8df7
RV
36092018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3610
3611 * config.host: Add crtbegin.o and crtend.o for
3612 powerpc-wrs-vxworks target.
3613
4cd0bc3b
J
36142018-08-17 Jojo <jijie_rong@c-sky.com>
3615 Huibin Wang <huibin_wang@c-sky.com>
3616 Sandra Loosemore <sandra@codesourcery.com>
3617 Chung-Lin Tang <cltang@codesourcery.com>
3618
3619 C-SKY port: libgcc
3620
3621 * config.host: Add C-SKY support.
3622 * config/csky/*: New.
3623
a4931745
CJW
36242018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3625
3626 * config/nds32/t-nds32-isr: Rearrange object dependency.
3627 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3628 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3629 and registers usage.
3630 * config/nds32/isr-library/excp_isr.S: Ditto.
3631 * config/nds32/isr-library/intr_isr.S: Ditto.
3632 * config/nds32/isr-library/reset.S: Ditto.
3633 * config/nds32/isr-library/restore_all.inc: Ditto.
3634 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3635 * config/nds32/isr-library/restore_partial.inc: Ditto.
3636 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3637 * config/nds32/isr-library/save_all.inc: Ditto.
3638 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3639 * config/nds32/isr-library/save_partial.inc: Ditto.
3640 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3641 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3642
2b1969f6
JDA
36432018-08-11 John David Anglin <danglin@gcc.gnu.org>
3644
3645 * config/pa/linux-atomic.c: Update comment.
3646 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3647 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3648 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3649 __ATOMIC_RELAXED for atomic loads.
3650 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3651 unordered store to release lock.
3652 (__sync_lock_release_8): Likewise.
3653 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 3654
89fff9cc
NP
36552018-08-02 Nicolas Pitre <nico@fluxnic.net>
3656
3657 PR libgcc/86512
3658 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3659 exponent goes negative. Update my email address.
3660 * config/arm/ieee754-sf.S: Likewise.
3661
fd2e1dcd
ML
36622018-08-01 Martin Liska <mliska@suse.cz>
3663
3664 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 3665 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 3666
b7415975
CL
36672018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3668
3669 * config/arm/ieee754-df.S: Fix comment for code working on
3670 architectures >= 4.
3671 * config/arm/ieee754-sf.S: Likewise.
3672
b72e71a3
L
36732018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3674
3675 PR libgcc/85334
3676 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3677 Removed.
3678
1c686aa4
JC
36792018-07-05 James Clarke <jrtc27@jrtc27.com>
3680
3681 * configure: Regenerated.
3682
b61c9b99
RO
36832018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3684
3685 * Makefile.in (install_leaf): Use enable_gcov instead of
3686 enable_libgcov.
3687
1765b023
RV
36882018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3689
3690 * configure.ac: Add --disable-gcov option.
3691 * configure: Regenerate.
3692 * Makefile.in: Honour @enable_gcov@.
3693
9b2e34ef
CL
36942018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3695
3696 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3697 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3698 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3699 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3700 __ARM_ARCH__.
3701 * config/arm/ieee754-sf.S: Likewise.
3702 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3703
d1b0dd54
CL
37042018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3705
3706 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3707 longer supported.
3708 * config/arm/ieee754-sf.S: Likewise.
3709
1f3fa525
TM
37102018-06-20 Than McIntosh <thanm@google.com>
3711
3712 PR libgcc/86213
3713 * generic-morestack.c (allocate_segment): Move calls to getenv and
3714 getpagesize to __morestack_load_mmap.
3715 (__morestack_load_mmap) Initialize static_pagesize and
3716 use_guard_page here so as to avoid clobbering SSE regs during a
3717 __morestack call.
3718
6a8886e4
MM
37192018-06-18 Michael Meissner <meissner@linux.ibm.com>
3720
3721 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3722 support modules with -mno-gnu-attribute.
3723 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3724
fb997097
OH
37252018-06-07 Olivier Hainque <hainque@adacore.com>
3726
3727 * config/t-vxworks (LIBGCC_INCLUDES): Add
3728 -I$(MULTIBUILDTOP)../../gcc/include.
3729 * config/t-vxworks7: Likewise. Reformat a bit to match
3730 the t-vxworks layout.
3731
a548a5a1
OM
37322018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3733
3734 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3735
244aebfd
ML
37362018-06-07 Martin Liska <mliska@suse.cz>
3737
3738 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 3739 all_prg.
244aebfd 3740
6c086e8c
ML
37412018-06-07 Martin Liska <mliska@suse.cz>
3742
92a285c1 3743 PR bootstrap/86057
6c086e8c 3744 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 3745 memcpy instead of mempcpy.
6c086e8c 3746 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 3747 prefix and set it.
6c086e8c 3748 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 3749 here and properly copy content into it.
6c086e8c 3750 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 3751 field, change prefix from size_t into char *.
6c086e8c
ML
3752 (compute_summary): Do not calculate longest filename.
3753 (gcov_do_dump): Release memory of gf.filename after each file.
3754 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 3755 compute_summary.
6c086e8c
ML
3756 (calculate_overlap): Likewise.
3757
97a53d1d
ML
37582018-06-05 Martin Liska <mliska@suse.cz>
3759
3760 PR gcov-profile/47618
3761 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 3762 function.
97a53d1d
ML
3763 (gcov_exit_open_gcda_file): Use it.
3764
7f3577f5
ML
37652018-06-05 Martin Liska <mliska@suse.cz>
3766
3767 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3768 of gcov_ctr_summary.
3769 (compute_summary): Do it just for a single summary.
3770 (merge_one_data): Likewise.
3771 (merge_summary): Simplify as we read just single summary.
3772 (dump_one_gcov): Pass proper argument.
3773 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3774 single summary.
3775 (gcov_info_count_all_cold): Likewise.
3776 (calculate_overlap): Likewise.
3777
cf3cd43d
CJW
37782018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3779 Monk Chiang <sh.chiang04@gmail.com>
3780
3781 * config.host (nds32*-linux*): New.
3782 * config/nds32/linux-atomic.c: New file.
3783 * config/nds32/linux-unwind.h: New file.
3784
8b8003ed
UB
37852018-05-31 Uros Bizjak <ubizjak@gmail.com>
3786
3787 PR target/85591
3788 * config/i386/cpuinfo.c (get_amd_cpu): Return
3789 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3790
bbdf026f
RV
37912018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3792
92a285c1 3793 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 3794
0e8f29da
ML
37952018-05-29 Martin Liska <mliska@suse.cz>
3796
92a285c1 3797 PR gcov-profile/85759
0e8f29da 3798 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 3799 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 3800 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 3801 overwrite a gcov file with a different timestamp.
0e8f29da 3802
54fd1590
K
38032018-05-23 Kalamatee <kalamatee@gmail.com>
3804
3805 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3806 path to Lf$finfty.
3807
09baee1a
KC
38082018-05-18 Kito Cheng <kito.cheng@gmail.com>
3809 Monk Chiang <sh.chiang04@gmail.com>
3810 Jim Wilson <jimw@sifive.com>
3811
3812 * config/riscv/save-restore.S: Add support for rv32e.
3813
c3f808d3
KT
38142018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3815
3816 * config/arm/libunwind.S: Update comment relating to armv5.
3817
fcf4f831
JL
38182018-05-17 Jerome Lambourg <lambourg@adacore.com>
3819
3820 * config/arm/cmse.c (cmse_check_address_range): Replace
3821 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3822
74b2bb19
OM
38232018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3824
3825 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3826 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3827
50e461df
OM
38282018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3829
3830 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3831 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3832
e5f1cdb1
AC
38332018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3834
3835 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3836
8f479d7a
AT
38372018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3838 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3839
3840 PR libgcc/84292
3841 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3842 op_and_fetch to return the right result.
3843
ae043291
AM
38442018-04-27 Alan Modra <amodra@gmail.com>
3845
3846 PR libgcc/85532
3847 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3848 -fno-asynchronous-unwind-tables.
3849
ba169b74
CJW
38502018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3851
3852 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3853 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3854
ffc2fc06
L
38552018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3856
3857 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3858 when including "config/i386/shadow-stack-unwind.h".
3859
7b47ecf2
L
38602018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3861
3862 * configure: Regenerated.
3863
661eb8f9
MM
38642018-04-20 Michael Meissner <meissner@linux.ibm.com>
3865
3866 PR target/85456
3867 * config/rs6000/_powikf2.c: New file. Add support for the
3868 __builtin_powil function when long double is IEEE 128-bit floating
3869 point.
3870 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3871 __powikf2 support.
3872 (__powikf2): Likewise.
3873 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3874 (__powikf2_hw): Likewise.
3875 (__powikf2): Likewise.
3876 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3877 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3878 (_powikf2-hw.c): Likewise.
3879
5707be3c
L
38802018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3881
3882 PR libgcc/85334
3883 * unwind-generic.h (_Unwind_Frames_Increment): New.
3884 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3885 Likewise.
3886 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3887 count with _Unwind_Frames_Increment.
3888 (_Unwind_ForcedUnwind_Phase2): Likewise.
3889
5f9ca0b8
L
38902018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3891
3892 PR libgcc/85379
3893 * config/i386/morestack.S (__stack_split_initialize): Add
3894 _CET_ENDBR.
3895
a0e1df88
JJ
38962018-04-19 Jakub Jelinek <jakub@redhat.com>
3897
3898 * configure: Regenerated.
3899
001ddaa8
DM
39002018-04-18 David Malcolm <dmalcolm@redhat.com>
3901
3902 PR jit/85384
3903 * configure: Regenerate.
3904
a57f99ba
JJ
39052018-04-16 Jakub Jelinek <jakub@redhat.com>
3906
3907 PR target/84945
3908 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3909 -Wdangling-else warnings. Mask shift counts to avoid
3910 -Wshift-count-negative and -Wshift-count-overflow false positives.
3911
4d47fe5a
RB
39122018-04-06 Ruslan Bukin <br@bsdpad.com>
3913
3914 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3915
059cc8ac
L
39162018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3917
3918 PR target/85100
3919 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3920 (XSTATE_FP): Likewise.
3921 (XSTATE_SSE): Likewise.
3922 (XSTATE_YMM): Likewise.
3923 (XSTATE_OPMASK): Likewise.
3924 (XSTATE_ZMM): Likewise.
3925 (XSTATE_HI_ZMM): Likewise.
3926 (XCR_AVX_ENABLED_MASK): Likewise.
3927 (XCR_AVX512F_ENABLED_MASK): Likewise.
3928 (get_available_features): Enable AVX and AVX512 features only
3929 if their states are supported by OSXSAVE.
3930
f2620385
IT
39312018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3932
3933 PR target/85025
3934 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3935 Fix a typo, tmp => 255.
3936
ae6dca8c
JJ
39372018-03-20 Jakub Jelinek <jakub@redhat.com>
3938
3939 PR target/84945
3940 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3941 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3942 ifndef SHARED only.
3943 (set_feature): Define.
3944 (get_available_features): Use set_feature macro. Set __cpu_features2
3945 to the second word of features ifndef SHARED.
3946
c36b04c1
JK
39472018-03-15 Julia Koval <julia.koval@intel.com>
3948
3949 * config/i386/cpuinfo.c (get_available_features): Add
3950 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3951 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3952 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3953 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3954 FEATURE_AVX512BITALG.
3955
79ab5364
JK
39562018-03-14 Julia Koval <julia.koval@intel.com>
3957
3958 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3959 icelake client and icelake server.
3960
66a00b11
JDA
39612018-03-06 John David Anglin <danglin@gcc.gnu.org>
3962
3963 * config/pa/fptr.c (_dl_read_access_allowed): New.
3964 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3965
ce579a4f
JJ
39662018-02-28 Jakub Jelinek <jakub@redhat.com>
3967
3968 PR debug/83917
3969 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3970 $asm_hidden_op if visibility ("hidden") attribute works.
3971 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3972 * config/i386/i386-asm.h: Don't include auto-host.h.
3973 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3974 PACKAGE_URL): Don't undefine.
3975 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3976 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3977 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3978 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3979 definition instead of hardcoded .hidden.
3980 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3981 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3982 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3983 (USE_GAS_CFI_DIRECTIVES): Don't define.
3984 * configure: Regenerated.
3985 * config.in: Likewise.
3986
e5868319
JJ
39872018-02-26 Jakub Jelinek <jakub@redhat.com>
3988
3989 PR debug/83917
3990 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3991 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3992 inclusion of auto-target.h and auto-host.h.
3993 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3994 __GCC_HAVE_DWARF2_CFI_ASM.
3995 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3996 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3997 cfi_pop): Define.
3998 * config/i386/cygwin.S: Don't include auto-host.h here, just
3999 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4000 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4001 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4002 * config/i386/resms64fx.h: Add cfi_* directives.
4003 * config/i386/resms64x.h: Likewise.
4004
faef260e
MF
40052018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4006
4007 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4008 .literal_position directive.
4009 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4010
14e335ed
IT
40112018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4012
4013 PR target/84148
4014 * configure: Regenerate.
4015
95df0433
IT
40162018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4017
4018 PR target/84239
4019 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4020 Include cetintrin.h not x86intrin.h.
4021
f8de876d
IT
40222018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4023
4024 PR target/84239
95df0433 4025 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
4026 Use new _get_ssp and _inc_ssp intrinsics.
4027
02da1e9c
JK
40282018-02-02 Julia Koval <julia.koval@intel.com>
4029
4030 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4031
048c6a9a
CZ
40322018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4033
4034 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4035 option.
4036 (__divsi3): Use RF16 safe registers.
4037 (__modsi3): Likewise.
4038
0889f168
MF
40392018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4040
4041 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4042 (__divsf3): Make NaN return value quiet.
4043 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4044 (__divdf3): Make NaN return value quiet.
4045
bc8b0d04
SP
40462018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4047
4048 * config/rl78/anddi3.S: New assembly file.
4049 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4050
99cc06ea
SP
40512018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4052
4053 * config/rl78/umindi3.S: New assembly file.
4054 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4055
6e9007a0
SP
40562018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4057
4058 * config/rl78/smindi3.S: New assembly file.
4059 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4060
d975e494 40612018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4062
d975e494
SP
4063 * config/rl78/smaxdi3.S: New assembly file.
4064 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4065
6a18c146 40662018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4067
5dd16013
SP
4068 * config/rl78/umaxdi3.S: New assembly file.
4069 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 4070
07baf4a5
JDA
40712018-01-21 John David Anglin <danglin@gcc.gnu.org>
4072
4073 PR lto/83452
4074 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4075 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 4076
dbc3af4f
RS
40772018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4078
4079 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4080 (DWARF_LAZY_REGISTER_VALUE): Define.
4081 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4082 to provide a fallback register value.
4083
68df9882
MM
40842018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4085
4086 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4087 __ibm128, instead of trying to use long double.
4088 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4089 accomidate -mabi=ieeelongdouble multilibs.
4090 (CVT_IBM128_TO_FLOAT128): Likewise.
4091 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4092 the appropriate IBM extended double type.
4093 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4094 (__gcc_qsub): Likewise.
4095 (__gcc_qmul): Likewise.
4096 (__gcc_qdiv): Likewise.
4097 (pack_ldouble): Likewise.
4098 (__gcc_qneg): Likewise.
4099 (__gcc_qeq): Likewise.
4100 (__gcc_qne): Likewise.
4101 (__gcc_qge): Likewise.
4102 (__gcc_qle): Likewise.
4103 (__gcc_stoq): Likewise.
4104 (__gcc_dtoq): Likewise.
4105 (__gcc_itoq): Likewise.
4106 (__gcc_utoq): Likewise.
4107 (__gcc_qunord): Likewise.
4108 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4109 quad-float128.h for the definitions.
4110 (COPYSIGN): Use the f128 version instead of the q version.
4111 (INFINITY): Likewise.
4112 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4113 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4114 quad-float128.h for the definitions.
4115 (COPYSIGN): Use the f128 version instead of the q version.
4116 (INFINITY): Likewise.
4117 (FABS): Likewise.
4118 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4119 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4120 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4121
64b371b1
SH
41222018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4123
4124 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4125 configuration.
4126
85ec4feb
JJ
41272018-01-03 Jakub Jelinek <jakub@redhat.com>
4128
4129 Update copyright years.
4130
41312017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
4132
4133 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4134 * config/riscv/multi3.c: New file.
4135 * config/riscv/multi3.S: Remove.
4136
3a4c600f
JW
41372017-12-08 Jim Wilson <jimw@sifive.com>
4138
4139 * config/riscv/div.S: Use FUNC_* macros.
4140 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4141 * config/riscv/save-restore.S: Likewise.
4142 * config/riscv/riscv-asm.h: New.
4143
75ad35b5
MM
41442017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4145
6ae3512c
MM
4146 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4147 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4148
75ad35b5
MM
4149 PR libgcc/83112
4150 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4151 correct type for all ifunc resolvers to silence -Wattribute-alias
4152 warnings. Eliminate the forward declaration of the resolver
4153 functions which is no longer needed.
4154 (__subkf3_resolve): Likewise.
4155 (__mulkf3_resolve): Likewise.
4156 (__divkf3_resolve): Likewise.
4157 (__negkf2_resolve): Likewise.
4158 (__eqkf2_resolve): Likewise.
4159 (__nekf2_resolve): Likewise.
4160 (__gekf2_resolve): Likewise.
4161 (__gtkf2_resolve): Likewise.
4162 (__lekf2_resolve): Likewise.
4163 (__ltkf2_resolve): Likewise.
4164 (__unordkf2_resolve): Likewise.
4165 (__extendsfkf2_resolve): Likewise.
4166 (__extenddfkf2_resolve): Likewise.
4167 (__trunckfsf2_resolve): Likewise.
4168 (__trunckfdf2_resolve): Likewise.
4169 (__fixkfsi_resolve): Likewise.
4170 (__fixkfdi_resolve): Likewise.
4171 (__fixunskfsi_resolve): Likewise.
4172 (__fixunskfdi_resolve): Likewise.
4173 (__floatsikf_resolve): Likewise.
4174 (__floatdikf_resolve): Likewise.
4175 (__floatunsikf_resolve): Likewise.
4176 (__floatundikf_resolve): Likewise.
4177 (__extendkftf2_resolve): Likewise.
4178 (__trunctfkf2_resolve): Likewise.
4179
4180 PR libgcc/83103
4181 * config/rs6000/quad-float128.h (TF): Don't define if long double
4182 is IEEE 128-bit floating point.
4183 (TCtype): Define as either TCmode or KCmode, depending on whether
4184 long double is IEEE 128-bit floating point.
4185 (__mulkc3_sw): Add declarations for software/hardware versions of
4186 complex multiply/divide.
4187 (__divkc3_sw): Likewise.
4188 (__mulkc3_hw): Likewise.
4189 (__divkc3_hw): Likewise.
4190 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4191 handlers to switch between using software emulation and hardware
4192 float128 instructions, build the complex multiply/divide functions
4193 for both software and hardware support.
4194 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4195 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4196 (__divkc3_resolve): Likewise.
4197 (__mulkc3): Likewise.
4198 (__divkc3): Likewise.
4199 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4200 (fp128_hw_src): Likewise.
4201 (fp128_hw_static_obj): Likewise.
4202 (fp128_hw_shared_obj): Likewise.
4203 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4204 _mulkc3.c and _divkc3.c, changing the function name.
4205 (_divkc3-hw.c): Likewise.
4206 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4207 and _divkc3-hw.c.
4208
c234d831
UB
42092017-11-26 Julia Koval <julia.koval@intel.com>
4210
4211 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4212 * config/i386/cpuinfo.h (processor_subtypes): Add
4213 INTEL_COREI7_CANNONLAKE.
4214
1ebafce0
IT
42152017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4216
4217 PR bootstrap/83015
4218 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4219 parameter.
4220 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4221 * config/ia64/unwind-ia64.c: Add frames parameter.
4222 * unwind-sjlj.c: Likewise.
4223
6a10fff4
IT
42242017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4225
4226 * config/i386/linux-unwind.h: Include
4227 config/i386/shadow-stack-unwind.h.
4228 * config/i386/shadow-stack-unwind.h: New file.
4229 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4230 pass it to _Unwind_Frames_Extra.
4231 * unwind-generic.h (_Unwind_Frames_Extra): New.
4232 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4233 parameter. Add local variable frames to count number of frames.
4234 (_Unwind_ForcedUnwind_Phase2): Likewise.
4235 (_Unwind_RaiseException): Add local variable frames to count
4236 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4237 uw_install_context.
4238 (_Unwind_ForcedUnwind): Likewise.
4239 (_Unwind_Resume): Likewise.
4240 (_Unwind_Resume_or_Rethrow): Likewise.
4241
1ecae1fc
IT
42422017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4243
4244 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4245 (CET_FLAGS): New.
4246 * config/i386/morestack.S: Include <cet.h>.
4247 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4248 * config/i386/resms64.h: Include <cet.h>.
4249 * config/i386/resms64f.h: Likewise.
4250 * config/i386/resms64fx.h: Likewise.
4251 * config/i386/resms64x.h: Likewise.
4252 * config/i386/savms64.h: Likewise.
4253 * config/i386/savms64f.h: Likewise.
4254 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4255 (CRTSTUFF_T_CFLAGS): Likewise.
4256 * configure.ac: Include ../config/cet.m4.
4257 Set and substitute CET_FLAGS.
4258 * configure: Regenerated.
4259
f021f1d3
RO
42602017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4261
4262 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4263 renaming.
4264 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4265 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4266 * configure: Regenerate.
4267
65f480c7
TV
42682017-11-07 Tom de Vries <tom@codesourcery.com>
4269
4270 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4271 after "do {} while (0)".
4272
2a321acb
TV
42732017-11-07 Tom de Vries <tom@codesourcery.com>
4274
4275 PR other/82784
4276 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4277 semicolon after "do {} while (0)".
4278 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4279 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4280 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4281 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4282
59fcf6c3
AT
42832017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4284
4285 PR libgcc/82635
4286 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4287 sysctl to determine whether we're in a trampoline.
4288 Keep the pattern matching method for systems without
4289 KERN_PROC_SIGTRAMP sysctl.
4290
b0c7ddf8
CM
42912017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4292 Vineet Gupta <vgupta@synopsys.com>
4293
4294 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4295 * config/arc/linux-unwind-reg.def: New file.
4296 * config/arc/linux-unwind-reg.h: Likewise.
4297
5feee954
SP
42982017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4299
4300 * config/rl78/subdi3.S: New assembly file.
4301 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4302
a0bf6cf7
SP
43032017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4304
4305 * config/rl78/adddi3.S: New assembly file.
4306 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4307
e7176f75
JJ
43082017-10-13 Jakub Jelinek <jakub@redhat.com>
4309
4310 PR target/82274
4311 * libgcc2.c (__mulvDI3): If both operands have
4312 the same highpart of -1 and the topmost bit of lowpart is 0,
4313 multiplication overflows even if both lowparts are 0.
4314
db6601d2
JB
43152017-09-28 James Bowman <james.bowman@ftdichip.com>
4316
4317 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4318
938b6f1e
JM
43192017-09-26 Joseph Myers <joseph@codesourcery.com>
4320
4321 * config/microblaze/crti.S, config/microblaze/crtn.S,
4322 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4323 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4324 config/microblaze/mulsi3.S,
4325 config/microblaze/stack_overflow_exit.S,
4326 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4327 config/pa/milli64.S: Add .note.GNU-stack section.
4328
89762a83
DS
43292017-09-23 Daniel Santos <daniel.santos@pobox.com>
4330
4331 * configure.ac: Add Check for HAVE_AS_AVX.
4332 * config.in: Regenerate.
4333 * configure: Likewise.
4334 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4335 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4336 Correct out-of-date comments.
4337
cace2309
SP
43382017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4339
4340 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4341 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4342
3cb626e4
DS
43432017-09-17 Daniel Santos <daniel.santos@pobox.com>
4344
cace2309 4345 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
4346 (ASMNAME): Modify to use PASTE2.
4347 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4348 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 4349 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 4350 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
4351 * config/i386/resms64f.S: Likewise.
4352 * config/i386/resms64fx.S: Likewise.
4353 * config/i386/resms64x.S: Likewise.
4354 * config/i386/savms64.S: Likewise.
4355 * config/i386/savms64f.S: Likewise.
4356 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 4357 includes it's corresponding header file.
cace2309
SP
4358 * config/i386/avx_resms64f.S: Likewise.
4359 * config/i386/avx_resms64fx.S: Likewise.
4360 * config/i386/avx_resms64x.S: Likewise.
4361 * config/i386/avx_savms64.S: Likewise.
4362 * config/i386/avx_savms64f.S: Likewise.
4363 * config/i386/sse_resms64.S: Likewise.
4364 * config/i386/sse_resms64f.S: Likewise.
4365 * config/i386/sse_resms64fx.S: Likewise.
4366 * config/i386/sse_resms64x.S: Likewise.
4367 * config/i386/sse_savms64.S: Likewise.
4368 * config/i386/sse_savms64f.S: Likewise.
4369 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 4370
2f19c491 43712017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
4372 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4373
611e7036
OH
43742017-08-31 Olivier Hainque <hainque@adacore.com>
4375
4376 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4377 match as powerpc-wrs-vxworks*.
4378
c8f34527
JY
43792017-08-07 Jonathan Yong <10walls@gmail.com>
4380
4381 * config.host (*-cygwin): Include file from mingw
4382 config/i386/enable-execute-stack-mingw32.c
4383
0b458d2b 43842017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
4385 Doug Rupp <rupp@adacore.com>
4386 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
4387
4388 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4389 as well as arm-wrs-vxworks.
4390 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4391 LIB2ADDEH.
4392 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4393 __exidx_start and __exidx_end for downloadable modules.
4394
4df612fa
OH
43952017-08-01 Olivier Hainque <hainque@adacore.com>
4396
4397 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4398 * config/t-vxworks7: Likewise.
4399
5560e8c0
OH
44002017-08-01 Olivier Hainque <hainque@adacore.com>
4401
4402 * config/t-vxworks: Instead of redefining LIB2ADD,
4403 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4404
16bab95a
SH
44052017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4406
4407 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4408
9cbc07cc
DS
44092017-07-24 Daniel Santos <daniel.santos@pobox.com>
4410
4411 PR testsuite/80759
4412 * config.host: include i386/t-msabi for darwin and solaris.
4413 * config/i386/i386-asm.h
4414 (ELFFN): Rename to FN_TYPE.
4415 (FN_SIZE): New macro.
4416 (FN_HIDDEN): Likewise.
4417 (ASMNAME): Likewise.
4418 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4419 .globl.
4420 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4421 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4422 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4423 .macro.
4424 * config/i386/resms64f.S: Likewise.
4425 * config/i386/resms64fx.S: Likewise.
4426 * config/i386/resms64x.S: Likewise.
4427 * config/i386/savms64.S: Likewise.
4428 * config/i386/savms64f.S: Likewise.
4429
de742204
JM
44302017-07-19 John Marino <gnugcc@marino.st>
4431
4432 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4433
3787ee47
MM
44342017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4435
4436 PR target/81193
4437 * configure.ac (PowerPC float128 hardware support): Test whether
4438 we can use __builtin_cpu_supports before enabling the ifunc
4439 handler.
4440 * configure: Regenerate.
4441
b1938888
VG
44422017-07-10 Vineet Gupta <vgupta@synopsys.com>
4443
4444 * config.host: Remove uclibc from arc target spec.
4445
bec75e53
KW
44462017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4447
4448 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4449
d4391a62
PB
44502017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4451
4452 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4453 (have_ieee_hw_p): Delete function.
4454 (SW_OR_HW) Use __builtin_cpu_supports().
4455
9296dd9b
TP
44562017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4457
4458 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4459
b85a969e
OH
44602017-07-03 Olivier Hainque <hainque@adacore.com>
4461
d4391a62 4462 * config/t-vxworks7: New file, really.
b85a969e 4463
883312dc
JM
44642017-06-28 Joseph Myers <joseph@codesourcery.com>
4465
4466 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4467 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4468 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4469 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4470 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4471 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4472 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4473 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4474 config/sh/linux-unwind.h (sh_fallback_frame_state),
4475 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4476 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4477 ucontext_t instead of struct ucontext.
4478
50567938
JL
44792017-06-27 Jerome Lambourg <lambourg@adacore.com>
4480
4481 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4482 (x86_64-wrs-vxworks7): Likewise.
4483
e4b0df93
OH
44842017-06-27 Olivier Hainque <hainque@adacore.com>
4485
4486 * config/t-vxworks7: New file.
4487 * config.host (*-*-vxworks7): Use it.
4488
60edf8bb
MT
44892017-06-22 Matt Turner <mattst88@gmail.com>
4490
4491 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4492 skylake case.
4493
a51a76e5
RB
44942017-06-21 Richard Biener <rguenther@suse.de>
4495
4496 PR gcov-profile/81080
4497 * configure.ac: Add AC_SYS_LARGEFILE.
4498 * libgcov.h: Include auto-target.h before tsystem.h to pick
4499 up _FILE_OFFSET_BITS which might differ for multilibs.
4500 * config.in: Regenerate.
4501 * configure: Likewise.
4502
f0cd49c5
RE
45032017-06-16 Richard Earnshaw <rearnsha@arm.com>
4504
4505 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4506
4f751c54
ML
45072017-06-09 Martin Liska <mliska@suse.cz>
4508
4509 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4510 Reset __gcov_indirect_call_callee to NULL.
4511
1ac644c8
OH
45122017-06-08 Olivier Hainque <hainque@adacore.com>
4513
4514 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4515 the set of -I options, support for direct inclusions of net/uio.h
4516 by VxWorks header files via ioLib.h.
4517
d8b9cd27
TR
45182017-06-07 Tony Reix <tony.reix@atos.net>
4519 Matthieu Sarter <matthieu.sarter.external@atos.net>
4520 David Edelsohn <dje.gcc@gmail.com>
4521
92a285c1
ML
4522 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4523 unconditionally.
4524 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4525 AIX 7.2 support.
d8b9cd27 4526
38a75ccc
OH
45272017-06-02 Olivier Hainque <hainque@adacore.com>
4528
4529 * config/vxlib.c (__gthread_once): Add missing value to
4530 return statement.
4531
5b2edf53
OH
45322017-05-30 Olivier Hainque <hainque@adacore.com>
4533
4534 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4535 dollar sign before $(MULTIDIR).
4536
7d66e265
RH
45372017-05-26 Richard Henderson <rth@redhat.com>
4538
4539 PR libgcc/80037
4540 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4541
78eca309
AT
45422017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4543
4544 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4545 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4546 * config/arm/unwind-arm.c: Implement the above.
4547
c39d309a
AZ
45482017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4549
4550 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4551 section for a non-executable stack.
4552
eac8c9f2
KW
45532017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4554
4555 PR target/80600
4556 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4557
d6d4d770
DS
45582017-05-14 Daniel Santos <daniel.santos@pobox.com>
4559
4560 * config.host: Add i386/t-msabi to i386/t-linux file list.
4561 * config/i386/i386-asm.h: New file.
4562 * config/i386/resms64.S: New file.
4563 * config/i386/resms64f.S: New file.
4564 * config/i386/resms64fx.S: New file.
4565 * config/i386/resms64x.S: New file.
4566 * config/i386/savms64.S: New file.
4567 * config/i386/savms64f.S: New file.
4568 * config/i386/t-msabi: New file.
4569
8ef2b9a7
AT
45702017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4571
4572 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4573 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4574
7ab8766a
JC
45752017-05-05 Joshua Conner <joshconner@google.com>
4576
4577 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4578 pc-relative indirect handling for fuchsia.
4579 * config/t-slibgcc-fuchsia: New file.
4580 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 4581 x86_64-*-fuchsia*): Add definitions.
7ab8766a 4582
46928a8f
ML
45832017-04-19 Martin Liska <mliska@suse.cz>
4584
4585 PR gcov-profile/80435
4586 * Makefile.in: Install gcov.h.
4587 * gcov.h: New file.
4588 * libgcov.h: Use the header and make __gcov_flush publicly
4589 visible.
4590
63971184
ML
45912017-04-18 Martin Liska <mliska@suse.cz>
4592
4593 PR gcov-profile/78783
4594 * libgcov-driver.c (gcov_get_filename): New function.
4595
29d8aae6
JL
45962017-04-07 Jeff Law <law@redhat.com>
4597
4598 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4599 target makefile fragment.
4600 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4601
2bdf7fc6
AM
46022017-04-07 Alan Modra <amodra@gmail.com>
4603
4604 PR target/45053
4605 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4606
5764ee3c
JW
46072017-04-03 Jonathan Wakely <jwakely@redhat.com>
4608
4609 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4610
c4192ad7
CZ
46112017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4612
4613 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4614
4ccfdb28
JM
46152017-03-10 John Marino <gnugcc@marino.st>
4616
4617 * config/aarch64/freebsd-unwind.h: New file.
4618 * config.host: Add aarch64-*-freebsd unwinder.
4619
4144e4e3
SB
46202017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4621
4622 * config/rs6000/crtrestvr.s: Use .machine altivec.
4623 * config/rs6000/crtsavevr.s: Ditto.
4624
7502c597
SB
46252017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4626
4627 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4628 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4629 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4630 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4631 * configure: Regenerate.
4632 * config.in: Regenerate.
4633
db9f7f65
JY
46342017-03-02 Jonathan Yong <10walls@gmail.com>
4635
4636 * config/i386/gthr-win32.h: Define NOGDI before
4637 windows.h include to prevent w32api CC_NONE macro
4638 clash with libgfortran.
4639
126437c5
JY
46402017-03-02 Jonathan Yong <10walls@gmail.com>
4641
4642 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4643
31927af6
AP
46442017-02-16 Andrew Pinski <apinski@cavium.com>
4645
4646 * config/aarch64/value-unwind.h: New file.
4647 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4648 to tm_file.
4649
0bd99911
PD
46502017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4651
4652 * config.host: Add RISC-V tuples.
4653 * config/riscv/atomic.c: New file.
4654 * config/riscv/crti.S: Likewise.
4655 * config/riscv/crtn.S: Likewise.
4656 * config/riscv/div.S: Likewise.
4657 * config/riscv/linux-unwind.h: Likewise.
4658 * config/riscv/muldi3.S: Likewise.
4659 * config/riscv/multi3.S: Likewise.
4660 * config/riscv/save-restore.S: Likewise.
4661 * config/riscv/sfp-machine.h: Likewise.
4662 * config/riscv/t-elf: Likewise.
4663 * config/riscv/t-elf32: Likewise.
4664 * config/riscv/t-elf64: Likewise.
4665 * config/riscv/t-softfp32: Likewise.
4666 * config/riscv/t-softfp64: Likewise.
4667
a8c9ef2a
JJ
46682017-01-24 Jakub Jelinek <jakub@redhat.com>
4669
4670 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4671 /* FALLTHRU */ comments.
4672
c6c82710
GP
46732017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4674
4675 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4676
a876231c
JW
46772017-01-20 Jiong Wang <jiong.wang@arm.com>
4678
4679 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4680 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4681 DW_CFA_GNU_window_save for AArch64 and LP64.
4682
aa348be2
JW
46832017-01-20 Jiong Wang <jiong.wang@arm.com>
4684
4685 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4686
5636faf2
JW
46872017-01-19 Jiong Wang <jiong.wang@arm.com>
4688
4689 * config/aarch64/aarch64-unwind.h: New file.
4690 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4691 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4692 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4693 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4694 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4695 (aarch64_post_extract_frame_addr): New function.
4696 (aarch64_post_frob_eh_handler_addr): New function.
4697 (aarch64_frob_update_context): New function.
4698 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4699 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4700 aarch64*-*-freebsd*):
4701 Initialize md_unwind_header to include aarch64-unwind.h.
4702 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4703 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4704 __aarch64__.
4705 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4706 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4707 (uw_frob_return_addr): New function.
4708 (uw_install_context): Use uw_frob_return_addr.
4709
3c36aa6b
JJ
47102017-01-17 Jakub Jelinek <jakub@redhat.com>
4711
4712 PR other/79046
4713 * configure.ac: Add GCC_BASE_VER.
4714 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4715 version from BASE-VER file.
4716 * configure: Regenerated.
4717
829afb8f
JS
47182017-01-13 Joe Seymour <joe.s@somniumtech.com>
4719
4720 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4721 libmul_f5.a): Filter archived prerequisites.
4722
79fc8ffe
AS
47232017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4724
4725 * config/i386/cpuinfo.h (processor_features): Add
4726 FEATURE_AVX512VPOPCNTDQ.
4727 * config/i386/cpuinfo.c (get_available_features): Habdle new
4728 feature.
4729
fec5f4e0
JM
47302017-01-04 Joseph Myers <joseph@codesourcery.com>
4731
4732 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4733 payload if [__mips_nan2008].
4734
8f56cb51
AM
47352017-01-04 Alan Modra <amodra@gmail.com>
4736
4737 * Makefile.in (configure_deps): Update.
4738 * configure: Regenerate.
4739
cbe34bb5
JJ
47402017-01-01 Jakub Jelinek <jakub@redhat.com>
4741
4742 Update copyright years.
4743
ab955692
KW
47442016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4745
4746 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4747 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4748 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4749
de34320f
MK
47502016-12-17 Matthias Klose <doko@ubuntu.com>
4751
4752 * config/arc/gmon: Remove empty directory.
4753
e04ea1da
CZ
47542016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4755
4756 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4757 crtgend.
4758 (arc*-*-elf*): Likewise.
4759 * config/arc/t-arc: Remove old gmon lib targets.
4760 * config/arc/crtg.S: Remove.
4761 * config/arc/crtgend.S: Likewise.
4762 * config/arc/gmon/atomic.h: Likewise.
4763 * config/arc/gmon/auxreg.h: Likewise.
4764 * config/arc/gmon/dcache_linesz.S: Likewise.
4765 * config/arc/gmon/gmon.c: Likewise.
4766 * config/arc/gmon/machine-gmon.h: Likewise.
4767 * config/arc/gmon/mcount.c: Likewise.
4768 * config/arc/gmon/prof-freq-stub.S: Likewise.
4769 * config/arc/gmon/prof-freq.c: Likewise.
4770 * config/arc/gmon/profil.S: Likewise.
4771 * config/arc/gmon/sys/gmon.h: Likewise.
4772 * config/arc/gmon/sys/gmon_out.h: Likewise.
4773 * config/arc/t-arc-newlib: Likewise.
4774 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4775
8ae1c2c1
GS
47762016-12-12 George Spelvin <linux@sciencehorizons.net>
4777
4778 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4779
a5b947fa
GS
47802016-12-12 George Spelvin <linux@sciencehorizons.net>
4781
4782 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4783 R16 instead of push + pop.
4784 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4785
d6574dd1
KW
47862016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4787
4788 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4789 tmake_file.
4790
62440b4f
CM
47912016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4792
4793 * config.host (arc*-*-linux-uclibc*): Use default extra
4794 objects. Include linux-android header.
4795 * config/arc/crti.S (_init): Declare symbol as function.
4796 (_fini): Likewise.
4797
31cfd832
TK
47982016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4799
4800 PR fortran/78379
4801 * config/i386/cpuinfo.c: Move denums for processor vendors,
4802 processor type, processor subtypes and declaration of
4803 struct __processor_model into
4804 * config/i386/cpuinfo.h: New header file.
4805
c92e08e3
AV
48062016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4807 Thomas Preud'homme <thomas.preudhomme@arm.com>
4808
4809 * config/arm/cmse_nonsecure_call.S: New.
4810 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4811
de7b5723
AV
48122016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4813 Thomas Preud'homme <thomas.preudhomme@arm.com>
4814
4815 * config/arm/t-arm (HAVE_CMSE): New.
4816 * config/arm/cmse.c: New.
4817
7a0d2bce
TP
48182016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4819
b3a5bff4
TP
4820 PR gcc/74748
4821 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4822 use generic linker version information on Blackfin.
4823
7a0d2bce
TP
4824 PR gcc/74748
4825 * libgcc/mkmap-symver.awk: add support for skip_underscore
4826
b410cf1d
IS
48272016-11-27 Iain Sandoe <iain@codesourcery.com>
4828 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4829
4830 PR target/67710
4831 * config/t-darwin: Default builds to 10.5 codegen.
4832
2e5f8203
JG
48332016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4834
4835 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4836 (_FP_NANSIGN_H): Likewise.
4837 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4838 (softfp_truncations): Add tfhf.
4839 (softfp_extras): Add required conversion functions.
4840
bea64ca3
JG
48412016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4842 Matthew Wahab <matthew.wahab@arm.com>
4843
4844 * config/arm/fp16.c (binary64): New.
4845 (__gnu_d2h_internal): New.
4846 (__gnu_d2h_ieee): New.
4847 (__gnu_d2h_alternative): New.
4848
8630cadb
JG
48492016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4850 Matthew Wahab <matthew.wahab@arm.com>
4851
4852 * config/arm/fp16.c (struct format): New.
4853 (binary32): New.
4854 (__gnu_float2h_internal): New. Body moved from
4855 __gnu_f2h_internal and generalize.
4856 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4857 Call it with binary32.
4858
5823ef23
JG
48592016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4860
4861 * soft-fp/extendhftf2.c: Update from glibc.
4862 * soft-fp/fixhfti.c: Likewise.
4863 * soft-fp/fixunshfti.c: Likewise.
4864 * soft-fp/floattihf.c: Likewise.
4865 * soft-fp/floatuntihf.c: Likewise.
4866 * soft-fp/half.h: Likewise.
4867 * soft-fp/trunctfhf2.c: Likewise.
4868
62a7df9f
MG
48692016-11-20 Marc Glisse <marc.glisse@inria.fr>
4870
4871 PR libgcc/77813
4872 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4873 __TMC_END__ behind a passthrough asm.
4874
7a384912
WL
48752016-11-18 Walter Lee <walt@tilera.com>
4876
62a7df9f 4877 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4878
9775c1a5
L
48792016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4880
4881 * config/i386/cpuinfo.c (processor_features): Add
4882 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4883
48c842ab
CZ
48842016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4885
4886 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4887 (__ARC_NORM__): Use instead ARC_OPTFPE.
4888 * config/arc/fp-hack.h: Likewise.
4889 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4890 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4891
5012919d
AM
48922016-11-16 Alexander Monakov <amonakov@ispras.ru>
4893
4894 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4895 * config/nvptx/mgomp.c: New file.
4896 * config/nvptx/t-nvptx: Add mgomp.c
4897
00178b98
WB
48982016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4899
4900 PR libgcc/68468
4901 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4902
d64af69f
CZ
49032016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4904
4905 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4906 of checking for cpus.
4907 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4908 (__modsi3, __clzsi2): Likewise.
4909
9d8f95de
SN
49102016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4911
4912 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4913 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4914 * config/i386/t-cpuinfo-static: New.
4915
7d29f8e3
ML
49162016-11-03 Martin Liska <mliska@suse.cz>
4917
4918 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4919 (__gcov_time_profiler_atomic): Likewise.
4920
5de3e2d8
BE
49212016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4922
4923 PR libgcc/78067
4924 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4925 count_leading_zeros.
4926
18362447
UB
49272016-11-02 Uros Bizjak <ubizjak@gmail.com>
4928
4929 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4930 * libgcc2.c (__divmoddi4): New function.
4931 * libgcc2.h (__divmoddi4): Declare.
4932 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4933 and __PFX_divmodti4.
4934
33107571
FW
49352016-10-24 Florian Weimer <fweimer@redhat.com>
4936
4937 PR libgcc/78064
4938 * unwind-c.c: Include auto-target.h.
4939
4c6d7494
JDA
49402016-10-19 John David Anglin <danglin@gcc.gnu.org>
4941
18362447 4942 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4943 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4944 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4945 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4946 hppa*64*-*-hpux11*.
4947
2a26adf1
MF
49482016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4949
4950 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4951 definition.
4952 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4953 definition.
4954 * config/xtensa/t-windowed (LIB2ADDEH): Use
4955 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4956 or xtensa/t-linux.
4957
66192aa1
DKC
49582016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4959
4960 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4961 __ieee754_sqrt): New functions.
4962 (__divdf3): Add implementation with new FPU instructions under
4963 #if XCHAL_HAVE_DFP_DIV.
4964 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4965 __ieee754_sqrtf): New functions.
4966 (__divsf3): Add implementation with new FPU instructions under
4967 #if XCHAL_HAVE_FP_DIV.
4968 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4969 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4970
4d0cdd0c
TP
49712016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4972
4973 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4974 equivalent.
4975 * config/tilepro/atomic.c: Likewise and stop casting model to
4976 enum memmodel.
4977
73f01cca
JM
49782016-10-10 Joseph Myers <joseph@codesourcery.com>
4979
4980 PR target/77586
4981 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4982 soft-fp.
4983
b20e7532
AT
49842016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4985
4986 * config.host: Add support for aarch64-*-freebsd*.
4987
a786cec4
AS
49882016-10-05 Andreas Schwab <schwab@suse.de>
4989
4990 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4991 (.section .init_array): Don't call __do_jv_register_classes.
4992 (.section .init): Likewise.
4993
5a79befb
JJ
49942016-10-04 Jakub Jelinek <jakub@redhat.com>
4995
4996 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4997 (__JCR_LIST__): Remove.
4998 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4999 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5000 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5001 * config/ia64/crtend.S (__JCR_END__): Remove.
5002 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5003 conditionals.
5004 (__JCR_LIST__, __JCR_END__): Remove.
5005 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5006 (__do_global_ctors_1): Likewise.
5007
e0ab3753
UB
50082015-09-28 Uros Bizjak <ubizjak@gmail.com>
5009
5010 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5011 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5012
8c9434c2
ML
50132016-09-27 Martin Liska <mliska@suse.cz>
5014
5015 PR gcov-profile/7970
5016 PR gcov-profile/16855
5017 PR gcov-profile/44779
5018 * libgcov-driver.c (__gcov_init): Do not register a atexit
5019 handler.
5020 (__gcov_exit): Rename from gcov_exit.
5021 * libgcov.h (__gcov_exit): Declare.
5022
56b653f1
ML
50232016-09-27 Martin Liska <mliska@suse.cz>
5024
5025 PR bootstrap/77749
5026 * Makefile.in: Remove _gcov_merge_delta.
5027 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5028 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5029 * libgcov.h: Remove declaration of __gcov_merge_delta.
5030
7e02fd1b
EB
50312016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5032
5033 * configure.ac: Do not create links, only substitute the filenames.
5034 * configure: Regenerate.
5035 * Makefile.in: Assign the substitution results to variables.
5036 (LIBGCC_LINKS): Define.
5037 (enable-execute-stack.c): New rule.
5038 (unwind.h): Likewise.
5039 (md-unwind-support.h): Likewise.
5040 (sfp-machine.h): Likewise.
5041 (gthr-default.h): Likewise.
5042 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5043 unwind.h as prerequisite of install-unwind_h-forbuild.
5044
29991048
JJ
50452016-09-16 Jakub Jelinek <jakub@redhat.com>
5046
5047 PR libgcc/71744
5048 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5049 is not the primary registry and atomics are available.
5050 (any_objects_registered): New variable.
5051 (__register_frame_info_bases, __register_frame_info_table_bases):
5052 Atomically store 1 to any_objects_registered after registering first
5053 unwind info.
5054 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5055
0abcd6cc
JG
50562016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5057
5058 PR target/63250
5059 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5060 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5061 (HFtype): Likewise.
5062 (HCtype): Likewise.
5063 (__divhc3): Likewise.
5064 (__mulhc3): Likewise.
5065 * libgcc2.c: Support _mulhc3 and _divhc3.
5066
d758aeb5
JM
50672016-09-07 Joseph Myers <joseph@codesourcery.com>
5068
5069 PR libgcc/77519
5070 * libgcc2.c (NOTRUNC): Invert settings.
5071
7fe76f6a
ML
50722016-09-06 Martin Liska <mliska@suse.cz>
5073
5074 PR gcov-profile/77378
5075 PR gcov-profile/77466
5076 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5077 conditionaly enable/disable *_atomic functions.
5078
21184026
JM
50792016-08-26 Joseph Myers <joseph@codesourcery.com>
5080
5081 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5082 where not already enabled.
5083
726f49c3
SN
50842016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5085
5086 * config/mips/linux-unwind.h: Use sys/syscall.h.
5087
feeb6268
JM
50882016-08-16 Joseph Myers <joseph@codesourcery.com>
5089
5090 PR libgcc/77265
5091 * soft-fp/adddf3.c: Update from glibc.
5092 * soft-fp/addsf3.c: Likewise.
5093 * soft-fp/addtf3.c: Likewise.
5094 * soft-fp/divdf3.c: Likewise.
5095 * soft-fp/divsf3.c: Likewise.
5096 * soft-fp/divtf3.c: Likewise.
5097 * soft-fp/double.h: Likewise.
5098 * soft-fp/eqdf2.c: Likewise.
5099 * soft-fp/eqsf2.c: Likewise.
5100 * soft-fp/eqtf2.c: Likewise.
5101 * soft-fp/extenddftf2.c: Likewise.
5102 * soft-fp/extended.h: Likewise.
5103 * soft-fp/extendsfdf2.c: Likewise.
5104 * soft-fp/extendsftf2.c: Likewise.
5105 * soft-fp/extendxftf2.c: Likewise.
5106 * soft-fp/fixdfdi.c: Likewise.
5107 * soft-fp/fixdfsi.c: Likewise.
5108 * soft-fp/fixdfti.c: Likewise.
5109 * soft-fp/fixsfdi.c: Likewise.
5110 * soft-fp/fixsfsi.c: Likewise.
5111 * soft-fp/fixsfti.c: Likewise.
5112 * soft-fp/fixtfdi.c: Likewise.
5113 * soft-fp/fixtfsi.c: Likewise.
5114 * soft-fp/fixtfti.c: Likewise.
5115 * soft-fp/fixunsdfdi.c: Likewise.
5116 * soft-fp/fixunsdfsi.c: Likewise.
5117 * soft-fp/fixunsdfti.c: Likewise.
5118 * soft-fp/fixunssfdi.c: Likewise.
5119 * soft-fp/fixunssfsi.c: Likewise.
5120 * soft-fp/fixunssfti.c: Likewise.
5121 * soft-fp/fixunstfdi.c: Likewise.
5122 * soft-fp/fixunstfsi.c: Likewise.
5123 * soft-fp/fixunstfti.c: Likewise.
5124 * soft-fp/floatdidf.c: Likewise.
5125 * soft-fp/floatdisf.c: Likewise.
5126 * soft-fp/floatditf.c: Likewise.
5127 * soft-fp/floatsidf.c: Likewise.
5128 * soft-fp/floatsisf.c: Likewise.
5129 * soft-fp/floatsitf.c: Likewise.
5130 * soft-fp/floattidf.c: Likewise.
5131 * soft-fp/floattisf.c: Likewise.
5132 * soft-fp/floattitf.c: Likewise.
5133 * soft-fp/floatundidf.c: Likewise.
5134 * soft-fp/floatundisf.c: Likewise.
5135 * soft-fp/floatunditf.c: Likewise.
5136 * soft-fp/floatunsidf.c: Likewise.
5137 * soft-fp/floatunsisf.c: Likewise.
5138 * soft-fp/floatunsitf.c: Likewise.
5139 * soft-fp/floatuntidf.c: Likewise.
5140 * soft-fp/floatuntisf.c: Likewise.
5141 * soft-fp/floatuntitf.c: Likewise.
5142 * soft-fp/gedf2.c: Likewise.
5143 * soft-fp/gesf2.c: Likewise.
5144 * soft-fp/getf2.c: Likewise.
5145 * soft-fp/ledf2.c: Likewise.
5146 * soft-fp/lesf2.c: Likewise.
5147 * soft-fp/letf2.c: Likewise.
5148 * soft-fp/muldf3.c: Likewise.
5149 * soft-fp/mulsf3.c: Likewise.
5150 * soft-fp/multf3.c: Likewise.
5151 * soft-fp/negdf2.c: Likewise.
5152 * soft-fp/negsf2.c: Likewise.
5153 * soft-fp/negtf2.c: Likewise.
5154 * soft-fp/op-1.h: Likewise.
5155 * soft-fp/op-2.h: Likewise.
5156 * soft-fp/op-4.h: Likewise.
5157 * soft-fp/op-8.h: Likewise.
5158 * soft-fp/op-common.h: Likewise.
5159 * soft-fp/quad.h: Likewise.
5160 * soft-fp/single.h: Likewise.
5161 * soft-fp/soft-fp.h: Likewise.
5162 * soft-fp/subdf3.c: Likewise.
5163 * soft-fp/subsf3.c: Likewise.
5164 * soft-fp/subtf3.c: Likewise.
5165 * soft-fp/truncdfsf2.c: Likewise.
5166 * soft-fp/trunctfdf2.c: Likewise.
5167 * soft-fp/trunctfsf2.c: Likewise.
5168 * soft-fp/trunctfxf2.c: Likewise.
5169 * soft-fp/unorddf2.c: Likewise.
5170 * soft-fp/unordsf2.c: Likewise.
5171 * soft-fp/unordtf2.c: Likewise.
5172
2e6fc1ac
GG
51732016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5174
5175 PR gcov-profile/67097
5176 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5177
a266236e
ML
51782016-08-10 Martin Liska <mliska@suse.cz>
5179
5180 PR gcov-profile/58306
5181 * Makefile.in: New functions (modules) are added.
5182 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5183 function.
5184 (__gcov_pow2_profiler_atomic): New function.
5185 (__gcov_one_value_profiler_body): New argument is instroduced.
5186 (__gcov_one_value_profiler): Call with the new argument.
5187 (__gcov_one_value_profiler_atomic): Likewise.
5188 (__gcov_indirect_call_profiler_v2): Likewise.
5189 (__gcov_time_profiler_atomic): New function.
5190 (__gcov_average_profiler_atomic): Likewise.
5191 (__gcov_ior_profiler_atomic): Likewise.
5192 * libgcov.h: Declare the aforementioned functions.
5193
e0c8eebf
ML
51942016-08-09 Martin Liska <mliska@suse.cz>
5195
5196 * libgcov-util.c: Fix typo and GNU coding style.
5197
6dce6418
ML
51982016-08-09 Martin Liska <mliska@suse.cz>
5199
5200 * Makefile.in: Remove __gcov_indirect_call_profiler.
5201 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5202 function.
5203 * libgcov.h: And the declaration of the function.
5204
dcb1e137
ML
52052016-08-09 Martin Liska <mliska@suse.cz>
5206
5207 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5208 power of two.
5209
d6e69705
BS
52102016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5211
5212 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5213 * config/rs6000/_mulkc3.c: Likewise.
5214
96aa1f95
GJL
52152016-07-29 Georg-Johann Lay <avr@gjlay.de>
5216
5217 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5218 zero_reg as previous call to __umulhisi3 already cleared it.
5219
a1b01d34
AJ
52202016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5221
5222 PR target/59833
5223 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5224
985a47b2
NC
52252016-07-19 Nick Clifton <nickc@redhat.com>
5226
5227 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5228 Add crtinit.o and crtfini.o to extra_parts.
5229
f906f5ed
BS
52302016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5231
5232 * config/rs6000/_divkc3.c: New.
5233 * config/rs6000/_mulkc3.c: New.
5234 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5235 and _divkc3.
5236 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5237 fp128_ppc_funcs.
5238
82742404
HW
52392016-07-11 Hale Wang <hale.wang@arm.com>
5240 Andre Vieira <andre.simoesdiasvieira@arm.com>
5241
5242 * config/arm/lib1funcs.S: Add new wrapper.
5243
05a437c1
TP
52442016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5245
5246 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5247
3d16d9ec
TP
52482016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5249
5250 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5251 and ARMv5t* rather than for a fixed list of architectures.
5252
6f493951
TP
52532016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5254
5255 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5256 implementation suitable for.
5257 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5258 for all Thumb-1 only targets.
5259 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5260 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5261 __ARM_ARCH_6M__.
5262 (EQUIV): Likewise.
5263 (ARM_FUNC_ALIAS): Likewise.
5264 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5265 version.
5266 (modsi3): Likewise.
5267 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5268 (clzdi2): Likewise.
5269 (ctzsi2): Likewise.
5270 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5271 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5272 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5273 __ARM_ARCH_6M__ and add comment to indicate the connection between
5274 this condition and the one in gcc/config/arm/elf.h.
5275 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5276 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5277 * config/arm/t-softfp: Likewise.
5278
1770511a
TS
52792016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5280
5281 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5282 CTOR_LISTS_DEFINED_EXTERNALLY.
5283
ba6be749
WL
52842016-06-28 Walter Lee <walt@tilera.com>
5285
5286 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5287 asm/unistd.h.
5288 (SPR_CMPEXCH_VALUE): Define for tilegx.
5289 (__NR_FAST_cmpxchg): Define for tilepro.
5290 (__NR_FAST_atomic_update): Define for tilepro.
5291 (__NR_FAST_cmpxchg64): Define for tilepro.
5292
a34c0db5
JS
52932016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5294
18362447 5295 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 5296
0609abda
TS
52972016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5298
5299 * config.host: Remove support for mep-*.
5300 * config/mep/lib1funcs.S: Remove.
5301 * config/mep/lib2funcs.c: Remove.
5302 * config/mep/t-mep: Remove.
5303 * config/mep/tramp.c: Remove.
5304
3e326935
TS
53052016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5306
5307 * config.host: Remove support for avr-rtems.
5308 * config/avr/t-rtems: Remove.
5309
914b155c
TS
53102016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5311
5312 * config.host: Remove m32r-rtems support.
5313
5ebf89bd
TS
53142016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5315
5316 * config.host: Remove h8300-rtems support.
5317
8466af06
TS
53182016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5319
5320 * config.host: Remove support for knetbsd.
5321
d980e738
TS
53222016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5323
5324 * config.host: Remove support for openbsd 2 and 3.
5325
ee2499b4
TS
53262016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5327
5328 * config.host: Remove interix support.
5329 * config/i386/t-interix: Remove.
5330
9f92937b
JDA
53312016-06-18 John David Anglin <danglin@gcc.gnu.org>
5332
5333 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5334 least-significant bit in function pointer for fixup.
5335
0a0ec53d
AC
53362016-06-05 Aaron Conole <aconole@redhat.com>
5337 Nathan Sidwell <nathan@acm.org>
5338
5339 PR libgcc/71400
5340 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5341 (get_gcov_error_file): Check __gcov_error_file before trying to
5342 initialize it.
5343 (gcov_error): Always use get_gcov_error_file.
5344
8aa5bdd6
AC
53452016-06-02 Aaron Conole <aconole@redhat.com>
5346
5347 * libgcov-driver-system.c (__gcov_error_file): New.
5348 (get_gcov_error_file): New.
5349 (gcov_error): Use and set __gcov_error_file.
5350 (gcov_error_exit): New.
5351 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5352
40774faf
NS
53532016-05-26 Nathan Sidwell <nathan@acm.org>
5354
5355 * config/nvptx/free.asm: Delete.
5356 * config/nvptx/malloc.asm: Delete.
5357 * config/nvptx/realloc.c: Delete.
5358 * t-nvptx: Update.
5359
69a6d5ad
NS
53602016-05-25 Nathan Sidwell <nathan@acm.org>
5361
5362 * config/nvptx/crt0.s: Delete.
5363 * config/nvptx/crt0.c: New.
5364 * t-nvptx: Update.
5365
6befaff6
SL
53662016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5367
385c7747 5368 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
5369 dw2/seh configuration.
5370 [x86_64-*-mingw*]: Likewise.
5371
ad251dfd
JS
53722016-05-10 Joel Sherrill <joel@rtems.org>
5373
5374 PR libgcc/70720
5375 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5376 targets so the same extra_parts are built. Also have tmake_file add
5377 on to its value rather than override.
5378
bc6d9014
OE
53792016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5380
5381 * config.host: Remove SH5 support.
5382 * configure: Likewise.
5383
9129c8cf
OE
53842016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5385
5386 * config/sh/crt1.S: Remove SH5 support.
5387 * config/sh/crti.S: Likewise.
5388 * config/sh/crtn.S: Likewise.
5389 * config/sh/lib1funcs-4-300.S: Likewise.
5390 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5391 * config/sh/lib1funcs.S: Likewise.
5392 * config/sh/linux-unwind.h: Likewise.
5393 * config/sh/t-sh64: Delete.
5394
39d50464
CZ
53952016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5396
5397 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5398
8b48923b
CZ
53992016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5400 Joern Rennecke <joern.rennecke@embecosm.com>
5401
5402 * config/arc/crttls.S: New file.
5403 * config/arc/t-arc: New rule.
5404 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5405
2de1cf8c
NC
54062016-04-25 Nick Clifton <nickc@redhat.com>
5407
5408 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5409 (__mspabi_cmpd): Likewise.
5410 * config/msp430/floathidf.c (__floathidf): Likewise.
5411 * config/msp430/floathisf.c (__floathisf): Likewise
5412 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5413 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5414 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5415 second parameter.
5416 (__ashrsi3): Likewise.
5417
b8ce3fe2
WB
54182016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5419
5420 * config/m68k/linux-atomic.c: Do not include unistd.h
5421
4986f823
MG
54222016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5423
5424 * config/arm/ieee754-df.S: Fix typos in comments.
5425
35fbda43
MM
54262016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5427
5428 PR target/70381
5429 * configure.ac (powerpc*-*-linux*): Rework tests to build
5430 __float128 emulation routines to not depend on using #pragma GCC
5431 target to enable -mfloat128.
5432 * configure: Regnerate.
5433
72d1a48d
EB
54342016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5435
5436 PR target/67172
5437 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5438 __MINGW32__ is defined.
5439
dc2e8995
JB
54402016-03-28 James Bowman <james.bowman@ftdichip.com>
5441
385c7747 5442 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 5443
104cdaf1
MM
54442016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5445
5446 PR libgcc/70363
5447 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5448 built with an assembler that does not support ISA 3.0
5449 instructions, rename __extendkftf2_sw to __extendkftf2.
5450
a5046f48
RO
54512016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5452
5453 PR target/38239
5454 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5455 call-clobbered registers.
5456 (internal_mcount): Remove __i386__ handling.
5457
df674f74
JS
54582016-02-26 Joel Sherrill <joel@rtems.org>
5459
5460 * config.host: Add x86_64-*-rtems*.
5461
7cb065d6
JS
54622016-02-26 Joel Sherrill <joel@rtems.org>
5463
5464 * libgcc/config.host: Add aarch64-*-rtems*.
5465
47dfdc53
PM
54662016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5467 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5468
5469 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5470 union of u64 and double.
5471 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5472 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5473 value.
5474 (FP_ROUNDMODE): Update the usage of _fpscr.
5475
e6861a99
IV
54762016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5477
5478 PR driver/68463
5479 * Makefile.in (crtoffloadtable$(objext)): New rule.
5480 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5481 enable_offload_targets is not empty.
5482 * configure: Regenerate.
5483 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5484 crtoffloadtable.
5485
9bfcbdee
MF
54862016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5487
5488 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5489 .literal_position before the function.
5490 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5491 Likewise.
5492
4cb4721f
MK
54932016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5494
5495 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5496 * config/s390/morestack.S: New file.
5497 * config/s390/t-stack-s390: New file.
5498 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5499
b29d9a29
WL
55002016-02-12 Walter Lee <walt@tilera.com>
5501
5502 * config.host (tilegx*-*-linux*): remove ti from
5503 softfp_int_modes for 32-bit configs.
5504
03a0ae7d
ILT
55052016-02-10 Ian Lance Taylor <iant@google.com>
5506
5507 PR go/68562
5508 * config/i386/morestack.S (__stack_split_initialize): Align
5509 stack.
5510
68750bce
AT
55112016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5512
5513 PR bootstrap/69611
5514 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5515 __FLOAT128__ to compile only for __float128 capable targets.
5516
7d296953
JJ
55172016-01-25 Jakub Jelinek <jakub@redhat.com>
5518
5519 PR target/69444
5520 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5521 instead of ___NO_FPRS__.
5522
a71c0334 55232016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5524 Steven Munroe <munroesj@linux.vnet.ibm.com>
5525 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
5526
5527 * config/rs6000/float128-sed: New files to convert TF names to KF
5528 names for PowerPC IEEE 128-bit floating point support.
5529 * config/rs6000/float128-sed-hw: Likewise.
5530
5531 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5532 floating point hardware support.
5533
5534 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5535 128-bit floating point software emulation or use ISA 3.0 hardware
5536 support if it is available.
5537
5538 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5539 floating point.
5540
5541 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5542 floating point to IBM extended double.
5543
5544 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5545 double to IEEE 128-bit floating point.
5546
5547 * config/rs6000/t-float128: New Makefile fragments to enable
5548 building __float128 emulation support.
5549 * config/rs6000/t-float128-hw: Likewise.
5550
5551 * config/rs6000/sfp-exceptions.c: New file to provide exception
5552 support for IEEE 128-bit floating point.
5553
5554 * config/rs6000/floattikf.c: New files for converting between IEEE
5555 128-bit floating point and signed/unsigned 128-bit integers.
5556 * config/rs6000/fixunskfti.c: Likewise.
5557 * config/rs6000/fixkfti.c: Likewise.
5558 * config/rs6000/floatuntikf.c: Likewise.
5559
5560 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5561 when building on 64-bit systems, or when VSX is enabled.
5562 (_FP_W_TYPE): Likewise.
5563 (_FP_WS_TYPE): Likewise.
5564 (_FP_I_TYPE): Likewise.
5565 (TItype): Define on 64-bit systems.
5566 (UTItype): Likewise.
5567 (TI_BITS): Likewise.
5568 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5569 (_FP_MUL_MEAT_Q): Likewise.
5570 (_FP_DIV_MEAT_D): Likewise.
5571 (_FP_DIV_MEAT_Q): Likewise.
5572 (_FP_NANFRAC_D): Likewise.
5573 (_FP_NANFRAC_Q): Likewise.
5574 (ISA_BIT): Add exception support if we are being compiled on a
5575 machine with hardware floating point support to build the IEEE
5576 128-bit emulation functions.
5577 (FP_EX_INVALID): Likewise.
5578 (FP_EX_OVERFLOW): Likewise.
5579 (FP_EX_UNDERFLOW): Likewise.
5580 (FP_EX_DIVZERO): Likewise.
5581 (FP_EX_INEXACT): Likewise.
5582 (FP_EX_ALL): Likewise.
5583 (__sfp_handle_exceptions): Likewise.
5584 (FP_HANDLE_EXCEPTIONS): Likewise.
5585 (FP_RND_NEAREST): Likewise.
5586 (FP_RND_ZERO): Likewise.
5587 (FP_RND_PINF): Likewise.
5588 (FP_RND_MINF): Likewise.
5589 (FP_RND_MASK): Likewise.
5590 (_FP_DECL_EX): Likewise.
5591 (FP_INIT_ROUNDMODE): Likewise.
5592 (FP_ROUNDMODE): Likewise.
5593
5594 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5595 VSX code, enable IEEE 128-bit floating point. If the compiler can
5596 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5597 floating point hardware instructions and it supports declaring
5598 functions with the ifunc attribute, enable ifunc functions to
5599 switch between software and hardware support.
5600 * configure.ac (powerpc*-*-linux*): Likewise.
5601 * configure: Regenerate.
5602
bdc27e50
NC
56032016-01-15 Nick Clifton <nickc@redhat.com>
5604
5605 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5606 dependency as the source file to be compiled.
5607 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5608 (lib2hw_mul_f5.o): Likewise.
5609
006df05d
MM
56102016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5611
5612 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5613 * libgcc/config/rs6000/fixkfti.c: Likewise.
5614 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5615 * libgcc/config/rs6000/float128-hw.c: Likewise.
5616 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5617 * libgcc/config/rs6000/float128-sed: Likewise.
5618 * libgcc/config/rs6000/floattikf.c: Likewise.
5619 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5620 * libgcc/config/rs6000/quad-float128.h: Likewise.
5621 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5622 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5623 * libgcc/config/rs6000/t-float128: Likewise.
5624 * libgcc/config/rs6000/t-float128-hw: Likewise.
5625 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5626 * libgcc/config.host: Likewise.
5627 * libgcc/configure: Likewise.
5628 * libgcc/configure.ac: Likewise.
5629
29176d57 56302016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5631 Steven Munroe <munroesj@linux.vnet.ibm.com>
5632 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
5633
5634 * config/rs6000/sfp-exceptions.c: New file to provide exception
5635 support for IEEE 128-bit floating point.
5636
5637 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5638 floating point hardware support.
5639
5640 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5641 point conversions.
5642 * config/rs6000/fixunskfti.c: Likewise.
5643 * config/rs6000/fixkfti.c: Likewise.
5644 * config/rs6000/floatuntikf.c: Likewise.
5645 * config/rs6000/extendkftf2-sw.c: Likewise.
5646 * config/rs6000/trunctfkf2-sw.c: Likewise.
5647
5648 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5649 128-bit floating point software emulation or use ISA 3.0 hardware
5650 support if it is available.
5651
5652 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5653 floating point.
5654
5655 * config/rs6000/t-float128: New Makefile fragments to enable
5656 building __float128 emulation support.
5657 * config/rs6000/t-float128-hw: Likewise.
5658
5659 * config/rs6000/float128-sed: New file to convert TF names to KF
5660 names for PowerPC IEEE 128-bit floating point support.
5661
5662 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5663 when building on 64-bit systems, or when VSX is enabled.
5664 (_FP_W_TYPE): Likewise.
5665 (_FP_WS_TYPE): Likewise.
5666 (_FP_I_TYPE): Likewise.
5667 (TItype): Define on 64-bit systems.
5668 (UTItype): Likewise.
5669 (TI_BITS): Likewise.
5670 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5671 (_FP_MUL_MEAT_Q): Likewise.
5672 (_FP_DIV_MEAT_D): Likewise.
5673 (_FP_DIV_MEAT_Q): Likewise.
5674 (_FP_NANFRAC_D): Likewise.
5675 (_FP_NANFRAC_Q): Likewise.
5676 (ISA_BIT): Add exception support if we are being compiled on a
5677 machine with hardware floating point support to build the IEEE
5678 128-bit emulation functions.
5679 (FP_EX_INVALID): Likewise.
5680 (FP_EX_OVERFLOW): Likewise.
5681 (FP_EX_UNDERFLOW): Likewise.
5682 (FP_EX_DIVZERO): Likewise.
5683 (FP_EX_INEXACT): Likewise.
5684 (FP_EX_ALL): Likewise.
5685 (__sfp_handle_exceptions): Likewise.
5686 (FP_HANDLE_EXCEPTIONS): Likewise.
5687 (FP_RND_NEAREST): Likewise.
5688 (FP_RND_ZERO): Likewise.
5689 (FP_RND_PINF): Likewise.
5690 (FP_RND_MINF): Likewise.
5691 (FP_RND_MASK): Likewise.
5692 (_FP_DECL_EX): Likewise.
5693 (FP_INIT_ROUNDMODE): Likewise.
5694 (FP_ROUNDMODE): Likewise.
5695
5696 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5697 compiler can do __float128.
5698 * configure: Regenerate.
5699
5700 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5701 VSX code, enable IEEE 128-bit floating point.
5702
a2218983
OH
57032016-01-05 Olivier Hainque <hainque@adacore.com>
5704
5705 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 5706 specificities.
a2218983 5707
818ab71a
JJ
57082016-01-04 Jakub Jelinek <jakub@redhat.com>
5709
5710 Update copyright years.
5711
5a6c8ffa
AP
57122015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5713
5714 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 5715 soft-fp targets.
5a6c8ffa 5716
077067a5
BE
57172015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5718
5719 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5720 instead of abort to avoid dependency on stdlib.h.
5721
787c1027
JDA
57222015-12-09 John David Anglin <danglin@gcc.gnu.org>
5723
5724 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5725 to initialize call to __dl_fixup once.
5726
04a9ae28
NC
57272015-12-04 Nick Clifton <nickc@redhat.com>
5728
5729 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5730 Allow for the second argument being negative.
5731 * config.host (extra_parts): Define for MSP430. Create separate
5732 libraries for each of the hardware multiply formats.
5733 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5734 that are needed.
5735 * config/msp430/lib2mul.c: Likewise.
5736 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5737 Add rules to build hardware multiply libraries.
5738 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5739 __mspabi_divul function.
5740 (__mspabi_divllu): New stub function.
5741
9a32d437
JDA
57422015-12-01 John David Anglin <danglin@gcc.gnu.org>
5743
5744 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5745 fixup values if saved GOT address doesn't match runtime address.
5746 (fixup_branch_offset): Reorder list.
5747
e5ef217c
RO
57482015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5749
5750 * Makefile.in (VTV_CFLAGS): New variable.
5751 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5752 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5753 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5754 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5755 to extra_parts if $enable_vtable_verify = yes.
5756
78cc43a2
SN
57572015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5758
5759 PR target/68059
5760 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5761 (write): ...this and fix the return type.
5762
9afebea2
DD
57632015-11-19 DJ Delorie <dj@redhat.com>
5764
5765 * config/msp430/lib2hw_mul.S: Fix alignment.
5766
33f47f42
NS
57672015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5768
5769 * config/nvptx/reduction.c: New.
5770 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5771
d9adb476
DE
57722015-11-15 David Edelsohn <dje.gcc@gmail.com>
5773
5774 * config/rs6000/on_exit.c: New file.
5775 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5776 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5777
c0ab1970
CZ
57782015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5779
5780 * config/arc/dp-hack.h: Add support for ARCHS.
5781 * config/arc/ieee-754/divdf3.S: Likewise.
5782 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5783 * config/arc/ieee-754/muldf3.S: Likewise.
5784 * config/arc/ieee-754/mulsf3.S: Likewise
5785 * config/arc/lib1funcs.S: Likewise
5786 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5787 for ARCv2 cores.
5788 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5789 for ARCv2 cores.
5790 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5791 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5792 cores.
5793
e6b6bf09
RO
57942015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5795
5796 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5797 value.
5798 * config/ia64/crtend.S: Likewise.
5799
a153644f
TS
58002015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5801
5802 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5803 __CHAR_BIT__ instead of BITS_PER_UNIT.
5804 * fixed-bit.h: Likewise.
5805 * fp-bit.h: Likewise.
5806 * libgcc2.c (__popcountSI2): Likewise.
5807 (__popcountDI2): Likewise.
5808 * libgcc2.h: Likewise.
5809 * libgcov.h: Likewise.
5810
3dee689d
DE
58112015-11-07 David Edelsohn <dje.gcc@gmail.com>
5812
5813 * config/rs6000/atexit.c: New file.
5814 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5815 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5816 * config/rs6000/cxa_finalize.c
5817 (catomic_compare_and_exchange_bool_acq): Negate return value.
5818
2ef543e4
VK
58192015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5820
5821 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5822 (processor_subtypes): Add znver1.
5823 (get_amd_cpu): Detect znver1.
5824
1300f017
CL
58252015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5826
5827 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5828 Include crtfastmath.o.
5829
3e5bb7ee
JR
58302015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5831
5832 PR libgcc/66883
5833 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 5834
793aa938
KP
58352015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5836
5837 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5838 * config/rl78/divmodsi.S: Update return register to r8.
5839 * config/rl78/divmodhi.S: Update return register to r8,r9.
5840 Branch to main_loop_done_himode to pop registers before return.
5841
7d296953 58422015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
5843
5844 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5845 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5846
6a192b5a
KY
58472015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5848
5849 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5850
4a0a9457
MF
58512015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5852
5853 * config.host (xtensa*-*-uclinux*): New configuration.
5854
ab91c076
KY
58552015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5856
385c7747 5857 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5858 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5859
30954527
JM
58602015-09-28 Joseph Myers <joseph@codesourcery.com>
5861
5862 * soft-fp/adddf3.c: Update from glibc.
5863 * soft-fp/addsf3.c: Likewise.
5864 * soft-fp/addtf3.c: Likewise.
5865 * soft-fp/divdf3.c: Likewise.
5866 * soft-fp/divsf3.c: Likewise.
5867 * soft-fp/divtf3.c: Likewise.
5868 * soft-fp/double.h: Likewise.
5869 * soft-fp/eqdf2.c: Likewise.
5870 * soft-fp/eqsf2.c: Likewise.
5871 * soft-fp/eqtf2.c: Likewise.
5872 * soft-fp/extenddftf2.c: Likewise.
5873 * soft-fp/extended.h: Likewise.
5874 * soft-fp/extendsfdf2.c: Likewise.
5875 * soft-fp/extendsftf2.c: Likewise.
5876 * soft-fp/extendxftf2.c: Likewise.
5877 * soft-fp/fixdfdi.c: Likewise.
5878 * soft-fp/fixdfsi.c: Likewise.
5879 * soft-fp/fixdfti.c: Likewise.
5880 * soft-fp/fixsfdi.c: Likewise.
5881 * soft-fp/fixsfsi.c: Likewise.
5882 * soft-fp/fixsfti.c: Likewise.
5883 * soft-fp/fixtfdi.c: Likewise.
5884 * soft-fp/fixtfsi.c: Likewise.
5885 * soft-fp/fixtfti.c: Likewise.
5886 * soft-fp/fixunsdfdi.c: Likewise.
5887 * soft-fp/fixunsdfsi.c: Likewise.
5888 * soft-fp/fixunsdfti.c: Likewise.
5889 * soft-fp/fixunssfdi.c: Likewise.
5890 * soft-fp/fixunssfsi.c: Likewise.
5891 * soft-fp/fixunssfti.c: Likewise.
5892 * soft-fp/fixunstfdi.c: Likewise.
5893 * soft-fp/fixunstfsi.c: Likewise.
5894 * soft-fp/fixunstfti.c: Likewise.
5895 * soft-fp/floatdidf.c: Likewise.
5896 * soft-fp/floatdisf.c: Likewise.
5897 * soft-fp/floatditf.c: Likewise.
5898 * soft-fp/floatsidf.c: Likewise.
5899 * soft-fp/floatsisf.c: Likewise.
5900 * soft-fp/floatsitf.c: Likewise.
5901 * soft-fp/floattidf.c: Likewise.
5902 * soft-fp/floattisf.c: Likewise.
5903 * soft-fp/floattitf.c: Likewise.
5904 * soft-fp/floatundidf.c: Likewise.
5905 * soft-fp/floatundisf.c: Likewise.
5906 * soft-fp/floatunditf.c: Likewise.
5907 * soft-fp/floatunsidf.c: Likewise.
5908 * soft-fp/floatunsisf.c: Likewise.
5909 * soft-fp/floatunsitf.c: Likewise.
5910 * soft-fp/floatuntidf.c: Likewise.
5911 * soft-fp/floatuntisf.c: Likewise.
5912 * soft-fp/floatuntitf.c: Likewise.
5913 * soft-fp/gedf2.c: Likewise.
5914 * soft-fp/gesf2.c: Likewise.
5915 * soft-fp/getf2.c: Likewise.
5916 * soft-fp/ledf2.c: Likewise.
5917 * soft-fp/lesf2.c: Likewise.
5918 * soft-fp/letf2.c: Likewise.
5919 * soft-fp/muldf3.c: Likewise.
5920 * soft-fp/mulsf3.c: Likewise.
5921 * soft-fp/multf3.c: Likewise.
5922 * soft-fp/negdf2.c: Likewise.
5923 * soft-fp/negsf2.c: Likewise.
5924 * soft-fp/negtf2.c: Likewise.
5925 * soft-fp/op-1.h: Likewise.
5926 * soft-fp/op-2.h: Likewise.
5927 * soft-fp/op-4.h: Likewise.
5928 * soft-fp/op-8.h: Likewise.
5929 * soft-fp/op-common.h: Likewise.
5930 * soft-fp/quad.h: Likewise.
5931 * soft-fp/single.h: Likewise.
5932 * soft-fp/soft-fp.h: Likewise.
5933 * soft-fp/subdf3.c: Likewise.
5934 * soft-fp/subsf3.c: Likewise.
5935 * soft-fp/subtf3.c: Likewise.
5936 * soft-fp/truncdfsf2.c: Likewise.
5937 * soft-fp/trunctfdf2.c: Likewise.
5938 * soft-fp/trunctfsf2.c: Likewise.
5939 * soft-fp/trunctfxf2.c: Likewise.
5940 * soft-fp/unorddf2.c: Likewise.
5941 * soft-fp/unordsf2.c: Likewise.
5942 * soft-fp/unordtf2.c: Likewise.
5943
4dfe21ac
RE
59442015-09-24 Richard Earnshaw <rearnsha@arm.com>
5945
5946 PR libgcc/67624
5947 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5948
df2a1cc4
RO
59492015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5950
5951 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5952 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5953 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5954 messages.
5955 (internal_mcount): Likewise.
5956 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5957 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5958
2d110442
RO
59592015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5960
5961 * configure.ac (libgcc_cv_solaris_crts): New test.
5962 * configure: Regenerate.
5963 * config.in: Regenerate.
5964 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5965 * config/gmon-sol2.c: Rename to ...
5966 * config/sol2/gmon.c: ... this.
5967 Include auto-target.h.
5968 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5969 * config/t-sol2: Rename to ...
5970 * config/sol2/t-sol2: ... this.
5971 (gmon.o): Reflect renaming.
5972 (crtp.o, crtpg.o): New rules.
5973 * config.host (*-*-solaris2*): Reflect renaming.
5974 Use system CRTs if present.
5975 Remove default CRT case.
5976
d572e439
JDA
59772015-09-23 John David Anglin <danglin@gcc.gnu.org>
5978
5979 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5980 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5981 __kernel_cmpxchg2.
5982 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5983 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5984 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5985 (__sync_lock_test_and_set_##WIDTH): Likewise.
5986 (__sync_lock_release_##WIDTH): Likewise.
5987 (__sync_fetch_and_##OP##_4): Change result to match type of
5988 __kernel_cmpxchg.
5989 (__sync_##OP##_and_fetch_4): Likewise.
5990 (__sync_val_compare_and_swap_4): Likewise.
5991 (__sync_bool_compare_and_swap_4): likewise.
5992 (__sync_lock_test_and_set_4): Likewise.
5993 (__sync_lock_release_4): Likewise.
5994 (FETCH_AND_OP_2): Add long long variants.
5995 (OP_AND_FETCH_2): Likewise.
5996 (COMPARE_AND_SWAP_2 ): Likewise.
5997 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5998 (SYNC_LOCK_RELEASE_2): Likewise.
5999 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6000
7d296953 60012015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
6002
6003 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6004 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6005 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6006 (get_available_features): Habdle new features.
6007
131314e1
JB
60082015-09-21 James Bowman <james.bowman@ftdichip.com>
6009
6010 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6011 memory layout. Deal correctly with BSS region larger than 32K.
6012 Handle a watchdog reset like a power-on reset. Clean up unused
6013 code.
6014
04218b35
AD
60152015-09-18 Andrew Dixie <andrewd@gentrack.com>
6016 David Edelsohn <dje.gcc@gmail.com>
6017
6018 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6019 * config/rs6000/crtdbase.S: New file.
6020 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6021
c8338173
MF
60222015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6023
6024 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6025 Add support for call0 ABI.
6026
7a84bf71
JDA
60272015-09-13 John David Anglin <danglin@gcc.gnu.org>
6028
6029 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6030
4efab402
SH
60312015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6032
6033 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6034 (__GTHREAD_HAS_COND): Likewise.
6035 (__gthread_t): Likewise.
6036 (__gthread_cond_t): Likewise.
6037 (__gthread_time_t): Likewise.
6038 (__GTHREAD_MUTEX_INIT): Likewise.
6039 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6040 (__GTHREAD_COND_INIT): Likewise.
6041 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6042 (__GTHREAD_TIME_INIT): Likewise.
6043 (__gthread_create): Likewise.
6044 (__gthread_join): Likewise.
6045 (__gthread_detach): Likewise.
6046 (__gthread_equal): Likewise.
6047 (__gthread_self): Likewise.
6048 (__gthread_yield): Likewise.
6049 (__gthread_cond_broadcast): Likewise.
6050 (__gthread_cond_signal): Likewise.
6051 (__gthread_cond_wait): Likewise.
6052 (__gthread_cond_timedwait): Likewise.
6053 (__gthread_cond_wait_recursive): Likewise.
6054 (__gthread_cond_destroy): Likewise.
6055 (rtems_gxx_once): Delete.
6056 (rtems_gxx_key_create): Likewise.
6057 (rtems_gxx_key_delete): Likewise.
6058 (rtems_gxx_getspecific): Likewise.
6059 (rtems_gxx_setspecific): Likewise.
6060 (rtems_gxx_mutex_init): Likewise.
6061 (rtems_gxx_mutex_destroy): Likewise.
6062 (rtems_gxx_mutex_lock): Likewise.
6063 (rtems_gxx_mutex_trylock): Likewise.
6064 (rtems_gxx_mutex_unlock): Likewise.
6065 (rtems_gxx_recursive_mutex_init): Likewise.
6066 (rtems_gxx_recursive_mutex_lock): Likewise.
6067 (rtems_gxx_recursive_mutex_trylock): Likewise.
6068 (rtems_gxx_recursive_mutex_unlock): Likewise.
6069 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6070 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6071 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6072 (__gthread_once): Likewise.
6073 (__gthread_key_create): Likewise.
6074 (__gthread_key_delete): Likewise.
6075 (__gthread_getspecific): Likewise.
6076 (__gthread_setspecific): Likewise.
6077 (__gthread_key_t): Use <pthread.h> type.
6078 (__gthread_once_t): Likewise
6079 (__gthread_mutex_t): Use <sys/lock.h> type.
6080 (__gthread_recursive_mutex_t): Likewise
6081 (__gthread_mutex_lock): Use <sys/lock.h> function.
6082 (__gthread_mutex_trylock): Likewise.
6083 (__gthread_mutex_timedlock): Likewise.
6084 (__gthread_mutex_unlock): Likewise.
6085 (__gthread_mutex_destroy): Likewise.
6086 (__gthread_recursive_mutex_lock): Likewise.
6087 (__gthread_recursive_mutex_trylock): Likewise.
6088 (__gthread_recursive_mutex_timedlock): Likewise.
6089 (__gthread_recursive_mutex_unlock): Likewise.
6090 (__gthread_recursive_mutex_destroy): Likewise.
6091
991995c4
MF
60922015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6093
6094 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6095 context->sp instead of context->cfa.
6096
0e19db59
MF
60972015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6098
6099 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6100 with unwind-dw2-fde-dip.
6101
b6ac5f62
MF
61022015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6103
6104 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6105 CALL12 followed by series of ENTRY to spill windowed registers.
6106 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6107 instead of making linux spill syscall.
6108
3e0f3349
YR
61092015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6110
6111 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6112 (get_intel_cpu): Likewise.
6113
51c728b1
L
61142015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6115
6116 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6117 (get_intel_cpu): Add Knights Landing support.
6118
aff4eeac
UB
61192015-08-11 Uros Bizjak <ubizjak@gmail.com>
6120
6121 PR target/66954
6122 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6123 (get_available_features): Handle FEATURE_PCLMUL.
6124
736e56da
L
61252015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6126
6127 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6128 Broadwell.
6129
54d22142
UB
61302015-07-22 Uros Bizjak <ubizjak@gmail.com>
6131
6132 PR target/66954
6133 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6134 (get_available_features): Handle FEATURE_AES.
6135
20ca17e4
CLT
61362015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6137
6138 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6139 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6140
ebe4a560
NS
61412015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6142
6143 * offloadstuff.c: Constify host data.
6144
180744c0
JB
61452015-07-17 Jan Beulich <jbeulich@suse.com>
6146
6147 * config/t-softfp: Split up "else ifneq".
6148
a03c6ae3
SL
61492015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6150 Cesar Philippidis <cesar@codesourcery.com>
6151 Chung-Lin Tang <cltang@codesourcery.com>
6152
6153 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6154 for __nios2_arch__ level.
6155
73358db5
JM
61562015-07-13 John Marino <gnugcc@marino.st>
6157
6158 * config/i386/t-dragonfly: New.
6159
f9a12f7b
JDA
61602015-07-01 John David Anglin <danglin@gcc.gnu.org>
6161
6162 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6163 better match light-weight syscall argument order.
6164 (__kernel_cmpxchg2): Likewise.
6165 Adjust callers.
6166
cb78b51c
L
61672015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6168
6169 * config.host: Support i[34567]86-*-elfiamcu target.
6170 * config/t-softfp-sfdftf: New file.
6171 * config/i386/32/t-iamcu: Likewise.
6172 * configure: Regenerated.
6173
4fa0f9ea
JL
61742015-06-23 James Lemke <jwlemke@codesourcery.com>
6175
6176 libgcc/config/arm/
6177 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6178
428b3812
L
61792015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6180
6181 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6182
7d296953 61832015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
6184
6185 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6186 md_unwind_header
6187 * config/i386/freebsd-unwind.h: New.
6188
9b789cc1
UB
61892015-05-22 Uros Bizjak <ubizjak@gmail.com>
6190
6191 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6192 i386/t-crtfm to tmake_file.
6193 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6194 (set_fast_math): Use set_fast_math_sse for SSE targets.
6195 * config/i386/t-crtfm: Remove.
6196
3dafb220
AM
61972015-05-21 Alan Modra <amodra@gmail.com>
6198
6199 PR libgcc/66225
6200 * config/rs6000/morestack.S: Remove ".abiversion 1".
6201
0f0fd745
AM
62022015-05-20 Alan Modra <amodra@gmail.com>
6203
6204 * config/rs6000/morestack.S: New.
6205 * config/rs6000/t-stack-rs6000: New.
6206 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6207 to tmake_file.
6208 * generic-morestack.c: Don't build for powerpc 32-bit.
6209
515ae71b
EB
62102015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6211
6212 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6213 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6214
36805406
JL
62152015-05-16 James Bowman <james.bowman@ftdichip.com>
6216
6217 * config.host: FT32 target added.
6218 * config/ft32/*: New files for FT32 target.
6219
ff935d0c
MG
62202015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6221
385c7747
UB
6222 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6223 New macros.
6224 * config/arm/ieee754-df.S: Add CFI directives.
6225 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 6226
9b92a9f3
EB
62272015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6228
6229 * configure.ac: Include config/sjlj.m4.
6230 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6231 * config.in: Regenerate.
6232 * configure: Likewise.
6233 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6234
98b5dc61
UB
62352015-05-12 Uros Bizjak <ubizjak@gmail.com>
6236
6237 * libgcov-util.c: Add space between string literal and macro name.
6238
5a0ff57c
SL
62392015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6240 Chris Jones <chrisj@nvidia.com>
6241 Joshua Conner <jconner@nvidia.com>
6242
6243 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6244 (arm*-*-uclinux*): Likewise.
6245 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6246 * config/arm/crtfastmath.c: New file.
6247
d28ad5d4
BS
62482014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6249
6250 * Makefile.in (real_host_noncanonical): New variable.
6251 (libsubdir): Use it.
6252 * configure.ac (real_host_noncanonical): Compute. Remove special
6253 case for intelmicemul.
6254 * configure: Regenerate.
6255
cc86234f
UB
62562015-04-28 Uros Bizjak <ubizjak@gmail.com>
6257
6258 * config/frv/elf-lib.h: New file.
6259 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6260 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6261 to tm_file.
6262
62632015-04-28 Uros Bizjak <ubizjak@gmail.com>
6264
6265 * config/frv/frvbengin.c: Do not include defaults.h
6266 * config/frv/frvend.c: Ditto.
6267
2f6bd6eb
YS
62682015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6269
6270 * config.host: Add h8300-*-linux
6271 * config/h8300/t-linux: New file.
6272 * config/h8300/lib1funs.s: Change symbol prefix.
6273 * config/h8300/sfp-machine.h: 64bit double support.
6274
15aa7b44
GR
62752015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6276 Szabolcs Nagy <szabolcs.nagy@arm.com>
6277
6278 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6279 Linux if target provides dl_iterate_phdr.
6280
abd0cdc9
L
62812015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6282
6283 PR target/65612
6284 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6285 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6286 (__cpu_indicator_init@GCC_4.8.0): New.
6287 (__cpu_model@GCC_4.8.0): Likewise.
6288 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6289 -DUSE_ELF_SYMVER.
6290
72ed1126
NC
62912015-04-16 Nick Clifton <nickc@redhat.com>
6292
6293 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6294 and __modhi3 functions.
6295 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6296 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6297
d26b2237
CG
62982015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6299
6300 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6301 do-while loop as macro body to avoid warnings.
6302
cacf1f59
JJ
63032015-04-10 Jakub Jelinek <jakub@redhat.com>
6304 Iain Sandoe <iain@codesourcery.com>
6305
6306 PR target/65351
6307 * configure: Regenerate.
6308
e8a4ed3b
JJ
63092015-04-07 Jakub Jelinek <jakub@redhat.com>
6310 Iain Sandoe <iain@codesourcery.com>
6311
6312 PR target/65351
6313 * configure: Regenerate.
6314
0341335e
CLT
63152015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6316
6317 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6318
590e2636 63192015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 6320
590e2636
MF
6321 Implement call0 ABI for xtensa
6322 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6323 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6324 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6325 use ret in call0 ABI.
6326 * config/xtensa/t-windowed: New file.
6327 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6328 * libgcc/configure: Regenerated.
6329 * libgcc/configure.ac: Check if xtensa target is configured for
6330 windowed ABI and thus needs to use custom unwind code.
6331
7727f8f2
JW
63322015-02-12 Jonathan Wakely <jwakely@redhat.com>
6333
6334 PR libgcc/64885
6335 * gthr-single.h: Use __unused__ attribute instead of unused.
6336 * config/gthr-vxworks.h: Likewise.
6337 * config/i386/gthr-win32.h: Likewise.
6338
0e4a0def
KT
63392015-02-27 Kai Tietz <ktietz@redhat.com>
6340
6341 PR target/65038
6342 * config.in: Regenerated.
6343 * configure: Likewise.
6344 * configure.ac (AC_HEADER_STDC): Added explicit.
6345 (AC_CHECK_HEADERS): Check for default headers plus
6346 for ftw.h header.
6347 * libgcov-util.c (gcov_read_profile_dir): Disable use
6348 of ftw-function, if header is not found.
6349 (ftw_read_file): Likewise.
6350
b6530d0a
TS
63512015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6352
6353 PR target/65181
6354 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6355 -Dinhibit_libc.
6356
53cfb467
SL
63572015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6358
6359 * config/arm/bpabi.S (test_div_by_zero): Make label names
6360 consistent between thumb2 and arm mode cases. Separate the
6361 signed comparison on the high word of the numerator from the
6362 unsigned comparison on the low word.
6363 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6364 signed comparison.
6365
77d10a1b
JM
63662015-02-17 Joseph Myers <joseph@codesourcery.com>
6367
6368 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6369 and <string.h>.
6370 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6371
98174188
RE
63722015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6373
6374 PR gcov-profile/61889
471274de 6375 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 6376
771bef14
NC
63772015-02-02 Nick Clifton <nickc@redhat.com>
6378
6379 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6380 rounding up the fraction.
6381
40702893
JDA
63822015-01-31 John David Anglin <danglin@gcc.gnu.org>
6383
6384 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6385 oldval and newval to const void *. Fix typo.
6386 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6387 (FETCH_AND_OP_WORD): Likewise.
6388 (OP_AND_FETCH_WORD): Likewise.
6389 (COMPARE_AND_SWAP_2): Likewise.
6390 (__sync_val_compare_and_swap_4): Likewise.
6391 (__sync_lock_test_and_set_4): Likewise.
6392 (SYNC_LOCK_RELEASE_2): Likewise.
6393 Remove support for long long atomic operations.
6394
f7f049fa
CT
63952015-01-27 Caroline Tice <cmtice@google.com>
6396
6397 Committing VTV Cywin/Ming patch for Patrick Wollgast
6398 * Makefile.in: Move rules to build vtv_*.o out of the check
6399 for CUSTOM_CRTSTUFF.
6400 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6401 i[34567]86-*-mingw*)
3d3b561f 6402 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
f7f049fa
CT
6403 enable_vtable_verify.
6404
8410904a
NC
64052015-01-27 Nick Clifton <nickc@redhat.com>
6406
6407 * config/rl78/cmpsi2.S: Use function start and end macros.
6408 (__gcc_bcmp): New function.
6409 * config/rl78/lshrsi3.S: Use function start and end macros.
6410 * config/rl78/mulsi3.S: Add support for G10.
6411 (__mulqi3): New function for G10.
6412 * config/rl78/signbit.S: Use function start and end macros.
6413 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6414 fpmath-sf.S.
6415 (LIB2FUNCS_EXCLUDE): Define.
6416 (LIB2FUNCS_ST): Define.
6417 * config/rl78/trampoline.S: Use function start and end macros.
6418 * config/rl78/vregs.h (START_FUNC): New macro.
6419 (START_ANOTHER_FUNC): New macro.
6420 (END_FUNC): New macro.
6421 (END_ANOTHER_FUNC): New macro.
6422 * config/rl78/bit-count.S: New file. Contains assembler
6423 implementations of the bit counting functions: ___clzhi2,
6424 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6425 __paritysi2, __popcounthi2 and __popcountsi2.
6426 * config/rl78/fpbit-sf.S: New file. Contains assembler
6427 implementationas of the math functions: __negsf2, __cmpsf2,
6428 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6429 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6430 * config/rl78/fpmath-sf.S: New file. Contains assembler
6431 implementations of the math functions: __subsf3, __addsf3,
6432 __mulsf3 and __divsf3
6433
f962fbf1
RO
64342015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6435
6436 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6437 Add i386/elf-lib.h to tm_file.
6438 * config/i386/elf-lib.h: Fix comment.
6439 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6440 && __sun__ && __svr4__]: Remove workaround.
6441
939911c5
ASJ
64422015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6443
6444 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6445 FEATURE_BMI2.
6446 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6447
c8f2dff2
L
64482015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6449
6450 * config/i386/cpuinfo.c (processor_subtypes): Add
6451 INTEL_COREI7_BROADWELL.
6452 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6453 model numbers.
6454
7bbf9734
UB
64552015-01-23 Uros Bizjak <ubizjak@gmail.com>
6456
6457 * config/i386/elf-lib.h: New file.
6458 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6459 Wrap definition in #ifdef __i386__.
6460 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6461 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6462 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6463 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6464 to tm_file.
6465
324820f1
CG
64662015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6467
6468 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6469 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6470
a9ce4e4a
CLT
64712015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6472
6473 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6474 Update rt_sigframe format and address for current Nios II
6475 Linux conventions.
6476
82a19768
AT
64772015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6478
6479 * config.host (arm*-*-freebsd*): Add new configuration for
6480 arm*-*-freebsd*.
6481 * config/arm/freebsd-atomic.c: New file.
6482 * config/arm/t-freebsd: Likewise.
6483 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6484 'PC-relative indirect' OS's.
6485
0969ec7d
EB
64862015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6487
6488 * config.host: Add Visium support.
6489 * config/visium: New directory.
6490
5624e564
JJ
64912015-01-05 Jakub Jelinek <jakub@redhat.com>
6492
6493 Update copyright years.
6494
82f84ecb
MF
64952014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6496
6497 * config.host: Support mipsisa32r6 and mipsisa64r6.
6498 * config/mips/mips16.S: Do not build for R6.
6499
69044fa9
OE
65002014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6501
6502 * config/sh/crt.h: New.
6503 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6504 symbols.
6505 * config/sh/crt1.S: Likewise.
6506
2405e0ea
UB
65072014-12-15 Uros Bizjak <ubizjak@gmail.com>
6508
6509 PR libgcc/63832
6510 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6511 func_ptr *dtor_list temporary variable to avoid "array subscript
6512 is above array bounds" warnings.
6513
7d296953 65142014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
6515
6516 * Makefile.in (with_aix_soname): Define.
6517 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6518 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6519 * configure: Recreate.
6520
a66272f6
OH
65212014-12-05 Olivier Hainque <hainque@adacore.com>
6522
6523 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6524 now provided by defaults.h.
6525
6342b2c5
OE
65262014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6527
7d0ee249 6528 PR target/55351
6342b2c5
OE
6529 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6530 whether it's defined.
6531
c17eac85
IT
65322014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6533
6534 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6535 * config/i386/cpuinfo.c (get_available_features): Detect it.
6536
1025cb6c
TW
65372014-11-27 Tony Wang <tony.wang@arm.com>
6538
6539 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6540 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6541 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6542
d19f2e38
SB
65432014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6544
6545 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6546
17f6e9a3
JDA
65472014-11-24 John David Anglin <danglin@gcc.gnu.org>
6548
6549 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6550 instead.
6551
0cd7c672
GM
65522014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6553 John David Anglin <danglin@gcc.gnu.org>
6554
6555 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6556 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6557 (OP_AND_FETCH_2): Likewise.
6558 (COMPARE_AND_SWAP_2): Likewise.
6559 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6560 (SYNC_LOCK_RELEASE_2): Likewise.
6561 (SUBWORD_SYNC_OP): Remove.
6562 (SUBWORD_VAL_CAS): Likewise.
6563 (SUBWORD_BOOL_CAS): Likewise.
6564 (FETCH_AND_OP_WORD): Update.
6565 Consistently use signed types.
cc86234f 6566
85c64bbe
BS
65672014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6568 Thomas Schwinge <thomas@codesourcery.com>
6569 Ilya Verbin <ilya.verbin@intel.com>
6570 Andrey Turetskiy <andrey.turetskiy@intel.com>
6571
6572 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6573 (crtoffloadend$(objext)): Likewise.
6574 * configure: Regenerate.
6575 * configure.ac (accel_dir_suffix): Compute new variable.
6576 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6577 if enable_offload_targets is not empty.
6578 * offloadstuff.c: New file.
6579
52a1ff8b
NC
65802014-11-13 Nick Clifton <nickc@redhat.com>
6581
6582 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6583 Use START_FUNC and END_FUNC macros to enable linker garbage
6584 collection.
6585 * config/rl78/divmodqi.S: Likewise.
6586 * config/rl78/divmodsi.S: Likewise.
6587 * config/rl78/mulsi3.S: Likewise.
6588 * config/rl78/lib2div.c: Remove G10 functions.
6589 * config/rl78/lib2muls.c: Likewise.
6590 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6591 * config/rl78/vregs.h (START_FUNC): New macro.
6592 (END_FUNC): New macro.
6593
050af144
MF
65942014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6595
6596 * config/mips/mips16.S: Set .module when supported. Update O32
6597 FP64 calling convention and use for FPXX when possible. Add FPXX
6598 calling convention fallback case.
6599
738f2522
BS
66002014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6601
6602 * config.host: Handle nvptx-*-*.
6603 * shared-object.mk (as-flags-$o): Define.
6604 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6605 -xassembler-with-cpp.
6606 * static-object.mk: Identical changes.
6607 * config/nvptx/t-nvptx: New file.
6608 * config/nvptx/crt0.s: New file.
6609 * config/nvptx/free.asm: New file.
6610 * config/nvptx/malloc.asm: New file.
6611 * config/nvptx/realloc.c: New file.
6612
e610393c
JM
66132014-10-30 Joseph Myers <joseph@codesourcery.com>
6614
6615 * Makefile.in (libgcc.map.in): New target.
6616 (libgcc.map): Use libgcc.map.in.
6617 * config/t-softfp (softfp_compat): New variable to be set by
6618 users.
6619 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6620 variables.
6621 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6622 directory.
6623 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6624 that use compat symbols and disable all code unless [SHARED].
6625 * config/t-softfp-compat: New file.
6626 * find-symver.awk: New file.
6627 * configure.ac (--with-glibc-version): New configure option.
6628 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6629 * configure: Regenerate.
6630 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6631 soft-float and e500.
6632
bc1b3a88
JM
66332014-10-29 Joseph Myers <joseph@codesourcery.com>
6634
6635 * config/t-hardfp (hardfp_exclusions): Document new variable for
6636 user to define.
6637 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6638 * config/t-softfp (softfp_extras): Document new variable for user
6639 to define.
6640 (softfp_func_list): Add functions from $(softfp_extras).
6641 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6642 * config.host (powerpc*-*-linux*): For e500v1, use
6643 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6644 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6645 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6646
ef2810c1
JDA
66472014-10-26 John David Anglin <danglin@gcc.gnu.org>
6648
6649 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6650 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6651 memory read accesses are ok.
6652
d80c2bea
JM
66532014-10-25 Joseph Myers <joseph@codesourcery.com>
6654
6655 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6656 * configure: Regenerate.
6657 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6658 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6659 of soft-fp for 32-bit classic hard float. Do not use
6660 t-softfp-excl for soft float.
6661
693b297b
JM
66622014-10-22 Joseph Myers <joseph@codesourcery.com>
6663
6664 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6665 configurations.
6666 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6667 Remove variables.
6668
18a3415e
GJL
66692014-10-22 Georg-Johann Lay <avr@gjlay.de>
6670
6671 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6672 introduced with 2014-10-21 trunk r216525.
6673
c1dd9790 66742014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
6675 Vidya Praveen <vidya.praveen@atmel.com>
6676 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6677 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6678 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
6679
6680 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6681 order.
6682
6683 Updated library functions for AVRTINY arch.
6684 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6685 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6686 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6687 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6688 wsubi/wadi macors.
6689 (__mulsi3_helper): Update stack, preserve callee saved regs and
6690 argument from stack. Restore callee save registers.
6691 (__mulpsi3): Likewise.
6692 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6693 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 6694 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
6695 AVRTINY.
6696 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6697 (__do_copy_data): Added new definition for AVRTINY.
6698 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6699 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6700 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6701 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6702 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6703 macors.
18a3415e 6704 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
6705 AVRTINY.
6706
18a3415e 6707 Fix broken long multiplication on tiny arch.
c1dd9790 6708
5f606431
JM
67092014-10-09 Joseph Myers <joseph@codesourcery.com>
6710
6711 * soft-fp/double.h: Update from glibc.
6712 * soft-fp/eqdf2.c: Likewise.
6713 * soft-fp/eqsf2.c: Likewise.
6714 * soft-fp/eqtf2.c: Likewise.
6715 * soft-fp/extenddftf2.c: Likewise.
6716 * soft-fp/extended.h: Likewise.
6717 * soft-fp/extendsfdf2.c: Likewise.
6718 * soft-fp/extendsftf2.c: Likewise.
6719 * soft-fp/extendxftf2.c: Likewise.
6720 * soft-fp/gedf2.c: Likewise.
6721 * soft-fp/gesf2.c: Likewise.
6722 * soft-fp/getf2.c: Likewise.
6723 * soft-fp/ledf2.c: Likewise.
6724 * soft-fp/lesf2.c: Likewise.
6725 * soft-fp/letf2.c: Likewise.
6726 * soft-fp/op-1.h: Likewise.
6727 * soft-fp/op-2.h: Likewise.
6728 * soft-fp/op-4.h: Likewise.
6729 * soft-fp/op-8.h: Likewise.
6730 * soft-fp/op-common.h: Likewise.
6731 * soft-fp/quad.h: Likewise.
6732 * soft-fp/single.h: Likewise.
6733 * soft-fp/soft-fp.h: Likewise.
6734 * soft-fp/unorddf2.c: Likewise.
6735 * soft-fp/unordsf2.c: Likewise.
6736 * soft-fp/unordtf2.c: Likewise.
6737 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6738 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6739 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6740 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6741 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6742 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6743 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6744 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6745 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6746 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6747
9b84e7a8
RX
67482014-10-08 Rong Xu <xur@google.com>
6749
6750 * libgcov-util.c (read_gcda_file): Fix format.
6751 (find_match_gcov_info): Ditto.
6752 (calculate_2_entries): New.
6753 (compute_one_gcov): Ditto.
6754 (gcov_info_count_all_cold): Ditto.
6755 (gcov_info_count_all_zero): Ditto.
6756 (extract_file_basename): Ditto.
6757 (get_file_basename): Ditto.
6758 (set_flag): Ditto.
6759 (matched_gcov_info): Ditto.
6760 (calculate_overlap): Ditto.
6761 (gcov_profile_overlap): Ditto.
6762 * libgcov-driver.c (compute_summary): Make
6763 it avavilable for external calls.
6764
fe1090c1
RX
67652014-10-06 Rong Xu <xur@google.com>
6766
6767 * Makefile.in: Ditto.
6768 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6769 (gcov_sort_icall_topn_counter): Ditto.
6770 (gcov_sort_topn_counter_arrays): Ditto.
6771 (dump_one_gcov): Sort indirect_call topn counters.
6772 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6773 function.
6774 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6775 utility function.
6776 (__gcov_indirect_call_topn_profiler): New profiler function.
6777 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6778 * libgcov.h: New decls.
6779
3daa7bbf
TS
67802014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6781
6782 * config.host: Remove support for score-*.
6783
9a79452d
JM
67842014-09-22 Joseph Myers <joseph@codesourcery.com>
6785
6786 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6787 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6788 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6789 __LIBGCC_XF_MANT_DIG__.
6790 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6791 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6792 __LIBGCC_TF_MANT_DIG__.
6793 * libgcc2.c (NOTRUNC): Define in terms of
6794 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6795 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6796
1a849e50
JM
67972014-09-22 Joseph Myers <joseph@codesourcery.com>
6798
6799 PR target/63312
6800 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6801 New macros.
6802
598a1586
HPN
68032014-09-22 Hans-Peter Nilsson <hp@axis.com>
6804
6805 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6806 override USE_PT_GNU_EH_FRAME.
6807 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6808 check USE_EH_FRAME_REGISTRY_ALWAYS against
6809 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6810 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6811 variable for substituted force_explicit_eh_registry.
6812 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6813 * configure.ac (explicit-exception-frame-registration):
6814 New AC_ARG_ENABLE.
6815 * configure: Regenerate.
6816
3a8fe7c6
OH
68172014-09-19 Olivier Hainque <hainque@adacore.com>
6818
6819 * config.host (powerpc-wrs-vxworksmils): New configuration,
6820 same as vxworksae.
6821
dd69f047
JM
68222014-09-18 Joseph Myers <joseph@codesourcery.com>
6823
6824 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6825
e770bfd9
JM
68262014-09-18 Joseph Myers <joseph@codesourcery.com>
6827
6828 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6829 bits not set bits as indicating trapping exceptions.
6830
cadb2b96
NS
68312014-09-17 Nathan sidwell <nathan@acm.org>
6832
6833 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6834 (LIBGCOV_DRIVER): ... here.
6835 * libgcov-driver.c (gcov_master): New.
6836 (gcov_exit): Remove from master chain.
6837 (__gcov_init): Add to master chain if version compatible. Don't
6838 clear the version.
6839 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6840 (gcov_reset_int): Clear master chain, if compatible.
6841 (gcov_dump_int): New internal interface. Dump master chain, if
6842 compatible.
6843 (gcov_dump): Alias for gcov_dump_int.
6844 * libgcov.h (struct gcov_root): Add next and prev fields.
6845 (struct gcov_master): New struct.
6846 (__gcov_master): New.
6847 (gcov_dump_int): Declare.
6848
580d22a3
OH
68492014-09-17 Olivier Hainque <hainque@adacore.com>
6850
6851 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6852 and crtbegin.o + crtend.o to extra_parts.
6853
8cc4b7a2
JM
68542014-09-12 Joseph Myers <joseph@codesourcery.com>
6855
6856 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6857 __LIBGCC_HAS_SF_MODE__.
6858 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6859 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6860 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6861 * config/libbid/bid_gcc_intrinsics.h
6862 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6863 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6864 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6865 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6866 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6867 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6868
ea3f2b24
GJL
68692014-09-11 Georg-Johann Lay <avr@gjlay.de>
6870
6871 PR target/63223
6872 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6873 and R24 as needed. Make work for all devices and .text locations.
6874 (__do_global_ctors, __do_global_dtors): Use word addresses.
6875 (__tablejump__, __tablejump_elpm__): Remove functions.
6876 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6877 Add _tablejump2.
6878 (XICALL, XIJMP): New macros.
6879
b677236a
MS
68802014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6881 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6882
6883 * config.host (aarch64*): Include crtfastmath.o and
6884 t-crtfm.
6885 * config/aarch64/crtfastmath.c: New file.
6886
157e859f
TS
68872014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6888
6889 * config.host: Remove picochip support.
6890 * config/picochip/adddi3.S: Remove.
6891 * config/picochip/ashlsi3.S: Remove.
6892 * config/picochip/ashlsi3.c: Remove.
6893 * config/picochip/ashrsi3.S: Remove.
6894 * config/picochip/ashrsi3.c: Remove.
6895 * config/picochip/clzsi2.S: Remove.
6896 * config/picochip/cmpsi2.S: Remove.
6897 * config/picochip/divmod15.S: Remove.
6898 * config/picochip/divmodhi4.S: Remove.
6899 * config/picochip/divmodsi4.S: Remove.
6900 * config/picochip/lib1funcs.S: Remove.
6901 * config/picochip/longjmp.S: Remove.
6902 * config/picochip/lshrsi3.S: Remove.
6903 * config/picochip/lshrsi3.c: Remove.
6904 * config/picochip/parityhi2.S: Remove.
6905 * config/picochip/popcounthi2.S: Remove.
6906 * config/picochip/setjmp.S: Remove.
6907 * config/picochip/subdi3.S: Remove.
6908 * config/picochip/t-picochip: Remove.
6909 * config/picochip/ucmpsi2.S: Remove.
6910 * config/picochip/udivmodhi4.S: Remove.
6911 * config/picochip/udivmodsi4.S: Remove.
6912
66bb34c0
JM
69132014-09-08 Joseph Myers <joseph@codesourcery.com>
6914
6915 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6916 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6917 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6918 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6919 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6920 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6921 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6922 defined and LIBGCC2_HAS_DF_MODE is defined.
6923 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6924 defined and LIBGCC2_HAS_XF_MODE is defined.
6925 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6926 defined and LIBGCC2_HAS_TF_MODE is defined.
6927
9686a2e6
JM
69282014-09-08 Joseph Myers <joseph@codesourcery.com>
6929
6930 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6931 and ROUND_TOWARDS_ZERO conditionals.
6932
71c3e2ef
NS
69332014-09-07 Nathan sidwell <nathan@acm.org>
6934
6935 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6936 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6937
53d68b9f
JM
69382014-09-05 Joseph Myers <joseph@codesourcery.com>
6939
6940 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6941 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6942 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6943 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6944 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6945 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6946 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6947 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6948 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6949 (DWARF_FRAME_REGISTERS): Change all uses to
6950 __LIBGCC_DWARF_FRAME_REGISTERS__.
6951 (EH_RETURN_STACKADJ_RTX): Change all uses to
6952 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6953 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6954 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6955 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6956 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6957 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6958 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6959 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6960 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6961 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6962 __LIBGCC_STACK_POINTER_REGNUM__.
6963 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6964 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6965 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6966 to __LIBGCC_STACK_POINTER_REGNUM__.
6967 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6968 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6969 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6970 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6971 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6972 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6973 (STACK_POINTER_REGNUM): Change all uses to
6974 __LIBGCC_STACK_POINTER_REGNUM__.
6975 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6976 use to __LIBGCC_STACK_POINTER_REGNUM__.
6977 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6978 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6979 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6980 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6981 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6982 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6983 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6984 to __LIBGCC_STACK_POINTER_REGNUM__.
6985 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6986 Remove conditional definition.
6987 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6988 __LIBGCC_TEXT_SECTION_ASM_OP__.
6989 (EH_FRAME_SECTION_NAME): Change all uses to
6990 __LIBGCC_EH_FRAME_SECTION_NAME__.
6991 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6992 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6993 (CTORS_SECTION_ASM_OP): Change all uses to
6994 __LIBGCC_CTORS_SECTION_ASM_OP__.
6995 (DTORS_SECTION_ASM_OP): Change all uses to
6996 __LIBGCC_DTORS_SECTION_ASM_OP__.
6997 (JCR_SECTION_NAME): Change all uses to
6998 __LIBGCC_JCR_SECTION_NAME__.
6999 (INIT_SECTION_ASM_OP): Change all uses to
7000 __LIBGCC_INIT_SECTION_ASM_OP__.
7001 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7002 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7003 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7004 __LIBGCC_STACK_GROWS_DOWNWARD__.
7005 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7006 __LIBGCC_INIT_SECTION_ASM_OP__.
7007 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7008 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7009 (EH_FRAME_SECTION_NAME): Change all uses to
7010 __LIBGCC_EH_FRAME_SECTION_NAME__.
7011 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7012 definitions. Change all uses to
7013 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7014 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7015 __LIBGCC_STACK_GROWS_DOWNWARD__.
7016 (DWARF_FRAME_REGISTERS): Change all uses to
7017 __LIBGCC_DWARF_FRAME_REGISTERS__.
7018 (EH_RETURN_STACKADJ_RTX): Change all uses to
7019 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7020 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7021 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7022 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7023 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7024 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7025
b20ee094
NS
70262014-09-02 Nathan sidwell <nathan@acm.org>
7027
7028 * libgcov-interface.c (STRONG_ALIAS): New.
7029 (__gcov_flush): Call __gcov_reset_int.
7030 (__gcov_reset): Strong alias for ...
7031 (__gcov_reset_ing): ... this renamed hidden version.
7032 * libgcov.h (__gcov_reset_int): New declaration.
7033
1ac83976
YS
70342014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7035
25efdb9f
YS
7036 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7037 call from here...
7038 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7039 (__dso_handle): Define on Cygwin.
7040 * config/i386/t-cygming (crtbeginS.o): New rule.
7041 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7042
1ac83976
YS
7043 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7044 declaration syntax.
7045
c6f9ea3b
SE
70462014-08-13 Steve Ellcey <sellcey@mips.com>
7047
7048 * crtstuff.c: Undef caddr_t.
7049
5b1ea7c5
SE
70502014-08-12 Steve Ellcey <sellcey@mips.com>
7051
7052 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7053
4303c581
NS
70542014-08-07 Nathan Sidwell <nathan@acm.org>
7055
7056 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7057 (LIBGCOV_DRIVER): ... to here.
7058 * libgcov.h (gcov_do_dump): New #define.
7059 (struct gcov_root): New.
7060 (__gcov_root): New declaration.
7061 (__gcov_dump_one): Declare.
7062 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7063 run_accounted): Delete.
7064 (gcov_compute_histogram): Add LIST argument, adjust.
7065 (compute_summary): Adjust gcov_compute_histogram call.
7066 (gcov_do_dump): Not hidden, static in libgcov.
7067 (gcov_clear): Move to interface.c.
7068 (__gcov_dump_one): New, broken out of ...
7069 (gcov_exit): ... here. Make static.
7070 (__gcov_root): New.
7071 (__gcov_init): Adjust.
7072 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7073 declarations.
7074 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7075 (gcov_clear): Moved from driver.c. Add LIST argument.
7076 (__gcov_reset): Adjust for changed interfaces.
7077 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7078
23742a9e
RAR
70792014-08-04 Rohit <rohitarulraj@freescale.com>
7080
7081 PR target/60102
7082 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 7083 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 7084
b98a872b
NS
70852014-08-01 Nathan Sidwell <nathan@acm.org>
7086
7087 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7088 LIBGCOV_INTERFACE): Reformat.
7089 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7090 IN_GCOV_TOOL.
7091 * libgcov-interface.c: Reformat some comments.
7092 (__gcov_flush_mx): Add declaration. Tidy up definition.
7093
6adaaa1d
AM
70942014-07-31 Alan Modra <amodra@gmail.com>
7095 Peter Bergner <bergner@vnet.ibm.com>
7096
7097 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7098 (pack_ldouble): New function.
7099 (__gcc_qadd): Use it.
7100 (__gcc_qmul): Likewise.
7101 (__gcc_qdiv): Likewise.
7102 (__gcc_qneg): Likewise.
7103 (__gcc_stoq): Likewise.
7104 (__gcc_dtoq): Likewise.
7105
87cb0c0c
UW
71062014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7107
7108 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7109 (__tpf_eh_return): Add original return address as second parameter.
7110 Handle cases where unwinder routines were called directly, instead
7111 of from within the C++ library.
7112
19926161
NS
71132014-07-29 Nathan Sidwell <nathan@acm.org>
7114
7115 * libgcov.h: Move renaming of entry points to lib gcov specific
7116 portion.
7117 (gcov_do_dump): New rename.
7118 (gcov_rewrite): Remove inline, make HIDDEN.
7119 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7120 (gcov_exit_compute_summary): Rename to ...
7121 (compute_summary): ... here. Add LIST argument.
7122 (gcov_exit_merge_gcda): Rename to ...
7123 (merge_one_data): ... here.
7124 (gcov_exit_write_gcda): Rename to ...
7125 (write_one_data): ... here.
7126 (gcov_exit_merge_summary): Rename to ...
7127 (merge_summary): Add RUN_COUNTED argument.
7128 (gcov_exit_dump_gcov): Rename to ...
7129 (dump_one_gcov): Add RUN_COUNTED argument.
7130 (gcov_do_dump): New function, broken out of ...
7131 (gcov_exit): ... here. Call it.
7132
17522262
AG
71332014-07-27 Anthony Green <green@moxielogic.com>
7134
7135 * config.host: Add moxiebox configuration suppport.
7136
6dc33097
NS
71372014-07-27 Nathan Sidwell <nathan@acm.org>
7138
7139 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7140 (struct gcov_filename): ... here. Include buffer and max length
7141 fields.
7142 (gcov_max_filename): Remove.
7143 (gi_filename): Remove.
7144 (gcov_exit_compute_summary): Compute max filename here.
7145 (gcov_exit_merge_gcda): Add filename parm, adjust.
7146 (gcov_exit_merge_summary): Likewise.
7147 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7148 (gcov_exit): Likewise.
7149 (__gcov_init): Don't calculate max length here.
7150 * libgcov_util.c (max_filename_len): Remove.
7151 (read_gcda_file): Don't calculate max length here.
7152 (gcov_read_profile_dir): Don't propagate here.
7153 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7154 struct gcov_filename changes.
7155 (gcov_exit_open_gcda_file): Likewise.
7156
770f687d
NS
71572014-07-25 Nathan Sidwell <nathan@acm.org>
7158
7159 * libgcov-driver.c (set_gcov_dump_complete,
7160 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7161 functions polluting user's namespace.
7162 (gcov_exit): Set variable directly.
7163 (gcov_clear): Reset variable directly.
7164 * libgcov-interface.c (get_gcov_dymp_complete,
7165 reset_gov_dump_complete): Remove declarations.
7166 (__gcov_reset, __gcov_dump): Don't call them.
7167
fabf71ba
DD
71682014-07-24 DJ Delorie <dj@redhat.com>
7169
7170 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
7171 (__gcc_deregister_frame): Move logic to detect deregister function
7172 to ...
7173 (__gcc_register_frame): here, so it's consistent with the register
7174 logic.
fabf71ba 7175
d10ee722
NS
71762014-07-23 Nathan Sidwell <nathan@acm.org>
7177
7178 * libgcov-driver.c (set_gcov_list): Remove.
7179 (gcov_list): Make non-static in GCOV_TOOL.
7180 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7181
a4137090
JDA
71822014-07-17 John David Anglin <danglin@gcc.gnu.org>
7183
7184 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7185 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7186 Don't use SYNC_LOCK_RELEASE for int type.
7187
72602c6c
RB
71882014-07-14 Richard Biener <rguenther@suse.de>
7189
7190 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7191
d5313205
RX
71922014-07-11 Rong Xu <xur@google.com>
7193
7194 * libgcov-util.c (gcov_max_filename): Fix declartion.
7195
c77556a5
RX
71962014-07-10 Rong Xu <xur@google.com>
7197
7198 Add gcov-tool: an offline gcda profile processing tool
7199 Support.
7200 * libgcov-driver.c (gcov_max_filename): Make available
7201 to gcov-tool.
7202 * libgcov-merge.c (__gcov_merge_add): Replace
7203 gcov_read_counter() with a Macro.
7204 (__gcov_merge_ior): Ditto.
7205 (__gcov_merge_time_profile): Ditto.
7206 (__gcov_merge_single): Ditto.
7207 (__gcov_merge_delta): Ditto.
7208 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7209 in the utility functions.
7210 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7211 gcov_list object link lists.
7212 (tag_function): Ditto.
7213 (tag_blocks): Ditto.
7214 (tag_arcs): Ditto.
7215 (tag_lines): Ditto.
7216 (tag_counters): Ditto.
7217 (tag_summary): Ditto.
7218 (read_gcda_finalize): Ditto.
7219 (read_gcda_file): Ditto.
7220 (ftw_read_file): Ditto.
7221 (read_profile_dir_init): Ditto.
7222 (gcov_read_profile_dir): Ditto.
7223 (gcov_read_counter_mem): Ditto.
7224 (gcov_get_merge_weight): Ditto.
7225 (merge_wrapper): A wrapper function that calls merging handler.
7226 (gcov_merge): Merge two gcov_info objects with weights.
7227 (find_match_gcov_info): Find the matched gcov_info in the list.
7228 (gcov_profile_merge): Merge two gcov_info object lists.
7229 (__gcov_add_counter_op): Process edge profile counter values.
7230 (__gcov_ior_counter_op): Process IOR profile counter values.
7231 (__gcov_delta_counter_op): Process delta profile counter values.
7232 (__gcov_single_counter_op): Process single profile counter values.
7233 (fp_scale): Callback function for float-point scaling.
cc86234f 7234 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
7235 (gcov_profile_scale): Scaling profile counters.
7236 (gcov_profile_normalize): Normalize profile counters.
7237 * libgcov.h: Add headers and functions for gcov-tool use.
7238 (gcov_get_counter): New.
7239 (gcov_get_counter_target): Ditto.
7240 (struct gcov_info): Make the functions field mutable in gcov-tool
7241 compilation.
7242
5c7dac8a
KT
72432014-06-23 Kai Tietz <ktietz@redhat.com>
7244
7245 PR libgcc/61585
7246 * unwind-seh.c (_Unwind_GetGR): Check for proper
7247 index range.
7248 (_Unwind_SetGR): Likewise.
7249
161c9312
NC
72502014-05-22 Nick Clifton <nickc@redhat.com>
7251
7252 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7253 -mhwmult=none.
7254
e3f0315f
TJ
72552014-05-22 Teresa Johnson <tejohnson@google.com>
7256
7257 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7258 include.
7259
dbed5a9b
JM
72602014-05-20 John Marino <gnugcc@marino.st>
7261
7262 * config.host (*-*-dragonfly*): New target.
7263 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7264 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7265 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7266 * config/i386/dragonfly-unwind.h: New.
7267
1ec380e5
MR
72682014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7269
7270 PR libgcc/60166
7271 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7272 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7273
54fde020
BE
72742014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7275
7276 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7277 implementation.
7278
999db125
GJL
72792014-05-12 Georg-Johann Lay <avr@gjlay.de>
7280
7281 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7282
cceaf54a
RO
72832014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7284
7285 PR libgcc/61097
7286 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7287 if --enable-shared.
7288
e3fe9b5b
BE
72892014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7290
7291 Work around for current cygwin32 build problems.
7292 * config/i386/cygming-crtbegin.c (__register_frame_info,
7293 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7294 functions only for 64-bit systems.
7295
54cf37e9
RO
72962014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7297
7298 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7299 (sigill_caught, sigill_hdlr): Remove.
7300
d9f069ab
RO
73012014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7302
7303 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7304 check.
7305 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7306 Solaris 9 single-threaded support.
7307 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7308 Solaris 9 single-threaded support. Add call_user_handler code
7309 sequences.
7310 (sparc_is_sighandler): Likewise.
7311
59976ef8
AK
73122014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7313
7314 * config.host: Append t-floattodi to tmake_file depending on
7315 host_address.
7316
d02bbcf3
JS
73172014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7318
31466bc0 7319 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 7320
c2e7e597
UB
73212014-03-10 Uros Bizjak <ubizjak@gmail.com>
7322
7323 PR libgcc/60472
7324 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 7325 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
7326 Use __builtin_expect when checking *jcr_list for NULL.
7327
227a7dc8
RO
73282014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7329
7330 PR libgcc/59339
7331 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7332 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7333 vtv_*.o to extra_parts if enable_vtable_verify.
7334
df2b279c
NC
73352014-03-06 Nick Clifton <nickc@redhat.com>
7336
7337 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7338 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7339
dc11d79b
JY
73402014-02-28 Joey Ye <joey.ye@arm.com>
7341
7342 PR libgcc/60166
7343 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7344 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7345 Set to zero.
7346
341c653c
WL
73472014-02-24 Walter Lee <walt@tilera.com>
7348
7349 * config.host: Support "tilegx*" and "tilepro*" triplets.
7350 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7351 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7352
95ce7613
CLT
73532014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7354 Chung-Lin Tang <cltang@codesourcery.com>
7355
7356 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7357 * config/nios2/crti.S: Remove .file directive.
7358 * config/nios2/crtn.S: Likewise.
7359
0bb4fc05
KT
73602014-02-18 Kai Tietz <ktietz@redhat.com>
7361 Jonathan Schleifer <js@webkeks.org>
7362
7363 PR objc/56870
7364 * unwind-seh.c (_GCC_specific_handler): Pass proper
7365 value to unwind-handler.
7366
9acf28f1
JM
73672014-02-12 Joseph Myers <joseph@codesourcery.com>
7368
7369 * soft-fp/adddf3.c: Update from glibc.
7370 * soft-fp/addsf3.c: Likewise.
7371 * soft-fp/addtf3.c: Likewise.
7372 * soft-fp/divdf3.c: Likewise.
7373 * soft-fp/divsf3.c: Likewise.
7374 * soft-fp/divtf3.c: Likewise.
7375 * soft-fp/double.h: Likewise.
7376 * soft-fp/eqdf2.c: Likewise.
7377 * soft-fp/eqsf2.c: Likewise.
7378 * soft-fp/eqtf2.c: Likewise.
7379 * soft-fp/extenddftf2.c: Likewise.
7380 * soft-fp/extended.h: Likewise.
7381 * soft-fp/extendsfdf2.c: Likewise.
7382 * soft-fp/extendsftf2.c: Likewise.
7383 * soft-fp/extendxftf2.c: Likewise.
7384 * soft-fp/fixdfdi.c: Likewise.
7385 * soft-fp/fixdfsi.c: Likewise.
7386 * soft-fp/fixdfti.c: Likewise.
7387 * soft-fp/fixsfdi.c: Likewise.
7388 * soft-fp/fixsfsi.c: Likewise.
7389 * soft-fp/fixsfti.c: Likewise.
7390 * soft-fp/fixtfdi.c: Likewise.
7391 * soft-fp/fixtfsi.c: Likewise.
7392 * soft-fp/fixtfti.c: Likewise.
7393 * soft-fp/fixunsdfdi.c: Likewise.
7394 * soft-fp/fixunsdfsi.c: Likewise.
7395 * soft-fp/fixunsdfti.c: Likewise.
7396 * soft-fp/fixunssfdi.c: Likewise.
7397 * soft-fp/fixunssfsi.c: Likewise.
7398 * soft-fp/fixunssfti.c: Likewise.
7399 * soft-fp/fixunstfdi.c: Likewise.
7400 * soft-fp/fixunstfsi.c: Likewise.
7401 * soft-fp/fixunstfti.c: Likewise.
7402 * soft-fp/floatdidf.c: Likewise.
7403 * soft-fp/floatdisf.c: Likewise.
7404 * soft-fp/floatditf.c: Likewise.
7405 * soft-fp/floatsidf.c: Likewise.
7406 * soft-fp/floatsisf.c: Likewise.
7407 * soft-fp/floatsitf.c: Likewise.
7408 * soft-fp/floattidf.c: Likewise.
7409 * soft-fp/floattisf.c: Likewise.
7410 * soft-fp/floattitf.c: Likewise.
7411 * soft-fp/floatundidf.c: Likewise.
7412 * soft-fp/floatundisf.c: Likewise.
7413 * soft-fp/floatunditf.c: Likewise.
7414 * soft-fp/floatunsidf.c: Likewise.
7415 * soft-fp/floatunsisf.c: Likewise.
7416 * soft-fp/floatunsitf.c: Likewise.
7417 * soft-fp/floatuntidf.c: Likewise.
7418 * soft-fp/floatuntisf.c: Likewise.
7419 * soft-fp/floatuntitf.c: Likewise.
7420 * soft-fp/gedf2.c: Likewise.
7421 * soft-fp/gesf2.c: Likewise.
7422 * soft-fp/getf2.c: Likewise.
7423 * soft-fp/ledf2.c: Likewise.
7424 * soft-fp/lesf2.c: Likewise.
7425 * soft-fp/letf2.c: Likewise.
7426 * soft-fp/muldf3.c: Likewise.
7427 * soft-fp/mulsf3.c: Likewise.
7428 * soft-fp/multf3.c: Likewise.
7429 * soft-fp/negdf2.c: Likewise.
7430 * soft-fp/negsf2.c: Likewise.
7431 * soft-fp/negtf2.c: Likewise.
7432 * soft-fp/op-1.h: Likewise.
7433 * soft-fp/op-2.h: Likewise.
7434 * soft-fp/op-4.h: Likewise.
7435 * soft-fp/op-8.h: Likewise.
7436 * soft-fp/op-common.h: Likewise.
7437 * soft-fp/quad.h: Likewise.
7438 * soft-fp/single.h: Likewise.
7439 * soft-fp/soft-fp.h: Likewise.
7440 * soft-fp/subdf3.c: Likewise.
7441 * soft-fp/subsf3.c: Likewise.
7442 * soft-fp/subtf3.c: Likewise.
7443 * soft-fp/truncdfsf2.c: Likewise.
7444 * soft-fp/trunctfdf2.c: Likewise.
7445 * soft-fp/trunctfsf2.c: Likewise.
7446 * soft-fp/trunctfxf2.c: Likewise.
7447 * soft-fp/unorddf2.c: Likewise.
7448 * soft-fp/unordsf2.c: Likewise.
7449 * soft-fp/unordtf2.c: Likewise.
7450 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7451 macro.
7452 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7453 Likewise.
7454 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7455 Likewise.
7456 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7457 Likewise.
7458 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7459 Likewise.
7460 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7461 Likewise.
7462 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7463 Likewise.
7464 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7465 Likewise.
7466 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7467 Likewise.
7468 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7469 Likewise.
7470 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7471 Likewise.
7472 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7473 Likewise.
7474 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7475 Likewise.
7476 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7477 Likewise.
7478 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7479 Likewise.
7480 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7481 Likewise.
7482
ce245ec6
AK
74832014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7484
7485 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7486 cannot be represented.
7487 * config/s390/32/_fixsfdi.c: Likewise.
7488 * config/s390/32/_fixtfdi.c: Likewise.
7489 * config/s390/32/_fixunsdfdi.c: Likewise.
7490 * config/s390/32/_fixunssfdi.c: Likewise.
7491 * config/s390/32/_fixunstfdi.c: Likewise.
7492
1c51d688
RS
74932014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7494
7495 * configure.ac (libgcc_cv_mips_hard_float): New.
7496 * configure: Regenerate.
7497 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7498 t-softfp-sfdf for hard-float targets.
7499 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7500 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7501 (softfp_truncations, softfp_exclude_libgcc2): New.
7502 * config/t-hardfp: New file.
7503 * config/t-hardfp-sfdf: Likewise.
7504 * config/hardfp.c: Likewise.
7505
bbf391db
AK
75062014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7507
7508 * config.host: Include t-floattodi also for s390x.
7509 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7510 * config/s390/32/_fixsfdi.c: Likewise.
7511 * config/s390/32/_fixtfdi.c: Likewise.
7512 * config/s390/32/_fixunsdfdi.c: Likewise.
7513 * config/s390/32/_fixunssfdi.c: Likewise.
7514 * config/s390/32/_fixunstfdi.c: Likewise.
7515
91da0481
RO
75162014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7517
7518 PR target/59788
7519 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7520 (install-libgcc-unwind-map-forbuild): New target.
7521 (all): Depend on install-libgcc-unwind-map-forbuild.
7522 (install-libgcc-unwind-map): New target.
7523 (install): Depend on install-libgcc-unwind-map.
7524
02b67731
SL
75252014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7526
7527 * config/nios2/crti.S (_init): Initialize GOT pointer from
7528 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7529
1ea0a651
RS
75302014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7531
7532 * configure.ac: Check __mips64 when setting host_address.
7533 * configure: Regenerate.
7534 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7535 mips/t-mips64 and t-softfp.
7536 (mips*-*-linux*): Don't add mips/t-tpbit.
7537 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7538 (DPBIT, DPBIT_CFLAGS): Delete.
7539 * config/mips/sfp-machine.h: New file.
7540 * config/mips/t-mips64: Likewise.
7541 * config/mips/t-softfp-tf: Likewise.
7542 * config/mips/t-tpbit: Delete.
7543
f32b0061
MS
75442014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7545
7546 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7547 as long long.
7548
a5420aa4
WL
75492014-01-25 Walter Lee <walt@tilera.com>
7550
7551 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7552 config.h or system.h.
7553 (bool) Define.
7554
24534912
WL
75552014-01-25 Walter Lee <walt@tilera.com>
7556
7557 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7558 (post_atomic_barrier): Ditto.
7559 (__fetch_and_do): New macro.
7560 (__atomic_fetch_and_do): Use __fetch_and_do.
7561 (__sync_fetch_and_do): New macro.
7562 (__sync_fetch_and_add_4): New function.
7563 (__sync_fetch_and_sub_4): New function.
7564 (__sync_fetch_and_or_4): New function.
7565 (__sync_fetch_and_and_4): New function.
7566 (__sync_fetch_and_xor_4): New function.
7567 (__sync_fetch_and_nand_4): New function.
7568 (__sync_fetch_and_add_8): New function.
7569 (__sync_fetch_and_sub_8): New function.
7570 (__sync_fetch_and_or_8): New function.
7571 (__sync_fetch_and_and_8): New function.
7572 (__sync_fetch_and_xor_8): New function.
7573 (__sync_fetch_and_nand_8): New function.
7574 (__do_and_fetch): New macro.
7575 (__atomic_do_and_fetch): Use __do_and_fetch.
7576 (__sync_do_and_fetch): New macro.
7577 (__sync_add_and_fetch_4): New function.
7578 (__sync_sub_and_fetch_4): New function.
7579 (__sync_or_and_fetch_4): New function.
7580 (__sync_and_and_fetch_4): New function.
7581 (__sync_xor_and_fetch_4): New function.
7582 (__sync_nand_and_fetch_4): New function.
7583 (__sync_add_and_fetch_8): New function.
7584 (__sync_sub_and_fetch_8): New function.
7585 (__sync_or_and_fetch_8): New function.
7586 (__sync_and_and_fetch_8): New function.
7587 (__sync_xor_and_fetch_8): New function.
7588 (__sync_nand_and_fetch_8): New function.
7589 (__sync_exchange_methods): New macro.
7590 (__sync_val_compare_and_swap_4): New function.
7591 (__sync_bool_compare_and_swap_4): New function.
7592 (__sync_lock_test_and_test_4): New function.
7593 (__sync_val_compare_and_swap_8): New function.
7594 (__sync_bool_compare_and_swap_8): New function.
7595 (__sync_lock_test_and_test_8): New function.
7596 (__subword_cmpxchg_body): New macro.
7597 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7598 (__atomic_compare_exchange_2): Ditto.
7599 (__sync_subword_cmpxchg): New macro.
7600 (__sync_val_compare_and_swap_1): New function.
7601 (__sync_bool_compare_and_swap_1): New function.
7602 (__sync_val_compare_and_swap_2): New function.
7603 (__sync_bool_compare_and_swap_2): New function.
7604 (__atomic_subword): Rename to ...
7605 (__subword): ... New name.
7606 (__atomic_subword_fetch): Use __subword.
7607 (__sync_subword_fetch): New macro.
7608 (__sync_fetch_and_add_1): New function.
7609 (__sync_fetch_and_sub_1): New function.
7610 (__sync_fetch_and_or_1): New function.
7611 (__sync_fetch_and_and_1): New function.
7612 (__sync_fetch_and_xor_1): New function.
7613 (__sync_fetch_and_nand_1): New function.
7614 (__sync_fetch_and_add_2): New function.
7615 (__sync_fetch_and_sub_2): New function.
7616 (__sync_fetch_and_or_2): New function.
7617 (__sync_fetch_and_and_2): New function.
7618 (__sync_fetch_and_xor_2): New function.
7619 (__sync_fetch_and_nand_2): New function.
7620 (__sync_add_and_fetch_1): New function.
7621 (__sync_sub_and_fetch_1): New function.
7622 (__sync_or_and_fetch_1): New function.
7623 (__sync_and_and_fetch_1): New function.
7624 (__sync_xor_and_fetch_1): New function.
7625 (__sync_nand_and_fetch_1): New function.
7626 (__sync_add_and_fetch_2): New function.
7627 (__sync_sub_and_fetch_2): New function.
7628 (__sync_or_and_fetch_2): New function.
7629 (__sync_and_and_fetch_2): New function.
7630 (__sync_xor_and_fetch_2): New function.
7631 (__sync_nand_and_fetch_2): New function.
7632 (__atomic_subword_lock): Use __subword.
7633 (__sync_subword_lock): New macro.
7634 (__sync_lock_test_and_set_1): New function.
7635 (__sync_lock_test_and_set_2): New function.
7636
4d6d3bc5
WL
76372014-01-25 Walter Lee <walt@tilera.com>
7638
7639 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7640 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7641 (__atomic_subword): Ditto.
7642
cbd9890e
WL
76432014-01-25 Walter Lee <walt@tilera.com>
7644
7645 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7646 a prefix op argument.
7647 (__atomic_nand_fetch_4): Add prefix op.
7648 (__atomic_nand_fetch_8): Ditto.
7649
7d296953 76502014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
7651
7652 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7653
46dd1242
L
76542014-01-09 Rong Xu <xur@google.com>
7655
7656 * libgcov-driver.c (this_prg): make it local to save
7657 bss space.
7658 (gcov_exit_compute_summary): Ditto.
7659 (gcov_exit_merge_gcda): Ditto.
7660 (gcov_exit_merge_summary): Ditto.
7661 (gcov_exit_dump_gcov): Ditto.
7662
cc86234f 76632014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
7664
7665 * libgcov-driver.c: Use libgcov.h.
7666 (buffer_fn_data): Use xmalloc instead of malloc.
7667 (gcov_exit_merge_gcda): Ditto.
7668 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7669 * libgcov.h: New common header files for libgcov-*.h.
7670 * libgcov-interface.c: Use libgcov.h
7671 * libgcov-merge.c: Ditto.
7672 * libgcov-profiler.c: Ditto.
7673 * Makefile.in: Add dependence to libgcov.h
7674
a02e7bdd
JM
76752014-01-02 Joseph Myers <joseph@codesourcery.com>
7676
7677 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7678 case of small numerator and finite nonzero result.
7679
ac1dca3c
RS
76802014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7681
7682 Update copyright years
7683
f9030485
RS
76842014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7685
7686 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7687 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7688 config/arc/dp-hack.h, config/arc/fp-hack.h,
7689 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7690 config/arc/ieee-754/arc600-dsp/divdf3.S,
7691 config/arc/ieee-754/arc600-dsp/divsf3.S,
7692 config/arc/ieee-754/arc600-dsp/muldf3.S,
7693 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7694 config/arc/ieee-754/arc600-mul64/divdf3.S,
7695 config/arc/ieee-754/arc600-mul64/divsf3.S,
7696 config/arc/ieee-754/arc600-mul64/muldf3.S,
7697 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7698 config/arc/ieee-754/arc600/divsf3.S,
7699 config/arc/ieee-754/arc600/mulsf3.S,
7700 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7701 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7702 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7703 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7704 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7705 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7706 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7707 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7708 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7709 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7710 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7711 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7712 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7713 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7714 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7715 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7716 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7717 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7718 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7719 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7720 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7721 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7722 vtv_start_preinit.c: Use the standard form for the copyright notice.
7723
e430824f
CLT
77242013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7725 Chung-Lin Tang <cltang@codesourcery.com>
3d3b561f 7726 Based on patches from Altera Corporation
e430824f
CLT
7727
7728 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7729 * config/nios2/lib2-nios2.h: New file.
7730 * config/nios2/lib2-divmod-hi.c: New file.
7731 * config/nios2/linux-unwind.h: New file.
7732 * config/nios2/lib2-divmod.c: New file.
7733 * config/nios2/linux-atomic.c: New file.
7734 * config/nios2/t-nios2: New file.
7735 * config/nios2/crti.asm: New file.
7736 * config/nios2/t-linux: New file.
7737 * config/nios2/lib2-divtable.c: New file.
7738 * config/nios2/lib2-mul.c: New file.
7739 * config/nios2/tramp.c: New file.
7740 * config/nios2/crtn.asm: New file.
7741
1879e97f
UB
77422013-12-26 Uros Bizjak <ubizjak@gmail.com>
7743
7744 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7745 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7746 from cpuid.h to check vendor signatures.
7747
f4a4bdbb
GG
77482013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7749
c2e7e597 7750 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
7751 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7752 (get_amd_cpu): Likewise.
7753
8d2ae544
L
77542013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7755
7756 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7757 Haswell.
7758
74924838
ASJ
77592013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7760 H.J. Lu <hongjiu.lu@intel.com>
7761
0bb52f25
L
7762 PR target/59422
7763 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
7764 and AMD_JAGUAR.
7765 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7766 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7767 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7768 FEATURE_XOP and FEATURE_FMA.
7769 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7770 AMDFAM15H_BDVER3.
7771 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 7772 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
7773 FEATURE_FMA4 and FEATURE_XOP.
7774
d3c11974
L
77752013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7776
7777 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7778 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7779 (get_intel_cpu): Updated.
7780
064c4ff2
ZC
77812013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7782
7783 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7784
8b02e720
UB
77852013-12-09 Uros Bizjak <ubizjak@gmail.com>
7786
7787 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 7788 instructions when __SSE_MATH__ is defined.
8b02e720 7789
3fa2ccb4
RC
77902013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7791
7792 * config.host (microblaze-*-rtems*): New.
7793
ecd78fc9
KV
77942013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7795
7796 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7797 architectures that do not have hardware divide instruction.
7798 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7799
b21fbbd2
RS
78002013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7801
7802 * longlong.h: Delete (moved to include/).
7803
b03fb8c9
AZ
78042013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7805
7806 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7807 of normal number and qNaN to not raise an inexact exception.
7808
3c716922
UB
78092013-11-28 Uros Bizjak <ubizjak@gmail.com>
7810
7811 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7812
78132013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
7814
7815 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7816 for correct opcodes on BE.
7817
a3458d22
UB
78182013-11-27 Uros Bizjak <ubizjak@gmail.com>
7819
7820 * soft-fp/op-4.h: Update from glibc.
7821
30b8f78b
KV
78222013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7823
7824 * libgcc2.c (__udivmoddi4): Define new implementation when
7825 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7826 divide instructions.
7827
82552a29
OE
78282013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7829
7830 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7831
80e87457
RO
78322013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7833
7834 * config/t-softfp (soft-fp-objects-base): New variable.
7835 (soft-fp-objects): Use it.
7836
44178879
DE
78372013-11-23 David Edelson <dje.gcc@gmail.com>
7838 Andrew Dixie <andrewd@gentrack.com>
7839
7840 PR target/33704
7841 * config/rs6000/aixinitfini.c: New file.
7842 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7843 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7844 symbols.
7845
e5287671
YR
78462013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7847
a3458d22 7848 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 7849
867c8b03
JH
78502013-11-18 Jan Hubicka <jh@suse.cz>
7851
7f369373
JH
7852 * libgcov-driver.c (run_accounted): Make global level static.
7853 (gcov_exit_merge_summary): Silence warning; do not clear
7854 run_accounted here.
7855 (gcov_exit): Clear it here.
7856
1d0b3334
JH
7857 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7858 run_accounted.
7859
867c8b03
JH
7860 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7861 (all_prg, crc32): Remove static vars.
7862 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7863 all_prg.
7864 (gcov_exit_merge_gcda): Add crc32 parameter.
7865 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7866 do not account run if it was already accounted.
7867 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7868 (gcov_exit): Initialize all_prg; update.
7869
66204992
AS
78702013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7871
7872 * configure: Regenerate.
7873
b54214fe
UW
78742013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7875 Alan Modra <amodra@gmail.com>
7876
7877 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7878 (frob_update_context): Use it.
7879
78802013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7881 Alan Modra <amodra@gmail.com>
7882
7883 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7884 (trampoline_initial): Provide ELFv2 variant.
7885 (__trampoline_setup): Likewise.
7886
7887 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7888 check for AIX indirect function call sequence if _CALL_ELF == 2.
7889
78902013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7891 Alan Modra <amodra@gmail.com>
7892
7893 * config/rs6000/linux-unwind.h (get_regs): Do not support
7894 old kernel versions if _CALL_ELF == 2.
7895 (frob_update_context): Do not support PLT stub variants only
7896 generated by old linkers if _CALL_ELF == 2.
7897
13e0981a
UW
78982013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7899 Alan Modra <amodra@gmail.com>
7900
7901 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7902 location of CR save area for 64-bit little-endian systems.
7903
1a80085d
EB
79042013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7905
7906 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7907 in tmake_file.
7908 * config/arm/t-vxworks: Delete.
7909
cabeea52
KT
79102013-11-10 Kai Tietz <ktietz@redhat.com>
7911
7912 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7913 Increment load-count on use of LIBGCC_SONAME DLL.
7914 (hmod_libgcc): New static variable to hold handle of
7915 LIBGCC_SONAME DLL.
7916 (__gcc_deregister_frame): Decrement load-count of
7917 LIBGCC_SONAME DLL.
7918
ac088ba1
BRF
79192013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7920
7921 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7922 availability.
7923 * configure: Regenerate
7924
d59a8fcc
UB
79252013-11-07 Uros Bizjak <ubizjak@gmail.com>
7926
7927 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7928 FP_EX_DENORM. Store result to volatile location after SSE division
7929 to close interrupt window. Remove unneeded fwait after x87
7930 division since interrupt window will be closed by emitted fstp.
9de84e84 7931 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7932
9954c743
JM
79332013-11-06 Joseph Myers <joseph@codesourcery.com>
7934
7935 * soft-fp/README: Update.
7936 * soft-fp/adddf3.c: Update from glibc.
7937 * soft-fp/addsf3.c: Likewise.
7938 * soft-fp/addtf3.c: Likewise.
7939 * soft-fp/divdf3.c: Likewise.
7940 * soft-fp/divsf3.c: Likewise.
7941 * soft-fp/divtf3.c: Likewise.
7942 * soft-fp/double.h: Likewise.
7943 * soft-fp/eqdf2.c: Likewise.
7944 * soft-fp/eqsf2.c: Likewise.
7945 * soft-fp/eqtf2.c: Likewise.
7946 * soft-fp/extenddftf2.c: Likewise.
7947 * soft-fp/extended.h: Likewise.
7948 * soft-fp/extendsfdf2.c: Likewise.
7949 * soft-fp/extendsftf2.c: Likewise.
7950 * soft-fp/extendxftf2.c: Likewise.
7951 * soft-fp/fixdfdi.c: Likewise.
7952 * soft-fp/fixdfsi.c: Likewise.
7953 * soft-fp/fixdfti.c: Likewise.
7954 * soft-fp/fixsfdi.c: Likewise.
7955 * soft-fp/fixsfsi.c: Likewise.
7956 * soft-fp/fixsfti.c: Likewise.
7957 * soft-fp/fixtfdi.c: Likewise.
7958 * soft-fp/fixtfsi.c: Likewise.
7959 * soft-fp/fixtfti.c: Likewise.
7960 * soft-fp/fixunsdfdi.c: Likewise.
7961 * soft-fp/fixunsdfsi.c: Likewise.
7962 * soft-fp/fixunsdfti.c: Likewise.
7963 * soft-fp/fixunssfdi.c: Likewise.
7964 * soft-fp/fixunssfsi.c: Likewise.
7965 * soft-fp/fixunssfti.c: Likewise.
7966 * soft-fp/fixunstfdi.c: Likewise.
7967 * soft-fp/fixunstfsi.c: Likewise.
7968 * soft-fp/fixunstfti.c: Likewise.
7969 * soft-fp/floatdidf.c: Likewise.
7970 * soft-fp/floatdisf.c: Likewise.
7971 * soft-fp/floatditf.c: Likewise.
7972 * soft-fp/floatsidf.c: Likewise.
7973 * soft-fp/floatsisf.c: Likewise.
7974 * soft-fp/floatsitf.c: Likewise.
7975 * soft-fp/floattidf.c: Likewise.
7976 * soft-fp/floattisf.c: Likewise.
7977 * soft-fp/floattitf.c: Likewise.
7978 * soft-fp/floatundidf.c: Likewise.
7979 * soft-fp/floatundisf.c: Likewise.
7980 * soft-fp/floatunditf.c: Likewise.
7981 * soft-fp/floatunsidf.c: Likewise.
7982 * soft-fp/floatunsisf.c: Likewise.
7983 * soft-fp/floatunsitf.c: Likewise.
7984 * soft-fp/floatuntidf.c: Likewise.
7985 * soft-fp/floatuntisf.c: Likewise.
7986 * soft-fp/floatuntitf.c: Likewise.
7987 * soft-fp/gedf2.c: Likewise.
7988 * soft-fp/gesf2.c: Likewise.
7989 * soft-fp/getf2.c: Likewise.
7990 * soft-fp/ledf2.c: Likewise.
7991 * soft-fp/lesf2.c: Likewise.
7992 * soft-fp/letf2.c: Likewise.
7993 * soft-fp/muldf3.c: Likewise.
7994 * soft-fp/mulsf3.c: Likewise.
7995 * soft-fp/multf3.c: Likewise.
7996 * soft-fp/negdf2.c: Likewise.
7997 * soft-fp/negsf2.c: Likewise.
7998 * soft-fp/negtf2.c: Likewise.
7999 * soft-fp/op-1.h: Likewise.
8000 * soft-fp/op-2.h: Likewise.
8001 * soft-fp/op-4.h: Likewise.
8002 * soft-fp/op-8.h: Likewise.
8003 * soft-fp/op-common.h: Likewise.
8004 * soft-fp/quad.h: Likewise.
8005 * soft-fp/single.h: Likewise.
8006 * soft-fp/soft-fp.h: Likewise.
8007 * soft-fp/subdf3.c: Likewise.
8008 * soft-fp/subsf3.c: Likewise.
8009 * soft-fp/subtf3.c: Likewise.
8010 * soft-fp/truncdfsf2.c: Likewise.
8011 * soft-fp/trunctfdf2.c: Likewise.
8012 * soft-fp/trunctfsf2.c: Likewise.
8013 * soft-fp/trunctfxf2.c: Likewise.
8014 * soft-fp/unorddf2.c: Likewise.
8015 * soft-fp/unordsf2.c: Likewise.
8016 * soft-fp/unordtf2.c: Likewise.
8017
02ac9503
UB
80182013-11-05 Uros Bizjak <ubizjak@gmail.com>
8019
8020 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8021 (_FP_MUL_MEAT_D): Ditto.
8022 (_FP_DIV_MEAT_S): Ditto.
8023 (_FP_DIV_MEAT_D): Ditto.
8024 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8025 t-softfp-sfdf and t-softfp to tmake_file.
8026
61221141
UB
80272013-11-03 Uros Bizjak <ubizjak@gmail.com>
8028
8029 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8030 * config/i386/crtprec.c: Ditto.
8031
9304f876
CJW
80322013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8033 Shiva Chen <shiva0217@gmail.com>
8034
8035 * config.host (nds32*-elf*): Add nds32 target.
8036 * config/nds32 : New directory and files.
8037
0e499e75
HPN
80382013-10-16 Hans-Peter Nilsson <hp@axis.com>
8039
8040 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8041 * config.host (cpu_type) <Setting default>: Add entry for
8042 crisv32-*-*.
8043 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8044 <crisv32-*-linux*>: Adjust.
8045 * longlong.h: Wrap the whole CRIS section in a single
8046 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8047 and sub_ddmmss.
8048 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8049 defined.
8050 [__CRIS__] (__umulsidi3): Define.
8051 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8052 * config/cris/sfp-machine.h: New file.
8053 * config/cris/umulsidi3.S: New file.
8054 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8055 * config/cris/arit.c (SIGNMULT): New macro.
8056 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8057 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8058 saving 3 out of originally 33 cycles from the fastest
8059 path, 3 out of 54 from the medium path and one from the longest
8060 path. Improve comments.
8061
16022041
RS
80622013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8063
8064 * sync.c: Remove static aliases and define each function directly
8065 under its real name.
8066
69778659
JDA
80672013-10-02 John David Anglin <danglin@gcc.gnu.org>
8068
8069 * config.host (hppa*64*-*-linux*): Define extra_parts.
8070 (hppa*-*-linux*): Likewise.
8071
2deaf8b0
JR
80722013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8073
8074 * config/arc/crtgend.S: Add 2013 to Copyright years.
8075 * config/arc/gmon/atomic.h: Likewise.
8076 * config/arc/gmon/auxreg.h: Likewise.
8077 * config/arc/gmon/sys/gmon_out.h: Likewise.
8078 * config/arc/gmon/sys/gmon.h: Likewise.
8079 * config/arc/gmon/prof-freq.c: Likewise.
8080 * config/arc/gmon/mcount.c: Likewise.
8081 * config/arc/gmon/prof-freq-stub.S: Likewise.
8082 * config/arc/gmon/gmon.c: Likewise.
8083 * config/arc/gmon/machine-gmon.h: Likewise.
8084 * config/arc/gmon/profil.S: Likewise.
8085 * config/arc/gmon/dcache_linesz.S: Likewise.
8086 * config/arc/crtg.S: Likewise.
8087 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8088 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8089 * config/arc/ieee-754/adddf3.S: Likewise.
8090 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8091 * config/arc/ieee-754/fixsfsi.S: Likewise.
8092 * config/arc/ieee-754/gtsf2.S: Likewise.
8093 * config/arc/ieee-754/floatsisf.S: Likewise.
8094 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8095 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8096 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8097 * config/arc/ieee-754/fixdfsi.S: Likewise.
8098 * config/arc/ieee-754/addsf3.S: Likewise.
8099 * config/arc/ieee-754/gesf2.S: Likewise.
8100 * config/arc/ieee-754/floatsidf.S: Likewise.
8101 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8102 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8103 * config/arc/ieee-754/gtdf2.S: Likewise.
8104 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8105 * config/arc/ieee-754/uneqdf2.S: Likewise.
8106 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8107 * config/arc/ieee-754/uneqsf2.S: Likewise.
8108 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8109 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8110 * config/arc/ieee-754/eqdf2.S: Likewise.
8111 * config/arc/ieee-754/ordsf2.S: Likewise.
8112 * config/arc/ieee-754/divsf3.S: Likewise.
8113 * config/arc/ieee-754/divdf3.S: Likewise.
8114 * config/arc/ieee-754/floatunsidf.S: Likewise.
8115 * config/arc/ieee-754/orddf2.S: Likewise.
8116 * config/arc/ieee-754/eqsf2.S: Likewise.
8117 * config/arc/ieee-754/gedf2.S: Likewise.
8118 * config/arc/crtn.S: Likewise.
8119 * config/arc/crti.S: Likewise.
8120 * config/arc/t-arc700-uClibc: Likewise.
8121 * config/arc/asm.h: Likewise.
8122 * config/arc/libgcc-excl.ver: Likewise.
8123 * config/arc/t-arc-newlib: Likewise.
8124 * config/arc/divtab-arc700.c: Likewise.
8125 * config/arc/initfini.c: Likewise.
8126 * config/arc/fp-hack.h: Likewise.
8127
c8e318b0
JR
81282013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8129 Diego Novillo <dnovillo@google.com>
8130
8131 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
8132 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8133 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8134 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 8135
d38a64b4
JR
81362013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8137 Brendan Kehoe <brendan@zen.org>
8138 Simon Cook <simon.cook@embecosm.com>
8139
8140 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8141 * config/arc: New directory.
8142 * longlong.h [__arc__] (umul_ppmm): Remove.
8143 [__arc__] (__umulsidi3): Define.
8144 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8145 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8146
dff717d2
JC
81472013-09-17 Jacek Caban <jacek@codeweavers.com>
8148
8149 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8150 CreateSemaphoreA.
8151 * config/i386/gthr-win32.h: Likewise.
8152
5c0029de
DD
81532013-09-16 DJ Delorie <dj@redhat.com>
8154
844ad6c6 8155 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
8156 * config/rl78/lib2mul.c: Enable for RL78/G10.
8157 * config/rl78/lib2div.c: Likewise.
8158 * config/rl78/lshrsi3.S: Use vregs.h.
8159 * config/rl78/cmpsi2.S: Likewise.
8160 * config/rl78/trampoline.S: Likewise.
8161 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8162
ceb2fc49
DD
81632013-09-14 DJ Delorie <dj@redhat.com>
8164 Nick Clifton <nickc@redhat.com>
8165
8166 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8167 * config/rl78/vregs.h: New.
8168 * config/rl78/signbit.S: New file. Implements signbit function.
8169 * config/rl78/divmodsi.S: New.
8170 * config/rl78/divmodhi.S: New.
8171 * config/rl78/divmodqi.S: New.
8172 * config/rl78/t-rl78: Build them here...
8173 * config/rl78/lib2div.c: ...but not here.
8174
f6a83b4a
DD
81752013-09-12 DJ Delorie <dj@redhat.com>
8176
8177 * config.host (msp*-*-elf): New.
8178 * config/msp430/: New port.
8179
9107b096
IS
81802013-08-18 Iain Sandoe <iain@codesourcery.com>
8181
8182 PR gcov-profile/58127
8183 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8184 __thread var for emulated TLS.
8185 (__gcov_indirect_call_counters): Likewise.
8186
0f9bde1f 81872013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 8188 Catherine Moore <clm@codesourcery.com>
7d296953 8189 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
8190
8191 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8192 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8193 (CALL_STUB_NO_RET): Likewise.
8194 (CALL_STUB_RET): Likewise.
8195 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8196 __mips16_ret call/return stub symbols.
8197 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8198 to tmake_file.
8199
2dc14aac
MR
82002013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8201
8202 * config.host <mips*-*-linux*>: Remove a stray comment.
8203
748d71f3
JH
82042013-08-10 Jan Hubicka <jh@suse.cz>
8205
8206 Work around binutils PR14342
8207 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8208 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8209 (L_gcov_indirect_call_profiler_v2): New.
8210
2fa3d31b
JH
82112013-08-06 Jan Hubicka <jh@suse.cz>
8212
8213 * libgcov.c (__gcov_indirect_call_callee,
8214 __gcov_indirect_call_counters): New global vars.
8215 (__gcov_indirect_call_profiler): replace by ...
8216 (__gcov_indirect_call_profiler_v2) ... this one.
8217
2077db1b
CT
82182013-08-06 Caroline Tice <cmtice@google.com>
8219
d0595b65 8220 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 8221 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
8222 * configure.ac: Add code to check/set enable_vtable_verify.
8223 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 8224 true.
d0595b65
CT
8225 * vtv_start_preinit.c: New file.
8226 * vtv_end_preinit.c: New file.
8227 * vtv_start.c: New file.
8228 * vtv_end.c: New file.
8229 * configure: Regenerated.
2077db1b 8230
46549c20
MK
82312013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8232
8233 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8234 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8235 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8236 GPL-3.0-with-GCC-exception.
8237
72be589b
MR
82382013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8239
8240 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8241 ISA and up.
8242
902a3faf
AK
82432013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8244
8245 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8246 mapping for FPRs when creating the fallback framestate.
8247
02371798
GJL
82482013-07-19 Georg-Johann Lay <avr@gjlay.de>
8249
8250 PR target/57516
8251 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8252 (__round_s2_const, __round_u2_const)
8253 (__round_s4_const, __round_u4_const, __round_x8):
8254 Saturate result if addition result cannot be represented.
8255
ab0e8379
MK
82562013-07-15 Matthias Klose <doko@ubuntu.com>
8257
8258 * libgcc2.c: Don't include <limits.h>.
8259
7da38058
JJ
82602013-07-09 Janis Johnson <janisjo@codesourcery.com>
8261
8262 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8263
1f6eac90
JJ
82642013-07-06 Jakub Jelinek <jakub@redhat.com>
8265
8266 PR target/29776
8267 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8268
4ea3d774
JJ
82692013-06-28 Jakub Jelinek <jakub@redhat.com>
8270
8271 PR middle-end/36041
8272 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8273 Define.
8274 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8275 instead of table lookups.
8276 (__popcountDI2): Likewise.
8277
9d2cdf25
CJW
82782013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8279
8280 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8281 correctly.
8282
fa1e55b0
JM
82832013-06-21 Joseph Myers <joseph@codesourcery.com>
8284
8285 PR other/53317
8286 * soft-fp/adddf3.c: Update from glibc.
8287 * soft-fp/addsf3.c: Likewise.
8288 * soft-fp/addtf3.c: Likewise.
8289 * soft-fp/divdf3.c: Likewise.
8290 * soft-fp/divsf3.c: Likewise.
8291 * soft-fp/divtf3.c: Likewise.
8292 * soft-fp/double.h: Likewise.
8293 * soft-fp/eqdf2.c: Likewise.
8294 * soft-fp/eqsf2.c: Likewise.
8295 * soft-fp/eqtf2.c: Likewise.
8296 * soft-fp/extenddftf2.c: Likewise.
8297 * soft-fp/extended.h: Likewise.
8298 * soft-fp/extendsfdf2.c: Likewise.
8299 * soft-fp/extendsftf2.c: Likewise.
8300 * soft-fp/fixdfdi.c: Likewise.
8301 * soft-fp/fixdfsi.c: Likewise.
8302 * soft-fp/fixsfdi.c: Likewise.
8303 * soft-fp/fixsfsi.c: Likewise.
8304 * soft-fp/fixtfdi.c: Likewise.
8305 * soft-fp/fixtfsi.c: Likewise.
8306 * soft-fp/fixunsdfdi.c: Likewise.
8307 * soft-fp/fixunsdfsi.c: Likewise.
8308 * soft-fp/fixunssfdi.c: Likewise.
8309 * soft-fp/fixunssfsi.c: Likewise.
8310 * soft-fp/fixunstfdi.c: Likewise.
8311 * soft-fp/fixunstfsi.c: Likewise.
8312 * soft-fp/floatdidf.c: Likewise.
8313 * soft-fp/floatdisf.c: Likewise.
8314 * soft-fp/floatditf.c: Likewise.
8315 * soft-fp/floatsidf.c: Likewise.
8316 * soft-fp/floatsisf.c: Likewise.
8317 * soft-fp/floatsitf.c: Likewise.
8318 * soft-fp/floatundidf.c: Likewise.
8319 * soft-fp/floatundisf.c: Likewise.
8320 * soft-fp/floatunditf.c: Likewise.
8321 * soft-fp/floatunsidf.c: Likewise.
8322 * soft-fp/floatunsisf.c: Likewise.
8323 * soft-fp/floatunsitf.c: Likewise.
8324 * soft-fp/gedf2.c: Likewise.
8325 * soft-fp/gesf2.c: Likewise.
8326 * soft-fp/getf2.c: Likewise.
8327 * soft-fp/ledf2.c: Likewise.
8328 * soft-fp/lesf2.c: Likewise.
8329 * soft-fp/letf2.c: Likewise.
8330 * soft-fp/muldf3.c: Likewise.
8331 * soft-fp/mulsf3.c: Likewise.
8332 * soft-fp/multf3.c: Likewise.
8333 * soft-fp/negdf2.c: Likewise.
8334 * soft-fp/negsf2.c: Likewise.
8335 * soft-fp/negtf2.c: Likewise.
8336 * soft-fp/op-1.h: Likewise.
8337 * soft-fp/op-2.h: Likewise.
8338 * soft-fp/op-4.h: Likewise.
8339 * soft-fp/op-8.h: Likewise.
8340 * soft-fp/op-common.h: Likewise.
8341 * soft-fp/quad.h: Likewise.
8342 * soft-fp/single.h: Likewise.
8343 * soft-fp/soft-fp.h: Likewise.
8344 * soft-fp/subdf3.c: Likewise.
8345 * soft-fp/subsf3.c: Likewise.
8346 * soft-fp/subtf3.c: Likewise.
8347 * soft-fp/truncdfsf2.c: Likewise.
8348 * soft-fp/trunctfdf2.c: Likewise.
8349 * soft-fp/trunctfsf2.c: Likewise.
8350 * soft-fp/unorddf2.c: Likewise.
8351 * soft-fp/unordsf2.c: Likewise.
8352 * soft-fp/unordtf2.c: Likewise.
8353 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8354 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8355 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8356 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8357 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8358 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8359 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8360 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8361 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8362 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8363 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8364 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8365
0de86a92
JU
83662013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8367
8368 * config/mips/lib2funcs.c: New file.
8369 * config/mips/t-mips (LIB2ADD_ST): Add it.
8370
0d008882
OE
83712013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8372
8373 PR target/6526
8374 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8375 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8376
776434d1
WL
83772013-06-08 Walter Lee <walt@tilera.com>
8378
8379 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8380 Replace int64_t with long long. Add __extension__ where
8381 appropriate.
8382 * config/tilepro/atomic.c: Include config.h.
8383
6ab3ebb4
DR
83842013-06-06 Douglas B Rupp <rupp@adacore.com>
8385
8386 * config.host (arm-wrs-vxworks): Configure with other soft float.
8387
107eea2c
JU
83882013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8389
8390 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8391 (mips64r5900el-*-elf*): New configurations.
8392
5cc19c62
AM
83932013-06-04 Alan Modra <amodra@gmail.com>
8394
8395 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8396
0f1d3965
YR
83972013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8398
8399 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8400
0ba045df
EB
84012013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8402
8403 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8404 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8405 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8406
49dcafd4
EB
84072013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8408
8409 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8410 (powerpc-wrs-vxworks): Likewise.
8411
4fcb5d87
EB
84122013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8413
8414 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8415 signal frames as well.
8416 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8417 STACK_BIAS to the CFA offset.
8418
0ec33224
RH
84192013-05-17 Richard Henderson <rth@redhat.com>
8420
8421 PR target/49146
8422 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8423 (execute_cfa_program): Use it when storing to fs->regs.
8424
492a8029
KT
84252013-05-08 Kai Tietz <ktietz@redhat.com>
8426
8427 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8428 (__deregister_frame_info): Likewise.
8429
701e2f0a
TS
84302013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8431
e5123d08
TS
8432 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8433 NaN's payload.
8434
701e2f0a
TS
8435 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8436
b9a7eb5d
AM
84372013-04-25 Alan Modra <amodra@gmail.com>
8438
8439 * config.host: Match little-endian powerpc-linux.
8440
dfe192f5
YZ
84412013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8442
8443 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8444 as 'unsigned long long' instead of 'unsigned long'.
8445 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8446 'signed long'.
8447
b6b9af2f
JB
84482013-04-10 Julian Brown <julian@codesourcery.com>
8449
8450 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8451 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8452 unsigned char/unsigned short.
8453 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8454
ecabdd00
JDA
84552013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8456
8457 PR other/55274
8458 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8459
34652576
MI
84602013-04-04 Meador Inge <meadori@codesourcery.com>
8461
8462 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8463 computing the location of the link register.
8464 (aeabi_uldivmod): Ditto.
8465
e9fd8c19
KT
84662013-03-27 Kai Tietz <ktietz@redhat.com>
8467
8468 * config.host: Add support for cygwin x64 target.
8469 * configure: Regenerated.
8470
a6406324
WL
84712013-03-26 Walter Lee <walt@tilera.com>
8472
8473 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8474 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8475
55446c7e
KT
84762013-03-25 Kai Tietz <ktietz@redhat.com>
8477
8478 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8479
d2ae19d9
RM
84802013-03-20 Robert Mason <rbmj@verizon.net>
8481
8482 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8483 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8484 (__gthread_leave_tsd_dtor_context): Add prototypes.
8485 (tls_delete_hook): Update.
8486
22c4c869
CM
84872013-03-20 Catherine Moore <clm@codesourcery.com>
8488 Joseph Myers <joseph@codesourcery.com>
8489 Chao-ying Fu <fu@mips.com>
8490
8491 * config/mips/mips16.S: Don't build for microMIPS.
8492 * config/mips/linux-unwind.h: Handle microMIPS frame.
8493 * config/mips/crtn.S (fini, init): New labels.
8494
fbd28bc3
JJ
84952013-03-14 Jakub Jelinek <jakub@redhat.com>
8496
8497 PR tree-optimization/53265
8498 * unwind-dw2.c (execute_cfa_program): Avoid
8499 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8500 on targets with DWARF_FRAME_REGISTERS < 32.
8501
decc676e
OE
85022013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8503
8504 PR target/49880
8505 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8506 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8507
84ea618a
ST
85082013-03-07 Sriraman Tallam <tmsriram@google.com>
8509
8510 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8511 sandybridge processors.
8512
8f6d1c86
OE
85132013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8514
8515 PR target/56529
8516 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8517 inclusion list.
8518
ecdbd01a 85192013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
8520
8521 * config/microblaze/crti.S: Setup stack protection at entry
8522
0b4ce21b
GJL
85232013-03-04 Georg-Johann Lay <avr@gjlay.de>
8524
8525 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8526 (__rotldi3): Shift bytewise if applicable.
8527
b7c3f1ca
JG
85282013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8529
8530 * config/aarch64/sync-cache.c
8531 (__aarch64_sync_cache_range): Silence warnings.
8532
6d65e8f1
CM
85332013-02-25 Catherine Moore <clm@codesourcery.com>
8534
8535 Revert:
8536 2013-02-24 Catherine Moore <clm@codesourcery.com>
8537 Joseph Myers <joseph@codesourcery.com>
8538 Chao-ying Fu <fu@mips.com>
8539
8540 * config/mips/mips16.S: Don't build for microMIPS.
8541 * config/mips/linux-unwind.h: Handle microMIPS frame.
8542 * config/mips/crtn.S (fini, init): New labels.
8543
6941b508
CM
85442013-02-24 Catherine Moore <clm@codesourcery.com>
8545 Joseph Myers <joseph@codesourcery.com>
8546 Chao-ying Fu <fu@mips.com>
8547
8548 * config/mips/mips16.S: Don't build for microMIPS.
8549 * config/mips/linux-unwind.h: Handle microMIPS frame.
8550 * config/mips/crtn.S (fini, init): New labels.
8551
7c422dbb 85522012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 8553 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
8554 as dividend.
8555
110207ad
AM
85562013-02-16 Alan Modra <amodra@gmail.com>
8557
8558 PR target/55431
8559 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8560 (ppc_fallback_frame_state): Always set up save locations for fp
8561 and altivec. Don't bother with non-callee-saved regs, r0-r13
8562 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8563
e68a4ef6
GJL
85642013-02-12 Georg-Johann Lay <avr@gjlay.de>
8565
8566 PR target/54222
8567 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8568 _ssmulHA, _ssmulSA.
8569 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8570 _ssmulha3, _usmulusa3, _ssmulsa3.
8571 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8572 (__muldi3): XCALL __muldi3_6 instead of rcall.
8573 (__umulsidi3, __mulsidi3): New functions.
8574 (do_prologue_saves, do_epilogue_restores): New .macros.
8575 (__divdi3_moddi3): Use them.
8576 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8577 (__usmulusa3, __ssmulsa3): New functions.
8578
6c59ffd1
IS
85792013-02-11 Iain Sandoe <iain@codesourcery.com>
8580 Jack Howarth <howarth@bromo.med.uc.edu>
8581 Patrick Marlier <patrick.marlier@gmail.com>
8582
8583 PR libitm/55693
8584 * config/darwin-crt-tm.c: Remove dummy functions hack.
8585
85d768f3
GJL
85862013-02-08 Georg-Johann Lay <avr@gjlay.de>
8587
8588 PR target/54222
8589 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8590 * config/avr/lib2-object.mk: New iterator to build objects from it.
8591 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8592 lib2funcs.c.
8593 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8594 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8595 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8596 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8597 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8598 * config/avr/lib1funcs-fixed.S: Implement them.
8599
5d5bf775
RS
86002013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8601
8602 Update copyright years.
8603
99113dff
DE
86042013-02-01 David Edelsohn <dje.gcc@gmail.com>
8605
8606 PR target/54601
8607 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8608 Add crtcxa to extra_parts.
8609 * config/rs6000/exit.h: New file.
8610 * config/rs6000/cxa_atexit.c: New file.
8611 * config/rs6000/cxa_finalize.c: New file.
8612 * config/rs6000/crtcxa.c: New file.
8613 * config/rs6000/t-aix-cxa: New file.
8614 * config/rs6000/libgcc-aix-cxa.ver: New file.
8615
dbdbd982
NC
86162013-01-31 Nick Clifton <nickc@redhat.com>
8617
8618 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8619 variant.
8620
5893f158
GJL
86212013-01-29 Georg-Johann Lay <avr@gjlay.de>
8622
8623 PR target/54222
8624 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8625 _mulQQ, _mulHQ, _mulHA, _mulSA,
8626 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8627 _divQQ, _divHQ, _divHA, _divSA,
8628 _divUQQ, _divUHQ, _divUHA, _divUSA.
8629
ecdbd01a 86302013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 8631
dbdbd982 8632 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
8633 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8634 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8635 to exclude functions from being built with libgcc.c and use
8636 the microblaze assembly.
8637
ecdbd01a 86382013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
8639
8640 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8641 extra_parts.
8642
922c57d1
YZ
86432013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8644
8645 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8646 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8647 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8648 alignment operation.
8649
e0f8b6a0
SN
86502013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8651
8652 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8653 loop start address for cache clearing.
8654
00892272
GJL
86552013-01-14 Georg-Johann Lay <avr@gjlay.de>
8656
8657 * config/avr/lib1funcs.S: Remove trailing blanks.
8658 * config/avr/lib1funcs-fixed.S: Ditto.
8659
e59ec5fd
GJL
86602013-01-14 Georg-Johann Lay <avr@gjlay.de>
8661
8662 * config/avr/avr-lib.h: Add GPL copyright notice.
8663
3ffc1958
GJL
86642013-01-14 Georg-Johann Lay <avr@gjlay.de>
8665
8666 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8667 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8668 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8669 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8670
25c210f9
MK
86712013-01-07 Mark Kettenis <kettenis@openbsd.org>
8672
8673 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8674 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 8675
db59befb
NC
86762013-01-04 Nick Clifton <nickc@redhat.com>
8677
8678 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8679 the CALLT instruction is supported.
8680
5aa12dbf
JW
86812012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8682
8683 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8684 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8685
65f14117
JT
86862012-12-13 John Tytgat <John@bass-software.com>
8687
8688 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8689 is 25.
8690
ee3ae4f7
JJ
86912012-12-12 Jakub Jelinek <jakub@redhat.com>
8692
8693 PR libgcc/55451
8694 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8695 undefined signed overflows.
8696
2fcfba3d
UB
86972012-12-09 Uros Bizjak <ubizjak@gmail.com>
8698
8699 PR target/55344
8700 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8701
4f2b3dc2
UB
87022012-12-06 Uros Bizjak <ubizjak@gmail.com>
8703
8704 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8705 (FP_TRAPPING_EXCEPTIONS): Define.
8706 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8707 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8708
066161a2
RH
87092012-12-04 Richard Henderson <rth@redhat.com>
8710
8711 PR bootstrap/55571
8712 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8713
7d296953 87142012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 8715
4f2b3dc2 8716 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
8717 (FP_EX_SHIFT): Define.
8718 (FP_TRAPPING_EXCEPTIONS): Define.
8719
7d296953 87202012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
8721
8722 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8723 (FP_ROUNDMODE): Use FP_RND_MASK.
8724 * config/aarch64/sfp-exceptions.c: New.
8725 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8726 Use __sfp_handle_exceptions.
8727
5005fe22
RE
87282012-12-04 Richard Earnshaw <rearnsha@arm.com>
8729
8730 * config.host: (arm*-*-freebsd*): Remove.
8731 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8732 (arm*-*-elf*): Remove.
8733 (arm*-*-wince-pe*): Remove.
8734 * arm/unwind-arm.c (struct fpa_reg): Delete.
8735 (struct fpa_regs): Delete.
8736 (phase1_vrs): Remove fpa element.
8737 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8738 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8739 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8740 * ieee754-sf.S (floatundisf): Remove FPA support.
8741 (floatdisf): Likewise.
8742 * ieee75f-df.S (floatundidf): Likewise.
8743 (floatdidf): Likewise.
8744
e5a81c8e
KT
87452012-11-29 Kai Tietz <ktietz@redhat.com>
8746
8747 PR target/55445
8748 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8749 * unwind-generic.h: Likewise.
8750 * unwind-seh.c: Likewise.
8751
f4919e4a
RH
87522012-11-28 Richard Henderson <rth@redhat.com>
8753
8754 PR libgcc/48076
8755 * emutls.c (__emutls_get_address): Avoid race condition between
8756 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 8757
e13d9d5a
GJL
87582012-11-22 Georg-Johann Lay <avr@gjlay.de>
8759
8760 Adjust decimal point of signed accum mode to GCC default.
8761
8762 PR target/54222
8763 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8764 _divqq_helper.
8765 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8766 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8767 (__mulha3, __mulsa3)
8768 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
8769 decimal point of signed accum types.
8770
e13d9d5a
GJL
8771 (__mulusa3_round): New function.
8772 (__mulusa3): Use it.
8773 (__divqq_helper): New function.
8774 (__udivuqq3): Use it.
8775
1b845c6e
JJ
87762012-11-20 Jakub Jelinek <jakub@redhat.com>
8777
8778 PR bootstrap/55370
8779 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8780
822a258a
TJ
87812012-11-18 Teresa Johnson <tejohnson@google.com>
8782
8783 PR bootstrap/55051
8784 * libgcov.c (gcov_exit): Remove merged program summary
8785 comparison unless !GCOV_LOCKED.
8786
7d296953 87872012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
8788
8789 * soft-fp: Updated from glibc upstream.
8790
e808687a
ILT
87912012-11-06 Ian Lance Taylor <iant@google.com>
8792
8793 * generic-morestack.c (__generic_morestack): Align the returned
8794 stack pointer to a 32 byte boundary.
8795 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8796 increment the return address until we have decided that we don't
8797 have a varargs function.
8798 (__morestack) [32-bit]: Align stack correctly when calling C
8799 functions.
8800 (__morestack) [64-bit]: Likewise.
8801
460277e0
TS
88022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8803
8804 * configure: Regenerate.
8805
73edb277
UB
88062012-11-02 Uros Bizjak <ubizjak@gmail.com>
8807
8808 PR target/55175
8809 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8810 * config/i386/sfp-machine.h: Guard exception handling
8811 code with _SOFT_FLOAT.
8812 * config/i386/32/sfp-machine.h: Guard rounding handling
8813 code with _SOFT_FLOAT.
8814 * config/i386/64/sfp-machine.h: Ditto.
8815
c1d4fa04
JS
88162012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8817
8818 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8819 as extra_parts.
8820
eff6ca85
UB
88212012-10-26 Uros Bizjak <ubizjak@gmail.com>
8822
8823 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8824 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8825 when appropriate. Correct structure element types.
8826 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8827 -minline-all-stringops from compile flags.
8828
7d296953 88292012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
8830
8831 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8832
7d296953 88332012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 8834
eff6ca85 8835 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 8836
6f288860
SH
88372012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8838
8839 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8840 tmake_file.
8841
1e3d5096
IB
88422012-10-23 Ian Bolton <ian.bolton@arm.com>
8843 Jim MacArthur <jim.macarthur@arm.com>
8844 Marcus Shawcroft <marcus.shawcroft@arm.com>
8845 Nigel Stephens <nigel.stephens@arm.com>
8846 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8847 Richard Earnshaw <rearnsha@arm.com>
8848 Sofiane Naci <sofiane.naci@arm.com>
8849 Stephen Thomas <stephen.thomas@arm.com>
8850 Tejas Belagod <tejas.belagod@arm.com>
8851 Yufeng Zhang <yufeng.zhang@arm.com>
8852
8853 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8854 * config/aarch64/crti.S: New file.
8855 * config/aarch64/crtn.S: New file.
8856 * config/aarch64/linux-unwind.h: New file.
8857 * config/aarch64/sfp-machine.h: New file.
8858 * config/aarch64/sync-cache.c: New file.
8859 * config/aarch64/t-aarch64: New file.
8860 * config/aarch64/t-softfp: New file.
8861
8a740f07
HPN
88622012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8863
8864 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8865 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8866 no-longer-needed LDBU insns.
8867
7d296953 88682012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8869
8870 * config.host
8871 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8872 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8873
595fefee
MGD
88742012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8875
8876 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8877
9945a876
MK
88782012-10-15 Matthias Klose <doko@ubuntu.com>
8879
8880 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8881
1183dc2c
PC
88822012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8883
8884 * configure: Regenerate.
8885 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8886
945a9c1f
UB
88872012-10-10 Uros Bizjak <ubizjak@gmail.com>
8888
8889 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8890 instructions for 64bit targets only.
8891
fb8bf47a
UB
88922012-10-10 Uros Bizjak <ubizjak@gmail.com>
8893
8894 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8895 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8896 * config/i386/32/sfp-machine.h: ... here.
8897 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8898 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8899 New defines.
8900
acb72498
MK
89012012-10-07 Matthias Klose <doko@ubuntu.com>
8902
8903 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8904 as unused.
8905 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8906
8eaee0f0
MK
89072012-10-06 Mark Kettenis <kettenis@openbsd.org>
8908
8909 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8910 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8911 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8912 (ElfW): Likewise.
8913
5e3e4fe8
JW
89142012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8915
8916 PR other/53889
8917 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8918 Fix parameter names.
8919
86086376
OE
89202012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8921
8922 PR target/33135
8923 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8924 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8925 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8926
9597375a
OE
89272012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8928
8929 PR target/50457
8930 * config/sh/linux-atomic.S: Delete.
8931 * config/sh/linux-atomic.c: New.
8932 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8933 linux-atomic.c. Add cflags to disable warnings.
8934
1504e3e1
JW
89352012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8936
8937 PR other/53889
8938 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8939 function.
8940 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8941 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8942 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8943 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8944 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8945 Likewise.
1504e3e1
JW
8946 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8947 Likewise.
8948 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8949 Likewise.
8950 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8951 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8952
17f293b0
MK
89532012-09-19 Mark Kettenis <kettenis@openbsd.org>
8954
9597375a
OE
8955 * config.host (hppa-*-openbsd*): New target.
8956 * config/pa/t-openbsd: New file.
17f293b0 8957
51526856
GJL
89582012-09-15 Georg-Johann Lay <avr@gjlay.de>
8959
8960 PR target/54222
8961 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8962 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8963 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8964 (__divsa3): Use __negsi2 to negate r_quoL.
8965 * config/avr/lib1funcs.S (FALIAS): New macro.
8966 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8967 (__negsi2): ...this new function.
8968 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8969 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8970 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8971 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8972 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8973 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8974
aadb5b43
OE
89752012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8976
8977 PR target/54089
8978 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8979 (lshrsi3): Reimplement as lshrsi3_r0.
8980
d5d66749
AS
89812012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8982
8983 PR target/46191
8984 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8985 of libgcc.a.
8986
c6c36e73
TJ
89872012-09-07 Teresa Johnson <tejohnson@google.com>
8988
9597375a 8989 PR gcov-profile/54487
c6c36e73 8990 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8991 differences.
c6c36e73 8992
b588ae30
GJL
89932012-09-05 Georg-Johann Lay <avr@gjlay.de>
8994
8995 PR target/54461
8996 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8997 not configured --with-avrlibc=no.
8998 * config/avr/t-avrlibc: New file.
8999 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9000 (DPBIT_FUNCS): Ditto.
9001 (TPBIT_FUNCS): Ditto.
9002
abd16fb1
TJ
90032012-09-04 Teresa Johnson <tejohnson@google.com>
9004
9005 * libgcov.c (struct gcov_summary_buffer): New structure.
9006 (gcov_histogram_insert): New function.
9007 (gcov_compute_histogram): Ditto.
9008 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9009 histograms during summary merging.
9010
613061fd
MK
90112012-09-01 Mark Kettenis <kettenis@openbsd.org>
9012
9013 * config.host (x86_64-*-openbsd*): New target.
73edb277 9014
867a8345
CLT
90152012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9016
9017 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9018 attribute.
9019
4aeaaca3
GJL
90202012-08-24 Georg-Johann Lay <avr@gjlay.de>
9021
9022 PR target/54222
9023 * config/avr/t-avr (conv_X): Rename to func_X.
9024
e55e4056
GJL
90252012-08-24 Georg-Johann Lay <avr@gjlay.de>
9026
9027 PR target/54222
9028 * config/avr/lib1funcs-fixed.S: New file.
9029 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9030 after they are used.
9031 (neg2, neg4): New macros.
9032 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9033 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9034 (__umulhisi3): Speed up MUL variant if there is enough flash.
9035 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9036 avr-modes.def.
9037 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9038 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9039 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9040 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9041 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9042 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9043 (LIB2FUNCS_EXCLUDE): Add supported functions.
9044
a147b6d2
GJL
90452012-08-22 Georg-Johann Lay <avr@gjlay.de>
9046
9047 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9048 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9049 libgcc-s-objects.
9050 * fixed-obj.mk: Only expand dependency if $o is not in
9051 LIB2FUNCS_EXCLUDE.
9052
c637141a
L
90532012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9054
9055 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9056
130e00bd
JM
90572012-08-22 Joseph Myers <joseph@codesourcery.com>
9058
9059 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9060 depend on --enable-shared.
9061 ($(lib1asmfuncs-o)): Use %.vis files independent of
9062 --enable-shared.
9063 * static-object.mk ($(base)$(objext), $(base).vis)
9064 ($(base)_s$(objext)): Use same rules for visibility handling as in
9065 shared-object.mk.
9066
4b1b3788
ILT
90672012-08-21 Ian Lance Taylor <iant@google.com>
9068
9069 * config/i386/morestack.S (__morestack_non_split): Increase amount
9070 of space allocated for non-split code stack.
9071
d2468141
JM
90722012-08-19 Joseph Myers <joseph@codesourcery.com>
9073
9074 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9075 even if inhibit_libc.
9076
a508e1a8
JB
90772012-08-17 Julian Brown <julian@codesourcery.com>
9078
9079 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9080 -fexceptions -fnon-call-exceptions if not defined.
9081 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9082 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9083
5615a07d
AS
90842012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9085
9086 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9087 type.
9088
138f5acd
DE
90892012-08-16 David Edelsohn <dje.gcc@gmail.com>
9090
9091 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9092 rs6000/t-slibgcc-aix.
9093
18efc0dd
SB
90942012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9095
9096 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9097
6b39bc38
SB
90982012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9099
9100 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9101
cd25dea0
L
91022012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9103
9104 PR driver/54171
9105 * Makefile.in (version): Replace top_srcdir with srcdir.
9106
a3dda30b
JY
91072012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9108
9109 * Makefile.in (version): set to BASE-VER file from gcc directory.
9110
d04aacfc
NC
91112012-08-01 Nick Clifton <nickc@redhat.com>
9112
9113 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9114 Implements __clrsb for an HImode argument.
9115
0d13c974
NC
91162012-07-31 Nick Clifton <nickc@redhat.com>
9117
9118 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9119 Implements __clrsb for an HImode argument.
9120 * config/stormy16/clrsbhi2.c: New file:
9121 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9122
efbb59b2
SB
91232012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9124
9125 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9126
bf1431e3
TG
91272012-07-19 Tristan Gingold <gingold@adacore.com>
9128 Richard Henderson <rth@redhat.com>
9129
9130 * unwind-seh.c: New file.
9131 * unwind-generic.h: Include windows.h for SEH.
9132 (_Unwind_Exception): Use 6 private fields for SEH.
9133 (_GCC_specific_handler): Declare.
9134 * unwind-c.c (__gcc_personality_seh0): New function.
9135 Adjust for SEH.
9136 * config/i386/libgcc-cygming.ver: New file.
9137 * config/i386/t-seh-eh: New file.
9138 * config.host (x86_64-*-mingw*): Default to seh.
9139
659140c8
SB
91402012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9141
9142 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9143
a20d08fd
UB
91442012-06-17 Uros Bizjak <ubizjak@gmail.com>
9145
9146 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9147 __builtin_expect when checking for exceptions.
9148 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9149
79261115
UB
91502012-06-13 Uros Bizjak <ubizjak@gmail.com>
9151
4a172156
UB
9152 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9153 function declaration.
9154 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9155 (FP_RND_MASK): New.
9156 * config/ia64/sfp-exceptions.c: New.
9157 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 9158
bb5c97d4
UB
91592012-06-13 Uros Bizjak <ubizjak@gmail.com>
9160
9161 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9162 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9163 * config/i386/64/sfp-machine: ... (delete here) ...
9164 * config/i386/sfp-machine.h: ... to here.
9165 (FP_EX_MASK): Remove.
9166 (FP_RND_MASK): New.
9167 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9168
91fe5efb
ST
91692012-06-11 Sriraman Tallam <tmsriram@google.com>
9170
9171 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9172 * config/i386/libgcc-sol2.ver: Ditto.
9173 * config/i386/libgcc-glibc.ver: Ditto.
9174
67a218c5
RM
91752012-06-11 Roland McGrath <mcgrathr@google.com>
9176
9177 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9178 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9179 pthread_cancel.
9180
492fbea1
UB
91812012-06-09 Uros Bizjak <ubizjak@gmail.com>
9182
9183 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9184 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9185 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9186 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9187 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9188 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9189 * config/i386/64/sfp-machine: ... (delete here) ...
9190 * config/i386/sfp-machine.h: ... to here.
9191 (FP_EX_MASK): New.
9192 (__sfp_handle_exceptions): New function declaration.
9193 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9194 * config/i386/sfp-exceptions.c: New.
9195 * config/i386/t-softfp: New.
9196 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9197 i386/t-softfp to tmake_file.
9198
7b4cf266
DM
91992012-06-03 David S. Miller <davem@davemloft.net>
9200
9201 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9202 change.
9203
0de0d5c6
DM
92042012-05-31 David S. Miller <davem@davemloft.net>
9205
9206 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9207 multiply and divide instructions on 32-bit when V9.
9208 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9209
d8c9d391
JM
92102012-05-29 Joseph Myers <joseph@codesourcery.com>
9211
9212 * config/arm/ieee754-df.S: Fix typos.
9213 * config/arm/ieee754-sf.S: Fix typos.
9214 * config/c6x/libunwind.S: Fix typos.
9215 * config/epiphany/udivsi3-float.c: Fix typos.
9216 * config/microblaze/muldi3_hard.S: Fix typos.
9217 * config/picochip/adddi3.S: Fix typos.
9218 * config/picochip/ashlsi3.S: Fix typos.
9219 * config/picochip/ashrsi3.S: Fix typos.
9220 * config/picochip/clzsi2.S: Fix typos.
9221 * config/picochip/cmpsi2.S: Fix typos.
9222 * config/picochip/divmod15.S: Fix typos.
9223 * config/picochip/divmodhi4.S: Fix typos.
9224 * config/picochip/divmodsi4.S: Fix typos.
9225 * config/picochip/longjmp.S: Fix typos.
9226 * config/picochip/lshrsi3.S: Fix typos.
9227 * config/picochip/parityhi2.S: Fix typos.
9228 * config/picochip/popcounthi2.S: Fix typos.
9229 * config/picochip/setjmp.S: Fix typos.
9230 * config/picochip/subdi3.S: Fix typos.
9231 * config/picochip/ucmpsi2.S: Fix typos.
9232 * config/picochip/udivmodhi4.S: Fix typos.
9233 * config/picochip/udivmodsi4.S: Fix typos.
9234 * config/spu/divv2df3.c: Fix typos.
9235 * config/spu/mfc_multi_tag_release.c: Fix typos.
9236 * config/spu/mfc_tag_release.c: Fix typos.
9237 * configure.ac: Fix typos.
9238 * configure: Regenerate.
9239
31a18a7e
ILT
92402012-05-25 Ian Lance Taylor <iant@google.com>
9241
9242 * config/i386/morestack.S (__morestack_non_split): Check whether
9243 caller is varargs and needs %bp to hold the stack frame on return.
9244
c5768510
OH
92452012-05-25 Olivier Hainque <hainque@adacore.com>
9246
9247 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9248 sequence in the non pic case on VxWorks.
9249
7c7c339b
OH
92502012-05-24 Olivier Hainque <hainque@adacore.com>
9251
73fb7630 9252 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
9253 "install-leaf" to "install".
9254
fdc1b7d3
OH
92552012-05-24 Olivier Hainque <hainque@adacore.com>
9256
9257 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9258 Use a separate command for stamp removals.
9259
07ba94b9
AP
92602012-05-21 Andrew Pinski <apinski@cavium.com>
9261
9262 PR bootstrap/53183
9263 * configure.ac: Define the default includes to being none.
9264 * configure: Regenerate.
9265
4677d2eb
OH
92662012-05-16 Olivier Hainque <hainque@adacore.com>
9267
9268 * Makefile.in (install-unwind_h): Rename into ...
9269 (install-unwind_h-forbuild): New target.
9270 (all): Use it instead of the former install-unwind_h.
9271 (install-unwind_h): Reinstate, copy to user install destination
9272 for include files, not to the internal gcc object directory one.
9273 (install-leaf): Depend on it.
9274
7d67c380
OH
92752012-05-15 Olivier Hainque <hainque@adacore.com>
9276
9277 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9278 register numbers. LR_REGNO replaces R_LR.
9279 (ucontext_for): New, helper for ...
9280 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9281 and 5.3 of ...
9282 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9283
aca06c90
RO
92842012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9285
9286 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9287 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9288 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9289 i386/t-cpuinfo ...
9290 (i[34567]86-*-*, x86_64-*-*): ... here.
9291
9292 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9293 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9294
9295 * config/i386/i386-cpuinfo.c: Rename to ...
9296 * config/i386/cpuinfo.c: ... this.
9297 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9298
9299 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9300 (libgcc_cv_init_priority): New test.
9301 * configure: Regenerate.
9302 * config.in: New file.
9303 * Makefile.in (clean): Rename config.h to auto-target.h.
9304 (config.h): Likewise.
9305 (stamp-h): Likewise.
9306
9307 * config/i386/cpuinfo.c (auto-target.h): Include.
9308 (CONSTRUCTOR_PRIORITY): Define.
9309 (__cpu_indicator_init): Use it.
9310
0d03ac1b
L
93112012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9312
9313 * longlong.h: Use a URL instead of an FSF postal address.
9314 Replace spaces with tab.
9315
4a172156 93162012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
9317
9318 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9319 (__gcov_dump): Ditto.
9320 (gcov_dump_complete): New global variable.
9321 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9322 (__gcov_flush): Outline functionality now in gcov_clear.
9323 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9324
e4bb767e
AJ
93252012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9326
31a18a7e
ILT
9327 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9328 (mips*-*-linux*): Include mips/t-tpbit when long double is
9329 16 bytes long.
e4bb767e 9330
5ddecff9
ST
93312012-04-25 Sriraman Tallam <tmsriram@google.com>
9332
9333 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9334 (get_available_features): New argument. Check for AVX2.
9335 (__cpu_indicator_init): Modify call to get_available_features.
9336
b427dd7a
AM
93372012-04-25 Alan Modra <amodra@gmail.com>
9338
9339 * config/rs6000/crtsavevr.S: New file.
9340 * config/rs6000/crtrestvr.S: New file.
9341 * config/rs6000/t-savresfgpr: Build the above.
9342 * config/rs6000/t-netbsd: Likewise.
9343
ad491329
ST
93442012-04-24 Sriraman Tallam <tmsriram@google.com>
9345
9346 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9347
792317cc
ST
93482012-04-24 Sriraman Tallam <tmsriram@google.com>
9349
9350 * libgcc/config/i386/i386-cpuinfo.c: New file.
9351 * libgcc/config/i386/t-cpuinfo: New file.
9352 * libgcc/config.host: Include t-cpuinfo.
9353 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9354
e1be98a4
CF
93552012-04-24 Chao-ying Fu <fu@mips.com>
9356
9357 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9358
1bde7dab
TS
93592012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9360
9361 struct siginfo vs. siginfo_t
9362
9363 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9364 siginfo_t instead of struct siginfo.
9365 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9366 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9367 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9368 (ia64_handle_unwabi): Likewise.
9369 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9370 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9371 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9372 (sh_fallback_frame_state): Likewise.
9373 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9374 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9375
24590f66
L
93762012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9377
9378 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9379 system call number.
9380
9a9dcce8
EB
93812012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9382
9383 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9384 if it hasn't been previously saved.
9385
6401aaf5
L
93862012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9387
9388 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9389 only for glibc.
9390
7fd6378e
GJL
93912012-03-28 Georg-Johann Lay <avr@gjlay.de>
9392
9393 PR target/52737
9394 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9395 instead of __AVR_HAVE_8BIT_SP__.
9396
9e916de7
TG
93972012-03-26 Tristan Gingold <gingold@adacore.com>
9398
9399 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9400 (unw_table_entry): Use unw_word instead of unsigned long.
9401 (_Unwind_FindTableEntry): Likewise.
9402 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9403 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9404 (_Unwind_FindTableEntry): Likewise.
9405 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9406 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9407 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9408 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9409 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9410 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9411 (uw_init_context_1, uw_install_context): Likewise.
9412 (unw_word): Move to unwind-ia64.h
9413
4b12e93d
TG
94142012-03-26 Tristan Gingold <gingold@adacore.com>
9415
9416 * config/vms/vms-ucrt0.c: Update copyright years.
9417 Add a sanity check.
9418 (___gcc_main_flags): Declare.
9419 (__main): Check flags to remap argv and exit code.
9420 * config.host (*-*-*vms*): Adjust extra_parts.
9421 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9422 (crt0.o): Add.
9423
06ea7371
RE
94242012-03-22 Richard Earnshaw <rearnsha@arm.com>
9425
9426 * arm/lib1funcs.asm (ctzsi2): New function.
9427 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9428 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9429 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9430 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9431 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9432 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9433
d82ad50d
AT
94342012-03-21 Andreas Tobler <andreast@fgznet.ch>
9435
9436 * config.host: Add bits to support powerpc64-*-freebsd*.
9437 * config/rs6000/freebsd-unwind.h: New file.
9438 * config/rs6000/t-freebsd64: New file.
9439
b260a8c0
RG
94402012-03-20 Richard Guenther <rguenther@suse.de>
9441
9442 PR gcov-profile/52627
9443 * libgcov.c (init_mx): Fix mutex name.
9444
86286a8a
TG
94452012-03-16 Tristan Gingold <gingold@adacore.com>
9446
9447 * config/ia64/vms-unwind.h: Remove ulong (and replace
9448 it by unw_reg where used). Define unw_reg with __int64.
9449
7888f266
RO
94502012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9451
9452 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9453 Solaris 8 handling.
9454 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9455 Solaris 8 handling.
9456 (sparc_is_sighandler): Likewise.
9457
f155bc64
L
94582012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9459
9460 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9461 <= saved reg size.
9462
d47657bd
RO
94632012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9464
9465 * config/arm/crtn.S: Fix typo.
9466
5bef73a1
RG
94672012-03-13 Richard Guenther <rguenther@suse.de>
9468
9469 * libgcov.c: Remove stdio.h include and NULL un-define.
9470
9c4271f3
RG
94712012-03-13 Richard Guenther <rguenther@suse.de>
9472
9473 PR target/52569
9474 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9475
c6d10e7c
RG
94762012-03-13 Richard Guenther <rguenther@suse.de>
9477
9478 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9479
074a385f
RG
94802012-03-13 Richard Guenther <rguenther@suse.de>
9481
9482 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9483 and __gthread_mutex_init_function definitions.
9484
c4bc5c25
RO
94852012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9486
9487 * config.host (mips*-*-openbsd*): Remove.
9488
5c30094f
RO
94892012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9490
9491 * config.host: Remove alpha*-dec-osf5.1* handling.
9492 * config/alpha/gthr-posix.c: Remove.
9493 * config/alpha/libgcc-osf5.ver: Remove.
9494 * config/alpha/osf5-unwind.h: Remove.
9495 * config/alpha/t-osf-pthread: Remove.
9496 * config/alpha/t-slibgcc-osf: Remove.
9497 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9498 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9499 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9500 * mkmap-flat.awk: Remove osf_export handling.
9501
33e3e24d
RG
95022012-03-12 Richard Guenther <rguenther@suse.de>
9503
9504 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9505 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9506 (__gthread_mutex_init_function): New function.
9507 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9508
9509 PR gcov/49484
9510 * libgcov.c: Include gthr.h.
9511 (__gcov_flush_mx): New global variable.
9512 (init_mx, init_mx_once): New functions.
9513 (__gcov_flush): Protect self with a mutex.
9514 (__gcov_fork): Re-initialize mutex after forking.
9515 * unwind-dw2-fde.c: Change condition under which to use
9516 __GTHREAD_MUTEX_INIT_FUNCTION.
9517
d8aba32a
TG
95182012-03-12 Tristan Gingold <gingold@adacore.com>
9519
9520 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9521 * config/ia64/t-vms: Likewise.
9522
75ffafdc
MH
95232012-03-11 Michael Hope <michael.hope@linaro.org>
9524
4a172156
UB
9525 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9526 for Thumb-2.
75ffafdc 9527
ef6c2c53
WL
95282012-03-07 Walter Lee <walt@tilera.com>
9529
9530 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9531 "arch_atomic_".
9532 (atomic_xor): Rename and move definition to
9533 config/tilepro/atomic.h.
9534 (atomic_nand): Ditto.
9535 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9536 "arch_atomic_".
9537 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9538 (arch_atomic_nand): Ditto.
9539
4e30d980
GJL
95402012-03-07 Georg-Johann Lay <avr@gjlay.de>
9541
9542 PR target/52507
9543 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9544
61108225
GJL
95452012-03-07 Georg-Johann Lay <avr@gjlay.de>
9546
9547 PR target/52505
9548 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9549 from RAM.
9550
b30e10ab
GJL
95512012-03-07 Georg-Johann Lay <avr@gjlay.de>
9552
9553 PR target/52461
9554 PR target/52508
9555 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9556 if RAMPZ affects reading from RAM.
9557 (__tablejump_elpm__): Ditto.
9558 (.xload): Ditto.
9559 (__movmemx_hi): Ditto.
9560 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9561 (__do_global_dtors): Ditto.
9562 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9563 (__movmemx_hi): Ditto.
9564
8993fde4
RH
95652012-03-05 Richard Henderson <rth@redhat.com>
9566
9567 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9568 [ARM] (count_trailing_zeros): Use the builtin.
9569
b7633ee3
KT
95702012-03-01 Kai Tietz <ktietz@redhat.com>
9571
9572 * soft-fp: Imported from glibc upstream.
9573
fbd3340c
KT
95742012-02-28 Kai Tietz <ktietz@redhat.com>
9575
9576 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9577 for mingw-targets as attribute gcc_struct.
9578
e9e053eb
ILT
95792012-02-28 Ian Lance Taylor <iant@google.com>
9580
9581 * generic-morestack.c (__splitstack_releasecontext): Correct call
9582 to __morestack_release_segments.
9583
d80c632e
ST
95842012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9585
9586 PR target/52390
9587 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9588 for __linux__ when removing signals from __morestack_fullmask.
9589
0253a8b1
GJL
95902012-02-23 Georg-Johann Lay <avr@gjlay.de>
9591
9592 PR target/52261
9593 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9594
e10e461e
UW
95952012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9596
9597 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9598 instead of HAVE_INITFINI_ARRAY.
9599 * config/ia64/crtend.S: Likewise.
9600
0c0c6398
KT
96012012-02-20 Kai Tietz <ktietz@redhat.com>
9602
d7470374
KT
9603 PR libstdc++/52300
9604 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9605
0c0c6398
KT
9606 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9607 to w32-unwind.h header.
9608
78c27266
RS
96092012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9610
9611 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9612 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9613 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9614 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9615
5adeb246
RS
96162012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9617
9618 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9619
672ed313
IS
96202012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9621
9622 PR libitm/52220
9623 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 9624
e948a1fb
IS
96252012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9626 Patrick Marlier <patrick.marlier@gmail.com>
9627
9628 PR libitm/52220
9629 * config/darwin-crt-tm.c: Generate dummy functions.
9630
6017aed3
IS
96312012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9632 Patrick Marlier <patrick.marlier@gmail.com>
9633
9634 PR libitm/52042
9635 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9636 (__doTMRegistrations): Call it.
e9e053eb 9637 (__doTMdeRegistrations): Likewise.
6017aed3 9638
2da8c1ad 96392012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
9640 Anatoly Sokolov <aesok@post.ru>
9641 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
9642
9643 PR target/52261
9644 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9645 (__epilogue_restores__): Ditto.
9646
0f952eb4
EB
96472012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9648
9649 PR target/51921
9650 PR target/52205
9651 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9652 Solaris 11 and slightly reformat.
9653 (sparc_is_sighandler): Likewise.
9654
dd552284
WL
96552012-02-14 Walter Lee <walt@tilera.com>
9656
9657 * config.host: Handle tilegx and tilepro.
9658 * config/tilegx/sfp-machine.h: New file.
9659 * config/tilegx/sfp-machine32.h: New file.
9660 * config/tilegx/sfp-machine64.h: New file.
9661 * config/tilegx/t-crtstuff: New file.
9662 * config/tilegx/t-softfp: New file.
9663 * config/tilegx/t-tilegx: New file.
9664 * config/tilepro/atomic.c: New file.
9665 * config/tilepro/atomic.h: New file.
9666 * config/tilepro/linux-unwind.h: New file.
9667 * config/tilepro/sfp-machine.h: New file.
9668 * config/tilepro/softdivide.c: New file.
9669 * config/tilepro/softmpy.S: New file.
9670 * config/tilepro/t-crtstuff: New file.
9671 * config/tilepro/t-tilepro: New file.
9672
b59cbd50
JW
96732012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9674
9675 PR libstdc++/51296
9676 PR libstdc++/51906
9677 * gthr-posix.h: Allow static initializer macros to be disabled.
9678 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9679
6caf807f
CLT
96802012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9681
9682 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9683 Add t-slibgcc-libgcc to tmake_file.
9684 * config/mips/libgcc-mips16.ver: Revert previous patch.
9685 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9686
7d296953
JJ
96872012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9688 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
9689
9690 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9691 * config/cr16/crti.S: New file.
9692 * config/cr16/crtlibid.S: New file.
9693 * config/cr16/crtn.S: New file.
9694 * config/cr16/lib1funcs.S: New file.
9695 * config/cr16/t-cr16: New file.
9696 * config/cr16/t-crtlibid: New file.
9697 * config/cr16/unwind-dw2.h: New file.
9698 * config/cr16/unwind-cr16.c: New file.
9699 * config/cr16/divmodhi3.c: New file.
9700
8ef03aa7
AM
97012012-01-25 Alan Modra <amodra@gmail.com>
9702
9703 * config/rs6000/t-linux64: Delete. Move..
9704 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9705 * config/rs6000/t-linux: ..and libgcc flags to here.
9706
daecebc8
DR
97072012-01-22 Douglas B Rupp <rupp@gnat.com>
9708
9709 * config.host (i[34567]86-*-interix3*):
8ef03aa7 9710 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
9711 * configure: Regenerate.
9712
ddaf8125
RS
97132012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9714 Richard Sandiford <rdsandiford@googlemail.com>
9715
9716 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9717 * config/mips/mips16.S (__mips16_rdhwr): New function.
9718 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9719
2cd8b32c
NS
97202012-01-11 Nathan Sidwell <nathan@acm.org>
9721
9722 * libgcov.c (__gcov_init): Ignore objects with no functions.
9723
cba300dd
GJL
97242012-01-10 Georg-Johann Lay <avr@gjlay.de>
9725
9726 PR target/49868
9727 Extend __pgmx semantics to linearize memory.
9728 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9729 * config/avr/lib1funcs.S (__xload_1): New function.
9730 (__movmemx_qi, __movmemx_hi): New functions.
9731 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9732 semantics.
9ffaf4bc 9733
3d137660
EB
97342012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9735
9736 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9737 purported sigacthandler address isn't null before dereferencing it.
9738 (sparc_is_sighandler): Likewise.
9739
bf4db96c
EB
97402012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9741
9742 PR ada/41929
9743 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9744 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9745 (sparc_is_sighandler): Likewise.
9746 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9747
1ab3568b
TG
97482012-01-06 Tristan Gingold <gingold@adacore.com>
9749
9750 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9751 compatibility thunks...
9752 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9753 (crtbeginS.o, crtendS.o): ... and these to ...
9754 * config/ia64/t-ia64-elf: ... this new file.
9755 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9756 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9757
925b0ed8
AK
97582012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9759
9760 * configure: Regenerate.
9761 * config/s390/t-crtstuff: Remove -fPIC.
9762
a99ad737
JW
97632012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9764
9765 PR bootstrap/51006
9766 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9767 for NetBSD.
9768
884f56d1
GJL
97692012-01-02 Georg-Johann Lay <avr@gjlay.de>
9770
9771 PR target/51345
9772 * config/avr/lib1funcs.S: Remove FIXME comments.
9773 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9774
8c57e547
GJL
97752012-01-02 Georg-Johann Lay <avr@gjlay.de>
9776
9777 Implement light-weight DImode support.
9778 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9779 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9780 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9781 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9782
04dbc287
NS
97832011-12-30 Nathan Sidwell <nathan@acm.org>
9784
9785 * libgcov.c (gcov_crc32): Remove global var.
9786 (free_fn_data): New function.
9787 (buffer_fn_data): Pass in filename, more robust error recovery.
9788 (crc32_unsigned): New function.
9789 (gcov_exit): More robust detection of new program. More robust
9790 error recovery.
9791 (__gcov_init): Do not update program's crc here.
9792
8e1d97d4
TG
97932011-12-21 Tristan Gingold <gingold@adacore.com>
9794
9795 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9796
9ffaf4bc
ILT
97972011-12-21 Ian Lance Taylor <iant@google.com>
9798
9799 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9800
a0c8d0c1
ILT
98012011-12-20 Ian Lance Taylor <iant@google.com>
9802
9803 * config/i386/morestack.S (__morestack_non_split): If there is
9804 enough stack space already, don't split. Ask for more stack space
9805 than we required.
9806
69048898
SDJ
98072011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9808
9809 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9810 `sys/sdt.h'.
9811 (_Unwind_DebugHook): New function.
9812 (uw_restore_core_regs): New define.
9813 (unwind_phase2): Use uw_restore_core_regs instead of
9814 restore_core_regs.
9815 (unwind_phase2_forced): Likewise.
9816 (__gnu_Unwind_Resume): Likewise.
9817
1bb4b6a3
UB
98182011-12-20 Uros Bizjak <ubizjak@gmail.com>
9819
9820 * config/alpha/linux-unwind.h: Update copyright years.
9821 (MD_FROB_UPDATE_CONTEXT): New define.
9822 (alpha_frob_update_context): New function.
9823
eb028768
RS
98242011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9825
9826 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9827 tmake_file rather replacing it.
9828
6a2045bf
IS
98292011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9830
9831 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 9832 function is not used for PPC64.
6a2045bf
IS
9833 (save_world): Amend comments. Update the VRsave mask to reflect the
9834 saved regs.
9835 (rest_world): Update comments, do not clobber r10, do not use r8.
9836 (eh_rest_world_r10): Amend comments, do not use r8.
9837 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9838 no longer used, move restore of CR and target address to the end of
9839 the routine.
9840
a13780a6
L
98412011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9842
9843 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9844 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9845
d7288dfb
GJL
98462011-12-14 Georg-Johann Lay <avr@gjlay.de>
9847
9848 PR target/49313
9849 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9850 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9851
8d2c862d
EB
98522011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9853
9854 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9855
3447cae6
GJL
98562011-12-09 Georg-Johann Lay <avr@gjlay.de>
9857
9858 PR target/49313
9859 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9860 * config/avr/lib1funcs.S (__muldi3): New function.
9861
806fc6aa
AP
98622011-12-06 Andrew Pinski <apinski@cavium.com>
9863
9864 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9865 size of func_ptr.
9866 (__frame_dummy_init_array_entry): Likewise.
9867
28c5e6b5
GJL
98682011-12-06 Georg-Johann Lay <avr@gjlay.de>
9869
9870 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9871
9872 PR target/51345
9873 PR target/51002
9874 * config/avr/lib1funcs.S (__prologue_saves__,
9875 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9876 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9877
8f90394a
IS
98782011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9879
9880 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9881
06dd33ac
JDA
98822011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9883
9884 PR other/51272
9885 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9886 (_ITM_deregisterTMCloneTable): Likewise.
9887 (__register_frame_info): Fix unused warning.
9888 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9889 pthread_default_stacksize_np): Likewise.
9890 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9891
85b8555e
DD
98922011-11-29 DJ Delorie <dj@redhat.com>
9893
9894 * config.host (rl78-*-elf): New case.
9895 * config/rl78: New directory for the Renesas RL78.
9896
4d5ae4ea
BS
98972011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9898
9899 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9900 formatting.
9901
f9c55897
RO
99022011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9903
9904 PR other/51022
9905 * config/rs6000/t-savresfgpr: New file.
9906 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9907 $(srcdir)/config/rs6000/eabi.S.
9908 * config/rs6000/t-ppccomm-ldbl: Remove.
9909 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9910 tmake_file.
9911 (powerpc-*-eabispe*): Likewise.
9912 (powerpc-*-eabi*): Likewise.
9913 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9914 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9915 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9916 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9917 tmake_file.
9918 (powerpc-*-eabisim*): Likewise.
9919 (powerpc-*-elf*): Likewise.
9920 (powerpc-*-eabialtivec*): Likewise.
9921 (powerpc-xilinx-eabi*): Likewise.
9922 (powerpc-*-rtems*): Likewise.
9923 (powerpcle-*-elf*): Likewise.
9924 (powerpcle-*-eabisim*): Likewise.
9925 (powerpcle-*-eabi*): Likewise.
9926
a01207c4
ILT
99272011-11-27 Ian Lance Taylor <iant@google.com>
9928
9929 * generic-morestack.c (__splitstack_find): Check for NULL old
9930 stack value.
9931 (__splitstack_resetcontext): New function.
9932 (__splitstack_releasecontext): New function.
9933 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9934
2b0b8ab2
IS
99352011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9936
9937 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9938
c1d8101c
IS
99392011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9940
9941 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9942
8b281334
RH
99432011-11-26 Richard Henderson <rth@redhat.com>
9944
9945 * config/m68k/linux-atomic.c: New file.
9946 * config/m68k/t-linux: New file.
9947 * config.host (m68k-uclinux, m68k-linux): Use it.
9948
7546aa9d
RH
99492011-11-26 Richard Henderson <rth@redhat.com>
9950
9951 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9952 (__TMC_END__): Only declare if hidden is available; in the definition,
9953 if hidden is unavailable add a null record.
9954 (deregister_tm_clones, register_tm_clones): New.
9955 (__do_global_dtors_aux, frame_dummy): Use them.
9956 (__do_global_dtors, __do_global_ctors_1): Likewise.
9957
e2362f5d
IS
99582011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9959
9960 * config/darwin-crt-tm.c: New file.
9961 * config.host (darwin): Build crttms.o crttme.o to provide
9962 startup and shutdown for tm clones.
9963 * config/t-darwin (crttms.o): New build rule.
9964 (crttme.o): Likewise.
9965
6685dd96
HPN
99662011-11-21 Hans-Peter Nilsson <hp@axis.com>
9967
9968 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9969 et al.
9970
b0dc7e4c
RH
99712011-11-21 Richard Henderson <rth@redhat.com>
9972
9973 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9974 (__TMC_LIST__, __TMC_END__): New.
9975 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9976 (__do_global_dtors): Likewise.
9977 (frame_dummy): Call _ITM_registerTMCloneTable.
9978 (__do_global_ctors_1): Likewise.
9979
d4b4b542
RO
99802011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9981
9982 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9983 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9984 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9985 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9986 * config/i386/t-darwin64: Remove.
9987 * config/sh/t-netbsd (LIB2ADD): Remove.
9988
989bdb74
GJL
99892011-11-21 Georg-Johann Lay <avr@gjlay.de>
9990
9991 PR target/49313
9992 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9993 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9994 * config/avr/lib1funcs.S (wmov): New assembler macro.
9995 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9996 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9997 (__udivmod64): New function.
9998 (__negdi2): New function.
9999
515a0cfc
GP
100002011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10001
10002 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10003 *-*-freebsd*aout*): Remove.
10004
0115d17f
HPN
100052011-11-20 Hans-Peter Nilsson <hp@axis.com>
10006
10007 * static-object.mk (c_flags-$o): Save c_flags.
10008 ($(base)$(objext)): Use it.
10009
93aeb62b
SE
100102011-11-18 Steve Ellcey <sje@cup.hp.com>
10011
10012 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10013
7bc6df2c
GJL
100142011-11-18 Georg-Johann Lay <avr@gjlay.de>
10015
10016 PR target/49868
10017 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10018 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10019 New functions.
10020
425d737b
MGD
100212011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10022
10023 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10024 functions.
1bb4b6a3 10025 (aeabi_uidivmod): Likewise.
425d737b
MGD
10026 (umodsi3): Likewise.
10027 (divsi3): Likewise.
10028 (aeabi_idivmod): Likewise.
10029 (modsi3): Likewise.
10030
f2a176dc
TG
100312011-11-16 Tristan Gingold <gingold@adacore.com>
10032
10033 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10034
7c209481
GJL
100352011-11-15 Georg-Johann Lay <avr@gjlay.de>
10036
10037 PR target/49868
10038 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10039 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10040
9dfd5832
JDA
100412011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10042
10043 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10044 tmake_file list.
10045 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10046 * config/pa/t-stublib64: Delete.
10047
f77dca5d
RH
100482011-11-12 Richard Henderson <rth@redhat.com>
10049
10050 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10051 cast the pointer argument to _Unwind_SetGRPtr.
10052
902828f0
RO
100532011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10054
10055 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10056
e14304ef
ILT
100572011-11-09 Ian Lance Taylor <iant@google.com>
10058
10059 * generic-morestack.c: Include <string.h>.
10060 (uintptr_type): Define.
10061 (struct initial_sp): Add dont_block_signals field. Reduce size of
10062 extra array by 1.
10063 (allocate_segment): Set prev field to NULL. Don't set
10064 __morestack_current_segment or __morestack_segments.
10065 (__generic_morestack): Update current->prev and *pp after calling
10066 allocate_segment.
10067 (__morestack_block_signals): Don't do anything if
10068 dont_block_signals is set.
10069 (__morestack_unblock_signals): Likewise.
10070 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10071 uintptr_type.
10072 (__splitstack_block_signals): New function.
10073 (enum __splitstack_content_offsets): Define.
10074 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10075 (__splitstack_makecontext): New function.
10076 (__splitstack_block_signals_context): New function.
10077 (__splitstack_find_context): New function.
10078 * config/i386/morestack.S (__morestack_get_guard): New function.
10079 (__morestack_set_guard, __morestack_make_guard): New functions.
10080 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10081
e3d871e4
RO
100822011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10083
10084 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10085 (i[34567]86-*-mingw*): ... here.
10086 (x86_64-*-mingw*): ... here.
10087
e55cef40
RO
100882011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10089
10090 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10091
5366b186
NS
100922011-11-07 Nathan Sidwell <nathan@acm.org>
10093
10094 * libgcov.c (struct gcov_fn_buffer): New struct.
10095 (buffer_fn_data): New helper.
10096 (gcov_exit): Rework for new gcov data structures.
10097
74155a6f
GJL
100982011-11-07 Georg-Johann Lay <avr@gjlay.de>
10099
10100 PR target/49313
10101 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10102
200feb07
RO
101032011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10104
10105 * config.host (tmake_file): Correct comment.
10106 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10107 t-libgcc-pic.
10108 (bfin*-uclinux*): Likewise.
10109 (bfin*-linux-uclibc*): Likewise.
10110 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10111
10112 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10113 assigning.
10114 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10115 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10116 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10117 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10118 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10119 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10120 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10121 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10122 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10123 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10124 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10125 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10126 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10127
10128 * config/bfin/t-elf: Remove.
10129 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10130
c9cd1a07
RO
101312011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10132
10133 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10134 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10135 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10136 (lm32-*-elf*): ... this.
10137 (lm32-*-rtems*): ... and this.
10138 Add to tmake_file.
10139 (m32r-*-rtems*): Add to tmake_file.
10140 (moxie-*-rtems*): Likewise.
10141 (sparc-*-rtems*): Likewise.
10142 Remove t-rtems from tmake_file.
10143 (sparc64-*-rtems*): Likewise.
10144 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10145 instead.
10146
9fbcc75d
RO
101472011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10148
10149 PR bootstrap/50982
10150 * config/gthr-posix.h: Move ...
10151 * gthr-posix.h: ... here.
10152 * config/gthr-lynx.h: Reflect this.
10153 * config/gthr-vxworks.h: Likewise.
10154 * config/rs6000/gthr-aix.h: Likewise.
10155 * configure.ac (target_thread_file): Likewise.
10156 * configure: Regenerate.
10157
76644b68
SH
101582011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10159
10160 * config.host (arm*-*-rtemseabi*): New target.
10161
5e490f2a
JDA
101622011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10163
10164 PR other/50991
10165 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10166 extra-parts.
10167
feeeff5c
JR
101682011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10169
10170 * config.host (epiphany-*-elf*): New configuration.
10171 * config/epiphany: New Directory.
10172
d618bb2c
RC
101732011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10174
10175 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10176 * config/avr/t-rtems: New.
10177 Filter out _exit from LIB1ASMFUNCS.
10178
1bb6f778
DM
101792011-11-04 David S. Miller <davem@davemloft.net>
10180
10181 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10182 * configure: Rebuild.
10183
9a7f7422
AK
101842011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10185
10186 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10187 variable.
10188
e4fe948a
GJL
101892011-11-04 Georg-Johann Lay <avr@gjlay.de>
10190
10191 PR target/50931
10192 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10193 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10194
7084e037
JS
101952011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10196
10197 PR target/50989
10198 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10199
1a032034
RO
102002011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10201
10202 * config/c6x/t-elf (LIB2ADDEH): Set.
10203 * config/c6x/t-c6x-elf: Remove.
10204
d385f772
RO
102052011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10206
10207 * config/i386/sol2-ci.S: Rename to ...
10208 * config/i386/crti.S: ... this.
10209 * config/i386/sol2-cn.S: Rename to ...
10210 * config/i386/crtn.S: ... this.
10211 * config/sparc/sol2-ci.S: Rename to ...
10212 * config/sparc/crti.S: ... this.
10213 * config/sparc/sol2-cn.S: Rename to ...
10214 * config/sparc/crtn.S: ... this.
10215 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10216 (crti.o, crtn.o): Remove.
10217
1ba878a9
TG
102182011-11-04 Tristan Gingold <gingold@adacore.com>
10219
10220 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10221
02750c15
KK
102222011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10223
10224 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10225
bf86b067
HPN
102262011-11-03 Hans-Peter Nilsson <hp@axis.com>
10227
10228 * config.host (crisv32-*-none, cris-*-none): Remove.
10229 (crisv32-*-elf): Append to tmake_file, don't just set it.
10230 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10231
d0bc53bd
RO
102322011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10233
10234 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10235 (ecrtn$(objext)): Likewise.
10236 (ncrti$(objext)): Likewise.
10237 (ncrtn$(objext)): Likewise.
10238
036da830
AS
102392011-11-03 Andreas Schwab <schwab@redhat.com>
10240
10241 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10242
d2a7d041
DM
102432011-11-02 David S. Miller <davem@davemloft.net>
10244
10245 * configure.ac: Set host_address on sparc too.
10246 * configure: Regenerate.
10247 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10248 based upon host_address.
10249 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10250
af8ed618
JM
102512011-11-02 Jason Merrill <jason@redhat.com>
10252
10253 * config/rs6000/t-ppccomm: Add missing \.
10254
5d1c8e77
RO
102552011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10256
10257 * gthr-single.h, gthr.h: New files.
10258 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10259 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10260 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10261 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10262 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10263 * configure.ac (thread_header): New variable.
10264 Set it depending on target_thread_file.
10265 (gthr-default.h): Link from $thread_header.
10266 * configure: Regenerate.
10267 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10268
852b75ed
RO
102692011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10270
10271 * configure.ac (tm_file_): New variable.
10272 Determine from tm_file.
10273 (tm_file, tm_defines): Substitute.
10274 * configure: Regenerate.
10275 * mkheader.sh: New file.
10276 * Makefile.in (clean): Remove libgcc_tm.h.
10277 ($(objects)): Depend on libgcc_tm.h.
10278 (libgcc_tm_defines, libgcc_tm_file): New variables.
10279 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10280 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10281 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10282 ($(extra-parts)): Depend on libgcc_tm.h.
10283 * config.host (tm_defines, tm_file): New variable.
10284 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10285 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10286 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10287 (avr-*-rtems*): Likewise.
10288 (avr-*-*): Likewise.
10289 (frv-*-elf): Likewise.
10290 (frv-*-*linux*): Likewise.
10291 (h8300-*-rtems*): Likewise.
10292 (h8300-*-elf*): Likewise.
10293 (i[34567]86-*-darwin*): Likewise.
10294 (x86_64-*-darwin*): Likewise.
10295 (rx-*-elf): Likewise.
10296 (tic6x-*-uclinux): Likewise.
10297 (tic6x-*-elf): Likewise.
10298 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10299 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10300 * config/i386/cygming-crtbegin.c: Likewise.
10301 * config/i386/cygming-crtend.c: Likewise.
10302 * config/ia64/fde-vms.c: Likewise.
10303 * config/ia64/unwind-ia64.c: Likewise.
10304 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10305 * config/rs6000/darwin-fallback.c: Likewise.
10306 * config/stormy16/lib2funcs.c: Likewise.
10307 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10308 * crtstuff.c: Likewise.
10309 * dfp-bit.h: Likewise.
10310 * emutls.c: Likewise.
10311 * fixed-bit.c: Likewise.
10312 * fp-bit.c: Likewise.
10313 * generic-morestack-thread.c: Likewise.
10314 * generic-morestack.c: Likewise.
10315 * libgcc2.c: Likewise.
10316 * libgcov.c: Likewise.
10317 * unwind-dw2-fde-dip.c: Likewise.
10318 * unwind-dw2-fde.c: Likewise.
10319 * unwind-dw2.c: Likewise.
10320 * unwind-sjlj.c: Likewise.
10321
f9989b51
RO
103222011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10323
10324 * configure.ac: Include ../config/picflag.m4.
10325 (GCC_PICFLAG): Call it.
10326 Substitute.
10327 * configure: Regenerate.
10328 * Makefile.in (gcc_srcdir): Remove.
10329 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10330 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10331 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10332 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10333 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10334 Use $<.
10335 Remove comment.
10336 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10337 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10338 to refer to libgcc2.c.
10339 Use $<.
10340 * config/darwin-64.c: New file.
10341 * config/darwin-crt3.c: Remove comment.
10342 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10343 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10344 config/udivmodsi4.c: New files.
10345 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10346 config/memset.c: New files.
10347 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10348 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10349 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10350 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10351 * config/t-openbsd-thread: New file.
10352 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10353 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10354 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10355 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10356 qrnnd.S.
10357 Adapt filename.
10358 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10359 to refer to gthr-posix.c.
10360 * config/alpha/t-vms (LIB2ADD): Set.
10361 * config/alpha/vms-gcc_shell_handler.c: New file.
10362 * config/arm/bpabi.c, config/arm/fp16.c,
10363 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10364 config/arm/unaligned-funcs.c: New files.
10365 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10366 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10367 * config/arm/t-linux: Likewise.
10368 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10369 * config/arm/t-netbsd: New file.
10370 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10371 * config/arm/t-symbian (LIB2ADD_ST): Set.
10372 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10373 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10374 * config/bfin/t-elf: New file.
10375 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10376 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10377 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10378 config/c6x/ltf.c: New files.
10379 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10380 (HOST_LIBGCC2_CFLAGS): Set.
10381 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10382 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10383 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10384 New files.
10385 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10386 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10387 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10388 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10389 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10390 files.
10391 * config/frv/t-frv (LIB2ADD): Set.
10392 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10393 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10394 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10395 config/h8300/popcounthi2.c: New files.
10396 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10397 * config/i386/gthr-win32.c: New file.
10398 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10399 * config/i386/t-cygwin: Likewise.
10400 * config/i386/t-darwin, config/i386/t-darwin64,
10401 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10402 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10403 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10404 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10405 * config/ia64/quadlib.c: New file.
10406 * config/ia64/t-hpux (LIB2ADD): Set.
10407 * config/ia64/t-ia64: Add comment.
10408 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10409 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10410 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10411 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10412 * config/m32c/t-m32c (LIB2ADD): Set.
10413 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10414 * config/m32r/t-m32r: Likewise.
10415 * config/m68k/fpgnulib.c: New file.
10416 * config/m68k/t-floatlib (LIB2ADD): Set.
10417 (xfgnulib.c): New target.
10418 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10419 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10420 * config/mep/t-mep (LIB2ADD): Set.
10421 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10422 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10423 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10424 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10425 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10426 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10427 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10428 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10429 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10430 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10431 New files.
10432 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10433 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10434 * config/pa/fptr.c, config/pa/lib2funcs.S,
10435 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10436 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10437 (LIB2ADD, LIB2ADD_ST): Set.
10438 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10439 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10440 Set.
10441 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10442 * config/pdp11/t-pdp11: New file.
10443 * config/picochip/libgccExtras/adddi3.S,
10444 config/picochip/libgccExtras/ashlsi3.S,
10445 config/picochip/libgccExtras/ashrsi3.S,
10446 config/picochip/libgccExtras/clzsi2.S,
10447 config/picochip/libgccExtras/cmpsi2.S,
10448 config/picochip/libgccExtras/divmod15.S,
10449 config/picochip/libgccExtras/divmodhi4.S,
10450 config/picochip/libgccExtras/divmodsi4.S,
10451 config/picochip/libgccExtras/lshrsi3.S,
10452 config/picochip/libgccExtras/parityhi2.S,
10453 config/picochip/libgccExtras/popcounthi2.S,
10454 config/picochip/libgccExtras/subdi3.S,
10455 config/picochip/libgccExtras/ucmpsi2.S,
10456 config/picochip/libgccExtras/udivmodhi4.S,
10457 config/picochip/libgccExtras/udivmodsi4.S: New files.
10458 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10459 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10460 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10461 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10462 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10463 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10464 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10465 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10466 files.
10467 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10468 (HOST_LIBGCC2_CFLAGS): Set.
10469 * config/rs6000/t-darwin64: New file.
10470 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10471 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10472 * config/rs6000/t-ppccomm (LIB2ADD): Add
10473 $(srcdir)/config/rs6000/tramp.S.
10474 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10475 Add $(srcdir)/config/rs6000/eabi.S.
10476 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10477 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10478 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10479 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10480 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10481 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10482 * config/rs6000/tramp.S: New file.
10483 * config/s390/t-tpf: Remove.
10484 * config/sh/linux-atomic.S: New file.
10485 * config/sh/t-linux (LIB2ADD): Set.
10486 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10487 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10488 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10489 to unwind-dw2.c.
10490 (HOST_LIBGCC2_CFLAGS): Set.
10491 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10492 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10493 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10494 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10495 config/spu/mfc_multi_tag_release.c,
10496 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10497 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10498 config/spu/multi3.c: New files.
10499 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10500 (HOST_LIBGCC2_CFLAGS): Set.
10501 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10502 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10503 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10504 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10505 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10506 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10507 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10508 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10509 config/stormy16/umodsi3.c: New files.
10510 * config/xtensa/lib2funcs.S: New file.
10511 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10512 * config/xtensa/t-xtensa (LIB2ADD): Set.
10513 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10514 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10515 Add t-freebsd-thread to tmake_file for posix threads.
10516 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10517 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10518 (*-*-lynxos*): Likewise.
10519 (*-*-netbsd*): Likewise.
10520 (*-*-openbsd*): Likewise.
10521 Add t-openbsd-thread to tmake_file for posix threads.
10522 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10523 (*-*-vxworks*): Set tmake_file.
10524 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10525 (alpha*-*-freebsd*): Likewise.
10526 (alpha*-*-netbsd*): Likewise.
10527 (alpha*-*-openbsd*): Likewise.
10528 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10529 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10530 (alpha*-dec-*vms*): Likewise.
10531 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10532 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10533 (bfin*-uclinux*): Likewise.
10534 (bfin*-linux-uclibc*): Likewise.
10535 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10536 (crisv32-*-none): Likewise.
10537 (cris-*-elf): Likewise.
10538 (cris-*-none): Likewise.
10539 (cris-*-linux*, crisv32-*-linux*): Likewise.
10540 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10541 tmake_file.
10542 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10543 tmake_file.
10544 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10545 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10546 (x86_64-*-elf*): Likewise.
10547 (i[34567]86-*-nto-qnx*): Likewise.
10548 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10549 win32 threads.
10550 (x86_64-*-mingw*): Likewise.
10551 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10552 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10553 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10554 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10555 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10556 tmake_file.
10557 (mipsisa64sr71k-*-elf*): Likewise.
10558 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10559 (mips-*-elf*, mipsel-*-elf*): Likewise.
10560 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10561 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10562 (mips*-*-rtems*): Likewise.
10563 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10564 to tmake_file.
10565 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10566 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10567 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10568 (spu-*-elf*): Likewise.
10569 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10570
45b86625
RO
105712011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10572
10573 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10574 $(srcdir) to refer to $(LIB1ASMSRC).
10575 Use $<.
10576 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10577 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10578 config/arm/lib1funcs.S: New files.
10579 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10580 * config/arm/t-arm: New file.
10581 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10582 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10583 config/arm/t-strongarm-elf: New files.
10584 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10585 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10586 * config/avr/lib1funcs.S: New file.
10587 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10588 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10589 * config/c6x/lib1funcs.S: New file.
10590 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10591 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10592 * config/frv/lib1funcs.S: New file.
10593 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10594 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10595 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10596 * config/ia64/__divxf3.asm: Rename to ...
10597 * config/ia64/__divxf3.S: ... this.
10598 Adapt lib1funcs.asm filename.
10599 * config/ia64/_fixtfdi.asm: Rename to ...
10600 * config/ia64/_fixtfdi.S: ... this.
10601 Adapt lib1funcs.asm filename.
10602 * config/ia64/_fixunstfdi.asm: Rename to ...
10603 * config/ia64/_fixunstfdi.S: ... this.
10604 Adapt lib1funcs.asm filename.
10605 * config/ia64/_floatditf.asm: Rename to ...
10606 * config/ia64/_floatditf.S: ... this.
10607 Adapt lib1funcs.asm filename.
10608 * config/ia64/lib1funcs.S: New file.
10609 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10610 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10611 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10612 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10613 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10614 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10615 * config/mep/lib1funcs.S: New file.
10616 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10617 * config/mips/mips16.S: New file.
10618 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10619 * config/pa/milli64.S: New file.
10620 * config/pa/t-linux, config/pa/t-linux64: New files.
10621 * config/picochip/lib1funcs.S: New file.
10622 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10623 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10624 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10625 * config/sh/t-netbsd: New file.
10626 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10627 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10628 * config/sh/t-sh64: New file.
10629 * config/sparc/lb1spc.S: New file.
10630 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10631 filename.
10632 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10633 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10634 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10635 config/xtensa/lib1funcs.S: New files.
10636 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10637 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10638 tmake_file.
10639 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10640 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10641 (arm*-*-linux*): Likewise.
10642 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10643 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10644 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10645 (arm*-*-ecos-elf): Likewise.
10646 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10647 (arm*-*-rtems*): Likewise.
10648 (arm*-*-elf): Likewise.
10649 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10650 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10651 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10652 (bfin*-uclinux*): Likewise.
10653 (bfin*-linux-uclibc*): Likewise.
10654 (bfin*-rtems*): Likewise.
10655 (bfin*-*): Likewise.
10656 (fido-*-elf): Merge into m68k-*-elf*.
10657 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10658 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10659 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10660 (h8300-*-elf*): Likewise.
10661 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10662 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10663 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10664 (i[34567]86-*-mingw*): Likewise.
10665 (x86_64-*-mingw*): Likewise.
10666 (i[34567]86-*-interix3*): Likewise.
10667 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10668 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10669 (m68k-*-elf*): Also handle fido-*-elf.
10670 Add m68k/t-floatlib to tmake_file.
10671 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10672 (m68k-*-linux*): Likewise.
10673 (m68k-*-rtems*): Likewise.
10674 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10675 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10676 sh64*-*-*.
10677 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10678 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10679 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10680 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10681 sh/t-netbsd to tmake_file.
10682 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10683 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10684 (sh-wrs-vxworks): Likewise.
10685 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10686 *-leon[3-9]*.
10687 (v850*-*-*): Add v850/t-v850 to tmake_file.
10688 (vax-*-linux*): Add vax/t-linux to tmake_file.
10689 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10690
5f73c6cc
RO
106912011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10692
10693 * crtstuff.c: New file.
10694 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10695 (CRTSTUFF_T_CFLAGS): Define.
10696 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10697 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10698 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10699 crtstuff.c.
10700 Use $<.
10701 (crtbeginT.o): Use $(objext).
10702 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10703 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10704 (gcc-extra-parts): Remove.
10705 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10706 Set extra_parts.
10707 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10708 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10709 Add t-crtstuff-pic to tmake_file.
10710 (*-*-lynxos*): New case.
10711 Set tmake_file, extra_parts.
10712 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10713 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10714 *-*-netbsdelf[2-9]*.
10715 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10716 (*-*-rtems*): Set extra_parts.
10717 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10718 (*-*-uclinux*): New case.
10719 Set extra_parts.
10720 (*-*-vms*): New case.
10721 Set tmake_file, extra_parts.
10722 (*-*-elf): Set extra_parts.
10723 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10724 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10725 vms/t-vms64.
10726 Set extra_parts.
10727 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10728 Set extra_parts.
10729 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10730 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10731 (arm-wrs-vxworks): Append to tmake_file.
10732 Set extra_parts.
10733 (arm*-*-uclinux*): Set extra_parts.
10734 (arm*-*-ecos-elf): Likewise.
10735 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10736 arm*-*-eabi*.
10737 (arm*-*-rtems*): Set extra_parts.
10738 (arm*-*-elf): Likewise.
10739 (avr-*-rtems*): Clear extra_parts.
10740 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10741 Set extra_parts.
10742 (bfin*-uclinux*): Likewise.
10743 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10744 (bfin*-rtems*): Append to tmake_file.
10745 Set extra_parts.
10746 (bfin*-*): Likewise.
10747 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10748 (crisv32-*-elf): ... this.
10749 (crisv32-*-none): ... this.
10750 (cris-*-elf, cris-*-none): New cases.
10751 Add cris/t-elfmulti to tmake_file.
10752 (fr30-*-elf): Append to tmake_file.
10753 Set extra_parts.
10754 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10755 Set extra_parts.
10756 (h8300-*-rtems*): Append to tmake_file.
10757 Set extra_parts.
10758 (h8300-*-elf*): Likewise.
10759 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10760 Set extra_parts.
10761 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10762 Set extra_parts.
10763 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10764 (x86_64-*-elf*): Likewise.
10765 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10766 (x86_64-*-freebsd*): Likewise.
10767 (x86_64-*-netbsd*): Likewise.
10768 (i[34567]86-*-linux*): Likewise.
10769 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10770 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10771 (x86_64-*-linux*): Likewise.
10772 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10773 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10774 tmake_file.
10775 Set extra_parts.
10776 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10777 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10778 Append to extra_parts, remove crtbegin.o, crtend.o.
10779 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10780 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10781 crtend.o, crtbeginS.o, crtendS.o.
10782 (ia64*-*-linux*): Comment extra_parts.
10783 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10784 Set extra_parts.
10785 (iq2000*-*-elf*): Clear extra_parts.
10786 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10787 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10788 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10789 (m32r-*-rtems*): ... this.
10790 Add m32r/t-m32r to tmake_file.
10791 (m68k-*-elf*): Add t-crtin to tmake_file.
10792 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10793 (mcore-*-elf): Likewise.
10794 (microblaze*-*-*): Set extra_parts.
10795 (mips*-sde-elf*): New case.
10796 Set tmake_file, extra_parts.
10797 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10798 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10799 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10800 tmake_file.
10801 Set extra_parts.
10802 (mipsisa64sr71k-*-elf*): Likewise.
10803 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10804 (mips-*-elf*, mipsel-*-elf*): Likewise.
10805 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10806 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10807 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10808 (mips*-*-rtems*): Likewise.
10809 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10810 (moxie-*-*): Split into ...
10811 (moxie-*-elf, moxie-*-uclinux*): ... this.
10812 Add to extra_parts, remove crtbegin.o, crtend.o.
10813 (moxie-*-rtems*): New case.
10814 Set tmake_file.
10815 Clear extra_parts.
10816 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10817 Set extra_parts.
10818 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10819 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10820 tmake_file.
10821 Set extra_parts.
10822 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10823 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10824 Set extra_parts.
10825 (powerpc-*-eabisim*): Likewise.
10826 (powerpc-*-elf*): Likewise.
10827 (powerpc-*-eabialtivec*): Likewise.
10828 (powerpc-xilinx-eabi*): Likewise.
10829 (powerpc-*-eabi*): Likewise.
10830 (powerpc-*-rtems*): Likewise.
10831 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10832 tmake_file.
10833 Set extra_parts.
10834 (powerpc-*-lynxos*): Add to tmake_file.
10835 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10836 rs6000/t-crtstuff, t-crtstuff-pic.
10837 Set extra_parts.
10838 (powerpcle-*-eabisim*): Likewise.
10839 (powerpcle-*-eabi*): Likewise.
10840 (rx-*-elf): Remove extra_parts.
10841 (s390x-ibm-tpf*): Set extra_parts.
10842 (score-*-elf): Set extra_parts.
10843 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10844 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10845 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10846 (sh64l*-*-netbsd*): Split into ...
10847 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10848 Add t-crtstuff-pic to tmake_file.
10849 Set extra_parts.
10850 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10851 Set extra_parts.
10852 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10853 (sparc-*-elf*): Remove t-crtin from tmake_file.
10854 Add to extra_parts, remove crtbegin.o, crtend.o.
10855 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10856 (sparc64-*-linux*): Likewise.
10857 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10858 Add to extra_parts, remove crtbegin.o, crtend.o.
10859 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10860 Add to extra_parts, remove crtbegin.o, crtend.o.
10861 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10862 Add to extra_parts, remove crtbegin.o, crtend.o.
10863 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10864 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10865 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10866 Set extra_parts.
10867 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10868 Set extra_parts.
10869 (tic6x-*-*): Change to ...
10870 (tic6x-*-elf): ... this.
10871 Set extra_parts.
10872 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10873 Set extra_parts.
10874 (am33_2.0-*-linux*): Add comment.
10875 (mep*-*-*): Add mep/t-mep to tmake_file.
10876 Set extra_parts.
10877 * config/alpha/t-vms: New file.
10878 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10879 * config/arm/crti.S, config/arm/crtn.S: New files.
10880 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10881 * config/bfin/crtlibid.S: New file.
10882 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10883 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10884 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10885 (crti.o, crtin.o): New rules.
10886 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10887 * config/c6x/t-uclinux: New file.
10888 * config/cris/t-elfmulti: New file.
10889 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10890 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10891 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10892 * config/frv/t-frv: New file.
10893 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10894 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10895 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10896 New files.
10897 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10898 refer to cygming-crtbegin.c, cygming-crtend.c.
10899 Use $<.
10900 * config/i386/t-nto: New file.
10901 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10902 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10903 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10904 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10905 Use .S extension.
10906 Use $<.
10907 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10908 (crtinitS.o): New rule.
10909 * config/ia64/vms-crtinit.S: New file.
10910 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10911 * config/m32r/initfini.c: New file.
10912 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10913 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10914 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10915 * config/mep/t-mep: New file.
10916 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10917 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10918 * config/mips/crti.S, config/mips/crtn.S: New files.
10919 * config/mips/t-crtstuff: New file.
10920 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10921 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10922 (CUSTOM_CRTIN): Set.
10923 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10924 dependencies.
10925 Use $(srcdir) to refer to crti.S, crtn.S.
10926 Use .S extension, $<.
10927 * config/moxie/crti.asm: Rename to ...
10928 * config/moxie/crti.S: ... this.
10929 * config/moxie/crtn.asm: Rename to ...
10930 * config/moxie/crtn.S: ... this.
10931 * config/moxie/t-moxie: Remove.
10932 * config/pa/stublib.c: New file.
10933 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10934 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10935 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10936 * config/rs6000/t-crtstuff: New file.
10937 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10938 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10939 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10940 Make output file explicit.
10941 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10942 Make output file explicit.
10943 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10944 Make output file explicit.
10945 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10946 Make output file explicit.
10947 * config/score/crti.S, config/score/crtn.S: New files.
10948 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10949 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10950 files.
10951 * config/sh/t-sh, config/sh/t-superh: New files.
10952 * config/sparc/t-linux64: New file.
10953 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10954 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10955 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10956 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10957 * config/t-crtin: Remove.
10958 * config/t-crtstuff-pic: New file.
10959 * config/t-sol2 (CUSTOM_CRTIN): Set.
10960 (crti.o, crtn.o): New rules.
10961 * config/vms/t-vms: New file.
10962 * config/vms/vms-ucrt0.c: New file.
10963 * config/xtensa/t-elf: New file.
10964
b040f2be
RO
109652011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10966
10967 * Makefile.in (SHLIB_NM_FLAGS): Set.
10968 * mkmap-flat.awk, mkmap-symver.awk: New files.
10969 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10970 exceptions.
10971 * configure: Regenerate.
10972 * config/libgcc-glibc.ver: New file.
10973 * config/libgcc-libsystem.ver: New file.
10974 * config/t-libunwind (SHLIB_LC): Set.
10975 * config/t-linux: New file.
10976 * config/t-slibgcc (INSTALL_SHLIB): New.
10977 (SHLIB_INSTALL): Use it.
10978 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10979 to mkmap-symver.awk.
10980 (SHLIB_MAPFILES): Don't append, adapt pathname.
10981 (SHLIB_VERPFX): Set.
10982 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10983 to mkmap-symver.awk.
10984 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10985 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10986 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10987 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10988 to mkmap-flat.awk.
10989 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10990 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10991 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10992 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10993 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10994 * config/i386/libgcc-darwin.10.4.ver,
10995 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10996 New files.
10997 * config/i386/t-darwin: Remove.
10998 * config/i386/t-darwin64: Likewise.
10999 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11000 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11001 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11002 * config/i386/t-linux: New file.
11003 * config/i386/t-mingw32: New file.
11004 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11005 * config/ia64/t-glibc: Rename to ...
11006 * config/ia64/t-linux: ... this.
11007 (SHLIB_MAPFILES): Set.
11008 * config/ia64/t-glibc-libunwind: Rename to ...
11009 * config/ia64/t-linux-libunwind: ... this.
11010 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11011 * config/ia64/t-slibgcc-hpux: New file.
11012 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11013 * config/m68k/t-slibgcc-elf-ver: New file.
11014 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11015 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11016 to mkmap-flat.awk.
11017 * config/pa/t-slibgcc-hpux: New file.
11018 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11019 files.
11020 * config/rs6000/libgcc-darwin.10.4.ver,
11021 config/rs6000/libgcc-darwin.10.5.ver: New files.
11022 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11023 config/rs6000/libgcc-glibc.ver.
11024 * config/rs6000/libgcc-ppc64.ver: Rename to
11025 config/rs6000/libgcc-ibm-ldouble.ver.
11026 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11027 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11028 * config/rs6000/t-ldbl128: Rename to ...
11029 * config/rs6000/t-linux: ... this.
11030 (SHLIB_MAPFILES): Adapt filename.
11031 * config/rs6000/t-slibgcc-aix: New file.
11032 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11033 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11034 libgcc-excl.ver, libgcc-glibc.ver.
11035 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11036 * config/sparc/libgcc-glibc.ver: New file.
11037 * config/sparc/t-linux: New file.
11038 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11039 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11040 t-slibgcc-elf-ver to tmake_file.
11041 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11042 *-*-freebsd[34].
11043 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11044 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11045 t-slibgcc-elf-ver, t-linux to tmake_file.
11046 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11047 tmake_file.
11048 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11049 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11050 (alpha*-dec-*vms*): Likewise.
11051 (arm*-*-freebsd*): Append to tmake_file.
11052 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11053 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11054 arm*-*-linux-*eabi.
11055 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11056 tmake_file for arm*-*-symbianelf*.
11057 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11058 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11059 cris/t-linux.
11060 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11061 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11062 pa/t-slibgcc-dwarf-ver to tmake_file.
11063 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11064 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11065 (hppa*64*-*-hpux11*): Likewise.
11066 (hppa[12]*-*-hpux11*): Likewise.
11067 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11068 i386/t-crtpc, i386/t-crtfm.
11069 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11070 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11071 to tmake_file.
11072 Add i386/t-cygwin to tmake_file.
11073 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11074 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11075 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11076 to tmake_file.
11077 Add i386/t-mingw32 to tmake_file.
11078 (x86_64-*-mingw*): Likewise.
11079 (ia64*-*-freebsd*): Append to tmake_file.
11080 (ia64*-*-linux*): Append to tmake_file.
11081 Replace ia64/t-glibc by ia64/t-linux.
11082 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11083 system libunwind.
11084 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11085 t-slibgcc-hpux to tmake_file.
11086 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11087 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11088 (m32rle-*-linux*): Likewise.
11089 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11090 sjlj exceptions.
11091 (microblaze*-linux*): New case.
11092 Append to tmake_file, add t-slibgcc-nolc-override.
11093 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11094 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11095 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11096 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11097 rs6000/t-slibgcc-aix to tmake_file.
11098 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11099 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11100 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11101 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11102 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11103 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11104 sh*-*-linux*.
11105 (sparc-*-linux*): Append to tmake_file for *-leon*.
11106 Add sparc/t-linux to tmake_file for non-Leon targets.
11107 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11108 (tic6x-*-uclinux): New case.
11109 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11110 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11111 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11112 (am33_2.0-*-linux*): Append to tmake_file.
11113 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11114 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11115 x86_64-*-kfreebsd*-gnu.
11116 Add i386/t-linux to tmake_file.
11117
18b4bd7b
ILT
111182011-10-28 Ian Lance Taylor <iant@google.com>
11119
11120 * config/i386/morestack.S: Correct CFI information to do proper
11121 returns throughout function. In 32-bit mode, save %ebx so that it
11122 is restored on unwind.
11123
5b2d9d90
BS
111242011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11125
11126 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11127 case where B3 isn't the return register.
11128
0d53e346
BS
11129 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11130 logic for doubleword pops.
11131
cbffbd59
AT
111322011-10-25 Andreas Tobler <andreast@fgznet.ch>
11133
11134 * config/rs6000/t-freebsd: Add wildcard.
11135
56dc349e
PB
111362011-10-21 Paul Brook <paul@codesourcery.com>
11137
11138 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11139
1e06b07d
UB
111402011-10-16 Uros Bizjak <ubizjak@gmail.com>
11141 Eric Botcazou <ebotcazou@adacore.com>
11142
11143 PR target/50737
11144 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11145 fs->signal_frame to 1.
11146
b5204884
ILT
111472011-10-07 Ian Lance Taylor <iant@google.com>
11148
11149 * generic-morestack-thread.c: #include <errno.h>.
11150
91a639a1
ILT
111512011-10-07 Ian Lance Taylor <iant@google.com>
11152
11153 PR target/46093
11154 * generic-morestack.c (__generic_morestack): Make sure the segment
11155 is large enough for both the stack frame and the copied
11156 parameters.
11157
cc49116d
RO
111582011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11159
11160 PR bootstrap/49804
11161 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11162 extra_parts.
11163
2996d8c3
NC
111642011-09-28 Nick Clifton <nickc@redhat.com>
11165
11166 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11167 64-bit doubles are not enabled.
11168 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11169 and floatunsisf functions.
11170
1e874273 111712011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 11172
1e874273
PB
11173 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11174 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11175 * unwind-arm-common.inc: New file.
11176 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11177 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11178 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11179 * config/c6x/libunwind.S: New file.
11180 * config/c6x/pr-support.c: New file.
11181 * config/c6x/unwind-c6x.c: New file.
11182 * config/c6x/unwind-c6x.h: New file.
11183 * config/c6x/t-c6x-elf: New file.
11184
f70c879a
UB
111852011-08-23 Uros Bizjak <ubizjak@gmail.com>
11186
11187 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11188 (ASM_DIVZERO): Ditto.
11189 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11190
c55b374b
RS
111912011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11192
11193 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11194
1e138510
RS
111952011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11196
11197 PR target/50090
11198 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11199 instead of an assembly one.
11200
1563503d
PB
112012011-08-12 Paolo Bonzini <bonzini@gnu.org>
11202
11203 PR bootstrap/50047
11204 * Makefile.in (install-unwind_h): Create
11205 $(gcc_objdir)/include/unwind.h atomically.
11206
3627ac1a
RO
112072011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11208
11209 * Makefile.in (install-unwind_h): Remove destination file first.
11210
c6412d86
RO
112112011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11212
11213 * sync.c: New file.
11214 * config/mips/t-mips16: New file.
11215 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11216 (mips*-*-linux*): Likewise.
11217 (mips*-sde-elf*): Likewise.
11218 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11219 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11220 Add mips/t-mips16 to tmake_file.
11221 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11222 (mips-*-elf*): Likewise.
11223 (mips64-*-elf*): Likewise.
11224 (mips64orion-*-elf*): Likewise.
11225 (mips*-*-rtems*): Likewise.
11226 (mipstx39-*-elf*): Likewise.
11227 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11228 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11229 LIBGCC_SYNC_CFLAGS.
11230 Use $(srcdir) to refer to sync.c.
11231 Use $<.
11232 ($(libgcc-sync-funcs-o)): Likewise.
11233 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11234 ($(libgcc-sync-funcs-s-o)): Likewise.
11235
3cb6e5bd
AS
112362011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11237
11238 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11239 t-libunwind.
11240
cca2207a
L
112412011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11242
11243 PR other/48007
11244 * config/i386/value-unwind.h: New.
11245
ed39fbad
RS
112462011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11247
11248 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11249 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11250 Add to tmake_file rather than overriding it.
11251
aca0b0b3
RO
112522011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11253
11254 * config/t-softfp: Remove.
11255 * soft-fp: Moved from ../gcc/config.
11256 * soft-fp/README: Remove t-softfp reference.
11257 * soft-fp/t-softfp: Move to config/t-softfp.
11258 (softfp_machine_header): Remove.
11259 (softfp_file_list): Remove config subdir.
11260 (soft-fp-objects): New variable.
11261 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11262 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11263 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11264 * config/t-softfp-excl: New file.
11265 * config/t-softfp-sfdf: New file.
11266 * config/t-softfp-tf: New file.
11267 * config/no-sfp-machine.h: New file.
11268 * config/arm/sfp-machine.h: New file.
11269 * config/arm/t-softfp: New file.
11270 * config/c6x/sfp-machine.h: New file.
11271 * config/i386/32/t-fprules-softfp: Rename to ...
11272 * config/i386/32/t-softfp: ... this.
11273 (tifunctions, LIB2ADD): Remove.
11274 (softfp_int_modes): Override.
11275 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11276 subdir.
11277 * config/i386/64/eqtf2.c: Likewise.
11278 * config/i386/64/getf2.c: Likewise.
11279 * config/i386/64/letf2.c: Likewise.
11280 * config/ia64/sft-machine.h: New file.
11281 * config/ia64/t-fprules-softfp: Rename to ...
11282 * config/ia64/t-softfp: ... this.
11283 * config/lm32/sfp-machine.h: New file.
11284 * config/moxie/t-moxie-softfp: Remove.
11285 * config/rs6000/ibm-ldouble-format: New file.
11286 * config/rs6000/ibm-ldouble.c: New file.
11287 * config/rs6000/libgcc-ppc-glibc.ver: New file
11288 * config/rs6000/libgcc-ppc64.ver: New file
11289 * config/rs6000/sfp-machine.h: New file.
11290 * config/rs6000/t-freebsd: New file.
11291 * config/rs6000/t-ibm-ldouble: New file.
11292 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11293 libgcc-ppc-glibc.ver.
11294 * config/rs6000/t-linux64: New file.
11295 * config/rs6000/t-ppccomm (LIB2ADD): Add
11296 $(srcdir)/config/rs6000/ibm-ldouble.c.
11297 * config/rs6000/t-ppccomm-ldbl: New file.
11298 * config/score/sfp-machine.h: New file.
11299 * config.host (sfp_machine_header): Explain.
11300 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11301 t-softfp to tmake_file.
11302 (arm*-*-uclinux*): Likewise.
11303 (arm*-*-ecos-elf): Likewise.
11304 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11305 (arm*-*-rtems*): Likewise.
11306 (arm*-*-elf): Likewise.
11307 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11308 in tmake_file.
11309 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11310 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11311 (lm32-*-uclinux*): Likewise.
11312 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11313 t-softfp-excl, t-softfp.
11314 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11315 (powerpc64-*-darwin*): Likewise.
11316 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11317 to tmake_file.
11318 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11319 tmake_file.
11320 (powerpc-*-eabisim*): Likewise.
11321 (powerpc-*-elf*): Likewise.
11322 (powerpc-*-eabialtivec*): Likewise.
11323 (powerpc-xilinx-eabi*): Likewise.
11324 (powerpc-*-rtems*): Likewise.
11325 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11326 t-softfp-excl, t-softfp to tmake_file.
11327 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11328 rs6000/t-ppccomm-ldbl to tmake_file.
11329 (powerpcle-*-elf*): Likewise.
11330 (powerpcle-*-eabisim*): Likewise.
11331 (powerpcle-*-eabi*): Likewise.
11332 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11333 rs6000/t-ibm-ldouble to tmake_file.
11334 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11335 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11336 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11337 (tic6x-*-*): Likewise.
11338 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11339 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11340 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11341 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11342 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11343 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11344 t-softfp to tmake_file.
11345 * configure.ac (sfp_machine_header): Provide default if unset.
11346 Substitute.
11347 Link sfp-machine.h to config/$sfp_machine_header.
11348 * configure: Regenerate.
11349
569dc494
RO
113502011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11351
11352 * Makefile.in (double_type_size, long_double_type_size): Set.
11353 Remove $(fpbit-in-libgcc) support.
11354 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11355 (fpbit-src): New variable.
11356 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11357 Compile with -DFLOAT $(FPBIT_CFLAGS).
11358 Use $<.
11359 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11360 Compile with $(FPBIT_CFLAGS).
11361 Use $<.
11362 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11363 Compile with -DFLOAT $(TPBIT_CFLAGS).
11364 Use $<.
11365 * configure.ac (double_type_size, long_double_type_size):
11366 Determine and substitute.
11367 * configure: Regenerate.
11368 * fp-bit.c, fp-bit.h: New files.
11369 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11370 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11371 * config/mips/t-mips: New file.
11372 * config/mips/t-sdemtk: New file.
11373 * config/rs6000/ppc64-fp.c: New file.
11374 * config/rs6000/t-darwin (LIB2ADD): Add
11375 $(srcdir)/config/rs6000/ppc64-fp.c.
11376 * config/rs6000/t-ppc64-fp: New file.
11377 * config/rx/rx-lib.h: New file.
11378 * config/rx/t-rx (FPBIT): Set to true.
11379 ($(gcc_objdir)/fp-bit.c): Remove.
11380 (DPBIT): Set to true only with -m64bit-doubles.
11381 ($(gcc_objdir)/dp-bit.c): Remove.
11382 * config/sparc/t-softfp: Remove.
11383 * config/spu/t-elf: New file.
11384 * config/t-fdpbit, config/t-fpbit: New files.
11385 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11386 (mips*-*-*): Likewise.
11387 (arm-wrs-vxworks): Likewise.
11388 (arm*-*-freebsd*): Likewise.
11389 (avr-*-rtems*): Add t-fpbit to tmake_file.
11390 (avr-*-*): Likewise.
11391 (bfin*-elf*): Add t-fdpbit to tmake_file.
11392 (bfin*-uclinux*): Likewise.
11393 (bfin*-linux-uclibc*): Likewise.
11394 (bfin*-rtems*): New case.
11395 Add t-fdpbit to tmake_file.
11396 (bfin*-*): Add t-fdpbit to tmake_file.
11397 (crisv32-*-elf): Likewise.
11398 (cris-*-linux*): Likewise.
11399 (fr30-*-elf): Likewise.
11400 (frv-*-elf, frv-*-*linux*): Likewise.
11401 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11402 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11403 (m32r-*-elf*): Likewise.
11404 (m32rle-*-elf*): Likewise.
11405 (m32r-*-linux*): Likewise.
11406 (m32rle-*-linux*): Likewise.
11407 (mcore-*-elf): Add t-fdpbit to tmake_file.
11408 (microblaze*-*-*): Likewise.
11409 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11410 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11411 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11412 Fix typo.
11413 Add mips/t-tpbit to tmake-file.
11414 (mips*-*-linux*): Fix typo.
11415 (mips*-sde-elf*): New case
11416 Add mips/t-sdemtk unless using newlib.
11417 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11418 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11419 (mn10300-*-*): Likewise.
11420 (pdp11-*-*): Likewise.
11421 (picochip-*-*): Add t-fpbit to tmake_file.
11422 (powerpc-*-eabisimaltivec*): Likewise.
11423 (powerpc-*-eabisim*): Likewise.
11424 (powerpc-*-elf*): Likewise.
11425 (powerpc-*-eabialtivec*): Likewise.
11426 (powerpc-xilinx-eabi*): New case.
11427 Add t-fdpbit to tmake_file.
11428 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11429 (powerpc-*-rtems*): Likewise.
11430 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11431 tmake_file.
11432 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11433 tmake_file.
11434 (powerpc-*-lynxos*): Likewise.
11435 (powerpcle-*-elf*): Likewise.
11436 (powerpcle-*-eabisim*): Likewise.
11437 (powerpcle-*-eabi*): Likewise.
11438 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11439 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11440 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11441 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11442 (rx-*-elf): Add t-fdpbit to tmake_file.
11443 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11444 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11445 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11446 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11447 sh*-*-netbsd*.
11448 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11449 (sh-wrs-vxworks): Likewise.
11450 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11451 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11452 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11453 (sparc64-*-rtems*): ... new case.
11454 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11455 (spu-*-elf*): Likewise.
11456 Add spu/t-elf to tmake_file.
11457 (v850*-*-*): Add t-fdpbit to tmake_file.
11458 (xstormy16-*-elf): Likewise.
11459 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11460 (mep*-*-*): Likewise.
11461
201cdb74
RO
114622011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11463
11464 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11465 variables.
11466 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11467 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11468 (install-unwind_h): New target.
11469 (all): Depend on it.
11470 * config.host (unwind_header): New variable.
11471 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11472 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11473 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11474 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11475 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11476 Set unwind_header.
11477 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11478 Set unwind_header.
11479 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11480 arm*-*-eabi*.
11481 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11482 Set unwind_header.
11483 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11484 (ia64*-*-freebsd*): Likewise.
11485 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11486 tmake_file.
11487 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11488 $with_system_libunwind.
11489 (ia64*-*-hpux*): Set tmake_file.
11490 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11491 (picochip-*-*): Set tmake_file.
11492 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11493 md_unwind_header.
11494 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11495 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11496 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11497 (xtensa*-*-elf*): Set tmake_file.
11498 (xtensa*-*-linux*): Likewise.
11499 * configure.ac: Include ../config/unwind_ipinfo.m4.
11500 Call GCC_CHECK_UNWIND_GETIPINFO.
11501 Link unwind.h to $unwind_header.
11502 * configure: Regenerate.
11503 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11504 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11505 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11506 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11507 * config/unwind-dw2-fde-darwin.c: New file.
11508 * config/arm/libunwind.S, config/arm/pr-support.c,
11509 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11510 config/arm/unwind-arm.h,: New files.
11511 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11512 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11513 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11514 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11515 config/ia64/unwind-ia64.h: New files.
11516 * config/picochip/t-picochip: New file.
11517 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11518 files.
11519 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11520 * config/s390/t-tpf (LIB2ADDEH): Remove.
11521 * config/t-darwin (LIB2ADDEH): Set.
11522 * config/t-eh-dw2-dip: New file.
11523 * config/t-libunwind, config/t-libunwind-elf: New files.
11524 * config/t-sol2 (LIB2ADDEH): Remove.
11525 * config/xtensa/t-xtensa: New file.
11526
40f2f11f
L
115272011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11528
11529 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11530 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11531 long long to check rt_sigreturn syscall.
11532
bd15e32c
AM
115332011-08-02 Alan Modra <amodra@gmail.com>
11534
11535 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11536 Restore for indirect call bcrtl from correct stack slot, and only
11537 if cfa+40 isn't valid.
11538
655b30bf
JB
115392011-08-01 Julian Brown <julian@codesourcery.com>
11540
11541 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11542 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11543 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11544
247eb06f
JB
115452011-08-01 Julian Brown <julian@codesourcery.com>
11546
11547 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11548 (libgcc-std.ver.in): Use above.
11549 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11550 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11551 throughout file.
11552 * config/t-fixedpoint-gnu-prefix: New file.
11553 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11554 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11555 instead of __PFX__.
11556
02a8fe00
L
115572011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11558
11559 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11560 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11561 for x86-64. Properly check __x86_64__ and __LP64__.
11562
5fce9126
L
115632010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11564
11565 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11566 version.
11567 (_FP_WS_TYPE): Likewise.
11568 (_FP_I_TYPE): Likewise.
11569
2374a88a
AM
115702011-07-28 Alan Modra <amodra@gmail.com>
11571
11572 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11573 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11574 in a plt call stub. Do restore r2 if stopped on bctrl.
11575
e44dbbe1
RO
115762011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11577
11578 * config.host (i[3456x]86-*-netware*): Remove.
11579 * config/i386/netware-crt0.c, config/i386/t-nwld,
11580 config/i386/t-slibgcc-nwld: Remove.
11581
bcead286
BS
115822011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11583
11584 * config.host: Handle tic6x-*-*.
11585 * config/c6x/c6x-abi.h: New file.
11586
b3fe1584
RO
115872011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11588
11589 * config/i386/crtprec.c: New file.
11590 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11591 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11592 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11593 (x86_64-*-darwin*): Likewise.
11594 (i[34567]86-*-solaris2*: Likewise.
11595
35d8090d
RO
115962011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11597
11598 * config/alpha/crtfastmath.c: New file.
11599 * config/i386/crtfastmath.c: New file.
11600 * config/ia64/crtfastmath.c: New file.
11601 * config/mips/crtfastmath.c: New file.
11602 * config/sparc/crtfastmath.c: New file.
11603
11604 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11605 crtfastmath.c.
11606 Add -frandom-seed=gcc-crtfastmath.
11607 * config/alpha/t-crtfm: Remove.
11608 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11609 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11610
11611 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11612 (alpha*-dec-osf5.1*): Likewise.
11613 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11614 Add crtfastmath.o to extra_parts.
11615 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11616 Add crtfastmath.o to extra_parts.
11617 (x86_64-*-darwin*): Likewise.
11618 (x86_64-*-mingw*): Likewise.
11619 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11620 (ia64*-*-freebsd*): Likewise.
11621 (ia64*-*-linux*): Likewise.
11622 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11623 Add crtfastmath.o to extra_parts.
11624
e141542e
RO
116252011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11626
11627 * config/darwin-crt3.o: New file.
11628 * config/rs6000/darwin-crt2.c: New file.
11629 * config/t-darwin: New file.
11630 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11631 (crt2.o): New rule.
11632 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11633 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11634 (powerpc64-*-darwin*): Likewise.
11635
2d1efe2d
RO
116362011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11637
11638 * config/i386/netware-crt0.c: New file.
11639 * config/i386/t-nwld: Rename to ...
11640 * config/i386/t-slibgcc-nwld: ... this.
11641 * config/i386/t-nwld: New file.
11642 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11643 tmake_file.
11644 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11645 extra_parts.
11646
4a8bb046
RO
116472011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11648
11649 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11650 i386/t-crtstuff.
11651 * configure: Regenerate.
11652
2d8d5935
RO
116532011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11654
11655 * dfp-bit.c, dfp-bit.h: New files.
11656 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11657 variables.
11658 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11659 ($(d64pbit-o)): Likewise.
11660 ($(d128pbit-o)): Likewise.
11661 * config/t-dfprules: New file.
11662 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11663 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11664 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11665 (x86_64-*-linux*): Likewise.
11666 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11667 (i[34567]86-*-cygwin*): Likewise.
11668 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11669 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11670
2c50b2c3
RO
116712011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11672
11673 * Makfile.in (LIBGCOV): New variable.
11674 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11675 * libgcov.c: New file.
11676
a039d7c2
RO
116772011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11678
11679 * fixed-bit.c, fixed-bit.h: New files.
11680 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11681 refer to fixed-bit.c.
11682
1e4b2746
JM
116832011-07-07 Joseph Myers <joseph@codesourcery.com>
11684
11685 * config.host (*local*): Remove.
11686
fbdd5d87
RO
116872011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11688
11689 PR target/39150
11690 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11691 like i?86-*-solaris2.1[0-9]*.
11692 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11693 * configure.ac (i?86-*-solaris2*): Likewise.
11694 * configure: Regenerate.
11695
9e7714f4
TS
116962011-07-06 Thomas Schwinge <thomas@schwinge.name>
11697
11698 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11699 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11700 md_unwind_header by splitting out of...
11701 (i[34567]86-*-linux*): ... this.
11702 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11703 Remove md_unwind_header by splitting out of...
11704 (x86_64-*-linux*): ... this.
11705
6dab9931
GJL
117062011-07-04 Georg-Johann Lay <avr@gjlay.de>
11707
11708 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11709
4be46d19
NC
117102011-06-28 Nick Clifton <nickc@redhat.com>
11711
11712 * config.host: Recognize all V850 variants.
11713
1da9434b
UB
117142011-06-22 Uros Bizjak <ubizjak@gmail.com>
11715
11716 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11717
e4d48a4d
RO
117182011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11719
11720 * shared-object.mk (c_flags-$o): Save c_flags.
11721 ($(base)$(objext)): Use it.
11722 ($(base)_s$(objext)): Likewise.
11723
3801c801
BS
117242011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11725
11726 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11727 * libgcc-std.ver.in (GCC_4.7.0): New section.
11728
0ad8bb3b 117292011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 11730
0ad8bb3b
GJL
11731 PR target/49313
11732 PR target/29524
11733 * config/avr/t-avr: Fix line endings.
11734 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11735 _parityXX2.
11736
ea963999
OH
117372011-06-14 Olivier Hainque <hainque@adacore.com>
11738 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11739
11740 * config/mips/irix6-unwind.h: New file.
11741 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11742
b11b0904
EB
117432011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11744
11745 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11746 (sparc64_fallback_frame_state): Use it.
11747 (sparc64_frob_update_context): Further adjust context.
11748 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11749 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11750 * config/sparc/sol2-cn.S: Likewise.
11751
10e48e39
RO
117522011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11753
11754 * enable-execute-stack-empty.c: New file.
11755 * enable-execute-stack-mprotect.c: New file.
11756 * config/i386/enable-execute-stack-mingw32.c: New file.
11757 * config.host (enable_execute_stack): New variable.
11758 Select appropriate variants.
11759 * configure.ac: Link enable-execute-stack.c to
11760 $enable_execute_stack.
11761 * configure: Regenerate.
11762 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11763 (lib2funcs): Remove _enable_execute_stack.
11764
10c4cabc
DM
117652011-06-09 David S. Miller <davem@davemloft.net>
11766 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11767
11768 * config.host (sparc-*-linux*): Correct md_unwind_header
11769 filename.
11770 (s390x-ibm-tpf*): Fix typo.
11771
aa4203e7
RO
117722011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11773
11774 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11775 Add crtfastmath.o to extra_parts.
11776 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11777 mips/t-crtfm.
11778 * config/mips/t-crtfm: Remove.
11779
0defd786
JDA
117802011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11781
11782 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11783
82f247af
KK
117842011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11785
11786 * config.host (sh*-*-linux*): Fix typo.
11787
58cd1d70
RO
117882011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11789
11790 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11791 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11792 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11793 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11794 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11795 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11796 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11797 Wrap in !__MINGW64__.
11798 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11799 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11800 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11801 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11802 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11803 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11804 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11805 Wrap in !__LP64__.
11806 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11807 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11808 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11809 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11810 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11811 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11812 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11813 * config/no-unwind.h: New file.
11814 * config.host (md_unwind_header): Document.
11815 Define.
11816 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11817 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11818 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11819 hppa[12]*-*-hpux11*): Set md_unwind_header.
11820 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11821 Set md_unwind_header.
11822 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11823 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11824 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11825 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11826 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11827 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11828 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11829 md_unwind_header.
11830 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11831 * configure: Regenerate.
11832
737346fa
RO
118332011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11834
11835 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11836 Set tmake_file, extra_parts.
11837 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11838 Remove O32 support.
11839 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11840 Remove O32 support.
11841 * config/mips/t-irix6: New file.
11842 * config/mips/t-slibgcc-irix: New file.
11843
c192cee6
RO
118442011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11845
11846 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11847 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11848
ee33b5f0
RO
118492011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11850
11851 * configure.ac (target_thread_file): Determine thread model.
11852 * configure: Regenerate.
11853 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11854 * config/alpha/t-alpha: New file.
11855 * config/alpha/t-crtfm: Use $<.
11856 * config/alpha/t-ieee: New file.
11857 * config/alpha/t-osf-pthread: New file.
11858 * config/alpha/t-slibgcc-osf: New file.
11859 * config/alpha/libgcc-osf5.ver: New file.
11860
0699e415
RO
118612011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11862
11863 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11864 tmake_file.
11865 Add crtfastmath.o to extra_parts.
11866
a3fab9c2
RO
118672011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11868
11869 * config/gmon-sol2.c: Reindent.
11870 Cleanup comments.
11871 Remove, correct casts.
11872 Use STDERR_FILENO, NULL.
11873 (BASEADDRESS): Remove.
11874 (minbrk): Remove.
11875 (errno, sbrk): Remove declarations.
11876 (monstartup) [hp300]: Remove.
11877 (mcount): Remove.
11878
ca24c5ad
RO
118792011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11880
11881 * Makefile.in (cpu_type): Define.
11882 * config.host (i[34567]86-*-rtems*): Handle it.
11883 (i[34567]86-*-solaris2*): Move body ...
11884 (*-*-solaris2*): ... here.
11885 New case, generalize.
11886 (sparc-*-elf*): Handle it.
11887 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11888 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11889 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11890 Fold into ...
11891 (sparc*-*-solaris2*): ... this.
11892 New case.
11893 (sparc64-*-elf*): Handle it.
11894 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11895 Merge ../gcc/config/i386/gmon-sol2.c.
11896 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11897 Use C comments.
11898 Merge ../gcc/config/i386/sol2-gc1.asm.
11899 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11900 Use C comments.
11901 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11902 Use C comments.
11903 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11904 * config/i386/t-crtstuff: New file.
11905 * config/i386/t-softfp: New file.
11906 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11907 $(T)crti.o, $(T)crtn.o): Remove.
11908 (gcrt1.o): New rule.
11909 (TARGET_LIBGCC2_CFLAGS): Remove.
11910 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11911 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11912 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11913 * config/sparc/t-sol2: New file.
11914 * config/sparc/t-crtfm: Move to ...
11915 * config/t-crtfm: ... this.
11916 Use $(cpu_type), $<.
11917 * config/t-crtin: New file.
11918 * config/sparc/t-softfp: New file.
11919 * config/sparc/t-softmul: New file.
11920 * config/t-rtems: New file.
11921 * config/t-slibgcc: New file.
11922 * config/t-slibgcc-elf-ver: New file.
11923 * config/t-slibgcc-gld: New file.
11924 * config/t-slibgcc-sld: New file.
11925 * config/t-sol2: New file.
11926 * configure.ac: Include ../config/lib-ld.m4.
11927 Call AC_LIB_PROG_LD_GNU.
11928 Substitute cpu_type.
11929 * configure: Regenerate.
11930
ad5f3d7b
BS
119312011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11932
11933 PR bootstrap/49173
11934 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11935 libgcc-std.ver in the build directory.
11936 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11937 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11938
cdbf4541
BS
119392011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11940
11941 * libgcc-std.ver.in: New file.
11942 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11943 variables.
11944 (libgcc-std.ver): New rule.
11945 * config/t-gnu-prefix: New file.
11946
c8028650
RO
119472011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11948
11949 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11950
4a68b4ca
JM
119512011-05-10 Joseph Myers <joseph@codesourcery.com>
11952
11953 * config/i386/darwin-lib.h: New file.
11954
80cf2e08
JM
119552011-05-10 Joseph Myers <joseph@codesourcery.com>
11956
11957 * config/arm/symbian-lib.h: New.
11958
a3330c9d
CD
119592011-05-04 Chris Demetriou <cgd@google.com>
11960
11961 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11962 (__x86.get_pc_thunk.bx): ...this.
11963 (__morestack): Adjust for rename, remove undef of __i686.
11964
6ace0756
CD
119652011-05-03 Chris Demetriou <cgd@google.com>
11966
11967 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11968
ebb9f8b0
JM
119692011-03-22 Joseph Myers <joseph@codesourcery.com>
11970
11971 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11972 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11973 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11974 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11975 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11976 Remove cases.
11977
9cfa1499
AT
119782011-03-14 Andreas Tobler <andreast@fgznet.ch>
11979
11980 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11981 Adjust copyright year.
11982
457186f6
ILT
119832011-03-07 Ian Lance Taylor <iant@google.com>
11984
11985 * generic-morestack.c (__splitstack_find): Adjust returned stack
11986 pointer to include all registers pushed by __morestack.
11987
58c741a6
DK
119882011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11989
11990 PR target/40125
11991 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11992 (toolexecdir): Calculate and AC_SUBST.
11993 (toolexeclibdir): Likewise.
11994 * Makefile.in (target_noncanonical): Import.
11995 (toolexecdir): Likewise.
11996 (toolexeclibdir): Likewise.
11997 * configure: Regenerate.
11998
26716c44
NF
119992010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12000
12001 PR target/46040
12002 * config/arm/bpabi.h: Rename to...
12003 * config/arm/bpabi-lib.h: ...this.
12004
b595b1a1
RO
120052010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12006
12007 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12008 appropriate.
12009 * configure: Regenerate.
12010
a3abe41c
NF
120112010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12012
12013 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12014 __FLOAT_WORD_ORDER__.
12015 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12016 Delete.
12017
455c8f48
RW
120182010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12019
12020 PR other/46202
12021 * Makefile.in (install-strip): New phony target.
12022
f3824a8b
ILT
120232010-11-07 Ian Lance Taylor <iant@google.com>
12024
12025 PR target/46089
12026 * config/i386/morestack.S (__morestack_large_model): New
12027 function.
12028
18ed6ee4
NF
120292010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12030
12031 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12032 Delete.
12033 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12034
8ac7fdcb
NF
120352010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12036
12037 * config/arm/bpabi.h: New file.
12038 * config/frv/frv-abi.h: New file.
12039
cdb388c2
ILT
120402010-10-01 Ian Lance Taylor <iant@google.com>
12041
12042 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12043 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12044
ef7c141c
L
120452010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12046
12047 PR target/45858
12048 * config.host: Add the missing `$'.
12049
80920132
ME
120502010-09-30 Michael Eager <eager@eagercon.com>
12051
12052 * config.host: Add microblaze*-*-*.
12053 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12054 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12055 udivsi3.asm,umodsi3.asm}: New.
12056
6dace308
ILT
120572010-09-28 Ian Lance Taylor <iant@google.com>
12058
12059 * configure.ac: Adjust CFI test to test assembler directly rather
12060 than checking gcc preprocessor macro.
12061 * configure: Rebuild.
12062
b6110d6d
ILT
120632010-09-27 Ian Lance Taylor <iant@google.com>
12064
12065 * configure.ac: Test whether assembler supports CFI directives.
12066 * config.host: Only add t-stack and i386/t-stack-i386 to
12067 tmake_file if libgcc_cv_cfi is "yes".
12068 * configure: Rebuild.
12069
7458026b
ILT
120702010-09-27 Ian Lance Taylor <iant@google.com>
12071
12072 * generic-morestack.h: New file.
12073 * generic-morestack.c: New file.
12074 * generic-morestack-thread.c: New file.
12075 * config/i386/morestack.S: New file.
12076 * config/t-stack: New file.
12077 * config/i386/t-stack-i386: New file.
12078 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12079 i386/t-stack-i386 to tmake_file.
12080
5b50fc0c
IS
120812010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12082
12083 * Makefile.in (libgcc-extra-parts): Check for static archives and
12084 invoke ranlib after installing them.
12085 (gcc-extra-parts): Likewise.
12086 (install-leaf): Likewise.
12087
b93cf342
L
120882010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12089
12090 * configure: Regenerated.
12091
996b42ef
KT
120922010-09-10 Kai Tietz <kai.tietz@onevision.com>
12093
b93cf342 12094 * configure: Regenerated.
996b42ef 12095
be1c764e
GP
120962010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12097 Andrew Pinski <pinskia@gmail.com>
12098
1da9434b 12099 PR target/40959
be1c764e
GP
12100 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12101
cc0ae0ca
L
121022010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12103
12104 PR target/45524
12105 * configure: Regenerated.
12106
84f47d20
AS
121072010-09-06 Andreas Schwab <schwab@redhat.com>
12108
12109 * configure: Regenerate.
12110
4159fb8d
UB
121112010-09-03 Uros Bizjak <ubizjak@gmail.com>
12112
12113 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12114 64bit targets.
12115 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12116 for 64bit targets.
12117
0df8fcc8
UB
121182010-09-03 Uros Bizjak <ubizjak@gmail.com>
12119 Iain Sandoe <iains@gcc.gnu.org>
12120
12121 PR target/45476
12122 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12123 LIB2FUNCS_EXCLUDE functions.
12124
3c39bca6
AK
121252010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12126
12127 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12128 Include dfp.m4.
12129 * configure: Regenerate.
12130
d78552bd
UB
121312010-09-01 Uros Bizjak <ubizjak@gmail.com>
12132
12133 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12134 i386/t-freebsd to tmake_file.
12135 * config/i386/t-freebsd: New file.
12136 * config/i386/libgcc-bsd.ver: New file.
12137
c5b79d4e
NF
121382010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12139
12140 * config.host (powerpc*-eabispe*): Set tmake_file.
12141 (powerpc*-eabi*): Likewise.
12142 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12143 crtbeginS, crtendS, crtbeginT.
12144
48b09a92
KH
121452010-06-12 Kazu Hirata <kazu@codesourcery.com>
12146
12147 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12148 to tmake_file. Add crtfastmath.o to extra_parts.
12149 * config/mips/t-crtfm: New.
12150
7d296953 121512010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
12152
12153 * config.host (sparc64-*-rtems*): New target.
12154
ed104137
RO
121552010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12156
12157 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12158 assembler syntax.
12159
3f56ef8b
TS
121602010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12161
12162 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12163
8c200350
RO
121642010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12165
12166 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12167 alpha-dec-osf5.0* support.
12168
7d296953 121692010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
12170
12171 * config.host: Add lm32-*-rtems*.
12172
f128db92 121732010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 12174 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
12175
12176 PR target/39048
12177 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12178 like other remaining 32-bit x86 OSes.
12179 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12180 assembler syntax.
12181 * config/i386/libgcc-sol2.ver: New file.
12182 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12183
7d296953 121842010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
12185
12186 PR c/43553
12187 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12188 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12189 is used and substitute set_use_emutls.
12190 * configure: Regenerated.
12191
15baf7f8
TG
121922010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12193
12194 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12195
7f5441df
RO
121962010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12197
12198 PR target/38085
12199 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12200 MULTILIB_CFLAGS.
12201 ($(T)gcrt1.o): Likewise.
12202 ($(T)crt1.o): Likewise.
12203 ($(T)crti.o): Likewise.
12204 ($(T)crtn.o): Likewise.
12205
ef74edbd
RW
122062010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12207
12208 PR other/42980
12209 * Makefile.in (install): Use $(MAKE) string in rule, for
12210 parallel make.
12211
e7c914db
HPN
122122010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12213
12214 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12215 * config/mmix/t-mmix: New file.
12216 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12217
1bcb71c4
JH
122182010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12219
12220 PR java/41991
12221 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12222 SHLIB_MAPFILES.
12223
e6e50811
AG
122242010-01-04 Anthony Green <green@moxielogic.com>
12225
12226 * config/moxie/crti.asm, config/moxie/crtn.asm,
12227 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12228 config/moxie/t-moxie: New files.
12229 * config.host: Add t-moxie-softfp reference.
12230
7d296953 122312009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
12232
12233 PR other/39888
12234 * config/t-slibgcc-darwin: Fix embedded rpaths for
12235 --enable-version-specific-runtime-libs, build extension stub
12236 libs exposing features available from current libgcc_s.
12237
7d296953 122382009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 12239
d78552bd
UB
12240 * config.host: Add lm32 targets.
12241 * config/lm32: New directory.
12242 * config/lm32/libgcc_lm32.h: New file.
12243 * config/lm32/_mulsi3.c: New file.
12244 * config/lm32/_udivmodsi4.c: New file.
12245 * config/lm32/_divsi3.c: New file.
12246 * config/lm32/_modsi3.c: New file.
12247 * config/lm32/_udivsi3.c: New file.
12248 * config/lm32/_umodsi3.c: New file.
12249 * config/lm32/_lshrsi3.S: New file.
12250 * config/lm32/_ashrsi3.S: New file.
12251 * config/lm32/_ashlsi3.S: New file.
12252 * config/lm32/crti.S: New file.
12253 * config/lm32/crtn.S: New file.
12254 * config/lm32/t-lm32: New file.
12255 * config/lm32/t-elf: New file.
12256 * config/lm32/t-uclinux: New file.
aa4945c1 12257
65a324b4
NC
122582009-10-26 Nick Clifton <nickc@redhat.com>
12259
12260 * config.host: Add support for RX target.
12261 * config/rx: New directory.
12262 * config/rx/rx-abi-functions.c: New file. Supplementary
12263 functions for libgcc to support the RX ABI.
12264 * config/rx/rx-abi.h: New file. Supplementary header file for
12265 libgcc RX ABI functions.
12266 * config/rx/t-rx: New file: Makefile fragment for building
12267 libgcc for the RX.
12268
dfb3b0e3
UB
122692009-10-09 Uros Bizjak <ubizjak@gmail.com>
12270
12271 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12272 constraint of y0 to "g".
12273
81dd9fd7
AK
122742009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12275
12276 * config.host: Include the s390 makefile fragments.
12277 * config/s390/32/_fixdfdi.c: New file.
12278 * config/s390/32/_fixsfdi.c: New file.
12279 * config/s390/32/_fixtfdi.c: New file.
12280 * config/s390/32/_fixunsdfdi.c: New file.
12281 * config/s390/32/_fixunssfdi.c: New file.
12282 * config/s390/32/_fixunstfdi.c: New file.
12283 * config/s390/32/t-floattodi: New file.
12284 * config/s390/libgcc-glibc.ver: New file.
12285 * config/s390/t-crtstuff: New file.
12286 * config/s390/t-linux: New file.
12287 * config/s390/t-tpf: New file.
12288
df58e648
RW
122892009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12290
12291 * configure.ac (AC_PREREQ): Bump to 2.64.
12292
79052be3
KK
122932009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12294
12295 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12296
5213506e
RW
122972009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12298
12299 * configure: Regenerate.
12300
a9a25daa
DR
123012009-08-09 Douglas B Rupp <rupp@gnat.com>
12302
12303 * config.host (ia64-hp-*vms*): New target.
12304 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12305 with ia64-hp-*vms*.
12306
6efbd53f
RW
123072009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12308
12309 * configure.ac: Add snippet for maintainer-mode.
12310 * configure: Regenerate.
12311 * Makefile.in (AUTOCONF, configure_deps): New variables.
12312 ($(srcdir)/configure)): New rule, active only with maintainer
12313 mode turned on.
12314
7acf4da6
DD
123152009-06-23 DJ Delorie <dj@redhat.com>
12316
12317 Add MeP port.
12318 * config.host: Add mep support.
12319
54f549af
KT
123202009-06-22 Kai Tietz <kai.tietz@onevision.com>
12321
34481f28 12322 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12323 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
12324
12325 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12326 for mingw targets.
54f549af
KT
12327 * config/i386/64/_multc3.c: Likewise.
12328 * config/i386/64/_powitf2.c: Likewise.
12329 * config/i386/64/eqtf2.c: Likewise.
12330 * config/i386/64/getf2.c: Likewise.
12331 * config/i386/64/letf2.c: Likewise.
12332 * config/i386/64/letf2.c: Likewise.
34481f28
UB
12333 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12334 unsigned long long for x64 mingw targets.
12335 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12336 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 12337
fea96e25
MR
123382009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12339
12340 * config.host (vax-*-linux*): New.
12341
cceb575c
AG
123422009-05-31 Anthony Green <green@moxielogic.com>
12343
12344 * config.host: Add moxie support.
12345 * config/moxie/t-moxie: New file.
12346
7d296953 123472009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
12348
12349 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12350 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 12351
532bfb0a
AJ
123522009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12353
12354 * config.host: Add i386/${host_address}/t-fprules-softfp to
12355 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12356
748086b7
JJ
123572009-04-09 Nick Clifton <nickc@redhat.com>
12358
12359 * config/ia64/tf-signs.c: Change copyright header to refer to
12360 version 3 of the GNU General Public License with version 3.1
12361 of the GCC Runtime Library Exception and to point readers at
12362 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12363 web page.
12364 * config/i386/32/tf-signs.c: Likewise.
12365 * config/libbid/_addsub_dd.c: Likewise.
12366 * config/libbid/_addsub_sd.c: Likewise.
12367 * config/libbid/_addsub_td.c: Likewise.
12368 * config/libbid/_dd_to_df.c: Likewise.
12369 * config/libbid/_dd_to_di.c: Likewise.
12370 * config/libbid/_dd_to_sd.c: Likewise.
12371 * config/libbid/_dd_to_sf.c: Likewise.
12372 * config/libbid/_dd_to_si.c: Likewise.
12373 * config/libbid/_dd_to_td.c: Likewise.
12374 * config/libbid/_dd_to_tf.c: Likewise.
12375 * config/libbid/_dd_to_udi.c: Likewise.
12376 * config/libbid/_dd_to_usi.c: Likewise.
12377 * config/libbid/_dd_to_xf.c: Likewise.
12378 * config/libbid/_df_to_dd.c: Likewise.
12379 * config/libbid/_df_to_sd.c: Likewise.
12380 * config/libbid/_df_to_td.c: Likewise.
12381 * config/libbid/_di_to_dd.c: Likewise.
12382 * config/libbid/_di_to_sd.c: Likewise.
12383 * config/libbid/_di_to_td.c: Likewise.
12384 * config/libbid/_div_dd.c: Likewise.
12385 * config/libbid/_div_sd.c: Likewise.
12386 * config/libbid/_div_td.c: Likewise.
12387 * config/libbid/_eq_dd.c: Likewise.
12388 * config/libbid/_eq_sd.c: Likewise.
12389 * config/libbid/_eq_td.c: Likewise.
12390 * config/libbid/_ge_dd.c: Likewise.
12391 * config/libbid/_ge_sd.c: Likewise.
12392 * config/libbid/_ge_td.c: Likewise.
12393 * config/libbid/_gt_dd.c: Likewise.
12394 * config/libbid/_gt_sd.c: Likewise.
12395 * config/libbid/_gt_td.c: Likewise.
12396 * config/libbid/_isinfd128.c: Likewise.
12397 * config/libbid/_isinfd32.c: Likewise.
12398 * config/libbid/_isinfd64.c: Likewise.
12399 * config/libbid/_le_dd.c: Likewise.
12400 * config/libbid/_le_sd.c: Likewise.
12401 * config/libbid/_le_td.c: Likewise.
12402 * config/libbid/_lt_dd.c: Likewise.
12403 * config/libbid/_lt_sd.c: Likewise.
12404 * config/libbid/_lt_td.c: Likewise.
12405 * config/libbid/_mul_dd.c: Likewise.
12406 * config/libbid/_mul_sd.c: Likewise.
12407 * config/libbid/_mul_td.c: Likewise.
12408 * config/libbid/_ne_dd.c: Likewise.
12409 * config/libbid/_ne_sd.c: Likewise.
12410 * config/libbid/_ne_td.c: Likewise.
12411 * config/libbid/_sd_to_dd.c: Likewise.
12412 * config/libbid/_sd_to_df.c: Likewise.
12413 * config/libbid/_sd_to_di.c: Likewise.
12414 * config/libbid/_sd_to_sf.c: Likewise.
12415 * config/libbid/_sd_to_si.c: Likewise.
12416 * config/libbid/_sd_to_td.c: Likewise.
12417 * config/libbid/_sd_to_tf.c: Likewise.
12418 * config/libbid/_sd_to_udi.c: Likewise.
12419 * config/libbid/_sd_to_usi.c: Likewise.
12420 * config/libbid/_sd_to_xf.c: Likewise.
12421 * config/libbid/_sf_to_dd.c: Likewise.
12422 * config/libbid/_sf_to_sd.c: Likewise.
12423 * config/libbid/_sf_to_td.c: Likewise.
12424 * config/libbid/_si_to_dd.c: Likewise.
12425 * config/libbid/_si_to_sd.c: Likewise.
12426 * config/libbid/_si_to_td.c: Likewise.
12427 * config/libbid/_td_to_dd.c: Likewise.
12428 * config/libbid/_td_to_df.c: Likewise.
12429 * config/libbid/_td_to_di.c: Likewise.
12430 * config/libbid/_td_to_sd.c: Likewise.
12431 * config/libbid/_td_to_sf.c: Likewise.
12432 * config/libbid/_td_to_si.c: Likewise.
12433 * config/libbid/_td_to_tf.c: Likewise.
12434 * config/libbid/_td_to_udi.c: Likewise.
12435 * config/libbid/_td_to_usi.c: Likewise.
12436 * config/libbid/_td_to_xf.c: Likewise.
12437 * config/libbid/_tf_to_dd.c: Likewise.
12438 * config/libbid/_tf_to_sd.c: Likewise.
12439 * config/libbid/_tf_to_td.c: Likewise.
12440 * config/libbid/_udi_to_dd.c: Likewise.
12441 * config/libbid/_udi_to_sd.c: Likewise.
12442 * config/libbid/_udi_to_td.c: Likewise.
12443 * config/libbid/_unord_dd.c: Likewise.
12444 * config/libbid/_unord_sd.c: Likewise.
12445 * config/libbid/_unord_td.c: Likewise.
12446 * config/libbid/_usi_to_dd.c: Likewise.
12447 * config/libbid/_usi_to_sd.c: Likewise.
12448 * config/libbid/_usi_to_td.c: Likewise.
12449 * config/libbid/_xf_to_dd.c: Likewise.
12450 * config/libbid/_xf_to_sd.c: Likewise.
12451 * config/libbid/_xf_to_td.c: Likewise.
12452 * config/libbid/bid128.c: Likewise.
12453 * config/libbid/bid128_2_str.h: Likewise.
12454 * config/libbid/bid128_2_str_macros.h: Likewise.
12455 * config/libbid/bid128_2_str_tables.c: Likewise.
12456 * config/libbid/bid128_add.c: Likewise.
12457 * config/libbid/bid128_compare.c: Likewise.
12458 * config/libbid/bid128_div.c: Likewise.
12459 * config/libbid/bid128_fma.c: Likewise.
12460 * config/libbid/bid128_logb.c: Likewise.
12461 * config/libbid/bid128_minmax.c: Likewise.
12462 * config/libbid/bid128_mul.c: Likewise.
12463 * config/libbid/bid128_next.c: Likewise.
12464 * config/libbid/bid128_noncomp.c: Likewise.
12465 * config/libbid/bid128_quantize.c: Likewise.
12466 * config/libbid/bid128_rem.c: Likewise.
12467 * config/libbid/bid128_round_integral.c: Likewise.
12468 * config/libbid/bid128_scalb.c: Likewise.
12469 * config/libbid/bid128_sqrt.c: Likewise.
12470 * config/libbid/bid128_string.c: Likewise.
12471 * config/libbid/bid128_to_int16.c: Likewise.
12472 * config/libbid/bid128_to_int32.c: Likewise.
12473 * config/libbid/bid128_to_int64.c: Likewise.
12474 * config/libbid/bid128_to_int8.c: Likewise.
12475 * config/libbid/bid128_to_uint16.c: Likewise.
12476 * config/libbid/bid128_to_uint32.c: Likewise.
12477 * config/libbid/bid128_to_uint64.c: Likewise.
12478 * config/libbid/bid128_to_uint8.c: Likewise.
12479 * config/libbid/bid32_to_bid128.c: Likewise.
12480 * config/libbid/bid32_to_bid64.c: Likewise.
12481 * config/libbid/bid64_add.c: Likewise.
12482 * config/libbid/bid64_compare.c: Likewise.
12483 * config/libbid/bid64_div.c: Likewise.
12484 * config/libbid/bid64_fma.c: Likewise.
12485 * config/libbid/bid64_logb.c: Likewise.
12486 * config/libbid/bid64_minmax.c: Likewise.
12487 * config/libbid/bid64_mul.c: Likewise.
12488 * config/libbid/bid64_next.c: Likewise.
12489 * config/libbid/bid64_noncomp.c: Likewise.
12490 * config/libbid/bid64_quantize.c: Likewise.
12491 * config/libbid/bid64_rem.c: Likewise.
12492 * config/libbid/bid64_round_integral.c: Likewise.
12493 * config/libbid/bid64_scalb.c: Likewise.
12494 * config/libbid/bid64_sqrt.c: Likewise.
12495 * config/libbid/bid64_string.c: Likewise.
12496 * config/libbid/bid64_to_bid128.c: Likewise.
12497 * config/libbid/bid64_to_int16.c: Likewise.
12498 * config/libbid/bid64_to_int32.c: Likewise.
12499 * config/libbid/bid64_to_int64.c: Likewise.
12500 * config/libbid/bid64_to_int8.c: Likewise.
12501 * config/libbid/bid64_to_uint16.c: Likewise.
12502 * config/libbid/bid64_to_uint32.c: Likewise.
12503 * config/libbid/bid64_to_uint64.c: Likewise.
12504 * config/libbid/bid64_to_uint8.c: Likewise.
12505 * config/libbid/bid_b2d.h: Likewise.
12506 * config/libbid/bid_binarydecimal.c: Likewise.
12507 * config/libbid/bid_conf.h: Likewise.
12508 * config/libbid/bid_convert_data.c: Likewise.
12509 * config/libbid/bid_decimal_data.c: Likewise.
12510 * config/libbid/bid_decimal_globals.c: Likewise.
12511 * config/libbid/bid_div_macros.h: Likewise.
12512 * config/libbid/bid_dpd.c: Likewise.
12513 * config/libbid/bid_flag_operations.c: Likewise.
12514 * config/libbid/bid_from_int.c: Likewise.
12515 * config/libbid/bid_functions.h: Likewise.
12516 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12517 * config/libbid/bid_inline_add.h: Likewise.
12518 * config/libbid/bid_internal.h: Likewise.
12519 * config/libbid/bid_round.c: Likewise.
12520 * config/libbid/bid_sqrt_macros.h: Likewise.
12521
125222009-04-09 Jakub Jelinek <jakub@redhat.com>
12523
12524 * Makefile.in: Change copyright header to refer to version
12525 3 of the GNU General Public License and to point readers at the
12526 COPYING3 file and the FSF's license web page.
12527 * config.host: Likewise.
12528
633dd061
AM
125292009-04-07 Alan Modra <amodra@bigpond.net.au>
12530
12531 * config.host: Reorder and merge to match config.gcc change.
12532
457d1d00
AM
125332009-04-03 Alan Modra <amodra@bigpond.net.au>
12534
12535 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12536
52c0e446
JM
125372009-03-28 Joseph Myers <joseph@codesourcery.com>
12538
12539 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12540 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12541 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12542 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12543
ba181049
UB
125442009-02-12 Uros Bizjak <ubizjak@gmail.com>
12545
12546 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12547 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12548
c252db20
L
125492009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12550
ba181049
UB
12551 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12552 ia64/t-softfp-compat to tmake_file.
c252db20
L
12553
12554 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12555
12556 * config/ia64/__divxf3.asm: New.
12557 * config/ia64/_fixtfdi.asm: Likewise.
12558 * config/ia64/_fixunstfdi.asm: Likewise.
12559 * config/ia64/_floatditf.asm: Likewise.
12560 * config/ia64/t-fprules-softfp: Likewise.
12561 * config/ia64/t-softfp-compat: Likewise.
12562 * config/ia64/tf-signs.c: Likewise.
12563
c60535f9
BE
125642009-01-18 Ben Elliston <bje@au.ibm.com>
12565
12566 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12567
ce16861e
BE
125682009-01-16 Ben Elliston <bje@au.ibm.com>
12569
12570 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12571 to tmake_file.
12572
bcf4713b
BE
125732009-01-13 Ben Elliston <bje@au.ibm.com>
12574
12575 * config/t-softfp: New file.
12576 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12577 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12578
7d296953 125792009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
12580
12581 * config.host: Add m32r*-*-rtems*.
12582
7d296953 125832008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
12584
12585 * config.host: Add m32c*-*-rtems*.
12586
19523300
RO
125872008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12588
12589 PR bootstrap/33100
12590 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12591 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12592 * configure: Regenerate.
12593 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12594 tmake_file here from gcc/config.gcc.
12595 Move extra_parts here from gcc/config.gcc.
12596 * config/i386/t-sol2: Move here from gcc/config/i386.
12597 Use gcc_srcdir instead of srcdir.
12598
0a4a51c7
AN
125992008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12600
12601 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12602 case.
12603
2a761e46
TS
126042008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12605
12606 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12607
c0451df7
TS
126082008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12609
12610 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12611
358da97e
HS
126122008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12613
12614 Add picoChip port.
12615 * config.host: Add picochip-*-*.
12616
c660f132
BW
126172008-08-06 Bob Wilson <bob.wilson@acm.org>
12618
12619 * config.host: Match more processor names for Xtensa.
12620
d1349557
L
126212008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12622
12623 * config/i386/64/t-softfp-compat: Update comments.
12624
dd7b73c0
L
126252008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12626
12627 * config/i386/64/_divtc3-compat.c: Moved to ...
12628 * config/i386/64/_divtc3.c: Here.
12629
12630 * config/i386/64/_multc3-compat.c: Moved to ...
12631 * config/i386/64/_multc3.c: Here.
12632
12633 * config/i386/64/_powitf2-compat.c: Moved to ...
12634 * config/i386/64/_powitf2.c: Here.
12635
12636 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12637 .c suffix instead of -compat.c.
12638
6e1fab3d
UB
126392008-07-05 Uros Bizjak <ubizjak@gmail.com>
12640
12641 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12642 (_FP_MUL_MEAT_D): Ditto.
12643 (_FP_DIV_MEAT_S): Ditto.
12644 (_FP_DIV_MEAT_D): Ditto.
12645
f92518d7
RS
126462008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12647
12648 * Makefile.in: Add support for __sync_* libgcc functions.
12649
d0aede14
L
126502008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12651
12652 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12653
c174f11c
L
126542008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 PR boostrap/36702
12657 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12658 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12659
12660 * config/i386/64/t-fprules-softfp: Moved to ...
12661 * config/i386/64/t-softfp-compat: This. New.
12662
5f464fa2
UB
126632008-07-02 Uros Bizjak <ubizjak@gmail.com>
12664
12665 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12666 Initialize f with 0.0.
12667
ff473280
L
126682008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12669
12670 PR target/36669
12671 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12672
12673 * config/i386/64/_divtc3-compat.c: New.
12674 * config/i386/64/_multc3-compat.c: Likewise.
12675 * config/i386/64/_powitf2-compat.c: Likewise.
12676 * config/i386/64/eqtf2.c: Likewise.
12677 * config/i386/64/getf2.c: Likewise.
12678 * config/i386/64/letf2.c: Likewise.
12679 * config/i386/64/t-fprules-softfp: Likewise.
12680
126812008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12682
12683 * config.host: Add i386/${host_address}/t-fprules-softfp to
12684 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 12685 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
12686
12687 * configure.ac: Set host_address to 64 or 32 for x86.
12688 * configure: Regenerated.
12689
12690 * Makefile.in (config.status): Also depend on
12691 $(srcdir)/config.host.
12692
12693 * config/i386/32/t-fprules-softfp: New.
12694 * config/i386/32/tf-signs.c: Likewise.
12695
12696 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12697
126982008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12699 Uros Bizjak <ubizjak@gmail.com>
12700
12701 * config/i386/32/sfp-machine.h: New.
12702
30551d99
NF
127032008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12704
12705 * config/rs6000/t-ppccomm: Remove rules that conflict with
12706 auto-generated rules.
12707
18c04407
RW
127082008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12709
12710 * configure.ac: sinclude override.m4.
12711 * configure: Regenerate.
12712
10fbe77a
BRF
127132008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12714
12715 * configure: Regenerate.
12716
bc6d4c3f
JM
127172008-06-10 Joseph Myers <joseph@codesourcery.com>
12718
12719 * Makefile.in (DECNUMINC): Remove
12720 -I$(MULTIBUILDTOP)../../libdecnumber.
12721 * gstdint.h: New.
12722
cd985f66
JM
127232008-06-07 Joseph Myers <joseph@codesourcery.com>
12724
12725 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12726 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12727 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12728 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12729 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12730 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12731 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12732 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12733 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12734 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12735 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12736 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12737 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12738 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12739
93fea8d3
AL
127402008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12741
12742 * config.host (sh2[lbe]*-*-linux*): Allow target.
12743
18724e30
NF
127442008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12745
12746 * config/rs6000/t-ppccomm: Add build rules for new files.
12747 (LIB2ADD_ST): New variable.
12748
47583040
AH
127492008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12750
12751 PR target/34210
12752 PR target/35508
12753 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12754 * config/t-avr: New file. Build 16bit libgcc functions.
12755
cf8e67fe
JJ
127562008-03-02 Jakub Jelinek <jakub@redhat.com>
12757
12758 PR target/35401
12759 * config/t-slibgcc-darwin: Make install-leaf dependent on
12760 install-darwin-libgcc-stubs instead of install.
12761
8d8da227
JM
127622008-01-25 Joseph Myers <joseph@codesourcery.com>
12763
12764 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12765 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12766 sh-*-rtemscoff*): Remove cases.
12767
edbf8b16
RS
127682007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12769
12770 * Makefile.in (all): Use install-leaf rather than install.
12771 (install): Split most of the rule into...
12772 (install-leaf): ...this new one.
12773
89deeaff
EK
127742007-12-19 Etsushi Kato <ek.kato@gmail.com>
12775 Paolo Bonzini <bonzini@gnu.org>
12776
12777 PR target/30572
5f464fa2
UB
12778 * Makefile.in: Use @shlib_slibdir@ substitution to get
12779 correct install name on darwin.
89deeaff 12780 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 12781
4081d704
HPN
127822007-12-15 Hans-Peter Nilsson <hp@axis.com>
12783
12784 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12785 cris-*-elf and cris-*-none.
12786 (crisv32-*-linux*): Similar, as cris-*-linux*.
12787
f43e89a3
RIL
127882007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12789
12790 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12791
b4e9c2c6
L
127922007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12793
12794 PR regression/33926
12795 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12796 * configure: Regenerated.
12797
b2a00c89
L
127982007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12799
12800 * Makefile.in (dfp-filenames): Replace decimal_globals,
12801 decimal_data, binarydecimal and convert_data with
12802 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12803 and bid_convert_data, respectively.
12804
8d2a9e0e
CF
128052007-09-17 Chao-ying Fu <fu@mips.com>
12806 Nigel Stephens <nigel@mips.com>
12807
12808 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12809 * Makefile.in (fixed_point): Define.
12810 Check if fixed_point is yes to build support functions.
12811 * configure.ac: Check for fixed_point support.
12812 * configure: Regenerated.
12813 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12814 funcs, modes, from, to.
12815
2b53935d
JJ
128162007-09-11 Janis Johnson <janis187@us.ibm.com
12817
12818 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12819
2533577f
JJ
128202007-09-10 Janis Johnson <janis187@us.ibm.com>
12821
12822 * Makefile.in (dfp-filenames): Remove decUtility, add
12823 decDouble, decPacked, decQuad, decSingle.
12824
3ae3dbd6
HK
128252007-08-27 Hans Kester <hans.kester@ellips.nl>
12826
12827 * config.host : Add x86_64-elf target.
12828
22867d02
L
128292007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12830
12831 * configure.ac (set_have_cc_tls): Add a missing =.
12832 * configure: Regenerated.
12833
6f461e76
L
128342007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12835
12836 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12837 and x86_64-*-linux*.
12838
12839 * config/t-tls: New file.
12840
dfb3b0e3 12841 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
12842
12843 * configure.ac: Include ../config/enable.m4 and
12844 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12845 supports TLS and substitute set_have_cc_tls.
12846 * configure: Regenerated.
12847
200359e8
L
128482007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12849
12850 * Makefile.in: Use libbid for DFP when BID is enabled.
12851
76f5e200
DS
128522007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12853
12854 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 12855 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
12856 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12857
9bd196f0 128582007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12859 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12860
12861 PR target/29498
12862 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12863 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12864 * config/i386/t-crtfm: Compile crtfastmath.o with
12865 -minline-all-stringops.
12866
1910440e
RS
128672007-05-10 Richard Sandiford <richard@codesourcery.com>
12868
12869 * config.host (sparc-wrs-vxworks): New target.
12870
7d33c31d
KH
128712007-04-14 Kazu Hirata <kazu@codesourcery.com>
12872
12873 * config.host: Recognize fido.
12874
96fccd0d
JJ
128752007-04-04 Janis Johnson <janis187@us.ibm.com>
12876
12877 * configure: Check host, not target, for decimal float support.
12878
577565f9
UB
128792007-04-03 Uros Bizjak <ubizjak@gmail.com>
12880
12881 * config/i386/t-crtpc: New file.
12882 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12883 (x86_64-*-linux*): Ditto.
577565f9 12884
ccf8e764
RH
128852007-02-30 Kai Tietz <kai.tietz@onevision.com>
12886
12887 * config.host (x86_64-*-mingw*): New target.
12888
79b87c74
MM
128892007-03-23 Michael Meissner <michael.meissner@amd.com>
12890 H.J. Lu <hongjiu.lu@intel.com>
12891
12892 * Makefile.in (enable_decimal_float): New.
12893 (DECNUMINC): Add
12894 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12895 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12896 (decbits-filenames): This.
12897 (decbits-objects): New.
12898 (libgcc-objects): Add $(decbits-objects).
12899
12900 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12901 Substitute enable_decimal_float.
12902 * configure: Regenerated.
12903
8fce4e31
HPN
129042007-03-19 Hans-Peter Nilsson <hp@axis.com>
12905
12906 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12907
e8bb4597
BM
129082007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12909
12910 * Makefile.in (install-info): New dummy target.
12911
344189f9
BS
129122007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12913
12914 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12915
ac84c172
BM
129162007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12917
12918 * Makefile.in: Add install-html and install-pdf dummy
12919 targets.
12920
cd5c2357
RS
129212007-02-05 Roger Sayle <roger@eyesopen.com>
12922 Daniel Jacobowitz <dan@codesourcery.com>
12923
12924 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12925 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12926 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12927
d9a66f98
JJ
129282007-01-29 Janis Johnson <janis187@us.ibm.com>
12929
12930 * Makefile.in (dec-filenames): Add decExcept.
12931
9891ec5f
DJ
129322007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12933
12934 PR bootstrap/30469
12935 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12936 -fprofile-use.
12937
d6efbf5a
DJ
129382007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12939
12940 * configure.ac: Add --enable-version-specific-runtime-libs.
12941 Correct $slibdir default.
12942 * configure: Regenerated.
12943
17caeff2
JM
129442007-01-23 Joseph Myers <joseph@codesourcery.com>
12945
12946 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12947
5ea41e3a
AP
129482007-01-21 Andrew Pinski <pinskia@gmail.com>
12949
12950 PR target/30519
12951 * config.host (alpha*-*-linux*): Set extra_parts.
12952
26900826
KK
129532007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12954
12955 * config/sh/t-linux: New.
12956 * config.host (sh*-*-linux*): Set tmake_file.
12957
97af925b
DJ
129582007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12959
12960 * Makefile.in (install): Handle multilibs.
12961
b0088af7
BM
129622007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12963
12964 * Makefile.in: Added .PHONY entry for documentation targets.
12965
e0a9456a
BM
129662007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12967
12968 * Makefile.in: Add empty info, html, dvi, pdf targets.
12969
7fd453b4
MS
129702007-01-04 Mike Stump <mrs@apple.com>
12971
12972 * Makefile.in (MAKEINFO): Remove.
12973 (PERL): Likewise.
12974
14e8fc8b
PB
129752007-01-04 Paolo Bonzini <bonzini@gnu.org>
12976
12977 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12978 * configure: Regenerate.
12979 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12980 (gcc_objdir): Use it.
14e8fc8b 12981
1555beba
DJ
129822007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12983
12984 * config.host (ia64*-*-linux*): Set tmake_file.
12985
79e6eaeb
DJ
129862007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12987
12988 * Makefile.in (version): Define.
12989
fa958513
DJ
129902007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12991 Paolo Bonzini <bonzini@gnu.org>
12992
12993 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12994 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12995 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12996 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12997 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12998 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12999 * configure: Generated.
818ab71a 13000\f
68127a8e 13001Copyright (C) 2007-2023 Free Software Foundation, Inc.
818ab71a
JJ
13002
13003Copying and distribution of this file, with or without modification,
13004are permitted in any medium without royalty provided the copyright
13005notice and this notice are preserved.