]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2023-03-06 Michael Meissner <meissner@linux.ibm.com>
2
3 PR target/107299
4 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
5 whether long double is IBM or IEEE.
6 (INFINITY): Likewise.
7 (FABS): Likewise.
8 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
9 (INFINITY): Likewise.
10 * config/rs6000/quad-float128.h (TF): Remove definition.
11 (TFtype): Define to be long double or _Float128.
12 (TCtype): Define to be _Complex long double or _Complex _Float128.
13 * libgcc2.h (TFtype): Allow machine config files to override this.
14 (TCtype): Likewise.
15 * soft-fp/quad.h (TFtype): Likewise.
16
17 2023-02-13 Kito Cheng <kito.cheng@sifive.com>
18
19 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
20 * config/riscv/value-unwind.h: New.
21
22 2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
23
24 * config/arm/pr-support.c (__gnu_unwind_execute): Use
25 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
26
27 2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
28
29 * config.host: Recognize x86_64-*-gnu* targets.
30 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
31 TODO for now.
32
33 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
34
35 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
36 "0xb5".
37
38 2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
39 Tejas Belagod <tbelagod@arm.com>
40 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
41
42 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
43 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
44 with AUTG if found.
45 * config/arm/unwind-arm.c (struct pseudo_regs): New.
46 (phase1_vrs): Introduce new field to store pseudo-reg state.
47 (phase2_vrs): Likewise.
48 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
49 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
50 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
51
52 2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
53
54 PR target/107678
55 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
56 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
57 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
58 encode the return address signing state.
59 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
60 Check current return address signing state.
61 (aarch64_frob_update_contex): Remove.
62
63 2023-01-13 John David Anglin <danglin@gcc.gnu.org>
64
65 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
66 pa/t-pa64-linux.
67 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
68 instead of pa/t-hpux and pa/t-pa64.
69 * config/pa/linux-atomic.c: Define u32 type.
70 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
71 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
72 defines to use atomic_load calls for type.
73 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
74 * config/pa/sync-libfuncs.c: New file.
75 * config/pa/t-netbsd (LIB2ADD_ST): Define.
76 * config/pa/t-openbsd (LIB2ADD_ST): Define.
77 * config/pa/t-pa64-hpux: New file.
78 * config/pa/t-pa64-linux: New file.
79
80 2023-01-13 Jonathan Wakely <jwakely@redhat.com>
81
82 PR libstdc++/108331
83 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
84 struct matching the previous __gthread_mutex_t struct.
85 (__GTHREAD_LEGACY_MUTEX_T): Define.
86
87 2023-01-13 Seija Kijin <doremylover456@gmail.com>
88
89 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
90 unified syntax.
91
92 2023-01-07 LIU Hao <lh_mouse@126.com>
93
94 PR middle-end/108300
95 * config/i386/enable-execute-stack-mingw32.c: Define
96 `WIN32_LEAN_AND_MEAN` before <windows.h>.
97 * libgcc2.c: Likewise.
98 * unwind-generic.h: Likewise.
99
100 2023-01-03 Florian Weimer <fweimer@redhat.com>
101
102 * unwind-dw2-execute_cfa.h: New file. Extracted from
103 the execute_cfa_program function in unwind-dw2.c.
104 * unwind-dw2.c (execute_cfa_program_generic): New function.
105 (execute_cfa_program_specialized): Likewise.
106 (execute_cfa_program): Call execute_cfa_program_specialized
107 or execute_cfa_program_generic, as appropriate.
108
109 2023-01-03 Florian Weimer <fweimer@redhat.com>
110
111 Revert:
112 2023-01-03 Florian Weimer <fweimer@redhat.com>
113
114 * unwind-dw2.c (dwarf_reg_size): New function.
115 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
116 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
117 (uw_init_context_1): Do not initialize dwarf_reg_size_table
118 if not in use.
119
120 2023-01-03 Florian Weimer <fweimer@redhat.com>
121
122 Revert:
123 2023-01-03 Florian Weimer <fweimer@redhat.com>
124
125 * unwind-dw2-execute_cfa.h: New file. Extracted from
126 the execute_cfa_program function in unwind-dw2.c.
127 * unwind-dw2.c (execute_cfa_program_generic): New function.
128 (execute_cfa_program_specialized): Likewise.
129 (execute_cfa_program): Call execute_cfa_program_specialized
130 or execute_cfa_program_generic, as appropriate.
131
132 2023-01-02 Florian Weimer <fweimer@redhat.com>
133
134 * unwind-dw2-execute_cfa.h: New file. Extracted from
135 the execute_cfa_program function in unwind-dw2.c.
136 * unwind-dw2.c (execute_cfa_program_generic): New function.
137 (execute_cfa_program_specialized): Likewise.
138 (execute_cfa_program): Call execute_cfa_program_specialized
139 or execute_cfa_program_generic, as appropriate.
140
141 2023-01-02 Florian Weimer <fweimer@redhat.com>
142
143 * unwind-dw2.c (dwarf_reg_size): New function.
144 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
145 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
146 (uw_init_context_1): Do not initialize dwarf_reg_size_table
147 if not in use.
148
149 2022-12-25 Jonathan Yong <10walls@gmail.com>
150
151 * config/i386/gthr-win32.h: undef CC_NONE
152
153 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
154
155 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
156 install of libgcc_s.1.dylib when the installation is into the build
157 gcc directory.
158
159 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
160
161 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
162 as well as new i386/t-slibgcc-mingw fragment.
163 (x86_64-*-mingw*): Likewise.
164 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
165 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
166 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
167 Include stdlib.h instead of errno.h and do not include _mingw.h.
168 (CONST_CAST2): Add specific definition for C++.
169 (ATTRIBUTE_UNUSED): New macro.
170 (__UNUSED_PARAM): Delete.
171 Define WIN32_LEAN_AND_MEAN before including windows.h.
172 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
173 (__gthread_objc_init_thread_system): Likewise.
174 (__gthread_objc_thread_get_data): Minor tweak.
175 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
176 (__gthread_objc_condition_deallocate): Likewise.
177 (__gthread_objc_condition_wait): Likewise.
178 (__gthread_objc_condition_broadcast): Likewise.
179 (__gthread_objc_condition_signal): Likewise.
180 Include sys/time.h.
181 (__gthr_win32_DWORD): New typedef.
182 (__gthr_win32_HANDLE): Likewise.
183 (__gthr_win32_CRITICAL_SECTION): Likewise.
184 (__gthr_win32_CONDITION_VARIABLE): Likewise.
185 (__gthread_t): Adjust.
186 (__gthread_key_t): Likewise.
187 (__gthread_mutex_t): Likewise.
188 (__gthread_recursive_mutex_t): Likewise.
189 (__gthread_cond_t): New typedef.
190 (__gthread_time_t): Likewise.
191 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
192 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
193 (__GTHREAD_COND_INIT_FUNCTION): Define.
194 (__GTHREAD_TIME_INIT): Likewise.
195 (__gthr_i486_lock_cmp_xchg): Delete.
196 (__gthr_win32_create): Declare.
197 (__gthr_win32_join): Likewise.
198 (__gthr_win32_self): Likewise.
199 (__gthr_win32_detach): Likewise.
200 (__gthr_win32_equal): Likewise.
201 (__gthr_win32_yield): Likewise.
202 (__gthr_win32_mutex_destroy): Likewise.
203 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
204 (__gthr_win32_cond_broadcast): Likewise.
205 (__gthr_win32_cond_signal): Likewise.
206 (__gthr_win32_cond_wait): Likewise.
207 (__gthr_win32_cond_timedwait): Likewise.
208 (__gthr_win32_recursive_mutex_init_function): Delete.
209 (__gthr_win32_recursive_mutex_lock): Likewise.
210 (__gthr_win32_recursive_mutex_unlock): Likewise.
211 (__gthr_win32_recursive_mutex_destroy): Likewise.
212 (__gthread_create): New inline function.
213 (__gthread_join): Likewise.
214 (__gthread_self): Likewise.
215 (__gthread_detach): Likewise.
216 (__gthread_equal): Likewise.
217 (__gthread_yield): Likewise.
218 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
219 (__gthread_cond_broadcast): Likewise.
220 (__gthread_cond_signal): Likewise.
221 (__gthread_cond_wait): Likewise.
222 (__gthread_cond_timedwait): Likewise.
223 (__GTHREAD_WIN32_INLINE): New macro.
224 (__GTHREAD_WIN32_COND_INLINE): Likewise.
225 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
226 Define WIN32_LEAN_AND_MEAN before including windows.h.
227 (__gthread_once): Minor tweaks.
228 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
229 (__gthread_key_delete): Minor tweak.
230 (__gthread_getspecific): Likewise.
231 (__gthread_setspecific): Likewise.
232 (__gthread_mutex_init_function): Reimplement.
233 (__gthread_mutex_destroy): Likewise.
234 (__gthread_mutex_lock): Likewise.
235 (__gthread_mutex_trylock): Likewise.
236 (__gthread_mutex_unlock): Likewise.
237 (__gthr_win32_abs_to_rel_time): Declare.
238 (__gthread_recursive_mutex_init_function): Reimplement.
239 (__gthread_recursive_mutex_destroy): Likewise.
240 (__gthread_recursive_mutex_lock): Likewise.
241 (__gthread_recursive_mutex_trylock): Likewise.
242 (__gthread_recursive_mutex_unlock): Likewise.
243 (__gthread_cond_destroy): New inline function.
244 (__gthread_cond_wait_recursive): Likewise.
245 * config/i386/gthr-win32.c: Delete everything.
246 Include gthr-win32.h to get the out-of-line version of inline routines.
247 Add compile-time checks for the local version of the Win32 types.
248 * config/i386/gthr-win32-cond.c: New file.
249 * config/i386/gthr-win32-thread.c: Likewise.
250 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
251 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
252 the static version of libgcc.
253 * config/i386/t-slibgcc-mingw: New file.
254 * config/i386/libgcc-mingw.ver: Likewise.
255
256 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
257
258 * unwind-dw2-fde.c: Initialize fde object lazily when
259 the first exception tries to pass through.
260
261 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
262
263 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
264
265 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
266
267 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
268 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
269 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
270 (XSHAL_ABI): Remove stray symbols from macro definitions.
271
272 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
273
274 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
275 xtensa-config-builtin.h.
276 * config/xtensa/crtn.S: Likewise.
277 * config/xtensa/lib1funcs.S: Likewise.
278 * config/xtensa/lib2funcs.S: Likewise.
279 * config/xtensa/xtensa-config-builtin.h: New File.
280
281 2022-11-04 Florian Weimer <fweimer@redhat.com>
282
283 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
284 values actually used by BFD ld.
285
286 2022-10-23 LIU Hao <lh_mouse@126.com>
287
288 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
289 libobjc, instead of 'gthr.h'
290
291 2022-10-19 LIU Hao <lh_mouse@126.com>
292
293 * config.host: Add new cases for `mcf` thread model
294 * config/i386/gthr-mcf.h: New file
295 * config/i386/t-mingw-mcfgthread: New file
296 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
297 * configure: Regenerate
298
299 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
300
301 * Makefile.in: Quote variable.
302
303 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
304
305 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
306 argument.
307 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
308 _Unwind_Frames_Increment.
309 (_Unwind_ForcedUnwind_Phase2): Likewise.
310 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
311 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
312 return address on normal stack doesn't match the return address
313 on shadow stack.
314
315 2022-10-17 Florian Weimer <fweimer@redhat.com>
316
317 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
318 and reduce its size.
319
320 2022-10-14 Jakub Jelinek <jakub@redhat.com>
321
322 * config/i386/t-softfp (softfp_extensions): Add bfsf.
323 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
324 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
325 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
326 -msse2.
327 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
328 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
329 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
330 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
331 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
332 * soft-fp/brain.h: New file.
333 * soft-fp/truncsfbf2.c: New file.
334 * soft-fp/truncdfbf2.c: New file.
335 * soft-fp/truncxfbf2.c: New file.
336 * soft-fp/trunctfbf2.c: New file.
337 * soft-fp/trunchfbf2.c: New file.
338 * soft-fp/truncbfhf2.c: New file.
339 * soft-fp/extendbfsf2.c: New file.
340
341 2022-10-12 Martin Liska <mliska@suse.cz>
342
343 * libgcov-driver.c: Use new function.
344 * libgcov.h (gcov_write_summary): Rename to ...
345 (gcov_write_object_summary): ... this.
346
347 2022-10-11 Olivier Hainque <hainque@adacore.com>
348
349 * config.host (*vxworks*): When enable_shared, add
350 libgcc and crtstuff "shared" fragments for rtp except
351 large code model.
352 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
353 the list of fragments.
354
355 2022-10-06 Jakub Jelinek <jakub@redhat.com>
356
357 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
358 fs->regs.how[X] instead of fs->regs.reg[X].how.
359
360 2022-10-06 Jakub Jelinek <jakub@redhat.com>
361
362 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
363 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
364 REG_UNDEFINED): New anonymous enum, moved from inside of
365 struct frame_state_reg_info.
366 (struct frame_state_reg_info): Remove reg[].how element and the
367 anonymous enum there. Add how element.
368 * unwind-dw2.c: Include stddef.h.
369 (uw_frame_state_for): Don't clear first
370 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
371 (execute_cfa_program, __frame_state_for, uw_update_context_1,
372 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
373 or fs.regs.how[X] instead of fs.regs.reg[X].how.
374 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
375 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
376 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
377 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
378 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
379 Likewise.
380 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
381 Likewise.
382 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
383 * config/arc/linux-unwind.h (arc_fallback_frame_state,
384 arc_frob_update_context): Likewise.
385 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
386 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
387 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
388 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
389 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
390 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
391 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
392 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
393 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
394 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
395 x86_fallback_frame_state): Likewise.
396 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
397 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
398 x86_fallback_frame_state): Likewise.
399 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
400 Likewise.
401 * config/i386/dragonfly-unwind.h
402 (x86_64_dragonfly_fallback_frame_state): Likewise.
403 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
404 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
405 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
406 Likewise.
407 * config/aarch64/freebsd-unwind.h
408 (aarch64_freebsd_fallback_frame_state): Likewise.
409 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
410 Likewise.
411 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
412 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
413 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
414 Likewise.
415 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
416 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
417 Likewise.
418 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
419 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
420 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
421 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
422
423 2022-10-02 Olivier Hainque <hainque@adacore.com>
424
425 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
426 -I options for gcc/include and gcc/include-fixed at the end
427 and make them -isystem.
428
429 2022-10-02 Olivier Hainque <hainque@adacore.com>
430
431 * config/gthr-vxworks.h: Prevent Wpragma warning for the
432 pragma diagnostics on Wstrict-prototypes.
433
434 2022-09-29 Olivier Hainque <hainque@adacore.com>
435
436 * config/vxcrtstuff.c: Improve the comment attached to the use
437 of auto-host.h and of __dso_handle. Remove redundant guard on
438 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
439
440 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
441
442 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
443 for the non-fast-path case. Drop destructor priority.
444
445 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
446
447 * unwind-dw2-fde.c: (release_register_frames) Remember
448 when the btree has been destroyed.
449 (__deregister_frame_info_bases) Disable the assert when
450 shutting down.
451
452 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
453
454 * unwind-dw2-fde.c: Replace uintptr_t with typedef
455 for __UINTPTR_TYPE__.
456 * unwind-dw2-btree.h: Likewise.
457
458 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
459
460 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
461 (__register_frame_info_table_bases): Use btree in atomic fast path.
462 (__deregister_frame_info_bases): Likewise.
463 (_Unwind_Find_FDE): Likewise.
464 (base_from_object): Make parameter const.
465 (classify_object_over_fdes): Add query-only mode.
466 (get_pc_range): Compute PC range for lookup.
467 * unwind-dw2-fde.h (last_fde): Make parameter const.
468 * unwind-dw2-btree.h: New file.
469
470 2022-08-31 Martin Liska <mliska@suse.cz>
471
472 * config.host: Remove hppa.
473
474 2022-08-30 Martin Liska <mliska@suse.cz>
475
476 * config.host: Remove the port.
477
478 2022-08-26 Martin Liska <mliska@suse.cz>
479
480 * config.host: Remove cr16 related stuff.
481 * config/cr16/crti.S: Removed.
482 * config/cr16/crtlibid.S: Removed.
483 * config/cr16/crtn.S: Removed.
484 * config/cr16/divmodhi3.c: Removed.
485 * config/cr16/lib1funcs.S: Removed.
486 * config/cr16/t-cr16: Removed.
487 * config/cr16/t-crtlibid: Removed.
488 * config/cr16/unwind-cr16.c: Removed.
489 * config/cr16/unwind-dw2.h: Removed.
490
491 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
492
493 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
494 (_FP_NANFRAC_H): Ditto.
495 (_FP_NANSIGN_H): Ditto.
496 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
497 routines.
498 (softfp_truncations): Ditto.
499 (softfp_extras): Ditto.
500 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
501
502 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
503
504 * soft-fp/fixhfdi.c: New.
505 * soft-fp/fixhfsi.c: Likewise.
506 * soft-fp/fixunshfdi.c: Likewise.
507 * soft-fp/fixunshfsi.c: Likewise.
508 * soft-fp/floatdihf.c: Likewise.
509 * soft-fp/floatsihf.c: Likewise.
510 * soft-fp/floatundihf.c: Likewise.
511 * soft-fp/floatunsihf.c: Likewise.
512 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
513 lines and update URL for license.
514 * soft-fp/addsf3.c: Likewise.
515 * soft-fp/addtf3.c: Likewise.
516 * soft-fp/divdf3.c: Likewise.
517 * soft-fp/divsf3.c: Likewise.
518 * soft-fp/divtf3.c: Likewise.
519 * soft-fp/double.h: Likewise.
520 * soft-fp/eqdf2.c: Likewise.
521 * soft-fp/eqhf2.c: Likewise.
522 * soft-fp/eqsf2.c: Likewise.
523 * soft-fp/eqtf2.c: Likewise.
524 * soft-fp/extenddftf2.c: Likewise.
525 * soft-fp/extended.h: Likewise.
526 * soft-fp/extendhfdf2.c: Likewise.
527 * soft-fp/extendhfsf2.c: Likewise.
528 * soft-fp/extendhftf2.c: Likewise.
529 * soft-fp/extendhfxf2.c: Likewise.
530 * soft-fp/extendsfdf2.c: Likewise.
531 * soft-fp/extendsftf2.c: Likewise.
532 * soft-fp/extendxftf2.c: Likewise.
533 * soft-fp/fixdfdi.c: Likewise.
534 * soft-fp/fixdfsi.c: Likewise.
535 * soft-fp/fixdfti.c: Likewise.
536 * soft-fp/fixhfti.c: Likewise.
537 * soft-fp/fixsfdi.c: Likewise.
538 * soft-fp/fixsfsi.c: Likewise.
539 * soft-fp/fixsfti.c: Likewise.
540 * soft-fp/fixtfdi.c: Likewise.
541 * soft-fp/fixtfsi.c: Likewise.
542 * soft-fp/fixtfti.c: Likewise.
543 * soft-fp/fixunsdfdi.c: Likewise.
544 * soft-fp/fixunsdfsi.c: Likewise.
545 * soft-fp/fixunsdfti.c: Likewise.
546 * soft-fp/fixunshfti.c: Likewise.
547 * soft-fp/fixunssfdi.c: Likewise.
548 * soft-fp/fixunssfsi.c: Likewise.
549 * soft-fp/fixunssfti.c: Likewise.
550 * soft-fp/fixunstfdi.c: Likewise.
551 * soft-fp/fixunstfsi.c: Likewise.
552 * soft-fp/fixunstfti.c: Likewise.
553 * soft-fp/floatdidf.c: Likewise.
554 * soft-fp/floatdisf.c: Likewise.
555 * soft-fp/floatditf.c: Likewise.
556 * soft-fp/floatsidf.c: Likewise.
557 * soft-fp/floatsisf.c: Likewise.
558 * soft-fp/floatsitf.c: Likewise.
559 * soft-fp/floattidf.c: Likewise.
560 * soft-fp/floattihf.c: Likewise.
561 * soft-fp/floattisf.c: Likewise.
562 * soft-fp/floattitf.c: Likewise.
563 * soft-fp/floatundidf.c: Likewise.
564 * soft-fp/floatundisf.c: Likewise.
565 * soft-fp/floatunditf.c: Likewise.
566 * soft-fp/floatunsidf.c: Likewise.
567 * soft-fp/floatunsisf.c: Likewise.
568 * soft-fp/floatunsitf.c: Likewise.
569 * soft-fp/floatuntidf.c: Likewise.
570 * soft-fp/floatuntihf.c: Likewise.
571 * soft-fp/floatuntisf.c: Likewise.
572 * soft-fp/floatuntitf.c: Likewise.
573 * soft-fp/gedf2.c: Likewise.
574 * soft-fp/gesf2.c: Likewise.
575 * soft-fp/getf2.c: Likewise.
576 * soft-fp/half.h: Likewise.
577 * soft-fp/ledf2.c: Likewise.
578 * soft-fp/lesf2.c: Likewise.
579 * soft-fp/letf2.c: Likewise.
580 * soft-fp/muldf3.c: Likewise.
581 * soft-fp/mulsf3.c: Likewise.
582 * soft-fp/multf3.c: Likewise.
583 * soft-fp/negdf2.c: Likewise.
584 * soft-fp/negsf2.c: Likewise.
585 * soft-fp/negtf2.c: Likewise.
586 * soft-fp/op-1.h: Likewise.
587 * soft-fp/op-2.h: Likewise.
588 * soft-fp/op-4.h: Likewise.
589 * soft-fp/op-8.h: Likewise.
590 * soft-fp/op-common.h: Likewise.
591 * soft-fp/quad.h: Likewise.
592 * soft-fp/single.h: Likewise.
593 * soft-fp/soft-fp.h: Likewise.
594 * soft-fp/subdf3.c: Likewise.
595 * soft-fp/subsf3.c: Likewise.
596 * soft-fp/subtf3.c: Likewise.
597 * soft-fp/truncdfhf2.c: Likewise.
598 * soft-fp/truncdfsf2.c: Likewise.
599 * soft-fp/truncsfhf2.c: Likewise.
600 * soft-fp/trunctfdf2.c: Likewise.
601 * soft-fp/trunctfhf2.c: Likewise.
602 * soft-fp/trunctfsf2.c: Likewise.
603 * soft-fp/trunctfxf2.c: Likewise.
604 * soft-fp/truncxfhf2.c: Likewise.
605 * soft-fp/unorddf2.c: Likewise.
606 * soft-fp/unordsf2.c: Likewise.
607 * soft-fp/unordtf2.c: Likewise.
608
609 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
610
611 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
612 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
613 configurations.
614
615 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
616
617 * config.host: Removed tilegx and tilepro entries.
618 * config/tilegx/sfp-machine.h: Removed.
619 * config/tilegx/sfp-machine32.h: Removed.
620 * config/tilegx/sfp-machine64.h: Removed.
621 * config/tilegx/t-crtstuff: Removed.
622 * config/tilegx/t-softfp: Removed.
623 * config/tilegx/t-tilegx: Removed.
624 * config/tilepro/atomic.c: Removed.
625 * config/tilepro/atomic.h: Removed.
626 * config/tilepro/linux-unwind.h: Removed.
627 * config/tilepro/sfp-machine.h: Removed.
628 * config/tilepro/softdivide.c: Removed.
629 * config/tilepro/softmpy.S: Removed.
630 * config/tilepro/t-crtstuff: Removed.
631 * config/tilepro/t-tilepro: Removed.
632
633 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
634
635 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
636 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
637
638 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
639
640 PR libgcc/27576
641 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
642
643 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
644
645 PR libgcc/105708
646 * config/aarch64/lse-init.c: Increase constructor priority.
647
648 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
649
650 PR target/104689
651 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
652 Handle the !REG_UNSAVED case.
653 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
654
655 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
656
657 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
658 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
659 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
660
661 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
662
663 * config.host: Add t-dfprules to AArch64 targets.
664
665 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
666
667 * configure: Regenerate.
668
669 2022-05-13 Sebastian Pop <spop@amazon.com>
670
671 PR target/105162
672 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
673 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
674
675 2022-05-10 Martin Liska <mliska@suse.cz>
676 Hans-Peter Helfert <peter-helfert@t-online.de>
677
678 PR gcov-profile/105535
679 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
680 n_functions.
681
682 2022-05-02 Martin Liska <mliska@suse.cz>
683
684 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
685
686 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
687
688 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
689 (gcov_profile_merge_stream): Likewise.
690
691 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
692
693 * libgcov-util.c (consume_stream): New.
694 (get_target_profiles_for_merge): Likewise.
695 (gcov_profile_merge_stream): Likewise.
696
697 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
698
699 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
700
701 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
702
703 * libgcov-util.c (read_gcda_file): Do not open file.
704 (ftw_read_file): Open file here.
705
706 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
707
708 * libgcov-util.c (read_gcda_file): Prepend new info object to global
709 list.
710 (ftw_read_file): Remove list append here.
711
712 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
713
714 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
715 (ftw_read_file): Duplicate filename for read_gcda_file().
716
717 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
718
719 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
720 (__gcov_filename_to_gcfn): Declare and document.
721 * libgcov-driver.c (dump_string): New.
722 (__gcov_filename_to_gcfn): Likewise.
723 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
724
725 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
726
727 * libgcov.h (gcov_seek): Remove define and declaration.
728
729 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
730
731 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
732 parameter. Pass mode to gcov_open() calls.
733 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
734 gcov_exit_open_gcda_file() call.
735 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
736 calls.
737 (__gcov_dump_one): Open file for reading and writing.
738
739 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
740
741 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
742 reading and writing.
743 * libgcov-util.c (read_gcda_file): Open file for reading.
744 * libgcov.h (gcov_open): Delete declaration.
745
746 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
747
748 * libgcov-util.c (gcov_profile_merge): Return the list of merged
749 profiles. Accept empty target and source profile lists.
750
751 2022-04-08 Sergei Trofimovich <siarheit@google.com>
752
753 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
754
755 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
756 Lulu Cheng <chenglulu@loongson.cn>
757
758 * configure: Regenerate file.
759
760 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
761 Lulu Cheng <chenglulu@loongson.cn>
762
763 * config/loongarch/crtfastmath.c: New file.
764 * config/loongarch/linux-unwind.h: Like wise.
765 * config/loongarch/sfp-machine.h: Like wise.
766 * config/loongarch/t-crtstuff: Like wise.
767 * config/loongarch/t-loongarch: Like wise.
768 * config/loongarch/t-loongarch64: Like wise.
769 * config/loongarch/t-softfp-tf: Like wise.
770 * config.host: Add LoongArch tuples.
771 * configure.ac: Add LoongArch support.
772
773 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
774
775 PR libgcc/86224
776 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
777 for __mulsi3.
778 (__udivsi3_internal, __divsi3_internal): Similarly.
779 (__umodsi3, __modsi3): Use the internal function names.
780
781 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
782
783 PR target/102215
784 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
785 a line up to non-arg-dependent value first.
786 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
787 __atomic_compare_exchange_{1,2}.
788
789 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
790
791 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
792 * config/t-darwin-ehs: Add dependency on unwind.h.
793
794 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
795
796 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
797 with 0 instead of NULL.
798
799 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
800
801 PR target/104656
802 * configure.ac: --disable-gcov if targetting bpf-*.
803 * configure: Regenerate.
804
805 2022-01-25 Florian Weimer <fweimer@redhat.com>
806
807 PR libgcc/104207
808 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
809
810 2022-01-17 Martin Liska <mliska@suse.cz>
811
812 * libgcov-driver.c: Rename .c names to .cc.
813
814 2022-01-15 David <gccbugzilla@limegreensocks.com>
815
816 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
817 Remove inlined version, Windows 95 is no longer relevant.
818 * config/i386/gthr-win32.h
819 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
820
821 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
822
823 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
824 DWARF_ALT_FRAME_RETURN_COLUMN macro.
825
826 2022-01-04 Florian Weimer <fweimer@redhat.com>
827
828 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
829 if available.
830
831 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
832
833 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
834 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
835 return is not equal _ASM_EFAULT.
836 (__kernel_cmpxchg2): Likewise.
837
838 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
839
840 * config.host: Add shim declaration header to powerpc*-darwin builds.
841 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
842 file.
843 * config/t-darwin-ehs: Add dependencies to the shared unwinder
844 objects.
845 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
846 the shared EH lib. Add all-multi to the dependencies for the
847 libgcc_s.1.dylib redirections.
848
849 2021-12-13 Olivier Hainque <hainque@adacore.com>
850
851 * config.host (powerpc*-*-vxworks7*): Remove
852 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
853
854 2021-12-13 Olivier Hainque <hainque@adacore.com>
855
856 * config.host (*vxworks*): Remove special case for
857 arm on the use of vxcrtstuff.
858
859 2021-12-13 Fred Konrad <konrad@adacore.com>
860 Olivier Hainque <hainque@adacore.com>
861
862 * config/t-vxcrtstuffS: New Makefile fragment.
863 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
864 functions for INITFINI_ARRAY support in shared libs and guard
865 the definition of eh table registration functions on conditions
866 indicating they are needed.
867
868 2021-12-13 Olivier Hainque <hainque@adacore.com>
869
870 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
871 ahead of the other files in tmake_files.
872 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
873 overriding it.
874
875 2021-12-13 Olivier Hainque <hainque@adacore.com>
876
877 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
878 both VxWorks7 and earlier.
879 * config/t-vxworks7: Remove.
880 * config.host: Remove special case for vxworks7.
881
882 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
883
884 * config/vxcrtstuff.c: Make constructor and destructor
885 functions static when possible.
886
887 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
888
889 * config/vxcrtstuff.c: Remove constructor/destructor
890 declarations.
891
892 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
893
894 * config/t-darwin: Add libgcc_tm.h to the dependencies
895 for darwin10-unwind-find-enc-func.
896
897 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
898
899 * config/rs6000/t-vxworks: New file.
900 * config.host (powerpc*-*-vxworks*): Use it instead of
901 t-ppccomm.
902
903 2021-12-09 Fred Konrad <konrad@adacore.com>
904
905 * config.host (powerpc*-wrs-vxworks7*): Fix path to
906 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
907
908 2021-12-09 Olivier Hainque <hainque@adacore.com>
909 Rasmus Villemoes <rv@rasmusvillemoes.dk>
910
911 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
912 $(LIBGCC2_INCLUDES).
913 * config/t-vxworks7: Likewise.
914
915 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
916
917 * config.host (*-*-darwin*): Add logic to build a shared
918 unwinder library for Darwin8-10.
919 * config/i386/t-darwin: Build legacy libgcc_s.1.
920 * config/rs6000/t-darwin: Likewise.
921 * config/t-darwin: Reorganise the EH fragments to place
922 them for inclusion in a shared EH lib.
923 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
924 the supporting pieces (all FAT libs).
925 * config/t-darwin-noeh: Removed.
926 * config/darwin-unwind.ver: New file.
927 * config/rs6000/t-darwin-ehs: New file.
928 * config/t-darwin-ehs: New file.
929
930 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
931
932 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
933 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
934 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
935 HIDDEN_DEF.
936
937 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
938
939 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
940 ssize_t and vfork after including auto-host.h.
941
942 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
943
944 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
945 crtend.o to extra_parts.
946
947 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
948
949 * config/pa/t-dimode (lib2difuncs): Fix typo.
950
951 2021-11-25 Florian Weimer <fweimer@redhat.com>
952
953 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
954 Remove func, ret.
955 (find_fde_tail): New function. Split from
956 _Unwind_IteratePhdrCallback. Move the result initialization
957 from _Unwind_Find_FDE.
958 (_Unwind_Find_FDE): Updated to call find_fde_tail.
959
960 2021-11-22 Florian Weimer <fweimer@redhat.com>
961
962 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
963 (struct unw_eh_callback_data): Make dbase member conditional.
964 (unw_eh_callback_data_dbase): New function.
965 (base_from_cb_data): Simplify for the non-dbase case.
966 (_Unwind_IteratePhdrCallback): Adjust.
967 (_Unwind_Find_FDE): Likewise.
968
969 2021-11-22 Florian Weimer <fweimer@redhat.com>
970
971 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
972 tbase member.
973 (base_from_cb_data): Adjust.
974 (_Unwind_IteratePhdrCallback): Likewise.
975 (_Unwind_Find_FDE): Likewise.
976
977 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
978
979 * config.host: Add weak emutls crt to the extra_parts.
980 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
981 workaround.
982 * config/libgcc-libsystem.ver: Add exclude list for the system-
983 provided unwinder.
984 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
985 * config/i386/libgcc-darwin.10.4.ver: Removed.
986 * config/i386/libgcc-darwin.10.5.ver: Removed.
987 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
988 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
989 * config/t-darwin-noeh: New file.
990
991 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
992
993 * config/t-darwin: Build weak-defined emutls objects.
994 * emutls.c (__emutls_get_address): Add optional attributes.
995 (__emutls_register_common): Likewise.
996 (EMUTLS_ATTR): New.
997
998 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
999
1000 PR libgcc/103044
1001 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1002 called with a null argument or at the end of the backtrace and return.
1003 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1004
1005 2021-11-10 Jakub Jelinek <jakub@redhat.com>
1006
1007 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1008 formatting fix.
1009
1010 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1011
1012 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1013 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1014
1015 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
1016
1017 PR libgomp/96661
1018 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1019 (hppa*64*-*-hpux11*): Likewise.
1020 * config/pa/sfp-exceptions.c: New.
1021 * config/pa/sfp-machine.h: New.
1022 * config/pa/t-dimode: New.
1023 * config/pa/t-softfp-sfdftf: New.
1024
1025 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
1026
1027 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1028 tmake_file.
1029 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1030 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1031 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1032 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1033 (LIB1ASMFUNCS): Revise.
1034 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1035
1036 2021-10-22 Stafford Horne <shorne@gmail.com>
1037
1038 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1039 Change to 0.
1040
1041 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1042
1043 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1044 outside of get_regs() in order to use it in another function, this
1045 is done twice: for __powerpc64__ and for !__powerpc64__.
1046 (struct trace_arg): New struct.
1047 (struct layout): New struct.
1048 (ppc_backchain_fallback): New function.
1049 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1050 state and call MD_BACKCHAIN_FALLBACK.
1051
1052 2021-10-13 Martin Liska <mliska@suse.cz>
1053
1054 PR gcov-profile/90364
1055 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1056 checksums.
1057 (write_one_data): Write also checksum.
1058 * libgcov-util.c (read_gcda_file): Read also checksum field.
1059 * libgcov.h (struct gcov_info): Add new field.
1060
1061 2021-10-08 Ian Lance Taylor <iant@golang.org>
1062
1063 * config/i386/morestack.S: Use .init_array for constructor if
1064 available.
1065 * config/rs6000/morestack.S: Likewise.
1066 * config/s390/morestack.S: Likewise.
1067
1068 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1069
1070 PR target/101104
1071 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1072 Use more correct values for native IBM 128-bit.
1073
1074 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1075
1076 * config/i386/libgcc-darwin.ver: Add Symbols for
1077 __cpu_model, __cpu_indicator_init.
1078
1079 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1080
1081 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1082 using __APPLE__.
1083
1084 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1085
1086 * config/t-slibgcc-darwin: Delete unused code.
1087
1088 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1089
1090 * config/i386/t-darwin: Add in a vers file for X86-specific
1091 symbols.
1092 * config/t-darwin: Add the generic symbol maps here...
1093 * config/t-slibgcc-darwin: ... removing from here.
1094 * config/i386/libgcc-darwin.ver: New file.
1095
1096 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1097
1098 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1099 and __mulhc3.
1100
1101 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1102
1103 * config.host: Use convenience library for Darwin10
1104 unwinder shim.
1105 * config/t-darwin: Build Darwin10 unwinder shim as a
1106 convenience library.
1107
1108 2021-09-13 Andrew Pinski <apinski@marvell.com>
1109
1110 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1111 * config/m32r/libgcc-glibc.ver: Removed.
1112 * config/m32r/t-linux: Removed.
1113
1114 2021-09-08 liuhongt <hongtao.liu@intel.com>
1115
1116 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1117 libgcc_s.so.1.
1118
1119 2021-09-08 Jakub Jelinek <jakub@redhat.com>
1120 Iain Sandoe <iain@sandoe.co.uk>
1121
1122 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1123 and export *hf* and *hc* functions at GCC_12.0.0.
1124
1125 2021-09-06 liuhongt <hongtao.liu@intel.com>
1126
1127 * Makefile.in: Adjust to support specific CFLAGS for each
1128 libgcc source file.
1129 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1130 related libgcc source files.
1131 * config/i386/t-softfp: Ditto.
1132 * config/i386/_divhc3.c: New file.
1133 * config/i386/_mulhc3.c: New file.
1134
1135 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1136
1137 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1138 alias_DFtype, alias_TFtype): New.
1139 (ALIAS_SELECTOR): New.
1140 (strong_alias): Use __typeof and a _Generic selector to
1141 provide the type to the synthesized function.
1142
1143 2021-09-02 liuhongt <hongtao.liu@intel.com>
1144
1145 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1146 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1147 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1148 * config/i386/t-softfp: Add hf soft-fp.
1149 * config.host: Add i386/64/t-softfp.
1150 * config/i386/64/t-softfp: New file.
1151
1152 2021-09-02 liuhongt <hongtao.liu@intel.com>
1153
1154 * soft-fp/eqhf2.c: New file.
1155 * soft-fp/extendhfdf2.c: New file.
1156 * soft-fp/extendhfsf2.c: New file.
1157 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1158 * soft-fp/truncdfhf2.c: New file
1159 * soft-fp/truncsfhf2.c: New file
1160
1161 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1162
1163 * unwind-arm-common.inc (abort): Remove.
1164
1165 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1166
1167 * config/aarch64/value-unwind.h: Add missing runtime exception
1168 paragraph.
1169 * config/frv/frv-abi.h: Likewise.
1170 * config/i386/value-unwind.h: Likewise.
1171 * config/pa/pa64-hpux-lib.h: Likewise.
1172
1173 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
1174
1175 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1176 __gcc_qadd.
1177 (__gcc_qadd): Call ldouble_qadd_internal.
1178 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1179 argument negated.
1180
1181 2021-08-26 Jonathan Yong <10walls@gmail.com>
1182
1183 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1184 and register_frame_dtor warnings.
1185
1186 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
1187
1188 PR target/102035
1189 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1190 Add vlldm erratum work-around.
1191
1192 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
1193
1194 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1195
1196 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1197
1198 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1199 (gcov_type_unsigned): Likewise.
1200
1201 2021-08-14 Stafford Horne <shorne@gmail.com>
1202
1203 PR target/99783
1204 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1205 * config/or1k/t-crtstuff: New file.
1206
1207 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1208
1209 * libgcov-driver.c (#include <stdint.h>): Remove.
1210 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1211
1212 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1213
1214 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1215 * gcov.h (gcov_info): Declare.
1216 (__gcov_info_to_gdca): Likewise.
1217 * libgcov.h (gcov_write_counter): Remove.
1218 (gcov_write_tag_length): Likewise.
1219 * libgcov-driver.c (#include <stdint.h>): New.
1220 (#include <string.h>): Remove.
1221 (NEED_L_GCOV): Conditionally define.
1222 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1223 (are_all_counters_zero): New.
1224 (gcov_dump_handler): Likewise.
1225 (gcov_allocate_handler): Likewise.
1226 (dump_unsigned): Likewise.
1227 (dump_counter): Likewise.
1228 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1229 Use dump_unsigned() and dump_counter().
1230 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1231 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1232 (__gcov_info_to_gcda): New.
1233
1234 2021-08-05 Jakub Jelinek <jakub@redhat.com>
1235
1236 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1237 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1238 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1239 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1240
1241 2021-08-04 Jakub Jelinek <jakub@redhat.com>
1242
1243 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1244
1245 2021-07-15 Alan Modra <amodra@gmail.com>
1246
1247 * config/rs6000/morestack.S (R2_SAVE): Define.
1248 (__morestack): Save and restore r2. Set up r2 for called
1249 functions.
1250
1251 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
1252
1253 * soft-fp/extendhfxf2.c: New file.
1254 * soft-fp/truncxfhf2.c: Likewise.
1255
1256 2021-06-29 Julian Brown <julian@codesourcery.com>
1257
1258 * config/gcn/lib2-bswapti2.c: New file.
1259 * config/gcn/lib2-divmod-di.c: New file.
1260 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1261 typedefs.
1262 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1263 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1264 lib2-bswapti2.c.
1265
1266 2021-06-29 Julian Brown <julian@codesourcery.com>
1267
1268 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1269 return types to USItype.
1270 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1271
1272 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
1273
1274 * configure: Regenerate.
1275 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1276 typos among the name, CFLAGS and the test.
1277 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1278 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1279 Remove.
1280 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1281 macro FLOAT128_HW_INSNS_ISA3_1.
1282 (FP128_3_1_CFLAGS_HW): Fix option typo.
1283 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1284 FLOAT128_HW_INSNS_ISA3_1.
1285 (__floattikf_resolve): Likewise.
1286 (__floatuntikf_resolve): Likewise.
1287 (__fixkfti_resolve): Likewise.
1288 (__fixunskfti_resolve): Likewise.
1289 (__floattikf): Likewise.
1290 (__floatuntikf): Likewise.
1291 (__fixkfti): Likewise.
1292 (__fixunskfti): Likewise.
1293
1294 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1295
1296 PR target/99939
1297 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1298 macro.
1299 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1300 on passing -mcmse option.
1301
1302 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1303
1304 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1305 _ARCH_PPC64 .
1306
1307 2021-06-09 Carl Love <cel@us.ibm.com>
1308
1309 * config.host: Add if test and set for
1310 libgcc_cv_powerpc_3_1_float128_hw.
1311 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1312 Change calls of __fixkfti to __fixkfti_sw.
1313 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1314 Change calls of __fixunskfti to __fixunskfti_sw.
1315 * config/rs6000/float128-p10.c (__floattikf_hw,
1316 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1317 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1318 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1319 __fixunskfti_resolve): Add resolve functions.
1320 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1321 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1322 __fixtfti, __fixunstfti): Add editor commands to change names.
1323 * config/rs6000/float128-sed-hw (__floattitf,
1324 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1325 change names.
1326 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1327 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1328 * config/rs6000/quad-float128.h (__floattikf_sw,
1329 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1330 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1331 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1332 * config/rs6000/t-float128 (floattikf, floatuntikf,
1333 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1334 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1335 file names to fp128_ppc_funcs.
1336 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1337 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1338 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1339 * config/rs6000/t-float128-p10-hw: New file.
1340 * configure: Update script for isa 3.1 128-bit float support.
1341 * configure.ac: Add check for 128-bit float hardware support.
1342 * config/rs6000/fixkfti-sw.c: New file.
1343 * config/rs6000/fixunskfti-sw.c: New file.
1344 * config/rs6000/floattikf-sw.c: New file.
1345 * config/rs6000/floatuntikf-sw.c: New file.
1346
1347 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1348
1349 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1350
1351 2021-05-13 Martin Liska <mliska@suse.cz>
1352
1353 * libgcov-driver.c: Fix GNU coding style.
1354
1355 2021-05-10 Martin Liska <mliska@suse.cz>
1356
1357 * libgcov-driver.c (gcov_version): Use different name that does
1358 not clash with newly introduced macro.
1359
1360 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1361
1362 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1363 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1364 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1365
1366 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1367
1368 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1369 Define.
1370 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1371 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1372 Define.
1373 (__divkc3): Improve complex divide.
1374
1375 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
1376
1377 PR target/98952
1378 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1379 trampoline size comparison in 32-bit by reversing test and
1380 combining load immediate with compare.
1381 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1382 in 32-bit by reversing test and combining load immediate with
1383 compare.
1384
1385 2021-04-05 Florian Weimer <fweimer@redhat.com>
1386 Michael Meissner <meissner@linux.ibm.com>
1387
1388 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1389 point functions for $(decimal_float) only.
1390
1391 2021-04-03 Jakub Jelinek <jakub@redhat.com>
1392
1393 PR target/97653
1394 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1395 $(objext) instead of $(object). Use _floatunditf instead of
1396 _floatunsditf. Add tf <-> ti conversion objects.
1397 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1398
1399 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
1400
1401 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1402 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1403 (fp128_decstr_objs): Delete.
1404 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1405 _Float128 to a Decimal type. Call __strtoieee128 to do
1406 conversions from a Decimal type to _Float128.
1407 * config/rs6000/_sprintfkf.c: Delete file.
1408 * config/rs6000/_sprintfkf.h: Delete file.
1409 * config/rs6000/_strtokf.c: Delete file.
1410 * config/rs6000/_strtokf.h: Delete file.
1411
1412 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1413
1414 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1415 to __BYTE_ORDER__.
1416
1417 2021-03-06 Jakub Jelinek <jakub@redhat.com>
1418
1419 PR gcov-profile/99406
1420 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1421 defined, define these macros if not defined already.
1422
1423 2021-03-04 Martin Liska <mliska@suse.cz>
1424
1425 PR gcov-profile/99105
1426 * libgcov-driver.c (write_top_counters): Rename to ...
1427 (write_topn_counters): ... this.
1428 (write_one_data): Pre-allocate buffer for number of items
1429 in the corresponding linked lists.
1430 * libgcov.h (malloc_mmap): New function.
1431 (allocate_gcov_kvp): Use it.
1432
1433 2021-03-04 Martin Liska <mliska@suse.cz>
1434
1435 PR gcov-profile/99385
1436 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1437
1438 2021-03-03 Martin Liska <mliska@suse.cz>
1439
1440 PR gcov-profile/97461
1441 * config.in: Regenerate.
1442 * configure: Likewise.
1443 * configure.ac: Check sys/mman.h header file
1444 * libgcov-driver.c (struct gcov_kvp): Remove static
1445 pre-allocated pool and use a dynamic one.
1446 * libgcov.h (MMAP_CHUNK_SIZE): New.
1447 (gcov_counter_add): Use mmap to allocate pool for struct
1448 gcov_kvp.
1449
1450 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
1451
1452 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1453 the function.
1454 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1455
1456 2021-02-24 Jakub Jelinek <jakub@redhat.com>
1457
1458 PR libgcc/99236
1459 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1460 negation of m in unsigned type.
1461
1462 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1463 Hau Hsu <hsuhau617@gmail.com>
1464
1465 PR target/99157
1466 * config/arm/t-arm: Fix cmse support detection.
1467
1468 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1469
1470 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1471
1472 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1473
1474 * config/rs6000/_dd_to_kf.c: New file.
1475 * config/rs6000/_kf_to_dd.c: New file.
1476 * config/rs6000/_kf_to_sd.c: New file.
1477 * config/rs6000/_kf_to_td.c: New file.
1478 * config/rs6000/_sd_to_kf.c: New file.
1479 * config/rs6000/_sprintfkf.c: New file.
1480 * config/rs6000/_sprintfkf.h: New file.
1481 * config/rs6000/_strtokf.h: New file.
1482 * config/rs6000/_strtokf.c: New file.
1483 * config/rs6000/_td_to_kf.c: New file.
1484 * config/rs6000/quad-float128.h: Add new declarations.
1485 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1486 (fp128_decstr_funcs): New macro.
1487 (ibm128_dec_funcs): New macro.
1488 (fp128_ppc_funcs): Add the new conversions.
1489 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1490 compiled with -mabi=ieeelongdouble.
1491 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1492 compiled with -mabi=ibmlongdouble.
1493 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1494 compiled with -mabi=ieeelongdouble.
1495 (FP128_CFLAGS_DECIMAL): New macro.
1496 (IBM128_CFLAGS_DECIMAL): New macro.
1497 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1498 (BFP_TO_DFP): Add PowerPC _Float128 support.
1499 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1500 IEEE 128-bit floating point.
1501 (DFP_TO_BFP): Add PowerPC _Float128 support.
1502 (BFP_TO_DFP): Add PowerPC _Float128 support.
1503 (BFP_SPRINTF): New macro.
1504
1505 2021-01-27 Jakub Jelinek <jakub@redhat.com>
1506
1507 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1508 * config/i386/savms64f.h: Likewise.
1509 * config/i386/resms64.h: Likewise.
1510 * config/i386/resms64f.h: Likewise.
1511 * config/i386/resms64x.h: Likewise.
1512 * config/i386/resms64fx.h: Likewise.
1513
1514 2021-01-26 Martin Liska <mliska@suse.cz>
1515
1516 PR gcov-profile/98739
1517 * libgcov.h (gcov_topn_add_value): Do not train when
1518 we have a merged profile with a negative number of total
1519 value.
1520
1521 2021-01-25 Martin Liska <mliska@suse.cz>
1522
1523 PR gcov-profile/98739
1524 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1525 ends with a dropped counter.
1526 * libgcov.h (gcov_topn_add_value): Add return value.
1527
1528 2021-01-13 Stafford Horne <shorne@gmail.com>
1529
1530 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1531 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1532 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1533 FP_EX_ALL): New constant macros.
1534 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1535 FP_HANDLE_EXCEPTIONS): New macros.
1536 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1537
1538 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1539
1540 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1541 posix siginfo case to struct handler_args. Detect between legacy
1542 and siginfo from the second parameter, which is a small sigcode in
1543 the legacy case, and a pointer in the siginfo case.
1544
1545 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1546
1547 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1548 functions.
1549 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1550 _bswapdi2.
1551
1552 2020-12-08 Ian Lance Taylor <iant@golang.org>
1553
1554 * generic-morestack-thread.c (free_segments): Block signals during
1555 thread exit.
1556
1557 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
1558
1559 PR libgcc/97543
1560 PR libgcc/97643
1561 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1562 (IBM128_SHARED_OBJS): New make variable.
1563 (IBM128_OBJS): New make variable. Set all objects to use the
1564 explicit IBM format, and disable gnu attributes.
1565 (IBM128_CFLAGS): New make variable.
1566 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1567 modules.
1568
1569 2020-12-03 Alexandre Oliva <oliva@adacore.com>
1570
1571 * config/t-vxworks (LIB2ADD): Drop.
1572 * config/t-vxworks7 (LIB2ADD): Likewise.
1573 * config/vxcache.c: Remove.
1574
1575 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1576
1577 * libgcc2.c (bswapsi2): Make constants unsigned.
1578
1579 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1580
1581 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1582 builtin_add_overflow.
1583 (absvsi2, absvDI2): Likewise.
1584
1585 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1586
1587 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1588 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1589
1590 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1591
1592 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1593 (if MUL_32): Use mult64_hw for __muldi3.
1594 (if MUL_F5): Use mult64_hw for __muldi3.
1595 * config/msp430/lib2mul.c (__muldi3): New.
1596 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1597
1598 2020-11-17 Alan Modra <amodra@gmail.com>
1599
1600 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1601 (LIB2_SIDITI_CONV_FUNCS): Define.
1602 * config/rs6000/ppc64-fp.c: Delete file.
1603
1604 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1605
1606 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1607 hwmult library functions.
1608
1609 2020-11-10 Jeff Law <law@redhat.com>
1610
1611 * libgcc2.c: Fix whitespace issues in most recent change.
1612
1613 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1614
1615 * libgcc2.c (__addvSI3): Use overflow builtins.
1616 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1617 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1618 (__negvsi2, __negvDI2): Likewise.
1619 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1620 generated code.
1621 * libgcc2.h (__ucmpdi2): Adjust prototype.
1622
1623 2020-11-03 Pat Bernardi <bernardi@adacore.com>
1624 Olivier Hainque <hainque@adacore.com>
1625
1626 * config.host (aarch64-vxworks7*, tmake_file): Add
1627 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1628
1629 2020-11-03 Martin Storsjö <martin@martin.st>
1630
1631 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1632 before calling the callback.
1633
1634 2020-10-30 Olivier Hainque <hainque@adacore.com>
1635 Douglas Rupp <rupp@adacore.com>
1636 Pat Bernardi <bernardi@adacore.com>
1637
1638 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1639 to apply to VxWorks 7 as well.
1640
1641 2020-10-29 Olivier Hainque <hainque@adacore.com>
1642
1643 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1644 controlling the definition of VX_ENTER_TLS_DTOR and
1645 VX_LEAVE_TLS_DTOR based on a version major check.
1646
1647 2020-10-29 Olivier Hainque <hainque@adacore.com>
1648
1649 * config/gthr-vxworks-thread.c: Fix name of macro used
1650 to condition the inclusion of an actual implementation.
1651
1652 2020-10-27 Martin Liska <mliska@suse.cz>
1653
1654 PR gcov-profile/97461
1655 * libgcov.h (gcov_counter_add): Use first static counters
1656 as it should help to have malloc wrappers set up.
1657
1658 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1659
1660 * config/gthr-vxworks-thread.c: #include gthr.h before
1661 testing the guard defined there.
1662 * config/gthr-vxworks-cond.c: Likewise.
1663
1664 2020-10-21 Douglas Rupp <rupp@adacore.com>
1665 Olivier Hainque <hainque@adacore.com>
1666
1667 * config.host (powerpc*-wrs-vxworks7*): New case.
1668 * configure.ac: Handle powerpc*-*-vxworks7* as
1669 powerpc*-*-linux* for ppc-fp_type.
1670 * configure: Regenerate.
1671
1672 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1673
1674 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1675 section on VxWorks >= 6.
1676 * config/gthr-vxworks-thread.c: Condition the entire
1677 implementation on __GTHREAD_CXX0X.
1678
1679 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1680
1681 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1682 section on VxWorks >= 6.
1683 * config/gthr-vxworks-cond.c: Condition the entire
1684 implementation on __GTHREAD_HAS_COND.
1685
1686 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1687
1688 * config/gthr-vxworks.c: #include <taskLib.h>.
1689
1690 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1691
1692 * config/gthr-vxworks.h: Rewrite remaining occurrence
1693 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1694
1695 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1696 Olivier Hainque <hainque@adacore.com>
1697
1698 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1699 except on VxWorks 6.
1700
1701 2020-10-16 Olivier Hainque <hainque@adacore.com>
1702
1703 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1704
1705 2020-10-14 Alexandre Oliva <oliva@adacore.com>
1706
1707 * config/gthr-vxworks-thread.c: Include stdlib.h.
1708 (tls_delete_hook): Prototype it.
1709 (__gthread_cond_signal): Return early if no waiters. Consume
1710 signal in case the semaphore got full. Use semInfoGet instead
1711 of kernel-mode-only semInfo.
1712 (__gthread_cond_timedwait): Use semExchange. Always take the
1713 mutex again before returning.
1714 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1715
1716 2020-10-14 Olivier Hainque <hainque@adacore.com>
1717
1718 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1719 $(MULTISUBDIR) to the -I path for fixed headers, as we
1720 arrange to have different sets of such headers for different
1721 multilibs when they are activated.
1722 * config/t-vxworks7: Likewise.
1723
1724 2020-10-14 Olivier Hainque <hainque@adacore.com>
1725
1726 * config/t-vxworks: Add include-fixed to include search
1727 paths for libgcc on VxWorks.
1728 * config/t-vxworks7: Likewise.
1729
1730 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
1731
1732 PR target/97148
1733 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1734 instead of <cetintrin.h>.
1735
1736 2020-10-01 Alan Modra <amodra@gmail.com>
1737
1738 * config/rs6000/morestack.S,
1739 * config/rs6000/tramp.S: Support __PCREL__ code.
1740
1741 2020-10-01 Alan Modra <amodra@gmail.com>
1742
1743 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1744
1745 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
1746
1747 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1748 variable.
1749
1750 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1751
1752 * config/aarch64/libgcc-softfp.ver: New file.
1753 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1754
1755 2020-09-27 Clement Chigot <clement.chigot@atos.net>
1756
1757 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1758
1759 2020-09-22 Sergei Trofimovich <siarheit@google.com>
1760
1761 PR gcov-profile/96913
1762 * libgcov-driver.c (write_one_data): Avoid function pointer
1763 comparison in TOP streaming decision.
1764
1765 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1766 Christophe Lyon <christophe.lyon@linaro.org>
1767
1768 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1769 qualifier.
1770 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1771 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1772 missing prototypes.
1773
1774 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1775
1776 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1777 unused variable warning.
1778
1779 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
1780
1781 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1782
1783 2020-09-09 Tom de Vries <tdevries@suse.de>
1784
1785 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1786 Wbuiltin-declaration-mismatch.
1787
1788 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1789
1790 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1791 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1792 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1793
1794 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1795
1796 * config/nvptx/atomic.c: New.
1797 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1798
1799 2020-08-03 Ian Lance Taylor <iant@golang.org>
1800
1801 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1802
1803 2020-08-03 Jakub Jelinek <jakub@redhat.com>
1804
1805 PR target/96402
1806 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1807 of x(tmp0), x(tmp1) in STXP arguments.
1808
1809 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
1810
1811 * config/riscv/save-restore.S [__riscv_xlen == 64]
1812 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1813 (__riscv_save_2): Replace negative immediates used for the final
1814 stack pointer adjustment with positive ones, right-shifted by 4.
1815
1816 2020-07-31 Martin Liska <mliska@suse.cz>
1817
1818 * libgcov-driver.c: Add __gcov_kvp_pool
1819 and __gcov_kvp_pool_index variables.
1820 * libgcov.h (allocate_gcov_kvp): New.
1821 (gcov_topn_add_value): Use it.
1822
1823 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1824
1825 * config/aarch64/lse.S: Add PAC property note.
1826
1827 2020-07-23 Martin Liska <mliska@suse.cz>
1828
1829 PR gcov-profile/96035
1830 * libgcov-driver-system.c: Create gcov folders with 0777
1831 so that it respects a system umask.
1832
1833 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
1834
1835 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1836
1837 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1838
1839 PR target/94891
1840 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1841 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1842 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1843 (MD_DEMANGLE_RETURN_ADDR): This.
1844 (aarch64_post_extract_frame_addr): Rename to ...
1845 (aarch64_demangle_return_addr): This.
1846 (aarch64_post_frob_eh_handler_addr): Remove.
1847 * unwind-dw2.c (uw_update_context): Demangle return address.
1848 (uw_frob_return_addr): Remove.
1849
1850 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1851
1852 PR target/96001
1853 * config/aarch64/lse.S: Add BTI marking and related definitions,
1854 and add BTI c to function entries.
1855
1856 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1857
1858 * config/aarch64/lse.S: Add stack note.
1859
1860 2020-07-02 Martin Liska <mliska@suse.cz>
1861
1862 PR gcov-profile/95348
1863 * libgcov-driver.c (merge_one_data): Merge only profiles
1864 that are not of non-zero type.
1865 (write_one_data): Write counters only if there's one non-zero
1866 value.
1867 * libgcov-util.c (tag_function): Change signature from unsigned
1868 to int.
1869 (tag_blocks): Likewise.
1870 (tag_arcs): Likewise.
1871 (tag_counters): Likewise.
1872 (tag_summary): Likewise.
1873 (tag_lines): Read only if COUNTERS is non-zero.
1874 (read_gcda_file): Handle negative length for COUNTERS type.
1875
1876 2020-06-25 Martin Liska <mliska@suse.cz>
1877
1878 * libgcov-driver.c (merge_summary): Remove function as its name
1879 is misleading and doing something different.
1880 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1881 in gcov-tool.
1882 * libgcov-util.c (curr_object_summary): Remove.
1883 (read_gcda_file): Remove unused curr_object_summary.
1884 (gcov_merge): Merge summaries.
1885 * libgcov.h: Add summary argument for gcov_info struct.
1886
1887 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
1888
1889 PR target/95259
1890 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1891 "common/config/i386/i386-cpuinfo.h" and
1892 "common/config/i386/cpuinfo.h".
1893 (__cpu_features2): Changed to array.
1894 (get_amd_cpu): Removed.
1895 (get_intel_cpu): Likewise.
1896 (get_available_features): Likewise.
1897 (__cpu_indicator_init): Call cpu_indicator_init.
1898 * config/i386/cpuinfo.h: Removed.
1899
1900 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
1901
1902 * Makefile.in: Remove uses of empty.mk. Use -include.
1903 * config/avr/t-avr: Use -include.
1904 * empty.mk: Delete.
1905
1906 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
1907
1908 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1909 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1910 and 64 bit with -maix64.
1911 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1912 Build and install AIX-style FAT libraries.
1913
1914 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1915
1916 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1917 'i386/gnu-unwind.h'
1918 * config/i386/gnu-unwind.h: New file.
1919
1920 2020-06-17 Martin Liska <mliska@suse.cz>
1921
1922 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1923 (merge_wrapper): Add both counts and use them properly.
1924 (topn_to_memory_representation): New function.
1925 (gcov_merge): Covert on disk representation to in memory
1926 representation.
1927 * libgcov.h: Remove const operator.
1928
1929 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1930
1931 * configure: Regenerate.
1932 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1933 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1934
1935 2020-06-09 Martin Liska <mliska@suse.cz>
1936
1937 PR gcov-profile/95494
1938 * libgcov-driver.c (write_top_counters): Cast first to
1939 intptr_t as sizeof(*) != sizeof(gcov_type).
1940 * libgcov.h (gcov_counter_set_if_null): Remove.
1941 (gcov_topn_add_value): Cast first to intptr_t and update
1942 linked list directly.
1943
1944 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1945
1946 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1947 with uw_install_context_1.
1948
1949 2020-06-04 Andreas Schwab <schwab@suse.de>
1950
1951 PR target/59230
1952 PR libfortran/59227
1953 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1954 soft-fp/divtf3.c.
1955 (LIB2ADD): Add config/ia64/divtf3.c.
1956 * config/ia64/divtf3.c: New file.
1957
1958 2020-06-03 Martin Liska <mliska@suse.cz>
1959
1960 PR gcov-profile/95480
1961 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1962 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1963 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1964 (gcov_counter_set_if_null): Likewise.
1965
1966 2020-06-02 Jim Wilson <jimw@sifive.com>
1967
1968 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1969 to bgtz.
1970
1971 2020-06-02 Martin Liska <mliska@suse.cz>
1972
1973 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1974 of xmalloc.
1975
1976 2020-06-02 Martin Liska <mliska@suse.cz>
1977
1978 * libgcov-driver.c (prune_topn_counter): Remove.
1979 (prune_counters): Likewise.
1980 (merge_one_data): Special case TOP N counters
1981 as they have variable length.
1982 (write_top_counters): New.
1983 (write_one_data): Special case TOP N.
1984 (dump_one_gcov): Do not prune TOP N counters.
1985 * libgcov-merge.c (merge_topn_values_set): Remove.
1986 (__gcov_merge_topn): Use gcov_topn_add_value.
1987 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1988 Likewise here.
1989 * libgcov.h (gcov_counter_add): New.
1990 (gcov_counter_set_if_null): Likewise.
1991 (gcov_topn_add_value): New.
1992
1993 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1994
1995 * config/i386/sfp-exceptions.c (struct fenv):
1996 Add __attribute__ ((gcc_struct)).
1997
1998 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
1999
2000 PR bootstrap/95413
2001 * configure: Regenerated.
2002
2003 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2004
2005 PR gcov-profile/95332
2006 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2007 * libgcov.h (gcov_magic): Disable GCC poison.
2008
2009 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 PR target/95212
2012 * config/i386/cpuinfo.h (processor_features): Move
2013 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2014
2015 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2016
2017 PR target/91695
2018 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2019 check.
2020
2021 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2022
2023 PR target/95212
2024 PR target/95220
2025 * config/i386/cpuinfo.c (get_available_features): Fix
2026 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2027 * config/i386/cpuinfo.h (processor_features): Add
2028 FEATURE_AVX512VP2INTERSECT.
2029
2030 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2031
2032 PR bootstrap/95147
2033 * configure: Regenerated.
2034
2035 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2036
2037 * configure: Regenerated.
2038
2039 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
2040
2041 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2042 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2043
2044 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2045
2046 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2047 (__math_force_eval_div): New define.
2048 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2049 generic division to generate INVALID, DIVZERO and INEXACT
2050 exceptions.
2051
2052 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2053
2054 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2055 instead of getauxval.
2056 (AT_HWCAP): Define.
2057 (HWCAP_ATOMICS): Define.
2058 Guard detection on __gnu_linux__.
2059
2060 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
2061
2062 * config.host: Delete changes meant for a private branch.
2063 * config/rs6000/t-float128: Likewise.
2064 * configure.ac: Likewise.
2065 * configure: Likewise.
2066
2067 2020-05-05 Martin Liska <mliska@suse.cz>
2068
2069 PR gcov-profile/93623
2070 * Makefile.in: Remove __gcov_flush.
2071 * gcov.h (__gcov_flush): Remove.
2072 * libgcov-interface.c (__gcov_flush): Remove.
2073 (init_mx): Use renamed mutex.
2074 (__gcov_lock): Likewise.
2075 (__gcov_unlock): Likewise.
2076 (__gcov_fork): Likewise.
2077 (__gcov_flush): Remove.
2078
2079 2020-05-05 Martin Liska <mliska@suse.cz>
2080
2081 PR gcov-profile/93623
2082 * libgcov-interface.c (__gcov_fork): Do not flush
2083 and reset only in child process.
2084 (__gcov_execl): Dump counters only and reset them
2085 only if exec* fails.
2086 (__gcov_execlp): Likewise.
2087 (__gcov_execle): Likewise.
2088 (__gcov_execv): Likewise.
2089 (__gcov_execvp): Likewise.
2090 (__gcov_execve): Likewise.
2091
2092 2020-05-05 Martin Liska <mliska@suse.cz>
2093
2094 PR gcov-profile/93623
2095 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2096 * libgcov-interface.c (ALIAS_void_fn): Remove.
2097 (__gcov_lock): New.
2098 (__gcov_unlock): New.
2099 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2100 (__gcov_reset): Likewise.
2101 (__gcov_dump): Likewise.
2102 * libgcov.h (__gcov_lock): New declaration.
2103 (__gcov_unlock): Likewise.
2104
2105 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2106
2107 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2108 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2109 generic division to generate INVALID and DIVZERO exceptions.
2110
2111 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2112
2113 * config/rs6000/crtresfpr.S: Use .machine ppc.
2114 * config/rs6000/crtresxfpr.S: Likewise.
2115 * config/rs6000/crtsavfpr.S: Likewise.
2116
2117 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2118
2119 PR target/94514
2120 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2121 Update context->flags accroding to the frame state.
2122
2123 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2124
2125 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2126 Remove unneeded assignments to volatile memory.
2127
2128 2020-04-15 Jakub Jelinek <jakub@redhat.com>
2129
2130 PR target/93053
2131 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2132 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2133 is not defined, use just .arch armv8-a.
2134 (B, M, N, OPN): Define.
2135 (COMMENT): New .macro.
2136 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2137 defined. Otherwise, move the operands right after the glue? and
2138 comment out operands where the macros are used.
2139 * configure: Regenerated.
2140 * config.in: Regenerated.
2141
2142 2020-04-07 Ian Lance Taylor <iant@golang.org>
2143
2144 PR libgcc/94513
2145 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2146 syscall instead.
2147
2148 2020-04-04 Ian Lance Taylor <iant@golang.org>
2149
2150 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2151
2152 2020-04-03 Ian Lance Taylor <iant@golang.org>
2153
2154 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2155 than mmap/munmap, to avoid hooks.
2156
2157 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2158
2159 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2160 (TPFRA_OFFSET): Macros removed.
2161 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2162 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2163 (PG3_SKIPPING_OFFSET): New macros.
2164 (__isPATrange): Use cinfc_fast for the check.
2165 (__isSkipResetAddr): New function.
2166 (s390_fallback_frame_state): Check for skip trace addresses. Use
2167 either ICST_CRET or ICST_SRET to calculate return address
2168 location.
2169 (__tpf_eh_return): Handle skip trace addresses.
2170
2171 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
2172
2173 PR target/94220
2174 * config/arm/lib1funcs.asm (COND): Use a single definition for
2175 unified syntax.
2176 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2177 (aeabi_idivmod): Likewise.
2178 (divsi3_skip_div0_test): Likewise.
2179
2180 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2181
2182 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2183
2184 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2185
2186 * config.host: Include the new makefile fragment.
2187 * config/s390/t-tpf: New file.
2188
2189 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
2190
2191 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2192 syntax.
2193 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2194 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2195 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2196 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2197 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2198 syntax.
2199 (divsi3, modsi3): Likewise.
2200 (clzdi2, ctzsi2): Likewise.
2201 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2202 unified syntax.
2203 (UNWIND_WRAPPER): Likewise.
2204
2205 2020-03-02 Martin Liska <mliska@suse.cz>
2206
2207 * libgcov-interface.c: Remove duplicate
2208 declaration of __gcov_flush_mx.
2209
2210 2020-02-18 Martin Liska <mliska@suse.cz>
2211
2212 PR ipa/92924
2213 * libgcov-merge.c (merge_topn_values_set): Record
2214 when a TOP N counter becomes invalid. When merging
2215 remove a smallest value if the space is needed.
2216
2217 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2218
2219 PR libstdc++/79193
2220 PR libstdc++/88999
2221
2222 * configure: Regenerated.
2223
2224 2020-02-10 Jeff Law <law@redhat.com>
2225
2226 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2227 sections.
2228 * config/frv/frvend.c: Similarly.
2229
2230 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2231
2232 PR libgcc/85334
2233 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2234 New.
2235
2236 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2237
2238 PR target/93615
2239 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2240 _Unwind_gnu_Find_got.
2241 * unwind-pe.h: Likewise.
2242
2243 2020-02-07 Jakub Jelinek <jakub@redhat.com>
2244
2245 PR target/93615
2246 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2247 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2248 trailing :s in asm. Formatting fixes.
2249 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2250
2251 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2252
2253 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2254
2255 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2256 * config/nios2-elf-lib.h: New.
2257 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2258 code for finding GOT base for nios2.
2259
2260 2020-01-27 Martin Liska <mliska@suse.cz>
2261
2262 PR gcov-profile/93403
2263 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2264 Call __gcov_indirect_call_profiler_body.
2265 (__gcov_indirect_call_profiler_body): New.
2266 (__gcov_indirect_call_profiler_v4_atomic): New.
2267 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2268 New declaration.
2269
2270 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2271
2272 * config/arc/crti.S: Add RF16 object attribute.
2273 * config/arc/crtn.S: Likewise.
2274 * config/arc/crttls.S: Likewise.
2275 * config/arc/lib1funcs.S: Likewise.
2276 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2277 * config/arc/lib2funcs.c: New file.
2278 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2279
2280 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
2281
2282 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2283 * configure.ac: Handle `--with-toolexeclibdir='.
2284 * configure: Regenerate.
2285
2286 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2287
2288 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2289
2290 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2291
2292 * config/mips/gnustack.h: New file.
2293 * config/mips/crti.S: Include gnustack.h.
2294 * config/mips/crtn.S: Likewise.
2295 * config/mips/mips16.S: Likewise.
2296 * config/mips/vr4120-div.S: Likewise.
2297
2298 2020-01-23 Martin Liska <mliska@suse.cz>
2299
2300 * libgcov-driver.c (prune_topn_counter): Remove
2301 check for -1 as we only prune run-time counters
2302 that do not generate an invalid state.
2303
2304 2020-01-22 Martin Liska <mliska@suse.cz>
2305
2306 PR tree-optimization/92924
2307 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2308 try to find an existing value, then find an empty slot
2309 if not found.
2310
2311 2020-01-22 Martin Liska <mliska@suse.cz>
2312
2313 PR tree-optimization/92924
2314 * libgcov-driver.c (prune_topn_counter): New.
2315 (prune_counters): Likewise.
2316 (dump_one_gcov): Prune a run-time counter.
2317 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2318 For a known value, add GCOV_TOPN_VALUES to value.
2319 Otherwise, decrement all counters by one.
2320
2321 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
2322
2323 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2324
2325 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
2326
2327 PR libgcc/92988
2328 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2329 DEFAULT_USE_CXA_ATEXIT is true.
2330
2331 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
2332 Thomas Preud'homme <thomas.preudhomme@arm.com>
2333
2334 * config/arm/t-arm: Check return value of gcc rather than lack of
2335 output.
2336
2337 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
2338
2339 * config/avr/lib1funcs.S (skip): Simplify.
2340
2341 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2342
2343 * config/gcn/atomic.c: Remove include of stdint.h.
2344 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2345 __UINTPTR_TYPE__.
2346
2347 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2348
2349 * config/gcn/atomic.c: New.
2350 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2351
2352 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
2353
2354 Implement 64-bit double functions.
2355
2356 PR target/92055
2357 * config.host (tmake_file) [target=avr]: Add t-libf7,
2358 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2359 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2360 depending on sizeof (double) or sizeof (long double).
2361 * config/avr/libf7: New folder.
2362
2363 2020-01-05 Olivier Hainque <hainque@adacore.com>
2364
2365 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2366 by IN_LIBGCC2.
2367
2368 2020-01-01 Jakub Jelinek <jakub@redhat.com>
2369
2370 Update copyright years.
2371
2372 2019-12-30 Olivier Hainque <hainque@adacore.com>
2373
2374 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2375 * config/gthr-vxworks-tls.c: Likewise.
2376
2377 2019-12-30 Olivier Hainque <hainque@adacore.com>
2378
2379 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2380 standard zero-initializer syntax.
2381
2382 2019-12-30 Olivier Hainque <hainque@adacore.com>
2383
2384 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2385 reference to the internal VX_GET_TLS_DATA interface.
2386
2387 2019-12-30 Olivier Hainque <hainque@adacore.com>
2388
2389 * config/vxcrtstuff.c: Fix incorrect spelling of
2390 USE_INITFINI_ARRAY in guard.
2391
2392 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2393
2394 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2395 Override default "extra_parts" variable.
2396 * configure: Regenerate.
2397 * configure.ac: Disable TM clone registry by default for
2398 msp430-elfbare.
2399
2400 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2401
2402 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2403 "extra_parts".
2404 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2405
2406 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2407
2408 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2409 true.
2410
2411 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2412
2413 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2414 defined instead of its value.
2415
2416 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2417
2418 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2419 if it will have contents.
2420
2421 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
2422
2423 PR target/92055
2424 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2425
2426 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2427
2428 PR libgcc/91737
2429 * config.host: Add t-gthr-noweak on *-*-musl*.
2430 * config/t-gthr-noweak: New file.
2431
2432 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
2433
2434 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2435 volatile void *. Remove trap check.
2436 (__kernel_cmpxchg2): Likewise.
2437 (FETCH_AND_OP_2): Adjust operand types.
2438 (OP_AND_FETCH_2): Likewise.
2439 (FETCH_AND_OP_WORD): Likewise.
2440 (OP_AND_FETCH_WORD): Likewise.
2441 (COMPARE_AND_SWAP_2): Likewise.
2442 (__sync_val_compare_and_swap_4): Likewise.
2443 (__sync_bool_compare_and_swap_4): Likewise.
2444 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2445 (__sync_lock_test_and_set_4): Likewise.
2446 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2447 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2448 for release.
2449 (__sync_lock_release_8): Remove.
2450
2451 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2452
2453 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2454 of __sigset_t.
2455
2456 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
2457 Doug Rupp <rupp@adacore.com>
2458 Olivier Hainque <hainque@adacore.com>
2459
2460 * config.host: Collapse the arm-vxworks entries into
2461 a single arm-wrs-vxworks7* one.
2462 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2463 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2464 kernel modules, to be overriden by libstdc++ when we link with
2465 it. Rely on externally provided __exidx_start/end.
2466
2467 2019-11-14 Doug Rupp <rupp@adacore.com>
2468 Olivier Hainque <hainque@adacore.com>
2469
2470 * config.host: Handle aarch64*-wrs-vxworks7*.
2471
2472 2019-11-12 Olivier Hainque <hainque@adacore.com>
2473
2474 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2475 sources except the cxx0x support to LIB2ADDEH. We don't support
2476 cxx0x on AE/653.
2477 * config/t-vxworksae: New file.
2478 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2479 Makefile fragment files at their expected position in the tmake_file
2480 list, in accordance with what is done for other VxWorks variants.
2481
2482 2019-11-12 Corentin Gay <gay@adacore.com>
2483 Jerome Lambourg <lambourg@adacore.com>
2484 Olivier Hainque <hainque@adacore.com>
2485
2486 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2487 sources to LIB2ADDEH.
2488 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2489 * config/t-vxworks7: Likewise.
2490
2491 * config.host: Append a block at the end of the file to add the
2492 t-gthr files to the tmake_file list for VxWorks after everything
2493 else.
2494
2495 * config/vxlib.c: Rename as gthr-vxworks.c.
2496 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2497
2498 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2499 API and a basic error checking API, both internal. Simplify the
2500 __gthread_once_t type definition and initializers. Add sections
2501 for condition variables support and for the C++0x thread support,
2502 conditioned against Vx653 for the latter.
2503
2504 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2505 implementation, leveraging the TAS internal API.
2506 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2507 API, leveraging the general availability of TLS services in VxWorks7
2508 post SR6xxx.
2509 (__gthread_setspecific, __gthread_setspecific): Use it.
2510 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2511 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2512 support based on VxWorks primitives.
2513 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2514 based on VxWorks primitives.
2515
2516 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
2517 Olivier Hainque <hainque@adacore.com>
2518
2519 * config/vxcrtstuff.c: New file.
2520 * config/t-vxcrtstuff: New Makefile fragment.
2521 * config.host: Append t-vxcrtstuff to the tmake_file list
2522 on all VxWorks ports using dwarf for table based EH.
2523
2524 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
2525
2526 Support 64-bit double and 64-bit long double configurations.
2527
2528 PR target/92055
2529 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2530 long double is a 32-bit type.
2531 * config/avr/t-avrlibc: Copy double64 and long-double64
2532 multilib(s) from the vanilla one.
2533 * config/avr/t-copy-libgcc: New Makefile snip.
2534
2535 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2536
2537 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2538 the target output object format is not ELF.
2539 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2540
2541 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2542
2543 PR libgcc/78804
2544 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2545 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2546 FLOAT_BIT_ORDER_MISMATCH.
2547 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2548
2549 2019-11-01 Jim Wilson <jimw@sifive.com>
2550
2551 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2552
2553 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2554
2555 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2556 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2557 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2558 Define symbols for 32-bit and f5series hardware multiply
2559 register addresses.
2560 Replace hard-coded register addresses with symbols.
2561 Fix "_mspabi*" typo.
2562 Fix whitespace.
2563 * config/msp430/lib2mul.c: Add comment.
2564
2565 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
2566
2567 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2568 unsigned int. Adjust callers.
2569 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2570 unsigned int *. Load relocation offset before function pointer.
2571 Add barrier to ensure ordering.
2572
2573 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
2574
2575 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2576 Load PIC register after branch target. Fix white space.
2577 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2578 implementations. Load PIC register after branch target. Don't
2579 clobber function pointer when it points to function descriptor.
2580 Use nullification instead of branch in LINUX implementation.
2581
2582 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
2583
2584 * config/pa/fptr.c: Disable -Warray-bounds warning.
2585
2586 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
2587
2588 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2589 not the ubuntu modified 2.69.
2590
2591 PR target/91833
2592 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2593 initialization if !HAVE_SYS_AUXV_H.
2594 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2595 * config.in, configure: Rebuild.
2596
2597 PR target/91834
2598 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2599 overlap the inputs.
2600
2601 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2602
2603 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2604 CTR_EL0.IDC and CTR_EL0.DIC.
2605
2606 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
2607
2608 Revert:
2609 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2610 Mickaël Guêné <mickael.guene@st.com>
2611
2612 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2613 architecture.
2614
2615 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
2616
2617 * config/aarch64/lse-init.c: New file.
2618 * config/aarch64/lse.S: New file.
2619 * config/aarch64/t-lse: New file.
2620 * config.host: Add t-lse to all aarch64 tuples.
2621
2622 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2623 Mickaël Guêné <mickael.guene@st.com>
2624
2625 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2626 architecture.
2627
2628 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2629 Mickaël Guêné <mickael.guene@st.com>
2630
2631 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2632 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2633 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2634 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2635 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2636 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2637 (__gnu_personality_sigframe_fdpic): New.
2638 (get_eit_entry): Add FDPIC signal frame support.
2639
2640 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2641 Mickaël Guêné <mickael.guene@st.com>
2642
2643 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2644 (__kernel_dmb): Likewise.
2645 (__fdpic_cmpxchg): New function.
2646 (__fdpic_dmb): New function.
2647 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2648 (gnu_Unwind_Find_got): New function.
2649 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2650 * unwind-arm-common.inc (UCB_PR_GOT): New.
2651 (funcdesc_t): New struct.
2652 (get_eit_entry): Add FDPIC support.
2653 (unwind_phase2): Likewise.
2654 (unwind_phase2_forced): Likewise.
2655 (__gnu_Unwind_RaiseException): Likewise.
2656 (__gnu_Unwind_Resume): Likewise.
2657 (__gnu_Unwind_Backtrace): Likewise.
2658 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2659
2660 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2661 Mickaël Guêné <mickael.guene@st.com>
2662
2663 * libgcc/crtstuff.c: Add support for FDPIC.
2664
2665 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2666
2667 * config.host: Handle *-*-uclinuxfdpiceabi.
2668
2669 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2670
2671 * config.host: Set cpu_type for bpf-*-* targets.
2672 * config/bpf/t-bpf: Likewise.
2673 * config/bpf/crtn.S: Likewise.
2674 * config/bpf/crti.S: New file.
2675
2676 2019-09-06 Jim Wilson <jimw@sifive.com>
2677
2678 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2679 (riscv*-*-freebsd*): Likewise.
2680
2681 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2682
2683 * config.host: Remove references to spu.
2684 * config/spu/: Remove directory.
2685
2686 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2687
2688 PR target/91306
2689 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2690 element type, instead of "sizeof" the element type.
2691 (__DTOR_LIST__): Likewise.
2692 (__TMC_LIST__): Likewise.
2693 (__do_global_dtors_aux_fini_array_entry): Likewise.
2694 (__frame_dummy_init_array_entry): Likewise.
2695 (__CTOR_END__): Likewise.
2696 (__DTOR_END__): Likweise.
2697 (__FRAME_END__): Likewise.
2698 (__TMC_END__): Likewise.
2699
2700 2019-08-20 Lili Cui <lilicui@intel.com>
2701
2702 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2703 INTEL_COREI7_COOPERLAKE.
2704
2705 2019-07-31 Matt Thomas <matt@3am-software.com>
2706 Nick Hudson <nick@nthcliff.demon.co.uk>
2707 Matthew Green <mrg@eterna.com.au>
2708 Maya Rashish <coypu@sdf.org>
2709
2710 * config.host (hppa*-*-netbsd*): New case.
2711 * config/pa/t-netbsd: New file.
2712
2713 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2714
2715 * config/arm/cmse.c (cmse_check_address_range): Add
2716 warn_unused_result attribute.
2717
2718 2019-07-22 Martin Liska <mliska@suse.cz>
2719
2720 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2721 * config/pa/t-stublib: Likewise.
2722
2723 2019-07-22 Stafford Horne <shorne@gmail.com>
2724
2725 PR target/90362
2726 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2727 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2728 instructions are not available on every processor. Change a
2729 l.bnf to l.bf to fix logic issue.
2730
2731 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2732
2733 * config.host: Remove reference to t-darwin8.
2734
2735 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2736
2737 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2738 list.
2739 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2740 mmacosx-version-min for crts to run across all system versions.
2741 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2742 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2743 system versions >= 10.4.
2744
2745 2019-07-03 Martin Liska <mliska@suse.cz>
2746
2747 * Makefile.in: Use topn_values instead of one_value names.
2748 * libgcov-merge.c (__gcov_merge_single): Move to ...
2749 (__gcov_merge_topn): ... this.
2750 (merge_single_value_set): Move to ...
2751 (merge_topn_values_set): ... this.
2752 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2753 ...
2754 (__gcov_topn_values_profiler_body): ... this.
2755 (__gcov_one_value_profiler_v2): Move to ...
2756 (__gcov_topn_values_profiler): ... this.
2757 (__gcov_one_value_profiler_v2_atomic): Move to ...
2758 (__gcov_topn_values_profiler_atomic): ... this.
2759 (__gcov_indirect_call_profiler_v4): Remove.
2760 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2761 (__gcov_topn_counter_op): ... this.
2762 * libgcov.h (L_gcov_merge_single): Remove.
2763 (L_gcov_merge_topn): New.
2764 (__gcov_merge_single): Remove.
2765 (__gcov_merge_topn): New.
2766 (__gcov_one_value_profiler_v2): Move to ..
2767 (__gcov_topn_values_profiler): ... this.
2768 (__gcov_one_value_profiler_v2_atomic): Move to ...
2769 (__gcov_topn_values_profiler_atomic): ... this.
2770
2771 2019-07-03 Martin Liska <mliska@suse.cz>
2772
2773 * libgcov-merge.c (merge_single_value_set): Support N values.
2774 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2775
2776 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2777
2778 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2779 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2780 * configure.ac: Add --disable-tm-clone-registry option.
2781 * configure: Regenerate.
2782
2783 2019-06-27 Martin Liska <mliska@suse.cz>
2784
2785 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2786 dead assignments.
2787 * libgcov-util.c: Likewise.
2788
2789 2019-06-27 Martin Liska <mliska@suse.cz>
2790
2791 * libgcov-util.c (gcov_profile_merge): Release allocated
2792 memory.
2793 (calculate_overlap): Likewise.
2794
2795 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2796
2797 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2798 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2799 Build objects for the out of line save/restore register functions
2800 so that they can be used for any supported Darwin version.
2801 * config/t-darwin: Default the build Darwin version to Darwin8
2802 (MacOS 10.4).
2803
2804 2019-06-25 Martin Liska <mliska@suse.cz>
2805
2806 * libgcov-driver-system.c (replace_filename_variables): Do not
2807 call strlen with NULL argument.
2808
2809 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
2810
2811 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2812 * config/gcn/unwind-gcn.c: New file.
2813
2814 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2815 Andrew Stubbs <ams@codesourcery.com>
2816
2817 * configure: Regenerate.
2818 * config/gcn/gthr-gcn.h: New.
2819
2820 2019-06-18 Tom de Vries <tdevries@suse.de>
2821
2822 * config/nvptx/crt0.c (__main): Declare.
2823
2824 2019-06-17 Matthew Green <mrg@eterna.com.au>
2825 Maya Rashish <coypu@sdf.org>
2826
2827 * config.host (aarch64*-*-netbsd*): New case.
2828
2829 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2830
2831 * config/msp430/slli.S (__mspabi_sllll): New library function for
2832 performing a logical left shift of a 64-bit value.
2833 * config/msp430/srai.S (__mspabi_srall): New library function for
2834 performing a arithmetic right shift of a 64-bit value.
2835 * config/msp430/srll.S (__mspabi_srlll): New library function for
2836 performing a logical right shift of a 64-bit value.
2837
2838 2019-06-14 Matt Thomas <matt@3am-software.com>
2839 Matthew Green <mrg@eterna.com.au>
2840 Nick Hudson <skrll@netbsd.org>
2841 Maya Rashish <coypu@sdf.org>
2842
2843 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2844 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2845 functions to build.
2846 * config/arm/t-netbsd-eabi: New file.
2847
2848 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2849
2850 * config.host: Add PRU target.
2851 * config/pru/asri.c: New file.
2852 * config/pru/eqd.c: New file.
2853 * config/pru/eqf.c: New file.
2854 * config/pru/ged.c: New file.
2855 * config/pru/gef.c: New file.
2856 * config/pru/gtd.c: New file.
2857 * config/pru/gtf.c: New file.
2858 * config/pru/led.c: New file.
2859 * config/pru/lef.c: New file.
2860 * config/pru/lib2bitcountHI.c: New file.
2861 * config/pru/lib2divHI.c: New file.
2862 * config/pru/lib2divQI.c: New file.
2863 * config/pru/lib2divSI.c: New file.
2864 * config/pru/libgcc-eabi.ver: New file.
2865 * config/pru/ltd.c: New file.
2866 * config/pru/ltf.c: New file.
2867 * config/pru/mpyll.S: New file.
2868 * config/pru/pru-abi.h: New file.
2869 * config/pru/pru-asm.h: New file.
2870 * config/pru/pru-divmod.h: New file.
2871 * config/pru/sfp-machine.h: New file.
2872 * config/pru/t-pru: New file.
2873
2874 2019-06-11 Jakub Jelinek <jakub@redhat.com>
2875
2876 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2877
2878 2019-06-10 Martin Liska <mliska@suse.cz>
2879
2880 PR bootstrap/90808
2881 * libgcov.h: Add ATTRIBUTE_UNUSED.
2882
2883 2019-06-10 Martin Liska <mliska@suse.cz>
2884
2885 * Makefile.in: Add __gcov_one_value_profiler_v2,
2886 __gcov_one_value_profiler_v2_atomic and
2887 __gcov_indirect_call_profiler_v4.
2888 * libgcov-merge.c (__gcov_merge_single): Change
2889 function signature.
2890 (merge_single_value_set): New.
2891 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2892 Update functionality.
2893 (__gcov_one_value_profiler): Remove.
2894 (__gcov_one_value_profiler_v2): ... this.
2895 (__gcov_one_value_profiler_atomic): Rename to ...
2896 (__gcov_one_value_profiler_v2_atomic): this.
2897 (__gcov_indirect_call_profiler_v3): Rename to ...
2898 (__gcov_indirect_call_profiler_v4): ... this.
2899 * libgcov.h (__gcov_one_value_profiler): Remove.
2900 (__gcov_one_value_profiler_atomic): Remove.
2901 (__gcov_one_value_profiler_v2_atomic): New.
2902 (__gcov_indirect_call_profiler_v3): Remove.
2903 (__gcov_one_value_profiler_v2): New.
2904 (__gcov_indirect_call_profiler_v4): New.
2905 (gcov_get_counter_ignore_scaling): New function.
2906
2907 2019-06-07 Martin Liska <mliska@suse.cz>
2908
2909 * Makefile.in: Remove usage of
2910 _gcov_merge_icall_topn.
2911 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2912 (gcov_sort_icall_topn_counter): Likewise.
2913 (gcov_sort_topn_counter_arrays): Likewise.
2914 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2915 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2916 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2917 Likewise.
2918 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2919 (struct indirect_call_tuple): Remove.
2920 (__gcov_indirect_call_topn_profiler): Remove.
2921 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2922 * libgcov.h (gcov_sort_n_vals): Remove.
2923 (L_gcov_merge_icall_topn): Likewise.
2924 (__gcov_merge_icall_topn): Likewise.
2925 (__gcov_indirect_call_topn_profiler): Likewise.
2926
2927 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2928
2929 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2930 altivec enabled.
2931
2932 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2933
2934 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2935 section.
2936 (__mspabi_slli): Likewise.
2937 (__mspabi_slll_n): Likewise.
2938 (__mspabi_slll): Likewise.
2939 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2940 (__mspabi_srai): Likewise.
2941 (__mspabi_sral_n): Likewise.
2942 (__mspabi_sral): Likewise.
2943 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2944 (__mspabi_srli): Likewise.
2945 (__mspabi_srll_n): Likewise.
2946 (__mspabi_srll): Likewise.
2947
2948 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2949
2950 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2951 Add appropriate tm_file clause as well.
2952 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2953
2954 2019-06-05 James Clarke <jrtc27@jrtc27.com>
2955
2956 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2957 rather than .data/.bss so it can be accessed via gp-relative
2958 addressing.
2959
2960 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
2961
2962 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2963 (CR2_REGNO): Rename to R_CR2.
2964 (XER_REGNO): Rename to R_XER.
2965 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2966 (VRSAVE_REGNO): Rename to R_VRSAVE.
2967 (VSCR_REGNO): R_VSCR.
2968
2969 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2970
2971 * config.host (rx-*-linux*): Add new case.
2972 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2973
2974 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2975
2976 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2977 function.
2978 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2979 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2980 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2981 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2982 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2983 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2984 string.
2985 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2986 string.
2987 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2988
2989 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2990
2991 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2992 Remove Solaris 9 and 10 support.
2993 (sparc_is_sighandler): Likewise.
2994
2995 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
2996
2997 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2998
2999 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3000
3001 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3002 4_FP_W_TYPEs are used for IEEE quad precision.
3003 * soft-fp/extendhftf2.c: Likewise.
3004 * soft-fp/extendsftf2.c: Likewise.
3005 * soft-fp/extendxftf2.c: Likewise.
3006 * soft-fp/trunctfdf2.c: Likewise.
3007 * soft-fp/trunctfhf2.c: Likewise.
3008 * soft-fp/trunctfsf2.c: Likewise.
3009 * soft-fp/trunctfxf2.c: Likewise.
3010 * config/rs6000/ibm-ldouble.c: Likewise.
3011
3012 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3013
3014 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3015 *-*-solaris2*.
3016 * configure.ac: Likewise.
3017 * configure: Regenerate.
3018
3019 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3020 Solaris 10 and Solaris 11 < snv_125 handling.
3021
3022 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3023
3024 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3025
3026 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3027
3028 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3029 * config/i386/cpuinfo.h (enum processor_features): Add
3030 FEATURE_AVX512BF16.
3031
3032 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3033 Bernd Edlinger <bernd.edlinger@hotmail.de>
3034 Jakub Jelinek <jakub@redhat.com>
3035
3036 PR target/89093
3037 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3038 * config/arm/unwind-arm.c: Likewise.
3039 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3040 attribute for ARM.
3041
3042 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3043
3044 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3045 (RT_SIGRETURN): Update.
3046 (nds32_fallback_frame_state): Update.
3047
3048 2019-02-21 Martin Sebor <msebor@redhat.com>
3049
3050 * libgcc2.h (__clear_cache): Correct signature.
3051 * libgcc2.c (__clear_cache): Same.
3052
3053 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3054
3055 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3056 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3057
3058 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3059
3060 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3061 regno instead of index to DWARF_ZERO_REG.
3062
3063 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3064
3065 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3066 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3067
3068 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3069
3070 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3071 to HOST_LIBGCC2_CFLAGS.
3072
3073 2019-01-23 Joseph Myers <joseph@codesourcery.com>
3074
3075 PR libgcc/88931
3076 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3077
3078 2019-01-18 Martin Liska <mliska@suse.cz>
3079
3080 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3081 to ...
3082 (__gcov_indirect_call_profiler_v3): ... this.
3083 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3084 (__gcov_indirect_call_profiler_v3): Likewise.
3085 * Makefile.in: Bump function name.
3086
3087 2019-01-18 Martin Liska <mliska@suse.cz>
3088
3089 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3090 (gcov_version): Use in gcov_error.
3091 (merge_one_data): Likewise.
3092 (dump_one_gcov): Likewise.
3093
3094 2019-01-18 Martin Liska <mliska@suse.cz>
3095
3096 * libgcov-driver.c (gcov_version_string): New function.
3097 (gcov_version): Convert version integer into string.
3098
3099 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
3100 Kwok Cheung Yeung <kcy@codesourcery.com>
3101 Julian Brown <julian@codesourcery.com>
3102 Tom de Vries <tom@codesourcery.com>
3103
3104 * config.host: Recognize amdgcn*-*-amdhsa.
3105 * config/gcn/crt0.c: New file.
3106 * config/gcn/lib2-divmod-hi.c: New file.
3107 * config/gcn/lib2-divmod.c: New file.
3108 * config/gcn/lib2-gcn.h: New file.
3109 * config/gcn/sfp-machine.h: New file.
3110 * config/gcn/t-amdgcn: New file.
3111
3112 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3113
3114 PR other/16615
3115
3116 * config/c6x/libunwind.S: Mechanically replace "can not" with
3117 "cannot".
3118 * config/tilepro/atomic.h: Likewise.
3119 * config/vxlib-tls.c: Likewise.
3120 * generic-morestack-thread.c: Likewise.
3121 * generic-morestack.c: Likewise.
3122 * mkmap-symver.awk: Likewise.
3123
3124 2019-01-01 Jakub Jelinek <jakub@redhat.com>
3125
3126 Update copyright years.
3127
3128 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3129
3130 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3131 to ignore -Waddress-of-packed-member.
3132
3133 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3134
3135 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3136 parameter and corresponding code.
3137 (ARM_FUNC_START): Likewise in both definitions.
3138 Also update footer comment about condition that need to match with
3139 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3140 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3141 defined. Weakly define it in this case.
3142 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3143 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3144 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3145 comment to keep condition in sync with the one in
3146 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3147
3148 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
3149
3150 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3151 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3152
3153 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3154
3155 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3156 and .cfi_endproc directives for VxWorks targets.
3157
3158 2018-12-05 Paul Koning <ni1d@arrl.net>
3159
3160 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3161
3162 2018-11-27 Alan Modra <amodra@gmail.com>
3163
3164 * config/rs6000/morestack.S (__stack_split_initialize),
3165 (__morestack_get_guard, __morestack_set_guard),
3166 (__morestack_make_guard): Provide CFI covering these functions.
3167 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3168
3169 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3170
3171 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3172 (sc_pt_regs_lr): Update for kernel.
3173 (sc_pt_regs_tls): Update for kernel.
3174
3175 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3176
3177 * config/csky/linux-unwind.h: Fix coding style.
3178
3179 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3180
3181 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3182 (csky_fallback_frame_state): Modify the check of the
3183 instructions to adapt to changes in the kernel
3184
3185 2018-11-09 Stafford Horne <shorne@gmail.com>
3186 Richard Henderson <rth@twiddle.net>
3187
3188 * config.host: Add OpenRISC support.
3189 * config/or1k/*: New.
3190
3191 2018-11-08 Kito Cheng <kito@andestech.com>
3192
3193 * soft-fp/adddf3.c: Update from glibc.
3194 * soft-fp/addsf3.c: Likewise.
3195 * soft-fp/addtf3.c: Likewise.
3196 * soft-fp/divdf3.c: Likewise.
3197 * soft-fp/divsf3.c: Likewise.
3198 * soft-fp/divtf3.c: Likewise.
3199 * soft-fp/double.h: Likewise.
3200 * soft-fp/eqdf2.c: Likewise.
3201 * soft-fp/eqsf2.c: Likewise.
3202 * soft-fp/eqtf2.c: Likewise.
3203 * soft-fp/extenddftf2.c: Likewise.
3204 * soft-fp/extended.h: Likewise.
3205 * soft-fp/extendhftf2.c: Likewise.
3206 * soft-fp/extendsfdf2.c: Likewise.
3207 * soft-fp/extendsftf2.c: Likewise.
3208 * soft-fp/extendxftf2.c: Likewise.
3209 * soft-fp/fixdfdi.c: Likewise.
3210 * soft-fp/fixdfsi.c: Likewise.
3211 * soft-fp/fixdfti.c: Likewise.
3212 * soft-fp/fixhfti.c: Likewise.
3213 * soft-fp/fixsfdi.c: Likewise.
3214 * soft-fp/fixsfsi.c: Likewise.
3215 * soft-fp/fixsfti.c: Likewise.
3216 * soft-fp/fixtfdi.c: Likewise.
3217 * soft-fp/fixtfsi.c: Likewise.
3218 * soft-fp/fixtfti.c: Likewise.
3219 * soft-fp/fixunsdfdi.c: Likewise.
3220 * soft-fp/fixunsdfsi.c: Likewise.
3221 * soft-fp/fixunsdfti.c: Likewise.
3222 * soft-fp/fixunshfti.c: Likewise.
3223 * soft-fp/fixunssfdi.c: Likewise.
3224 * soft-fp/fixunssfsi.c: Likewise.
3225 * soft-fp/fixunssfti.c: Likewise.
3226 * soft-fp/fixunstfdi.c: Likewise.
3227 * soft-fp/fixunstfsi.c: Likewise.
3228 * soft-fp/fixunstfti.c: Likewise.
3229 * soft-fp/floatdidf.c: Likewise.
3230 * soft-fp/floatdisf.c: Likewise.
3231 * soft-fp/floatditf.c: Likewise.
3232 * soft-fp/floatsidf.c: Likewise.
3233 * soft-fp/floatsisf.c: Likewise.
3234 * soft-fp/floatsitf.c: Likewise.
3235 * soft-fp/floattidf.c: Likewise.
3236 * soft-fp/floattihf.c: Likewise.
3237 * soft-fp/floattisf.c: Likewise.
3238 * soft-fp/floattitf.c: Likewise.
3239 * soft-fp/floatundidf.c: Likewise.
3240 * soft-fp/floatundisf.c: Likewise.
3241 * soft-fp/floatunditf.c: Likewise.
3242 * soft-fp/floatunsidf.c: Likewise.
3243 * soft-fp/floatunsisf.c: Likewise.
3244 * soft-fp/floatunsitf.c: Likewise.
3245 * soft-fp/floatuntidf.c: Likewise.
3246 * soft-fp/floatuntihf.c: Likewise.
3247 * soft-fp/floatuntisf.c: Likewise.
3248 * soft-fp/floatuntitf.c: Likewise.
3249 * soft-fp/gedf2.c: Likewise.
3250 * soft-fp/gesf2.c: Likewise.
3251 * soft-fp/getf2.c: Likewise.
3252 * soft-fp/half.h: Likewise.
3253 * soft-fp/ledf2.c: Likewise.
3254 * soft-fp/lesf2.c: Likewise.
3255 * soft-fp/letf2.c: Likewise.
3256 * soft-fp/muldf3.c: Likewise.
3257 * soft-fp/mulsf3.c: Likewise.
3258 * soft-fp/multf3.c: Likewise.
3259 * soft-fp/negdf2.c: Likewise.
3260 * soft-fp/negsf2.c: Likewise.
3261 * soft-fp/negtf2.c: Likewise.
3262 * soft-fp/op-1.h: Likewise.
3263 * soft-fp/op-2.h: Likewise.
3264 * soft-fp/op-4.h: Likewise.
3265 * soft-fp/op-8.h: Likewise.
3266 * soft-fp/op-common.h: Likewise.
3267 * soft-fp/quad.h: Likewise.
3268 * soft-fp/single.h: Likewise.
3269 * soft-fp/soft-fp.h: Likewise.
3270 * soft-fp/subdf3.c: Likewise.
3271 * soft-fp/subsf3.c: Likewise.
3272 * soft-fp/subtf3.c: Likewise.
3273 * soft-fp/truncdfsf2.c: Likewise.
3274 * soft-fp/trunctfdf2.c: Likewise.
3275 * soft-fp/trunctfhf2.c: Likewise.
3276 * soft-fp/trunctfsf2.c: Likewise.
3277 * soft-fp/trunctfxf2.c: Likewise.
3278 * soft-fp/unorddf2.c: Likewise.
3279 * soft-fp/unordsf2.c: Likewise.
3280 * soft-fp/unordtf2.c: Likewise.
3281
3282 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3283
3284 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3285 * config/i386/cpuinfo.h (processor_types): Add znver2.
3286
3287 2018-11-01 Paul Koning <ni1d@arrl.net>
3288
3289 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3290 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3291
3292 2018-10-31 Joseph Myers <joseph@codesourcery.com>
3293
3294 PR bootstrap/82856
3295 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3296 * configure: Regenerate.
3297
3298 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3299
3300 * config/arc/lib1funcs.S (_muldi3): New function.
3301 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3302
3303 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3304
3305 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3306
3307 2018-10-25 Martin Liska <mliska@suse.cz>
3308
3309 PR other/87735
3310 * libgcov-profiler.c: Revert.
3311
3312 2018-10-24 Martin Liska <mliska@suse.cz>
3313
3314 * libgcov-profiler.c: Start from 1 in order to distinguish
3315 functions which were seen and these that were not.
3316
3317 2018-10-18 Paul Koning <ni1d@arrl.net>
3318
3319 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3320 standard.
3321 * divmod.c: Update references to __udivmodsi4.
3322 * udivmod.c: Ditto.
3323 * udivhi3.c: New file.
3324 * udivmodhi4.c: New file.
3325 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3326
3327 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3328
3329 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3330
3331 2018-10-12 Olivier Hainque <hainque@adacore.com>
3332
3333 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3334 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3335
3336 2018-10-08 Paul Koning <ni1d@arrl.net>
3337
3338 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3339
3340 2018-10-04 Martin Liska <mliska@suse.cz>
3341
3342 PR gcov-profile/84107
3343 * libgcov-profiler.c (__gcov_indirect_call):
3344 Change type to indirect_call_tuple.
3345 (struct indirect_call_tuple): New struct.
3346 (__gcov_indirect_call_topn_profiler): Change type.
3347 (__gcov_indirect_call_profiler_v2): Use the new
3348 variables.
3349 * libgcov.h (struct indirect_call_tuple): New struct
3350 definition.
3351
3352 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
3353
3354 * libgcc2.c (isnan): Use __builtin_isnan.
3355 (isfinite): Use __builtin_isfinite.
3356 (isinf): Use __builtin_isinf.
3357
3358 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
3359
3360 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3361
3362 2018-09-21 Alexandre Oliva <oliva@adacore.com>
3363
3364 * config/vxcache.c: New file. Provide __clear_cache, based on
3365 the cacheTextUpdate VxWorks service.
3366 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3367 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3368 * config/t-vxwoks7: Likewise.
3369
3370 2018-09-21 Martin Liska <mliska@suse.cz>
3371
3372 * libgcov-driver.c (crc32_unsigned): Remove.
3373 (gcov_histogram_insert): Likewise.
3374 (gcov_compute_histogram): Likewise.
3375 (compute_summary): Simplify rapidly.
3376 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3377 (merge_summary): Rapidly simplify.
3378 (dump_one_gcov): Ignore gcov_summary.
3379 (gcov_do_dump): Do not handle program summary, it's not
3380 used.
3381 * libgcov-util.c (tag_summary): Remove.
3382 (read_gcda_finalize): Fix coding style.
3383 (read_gcda_file): Initialize curr_object_summary.
3384 (compute_summary): Remove.
3385 (calculate_overlap): Remove settings of run_max.
3386
3387 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3388
3389 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3390 ucontext_t type instead.
3391 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3392
3393 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
3394
3395 * config/nds32/t-nds32-glibc: New file.
3396
3397 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3398
3399 * configure.ac (solaris_ld_v2_maps): New test.
3400 * configure: Regenerate.
3401 * Makefile.in (solaris_ld_v2_maps): New variable.
3402 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3403 if supported.
3404
3405 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
3406
3407 PR target/86951
3408 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3409 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3410 to build.
3411
3412 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3413
3414 * config/unwind-dw2-fde-darwin.c
3415 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3416 * config/darwin10-unwind-find-enc-func.c: … to here.
3417 * config/t-darwin: Build Darwin10 unwinder shim crt.
3418 * libgcc/config.host: Add the Darwin10 unwinder shim.
3419
3420 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3421
3422 * config.host: Add crtbegin.o and crtend.o for
3423 powerpc-wrs-vxworks target.
3424
3425 2018-08-17 Jojo <jijie_rong@c-sky.com>
3426 Huibin Wang <huibin_wang@c-sky.com>
3427 Sandra Loosemore <sandra@codesourcery.com>
3428 Chung-Lin Tang <cltang@codesourcery.com>
3429
3430 C-SKY port: libgcc
3431
3432 * config.host: Add C-SKY support.
3433 * config/csky/*: New.
3434
3435 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3436
3437 * config/nds32/t-nds32-isr: Rearrange object dependency.
3438 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3439 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3440 and registers usage.
3441 * config/nds32/isr-library/excp_isr.S: Ditto.
3442 * config/nds32/isr-library/intr_isr.S: Ditto.
3443 * config/nds32/isr-library/reset.S: Ditto.
3444 * config/nds32/isr-library/restore_all.inc: Ditto.
3445 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3446 * config/nds32/isr-library/restore_partial.inc: Ditto.
3447 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3448 * config/nds32/isr-library/save_all.inc: Ditto.
3449 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3450 * config/nds32/isr-library/save_partial.inc: Ditto.
3451 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3452 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3453
3454 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
3455
3456 * config/pa/linux-atomic.c: Update comment.
3457 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3458 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3459 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3460 __ATOMIC_RELAXED for atomic loads.
3461 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3462 unordered store to release lock.
3463 (__sync_lock_release_8): Likewise.
3464 (SYNC_LOCK_RELEASE_2): Remove define.
3465
3466 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
3467
3468 PR libgcc/86512
3469 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3470 exponent goes negative. Update my email address.
3471 * config/arm/ieee754-sf.S: Likewise.
3472
3473 2018-08-01 Martin Liska <mliska@suse.cz>
3474
3475 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3476 check that __gcov_indirect_call_callee is non-null.
3477
3478 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3479
3480 * config/arm/ieee754-df.S: Fix comment for code working on
3481 architectures >= 4.
3482 * config/arm/ieee754-sf.S: Likewise.
3483
3484 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3485
3486 PR libgcc/85334
3487 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3488 Removed.
3489
3490 2018-07-05 James Clarke <jrtc27@jrtc27.com>
3491
3492 * configure: Regenerated.
3493
3494 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3495
3496 * Makefile.in (install_leaf): Use enable_gcov instead of
3497 enable_libgcov.
3498
3499 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3500
3501 * configure.ac: Add --disable-gcov option.
3502 * configure: Regenerate.
3503 * Makefile.in: Honour @enable_gcov@.
3504
3505 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3506
3507 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3508 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3509 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3510 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3511 __ARM_ARCH__.
3512 * config/arm/ieee754-sf.S: Likewise.
3513 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3514
3515 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3516
3517 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3518 longer supported.
3519 * config/arm/ieee754-sf.S: Likewise.
3520
3521 2018-06-20 Than McIntosh <thanm@google.com>
3522
3523 PR libgcc/86213
3524 * generic-morestack.c (allocate_segment): Move calls to getenv and
3525 getpagesize to __morestack_load_mmap.
3526 (__morestack_load_mmap) Initialize static_pagesize and
3527 use_guard_page here so as to avoid clobbering SSE regs during a
3528 __morestack call.
3529
3530 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
3531
3532 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3533 support modules with -mno-gnu-attribute.
3534 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3535
3536 2018-06-07 Olivier Hainque <hainque@adacore.com>
3537
3538 * config/t-vxworks (LIBGCC_INCLUDES): Add
3539 -I$(MULTIBUILDTOP)../../gcc/include.
3540 * config/t-vxworks7: Likewise. Reformat a bit to match
3541 the t-vxworks layout.
3542
3543 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3544
3545 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3546
3547 2018-06-07 Martin Liska <mliska@suse.cz>
3548
3549 * libgcov-driver.c: Rename cs_all to all and assign it from
3550 all_prg.
3551
3552 2018-06-07 Martin Liska <mliska@suse.cz>
3553
3554 PR bootstrap/86057
3555 * libgcov-driver-system.c (replace_filename_variables): Use
3556 memcpy instead of mempcpy.
3557 (allocate_filename_struct): Do not allocate filename, allocate
3558 prefix and set it.
3559 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3560 here and properly copy content into it.
3561 * libgcov-driver.c (struct gcov_filename): Remove max_length
3562 field, change prefix from size_t into char *.
3563 (compute_summary): Do not calculate longest filename.
3564 (gcov_do_dump): Release memory of gf.filename after each file.
3565 * libgcov-util.c (compute_summary): Use new signature of
3566 compute_summary.
3567 (calculate_overlap): Likewise.
3568
3569 2018-06-05 Martin Liska <mliska@suse.cz>
3570
3571 PR gcov-profile/47618
3572 * libgcov-driver-system.c (replace_filename_variables): New
3573 function.
3574 (gcov_exit_open_gcda_file): Use it.
3575
3576 2018-06-05 Martin Liska <mliska@suse.cz>
3577
3578 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3579 of gcov_ctr_summary.
3580 (compute_summary): Do it just for a single summary.
3581 (merge_one_data): Likewise.
3582 (merge_summary): Simplify as we read just single summary.
3583 (dump_one_gcov): Pass proper argument.
3584 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3585 single summary.
3586 (gcov_info_count_all_cold): Likewise.
3587 (calculate_overlap): Likewise.
3588
3589 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3590 Monk Chiang <sh.chiang04@gmail.com>
3591
3592 * config.host (nds32*-linux*): New.
3593 * config/nds32/linux-atomic.c: New file.
3594 * config/nds32/linux-unwind.h: New file.
3595
3596 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
3597
3598 PR target/85591
3599 * config/i386/cpuinfo.c (get_amd_cpu): Return
3600 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3601
3602 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3603
3604 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3605
3606 2018-05-29 Martin Liska <mliska@suse.cz>
3607
3608 PR gcov-profile/85759
3609 * libgcov-driver-system.c (gcov_error): Introduce usage of
3610 GCOV_EXIT_AT_ERROR env. variable.
3611 * libgcov-driver.c (merge_one_data): Print error that we
3612 overwrite a gcov file with a different timestamp.
3613
3614 2018-05-23 Kalamatee <kalamatee@gmail.com>
3615
3616 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3617 path to Lf$finfty.
3618
3619 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
3620 Monk Chiang <sh.chiang04@gmail.com>
3621 Jim Wilson <jimw@sifive.com>
3622
3623 * config/riscv/save-restore.S: Add support for rv32e.
3624
3625 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3626
3627 * config/arm/libunwind.S: Update comment relating to armv5.
3628
3629 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
3630
3631 * config/arm/cmse.c (cmse_check_address_range): Replace
3632 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3633
3634 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3635
3636 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3637 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3638
3639 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3640
3641 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3642 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3643
3644 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3645
3646 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3647
3648 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3649 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3650
3651 PR libgcc/84292
3652 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3653 op_and_fetch to return the right result.
3654
3655 2018-04-27 Alan Modra <amodra@gmail.com>
3656
3657 PR libgcc/85532
3658 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3659 -fno-asynchronous-unwind-tables.
3660
3661 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3662
3663 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3664 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3665
3666 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3667
3668 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3669 when including "config/i386/shadow-stack-unwind.h".
3670
3671 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3672
3673 * configure: Regenerated.
3674
3675 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
3676
3677 PR target/85456
3678 * config/rs6000/_powikf2.c: New file. Add support for the
3679 __builtin_powil function when long double is IEEE 128-bit floating
3680 point.
3681 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3682 __powikf2 support.
3683 (__powikf2): Likewise.
3684 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3685 (__powikf2_hw): Likewise.
3686 (__powikf2): Likewise.
3687 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3688 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3689 (_powikf2-hw.c): Likewise.
3690
3691 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3692
3693 PR libgcc/85334
3694 * unwind-generic.h (_Unwind_Frames_Increment): New.
3695 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3696 Likewise.
3697 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3698 count with _Unwind_Frames_Increment.
3699 (_Unwind_ForcedUnwind_Phase2): Likewise.
3700
3701 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3702
3703 PR libgcc/85379
3704 * config/i386/morestack.S (__stack_split_initialize): Add
3705 _CET_ENDBR.
3706
3707 2018-04-19 Jakub Jelinek <jakub@redhat.com>
3708
3709 * configure: Regenerated.
3710
3711 2018-04-18 David Malcolm <dmalcolm@redhat.com>
3712
3713 PR jit/85384
3714 * configure: Regenerate.
3715
3716 2018-04-16 Jakub Jelinek <jakub@redhat.com>
3717
3718 PR target/84945
3719 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3720 -Wdangling-else warnings. Mask shift counts to avoid
3721 -Wshift-count-negative and -Wshift-count-overflow false positives.
3722
3723 2018-04-06 Ruslan Bukin <br@bsdpad.com>
3724
3725 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3726
3727 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3728
3729 PR target/85100
3730 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3731 (XSTATE_FP): Likewise.
3732 (XSTATE_SSE): Likewise.
3733 (XSTATE_YMM): Likewise.
3734 (XSTATE_OPMASK): Likewise.
3735 (XSTATE_ZMM): Likewise.
3736 (XSTATE_HI_ZMM): Likewise.
3737 (XCR_AVX_ENABLED_MASK): Likewise.
3738 (XCR_AVX512F_ENABLED_MASK): Likewise.
3739 (get_available_features): Enable AVX and AVX512 features only
3740 if their states are supported by OSXSAVE.
3741
3742 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3743
3744 PR target/85025
3745 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3746 Fix a typo, tmp => 255.
3747
3748 2018-03-20 Jakub Jelinek <jakub@redhat.com>
3749
3750 PR target/84945
3751 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3752 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3753 ifndef SHARED only.
3754 (set_feature): Define.
3755 (get_available_features): Use set_feature macro. Set __cpu_features2
3756 to the second word of features ifndef SHARED.
3757
3758 2018-03-15 Julia Koval <julia.koval@intel.com>
3759
3760 * config/i386/cpuinfo.c (get_available_features): Add
3761 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3762 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3763 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3764 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3765 FEATURE_AVX512BITALG.
3766
3767 2018-03-14 Julia Koval <julia.koval@intel.com>
3768
3769 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3770 icelake client and icelake server.
3771
3772 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
3773
3774 * config/pa/fptr.c (_dl_read_access_allowed): New.
3775 (__canonicalize_funcptr_for_compare): Use it.
3776
3777 2018-02-28 Jakub Jelinek <jakub@redhat.com>
3778
3779 PR debug/83917
3780 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3781 $asm_hidden_op if visibility ("hidden") attribute works.
3782 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3783 * config/i386/i386-asm.h: Don't include auto-host.h.
3784 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3785 PACKAGE_URL): Don't undefine.
3786 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3787 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3788 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3789 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3790 definition instead of hardcoded .hidden.
3791 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3792 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3793 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3794 (USE_GAS_CFI_DIRECTIVES): Don't define.
3795 * configure: Regenerated.
3796 * config.in: Likewise.
3797
3798 2018-02-26 Jakub Jelinek <jakub@redhat.com>
3799
3800 PR debug/83917
3801 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3802 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3803 inclusion of auto-target.h and auto-host.h.
3804 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3805 __GCC_HAVE_DWARF2_CFI_ASM.
3806 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3807 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3808 cfi_pop): Define.
3809 * config/i386/cygwin.S: Don't include auto-host.h here, just
3810 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3811 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3812 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3813 * config/i386/resms64fx.h: Add cfi_* directives.
3814 * config/i386/resms64x.h: Likewise.
3815
3816 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3817
3818 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3819 .literal_position directive.
3820 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3821
3822 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3823
3824 PR target/84148
3825 * configure: Regenerate.
3826
3827 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3828
3829 PR target/84239
3830 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3831 Include cetintrin.h not x86intrin.h.
3832
3833 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3834
3835 PR target/84239
3836 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3837 Use new _get_ssp and _inc_ssp intrinsics.
3838
3839 2018-02-02 Julia Koval <julia.koval@intel.com>
3840
3841 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3842
3843 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3844
3845 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3846 option.
3847 (__divsi3): Use RF16 safe registers.
3848 (__modsi3): Likewise.
3849
3850 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3851
3852 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3853 (__divsf3): Make NaN return value quiet.
3854 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3855 (__divdf3): Make NaN return value quiet.
3856
3857 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3858
3859 * config/rl78/anddi3.S: New assembly file.
3860 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3861
3862 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3863
3864 * config/rl78/umindi3.S: New assembly file.
3865 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3866
3867 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3868
3869 * config/rl78/smindi3.S: New assembly file.
3870 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3871
3872 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3873
3874 * config/rl78/smaxdi3.S: New assembly file.
3875 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3876
3877 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3878
3879 * config/rl78/umaxdi3.S: New assembly file.
3880 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3881
3882 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
3883
3884 PR lto/83452
3885 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3886 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3887
3888 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3889
3890 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3891 (DWARF_LAZY_REGISTER_VALUE): Define.
3892 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3893 to provide a fallback register value.
3894
3895 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3896
3897 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3898 __ibm128, instead of trying to use long double.
3899 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3900 accomidate -mabi=ieeelongdouble multilibs.
3901 (CVT_IBM128_TO_FLOAT128): Likewise.
3902 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3903 the appropriate IBM extended double type.
3904 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3905 (__gcc_qsub): Likewise.
3906 (__gcc_qmul): Likewise.
3907 (__gcc_qdiv): Likewise.
3908 (pack_ldouble): Likewise.
3909 (__gcc_qneg): Likewise.
3910 (__gcc_qeq): Likewise.
3911 (__gcc_qne): Likewise.
3912 (__gcc_qge): Likewise.
3913 (__gcc_qle): Likewise.
3914 (__gcc_stoq): Likewise.
3915 (__gcc_dtoq): Likewise.
3916 (__gcc_itoq): Likewise.
3917 (__gcc_utoq): Likewise.
3918 (__gcc_qunord): Likewise.
3919 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3920 quad-float128.h for the definitions.
3921 (COPYSIGN): Use the f128 version instead of the q version.
3922 (INFINITY): Likewise.
3923 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3924 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3925 quad-float128.h for the definitions.
3926 (COPYSIGN): Use the f128 version instead of the q version.
3927 (INFINITY): Likewise.
3928 (FABS): Likewise.
3929 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3930 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3931 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3932
3933 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3934
3935 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3936 configuration.
3937
3938 2018-01-03 Jakub Jelinek <jakub@redhat.com>
3939
3940 Update copyright years.
3941
3942 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
3943
3944 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3945 * config/riscv/multi3.c: New file.
3946 * config/riscv/multi3.S: Remove.
3947
3948 2017-12-08 Jim Wilson <jimw@sifive.com>
3949
3950 * config/riscv/div.S: Use FUNC_* macros.
3951 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3952 * config/riscv/save-restore.S: Likewise.
3953 * config/riscv/riscv-asm.h: New.
3954
3955 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3956
3957 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3958 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3959
3960 PR libgcc/83112
3961 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3962 correct type for all ifunc resolvers to silence -Wattribute-alias
3963 warnings. Eliminate the forward declaration of the resolver
3964 functions which is no longer needed.
3965 (__subkf3_resolve): Likewise.
3966 (__mulkf3_resolve): Likewise.
3967 (__divkf3_resolve): Likewise.
3968 (__negkf2_resolve): Likewise.
3969 (__eqkf2_resolve): Likewise.
3970 (__nekf2_resolve): Likewise.
3971 (__gekf2_resolve): Likewise.
3972 (__gtkf2_resolve): Likewise.
3973 (__lekf2_resolve): Likewise.
3974 (__ltkf2_resolve): Likewise.
3975 (__unordkf2_resolve): Likewise.
3976 (__extendsfkf2_resolve): Likewise.
3977 (__extenddfkf2_resolve): Likewise.
3978 (__trunckfsf2_resolve): Likewise.
3979 (__trunckfdf2_resolve): Likewise.
3980 (__fixkfsi_resolve): Likewise.
3981 (__fixkfdi_resolve): Likewise.
3982 (__fixunskfsi_resolve): Likewise.
3983 (__fixunskfdi_resolve): Likewise.
3984 (__floatsikf_resolve): Likewise.
3985 (__floatdikf_resolve): Likewise.
3986 (__floatunsikf_resolve): Likewise.
3987 (__floatundikf_resolve): Likewise.
3988 (__extendkftf2_resolve): Likewise.
3989 (__trunctfkf2_resolve): Likewise.
3990
3991 PR libgcc/83103
3992 * config/rs6000/quad-float128.h (TF): Don't define if long double
3993 is IEEE 128-bit floating point.
3994 (TCtype): Define as either TCmode or KCmode, depending on whether
3995 long double is IEEE 128-bit floating point.
3996 (__mulkc3_sw): Add declarations for software/hardware versions of
3997 complex multiply/divide.
3998 (__divkc3_sw): Likewise.
3999 (__mulkc3_hw): Likewise.
4000 (__divkc3_hw): Likewise.
4001 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4002 handlers to switch between using software emulation and hardware
4003 float128 instructions, build the complex multiply/divide functions
4004 for both software and hardware support.
4005 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4006 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4007 (__divkc3_resolve): Likewise.
4008 (__mulkc3): Likewise.
4009 (__divkc3): Likewise.
4010 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4011 (fp128_hw_src): Likewise.
4012 (fp128_hw_static_obj): Likewise.
4013 (fp128_hw_shared_obj): Likewise.
4014 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4015 _mulkc3.c and _divkc3.c, changing the function name.
4016 (_divkc3-hw.c): Likewise.
4017 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4018 and _divkc3-hw.c.
4019
4020 2017-11-26 Julia Koval <julia.koval@intel.com>
4021
4022 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4023 * config/i386/cpuinfo.h (processor_subtypes): Add
4024 INTEL_COREI7_CANNONLAKE.
4025
4026 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4027
4028 PR bootstrap/83015
4029 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4030 parameter.
4031 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4032 * config/ia64/unwind-ia64.c: Add frames parameter.
4033 * unwind-sjlj.c: Likewise.
4034
4035 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4036
4037 * config/i386/linux-unwind.h: Include
4038 config/i386/shadow-stack-unwind.h.
4039 * config/i386/shadow-stack-unwind.h: New file.
4040 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4041 pass it to _Unwind_Frames_Extra.
4042 * unwind-generic.h (_Unwind_Frames_Extra): New.
4043 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4044 parameter. Add local variable frames to count number of frames.
4045 (_Unwind_ForcedUnwind_Phase2): Likewise.
4046 (_Unwind_RaiseException): Add local variable frames to count
4047 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4048 uw_install_context.
4049 (_Unwind_ForcedUnwind): Likewise.
4050 (_Unwind_Resume): Likewise.
4051 (_Unwind_Resume_or_Rethrow): Likewise.
4052
4053 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4054
4055 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4056 (CET_FLAGS): New.
4057 * config/i386/morestack.S: Include <cet.h>.
4058 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4059 * config/i386/resms64.h: Include <cet.h>.
4060 * config/i386/resms64f.h: Likewise.
4061 * config/i386/resms64fx.h: Likewise.
4062 * config/i386/resms64x.h: Likewise.
4063 * config/i386/savms64.h: Likewise.
4064 * config/i386/savms64f.h: Likewise.
4065 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4066 (CRTSTUFF_T_CFLAGS): Likewise.
4067 * configure.ac: Include ../config/cet.m4.
4068 Set and substitute CET_FLAGS.
4069 * configure: Regenerated.
4070
4071 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4072
4073 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4074 renaming.
4075 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4076 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4077 * configure: Regenerate.
4078
4079 2017-11-07 Tom de Vries <tom@codesourcery.com>
4080
4081 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4082 after "do {} while (0)".
4083
4084 2017-11-07 Tom de Vries <tom@codesourcery.com>
4085
4086 PR other/82784
4087 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4088 semicolon after "do {} while (0)".
4089 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4090 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4091 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4092 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4093
4094 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4095
4096 PR libgcc/82635
4097 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4098 sysctl to determine whether we're in a trampoline.
4099 Keep the pattern matching method for systems without
4100 KERN_PROC_SIGTRAMP sysctl.
4101
4102 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4103 Vineet Gupta <vgupta@synopsys.com>
4104
4105 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4106 * config/arc/linux-unwind-reg.def: New file.
4107 * config/arc/linux-unwind-reg.h: Likewise.
4108
4109 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4110
4111 * config/rl78/subdi3.S: New assembly file.
4112 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4113
4114 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4115
4116 * config/rl78/adddi3.S: New assembly file.
4117 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4118
4119 2017-10-13 Jakub Jelinek <jakub@redhat.com>
4120
4121 PR target/82274
4122 * libgcc2.c (__mulvDI3): If both operands have
4123 the same highpart of -1 and the topmost bit of lowpart is 0,
4124 multiplication overflows even if both lowparts are 0.
4125
4126 2017-09-28 James Bowman <james.bowman@ftdichip.com>
4127
4128 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4129
4130 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4131
4132 * config/microblaze/crti.S, config/microblaze/crtn.S,
4133 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4134 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4135 config/microblaze/mulsi3.S,
4136 config/microblaze/stack_overflow_exit.S,
4137 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4138 config/pa/milli64.S: Add .note.GNU-stack section.
4139
4140 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
4141
4142 * configure.ac: Add Check for HAVE_AS_AVX.
4143 * config.in: Regenerate.
4144 * configure: Likewise.
4145 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4146 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4147 Correct out-of-date comments.
4148
4149 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4150
4151 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4152 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4153
4154 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
4155
4156 * config/i386/i386-asm.h (PASTE2): New macro.
4157 (ASMNAME): Modify to use PASTE2.
4158 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4159 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4160 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4161 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4162 * config/i386/resms64f.S: Likewise.
4163 * config/i386/resms64fx.S: Likewise.
4164 * config/i386/resms64x.S: Likewise.
4165 * config/i386/savms64.S: Likewise.
4166 * config/i386/savms64f.S: Likewise.
4167 * config/i386/avx_resms64.S: New file that only defines a macro and
4168 includes it's corresponding header file.
4169 * config/i386/avx_resms64f.S: Likewise.
4170 * config/i386/avx_resms64fx.S: Likewise.
4171 * config/i386/avx_resms64x.S: Likewise.
4172 * config/i386/avx_savms64.S: Likewise.
4173 * config/i386/avx_savms64f.S: Likewise.
4174 * config/i386/sse_resms64.S: Likewise.
4175 * config/i386/sse_resms64f.S: Likewise.
4176 * config/i386/sse_resms64fx.S: Likewise.
4177 * config/i386/sse_resms64x.S: Likewise.
4178 * config/i386/sse_savms64.S: Likewise.
4179 * config/i386/sse_savms64f.S: Likewise.
4180 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4181
4182 2017-09-01 Olivier Hainque <hainque@adacore.com>
4183 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4184
4185 2017-08-31 Olivier Hainque <hainque@adacore.com>
4186
4187 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4188 match as powerpc-wrs-vxworks*.
4189
4190 2017-08-07 Jonathan Yong <10walls@gmail.com>
4191
4192 * config.host (*-cygwin): Include file from mingw
4193 config/i386/enable-execute-stack-mingw32.c
4194
4195 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
4196 Doug Rupp <rupp@adacore.com>
4197 Olivier Hainque <hainque@adacore.com>
4198
4199 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4200 as well as arm-wrs-vxworks.
4201 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4202 LIB2ADDEH.
4203 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4204 __exidx_start and __exidx_end for downloadable modules.
4205
4206 2017-08-01 Olivier Hainque <hainque@adacore.com>
4207
4208 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4209 * config/t-vxworks7: Likewise.
4210
4211 2017-08-01 Olivier Hainque <hainque@adacore.com>
4212
4213 * config/t-vxworks: Instead of redefining LIB2ADD,
4214 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4215
4216 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4217
4218 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4219
4220 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
4221
4222 PR testsuite/80759
4223 * config.host: include i386/t-msabi for darwin and solaris.
4224 * config/i386/i386-asm.h
4225 (ELFFN): Rename to FN_TYPE.
4226 (FN_SIZE): New macro.
4227 (FN_HIDDEN): Likewise.
4228 (ASMNAME): Likewise.
4229 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4230 .globl.
4231 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4232 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4233 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4234 .macro.
4235 * config/i386/resms64f.S: Likewise.
4236 * config/i386/resms64fx.S: Likewise.
4237 * config/i386/resms64x.S: Likewise.
4238 * config/i386/savms64.S: Likewise.
4239 * config/i386/savms64f.S: Likewise.
4240
4241 2017-07-19 John Marino <gnugcc@marino.st>
4242
4243 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4244
4245 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4246
4247 PR target/81193
4248 * configure.ac (PowerPC float128 hardware support): Test whether
4249 we can use __builtin_cpu_supports before enabling the ifunc
4250 handler.
4251 * configure: Regenerate.
4252
4253 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
4254
4255 * config.host: Remove uclibc from arc target spec.
4256
4257 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4258
4259 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4260
4261 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4262
4263 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4264 (have_ieee_hw_p): Delete function.
4265 (SW_OR_HW) Use __builtin_cpu_supports().
4266
4267 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4268
4269 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4270
4271 2017-07-03 Olivier Hainque <hainque@adacore.com>
4272
4273 * config/t-vxworks7: New file, really.
4274
4275 2017-06-28 Joseph Myers <joseph@codesourcery.com>
4276
4277 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4278 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4279 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4280 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4281 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4282 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4283 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4284 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4285 config/sh/linux-unwind.h (sh_fallback_frame_state),
4286 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4287 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4288 ucontext_t instead of struct ucontext.
4289
4290 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
4291
4292 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4293 (x86_64-wrs-vxworks7): Likewise.
4294
4295 2017-06-27 Olivier Hainque <hainque@adacore.com>
4296
4297 * config/t-vxworks7: New file.
4298 * config.host (*-*-vxworks7): Use it.
4299
4300 2017-06-22 Matt Turner <mattst88@gmail.com>
4301
4302 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4303 skylake case.
4304
4305 2017-06-21 Richard Biener <rguenther@suse.de>
4306
4307 PR gcov-profile/81080
4308 * configure.ac: Add AC_SYS_LARGEFILE.
4309 * libgcov.h: Include auto-target.h before tsystem.h to pick
4310 up _FILE_OFFSET_BITS which might differ for multilibs.
4311 * config.in: Regenerate.
4312 * configure: Likewise.
4313
4314 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
4315
4316 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4317
4318 2017-06-09 Martin Liska <mliska@suse.cz>
4319
4320 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4321 Reset __gcov_indirect_call_callee to NULL.
4322
4323 2017-06-08 Olivier Hainque <hainque@adacore.com>
4324
4325 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4326 the set of -I options, support for direct inclusions of net/uio.h
4327 by VxWorks header files via ioLib.h.
4328
4329 2017-06-07 Tony Reix <tony.reix@atos.net>
4330 Matthieu Sarter <matthieu.sarter.external@atos.net>
4331 David Edelsohn <dje.gcc@gmail.com>
4332
4333 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4334 unconditionally.
4335 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4336 AIX 7.2 support.
4337
4338 2017-06-02 Olivier Hainque <hainque@adacore.com>
4339
4340 * config/vxlib.c (__gthread_once): Add missing value to
4341 return statement.
4342
4343 2017-05-30 Olivier Hainque <hainque@adacore.com>
4344
4345 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4346 dollar sign before $(MULTIDIR).
4347
4348 2017-05-26 Richard Henderson <rth@redhat.com>
4349
4350 PR libgcc/80037
4351 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4352
4353 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4354
4355 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4356 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4357 * config/arm/unwind-arm.c: Implement the above.
4358
4359 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4360
4361 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4362 section for a non-executable stack.
4363
4364 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4365
4366 PR target/80600
4367 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4368
4369 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
4370
4371 * config.host: Add i386/t-msabi to i386/t-linux file list.
4372 * config/i386/i386-asm.h: New file.
4373 * config/i386/resms64.S: New file.
4374 * config/i386/resms64f.S: New file.
4375 * config/i386/resms64fx.S: New file.
4376 * config/i386/resms64x.S: New file.
4377 * config/i386/savms64.S: New file.
4378 * config/i386/savms64f.S: New file.
4379 * config/i386/t-msabi: New file.
4380
4381 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4382
4383 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4384 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4385
4386 2017-05-05 Joshua Conner <joshconner@google.com>
4387
4388 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4389 pc-relative indirect handling for fuchsia.
4390 * config/t-slibgcc-fuchsia: New file.
4391 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4392 x86_64-*-fuchsia*): Add definitions.
4393
4394 2017-04-19 Martin Liska <mliska@suse.cz>
4395
4396 PR gcov-profile/80435
4397 * Makefile.in: Install gcov.h.
4398 * gcov.h: New file.
4399 * libgcov.h: Use the header and make __gcov_flush publicly
4400 visible.
4401
4402 2017-04-18 Martin Liska <mliska@suse.cz>
4403
4404 PR gcov-profile/78783
4405 * libgcov-driver.c (gcov_get_filename): New function.
4406
4407 2017-04-07 Jeff Law <law@redhat.com>
4408
4409 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4410 target makefile fragment.
4411 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4412
4413 2017-04-07 Alan Modra <amodra@gmail.com>
4414
4415 PR target/45053
4416 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4417
4418 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
4419
4420 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4421
4422 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4423
4424 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4425
4426 2017-03-10 John Marino <gnugcc@marino.st>
4427
4428 * config/aarch64/freebsd-unwind.h: New file.
4429 * config.host: Add aarch64-*-freebsd unwinder.
4430
4431 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4432
4433 * config/rs6000/crtrestvr.s: Use .machine altivec.
4434 * config/rs6000/crtsavevr.s: Ditto.
4435
4436 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4437
4438 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4439 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4440 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4441 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4442 * configure: Regenerate.
4443 * config.in: Regenerate.
4444
4445 2017-03-02 Jonathan Yong <10walls@gmail.com>
4446
4447 * config/i386/gthr-win32.h: Define NOGDI before
4448 windows.h include to prevent w32api CC_NONE macro
4449 clash with libgfortran.
4450
4451 2017-03-02 Jonathan Yong <10walls@gmail.com>
4452
4453 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4454
4455 2017-02-16 Andrew Pinski <apinski@cavium.com>
4456
4457 * config/aarch64/value-unwind.h: New file.
4458 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4459 to tm_file.
4460
4461 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4462
4463 * config.host: Add RISC-V tuples.
4464 * config/riscv/atomic.c: New file.
4465 * config/riscv/crti.S: Likewise.
4466 * config/riscv/crtn.S: Likewise.
4467 * config/riscv/div.S: Likewise.
4468 * config/riscv/linux-unwind.h: Likewise.
4469 * config/riscv/muldi3.S: Likewise.
4470 * config/riscv/multi3.S: Likewise.
4471 * config/riscv/save-restore.S: Likewise.
4472 * config/riscv/sfp-machine.h: Likewise.
4473 * config/riscv/t-elf: Likewise.
4474 * config/riscv/t-elf32: Likewise.
4475 * config/riscv/t-elf64: Likewise.
4476 * config/riscv/t-softfp32: Likewise.
4477 * config/riscv/t-softfp64: Likewise.
4478
4479 2017-01-24 Jakub Jelinek <jakub@redhat.com>
4480
4481 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4482 /* FALLTHRU */ comments.
4483
4484 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4485
4486 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4487
4488 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4489
4490 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4491 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4492 DW_CFA_GNU_window_save for AArch64 and LP64.
4493
4494 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4495
4496 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4497
4498 2017-01-19 Jiong Wang <jiong.wang@arm.com>
4499
4500 * config/aarch64/aarch64-unwind.h: New file.
4501 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4502 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4503 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4504 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4505 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4506 (aarch64_post_extract_frame_addr): New function.
4507 (aarch64_post_frob_eh_handler_addr): New function.
4508 (aarch64_frob_update_context): New function.
4509 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4510 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4511 aarch64*-*-freebsd*):
4512 Initialize md_unwind_header to include aarch64-unwind.h.
4513 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4514 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4515 __aarch64__.
4516 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4517 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4518 (uw_frob_return_addr): New function.
4519 (uw_install_context): Use uw_frob_return_addr.
4520
4521 2017-01-17 Jakub Jelinek <jakub@redhat.com>
4522
4523 PR other/79046
4524 * configure.ac: Add GCC_BASE_VER.
4525 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4526 version from BASE-VER file.
4527 * configure: Regenerated.
4528
4529 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
4530
4531 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4532 libmul_f5.a): Filter archived prerequisites.
4533
4534 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4535
4536 * config/i386/cpuinfo.h (processor_features): Add
4537 FEATURE_AVX512VPOPCNTDQ.
4538 * config/i386/cpuinfo.c (get_available_features): Habdle new
4539 feature.
4540
4541 2017-01-04 Joseph Myers <joseph@codesourcery.com>
4542
4543 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4544 payload if [__mips_nan2008].
4545
4546 2017-01-04 Alan Modra <amodra@gmail.com>
4547
4548 * Makefile.in (configure_deps): Update.
4549 * configure: Regenerate.
4550
4551 2017-01-01 Jakub Jelinek <jakub@redhat.com>
4552
4553 Update copyright years.
4554
4555 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4556
4557 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4558 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4559 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4560
4561 2016-12-17 Matthias Klose <doko@ubuntu.com>
4562
4563 * config/arc/gmon: Remove empty directory.
4564
4565 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4566
4567 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4568 crtgend.
4569 (arc*-*-elf*): Likewise.
4570 * config/arc/t-arc: Remove old gmon lib targets.
4571 * config/arc/crtg.S: Remove.
4572 * config/arc/crtgend.S: Likewise.
4573 * config/arc/gmon/atomic.h: Likewise.
4574 * config/arc/gmon/auxreg.h: Likewise.
4575 * config/arc/gmon/dcache_linesz.S: Likewise.
4576 * config/arc/gmon/gmon.c: Likewise.
4577 * config/arc/gmon/machine-gmon.h: Likewise.
4578 * config/arc/gmon/mcount.c: Likewise.
4579 * config/arc/gmon/prof-freq-stub.S: Likewise.
4580 * config/arc/gmon/prof-freq.c: Likewise.
4581 * config/arc/gmon/profil.S: Likewise.
4582 * config/arc/gmon/sys/gmon.h: Likewise.
4583 * config/arc/gmon/sys/gmon_out.h: Likewise.
4584 * config/arc/t-arc-newlib: Likewise.
4585 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4586
4587 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4588
4589 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4590
4591 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4592
4593 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4594 R16 instead of push + pop.
4595 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4596
4597 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4598
4599 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4600 tmake_file.
4601
4602 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4603
4604 * config.host (arc*-*-linux-uclibc*): Use default extra
4605 objects. Include linux-android header.
4606 * config/arc/crti.S (_init): Declare symbol as function.
4607 (_fini): Likewise.
4608
4609 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4610
4611 PR fortran/78379
4612 * config/i386/cpuinfo.c: Move denums for processor vendors,
4613 processor type, processor subtypes and declaration of
4614 struct __processor_model into
4615 * config/i386/cpuinfo.h: New header file.
4616
4617 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4618 Thomas Preud'homme <thomas.preudhomme@arm.com>
4619
4620 * config/arm/cmse_nonsecure_call.S: New.
4621 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4622
4623 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4624 Thomas Preud'homme <thomas.preudhomme@arm.com>
4625
4626 * config/arm/t-arm (HAVE_CMSE): New.
4627 * config/arm/cmse.c: New.
4628
4629 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4630
4631 PR gcc/74748
4632 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4633 use generic linker version information on Blackfin.
4634
4635 PR gcc/74748
4636 * libgcc/mkmap-symver.awk: add support for skip_underscore
4637
4638 2016-11-27 Iain Sandoe <iain@codesourcery.com>
4639 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4640
4641 PR target/67710
4642 * config/t-darwin: Default builds to 10.5 codegen.
4643
4644 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4645
4646 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4647 (_FP_NANSIGN_H): Likewise.
4648 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4649 (softfp_truncations): Add tfhf.
4650 (softfp_extras): Add required conversion functions.
4651
4652 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4653 Matthew Wahab <matthew.wahab@arm.com>
4654
4655 * config/arm/fp16.c (binary64): New.
4656 (__gnu_d2h_internal): New.
4657 (__gnu_d2h_ieee): New.
4658 (__gnu_d2h_alternative): New.
4659
4660 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4661 Matthew Wahab <matthew.wahab@arm.com>
4662
4663 * config/arm/fp16.c (struct format): New.
4664 (binary32): New.
4665 (__gnu_float2h_internal): New. Body moved from
4666 __gnu_f2h_internal and generalize.
4667 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4668 Call it with binary32.
4669
4670 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4671
4672 * soft-fp/extendhftf2.c: Update from glibc.
4673 * soft-fp/fixhfti.c: Likewise.
4674 * soft-fp/fixunshfti.c: Likewise.
4675 * soft-fp/floattihf.c: Likewise.
4676 * soft-fp/floatuntihf.c: Likewise.
4677 * soft-fp/half.h: Likewise.
4678 * soft-fp/trunctfhf2.c: Likewise.
4679
4680 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
4681
4682 PR libgcc/77813
4683 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4684 __TMC_END__ behind a passthrough asm.
4685
4686 2016-11-18 Walter Lee <walt@tilera.com>
4687
4688 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4689
4690 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4691
4692 * config/i386/cpuinfo.c (processor_features): Add
4693 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4694
4695 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4696
4697 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4698 (__ARC_NORM__): Use instead ARC_OPTFPE.
4699 * config/arc/fp-hack.h: Likewise.
4700 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4701 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4702
4703 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
4704
4705 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4706 * config/nvptx/mgomp.c: New file.
4707 * config/nvptx/t-nvptx: Add mgomp.c
4708
4709 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4710
4711 PR libgcc/68468
4712 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4713
4714 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4715
4716 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4717 of checking for cpus.
4718 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4719 (__modsi3, __clzsi2): Likewise.
4720
4721 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4722
4723 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4724 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4725 * config/i386/t-cpuinfo-static: New.
4726
4727 2016-11-03 Martin Liska <mliska@suse.cz>
4728
4729 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4730 (__gcov_time_profiler_atomic): Likewise.
4731
4732 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4733
4734 PR libgcc/78067
4735 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4736 count_leading_zeros.
4737
4738 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
4739
4740 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4741 * libgcc2.c (__divmoddi4): New function.
4742 * libgcc2.h (__divmoddi4): Declare.
4743 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4744 and __PFX_divmodti4.
4745
4746 2016-10-24 Florian Weimer <fweimer@redhat.com>
4747
4748 PR libgcc/78064
4749 * unwind-c.c: Include auto-target.h.
4750
4751 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
4752
4753 * config/pa/pa64-hpux-lib.h: New file.
4754 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4755 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4756 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4757 hppa*64*-*-hpux11*.
4758
4759 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4760
4761 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4762 definition.
4763 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4764 definition.
4765 * config/xtensa/t-windowed (LIB2ADDEH): Use
4766 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4767 or xtensa/t-linux.
4768
4769 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4770
4771 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4772 __ieee754_sqrt): New functions.
4773 (__divdf3): Add implementation with new FPU instructions under
4774 #if XCHAL_HAVE_DFP_DIV.
4775 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4776 __ieee754_sqrtf): New functions.
4777 (__divsf3): Add implementation with new FPU instructions under
4778 #if XCHAL_HAVE_FP_DIV.
4779 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4780 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4781
4782 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4783
4784 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4785 equivalent.
4786 * config/tilepro/atomic.c: Likewise and stop casting model to
4787 enum memmodel.
4788
4789 2016-10-10 Joseph Myers <joseph@codesourcery.com>
4790
4791 PR target/77586
4792 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4793 soft-fp.
4794
4795 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4796
4797 * config.host: Add support for aarch64-*-freebsd*.
4798
4799 2016-10-05 Andreas Schwab <schwab@suse.de>
4800
4801 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4802 (.section .init_array): Don't call __do_jv_register_classes.
4803 (.section .init): Likewise.
4804
4805 2016-10-04 Jakub Jelinek <jakub@redhat.com>
4806
4807 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4808 (__JCR_LIST__): Remove.
4809 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4810 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4811 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4812 * config/ia64/crtend.S (__JCR_END__): Remove.
4813 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4814 conditionals.
4815 (__JCR_LIST__, __JCR_END__): Remove.
4816 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4817 (__do_global_ctors_1): Likewise.
4818
4819 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
4820
4821 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4822 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4823
4824 2016-09-27 Martin Liska <mliska@suse.cz>
4825
4826 PR gcov-profile/7970
4827 PR gcov-profile/16855
4828 PR gcov-profile/44779
4829 * libgcov-driver.c (__gcov_init): Do not register a atexit
4830 handler.
4831 (__gcov_exit): Rename from gcov_exit.
4832 * libgcov.h (__gcov_exit): Declare.
4833
4834 2016-09-27 Martin Liska <mliska@suse.cz>
4835
4836 PR bootstrap/77749
4837 * Makefile.in: Remove _gcov_merge_delta.
4838 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4839 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4840 * libgcov.h: Remove declaration of __gcov_merge_delta.
4841
4842 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4843
4844 * configure.ac: Do not create links, only substitute the filenames.
4845 * configure: Regenerate.
4846 * Makefile.in: Assign the substitution results to variables.
4847 (LIBGCC_LINKS): Define.
4848 (enable-execute-stack.c): New rule.
4849 (unwind.h): Likewise.
4850 (md-unwind-support.h): Likewise.
4851 (sfp-machine.h): Likewise.
4852 (gthr-default.h): Likewise.
4853 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4854 unwind.h as prerequisite of install-unwind_h-forbuild.
4855
4856 2016-09-16 Jakub Jelinek <jakub@redhat.com>
4857
4858 PR libgcc/71744
4859 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4860 is not the primary registry and atomics are available.
4861 (any_objects_registered): New variable.
4862 (__register_frame_info_bases, __register_frame_info_table_bases):
4863 Atomically store 1 to any_objects_registered after registering first
4864 unwind info.
4865 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4866
4867 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4868
4869 PR target/63250
4870 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4871 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4872 (HFtype): Likewise.
4873 (HCtype): Likewise.
4874 (__divhc3): Likewise.
4875 (__mulhc3): Likewise.
4876 * libgcc2.c: Support _mulhc3 and _divhc3.
4877
4878 2016-09-07 Joseph Myers <joseph@codesourcery.com>
4879
4880 PR libgcc/77519
4881 * libgcc2.c (NOTRUNC): Invert settings.
4882
4883 2016-09-06 Martin Liska <mliska@suse.cz>
4884
4885 PR gcov-profile/77378
4886 PR gcov-profile/77466
4887 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4888 conditionaly enable/disable *_atomic functions.
4889
4890 2016-08-26 Joseph Myers <joseph@codesourcery.com>
4891
4892 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4893 where not already enabled.
4894
4895 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4896
4897 * config/mips/linux-unwind.h: Use sys/syscall.h.
4898
4899 2016-08-16 Joseph Myers <joseph@codesourcery.com>
4900
4901 PR libgcc/77265
4902 * soft-fp/adddf3.c: Update from glibc.
4903 * soft-fp/addsf3.c: Likewise.
4904 * soft-fp/addtf3.c: Likewise.
4905 * soft-fp/divdf3.c: Likewise.
4906 * soft-fp/divsf3.c: Likewise.
4907 * soft-fp/divtf3.c: Likewise.
4908 * soft-fp/double.h: Likewise.
4909 * soft-fp/eqdf2.c: Likewise.
4910 * soft-fp/eqsf2.c: Likewise.
4911 * soft-fp/eqtf2.c: Likewise.
4912 * soft-fp/extenddftf2.c: Likewise.
4913 * soft-fp/extended.h: Likewise.
4914 * soft-fp/extendsfdf2.c: Likewise.
4915 * soft-fp/extendsftf2.c: Likewise.
4916 * soft-fp/extendxftf2.c: Likewise.
4917 * soft-fp/fixdfdi.c: Likewise.
4918 * soft-fp/fixdfsi.c: Likewise.
4919 * soft-fp/fixdfti.c: Likewise.
4920 * soft-fp/fixsfdi.c: Likewise.
4921 * soft-fp/fixsfsi.c: Likewise.
4922 * soft-fp/fixsfti.c: Likewise.
4923 * soft-fp/fixtfdi.c: Likewise.
4924 * soft-fp/fixtfsi.c: Likewise.
4925 * soft-fp/fixtfti.c: Likewise.
4926 * soft-fp/fixunsdfdi.c: Likewise.
4927 * soft-fp/fixunsdfsi.c: Likewise.
4928 * soft-fp/fixunsdfti.c: Likewise.
4929 * soft-fp/fixunssfdi.c: Likewise.
4930 * soft-fp/fixunssfsi.c: Likewise.
4931 * soft-fp/fixunssfti.c: Likewise.
4932 * soft-fp/fixunstfdi.c: Likewise.
4933 * soft-fp/fixunstfsi.c: Likewise.
4934 * soft-fp/fixunstfti.c: Likewise.
4935 * soft-fp/floatdidf.c: Likewise.
4936 * soft-fp/floatdisf.c: Likewise.
4937 * soft-fp/floatditf.c: Likewise.
4938 * soft-fp/floatsidf.c: Likewise.
4939 * soft-fp/floatsisf.c: Likewise.
4940 * soft-fp/floatsitf.c: Likewise.
4941 * soft-fp/floattidf.c: Likewise.
4942 * soft-fp/floattisf.c: Likewise.
4943 * soft-fp/floattitf.c: Likewise.
4944 * soft-fp/floatundidf.c: Likewise.
4945 * soft-fp/floatundisf.c: Likewise.
4946 * soft-fp/floatunditf.c: Likewise.
4947 * soft-fp/floatunsidf.c: Likewise.
4948 * soft-fp/floatunsisf.c: Likewise.
4949 * soft-fp/floatunsitf.c: Likewise.
4950 * soft-fp/floatuntidf.c: Likewise.
4951 * soft-fp/floatuntisf.c: Likewise.
4952 * soft-fp/floatuntitf.c: Likewise.
4953 * soft-fp/gedf2.c: Likewise.
4954 * soft-fp/gesf2.c: Likewise.
4955 * soft-fp/getf2.c: Likewise.
4956 * soft-fp/ledf2.c: Likewise.
4957 * soft-fp/lesf2.c: Likewise.
4958 * soft-fp/letf2.c: Likewise.
4959 * soft-fp/muldf3.c: Likewise.
4960 * soft-fp/mulsf3.c: Likewise.
4961 * soft-fp/multf3.c: Likewise.
4962 * soft-fp/negdf2.c: Likewise.
4963 * soft-fp/negsf2.c: Likewise.
4964 * soft-fp/negtf2.c: Likewise.
4965 * soft-fp/op-1.h: Likewise.
4966 * soft-fp/op-2.h: Likewise.
4967 * soft-fp/op-4.h: Likewise.
4968 * soft-fp/op-8.h: Likewise.
4969 * soft-fp/op-common.h: Likewise.
4970 * soft-fp/quad.h: Likewise.
4971 * soft-fp/single.h: Likewise.
4972 * soft-fp/soft-fp.h: Likewise.
4973 * soft-fp/subdf3.c: Likewise.
4974 * soft-fp/subsf3.c: Likewise.
4975 * soft-fp/subtf3.c: Likewise.
4976 * soft-fp/truncdfsf2.c: Likewise.
4977 * soft-fp/trunctfdf2.c: Likewise.
4978 * soft-fp/trunctfsf2.c: Likewise.
4979 * soft-fp/trunctfxf2.c: Likewise.
4980 * soft-fp/unorddf2.c: Likewise.
4981 * soft-fp/unordsf2.c: Likewise.
4982 * soft-fp/unordtf2.c: Likewise.
4983
4984 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4985
4986 PR gcov-profile/67097
4987 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4988
4989 2016-08-10 Martin Liska <mliska@suse.cz>
4990
4991 PR gcov-profile/58306
4992 * Makefile.in: New functions (modules) are added.
4993 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4994 function.
4995 (__gcov_pow2_profiler_atomic): New function.
4996 (__gcov_one_value_profiler_body): New argument is instroduced.
4997 (__gcov_one_value_profiler): Call with the new argument.
4998 (__gcov_one_value_profiler_atomic): Likewise.
4999 (__gcov_indirect_call_profiler_v2): Likewise.
5000 (__gcov_time_profiler_atomic): New function.
5001 (__gcov_average_profiler_atomic): Likewise.
5002 (__gcov_ior_profiler_atomic): Likewise.
5003 * libgcov.h: Declare the aforementioned functions.
5004
5005 2016-08-09 Martin Liska <mliska@suse.cz>
5006
5007 * libgcov-util.c: Fix typo and GNU coding style.
5008
5009 2016-08-09 Martin Liska <mliska@suse.cz>
5010
5011 * Makefile.in: Remove __gcov_indirect_call_profiler.
5012 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5013 function.
5014 * libgcov.h: And the declaration of the function.
5015
5016 2016-08-09 Martin Liska <mliska@suse.cz>
5017
5018 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5019 power of two.
5020
5021 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5022
5023 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5024 * config/rs6000/_mulkc3.c: Likewise.
5025
5026 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
5027
5028 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5029 zero_reg as previous call to __umulhisi3 already cleared it.
5030
5031 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5032
5033 PR target/59833
5034 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5035
5036 2016-07-19 Nick Clifton <nickc@redhat.com>
5037
5038 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5039 Add crtinit.o and crtfini.o to extra_parts.
5040
5041 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5042
5043 * config/rs6000/_divkc3.c: New.
5044 * config/rs6000/_mulkc3.c: New.
5045 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5046 and _divkc3.
5047 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5048 fp128_ppc_funcs.
5049
5050 2016-07-11 Hale Wang <hale.wang@arm.com>
5051 Andre Vieira <andre.simoesdiasvieira@arm.com>
5052
5053 * config/arm/lib1funcs.S: Add new wrapper.
5054
5055 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5056
5057 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5058
5059 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5060
5061 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5062 and ARMv5t* rather than for a fixed list of architectures.
5063
5064 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5065
5066 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5067 implementation suitable for.
5068 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5069 for all Thumb-1 only targets.
5070 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5071 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5072 __ARM_ARCH_6M__.
5073 (EQUIV): Likewise.
5074 (ARM_FUNC_ALIAS): Likewise.
5075 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5076 version.
5077 (modsi3): Likewise.
5078 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5079 (clzdi2): Likewise.
5080 (ctzsi2): Likewise.
5081 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5082 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5083 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5084 __ARM_ARCH_6M__ and add comment to indicate the connection between
5085 this condition and the one in gcc/config/arm/elf.h.
5086 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5087 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5088 * config/arm/t-softfp: Likewise.
5089
5090 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5091
5092 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5093 CTOR_LISTS_DEFINED_EXTERNALLY.
5094
5095 2016-06-28 Walter Lee <walt@tilera.com>
5096
5097 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5098 asm/unistd.h.
5099 (SPR_CMPEXCH_VALUE): Define for tilegx.
5100 (__NR_FAST_cmpxchg): Define for tilepro.
5101 (__NR_FAST_atomic_update): Define for tilepro.
5102 (__NR_FAST_cmpxchg64): Define for tilepro.
5103
5104 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5105
5106 * config.host: Add suport for arm*-*-phoenix* targets.
5107
5108 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5109
5110 * config.host: Remove support for mep-*.
5111 * config/mep/lib1funcs.S: Remove.
5112 * config/mep/lib2funcs.c: Remove.
5113 * config/mep/t-mep: Remove.
5114 * config/mep/tramp.c: Remove.
5115
5116 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5117
5118 * config.host: Remove support for avr-rtems.
5119 * config/avr/t-rtems: Remove.
5120
5121 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5122
5123 * config.host: Remove m32r-rtems support.
5124
5125 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5126
5127 * config.host: Remove h8300-rtems support.
5128
5129 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5130
5131 * config.host: Remove support for knetbsd.
5132
5133 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5134
5135 * config.host: Remove support for openbsd 2 and 3.
5136
5137 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5138
5139 * config.host: Remove interix support.
5140 * config/i386/t-interix: Remove.
5141
5142 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
5143
5144 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5145 least-significant bit in function pointer for fixup.
5146
5147 2016-06-05 Aaron Conole <aconole@redhat.com>
5148 Nathan Sidwell <nathan@acm.org>
5149
5150 PR libgcc/71400
5151 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5152 (get_gcov_error_file): Check __gcov_error_file before trying to
5153 initialize it.
5154 (gcov_error): Always use get_gcov_error_file.
5155
5156 2016-06-02 Aaron Conole <aconole@redhat.com>
5157
5158 * libgcov-driver-system.c (__gcov_error_file): New.
5159 (get_gcov_error_file): New.
5160 (gcov_error): Use and set __gcov_error_file.
5161 (gcov_error_exit): New.
5162 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5163
5164 2016-05-26 Nathan Sidwell <nathan@acm.org>
5165
5166 * config/nvptx/free.asm: Delete.
5167 * config/nvptx/malloc.asm: Delete.
5168 * config/nvptx/realloc.c: Delete.
5169 * t-nvptx: Update.
5170
5171 2016-05-25 Nathan Sidwell <nathan@acm.org>
5172
5173 * config/nvptx/crt0.s: Delete.
5174 * config/nvptx/crt0.c: New.
5175 * t-nvptx: Update.
5176
5177 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5178
5179 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5180 dw2/seh configuration.
5181 [x86_64-*-mingw*]: Likewise.
5182
5183 2016-05-10 Joel Sherrill <joel@rtems.org>
5184
5185 PR libgcc/70720
5186 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5187 targets so the same extra_parts are built. Also have tmake_file add
5188 on to its value rather than override.
5189
5190 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5191
5192 * config.host: Remove SH5 support.
5193 * configure: Likewise.
5194
5195 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5196
5197 * config/sh/crt1.S: Remove SH5 support.
5198 * config/sh/crti.S: Likewise.
5199 * config/sh/crtn.S: Likewise.
5200 * config/sh/lib1funcs-4-300.S: Likewise.
5201 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5202 * config/sh/lib1funcs.S: Likewise.
5203 * config/sh/linux-unwind.h: Likewise.
5204 * config/sh/t-sh64: Delete.
5205
5206 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5207
5208 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5209
5210 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5211 Joern Rennecke <joern.rennecke@embecosm.com>
5212
5213 * config/arc/crttls.S: New file.
5214 * config/arc/t-arc: New rule.
5215 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5216
5217 2016-04-25 Nick Clifton <nickc@redhat.com>
5218
5219 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5220 (__mspabi_cmpd): Likewise.
5221 * config/msp430/floathidf.c (__floathidf): Likewise.
5222 * config/msp430/floathisf.c (__floathisf): Likewise
5223 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5224 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5225 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5226 second parameter.
5227 (__ashrsi3): Likewise.
5228
5229 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5230
5231 * config/m68k/linux-atomic.c: Do not include unistd.h
5232
5233 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5234
5235 * config/arm/ieee754-df.S: Fix typos in comments.
5236
5237 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5238
5239 PR target/70381
5240 * configure.ac (powerpc*-*-linux*): Rework tests to build
5241 __float128 emulation routines to not depend on using #pragma GCC
5242 target to enable -mfloat128.
5243 * configure: Regnerate.
5244
5245 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5246
5247 PR target/67172
5248 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5249 __MINGW32__ is defined.
5250
5251 2016-03-28 James Bowman <james.bowman@ftdichip.com>
5252
5253 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5254
5255 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5256
5257 PR libgcc/70363
5258 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5259 built with an assembler that does not support ISA 3.0
5260 instructions, rename __extendkftf2_sw to __extendkftf2.
5261
5262 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5263
5264 PR target/38239
5265 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5266 call-clobbered registers.
5267 (internal_mcount): Remove __i386__ handling.
5268
5269 2016-02-26 Joel Sherrill <joel@rtems.org>
5270
5271 * config.host: Add x86_64-*-rtems*.
5272
5273 2016-02-26 Joel Sherrill <joel@rtems.org>
5274
5275 * libgcc/config.host: Add aarch64-*-rtems*.
5276
5277 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5278 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5279
5280 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5281 union of u64 and double.
5282 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5283 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5284 value.
5285 (FP_ROUNDMODE): Update the usage of _fpscr.
5286
5287 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5288
5289 PR driver/68463
5290 * Makefile.in (crtoffloadtable$(objext)): New rule.
5291 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5292 enable_offload_targets is not empty.
5293 * configure: Regenerate.
5294 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5295 crtoffloadtable.
5296
5297 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5298
5299 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5300 .literal_position before the function.
5301 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5302 Likewise.
5303
5304 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5305
5306 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5307 * config/s390/morestack.S: New file.
5308 * config/s390/t-stack-s390: New file.
5309 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5310
5311 2016-02-12 Walter Lee <walt@tilera.com>
5312
5313 * config.host (tilegx*-*-linux*): remove ti from
5314 softfp_int_modes for 32-bit configs.
5315
5316 2016-02-10 Ian Lance Taylor <iant@google.com>
5317
5318 PR go/68562
5319 * config/i386/morestack.S (__stack_split_initialize): Align
5320 stack.
5321
5322 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5323
5324 PR bootstrap/69611
5325 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5326 __FLOAT128__ to compile only for __float128 capable targets.
5327
5328 2016-01-25 Jakub Jelinek <jakub@redhat.com>
5329
5330 PR target/69444
5331 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5332 instead of ___NO_FPRS__.
5333
5334 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
5335 Steven Munroe <munroesj@linux.vnet.ibm.com>
5336 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5337
5338 * config/rs6000/float128-sed: New files to convert TF names to KF
5339 names for PowerPC IEEE 128-bit floating point support.
5340 * config/rs6000/float128-sed-hw: Likewise.
5341
5342 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5343 floating point hardware support.
5344
5345 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5346 128-bit floating point software emulation or use ISA 3.0 hardware
5347 support if it is available.
5348
5349 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5350 floating point.
5351
5352 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5353 floating point to IBM extended double.
5354
5355 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5356 double to IEEE 128-bit floating point.
5357
5358 * config/rs6000/t-float128: New Makefile fragments to enable
5359 building __float128 emulation support.
5360 * config/rs6000/t-float128-hw: Likewise.
5361
5362 * config/rs6000/sfp-exceptions.c: New file to provide exception
5363 support for IEEE 128-bit floating point.
5364
5365 * config/rs6000/floattikf.c: New files for converting between IEEE
5366 128-bit floating point and signed/unsigned 128-bit integers.
5367 * config/rs6000/fixunskfti.c: Likewise.
5368 * config/rs6000/fixkfti.c: Likewise.
5369 * config/rs6000/floatuntikf.c: Likewise.
5370
5371 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5372 when building on 64-bit systems, or when VSX is enabled.
5373 (_FP_W_TYPE): Likewise.
5374 (_FP_WS_TYPE): Likewise.
5375 (_FP_I_TYPE): Likewise.
5376 (TItype): Define on 64-bit systems.
5377 (UTItype): Likewise.
5378 (TI_BITS): Likewise.
5379 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5380 (_FP_MUL_MEAT_Q): Likewise.
5381 (_FP_DIV_MEAT_D): Likewise.
5382 (_FP_DIV_MEAT_Q): Likewise.
5383 (_FP_NANFRAC_D): Likewise.
5384 (_FP_NANFRAC_Q): Likewise.
5385 (ISA_BIT): Add exception support if we are being compiled on a
5386 machine with hardware floating point support to build the IEEE
5387 128-bit emulation functions.
5388 (FP_EX_INVALID): Likewise.
5389 (FP_EX_OVERFLOW): Likewise.
5390 (FP_EX_UNDERFLOW): Likewise.
5391 (FP_EX_DIVZERO): Likewise.
5392 (FP_EX_INEXACT): Likewise.
5393 (FP_EX_ALL): Likewise.
5394 (__sfp_handle_exceptions): Likewise.
5395 (FP_HANDLE_EXCEPTIONS): Likewise.
5396 (FP_RND_NEAREST): Likewise.
5397 (FP_RND_ZERO): Likewise.
5398 (FP_RND_PINF): Likewise.
5399 (FP_RND_MINF): Likewise.
5400 (FP_RND_MASK): Likewise.
5401 (_FP_DECL_EX): Likewise.
5402 (FP_INIT_ROUNDMODE): Likewise.
5403 (FP_ROUNDMODE): Likewise.
5404
5405 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5406 VSX code, enable IEEE 128-bit floating point. If the compiler can
5407 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5408 floating point hardware instructions and it supports declaring
5409 functions with the ifunc attribute, enable ifunc functions to
5410 switch between software and hardware support.
5411 * configure.ac (powerpc*-*-linux*): Likewise.
5412 * configure: Regenerate.
5413
5414 2016-01-15 Nick Clifton <nickc@redhat.com>
5415
5416 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5417 dependency as the source file to be compiled.
5418 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5419 (lib2hw_mul_f5.o): Likewise.
5420
5421 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5422
5423 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5424 * libgcc/config/rs6000/fixkfti.c: Likewise.
5425 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5426 * libgcc/config/rs6000/float128-hw.c: Likewise.
5427 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5428 * libgcc/config/rs6000/float128-sed: Likewise.
5429 * libgcc/config/rs6000/floattikf.c: Likewise.
5430 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5431 * libgcc/config/rs6000/quad-float128.h: Likewise.
5432 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5433 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5434 * libgcc/config/rs6000/t-float128: Likewise.
5435 * libgcc/config/rs6000/t-float128-hw: Likewise.
5436 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5437 * libgcc/config.host: Likewise.
5438 * libgcc/configure: Likewise.
5439 * libgcc/configure.ac: Likewise.
5440
5441 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5442 Steven Munroe <munroesj@linux.vnet.ibm.com>
5443 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5444
5445 * config/rs6000/sfp-exceptions.c: New file to provide exception
5446 support for IEEE 128-bit floating point.
5447
5448 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5449 floating point hardware support.
5450
5451 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5452 point conversions.
5453 * config/rs6000/fixunskfti.c: Likewise.
5454 * config/rs6000/fixkfti.c: Likewise.
5455 * config/rs6000/floatuntikf.c: Likewise.
5456 * config/rs6000/extendkftf2-sw.c: Likewise.
5457 * config/rs6000/trunctfkf2-sw.c: Likewise.
5458
5459 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5460 128-bit floating point software emulation or use ISA 3.0 hardware
5461 support if it is available.
5462
5463 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5464 floating point.
5465
5466 * config/rs6000/t-float128: New Makefile fragments to enable
5467 building __float128 emulation support.
5468 * config/rs6000/t-float128-hw: Likewise.
5469
5470 * config/rs6000/float128-sed: New file to convert TF names to KF
5471 names for PowerPC IEEE 128-bit floating point support.
5472
5473 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5474 when building on 64-bit systems, or when VSX is enabled.
5475 (_FP_W_TYPE): Likewise.
5476 (_FP_WS_TYPE): Likewise.
5477 (_FP_I_TYPE): Likewise.
5478 (TItype): Define on 64-bit systems.
5479 (UTItype): Likewise.
5480 (TI_BITS): Likewise.
5481 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5482 (_FP_MUL_MEAT_Q): Likewise.
5483 (_FP_DIV_MEAT_D): Likewise.
5484 (_FP_DIV_MEAT_Q): Likewise.
5485 (_FP_NANFRAC_D): Likewise.
5486 (_FP_NANFRAC_Q): Likewise.
5487 (ISA_BIT): Add exception support if we are being compiled on a
5488 machine with hardware floating point support to build the IEEE
5489 128-bit emulation functions.
5490 (FP_EX_INVALID): Likewise.
5491 (FP_EX_OVERFLOW): Likewise.
5492 (FP_EX_UNDERFLOW): Likewise.
5493 (FP_EX_DIVZERO): Likewise.
5494 (FP_EX_INEXACT): Likewise.
5495 (FP_EX_ALL): Likewise.
5496 (__sfp_handle_exceptions): Likewise.
5497 (FP_HANDLE_EXCEPTIONS): Likewise.
5498 (FP_RND_NEAREST): Likewise.
5499 (FP_RND_ZERO): Likewise.
5500 (FP_RND_PINF): Likewise.
5501 (FP_RND_MINF): Likewise.
5502 (FP_RND_MASK): Likewise.
5503 (_FP_DECL_EX): Likewise.
5504 (FP_INIT_ROUNDMODE): Likewise.
5505 (FP_ROUNDMODE): Likewise.
5506
5507 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5508 compiler can do __float128.
5509 * configure: Regenerate.
5510
5511 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5512 VSX code, enable IEEE 128-bit floating point.
5513
5514 2016-01-05 Olivier Hainque <hainque@adacore.com>
5515
5516 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5517 specificities.
5518
5519 2016-01-04 Jakub Jelinek <jakub@redhat.com>
5520
5521 Update copyright years.
5522
5523 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5524
5525 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5526 soft-fp targets.
5527
5528 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5529
5530 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5531 instead of abort to avoid dependency on stdlib.h.
5532
5533 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
5534
5535 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5536 to initialize call to __dl_fixup once.
5537
5538 2015-12-04 Nick Clifton <nickc@redhat.com>
5539
5540 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5541 Allow for the second argument being negative.
5542 * config.host (extra_parts): Define for MSP430. Create separate
5543 libraries for each of the hardware multiply formats.
5544 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5545 that are needed.
5546 * config/msp430/lib2mul.c: Likewise.
5547 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5548 Add rules to build hardware multiply libraries.
5549 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5550 __mspabi_divul function.
5551 (__mspabi_divllu): New stub function.
5552
5553 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
5554
5555 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5556 fixup values if saved GOT address doesn't match runtime address.
5557 (fixup_branch_offset): Reorder list.
5558
5559 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5560
5561 * Makefile.in (VTV_CFLAGS): New variable.
5562 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5563 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5564 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5565 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5566 to extra_parts if $enable_vtable_verify = yes.
5567
5568 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5569
5570 PR target/68059
5571 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5572 (write): ...this and fix the return type.
5573
5574 2015-11-19 DJ Delorie <dj@redhat.com>
5575
5576 * config/msp430/lib2hw_mul.S: Fix alignment.
5577
5578 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5579
5580 * config/nvptx/reduction.c: New.
5581 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5582
5583 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
5584
5585 * config/rs6000/on_exit.c: New file.
5586 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5587 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5588
5589 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5590
5591 * config/arc/dp-hack.h: Add support for ARCHS.
5592 * config/arc/ieee-754/divdf3.S: Likewise.
5593 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5594 * config/arc/ieee-754/muldf3.S: Likewise.
5595 * config/arc/ieee-754/mulsf3.S: Likewise
5596 * config/arc/lib1funcs.S: Likewise
5597 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5598 for ARCv2 cores.
5599 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5600 for ARCv2 cores.
5601 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5602 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5603 cores.
5604
5605 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5606
5607 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5608 value.
5609 * config/ia64/crtend.S: Likewise.
5610
5611 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5612
5613 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5614 __CHAR_BIT__ instead of BITS_PER_UNIT.
5615 * fixed-bit.h: Likewise.
5616 * fp-bit.h: Likewise.
5617 * libgcc2.c (__popcountSI2): Likewise.
5618 (__popcountDI2): Likewise.
5619 * libgcc2.h: Likewise.
5620 * libgcov.h: Likewise.
5621
5622 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
5623
5624 * config/rs6000/atexit.c: New file.
5625 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5626 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5627 * config/rs6000/cxa_finalize.c
5628 (catomic_compare_and_exchange_bool_acq): Negate return value.
5629
5630 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5631
5632 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5633 (processor_subtypes): Add znver1.
5634 (get_amd_cpu): Detect znver1.
5635
5636 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5637
5638 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5639 Include crtfastmath.o.
5640
5641 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5642
5643 PR libgcc/66883
5644 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5645
5646 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5647
5648 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5649 * config/rl78/divmodsi.S: Update return register to r8.
5650 * config/rl78/divmodhi.S: Update return register to r8,r9.
5651 Branch to main_loop_done_himode to pop registers before return.
5652
5653 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5654
5655 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5656 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5657
5658 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5659
5660 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5661
5662 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5663
5664 * config.host (xtensa*-*-uclinux*): New configuration.
5665
5666 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5667
5668 * config/i386/cpuinfo.c (processor_features): Add
5669 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5670
5671 2015-09-28 Joseph Myers <joseph@codesourcery.com>
5672
5673 * soft-fp/adddf3.c: Update from glibc.
5674 * soft-fp/addsf3.c: Likewise.
5675 * soft-fp/addtf3.c: Likewise.
5676 * soft-fp/divdf3.c: Likewise.
5677 * soft-fp/divsf3.c: Likewise.
5678 * soft-fp/divtf3.c: Likewise.
5679 * soft-fp/double.h: Likewise.
5680 * soft-fp/eqdf2.c: Likewise.
5681 * soft-fp/eqsf2.c: Likewise.
5682 * soft-fp/eqtf2.c: Likewise.
5683 * soft-fp/extenddftf2.c: Likewise.
5684 * soft-fp/extended.h: Likewise.
5685 * soft-fp/extendsfdf2.c: Likewise.
5686 * soft-fp/extendsftf2.c: Likewise.
5687 * soft-fp/extendxftf2.c: Likewise.
5688 * soft-fp/fixdfdi.c: Likewise.
5689 * soft-fp/fixdfsi.c: Likewise.
5690 * soft-fp/fixdfti.c: Likewise.
5691 * soft-fp/fixsfdi.c: Likewise.
5692 * soft-fp/fixsfsi.c: Likewise.
5693 * soft-fp/fixsfti.c: Likewise.
5694 * soft-fp/fixtfdi.c: Likewise.
5695 * soft-fp/fixtfsi.c: Likewise.
5696 * soft-fp/fixtfti.c: Likewise.
5697 * soft-fp/fixunsdfdi.c: Likewise.
5698 * soft-fp/fixunsdfsi.c: Likewise.
5699 * soft-fp/fixunsdfti.c: Likewise.
5700 * soft-fp/fixunssfdi.c: Likewise.
5701 * soft-fp/fixunssfsi.c: Likewise.
5702 * soft-fp/fixunssfti.c: Likewise.
5703 * soft-fp/fixunstfdi.c: Likewise.
5704 * soft-fp/fixunstfsi.c: Likewise.
5705 * soft-fp/fixunstfti.c: Likewise.
5706 * soft-fp/floatdidf.c: Likewise.
5707 * soft-fp/floatdisf.c: Likewise.
5708 * soft-fp/floatditf.c: Likewise.
5709 * soft-fp/floatsidf.c: Likewise.
5710 * soft-fp/floatsisf.c: Likewise.
5711 * soft-fp/floatsitf.c: Likewise.
5712 * soft-fp/floattidf.c: Likewise.
5713 * soft-fp/floattisf.c: Likewise.
5714 * soft-fp/floattitf.c: Likewise.
5715 * soft-fp/floatundidf.c: Likewise.
5716 * soft-fp/floatundisf.c: Likewise.
5717 * soft-fp/floatunditf.c: Likewise.
5718 * soft-fp/floatunsidf.c: Likewise.
5719 * soft-fp/floatunsisf.c: Likewise.
5720 * soft-fp/floatunsitf.c: Likewise.
5721 * soft-fp/floatuntidf.c: Likewise.
5722 * soft-fp/floatuntisf.c: Likewise.
5723 * soft-fp/floatuntitf.c: Likewise.
5724 * soft-fp/gedf2.c: Likewise.
5725 * soft-fp/gesf2.c: Likewise.
5726 * soft-fp/getf2.c: Likewise.
5727 * soft-fp/ledf2.c: Likewise.
5728 * soft-fp/lesf2.c: Likewise.
5729 * soft-fp/letf2.c: Likewise.
5730 * soft-fp/muldf3.c: Likewise.
5731 * soft-fp/mulsf3.c: Likewise.
5732 * soft-fp/multf3.c: Likewise.
5733 * soft-fp/negdf2.c: Likewise.
5734 * soft-fp/negsf2.c: Likewise.
5735 * soft-fp/negtf2.c: Likewise.
5736 * soft-fp/op-1.h: Likewise.
5737 * soft-fp/op-2.h: Likewise.
5738 * soft-fp/op-4.h: Likewise.
5739 * soft-fp/op-8.h: Likewise.
5740 * soft-fp/op-common.h: Likewise.
5741 * soft-fp/quad.h: Likewise.
5742 * soft-fp/single.h: Likewise.
5743 * soft-fp/soft-fp.h: Likewise.
5744 * soft-fp/subdf3.c: Likewise.
5745 * soft-fp/subsf3.c: Likewise.
5746 * soft-fp/subtf3.c: Likewise.
5747 * soft-fp/truncdfsf2.c: Likewise.
5748 * soft-fp/trunctfdf2.c: Likewise.
5749 * soft-fp/trunctfsf2.c: Likewise.
5750 * soft-fp/trunctfxf2.c: Likewise.
5751 * soft-fp/unorddf2.c: Likewise.
5752 * soft-fp/unordsf2.c: Likewise.
5753 * soft-fp/unordtf2.c: Likewise.
5754
5755 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
5756
5757 PR libgcc/67624
5758 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5759
5760 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5761
5762 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5763 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5764 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5765 messages.
5766 (internal_mcount): Likewise.
5767 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5768 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5769
5770 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5771
5772 * configure.ac (libgcc_cv_solaris_crts): New test.
5773 * configure: Regenerate.
5774 * config.in: Regenerate.
5775 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5776 * config/gmon-sol2.c: Rename to ...
5777 * config/sol2/gmon.c: ... this.
5778 Include auto-target.h.
5779 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5780 * config/t-sol2: Rename to ...
5781 * config/sol2/t-sol2: ... this.
5782 (gmon.o): Reflect renaming.
5783 (crtp.o, crtpg.o): New rules.
5784 * config.host (*-*-solaris2*): Reflect renaming.
5785 Use system CRTs if present.
5786 Remove default CRT case.
5787
5788 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
5789
5790 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5791 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5792 __kernel_cmpxchg2.
5793 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5794 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5795 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5796 (__sync_lock_test_and_set_##WIDTH): Likewise.
5797 (__sync_lock_release_##WIDTH): Likewise.
5798 (__sync_fetch_and_##OP##_4): Change result to match type of
5799 __kernel_cmpxchg.
5800 (__sync_##OP##_and_fetch_4): Likewise.
5801 (__sync_val_compare_and_swap_4): Likewise.
5802 (__sync_bool_compare_and_swap_4): likewise.
5803 (__sync_lock_test_and_set_4): Likewise.
5804 (__sync_lock_release_4): Likewise.
5805 (FETCH_AND_OP_2): Add long long variants.
5806 (OP_AND_FETCH_2): Likewise.
5807 (COMPARE_AND_SWAP_2 ): Likewise.
5808 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5809 (SYNC_LOCK_RELEASE_2): Likewise.
5810 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5811
5812 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
5813
5814 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5815 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5816 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5817 (get_available_features): Habdle new features.
5818
5819 2015-09-21 James Bowman <james.bowman@ftdichip.com>
5820
5821 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5822 memory layout. Deal correctly with BSS region larger than 32K.
5823 Handle a watchdog reset like a power-on reset. Clean up unused
5824 code.
5825
5826 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
5827 David Edelsohn <dje.gcc@gmail.com>
5828
5829 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5830 * config/rs6000/crtdbase.S: New file.
5831 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5832
5833 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5834
5835 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5836 Add support for call0 ABI.
5837
5838 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
5839
5840 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5841
5842 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5843
5844 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5845 (__GTHREAD_HAS_COND): Likewise.
5846 (__gthread_t): Likewise.
5847 (__gthread_cond_t): Likewise.
5848 (__gthread_time_t): Likewise.
5849 (__GTHREAD_MUTEX_INIT): Likewise.
5850 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5851 (__GTHREAD_COND_INIT): Likewise.
5852 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5853 (__GTHREAD_TIME_INIT): Likewise.
5854 (__gthread_create): Likewise.
5855 (__gthread_join): Likewise.
5856 (__gthread_detach): Likewise.
5857 (__gthread_equal): Likewise.
5858 (__gthread_self): Likewise.
5859 (__gthread_yield): Likewise.
5860 (__gthread_cond_broadcast): Likewise.
5861 (__gthread_cond_signal): Likewise.
5862 (__gthread_cond_wait): Likewise.
5863 (__gthread_cond_timedwait): Likewise.
5864 (__gthread_cond_wait_recursive): Likewise.
5865 (__gthread_cond_destroy): Likewise.
5866 (rtems_gxx_once): Delete.
5867 (rtems_gxx_key_create): Likewise.
5868 (rtems_gxx_key_delete): Likewise.
5869 (rtems_gxx_getspecific): Likewise.
5870 (rtems_gxx_setspecific): Likewise.
5871 (rtems_gxx_mutex_init): Likewise.
5872 (rtems_gxx_mutex_destroy): Likewise.
5873 (rtems_gxx_mutex_lock): Likewise.
5874 (rtems_gxx_mutex_trylock): Likewise.
5875 (rtems_gxx_mutex_unlock): Likewise.
5876 (rtems_gxx_recursive_mutex_init): Likewise.
5877 (rtems_gxx_recursive_mutex_lock): Likewise.
5878 (rtems_gxx_recursive_mutex_trylock): Likewise.
5879 (rtems_gxx_recursive_mutex_unlock): Likewise.
5880 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5881 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5882 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5883 (__gthread_once): Likewise.
5884 (__gthread_key_create): Likewise.
5885 (__gthread_key_delete): Likewise.
5886 (__gthread_getspecific): Likewise.
5887 (__gthread_setspecific): Likewise.
5888 (__gthread_key_t): Use <pthread.h> type.
5889 (__gthread_once_t): Likewise
5890 (__gthread_mutex_t): Use <sys/lock.h> type.
5891 (__gthread_recursive_mutex_t): Likewise
5892 (__gthread_mutex_lock): Use <sys/lock.h> function.
5893 (__gthread_mutex_trylock): Likewise.
5894 (__gthread_mutex_timedlock): Likewise.
5895 (__gthread_mutex_unlock): Likewise.
5896 (__gthread_mutex_destroy): Likewise.
5897 (__gthread_recursive_mutex_lock): Likewise.
5898 (__gthread_recursive_mutex_trylock): Likewise.
5899 (__gthread_recursive_mutex_timedlock): Likewise.
5900 (__gthread_recursive_mutex_unlock): Likewise.
5901 (__gthread_recursive_mutex_destroy): Likewise.
5902
5903 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5904
5905 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5906 context->sp instead of context->cfa.
5907
5908 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5909
5910 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5911 with unwind-dw2-fde-dip.
5912
5913 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5914
5915 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5916 CALL12 followed by series of ENTRY to spill windowed registers.
5917 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5918 instead of making linux spill syscall.
5919
5920 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5921
5922 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5923 (get_intel_cpu): Likewise.
5924
5925 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5926
5927 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5928 (get_intel_cpu): Add Knights Landing support.
5929
5930 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
5931
5932 PR target/66954
5933 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5934 (get_available_features): Handle FEATURE_PCLMUL.
5935
5936 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5937
5938 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5939 Broadwell.
5940
5941 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
5942
5943 PR target/66954
5944 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5945 (get_available_features): Handle FEATURE_AES.
5946
5947 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5948
5949 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5950 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5951
5952 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5953
5954 * offloadstuff.c: Constify host data.
5955
5956 2015-07-17 Jan Beulich <jbeulich@suse.com>
5957
5958 * config/t-softfp: Split up "else ifneq".
5959
5960 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5961 Cesar Philippidis <cesar@codesourcery.com>
5962 Chung-Lin Tang <cltang@codesourcery.com>
5963
5964 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5965 for __nios2_arch__ level.
5966
5967 2015-07-13 John Marino <gnugcc@marino.st>
5968
5969 * config/i386/t-dragonfly: New.
5970
5971 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
5972
5973 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5974 better match light-weight syscall argument order.
5975 (__kernel_cmpxchg2): Likewise.
5976 Adjust callers.
5977
5978 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5979
5980 * config.host: Support i[34567]86-*-elfiamcu target.
5981 * config/t-softfp-sfdftf: New file.
5982 * config/i386/32/t-iamcu: Likewise.
5983 * configure: Regenerated.
5984
5985 2015-06-23 James Lemke <jwlemke@codesourcery.com>
5986
5987 libgcc/config/arm/
5988 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5989
5990 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5991
5992 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5993
5994 2015-05-27 John Marino <gnugcc@marino.st>
5995
5996 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5997 md_unwind_header
5998 * config/i386/freebsd-unwind.h: New.
5999
6000 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
6001
6002 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6003 i386/t-crtfm to tmake_file.
6004 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6005 (set_fast_math): Use set_fast_math_sse for SSE targets.
6006 * config/i386/t-crtfm: Remove.
6007
6008 2015-05-21 Alan Modra <amodra@gmail.com>
6009
6010 PR libgcc/66225
6011 * config/rs6000/morestack.S: Remove ".abiversion 1".
6012
6013 2015-05-20 Alan Modra <amodra@gmail.com>
6014
6015 * config/rs6000/morestack.S: New.
6016 * config/rs6000/t-stack-rs6000: New.
6017 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6018 to tmake_file.
6019 * generic-morestack.c: Don't build for powerpc 32-bit.
6020
6021 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6022
6023 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6024 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6025
6026 2015-05-16 James Bowman <james.bowman@ftdichip.com>
6027
6028 * config.host: FT32 target added.
6029 * config/ft32/*: New files for FT32 target.
6030
6031 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6032
6033 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6034 New macros.
6035 * config/arm/ieee754-df.S: Add CFI directives.
6036 * config/arm/ieee754-sf.S: Add CFI directives.
6037
6038 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6039
6040 * configure.ac: Include config/sjlj.m4.
6041 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6042 * config.in: Regenerate.
6043 * configure: Likewise.
6044 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6045
6046 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
6047
6048 * libgcov-util.c: Add space between string literal and macro name.
6049
6050 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6051 Chris Jones <chrisj@nvidia.com>
6052 Joshua Conner <jconner@nvidia.com>
6053
6054 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6055 (arm*-*-uclinux*): Likewise.
6056 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6057 * config/arm/crtfastmath.c: New file.
6058
6059 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6060
6061 * Makefile.in (real_host_noncanonical): New variable.
6062 (libsubdir): Use it.
6063 * configure.ac (real_host_noncanonical): Compute. Remove special
6064 case for intelmicemul.
6065 * configure: Regenerate.
6066
6067 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6068
6069 * config/frv/elf-lib.h: New file.
6070 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6071 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6072 to tm_file.
6073
6074 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6075
6076 * config/frv/frvbengin.c: Do not include defaults.h
6077 * config/frv/frvend.c: Ditto.
6078
6079 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6080
6081 * config.host: Add h8300-*-linux
6082 * config/h8300/t-linux: New file.
6083 * config/h8300/lib1funs.s: Change symbol prefix.
6084 * config/h8300/sfp-machine.h: 64bit double support.
6085
6086 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6087 Szabolcs Nagy <szabolcs.nagy@arm.com>
6088
6089 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6090 Linux if target provides dl_iterate_phdr.
6091
6092 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6093
6094 PR target/65612
6095 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6096 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6097 (__cpu_indicator_init@GCC_4.8.0): New.
6098 (__cpu_model@GCC_4.8.0): Likewise.
6099 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6100 -DUSE_ELF_SYMVER.
6101
6102 2015-04-16 Nick Clifton <nickc@redhat.com>
6103
6104 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6105 and __modhi3 functions.
6106 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6107 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6108
6109 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6110
6111 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6112 do-while loop as macro body to avoid warnings.
6113
6114 2015-04-10 Jakub Jelinek <jakub@redhat.com>
6115 Iain Sandoe <iain@codesourcery.com>
6116
6117 PR target/65351
6118 * configure: Regenerate.
6119
6120 2015-04-07 Jakub Jelinek <jakub@redhat.com>
6121 Iain Sandoe <iain@codesourcery.com>
6122
6123 PR target/65351
6124 * configure: Regenerate.
6125
6126 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6127
6128 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6129
6130 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
6131
6132 Implement call0 ABI for xtensa
6133 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6134 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6135 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6136 use ret in call0 ABI.
6137 * config/xtensa/t-windowed: New file.
6138 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6139 * libgcc/configure: Regenerated.
6140 * libgcc/configure.ac: Check if xtensa target is configured for
6141 windowed ABI and thus needs to use custom unwind code.
6142
6143 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
6144
6145 PR libgcc/64885
6146 * gthr-single.h: Use __unused__ attribute instead of unused.
6147 * config/gthr-vxworks.h: Likewise.
6148 * config/i386/gthr-win32.h: Likewise.
6149
6150 2015-02-27 Kai Tietz <ktietz@redhat.com>
6151
6152 PR target/65038
6153 * config.in: Regenerated.
6154 * configure: Likewise.
6155 * configure.ac (AC_HEADER_STDC): Added explicit.
6156 (AC_CHECK_HEADERS): Check for default headers plus
6157 for ftw.h header.
6158 * libgcov-util.c (gcov_read_profile_dir): Disable use
6159 of ftw-function, if header is not found.
6160 (ftw_read_file): Likewise.
6161
6162 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6163
6164 PR target/65181
6165 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6166 -Dinhibit_libc.
6167
6168 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6169
6170 * config/arm/bpabi.S (test_div_by_zero): Make label names
6171 consistent between thumb2 and arm mode cases. Separate the
6172 signed comparison on the high word of the numerator from the
6173 unsigned comparison on the low word.
6174 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6175 signed comparison.
6176
6177 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6178
6179 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6180 and <string.h>.
6181 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6182
6183 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6184
6185 PR gcov-profile/61889
6186 * libgcov-driver-system.c: undefine clashing macro for mkdir.
6187
6188 2015-02-02 Nick Clifton <nickc@redhat.com>
6189
6190 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6191 rounding up the fraction.
6192
6193 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
6194
6195 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6196 oldval and newval to const void *. Fix typo.
6197 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6198 (FETCH_AND_OP_WORD): Likewise.
6199 (OP_AND_FETCH_WORD): Likewise.
6200 (COMPARE_AND_SWAP_2): Likewise.
6201 (__sync_val_compare_and_swap_4): Likewise.
6202 (__sync_lock_test_and_set_4): Likewise.
6203 (SYNC_LOCK_RELEASE_2): Likewise.
6204 Remove support for long long atomic operations.
6205
6206 2015-01-27 Caroline Tice <cmtice@google.com>
6207
6208 Committing VTV Cywin/Ming patch for Patrick Wollgast
6209 * Makefile.in: Move rules to build vtv_*.o out of the check
6210 for CUSTOM_CRTSTUFF.
6211 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6212 i[34567]86-*-mingw*)
6213 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6214 enable_vtable_verify.
6215
6216 2015-01-27 Nick Clifton <nickc@redhat.com>
6217
6218 * config/rl78/cmpsi2.S: Use function start and end macros.
6219 (__gcc_bcmp): New function.
6220 * config/rl78/lshrsi3.S: Use function start and end macros.
6221 * config/rl78/mulsi3.S: Add support for G10.
6222 (__mulqi3): New function for G10.
6223 * config/rl78/signbit.S: Use function start and end macros.
6224 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6225 fpmath-sf.S.
6226 (LIB2FUNCS_EXCLUDE): Define.
6227 (LIB2FUNCS_ST): Define.
6228 * config/rl78/trampoline.S: Use function start and end macros.
6229 * config/rl78/vregs.h (START_FUNC): New macro.
6230 (START_ANOTHER_FUNC): New macro.
6231 (END_FUNC): New macro.
6232 (END_ANOTHER_FUNC): New macro.
6233 * config/rl78/bit-count.S: New file. Contains assembler
6234 implementations of the bit counting functions: ___clzhi2,
6235 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6236 __paritysi2, __popcounthi2 and __popcountsi2.
6237 * config/rl78/fpbit-sf.S: New file. Contains assembler
6238 implementationas of the math functions: __negsf2, __cmpsf2,
6239 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6240 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6241 * config/rl78/fpmath-sf.S: New file. Contains assembler
6242 implementations of the math functions: __subsf3, __addsf3,
6243 __mulsf3 and __divsf3
6244
6245 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6246
6247 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6248 Add i386/elf-lib.h to tm_file.
6249 * config/i386/elf-lib.h: Fix comment.
6250 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6251 && __sun__ && __svr4__]: Remove workaround.
6252
6253 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6254
6255 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6256 FEATURE_BMI2.
6257 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6258
6259 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6260
6261 * config/i386/cpuinfo.c (processor_subtypes): Add
6262 INTEL_COREI7_BROADWELL.
6263 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6264 model numbers.
6265
6266 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
6267
6268 * config/i386/elf-lib.h: New file.
6269 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6270 Wrap definition in #ifdef __i386__.
6271 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6272 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6273 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6274 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6275 to tm_file.
6276
6277 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6278
6279 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6280 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6281
6282 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6283
6284 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6285 Update rt_sigframe format and address for current Nios II
6286 Linux conventions.
6287
6288 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6289
6290 * config.host (arm*-*-freebsd*): Add new configuration for
6291 arm*-*-freebsd*.
6292 * config/arm/freebsd-atomic.c: New file.
6293 * config/arm/t-freebsd: Likewise.
6294 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6295 'PC-relative indirect' OS's.
6296
6297 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6298
6299 * config.host: Add Visium support.
6300 * config/visium: New directory.
6301
6302 2015-01-05 Jakub Jelinek <jakub@redhat.com>
6303
6304 Update copyright years.
6305
6306 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6307
6308 * config.host: Support mipsisa32r6 and mipsisa64r6.
6309 * config/mips/mips16.S: Do not build for R6.
6310
6311 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6312
6313 * config/sh/crt.h: New.
6314 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6315 symbols.
6316 * config/sh/crt1.S: Likewise.
6317
6318 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
6319
6320 PR libgcc/63832
6321 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6322 func_ptr *dtor_list temporary variable to avoid "array subscript
6323 is above array bounds" warnings.
6324
6325 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
6326
6327 * Makefile.in (with_aix_soname): Define.
6328 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6329 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6330 * configure: Recreate.
6331
6332 2014-12-05 Olivier Hainque <hainque@adacore.com>
6333
6334 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6335 now provided by defaults.h.
6336
6337 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6338
6339 PR target/55351
6340 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6341 whether it's defined.
6342
6343 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6344
6345 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6346 * config/i386/cpuinfo.c (get_available_features): Detect it.
6347
6348 2014-11-27 Tony Wang <tony.wang@arm.com>
6349
6350 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6351 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6352 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6353
6354 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6355
6356 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6357
6358 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
6359
6360 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6361 instead.
6362
6363 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6364 John David Anglin <danglin@gcc.gnu.org>
6365
6366 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6367 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6368 (OP_AND_FETCH_2): Likewise.
6369 (COMPARE_AND_SWAP_2): Likewise.
6370 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6371 (SYNC_LOCK_RELEASE_2): Likewise.
6372 (SUBWORD_SYNC_OP): Remove.
6373 (SUBWORD_VAL_CAS): Likewise.
6374 (SUBWORD_BOOL_CAS): Likewise.
6375 (FETCH_AND_OP_WORD): Update.
6376 Consistently use signed types.
6377
6378 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6379 Thomas Schwinge <thomas@codesourcery.com>
6380 Ilya Verbin <ilya.verbin@intel.com>
6381 Andrey Turetskiy <andrey.turetskiy@intel.com>
6382
6383 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6384 (crtoffloadend$(objext)): Likewise.
6385 * configure: Regenerate.
6386 * configure.ac (accel_dir_suffix): Compute new variable.
6387 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6388 if enable_offload_targets is not empty.
6389 * offloadstuff.c: New file.
6390
6391 2014-11-13 Nick Clifton <nickc@redhat.com>
6392
6393 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6394 Use START_FUNC and END_FUNC macros to enable linker garbage
6395 collection.
6396 * config/rl78/divmodqi.S: Likewise.
6397 * config/rl78/divmodsi.S: Likewise.
6398 * config/rl78/mulsi3.S: Likewise.
6399 * config/rl78/lib2div.c: Remove G10 functions.
6400 * config/rl78/lib2muls.c: Likewise.
6401 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6402 * config/rl78/vregs.h (START_FUNC): New macro.
6403 (END_FUNC): New macro.
6404
6405 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6406
6407 * config/mips/mips16.S: Set .module when supported. Update O32
6408 FP64 calling convention and use for FPXX when possible. Add FPXX
6409 calling convention fallback case.
6410
6411 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6412
6413 * config.host: Handle nvptx-*-*.
6414 * shared-object.mk (as-flags-$o): Define.
6415 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6416 -xassembler-with-cpp.
6417 * static-object.mk: Identical changes.
6418 * config/nvptx/t-nvptx: New file.
6419 * config/nvptx/crt0.s: New file.
6420 * config/nvptx/free.asm: New file.
6421 * config/nvptx/malloc.asm: New file.
6422 * config/nvptx/realloc.c: New file.
6423
6424 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6425
6426 * Makefile.in (libgcc.map.in): New target.
6427 (libgcc.map): Use libgcc.map.in.
6428 * config/t-softfp (softfp_compat): New variable to be set by
6429 users.
6430 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6431 variables.
6432 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6433 directory.
6434 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6435 that use compat symbols and disable all code unless [SHARED].
6436 * config/t-softfp-compat: New file.
6437 * find-symver.awk: New file.
6438 * configure.ac (--with-glibc-version): New configure option.
6439 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6440 * configure: Regenerate.
6441 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6442 soft-float and e500.
6443
6444 2014-10-29 Joseph Myers <joseph@codesourcery.com>
6445
6446 * config/t-hardfp (hardfp_exclusions): Document new variable for
6447 user to define.
6448 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6449 * config/t-softfp (softfp_extras): Document new variable for user
6450 to define.
6451 (softfp_func_list): Add functions from $(softfp_extras).
6452 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6453 * config.host (powerpc*-*-linux*): For e500v1, use
6454 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6455 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6456 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6457
6458 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
6459
6460 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6461 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6462 memory read accesses are ok.
6463
6464 2014-10-25 Joseph Myers <joseph@codesourcery.com>
6465
6466 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6467 * configure: Regenerate.
6468 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6469 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6470 of soft-fp for 32-bit classic hard float. Do not use
6471 t-softfp-excl for soft float.
6472
6473 2014-10-22 Joseph Myers <joseph@codesourcery.com>
6474
6475 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6476 configurations.
6477 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6478 Remove variables.
6479
6480 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
6481
6482 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6483 introduced with 2014-10-21 trunk r216525.
6484
6485 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
6486 Vidya Praveen <vidya.praveen@atmel.com>
6487 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6488 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6489 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
6490
6491 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6492 order.
6493
6494 Updated library functions for AVRTINY arch.
6495 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6496 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6497 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6498 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6499 wsubi/wadi macors.
6500 (__mulsi3_helper): Update stack, preserve callee saved regs and
6501 argument from stack. Restore callee save registers.
6502 (__mulpsi3): Likewise.
6503 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6504 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6505 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6506 AVRTINY.
6507 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6508 (__do_copy_data): Added new definition for AVRTINY.
6509 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6510 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6511 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6512 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6513 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6514 macors.
6515 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6516 AVRTINY.
6517
6518 Fix broken long multiplication on tiny arch.
6519
6520 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6521
6522 * soft-fp/double.h: Update from glibc.
6523 * soft-fp/eqdf2.c: Likewise.
6524 * soft-fp/eqsf2.c: Likewise.
6525 * soft-fp/eqtf2.c: Likewise.
6526 * soft-fp/extenddftf2.c: Likewise.
6527 * soft-fp/extended.h: Likewise.
6528 * soft-fp/extendsfdf2.c: Likewise.
6529 * soft-fp/extendsftf2.c: Likewise.
6530 * soft-fp/extendxftf2.c: Likewise.
6531 * soft-fp/gedf2.c: Likewise.
6532 * soft-fp/gesf2.c: Likewise.
6533 * soft-fp/getf2.c: Likewise.
6534 * soft-fp/ledf2.c: Likewise.
6535 * soft-fp/lesf2.c: Likewise.
6536 * soft-fp/letf2.c: Likewise.
6537 * soft-fp/op-1.h: Likewise.
6538 * soft-fp/op-2.h: Likewise.
6539 * soft-fp/op-4.h: Likewise.
6540 * soft-fp/op-8.h: Likewise.
6541 * soft-fp/op-common.h: Likewise.
6542 * soft-fp/quad.h: Likewise.
6543 * soft-fp/single.h: Likewise.
6544 * soft-fp/soft-fp.h: Likewise.
6545 * soft-fp/unorddf2.c: Likewise.
6546 * soft-fp/unordsf2.c: Likewise.
6547 * soft-fp/unordtf2.c: Likewise.
6548 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6549 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6550 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6551 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6552 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6553 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6554 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6555 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6556 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6557 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6558
6559 2014-10-08 Rong Xu <xur@google.com>
6560
6561 * libgcov-util.c (read_gcda_file): Fix format.
6562 (find_match_gcov_info): Ditto.
6563 (calculate_2_entries): New.
6564 (compute_one_gcov): Ditto.
6565 (gcov_info_count_all_cold): Ditto.
6566 (gcov_info_count_all_zero): Ditto.
6567 (extract_file_basename): Ditto.
6568 (get_file_basename): Ditto.
6569 (set_flag): Ditto.
6570 (matched_gcov_info): Ditto.
6571 (calculate_overlap): Ditto.
6572 (gcov_profile_overlap): Ditto.
6573 * libgcov-driver.c (compute_summary): Make
6574 it avavilable for external calls.
6575
6576 2014-10-06 Rong Xu <xur@google.com>
6577
6578 * Makefile.in: Ditto.
6579 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6580 (gcov_sort_icall_topn_counter): Ditto.
6581 (gcov_sort_topn_counter_arrays): Ditto.
6582 (dump_one_gcov): Sort indirect_call topn counters.
6583 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6584 function.
6585 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6586 utility function.
6587 (__gcov_indirect_call_topn_profiler): New profiler function.
6588 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6589 * libgcov.h: New decls.
6590
6591 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6592
6593 * config.host: Remove support for score-*.
6594
6595 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6596
6597 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6598 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6599 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6600 __LIBGCC_XF_MANT_DIG__.
6601 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6602 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6603 __LIBGCC_TF_MANT_DIG__.
6604 * libgcc2.c (NOTRUNC): Define in terms of
6605 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6606 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6607
6608 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6609
6610 PR target/63312
6611 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6612 New macros.
6613
6614 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
6615
6616 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6617 override USE_PT_GNU_EH_FRAME.
6618 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6619 check USE_EH_FRAME_REGISTRY_ALWAYS against
6620 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6621 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6622 variable for substituted force_explicit_eh_registry.
6623 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6624 * configure.ac (explicit-exception-frame-registration):
6625 New AC_ARG_ENABLE.
6626 * configure: Regenerate.
6627
6628 2014-09-19 Olivier Hainque <hainque@adacore.com>
6629
6630 * config.host (powerpc-wrs-vxworksmils): New configuration,
6631 same as vxworksae.
6632
6633 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6634
6635 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6636
6637 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6638
6639 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6640 bits not set bits as indicating trapping exceptions.
6641
6642 2014-09-17 Nathan sidwell <nathan@acm.org>
6643
6644 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6645 (LIBGCOV_DRIVER): ... here.
6646 * libgcov-driver.c (gcov_master): New.
6647 (gcov_exit): Remove from master chain.
6648 (__gcov_init): Add to master chain if version compatible. Don't
6649 clear the version.
6650 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6651 (gcov_reset_int): Clear master chain, if compatible.
6652 (gcov_dump_int): New internal interface. Dump master chain, if
6653 compatible.
6654 (gcov_dump): Alias for gcov_dump_int.
6655 * libgcov.h (struct gcov_root): Add next and prev fields.
6656 (struct gcov_master): New struct.
6657 (__gcov_master): New.
6658 (gcov_dump_int): Declare.
6659
6660 2014-09-17 Olivier Hainque <hainque@adacore.com>
6661
6662 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6663 and crtbegin.o + crtend.o to extra_parts.
6664
6665 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6666
6667 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6668 __LIBGCC_HAS_SF_MODE__.
6669 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6670 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6671 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6672 * config/libbid/bid_gcc_intrinsics.h
6673 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6674 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6675 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6676 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6677 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6678 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6679
6680 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
6681
6682 PR target/63223
6683 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6684 and R24 as needed. Make work for all devices and .text locations.
6685 (__do_global_ctors, __do_global_dtors): Use word addresses.
6686 (__tablejump__, __tablejump_elpm__): Remove functions.
6687 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6688 Add _tablejump2.
6689 (XICALL, XIJMP): New macros.
6690
6691 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6692 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6693
6694 * config.host (aarch64*): Include crtfastmath.o and
6695 t-crtfm.
6696 * config/aarch64/crtfastmath.c: New file.
6697
6698 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6699
6700 * config.host: Remove picochip support.
6701 * config/picochip/adddi3.S: Remove.
6702 * config/picochip/ashlsi3.S: Remove.
6703 * config/picochip/ashlsi3.c: Remove.
6704 * config/picochip/ashrsi3.S: Remove.
6705 * config/picochip/ashrsi3.c: Remove.
6706 * config/picochip/clzsi2.S: Remove.
6707 * config/picochip/cmpsi2.S: Remove.
6708 * config/picochip/divmod15.S: Remove.
6709 * config/picochip/divmodhi4.S: Remove.
6710 * config/picochip/divmodsi4.S: Remove.
6711 * config/picochip/lib1funcs.S: Remove.
6712 * config/picochip/longjmp.S: Remove.
6713 * config/picochip/lshrsi3.S: Remove.
6714 * config/picochip/lshrsi3.c: Remove.
6715 * config/picochip/parityhi2.S: Remove.
6716 * config/picochip/popcounthi2.S: Remove.
6717 * config/picochip/setjmp.S: Remove.
6718 * config/picochip/subdi3.S: Remove.
6719 * config/picochip/t-picochip: Remove.
6720 * config/picochip/ucmpsi2.S: Remove.
6721 * config/picochip/udivmodhi4.S: Remove.
6722 * config/picochip/udivmodsi4.S: Remove.
6723
6724 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6725
6726 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6727 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6728 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6729 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6730 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6731 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6732 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6733 defined and LIBGCC2_HAS_DF_MODE is defined.
6734 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6735 defined and LIBGCC2_HAS_XF_MODE is defined.
6736 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6737 defined and LIBGCC2_HAS_TF_MODE is defined.
6738
6739 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6740
6741 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6742 and ROUND_TOWARDS_ZERO conditionals.
6743
6744 2014-09-07 Nathan sidwell <nathan@acm.org>
6745
6746 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6747 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6748
6749 2014-09-05 Joseph Myers <joseph@codesourcery.com>
6750
6751 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6752 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6753 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6754 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6755 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6756 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6757 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6758 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6759 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6760 (DWARF_FRAME_REGISTERS): Change all uses to
6761 __LIBGCC_DWARF_FRAME_REGISTERS__.
6762 (EH_RETURN_STACKADJ_RTX): Change all uses to
6763 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6764 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6765 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6766 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6767 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6768 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6769 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6770 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6771 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6772 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6773 __LIBGCC_STACK_POINTER_REGNUM__.
6774 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6775 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6776 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6777 to __LIBGCC_STACK_POINTER_REGNUM__.
6778 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6779 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6780 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6781 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6782 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6783 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6784 (STACK_POINTER_REGNUM): Change all uses to
6785 __LIBGCC_STACK_POINTER_REGNUM__.
6786 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6787 use to __LIBGCC_STACK_POINTER_REGNUM__.
6788 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6789 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6790 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6791 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6792 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6793 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6794 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6795 to __LIBGCC_STACK_POINTER_REGNUM__.
6796 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6797 Remove conditional definition.
6798 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6799 __LIBGCC_TEXT_SECTION_ASM_OP__.
6800 (EH_FRAME_SECTION_NAME): Change all uses to
6801 __LIBGCC_EH_FRAME_SECTION_NAME__.
6802 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6803 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6804 (CTORS_SECTION_ASM_OP): Change all uses to
6805 __LIBGCC_CTORS_SECTION_ASM_OP__.
6806 (DTORS_SECTION_ASM_OP): Change all uses to
6807 __LIBGCC_DTORS_SECTION_ASM_OP__.
6808 (JCR_SECTION_NAME): Change all uses to
6809 __LIBGCC_JCR_SECTION_NAME__.
6810 (INIT_SECTION_ASM_OP): Change all uses to
6811 __LIBGCC_INIT_SECTION_ASM_OP__.
6812 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6813 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6814 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6815 __LIBGCC_STACK_GROWS_DOWNWARD__.
6816 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6817 __LIBGCC_INIT_SECTION_ASM_OP__.
6818 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6819 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6820 (EH_FRAME_SECTION_NAME): Change all uses to
6821 __LIBGCC_EH_FRAME_SECTION_NAME__.
6822 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6823 definitions. Change all uses to
6824 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6825 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6826 __LIBGCC_STACK_GROWS_DOWNWARD__.
6827 (DWARF_FRAME_REGISTERS): Change all uses to
6828 __LIBGCC_DWARF_FRAME_REGISTERS__.
6829 (EH_RETURN_STACKADJ_RTX): Change all uses to
6830 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6831 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6832 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6833 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6834 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6835 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6836
6837 2014-09-02 Nathan sidwell <nathan@acm.org>
6838
6839 * libgcov-interface.c (STRONG_ALIAS): New.
6840 (__gcov_flush): Call __gcov_reset_int.
6841 (__gcov_reset): Strong alias for ...
6842 (__gcov_reset_ing): ... this renamed hidden version.
6843 * libgcov.h (__gcov_reset_int): New declaration.
6844
6845 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6846
6847 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6848 call from here...
6849 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6850 (__dso_handle): Define on Cygwin.
6851 * config/i386/t-cygming (crtbeginS.o): New rule.
6852 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6853
6854 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6855 declaration syntax.
6856
6857 2014-08-13 Steve Ellcey <sellcey@mips.com>
6858
6859 * crtstuff.c: Undef caddr_t.
6860
6861 2014-08-12 Steve Ellcey <sellcey@mips.com>
6862
6863 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6864
6865 2014-08-07 Nathan Sidwell <nathan@acm.org>
6866
6867 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6868 (LIBGCOV_DRIVER): ... to here.
6869 * libgcov.h (gcov_do_dump): New #define.
6870 (struct gcov_root): New.
6871 (__gcov_root): New declaration.
6872 (__gcov_dump_one): Declare.
6873 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6874 run_accounted): Delete.
6875 (gcov_compute_histogram): Add LIST argument, adjust.
6876 (compute_summary): Adjust gcov_compute_histogram call.
6877 (gcov_do_dump): Not hidden, static in libgcov.
6878 (gcov_clear): Move to interface.c.
6879 (__gcov_dump_one): New, broken out of ...
6880 (gcov_exit): ... here. Make static.
6881 (__gcov_root): New.
6882 (__gcov_init): Adjust.
6883 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6884 declarations.
6885 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6886 (gcov_clear): Moved from driver.c. Add LIST argument.
6887 (__gcov_reset): Adjust for changed interfaces.
6888 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6889
6890 2014-08-04 Rohit <rohitarulraj@freescale.com>
6891
6892 PR target/60102
6893 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6894 based on change in SPE high register numbers and 3 HTM registers.
6895
6896 2014-08-01 Nathan Sidwell <nathan@acm.org>
6897
6898 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6899 LIBGCOV_INTERFACE): Reformat.
6900 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6901 IN_GCOV_TOOL.
6902 * libgcov-interface.c: Reformat some comments.
6903 (__gcov_flush_mx): Add declaration. Tidy up definition.
6904
6905 2014-07-31 Alan Modra <amodra@gmail.com>
6906 Peter Bergner <bergner@vnet.ibm.com>
6907
6908 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6909 (pack_ldouble): New function.
6910 (__gcc_qadd): Use it.
6911 (__gcc_qmul): Likewise.
6912 (__gcc_qdiv): Likewise.
6913 (__gcc_qneg): Likewise.
6914 (__gcc_stoq): Likewise.
6915 (__gcc_dtoq): Likewise.
6916
6917 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6918
6919 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6920 (__tpf_eh_return): Add original return address as second parameter.
6921 Handle cases where unwinder routines were called directly, instead
6922 of from within the C++ library.
6923
6924 2014-07-29 Nathan Sidwell <nathan@acm.org>
6925
6926 * libgcov.h: Move renaming of entry points to lib gcov specific
6927 portion.
6928 (gcov_do_dump): New rename.
6929 (gcov_rewrite): Remove inline, make HIDDEN.
6930 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6931 (gcov_exit_compute_summary): Rename to ...
6932 (compute_summary): ... here. Add LIST argument.
6933 (gcov_exit_merge_gcda): Rename to ...
6934 (merge_one_data): ... here.
6935 (gcov_exit_write_gcda): Rename to ...
6936 (write_one_data): ... here.
6937 (gcov_exit_merge_summary): Rename to ...
6938 (merge_summary): Add RUN_COUNTED argument.
6939 (gcov_exit_dump_gcov): Rename to ...
6940 (dump_one_gcov): Add RUN_COUNTED argument.
6941 (gcov_do_dump): New function, broken out of ...
6942 (gcov_exit): ... here. Call it.
6943
6944 2014-07-27 Anthony Green <green@moxielogic.com>
6945
6946 * config.host: Add moxiebox configuration suppport.
6947
6948 2014-07-27 Nathan Sidwell <nathan@acm.org>
6949
6950 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6951 (struct gcov_filename): ... here. Include buffer and max length
6952 fields.
6953 (gcov_max_filename): Remove.
6954 (gi_filename): Remove.
6955 (gcov_exit_compute_summary): Compute max filename here.
6956 (gcov_exit_merge_gcda): Add filename parm, adjust.
6957 (gcov_exit_merge_summary): Likewise.
6958 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6959 (gcov_exit): Likewise.
6960 (__gcov_init): Don't calculate max length here.
6961 * libgcov_util.c (max_filename_len): Remove.
6962 (read_gcda_file): Don't calculate max length here.
6963 (gcov_read_profile_dir): Don't propagate here.
6964 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6965 struct gcov_filename changes.
6966 (gcov_exit_open_gcda_file): Likewise.
6967
6968 2014-07-25 Nathan Sidwell <nathan@acm.org>
6969
6970 * libgcov-driver.c (set_gcov_dump_complete,
6971 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6972 functions polluting user's namespace.
6973 (gcov_exit): Set variable directly.
6974 (gcov_clear): Reset variable directly.
6975 * libgcov-interface.c (get_gcov_dymp_complete,
6976 reset_gov_dump_complete): Remove declarations.
6977 (__gcov_reset, __gcov_dump): Don't call them.
6978
6979 2014-07-24 DJ Delorie <dj@redhat.com>
6980
6981 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6982 (__gcc_deregister_frame): Move logic to detect deregister function
6983 to ...
6984 (__gcc_register_frame): here, so it's consistent with the register
6985 logic.
6986
6987 2014-07-23 Nathan Sidwell <nathan@acm.org>
6988
6989 * libgcov-driver.c (set_gcov_list): Remove.
6990 (gcov_list): Make non-static in GCOV_TOOL.
6991 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6992
6993 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
6994
6995 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6996 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6997 Don't use SYNC_LOCK_RELEASE for int type.
6998
6999 2014-07-14 Richard Biener <rguenther@suse.de>
7000
7001 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7002
7003 2014-07-11 Rong Xu <xur@google.com>
7004
7005 * libgcov-util.c (gcov_max_filename): Fix declartion.
7006
7007 2014-07-10 Rong Xu <xur@google.com>
7008
7009 Add gcov-tool: an offline gcda profile processing tool
7010 Support.
7011 * libgcov-driver.c (gcov_max_filename): Make available
7012 to gcov-tool.
7013 * libgcov-merge.c (__gcov_merge_add): Replace
7014 gcov_read_counter() with a Macro.
7015 (__gcov_merge_ior): Ditto.
7016 (__gcov_merge_time_profile): Ditto.
7017 (__gcov_merge_single): Ditto.
7018 (__gcov_merge_delta): Ditto.
7019 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7020 in the utility functions.
7021 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7022 gcov_list object link lists.
7023 (tag_function): Ditto.
7024 (tag_blocks): Ditto.
7025 (tag_arcs): Ditto.
7026 (tag_lines): Ditto.
7027 (tag_counters): Ditto.
7028 (tag_summary): Ditto.
7029 (read_gcda_finalize): Ditto.
7030 (read_gcda_file): Ditto.
7031 (ftw_read_file): Ditto.
7032 (read_profile_dir_init): Ditto.
7033 (gcov_read_profile_dir): Ditto.
7034 (gcov_read_counter_mem): Ditto.
7035 (gcov_get_merge_weight): Ditto.
7036 (merge_wrapper): A wrapper function that calls merging handler.
7037 (gcov_merge): Merge two gcov_info objects with weights.
7038 (find_match_gcov_info): Find the matched gcov_info in the list.
7039 (gcov_profile_merge): Merge two gcov_info object lists.
7040 (__gcov_add_counter_op): Process edge profile counter values.
7041 (__gcov_ior_counter_op): Process IOR profile counter values.
7042 (__gcov_delta_counter_op): Process delta profile counter values.
7043 (__gcov_single_counter_op): Process single profile counter values.
7044 (fp_scale): Callback function for float-point scaling.
7045 (int_scale): Callback function for integer fraction scaling.
7046 (gcov_profile_scale): Scaling profile counters.
7047 (gcov_profile_normalize): Normalize profile counters.
7048 * libgcov.h: Add headers and functions for gcov-tool use.
7049 (gcov_get_counter): New.
7050 (gcov_get_counter_target): Ditto.
7051 (struct gcov_info): Make the functions field mutable in gcov-tool
7052 compilation.
7053
7054 2014-06-23 Kai Tietz <ktietz@redhat.com>
7055
7056 PR libgcc/61585
7057 * unwind-seh.c (_Unwind_GetGR): Check for proper
7058 index range.
7059 (_Unwind_SetGR): Likewise.
7060
7061 2014-05-22 Nick Clifton <nickc@redhat.com>
7062
7063 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7064 -mhwmult=none.
7065
7066 2014-05-22 Teresa Johnson <tejohnson@google.com>
7067
7068 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7069 include.
7070
7071 2014-05-20 John Marino <gnugcc@marino.st>
7072
7073 * config.host (*-*-dragonfly*): New target.
7074 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7075 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7076 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7077 * config/i386/dragonfly-unwind.h: New.
7078
7079 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7080
7081 PR libgcc/60166
7082 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7083 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7084
7085 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7086
7087 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7088 implementation.
7089
7090 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
7091
7092 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7093
7094 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7095
7096 PR libgcc/61097
7097 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7098 if --enable-shared.
7099
7100 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7101
7102 Work around for current cygwin32 build problems.
7103 * config/i386/cygming-crtbegin.c (__register_frame_info,
7104 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7105 functions only for 64-bit systems.
7106
7107 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7108
7109 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7110 (sigill_caught, sigill_hdlr): Remove.
7111
7112 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7113
7114 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7115 check.
7116 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7117 Solaris 9 single-threaded support.
7118 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7119 Solaris 9 single-threaded support. Add call_user_handler code
7120 sequences.
7121 (sparc_is_sighandler): Likewise.
7122
7123 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7124
7125 * config.host: Append t-floattodi to tmake_file depending on
7126 host_address.
7127
7128 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7129
7130 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7131
7132 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
7133
7134 PR libgcc/60472
7135 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7136 variable to avoid "array subscript is above array bounds" warnings.
7137 Use __builtin_expect when checking *jcr_list for NULL.
7138
7139 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7140
7141 PR libgcc/59339
7142 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7143 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7144 vtv_*.o to extra_parts if enable_vtable_verify.
7145
7146 2014-03-06 Nick Clifton <nickc@redhat.com>
7147
7148 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7149 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7150
7151 2014-02-28 Joey Ye <joey.ye@arm.com>
7152
7153 PR libgcc/60166
7154 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7155 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7156 Set to zero.
7157
7158 2014-02-24 Walter Lee <walt@tilera.com>
7159
7160 * config.host: Support "tilegx*" and "tilepro*" triplets.
7161 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7162 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7163
7164 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7165 Chung-Lin Tang <cltang@codesourcery.com>
7166
7167 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7168 * config/nios2/crti.S: Remove .file directive.
7169 * config/nios2/crtn.S: Likewise.
7170
7171 2014-02-18 Kai Tietz <ktietz@redhat.com>
7172 Jonathan Schleifer <js@webkeks.org>
7173
7174 PR objc/56870
7175 * unwind-seh.c (_GCC_specific_handler): Pass proper
7176 value to unwind-handler.
7177
7178 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7179
7180 * soft-fp/adddf3.c: Update from glibc.
7181 * soft-fp/addsf3.c: Likewise.
7182 * soft-fp/addtf3.c: Likewise.
7183 * soft-fp/divdf3.c: Likewise.
7184 * soft-fp/divsf3.c: Likewise.
7185 * soft-fp/divtf3.c: Likewise.
7186 * soft-fp/double.h: Likewise.
7187 * soft-fp/eqdf2.c: Likewise.
7188 * soft-fp/eqsf2.c: Likewise.
7189 * soft-fp/eqtf2.c: Likewise.
7190 * soft-fp/extenddftf2.c: Likewise.
7191 * soft-fp/extended.h: Likewise.
7192 * soft-fp/extendsfdf2.c: Likewise.
7193 * soft-fp/extendsftf2.c: Likewise.
7194 * soft-fp/extendxftf2.c: Likewise.
7195 * soft-fp/fixdfdi.c: Likewise.
7196 * soft-fp/fixdfsi.c: Likewise.
7197 * soft-fp/fixdfti.c: Likewise.
7198 * soft-fp/fixsfdi.c: Likewise.
7199 * soft-fp/fixsfsi.c: Likewise.
7200 * soft-fp/fixsfti.c: Likewise.
7201 * soft-fp/fixtfdi.c: Likewise.
7202 * soft-fp/fixtfsi.c: Likewise.
7203 * soft-fp/fixtfti.c: Likewise.
7204 * soft-fp/fixunsdfdi.c: Likewise.
7205 * soft-fp/fixunsdfsi.c: Likewise.
7206 * soft-fp/fixunsdfti.c: Likewise.
7207 * soft-fp/fixunssfdi.c: Likewise.
7208 * soft-fp/fixunssfsi.c: Likewise.
7209 * soft-fp/fixunssfti.c: Likewise.
7210 * soft-fp/fixunstfdi.c: Likewise.
7211 * soft-fp/fixunstfsi.c: Likewise.
7212 * soft-fp/fixunstfti.c: Likewise.
7213 * soft-fp/floatdidf.c: Likewise.
7214 * soft-fp/floatdisf.c: Likewise.
7215 * soft-fp/floatditf.c: Likewise.
7216 * soft-fp/floatsidf.c: Likewise.
7217 * soft-fp/floatsisf.c: Likewise.
7218 * soft-fp/floatsitf.c: Likewise.
7219 * soft-fp/floattidf.c: Likewise.
7220 * soft-fp/floattisf.c: Likewise.
7221 * soft-fp/floattitf.c: Likewise.
7222 * soft-fp/floatundidf.c: Likewise.
7223 * soft-fp/floatundisf.c: Likewise.
7224 * soft-fp/floatunditf.c: Likewise.
7225 * soft-fp/floatunsidf.c: Likewise.
7226 * soft-fp/floatunsisf.c: Likewise.
7227 * soft-fp/floatunsitf.c: Likewise.
7228 * soft-fp/floatuntidf.c: Likewise.
7229 * soft-fp/floatuntisf.c: Likewise.
7230 * soft-fp/floatuntitf.c: Likewise.
7231 * soft-fp/gedf2.c: Likewise.
7232 * soft-fp/gesf2.c: Likewise.
7233 * soft-fp/getf2.c: Likewise.
7234 * soft-fp/ledf2.c: Likewise.
7235 * soft-fp/lesf2.c: Likewise.
7236 * soft-fp/letf2.c: Likewise.
7237 * soft-fp/muldf3.c: Likewise.
7238 * soft-fp/mulsf3.c: Likewise.
7239 * soft-fp/multf3.c: Likewise.
7240 * soft-fp/negdf2.c: Likewise.
7241 * soft-fp/negsf2.c: Likewise.
7242 * soft-fp/negtf2.c: Likewise.
7243 * soft-fp/op-1.h: Likewise.
7244 * soft-fp/op-2.h: Likewise.
7245 * soft-fp/op-4.h: Likewise.
7246 * soft-fp/op-8.h: Likewise.
7247 * soft-fp/op-common.h: Likewise.
7248 * soft-fp/quad.h: Likewise.
7249 * soft-fp/single.h: Likewise.
7250 * soft-fp/soft-fp.h: Likewise.
7251 * soft-fp/subdf3.c: Likewise.
7252 * soft-fp/subsf3.c: Likewise.
7253 * soft-fp/subtf3.c: Likewise.
7254 * soft-fp/truncdfsf2.c: Likewise.
7255 * soft-fp/trunctfdf2.c: Likewise.
7256 * soft-fp/trunctfsf2.c: Likewise.
7257 * soft-fp/trunctfxf2.c: Likewise.
7258 * soft-fp/unorddf2.c: Likewise.
7259 * soft-fp/unordsf2.c: Likewise.
7260 * soft-fp/unordtf2.c: Likewise.
7261 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7262 macro.
7263 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7264 Likewise.
7265 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7266 Likewise.
7267 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7268 Likewise.
7269 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7270 Likewise.
7271 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7272 Likewise.
7273 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7274 Likewise.
7275 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7276 Likewise.
7277 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7278 Likewise.
7279 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7280 Likewise.
7281 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7282 Likewise.
7283 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7284 Likewise.
7285 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7286 Likewise.
7287 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7288 Likewise.
7289 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7290 Likewise.
7291 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7292 Likewise.
7293
7294 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7295
7296 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7297 cannot be represented.
7298 * config/s390/32/_fixsfdi.c: Likewise.
7299 * config/s390/32/_fixtfdi.c: Likewise.
7300 * config/s390/32/_fixunsdfdi.c: Likewise.
7301 * config/s390/32/_fixunssfdi.c: Likewise.
7302 * config/s390/32/_fixunstfdi.c: Likewise.
7303
7304 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7305
7306 * configure.ac (libgcc_cv_mips_hard_float): New.
7307 * configure: Regenerate.
7308 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7309 t-softfp-sfdf for hard-float targets.
7310 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7311 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7312 (softfp_truncations, softfp_exclude_libgcc2): New.
7313 * config/t-hardfp: New file.
7314 * config/t-hardfp-sfdf: Likewise.
7315 * config/hardfp.c: Likewise.
7316
7317 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7318
7319 * config.host: Include t-floattodi also for s390x.
7320 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7321 * config/s390/32/_fixsfdi.c: Likewise.
7322 * config/s390/32/_fixtfdi.c: Likewise.
7323 * config/s390/32/_fixunsdfdi.c: Likewise.
7324 * config/s390/32/_fixunssfdi.c: Likewise.
7325 * config/s390/32/_fixunstfdi.c: Likewise.
7326
7327 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7328
7329 PR target/59788
7330 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7331 (install-libgcc-unwind-map-forbuild): New target.
7332 (all): Depend on install-libgcc-unwind-map-forbuild.
7333 (install-libgcc-unwind-map): New target.
7334 (install): Depend on install-libgcc-unwind-map.
7335
7336 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7337
7338 * config/nios2/crti.S (_init): Initialize GOT pointer from
7339 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7340
7341 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7342
7343 * configure.ac: Check __mips64 when setting host_address.
7344 * configure: Regenerate.
7345 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7346 mips/t-mips64 and t-softfp.
7347 (mips*-*-linux*): Don't add mips/t-tpbit.
7348 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7349 (DPBIT, DPBIT_CFLAGS): Delete.
7350 * config/mips/sfp-machine.h: New file.
7351 * config/mips/t-mips64: Likewise.
7352 * config/mips/t-softfp-tf: Likewise.
7353 * config/mips/t-tpbit: Delete.
7354
7355 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7356
7357 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7358 as long long.
7359
7360 2014-01-25 Walter Lee <walt@tilera.com>
7361
7362 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7363 config.h or system.h.
7364 (bool) Define.
7365
7366 2014-01-25 Walter Lee <walt@tilera.com>
7367
7368 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7369 (post_atomic_barrier): Ditto.
7370 (__fetch_and_do): New macro.
7371 (__atomic_fetch_and_do): Use __fetch_and_do.
7372 (__sync_fetch_and_do): New macro.
7373 (__sync_fetch_and_add_4): New function.
7374 (__sync_fetch_and_sub_4): New function.
7375 (__sync_fetch_and_or_4): New function.
7376 (__sync_fetch_and_and_4): New function.
7377 (__sync_fetch_and_xor_4): New function.
7378 (__sync_fetch_and_nand_4): New function.
7379 (__sync_fetch_and_add_8): New function.
7380 (__sync_fetch_and_sub_8): New function.
7381 (__sync_fetch_and_or_8): New function.
7382 (__sync_fetch_and_and_8): New function.
7383 (__sync_fetch_and_xor_8): New function.
7384 (__sync_fetch_and_nand_8): New function.
7385 (__do_and_fetch): New macro.
7386 (__atomic_do_and_fetch): Use __do_and_fetch.
7387 (__sync_do_and_fetch): New macro.
7388 (__sync_add_and_fetch_4): New function.
7389 (__sync_sub_and_fetch_4): New function.
7390 (__sync_or_and_fetch_4): New function.
7391 (__sync_and_and_fetch_4): New function.
7392 (__sync_xor_and_fetch_4): New function.
7393 (__sync_nand_and_fetch_4): New function.
7394 (__sync_add_and_fetch_8): New function.
7395 (__sync_sub_and_fetch_8): New function.
7396 (__sync_or_and_fetch_8): New function.
7397 (__sync_and_and_fetch_8): New function.
7398 (__sync_xor_and_fetch_8): New function.
7399 (__sync_nand_and_fetch_8): New function.
7400 (__sync_exchange_methods): New macro.
7401 (__sync_val_compare_and_swap_4): New function.
7402 (__sync_bool_compare_and_swap_4): New function.
7403 (__sync_lock_test_and_test_4): New function.
7404 (__sync_val_compare_and_swap_8): New function.
7405 (__sync_bool_compare_and_swap_8): New function.
7406 (__sync_lock_test_and_test_8): New function.
7407 (__subword_cmpxchg_body): New macro.
7408 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7409 (__atomic_compare_exchange_2): Ditto.
7410 (__sync_subword_cmpxchg): New macro.
7411 (__sync_val_compare_and_swap_1): New function.
7412 (__sync_bool_compare_and_swap_1): New function.
7413 (__sync_val_compare_and_swap_2): New function.
7414 (__sync_bool_compare_and_swap_2): New function.
7415 (__atomic_subword): Rename to ...
7416 (__subword): ... New name.
7417 (__atomic_subword_fetch): Use __subword.
7418 (__sync_subword_fetch): New macro.
7419 (__sync_fetch_and_add_1): New function.
7420 (__sync_fetch_and_sub_1): New function.
7421 (__sync_fetch_and_or_1): New function.
7422 (__sync_fetch_and_and_1): New function.
7423 (__sync_fetch_and_xor_1): New function.
7424 (__sync_fetch_and_nand_1): New function.
7425 (__sync_fetch_and_add_2): New function.
7426 (__sync_fetch_and_sub_2): New function.
7427 (__sync_fetch_and_or_2): New function.
7428 (__sync_fetch_and_and_2): New function.
7429 (__sync_fetch_and_xor_2): New function.
7430 (__sync_fetch_and_nand_2): New function.
7431 (__sync_add_and_fetch_1): New function.
7432 (__sync_sub_and_fetch_1): New function.
7433 (__sync_or_and_fetch_1): New function.
7434 (__sync_and_and_fetch_1): New function.
7435 (__sync_xor_and_fetch_1): New function.
7436 (__sync_nand_and_fetch_1): New function.
7437 (__sync_add_and_fetch_2): New function.
7438 (__sync_sub_and_fetch_2): New function.
7439 (__sync_or_and_fetch_2): New function.
7440 (__sync_and_and_fetch_2): New function.
7441 (__sync_xor_and_fetch_2): New function.
7442 (__sync_nand_and_fetch_2): New function.
7443 (__atomic_subword_lock): Use __subword.
7444 (__sync_subword_lock): New macro.
7445 (__sync_lock_test_and_set_1): New function.
7446 (__sync_lock_test_and_set_2): New function.
7447
7448 2014-01-25 Walter Lee <walt@tilera.com>
7449
7450 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7451 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7452 (__atomic_subword): Ditto.
7453
7454 2014-01-25 Walter Lee <walt@tilera.com>
7455
7456 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7457 a prefix op argument.
7458 (__atomic_nand_fetch_4): Add prefix op.
7459 (__atomic_nand_fetch_8): Ditto.
7460
7461 2014-01-21 Baruch Siach <barch@tkos.co.il>
7462
7463 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7464
7465 2014-01-09 Rong Xu <xur@google.com>
7466
7467 * libgcov-driver.c (this_prg): make it local to save
7468 bss space.
7469 (gcov_exit_compute_summary): Ditto.
7470 (gcov_exit_merge_gcda): Ditto.
7471 (gcov_exit_merge_summary): Ditto.
7472 (gcov_exit_dump_gcov): Ditto.
7473
7474 2014-01-08 Rong Xu <xur@google.com>
7475
7476 * libgcov-driver.c: Use libgcov.h.
7477 (buffer_fn_data): Use xmalloc instead of malloc.
7478 (gcov_exit_merge_gcda): Ditto.
7479 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7480 * libgcov.h: New common header files for libgcov-*.h.
7481 * libgcov-interface.c: Use libgcov.h
7482 * libgcov-merge.c: Ditto.
7483 * libgcov-profiler.c: Ditto.
7484 * Makefile.in: Add dependence to libgcov.h
7485
7486 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7487
7488 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7489 case of small numerator and finite nonzero result.
7490
7491 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7492
7493 Update copyright years
7494
7495 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7496
7497 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7498 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7499 config/arc/dp-hack.h, config/arc/fp-hack.h,
7500 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7501 config/arc/ieee-754/arc600-dsp/divdf3.S,
7502 config/arc/ieee-754/arc600-dsp/divsf3.S,
7503 config/arc/ieee-754/arc600-dsp/muldf3.S,
7504 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7505 config/arc/ieee-754/arc600-mul64/divdf3.S,
7506 config/arc/ieee-754/arc600-mul64/divsf3.S,
7507 config/arc/ieee-754/arc600-mul64/muldf3.S,
7508 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7509 config/arc/ieee-754/arc600/divsf3.S,
7510 config/arc/ieee-754/arc600/mulsf3.S,
7511 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7512 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7513 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7514 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7515 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7516 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7517 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7518 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7519 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7520 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7521 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7522 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7523 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7524 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7525 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7526 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7527 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7528 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7529 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7530 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7531 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7532 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7533 vtv_start_preinit.c: Use the standard form for the copyright notice.
7534
7535 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7536 Chung-Lin Tang <cltang@codesourcery.com>
7537 Based on patches from Altera Corporation
7538
7539 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7540 * config/nios2/lib2-nios2.h: New file.
7541 * config/nios2/lib2-divmod-hi.c: New file.
7542 * config/nios2/linux-unwind.h: New file.
7543 * config/nios2/lib2-divmod.c: New file.
7544 * config/nios2/linux-atomic.c: New file.
7545 * config/nios2/t-nios2: New file.
7546 * config/nios2/crti.asm: New file.
7547 * config/nios2/t-linux: New file.
7548 * config/nios2/lib2-divtable.c: New file.
7549 * config/nios2/lib2-mul.c: New file.
7550 * config/nios2/tramp.c: New file.
7551 * config/nios2/crtn.asm: New file.
7552
7553 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
7554
7555 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7556 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7557 from cpuid.h to check vendor signatures.
7558
7559 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7560
7561 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7562 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7563 (get_amd_cpu): Likewise.
7564
7565 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7568 Haswell.
7569
7570 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7571 H.J. Lu <hongjiu.lu@intel.com>
7572
7573 PR target/59422
7574 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
7575 and AMD_JAGUAR.
7576 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7577 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7578 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7579 FEATURE_XOP and FEATURE_FMA.
7580 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7581 AMDFAM15H_BDVER3.
7582 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7583 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7584 FEATURE_FMA4 and FEATURE_XOP.
7585
7586 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7587
7588 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7589 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7590 (get_intel_cpu): Updated.
7591
7592 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7593
7594 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7595
7596 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
7597
7598 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7599 instructions when __SSE_MATH__ is defined.
7600
7601 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7602
7603 * config.host (microblaze-*-rtems*): New.
7604
7605 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7606
7607 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7608 architectures that do not have hardware divide instruction.
7609 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7610
7611 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7612
7613 * longlong.h: Delete (moved to include/).
7614
7615 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7616
7617 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7618 of normal number and qNaN to not raise an inexact exception.
7619
7620 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
7621
7622 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7623
7624 2013-11-28 Matthew Leach <matthew.leach@arm.com>
7625
7626 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7627 for correct opcodes on BE.
7628
7629 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
7630
7631 * soft-fp/op-4.h: Update from glibc.
7632
7633 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7634
7635 * libgcc2.c (__udivmoddi4): Define new implementation when
7636 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7637 divide instructions.
7638
7639 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7640
7641 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7642
7643 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7644
7645 * config/t-softfp (soft-fp-objects-base): New variable.
7646 (soft-fp-objects): Use it.
7647
7648 2013-11-23 David Edelson <dje.gcc@gmail.com>
7649 Andrew Dixie <andrewd@gentrack.com>
7650
7651 PR target/33704
7652 * config/rs6000/aixinitfini.c: New file.
7653 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7654 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7655 symbols.
7656
7657 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7658
7659 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7660
7661 2013-11-18 Jan Hubicka <jh@suse.cz>
7662
7663 * libgcov-driver.c (run_accounted): Make global level static.
7664 (gcov_exit_merge_summary): Silence warning; do not clear
7665 run_accounted here.
7666 (gcov_exit): Clear it here.
7667
7668 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7669 run_accounted.
7670
7671 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7672 (all_prg, crc32): Remove static vars.
7673 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7674 all_prg.
7675 (gcov_exit_merge_gcda): Add crc32 parameter.
7676 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7677 do not account run if it was already accounted.
7678 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7679 (gcov_exit): Initialize all_prg; update.
7680
7681 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7682
7683 * configure: Regenerate.
7684
7685 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7686 Alan Modra <amodra@gmail.com>
7687
7688 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7689 (frob_update_context): Use it.
7690
7691 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7692 Alan Modra <amodra@gmail.com>
7693
7694 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7695 (trampoline_initial): Provide ELFv2 variant.
7696 (__trampoline_setup): Likewise.
7697
7698 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7699 check for AIX indirect function call sequence if _CALL_ELF == 2.
7700
7701 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7702 Alan Modra <amodra@gmail.com>
7703
7704 * config/rs6000/linux-unwind.h (get_regs): Do not support
7705 old kernel versions if _CALL_ELF == 2.
7706 (frob_update_context): Do not support PLT stub variants only
7707 generated by old linkers if _CALL_ELF == 2.
7708
7709 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7710 Alan Modra <amodra@gmail.com>
7711
7712 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7713 location of CR save area for 64-bit little-endian systems.
7714
7715 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7716
7717 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7718 in tmake_file.
7719 * config/arm/t-vxworks: Delete.
7720
7721 2013-11-10 Kai Tietz <ktietz@redhat.com>
7722
7723 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7724 Increment load-count on use of LIBGCC_SONAME DLL.
7725 (hmod_libgcc): New static variable to hold handle of
7726 LIBGCC_SONAME DLL.
7727 (__gcc_deregister_frame): Decrement load-count of
7728 LIBGCC_SONAME DLL.
7729
7730 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7731
7732 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7733 availability.
7734 * configure: Regenerate
7735
7736 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
7737
7738 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7739 FP_EX_DENORM. Store result to volatile location after SSE division
7740 to close interrupt window. Remove unneeded fwait after x87
7741 division since interrupt window will be closed by emitted fstp.
7742 Rewrite FP_EX_INEXACT handling.
7743
7744 2013-11-06 Joseph Myers <joseph@codesourcery.com>
7745
7746 * soft-fp/README: Update.
7747 * soft-fp/adddf3.c: Update from glibc.
7748 * soft-fp/addsf3.c: Likewise.
7749 * soft-fp/addtf3.c: Likewise.
7750 * soft-fp/divdf3.c: Likewise.
7751 * soft-fp/divsf3.c: Likewise.
7752 * soft-fp/divtf3.c: Likewise.
7753 * soft-fp/double.h: Likewise.
7754 * soft-fp/eqdf2.c: Likewise.
7755 * soft-fp/eqsf2.c: Likewise.
7756 * soft-fp/eqtf2.c: Likewise.
7757 * soft-fp/extenddftf2.c: Likewise.
7758 * soft-fp/extended.h: Likewise.
7759 * soft-fp/extendsfdf2.c: Likewise.
7760 * soft-fp/extendsftf2.c: Likewise.
7761 * soft-fp/extendxftf2.c: Likewise.
7762 * soft-fp/fixdfdi.c: Likewise.
7763 * soft-fp/fixdfsi.c: Likewise.
7764 * soft-fp/fixdfti.c: Likewise.
7765 * soft-fp/fixsfdi.c: Likewise.
7766 * soft-fp/fixsfsi.c: Likewise.
7767 * soft-fp/fixsfti.c: Likewise.
7768 * soft-fp/fixtfdi.c: Likewise.
7769 * soft-fp/fixtfsi.c: Likewise.
7770 * soft-fp/fixtfti.c: Likewise.
7771 * soft-fp/fixunsdfdi.c: Likewise.
7772 * soft-fp/fixunsdfsi.c: Likewise.
7773 * soft-fp/fixunsdfti.c: Likewise.
7774 * soft-fp/fixunssfdi.c: Likewise.
7775 * soft-fp/fixunssfsi.c: Likewise.
7776 * soft-fp/fixunssfti.c: Likewise.
7777 * soft-fp/fixunstfdi.c: Likewise.
7778 * soft-fp/fixunstfsi.c: Likewise.
7779 * soft-fp/fixunstfti.c: Likewise.
7780 * soft-fp/floatdidf.c: Likewise.
7781 * soft-fp/floatdisf.c: Likewise.
7782 * soft-fp/floatditf.c: Likewise.
7783 * soft-fp/floatsidf.c: Likewise.
7784 * soft-fp/floatsisf.c: Likewise.
7785 * soft-fp/floatsitf.c: Likewise.
7786 * soft-fp/floattidf.c: Likewise.
7787 * soft-fp/floattisf.c: Likewise.
7788 * soft-fp/floattitf.c: Likewise.
7789 * soft-fp/floatundidf.c: Likewise.
7790 * soft-fp/floatundisf.c: Likewise.
7791 * soft-fp/floatunditf.c: Likewise.
7792 * soft-fp/floatunsidf.c: Likewise.
7793 * soft-fp/floatunsisf.c: Likewise.
7794 * soft-fp/floatunsitf.c: Likewise.
7795 * soft-fp/floatuntidf.c: Likewise.
7796 * soft-fp/floatuntisf.c: Likewise.
7797 * soft-fp/floatuntitf.c: Likewise.
7798 * soft-fp/gedf2.c: Likewise.
7799 * soft-fp/gesf2.c: Likewise.
7800 * soft-fp/getf2.c: Likewise.
7801 * soft-fp/ledf2.c: Likewise.
7802 * soft-fp/lesf2.c: Likewise.
7803 * soft-fp/letf2.c: Likewise.
7804 * soft-fp/muldf3.c: Likewise.
7805 * soft-fp/mulsf3.c: Likewise.
7806 * soft-fp/multf3.c: Likewise.
7807 * soft-fp/negdf2.c: Likewise.
7808 * soft-fp/negsf2.c: Likewise.
7809 * soft-fp/negtf2.c: Likewise.
7810 * soft-fp/op-1.h: Likewise.
7811 * soft-fp/op-2.h: Likewise.
7812 * soft-fp/op-4.h: Likewise.
7813 * soft-fp/op-8.h: Likewise.
7814 * soft-fp/op-common.h: Likewise.
7815 * soft-fp/quad.h: Likewise.
7816 * soft-fp/single.h: Likewise.
7817 * soft-fp/soft-fp.h: Likewise.
7818 * soft-fp/subdf3.c: Likewise.
7819 * soft-fp/subsf3.c: Likewise.
7820 * soft-fp/subtf3.c: Likewise.
7821 * soft-fp/truncdfsf2.c: Likewise.
7822 * soft-fp/trunctfdf2.c: Likewise.
7823 * soft-fp/trunctfsf2.c: Likewise.
7824 * soft-fp/trunctfxf2.c: Likewise.
7825 * soft-fp/unorddf2.c: Likewise.
7826 * soft-fp/unordsf2.c: Likewise.
7827 * soft-fp/unordtf2.c: Likewise.
7828
7829 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
7830
7831 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7832 (_FP_MUL_MEAT_D): Ditto.
7833 (_FP_DIV_MEAT_S): Ditto.
7834 (_FP_DIV_MEAT_D): Ditto.
7835 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7836 t-softfp-sfdf and t-softfp to tmake_file.
7837
7838 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
7839
7840 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7841 * config/i386/crtprec.c: Ditto.
7842
7843 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7844 Shiva Chen <shiva0217@gmail.com>
7845
7846 * config.host (nds32*-elf*): Add nds32 target.
7847 * config/nds32 : New directory and files.
7848
7849 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
7850
7851 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7852 * config.host (cpu_type) <Setting default>: Add entry for
7853 crisv32-*-*.
7854 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7855 <crisv32-*-linux*>: Adjust.
7856 * longlong.h: Wrap the whole CRIS section in a single
7857 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7858 and sub_ddmmss.
7859 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7860 defined.
7861 [__CRIS__] (__umulsidi3): Define.
7862 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7863 * config/cris/sfp-machine.h: New file.
7864 * config/cris/umulsidi3.S: New file.
7865 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7866 * config/cris/arit.c (SIGNMULT): New macro.
7867 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7868 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7869 saving 3 out of originally 33 cycles from the fastest
7870 path, 3 out of 54 from the medium path and one from the longest
7871 path. Improve comments.
7872
7873 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7874
7875 * sync.c: Remove static aliases and define each function directly
7876 under its real name.
7877
7878 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
7879
7880 * config.host (hppa*64*-*-linux*): Define extra_parts.
7881 (hppa*-*-linux*): Likewise.
7882
7883 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7884
7885 * config/arc/crtgend.S: Add 2013 to Copyright years.
7886 * config/arc/gmon/atomic.h: Likewise.
7887 * config/arc/gmon/auxreg.h: Likewise.
7888 * config/arc/gmon/sys/gmon_out.h: Likewise.
7889 * config/arc/gmon/sys/gmon.h: Likewise.
7890 * config/arc/gmon/prof-freq.c: Likewise.
7891 * config/arc/gmon/mcount.c: Likewise.
7892 * config/arc/gmon/prof-freq-stub.S: Likewise.
7893 * config/arc/gmon/gmon.c: Likewise.
7894 * config/arc/gmon/machine-gmon.h: Likewise.
7895 * config/arc/gmon/profil.S: Likewise.
7896 * config/arc/gmon/dcache_linesz.S: Likewise.
7897 * config/arc/crtg.S: Likewise.
7898 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7899 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7900 * config/arc/ieee-754/adddf3.S: Likewise.
7901 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7902 * config/arc/ieee-754/fixsfsi.S: Likewise.
7903 * config/arc/ieee-754/gtsf2.S: Likewise.
7904 * config/arc/ieee-754/floatsisf.S: Likewise.
7905 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7906 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7907 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7908 * config/arc/ieee-754/fixdfsi.S: Likewise.
7909 * config/arc/ieee-754/addsf3.S: Likewise.
7910 * config/arc/ieee-754/gesf2.S: Likewise.
7911 * config/arc/ieee-754/floatsidf.S: Likewise.
7912 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7913 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7914 * config/arc/ieee-754/gtdf2.S: Likewise.
7915 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7916 * config/arc/ieee-754/uneqdf2.S: Likewise.
7917 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7918 * config/arc/ieee-754/uneqsf2.S: Likewise.
7919 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7920 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7921 * config/arc/ieee-754/eqdf2.S: Likewise.
7922 * config/arc/ieee-754/ordsf2.S: Likewise.
7923 * config/arc/ieee-754/divsf3.S: Likewise.
7924 * config/arc/ieee-754/divdf3.S: Likewise.
7925 * config/arc/ieee-754/floatunsidf.S: Likewise.
7926 * config/arc/ieee-754/orddf2.S: Likewise.
7927 * config/arc/ieee-754/eqsf2.S: Likewise.
7928 * config/arc/ieee-754/gedf2.S: Likewise.
7929 * config/arc/crtn.S: Likewise.
7930 * config/arc/crti.S: Likewise.
7931 * config/arc/t-arc700-uClibc: Likewise.
7932 * config/arc/asm.h: Likewise.
7933 * config/arc/libgcc-excl.ver: Likewise.
7934 * config/arc/t-arc-newlib: Likewise.
7935 * config/arc/divtab-arc700.c: Likewise.
7936 * config/arc/initfini.c: Likewise.
7937 * config/arc/fp-hack.h: Likewise.
7938
7939 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7940 Diego Novillo <dnovillo@google.com>
7941
7942 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7943 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7944 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7945 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7946
7947 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7948 Brendan Kehoe <brendan@zen.org>
7949 Simon Cook <simon.cook@embecosm.com>
7950
7951 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7952 * config/arc: New directory.
7953 * longlong.h [__arc__] (umul_ppmm): Remove.
7954 [__arc__] (__umulsidi3): Define.
7955 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7956 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7957
7958 2013-09-17 Jacek Caban <jacek@codeweavers.com>
7959
7960 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7961 CreateSemaphoreA.
7962 * config/i386/gthr-win32.h: Likewise.
7963
7964 2013-09-16 DJ Delorie <dj@redhat.com>
7965
7966 * config/rl78/vregs.h: Add G10 register definitions.
7967 * config/rl78/lib2mul.c: Enable for RL78/G10.
7968 * config/rl78/lib2div.c: Likewise.
7969 * config/rl78/lshrsi3.S: Use vregs.h.
7970 * config/rl78/cmpsi2.S: Likewise.
7971 * config/rl78/trampoline.S: Likewise.
7972 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7973
7974 2013-09-14 DJ Delorie <dj@redhat.com>
7975 Nick Clifton <nickc@redhat.com>
7976
7977 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7978 * config/rl78/vregs.h: New.
7979 * config/rl78/signbit.S: New file. Implements signbit function.
7980 * config/rl78/divmodsi.S: New.
7981 * config/rl78/divmodhi.S: New.
7982 * config/rl78/divmodqi.S: New.
7983 * config/rl78/t-rl78: Build them here...
7984 * config/rl78/lib2div.c: ...but not here.
7985
7986 2013-09-12 DJ Delorie <dj@redhat.com>
7987
7988 * config.host (msp*-*-elf): New.
7989 * config/msp430/: New port.
7990
7991 2013-08-18 Iain Sandoe <iain@codesourcery.com>
7992
7993 PR gcov-profile/58127
7994 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7995 __thread var for emulated TLS.
7996 (__gcov_indirect_call_counters): Likewise.
7997
7998 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
7999 Catherine Moore <clm@codesourcery.com>
8000 Richard Sandiford <rdsandiford@googlemail.com>
8001
8002 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8003 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8004 (CALL_STUB_NO_RET): Likewise.
8005 (CALL_STUB_RET): Likewise.
8006 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8007 __mips16_ret call/return stub symbols.
8008 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8009 to tmake_file.
8010
8011 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8012
8013 * config.host <mips*-*-linux*>: Remove a stray comment.
8014
8015 2013-08-10 Jan Hubicka <jh@suse.cz>
8016
8017 Work around binutils PR14342
8018 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8019 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8020 (L_gcov_indirect_call_profiler_v2): New.
8021
8022 2013-08-06 Jan Hubicka <jh@suse.cz>
8023
8024 * libgcov.c (__gcov_indirect_call_callee,
8025 __gcov_indirect_call_counters): New global vars.
8026 (__gcov_indirect_call_profiler): replace by ...
8027 (__gcov_indirect_call_profiler_v2) ... this one.
8028
8029 2013-08-06 Caroline Tice <cmtice@google.com>
8030
8031 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8032 vtv_start_preinit.o and vtv_end_preinit.o.
8033 * configure.ac: Add code to check/set enable_vtable_verify.
8034 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8035 true.
8036 * vtv_start_preinit.c: New file.
8037 * vtv_end_preinit.c: New file.
8038 * vtv_start.c: New file.
8039 * vtv_end.c: New file.
8040 * configure: Regenerated.
8041
8042 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8043
8044 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8045 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8046 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8047 GPL-3.0-with-GCC-exception.
8048
8049 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8050
8051 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8052 ISA and up.
8053
8054 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8055
8056 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8057 mapping for FPRs when creating the fallback framestate.
8058
8059 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
8060
8061 PR target/57516
8062 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8063 (__round_s2_const, __round_u2_const)
8064 (__round_s4_const, __round_u4_const, __round_x8):
8065 Saturate result if addition result cannot be represented.
8066
8067 2013-07-15 Matthias Klose <doko@ubuntu.com>
8068
8069 * libgcc2.c: Don't include <limits.h>.
8070
8071 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
8072
8073 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8074
8075 2013-07-06 Jakub Jelinek <jakub@redhat.com>
8076
8077 PR target/29776
8078 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8079
8080 2013-06-28 Jakub Jelinek <jakub@redhat.com>
8081
8082 PR middle-end/36041
8083 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8084 Define.
8085 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8086 instead of table lookups.
8087 (__popcountDI2): Likewise.
8088
8089 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8090
8091 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8092 correctly.
8093
8094 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8095
8096 PR other/53317
8097 * soft-fp/adddf3.c: Update from glibc.
8098 * soft-fp/addsf3.c: Likewise.
8099 * soft-fp/addtf3.c: Likewise.
8100 * soft-fp/divdf3.c: Likewise.
8101 * soft-fp/divsf3.c: Likewise.
8102 * soft-fp/divtf3.c: Likewise.
8103 * soft-fp/double.h: Likewise.
8104 * soft-fp/eqdf2.c: Likewise.
8105 * soft-fp/eqsf2.c: Likewise.
8106 * soft-fp/eqtf2.c: Likewise.
8107 * soft-fp/extenddftf2.c: Likewise.
8108 * soft-fp/extended.h: Likewise.
8109 * soft-fp/extendsfdf2.c: Likewise.
8110 * soft-fp/extendsftf2.c: Likewise.
8111 * soft-fp/fixdfdi.c: Likewise.
8112 * soft-fp/fixdfsi.c: Likewise.
8113 * soft-fp/fixsfdi.c: Likewise.
8114 * soft-fp/fixsfsi.c: Likewise.
8115 * soft-fp/fixtfdi.c: Likewise.
8116 * soft-fp/fixtfsi.c: Likewise.
8117 * soft-fp/fixunsdfdi.c: Likewise.
8118 * soft-fp/fixunsdfsi.c: Likewise.
8119 * soft-fp/fixunssfdi.c: Likewise.
8120 * soft-fp/fixunssfsi.c: Likewise.
8121 * soft-fp/fixunstfdi.c: Likewise.
8122 * soft-fp/fixunstfsi.c: Likewise.
8123 * soft-fp/floatdidf.c: Likewise.
8124 * soft-fp/floatdisf.c: Likewise.
8125 * soft-fp/floatditf.c: Likewise.
8126 * soft-fp/floatsidf.c: Likewise.
8127 * soft-fp/floatsisf.c: Likewise.
8128 * soft-fp/floatsitf.c: Likewise.
8129 * soft-fp/floatundidf.c: Likewise.
8130 * soft-fp/floatundisf.c: Likewise.
8131 * soft-fp/floatunditf.c: Likewise.
8132 * soft-fp/floatunsidf.c: Likewise.
8133 * soft-fp/floatunsisf.c: Likewise.
8134 * soft-fp/floatunsitf.c: Likewise.
8135 * soft-fp/gedf2.c: Likewise.
8136 * soft-fp/gesf2.c: Likewise.
8137 * soft-fp/getf2.c: Likewise.
8138 * soft-fp/ledf2.c: Likewise.
8139 * soft-fp/lesf2.c: Likewise.
8140 * soft-fp/letf2.c: Likewise.
8141 * soft-fp/muldf3.c: Likewise.
8142 * soft-fp/mulsf3.c: Likewise.
8143 * soft-fp/multf3.c: Likewise.
8144 * soft-fp/negdf2.c: Likewise.
8145 * soft-fp/negsf2.c: Likewise.
8146 * soft-fp/negtf2.c: Likewise.
8147 * soft-fp/op-1.h: Likewise.
8148 * soft-fp/op-2.h: Likewise.
8149 * soft-fp/op-4.h: Likewise.
8150 * soft-fp/op-8.h: Likewise.
8151 * soft-fp/op-common.h: Likewise.
8152 * soft-fp/quad.h: Likewise.
8153 * soft-fp/single.h: Likewise.
8154 * soft-fp/soft-fp.h: Likewise.
8155 * soft-fp/subdf3.c: Likewise.
8156 * soft-fp/subsf3.c: Likewise.
8157 * soft-fp/subtf3.c: Likewise.
8158 * soft-fp/truncdfsf2.c: Likewise.
8159 * soft-fp/trunctfdf2.c: Likewise.
8160 * soft-fp/trunctfsf2.c: Likewise.
8161 * soft-fp/unorddf2.c: Likewise.
8162 * soft-fp/unordsf2.c: Likewise.
8163 * soft-fp/unordtf2.c: Likewise.
8164 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8165 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8166 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8167 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8168 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8169 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8170 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8171 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8172 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8173 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8174 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8175 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8176
8177 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8178
8179 * config/mips/lib2funcs.c: New file.
8180 * config/mips/t-mips (LIB2ADD_ST): Add it.
8181
8182 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8183
8184 PR target/6526
8185 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8186 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8187
8188 2013-06-08 Walter Lee <walt@tilera.com>
8189
8190 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8191 Replace int64_t with long long. Add __extension__ where
8192 appropriate.
8193 * config/tilepro/atomic.c: Include config.h.
8194
8195 2013-06-06 Douglas B Rupp <rupp@adacore.com>
8196
8197 * config.host (arm-wrs-vxworks): Configure with other soft float.
8198
8199 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8200
8201 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8202 (mips64r5900el-*-elf*): New configurations.
8203
8204 2013-06-04 Alan Modra <amodra@gmail.com>
8205
8206 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8207
8208 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8209
8210 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8211
8212 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8213
8214 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8215 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8216 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8217
8218 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8219
8220 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8221 (powerpc-wrs-vxworks): Likewise.
8222
8223 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8224
8225 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8226 signal frames as well.
8227 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8228 STACK_BIAS to the CFA offset.
8229
8230 2013-05-17 Richard Henderson <rth@redhat.com>
8231
8232 PR target/49146
8233 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8234 (execute_cfa_program): Use it when storing to fs->regs.
8235
8236 2013-05-08 Kai Tietz <ktietz@redhat.com>
8237
8238 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8239 (__deregister_frame_info): Likewise.
8240
8241 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8242
8243 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8244 NaN's payload.
8245
8246 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8247
8248 2013-04-25 Alan Modra <amodra@gmail.com>
8249
8250 * config.host: Match little-endian powerpc-linux.
8251
8252 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8253
8254 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8255 as 'unsigned long long' instead of 'unsigned long'.
8256 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8257 'signed long'.
8258
8259 2013-04-10 Julian Brown <julian@codesourcery.com>
8260
8261 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8262 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8263 unsigned char/unsigned short.
8264 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8265
8266 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8267
8268 PR other/55274
8269 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8270
8271 2013-04-04 Meador Inge <meadori@codesourcery.com>
8272
8273 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8274 computing the location of the link register.
8275 (aeabi_uldivmod): Ditto.
8276
8277 2013-03-27 Kai Tietz <ktietz@redhat.com>
8278
8279 * config.host: Add support for cygwin x64 target.
8280 * configure: Regenerated.
8281
8282 2013-03-26 Walter Lee <walt@tilera.com>
8283
8284 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8285 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8286
8287 2013-03-25 Kai Tietz <ktietz@redhat.com>
8288
8289 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8290
8291 2013-03-20 Robert Mason <rbmj@verizon.net>
8292
8293 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8294 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8295 (__gthread_leave_tsd_dtor_context): Add prototypes.
8296 (tls_delete_hook): Update.
8297
8298 2013-03-20 Catherine Moore <clm@codesourcery.com>
8299 Joseph Myers <joseph@codesourcery.com>
8300 Chao-ying Fu <fu@mips.com>
8301
8302 * config/mips/mips16.S: Don't build for microMIPS.
8303 * config/mips/linux-unwind.h: Handle microMIPS frame.
8304 * config/mips/crtn.S (fini, init): New labels.
8305
8306 2013-03-14 Jakub Jelinek <jakub@redhat.com>
8307
8308 PR tree-optimization/53265
8309 * unwind-dw2.c (execute_cfa_program): Avoid
8310 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8311 on targets with DWARF_FRAME_REGISTERS < 32.
8312
8313 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8314
8315 PR target/49880
8316 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8317 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8318
8319 2013-03-07 Sriraman Tallam <tmsriram@google.com>
8320
8321 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8322 sandybridge processors.
8323
8324 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8325
8326 PR target/56529
8327 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8328 inclusion list.
8329
8330 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8331
8332 * config/microblaze/crti.S: Setup stack protection at entry
8333
8334 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
8335
8336 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8337 (__rotldi3): Shift bytewise if applicable.
8338
8339 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8340
8341 * config/aarch64/sync-cache.c
8342 (__aarch64_sync_cache_range): Silence warnings.
8343
8344 2013-02-25 Catherine Moore <clm@codesourcery.com>
8345
8346 Revert:
8347 2013-02-24 Catherine Moore <clm@codesourcery.com>
8348 Joseph Myers <joseph@codesourcery.com>
8349 Chao-ying Fu <fu@mips.com>
8350
8351 * config/mips/mips16.S: Don't build for microMIPS.
8352 * config/mips/linux-unwind.h: Handle microMIPS frame.
8353 * config/mips/crtn.S (fini, init): New labels.
8354
8355 2013-02-24 Catherine Moore <clm@codesourcery.com>
8356 Joseph Myers <joseph@codesourcery.com>
8357 Chao-ying Fu <fu@mips.com>
8358
8359 * config/mips/mips16.S: Don't build for microMIPS.
8360 * config/mips/linux-unwind.h: Handle microMIPS frame.
8361 * config/mips/crtn.S (fini, init): New labels.
8362
8363 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8364 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8365 as dividend.
8366
8367 2013-02-16 Alan Modra <amodra@gmail.com>
8368
8369 PR target/55431
8370 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8371 (ppc_fallback_frame_state): Always set up save locations for fp
8372 and altivec. Don't bother with non-callee-saved regs, r0-r13
8373 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8374
8375 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
8376
8377 PR target/54222
8378 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8379 _ssmulHA, _ssmulSA.
8380 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8381 _ssmulha3, _usmulusa3, _ssmulsa3.
8382 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8383 (__muldi3): XCALL __muldi3_6 instead of rcall.
8384 (__umulsidi3, __mulsidi3): New functions.
8385 (do_prologue_saves, do_epilogue_restores): New .macros.
8386 (__divdi3_moddi3): Use them.
8387 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8388 (__usmulusa3, __ssmulsa3): New functions.
8389
8390 2013-02-11 Iain Sandoe <iain@codesourcery.com>
8391 Jack Howarth <howarth@bromo.med.uc.edu>
8392 Patrick Marlier <patrick.marlier@gmail.com>
8393
8394 PR libitm/55693
8395 * config/darwin-crt-tm.c: Remove dummy functions hack.
8396
8397 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
8398
8399 PR target/54222
8400 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8401 * config/avr/lib2-object.mk: New iterator to build objects from it.
8402 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8403 lib2funcs.c.
8404 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8405 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8406 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8407 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8408 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8409 * config/avr/lib1funcs-fixed.S: Implement them.
8410
8411 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8412
8413 Update copyright years.
8414
8415 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
8416
8417 PR target/54601
8418 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8419 Add crtcxa to extra_parts.
8420 * config/rs6000/exit.h: New file.
8421 * config/rs6000/cxa_atexit.c: New file.
8422 * config/rs6000/cxa_finalize.c: New file.
8423 * config/rs6000/crtcxa.c: New file.
8424 * config/rs6000/t-aix-cxa: New file.
8425 * config/rs6000/libgcc-aix-cxa.ver: New file.
8426
8427 2013-01-31 Nick Clifton <nickc@redhat.com>
8428
8429 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8430 variant.
8431
8432 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
8433
8434 PR target/54222
8435 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8436 _mulQQ, _mulHQ, _mulHA, _mulSA,
8437 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8438 _divQQ, _divHQ, _divHA, _divSA,
8439 _divUQQ, _divUHQ, _divUHA, _divUSA.
8440
8441 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
8442
8443 * config.host(microblaze*-linux*): tmake_file: Remove
8444 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8445 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8446 to exclude functions from being built with libgcc.c and use
8447 the microblaze assembly.
8448
8449 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8450
8451 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8452 extra_parts.
8453
8454 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8455
8456 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8457 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8458 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8459 alignment operation.
8460
8461 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8462
8463 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8464 loop start address for cache clearing.
8465
8466 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8467
8468 * config/avr/lib1funcs.S: Remove trailing blanks.
8469 * config/avr/lib1funcs-fixed.S: Ditto.
8470
8471 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8472
8473 * config/avr/avr-lib.h: Add GPL copyright notice.
8474
8475 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8476
8477 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8478 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8479 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8480 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8481
8482 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
8483
8484 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8485 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8486
8487 2013-01-04 Nick Clifton <nickc@redhat.com>
8488
8489 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8490 the CALLT instruction is supported.
8491
8492 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8493
8494 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8495 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8496
8497 2012-12-13 John Tytgat <John@bass-software.com>
8498
8499 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8500 is 25.
8501
8502 2012-12-12 Jakub Jelinek <jakub@redhat.com>
8503
8504 PR libgcc/55451
8505 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8506 undefined signed overflows.
8507
8508 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
8509
8510 PR target/55344
8511 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8512
8513 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
8514
8515 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8516 (FP_TRAPPING_EXCEPTIONS): Define.
8517 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8518 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8519
8520 2012-12-04 Richard Henderson <rth@redhat.com>
8521
8522 PR bootstrap/55571
8523 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8524
8525 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8526
8527 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8528 (FP_EX_SHIFT): Define.
8529 (FP_TRAPPING_EXCEPTIONS): Define.
8530
8531 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8532
8533 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8534 (FP_ROUNDMODE): Use FP_RND_MASK.
8535 * config/aarch64/sfp-exceptions.c: New.
8536 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8537 Use __sfp_handle_exceptions.
8538
8539 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
8540
8541 * config.host: (arm*-*-freebsd*): Remove.
8542 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8543 (arm*-*-elf*): Remove.
8544 (arm*-*-wince-pe*): Remove.
8545 * arm/unwind-arm.c (struct fpa_reg): Delete.
8546 (struct fpa_regs): Delete.
8547 (phase1_vrs): Remove fpa element.
8548 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8549 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8550 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8551 * ieee754-sf.S (floatundisf): Remove FPA support.
8552 (floatdisf): Likewise.
8553 * ieee75f-df.S (floatundidf): Likewise.
8554 (floatdidf): Likewise.
8555
8556 2012-11-29 Kai Tietz <ktietz@redhat.com>
8557
8558 PR target/55445
8559 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8560 * unwind-generic.h: Likewise.
8561 * unwind-seh.c: Likewise.
8562
8563 2012-11-28 Richard Henderson <rth@redhat.com>
8564
8565 PR libgcc/48076
8566 * emutls.c (__emutls_get_address): Avoid race condition between
8567 obj->loc.offset read and emutls_key initialization.
8568
8569 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
8570
8571 Adjust decimal point of signed accum mode to GCC default.
8572
8573 PR target/54222
8574 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8575 _divqq_helper.
8576 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8577 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8578 (__mulha3, __mulsa3)
8579 (__divqq3, __divha3, __divsa3): Adjust to new position of
8580 decimal point of signed accum types.
8581
8582 (__mulusa3_round): New function.
8583 (__mulusa3): Use it.
8584 (__divqq_helper): New function.
8585 (__udivuqq3): Use it.
8586
8587 2012-11-20 Jakub Jelinek <jakub@redhat.com>
8588
8589 PR bootstrap/55370
8590 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8591
8592 2012-11-18 Teresa Johnson <tejohnson@google.com>
8593
8594 PR bootstrap/55051
8595 * libgcov.c (gcov_exit): Remove merged program summary
8596 comparison unless !GCOV_LOCKED.
8597
8598 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
8599
8600 * soft-fp: Updated from glibc upstream.
8601
8602 2012-11-06 Ian Lance Taylor <iant@google.com>
8603
8604 * generic-morestack.c (__generic_morestack): Align the returned
8605 stack pointer to a 32 byte boundary.
8606 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8607 increment the return address until we have decided that we don't
8608 have a varargs function.
8609 (__morestack) [32-bit]: Align stack correctly when calling C
8610 functions.
8611 (__morestack) [64-bit]: Likewise.
8612
8613 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8614
8615 * configure: Regenerate.
8616
8617 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
8618
8619 PR target/55175
8620 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8621 * config/i386/sfp-machine.h: Guard exception handling
8622 code with _SOFT_FLOAT.
8623 * config/i386/32/sfp-machine.h: Guard rounding handling
8624 code with _SOFT_FLOAT.
8625 * config/i386/64/sfp-machine.h: Ditto.
8626
8627 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8628
8629 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8630 as extra_parts.
8631
8632 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
8633
8634 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8635 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8636 when appropriate. Correct structure element types.
8637 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8638 -minline-all-stringops from compile flags.
8639
8640 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8641
8642 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8643
8644 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8645
8646 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8647
8648 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8649
8650 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8651 tmake_file.
8652
8653 2012-10-23 Ian Bolton <ian.bolton@arm.com>
8654 Jim MacArthur <jim.macarthur@arm.com>
8655 Marcus Shawcroft <marcus.shawcroft@arm.com>
8656 Nigel Stephens <nigel.stephens@arm.com>
8657 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8658 Richard Earnshaw <rearnsha@arm.com>
8659 Sofiane Naci <sofiane.naci@arm.com>
8660 Stephen Thomas <stephen.thomas@arm.com>
8661 Tejas Belagod <tejas.belagod@arm.com>
8662 Yufeng Zhang <yufeng.zhang@arm.com>
8663
8664 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8665 * config/aarch64/crti.S: New file.
8666 * config/aarch64/crtn.S: New file.
8667 * config/aarch64/linux-unwind.h: New file.
8668 * config/aarch64/sfp-machine.h: New file.
8669 * config/aarch64/sync-cache.c: New file.
8670 * config/aarch64/t-aarch64: New file.
8671 * config/aarch64/t-softfp: New file.
8672
8673 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8674
8675 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8676 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8677 no-longer-needed LDBU insns.
8678
8679 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
8680
8681 * config.host
8682 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8683 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8684
8685 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8686
8687 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8688
8689 2012-10-15 Matthias Klose <doko@ubuntu.com>
8690
8691 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8692
8693 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8694
8695 * configure: Regenerate.
8696 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8697
8698 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8699
8700 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8701 instructions for 64bit targets only.
8702
8703 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8704
8705 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8706 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8707 * config/i386/32/sfp-machine.h: ... here.
8708 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8709 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8710 New defines.
8711
8712 2012-10-07 Matthias Klose <doko@ubuntu.com>
8713
8714 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8715 as unused.
8716 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8717
8718 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
8719
8720 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8721 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8722 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8723 (ElfW): Likewise.
8724
8725 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8726
8727 PR other/53889
8728 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8729 Fix parameter names.
8730
8731 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8732
8733 PR target/33135
8734 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8735 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8736 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8737
8738 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8739
8740 PR target/50457
8741 * config/sh/linux-atomic.S: Delete.
8742 * config/sh/linux-atomic.c: New.
8743 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8744 linux-atomic.c. Add cflags to disable warnings.
8745
8746 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8747
8748 PR other/53889
8749 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8750 function.
8751 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8752 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8753 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8754 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8755 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8756 Likewise.
8757 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8758 Likewise.
8759 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8760 Likewise.
8761 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8762 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8763
8764 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
8765
8766 * config.host (hppa-*-openbsd*): New target.
8767 * config/pa/t-openbsd: New file.
8768
8769 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
8770
8771 PR target/54222
8772 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8773 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8774 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8775 (__divsa3): Use __negsi2 to negate r_quoL.
8776 * config/avr/lib1funcs.S (FALIAS): New macro.
8777 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8778 (__negsi2): ...this new function.
8779 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8780 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8781 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8782 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8783 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8784 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8785
8786 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8787
8788 PR target/54089
8789 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8790 (lshrsi3): Reimplement as lshrsi3_r0.
8791
8792 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8793
8794 PR target/46191
8795 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8796 of libgcc.a.
8797
8798 2012-09-07 Teresa Johnson <tejohnson@google.com>
8799
8800 PR gcov-profile/54487
8801 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8802 differences.
8803
8804 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
8805
8806 PR target/54461
8807 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8808 not configured --with-avrlibc=no.
8809 * config/avr/t-avrlibc: New file.
8810 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8811 (DPBIT_FUNCS): Ditto.
8812 (TPBIT_FUNCS): Ditto.
8813
8814 2012-09-04 Teresa Johnson <tejohnson@google.com>
8815
8816 * libgcov.c (struct gcov_summary_buffer): New structure.
8817 (gcov_histogram_insert): New function.
8818 (gcov_compute_histogram): Ditto.
8819 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8820 histograms during summary merging.
8821
8822 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
8823
8824 * config.host (x86_64-*-openbsd*): New target.
8825
8826 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8827
8828 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8829 attribute.
8830
8831 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8832
8833 PR target/54222
8834 * config/avr/t-avr (conv_X): Rename to func_X.
8835
8836 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8837
8838 PR target/54222
8839 * config/avr/lib1funcs-fixed.S: New file.
8840 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8841 after they are used.
8842 (neg2, neg4): New macros.
8843 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8844 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8845 (__umulhisi3): Speed up MUL variant if there is enough flash.
8846 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8847 avr-modes.def.
8848 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8849 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8850 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8851 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8852 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8853 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8854 (LIB2FUNCS_EXCLUDE): Add supported functions.
8855
8856 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
8857
8858 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8859 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8860 libgcc-s-objects.
8861 * fixed-obj.mk: Only expand dependency if $o is not in
8862 LIB2FUNCS_EXCLUDE.
8863
8864 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8865
8866 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8867
8868 2012-08-22 Joseph Myers <joseph@codesourcery.com>
8869
8870 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8871 depend on --enable-shared.
8872 ($(lib1asmfuncs-o)): Use %.vis files independent of
8873 --enable-shared.
8874 * static-object.mk ($(base)$(objext), $(base).vis)
8875 ($(base)_s$(objext)): Use same rules for visibility handling as in
8876 shared-object.mk.
8877
8878 2012-08-21 Ian Lance Taylor <iant@google.com>
8879
8880 * config/i386/morestack.S (__morestack_non_split): Increase amount
8881 of space allocated for non-split code stack.
8882
8883 2012-08-19 Joseph Myers <joseph@codesourcery.com>
8884
8885 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8886 even if inhibit_libc.
8887
8888 2012-08-17 Julian Brown <julian@codesourcery.com>
8889
8890 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8891 -fexceptions -fnon-call-exceptions if not defined.
8892 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8893 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8894
8895 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8896
8897 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8898 type.
8899
8900 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
8901
8902 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8903 rs6000/t-slibgcc-aix.
8904
8905 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8906
8907 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8908
8909 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8910
8911 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8912
8913 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8914
8915 PR driver/54171
8916 * Makefile.in (version): Replace top_srcdir with srcdir.
8917
8918 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8919
8920 * Makefile.in (version): set to BASE-VER file from gcc directory.
8921
8922 2012-08-01 Nick Clifton <nickc@redhat.com>
8923
8924 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8925 Implements __clrsb for an HImode argument.
8926
8927 2012-07-31 Nick Clifton <nickc@redhat.com>
8928
8929 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8930 Implements __clrsb for an HImode argument.
8931 * config/stormy16/clrsbhi2.c: New file:
8932 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8933
8934 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8935
8936 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8937
8938 2012-07-19 Tristan Gingold <gingold@adacore.com>
8939 Richard Henderson <rth@redhat.com>
8940
8941 * unwind-seh.c: New file.
8942 * unwind-generic.h: Include windows.h for SEH.
8943 (_Unwind_Exception): Use 6 private fields for SEH.
8944 (_GCC_specific_handler): Declare.
8945 * unwind-c.c (__gcc_personality_seh0): New function.
8946 Adjust for SEH.
8947 * config/i386/libgcc-cygming.ver: New file.
8948 * config/i386/t-seh-eh: New file.
8949 * config.host (x86_64-*-mingw*): Default to seh.
8950
8951 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8952
8953 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8954
8955 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
8956
8957 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8958 __builtin_expect when checking for exceptions.
8959 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8960
8961 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8962
8963 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8964 function declaration.
8965 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8966 (FP_RND_MASK): New.
8967 * config/ia64/sfp-exceptions.c: New.
8968 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8969
8970 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8971
8972 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8973 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8974 * config/i386/64/sfp-machine: ... (delete here) ...
8975 * config/i386/sfp-machine.h: ... to here.
8976 (FP_EX_MASK): Remove.
8977 (FP_RND_MASK): New.
8978 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8979
8980 2012-06-11 Sriraman Tallam <tmsriram@google.com>
8981
8982 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8983 * config/i386/libgcc-sol2.ver: Ditto.
8984 * config/i386/libgcc-glibc.ver: Ditto.
8985
8986 2012-06-11 Roland McGrath <mcgrathr@google.com>
8987
8988 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8989 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8990 pthread_cancel.
8991
8992 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
8993
8994 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8995 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8996 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8997 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8998 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8999 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9000 * config/i386/64/sfp-machine: ... (delete here) ...
9001 * config/i386/sfp-machine.h: ... to here.
9002 (FP_EX_MASK): New.
9003 (__sfp_handle_exceptions): New function declaration.
9004 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9005 * config/i386/sfp-exceptions.c: New.
9006 * config/i386/t-softfp: New.
9007 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9008 i386/t-softfp to tmake_file.
9009
9010 2012-06-03 David S. Miller <davem@davemloft.net>
9011
9012 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9013 change.
9014
9015 2012-05-31 David S. Miller <davem@davemloft.net>
9016
9017 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9018 multiply and divide instructions on 32-bit when V9.
9019 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9020
9021 2012-05-29 Joseph Myers <joseph@codesourcery.com>
9022
9023 * config/arm/ieee754-df.S: Fix typos.
9024 * config/arm/ieee754-sf.S: Fix typos.
9025 * config/c6x/libunwind.S: Fix typos.
9026 * config/epiphany/udivsi3-float.c: Fix typos.
9027 * config/microblaze/muldi3_hard.S: Fix typos.
9028 * config/picochip/adddi3.S: Fix typos.
9029 * config/picochip/ashlsi3.S: Fix typos.
9030 * config/picochip/ashrsi3.S: Fix typos.
9031 * config/picochip/clzsi2.S: Fix typos.
9032 * config/picochip/cmpsi2.S: Fix typos.
9033 * config/picochip/divmod15.S: Fix typos.
9034 * config/picochip/divmodhi4.S: Fix typos.
9035 * config/picochip/divmodsi4.S: Fix typos.
9036 * config/picochip/longjmp.S: Fix typos.
9037 * config/picochip/lshrsi3.S: Fix typos.
9038 * config/picochip/parityhi2.S: Fix typos.
9039 * config/picochip/popcounthi2.S: Fix typos.
9040 * config/picochip/setjmp.S: Fix typos.
9041 * config/picochip/subdi3.S: Fix typos.
9042 * config/picochip/ucmpsi2.S: Fix typos.
9043 * config/picochip/udivmodhi4.S: Fix typos.
9044 * config/picochip/udivmodsi4.S: Fix typos.
9045 * config/spu/divv2df3.c: Fix typos.
9046 * config/spu/mfc_multi_tag_release.c: Fix typos.
9047 * config/spu/mfc_tag_release.c: Fix typos.
9048 * configure.ac: Fix typos.
9049 * configure: Regenerate.
9050
9051 2012-05-25 Ian Lance Taylor <iant@google.com>
9052
9053 * config/i386/morestack.S (__morestack_non_split): Check whether
9054 caller is varargs and needs %bp to hold the stack frame on return.
9055
9056 2012-05-25 Olivier Hainque <hainque@adacore.com>
9057
9058 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9059 sequence in the non pic case on VxWorks.
9060
9061 2012-05-24 Olivier Hainque <hainque@adacore.com>
9062
9063 * Makefile.in: Move dependency on install-unwind_h from
9064 "install-leaf" to "install".
9065
9066 2012-05-24 Olivier Hainque <hainque@adacore.com>
9067
9068 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9069 Use a separate command for stamp removals.
9070
9071 2012-05-21 Andrew Pinski <apinski@cavium.com>
9072
9073 PR bootstrap/53183
9074 * configure.ac: Define the default includes to being none.
9075 * configure: Regenerate.
9076
9077 2012-05-16 Olivier Hainque <hainque@adacore.com>
9078
9079 * Makefile.in (install-unwind_h): Rename into ...
9080 (install-unwind_h-forbuild): New target.
9081 (all): Use it instead of the former install-unwind_h.
9082 (install-unwind_h): Reinstate, copy to user install destination
9083 for include files, not to the internal gcc object directory one.
9084 (install-leaf): Depend on it.
9085
9086 2012-05-15 Olivier Hainque <hainque@adacore.com>
9087
9088 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9089 register numbers. LR_REGNO replaces R_LR.
9090 (ucontext_for): New, helper for ...
9091 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9092 and 5.3 of ...
9093 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9094
9095 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9096
9097 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9098 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9099 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9100 i386/t-cpuinfo ...
9101 (i[34567]86-*-*, x86_64-*-*): ... here.
9102
9103 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9104 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9105
9106 * config/i386/i386-cpuinfo.c: Rename to ...
9107 * config/i386/cpuinfo.c: ... this.
9108 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9109
9110 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9111 (libgcc_cv_init_priority): New test.
9112 * configure: Regenerate.
9113 * config.in: New file.
9114 * Makefile.in (clean): Rename config.h to auto-target.h.
9115 (config.h): Likewise.
9116 (stamp-h): Likewise.
9117
9118 * config/i386/cpuinfo.c (auto-target.h): Include.
9119 (CONSTRUCTOR_PRIORITY): Define.
9120 (__cpu_indicator_init): Use it.
9121
9122 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9123
9124 * longlong.h: Use a URL instead of an FSF postal address.
9125 Replace spaces with tab.
9126
9127 2012-05-08 Teresa Johnson <tejohnson@google.com>
9128
9129 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9130 (__gcov_dump): Ditto.
9131 (gcov_dump_complete): New global variable.
9132 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9133 (__gcov_flush): Outline functionality now in gcov_clear.
9134 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9135
9136 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9137
9138 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9139 (mips*-*-linux*): Include mips/t-tpbit when long double is
9140 16 bytes long.
9141
9142 2012-04-25 Sriraman Tallam <tmsriram@google.com>
9143
9144 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9145 (get_available_features): New argument. Check for AVX2.
9146 (__cpu_indicator_init): Modify call to get_available_features.
9147
9148 2012-04-25 Alan Modra <amodra@gmail.com>
9149
9150 * config/rs6000/crtsavevr.S: New file.
9151 * config/rs6000/crtrestvr.S: New file.
9152 * config/rs6000/t-savresfgpr: Build the above.
9153 * config/rs6000/t-netbsd: Likewise.
9154
9155 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9156
9157 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9158
9159 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9160
9161 * libgcc/config/i386/i386-cpuinfo.c: New file.
9162 * libgcc/config/i386/t-cpuinfo: New file.
9163 * libgcc/config.host: Include t-cpuinfo.
9164 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9165
9166 2012-04-24 Chao-ying Fu <fu@mips.com>
9167
9168 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9169
9170 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9171
9172 struct siginfo vs. siginfo_t
9173
9174 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9175 siginfo_t instead of struct siginfo.
9176 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9177 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9178 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9179 (ia64_handle_unwabi): Likewise.
9180 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9181 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9182 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9183 (sh_fallback_frame_state): Likewise.
9184 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9185 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9186
9187 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9188
9189 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9190 system call number.
9191
9192 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9193
9194 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9195 if it hasn't been previously saved.
9196
9197 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9198
9199 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9200 only for glibc.
9201
9202 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
9203
9204 PR target/52737
9205 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9206 instead of __AVR_HAVE_8BIT_SP__.
9207
9208 2012-03-26 Tristan Gingold <gingold@adacore.com>
9209
9210 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9211 (unw_table_entry): Use unw_word instead of unsigned long.
9212 (_Unwind_FindTableEntry): Likewise.
9213 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9214 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9215 (_Unwind_FindTableEntry): Likewise.
9216 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9217 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9218 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9219 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9220 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9221 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9222 (uw_init_context_1, uw_install_context): Likewise.
9223 (unw_word): Move to unwind-ia64.h
9224
9225 2012-03-26 Tristan Gingold <gingold@adacore.com>
9226
9227 * config/vms/vms-ucrt0.c: Update copyright years.
9228 Add a sanity check.
9229 (___gcc_main_flags): Declare.
9230 (__main): Check flags to remap argv and exit code.
9231 * config.host (*-*-*vms*): Adjust extra_parts.
9232 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9233 (crt0.o): Add.
9234
9235 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
9236
9237 * arm/lib1funcs.asm (ctzsi2): New function.
9238 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9239 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9240 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9241 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9242 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9243 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9244
9245 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
9246
9247 * config.host: Add bits to support powerpc64-*-freebsd*.
9248 * config/rs6000/freebsd-unwind.h: New file.
9249 * config/rs6000/t-freebsd64: New file.
9250
9251 2012-03-20 Richard Guenther <rguenther@suse.de>
9252
9253 PR gcov-profile/52627
9254 * libgcov.c (init_mx): Fix mutex name.
9255
9256 2012-03-16 Tristan Gingold <gingold@adacore.com>
9257
9258 * config/ia64/vms-unwind.h: Remove ulong (and replace
9259 it by unw_reg where used). Define unw_reg with __int64.
9260
9261 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9262
9263 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9264 Solaris 8 handling.
9265 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9266 Solaris 8 handling.
9267 (sparc_is_sighandler): Likewise.
9268
9269 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9270
9271 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9272 <= saved reg size.
9273
9274 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9275
9276 * config/arm/crtn.S: Fix typo.
9277
9278 2012-03-13 Richard Guenther <rguenther@suse.de>
9279
9280 * libgcov.c: Remove stdio.h include and NULL un-define.
9281
9282 2012-03-13 Richard Guenther <rguenther@suse.de>
9283
9284 PR target/52569
9285 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9286
9287 2012-03-13 Richard Guenther <rguenther@suse.de>
9288
9289 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9290
9291 2012-03-13 Richard Guenther <rguenther@suse.de>
9292
9293 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9294 and __gthread_mutex_init_function definitions.
9295
9296 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9297
9298 * config.host (mips*-*-openbsd*): Remove.
9299
9300 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9301
9302 * config.host: Remove alpha*-dec-osf5.1* handling.
9303 * config/alpha/gthr-posix.c: Remove.
9304 * config/alpha/libgcc-osf5.ver: Remove.
9305 * config/alpha/osf5-unwind.h: Remove.
9306 * config/alpha/t-osf-pthread: Remove.
9307 * config/alpha/t-slibgcc-osf: Remove.
9308 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9309 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9310 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9311 * mkmap-flat.awk: Remove osf_export handling.
9312
9313 2012-03-12 Richard Guenther <rguenther@suse.de>
9314
9315 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9316 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9317 (__gthread_mutex_init_function): New function.
9318 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9319
9320 PR gcov/49484
9321 * libgcov.c: Include gthr.h.
9322 (__gcov_flush_mx): New global variable.
9323 (init_mx, init_mx_once): New functions.
9324 (__gcov_flush): Protect self with a mutex.
9325 (__gcov_fork): Re-initialize mutex after forking.
9326 * unwind-dw2-fde.c: Change condition under which to use
9327 __GTHREAD_MUTEX_INIT_FUNCTION.
9328
9329 2012-03-12 Tristan Gingold <gingold@adacore.com>
9330
9331 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9332 * config/ia64/t-vms: Likewise.
9333
9334 2012-03-11 Michael Hope <michael.hope@linaro.org>
9335
9336 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9337 for Thumb-2.
9338
9339 2012-03-07 Walter Lee <walt@tilera.com>
9340
9341 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9342 "arch_atomic_".
9343 (atomic_xor): Rename and move definition to
9344 config/tilepro/atomic.h.
9345 (atomic_nand): Ditto.
9346 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9347 "arch_atomic_".
9348 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9349 (arch_atomic_nand): Ditto.
9350
9351 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9352
9353 PR target/52507
9354 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9355
9356 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9357
9358 PR target/52505
9359 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9360 from RAM.
9361
9362 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9363
9364 PR target/52461
9365 PR target/52508
9366 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9367 if RAMPZ affects reading from RAM.
9368 (__tablejump_elpm__): Ditto.
9369 (.xload): Ditto.
9370 (__movmemx_hi): Ditto.
9371 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9372 (__do_global_dtors): Ditto.
9373 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9374 (__movmemx_hi): Ditto.
9375
9376 2012-03-05 Richard Henderson <rth@redhat.com>
9377
9378 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9379 [ARM] (count_trailing_zeros): Use the builtin.
9380
9381 2012-03-01 Kai Tietz <ktietz@redhat.com>
9382
9383 * soft-fp: Imported from glibc upstream.
9384
9385 2012-02-28 Kai Tietz <ktietz@redhat.com>
9386
9387 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9388 for mingw-targets as attribute gcc_struct.
9389
9390 2012-02-28 Ian Lance Taylor <iant@google.com>
9391
9392 * generic-morestack.c (__splitstack_releasecontext): Correct call
9393 to __morestack_release_segments.
9394
9395 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9396
9397 PR target/52390
9398 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9399 for __linux__ when removing signals from __morestack_fullmask.
9400
9401 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
9402
9403 PR target/52261
9404 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9405
9406 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9407
9408 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9409 instead of HAVE_INITFINI_ARRAY.
9410 * config/ia64/crtend.S: Likewise.
9411
9412 2012-02-20 Kai Tietz <ktietz@redhat.com>
9413
9414 PR libstdc++/52300
9415 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9416
9417 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9418 to w32-unwind.h header.
9419
9420 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9421
9422 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9423 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9424 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9425 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9426
9427 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9428
9429 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9430
9431 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9432
9433 PR libitm/52220
9434 * config/darwin-crt-tm.c: Correct typo.
9435
9436 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9437 Patrick Marlier <patrick.marlier@gmail.com>
9438
9439 PR libitm/52220
9440 * config/darwin-crt-tm.c: Generate dummy functions.
9441
9442 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9443 Patrick Marlier <patrick.marlier@gmail.com>
9444
9445 PR libitm/52042
9446 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9447 (__doTMRegistrations): Call it.
9448 (__doTMdeRegistrations): Likewise.
9449
9450 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
9451 Anatoly Sokolov <aesok@post.ru>
9452 Eric Weddington <eric.weddington@atmel.com>
9453
9454 PR target/52261
9455 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9456 (__epilogue_restores__): Ditto.
9457
9458 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9459
9460 PR target/51921
9461 PR target/52205
9462 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9463 Solaris 11 and slightly reformat.
9464 (sparc_is_sighandler): Likewise.
9465
9466 2012-02-14 Walter Lee <walt@tilera.com>
9467
9468 * config.host: Handle tilegx and tilepro.
9469 * config/tilegx/sfp-machine.h: New file.
9470 * config/tilegx/sfp-machine32.h: New file.
9471 * config/tilegx/sfp-machine64.h: New file.
9472 * config/tilegx/t-crtstuff: New file.
9473 * config/tilegx/t-softfp: New file.
9474 * config/tilegx/t-tilegx: New file.
9475 * config/tilepro/atomic.c: New file.
9476 * config/tilepro/atomic.h: New file.
9477 * config/tilepro/linux-unwind.h: New file.
9478 * config/tilepro/sfp-machine.h: New file.
9479 * config/tilepro/softdivide.c: New file.
9480 * config/tilepro/softmpy.S: New file.
9481 * config/tilepro/t-crtstuff: New file.
9482 * config/tilepro/t-tilepro: New file.
9483
9484 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9485
9486 PR libstdc++/51296
9487 PR libstdc++/51906
9488 * gthr-posix.h: Allow static initializer macros to be disabled.
9489 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9490
9491 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9492
9493 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9494 Add t-slibgcc-libgcc to tmake_file.
9495 * config/mips/libgcc-mips16.ver: Revert previous patch.
9496 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9497
9498 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9499 Jayant R Sonar <jayant.sonar@kpitcummins.com>
9500
9501 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9502 * config/cr16/crti.S: New file.
9503 * config/cr16/crtlibid.S: New file.
9504 * config/cr16/crtn.S: New file.
9505 * config/cr16/lib1funcs.S: New file.
9506 * config/cr16/t-cr16: New file.
9507 * config/cr16/t-crtlibid: New file.
9508 * config/cr16/unwind-dw2.h: New file.
9509 * config/cr16/unwind-cr16.c: New file.
9510 * config/cr16/divmodhi3.c: New file.
9511
9512 2012-01-25 Alan Modra <amodra@gmail.com>
9513
9514 * config/rs6000/t-linux64: Delete. Move..
9515 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9516 * config/rs6000/t-linux: ..and libgcc flags to here.
9517
9518 2012-01-22 Douglas B Rupp <rupp@gnat.com>
9519
9520 * config.host (i[34567]86-*-interix3*):
9521 Change triplet to i[34567]86-*-interix[3-9]*.
9522 * configure: Regenerate.
9523
9524 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9525 Richard Sandiford <rdsandiford@googlemail.com>
9526
9527 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9528 * config/mips/mips16.S (__mips16_rdhwr): New function.
9529 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9530
9531 2012-01-11 Nathan Sidwell <nathan@acm.org>
9532
9533 * libgcov.c (__gcov_init): Ignore objects with no functions.
9534
9535 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
9536
9537 PR target/49868
9538 Extend __pgmx semantics to linearize memory.
9539 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9540 * config/avr/lib1funcs.S (__xload_1): New function.
9541 (__movmemx_qi, __movmemx_hi): New functions.
9542 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9543 semantics.
9544
9545 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9546
9547 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9548 purported sigacthandler address isn't null before dereferencing it.
9549 (sparc_is_sighandler): Likewise.
9550
9551 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9552
9553 PR ada/41929
9554 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9555 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9556 (sparc_is_sighandler): Likewise.
9557 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9558
9559 2012-01-06 Tristan Gingold <gingold@adacore.com>
9560
9561 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9562 compatibility thunks...
9563 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9564 (crtbeginS.o, crtendS.o): ... and these to ...
9565 * config/ia64/t-ia64-elf: ... this new file.
9566 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9567 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9568
9569 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9570
9571 * configure: Regenerate.
9572 * config/s390/t-crtstuff: Remove -fPIC.
9573
9574 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9575
9576 PR bootstrap/51006
9577 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9578 for NetBSD.
9579
9580 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9581
9582 PR target/51345
9583 * config/avr/lib1funcs.S: Remove FIXME comments.
9584 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9585
9586 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9587
9588 Implement light-weight DImode support.
9589 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9590 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9591 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9592 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9593
9594 2011-12-30 Nathan Sidwell <nathan@acm.org>
9595
9596 * libgcov.c (gcov_crc32): Remove global var.
9597 (free_fn_data): New function.
9598 (buffer_fn_data): Pass in filename, more robust error recovery.
9599 (crc32_unsigned): New function.
9600 (gcov_exit): More robust detection of new program. More robust
9601 error recovery.
9602 (__gcov_init): Do not update program's crc here.
9603
9604 2011-12-21 Tristan Gingold <gingold@adacore.com>
9605
9606 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9607
9608 2011-12-21 Ian Lance Taylor <iant@google.com>
9609
9610 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9611
9612 2011-12-20 Ian Lance Taylor <iant@google.com>
9613
9614 * config/i386/morestack.S (__morestack_non_split): If there is
9615 enough stack space already, don't split. Ask for more stack space
9616 than we required.
9617
9618 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9619
9620 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9621 `sys/sdt.h'.
9622 (_Unwind_DebugHook): New function.
9623 (uw_restore_core_regs): New define.
9624 (unwind_phase2): Use uw_restore_core_regs instead of
9625 restore_core_regs.
9626 (unwind_phase2_forced): Likewise.
9627 (__gnu_Unwind_Resume): Likewise.
9628
9629 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
9630
9631 * config/alpha/linux-unwind.h: Update copyright years.
9632 (MD_FROB_UPDATE_CONTEXT): New define.
9633 (alpha_frob_update_context): New function.
9634
9635 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9636
9637 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9638 tmake_file rather replacing it.
9639
9640 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9641
9642 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9643 function is not used for PPC64.
9644 (save_world): Amend comments. Update the VRsave mask to reflect the
9645 saved regs.
9646 (rest_world): Update comments, do not clobber r10, do not use r8.
9647 (eh_rest_world_r10): Amend comments, do not use r8.
9648 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9649 no longer used, move restore of CR and target address to the end of
9650 the routine.
9651
9652 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9653
9654 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9655 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9656
9657 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
9658
9659 PR target/49313
9660 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9661 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9662
9663 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9664
9665 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9666
9667 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
9668
9669 PR target/49313
9670 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9671 * config/avr/lib1funcs.S (__muldi3): New function.
9672
9673 2011-12-06 Andrew Pinski <apinski@cavium.com>
9674
9675 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9676 size of func_ptr.
9677 (__frame_dummy_init_array_entry): Likewise.
9678
9679 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
9680
9681 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9682
9683 PR target/51345
9684 PR target/51002
9685 * config/avr/lib1funcs.S (__prologue_saves__,
9686 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9687 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9688
9689 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9690
9691 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9692
9693 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9694
9695 PR other/51272
9696 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9697 (_ITM_deregisterTMCloneTable): Likewise.
9698 (__register_frame_info): Fix unused warning.
9699 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9700 pthread_default_stacksize_np): Likewise.
9701 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9702
9703 2011-11-29 DJ Delorie <dj@redhat.com>
9704
9705 * config.host (rl78-*-elf): New case.
9706 * config/rl78: New directory for the Renesas RL78.
9707
9708 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9709
9710 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9711 formatting.
9712
9713 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9714
9715 PR other/51022
9716 * config/rs6000/t-savresfgpr: New file.
9717 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9718 $(srcdir)/config/rs6000/eabi.S.
9719 * config/rs6000/t-ppccomm-ldbl: Remove.
9720 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9721 tmake_file.
9722 (powerpc-*-eabispe*): Likewise.
9723 (powerpc-*-eabi*): Likewise.
9724 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9725 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9726 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9727 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9728 tmake_file.
9729 (powerpc-*-eabisim*): Likewise.
9730 (powerpc-*-elf*): Likewise.
9731 (powerpc-*-eabialtivec*): Likewise.
9732 (powerpc-xilinx-eabi*): Likewise.
9733 (powerpc-*-rtems*): Likewise.
9734 (powerpcle-*-elf*): Likewise.
9735 (powerpcle-*-eabisim*): Likewise.
9736 (powerpcle-*-eabi*): Likewise.
9737
9738 2011-11-27 Ian Lance Taylor <iant@google.com>
9739
9740 * generic-morestack.c (__splitstack_find): Check for NULL old
9741 stack value.
9742 (__splitstack_resetcontext): New function.
9743 (__splitstack_releasecontext): New function.
9744 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9745
9746 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9747
9748 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9749
9750 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9751
9752 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9753
9754 2011-11-26 Richard Henderson <rth@redhat.com>
9755
9756 * config/m68k/linux-atomic.c: New file.
9757 * config/m68k/t-linux: New file.
9758 * config.host (m68k-uclinux, m68k-linux): Use it.
9759
9760 2011-11-26 Richard Henderson <rth@redhat.com>
9761
9762 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9763 (__TMC_END__): Only declare if hidden is available; in the definition,
9764 if hidden is unavailable add a null record.
9765 (deregister_tm_clones, register_tm_clones): New.
9766 (__do_global_dtors_aux, frame_dummy): Use them.
9767 (__do_global_dtors, __do_global_ctors_1): Likewise.
9768
9769 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9770
9771 * config/darwin-crt-tm.c: New file.
9772 * config.host (darwin): Build crttms.o crttme.o to provide
9773 startup and shutdown for tm clones.
9774 * config/t-darwin (crttms.o): New build rule.
9775 (crttme.o): Likewise.
9776
9777 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
9778
9779 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9780 et al.
9781
9782 2011-11-21 Richard Henderson <rth@redhat.com>
9783
9784 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9785 (__TMC_LIST__, __TMC_END__): New.
9786 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9787 (__do_global_dtors): Likewise.
9788 (frame_dummy): Call _ITM_registerTMCloneTable.
9789 (__do_global_ctors_1): Likewise.
9790
9791 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9792
9793 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9794 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9795 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9796 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9797 * config/i386/t-darwin64: Remove.
9798 * config/sh/t-netbsd (LIB2ADD): Remove.
9799
9800 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
9801
9802 PR target/49313
9803 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9804 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9805 * config/avr/lib1funcs.S (wmov): New assembler macro.
9806 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9807 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9808 (__udivmod64): New function.
9809 (__negdi2): New function.
9810
9811 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9812
9813 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9814 *-*-freebsd*aout*): Remove.
9815
9816 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
9817
9818 * static-object.mk (c_flags-$o): Save c_flags.
9819 ($(base)$(objext)): Use it.
9820
9821 2011-11-18 Steve Ellcey <sje@cup.hp.com>
9822
9823 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9824
9825 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
9826
9827 PR target/49868
9828 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9829 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9830 New functions.
9831
9832 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9833
9834 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9835 functions.
9836 (aeabi_uidivmod): Likewise.
9837 (umodsi3): Likewise.
9838 (divsi3): Likewise.
9839 (aeabi_idivmod): Likewise.
9840 (modsi3): Likewise.
9841
9842 2011-11-16 Tristan Gingold <gingold@adacore.com>
9843
9844 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9845
9846 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
9847
9848 PR target/49868
9849 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9850 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9851
9852 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9853
9854 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9855 tmake_file list.
9856 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9857 * config/pa/t-stublib64: Delete.
9858
9859 2011-11-12 Richard Henderson <rth@redhat.com>
9860
9861 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9862 cast the pointer argument to _Unwind_SetGRPtr.
9863
9864 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9865
9866 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9867
9868 2011-11-09 Ian Lance Taylor <iant@google.com>
9869
9870 * generic-morestack.c: Include <string.h>.
9871 (uintptr_type): Define.
9872 (struct initial_sp): Add dont_block_signals field. Reduce size of
9873 extra array by 1.
9874 (allocate_segment): Set prev field to NULL. Don't set
9875 __morestack_current_segment or __morestack_segments.
9876 (__generic_morestack): Update current->prev and *pp after calling
9877 allocate_segment.
9878 (__morestack_block_signals): Don't do anything if
9879 dont_block_signals is set.
9880 (__morestack_unblock_signals): Likewise.
9881 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9882 uintptr_type.
9883 (__splitstack_block_signals): New function.
9884 (enum __splitstack_content_offsets): Define.
9885 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9886 (__splitstack_makecontext): New function.
9887 (__splitstack_block_signals_context): New function.
9888 (__splitstack_find_context): New function.
9889 * config/i386/morestack.S (__morestack_get_guard): New function.
9890 (__morestack_set_guard, __morestack_make_guard): New functions.
9891 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9892
9893 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9894
9895 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9896 (i[34567]86-*-mingw*): ... here.
9897 (x86_64-*-mingw*): ... here.
9898
9899 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9900
9901 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9902
9903 2011-11-07 Nathan Sidwell <nathan@acm.org>
9904
9905 * libgcov.c (struct gcov_fn_buffer): New struct.
9906 (buffer_fn_data): New helper.
9907 (gcov_exit): Rework for new gcov data structures.
9908
9909 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
9910
9911 PR target/49313
9912 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9913
9914 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9915
9916 * config.host (tmake_file): Correct comment.
9917 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9918 t-libgcc-pic.
9919 (bfin*-uclinux*): Likewise.
9920 (bfin*-linux-uclibc*): Likewise.
9921 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9922
9923 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9924 assigning.
9925 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9926 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9927 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9928 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9929 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9930 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9931 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9932 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9933 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9934 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9935 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9936 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9937 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9938
9939 * config/bfin/t-elf: Remove.
9940 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9941
9942 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9943
9944 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9945 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9946 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9947 (lm32-*-elf*): ... this.
9948 (lm32-*-rtems*): ... and this.
9949 Add to tmake_file.
9950 (m32r-*-rtems*): Add to tmake_file.
9951 (moxie-*-rtems*): Likewise.
9952 (sparc-*-rtems*): Likewise.
9953 Remove t-rtems from tmake_file.
9954 (sparc64-*-rtems*): Likewise.
9955 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9956 instead.
9957
9958 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9959
9960 PR bootstrap/50982
9961 * config/gthr-posix.h: Move ...
9962 * gthr-posix.h: ... here.
9963 * config/gthr-lynx.h: Reflect this.
9964 * config/gthr-vxworks.h: Likewise.
9965 * config/rs6000/gthr-aix.h: Likewise.
9966 * configure.ac (target_thread_file): Likewise.
9967 * configure: Regenerate.
9968
9969 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9970
9971 * config.host (arm*-*-rtemseabi*): New target.
9972
9973 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9974
9975 PR other/50991
9976 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9977 extra-parts.
9978
9979 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9980
9981 * config.host (epiphany-*-elf*): New configuration.
9982 * config/epiphany: New Directory.
9983
9984 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9985
9986 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9987 * config/avr/t-rtems: New.
9988 Filter out _exit from LIB1ASMFUNCS.
9989
9990 2011-11-04 David S. Miller <davem@davemloft.net>
9991
9992 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9993 * configure: Rebuild.
9994
9995 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9996
9997 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9998 variable.
9999
10000 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
10001
10002 PR target/50931
10003 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10004 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10005
10006 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10007
10008 PR target/50989
10009 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10010
10011 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10012
10013 * config/c6x/t-elf (LIB2ADDEH): Set.
10014 * config/c6x/t-c6x-elf: Remove.
10015
10016 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10017
10018 * config/i386/sol2-ci.S: Rename to ...
10019 * config/i386/crti.S: ... this.
10020 * config/i386/sol2-cn.S: Rename to ...
10021 * config/i386/crtn.S: ... this.
10022 * config/sparc/sol2-ci.S: Rename to ...
10023 * config/sparc/crti.S: ... this.
10024 * config/sparc/sol2-cn.S: Rename to ...
10025 * config/sparc/crtn.S: ... this.
10026 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10027 (crti.o, crtn.o): Remove.
10028
10029 2011-11-04 Tristan Gingold <gingold@adacore.com>
10030
10031 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10032
10033 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10034
10035 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10036
10037 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
10038
10039 * config.host (crisv32-*-none, cris-*-none): Remove.
10040 (crisv32-*-elf): Append to tmake_file, don't just set it.
10041 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10042
10043 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10044
10045 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10046 (ecrtn$(objext)): Likewise.
10047 (ncrti$(objext)): Likewise.
10048 (ncrtn$(objext)): Likewise.
10049
10050 2011-11-03 Andreas Schwab <schwab@redhat.com>
10051
10052 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10053
10054 2011-11-02 David S. Miller <davem@davemloft.net>
10055
10056 * configure.ac: Set host_address on sparc too.
10057 * configure: Regenerate.
10058 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10059 based upon host_address.
10060 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10061
10062 2011-11-02 Jason Merrill <jason@redhat.com>
10063
10064 * config/rs6000/t-ppccomm: Add missing \.
10065
10066 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10067
10068 * gthr-single.h, gthr.h: New files.
10069 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10070 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10071 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10072 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10073 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10074 * configure.ac (thread_header): New variable.
10075 Set it depending on target_thread_file.
10076 (gthr-default.h): Link from $thread_header.
10077 * configure: Regenerate.
10078 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10079
10080 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10081
10082 * configure.ac (tm_file_): New variable.
10083 Determine from tm_file.
10084 (tm_file, tm_defines): Substitute.
10085 * configure: Regenerate.
10086 * mkheader.sh: New file.
10087 * Makefile.in (clean): Remove libgcc_tm.h.
10088 ($(objects)): Depend on libgcc_tm.h.
10089 (libgcc_tm_defines, libgcc_tm_file): New variables.
10090 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10091 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10092 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10093 ($(extra-parts)): Depend on libgcc_tm.h.
10094 * config.host (tm_defines, tm_file): New variable.
10095 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10096 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10097 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10098 (avr-*-rtems*): Likewise.
10099 (avr-*-*): Likewise.
10100 (frv-*-elf): Likewise.
10101 (frv-*-*linux*): Likewise.
10102 (h8300-*-rtems*): Likewise.
10103 (h8300-*-elf*): Likewise.
10104 (i[34567]86-*-darwin*): Likewise.
10105 (x86_64-*-darwin*): Likewise.
10106 (rx-*-elf): Likewise.
10107 (tic6x-*-uclinux): Likewise.
10108 (tic6x-*-elf): Likewise.
10109 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10110 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10111 * config/i386/cygming-crtbegin.c: Likewise.
10112 * config/i386/cygming-crtend.c: Likewise.
10113 * config/ia64/fde-vms.c: Likewise.
10114 * config/ia64/unwind-ia64.c: Likewise.
10115 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10116 * config/rs6000/darwin-fallback.c: Likewise.
10117 * config/stormy16/lib2funcs.c: Likewise.
10118 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10119 * crtstuff.c: Likewise.
10120 * dfp-bit.h: Likewise.
10121 * emutls.c: Likewise.
10122 * fixed-bit.c: Likewise.
10123 * fp-bit.c: Likewise.
10124 * generic-morestack-thread.c: Likewise.
10125 * generic-morestack.c: Likewise.
10126 * libgcc2.c: Likewise.
10127 * libgcov.c: Likewise.
10128 * unwind-dw2-fde-dip.c: Likewise.
10129 * unwind-dw2-fde.c: Likewise.
10130 * unwind-dw2.c: Likewise.
10131 * unwind-sjlj.c: Likewise.
10132
10133 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10134
10135 * configure.ac: Include ../config/picflag.m4.
10136 (GCC_PICFLAG): Call it.
10137 Substitute.
10138 * configure: Regenerate.
10139 * Makefile.in (gcc_srcdir): Remove.
10140 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10141 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10142 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10143 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10144 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10145 Use $<.
10146 Remove comment.
10147 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10148 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10149 to refer to libgcc2.c.
10150 Use $<.
10151 * config/darwin-64.c: New file.
10152 * config/darwin-crt3.c: Remove comment.
10153 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10154 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10155 config/udivmodsi4.c: New files.
10156 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10157 config/memset.c: New files.
10158 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10159 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10160 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10161 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10162 * config/t-openbsd-thread: New file.
10163 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10164 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10165 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10166 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10167 qrnnd.S.
10168 Adapt filename.
10169 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10170 to refer to gthr-posix.c.
10171 * config/alpha/t-vms (LIB2ADD): Set.
10172 * config/alpha/vms-gcc_shell_handler.c: New file.
10173 * config/arm/bpabi.c, config/arm/fp16.c,
10174 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10175 config/arm/unaligned-funcs.c: New files.
10176 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10177 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10178 * config/arm/t-linux: Likewise.
10179 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10180 * config/arm/t-netbsd: New file.
10181 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10182 * config/arm/t-symbian (LIB2ADD_ST): Set.
10183 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10184 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10185 * config/bfin/t-elf: New file.
10186 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10187 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10188 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10189 config/c6x/ltf.c: New files.
10190 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10191 (HOST_LIBGCC2_CFLAGS): Set.
10192 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10193 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10194 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10195 New files.
10196 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10197 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10198 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10199 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10200 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10201 files.
10202 * config/frv/t-frv (LIB2ADD): Set.
10203 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10204 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10205 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10206 config/h8300/popcounthi2.c: New files.
10207 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10208 * config/i386/gthr-win32.c: New file.
10209 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10210 * config/i386/t-cygwin: Likewise.
10211 * config/i386/t-darwin, config/i386/t-darwin64,
10212 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10213 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10214 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10215 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10216 * config/ia64/quadlib.c: New file.
10217 * config/ia64/t-hpux (LIB2ADD): Set.
10218 * config/ia64/t-ia64: Add comment.
10219 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10220 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10221 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10222 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10223 * config/m32c/t-m32c (LIB2ADD): Set.
10224 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10225 * config/m32r/t-m32r: Likewise.
10226 * config/m68k/fpgnulib.c: New file.
10227 * config/m68k/t-floatlib (LIB2ADD): Set.
10228 (xfgnulib.c): New target.
10229 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10230 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10231 * config/mep/t-mep (LIB2ADD): Set.
10232 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10233 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10234 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10235 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10236 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10237 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10238 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10239 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10240 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10241 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10242 New files.
10243 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10244 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10245 * config/pa/fptr.c, config/pa/lib2funcs.S,
10246 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10247 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10248 (LIB2ADD, LIB2ADD_ST): Set.
10249 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10250 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10251 Set.
10252 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10253 * config/pdp11/t-pdp11: New file.
10254 * config/picochip/libgccExtras/adddi3.S,
10255 config/picochip/libgccExtras/ashlsi3.S,
10256 config/picochip/libgccExtras/ashrsi3.S,
10257 config/picochip/libgccExtras/clzsi2.S,
10258 config/picochip/libgccExtras/cmpsi2.S,
10259 config/picochip/libgccExtras/divmod15.S,
10260 config/picochip/libgccExtras/divmodhi4.S,
10261 config/picochip/libgccExtras/divmodsi4.S,
10262 config/picochip/libgccExtras/lshrsi3.S,
10263 config/picochip/libgccExtras/parityhi2.S,
10264 config/picochip/libgccExtras/popcounthi2.S,
10265 config/picochip/libgccExtras/subdi3.S,
10266 config/picochip/libgccExtras/ucmpsi2.S,
10267 config/picochip/libgccExtras/udivmodhi4.S,
10268 config/picochip/libgccExtras/udivmodsi4.S: New files.
10269 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10270 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10271 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10272 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10273 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10274 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10275 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10276 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10277 files.
10278 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10279 (HOST_LIBGCC2_CFLAGS): Set.
10280 * config/rs6000/t-darwin64: New file.
10281 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10282 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10283 * config/rs6000/t-ppccomm (LIB2ADD): Add
10284 $(srcdir)/config/rs6000/tramp.S.
10285 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10286 Add $(srcdir)/config/rs6000/eabi.S.
10287 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10288 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10289 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10290 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10291 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10292 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10293 * config/rs6000/tramp.S: New file.
10294 * config/s390/t-tpf: Remove.
10295 * config/sh/linux-atomic.S: New file.
10296 * config/sh/t-linux (LIB2ADD): Set.
10297 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10298 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10299 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10300 to unwind-dw2.c.
10301 (HOST_LIBGCC2_CFLAGS): Set.
10302 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10303 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10304 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10305 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10306 config/spu/mfc_multi_tag_release.c,
10307 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10308 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10309 config/spu/multi3.c: New files.
10310 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10311 (HOST_LIBGCC2_CFLAGS): Set.
10312 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10313 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10314 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10315 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10316 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10317 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10318 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10319 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10320 config/stormy16/umodsi3.c: New files.
10321 * config/xtensa/lib2funcs.S: New file.
10322 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10323 * config/xtensa/t-xtensa (LIB2ADD): Set.
10324 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10325 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10326 Add t-freebsd-thread to tmake_file for posix threads.
10327 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10328 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10329 (*-*-lynxos*): Likewise.
10330 (*-*-netbsd*): Likewise.
10331 (*-*-openbsd*): Likewise.
10332 Add t-openbsd-thread to tmake_file for posix threads.
10333 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10334 (*-*-vxworks*): Set tmake_file.
10335 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10336 (alpha*-*-freebsd*): Likewise.
10337 (alpha*-*-netbsd*): Likewise.
10338 (alpha*-*-openbsd*): Likewise.
10339 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10340 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10341 (alpha*-dec-*vms*): Likewise.
10342 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10343 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10344 (bfin*-uclinux*): Likewise.
10345 (bfin*-linux-uclibc*): Likewise.
10346 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10347 (crisv32-*-none): Likewise.
10348 (cris-*-elf): Likewise.
10349 (cris-*-none): Likewise.
10350 (cris-*-linux*, crisv32-*-linux*): Likewise.
10351 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10352 tmake_file.
10353 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10354 tmake_file.
10355 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10356 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10357 (x86_64-*-elf*): Likewise.
10358 (i[34567]86-*-nto-qnx*): Likewise.
10359 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10360 win32 threads.
10361 (x86_64-*-mingw*): Likewise.
10362 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10363 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10364 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10365 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10366 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10367 tmake_file.
10368 (mipsisa64sr71k-*-elf*): Likewise.
10369 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10370 (mips-*-elf*, mipsel-*-elf*): Likewise.
10371 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10372 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10373 (mips*-*-rtems*): Likewise.
10374 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10375 to tmake_file.
10376 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10377 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10378 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10379 (spu-*-elf*): Likewise.
10380 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10381
10382 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10383
10384 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10385 $(srcdir) to refer to $(LIB1ASMSRC).
10386 Use $<.
10387 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10388 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10389 config/arm/lib1funcs.S: New files.
10390 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10391 * config/arm/t-arm: New file.
10392 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10393 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10394 config/arm/t-strongarm-elf: New files.
10395 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10396 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10397 * config/avr/lib1funcs.S: New file.
10398 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10399 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10400 * config/c6x/lib1funcs.S: New file.
10401 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10402 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10403 * config/frv/lib1funcs.S: New file.
10404 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10405 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10406 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10407 * config/ia64/__divxf3.asm: Rename to ...
10408 * config/ia64/__divxf3.S: ... this.
10409 Adapt lib1funcs.asm filename.
10410 * config/ia64/_fixtfdi.asm: Rename to ...
10411 * config/ia64/_fixtfdi.S: ... this.
10412 Adapt lib1funcs.asm filename.
10413 * config/ia64/_fixunstfdi.asm: Rename to ...
10414 * config/ia64/_fixunstfdi.S: ... this.
10415 Adapt lib1funcs.asm filename.
10416 * config/ia64/_floatditf.asm: Rename to ...
10417 * config/ia64/_floatditf.S: ... this.
10418 Adapt lib1funcs.asm filename.
10419 * config/ia64/lib1funcs.S: New file.
10420 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10421 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10422 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10423 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10424 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10425 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10426 * config/mep/lib1funcs.S: New file.
10427 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10428 * config/mips/mips16.S: New file.
10429 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10430 * config/pa/milli64.S: New file.
10431 * config/pa/t-linux, config/pa/t-linux64: New files.
10432 * config/picochip/lib1funcs.S: New file.
10433 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10434 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10435 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10436 * config/sh/t-netbsd: New file.
10437 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10438 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10439 * config/sh/t-sh64: New file.
10440 * config/sparc/lb1spc.S: New file.
10441 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10442 filename.
10443 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10444 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10445 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10446 config/xtensa/lib1funcs.S: New files.
10447 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10448 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10449 tmake_file.
10450 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10451 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10452 (arm*-*-linux*): Likewise.
10453 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10454 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10455 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10456 (arm*-*-ecos-elf): Likewise.
10457 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10458 (arm*-*-rtems*): Likewise.
10459 (arm*-*-elf): Likewise.
10460 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10461 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10462 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10463 (bfin*-uclinux*): Likewise.
10464 (bfin*-linux-uclibc*): Likewise.
10465 (bfin*-rtems*): Likewise.
10466 (bfin*-*): Likewise.
10467 (fido-*-elf): Merge into m68k-*-elf*.
10468 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10469 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10470 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10471 (h8300-*-elf*): Likewise.
10472 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10473 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10474 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10475 (i[34567]86-*-mingw*): Likewise.
10476 (x86_64-*-mingw*): Likewise.
10477 (i[34567]86-*-interix3*): Likewise.
10478 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10479 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10480 (m68k-*-elf*): Also handle fido-*-elf.
10481 Add m68k/t-floatlib to tmake_file.
10482 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10483 (m68k-*-linux*): Likewise.
10484 (m68k-*-rtems*): Likewise.
10485 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10486 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10487 sh64*-*-*.
10488 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10489 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10490 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10491 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10492 sh/t-netbsd to tmake_file.
10493 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10494 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10495 (sh-wrs-vxworks): Likewise.
10496 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10497 *-leon[3-9]*.
10498 (v850*-*-*): Add v850/t-v850 to tmake_file.
10499 (vax-*-linux*): Add vax/t-linux to tmake_file.
10500 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10501
10502 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10503
10504 * crtstuff.c: New file.
10505 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10506 (CRTSTUFF_T_CFLAGS): Define.
10507 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10508 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10509 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10510 crtstuff.c.
10511 Use $<.
10512 (crtbeginT.o): Use $(objext).
10513 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10514 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10515 (gcc-extra-parts): Remove.
10516 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10517 Set extra_parts.
10518 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10519 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10520 Add t-crtstuff-pic to tmake_file.
10521 (*-*-lynxos*): New case.
10522 Set tmake_file, extra_parts.
10523 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10524 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10525 *-*-netbsdelf[2-9]*.
10526 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10527 (*-*-rtems*): Set extra_parts.
10528 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10529 (*-*-uclinux*): New case.
10530 Set extra_parts.
10531 (*-*-vms*): New case.
10532 Set tmake_file, extra_parts.
10533 (*-*-elf): Set extra_parts.
10534 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10535 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10536 vms/t-vms64.
10537 Set extra_parts.
10538 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10539 Set extra_parts.
10540 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10541 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10542 (arm-wrs-vxworks): Append to tmake_file.
10543 Set extra_parts.
10544 (arm*-*-uclinux*): Set extra_parts.
10545 (arm*-*-ecos-elf): Likewise.
10546 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10547 arm*-*-eabi*.
10548 (arm*-*-rtems*): Set extra_parts.
10549 (arm*-*-elf): Likewise.
10550 (avr-*-rtems*): Clear extra_parts.
10551 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10552 Set extra_parts.
10553 (bfin*-uclinux*): Likewise.
10554 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10555 (bfin*-rtems*): Append to tmake_file.
10556 Set extra_parts.
10557 (bfin*-*): Likewise.
10558 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10559 (crisv32-*-elf): ... this.
10560 (crisv32-*-none): ... this.
10561 (cris-*-elf, cris-*-none): New cases.
10562 Add cris/t-elfmulti to tmake_file.
10563 (fr30-*-elf): Append to tmake_file.
10564 Set extra_parts.
10565 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10566 Set extra_parts.
10567 (h8300-*-rtems*): Append to tmake_file.
10568 Set extra_parts.
10569 (h8300-*-elf*): Likewise.
10570 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10571 Set extra_parts.
10572 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10573 Set extra_parts.
10574 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10575 (x86_64-*-elf*): Likewise.
10576 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10577 (x86_64-*-freebsd*): Likewise.
10578 (x86_64-*-netbsd*): Likewise.
10579 (i[34567]86-*-linux*): Likewise.
10580 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10581 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10582 (x86_64-*-linux*): Likewise.
10583 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10584 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10585 tmake_file.
10586 Set extra_parts.
10587 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10588 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10589 Append to extra_parts, remove crtbegin.o, crtend.o.
10590 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10591 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10592 crtend.o, crtbeginS.o, crtendS.o.
10593 (ia64*-*-linux*): Comment extra_parts.
10594 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10595 Set extra_parts.
10596 (iq2000*-*-elf*): Clear extra_parts.
10597 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10598 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10599 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10600 (m32r-*-rtems*): ... this.
10601 Add m32r/t-m32r to tmake_file.
10602 (m68k-*-elf*): Add t-crtin to tmake_file.
10603 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10604 (mcore-*-elf): Likewise.
10605 (microblaze*-*-*): Set extra_parts.
10606 (mips*-sde-elf*): New case.
10607 Set tmake_file, extra_parts.
10608 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10609 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10610 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10611 tmake_file.
10612 Set extra_parts.
10613 (mipsisa64sr71k-*-elf*): Likewise.
10614 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10615 (mips-*-elf*, mipsel-*-elf*): Likewise.
10616 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10617 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10618 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10619 (mips*-*-rtems*): Likewise.
10620 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10621 (moxie-*-*): Split into ...
10622 (moxie-*-elf, moxie-*-uclinux*): ... this.
10623 Add to extra_parts, remove crtbegin.o, crtend.o.
10624 (moxie-*-rtems*): New case.
10625 Set tmake_file.
10626 Clear extra_parts.
10627 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10628 Set extra_parts.
10629 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10630 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10631 tmake_file.
10632 Set extra_parts.
10633 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10634 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10635 Set extra_parts.
10636 (powerpc-*-eabisim*): Likewise.
10637 (powerpc-*-elf*): Likewise.
10638 (powerpc-*-eabialtivec*): Likewise.
10639 (powerpc-xilinx-eabi*): Likewise.
10640 (powerpc-*-eabi*): Likewise.
10641 (powerpc-*-rtems*): Likewise.
10642 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10643 tmake_file.
10644 Set extra_parts.
10645 (powerpc-*-lynxos*): Add to tmake_file.
10646 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10647 rs6000/t-crtstuff, t-crtstuff-pic.
10648 Set extra_parts.
10649 (powerpcle-*-eabisim*): Likewise.
10650 (powerpcle-*-eabi*): Likewise.
10651 (rx-*-elf): Remove extra_parts.
10652 (s390x-ibm-tpf*): Set extra_parts.
10653 (score-*-elf): Set extra_parts.
10654 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10655 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10656 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10657 (sh64l*-*-netbsd*): Split into ...
10658 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10659 Add t-crtstuff-pic to tmake_file.
10660 Set extra_parts.
10661 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10662 Set extra_parts.
10663 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10664 (sparc-*-elf*): Remove t-crtin from tmake_file.
10665 Add to extra_parts, remove crtbegin.o, crtend.o.
10666 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10667 (sparc64-*-linux*): Likewise.
10668 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10669 Add to extra_parts, remove crtbegin.o, crtend.o.
10670 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10671 Add to extra_parts, remove crtbegin.o, crtend.o.
10672 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10673 Add to extra_parts, remove crtbegin.o, crtend.o.
10674 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10675 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10676 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10677 Set extra_parts.
10678 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10679 Set extra_parts.
10680 (tic6x-*-*): Change to ...
10681 (tic6x-*-elf): ... this.
10682 Set extra_parts.
10683 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10684 Set extra_parts.
10685 (am33_2.0-*-linux*): Add comment.
10686 (mep*-*-*): Add mep/t-mep to tmake_file.
10687 Set extra_parts.
10688 * config/alpha/t-vms: New file.
10689 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10690 * config/arm/crti.S, config/arm/crtn.S: New files.
10691 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10692 * config/bfin/crtlibid.S: New file.
10693 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10694 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10695 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10696 (crti.o, crtin.o): New rules.
10697 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10698 * config/c6x/t-uclinux: New file.
10699 * config/cris/t-elfmulti: New file.
10700 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10701 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10702 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10703 * config/frv/t-frv: New file.
10704 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10705 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10706 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10707 New files.
10708 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10709 refer to cygming-crtbegin.c, cygming-crtend.c.
10710 Use $<.
10711 * config/i386/t-nto: New file.
10712 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10713 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10714 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10715 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10716 Use .S extension.
10717 Use $<.
10718 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10719 (crtinitS.o): New rule.
10720 * config/ia64/vms-crtinit.S: New file.
10721 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10722 * config/m32r/initfini.c: New file.
10723 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10724 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10725 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10726 * config/mep/t-mep: New file.
10727 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10728 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10729 * config/mips/crti.S, config/mips/crtn.S: New files.
10730 * config/mips/t-crtstuff: New file.
10731 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10732 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10733 (CUSTOM_CRTIN): Set.
10734 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10735 dependencies.
10736 Use $(srcdir) to refer to crti.S, crtn.S.
10737 Use .S extension, $<.
10738 * config/moxie/crti.asm: Rename to ...
10739 * config/moxie/crti.S: ... this.
10740 * config/moxie/crtn.asm: Rename to ...
10741 * config/moxie/crtn.S: ... this.
10742 * config/moxie/t-moxie: Remove.
10743 * config/pa/stublib.c: New file.
10744 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10745 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10746 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10747 * config/rs6000/t-crtstuff: New file.
10748 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10749 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10750 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10751 Make output file explicit.
10752 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10753 Make output file explicit.
10754 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10755 Make output file explicit.
10756 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10757 Make output file explicit.
10758 * config/score/crti.S, config/score/crtn.S: New files.
10759 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10760 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10761 files.
10762 * config/sh/t-sh, config/sh/t-superh: New files.
10763 * config/sparc/t-linux64: New file.
10764 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10765 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10766 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10767 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10768 * config/t-crtin: Remove.
10769 * config/t-crtstuff-pic: New file.
10770 * config/t-sol2 (CUSTOM_CRTIN): Set.
10771 (crti.o, crtn.o): New rules.
10772 * config/vms/t-vms: New file.
10773 * config/vms/vms-ucrt0.c: New file.
10774 * config/xtensa/t-elf: New file.
10775
10776 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10777
10778 * Makefile.in (SHLIB_NM_FLAGS): Set.
10779 * mkmap-flat.awk, mkmap-symver.awk: New files.
10780 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10781 exceptions.
10782 * configure: Regenerate.
10783 * config/libgcc-glibc.ver: New file.
10784 * config/libgcc-libsystem.ver: New file.
10785 * config/t-libunwind (SHLIB_LC): Set.
10786 * config/t-linux: New file.
10787 * config/t-slibgcc (INSTALL_SHLIB): New.
10788 (SHLIB_INSTALL): Use it.
10789 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10790 to mkmap-symver.awk.
10791 (SHLIB_MAPFILES): Don't append, adapt pathname.
10792 (SHLIB_VERPFX): Set.
10793 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10794 to mkmap-symver.awk.
10795 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10796 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10797 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10798 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10799 to mkmap-flat.awk.
10800 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10801 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10802 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10803 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10804 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10805 * config/i386/libgcc-darwin.10.4.ver,
10806 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10807 New files.
10808 * config/i386/t-darwin: Remove.
10809 * config/i386/t-darwin64: Likewise.
10810 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10811 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10812 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10813 * config/i386/t-linux: New file.
10814 * config/i386/t-mingw32: New file.
10815 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10816 * config/ia64/t-glibc: Rename to ...
10817 * config/ia64/t-linux: ... this.
10818 (SHLIB_MAPFILES): Set.
10819 * config/ia64/t-glibc-libunwind: Rename to ...
10820 * config/ia64/t-linux-libunwind: ... this.
10821 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10822 * config/ia64/t-slibgcc-hpux: New file.
10823 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10824 * config/m68k/t-slibgcc-elf-ver: New file.
10825 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10826 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10827 to mkmap-flat.awk.
10828 * config/pa/t-slibgcc-hpux: New file.
10829 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10830 files.
10831 * config/rs6000/libgcc-darwin.10.4.ver,
10832 config/rs6000/libgcc-darwin.10.5.ver: New files.
10833 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10834 config/rs6000/libgcc-glibc.ver.
10835 * config/rs6000/libgcc-ppc64.ver: Rename to
10836 config/rs6000/libgcc-ibm-ldouble.ver.
10837 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10838 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10839 * config/rs6000/t-ldbl128: Rename to ...
10840 * config/rs6000/t-linux: ... this.
10841 (SHLIB_MAPFILES): Adapt filename.
10842 * config/rs6000/t-slibgcc-aix: New file.
10843 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10844 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10845 libgcc-excl.ver, libgcc-glibc.ver.
10846 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10847 * config/sparc/libgcc-glibc.ver: New file.
10848 * config/sparc/t-linux: New file.
10849 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10850 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10851 t-slibgcc-elf-ver to tmake_file.
10852 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10853 *-*-freebsd[34].
10854 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10855 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10856 t-slibgcc-elf-ver, t-linux to tmake_file.
10857 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10858 tmake_file.
10859 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10860 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10861 (alpha*-dec-*vms*): Likewise.
10862 (arm*-*-freebsd*): Append to tmake_file.
10863 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10864 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10865 arm*-*-linux-*eabi.
10866 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10867 tmake_file for arm*-*-symbianelf*.
10868 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10869 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10870 cris/t-linux.
10871 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10872 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10873 pa/t-slibgcc-dwarf-ver to tmake_file.
10874 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10875 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10876 (hppa*64*-*-hpux11*): Likewise.
10877 (hppa[12]*-*-hpux11*): Likewise.
10878 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10879 i386/t-crtpc, i386/t-crtfm.
10880 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10881 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10882 to tmake_file.
10883 Add i386/t-cygwin to tmake_file.
10884 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10885 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10886 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10887 to tmake_file.
10888 Add i386/t-mingw32 to tmake_file.
10889 (x86_64-*-mingw*): Likewise.
10890 (ia64*-*-freebsd*): Append to tmake_file.
10891 (ia64*-*-linux*): Append to tmake_file.
10892 Replace ia64/t-glibc by ia64/t-linux.
10893 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10894 system libunwind.
10895 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10896 t-slibgcc-hpux to tmake_file.
10897 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10898 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10899 (m32rle-*-linux*): Likewise.
10900 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10901 sjlj exceptions.
10902 (microblaze*-linux*): New case.
10903 Append to tmake_file, add t-slibgcc-nolc-override.
10904 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10905 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10906 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10907 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10908 rs6000/t-slibgcc-aix to tmake_file.
10909 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10910 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10911 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10912 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10913 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10914 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10915 sh*-*-linux*.
10916 (sparc-*-linux*): Append to tmake_file for *-leon*.
10917 Add sparc/t-linux to tmake_file for non-Leon targets.
10918 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10919 (tic6x-*-uclinux): New case.
10920 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10921 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10922 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10923 (am33_2.0-*-linux*): Append to tmake_file.
10924 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10925 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10926 x86_64-*-kfreebsd*-gnu.
10927 Add i386/t-linux to tmake_file.
10928
10929 2011-10-28 Ian Lance Taylor <iant@google.com>
10930
10931 * config/i386/morestack.S: Correct CFI information to do proper
10932 returns throughout function. In 32-bit mode, save %ebx so that it
10933 is restored on unwind.
10934
10935 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10936
10937 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10938 case where B3 isn't the return register.
10939
10940 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10941 logic for doubleword pops.
10942
10943 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
10944
10945 * config/rs6000/t-freebsd: Add wildcard.
10946
10947 2011-10-21 Paul Brook <paul@codesourcery.com>
10948
10949 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10950
10951 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
10952 Eric Botcazou <ebotcazou@adacore.com>
10953
10954 PR target/50737
10955 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10956 fs->signal_frame to 1.
10957
10958 2011-10-07 Ian Lance Taylor <iant@google.com>
10959
10960 * generic-morestack-thread.c: #include <errno.h>.
10961
10962 2011-10-07 Ian Lance Taylor <iant@google.com>
10963
10964 PR target/46093
10965 * generic-morestack.c (__generic_morestack): Make sure the segment
10966 is large enough for both the stack frame and the copied
10967 parameters.
10968
10969 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10970
10971 PR bootstrap/49804
10972 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10973 extra_parts.
10974
10975 2011-09-28 Nick Clifton <nickc@redhat.com>
10976
10977 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10978 64-bit doubles are not enabled.
10979 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10980 and floatunsisf functions.
10981
10982 2011-09-13 Paul Brook <paul@codesourcery.com>
10983
10984 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10985 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10986 * unwind-arm-common.inc: New file.
10987 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10988 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10989 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10990 * config/c6x/libunwind.S: New file.
10991 * config/c6x/pr-support.c: New file.
10992 * config/c6x/unwind-c6x.c: New file.
10993 * config/c6x/unwind-c6x.h: New file.
10994 * config/c6x/t-c6x-elf: New file.
10995
10996 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
10997
10998 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10999 (ASM_DIVZERO): Ditto.
11000 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11001
11002 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11003
11004 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11005
11006 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11007
11008 PR target/50090
11009 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11010 instead of an assembly one.
11011
11012 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
11013
11014 PR bootstrap/50047
11015 * Makefile.in (install-unwind_h): Create
11016 $(gcc_objdir)/include/unwind.h atomically.
11017
11018 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11019
11020 * Makefile.in (install-unwind_h): Remove destination file first.
11021
11022 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11023
11024 * sync.c: New file.
11025 * config/mips/t-mips16: New file.
11026 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11027 (mips*-*-linux*): Likewise.
11028 (mips*-sde-elf*): Likewise.
11029 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11030 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11031 Add mips/t-mips16 to tmake_file.
11032 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11033 (mips-*-elf*): Likewise.
11034 (mips64-*-elf*): Likewise.
11035 (mips64orion-*-elf*): Likewise.
11036 (mips*-*-rtems*): Likewise.
11037 (mipstx39-*-elf*): Likewise.
11038 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11039 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11040 LIBGCC_SYNC_CFLAGS.
11041 Use $(srcdir) to refer to sync.c.
11042 Use $<.
11043 ($(libgcc-sync-funcs-o)): Likewise.
11044 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11045 ($(libgcc-sync-funcs-s-o)): Likewise.
11046
11047 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11048
11049 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11050 t-libunwind.
11051
11052 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11053
11054 PR other/48007
11055 * config/i386/value-unwind.h: New.
11056
11057 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11058
11059 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11060 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11061 Add to tmake_file rather than overriding it.
11062
11063 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11064
11065 * config/t-softfp: Remove.
11066 * soft-fp: Moved from ../gcc/config.
11067 * soft-fp/README: Remove t-softfp reference.
11068 * soft-fp/t-softfp: Move to config/t-softfp.
11069 (softfp_machine_header): Remove.
11070 (softfp_file_list): Remove config subdir.
11071 (soft-fp-objects): New variable.
11072 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11073 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11074 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11075 * config/t-softfp-excl: New file.
11076 * config/t-softfp-sfdf: New file.
11077 * config/t-softfp-tf: New file.
11078 * config/no-sfp-machine.h: New file.
11079 * config/arm/sfp-machine.h: New file.
11080 * config/arm/t-softfp: New file.
11081 * config/c6x/sfp-machine.h: New file.
11082 * config/i386/32/t-fprules-softfp: Rename to ...
11083 * config/i386/32/t-softfp: ... this.
11084 (tifunctions, LIB2ADD): Remove.
11085 (softfp_int_modes): Override.
11086 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11087 subdir.
11088 * config/i386/64/eqtf2.c: Likewise.
11089 * config/i386/64/getf2.c: Likewise.
11090 * config/i386/64/letf2.c: Likewise.
11091 * config/ia64/sft-machine.h: New file.
11092 * config/ia64/t-fprules-softfp: Rename to ...
11093 * config/ia64/t-softfp: ... this.
11094 * config/lm32/sfp-machine.h: New file.
11095 * config/moxie/t-moxie-softfp: Remove.
11096 * config/rs6000/ibm-ldouble-format: New file.
11097 * config/rs6000/ibm-ldouble.c: New file.
11098 * config/rs6000/libgcc-ppc-glibc.ver: New file
11099 * config/rs6000/libgcc-ppc64.ver: New file
11100 * config/rs6000/sfp-machine.h: New file.
11101 * config/rs6000/t-freebsd: New file.
11102 * config/rs6000/t-ibm-ldouble: New file.
11103 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11104 libgcc-ppc-glibc.ver.
11105 * config/rs6000/t-linux64: New file.
11106 * config/rs6000/t-ppccomm (LIB2ADD): Add
11107 $(srcdir)/config/rs6000/ibm-ldouble.c.
11108 * config/rs6000/t-ppccomm-ldbl: New file.
11109 * config/score/sfp-machine.h: New file.
11110 * config.host (sfp_machine_header): Explain.
11111 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11112 t-softfp to tmake_file.
11113 (arm*-*-uclinux*): Likewise.
11114 (arm*-*-ecos-elf): Likewise.
11115 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11116 (arm*-*-rtems*): Likewise.
11117 (arm*-*-elf): Likewise.
11118 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11119 in tmake_file.
11120 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11121 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11122 (lm32-*-uclinux*): Likewise.
11123 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11124 t-softfp-excl, t-softfp.
11125 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11126 (powerpc64-*-darwin*): Likewise.
11127 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11128 to tmake_file.
11129 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11130 tmake_file.
11131 (powerpc-*-eabisim*): Likewise.
11132 (powerpc-*-elf*): Likewise.
11133 (powerpc-*-eabialtivec*): Likewise.
11134 (powerpc-xilinx-eabi*): Likewise.
11135 (powerpc-*-rtems*): Likewise.
11136 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11137 t-softfp-excl, t-softfp to tmake_file.
11138 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11139 rs6000/t-ppccomm-ldbl to tmake_file.
11140 (powerpcle-*-elf*): Likewise.
11141 (powerpcle-*-eabisim*): Likewise.
11142 (powerpcle-*-eabi*): Likewise.
11143 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11144 rs6000/t-ibm-ldouble to tmake_file.
11145 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11146 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11147 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11148 (tic6x-*-*): Likewise.
11149 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11150 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11151 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11152 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11153 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11154 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11155 t-softfp to tmake_file.
11156 * configure.ac (sfp_machine_header): Provide default if unset.
11157 Substitute.
11158 Link sfp-machine.h to config/$sfp_machine_header.
11159 * configure: Regenerate.
11160
11161 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11162
11163 * Makefile.in (double_type_size, long_double_type_size): Set.
11164 Remove $(fpbit-in-libgcc) support.
11165 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11166 (fpbit-src): New variable.
11167 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11168 Compile with -DFLOAT $(FPBIT_CFLAGS).
11169 Use $<.
11170 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11171 Compile with $(FPBIT_CFLAGS).
11172 Use $<.
11173 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11174 Compile with -DFLOAT $(TPBIT_CFLAGS).
11175 Use $<.
11176 * configure.ac (double_type_size, long_double_type_size):
11177 Determine and substitute.
11178 * configure: Regenerate.
11179 * fp-bit.c, fp-bit.h: New files.
11180 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11181 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11182 * config/mips/t-mips: New file.
11183 * config/mips/t-sdemtk: New file.
11184 * config/rs6000/ppc64-fp.c: New file.
11185 * config/rs6000/t-darwin (LIB2ADD): Add
11186 $(srcdir)/config/rs6000/ppc64-fp.c.
11187 * config/rs6000/t-ppc64-fp: New file.
11188 * config/rx/rx-lib.h: New file.
11189 * config/rx/t-rx (FPBIT): Set to true.
11190 ($(gcc_objdir)/fp-bit.c): Remove.
11191 (DPBIT): Set to true only with -m64bit-doubles.
11192 ($(gcc_objdir)/dp-bit.c): Remove.
11193 * config/sparc/t-softfp: Remove.
11194 * config/spu/t-elf: New file.
11195 * config/t-fdpbit, config/t-fpbit: New files.
11196 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11197 (mips*-*-*): Likewise.
11198 (arm-wrs-vxworks): Likewise.
11199 (arm*-*-freebsd*): Likewise.
11200 (avr-*-rtems*): Add t-fpbit to tmake_file.
11201 (avr-*-*): Likewise.
11202 (bfin*-elf*): Add t-fdpbit to tmake_file.
11203 (bfin*-uclinux*): Likewise.
11204 (bfin*-linux-uclibc*): Likewise.
11205 (bfin*-rtems*): New case.
11206 Add t-fdpbit to tmake_file.
11207 (bfin*-*): Add t-fdpbit to tmake_file.
11208 (crisv32-*-elf): Likewise.
11209 (cris-*-linux*): Likewise.
11210 (fr30-*-elf): Likewise.
11211 (frv-*-elf, frv-*-*linux*): Likewise.
11212 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11213 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11214 (m32r-*-elf*): Likewise.
11215 (m32rle-*-elf*): Likewise.
11216 (m32r-*-linux*): Likewise.
11217 (m32rle-*-linux*): Likewise.
11218 (mcore-*-elf): Add t-fdpbit to tmake_file.
11219 (microblaze*-*-*): Likewise.
11220 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11221 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11222 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11223 Fix typo.
11224 Add mips/t-tpbit to tmake-file.
11225 (mips*-*-linux*): Fix typo.
11226 (mips*-sde-elf*): New case
11227 Add mips/t-sdemtk unless using newlib.
11228 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11229 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11230 (mn10300-*-*): Likewise.
11231 (pdp11-*-*): Likewise.
11232 (picochip-*-*): Add t-fpbit to tmake_file.
11233 (powerpc-*-eabisimaltivec*): Likewise.
11234 (powerpc-*-eabisim*): Likewise.
11235 (powerpc-*-elf*): Likewise.
11236 (powerpc-*-eabialtivec*): Likewise.
11237 (powerpc-xilinx-eabi*): New case.
11238 Add t-fdpbit to tmake_file.
11239 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11240 (powerpc-*-rtems*): Likewise.
11241 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11242 tmake_file.
11243 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11244 tmake_file.
11245 (powerpc-*-lynxos*): Likewise.
11246 (powerpcle-*-elf*): Likewise.
11247 (powerpcle-*-eabisim*): Likewise.
11248 (powerpcle-*-eabi*): Likewise.
11249 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11250 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11251 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11252 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11253 (rx-*-elf): Add t-fdpbit to tmake_file.
11254 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11255 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11256 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11257 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11258 sh*-*-netbsd*.
11259 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11260 (sh-wrs-vxworks): Likewise.
11261 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11262 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11263 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11264 (sparc64-*-rtems*): ... new case.
11265 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11266 (spu-*-elf*): Likewise.
11267 Add spu/t-elf to tmake_file.
11268 (v850*-*-*): Add t-fdpbit to tmake_file.
11269 (xstormy16-*-elf): Likewise.
11270 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11271 (mep*-*-*): Likewise.
11272
11273 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11274
11275 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11276 variables.
11277 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11278 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11279 (install-unwind_h): New target.
11280 (all): Depend on it.
11281 * config.host (unwind_header): New variable.
11282 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11283 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11284 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11285 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11286 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11287 Set unwind_header.
11288 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11289 Set unwind_header.
11290 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11291 arm*-*-eabi*.
11292 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11293 Set unwind_header.
11294 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11295 (ia64*-*-freebsd*): Likewise.
11296 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11297 tmake_file.
11298 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11299 $with_system_libunwind.
11300 (ia64*-*-hpux*): Set tmake_file.
11301 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11302 (picochip-*-*): Set tmake_file.
11303 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11304 md_unwind_header.
11305 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11306 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11307 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11308 (xtensa*-*-elf*): Set tmake_file.
11309 (xtensa*-*-linux*): Likewise.
11310 * configure.ac: Include ../config/unwind_ipinfo.m4.
11311 Call GCC_CHECK_UNWIND_GETIPINFO.
11312 Link unwind.h to $unwind_header.
11313 * configure: Regenerate.
11314 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11315 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11316 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11317 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11318 * config/unwind-dw2-fde-darwin.c: New file.
11319 * config/arm/libunwind.S, config/arm/pr-support.c,
11320 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11321 config/arm/unwind-arm.h,: New files.
11322 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11323 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11324 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11325 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11326 config/ia64/unwind-ia64.h: New files.
11327 * config/picochip/t-picochip: New file.
11328 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11329 files.
11330 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11331 * config/s390/t-tpf (LIB2ADDEH): Remove.
11332 * config/t-darwin (LIB2ADDEH): Set.
11333 * config/t-eh-dw2-dip: New file.
11334 * config/t-libunwind, config/t-libunwind-elf: New files.
11335 * config/t-sol2 (LIB2ADDEH): Remove.
11336 * config/xtensa/t-xtensa: New file.
11337
11338 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11339
11340 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11341 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11342 long long to check rt_sigreturn syscall.
11343
11344 2011-08-02 Alan Modra <amodra@gmail.com>
11345
11346 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11347 Restore for indirect call bcrtl from correct stack slot, and only
11348 if cfa+40 isn't valid.
11349
11350 2011-08-01 Julian Brown <julian@codesourcery.com>
11351
11352 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11353 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11354 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11355
11356 2011-08-01 Julian Brown <julian@codesourcery.com>
11357
11358 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11359 (libgcc-std.ver.in): Use above.
11360 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11361 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11362 throughout file.
11363 * config/t-fixedpoint-gnu-prefix: New file.
11364 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11365 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11366 instead of __PFX__.
11367
11368 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11369
11370 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11371 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11372 for x86-64. Properly check __x86_64__ and __LP64__.
11373
11374 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11375
11376 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11377 version.
11378 (_FP_WS_TYPE): Likewise.
11379 (_FP_I_TYPE): Likewise.
11380
11381 2011-07-28 Alan Modra <amodra@gmail.com>
11382
11383 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11384 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11385 in a plt call stub. Do restore r2 if stopped on bctrl.
11386
11387 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11388
11389 * config.host (i[3456x]86-*-netware*): Remove.
11390 * config/i386/netware-crt0.c, config/i386/t-nwld,
11391 config/i386/t-slibgcc-nwld: Remove.
11392
11393 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11394
11395 * config.host: Handle tic6x-*-*.
11396 * config/c6x/c6x-abi.h: New file.
11397
11398 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11399
11400 * config/i386/crtprec.c: New file.
11401 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11402 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11403 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11404 (x86_64-*-darwin*): Likewise.
11405 (i[34567]86-*-solaris2*: Likewise.
11406
11407 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11408
11409 * config/alpha/crtfastmath.c: New file.
11410 * config/i386/crtfastmath.c: New file.
11411 * config/ia64/crtfastmath.c: New file.
11412 * config/mips/crtfastmath.c: New file.
11413 * config/sparc/crtfastmath.c: New file.
11414
11415 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11416 crtfastmath.c.
11417 Add -frandom-seed=gcc-crtfastmath.
11418 * config/alpha/t-crtfm: Remove.
11419 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11420 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11421
11422 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11423 (alpha*-dec-osf5.1*): Likewise.
11424 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11425 Add crtfastmath.o to extra_parts.
11426 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11427 Add crtfastmath.o to extra_parts.
11428 (x86_64-*-darwin*): Likewise.
11429 (x86_64-*-mingw*): Likewise.
11430 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11431 (ia64*-*-freebsd*): Likewise.
11432 (ia64*-*-linux*): Likewise.
11433 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11434 Add crtfastmath.o to extra_parts.
11435
11436 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11437
11438 * config/darwin-crt3.o: New file.
11439 * config/rs6000/darwin-crt2.c: New file.
11440 * config/t-darwin: New file.
11441 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11442 (crt2.o): New rule.
11443 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11444 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11445 (powerpc64-*-darwin*): Likewise.
11446
11447 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11448
11449 * config/i386/netware-crt0.c: New file.
11450 * config/i386/t-nwld: Rename to ...
11451 * config/i386/t-slibgcc-nwld: ... this.
11452 * config/i386/t-nwld: New file.
11453 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11454 tmake_file.
11455 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11456 extra_parts.
11457
11458 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11459
11460 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11461 i386/t-crtstuff.
11462 * configure: Regenerate.
11463
11464 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11465
11466 * dfp-bit.c, dfp-bit.h: New files.
11467 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11468 variables.
11469 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11470 ($(d64pbit-o)): Likewise.
11471 ($(d128pbit-o)): Likewise.
11472 * config/t-dfprules: New file.
11473 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11474 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11475 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11476 (x86_64-*-linux*): Likewise.
11477 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11478 (i[34567]86-*-cygwin*): Likewise.
11479 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11480 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11481
11482 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11483
11484 * Makfile.in (LIBGCOV): New variable.
11485 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11486 * libgcov.c: New file.
11487
11488 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11489
11490 * fixed-bit.c, fixed-bit.h: New files.
11491 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11492 refer to fixed-bit.c.
11493
11494 2011-07-07 Joseph Myers <joseph@codesourcery.com>
11495
11496 * config.host (*local*): Remove.
11497
11498 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11499
11500 PR target/39150
11501 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11502 like i?86-*-solaris2.1[0-9]*.
11503 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11504 * configure.ac (i?86-*-solaris2*): Likewise.
11505 * configure: Regenerate.
11506
11507 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
11508
11509 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11510 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11511 md_unwind_header by splitting out of...
11512 (i[34567]86-*-linux*): ... this.
11513 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11514 Remove md_unwind_header by splitting out of...
11515 (x86_64-*-linux*): ... this.
11516
11517 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
11518
11519 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11520
11521 2011-06-28 Nick Clifton <nickc@redhat.com>
11522
11523 * config.host: Recognize all V850 variants.
11524
11525 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
11526
11527 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11528
11529 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11530
11531 * shared-object.mk (c_flags-$o): Save c_flags.
11532 ($(base)$(objext)): Use it.
11533 ($(base)_s$(objext)): Likewise.
11534
11535 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11536
11537 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11538 * libgcc-std.ver.in (GCC_4.7.0): New section.
11539
11540 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
11541
11542 PR target/49313
11543 PR target/29524
11544 * config/avr/t-avr: Fix line endings.
11545 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11546 _parityXX2.
11547
11548 2011-06-14 Olivier Hainque <hainque@adacore.com>
11549 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11550
11551 * config/mips/irix6-unwind.h: New file.
11552 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11553
11554 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11555
11556 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11557 (sparc64_fallback_frame_state): Use it.
11558 (sparc64_frob_update_context): Further adjust context.
11559 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11560 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11561 * config/sparc/sol2-cn.S: Likewise.
11562
11563 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11564
11565 * enable-execute-stack-empty.c: New file.
11566 * enable-execute-stack-mprotect.c: New file.
11567 * config/i386/enable-execute-stack-mingw32.c: New file.
11568 * config.host (enable_execute_stack): New variable.
11569 Select appropriate variants.
11570 * configure.ac: Link enable-execute-stack.c to
11571 $enable_execute_stack.
11572 * configure: Regenerate.
11573 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11574 (lib2funcs): Remove _enable_execute_stack.
11575
11576 2011-06-09 David S. Miller <davem@davemloft.net>
11577 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11578
11579 * config.host (sparc-*-linux*): Correct md_unwind_header
11580 filename.
11581 (s390x-ibm-tpf*): Fix typo.
11582
11583 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11584
11585 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11586 Add crtfastmath.o to extra_parts.
11587 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11588 mips/t-crtfm.
11589 * config/mips/t-crtfm: Remove.
11590
11591 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11592
11593 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11594
11595 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11596
11597 * config.host (sh*-*-linux*): Fix typo.
11598
11599 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11600
11601 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11602 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11603 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11604 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11605 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11606 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11607 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11608 Wrap in !__MINGW64__.
11609 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11610 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11611 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11612 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11613 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11614 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11615 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11616 Wrap in !__LP64__.
11617 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11618 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11619 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11620 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11621 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11622 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11623 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11624 * config/no-unwind.h: New file.
11625 * config.host (md_unwind_header): Document.
11626 Define.
11627 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11628 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11629 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11630 hppa[12]*-*-hpux11*): Set md_unwind_header.
11631 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11632 Set md_unwind_header.
11633 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11634 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11635 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11636 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11637 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11638 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11639 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11640 md_unwind_header.
11641 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11642 * configure: Regenerate.
11643
11644 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11645
11646 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11647 Set tmake_file, extra_parts.
11648 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11649 Remove O32 support.
11650 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11651 Remove O32 support.
11652 * config/mips/t-irix6: New file.
11653 * config/mips/t-slibgcc-irix: New file.
11654
11655 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11656
11657 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11658 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11659
11660 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11661
11662 * configure.ac (target_thread_file): Determine thread model.
11663 * configure: Regenerate.
11664 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11665 * config/alpha/t-alpha: New file.
11666 * config/alpha/t-crtfm: Use $<.
11667 * config/alpha/t-ieee: New file.
11668 * config/alpha/t-osf-pthread: New file.
11669 * config/alpha/t-slibgcc-osf: New file.
11670 * config/alpha/libgcc-osf5.ver: New file.
11671
11672 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11673
11674 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11675 tmake_file.
11676 Add crtfastmath.o to extra_parts.
11677
11678 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11679
11680 * config/gmon-sol2.c: Reindent.
11681 Cleanup comments.
11682 Remove, correct casts.
11683 Use STDERR_FILENO, NULL.
11684 (BASEADDRESS): Remove.
11685 (minbrk): Remove.
11686 (errno, sbrk): Remove declarations.
11687 (monstartup) [hp300]: Remove.
11688 (mcount): Remove.
11689
11690 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11691
11692 * Makefile.in (cpu_type): Define.
11693 * config.host (i[34567]86-*-rtems*): Handle it.
11694 (i[34567]86-*-solaris2*): Move body ...
11695 (*-*-solaris2*): ... here.
11696 New case, generalize.
11697 (sparc-*-elf*): Handle it.
11698 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11699 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11700 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11701 Fold into ...
11702 (sparc*-*-solaris2*): ... this.
11703 New case.
11704 (sparc64-*-elf*): Handle it.
11705 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11706 Merge ../gcc/config/i386/gmon-sol2.c.
11707 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11708 Use C comments.
11709 Merge ../gcc/config/i386/sol2-gc1.asm.
11710 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11711 Use C comments.
11712 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11713 Use C comments.
11714 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11715 * config/i386/t-crtstuff: New file.
11716 * config/i386/t-softfp: New file.
11717 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11718 $(T)crti.o, $(T)crtn.o): Remove.
11719 (gcrt1.o): New rule.
11720 (TARGET_LIBGCC2_CFLAGS): Remove.
11721 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11722 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11723 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11724 * config/sparc/t-sol2: New file.
11725 * config/sparc/t-crtfm: Move to ...
11726 * config/t-crtfm: ... this.
11727 Use $(cpu_type), $<.
11728 * config/t-crtin: New file.
11729 * config/sparc/t-softfp: New file.
11730 * config/sparc/t-softmul: New file.
11731 * config/t-rtems: New file.
11732 * config/t-slibgcc: New file.
11733 * config/t-slibgcc-elf-ver: New file.
11734 * config/t-slibgcc-gld: New file.
11735 * config/t-slibgcc-sld: New file.
11736 * config/t-sol2: New file.
11737 * configure.ac: Include ../config/lib-ld.m4.
11738 Call AC_LIB_PROG_LD_GNU.
11739 Substitute cpu_type.
11740 * configure: Regenerate.
11741
11742 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11743
11744 PR bootstrap/49173
11745 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11746 libgcc-std.ver in the build directory.
11747 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11748 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11749
11750 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11751
11752 * libgcc-std.ver.in: New file.
11753 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11754 variables.
11755 (libgcc-std.ver): New rule.
11756 * config/t-gnu-prefix: New file.
11757
11758 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11759
11760 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11761
11762 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11763
11764 * config/i386/darwin-lib.h: New file.
11765
11766 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11767
11768 * config/arm/symbian-lib.h: New.
11769
11770 2011-05-04 Chris Demetriou <cgd@google.com>
11771
11772 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11773 (__x86.get_pc_thunk.bx): ...this.
11774 (__morestack): Adjust for rename, remove undef of __i686.
11775
11776 2011-05-03 Chris Demetriou <cgd@google.com>
11777
11778 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11779
11780 2011-03-22 Joseph Myers <joseph@codesourcery.com>
11781
11782 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11783 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11784 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11785 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11786 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11787 Remove cases.
11788
11789 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
11790
11791 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11792 Adjust copyright year.
11793
11794 2011-03-07 Ian Lance Taylor <iant@google.com>
11795
11796 * generic-morestack.c (__splitstack_find): Adjust returned stack
11797 pointer to include all registers pushed by __morestack.
11798
11799 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11800
11801 PR target/40125
11802 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11803 (toolexecdir): Calculate and AC_SUBST.
11804 (toolexeclibdir): Likewise.
11805 * Makefile.in (target_noncanonical): Import.
11806 (toolexecdir): Likewise.
11807 (toolexeclibdir): Likewise.
11808 * configure: Regenerate.
11809
11810 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11811
11812 PR target/46040
11813 * config/arm/bpabi.h: Rename to...
11814 * config/arm/bpabi-lib.h: ...this.
11815
11816 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11817
11818 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11819 appropriate.
11820 * configure: Regenerate.
11821
11822 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11823
11824 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11825 __FLOAT_WORD_ORDER__.
11826 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11827 Delete.
11828
11829 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11830
11831 PR other/46202
11832 * Makefile.in (install-strip): New phony target.
11833
11834 2010-11-07 Ian Lance Taylor <iant@google.com>
11835
11836 PR target/46089
11837 * config/i386/morestack.S (__morestack_large_model): New
11838 function.
11839
11840 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11841
11842 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11843 Delete.
11844 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11845
11846 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11847
11848 * config/arm/bpabi.h: New file.
11849 * config/frv/frv-abi.h: New file.
11850
11851 2010-10-01 Ian Lance Taylor <iant@google.com>
11852
11853 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11854 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11855
11856 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11857
11858 PR target/45858
11859 * config.host: Add the missing `$'.
11860
11861 2010-09-30 Michael Eager <eager@eagercon.com>
11862
11863 * config.host: Add microblaze*-*-*.
11864 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11865 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11866 udivsi3.asm,umodsi3.asm}: New.
11867
11868 2010-09-28 Ian Lance Taylor <iant@google.com>
11869
11870 * configure.ac: Adjust CFI test to test assembler directly rather
11871 than checking gcc preprocessor macro.
11872 * configure: Rebuild.
11873
11874 2010-09-27 Ian Lance Taylor <iant@google.com>
11875
11876 * configure.ac: Test whether assembler supports CFI directives.
11877 * config.host: Only add t-stack and i386/t-stack-i386 to
11878 tmake_file if libgcc_cv_cfi is "yes".
11879 * configure: Rebuild.
11880
11881 2010-09-27 Ian Lance Taylor <iant@google.com>
11882
11883 * generic-morestack.h: New file.
11884 * generic-morestack.c: New file.
11885 * generic-morestack-thread.c: New file.
11886 * config/i386/morestack.S: New file.
11887 * config/t-stack: New file.
11888 * config/i386/t-stack-i386: New file.
11889 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11890 i386/t-stack-i386 to tmake_file.
11891
11892 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11893
11894 * Makefile.in (libgcc-extra-parts): Check for static archives and
11895 invoke ranlib after installing them.
11896 (gcc-extra-parts): Likewise.
11897 (install-leaf): Likewise.
11898
11899 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11900
11901 * configure: Regenerated.
11902
11903 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
11904
11905 * configure: Regenerated.
11906
11907 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11908 Andrew Pinski <pinskia@gmail.com>
11909
11910 PR target/40959
11911 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11912
11913 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11914
11915 PR target/45524
11916 * configure: Regenerated.
11917
11918 2010-09-06 Andreas Schwab <schwab@redhat.com>
11919
11920 * configure: Regenerate.
11921
11922 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11923
11924 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11925 64bit targets.
11926 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11927 for 64bit targets.
11928
11929 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11930 Iain Sandoe <iains@gcc.gnu.org>
11931
11932 PR target/45476
11933 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11934 LIB2FUNCS_EXCLUDE functions.
11935
11936 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11937
11938 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11939 Include dfp.m4.
11940 * configure: Regenerate.
11941
11942 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
11943
11944 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11945 i386/t-freebsd to tmake_file.
11946 * config/i386/t-freebsd: New file.
11947 * config/i386/libgcc-bsd.ver: New file.
11948
11949 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11950
11951 * config.host (powerpc*-eabispe*): Set tmake_file.
11952 (powerpc*-eabi*): Likewise.
11953 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11954 crtbeginS, crtendS, crtbeginT.
11955
11956 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
11957
11958 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11959 to tmake_file. Add crtfastmath.o to extra_parts.
11960 * config/mips/t-crtfm: New.
11961
11962 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
11963
11964 * config.host (sparc64-*-rtems*): New target.
11965
11966 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11967
11968 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11969 assembler syntax.
11970
11971 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11972
11973 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11974
11975 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11976
11977 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11978 alpha-dec-osf5.0* support.
11979
11980 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
11981
11982 * config.host: Add lm32-*-rtems*.
11983
11984 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11985 Uros Bizjak <ubizjak@gmail.com>
11986
11987 PR target/39048
11988 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11989 like other remaining 32-bit x86 OSes.
11990 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11991 assembler syntax.
11992 * config/i386/libgcc-sol2.ver: New file.
11993 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11994
11995 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
11996
11997 PR c/43553
11998 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11999 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12000 is used and substitute set_use_emutls.
12001 * configure: Regenerated.
12002
12003 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12004
12005 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12006
12007 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12008
12009 PR target/38085
12010 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12011 MULTILIB_CFLAGS.
12012 ($(T)gcrt1.o): Likewise.
12013 ($(T)crt1.o): Likewise.
12014 ($(T)crti.o): Likewise.
12015 ($(T)crtn.o): Likewise.
12016
12017 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12018
12019 PR other/42980
12020 * Makefile.in (install): Use $(MAKE) string in rule, for
12021 parallel make.
12022
12023 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12024
12025 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12026 * config/mmix/t-mmix: New file.
12027 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12028
12029 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12030
12031 PR java/41991
12032 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12033 SHLIB_MAPFILES.
12034
12035 2010-01-04 Anthony Green <green@moxielogic.com>
12036
12037 * config/moxie/crti.asm, config/moxie/crtn.asm,
12038 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12039 config/moxie/t-moxie: New files.
12040 * config.host: Add t-moxie-softfp reference.
12041
12042 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
12043
12044 PR other/39888
12045 * config/t-slibgcc-darwin: Fix embedded rpaths for
12046 --enable-version-specific-runtime-libs, build extension stub
12047 libs exposing features available from current libgcc_s.
12048
12049 2009-11-11 Jon Beniston <jon@beniston.com>
12050
12051 * config.host: Add lm32 targets.
12052 * config/lm32: New directory.
12053 * config/lm32/libgcc_lm32.h: New file.
12054 * config/lm32/_mulsi3.c: New file.
12055 * config/lm32/_udivmodsi4.c: New file.
12056 * config/lm32/_divsi3.c: New file.
12057 * config/lm32/_modsi3.c: New file.
12058 * config/lm32/_udivsi3.c: New file.
12059 * config/lm32/_umodsi3.c: New file.
12060 * config/lm32/_lshrsi3.S: New file.
12061 * config/lm32/_ashrsi3.S: New file.
12062 * config/lm32/_ashlsi3.S: New file.
12063 * config/lm32/crti.S: New file.
12064 * config/lm32/crtn.S: New file.
12065 * config/lm32/t-lm32: New file.
12066 * config/lm32/t-elf: New file.
12067 * config/lm32/t-uclinux: New file.
12068
12069 2009-10-26 Nick Clifton <nickc@redhat.com>
12070
12071 * config.host: Add support for RX target.
12072 * config/rx: New directory.
12073 * config/rx/rx-abi-functions.c: New file. Supplementary
12074 functions for libgcc to support the RX ABI.
12075 * config/rx/rx-abi.h: New file. Supplementary header file for
12076 libgcc RX ABI functions.
12077 * config/rx/t-rx: New file: Makefile fragment for building
12078 libgcc for the RX.
12079
12080 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
12081
12082 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12083 constraint of y0 to "g".
12084
12085 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12086
12087 * config.host: Include the s390 makefile fragments.
12088 * config/s390/32/_fixdfdi.c: New file.
12089 * config/s390/32/_fixsfdi.c: New file.
12090 * config/s390/32/_fixtfdi.c: New file.
12091 * config/s390/32/_fixunsdfdi.c: New file.
12092 * config/s390/32/_fixunssfdi.c: New file.
12093 * config/s390/32/_fixunstfdi.c: New file.
12094 * config/s390/32/t-floattodi: New file.
12095 * config/s390/libgcc-glibc.ver: New file.
12096 * config/s390/t-crtstuff: New file.
12097 * config/s390/t-linux: New file.
12098 * config/s390/t-tpf: New file.
12099
12100 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12101
12102 * configure.ac (AC_PREREQ): Bump to 2.64.
12103
12104 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12105
12106 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12107
12108 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12109
12110 * configure: Regenerate.
12111
12112 2009-08-09 Douglas B Rupp <rupp@gnat.com>
12113
12114 * config.host (ia64-hp-*vms*): New target.
12115 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12116 with ia64-hp-*vms*.
12117
12118 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12119
12120 * configure.ac: Add snippet for maintainer-mode.
12121 * configure: Regenerate.
12122 * Makefile.in (AUTOCONF, configure_deps): New variables.
12123 ($(srcdir)/configure)): New rule, active only with maintainer
12124 mode turned on.
12125
12126 2009-06-23 DJ Delorie <dj@redhat.com>
12127
12128 Add MeP port.
12129 * config.host: Add mep support.
12130
12131 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
12132
12133 * config.host: Add i386/${host_address}/t-fprules-softfp and
12134 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12135
12136 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12137 for mingw targets.
12138 * config/i386/64/_multc3.c: Likewise.
12139 * config/i386/64/_powitf2.c: Likewise.
12140 * config/i386/64/eqtf2.c: Likewise.
12141 * config/i386/64/getf2.c: Likewise.
12142 * config/i386/64/letf2.c: Likewise.
12143 * config/i386/64/letf2.c: Likewise.
12144 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12145 unsigned long long for x64 mingw targets.
12146 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12147 (_FP_I_TYPE): Define as long long for x64 mingw target.
12148
12149 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12150
12151 * config.host (vax-*-linux*): New.
12152
12153 2009-05-31 Anthony Green <green@moxielogic.com>
12154
12155 * config.host: Add moxie support.
12156 * config/moxie/t-moxie: New file.
12157
12158 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
12159
12160 * config.host: Add i386/${host_address}/t-fprules-softfp and
12161 t-softfp to tmake_file for i[34567]86-*-cygwin*.
12162
12163 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12164
12165 * config.host: Add i386/${host_address}/t-fprules-softfp to
12166 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12167
12168 2009-04-09 Nick Clifton <nickc@redhat.com>
12169
12170 * config/ia64/tf-signs.c: Change copyright header to refer to
12171 version 3 of the GNU General Public License with version 3.1
12172 of the GCC Runtime Library Exception and to point readers at
12173 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12174 web page.
12175 * config/i386/32/tf-signs.c: Likewise.
12176 * config/libbid/_addsub_dd.c: Likewise.
12177 * config/libbid/_addsub_sd.c: Likewise.
12178 * config/libbid/_addsub_td.c: Likewise.
12179 * config/libbid/_dd_to_df.c: Likewise.
12180 * config/libbid/_dd_to_di.c: Likewise.
12181 * config/libbid/_dd_to_sd.c: Likewise.
12182 * config/libbid/_dd_to_sf.c: Likewise.
12183 * config/libbid/_dd_to_si.c: Likewise.
12184 * config/libbid/_dd_to_td.c: Likewise.
12185 * config/libbid/_dd_to_tf.c: Likewise.
12186 * config/libbid/_dd_to_udi.c: Likewise.
12187 * config/libbid/_dd_to_usi.c: Likewise.
12188 * config/libbid/_dd_to_xf.c: Likewise.
12189 * config/libbid/_df_to_dd.c: Likewise.
12190 * config/libbid/_df_to_sd.c: Likewise.
12191 * config/libbid/_df_to_td.c: Likewise.
12192 * config/libbid/_di_to_dd.c: Likewise.
12193 * config/libbid/_di_to_sd.c: Likewise.
12194 * config/libbid/_di_to_td.c: Likewise.
12195 * config/libbid/_div_dd.c: Likewise.
12196 * config/libbid/_div_sd.c: Likewise.
12197 * config/libbid/_div_td.c: Likewise.
12198 * config/libbid/_eq_dd.c: Likewise.
12199 * config/libbid/_eq_sd.c: Likewise.
12200 * config/libbid/_eq_td.c: Likewise.
12201 * config/libbid/_ge_dd.c: Likewise.
12202 * config/libbid/_ge_sd.c: Likewise.
12203 * config/libbid/_ge_td.c: Likewise.
12204 * config/libbid/_gt_dd.c: Likewise.
12205 * config/libbid/_gt_sd.c: Likewise.
12206 * config/libbid/_gt_td.c: Likewise.
12207 * config/libbid/_isinfd128.c: Likewise.
12208 * config/libbid/_isinfd32.c: Likewise.
12209 * config/libbid/_isinfd64.c: Likewise.
12210 * config/libbid/_le_dd.c: Likewise.
12211 * config/libbid/_le_sd.c: Likewise.
12212 * config/libbid/_le_td.c: Likewise.
12213 * config/libbid/_lt_dd.c: Likewise.
12214 * config/libbid/_lt_sd.c: Likewise.
12215 * config/libbid/_lt_td.c: Likewise.
12216 * config/libbid/_mul_dd.c: Likewise.
12217 * config/libbid/_mul_sd.c: Likewise.
12218 * config/libbid/_mul_td.c: Likewise.
12219 * config/libbid/_ne_dd.c: Likewise.
12220 * config/libbid/_ne_sd.c: Likewise.
12221 * config/libbid/_ne_td.c: Likewise.
12222 * config/libbid/_sd_to_dd.c: Likewise.
12223 * config/libbid/_sd_to_df.c: Likewise.
12224 * config/libbid/_sd_to_di.c: Likewise.
12225 * config/libbid/_sd_to_sf.c: Likewise.
12226 * config/libbid/_sd_to_si.c: Likewise.
12227 * config/libbid/_sd_to_td.c: Likewise.
12228 * config/libbid/_sd_to_tf.c: Likewise.
12229 * config/libbid/_sd_to_udi.c: Likewise.
12230 * config/libbid/_sd_to_usi.c: Likewise.
12231 * config/libbid/_sd_to_xf.c: Likewise.
12232 * config/libbid/_sf_to_dd.c: Likewise.
12233 * config/libbid/_sf_to_sd.c: Likewise.
12234 * config/libbid/_sf_to_td.c: Likewise.
12235 * config/libbid/_si_to_dd.c: Likewise.
12236 * config/libbid/_si_to_sd.c: Likewise.
12237 * config/libbid/_si_to_td.c: Likewise.
12238 * config/libbid/_td_to_dd.c: Likewise.
12239 * config/libbid/_td_to_df.c: Likewise.
12240 * config/libbid/_td_to_di.c: Likewise.
12241 * config/libbid/_td_to_sd.c: Likewise.
12242 * config/libbid/_td_to_sf.c: Likewise.
12243 * config/libbid/_td_to_si.c: Likewise.
12244 * config/libbid/_td_to_tf.c: Likewise.
12245 * config/libbid/_td_to_udi.c: Likewise.
12246 * config/libbid/_td_to_usi.c: Likewise.
12247 * config/libbid/_td_to_xf.c: Likewise.
12248 * config/libbid/_tf_to_dd.c: Likewise.
12249 * config/libbid/_tf_to_sd.c: Likewise.
12250 * config/libbid/_tf_to_td.c: Likewise.
12251 * config/libbid/_udi_to_dd.c: Likewise.
12252 * config/libbid/_udi_to_sd.c: Likewise.
12253 * config/libbid/_udi_to_td.c: Likewise.
12254 * config/libbid/_unord_dd.c: Likewise.
12255 * config/libbid/_unord_sd.c: Likewise.
12256 * config/libbid/_unord_td.c: Likewise.
12257 * config/libbid/_usi_to_dd.c: Likewise.
12258 * config/libbid/_usi_to_sd.c: Likewise.
12259 * config/libbid/_usi_to_td.c: Likewise.
12260 * config/libbid/_xf_to_dd.c: Likewise.
12261 * config/libbid/_xf_to_sd.c: Likewise.
12262 * config/libbid/_xf_to_td.c: Likewise.
12263 * config/libbid/bid128.c: Likewise.
12264 * config/libbid/bid128_2_str.h: Likewise.
12265 * config/libbid/bid128_2_str_macros.h: Likewise.
12266 * config/libbid/bid128_2_str_tables.c: Likewise.
12267 * config/libbid/bid128_add.c: Likewise.
12268 * config/libbid/bid128_compare.c: Likewise.
12269 * config/libbid/bid128_div.c: Likewise.
12270 * config/libbid/bid128_fma.c: Likewise.
12271 * config/libbid/bid128_logb.c: Likewise.
12272 * config/libbid/bid128_minmax.c: Likewise.
12273 * config/libbid/bid128_mul.c: Likewise.
12274 * config/libbid/bid128_next.c: Likewise.
12275 * config/libbid/bid128_noncomp.c: Likewise.
12276 * config/libbid/bid128_quantize.c: Likewise.
12277 * config/libbid/bid128_rem.c: Likewise.
12278 * config/libbid/bid128_round_integral.c: Likewise.
12279 * config/libbid/bid128_scalb.c: Likewise.
12280 * config/libbid/bid128_sqrt.c: Likewise.
12281 * config/libbid/bid128_string.c: Likewise.
12282 * config/libbid/bid128_to_int16.c: Likewise.
12283 * config/libbid/bid128_to_int32.c: Likewise.
12284 * config/libbid/bid128_to_int64.c: Likewise.
12285 * config/libbid/bid128_to_int8.c: Likewise.
12286 * config/libbid/bid128_to_uint16.c: Likewise.
12287 * config/libbid/bid128_to_uint32.c: Likewise.
12288 * config/libbid/bid128_to_uint64.c: Likewise.
12289 * config/libbid/bid128_to_uint8.c: Likewise.
12290 * config/libbid/bid32_to_bid128.c: Likewise.
12291 * config/libbid/bid32_to_bid64.c: Likewise.
12292 * config/libbid/bid64_add.c: Likewise.
12293 * config/libbid/bid64_compare.c: Likewise.
12294 * config/libbid/bid64_div.c: Likewise.
12295 * config/libbid/bid64_fma.c: Likewise.
12296 * config/libbid/bid64_logb.c: Likewise.
12297 * config/libbid/bid64_minmax.c: Likewise.
12298 * config/libbid/bid64_mul.c: Likewise.
12299 * config/libbid/bid64_next.c: Likewise.
12300 * config/libbid/bid64_noncomp.c: Likewise.
12301 * config/libbid/bid64_quantize.c: Likewise.
12302 * config/libbid/bid64_rem.c: Likewise.
12303 * config/libbid/bid64_round_integral.c: Likewise.
12304 * config/libbid/bid64_scalb.c: Likewise.
12305 * config/libbid/bid64_sqrt.c: Likewise.
12306 * config/libbid/bid64_string.c: Likewise.
12307 * config/libbid/bid64_to_bid128.c: Likewise.
12308 * config/libbid/bid64_to_int16.c: Likewise.
12309 * config/libbid/bid64_to_int32.c: Likewise.
12310 * config/libbid/bid64_to_int64.c: Likewise.
12311 * config/libbid/bid64_to_int8.c: Likewise.
12312 * config/libbid/bid64_to_uint16.c: Likewise.
12313 * config/libbid/bid64_to_uint32.c: Likewise.
12314 * config/libbid/bid64_to_uint64.c: Likewise.
12315 * config/libbid/bid64_to_uint8.c: Likewise.
12316 * config/libbid/bid_b2d.h: Likewise.
12317 * config/libbid/bid_binarydecimal.c: Likewise.
12318 * config/libbid/bid_conf.h: Likewise.
12319 * config/libbid/bid_convert_data.c: Likewise.
12320 * config/libbid/bid_decimal_data.c: Likewise.
12321 * config/libbid/bid_decimal_globals.c: Likewise.
12322 * config/libbid/bid_div_macros.h: Likewise.
12323 * config/libbid/bid_dpd.c: Likewise.
12324 * config/libbid/bid_flag_operations.c: Likewise.
12325 * config/libbid/bid_from_int.c: Likewise.
12326 * config/libbid/bid_functions.h: Likewise.
12327 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12328 * config/libbid/bid_inline_add.h: Likewise.
12329 * config/libbid/bid_internal.h: Likewise.
12330 * config/libbid/bid_round.c: Likewise.
12331 * config/libbid/bid_sqrt_macros.h: Likewise.
12332
12333 2009-04-09 Jakub Jelinek <jakub@redhat.com>
12334
12335 * Makefile.in: Change copyright header to refer to version
12336 3 of the GNU General Public License and to point readers at the
12337 COPYING3 file and the FSF's license web page.
12338 * config.host: Likewise.
12339
12340 2009-04-07 Alan Modra <amodra@bigpond.net.au>
12341
12342 * config.host: Reorder and merge to match config.gcc change.
12343
12344 2009-04-03 Alan Modra <amodra@bigpond.net.au>
12345
12346 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12347
12348 2009-03-28 Joseph Myers <joseph@codesourcery.com>
12349
12350 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12351 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12352 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12353 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12354
12355 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
12356
12357 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12358 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12359
12360 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12361
12362 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12363 ia64/t-softfp-compat to tmake_file.
12364
12365 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12366
12367 * config/ia64/__divxf3.asm: New.
12368 * config/ia64/_fixtfdi.asm: Likewise.
12369 * config/ia64/_fixunstfdi.asm: Likewise.
12370 * config/ia64/_floatditf.asm: Likewise.
12371 * config/ia64/t-fprules-softfp: Likewise.
12372 * config/ia64/t-softfp-compat: Likewise.
12373 * config/ia64/tf-signs.c: Likewise.
12374
12375 2009-01-18 Ben Elliston <bje@au.ibm.com>
12376
12377 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12378
12379 2009-01-16 Ben Elliston <bje@au.ibm.com>
12380
12381 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12382 to tmake_file.
12383
12384 2009-01-13 Ben Elliston <bje@au.ibm.com>
12385
12386 * config/t-softfp: New file.
12387 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12388 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12389
12390 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
12391
12392 * config.host: Add m32r*-*-rtems*.
12393
12394 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
12395
12396 * config.host: Add m32c*-*-rtems*.
12397
12398 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12399
12400 PR bootstrap/33100
12401 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12402 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12403 * configure: Regenerate.
12404 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12405 tmake_file here from gcc/config.gcc.
12406 Move extra_parts here from gcc/config.gcc.
12407 * config/i386/t-sol2: Move here from gcc/config/i386.
12408 Use gcc_srcdir instead of srcdir.
12409
12410 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12411
12412 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12413 case.
12414
12415 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12416
12417 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12418
12419 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12420
12421 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12422
12423 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12424
12425 Add picoChip port.
12426 * config.host: Add picochip-*-*.
12427
12428 2008-08-06 Bob Wilson <bob.wilson@acm.org>
12429
12430 * config.host: Match more processor names for Xtensa.
12431
12432 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12433
12434 * config/i386/64/t-softfp-compat: Update comments.
12435
12436 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12437
12438 * config/i386/64/_divtc3-compat.c: Moved to ...
12439 * config/i386/64/_divtc3.c: Here.
12440
12441 * config/i386/64/_multc3-compat.c: Moved to ...
12442 * config/i386/64/_multc3.c: Here.
12443
12444 * config/i386/64/_powitf2-compat.c: Moved to ...
12445 * config/i386/64/_powitf2.c: Here.
12446
12447 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12448 .c suffix instead of -compat.c.
12449
12450 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
12451
12452 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12453 (_FP_MUL_MEAT_D): Ditto.
12454 (_FP_DIV_MEAT_S): Ditto.
12455 (_FP_DIV_MEAT_D): Ditto.
12456
12457 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12458
12459 * Makefile.in: Add support for __sync_* libgcc functions.
12460
12461 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12462
12463 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12464
12465 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12466
12467 PR boostrap/36702
12468 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12469 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12470
12471 * config/i386/64/t-fprules-softfp: Moved to ...
12472 * config/i386/64/t-softfp-compat: This. New.
12473
12474 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
12475
12476 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12477 Initialize f with 0.0.
12478
12479 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12480
12481 PR target/36669
12482 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12483
12484 * config/i386/64/_divtc3-compat.c: New.
12485 * config/i386/64/_multc3-compat.c: Likewise.
12486 * config/i386/64/_powitf2-compat.c: Likewise.
12487 * config/i386/64/eqtf2.c: Likewise.
12488 * config/i386/64/getf2.c: Likewise.
12489 * config/i386/64/letf2.c: Likewise.
12490 * config/i386/64/t-fprules-softfp: Likewise.
12491
12492 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12493
12494 * config.host: Add i386/${host_address}/t-fprules-softfp to
12495 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12496 i[34567]86-*-linux*, x86_64-*-linux*.
12497
12498 * configure.ac: Set host_address to 64 or 32 for x86.
12499 * configure: Regenerated.
12500
12501 * Makefile.in (config.status): Also depend on
12502 $(srcdir)/config.host.
12503
12504 * config/i386/32/t-fprules-softfp: New.
12505 * config/i386/32/tf-signs.c: Likewise.
12506
12507 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12508
12509 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12510 Uros Bizjak <ubizjak@gmail.com>
12511
12512 * config/i386/32/sfp-machine.h: New.
12513
12514 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12515
12516 * config/rs6000/t-ppccomm: Remove rules that conflict with
12517 auto-generated rules.
12518
12519 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12520
12521 * configure.ac: sinclude override.m4.
12522 * configure: Regenerate.
12523
12524 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12525
12526 * configure: Regenerate.
12527
12528 2008-06-10 Joseph Myers <joseph@codesourcery.com>
12529
12530 * Makefile.in (DECNUMINC): Remove
12531 -I$(MULTIBUILDTOP)../../libdecnumber.
12532 * gstdint.h: New.
12533
12534 2008-06-07 Joseph Myers <joseph@codesourcery.com>
12535
12536 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12537 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12538 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12539 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12540 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12541 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12542 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12543 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12544 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12545 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12546 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12547 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12548 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12549 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12550
12551 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12552
12553 * config.host (sh2[lbe]*-*-linux*): Allow target.
12554
12555 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12556
12557 * config/rs6000/t-ppccomm: Add build rules for new files.
12558 (LIB2ADD_ST): New variable.
12559
12560 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12561
12562 PR target/34210
12563 PR target/35508
12564 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12565 * config/t-avr: New file. Build 16bit libgcc functions.
12566
12567 2008-03-02 Jakub Jelinek <jakub@redhat.com>
12568
12569 PR target/35401
12570 * config/t-slibgcc-darwin: Make install-leaf dependent on
12571 install-darwin-libgcc-stubs instead of install.
12572
12573 2008-01-25 Joseph Myers <joseph@codesourcery.com>
12574
12575 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12576 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12577 sh-*-rtemscoff*): Remove cases.
12578
12579 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12580
12581 * Makefile.in (all): Use install-leaf rather than install.
12582 (install): Split most of the rule into...
12583 (install-leaf): ...this new one.
12584
12585 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
12586 Paolo Bonzini <bonzini@gnu.org>
12587
12588 PR target/30572
12589 * Makefile.in: Use @shlib_slibdir@ substitution to get
12590 correct install name on darwin.
12591 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12592
12593 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
12594
12595 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12596 cris-*-elf and cris-*-none.
12597 (crisv32-*-linux*): Similar, as cris-*-linux*.
12598
12599 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12600
12601 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12602
12603 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12604
12605 PR regression/33926
12606 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12607 * configure: Regenerated.
12608
12609 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12610
12611 * Makefile.in (dfp-filenames): Replace decimal_globals,
12612 decimal_data, binarydecimal and convert_data with
12613 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12614 and bid_convert_data, respectively.
12615
12616 2007-09-17 Chao-ying Fu <fu@mips.com>
12617 Nigel Stephens <nigel@mips.com>
12618
12619 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12620 * Makefile.in (fixed_point): Define.
12621 Check if fixed_point is yes to build support functions.
12622 * configure.ac: Check for fixed_point support.
12623 * configure: Regenerated.
12624 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12625 funcs, modes, from, to.
12626
12627 2007-09-11 Janis Johnson <janis187@us.ibm.com
12628
12629 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12630
12631 2007-09-10 Janis Johnson <janis187@us.ibm.com>
12632
12633 * Makefile.in (dfp-filenames): Remove decUtility, add
12634 decDouble, decPacked, decQuad, decSingle.
12635
12636 2007-08-27 Hans Kester <hans.kester@ellips.nl>
12637
12638 * config.host : Add x86_64-elf target.
12639
12640 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12641
12642 * configure.ac (set_have_cc_tls): Add a missing =.
12643 * configure: Regenerated.
12644
12645 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12646
12647 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12648 and x86_64-*-linux*.
12649
12650 * config/t-tls: New file.
12651
12652 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12653
12654 * configure.ac: Include ../config/enable.m4 and
12655 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12656 supports TLS and substitute set_have_cc_tls.
12657 * configure: Regenerated.
12658
12659 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12660
12661 * Makefile.in: Use libbid for DFP when BID is enabled.
12662
12663 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12664
12665 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12666 extra_parts. Add config/i386/t-cygming to tmake_file.
12667 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12668
12669 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
12670 Danny Smith <dannysmith@users.sourceforge.net>
12671
12672 PR target/29498
12673 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12674 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12675 * config/i386/t-crtfm: Compile crtfastmath.o with
12676 -minline-all-stringops.
12677
12678 2007-05-10 Richard Sandiford <richard@codesourcery.com>
12679
12680 * config.host (sparc-wrs-vxworks): New target.
12681
12682 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
12683
12684 * config.host: Recognize fido.
12685
12686 2007-04-04 Janis Johnson <janis187@us.ibm.com>
12687
12688 * configure: Check host, not target, for decimal float support.
12689
12690 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
12691
12692 * config/i386/t-crtpc: New file.
12693 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12694 (x86_64-*-linux*): Ditto.
12695
12696 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
12697
12698 * config.host (x86_64-*-mingw*): New target.
12699
12700 2007-03-23 Michael Meissner <michael.meissner@amd.com>
12701 H.J. Lu <hongjiu.lu@intel.com>
12702
12703 * Makefile.in (enable_decimal_float): New.
12704 (DECNUMINC): Add
12705 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12706 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12707 (decbits-filenames): This.
12708 (decbits-objects): New.
12709 (libgcc-objects): Add $(decbits-objects).
12710
12711 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12712 Substitute enable_decimal_float.
12713 * configure: Regenerated.
12714
12715 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
12716
12717 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12718
12719 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12720
12721 * Makefile.in (install-info): New dummy target.
12722
12723 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12724
12725 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12726
12727 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12728
12729 * Makefile.in: Add install-html and install-pdf dummy
12730 targets.
12731
12732 2007-02-05 Roger Sayle <roger@eyesopen.com>
12733 Daniel Jacobowitz <dan@codesourcery.com>
12734
12735 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12736 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12737 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12738
12739 2007-01-29 Janis Johnson <janis187@us.ibm.com>
12740
12741 * Makefile.in (dec-filenames): Add decExcept.
12742
12743 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12744
12745 PR bootstrap/30469
12746 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12747 -fprofile-use.
12748
12749 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12750
12751 * configure.ac: Add --enable-version-specific-runtime-libs.
12752 Correct $slibdir default.
12753 * configure: Regenerated.
12754
12755 2007-01-23 Joseph Myers <joseph@codesourcery.com>
12756
12757 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12758
12759 2007-01-21 Andrew Pinski <pinskia@gmail.com>
12760
12761 PR target/30519
12762 * config.host (alpha*-*-linux*): Set extra_parts.
12763
12764 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12765
12766 * config/sh/t-linux: New.
12767 * config.host (sh*-*-linux*): Set tmake_file.
12768
12769 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12770
12771 * Makefile.in (install): Handle multilibs.
12772
12773 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12774
12775 * Makefile.in: Added .PHONY entry for documentation targets.
12776
12777 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12778
12779 * Makefile.in: Add empty info, html, dvi, pdf targets.
12780
12781 2007-01-04 Mike Stump <mrs@apple.com>
12782
12783 * Makefile.in (MAKEINFO): Remove.
12784 (PERL): Likewise.
12785
12786 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
12787
12788 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12789 * configure: Regenerate.
12790 * Makefile.in (host_subdir): Substitute it.
12791 (gcc_objdir): Use it.
12792
12793 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12794
12795 * config.host (ia64*-*-linux*): Set tmake_file.
12796
12797 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12798
12799 * Makefile.in (version): Define.
12800
12801 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12802 Paolo Bonzini <bonzini@gnu.org>
12803
12804 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12805 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12806 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12807 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12808 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12809 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12810 * configure: Generated.
12811 \f
12812 Copyright (C) 2007-2023 Free Software Foundation, Inc.
12813
12814 Copying and distribution of this file, with or without modification,
12815 are permitted in any medium without royalty provided the copyright
12816 notice and this notice are preserved.